2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.32.
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.32'
578 PACKAGE_STRING
='Wine 0.9.32'
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
775 ac_subst_files
='MAKE_RULES
780 ac_precious_vars
='build_alias
795 # Initialize some variables set by options.
797 ac_init_version
=false
798 # The variables have the same names as the options, with
799 # dashes changed to underlines.
807 program_transform_name
=s
,x
,x
,
815 # Installation directory options.
816 # These are left unexpanded so users can "make install exec_prefix=/foo"
817 # and all the variables that are supposed to be based on exec_prefix
818 # by default will actually change.
819 # Use braces instead of parens because sh, perl, etc. also accept them.
820 # (The list follows the same order as the GNU Coding Standards.)
821 bindir
='${exec_prefix}/bin'
822 sbindir
='${exec_prefix}/sbin'
823 libexecdir
='${exec_prefix}/libexec'
824 datarootdir
='${prefix}/share'
825 datadir
='${datarootdir}'
826 sysconfdir
='${prefix}/etc'
827 sharedstatedir
='${prefix}/com'
828 localstatedir
='${prefix}/var'
829 includedir
='${prefix}/include'
830 oldincludedir
='/usr/include'
831 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
832 infodir
='${datarootdir}/info'
837 libdir
='${exec_prefix}/lib'
838 localedir
='${datarootdir}/locale'
839 mandir
='${datarootdir}/man'
845 # If the previous option needs an argument, assign it.
846 if test -n "$ac_prev"; then
847 eval $ac_prev=\
$ac_option
853 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
857 # Accept the important Cygnus configure options, so we can diagnose typos.
859 case $ac_dashdash$ac_option in
863 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
865 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
868 -build |
--build |
--buil |
--bui |
--bu)
869 ac_prev
=build_alias
;;
870 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
871 build_alias
=$ac_optarg ;;
873 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
874 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
875 ac_prev
=cache_file
;;
876 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
877 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
878 cache_file
=$ac_optarg ;;
881 cache_file
=config.cache
;;
883 -datadir |
--datadir |
--datadi |
--datad)
885 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
886 datadir
=$ac_optarg ;;
888 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
889 |
--dataroo |
--dataro |
--datar)
890 ac_prev
=datarootdir
;;
891 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
892 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
893 datarootdir
=$ac_optarg ;;
895 -disable-* |
--disable-*)
896 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
897 # Reject names that are not valid shell variable names.
898 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
899 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
900 { (exit 1); exit 1; }; }
901 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
902 eval enable_
$ac_feature=no
;;
904 -docdir |
--docdir |
--docdi |
--doc |
--do)
906 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
909 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
911 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
914 -enable-* |
--enable-*)
915 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
916 # Reject names that are not valid shell variable names.
917 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
918 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
919 { (exit 1); exit 1; }; }
920 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
921 eval enable_
$ac_feature=\
$ac_optarg ;;
923 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
924 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
925 |
--exec |
--exe |
--ex)
926 ac_prev
=exec_prefix
;;
927 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
928 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
929 |
--exec=* |
--exe=* |
--ex=*)
930 exec_prefix
=$ac_optarg ;;
932 -gas |
--gas |
--ga |
--g)
933 # Obsolete; use --with-gas.
936 -help |
--help |
--hel |
--he |
-h)
938 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
939 ac_init_help
=recursive
;;
940 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
941 ac_init_help
=short
;;
943 -host |
--host |
--hos |
--ho)
944 ac_prev
=host_alias
;;
945 -host=* |
--host=* |
--hos=* |
--ho=*)
946 host_alias
=$ac_optarg ;;
948 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
950 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
952 htmldir
=$ac_optarg ;;
954 -includedir |
--includedir |
--includedi |
--included |
--include \
955 |
--includ |
--inclu |
--incl |
--inc)
956 ac_prev
=includedir
;;
957 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
958 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
959 includedir
=$ac_optarg ;;
961 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
963 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
964 infodir
=$ac_optarg ;;
966 -libdir |
--libdir |
--libdi |
--libd)
968 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
971 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
972 |
--libexe |
--libex |
--libe)
973 ac_prev
=libexecdir
;;
974 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
975 |
--libexe=* |
--libex=* |
--libe=*)
976 libexecdir
=$ac_optarg ;;
978 -localedir |
--localedir |
--localedi |
--localed |
--locale)
980 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
981 localedir
=$ac_optarg ;;
983 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
984 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
985 ac_prev
=localstatedir
;;
986 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
987 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
988 localstatedir
=$ac_optarg ;;
990 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
992 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
996 # Obsolete; use --without-fp.
999 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1000 |
--no-cr |
--no-c |
-n)
1003 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1004 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1007 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1008 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1009 |
--oldin |
--oldi |
--old |
--ol |
--o)
1010 ac_prev
=oldincludedir
;;
1011 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1012 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1013 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1014 oldincludedir
=$ac_optarg ;;
1016 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1018 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1019 prefix
=$ac_optarg ;;
1021 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1022 |
--program-pre |
--program-pr |
--program-p)
1023 ac_prev
=program_prefix
;;
1024 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1025 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1026 program_prefix
=$ac_optarg ;;
1028 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1029 |
--program-suf |
--program-su |
--program-s)
1030 ac_prev
=program_suffix
;;
1031 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1032 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1033 program_suffix
=$ac_optarg ;;
1035 -program-transform-name |
--program-transform-name \
1036 |
--program-transform-nam |
--program-transform-na \
1037 |
--program-transform-n |
--program-transform- \
1038 |
--program-transform |
--program-transfor \
1039 |
--program-transfo |
--program-transf \
1040 |
--program-trans |
--program-tran \
1041 |
--progr-tra |
--program-tr |
--program-t)
1042 ac_prev
=program_transform_name
;;
1043 -program-transform-name=* |
--program-transform-name=* \
1044 |
--program-transform-nam=* |
--program-transform-na=* \
1045 |
--program-transform-n=* |
--program-transform-=* \
1046 |
--program-transform=* |
--program-transfor=* \
1047 |
--program-transfo=* |
--program-transf=* \
1048 |
--program-trans=* |
--program-tran=* \
1049 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1050 program_transform_name
=$ac_optarg ;;
1052 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1054 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1055 pdfdir
=$ac_optarg ;;
1057 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1059 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1062 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1063 |
-silent |
--silent |
--silen |
--sile |
--sil)
1066 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1068 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1070 sbindir
=$ac_optarg ;;
1072 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1073 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1074 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1076 ac_prev
=sharedstatedir
;;
1077 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1078 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1079 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1081 sharedstatedir
=$ac_optarg ;;
1083 -site |
--site |
--sit)
1085 -site=* |
--site=* |
--sit=*)
1088 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1090 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1091 srcdir
=$ac_optarg ;;
1093 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1094 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1095 ac_prev
=sysconfdir
;;
1096 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1097 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1098 sysconfdir
=$ac_optarg ;;
1100 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1101 ac_prev
=target_alias
;;
1102 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1103 target_alias
=$ac_optarg ;;
1105 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1108 -version |
--version |
--versio |
--versi |
--vers |
-V)
1109 ac_init_version
=: ;;
1112 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1115 { echo "$as_me: error: invalid package name: $ac_package" >&2
1116 { (exit 1); exit 1; }; }
1117 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1118 eval with_
$ac_package=\
$ac_optarg ;;
1120 -without-* |
--without-*)
1121 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1122 # Reject names that are not valid shell variable names.
1123 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1124 { echo "$as_me: error: invalid package name: $ac_package" >&2
1125 { (exit 1); exit 1; }; }
1126 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1127 eval with_
$ac_package=no
;;
1130 # Obsolete; use --with-x.
1133 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1134 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1135 ac_prev
=x_includes
;;
1136 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1137 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1138 x_includes
=$ac_optarg ;;
1140 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1141 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1142 ac_prev
=x_libraries
;;
1143 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1144 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1145 x_libraries
=$ac_optarg ;;
1147 -*) { echo "$as_me: error: unrecognized option: $ac_option
1148 Try \`$0 --help' for more information." >&2
1149 { (exit 1); exit 1; }; }
1153 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1154 # Reject names that are not valid shell variable names.
1155 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1156 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1157 { (exit 1); exit 1; }; }
1158 eval $ac_envvar=\
$ac_optarg
1159 export $ac_envvar ;;
1162 # FIXME: should be removed in autoconf 3.0.
1163 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1164 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1165 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1166 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1172 if test -n "$ac_prev"; then
1173 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1174 { echo "$as_me: error: missing argument to $ac_option" >&2
1175 { (exit 1); exit 1; }; }
1178 # Be sure to have absolute directory names.
1179 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1180 datadir sysconfdir sharedstatedir localstatedir includedir \
1181 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1182 libdir localedir mandir
1184 eval ac_val
=\$
$ac_var
1186 [\\/$
]* | ?
:[\\/]* ) continue;;
1187 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1189 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1190 { (exit 1); exit 1; }; }
1193 # There might be people who depend on the old broken behavior: `$host'
1194 # used to hold the argument of --host etc.
1195 # FIXME: To remove some day.
1198 target
=$target_alias
1200 # FIXME: To remove some day.
1201 if test "x$host_alias" != x
; then
1202 if test "x$build_alias" = x
; then
1203 cross_compiling
=maybe
1204 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1205 If a cross compiler is detected then cross compile mode will be used." >&2
1206 elif test "x$build_alias" != "x$host_alias"; then
1212 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1214 test "$silent" = yes && exec 6>/dev
/null
1217 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1218 ac_ls_di
=`ls -di .` &&
1219 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1220 { echo "$as_me: error: Working directory cannot be determined" >&2
1221 { (exit 1); exit 1; }; }
1222 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1223 { echo "$as_me: error: pwd does not report name of working directory" >&2
1224 { (exit 1); exit 1; }; }
1227 # Find the source files, if location was not specified.
1228 if test -z "$srcdir"; then
1229 ac_srcdir_defaulted
=yes
1230 # Try the directory containing this script, then the parent directory.
1231 ac_confdir
=`$as_dirname -- "$0" ||
1232 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1233 X"$0" : 'X\(//\)[^/]' \| \
1234 X"$0" : 'X\(//\)$' \| \
1235 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1255 if test ! -r "$srcdir/$ac_unique_file"; then
1259 ac_srcdir_defaulted
=no
1261 if test ! -r "$srcdir/$ac_unique_file"; then
1262 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1263 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1264 { (exit 1); exit 1; }; }
1266 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1268 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1269 { (exit 1); exit 1; }; }
1271 # When building in place, set srcdir=.
1272 if test "$ac_abs_confdir" = "$ac_pwd"; then
1275 # Remove unnecessary trailing slashes from srcdir.
1276 # Double slashes in file names in object file debugging info
1277 # mess up M-x gdb in Emacs.
1279 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1281 for ac_var
in $ac_precious_vars; do
1282 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1283 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1284 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1285 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1289 # Report the --help message.
1291 if test "$ac_init_help" = "long"; then
1292 # Omit some internal or obsolete options to make the list less imposing.
1293 # This message is too long to be a string in the A/UX 3.1 sh.
1295 \`configure' configures Wine 0.9.32 to adapt to many kinds of systems.
1297 Usage: $0 [OPTION]... [VAR=VALUE]...
1299 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1300 VAR=VALUE. See below for descriptions of some of the useful variables.
1302 Defaults for the options are specified in brackets.
1305 -h, --help display this help and exit
1306 --help=short display options specific to this package
1307 --help=recursive display the short help of all the included packages
1308 -V, --version display version information and exit
1309 -q, --quiet, --silent do not print \`checking...' messages
1310 --cache-file=FILE cache test results in FILE [disabled]
1311 -C, --config-cache alias for \`--cache-file=config.cache'
1312 -n, --no-create do not create output files
1313 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1315 Installation directories:
1316 --prefix=PREFIX install architecture-independent files in PREFIX
1317 [$ac_default_prefix]
1318 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1321 By default, \`make install' will install all the files in
1322 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1323 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1324 for instance \`--prefix=\$HOME'.
1326 For better control, use the options below.
1328 Fine tuning of the installation directories:
1329 --bindir=DIR user executables [EPREFIX/bin]
1330 --sbindir=DIR system admin executables [EPREFIX/sbin]
1331 --libexecdir=DIR program executables [EPREFIX/libexec]
1332 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1333 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1334 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1335 --libdir=DIR object code libraries [EPREFIX/lib]
1336 --includedir=DIR C header files [PREFIX/include]
1337 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1338 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1339 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1340 --infodir=DIR info documentation [DATAROOTDIR/info]
1341 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1342 --mandir=DIR man documentation [DATAROOTDIR/man]
1343 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1344 --htmldir=DIR html documentation [DOCDIR]
1345 --dvidir=DIR dvi documentation [DOCDIR]
1346 --pdfdir=DIR pdf documentation [DOCDIR]
1347 --psdir=DIR ps documentation [DOCDIR]
1353 --x-includes=DIR X include files are
in DIR
1354 --x-libraries=DIR X library files are
in DIR
1357 --build=BUILD configure
for building on BUILD
[guessed
]
1358 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1362 if test -n "$ac_init_help"; then
1363 case $ac_init_help in
1364 short | recursive
) echo "Configuration of Wine 0.9.32:";;
1369 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1370 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1371 --disable-win16 do not include Win16 support
1372 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1376 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1377 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1378 --without-opengl do not use OpenGL
1379 --with-wine-tools=<dir> use Wine tools from directory <dir>
1380 --with-x use the X Window System
1382 Some influential environment variables:
1383 CC C compiler command
1384 CFLAGS C compiler flags
1385 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1386 nonstandard directory <lib dir>
1387 LIBS libraries to pass to the linker, e.g. -l<library>
1388 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1389 you have headers in a nonstandard directory <include dir>
1390 CXX C++ compiler command
1391 CXXFLAGS C++ compiler flags
1392 XMKMF Path to xmkmf, Makefile generator for X Window System
1395 Use these variables to override the choices made by `configure' or to
help
1396 it to
find libraries and programs with nonstandard names
/locations.
1398 Report bugs to
<wine-devel@winehq.org
>.
1403 if test "$ac_init_help" = "recursive"; then
1404 # If there are subdirs, report their specific --help.
1405 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1406 test -d "$ac_dir" ||
continue
1410 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1412 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1413 # A ".." for each directory in $ac_dir_suffix.
1414 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1415 case $ac_top_builddir_sub in
1416 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1417 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1420 ac_abs_top_builddir
=$ac_pwd
1421 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1422 # for backward compatibility:
1423 ac_top_builddir
=$ac_top_build_prefix
1426 .
) # We are building in place.
1428 ac_top_srcdir
=$ac_top_builddir_sub
1429 ac_abs_top_srcdir
=$ac_pwd ;;
1430 [\\/]* | ?
:[\\/]* ) # Absolute name.
1431 ac_srcdir
=$srcdir$ac_dir_suffix;
1432 ac_top_srcdir
=$srcdir
1433 ac_abs_top_srcdir
=$srcdir ;;
1435 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1436 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1437 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1439 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1441 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1442 # Check for guested configure.
1443 if test -f "$ac_srcdir/configure.gnu"; then
1445 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1446 elif test -f "$ac_srcdir/configure"; then
1448 $SHELL "$ac_srcdir/configure" --help=recursive
1450 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1452 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1456 test -n "$ac_init_help" && exit $ac_status
1457 if $ac_init_version; then
1459 Wine configure
0.9.32
1460 generated by GNU Autoconf
2.61
1462 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1463 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1464 This configure
script is free software
; the Free Software Foundation
1465 gives unlimited permission to copy
, distribute and modify it.
1469 cat >config.log
<<_ACEOF
1470 This file contains any messages produced by compilers while
1471 running configure, to aid debugging if configure makes a mistake.
1473 It was created by Wine $as_me 0.9.32, which was
1474 generated by GNU Autoconf 2.61. Invocation command line was
1486 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1487 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1488 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1489 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1490 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1492 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1493 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1495 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1496 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1497 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1498 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1499 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1500 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1501 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1509 test -z "$as_dir" && as_dir
=.
1510 echo "PATH: $as_dir"
1526 # Keep a trace of the command line.
1527 # Strip out --no-create and --no-recursion so they do not pile up.
1528 # Strip out --silent because we don't want to record it for future runs.
1529 # Also quote any args containing shell meta-characters.
1530 # Make two passes to allow for proper duplicate-argument suppression.
1534 ac_must_keep_next
=false
1540 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1541 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1542 |
-silent |
--silent |
--silen |
--sile |
--sil)
1545 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1548 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1550 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1551 if test $ac_must_keep_next = true
; then
1552 ac_must_keep_next
=false
# Got value, back to normal.
1555 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1556 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1557 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1558 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1559 case "$ac_configure_args0 " in
1560 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1563 -* ) ac_must_keep_next
=true
;;
1566 ac_configure_args
="$ac_configure_args '$ac_arg'"
1571 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1572 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1574 # When interrupted or exit'd, cleanup temporary files, and complete
1575 # config.log. We remove comments because anyway the quotes in there
1576 # would cause problems or look ugly.
1577 # WARNING: Use '\'' to represent an apostrophe within the trap.
1578 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1579 trap 'exit_status=$?
1580 # Save into config.log some information that might help in debugging.
1585 ## ---------------- ##
1586 ## Cache variables. ##
1587 ## ---------------- ##
1590 # The following way of writing the cache mishandles newlines in values,
1592 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1593 eval ac_val=\$$ac_var
1597 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1598 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1601 _ | IFS | as_nl) ;; #(
1602 *) $as_unset $ac_var ;;
1607 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1608 *${as_nl}ac_space=\ *)
1610 "s/'\''/'\''\\\\'\'''\''/g;
1611 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1614 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1622 ## ----------------- ##
1623 ## Output variables. ##
1624 ## ----------------- ##
1627 for ac_var in $ac_subst_vars
1629 eval ac_val=\$$ac_var
1631 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1633 echo "$ac_var='\''$ac_val'\''"
1637 if test -n "$ac_subst_files"; then
1639 ## ------------------- ##
1640 ## File substitutions. ##
1641 ## ------------------- ##
1644 for ac_var
in $ac_subst_files
1646 eval ac_val
=\$
$ac_var
1648 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1650 echo "$ac_var='\''$ac_val'\''"
1655 if test -s confdefs.h; then
1665 test "$ac_signal" != 0 &&
1666 echo "$as_me: caught signal $ac_signal"
1667 echo "$as_me: exit $exit_status"
1669 rm -f core *.core core.conftest.* &&
1670 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1673 for ac_signal
in 1 2 13 15; do
1674 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1678 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1679 rm -f -r conftest
* confdefs.h
1681 # Predefined preprocessor variables.
1683 cat >>confdefs.h
<<_ACEOF
1684 #define PACKAGE_NAME "$PACKAGE_NAME"
1688 cat >>confdefs.h
<<_ACEOF
1689 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1693 cat >>confdefs.h
<<_ACEOF
1694 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1698 cat >>confdefs.h
<<_ACEOF
1699 #define PACKAGE_STRING "$PACKAGE_STRING"
1703 cat >>confdefs.h
<<_ACEOF
1704 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1708 # Let the site file select an alternate cache file if it wants to.
1709 # Prefer explicitly selected file to automatically selected ones.
1710 if test -n "$CONFIG_SITE"; then
1711 set x
"$CONFIG_SITE"
1712 elif test "x$prefix" != xNONE
; then
1713 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1715 set x
"$ac_default_prefix/share/config.site" \
1716 "$ac_default_prefix/etc/config.site"
1721 if test -r "$ac_site_file"; then
1722 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1723 echo "$as_me: loading site script $ac_site_file" >&6;}
1724 sed 's/^/| /' "$ac_site_file" >&5
1729 if test -r "$cache_file"; then
1730 # Some versions of bash will fail to source /dev/null (special
1731 # files actually), so we avoid doing that.
1732 if test -f "$cache_file"; then
1733 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1734 echo "$as_me: loading cache $cache_file" >&6;}
1736 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1737 *) .
"./$cache_file";;
1741 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1742 echo "$as_me: creating cache $cache_file" >&6;}
1746 # Check that the precious variables saved in the cache have kept the same
1748 ac_cache_corrupted
=false
1749 for ac_var
in $ac_precious_vars; do
1750 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1751 eval ac_new_set
=\
$ac_env_${ac_var}_set
1752 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1753 eval ac_new_val
=\
$ac_env_${ac_var}_value
1754 case $ac_old_set,$ac_new_set in
1756 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1757 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1758 ac_cache_corrupted
=: ;;
1760 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1761 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1762 ac_cache_corrupted
=: ;;
1765 if test "x$ac_old_val" != "x$ac_new_val"; then
1766 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1767 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1768 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1769 echo "$as_me: former value: $ac_old_val" >&2;}
1770 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1771 echo "$as_me: current value: $ac_new_val" >&2;}
1772 ac_cache_corrupted
=:
1775 # Pass precious variables to config.status.
1776 if test "$ac_new_set" = set; then
1778 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1779 *) ac_arg
=$ac_var=$ac_new_val ;;
1781 case " $ac_configure_args " in
1782 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1783 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1787 if $ac_cache_corrupted; then
1788 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1789 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1790 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1791 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1792 { (exit 1); exit 1; }; }
1820 ac_cpp
='$CPP $CPPFLAGS'
1821 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1822 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1823 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1827 ac_config_headers
="$ac_config_headers include/config.h"
1830 for ac_dir
in tools
"$srcdir"/tools
; do
1831 if test -f "$ac_dir/install-sh"; then
1833 ac_install_sh
="$ac_aux_dir/install-sh -c"
1835 elif test -f "$ac_dir/install.sh"; then
1837 ac_install_sh
="$ac_aux_dir/install.sh -c"
1839 elif test -f "$ac_dir/shtool"; then
1841 ac_install_sh
="$ac_aux_dir/shtool install -c"
1845 if test -z "$ac_aux_dir"; then
1846 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1847 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1848 { (exit 1); exit 1; }; }
1851 # These three variables are undocumented and unsupported,
1852 # and are intended to be withdrawn in a future Autoconf release.
1853 # They can cause serious problems if a builder's source tree is in a directory
1854 # whose full name contains unusual characters.
1855 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1856 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1857 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1862 # Check whether --enable-win16 was given.
1863 if test "${enable_win16+set}" = set; then
1864 enableval
=$enable_win16;
1867 # Check whether --enable-win64 was given.
1868 if test "${enable_win64+set}" = set; then
1869 enableval
=$enable_win64;
1874 # Check whether --with-opengl was given.
1875 if test "${with_opengl+set}" = set; then
1876 withval
=$with_opengl;
1880 # Check whether --with-wine-tools was given.
1881 if test "${with_wine_tools+set}" = set; then
1882 withval
=$with_wine_tools;
1886 # Make sure we can run config.sub.
1887 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1888 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1889 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1890 { (exit 1); exit 1; }; }
1892 { echo "$as_me:$LINENO: checking build system type" >&5
1893 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1894 if test "${ac_cv_build+set}" = set; then
1895 echo $ECHO_N "(cached) $ECHO_C" >&6
1897 ac_build_alias
=$build_alias
1898 test "x$ac_build_alias" = x
&&
1899 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1900 test "x$ac_build_alias" = x
&&
1901 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1902 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1903 { (exit 1); exit 1; }; }
1904 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1905 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1906 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1907 { (exit 1); exit 1; }; }
1910 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1911 echo "${ECHO_T}$ac_cv_build" >&6; }
1912 case $ac_cv_build in
1914 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1915 echo "$as_me: error: invalid value of canonical build" >&2;}
1916 { (exit 1); exit 1; }; };;
1919 ac_save_IFS
=$IFS; IFS
='-'
1925 # Remember, the first character of IFS is used to create $*,
1926 # except with old shells:
1929 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1932 { echo "$as_me:$LINENO: checking host system type" >&5
1933 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1934 if test "${ac_cv_host+set}" = set; then
1935 echo $ECHO_N "(cached) $ECHO_C" >&6
1937 if test "x$host_alias" = x
; then
1938 ac_cv_host
=$ac_cv_build
1940 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1941 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1942 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1943 { (exit 1); exit 1; }; }
1947 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1948 echo "${ECHO_T}$ac_cv_host" >&6; }
1951 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1952 echo "$as_me: error: invalid value of canonical host" >&2;}
1953 { (exit 1); exit 1; }; };;
1956 ac_save_IFS
=$IFS; IFS
='-'
1962 # Remember, the first character of IFS is used to create $*,
1963 # except with old shells:
1966 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1971 if test "x$enable_win64" != "xyes"
1973 test -n "$CC" || CC
="gcc -m32"
1974 test -n "$LD" || LD
="ld -m elf_i386"
1975 test -n "$AS" || AS
="as --32"
1983 if test "x$enable_win16" != "xno"
1990 WIN16_FILES
="\$(WIN16_FILES)"
1992 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1994 if test "x$enable_win16" != "xyes"
2002 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2003 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2004 You need to run 'make distclean' in the source tree first." >&5
2005 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2006 You need to run 'make distclean' in the source tree first." >&2;}
2007 { (exit 1); exit 1; }; }
2012 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2013 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2014 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2015 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2016 echo $ECHO_N "(cached) $ECHO_C" >&6
2018 cat >conftest.
make <<\_ACEOF
2021 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2023 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2024 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2026 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2028 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2032 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2033 { echo "$as_me:$LINENO: result: yes" >&5
2034 echo "${ECHO_T}yes" >&6; }
2037 { echo "$as_me:$LINENO: result: no" >&5
2038 echo "${ECHO_T}no" >&6; }
2039 SET_MAKE
="MAKE=${MAKE-make}"
2043 ac_cpp
='$CPP $CPPFLAGS'
2044 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2045 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2046 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2047 if test -n "$ac_tool_prefix"; then
2048 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2049 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2052 if test "${ac_cv_prog_CC+set}" = set; then
2053 echo $ECHO_N "(cached) $ECHO_C" >&6
2055 if test -n "$CC"; then
2056 ac_cv_prog_CC
="$CC" # Let the user override the test.
2058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2062 test -z "$as_dir" && as_dir
=.
2063 for ac_exec_ext
in '' $ac_executable_extensions; do
2064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2065 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2076 if test -n "$CC"; then
2077 { echo "$as_me:$LINENO: result: $CC" >&5
2078 echo "${ECHO_T}$CC" >&6; }
2080 { echo "$as_me:$LINENO: result: no" >&5
2081 echo "${ECHO_T}no" >&6; }
2086 if test -z "$ac_cv_prog_CC"; then
2088 # Extract the first word of "gcc", so it can be a program name with args.
2089 set dummy gcc
; ac_word
=$2
2090 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2092 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2093 echo $ECHO_N "(cached) $ECHO_C" >&6
2095 if test -n "$ac_ct_CC"; then
2096 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2102 test -z "$as_dir" && as_dir
=.
2103 for ac_exec_ext
in '' $ac_executable_extensions; do
2104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2105 ac_cv_prog_ac_ct_CC
="gcc"
2106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2115 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2116 if test -n "$ac_ct_CC"; then
2117 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2118 echo "${ECHO_T}$ac_ct_CC" >&6; }
2120 { echo "$as_me:$LINENO: result: no" >&5
2121 echo "${ECHO_T}no" >&6; }
2124 if test "x$ac_ct_CC" = x
; then
2127 case $cross_compiling:$ac_tool_warned in
2129 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2130 whose name does not start with the host triplet. If you think this
2131 configuration is useful to you, please write to autoconf@gnu.org." >&5
2132 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2133 whose name does not start with the host triplet. If you think this
2134 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2135 ac_tool_warned
=yes ;;
2143 if test -z "$CC"; then
2144 if test -n "$ac_tool_prefix"; then
2145 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2146 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2149 if test "${ac_cv_prog_CC+set}" = set; then
2150 echo $ECHO_N "(cached) $ECHO_C" >&6
2152 if test -n "$CC"; then
2153 ac_cv_prog_CC
="$CC" # Let the user override the test.
2155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2159 test -z "$as_dir" && as_dir
=.
2160 for ac_exec_ext
in '' $ac_executable_extensions; do
2161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2162 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2173 if test -n "$CC"; then
2174 { echo "$as_me:$LINENO: result: $CC" >&5
2175 echo "${ECHO_T}$CC" >&6; }
2177 { echo "$as_me:$LINENO: result: no" >&5
2178 echo "${ECHO_T}no" >&6; }
2184 if test -z "$CC"; then
2185 # Extract the first word of "cc", so it can be a program name with args.
2186 set dummy cc
; ac_word
=$2
2187 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2189 if test "${ac_cv_prog_CC+set}" = set; then
2190 echo $ECHO_N "(cached) $ECHO_C" >&6
2192 if test -n "$CC"; then
2193 ac_cv_prog_CC
="$CC" # Let the user override the test.
2196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2200 test -z "$as_dir" && as_dir
=.
2201 for ac_exec_ext
in '' $ac_executable_extensions; do
2202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2203 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2204 ac_prog_rejected
=yes
2208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2215 if test $ac_prog_rejected = yes; then
2216 # We found a bogon in the path, so make sure we never use it.
2217 set dummy
$ac_cv_prog_CC
2219 if test $# != 0; then
2220 # We chose a different compiler from the bogus one.
2221 # However, it has the same basename, so the bogon will be chosen
2222 # first if we set CC to just the basename; use the full file name.
2224 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2230 if test -n "$CC"; then
2231 { echo "$as_me:$LINENO: result: $CC" >&5
2232 echo "${ECHO_T}$CC" >&6; }
2234 { echo "$as_me:$LINENO: result: no" >&5
2235 echo "${ECHO_T}no" >&6; }
2240 if test -z "$CC"; then
2241 if test -n "$ac_tool_prefix"; then
2242 for ac_prog
in cl.exe
2244 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2245 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2248 if test "${ac_cv_prog_CC+set}" = set; then
2249 echo $ECHO_N "(cached) $ECHO_C" >&6
2251 if test -n "$CC"; then
2252 ac_cv_prog_CC
="$CC" # Let the user override the test.
2254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2258 test -z "$as_dir" && as_dir
=.
2259 for ac_exec_ext
in '' $ac_executable_extensions; do
2260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2261 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2272 if test -n "$CC"; then
2273 { echo "$as_me:$LINENO: result: $CC" >&5
2274 echo "${ECHO_T}$CC" >&6; }
2276 { echo "$as_me:$LINENO: result: no" >&5
2277 echo "${ECHO_T}no" >&6; }
2281 test -n "$CC" && break
2284 if test -z "$CC"; then
2286 for ac_prog
in cl.exe
2288 # Extract the first word of "$ac_prog", so it can be a program name with args.
2289 set dummy
$ac_prog; ac_word
=$2
2290 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2292 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2293 echo $ECHO_N "(cached) $ECHO_C" >&6
2295 if test -n "$ac_ct_CC"; then
2296 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2302 test -z "$as_dir" && as_dir
=.
2303 for ac_exec_ext
in '' $ac_executable_extensions; do
2304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2305 ac_cv_prog_ac_ct_CC
="$ac_prog"
2306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2315 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2316 if test -n "$ac_ct_CC"; then
2317 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2318 echo "${ECHO_T}$ac_ct_CC" >&6; }
2320 { echo "$as_me:$LINENO: result: no" >&5
2321 echo "${ECHO_T}no" >&6; }
2325 test -n "$ac_ct_CC" && break
2328 if test "x$ac_ct_CC" = x
; then
2331 case $cross_compiling:$ac_tool_warned in
2333 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2334 whose name does not start with the host triplet. If you think this
2335 configuration is useful to you, please write to autoconf@gnu.org." >&5
2336 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2337 whose name does not start with the host triplet. If you think this
2338 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2339 ac_tool_warned
=yes ;;
2348 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2349 See \`config.log' for more details." >&5
2350 echo "$as_me: error: no acceptable C compiler found in \$PATH
2351 See \`config.log' for more details." >&2;}
2352 { (exit 1); exit 1; }; }
2354 # Provide some information about the compiler.
2355 echo "$as_me:$LINENO: checking for C compiler version" >&5
2356 ac_compiler
=`set X $ac_compile; echo $2`
2357 { (ac_try
="$ac_compiler --version >&5"
2359 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2360 *) ac_try_echo=$ac_try;;
2362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2363 (eval "$ac_compiler --version >&5") 2>&5
2365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2366 (exit $ac_status); }
2367 { (ac_try="$ac_compiler -v >&5"
2369 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2370 *) ac_try_echo
=$ac_try;;
2372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2373 (eval "$ac_compiler -v >&5") 2>&5
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); }
2377 { (ac_try
="$ac_compiler -V >&5"
2379 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2380 *) ac_try_echo=$ac_try;;
2382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2383 (eval "$ac_compiler -V >&5") 2>&5
2385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386 (exit $ac_status); }
2388 cat >conftest.$ac_ext <<_ACEOF
2391 cat confdefs.h >>conftest.$ac_ext
2392 cat >>conftest.$ac_ext <<_ACEOF
2393 /* end confdefs.h. */
2403 ac_clean_files_save=$ac_clean_files
2404 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2405 # Try to create an executable without -o first, disregard a.out.
2406 # It will help us diagnose broken compilers, and finding out an intuition
2408 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2409 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2410 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2412 # List of possible output files, starting from the most likely.
2413 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2414 # only as a last resort. b.out is created by i960 compilers.
2415 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2417 # The IRIX 6 linker writes into existing files which may not be
2418 # executable, retaining their permissions. Remove them first so a
2419 # subsequent execution test works.
2421 for ac_file in $ac_files
2424 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2425 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2430 if { (ac_try="$ac_link_default"
2432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2433 *) ac_try_echo=$ac_try;;
2435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2436 (eval "$ac_link_default") 2>&5
2438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2439 (exit $ac_status); }; then
2440 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2441 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2442 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2443 # so that the user can short-circuit this test for compilers unknown to
2445 for ac_file
in $ac_files ''
2447 test -f "$ac_file" ||
continue
2449 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2452 # We found the default executable, but exeext='' is most
2456 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2458 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2460 # We set ac_cv_exeext here because the later test for it is not
2461 # safe: cross compilers may not add the suffix if given an `-o'
2462 # argument, so we may need to know it at that point already.
2463 # Even if this section looks crufty: it has the advantage of
2470 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2476 { echo "$as_me:$LINENO: result: $ac_file" >&5
2477 echo "${ECHO_T}$ac_file" >&6; }
2478 if test -z "$ac_file"; then
2479 echo "$as_me: failed program was:" >&5
2480 sed 's/^/| /' conftest.
$ac_ext >&5
2482 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2483 See \`config.log' for more details." >&5
2484 echo "$as_me: error: C compiler cannot create executables
2485 See \`config.log' for more details." >&2;}
2486 { (exit 77); exit 77; }; }
2489 ac_exeext
=$ac_cv_exeext
2491 # Check that the compiler produces executables we can run. If not, either
2492 # the compiler is broken, or we cross compile.
2493 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2494 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2495 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2496 # If not cross compiling, check that we can run a simple program.
2497 if test "$cross_compiling" != yes; then
2498 if { ac_try
='./$ac_file'
2499 { (case "(($ac_try" in
2500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2501 *) ac_try_echo=$ac_try;;
2503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2504 (eval "$ac_try") 2>&5
2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 (exit $ac_status); }; }; then
2510 if test "$cross_compiling" = maybe; then
2513 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2514 If you meant to cross compile, use \`--host'.
2515 See \`config.log' for more details.
" >&5
2516 echo "$as_me: error
: cannot run C compiled programs.
2517 If you meant to cross compile
, use \
`--host'.
2518 See \`config.log
' for more details." >&2;}
2519 { (exit 1); exit 1; }; }
2523 { echo "$as_me:$LINENO: result: yes" >&5
2524 echo "${ECHO_T}yes" >&6; }
2526 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2527 ac_clean_files=$ac_clean_files_save
2528 # Check that the compiler produces executables we can run. If not, either
2529 # the compiler is broken, or we cross compile.
2530 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2531 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2532 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2533 echo "${ECHO_T}$cross_compiling" >&6; }
2535 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2536 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2537 if { (ac_try="$ac_link"
2539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2540 *) ac_try_echo=$ac_try;;
2542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2543 (eval "$ac_link") 2>&5
2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); }; then
2547 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2548 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2549 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2551 for ac_file
in conftest.exe conftest conftest.
*; do
2552 test -f "$ac_file" ||
continue
2554 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2555 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2561 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2562 See \`config.log' for more details." >&5
2563 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2564 See \`config.log' for more details." >&2;}
2565 { (exit 1); exit 1; }; }
2568 rm -f conftest
$ac_cv_exeext
2569 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2570 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2572 rm -f conftest.
$ac_ext
2573 EXEEXT
=$ac_cv_exeext
2575 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2576 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2577 if test "${ac_cv_objext+set}" = set; then
2578 echo $ECHO_N "(cached) $ECHO_C" >&6
2580 cat >conftest.
$ac_ext <<_ACEOF
2583 cat confdefs.h
>>conftest.
$ac_ext
2584 cat >>conftest.
$ac_ext <<_ACEOF
2585 /* end confdefs.h. */
2595 rm -f conftest.o conftest.obj
2596 if { (ac_try
="$ac_compile"
2598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2599 *) ac_try_echo=$ac_try;;
2601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2602 (eval "$ac_compile") 2>&5
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); }; then
2606 for ac_file in conftest.o conftest.obj conftest.*; do
2607 test -f "$ac_file" || continue;
2609 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2610 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2615 echo "$as_me: failed program was:" >&5
2616 sed 's/^/| /' conftest.$ac_ext >&5
2618 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2619 See \`config.log
' for more details." >&5
2620 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2621 See \`config.log' for more details.
" >&2;}
2622 { (exit 1); exit 1; }; }
2625 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2627 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2628 echo "${ECHO_T}$ac_cv_objext" >&6; }
2629 OBJEXT=$ac_cv_objext
2631 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2632 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2633 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2634 echo $ECHO_N "(cached
) $ECHO_C" >&6
2636 cat >conftest.$ac_ext <<_ACEOF
2639 cat confdefs.h >>conftest.$ac_ext
2640 cat >>conftest.$ac_ext <<_ACEOF
2641 /* end confdefs.h. */
2654 rm -f conftest.$ac_objext
2655 if { (ac_try="$ac_compile"
2657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2658 *) ac_try_echo=$ac_try;;
2660 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2661 (eval "$ac_compile") 2>conftest.er1
2663 grep -v '^ *+' conftest.er1 >conftest.err
2665 cat conftest.err >&5
2666 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2667 (exit $ac_status); } && {
2668 test -z "$ac_c_werror_flag" ||
2669 test ! -s conftest.err
2670 } && test -s conftest.$ac_objext; then
2673 echo "$as_me: failed program was
:" >&5
2674 sed 's/^/| /' conftest.$ac_ext >&5
2679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2680 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2683 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2684 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2685 GCC=`test $ac_compiler_gnu = yes && echo yes`
2686 ac_test_CFLAGS=${CFLAGS+set}
2687 ac_save_CFLAGS=$CFLAGS
2688 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2689 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2690 if test "${ac_cv_prog_cc_g+set}" = set; then
2691 echo $ECHO_N "(cached
) $ECHO_C" >&6
2693 ac_save_c_werror_flag=$ac_c_werror_flag
2694 ac_c_werror_flag=yes
2697 cat >conftest.$ac_ext <<_ACEOF
2700 cat confdefs.h >>conftest.$ac_ext
2701 cat >>conftest.$ac_ext <<_ACEOF
2702 /* end confdefs.h. */
2712 rm -f conftest.$ac_objext
2713 if { (ac_try="$ac_compile"
2715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2716 *) ac_try_echo=$ac_try;;
2718 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2719 (eval "$ac_compile") 2>conftest.er1
2721 grep -v '^ *+' conftest.er1 >conftest.err
2723 cat conftest.err >&5
2724 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2725 (exit $ac_status); } && {
2726 test -z "$ac_c_werror_flag" ||
2727 test ! -s conftest.err
2728 } && test -s conftest.$ac_objext; then
2731 echo "$as_me: failed program was
:" >&5
2732 sed 's/^/| /' conftest.$ac_ext >&5
2735 cat >conftest.$ac_ext <<_ACEOF
2738 cat confdefs.h >>conftest.$ac_ext
2739 cat >>conftest.$ac_ext <<_ACEOF
2740 /* end confdefs.h. */
2750 rm -f conftest.$ac_objext
2751 if { (ac_try="$ac_compile"
2753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2754 *) ac_try_echo=$ac_try;;
2756 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2757 (eval "$ac_compile") 2>conftest.er1
2759 grep -v '^ *+' conftest.er1 >conftest.err
2761 cat conftest.err >&5
2762 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2763 (exit $ac_status); } && {
2764 test -z "$ac_c_werror_flag" ||
2765 test ! -s conftest.err
2766 } && test -s conftest.$ac_objext; then
2769 echo "$as_me: failed program was
:" >&5
2770 sed 's/^/| /' conftest.$ac_ext >&5
2772 ac_c_werror_flag=$ac_save_c_werror_flag
2774 cat >conftest.$ac_ext <<_ACEOF
2777 cat confdefs.h >>conftest.$ac_ext
2778 cat >>conftest.$ac_ext <<_ACEOF
2779 /* end confdefs.h. */
2789 rm -f conftest.$ac_objext
2790 if { (ac_try="$ac_compile"
2792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2793 *) ac_try_echo=$ac_try;;
2795 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2796 (eval "$ac_compile") 2>conftest.er1
2798 grep -v '^ *+' conftest.er1 >conftest.err
2800 cat conftest.err >&5
2801 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2802 (exit $ac_status); } && {
2803 test -z "$ac_c_werror_flag" ||
2804 test ! -s conftest.err
2805 } && test -s conftest.$ac_objext; then
2808 echo "$as_me: failed program was
:" >&5
2809 sed 's/^/| /' conftest.$ac_ext >&5
2814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2821 ac_c_werror_flag=$ac_save_c_werror_flag
2823 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
2824 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2825 if test "$ac_test_CFLAGS" = set; then
2826 CFLAGS=$ac_save_CFLAGS
2827 elif test $ac_cv_prog_cc_g = yes; then
2828 if test "$GCC" = yes; then
2834 if test "$GCC" = yes; then
2840 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
2841 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
2842 if test "${ac_cv_prog_cc_c89+set}" = set; then
2843 echo $ECHO_N "(cached
) $ECHO_C" >&6
2845 ac_cv_prog_cc_c89=no
2847 cat >conftest.$ac_ext <<_ACEOF
2850 cat confdefs.h >>conftest.$ac_ext
2851 cat >>conftest.$ac_ext <<_ACEOF
2852 /* end confdefs.h. */
2855 #include <sys/types.h>
2856 #include <sys/stat.h>
2857 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2858 struct buf { int x; };
2859 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2860 static char *e (p, i)
2866 static char *f (char * (*g) (char **, int), char **p, ...)
2871 s = g (p, va_arg (v,int));
2876 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2877 function prototypes and stuff, but not '\xHH' hex character constants.
2878 These don't provoke an error unfortunately, instead are silently treated
2879 as 'x'. The following induces an error, until -std is added to get
2880 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2881 array size at least. It's necessary to write '\x00'==0 to get something
2882 that's true only with -std. */
2883 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2885 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2886 inside strings and character constants. */
2888 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2890 int test (int i, double x);
2891 struct s1 {int (*f) (int a);};
2892 struct s2 {int (*f) (double a);};
2893 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2899 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2904 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2905 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2907 CC="$ac_save_CC $ac_arg"
2908 rm -f conftest.$ac_objext
2909 if { (ac_try="$ac_compile"
2911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2912 *) ac_try_echo=$ac_try;;
2914 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2915 (eval "$ac_compile") 2>conftest.er1
2917 grep -v '^ *+' conftest.er1 >conftest.err
2919 cat conftest.err >&5
2920 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2921 (exit $ac_status); } && {
2922 test -z "$ac_c_werror_flag" ||
2923 test ! -s conftest.err
2924 } && test -s conftest.$ac_objext; then
2925 ac_cv_prog_cc_c89=$ac_arg
2927 echo "$as_me: failed program was
:" >&5
2928 sed 's/^/| /' conftest.$ac_ext >&5
2933 rm -f core conftest.err conftest.$ac_objext
2934 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
2936 rm -f conftest.$ac_ext
2941 case "x
$ac_cv_prog_cc_c89" in
2943 { echo "$as_me:$LINENO: result
: none needed
" >&5
2944 echo "${ECHO_T}none needed
" >&6; } ;;
2946 { echo "$as_me:$LINENO: result
: unsupported
" >&5
2947 echo "${ECHO_T}unsupported
" >&6; } ;;
2949 CC="$CC $ac_cv_prog_cc_c89"
2950 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
2951 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2956 ac_cpp='$CPP $CPPFLAGS'
2957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2962 ac_cpp='$CXXCPP $CPPFLAGS'
2963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2966 if test -z "$CXX"; then
2967 if test -n "$CCC"; then
2970 if test -n "$ac_tool_prefix"; then
2971 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2973 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2974 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2975 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
2976 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
2977 if test "${ac_cv_prog_CXX+set}" = set; then
2978 echo $ECHO_N "(cached
) $ECHO_C" >&6
2980 if test -n "$CXX"; then
2981 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2987 test -z "$as_dir" && as_dir=.
2988 for ac_exec_ext in '' $ac_executable_extensions; do
2989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2990 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2991 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3001 if test -n "$CXX"; then
3002 { echo "$as_me:$LINENO: result
: $CXX" >&5
3003 echo "${ECHO_T}$CXX" >&6; }
3005 { echo "$as_me:$LINENO: result
: no
" >&5
3006 echo "${ECHO_T}no
" >&6; }
3010 test -n "$CXX" && break
3013 if test -z "$CXX"; then
3015 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3017 # Extract the first word of "$ac_prog", so it can be a program name with args.
3018 set dummy $ac_prog; ac_word=$2
3019 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3020 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3021 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3022 echo $ECHO_N "(cached
) $ECHO_C" >&6
3024 if test -n "$ac_ct_CXX"; then
3025 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3031 test -z "$as_dir" && as_dir=.
3032 for ac_exec_ext in '' $ac_executable_extensions; do
3033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3034 ac_cv_prog_ac_ct_CXX="$ac_prog"
3035 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3044 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3045 if test -n "$ac_ct_CXX"; then
3046 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3047 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3049 { echo "$as_me:$LINENO: result
: no
" >&5
3050 echo "${ECHO_T}no
" >&6; }
3054 test -n "$ac_ct_CXX" && break
3057 if test "x
$ac_ct_CXX" = x; then
3060 case $cross_compiling:$ac_tool_warned in
3062 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3063 whose name does not start with the
host triplet. If you think this
3064 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3065 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3066 whose name does not start with the
host triplet. If you think this
3067 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3068 ac_tool_warned=yes ;;
3076 # Provide some information about the compiler.
3077 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3078 ac_compiler=`set X $ac_compile; echo $2`
3079 { (ac_try="$ac_compiler --version >&5"
3081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3082 *) ac_try_echo=$ac_try;;
3084 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3085 (eval "$ac_compiler --version >&5") 2>&5
3087 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3088 (exit $ac_status); }
3089 { (ac_try="$ac_compiler -v >&5"
3091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3092 *) ac_try_echo=$ac_try;;
3094 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3095 (eval "$ac_compiler -v >&5") 2>&5
3097 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3098 (exit $ac_status); }
3099 { (ac_try="$ac_compiler -V >&5"
3101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3102 *) ac_try_echo=$ac_try;;
3104 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3105 (eval "$ac_compiler -V >&5") 2>&5
3107 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3108 (exit $ac_status); }
3110 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3111 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3112 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3113 echo $ECHO_N "(cached
) $ECHO_C" >&6
3115 cat >conftest.$ac_ext <<_ACEOF
3118 cat confdefs.h >>conftest.$ac_ext
3119 cat >>conftest.$ac_ext <<_ACEOF
3120 /* end confdefs.h. */
3133 rm -f conftest.$ac_objext
3134 if { (ac_try="$ac_compile"
3136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3137 *) ac_try_echo=$ac_try;;
3139 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3140 (eval "$ac_compile") 2>conftest.er1
3142 grep -v '^ *+' conftest.er1 >conftest.err
3144 cat conftest.err >&5
3145 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3146 (exit $ac_status); } && {
3147 test -z "$ac_cxx_werror_flag" ||
3148 test ! -s conftest.err
3149 } && test -s conftest.$ac_objext; then
3152 echo "$as_me: failed program was
:" >&5
3153 sed 's/^/| /' conftest.$ac_ext >&5
3158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3159 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3162 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3163 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3164 GXX=`test $ac_compiler_gnu = yes && echo yes`
3165 ac_test_CXXFLAGS=${CXXFLAGS+set}
3166 ac_save_CXXFLAGS=$CXXFLAGS
3167 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3168 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3169 if test "${ac_cv_prog_cxx_g+set}" = set; then
3170 echo $ECHO_N "(cached
) $ECHO_C" >&6
3172 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3173 ac_cxx_werror_flag=yes
3176 cat >conftest.$ac_ext <<_ACEOF
3179 cat confdefs.h >>conftest.$ac_ext
3180 cat >>conftest.$ac_ext <<_ACEOF
3181 /* end confdefs.h. */
3191 rm -f conftest.$ac_objext
3192 if { (ac_try="$ac_compile"
3194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3195 *) ac_try_echo=$ac_try;;
3197 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3198 (eval "$ac_compile") 2>conftest.er1
3200 grep -v '^ *+' conftest.er1 >conftest.err
3202 cat conftest.err >&5
3203 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3204 (exit $ac_status); } && {
3205 test -z "$ac_cxx_werror_flag" ||
3206 test ! -s conftest.err
3207 } && test -s conftest.$ac_objext; then
3208 ac_cv_prog_cxx_g=yes
3210 echo "$as_me: failed program was
:" >&5
3211 sed 's/^/| /' conftest.$ac_ext >&5
3214 cat >conftest.$ac_ext <<_ACEOF
3217 cat confdefs.h >>conftest.$ac_ext
3218 cat >>conftest.$ac_ext <<_ACEOF
3219 /* end confdefs.h. */
3229 rm -f conftest.$ac_objext
3230 if { (ac_try="$ac_compile"
3232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3233 *) ac_try_echo=$ac_try;;
3235 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3236 (eval "$ac_compile") 2>conftest.er1
3238 grep -v '^ *+' conftest.er1 >conftest.err
3240 cat conftest.err >&5
3241 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3242 (exit $ac_status); } && {
3243 test -z "$ac_cxx_werror_flag" ||
3244 test ! -s conftest.err
3245 } && test -s conftest.$ac_objext; then
3248 echo "$as_me: failed program was
:" >&5
3249 sed 's/^/| /' conftest.$ac_ext >&5
3251 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3253 cat >conftest.$ac_ext <<_ACEOF
3256 cat confdefs.h >>conftest.$ac_ext
3257 cat >>conftest.$ac_ext <<_ACEOF
3258 /* end confdefs.h. */
3268 rm -f conftest.$ac_objext
3269 if { (ac_try="$ac_compile"
3271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3272 *) ac_try_echo=$ac_try;;
3274 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3275 (eval "$ac_compile") 2>conftest.er1
3277 grep -v '^ *+' conftest.er1 >conftest.err
3279 cat conftest.err >&5
3280 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3281 (exit $ac_status); } && {
3282 test -z "$ac_cxx_werror_flag" ||
3283 test ! -s conftest.err
3284 } && test -s conftest.$ac_objext; then
3285 ac_cv_prog_cxx_g=yes
3287 echo "$as_me: failed program was
:" >&5
3288 sed 's/^/| /' conftest.$ac_ext >&5
3293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3300 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3302 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3303 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3304 if test "$ac_test_CXXFLAGS" = set; then
3305 CXXFLAGS=$ac_save_CXXFLAGS
3306 elif test $ac_cv_prog_cxx_g = yes; then
3307 if test "$GXX" = yes; then
3313 if test "$GXX" = yes; then
3320 ac_cpp='$CPP $CPPFLAGS'
3321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3325 if test -n "$ac_tool_prefix"; then
3326 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3327 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3328 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3329 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3330 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3331 echo $ECHO_N "(cached
) $ECHO_C" >&6
3333 if test -n "$CPPBIN"; then
3334 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3340 test -z "$as_dir" && as_dir=.
3341 for ac_exec_ext in '' $ac_executable_extensions; do
3342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3343 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3344 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3353 CPPBIN=$ac_cv_prog_CPPBIN
3354 if test -n "$CPPBIN"; then
3355 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3356 echo "${ECHO_T}$CPPBIN" >&6; }
3358 { echo "$as_me:$LINENO: result
: no
" >&5
3359 echo "${ECHO_T}no
" >&6; }
3364 if test -z "$ac_cv_prog_CPPBIN"; then
3365 ac_ct_CPPBIN=$CPPBIN
3366 # Extract the first word of "cpp
", so it can be a program name with args.
3367 set dummy cpp; ac_word=$2
3368 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3369 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3370 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3371 echo $ECHO_N "(cached
) $ECHO_C" >&6
3373 if test -n "$ac_ct_CPPBIN"; then
3374 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3380 test -z "$as_dir" && as_dir=.
3381 for ac_exec_ext in '' $ac_executable_extensions; do
3382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3383 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3384 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3393 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3394 if test -n "$ac_ct_CPPBIN"; then
3395 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3396 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3398 { echo "$as_me:$LINENO: result
: no
" >&5
3399 echo "${ECHO_T}no
" >&6; }
3402 if test "x
$ac_ct_CPPBIN" = x; then
3405 case $cross_compiling:$ac_tool_warned in
3407 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3408 whose name does not start with the
host triplet. If you think this
3409 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3410 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3411 whose name does not start with the
host triplet. If you think this
3412 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3413 ac_tool_warned=yes ;;
3415 CPPBIN=$ac_ct_CPPBIN
3418 CPPBIN="$ac_cv_prog_CPPBIN"
3422 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3423 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3424 if test "${wine_cv_toolsdir+set}" = set; then
3425 echo $ECHO_N "(cached
) $ECHO_C" >&6
3427 if test -z "$with_wine_tools"; then
3428 if test "$cross_compiling" = "yes"; then
3429 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3430 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3431 { (exit 1); exit 1; }; }
3433 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3435 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3436 case $with_wine_tools in
3437 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3438 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3441 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3442 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3443 { (exit 1); exit 1; }; }
3446 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3447 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3448 TOOLSDIR=$wine_cv_toolsdir
3453 ac_cpp='$CPP $CPPFLAGS'
3454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3457 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3458 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3459 # On Suns, sometimes $CPP names a directory.
3460 if test -n "$CPP" && test -d "$CPP"; then
3463 if test -z "$CPP"; then
3464 if test "${ac_cv_prog_CPP+set}" = set; then
3465 echo $ECHO_N "(cached
) $ECHO_C" >&6
3467 # Double quotes because CPP needs to be expanded
3468 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3471 for ac_c_preproc_warn_flag in '' yes
3473 # Use a header file that comes with gcc, so configuring glibc
3474 # with a fresh cross-compiler works.
3475 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3476 # <limits.h> exists even on freestanding compilers.
3477 # On the NeXT, cc -E runs the code through the compiler's parser,
3478 # not just through cpp. "Syntax error
" is here to catch this case.
3479 cat >conftest.$ac_ext <<_ACEOF
3482 cat confdefs.h >>conftest.$ac_ext
3483 cat >>conftest.$ac_ext <<_ACEOF
3484 /* end confdefs.h. */
3486 # include <limits.h>
3488 # include <assert.h>
3492 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3495 *) ac_try_echo=$ac_try;;
3497 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3498 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3500 grep -v '^ *+' conftest.er1 >conftest.err
3502 cat conftest.err >&5
3503 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3504 (exit $ac_status); } >/dev/null && {
3505 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3506 test ! -s conftest.err
3510 echo "$as_me: failed program was
:" >&5
3511 sed 's/^/| /' conftest.$ac_ext >&5
3513 # Broken: fails on valid input.
3517 rm -f conftest.err conftest.$ac_ext
3519 # OK, works on sane cases. Now check whether nonexistent headers
3520 # can be detected and how.
3521 cat >conftest.$ac_ext <<_ACEOF
3524 cat confdefs.h >>conftest.$ac_ext
3525 cat >>conftest.$ac_ext <<_ACEOF
3526 /* end confdefs.h. */
3527 #include <ac_nonexistent.h>
3529 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3532 *) ac_try_echo=$ac_try;;
3534 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3535 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3537 grep -v '^ *+' conftest.er1 >conftest.err
3539 cat conftest.err >&5
3540 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3541 (exit $ac_status); } >/dev/null && {
3542 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3543 test ! -s conftest.err
3545 # Broken: success on invalid input.
3548 echo "$as_me: failed program was
:" >&5
3549 sed 's/^/| /' conftest.$ac_ext >&5
3551 # Passes both tests.
3556 rm -f conftest.err conftest.$ac_ext
3559 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3560 rm -f conftest.err conftest.$ac_ext
3561 if $ac_preproc_ok; then
3573 { echo "$as_me:$LINENO: result
: $CPP" >&5
3574 echo "${ECHO_T}$CPP" >&6; }
3576 for ac_c_preproc_warn_flag in '' yes
3578 # Use a header file that comes with gcc, so configuring glibc
3579 # with a fresh cross-compiler works.
3580 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3581 # <limits.h> exists even on freestanding compilers.
3582 # On the NeXT, cc -E runs the code through the compiler's parser,
3583 # not just through cpp. "Syntax error
" is here to catch this case.
3584 cat >conftest.$ac_ext <<_ACEOF
3587 cat confdefs.h >>conftest.$ac_ext
3588 cat >>conftest.$ac_ext <<_ACEOF
3589 /* end confdefs.h. */
3591 # include <limits.h>
3593 # include <assert.h>
3597 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3600 *) ac_try_echo=$ac_try;;
3602 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3603 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3605 grep -v '^ *+' conftest.er1 >conftest.err
3607 cat conftest.err >&5
3608 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3609 (exit $ac_status); } >/dev/null && {
3610 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3611 test ! -s conftest.err
3615 echo "$as_me: failed program was
:" >&5
3616 sed 's/^/| /' conftest.$ac_ext >&5
3618 # Broken: fails on valid input.
3622 rm -f conftest.err conftest.$ac_ext
3624 # OK, works on sane cases. Now check whether nonexistent headers
3625 # can be detected and how.
3626 cat >conftest.$ac_ext <<_ACEOF
3629 cat confdefs.h >>conftest.$ac_ext
3630 cat >>conftest.$ac_ext <<_ACEOF
3631 /* end confdefs.h. */
3632 #include <ac_nonexistent.h>
3634 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3637 *) ac_try_echo=$ac_try;;
3639 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3640 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3642 grep -v '^ *+' conftest.er1 >conftest.err
3644 cat conftest.err >&5
3645 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3646 (exit $ac_status); } >/dev/null && {
3647 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3648 test ! -s conftest.err
3650 # Broken: success on invalid input.
3653 echo "$as_me: failed program was
:" >&5
3654 sed 's/^/| /' conftest.$ac_ext >&5
3656 # Passes both tests.
3661 rm -f conftest.err conftest.$ac_ext
3664 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3665 rm -f conftest.err conftest.$ac_ext
3666 if $ac_preproc_ok; then
3669 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3670 See \
`config.log' for more details." >&5
3671 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3672 See \`config.log
' for more details." >&2;}
3673 { (exit 1); exit 1; }; }
3677 ac_cpp='$CPP $CPPFLAGS'
3678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3679 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3683 { echo "$as_me:$LINENO: checking for X" >&5
3684 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3687 # Check whether --with-x was given.
3688 if test "${with_x+set}" = set; then
3692 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3693 if test "x$with_x" = xno; then
3694 # The user explicitly disabled X.
3697 case $x_includes,$x_libraries in #(
3698 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3699 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3700 { (exit 1); exit 1; }; };; #(
3701 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3702 echo $ECHO_N "(cached) $ECHO_C" >&6
3704 # One or both of the vars are not set, and there is no cached value.
3705 ac_x_includes=no ac_x_libraries=no
3706 rm -f -r conftest.dir
3707 if mkdir conftest.dir; then
3709 cat >Imakefile <<'_ACEOF'
3711 @echo incroot='${INCROOT}'
3713 @echo usrlibdir='${USRLIBDIR}'
3715 @echo libdir='${LIBDIR}'
3717 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3718 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3719 for ac_var in incroot usrlibdir libdir; do
3720 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3722 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3723 for ac_extension in a so sl; do
3724 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3725 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3726 ac_im_usrlibdir=$ac_im_libdir; break
3729 # Screen out bogus values from the imake configuration. They are
3730 # bogus both because they are the default anyway, and because
3731 # using them would break gcc on systems where it needs fixed includes.
3732 case $ac_im_incroot in
3733 /usr/include) ac_x_includes= ;;
3734 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3736 case $ac_im_usrlibdir in
3738 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3742 rm -f -r conftest.dir
3745 # Standard set of common directories for X headers.
3746 # Check X11 before X11Rn because it is often a symlink to the current release.
3758 /usr
/local
/X11
/include
3759 /usr
/local
/X11R
6/include
3760 /usr
/local
/X11R
5/include
3761 /usr
/local
/X11R
4/include
3763 /usr
/local
/include
/X11
3764 /usr
/local
/include
/X11R6
3765 /usr
/local
/include
/X11R5
3766 /usr
/local
/include
/X11R4
3770 /usr
/XFree86
/include
/X11
3774 /usr
/unsupported
/include
3776 /usr
/local
/x11r
5/include
3777 /usr
/lpp
/Xamples
/include
3779 /usr
/openwin
/include
3780 /usr
/openwin
/share
/include
'
3782 if test "$ac_x_includes" = no; then
3783 # Guess where to find include files, by looking for Xlib.h.
3784 # First, try using that file with no special directory specified.
3785 cat >conftest.$ac_ext <<_ACEOF
3788 cat confdefs.h >>conftest.$ac_ext
3789 cat >>conftest.$ac_ext <<_ACEOF
3790 /* end confdefs.h. */
3791 #include <X11/Xlib.h>
3793 if { (ac_try="$ac_cpp conftest.$ac_ext"
3795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3796 *) ac_try_echo=$ac_try;;
3798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3799 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3801 grep -v '^
*+' conftest.er1 >conftest.err
3803 cat conftest.err >&5
3804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 (exit $ac_status); } >/dev/null && {
3806 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3807 test ! -s conftest.err
3809 # We can compile using X headers with no special include directory.
3812 echo "$as_me: failed program was:" >&5
3813 sed 's
/^
/|
/' conftest.$ac_ext >&5
3815 for ac_dir in $ac_x_header_dirs; do
3816 if test -r "$ac_dir/X11/Xlib.h"; then
3817 ac_x_includes=$ac_dir
3823 rm -f conftest.err conftest.$ac_ext
3824 fi # $ac_x_includes = no
3826 if test "$ac_x_libraries" = no; then
3827 # Check for the libraries.
3828 # See if we find them without any special options.
3829 # Don't add to
$LIBS permanently.
3832 cat >conftest.
$ac_ext <<_ACEOF
3835 cat confdefs.h
>>conftest.
$ac_ext
3836 cat >>conftest.
$ac_ext <<_ACEOF
3837 /* end confdefs.h. */
3838 #include <X11/Xlib.h>
3847 rm -f conftest.
$ac_objext conftest
$ac_exeext
3848 if { (ac_try
="$ac_link"
3850 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3851 *) ac_try_echo=$ac_try;;
3853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3854 (eval "$ac_link") 2>conftest.er1
3856 grep -v '^ *+' conftest.er1 >conftest.err
3858 cat conftest.err >&5
3859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860 (exit $ac_status); } && {
3861 test -z "$ac_c_werror_flag" ||
3862 test ! -s conftest.err
3863 } && test -s conftest$ac_exeext &&
3864 $as_test_x conftest$ac_exeext; then
3866 # We can link X programs with no special library path.
3869 echo "$as_me: failed program was:" >&5
3870 sed 's/^/| /' conftest.$ac_ext >&5
3873 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
3875 # Don't even attempt the hair of trying to link an X program!
3876 for ac_extension in a so sl; do
3877 if test -r "$ac_dir/libX11.$ac_extension"; then
3878 ac_x_libraries=$ac_dir
3885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3886 conftest$ac_exeext conftest.$ac_ext
3887 fi # $ac_x_libraries = no
3889 case $ac_x_includes,$ac_x_libraries in #(
3891 # Didn't find X, or a directory has "'" in its name.
3892 ac_cv_have_x="have_x=no";; #(
3894 # Record where we found X for the cache.
3895 ac_cv_have_x="have_x=yes\
3896 ac_x_includes='$ac_x_includes'\
3897 ac_x_libraries='$ac_x_libraries'"
3903 eval "$ac_cv_have_x"
3906 if test "$have_x" != yes; then
3907 { echo "$as_me:$LINENO: result: $have_x" >&5
3908 echo "${ECHO_T}$have_x" >&6; }
3911 # If each of the values was on the command line, it overrides each guess.
3912 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3913 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3914 # Update the cache value to reflect the command line values.
3915 ac_cv_have_x="have_x=yes\
3916 ac_x_includes='$x_includes'\
3917 ac_x_libraries='$x_libraries'"
3918 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3919 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3922 if test "$no_x" = yes; then
3923 # Not all programs may use this symbol, but it does not hurt to define it.
3925 cat >>confdefs.h <<\_ACEOF
3926 #define X_DISPLAY_MISSING 1
3929 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3931 if test -n "$x_includes"; then
3932 X_CFLAGS="$X_CFLAGS -I$x_includes"
3935 # It would also be nice to do this for all -L options, not just this one.
3936 if test -n "$x_libraries"; then
3937 X_LIBS="$X_LIBS -L$x_libraries"
3938 # For Solaris; some versions of Sun CC require a space after -R and
3939 # others require no space. Words are not sufficient . . . .
3940 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3941 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3942 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3943 ac_xsave_c_werror_flag=$ac_c_werror_flag
3944 ac_c_werror_flag=yes
3945 cat >conftest.$ac_ext <<_ACEOF
3948 cat confdefs.h >>conftest.$ac_ext
3949 cat >>conftest.$ac_ext <<_ACEOF
3950 /* end confdefs.h. */
3960 rm -f conftest.$ac_objext conftest$ac_exeext
3961 if { (ac_try="$ac_link"
3963 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3964 *) ac_try_echo
=$ac_try;;
3966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3967 (eval "$ac_link") 2>conftest.er1
3969 grep -v '^ *+' conftest.er1
>conftest.err
3971 cat conftest.err
>&5
3972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973 (exit $ac_status); } && {
3974 test -z "$ac_c_werror_flag" ||
3975 test ! -s conftest.err
3976 } && test -s conftest
$ac_exeext &&
3977 $as_test_x conftest
$ac_exeext; then
3978 { echo "$as_me:$LINENO: result: no" >&5
3979 echo "${ECHO_T}no" >&6; }
3980 X_LIBS
="$X_LIBS -R$x_libraries"
3982 echo "$as_me: failed program was:" >&5
3983 sed 's/^/| /' conftest.
$ac_ext >&5
3985 LIBS
="$ac_xsave_LIBS -R $x_libraries"
3986 cat >conftest.
$ac_ext <<_ACEOF
3989 cat confdefs.h
>>conftest.
$ac_ext
3990 cat >>conftest.
$ac_ext <<_ACEOF
3991 /* end confdefs.h. */
4001 rm -f conftest.
$ac_objext conftest
$ac_exeext
4002 if { (ac_try
="$ac_link"
4004 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4005 *) ac_try_echo=$ac_try;;
4007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4008 (eval "$ac_link") 2>conftest.er1
4010 grep -v '^ *+' conftest.er1 >conftest.err
4012 cat conftest.err >&5
4013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4014 (exit $ac_status); } && {
4015 test -z "$ac_c_werror_flag" ||
4016 test ! -s conftest.err
4017 } && test -s conftest$ac_exeext &&
4018 $as_test_x conftest$ac_exeext; then
4019 { echo "$as_me:$LINENO: result: yes" >&5
4020 echo "${ECHO_T}yes" >&6; }
4021 X_LIBS="$X_LIBS -R $x_libraries"
4023 echo "$as_me: failed program was:" >&5
4024 sed 's/^/| /' conftest.$ac_ext >&5
4026 { echo "$as_me:$LINENO: result: neither works" >&5
4027 echo "${ECHO_T}neither works" >&6; }
4030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4031 conftest$ac_exeext conftest.$ac_ext
4034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4035 conftest$ac_exeext conftest.$ac_ext
4036 ac_c_werror_flag=$ac_xsave_c_werror_flag
4040 # Check for system-dependent libraries X programs must link with.
4041 # Do this before checking for the system-independent R6 libraries
4042 # (-lICE), since we may need -lsocket or whatever for X linking.
4044 if test "$ISC" = yes; then
4045 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4047 # Martyn Johnson says this is needed for Ultrix, if the X
4048 # libraries were built with DECnet support. And Karl Berry says
4049 # the Alpha needs dnet_stub (dnet does not exist).
4050 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4051 cat >conftest.$ac_ext <<_ACEOF
4054 cat confdefs.h >>conftest.$ac_ext
4055 cat >>conftest.$ac_ext <<_ACEOF
4056 /* end confdefs.h. */
4058 /* Override any GCC internal prototype to avoid an error.
4059 Use char because int might match the return type of a GCC
4060 builtin and then its argument prototype would still apply. */
4064 char XOpenDisplay ();
4068 return XOpenDisplay ();
4073 rm -f conftest.$ac_objext conftest$ac_exeext
4074 if { (ac_try="$ac_link"
4076 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4077 *) ac_try_echo
=$ac_try;;
4079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4080 (eval "$ac_link") 2>conftest.er1
4082 grep -v '^ *+' conftest.er1
>conftest.err
4084 cat conftest.err
>&5
4085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086 (exit $ac_status); } && {
4087 test -z "$ac_c_werror_flag" ||
4088 test ! -s conftest.err
4089 } && test -s conftest
$ac_exeext &&
4090 $as_test_x conftest
$ac_exeext; then
4093 echo "$as_me: failed program was:" >&5
4094 sed 's/^/| /' conftest.
$ac_ext >&5
4096 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4097 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4098 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4099 echo $ECHO_N "(cached) $ECHO_C" >&6
4101 ac_check_lib_save_LIBS
=$LIBS
4103 cat >conftest.
$ac_ext <<_ACEOF
4106 cat confdefs.h
>>conftest.
$ac_ext
4107 cat >>conftest.
$ac_ext <<_ACEOF
4108 /* end confdefs.h. */
4110 /* Override any GCC internal prototype to avoid an error.
4111 Use char because int might match the return type of a GCC
4112 builtin and then its argument prototype would still apply. */
4120 return dnet_ntoa ();
4125 rm -f conftest.
$ac_objext conftest
$ac_exeext
4126 if { (ac_try
="$ac_link"
4128 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4129 *) ac_try_echo=$ac_try;;
4131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4132 (eval "$ac_link") 2>conftest.er1
4134 grep -v '^ *+' conftest.er1 >conftest.err
4136 cat conftest.err >&5
4137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4138 (exit $ac_status); } && {
4139 test -z "$ac_c_werror_flag" ||
4140 test ! -s conftest.err
4141 } && test -s conftest$ac_exeext &&
4142 $as_test_x conftest$ac_exeext; then
4143 ac_cv_lib_dnet_dnet_ntoa=yes
4145 echo "$as_me: failed program was:" >&5
4146 sed 's/^/| /' conftest.$ac_ext >&5
4148 ac_cv_lib_dnet_dnet_ntoa=no
4151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4152 conftest$ac_exeext conftest.$ac_ext
4153 LIBS=$ac_check_lib_save_LIBS
4155 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4156 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4157 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4158 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4161 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4162 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4163 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4164 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4165 echo $ECHO_N "(cached) $ECHO_C" >&6
4167 ac_check_lib_save_LIBS=$LIBS
4168 LIBS="-ldnet_stub $LIBS"
4169 cat >conftest.$ac_ext <<_ACEOF
4172 cat confdefs.h >>conftest.$ac_ext
4173 cat >>conftest.$ac_ext <<_ACEOF
4174 /* end confdefs.h. */
4176 /* Override any GCC internal prototype to avoid an error.
4177 Use char because int might match the return type of a GCC
4178 builtin and then its argument prototype would still apply. */
4186 return dnet_ntoa ();
4191 rm -f conftest.$ac_objext conftest$ac_exeext
4192 if { (ac_try="$ac_link"
4194 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4195 *) ac_try_echo
=$ac_try;;
4197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4198 (eval "$ac_link") 2>conftest.er1
4200 grep -v '^ *+' conftest.er1
>conftest.err
4202 cat conftest.err
>&5
4203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4204 (exit $ac_status); } && {
4205 test -z "$ac_c_werror_flag" ||
4206 test ! -s conftest.err
4207 } && test -s conftest
$ac_exeext &&
4208 $as_test_x conftest
$ac_exeext; then
4209 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4211 echo "$as_me: failed program was:" >&5
4212 sed 's/^/| /' conftest.
$ac_ext >&5
4214 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4217 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4218 conftest
$ac_exeext conftest.
$ac_ext
4219 LIBS
=$ac_check_lib_save_LIBS
4221 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4222 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4223 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4224 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4230 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4231 conftest
$ac_exeext conftest.
$ac_ext
4232 LIBS
="$ac_xsave_LIBS"
4234 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4235 # to get the SysV transport functions.
4236 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4238 # The nsl library prevents programs from opening the X display
4239 # on Irix 5.2, according to T.E. Dickey.
4240 # The functions gethostbyname, getservbyname, and inet_addr are
4241 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4242 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4243 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4244 if test "${ac_cv_func_gethostbyname+set}" = set; then
4245 echo $ECHO_N "(cached) $ECHO_C" >&6
4247 cat >conftest.
$ac_ext <<_ACEOF
4250 cat confdefs.h
>>conftest.
$ac_ext
4251 cat >>conftest.
$ac_ext <<_ACEOF
4252 /* end confdefs.h. */
4253 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4255 #define gethostbyname innocuous_gethostbyname
4257 /* System header to define __stub macros and hopefully few prototypes,
4258 which can conflict with char gethostbyname (); below.
4259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4260 <limits.h> exists even on freestanding compilers. */
4263 # include <limits.h>
4265 # include <assert.h>
4268 #undef gethostbyname
4270 /* Override any GCC internal prototype to avoid an error.
4271 Use char because int might match the return type of a GCC
4272 builtin and then its argument prototype would still apply. */
4276 char gethostbyname ();
4277 /* The GNU C library defines this for functions which it implements
4278 to always fail with ENOSYS. Some functions are actually named
4279 something starting with __ and the normal name is an alias. */
4280 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4287 return gethostbyname ();
4292 rm -f conftest.
$ac_objext conftest
$ac_exeext
4293 if { (ac_try
="$ac_link"
4295 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4296 *) ac_try_echo=$ac_try;;
4298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4299 (eval "$ac_link") 2>conftest.er1
4301 grep -v '^ *+' conftest.er1 >conftest.err
4303 cat conftest.err >&5
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); } && {
4306 test -z "$ac_c_werror_flag" ||
4307 test ! -s conftest.err
4308 } && test -s conftest$ac_exeext &&
4309 $as_test_x conftest$ac_exeext; then
4310 ac_cv_func_gethostbyname=yes
4312 echo "$as_me: failed program was:" >&5
4313 sed 's/^/| /' conftest.$ac_ext >&5
4315 ac_cv_func_gethostbyname=no
4318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4319 conftest$ac_exeext conftest.$ac_ext
4321 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4322 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4324 if test $ac_cv_func_gethostbyname = no; then
4325 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4326 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4327 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4328 echo $ECHO_N "(cached) $ECHO_C" >&6
4330 ac_check_lib_save_LIBS=$LIBS
4332 cat >conftest.$ac_ext <<_ACEOF
4335 cat confdefs.h >>conftest.$ac_ext
4336 cat >>conftest.$ac_ext <<_ACEOF
4337 /* end confdefs.h. */
4339 /* Override any GCC internal prototype to avoid an error.
4340 Use char because int might match the return type of a GCC
4341 builtin and then its argument prototype would still apply. */
4345 char gethostbyname ();
4349 return gethostbyname ();
4354 rm -f conftest.$ac_objext conftest$ac_exeext
4355 if { (ac_try="$ac_link"
4357 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4358 *) ac_try_echo
=$ac_try;;
4360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4361 (eval "$ac_link") 2>conftest.er1
4363 grep -v '^ *+' conftest.er1
>conftest.err
4365 cat conftest.err
>&5
4366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4367 (exit $ac_status); } && {
4368 test -z "$ac_c_werror_flag" ||
4369 test ! -s conftest.err
4370 } && test -s conftest
$ac_exeext &&
4371 $as_test_x conftest
$ac_exeext; then
4372 ac_cv_lib_nsl_gethostbyname
=yes
4374 echo "$as_me: failed program was:" >&5
4375 sed 's/^/| /' conftest.
$ac_ext >&5
4377 ac_cv_lib_nsl_gethostbyname
=no
4380 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4381 conftest
$ac_exeext conftest.
$ac_ext
4382 LIBS
=$ac_check_lib_save_LIBS
4384 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4385 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4386 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4387 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4390 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4391 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4392 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4393 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4394 echo $ECHO_N "(cached) $ECHO_C" >&6
4396 ac_check_lib_save_LIBS
=$LIBS
4398 cat >conftest.
$ac_ext <<_ACEOF
4401 cat confdefs.h
>>conftest.
$ac_ext
4402 cat >>conftest.
$ac_ext <<_ACEOF
4403 /* end confdefs.h. */
4405 /* Override any GCC internal prototype to avoid an error.
4406 Use char because int might match the return type of a GCC
4407 builtin and then its argument prototype would still apply. */
4411 char gethostbyname ();
4415 return gethostbyname ();
4420 rm -f conftest.
$ac_objext conftest
$ac_exeext
4421 if { (ac_try
="$ac_link"
4423 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4424 *) ac_try_echo=$ac_try;;
4426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4427 (eval "$ac_link") 2>conftest.er1
4429 grep -v '^ *+' conftest.er1 >conftest.err
4431 cat conftest.err >&5
4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 (exit $ac_status); } && {
4434 test -z "$ac_c_werror_flag" ||
4435 test ! -s conftest.err
4436 } && test -s conftest$ac_exeext &&
4437 $as_test_x conftest$ac_exeext; then
4438 ac_cv_lib_bsd_gethostbyname=yes
4440 echo "$as_me: failed program was:" >&5
4441 sed 's/^/| /' conftest.$ac_ext >&5
4443 ac_cv_lib_bsd_gethostbyname=no
4446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4447 conftest$ac_exeext conftest.$ac_ext
4448 LIBS=$ac_check_lib_save_LIBS
4450 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4451 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4452 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4453 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4459 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4460 # socket/setsockopt and other routines are undefined under SCO ODT
4461 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4462 # on later versions), says Simon Leinen: it contains gethostby*
4463 # variants that don't use the name server (or something). -lsocket
4464 # must be given before -lnsl if both are needed. We assume that
4465 # if connect needs -lnsl, so does gethostbyname.
4466 { echo "$as_me:$LINENO: checking for connect" >&5
4467 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4468 if test "${ac_cv_func_connect+set}" = set; then
4469 echo $ECHO_N "(cached) $ECHO_C" >&6
4471 cat >conftest.$ac_ext <<_ACEOF
4474 cat confdefs.h >>conftest.$ac_ext
4475 cat >>conftest.$ac_ext <<_ACEOF
4476 /* end confdefs.h. */
4477 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4479 #define connect innocuous_connect
4481 /* System header to define __stub macros and hopefully few prototypes,
4482 which can conflict with char connect (); below.
4483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4484 <limits.h> exists even on freestanding compilers. */
4487 # include <limits.h>
4489 # include <assert.h>
4494 /* Override any GCC internal prototype to avoid an error.
4495 Use char because int might match the return type of a GCC
4496 builtin and then its argument prototype would still apply. */
4501 /* The GNU C library defines this for functions which it implements
4502 to always fail with ENOSYS. Some functions are actually named
4503 something starting with __ and the normal name is an alias. */
4504 #if defined __stub_connect || defined __stub___connect
4516 rm -f conftest.$ac_objext conftest$ac_exeext
4517 if { (ac_try="$ac_link"
4519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4520 *) ac_try_echo
=$ac_try;;
4522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4523 (eval "$ac_link") 2>conftest.er1
4525 grep -v '^ *+' conftest.er1
>conftest.err
4527 cat conftest.err
>&5
4528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4529 (exit $ac_status); } && {
4530 test -z "$ac_c_werror_flag" ||
4531 test ! -s conftest.err
4532 } && test -s conftest
$ac_exeext &&
4533 $as_test_x conftest
$ac_exeext; then
4534 ac_cv_func_connect
=yes
4536 echo "$as_me: failed program was:" >&5
4537 sed 's/^/| /' conftest.
$ac_ext >&5
4539 ac_cv_func_connect
=no
4542 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4543 conftest
$ac_exeext conftest.
$ac_ext
4545 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4546 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4548 if test $ac_cv_func_connect = no
; then
4549 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4550 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4551 if test "${ac_cv_lib_socket_connect+set}" = set; then
4552 echo $ECHO_N "(cached) $ECHO_C" >&6
4554 ac_check_lib_save_LIBS
=$LIBS
4555 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4556 cat >conftest.
$ac_ext <<_ACEOF
4559 cat confdefs.h
>>conftest.
$ac_ext
4560 cat >>conftest.
$ac_ext <<_ACEOF
4561 /* end confdefs.h. */
4563 /* Override any GCC internal prototype to avoid an error.
4564 Use char because int might match the return type of a GCC
4565 builtin and then its argument prototype would still apply. */
4578 rm -f conftest.
$ac_objext conftest
$ac_exeext
4579 if { (ac_try
="$ac_link"
4581 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4582 *) ac_try_echo=$ac_try;;
4584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4585 (eval "$ac_link") 2>conftest.er1
4587 grep -v '^ *+' conftest.er1 >conftest.err
4589 cat conftest.err >&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); } && {
4592 test -z "$ac_c_werror_flag" ||
4593 test ! -s conftest.err
4594 } && test -s conftest$ac_exeext &&
4595 $as_test_x conftest$ac_exeext; then
4596 ac_cv_lib_socket_connect=yes
4598 echo "$as_me: failed program was:" >&5
4599 sed 's/^/| /' conftest.$ac_ext >&5
4601 ac_cv_lib_socket_connect=no
4604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4605 conftest$ac_exeext conftest.$ac_ext
4606 LIBS=$ac_check_lib_save_LIBS
4608 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4609 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4610 if test $ac_cv_lib_socket_connect = yes; then
4611 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4616 # Guillermo Gomez says -lposix is necessary on A/UX.
4617 { echo "$as_me:$LINENO: checking for remove" >&5
4618 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4619 if test "${ac_cv_func_remove+set}" = set; then
4620 echo $ECHO_N "(cached) $ECHO_C" >&6
4622 cat >conftest.$ac_ext <<_ACEOF
4625 cat confdefs.h >>conftest.$ac_ext
4626 cat >>conftest.$ac_ext <<_ACEOF
4627 /* end confdefs.h. */
4628 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4630 #define remove innocuous_remove
4632 /* System header to define __stub macros and hopefully few prototypes,
4633 which can conflict with char remove (); below.
4634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4635 <limits.h> exists even on freestanding compilers. */
4638 # include <limits.h>
4640 # include <assert.h>
4645 /* Override any GCC internal prototype to avoid an error.
4646 Use char because int might match the return type of a GCC
4647 builtin and then its argument prototype would still apply. */
4652 /* The GNU C library defines this for functions which it implements
4653 to always fail with ENOSYS. Some functions are actually named
4654 something starting with __ and the normal name is an alias. */
4655 #if defined __stub_remove || defined __stub___remove
4667 rm -f conftest.$ac_objext conftest$ac_exeext
4668 if { (ac_try="$ac_link"
4670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4671 *) ac_try_echo
=$ac_try;;
4673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4674 (eval "$ac_link") 2>conftest.er1
4676 grep -v '^ *+' conftest.er1
>conftest.err
4678 cat conftest.err
>&5
4679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680 (exit $ac_status); } && {
4681 test -z "$ac_c_werror_flag" ||
4682 test ! -s conftest.err
4683 } && test -s conftest
$ac_exeext &&
4684 $as_test_x conftest
$ac_exeext; then
4685 ac_cv_func_remove
=yes
4687 echo "$as_me: failed program was:" >&5
4688 sed 's/^/| /' conftest.
$ac_ext >&5
4690 ac_cv_func_remove
=no
4693 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4694 conftest
$ac_exeext conftest.
$ac_ext
4696 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4697 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4699 if test $ac_cv_func_remove = no
; then
4700 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4701 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4702 if test "${ac_cv_lib_posix_remove+set}" = set; then
4703 echo $ECHO_N "(cached) $ECHO_C" >&6
4705 ac_check_lib_save_LIBS
=$LIBS
4706 LIBS
="-lposix $LIBS"
4707 cat >conftest.
$ac_ext <<_ACEOF
4710 cat confdefs.h
>>conftest.
$ac_ext
4711 cat >>conftest.
$ac_ext <<_ACEOF
4712 /* end confdefs.h. */
4714 /* Override any GCC internal prototype to avoid an error.
4715 Use char because int might match the return type of a GCC
4716 builtin and then its argument prototype would still apply. */
4729 rm -f conftest.
$ac_objext conftest
$ac_exeext
4730 if { (ac_try
="$ac_link"
4732 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4733 *) ac_try_echo=$ac_try;;
4735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4736 (eval "$ac_link") 2>conftest.er1
4738 grep -v '^ *+' conftest.er1 >conftest.err
4740 cat conftest.err >&5
4741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 (exit $ac_status); } && {
4743 test -z "$ac_c_werror_flag" ||
4744 test ! -s conftest.err
4745 } && test -s conftest$ac_exeext &&
4746 $as_test_x conftest$ac_exeext; then
4747 ac_cv_lib_posix_remove=yes
4749 echo "$as_me: failed program was:" >&5
4750 sed 's/^/| /' conftest.$ac_ext >&5
4752 ac_cv_lib_posix_remove=no
4755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4756 conftest$ac_exeext conftest.$ac_ext
4757 LIBS=$ac_check_lib_save_LIBS
4759 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4760 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4761 if test $ac_cv_lib_posix_remove = yes; then
4762 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4767 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4768 { echo "$as_me:$LINENO: checking for shmat" >&5
4769 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4770 if test "${ac_cv_func_shmat+set}" = set; then
4771 echo $ECHO_N "(cached) $ECHO_C" >&6
4773 cat >conftest.$ac_ext <<_ACEOF
4776 cat confdefs.h >>conftest.$ac_ext
4777 cat >>conftest.$ac_ext <<_ACEOF
4778 /* end confdefs.h. */
4779 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4781 #define shmat innocuous_shmat
4783 /* System header to define __stub macros and hopefully few prototypes,
4784 which can conflict with char shmat (); below.
4785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4786 <limits.h> exists even on freestanding compilers. */
4789 # include <limits.h>
4791 # include <assert.h>
4796 /* Override any GCC internal prototype to avoid an error.
4797 Use char because int might match the return type of a GCC
4798 builtin and then its argument prototype would still apply. */
4803 /* The GNU C library defines this for functions which it implements
4804 to always fail with ENOSYS. Some functions are actually named
4805 something starting with __ and the normal name is an alias. */
4806 #if defined __stub_shmat || defined __stub___shmat
4818 rm -f conftest.$ac_objext conftest$ac_exeext
4819 if { (ac_try="$ac_link"
4821 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4822 *) ac_try_echo
=$ac_try;;
4824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4825 (eval "$ac_link") 2>conftest.er1
4827 grep -v '^ *+' conftest.er1
>conftest.err
4829 cat conftest.err
>&5
4830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4831 (exit $ac_status); } && {
4832 test -z "$ac_c_werror_flag" ||
4833 test ! -s conftest.err
4834 } && test -s conftest
$ac_exeext &&
4835 $as_test_x conftest
$ac_exeext; then
4836 ac_cv_func_shmat
=yes
4838 echo "$as_me: failed program was:" >&5
4839 sed 's/^/| /' conftest.
$ac_ext >&5
4844 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4845 conftest
$ac_exeext conftest.
$ac_ext
4847 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4848 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4850 if test $ac_cv_func_shmat = no
; then
4851 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4852 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4853 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4854 echo $ECHO_N "(cached) $ECHO_C" >&6
4856 ac_check_lib_save_LIBS
=$LIBS
4858 cat >conftest.
$ac_ext <<_ACEOF
4861 cat confdefs.h
>>conftest.
$ac_ext
4862 cat >>conftest.
$ac_ext <<_ACEOF
4863 /* end confdefs.h. */
4865 /* Override any GCC internal prototype to avoid an error.
4866 Use char because int might match the return type of a GCC
4867 builtin and then its argument prototype would still apply. */
4880 rm -f conftest.
$ac_objext conftest
$ac_exeext
4881 if { (ac_try
="$ac_link"
4883 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4884 *) ac_try_echo=$ac_try;;
4886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4887 (eval "$ac_link") 2>conftest.er1
4889 grep -v '^ *+' conftest.er1 >conftest.err
4891 cat conftest.err >&5
4892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893 (exit $ac_status); } && {
4894 test -z "$ac_c_werror_flag" ||
4895 test ! -s conftest.err
4896 } && test -s conftest$ac_exeext &&
4897 $as_test_x conftest$ac_exeext; then
4898 ac_cv_lib_ipc_shmat=yes
4900 echo "$as_me: failed program was:" >&5
4901 sed 's/^/| /' conftest.$ac_ext >&5
4903 ac_cv_lib_ipc_shmat=no
4906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4907 conftest$ac_exeext conftest.$ac_ext
4908 LIBS=$ac_check_lib_save_LIBS
4910 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4911 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4912 if test $ac_cv_lib_ipc_shmat = yes; then
4913 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4919 # Check for libraries that X11R6 Xt/Xaw programs need.
4920 ac_save_LDFLAGS=$LDFLAGS
4921 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4922 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4923 # check for ICE first), but we must link in the order -lSM -lICE or
4924 # we get undefined symbols. So assume we have SM if we have ICE.
4925 # These have to be linked with before -lX11, unlike the other
4926 # libraries we check for below, so use a different variable.
4927 # John Interrante, Karl Berry
4928 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4929 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4930 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4931 echo $ECHO_N "(cached) $ECHO_C" >&6
4933 ac_check_lib_save_LIBS=$LIBS
4934 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4935 cat >conftest.$ac_ext <<_ACEOF
4938 cat confdefs.h >>conftest.$ac_ext
4939 cat >>conftest.$ac_ext <<_ACEOF
4940 /* end confdefs.h. */
4942 /* Override any GCC internal prototype to avoid an error.
4943 Use char because int might match the return type of a GCC
4944 builtin and then its argument prototype would still apply. */
4948 char IceConnectionNumber ();
4952 return IceConnectionNumber ();
4957 rm -f conftest.$ac_objext conftest$ac_exeext
4958 if { (ac_try="$ac_link"
4960 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4961 *) ac_try_echo
=$ac_try;;
4963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4964 (eval "$ac_link") 2>conftest.er1
4966 grep -v '^ *+' conftest.er1
>conftest.err
4968 cat conftest.err
>&5
4969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4970 (exit $ac_status); } && {
4971 test -z "$ac_c_werror_flag" ||
4972 test ! -s conftest.err
4973 } && test -s conftest
$ac_exeext &&
4974 $as_test_x conftest
$ac_exeext; then
4975 ac_cv_lib_ICE_IceConnectionNumber
=yes
4977 echo "$as_me: failed program was:" >&5
4978 sed 's/^/| /' conftest.
$ac_ext >&5
4980 ac_cv_lib_ICE_IceConnectionNumber
=no
4983 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4984 conftest
$ac_exeext conftest.
$ac_ext
4985 LIBS
=$ac_check_lib_save_LIBS
4987 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4988 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4989 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4990 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
4993 LDFLAGS
=$ac_save_LDFLAGS
5000 # Extract the first word of "$ac_prog", so it can be a program name with args.
5001 set dummy
$ac_prog; ac_word
=$2
5002 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5004 if test "${ac_cv_prog_FLEX+set}" = set; then
5005 echo $ECHO_N "(cached) $ECHO_C" >&6
5007 if test -n "$FLEX"; then
5008 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5014 test -z "$as_dir" && as_dir
=.
5015 for ac_exec_ext
in '' $ac_executable_extensions; do
5016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5017 ac_cv_prog_FLEX
="$ac_prog"
5018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5027 FLEX
=$ac_cv_prog_FLEX
5028 if test -n "$FLEX"; then
5029 { echo "$as_me:$LINENO: result: $FLEX" >&5
5030 echo "${ECHO_T}$FLEX" >&6; }
5032 { echo "$as_me:$LINENO: result: no" >&5
5033 echo "${ECHO_T}no" >&6; }
5037 test -n "$FLEX" && break
5039 test -n "$FLEX" || FLEX
="none"
5041 if test "$FLEX" = "none"
5043 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5044 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5045 { (exit 1); exit 1; }; }
5048 for ac_prog
in bison
5050 # Extract the first word of "$ac_prog", so it can be a program name with args.
5051 set dummy
$ac_prog; ac_word
=$2
5052 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5054 if test "${ac_cv_prog_BISON+set}" = set; then
5055 echo $ECHO_N "(cached) $ECHO_C" >&6
5057 if test -n "$BISON"; then
5058 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5064 test -z "$as_dir" && as_dir
=.
5065 for ac_exec_ext
in '' $ac_executable_extensions; do
5066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5067 ac_cv_prog_BISON
="$ac_prog"
5068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5077 BISON
=$ac_cv_prog_BISON
5078 if test -n "$BISON"; then
5079 { echo "$as_me:$LINENO: result: $BISON" >&5
5080 echo "${ECHO_T}$BISON" >&6; }
5082 { echo "$as_me:$LINENO: result: no" >&5
5083 echo "${ECHO_T}no" >&6; }
5087 test -n "$BISON" && break
5089 test -n "$BISON" || BISON
="none"
5091 if test "$BISON" = "none"
5093 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5094 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5095 { (exit 1); exit 1; }; }
5098 if test -n "$ac_tool_prefix"; then
5099 for ac_prog
in gas as
5101 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5102 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5103 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5105 if test "${ac_cv_prog_AS+set}" = set; then
5106 echo $ECHO_N "(cached) $ECHO_C" >&6
5108 if test -n "$AS"; then
5109 ac_cv_prog_AS
="$AS" # Let the user override the test.
5111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5115 test -z "$as_dir" && as_dir
=.
5116 for ac_exec_ext
in '' $ac_executable_extensions; do
5117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5118 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5129 if test -n "$AS"; then
5130 { echo "$as_me:$LINENO: result: $AS" >&5
5131 echo "${ECHO_T}$AS" >&6; }
5133 { echo "$as_me:$LINENO: result: no" >&5
5134 echo "${ECHO_T}no" >&6; }
5138 test -n "$AS" && break
5141 if test -z "$AS"; then
5143 for ac_prog
in gas as
5145 # Extract the first word of "$ac_prog", so it can be a program name with args.
5146 set dummy
$ac_prog; ac_word
=$2
5147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5149 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5150 echo $ECHO_N "(cached) $ECHO_C" >&6
5152 if test -n "$ac_ct_AS"; then
5153 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5159 test -z "$as_dir" && as_dir
=.
5160 for ac_exec_ext
in '' $ac_executable_extensions; do
5161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5162 ac_cv_prog_ac_ct_AS
="$ac_prog"
5163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5172 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5173 if test -n "$ac_ct_AS"; then
5174 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5175 echo "${ECHO_T}$ac_ct_AS" >&6; }
5177 { echo "$as_me:$LINENO: result: no" >&5
5178 echo "${ECHO_T}no" >&6; }
5182 test -n "$ac_ct_AS" && break
5185 if test "x$ac_ct_AS" = x
; then
5188 case $cross_compiling:$ac_tool_warned in
5190 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5191 whose name does not start with the host triplet. If you think this
5192 configuration is useful to you, please write to autoconf@gnu.org." >&5
5193 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5194 whose name does not start with the host triplet. If you think this
5195 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5196 ac_tool_warned
=yes ;;
5202 if test -n "$ac_tool_prefix"; then
5203 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5204 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5205 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5207 if test "${ac_cv_prog_LD+set}" = set; then
5208 echo $ECHO_N "(cached) $ECHO_C" >&6
5210 if test -n "$LD"; then
5211 ac_cv_prog_LD
="$LD" # Let the user override the test.
5213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5217 test -z "$as_dir" && as_dir
=.
5218 for ac_exec_ext
in '' $ac_executable_extensions; do
5219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5220 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5231 if test -n "$LD"; then
5232 { echo "$as_me:$LINENO: result: $LD" >&5
5233 echo "${ECHO_T}$LD" >&6; }
5235 { echo "$as_me:$LINENO: result: no" >&5
5236 echo "${ECHO_T}no" >&6; }
5241 if test -z "$ac_cv_prog_LD"; then
5243 # Extract the first word of "ld", so it can be a program name with args.
5244 set dummy ld
; ac_word
=$2
5245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5247 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5248 echo $ECHO_N "(cached) $ECHO_C" >&6
5250 if test -n "$ac_ct_LD"; then
5251 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5257 test -z "$as_dir" && as_dir
=.
5258 for ac_exec_ext
in '' $ac_executable_extensions; do
5259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5260 ac_cv_prog_ac_ct_LD
="ld"
5261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5270 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5271 if test -n "$ac_ct_LD"; then
5272 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5273 echo "${ECHO_T}$ac_ct_LD" >&6; }
5275 { echo "$as_me:$LINENO: result: no" >&5
5276 echo "${ECHO_T}no" >&6; }
5279 if test "x$ac_ct_LD" = x
; then
5282 case $cross_compiling:$ac_tool_warned in
5284 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5285 whose name does not start with the host triplet. If you think this
5286 configuration is useful to you, please write to autoconf@gnu.org." >&5
5287 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5288 whose name does not start with the host triplet. If you think this
5289 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5290 ac_tool_warned
=yes ;;
5298 if test -n "$ac_tool_prefix"; then
5299 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5300 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5301 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5303 if test "${ac_cv_prog_AR+set}" = set; then
5304 echo $ECHO_N "(cached) $ECHO_C" >&6
5306 if test -n "$AR"; then
5307 ac_cv_prog_AR
="$AR" # Let the user override the test.
5309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5313 test -z "$as_dir" && as_dir
=.
5314 for ac_exec_ext
in '' $ac_executable_extensions; do
5315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5316 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5327 if test -n "$AR"; then
5328 { echo "$as_me:$LINENO: result: $AR" >&5
5329 echo "${ECHO_T}$AR" >&6; }
5331 { echo "$as_me:$LINENO: result: no" >&5
5332 echo "${ECHO_T}no" >&6; }
5337 if test -z "$ac_cv_prog_AR"; then
5339 # Extract the first word of "ar", so it can be a program name with args.
5340 set dummy
ar; ac_word
=$2
5341 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5343 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5344 echo $ECHO_N "(cached) $ECHO_C" >&6
5346 if test -n "$ac_ct_AR"; then
5347 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5353 test -z "$as_dir" && as_dir
=.
5354 for ac_exec_ext
in '' $ac_executable_extensions; do
5355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5356 ac_cv_prog_ac_ct_AR
="ar"
5357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5366 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5367 if test -n "$ac_ct_AR"; then
5368 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5369 echo "${ECHO_T}$ac_ct_AR" >&6; }
5371 { echo "$as_me:$LINENO: result: no" >&5
5372 echo "${ECHO_T}no" >&6; }
5375 if test "x$ac_ct_AR" = x
; then
5378 case $cross_compiling:$ac_tool_warned in
5380 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5381 whose name does not start with the host triplet. If you think this
5382 configuration is useful to you, please write to autoconf@gnu.org." >&5
5383 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5384 whose name does not start with the host triplet. If you think this
5385 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5386 ac_tool_warned
=yes ;;
5394 if test -n "$ac_tool_prefix"; then
5395 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5396 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5397 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5399 if test "${ac_cv_prog_RANLIB+set}" = set; then
5400 echo $ECHO_N "(cached) $ECHO_C" >&6
5402 if test -n "$RANLIB"; then
5403 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5409 test -z "$as_dir" && as_dir
=.
5410 for ac_exec_ext
in '' $ac_executable_extensions; do
5411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5412 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5422 RANLIB
=$ac_cv_prog_RANLIB
5423 if test -n "$RANLIB"; then
5424 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5425 echo "${ECHO_T}$RANLIB" >&6; }
5427 { echo "$as_me:$LINENO: result: no" >&5
5428 echo "${ECHO_T}no" >&6; }
5433 if test -z "$ac_cv_prog_RANLIB"; then
5434 ac_ct_RANLIB
=$RANLIB
5435 # Extract the first word of "ranlib", so it can be a program name with args.
5436 set dummy ranlib
; ac_word
=$2
5437 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5439 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5440 echo $ECHO_N "(cached) $ECHO_C" >&6
5442 if test -n "$ac_ct_RANLIB"; then
5443 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5449 test -z "$as_dir" && as_dir
=.
5450 for ac_exec_ext
in '' $ac_executable_extensions; do
5451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5452 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5462 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5463 if test -n "$ac_ct_RANLIB"; then
5464 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5465 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5467 { echo "$as_me:$LINENO: result: no" >&5
5468 echo "${ECHO_T}no" >&6; }
5471 if test "x$ac_ct_RANLIB" = x
; then
5474 case $cross_compiling:$ac_tool_warned in
5476 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5477 whose name does not start with the host triplet. If you think this
5478 configuration is useful to you, please write to autoconf@gnu.org." >&5
5479 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5480 whose name does not start with the host triplet. If you think this
5481 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5482 ac_tool_warned
=yes ;;
5484 RANLIB
=$ac_ct_RANLIB
5487 RANLIB
="$ac_cv_prog_RANLIB"
5490 if test -n "$ac_tool_prefix"; then
5491 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5492 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5495 if test "${ac_cv_prog_STRIP+set}" = set; then
5496 echo $ECHO_N "(cached) $ECHO_C" >&6
5498 if test -n "$STRIP"; then
5499 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5505 test -z "$as_dir" && as_dir
=.
5506 for ac_exec_ext
in '' $ac_executable_extensions; do
5507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5508 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5518 STRIP
=$ac_cv_prog_STRIP
5519 if test -n "$STRIP"; then
5520 { echo "$as_me:$LINENO: result: $STRIP" >&5
5521 echo "${ECHO_T}$STRIP" >&6; }
5523 { echo "$as_me:$LINENO: result: no" >&5
5524 echo "${ECHO_T}no" >&6; }
5529 if test -z "$ac_cv_prog_STRIP"; then
5531 # Extract the first word of "strip", so it can be a program name with args.
5532 set dummy strip
; ac_word
=$2
5533 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5535 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5536 echo $ECHO_N "(cached) $ECHO_C" >&6
5538 if test -n "$ac_ct_STRIP"; then
5539 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5545 test -z "$as_dir" && as_dir
=.
5546 for ac_exec_ext
in '' $ac_executable_extensions; do
5547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5548 ac_cv_prog_ac_ct_STRIP
="strip"
5549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5558 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5559 if test -n "$ac_ct_STRIP"; then
5560 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5561 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5563 { echo "$as_me:$LINENO: result: no" >&5
5564 echo "${ECHO_T}no" >&6; }
5567 if test "x$ac_ct_STRIP" = x
; then
5570 case $cross_compiling:$ac_tool_warned in
5572 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5573 whose name does not start with the host triplet. If you think this
5574 configuration is useful to you, please write to autoconf@gnu.org." >&5
5575 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5576 whose name does not start with the host triplet. If you think this
5577 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5578 ac_tool_warned
=yes ;;
5583 STRIP
="$ac_cv_prog_STRIP"
5586 if test -n "$ac_tool_prefix"; then
5587 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5588 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5589 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5591 if test "${ac_cv_prog_WINDRES+set}" = set; then
5592 echo $ECHO_N "(cached) $ECHO_C" >&6
5594 if test -n "$WINDRES"; then
5595 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5601 test -z "$as_dir" && as_dir
=.
5602 for ac_exec_ext
in '' $ac_executable_extensions; do
5603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5604 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5614 WINDRES
=$ac_cv_prog_WINDRES
5615 if test -n "$WINDRES"; then
5616 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5617 echo "${ECHO_T}$WINDRES" >&6; }
5619 { echo "$as_me:$LINENO: result: no" >&5
5620 echo "${ECHO_T}no" >&6; }
5625 if test -z "$ac_cv_prog_WINDRES"; then
5626 ac_ct_WINDRES
=$WINDRES
5627 # Extract the first word of "windres", so it can be a program name with args.
5628 set dummy windres
; ac_word
=$2
5629 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5631 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5632 echo $ECHO_N "(cached) $ECHO_C" >&6
5634 if test -n "$ac_ct_WINDRES"; then
5635 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5641 test -z "$as_dir" && as_dir
=.
5642 for ac_exec_ext
in '' $ac_executable_extensions; do
5643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5644 ac_cv_prog_ac_ct_WINDRES
="windres"
5645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5654 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5655 if test -n "$ac_ct_WINDRES"; then
5656 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5657 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5659 { echo "$as_me:$LINENO: result: no" >&5
5660 echo "${ECHO_T}no" >&6; }
5663 if test "x$ac_ct_WINDRES" = x
; then
5666 case $cross_compiling:$ac_tool_warned in
5668 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5669 whose name does not start with the host triplet. If you think this
5670 configuration is useful to you, please write to autoconf@gnu.org." >&5
5671 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5672 whose name does not start with the host triplet. If you think this
5673 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5674 ac_tool_warned
=yes ;;
5676 WINDRES
=$ac_ct_WINDRES
5679 WINDRES
="$ac_cv_prog_WINDRES"
5682 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5683 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5685 if test "$LN_S" = "ln -s"; then
5686 { echo "$as_me:$LINENO: result: yes" >&5
5687 echo "${ECHO_T}yes" >&6; }
5689 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5690 echo "${ECHO_T}no, using $LN_S" >&6; }
5693 { echo "$as_me:$LINENO: checking whether ln works" >&5
5694 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5695 rm -f conf$$ conf$$.
file
5697 if ln conf$$.
file conf$$
2>/dev
/null
; then
5700 { echo "$as_me:$LINENO: result: yes" >&5
5701 echo "${ECHO_T}yes" >&6; }
5705 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5706 echo "${ECHO_T}no, using $LN" >&6; }
5708 rm -f conf$$ conf$$.
file
5709 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5710 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5711 if test "${ac_cv_path_GREP+set}" = set; then
5712 echo $ECHO_N "(cached) $ECHO_C" >&6
5714 # Extract the first word of "grep ggrep" to use in msg output
5715 if test -z "$GREP"; then
5716 set dummy
grep ggrep
; ac_prog_name
=$2
5717 if test "${ac_cv_path_GREP+set}" = set; then
5718 echo $ECHO_N "(cached) $ECHO_C" >&6
5720 ac_path_GREP_found
=false
5721 # Loop through the user's path and test for each of PROGNAME-LIST
5722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5723 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5726 test -z "$as_dir" && as_dir
=.
5727 for ac_prog
in grep ggrep
; do
5728 for ac_exec_ext
in '' $ac_executable_extensions; do
5729 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5730 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5731 # Check for GNU ac_path_GREP and select it if it is found.
5732 # Check for GNU $ac_path_GREP
5733 case `"$ac_path_GREP" --version 2>&1` in
5735 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5738 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5741 cat "conftest.in" "conftest.in" >"conftest.tmp"
5742 mv "conftest.tmp" "conftest.in"
5743 cp "conftest.in" "conftest.nl"
5744 echo 'GREP' >> "conftest.nl"
5745 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5746 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5747 ac_count
=`expr $ac_count + 1`
5748 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5749 # Best one so far, save it but keep looking for a better one
5750 ac_cv_path_GREP
="$ac_path_GREP"
5751 ac_path_GREP_max
=$ac_count
5753 # 10*(2^10) chars as input seems more than enough
5754 test $ac_count -gt 10 && break
5756 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5760 $ac_path_GREP_found && break 3
5770 GREP
="$ac_cv_path_GREP"
5771 if test -z "$GREP"; then
5772 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5773 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5774 { (exit 1); exit 1; }; }
5778 ac_cv_path_GREP
=$GREP
5783 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5784 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5785 GREP
="$ac_cv_path_GREP"
5788 { echo "$as_me:$LINENO: checking for egrep" >&5
5789 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5790 if test "${ac_cv_path_EGREP+set}" = set; then
5791 echo $ECHO_N "(cached) $ECHO_C" >&6
5793 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5794 then ac_cv_path_EGREP
="$GREP -E"
5796 # Extract the first word of "egrep" to use in msg output
5797 if test -z "$EGREP"; then
5798 set dummy
egrep; ac_prog_name
=$2
5799 if test "${ac_cv_path_EGREP+set}" = set; then
5800 echo $ECHO_N "(cached) $ECHO_C" >&6
5802 ac_path_EGREP_found
=false
5803 # Loop through the user's path and test for each of PROGNAME-LIST
5804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5805 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5808 test -z "$as_dir" && as_dir
=.
5809 for ac_prog
in egrep; do
5810 for ac_exec_ext
in '' $ac_executable_extensions; do
5811 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5812 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5813 # Check for GNU ac_path_EGREP and select it if it is found.
5814 # Check for GNU $ac_path_EGREP
5815 case `"$ac_path_EGREP" --version 2>&1` in
5817 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5820 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5823 cat "conftest.in" "conftest.in" >"conftest.tmp"
5824 mv "conftest.tmp" "conftest.in"
5825 cp "conftest.in" "conftest.nl"
5826 echo 'EGREP' >> "conftest.nl"
5827 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5828 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5829 ac_count
=`expr $ac_count + 1`
5830 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5831 # Best one so far, save it but keep looking for a better one
5832 ac_cv_path_EGREP
="$ac_path_EGREP"
5833 ac_path_EGREP_max
=$ac_count
5835 # 10*(2^10) chars as input seems more than enough
5836 test $ac_count -gt 10 && break
5838 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5842 $ac_path_EGREP_found && break 3
5852 EGREP
="$ac_cv_path_EGREP"
5853 if test -z "$EGREP"; then
5854 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5855 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5856 { (exit 1); exit 1; }; }
5860 ac_cv_path_EGREP
=$EGREP
5866 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5867 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5868 EGREP
="$ac_cv_path_EGREP"
5871 # Extract the first word of "ldconfig", so it can be a program name with args.
5872 set dummy ldconfig
; ac_word
=$2
5873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5875 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5876 echo $ECHO_N "(cached) $ECHO_C" >&6
5880 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5884 for as_dir
in /sbin
/usr
/sbin
$PATH
5887 test -z "$as_dir" && as_dir
=.
5888 for ac_exec_ext
in '' $ac_executable_extensions; do
5889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5890 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5898 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5902 LDCONFIG
=$ac_cv_path_LDCONFIG
5903 if test -n "$LDCONFIG"; then
5904 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5905 echo "${ECHO_T}$LDCONFIG" >&6; }
5907 { echo "$as_me:$LINENO: result: no" >&5
5908 echo "${ECHO_T}no" >&6; }
5912 # Find a good install program. We prefer a C program (faster),
5913 # so one script is as good as another. But avoid the broken or
5914 # incompatible versions:
5915 # SysV /etc/install, /usr/sbin/install
5916 # SunOS /usr/etc/install
5917 # IRIX /sbin/install
5919 # AmigaOS /C/install, which installs bootblocks on floppy discs
5920 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5921 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5922 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5923 # OS/2's system install, which has a completely different semantic
5924 # ./install, which can be erroneously created by make from ./install.sh.
5925 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5926 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5927 if test -z "$INSTALL"; then
5928 if test "${ac_cv_path_install+set}" = set; then
5929 echo $ECHO_N "(cached) $ECHO_C" >&6
5931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5935 test -z "$as_dir" && as_dir
=.
5936 # Account for people who put trailing slashes in PATH elements.
5938 .
/ | .
// |
/cC
/* | \
5939 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5940 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5943 # OSF1 and SCO ODT 3.0 have their own names for install.
5944 # Don't use installbsd from OSF since it installs stuff as root
5946 for ac_prog
in ginstall scoinst
install; do
5947 for ac_exec_ext
in '' $ac_executable_extensions; do
5948 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5949 if test $ac_prog = install &&
5950 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5951 # AIX install. It has an incompatible calling convention.
5953 elif test $ac_prog = install &&
5954 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5955 # program-specific install script used by HP pwplus--don't use.
5958 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5971 if test "${ac_cv_path_install+set}" = set; then
5972 INSTALL
=$ac_cv_path_install
5974 # As a last resort, use the slow shell script. Don't cache a
5975 # value for INSTALL within a source directory, because that will
5976 # break other packages using the cache if that directory is
5977 # removed, or if the value is a relative name.
5978 INSTALL
=$ac_install_sh
5981 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5982 echo "${ECHO_T}$INSTALL" >&6; }
5984 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5985 # It thinks the first close brace ends the variable substitution.
5986 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5988 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5990 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5993 [\\/$
]* | ?
:[\\/]* ) ;;
5994 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
5997 for ac_prog
in lclint lint
5999 # Extract the first word of "$ac_prog", so it can be a program name with args.
6000 set dummy
$ac_prog; ac_word
=$2
6001 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6003 if test "${ac_cv_prog_LINT+set}" = set; then
6004 echo $ECHO_N "(cached) $ECHO_C" >&6
6006 if test -n "$LINT"; then
6007 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6013 test -z "$as_dir" && as_dir
=.
6014 for ac_exec_ext
in '' $ac_executable_extensions; do
6015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6016 ac_cv_prog_LINT
="$ac_prog"
6017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6026 LINT
=$ac_cv_prog_LINT
6027 if test -n "$LINT"; then
6028 { echo "$as_me:$LINENO: result: $LINT" >&5
6029 echo "${ECHO_T}$LINT" >&6; }
6031 { echo "$as_me:$LINENO: result: no" >&5
6032 echo "${ECHO_T}no" >&6; }
6036 test -n "$LINT" && break
6039 if test "$LINT" = "lint"
6041 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6046 for ac_prog
in fontforge
6048 # Extract the first word of "$ac_prog", so it can be a program name with args.
6049 set dummy
$ac_prog; ac_word
=$2
6050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6052 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6053 echo $ECHO_N "(cached) $ECHO_C" >&6
6055 if test -n "$FONTFORGE"; then
6056 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6062 test -z "$as_dir" && as_dir
=.
6063 for ac_exec_ext
in '' $ac_executable_extensions; do
6064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6065 ac_cv_prog_FONTFORGE
="$ac_prog"
6066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6075 FONTFORGE
=$ac_cv_prog_FONTFORGE
6076 if test -n "$FONTFORGE"; then
6077 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6078 echo "${ECHO_T}$FONTFORGE" >&6; }
6080 { echo "$as_me:$LINENO: result: no" >&5
6081 echo "${ECHO_T}no" >&6; }
6085 test -n "$FONTFORGE" && break
6087 test -n "$FONTFORGE" || FONTFORGE
="false"
6089 for ac_prog
in pkg-config
6091 # Extract the first word of "$ac_prog", so it can be a program name with args.
6092 set dummy
$ac_prog; ac_word
=$2
6093 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6095 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6096 echo $ECHO_N "(cached) $ECHO_C" >&6
6098 if test -n "$PKG_CONFIG"; then
6099 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6105 test -z "$as_dir" && as_dir
=.
6106 for ac_exec_ext
in '' $ac_executable_extensions; do
6107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6108 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6118 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6119 if test -n "$PKG_CONFIG"; then
6120 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6121 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6123 { echo "$as_me:$LINENO: result: no" >&5
6124 echo "${ECHO_T}no" >&6; }
6128 test -n "$PKG_CONFIG" && break
6130 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6135 # Extract the first word of "prelink", so it can be a program name with args.
6136 set dummy prelink
; ac_word
=$2
6137 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6139 if test "${ac_cv_path_PRELINK+set}" = set; then
6140 echo $ECHO_N "(cached) $ECHO_C" >&6
6144 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6148 for as_dir
in /sbin
/usr
/sbin
$PATH
6151 test -z "$as_dir" && as_dir
=.
6152 for ac_exec_ext
in '' $ac_executable_extensions; do
6153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6154 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6162 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6166 PRELINK
=$ac_cv_path_PRELINK
6167 if test -n "$PRELINK"; then
6168 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6169 echo "${ECHO_T}$PRELINK" >&6; }
6171 { echo "$as_me:$LINENO: result: no" >&5
6172 echo "${ECHO_T}no" >&6; }
6181 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6182 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6183 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6184 echo $ECHO_N "(cached) $ECHO_C" >&6
6186 ac_check_lib_save_LIBS
=$LIBS
6188 cat >conftest.
$ac_ext <<_ACEOF
6191 cat confdefs.h
>>conftest.
$ac_ext
6192 cat >>conftest.
$ac_ext <<_ACEOF
6193 /* end confdefs.h. */
6195 /* Override any GCC internal prototype to avoid an error.
6196 Use char because int might match the return type of a GCC
6197 builtin and then its argument prototype would still apply. */
6201 char i386_set_ldt ();
6205 return i386_set_ldt ();
6210 rm -f conftest.
$ac_objext conftest
$ac_exeext
6211 if { (ac_try
="$ac_link"
6213 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6214 *) ac_try_echo=$ac_try;;
6216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6217 (eval "$ac_link") 2>conftest.er1
6219 grep -v '^ *+' conftest.er1 >conftest.err
6221 cat conftest.err >&5
6222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6223 (exit $ac_status); } && {
6224 test -z "$ac_c_werror_flag" ||
6225 test ! -s conftest.err
6226 } && test -s conftest$ac_exeext &&
6227 $as_test_x conftest$ac_exeext; then
6228 ac_cv_lib_i386_i386_set_ldt=yes
6230 echo "$as_me: failed program was:" >&5
6231 sed 's/^/| /' conftest.$ac_ext >&5
6233 ac_cv_lib_i386_i386_set_ldt=no
6236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6237 conftest$ac_exeext conftest.$ac_ext
6238 LIBS=$ac_check_lib_save_LIBS
6240 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6241 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6242 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6243 cat >>confdefs.h <<_ACEOF
6244 #define HAVE_LIBI386 1
6252 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6253 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6254 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6255 echo $ECHO_N "(cached) $ECHO_C" >&6
6257 ac_check_lib_save_LIBS=$LIBS
6258 LIBS="-lossaudio $LIBS"
6259 cat >conftest.$ac_ext <<_ACEOF
6262 cat confdefs.h >>conftest.$ac_ext
6263 cat >>conftest.$ac_ext <<_ACEOF
6264 /* end confdefs.h. */
6266 /* Override any GCC internal prototype to avoid an error.
6267 Use char because int might match the return type of a GCC
6268 builtin and then its argument prototype would still apply. */
6276 return _oss_ioctl ();
6281 rm -f conftest.$ac_objext conftest$ac_exeext
6282 if { (ac_try="$ac_link"
6284 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6285 *) ac_try_echo
=$ac_try;;
6287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6288 (eval "$ac_link") 2>conftest.er1
6290 grep -v '^ *+' conftest.er1
>conftest.err
6292 cat conftest.err
>&5
6293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6294 (exit $ac_status); } && {
6295 test -z "$ac_c_werror_flag" ||
6296 test ! -s conftest.err
6297 } && test -s conftest
$ac_exeext &&
6298 $as_test_x conftest
$ac_exeext; then
6299 ac_cv_lib_ossaudio__oss_ioctl
=yes
6301 echo "$as_me: failed program was:" >&5
6302 sed 's/^/| /' conftest.
$ac_ext >&5
6304 ac_cv_lib_ossaudio__oss_ioctl
=no
6307 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6308 conftest
$ac_exeext conftest.
$ac_ext
6309 LIBS
=$ac_check_lib_save_LIBS
6311 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6312 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6313 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6314 cat >>confdefs.h
<<_ACEOF
6315 #define HAVE_LIBOSSAUDIO 1
6318 LIBS
="-lossaudio $LIBS"
6323 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6324 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6325 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6326 echo $ECHO_N "(cached) $ECHO_C" >&6
6328 ac_check_lib_save_LIBS
=$LIBS
6330 cat >conftest.
$ac_ext <<_ACEOF
6333 cat confdefs.h
>>conftest.
$ac_ext
6334 cat >>conftest.
$ac_ext <<_ACEOF
6335 /* end confdefs.h. */
6337 /* Override any GCC internal prototype to avoid an error.
6338 Use char because int might match the return type of a GCC
6339 builtin and then its argument prototype would still apply. */
6343 char _xpg4_setrunelocale ();
6347 return _xpg4_setrunelocale ();
6352 rm -f conftest.
$ac_objext conftest
$ac_exeext
6353 if { (ac_try
="$ac_link"
6355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6356 *) ac_try_echo=$ac_try;;
6358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6359 (eval "$ac_link") 2>conftest.er1
6361 grep -v '^ *+' conftest.er1 >conftest.err
6363 cat conftest.err >&5
6364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6365 (exit $ac_status); } && {
6366 test -z "$ac_c_werror_flag" ||
6367 test ! -s conftest.err
6368 } && test -s conftest$ac_exeext &&
6369 $as_test_x conftest$ac_exeext; then
6370 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6372 echo "$as_me: failed program was:" >&5
6373 sed 's/^/| /' conftest.$ac_ext >&5
6375 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6379 conftest$ac_exeext conftest.$ac_ext
6380 LIBS=$ac_check_lib_save_LIBS
6382 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6383 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6384 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6385 cat >>confdefs.h <<_ACEOF
6386 #define HAVE_LIBXPG4 1
6393 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6394 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6395 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6396 echo $ECHO_N "(cached) $ECHO_C" >&6
6398 ac_check_lib_save_LIBS=$LIBS
6399 LIBS="-lpthread $LIBS"
6400 cat >conftest.$ac_ext <<_ACEOF
6403 cat confdefs.h >>conftest.$ac_ext
6404 cat >>conftest.$ac_ext <<_ACEOF
6405 /* end confdefs.h. */
6407 /* Override any GCC internal prototype to avoid an error.
6408 Use char because int might match the return type of a GCC
6409 builtin and then its argument prototype would still apply. */
6413 char pthread_create ();
6417 return pthread_create ();
6422 rm -f conftest.$ac_objext conftest$ac_exeext
6423 if { (ac_try="$ac_link"
6425 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6426 *) ac_try_echo
=$ac_try;;
6428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6429 (eval "$ac_link") 2>conftest.er1
6431 grep -v '^ *+' conftest.er1
>conftest.err
6433 cat conftest.err
>&5
6434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435 (exit $ac_status); } && {
6436 test -z "$ac_c_werror_flag" ||
6437 test ! -s conftest.err
6438 } && test -s conftest
$ac_exeext &&
6439 $as_test_x conftest
$ac_exeext; then
6440 ac_cv_lib_pthread_pthread_create
=yes
6442 echo "$as_me: failed program was:" >&5
6443 sed 's/^/| /' conftest.
$ac_ext >&5
6445 ac_cv_lib_pthread_pthread_create
=no
6448 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6449 conftest
$ac_exeext conftest.
$ac_ext
6450 LIBS
=$ac_check_lib_save_LIBS
6452 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6453 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6454 if test $ac_cv_lib_pthread_pthread_create = yes; then
6455 LIBPTHREAD
="-lpthread"
6474 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6475 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6476 if test "${ac_cv_header_stdc+set}" = set; then
6477 echo $ECHO_N "(cached) $ECHO_C" >&6
6479 cat >conftest.
$ac_ext <<_ACEOF
6482 cat confdefs.h
>>conftest.
$ac_ext
6483 cat >>conftest.
$ac_ext <<_ACEOF
6484 /* end confdefs.h. */
6498 rm -f conftest.
$ac_objext
6499 if { (ac_try
="$ac_compile"
6501 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6502 *) ac_try_echo=$ac_try;;
6504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6505 (eval "$ac_compile") 2>conftest.er1
6507 grep -v '^ *+' conftest.er1 >conftest.err
6509 cat conftest.err >&5
6510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6511 (exit $ac_status); } && {
6512 test -z "$ac_c_werror_flag" ||
6513 test ! -s conftest.err
6514 } && test -s conftest.$ac_objext; then
6515 ac_cv_header_stdc=yes
6517 echo "$as_me: failed program was:" >&5
6518 sed 's/^/| /' conftest.$ac_ext >&5
6520 ac_cv_header_stdc=no
6523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6525 if test $ac_cv_header_stdc = yes; then
6526 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6527 cat >conftest.$ac_ext <<_ACEOF
6530 cat confdefs.h >>conftest.$ac_ext
6531 cat >>conftest.$ac_ext <<_ACEOF
6532 /* end confdefs.h. */
6536 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6537 $EGREP "memchr" >/dev/null 2>&1; then
6540 ac_cv_header_stdc=no
6546 if test $ac_cv_header_stdc = yes; then
6547 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6548 cat >conftest.$ac_ext <<_ACEOF
6551 cat confdefs.h >>conftest.$ac_ext
6552 cat >>conftest.$ac_ext <<_ACEOF
6553 /* end confdefs.h. */
6557 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6558 $EGREP "free" >/dev/null 2>&1; then
6561 ac_cv_header_stdc=no
6567 if test $ac_cv_header_stdc = yes; then
6568 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6569 if test "$cross_compiling" = yes; then
6572 cat >conftest.$ac_ext <<_ACEOF
6575 cat confdefs.h >>conftest.$ac_ext
6576 cat >>conftest.$ac_ext <<_ACEOF
6577 /* end confdefs.h. */
6580 #if ((' ' & 0x0FF) == 0x020)
6581 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6582 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6584 # define ISLOWER(c) \
6585 (('a' <= (c) && (c) <= 'i') \
6586 || ('j' <= (c) && (c) <= 'r') \
6587 || ('s' <= (c) && (c) <= 'z'))
6588 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6591 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6596 for (i = 0; i < 256; i++)
6597 if (XOR (islower (i), ISLOWER (i))
6598 || toupper (i) != TOUPPER (i))
6603 rm -f conftest$ac_exeext
6604 if { (ac_try="$ac_link"
6606 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6607 *) ac_try_echo
=$ac_try;;
6609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6610 (eval "$ac_link") 2>&5
6612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6613 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6614 { (case "(($ac_try" in
6615 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6616 *) ac_try_echo=$ac_try;;
6618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6619 (eval "$ac_try") 2>&5
6621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6622 (exit $ac_status); }; }; then
6625 echo "$as_me: program exited with status $ac_status" >&5
6626 echo "$as_me: failed program was:" >&5
6627 sed 's/^/| /' conftest.$ac_ext >&5
6630 ac_cv_header_stdc=no
6632 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6638 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6639 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6640 if test $ac_cv_header_stdc = yes; then
6642 cat >>confdefs.h <<\_ACEOF
6643 #define STDC_HEADERS 1
6648 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6658 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6659 inttypes.h stdint.h unistd.h
6661 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6662 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6664 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6665 echo $ECHO_N "(cached) $ECHO_C" >&6
6667 cat >conftest.$ac_ext <<_ACEOF
6670 cat confdefs.h >>conftest.$ac_ext
6671 cat >>conftest.$ac_ext <<_ACEOF
6672 /* end confdefs.h. */
6673 $ac_includes_default
6675 #include <$ac_header>
6677 rm -f conftest.$ac_objext
6678 if { (ac_try="$ac_compile"
6680 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6681 *) ac_try_echo
=$ac_try;;
6683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6684 (eval "$ac_compile") 2>conftest.er1
6686 grep -v '^ *+' conftest.er1
>conftest.err
6688 cat conftest.err
>&5
6689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6690 (exit $ac_status); } && {
6691 test -z "$ac_c_werror_flag" ||
6692 test ! -s conftest.err
6693 } && test -s conftest.
$ac_objext; then
6694 eval "$as_ac_Header=yes"
6696 echo "$as_me: failed program was:" >&5
6697 sed 's/^/| /' conftest.
$ac_ext >&5
6699 eval "$as_ac_Header=no"
6702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6704 ac_res
=`eval echo '${'$as_ac_Header'}'`
6705 { echo "$as_me:$LINENO: result: $ac_res" >&5
6706 echo "${ECHO_T}$ac_res" >&6; }
6707 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6708 cat >>confdefs.h
<<_ACEOF
6709 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6827 AudioUnit
/AudioUnit.h \
6829 CoreAudio
/CoreAudio.h \
6830 DiskArbitration
/DiskArbitration.h \
6843 fontconfig
/fontconfig.h \
6869 machine
/soundcard.h \
6874 netinet
/in_systm.h \
6938 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6939 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6940 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6942 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6943 echo $ECHO_N "(cached) $ECHO_C" >&6
6945 ac_res
=`eval echo '${'$as_ac_Header'}'`
6946 { echo "$as_me:$LINENO: result: $ac_res" >&5
6947 echo "${ECHO_T}$ac_res" >&6; }
6949 # Is the header compilable?
6950 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6951 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6952 cat >conftest.
$ac_ext <<_ACEOF
6955 cat confdefs.h
>>conftest.
$ac_ext
6956 cat >>conftest.
$ac_ext <<_ACEOF
6957 /* end confdefs.h. */
6958 $ac_includes_default
6959 #include <$ac_header>
6961 rm -f conftest.
$ac_objext
6962 if { (ac_try
="$ac_compile"
6964 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6965 *) ac_try_echo=$ac_try;;
6967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6968 (eval "$ac_compile") 2>conftest.er1
6970 grep -v '^ *+' conftest.er1 >conftest.err
6972 cat conftest.err >&5
6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 (exit $ac_status); } && {
6975 test -z "$ac_c_werror_flag" ||
6976 test ! -s conftest.err
6977 } && test -s conftest.$ac_objext; then
6978 ac_header_compiler=yes
6980 echo "$as_me: failed program was:" >&5
6981 sed 's/^/| /' conftest.$ac_ext >&5
6983 ac_header_compiler=no
6986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6987 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6988 echo "${ECHO_T}$ac_header_compiler" >&6; }
6990 # Is the header present?
6991 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6992 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6993 cat >conftest.$ac_ext <<_ACEOF
6996 cat confdefs.h >>conftest.$ac_ext
6997 cat >>conftest.$ac_ext <<_ACEOF
6998 /* end confdefs.h. */
6999 #include <$ac_header>
7001 if { (ac_try="$ac_cpp conftest.$ac_ext"
7003 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7004 *) ac_try_echo
=$ac_try;;
7006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7007 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7009 grep -v '^ *+' conftest.er1
>conftest.err
7011 cat conftest.err
>&5
7012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7013 (exit $ac_status); } >/dev
/null
&& {
7014 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7015 test ! -s conftest.err
7017 ac_header_preproc
=yes
7019 echo "$as_me: failed program was:" >&5
7020 sed 's/^/| /' conftest.
$ac_ext >&5
7022 ac_header_preproc
=no
7025 rm -f conftest.err conftest.
$ac_ext
7026 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7027 echo "${ECHO_T}$ac_header_preproc" >&6; }
7029 # So? What about this header?
7030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7032 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7033 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7035 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7036 ac_header_preproc
=yes
7039 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7040 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7041 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7042 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7043 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7044 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7045 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7046 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7048 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7049 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7050 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7052 ## ------------------------------------ ##
7053 ## Report this to wine-devel@winehq.org ##
7054 ## ------------------------------------ ##
7056 ) |
sed "s/^/$as_me: WARNING: /" >&2
7059 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7061 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7062 echo $ECHO_N "(cached) $ECHO_C" >&6
7064 eval "$as_ac_Header=\$ac_header_preproc"
7066 ac_res
=`eval echo '${'$as_ac_Header'}'`
7067 { echo "$as_me:$LINENO: result: $ac_res" >&5
7068 echo "${ECHO_T}$ac_res" >&6; }
7071 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7072 cat >>confdefs.h
<<_ACEOF
7073 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7080 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7081 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7082 if test "${ac_cv_header_stat_broken+set}" = set; then
7083 echo $ECHO_N "(cached) $ECHO_C" >&6
7085 cat >conftest.
$ac_ext <<_ACEOF
7088 cat confdefs.h
>>conftest.
$ac_ext
7089 cat >>conftest.
$ac_ext <<_ACEOF
7090 /* end confdefs.h. */
7091 #include <sys/types.h>
7092 #include <sys/stat.h>
7094 #if defined S_ISBLK && defined S_IFDIR
7095 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7098 #if defined S_ISBLK && defined S_IFCHR
7099 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7102 #if defined S_ISLNK && defined S_IFREG
7103 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7106 #if defined S_ISSOCK && defined S_IFREG
7107 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7111 rm -f conftest.
$ac_objext
7112 if { (ac_try
="$ac_compile"
7114 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7115 *) ac_try_echo=$ac_try;;
7117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7118 (eval "$ac_compile") 2>conftest.er1
7120 grep -v '^ *+' conftest.er1 >conftest.err
7122 cat conftest.err >&5
7123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7124 (exit $ac_status); } && {
7125 test -z "$ac_c_werror_flag" ||
7126 test ! -s conftest.err
7127 } && test -s conftest.$ac_objext; then
7128 ac_cv_header_stat_broken=no
7130 echo "$as_me: failed program was:" >&5
7131 sed 's/^/| /' conftest.$ac_ext >&5
7133 ac_cv_header_stat_broken=yes
7136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7138 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7139 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7140 if test $ac_cv_header_stat_broken = yes; then
7142 cat >>confdefs.h <<\_ACEOF
7143 #define STAT_MACROS_BROKEN 1
7154 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7156 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7157 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7159 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7160 echo $ECHO_N "(cached) $ECHO_C" >&6
7162 cat >conftest.$ac_ext <<_ACEOF
7165 cat confdefs.h >>conftest.$ac_ext
7166 cat >>conftest.$ac_ext <<_ACEOF
7167 /* end confdefs.h. */
7168 #include <sys/types.h>
7169 #if HAVE_SYS_PARAM_H
7170 # include <sys/param.h>
7173 #include <$ac_header>
7175 rm -f conftest.$ac_objext
7176 if { (ac_try="$ac_compile"
7178 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7179 *) ac_try_echo
=$ac_try;;
7181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7182 (eval "$ac_compile") 2>conftest.er1
7184 grep -v '^ *+' conftest.er1
>conftest.err
7186 cat conftest.err
>&5
7187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188 (exit $ac_status); } && {
7189 test -z "$ac_c_werror_flag" ||
7190 test ! -s conftest.err
7191 } && test -s conftest.
$ac_objext; then
7192 eval "$as_ac_Header=yes"
7194 echo "$as_me: failed program was:" >&5
7195 sed 's/^/| /' conftest.
$ac_ext >&5
7197 eval "$as_ac_Header=no"
7200 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7202 ac_res
=`eval echo '${'$as_ac_Header'}'`
7203 { echo "$as_me:$LINENO: result: $ac_res" >&5
7204 echo "${ECHO_T}$ac_res" >&6; }
7205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7206 cat >>confdefs.h
<<_ACEOF
7207 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7221 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
7223 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7224 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7226 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7227 echo $ECHO_N "(cached) $ECHO_C" >&6
7229 cat >conftest.
$ac_ext <<_ACEOF
7232 cat confdefs.h
>>conftest.
$ac_ext
7233 cat >>conftest.
$ac_ext <<_ACEOF
7234 /* end confdefs.h. */
7235 #include <sys/types.h>
7236 #if HAVE_SYS_SOCKET_H
7237 # include <sys/socket.h>
7240 #include <$ac_header>
7242 rm -f conftest.
$ac_objext
7243 if { (ac_try
="$ac_compile"
7245 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7246 *) ac_try_echo=$ac_try;;
7248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7249 (eval "$ac_compile") 2>conftest.er1
7251 grep -v '^ *+' conftest.er1 >conftest.err
7253 cat conftest.err >&5
7254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7255 (exit $ac_status); } && {
7256 test -z "$ac_c_werror_flag" ||
7257 test ! -s conftest.err
7258 } && test -s conftest.$ac_objext; then
7259 eval "$as_ac_Header=yes"
7261 echo "$as_me: failed program was:" >&5
7262 sed 's/^/| /' conftest.$ac_ext >&5
7264 eval "$as_ac_Header=no"
7267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7269 ac_res=`eval echo '${'$as_ac_Header'}'`
7270 { echo "$as_me:$LINENO: result: $ac_res" >&5
7271 echo "${ECHO_T}$ac_res" >&6; }
7272 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7273 cat >>confdefs.h <<_ACEOF
7274 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7283 for ac_header in linux/ipx.h
7285 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7286 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7287 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7288 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7289 echo $ECHO_N "(cached) $ECHO_C" >&6
7291 cat >conftest.$ac_ext <<_ACEOF
7294 cat confdefs.h >>conftest.$ac_ext
7295 cat >>conftest.$ac_ext <<_ACEOF
7296 /* end confdefs.h. */
7297 #include <sys/types.h>
7298 #ifdef HAVE_ASM_TYPES_H
7299 # include <asm/types.h>
7301 #if HAVE_SYS_SOCKET_H
7302 # include <sys/socket.h>
7305 #include <$ac_header>
7307 rm -f conftest.$ac_objext
7308 if { (ac_try="$ac_compile"
7310 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7311 *) ac_try_echo
=$ac_try;;
7313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7314 (eval "$ac_compile") 2>conftest.er1
7316 grep -v '^ *+' conftest.er1
>conftest.err
7318 cat conftest.err
>&5
7319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320 (exit $ac_status); } && {
7321 test -z "$ac_c_werror_flag" ||
7322 test ! -s conftest.err
7323 } && test -s conftest.
$ac_objext; then
7324 eval "$as_ac_Header=yes"
7326 echo "$as_me: failed program was:" >&5
7327 sed 's/^/| /' conftest.
$ac_ext >&5
7329 eval "$as_ac_Header=no"
7332 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7334 ac_res
=`eval echo '${'$as_ac_Header'}'`
7335 { echo "$as_me:$LINENO: result: $ac_res" >&5
7336 echo "${ECHO_T}$ac_res" >&6; }
7337 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7338 cat >>confdefs.h
<<_ACEOF
7339 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7348 for ac_header
in resolv.h
7350 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7351 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7353 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7354 echo $ECHO_N "(cached) $ECHO_C" >&6
7356 cat >conftest.
$ac_ext <<_ACEOF
7359 cat confdefs.h
>>conftest.
$ac_ext
7360 cat >>conftest.
$ac_ext <<_ACEOF
7361 /* end confdefs.h. */
7362 #include <sys/types.h>
7363 #if HAVE_SYS_SOCKET_H
7364 # include <sys/socket.h>
7366 #if HAVE_NETINET_IN_H
7367 # include <netinet/in.h>
7369 #if HAVE_ARPA_NAMESER_H
7370 # include <arpa/nameser.h>
7373 #include <$ac_header>
7375 rm -f conftest.
$ac_objext
7376 if { (ac_try
="$ac_compile"
7378 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7379 *) ac_try_echo=$ac_try;;
7381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7382 (eval "$ac_compile") 2>conftest.er1
7384 grep -v '^ *+' conftest.er1 >conftest.err
7386 cat conftest.err >&5
7387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7388 (exit $ac_status); } && {
7389 test -z "$ac_c_werror_flag" ||
7390 test ! -s conftest.err
7391 } && test -s conftest.$ac_objext; then
7392 eval "$as_ac_Header=yes"
7394 echo "$as_me: failed program was:" >&5
7395 sed 's/^/| /' conftest.$ac_ext >&5
7397 eval "$as_ac_Header=no"
7400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7402 ac_res=`eval echo '${'$as_ac_Header'}'`
7403 { echo "$as_me:$LINENO: result: $ac_res" >&5
7404 echo "${ECHO_T}$ac_res" >&6; }
7405 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7406 cat >>confdefs.h <<_ACEOF
7407 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7416 for ac_header in ucontext.h
7418 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7419 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7421 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7422 echo $ECHO_N "(cached) $ECHO_C" >&6
7424 cat >conftest.$ac_ext <<_ACEOF
7427 cat confdefs.h >>conftest.$ac_ext
7428 cat >>conftest.$ac_ext <<_ACEOF
7429 /* end confdefs.h. */
7432 #include <$ac_header>
7434 rm -f conftest.$ac_objext
7435 if { (ac_try="$ac_compile"
7437 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7438 *) ac_try_echo
=$ac_try;;
7440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7441 (eval "$ac_compile") 2>conftest.er1
7443 grep -v '^ *+' conftest.er1
>conftest.err
7445 cat conftest.err
>&5
7446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7447 (exit $ac_status); } && {
7448 test -z "$ac_c_werror_flag" ||
7449 test ! -s conftest.err
7450 } && test -s conftest.
$ac_objext; then
7451 eval "$as_ac_Header=yes"
7453 echo "$as_me: failed program was:" >&5
7454 sed 's/^/| /' conftest.
$ac_ext >&5
7456 eval "$as_ac_Header=no"
7459 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7461 ac_res
=`eval echo '${'$as_ac_Header'}'`
7462 { echo "$as_me:$LINENO: result: $ac_res" >&5
7463 echo "${ECHO_T}$ac_res" >&6; }
7464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7465 cat >>confdefs.h
<<_ACEOF
7466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7475 for ac_header
in pthread_np.h
7477 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7478 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7480 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7481 echo $ECHO_N "(cached) $ECHO_C" >&6
7483 cat >conftest.
$ac_ext <<_ACEOF
7486 cat confdefs.h
>>conftest.
$ac_ext
7487 cat >>conftest.
$ac_ext <<_ACEOF
7488 /* end confdefs.h. */
7489 #ifdef HAVE_PTHREAD_H
7490 #include <pthread.h>
7493 #include <$ac_header>
7495 rm -f conftest.
$ac_objext
7496 if { (ac_try
="$ac_compile"
7498 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7499 *) ac_try_echo=$ac_try;;
7501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7502 (eval "$ac_compile") 2>conftest.er1
7504 grep -v '^ *+' conftest.er1 >conftest.err
7506 cat conftest.err >&5
7507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7508 (exit $ac_status); } && {
7509 test -z "$ac_c_werror_flag" ||
7510 test ! -s conftest.err
7511 } && test -s conftest.$ac_objext; then
7512 eval "$as_ac_Header=yes"
7514 echo "$as_me: failed program was:" >&5
7515 sed 's/^/| /' conftest.$ac_ext >&5
7517 eval "$as_ac_Header=no"
7520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7522 ac_res=`eval echo '${'$as_ac_Header'}'`
7523 { echo "$as_me:$LINENO: result: $ac_res" >&5
7524 echo "${ECHO_T}$ac_res" >&6; }
7525 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7526 cat >>confdefs.h <<_ACEOF
7527 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7536 for ac_header in linux/videodev.h
7538 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7539 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7541 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7542 echo $ECHO_N "(cached) $ECHO_C" >&6
7544 cat >conftest.$ac_ext <<_ACEOF
7547 cat confdefs.h >>conftest.$ac_ext
7548 cat >>conftest.$ac_ext <<_ACEOF
7549 /* end confdefs.h. */
7550 #ifdef HAVE_SYS_TIME_H
7551 #include <sys/time.h>
7553 #include <sys/types.h>
7554 #ifdef HAVE_ASM_TYPES_H
7555 #include <asm/types.h>
7558 #include <$ac_header>
7560 rm -f conftest.$ac_objext
7561 if { (ac_try="$ac_compile"
7563 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7564 *) ac_try_echo
=$ac_try;;
7566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7567 (eval "$ac_compile") 2>conftest.er1
7569 grep -v '^ *+' conftest.er1
>conftest.err
7571 cat conftest.err
>&5
7572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7573 (exit $ac_status); } && {
7574 test -z "$ac_c_werror_flag" ||
7575 test ! -s conftest.err
7576 } && test -s conftest.
$ac_objext; then
7577 eval "$as_ac_Header=yes"
7579 echo "$as_me: failed program was:" >&5
7580 sed 's/^/| /' conftest.
$ac_ext >&5
7582 eval "$as_ac_Header=no"
7585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7587 ac_res
=`eval echo '${'$as_ac_Header'}'`
7588 { echo "$as_me:$LINENO: result: $ac_res" >&5
7589 echo "${ECHO_T}$ac_res" >&6; }
7590 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7591 cat >>confdefs.h
<<_ACEOF
7592 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7601 for ac_header
in linux
/capi.h
7603 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7604 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7606 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7607 echo $ECHO_N "(cached) $ECHO_C" >&6
7609 cat >conftest.
$ac_ext <<_ACEOF
7612 cat confdefs.h
>>conftest.
$ac_ext
7613 cat >>conftest.
$ac_ext <<_ACEOF
7614 /* end confdefs.h. */
7617 #include <$ac_header>
7619 rm -f conftest.
$ac_objext
7620 if { (ac_try
="$ac_compile"
7622 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7623 *) ac_try_echo=$ac_try;;
7625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7626 (eval "$ac_compile") 2>conftest.er1
7628 grep -v '^ *+' conftest.er1 >conftest.err
7630 cat conftest.err >&5
7631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7632 (exit $ac_status); } && {
7633 test -z "$ac_c_werror_flag" ||
7634 test ! -s conftest.err
7635 } && test -s conftest.$ac_objext; then
7636 eval "$as_ac_Header=yes"
7638 echo "$as_me: failed program was:" >&5
7639 sed 's/^/| /' conftest.$ac_ext >&5
7641 eval "$as_ac_Header=no"
7644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7646 ac_res=`eval echo '${'$as_ac_Header'}'`
7647 { echo "$as_me:$LINENO: result: $ac_res" >&5
7648 echo "${ECHO_T}$ac_res" >&6; }
7649 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7650 cat >>confdefs.h <<_ACEOF
7651 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7660 if test "$have_x" = "yes"
7663 ac_save_CPPFLAGS="$CPPFLAGS"
7664 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7676 for ac_header in X11/Xlib.h \
7679 X11/extensions/shape.h \
7680 X11/extensions/XInput.h \
7681 X11/extensions/XShm.h \
7682 X11/extensions/Xinerama.h \
7683 X11/extensions/Xrandr.h \
7684 X11/extensions/Xrender.h \
7685 X11/extensions/xf86vmode.h
7687 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7688 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7689 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7690 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7691 echo $ECHO_N "(cached) $ECHO_C" >&6
7693 cat >conftest.$ac_ext <<_ACEOF
7696 cat confdefs.h >>conftest.$ac_ext
7697 cat >>conftest.$ac_ext <<_ACEOF
7698 /* end confdefs.h. */
7699 #ifdef HAVE_X11_XLIB_H
7700 # include <X11/Xlib.h>
7702 #ifdef HAVE_X11_XUTIL_H
7703 # include <X11/Xutil.h>
7706 #include <$ac_header>
7708 rm -f conftest.$ac_objext
7709 if { (ac_try="$ac_compile"
7711 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7712 *) ac_try_echo
=$ac_try;;
7714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7715 (eval "$ac_compile") 2>conftest.er1
7717 grep -v '^ *+' conftest.er1
>conftest.err
7719 cat conftest.err
>&5
7720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7721 (exit $ac_status); } && {
7722 test -z "$ac_c_werror_flag" ||
7723 test ! -s conftest.err
7724 } && test -s conftest.
$ac_objext; then
7725 eval "$as_ac_Header=yes"
7727 echo "$as_me: failed program was:" >&5
7728 sed 's/^/| /' conftest.
$ac_ext >&5
7730 eval "$as_ac_Header=no"
7733 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7735 ac_res
=`eval echo '${'$as_ac_Header'}'`
7736 { echo "$as_me:$LINENO: result: $ac_res" >&5
7737 echo "${ECHO_T}$ac_res" >&6; }
7738 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7739 cat >>confdefs.h
<<_ACEOF
7740 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7748 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7750 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7751 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
7752 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7753 echo $ECHO_N "(cached) $ECHO_C" >&6
7755 ac_check_lib_save_LIBS
=$LIBS
7756 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7757 cat >conftest.
$ac_ext <<_ACEOF
7760 cat confdefs.h
>>conftest.
$ac_ext
7761 cat >>conftest.
$ac_ext <<_ACEOF
7762 /* end confdefs.h. */
7764 /* Override any GCC internal prototype to avoid an error.
7765 Use char because int might match the return type of a GCC
7766 builtin and then its argument prototype would still apply. */
7770 char XkbQueryExtension ();
7774 return XkbQueryExtension ();
7779 rm -f conftest.
$ac_objext conftest
$ac_exeext
7780 if { (ac_try
="$ac_link"
7782 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7783 *) ac_try_echo=$ac_try;;
7785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7786 (eval "$ac_link") 2>conftest.er1
7788 grep -v '^ *+' conftest.er1 >conftest.err
7790 cat conftest.err >&5
7791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7792 (exit $ac_status); } && {
7793 test -z "$ac_c_werror_flag" ||
7794 test ! -s conftest.err
7795 } && test -s conftest$ac_exeext &&
7796 $as_test_x conftest$ac_exeext; then
7797 ac_cv_lib_X11_XkbQueryExtension=yes
7799 echo "$as_me: failed program was:" >&5
7800 sed 's/^/| /' conftest.$ac_ext >&5
7802 ac_cv_lib_X11_XkbQueryExtension=no
7805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7806 conftest$ac_exeext conftest.$ac_ext
7807 LIBS=$ac_check_lib_save_LIBS
7809 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7810 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
7811 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7813 cat >>confdefs.h <<\_ACEOF
7821 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7823 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7824 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
7825 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7826 echo $ECHO_N "(cached) $ECHO_C" >&6
7828 ac_check_lib_save_LIBS=$LIBS
7829 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7830 cat >conftest.$ac_ext <<_ACEOF
7833 cat confdefs.h >>conftest.$ac_ext
7834 cat >>conftest.$ac_ext <<_ACEOF
7835 /* end confdefs.h. */
7837 /* Override any GCC internal prototype to avoid an error.
7838 Use char because int might match the return type of a GCC
7839 builtin and then its argument prototype would still apply. */
7843 char XShmQueryExtension ();
7847 return XShmQueryExtension ();
7852 rm -f conftest.$ac_objext conftest$ac_exeext
7853 if { (ac_try="$ac_link"
7855 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7856 *) ac_try_echo
=$ac_try;;
7858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7859 (eval "$ac_link") 2>conftest.er1
7861 grep -v '^ *+' conftest.er1
>conftest.err
7863 cat conftest.err
>&5
7864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7865 (exit $ac_status); } && {
7866 test -z "$ac_c_werror_flag" ||
7867 test ! -s conftest.err
7868 } && test -s conftest
$ac_exeext &&
7869 $as_test_x conftest
$ac_exeext; then
7870 ac_cv_lib_Xext_XShmQueryExtension
=yes
7872 echo "$as_me: failed program was:" >&5
7873 sed 's/^/| /' conftest.
$ac_ext >&5
7875 ac_cv_lib_Xext_XShmQueryExtension
=no
7878 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7879 conftest
$ac_exeext conftest.
$ac_ext
7880 LIBS
=$ac_check_lib_save_LIBS
7882 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7883 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
7884 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7886 cat >>confdefs.h
<<\_ACEOF
7887 #define HAVE_LIBXXSHM 1
7894 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7896 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7897 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
7898 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7899 echo $ECHO_N "(cached) $ECHO_C" >&6
7901 ac_check_lib_save_LIBS
=$LIBS
7902 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7903 cat >conftest.
$ac_ext <<_ACEOF
7906 cat confdefs.h
>>conftest.
$ac_ext
7907 cat >>conftest.
$ac_ext <<_ACEOF
7908 /* end confdefs.h. */
7910 /* Override any GCC internal prototype to avoid an error.
7911 Use char because int might match the return type of a GCC
7912 builtin and then its argument prototype would still apply. */
7916 char XShapeQueryExtension ();
7920 return XShapeQueryExtension ();
7925 rm -f conftest.
$ac_objext conftest
$ac_exeext
7926 if { (ac_try
="$ac_link"
7928 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7929 *) ac_try_echo=$ac_try;;
7931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7932 (eval "$ac_link") 2>conftest.er1
7934 grep -v '^ *+' conftest.er1 >conftest.err
7936 cat conftest.err >&5
7937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7938 (exit $ac_status); } && {
7939 test -z "$ac_c_werror_flag" ||
7940 test ! -s conftest.err
7941 } && test -s conftest$ac_exeext &&
7942 $as_test_x conftest$ac_exeext; then
7943 ac_cv_lib_Xext_XShapeQueryExtension=yes
7945 echo "$as_me: failed program was:" >&5
7946 sed 's/^/| /' conftest.$ac_ext >&5
7948 ac_cv_lib_Xext_XShapeQueryExtension=no
7951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7952 conftest$ac_exeext conftest.$ac_ext
7953 LIBS=$ac_check_lib_save_LIBS
7955 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7956 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
7957 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7959 cat >>confdefs.h <<\_ACEOF
7960 #define HAVE_LIBXSHAPE 1
7967 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7969 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7970 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
7971 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7972 echo $ECHO_N "(cached) $ECHO_C" >&6
7974 ac_check_lib_save_LIBS=$LIBS
7975 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7976 cat >conftest.$ac_ext <<_ACEOF
7979 cat confdefs.h >>conftest.$ac_ext
7980 cat >>conftest.$ac_ext <<_ACEOF
7981 /* end confdefs.h. */
7983 /* Override any GCC internal prototype to avoid an error.
7984 Use char because int might match the return type of a GCC
7985 builtin and then its argument prototype would still apply. */
7989 char XF86VidModeQueryExtension ();
7993 return XF86VidModeQueryExtension ();
7998 rm -f conftest.$ac_objext conftest$ac_exeext
7999 if { (ac_try="$ac_link"
8001 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8002 *) ac_try_echo
=$ac_try;;
8004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8005 (eval "$ac_link") 2>conftest.er1
8007 grep -v '^ *+' conftest.er1
>conftest.err
8009 cat conftest.err
>&5
8010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8011 (exit $ac_status); } && {
8012 test -z "$ac_c_werror_flag" ||
8013 test ! -s conftest.err
8014 } && test -s conftest
$ac_exeext &&
8015 $as_test_x conftest
$ac_exeext; then
8016 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
8018 echo "$as_me: failed program was:" >&5
8019 sed 's/^/| /' conftest.
$ac_ext >&5
8021 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
8024 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8025 conftest
$ac_exeext conftest.
$ac_ext
8026 LIBS
=$ac_check_lib_save_LIBS
8028 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8029 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
8030 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8032 cat >>confdefs.h
<<\_ACEOF
8033 #define HAVE_LIBXXF86VM 1
8036 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
8042 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8044 cat >conftest.
$ac_ext <<_ACEOF
8047 cat confdefs.h
>>conftest.
$ac_ext
8048 cat >>conftest.
$ac_ext <<_ACEOF
8049 /* end confdefs.h. */
8050 #include <X11/Xlib.h>
8051 #include <X11/extensions/Xrandr.h>
8055 static typeof(XRRSetScreenConfigAndRate) * func;
8060 rm -f conftest.
$ac_objext
8061 if { (ac_try
="$ac_compile"
8063 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8064 *) ac_try_echo=$ac_try;;
8066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8067 (eval "$ac_compile") 2>conftest.er1
8069 grep -v '^ *+' conftest.er1 >conftest.err
8071 cat conftest.err >&5
8072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8073 (exit $ac_status); } && {
8074 test -z "$ac_c_werror_flag" ||
8075 test ! -s conftest.err
8076 } && test -s conftest.$ac_objext; then
8078 cat >>confdefs.h <<\_ACEOF
8079 #define HAVE_LIBXRANDR 1
8083 echo "$as_me: failed program was:" >&5
8084 sed 's/^/| /' conftest.$ac_ext >&5
8089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8092 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8094 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8095 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
8096 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8097 echo $ECHO_N "(cached) $ECHO_C" >&6
8099 ac_check_lib_save_LIBS=$LIBS
8100 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8101 cat >conftest.$ac_ext <<_ACEOF
8104 cat confdefs.h >>conftest.$ac_ext
8105 cat >>conftest.$ac_ext <<_ACEOF
8106 /* end confdefs.h. */
8108 /* Override any GCC internal prototype to avoid an error.
8109 Use char because int might match the return type of a GCC
8110 builtin and then its argument prototype would still apply. */
8114 char XRenderSetPictureTransform ();
8118 return XRenderSetPictureTransform ();
8123 rm -f conftest.$ac_objext conftest$ac_exeext
8124 if { (ac_try="$ac_link"
8126 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8127 *) ac_try_echo
=$ac_try;;
8129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8130 (eval "$ac_link") 2>conftest.er1
8132 grep -v '^ *+' conftest.er1
>conftest.err
8134 cat conftest.err
>&5
8135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136 (exit $ac_status); } && {
8137 test -z "$ac_c_werror_flag" ||
8138 test ! -s conftest.err
8139 } && test -s conftest
$ac_exeext &&
8140 $as_test_x conftest
$ac_exeext; then
8141 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8143 echo "$as_me: failed program was:" >&5
8144 sed 's/^/| /' conftest.
$ac_ext >&5
8146 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8149 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8150 conftest
$ac_exeext conftest.
$ac_ext
8151 LIBS
=$ac_check_lib_save_LIBS
8153 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8154 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8155 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8157 cat >>confdefs.h
<<\_ACEOF
8158 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8165 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8167 cat >conftest.
$ac_ext <<_ACEOF
8170 cat confdefs.h
>>conftest.
$ac_ext
8171 cat >>conftest.
$ac_ext <<_ACEOF
8172 /* end confdefs.h. */
8173 #include <X11/Xlib.h>
8174 #include <X11/extensions/Xinerama.h>
8178 static typeof(XineramaQueryScreens) * func;
8183 rm -f conftest.
$ac_objext
8184 if { (ac_try
="$ac_compile"
8186 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8187 *) ac_try_echo=$ac_try;;
8189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8190 (eval "$ac_compile") 2>conftest.er1
8192 grep -v '^ *+' conftest.er1 >conftest.err
8194 cat conftest.err >&5
8195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8196 (exit $ac_status); } && {
8197 test -z "$ac_c_werror_flag" ||
8198 test ! -s conftest.err
8199 } && test -s conftest.$ac_objext; then
8201 cat >>confdefs.h <<\_ACEOF
8202 #define HAVE_LIBXINERAMA 1
8206 echo "$as_me: failed program was:" >&5
8207 sed 's/^/| /' conftest.$ac_ext >&5
8212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8216 if test "x$with_opengl" != "xno"
8222 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
8224 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8225 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8226 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8227 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8228 echo $ECHO_N "(cached) $ECHO_C" >&6
8230 cat >conftest.$ac_ext <<_ACEOF
8233 cat confdefs.h >>conftest.$ac_ext
8234 cat >>conftest.$ac_ext <<_ACEOF
8235 /* end confdefs.h. */
8236 #ifdef HAVE_GL_GLX_H
8237 # include <GL/glx.h>
8240 #include <$ac_header>
8242 rm -f conftest.$ac_objext
8243 if { (ac_try="$ac_compile"
8245 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8246 *) ac_try_echo
=$ac_try;;
8248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8249 (eval "$ac_compile") 2>conftest.er1
8251 grep -v '^ *+' conftest.er1
>conftest.err
8253 cat conftest.err
>&5
8254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8255 (exit $ac_status); } && {
8256 test -z "$ac_c_werror_flag" ||
8257 test ! -s conftest.err
8258 } && test -s conftest.
$ac_objext; then
8259 eval "$as_ac_Header=yes"
8261 echo "$as_me: failed program was:" >&5
8262 sed 's/^/| /' conftest.
$ac_ext >&5
8264 eval "$as_ac_Header=no"
8267 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8269 ac_res
=`eval echo '${'$as_ac_Header'}'`
8270 { echo "$as_me:$LINENO: result: $ac_res" >&5
8271 echo "${ECHO_T}$ac_res" >&6; }
8272 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8273 cat >>confdefs.h
<<_ACEOF
8274 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8281 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8283 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8284 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
8285 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
8286 echo $ECHO_N "(cached) $ECHO_C" >&6
8288 cat >conftest.
$ac_ext <<_ACEOF
8291 cat confdefs.h
>>conftest.
$ac_ext
8292 cat >>conftest.
$ac_ext <<_ACEOF
8293 /* end confdefs.h. */
8298 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8303 rm -f conftest.
$ac_objext
8304 if { (ac_try
="$ac_compile"
8306 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8307 *) ac_try_echo=$ac_try;;
8309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8310 (eval "$ac_compile") 2>conftest.er1
8312 grep -v '^ *+' conftest.er1 >conftest.err
8314 cat conftest.err >&5
8315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8316 (exit $ac_status); } && {
8317 test -z "$ac_c_werror_flag" ||
8318 test ! -s conftest.err
8319 } && test -s conftest.$ac_objext; then
8320 wine_cv_opengl_header_version_OK="yes"
8322 echo "$as_me: failed program was:" >&5
8323 sed 's/^/| /' conftest.$ac_ext >&5
8325 wine_cv_opengl_header_version_OK="no"
8329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8332 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
8333 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
8335 if test "$wine_cv_opengl_header_version_OK" = "yes"
8337 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8338 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
8339 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8340 echo $ECHO_N "(cached) $ECHO_C" >&6
8342 ac_check_lib_save_LIBS=$LIBS
8343 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8344 cat >conftest.$ac_ext <<_ACEOF
8347 cat confdefs.h >>conftest.$ac_ext
8348 cat >>conftest.$ac_ext <<_ACEOF
8349 /* end confdefs.h. */
8351 /* Override any GCC internal prototype to avoid an error.
8352 Use char because int might match the return type of a GCC
8353 builtin and then its argument prototype would still apply. */
8357 char glXCreateContext ();
8361 return glXCreateContext ();
8366 rm -f conftest.$ac_objext conftest$ac_exeext
8367 if { (ac_try="$ac_link"
8369 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8370 *) ac_try_echo
=$ac_try;;
8372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8373 (eval "$ac_link") 2>conftest.er1
8375 grep -v '^ *+' conftest.er1
>conftest.err
8377 cat conftest.err
>&5
8378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8379 (exit $ac_status); } && {
8380 test -z "$ac_c_werror_flag" ||
8381 test ! -s conftest.err
8382 } && test -s conftest
$ac_exeext &&
8383 $as_test_x conftest
$ac_exeext; then
8384 ac_cv_lib_GL_glXCreateContext
=yes
8386 echo "$as_me: failed program was:" >&5
8387 sed 's/^/| /' conftest.
$ac_ext >&5
8389 ac_cv_lib_GL_glXCreateContext
=no
8392 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8393 conftest
$ac_exeext conftest.
$ac_ext
8394 LIBS
=$ac_check_lib_save_LIBS
8396 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8397 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
8398 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8400 OPENGLFILES
='$(OPENGLFILES)'
8402 cat >>confdefs.h
<<\_ACEOF
8403 #define HAVE_OPENGL 1
8410 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8411 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
8412 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8413 echo $ECHO_N "(cached) $ECHO_C" >&6
8415 ac_check_lib_save_LIBS
=$LIBS
8416 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8418 cat >conftest.
$ac_ext <<_ACEOF
8421 cat confdefs.h
>>conftest.
$ac_ext
8422 cat >>conftest.
$ac_ext <<_ACEOF
8423 /* end confdefs.h. */
8425 /* Override any GCC internal prototype to avoid an error.
8426 Use char because int might match the return type of a GCC
8427 builtin and then its argument prototype would still apply. */
8435 return gluLookAt ();
8440 rm -f conftest.
$ac_objext conftest
$ac_exeext
8441 if { (ac_try
="$ac_link"
8443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8444 *) ac_try_echo=$ac_try;;
8446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8447 (eval "$ac_link") 2>conftest.er1
8449 grep -v '^ *+' conftest.er1 >conftest.err
8451 cat conftest.err >&5
8452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8453 (exit $ac_status); } && {
8454 test -z "$ac_c_werror_flag" ||
8455 test ! -s conftest.err
8456 } && test -s conftest$ac_exeext &&
8457 $as_test_x conftest$ac_exeext; then
8458 ac_cv_lib_GLU_gluLookAt=yes
8460 echo "$as_me: failed program was:" >&5
8461 sed 's/^/| /' conftest.$ac_ext >&5
8463 ac_cv_lib_GLU_gluLookAt=no
8466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8467 conftest$ac_exeext conftest.$ac_ext
8468 LIBS=$ac_check_lib_save_LIBS
8470 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8471 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
8472 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8473 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8474 GLU32FILES='$(GLU32FILES)'
8480 wine_cv_opengl_headers_found="no"
8486 for ac_header in audio/audiolib.h
8488 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8489 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8490 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8492 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8493 echo $ECHO_N "(cached) $ECHO_C" >&6
8495 ac_res=`eval echo '${'$as_ac_Header'}'`
8496 { echo "$as_me:$LINENO: result: $ac_res" >&5
8497 echo "${ECHO_T}$ac_res" >&6; }
8499 # Is the header compilable?
8500 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8501 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8502 cat >conftest.$ac_ext <<_ACEOF
8505 cat confdefs.h >>conftest.$ac_ext
8506 cat >>conftest.$ac_ext <<_ACEOF
8507 /* end confdefs.h. */
8508 $ac_includes_default
8509 #include <$ac_header>
8511 rm -f conftest.$ac_objext
8512 if { (ac_try="$ac_compile"
8514 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8515 *) ac_try_echo
=$ac_try;;
8517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8518 (eval "$ac_compile") 2>conftest.er1
8520 grep -v '^ *+' conftest.er1
>conftest.err
8522 cat conftest.err
>&5
8523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524 (exit $ac_status); } && {
8525 test -z "$ac_c_werror_flag" ||
8526 test ! -s conftest.err
8527 } && test -s conftest.
$ac_objext; then
8528 ac_header_compiler
=yes
8530 echo "$as_me: failed program was:" >&5
8531 sed 's/^/| /' conftest.
$ac_ext >&5
8533 ac_header_compiler
=no
8536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8537 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8538 echo "${ECHO_T}$ac_header_compiler" >&6; }
8540 # Is the header present?
8541 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8542 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8543 cat >conftest.
$ac_ext <<_ACEOF
8546 cat confdefs.h
>>conftest.
$ac_ext
8547 cat >>conftest.
$ac_ext <<_ACEOF
8548 /* end confdefs.h. */
8549 #include <$ac_header>
8551 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8554 *) ac_try_echo=$ac_try;;
8556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8557 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8559 grep -v '^ *+' conftest.er1 >conftest.err
8561 cat conftest.err >&5
8562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8563 (exit $ac_status); } >/dev/null && {
8564 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8565 test ! -s conftest.err
8567 ac_header_preproc=yes
8569 echo "$as_me: failed program was:" >&5
8570 sed 's/^/| /' conftest.$ac_ext >&5
8572 ac_header_preproc=no
8575 rm -f conftest.err conftest.$ac_ext
8576 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8577 echo "${ECHO_T}$ac_header_preproc" >&6; }
8579 # So? What about this header?
8580 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8582 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8583 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8584 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8585 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8586 ac_header_preproc=yes
8589 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8590 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8591 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8592 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8593 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8594 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8595 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8596 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8597 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8598 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8599 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8600 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8602 ## ------------------------------------ ##
8603 ## Report this to wine-devel@winehq.org ##
8604 ## ------------------------------------ ##
8606 ) | sed "s/^/$as_me: WARNING: /" >&2
8609 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8611 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8612 echo $ECHO_N "(cached) $ECHO_C" >&6
8614 eval "$as_ac_Header=\$ac_header_preproc"
8616 ac_res=`eval echo '${'$as_ac_Header'}'`
8617 { echo "$as_me:$LINENO: result: $ac_res" >&5
8618 echo "${ECHO_T}$ac_res" >&6; }
8621 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8622 cat >>confdefs.h <<_ACEOF
8623 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8626 for ac_header in audio/soundlib.h
8628 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8629 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8631 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8632 echo $ECHO_N "(cached) $ECHO_C" >&6
8634 cat >conftest.$ac_ext <<_ACEOF
8637 cat confdefs.h >>conftest.$ac_ext
8638 cat >>conftest.$ac_ext <<_ACEOF
8639 /* end confdefs.h. */
8640 #include <audio/audiolib.h>
8642 #include <$ac_header>
8644 rm -f conftest.$ac_objext
8645 if { (ac_try="$ac_compile"
8647 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8648 *) ac_try_echo
=$ac_try;;
8650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8651 (eval "$ac_compile") 2>conftest.er1
8653 grep -v '^ *+' conftest.er1
>conftest.err
8655 cat conftest.err
>&5
8656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8657 (exit $ac_status); } && {
8658 test -z "$ac_c_werror_flag" ||
8659 test ! -s conftest.err
8660 } && test -s conftest.
$ac_objext; then
8661 eval "$as_ac_Header=yes"
8663 echo "$as_me: failed program was:" >&5
8664 sed 's/^/| /' conftest.
$ac_ext >&5
8666 eval "$as_ac_Header=no"
8669 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8671 ac_res
=`eval echo '${'$as_ac_Header'}'`
8672 { echo "$as_me:$LINENO: result: $ac_res" >&5
8673 echo "${ECHO_T}$ac_res" >&6; }
8674 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8675 cat >>confdefs.h
<<_ACEOF
8676 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8683 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8684 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
8685 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8686 echo $ECHO_N "(cached) $ECHO_C" >&6
8688 ac_check_lib_save_LIBS
=$LIBS
8689 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8690 cat >conftest.
$ac_ext <<_ACEOF
8693 cat confdefs.h
>>conftest.
$ac_ext
8694 cat >>conftest.
$ac_ext <<_ACEOF
8695 /* end confdefs.h. */
8697 /* Override any GCC internal prototype to avoid an error.
8698 Use char because int might match the return type of a GCC
8699 builtin and then its argument prototype would still apply. */
8703 char AuCreateFlow ();
8707 return AuCreateFlow ();
8712 rm -f conftest.
$ac_objext conftest
$ac_exeext
8713 if { (ac_try
="$ac_link"
8715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8716 *) ac_try_echo=$ac_try;;
8718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8719 (eval "$ac_link") 2>conftest.er1
8721 grep -v '^ *+' conftest.er1 >conftest.err
8723 cat conftest.err >&5
8724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8725 (exit $ac_status); } && {
8726 test -z "$ac_c_werror_flag" ||
8727 test ! -s conftest.err
8728 } && test -s conftest$ac_exeext &&
8729 $as_test_x conftest$ac_exeext; then
8730 ac_cv_lib_audio_AuCreateFlow=yes
8732 echo "$as_me: failed program was:" >&5
8733 sed 's/^/| /' conftest.$ac_ext >&5
8735 ac_cv_lib_audio_AuCreateFlow=no
8738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8739 conftest$ac_exeext conftest.$ac_ext
8740 LIBS=$ac_check_lib_save_LIBS
8742 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8743 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
8744 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8746 cat >>confdefs.h <<\_ACEOF
8750 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8758 CPPFLAGS="$ac_save_CPPFLAGS"
8775 if test "$PKG_CONFIG" != "false"
8777 ac_save_CPPFLAGS="$CPPFLAGS"
8778 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`"
8779 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`"
8780 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
8782 for ac_header in libxml/parser.h
8784 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8785 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8786 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8788 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8789 echo $ECHO_N "(cached) $ECHO_C" >&6
8791 ac_res=`eval echo '${'$as_ac_Header'}'`
8792 { echo "$as_me:$LINENO: result: $ac_res" >&5
8793 echo "${ECHO_T}$ac_res" >&6; }
8795 # Is the header compilable?
8796 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8797 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8798 cat >conftest.$ac_ext <<_ACEOF
8801 cat confdefs.h >>conftest.$ac_ext
8802 cat >>conftest.$ac_ext <<_ACEOF
8803 /* end confdefs.h. */
8804 $ac_includes_default
8805 #include <$ac_header>
8807 rm -f conftest.$ac_objext
8808 if { (ac_try="$ac_compile"
8810 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8811 *) ac_try_echo
=$ac_try;;
8813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8814 (eval "$ac_compile") 2>conftest.er1
8816 grep -v '^ *+' conftest.er1
>conftest.err
8818 cat conftest.err
>&5
8819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8820 (exit $ac_status); } && {
8821 test -z "$ac_c_werror_flag" ||
8822 test ! -s conftest.err
8823 } && test -s conftest.
$ac_objext; then
8824 ac_header_compiler
=yes
8826 echo "$as_me: failed program was:" >&5
8827 sed 's/^/| /' conftest.
$ac_ext >&5
8829 ac_header_compiler
=no
8832 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8833 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8834 echo "${ECHO_T}$ac_header_compiler" >&6; }
8836 # Is the header present?
8837 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8838 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8839 cat >conftest.
$ac_ext <<_ACEOF
8842 cat confdefs.h
>>conftest.
$ac_ext
8843 cat >>conftest.
$ac_ext <<_ACEOF
8844 /* end confdefs.h. */
8845 #include <$ac_header>
8847 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8850 *) ac_try_echo=$ac_try;;
8852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8853 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8855 grep -v '^ *+' conftest.er1 >conftest.err
8857 cat conftest.err >&5
8858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8859 (exit $ac_status); } >/dev/null && {
8860 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8861 test ! -s conftest.err
8863 ac_header_preproc=yes
8865 echo "$as_me: failed program was:" >&5
8866 sed 's/^/| /' conftest.$ac_ext >&5
8868 ac_header_preproc=no
8871 rm -f conftest.err conftest.$ac_ext
8872 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8873 echo "${ECHO_T}$ac_header_preproc" >&6; }
8875 # So? What about this header?
8876 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8878 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8879 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8881 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8882 ac_header_preproc=yes
8885 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8886 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8887 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8888 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8889 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8890 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8891 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8892 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8893 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8894 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8895 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8896 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8898 ## ------------------------------------ ##
8899 ## Report this to wine-devel@winehq.org ##
8900 ## ------------------------------------ ##
8902 ) | sed "s/^/$as_me: WARNING: /" >&2
8905 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8907 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8908 echo $ECHO_N "(cached) $ECHO_C" >&6
8910 eval "$as_ac_Header=\$ac_header_preproc"
8912 ac_res=`eval echo '${'$as_ac_Header'}'`
8913 { echo "$as_me:$LINENO: result: $ac_res" >&5
8914 echo "${ECHO_T}$ac_res" >&6; }
8917 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8918 cat >>confdefs.h <<_ACEOF
8919 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8921 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
8922 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
8923 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
8924 echo $ECHO_N "(cached) $ECHO_C" >&6
8926 ac_check_lib_save_LIBS=$LIBS
8927 LIBS="-lxml2 $ac_xml_libs $LIBS"
8928 cat >conftest.$ac_ext <<_ACEOF
8931 cat confdefs.h >>conftest.$ac_ext
8932 cat >>conftest.$ac_ext <<_ACEOF
8933 /* end confdefs.h. */
8935 /* Override any GCC internal prototype to avoid an error.
8936 Use char because int might match the return type of a GCC
8937 builtin and then its argument prototype would still apply. */
8941 char xmlParseMemory ();
8945 return xmlParseMemory ();
8950 rm -f conftest.$ac_objext conftest$ac_exeext
8951 if { (ac_try="$ac_link"
8953 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8954 *) ac_try_echo
=$ac_try;;
8956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8957 (eval "$ac_link") 2>conftest.er1
8959 grep -v '^ *+' conftest.er1
>conftest.err
8961 cat conftest.err
>&5
8962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8963 (exit $ac_status); } && {
8964 test -z "$ac_c_werror_flag" ||
8965 test ! -s conftest.err
8966 } && test -s conftest
$ac_exeext &&
8967 $as_test_x conftest
$ac_exeext; then
8968 ac_cv_lib_xml2_xmlParseMemory
=yes
8970 echo "$as_me: failed program was:" >&5
8971 sed 's/^/| /' conftest.
$ac_ext >&5
8973 ac_cv_lib_xml2_xmlParseMemory
=no
8976 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8977 conftest
$ac_exeext conftest.
$ac_ext
8978 LIBS
=$ac_check_lib_save_LIBS
8980 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
8981 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
8982 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
8984 cat >>confdefs.h
<<\_ACEOF
8985 #define HAVE_LIBXML2 1
8988 XML2LIBS
="$ac_xml_libs"
8989 XML2INCL
="$ac_xml_cflags"
8992 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
8993 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
8994 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
8995 echo $ECHO_N "(cached) $ECHO_C" >&6
8997 ac_check_lib_save_LIBS
=$LIBS
8998 LIBS
="-lxml2 $ac_xml_libs $LIBS"
8999 cat >conftest.
$ac_ext <<_ACEOF
9002 cat confdefs.h
>>conftest.
$ac_ext
9003 cat >>conftest.
$ac_ext <<_ACEOF
9004 /* end confdefs.h. */
9006 /* Override any GCC internal prototype to avoid an error.
9007 Use char because int might match the return type of a GCC
9008 builtin and then its argument prototype would still apply. */
9012 char xmlReadMemory ();
9016 return xmlReadMemory ();
9021 rm -f conftest.
$ac_objext conftest
$ac_exeext
9022 if { (ac_try
="$ac_link"
9024 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9025 *) ac_try_echo=$ac_try;;
9027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9028 (eval "$ac_link") 2>conftest.er1
9030 grep -v '^ *+' conftest.er1 >conftest.err
9032 cat conftest.err >&5
9033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9034 (exit $ac_status); } && {
9035 test -z "$ac_c_werror_flag" ||
9036 test ! -s conftest.err
9037 } && test -s conftest$ac_exeext &&
9038 $as_test_x conftest$ac_exeext; then
9039 ac_cv_lib_xml2_xmlReadMemory=yes
9041 echo "$as_me: failed program was:" >&5
9042 sed 's/^/| /' conftest.$ac_ext >&5
9044 ac_cv_lib_xml2_xmlReadMemory=no
9047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9048 conftest$ac_exeext conftest.$ac_ext
9049 LIBS=$ac_check_lib_save_LIBS
9051 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9052 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9053 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
9055 cat >>confdefs.h <<\_ACEOF
9056 #define HAVE_XMLREADMEMORY 1
9061 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
9062 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
9063 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
9064 echo $ECHO_N "(cached) $ECHO_C" >&6
9066 ac_check_lib_save_LIBS=$LIBS
9067 LIBS="-lxml2 $ac_xml_libs $LIBS"
9068 cat >conftest.$ac_ext <<_ACEOF
9071 cat confdefs.h >>conftest.$ac_ext
9072 cat >>conftest.$ac_ext <<_ACEOF
9073 /* end confdefs.h. */
9075 /* Override any GCC internal prototype to avoid an error.
9076 Use char because int might match the return type of a GCC
9077 builtin and then its argument prototype would still apply. */
9081 char xmlNewDocPI ();
9085 return xmlNewDocPI ();
9090 rm -f conftest.$ac_objext conftest$ac_exeext
9091 if { (ac_try="$ac_link"
9093 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9094 *) ac_try_echo
=$ac_try;;
9096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9097 (eval "$ac_link") 2>conftest.er1
9099 grep -v '^ *+' conftest.er1
>conftest.err
9101 cat conftest.err
>&5
9102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9103 (exit $ac_status); } && {
9104 test -z "$ac_c_werror_flag" ||
9105 test ! -s conftest.err
9106 } && test -s conftest
$ac_exeext &&
9107 $as_test_x conftest
$ac_exeext; then
9108 ac_cv_lib_xml2_xmlNewDocPI
=yes
9110 echo "$as_me: failed program was:" >&5
9111 sed 's/^/| /' conftest.
$ac_ext >&5
9113 ac_cv_lib_xml2_xmlNewDocPI
=no
9116 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9117 conftest
$ac_exeext conftest.
$ac_ext
9118 LIBS
=$ac_check_lib_save_LIBS
9120 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9121 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9122 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
9124 cat >>confdefs.h
<<\_ACEOF
9125 #define HAVE_XMLNEWDOCPI 1
9135 CPPFLAGS
="$ac_save_CPPFLAGS"
9136 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9137 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9138 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
9141 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
9143 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9144 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9146 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9147 echo $ECHO_N "(cached) $ECHO_C" >&6
9149 cat >conftest.
$ac_ext <<_ACEOF
9152 cat confdefs.h
>>conftest.
$ac_ext
9153 cat >>conftest.
$ac_ext <<_ACEOF
9154 /* end confdefs.h. */
9155 #ifdef HAVE_LIBXSLT_PATTERN_H
9156 # include <libxslt/pattern.h>
9159 #include <$ac_header>
9161 rm -f conftest.
$ac_objext
9162 if { (ac_try
="$ac_compile"
9164 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9165 *) ac_try_echo=$ac_try;;
9167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9168 (eval "$ac_compile") 2>conftest.er1
9170 grep -v '^ *+' conftest.er1 >conftest.err
9172 cat conftest.err >&5
9173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9174 (exit $ac_status); } && {
9175 test -z "$ac_c_werror_flag" ||
9176 test ! -s conftest.err
9177 } && test -s conftest.$ac_objext; then
9178 eval "$as_ac_Header=yes"
9180 echo "$as_me: failed program was:" >&5
9181 sed 's/^/| /' conftest.$ac_ext >&5
9183 eval "$as_ac_Header=no"
9186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9188 ac_res=`eval echo '${'$as_ac_Header'}'`
9189 { echo "$as_me:$LINENO: result: $ac_res" >&5
9190 echo "${ECHO_T}$ac_res" >&6; }
9191 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9192 cat >>confdefs.h <<_ACEOF
9193 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9195 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
9196 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
9197 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
9198 echo $ECHO_N "(cached) $ECHO_C" >&6
9200 ac_check_lib_save_LIBS=$LIBS
9201 LIBS="-lxslt $ac_xslt_libs $LIBS"
9202 cat >conftest.$ac_ext <<_ACEOF
9205 cat confdefs.h >>conftest.$ac_ext
9206 cat >>conftest.$ac_ext <<_ACEOF
9207 /* end confdefs.h. */
9209 /* Override any GCC internal prototype to avoid an error.
9210 Use char because int might match the return type of a GCC
9211 builtin and then its argument prototype would still apply. */
9215 char xsltCompilePattern ();
9219 return xsltCompilePattern ();
9224 rm -f conftest.$ac_objext conftest$ac_exeext
9225 if { (ac_try="$ac_link"
9227 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9228 *) ac_try_echo
=$ac_try;;
9230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9231 (eval "$ac_link") 2>conftest.er1
9233 grep -v '^ *+' conftest.er1
>conftest.err
9235 cat conftest.err
>&5
9236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9237 (exit $ac_status); } && {
9238 test -z "$ac_c_werror_flag" ||
9239 test ! -s conftest.err
9240 } && test -s conftest
$ac_exeext &&
9241 $as_test_x conftest
$ac_exeext; then
9242 ac_cv_lib_xslt_xsltCompilePattern
=yes
9244 echo "$as_me: failed program was:" >&5
9245 sed 's/^/| /' conftest.
$ac_ext >&5
9247 ac_cv_lib_xslt_xsltCompilePattern
=no
9250 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9251 conftest
$ac_exeext conftest.
$ac_ext
9252 LIBS
=$ac_check_lib_save_LIBS
9254 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
9255 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
9256 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
9258 cat >>confdefs.h
<<\_ACEOF
9259 #define HAVE_LIBXSLT 1
9262 XSLTLIBS
="$ac_xslt_libs"
9263 XSLTINCL
="$ac_xslt_cflags"
9271 CPPFLAGS
="$ac_save_CPPFLAGS"
9276 if test "$PKG_CONFIG" != "false"
9278 ac_save_CPPFLAGS
="$CPPFLAGS"
9279 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
9280 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9281 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
9284 for ac_header
in dbus
/dbus.h hal
/libhal.h
9286 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9287 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9288 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9290 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9291 echo $ECHO_N "(cached) $ECHO_C" >&6
9293 ac_res
=`eval echo '${'$as_ac_Header'}'`
9294 { echo "$as_me:$LINENO: result: $ac_res" >&5
9295 echo "${ECHO_T}$ac_res" >&6; }
9297 # Is the header compilable?
9298 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9299 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9300 cat >conftest.
$ac_ext <<_ACEOF
9303 cat confdefs.h
>>conftest.
$ac_ext
9304 cat >>conftest.
$ac_ext <<_ACEOF
9305 /* end confdefs.h. */
9306 $ac_includes_default
9307 #include <$ac_header>
9309 rm -f conftest.
$ac_objext
9310 if { (ac_try
="$ac_compile"
9312 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9313 *) ac_try_echo=$ac_try;;
9315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9316 (eval "$ac_compile") 2>conftest.er1
9318 grep -v '^ *+' conftest.er1 >conftest.err
9320 cat conftest.err >&5
9321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322 (exit $ac_status); } && {
9323 test -z "$ac_c_werror_flag" ||
9324 test ! -s conftest.err
9325 } && test -s conftest.$ac_objext; then
9326 ac_header_compiler=yes
9328 echo "$as_me: failed program was:" >&5
9329 sed 's/^/| /' conftest.$ac_ext >&5
9331 ac_header_compiler=no
9334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9335 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9336 echo "${ECHO_T}$ac_header_compiler" >&6; }
9338 # Is the header present?
9339 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9340 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9341 cat >conftest.$ac_ext <<_ACEOF
9344 cat confdefs.h >>conftest.$ac_ext
9345 cat >>conftest.$ac_ext <<_ACEOF
9346 /* end confdefs.h. */
9347 #include <$ac_header>
9349 if { (ac_try="$ac_cpp conftest.$ac_ext"
9351 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9352 *) ac_try_echo
=$ac_try;;
9354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9355 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9357 grep -v '^ *+' conftest.er1
>conftest.err
9359 cat conftest.err
>&5
9360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9361 (exit $ac_status); } >/dev
/null
&& {
9362 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9363 test ! -s conftest.err
9365 ac_header_preproc
=yes
9367 echo "$as_me: failed program was:" >&5
9368 sed 's/^/| /' conftest.
$ac_ext >&5
9370 ac_header_preproc
=no
9373 rm -f conftest.err conftest.
$ac_ext
9374 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9375 echo "${ECHO_T}$ac_header_preproc" >&6; }
9377 # So? What about this header?
9378 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9380 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9381 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9383 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9384 ac_header_preproc
=yes
9387 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9388 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9389 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9390 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9391 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9392 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9393 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9394 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9395 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9396 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9397 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9398 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9400 ## ------------------------------------ ##
9401 ## Report this to wine-devel@winehq.org ##
9402 ## ------------------------------------ ##
9404 ) |
sed "s/^/$as_me: WARNING: /" >&2
9407 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9409 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9410 echo $ECHO_N "(cached) $ECHO_C" >&6
9412 eval "$as_ac_Header=\$ac_header_preproc"
9414 ac_res
=`eval echo '${'$as_ac_Header'}'`
9415 { echo "$as_me:$LINENO: result: $ac_res" >&5
9416 echo "${ECHO_T}$ac_res" >&6; }
9419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9420 cat >>confdefs.h
<<_ACEOF
9421 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9428 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9430 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
9431 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
9432 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
9433 echo $ECHO_N "(cached) $ECHO_C" >&6
9435 ac_check_lib_save_LIBS
=$LIBS
9437 cat >conftest.
$ac_ext <<_ACEOF
9440 cat confdefs.h
>>conftest.
$ac_ext
9441 cat >>conftest.
$ac_ext <<_ACEOF
9442 /* end confdefs.h. */
9444 /* Override any GCC internal prototype to avoid an error.
9445 Use char because int might match the return type of a GCC
9446 builtin and then its argument prototype would still apply. */
9450 char libhal_ctx_new ();
9454 return libhal_ctx_new ();
9459 rm -f conftest.
$ac_objext conftest
$ac_exeext
9460 if { (ac_try
="$ac_link"
9462 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9463 *) ac_try_echo=$ac_try;;
9465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9466 (eval "$ac_link") 2>conftest.er1
9468 grep -v '^ *+' conftest.er1 >conftest.err
9470 cat conftest.err >&5
9471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9472 (exit $ac_status); } && {
9473 test -z "$ac_c_werror_flag" ||
9474 test ! -s conftest.err
9475 } && test -s conftest$ac_exeext &&
9476 $as_test_x conftest$ac_exeext; then
9477 ac_cv_lib_hal_libhal_ctx_new=yes
9479 echo "$as_me: failed program was:" >&5
9480 sed 's/^/| /' conftest.$ac_ext >&5
9482 ac_cv_lib_hal_libhal_ctx_new=no
9485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9486 conftest$ac_exeext conftest.$ac_ext
9487 LIBS=$ac_check_lib_save_LIBS
9489 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
9490 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
9491 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
9492 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
9493 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
9494 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
9495 echo $ECHO_N "(cached) $ECHO_C" >&6
9497 ac_check_lib_save_LIBS=$LIBS
9498 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
9499 cat >conftest.$ac_ext <<_ACEOF
9502 cat confdefs.h >>conftest.$ac_ext
9503 cat >>conftest.$ac_ext <<_ACEOF
9504 /* end confdefs.h. */
9506 /* Override any GCC internal prototype to avoid an error.
9507 Use char because int might match the return type of a GCC
9508 builtin and then its argument prototype would still apply. */
9512 char dbus_connection_close ();
9516 return dbus_connection_close ();
9521 rm -f conftest.$ac_objext conftest$ac_exeext
9522 if { (ac_try="$ac_link"
9524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9525 *) ac_try_echo
=$ac_try;;
9527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9528 (eval "$ac_link") 2>conftest.er1
9530 grep -v '^ *+' conftest.er1
>conftest.err
9532 cat conftest.err
>&5
9533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9534 (exit $ac_status); } && {
9535 test -z "$ac_c_werror_flag" ||
9536 test ! -s conftest.err
9537 } && test -s conftest
$ac_exeext &&
9538 $as_test_x conftest
$ac_exeext; then
9539 ac_cv_lib_dbus_1_dbus_connection_close
=yes
9541 echo "$as_me: failed program was:" >&5
9542 sed 's/^/| /' conftest.
$ac_ext >&5
9544 ac_cv_lib_dbus_1_dbus_connection_close
=no
9547 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9548 conftest
$ac_exeext conftest.
$ac_ext
9549 LIBS
=$ac_check_lib_save_LIBS
9551 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9552 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9553 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
9555 cat >>confdefs.h
<<\_ACEOF
9556 #define HAVE_LIBHAL 1
9559 HALINCL
="$ac_hal_cflags"
9565 CPPFLAGS
="$ac_save_CPPFLAGS"
9569 if test "$ac_cv_header_ncurses_h" = "yes"
9571 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9572 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
9573 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9574 echo $ECHO_N "(cached) $ECHO_C" >&6
9576 ac_check_lib_save_LIBS
=$LIBS
9577 LIBS
="-lncurses $LIBS"
9578 cat >conftest.
$ac_ext <<_ACEOF
9581 cat confdefs.h
>>conftest.
$ac_ext
9582 cat >>conftest.
$ac_ext <<_ACEOF
9583 /* end confdefs.h. */
9585 /* Override any GCC internal prototype to avoid an error.
9586 Use char because int might match the return type of a GCC
9587 builtin and then its argument prototype would still apply. */
9600 rm -f conftest.
$ac_objext conftest
$ac_exeext
9601 if { (ac_try
="$ac_link"
9603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9604 *) ac_try_echo=$ac_try;;
9606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9607 (eval "$ac_link") 2>conftest.er1
9609 grep -v '^ *+' conftest.er1 >conftest.err
9611 cat conftest.err >&5
9612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9613 (exit $ac_status); } && {
9614 test -z "$ac_c_werror_flag" ||
9615 test ! -s conftest.err
9616 } && test -s conftest$ac_exeext &&
9617 $as_test_x conftest$ac_exeext; then
9618 ac_cv_lib_ncurses_waddch=yes
9620 echo "$as_me: failed program was:" >&5
9621 sed 's/^/| /' conftest.$ac_ext >&5
9623 ac_cv_lib_ncurses_waddch=no
9626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9627 conftest$ac_exeext conftest.$ac_ext
9628 LIBS=$ac_check_lib_save_LIBS
9630 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9631 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
9632 if test $ac_cv_lib_ncurses_waddch = yes; then
9633 CURSESLIBS="-lncurses"
9636 elif test "$ac_cv_header_curses_h" = "yes"
9638 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9639 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
9640 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9641 echo $ECHO_N "(cached) $ECHO_C" >&6
9643 ac_check_lib_save_LIBS=$LIBS
9644 LIBS="-lcurses $LIBS"
9645 cat >conftest.$ac_ext <<_ACEOF
9648 cat confdefs.h >>conftest.$ac_ext
9649 cat >>conftest.$ac_ext <<_ACEOF
9650 /* end confdefs.h. */
9652 /* Override any GCC internal prototype to avoid an error.
9653 Use char because int might match the return type of a GCC
9654 builtin and then its argument prototype would still apply. */
9667 rm -f conftest.$ac_objext conftest$ac_exeext
9668 if { (ac_try="$ac_link"
9670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9671 *) ac_try_echo
=$ac_try;;
9673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9674 (eval "$ac_link") 2>conftest.er1
9676 grep -v '^ *+' conftest.er1
>conftest.err
9678 cat conftest.err
>&5
9679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9680 (exit $ac_status); } && {
9681 test -z "$ac_c_werror_flag" ||
9682 test ! -s conftest.err
9683 } && test -s conftest
$ac_exeext &&
9684 $as_test_x conftest
$ac_exeext; then
9685 ac_cv_lib_curses_waddch
=yes
9687 echo "$as_me: failed program was:" >&5
9688 sed 's/^/| /' conftest.
$ac_ext >&5
9690 ac_cv_lib_curses_waddch
=no
9693 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9694 conftest
$ac_exeext conftest.
$ac_ext
9695 LIBS
=$ac_check_lib_save_LIBS
9697 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9698 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
9699 if test $ac_cv_lib_curses_waddch = yes; then
9700 CURSESLIBS
="-lcurses"
9704 ac_save_LIBS
="$LIBS"
9705 LIBS
="$LIBS $CURSESLIBS"
9707 for ac_func
in mousemask
9709 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9710 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9712 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9713 echo $ECHO_N "(cached) $ECHO_C" >&6
9715 cat >conftest.
$ac_ext <<_ACEOF
9718 cat confdefs.h
>>conftest.
$ac_ext
9719 cat >>conftest.
$ac_ext <<_ACEOF
9720 /* end confdefs.h. */
9721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9723 #define $ac_func innocuous_$ac_func
9725 /* System header to define __stub macros and hopefully few prototypes,
9726 which can conflict with char $ac_func (); below.
9727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9728 <limits.h> exists even on freestanding compilers. */
9731 # include <limits.h>
9733 # include <assert.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. */
9745 /* The GNU C library defines this for functions which it implements
9746 to always fail with ENOSYS. Some functions are actually named
9747 something starting with __ and the normal name is an alias. */
9748 #if defined __stub_$ac_func || defined __stub___$ac_func
9760 rm -f conftest.
$ac_objext conftest
$ac_exeext
9761 if { (ac_try
="$ac_link"
9763 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9764 *) ac_try_echo=$ac_try;;
9766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9767 (eval "$ac_link") 2>conftest.er1
9769 grep -v '^ *+' conftest.er1 >conftest.err
9771 cat conftest.err >&5
9772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9773 (exit $ac_status); } && {
9774 test -z "$ac_c_werror_flag" ||
9775 test ! -s conftest.err
9776 } && test -s conftest$ac_exeext &&
9777 $as_test_x conftest$ac_exeext; then
9778 eval "$as_ac_var=yes"
9780 echo "$as_me: failed program was:" >&5
9781 sed 's/^/| /' conftest.$ac_ext >&5
9783 eval "$as_ac_var=no"
9786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9787 conftest$ac_exeext conftest.$ac_ext
9789 ac_res=`eval echo '${'$as_ac_var'}'`
9790 { echo "$as_me:$LINENO: result: $ac_res" >&5
9791 echo "${ECHO_T}$ac_res" >&6; }
9792 if test `eval echo '${'$as_ac_var'}'` = yes; then
9793 cat >>confdefs.h <<_ACEOF
9794 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
9800 LIBS="$ac_save_LIBS"
9802 # Extract the first word of "sane-config", so it can be a program name with args.
9803 set dummy sane-config; ac_word=$2
9804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9806 if test "${ac_cv_prog_sane_devel+set}" = set; then
9807 echo $ECHO_N "(cached) $ECHO_C" >&6
9809 if test -n "$sane_devel"; then
9810 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9816 test -z "$as_dir" && as_dir=.
9817 for ac_exec_ext in '' $ac_executable_extensions; do
9818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9819 ac_cv_prog_sane_devel="sane-config"
9820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9827 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9830 sane_devel=$ac_cv_prog_sane_devel
9831 if test -n "$sane_devel"; then
9832 { echo "$as_me:$LINENO: result: $sane_devel" >&5
9833 echo "${ECHO_T}$sane_devel" >&6; }
9835 { echo "$as_me:$LINENO: result: no" >&5
9836 echo "${ECHO_T}no" >&6; }
9844 if test "$sane_devel" != "no"
9846 SANELIBS="`$sane_devel --libs`"
9847 SANEINCL="`$sane_devel --cflags`"
9848 ac_save_CPPFLAGS="$CPPFLAGS"
9849 ac_save_LIBS="$LIBS"
9850 CPPFLAGS="$CPPFLAGS $SANEINCL"
9851 LIBS="$LIBS $SANELIBS"
9852 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9853 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9854 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
9855 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9856 echo $ECHO_N "(cached) $ECHO_C" >&6
9858 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9859 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
9861 # Is the header compilable?
9862 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9863 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
9864 cat >conftest.$ac_ext <<_ACEOF
9867 cat confdefs.h >>conftest.$ac_ext
9868 cat >>conftest.$ac_ext <<_ACEOF
9869 /* end confdefs.h. */
9870 $ac_includes_default
9871 #include <sane/sane.h>
9873 rm -f conftest.$ac_objext
9874 if { (ac_try="$ac_compile"
9876 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9877 *) ac_try_echo
=$ac_try;;
9879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9880 (eval "$ac_compile") 2>conftest.er1
9882 grep -v '^ *+' conftest.er1
>conftest.err
9884 cat conftest.err
>&5
9885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9886 (exit $ac_status); } && {
9887 test -z "$ac_c_werror_flag" ||
9888 test ! -s conftest.err
9889 } && test -s conftest.
$ac_objext; then
9890 ac_header_compiler
=yes
9892 echo "$as_me: failed program was:" >&5
9893 sed 's/^/| /' conftest.
$ac_ext >&5
9895 ac_header_compiler
=no
9898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9899 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9900 echo "${ECHO_T}$ac_header_compiler" >&6; }
9902 # Is the header present?
9903 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9904 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
9905 cat >conftest.
$ac_ext <<_ACEOF
9908 cat confdefs.h
>>conftest.
$ac_ext
9909 cat >>conftest.
$ac_ext <<_ACEOF
9910 /* end confdefs.h. */
9911 #include <sane/sane.h>
9913 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9915 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9916 *) ac_try_echo=$ac_try;;
9918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9919 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9921 grep -v '^ *+' conftest.er1 >conftest.err
9923 cat conftest.err >&5
9924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9925 (exit $ac_status); } >/dev/null && {
9926 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9927 test ! -s conftest.err
9929 ac_header_preproc=yes
9931 echo "$as_me: failed program was:" >&5
9932 sed 's/^/| /' conftest.$ac_ext >&5
9934 ac_header_preproc=no
9937 rm -f conftest.err conftest.$ac_ext
9938 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9939 echo "${ECHO_T}$ac_header_preproc" >&6; }
9941 # So? What about this header?
9942 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9944 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9945 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9946 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
9947 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
9948 ac_header_preproc=yes
9951 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9952 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9953 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9954 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9955 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
9956 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
9957 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
9958 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
9959 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9960 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9961 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
9962 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
9964 ## ------------------------------------ ##
9965 ## Report this to wine-devel@winehq.org ##
9966 ## ------------------------------------ ##
9968 ) | sed "s/^/$as_me: WARNING: /" >&2
9971 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9972 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
9973 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9974 echo $ECHO_N "(cached) $ECHO_C" >&6
9976 ac_cv_header_sane_sane_h=$ac_header_preproc
9978 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9979 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
9982 if test $ac_cv_header_sane_sane_h = yes; then
9983 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
9984 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
9985 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
9986 echo $ECHO_N "(cached) $ECHO_C" >&6
9988 ac_check_lib_save_LIBS=$LIBS
9990 cat >conftest.$ac_ext <<_ACEOF
9993 cat confdefs.h >>conftest.$ac_ext
9994 cat >>conftest.$ac_ext <<_ACEOF
9995 /* end confdefs.h. */
9997 /* Override any GCC internal prototype to avoid an error.
9998 Use char because int might match the return type of a GCC
9999 builtin and then its argument prototype would still apply. */
10007 return sane_open ();
10012 rm -f conftest.$ac_objext conftest$ac_exeext
10013 if { (ac_try="$ac_link"
10014 case "(($ac_try" in
10015 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10016 *) ac_try_echo
=$ac_try;;
10018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10019 (eval "$ac_link") 2>conftest.er1
10021 grep -v '^ *+' conftest.er1
>conftest.err
10023 cat conftest.err
>&5
10024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10025 (exit $ac_status); } && {
10026 test -z "$ac_c_werror_flag" ||
10027 test ! -s conftest.err
10028 } && test -s conftest
$ac_exeext &&
10029 $as_test_x conftest
$ac_exeext; then
10030 ac_cv_lib_sane_sane_open
=yes
10032 echo "$as_me: failed program was:" >&5
10033 sed 's/^/| /' conftest.
$ac_ext >&5
10035 ac_cv_lib_sane_sane_open
=no
10038 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10039 conftest
$ac_exeext conftest.
$ac_ext
10040 LIBS
=$ac_check_lib_save_LIBS
10042 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
10043 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
10044 if test $ac_cv_lib_sane_sane_open = yes; then
10046 cat >>confdefs.h
<<\_ACEOF
10047 #define HAVE_SANE 1
10061 LIBS
="$ac_save_LIBS"
10062 CPPFLAGS
="$ac_save_CPPFLAGS"
10065 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10066 set dummy gphoto2-config
; ac_word
=$2
10067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10069 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
10070 echo $ECHO_N "(cached) $ECHO_C" >&6
10072 if test -n "$gphoto2_devel"; then
10073 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
10075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10076 for as_dir
in $PATH
10079 test -z "$as_dir" && as_dir
=.
10080 for ac_exec_ext
in '' $ac_executable_extensions; do
10081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10082 ac_cv_prog_gphoto2_devel
="gphoto2-config"
10083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10090 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
10093 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
10094 if test -n "$gphoto2_devel"; then
10095 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10096 echo "${ECHO_T}$gphoto2_devel" >&6; }
10098 { echo "$as_me:$LINENO: result: no" >&5
10099 echo "${ECHO_T}no" >&6; }
10103 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10104 set dummy gphoto2-port-config
; ac_word
=$2
10105 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10107 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
10108 echo $ECHO_N "(cached) $ECHO_C" >&6
10110 if test -n "$gphoto2port_devel"; then
10111 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
10113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10114 for as_dir
in $PATH
10117 test -z "$as_dir" && as_dir
=.
10118 for ac_exec_ext
in '' $ac_executable_extensions; do
10119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10120 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
10121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10128 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
10131 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
10132 if test -n "$gphoto2port_devel"; then
10133 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
10134 echo "${ECHO_T}$gphoto2port_devel" >&6; }
10136 { echo "$as_me:$LINENO: result: no" >&5
10137 echo "${ECHO_T}no" >&6; }
10145 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10147 GPHOTO2INCL
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10149 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10152 -L/usr
/lib|
-L/usr
/lib64
) ;;
10153 -L*|
-l*) GPHOTO2LIBS
="$GPHOTO2LIBS $i";;
10156 ac_save_CPPFLAGS
="$CPPFLAGS"
10157 ac_save_LIBS
="$LIBS"
10158 CPPFLAGS
="$CPPFLAGS $GPHOTO2INCL"
10159 LIBS
="$LIBS $GPHOTO2LIBS"
10160 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10161 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10162 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10163 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10164 echo $ECHO_N "(cached) $ECHO_C" >&6
10166 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10167 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10169 # Is the header compilable?
10170 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
10171 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
10172 cat >conftest.
$ac_ext <<_ACEOF
10175 cat confdefs.h
>>conftest.
$ac_ext
10176 cat >>conftest.
$ac_ext <<_ACEOF
10177 /* end confdefs.h. */
10178 $ac_includes_default
10179 #include <gphoto2-camera.h>
10181 rm -f conftest.
$ac_objext
10182 if { (ac_try
="$ac_compile"
10183 case "(($ac_try" in
10184 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10185 *) ac_try_echo=$ac_try;;
10187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10188 (eval "$ac_compile") 2>conftest.er1
10190 grep -v '^ *+' conftest.er1 >conftest.err
10192 cat conftest.err >&5
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); } && {
10195 test -z "$ac_c_werror_flag" ||
10196 test ! -s conftest.err
10197 } && test -s conftest.$ac_objext; then
10198 ac_header_compiler=yes
10200 echo "$as_me: failed program was:" >&5
10201 sed 's/^/| /' conftest.$ac_ext >&5
10203 ac_header_compiler=no
10206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10207 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10208 echo "${ECHO_T}$ac_header_compiler" >&6; }
10210 # Is the header present?
10211 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
10212 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
10213 cat >conftest.$ac_ext <<_ACEOF
10216 cat confdefs.h >>conftest.$ac_ext
10217 cat >>conftest.$ac_ext <<_ACEOF
10218 /* end confdefs.h. */
10219 #include <gphoto2-camera.h>
10221 if { (ac_try="$ac_cpp conftest.$ac_ext"
10222 case "(($ac_try" in
10223 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10224 *) ac_try_echo
=$ac_try;;
10226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10227 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10229 grep -v '^ *+' conftest.er1
>conftest.err
10231 cat conftest.err
>&5
10232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10233 (exit $ac_status); } >/dev
/null
&& {
10234 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10235 test ! -s conftest.err
10237 ac_header_preproc
=yes
10239 echo "$as_me: failed program was:" >&5
10240 sed 's/^/| /' conftest.
$ac_ext >&5
10242 ac_header_preproc
=no
10245 rm -f conftest.err conftest.
$ac_ext
10246 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10247 echo "${ECHO_T}$ac_header_preproc" >&6; }
10249 # So? What about this header?
10250 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10252 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
10253 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10254 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
10255 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
10256 ac_header_preproc
=yes
10259 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
10260 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
10261 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
10262 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
10263 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
10264 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
10265 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
10266 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
10267 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
10268 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
10269 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
10270 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
10272 ## ------------------------------------ ##
10273 ## Report this to wine-devel@winehq.org ##
10274 ## ------------------------------------ ##
10276 ) |
sed "s/^/$as_me: WARNING: /" >&2
10279 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10280 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10281 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10282 echo $ECHO_N "(cached) $ECHO_C" >&6
10284 ac_cv_header_gphoto2_camera_h
=$ac_header_preproc
10286 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10287 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10290 if test $ac_cv_header_gphoto2_camera_h = yes; then
10291 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
10292 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
10293 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
10294 echo $ECHO_N "(cached) $ECHO_C" >&6
10296 ac_check_lib_save_LIBS
=$LIBS
10297 LIBS
="-lgphoto2 $LIBS"
10298 cat >conftest.
$ac_ext <<_ACEOF
10301 cat confdefs.h
>>conftest.
$ac_ext
10302 cat >>conftest.
$ac_ext <<_ACEOF
10303 /* end confdefs.h. */
10305 /* Override any GCC internal prototype to avoid an error.
10306 Use char because int might match the return type of a GCC
10307 builtin and then its argument prototype would still apply. */
10311 char gp_camera_new ();
10315 return gp_camera_new ();
10320 rm -f conftest.
$ac_objext conftest
$ac_exeext
10321 if { (ac_try
="$ac_link"
10322 case "(($ac_try" in
10323 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10324 *) ac_try_echo=$ac_try;;
10326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10327 (eval "$ac_link") 2>conftest.er1
10329 grep -v '^ *+' conftest.er1 >conftest.err
10331 cat conftest.err >&5
10332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333 (exit $ac_status); } && {
10334 test -z "$ac_c_werror_flag" ||
10335 test ! -s conftest.err
10336 } && test -s conftest$ac_exeext &&
10337 $as_test_x conftest$ac_exeext; then
10338 ac_cv_lib_gphoto2_gp_camera_new=yes
10340 echo "$as_me: failed program was:" >&5
10341 sed 's/^/| /' conftest.$ac_ext >&5
10343 ac_cv_lib_gphoto2_gp_camera_new=no
10346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10347 conftest$ac_exeext conftest.$ac_ext
10348 LIBS=$ac_check_lib_save_LIBS
10350 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10351 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10352 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
10354 cat >>confdefs.h <<\_ACEOF
10355 #define HAVE_GPHOTO2 1
10369 LIBS="$ac_save_LIBS"
10370 CPPFLAGS="$ac_save_CPPFLAGS"
10373 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10376 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
10378 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
10379 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
10380 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
10381 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
10382 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10383 cat >conftest.$ac_ext <<_ACEOF
10386 cat confdefs.h >>conftest.$ac_ext
10387 cat >>conftest.$ac_ext <<_ACEOF
10388 /* end confdefs.h. */
10389 #include <unicode/ubidi.h>
10398 rm -f conftest.$ac_objext conftest$ac_exeext
10399 if { (ac_try="$ac_link"
10400 case "(($ac_try" in
10401 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10402 *) ac_try_echo
=$ac_try;;
10404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10405 (eval "$ac_link") 2>conftest.er1
10407 grep -v '^ *+' conftest.er1
>conftest.err
10409 cat conftest.err
>&5
10410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10411 (exit $ac_status); } && {
10412 test -z "$ac_c_werror_flag" ||
10413 test ! -s conftest.err
10414 } && test -s conftest
$ac_exeext &&
10415 $as_test_x conftest
$ac_exeext; then
10417 cat >>confdefs.h
<<\_ACEOF
10421 ICULIBS
="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10423 { echo "$as_me:$LINENO: result: yes" >&5
10424 echo "${ECHO_T}yes" >&6; }
10426 echo "$as_me: failed program was:" >&5
10427 sed 's/^/| /' conftest.
$ac_ext >&5
10429 { echo "$as_me:$LINENO: result: no" >&5
10430 echo "${ECHO_T}no" >&6; }
10433 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10434 conftest
$ac_exeext conftest.
$ac_ext
10441 if test "$ac_cv_header_resolv_h" = "yes"
10443 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
10444 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
10445 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
10446 echo $ECHO_N "(cached) $ECHO_C" >&6
10448 ac_check_lib_save_LIBS
=$LIBS
10449 LIBS
="-lresolv $LIBS"
10450 cat >conftest.
$ac_ext <<_ACEOF
10453 cat confdefs.h
>>conftest.
$ac_ext
10454 cat >>conftest.
$ac_ext <<_ACEOF
10455 /* end confdefs.h. */
10457 /* Override any GCC internal prototype to avoid an error.
10458 Use char because int might match the return type of a GCC
10459 builtin and then its argument prototype would still apply. */
10467 return res_query ();
10472 rm -f conftest.
$ac_objext conftest
$ac_exeext
10473 if { (ac_try
="$ac_link"
10474 case "(($ac_try" in
10475 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10476 *) ac_try_echo=$ac_try;;
10478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10479 (eval "$ac_link") 2>conftest.er1
10481 grep -v '^ *+' conftest.er1 >conftest.err
10483 cat conftest.err >&5
10484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10485 (exit $ac_status); } && {
10486 test -z "$ac_c_werror_flag" ||
10487 test ! -s conftest.err
10488 } && test -s conftest$ac_exeext &&
10489 $as_test_x conftest$ac_exeext; then
10490 ac_cv_lib_resolv_res_query=yes
10492 echo "$as_me: failed program was:" >&5
10493 sed 's/^/| /' conftest.$ac_ext >&5
10495 ac_cv_lib_resolv_res_query=no
10498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10499 conftest$ac_exeext conftest.$ac_ext
10500 LIBS=$ac_check_lib_save_LIBS
10502 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
10503 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
10504 if test $ac_cv_lib_resolv_res_query = yes; then
10506 cat >>confdefs.h <<\_ACEOF
10507 #define HAVE_RESOLV 1
10510 RESOLVLIBS="-lresolv"
10517 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10519 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
10520 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
10521 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
10522 echo $ECHO_N "(cached) $ECHO_C" >&6
10524 ac_check_lib_save_LIBS=$LIBS
10525 LIBS="-llcms $LIBS"
10526 cat >conftest.$ac_ext <<_ACEOF
10529 cat confdefs.h >>conftest.$ac_ext
10530 cat >>conftest.$ac_ext <<_ACEOF
10531 /* end confdefs.h. */
10533 /* Override any GCC internal prototype to avoid an error.
10534 Use char because int might match the return type of a GCC
10535 builtin and then its argument prototype would still apply. */
10539 char cmsOpenProfileFromFile ();
10543 return cmsOpenProfileFromFile ();
10548 rm -f conftest.$ac_objext conftest$ac_exeext
10549 if { (ac_try="$ac_link"
10550 case "(($ac_try" in
10551 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10552 *) ac_try_echo
=$ac_try;;
10554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10555 (eval "$ac_link") 2>conftest.er1
10557 grep -v '^ *+' conftest.er1
>conftest.err
10559 cat conftest.err
>&5
10560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10561 (exit $ac_status); } && {
10562 test -z "$ac_c_werror_flag" ||
10563 test ! -s conftest.err
10564 } && test -s conftest
$ac_exeext &&
10565 $as_test_x conftest
$ac_exeext; then
10566 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
10568 echo "$as_me: failed program was:" >&5
10569 sed 's/^/| /' conftest.
$ac_ext >&5
10571 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
10574 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10575 conftest
$ac_exeext conftest.
$ac_ext
10576 LIBS
=$ac_check_lib_save_LIBS
10578 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10579 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10580 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
10582 cat >>confdefs.h
<<\_ACEOF
10583 #define HAVE_LCMS 1
10593 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
10595 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
10596 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
10597 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
10598 echo $ECHO_N "(cached) $ECHO_C" >&6
10600 ac_check_lib_save_LIBS
=$LIBS
10601 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
10602 cat >conftest.
$ac_ext <<_ACEOF
10605 cat confdefs.h
>>conftest.
$ac_ext
10606 cat >>conftest.
$ac_ext <<_ACEOF
10607 /* end confdefs.h. */
10609 /* Override any GCC internal prototype to avoid an error.
10610 Use char because int might match the return type of a GCC
10611 builtin and then its argument prototype would still apply. */
10615 char ldap_initialize ();
10619 return ldap_initialize ();
10624 rm -f conftest.
$ac_objext conftest
$ac_exeext
10625 if { (ac_try
="$ac_link"
10626 case "(($ac_try" in
10627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10628 *) ac_try_echo=$ac_try;;
10630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10631 (eval "$ac_link") 2>conftest.er1
10633 grep -v '^ *+' conftest.er1 >conftest.err
10635 cat conftest.err >&5
10636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10637 (exit $ac_status); } && {
10638 test -z "$ac_c_werror_flag" ||
10639 test ! -s conftest.err
10640 } && test -s conftest$ac_exeext &&
10641 $as_test_x conftest$ac_exeext; then
10642 ac_cv_lib_ldap_r_ldap_initialize=yes
10644 echo "$as_me: failed program was:" >&5
10645 sed 's/^/| /' conftest.$ac_ext >&5
10647 ac_cv_lib_ldap_r_ldap_initialize=no
10650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10651 conftest$ac_exeext conftest.$ac_ext
10652 LIBS=$ac_check_lib_save_LIBS
10654 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
10655 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
10656 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
10657 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
10658 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
10659 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
10660 echo $ECHO_N "(cached) $ECHO_C" >&6
10662 ac_check_lib_save_LIBS=$LIBS
10663 LIBS="-llber $LIBPTHREAD $LIBS"
10664 cat >conftest.$ac_ext <<_ACEOF
10667 cat confdefs.h >>conftest.$ac_ext
10668 cat >>conftest.$ac_ext <<_ACEOF
10669 /* end confdefs.h. */
10671 /* Override any GCC internal prototype to avoid an error.
10672 Use char because int might match the return type of a GCC
10673 builtin and then its argument prototype would still apply. */
10681 return ber_init ();
10686 rm -f conftest.$ac_objext conftest$ac_exeext
10687 if { (ac_try="$ac_link"
10688 case "(($ac_try" in
10689 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10690 *) ac_try_echo
=$ac_try;;
10692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10693 (eval "$ac_link") 2>conftest.er1
10695 grep -v '^ *+' conftest.er1
>conftest.err
10697 cat conftest.err
>&5
10698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10699 (exit $ac_status); } && {
10700 test -z "$ac_c_werror_flag" ||
10701 test ! -s conftest.err
10702 } && test -s conftest
$ac_exeext &&
10703 $as_test_x conftest
$ac_exeext; then
10704 ac_cv_lib_lber_ber_init
=yes
10706 echo "$as_me: failed program was:" >&5
10707 sed 's/^/| /' conftest.
$ac_ext >&5
10709 ac_cv_lib_lber_ber_init
=no
10712 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10713 conftest
$ac_exeext conftest.
$ac_ext
10714 LIBS
=$ac_check_lib_save_LIBS
10716 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
10717 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
10718 if test $ac_cv_lib_lber_ber_init = yes; then
10720 cat >>confdefs.h
<<\_ACEOF
10721 #define HAVE_LDAP 1
10724 LDAPLIBS
="-lldap_r -llber"
10729 ac_wine_check_funcs_save_LIBS
="$LIBS"
10730 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
10736 ldap_count_references \
10737 ldap_first_reference \
10738 ldap_next_reference \
10739 ldap_parse_reference
10741 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10742 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10744 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10745 echo $ECHO_N "(cached) $ECHO_C" >&6
10747 cat >conftest.
$ac_ext <<_ACEOF
10750 cat confdefs.h
>>conftest.
$ac_ext
10751 cat >>conftest.
$ac_ext <<_ACEOF
10752 /* end confdefs.h. */
10753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10755 #define $ac_func innocuous_$ac_func
10757 /* System header to define __stub macros and hopefully few prototypes,
10758 which can conflict with char $ac_func (); below.
10759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10760 <limits.h> exists even on freestanding compilers. */
10763 # include <limits.h>
10765 # include <assert.h>
10770 /* Override any GCC internal prototype to avoid an error.
10771 Use char because int might match the return type of a GCC
10772 builtin and then its argument prototype would still apply. */
10777 /* The GNU C library defines this for functions which it implements
10778 to always fail with ENOSYS. Some functions are actually named
10779 something starting with __ and the normal name is an alias. */
10780 #if defined __stub_$ac_func || defined __stub___$ac_func
10787 return $ac_func ();
10792 rm -f conftest.
$ac_objext conftest
$ac_exeext
10793 if { (ac_try
="$ac_link"
10794 case "(($ac_try" in
10795 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10796 *) ac_try_echo=$ac_try;;
10798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10799 (eval "$ac_link") 2>conftest.er1
10801 grep -v '^ *+' conftest.er1 >conftest.err
10803 cat conftest.err >&5
10804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10805 (exit $ac_status); } && {
10806 test -z "$ac_c_werror_flag" ||
10807 test ! -s conftest.err
10808 } && test -s conftest$ac_exeext &&
10809 $as_test_x conftest$ac_exeext; then
10810 eval "$as_ac_var=yes"
10812 echo "$as_me: failed program was:" >&5
10813 sed 's/^/| /' conftest.$ac_ext >&5
10815 eval "$as_ac_var=no"
10818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10819 conftest$ac_exeext conftest.$ac_ext
10821 ac_res=`eval echo '${'$as_ac_var'}'`
10822 { echo "$as_me:$LINENO: result: $ac_res" >&5
10823 echo "${ECHO_T}$ac_res" >&6; }
10824 if test `eval echo '${'$as_ac_var'}'` = yes; then
10825 cat >>confdefs.h <<_ACEOF
10826 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
10832 LIBS="$ac_wine_check_funcs_save_LIBS"
10839 # Extract the first word of "freetype-config", so it can be a program name with args.
10840 set dummy freetype-config; ac_word=$2
10841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10843 if test "${ac_cv_prog_ft_devel+set}" = set; then
10844 echo $ECHO_N "(cached) $ECHO_C" >&6
10846 if test -n "$ft_devel"; then
10847 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10850 for as_dir in $PATH
10853 test -z "$as_dir" && as_dir=.
10854 for ac_exec_ext in '' $ac_executable_extensions; do
10855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10856 ac_cv_prog_ft_devel="freetype-config"
10857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10864 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
10867 ft_devel=$ac_cv_prog_ft_devel
10868 if test -n "$ft_devel"; then
10869 { echo "$as_me:$LINENO: result: $ft_devel" >&5
10870 echo "${ECHO_T}$ft_devel" >&6; }
10872 { echo "$as_me:$LINENO: result: no" >&5
10873 echo "${ECHO_T}no" >&6; }
10877 if test "$ft_devel" = "no"
10879 # Extract the first word of "freetype2-config", so it can be a program name with args.
10880 set dummy freetype2-config; ac_word=$2
10881 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10883 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10884 echo $ECHO_N "(cached) $ECHO_C" >&6
10886 if test -n "$ft_devel2"; then
10887 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
10889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10890 for as_dir in $PATH
10893 test -z "$as_dir" && as_dir=.
10894 for ac_exec_ext in '' $ac_executable_extensions; do
10895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10896 ac_cv_prog_ft_devel2="freetype2-config"
10897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10904 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
10907 ft_devel2=$ac_cv_prog_ft_devel2
10908 if test -n "$ft_devel2"; then
10909 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
10910 echo "${ECHO_T}$ft_devel2" >&6; }
10912 { echo "$as_me:$LINENO: result: no" >&5
10913 echo "${ECHO_T}no" >&6; }
10917 if test "$ft_devel2" = "freetype2-config"
10919 ft_devel=$ft_devel2
10923 if test "$ft_devel" = "no"
10925 wine_cv_msg_freetype=yes
10927 FREETYPELIBS=`$ft_devel --libs`
10928 FREETYPEINCL=`$ft_devel --cflags`
10929 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10930 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
10931 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10932 echo $ECHO_N "(cached) $ECHO_C" >&6
10934 ac_check_lib_save_LIBS=$LIBS
10935 LIBS="-lfreetype $FREETYPELIBS $LIBS"
10936 cat >conftest.$ac_ext <<_ACEOF
10939 cat confdefs.h >>conftest.$ac_ext
10940 cat >>conftest.$ac_ext <<_ACEOF
10941 /* end confdefs.h. */
10943 /* Override any GCC internal prototype to avoid an error.
10944 Use char because int might match the return type of a GCC
10945 builtin and then its argument prototype would still apply. */
10949 char FT_Init_FreeType ();
10953 return FT_Init_FreeType ();
10958 rm -f conftest.$ac_objext conftest$ac_exeext
10959 if { (ac_try="$ac_link"
10960 case "(($ac_try" in
10961 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10962 *) ac_try_echo
=$ac_try;;
10964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10965 (eval "$ac_link") 2>conftest.er1
10967 grep -v '^ *+' conftest.er1
>conftest.err
10969 cat conftest.err
>&5
10970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10971 (exit $ac_status); } && {
10972 test -z "$ac_c_werror_flag" ||
10973 test ! -s conftest.err
10974 } && test -s conftest
$ac_exeext &&
10975 $as_test_x conftest
$ac_exeext; then
10976 ac_cv_lib_freetype_FT_Init_FreeType
=yes
10978 echo "$as_me: failed program was:" >&5
10979 sed 's/^/| /' conftest.
$ac_ext >&5
10981 ac_cv_lib_freetype_FT_Init_FreeType
=no
10984 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10985 conftest
$ac_exeext conftest.
$ac_ext
10986 LIBS
=$ac_check_lib_save_LIBS
10988 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10989 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
10990 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10996 if test "$ft_lib" = "no"
10998 wine_cv_msg_freetype
=yes
11002 ac_save_CPPFLAGS
="$CPPFLAGS"
11003 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
11015 for ac_header
in ft2build.h \
11016 freetype
/freetype.h \
11017 freetype
/ftglyph.h \
11018 freetype
/tttables.h \
11019 freetype
/ftnames.h \
11020 freetype
/ftsnames.h \
11021 freetype
/ttnameid.h \
11022 freetype
/ftoutln.h \
11023 freetype
/ftwinfnt.h \
11024 freetype
/ftmodapi.h \
11025 freetype
/internal
/sfnt.h
11027 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11028 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11030 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11031 echo $ECHO_N "(cached) $ECHO_C" >&6
11033 cat >conftest.
$ac_ext <<_ACEOF
11036 cat confdefs.h
>>conftest.
$ac_ext
11037 cat >>conftest.
$ac_ext <<_ACEOF
11038 /* end confdefs.h. */
11039 #if HAVE_FT2BUILD_H
11040 #include <ft2build.h>
11043 #include <$ac_header>
11045 rm -f conftest.
$ac_objext
11046 if { (ac_try
="$ac_compile"
11047 case "(($ac_try" in
11048 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11049 *) ac_try_echo=$ac_try;;
11051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11052 (eval "$ac_compile") 2>conftest.er1
11054 grep -v '^ *+' conftest.er1 >conftest.err
11056 cat conftest.err >&5
11057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11058 (exit $ac_status); } && {
11059 test -z "$ac_c_werror_flag" ||
11060 test ! -s conftest.err
11061 } && test -s conftest.$ac_objext; then
11062 eval "$as_ac_Header=yes"
11064 echo "$as_me: failed program was:" >&5
11065 sed 's/^/| /' conftest.$ac_ext >&5
11067 eval "$as_ac_Header=no"
11070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11072 ac_res=`eval echo '${'$as_ac_Header'}'`
11073 { echo "$as_me:$LINENO: result: $ac_res" >&5
11074 echo "${ECHO_T}$ac_res" >&6; }
11075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11076 cat >>confdefs.h <<_ACEOF
11077 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11084 cat >conftest.$ac_ext <<_ACEOF
11087 cat confdefs.h >>conftest.$ac_ext
11088 cat >>conftest.$ac_ext <<_ACEOF
11089 /* end confdefs.h. */
11090 #include <ft2build.h>
11091 #include <freetype/fttrigon.h>
11093 if { (ac_try="$ac_cpp conftest.$ac_ext"
11094 case "(($ac_try" in
11095 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11096 *) ac_try_echo
=$ac_try;;
11098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11099 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11101 grep -v '^ *+' conftest.er1
>conftest.err
11103 cat conftest.err
>&5
11104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11105 (exit $ac_status); } >/dev
/null
&& {
11106 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11107 test ! -s conftest.err
11110 cat >>confdefs.h
<<\_ACEOF
11111 #define HAVE_FREETYPE_FTTRIGON_H 1
11114 wine_cv_fttrigon
=yes
11116 echo "$as_me: failed program was:" >&5
11117 sed 's/^/| /' conftest.
$ac_ext >&5
11119 wine_cv_fttrigon
=no
11122 rm -f conftest.err conftest.
$ac_ext
11123 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
11124 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
11125 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
11126 echo $ECHO_N "(cached) $ECHO_C" >&6
11128 cat >conftest.
$ac_ext <<_ACEOF
11131 cat confdefs.h
>>conftest.
$ac_ext
11132 cat >>conftest.
$ac_ext <<_ACEOF
11133 /* end confdefs.h. */
11134 #include <freetype/ftmodapi.h>
11136 typedef FT_TrueTypeEngineType ac__type_new_;
11140 if ((ac__type_new_ *) 0)
11142 if (sizeof (ac__type_new_))
11148 rm -f conftest.
$ac_objext
11149 if { (ac_try
="$ac_compile"
11150 case "(($ac_try" in
11151 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11152 *) ac_try_echo=$ac_try;;
11154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11155 (eval "$ac_compile") 2>conftest.er1
11157 grep -v '^ *+' conftest.er1 >conftest.err
11159 cat conftest.err >&5
11160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11161 (exit $ac_status); } && {
11162 test -z "$ac_c_werror_flag" ||
11163 test ! -s conftest.err
11164 } && test -s conftest.$ac_objext; then
11165 ac_cv_type_FT_TrueTypeEngineType=yes
11167 echo "$as_me: failed program was:" >&5
11168 sed 's/^/| /' conftest.$ac_ext >&5
11170 ac_cv_type_FT_TrueTypeEngineType=no
11173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11175 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
11176 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
11177 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
11179 cat >>confdefs.h <<_ACEOF
11180 #define HAVE_FT_TRUETYPEENGINETYPE 1
11186 ac_save_CFLAGS="$CFLAGS"
11187 CFLAGS="$CFLAGS $FREETYPELIBS"
11189 for ac_func in FT_Load_Sfnt_Table
11191 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11192 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11194 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11195 echo $ECHO_N "(cached) $ECHO_C" >&6
11197 cat >conftest.$ac_ext <<_ACEOF
11200 cat confdefs.h >>conftest.$ac_ext
11201 cat >>conftest.$ac_ext <<_ACEOF
11202 /* end confdefs.h. */
11203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11205 #define $ac_func innocuous_$ac_func
11207 /* System header to define __stub macros and hopefully few prototypes,
11208 which can conflict with char $ac_func (); below.
11209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11210 <limits.h> exists even on freestanding compilers. */
11213 # include <limits.h>
11215 # include <assert.h>
11220 /* Override any GCC internal prototype to avoid an error.
11221 Use char because int might match the return type of a GCC
11222 builtin and then its argument prototype would still apply. */
11227 /* The GNU C library defines this for functions which it implements
11228 to always fail with ENOSYS. Some functions are actually named
11229 something starting with __ and the normal name is an alias. */
11230 #if defined __stub_$ac_func || defined __stub___$ac_func
11237 return $ac_func ();
11242 rm -f conftest.$ac_objext conftest$ac_exeext
11243 if { (ac_try="$ac_link"
11244 case "(($ac_try" in
11245 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11246 *) ac_try_echo
=$ac_try;;
11248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11249 (eval "$ac_link") 2>conftest.er1
11251 grep -v '^ *+' conftest.er1
>conftest.err
11253 cat conftest.err
>&5
11254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11255 (exit $ac_status); } && {
11256 test -z "$ac_c_werror_flag" ||
11257 test ! -s conftest.err
11258 } && test -s conftest
$ac_exeext &&
11259 $as_test_x conftest
$ac_exeext; then
11260 eval "$as_ac_var=yes"
11262 echo "$as_me: failed program was:" >&5
11263 sed 's/^/| /' conftest.
$ac_ext >&5
11265 eval "$as_ac_var=no"
11268 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11269 conftest
$ac_exeext conftest.
$ac_ext
11271 ac_res
=`eval echo '${'$as_ac_var'}'`
11272 { echo "$as_me:$LINENO: result: $ac_res" >&5
11273 echo "${ECHO_T}$ac_res" >&6; }
11274 if test `eval echo '${'$as_ac_var'}'` = yes; then
11275 cat >>confdefs.h
<<_ACEOF
11276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11282 CFLAGS
="$ac_save_CFLAGS"
11283 CPPFLAGS
="$ac_save_CPPFLAGS"
11284 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11287 cat >>confdefs.h
<<\_ACEOF
11288 #define HAVE_FREETYPE 1
11291 wine_cv_msg_freetype
=no
11295 wine_cv_msg_freetype
=yes
11300 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
11302 FONTSSUBDIRS
="fonts"
11306 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
11307 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
11308 if test "${ac_cv_c_ppdev+set}" = set; then
11309 echo $ECHO_N "(cached) $ECHO_C" >&6
11311 cat >conftest.
$ac_ext <<_ACEOF
11314 cat confdefs.h
>>conftest.
$ac_ext
11315 cat >>conftest.
$ac_ext <<_ACEOF
11316 /* end confdefs.h. */
11317 #include <linux/ppdev.h>
11321 ioctl (1,PPCLAIM,0)
11326 rm -f conftest.
$ac_objext
11327 if { (ac_try
="$ac_compile"
11328 case "(($ac_try" in
11329 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11330 *) ac_try_echo=$ac_try;;
11332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11333 (eval "$ac_compile") 2>conftest.er1
11335 grep -v '^ *+' conftest.er1 >conftest.err
11337 cat conftest.err >&5
11338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11339 (exit $ac_status); } && {
11340 test -z "$ac_c_werror_flag" ||
11341 test ! -s conftest.err
11342 } && test -s conftest.$ac_objext; then
11343 ac_cv_c_ppdev="yes"
11345 echo "$as_me: failed program was:" >&5
11346 sed 's/^/| /' conftest.$ac_ext >&5
11351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11354 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
11355 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
11356 if test "$ac_cv_c_ppdev" = "yes"
11359 cat >>confdefs.h <<\_ACEOF
11360 #define HAVE_PPDEV 1
11365 { echo "$as_me:$LINENO: checking for va_copy" >&5
11366 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
11367 if test "${ac_cv_c_va_copy+set}" = set; then
11368 echo $ECHO_N "(cached) $ECHO_C" >&6
11370 cat >conftest.$ac_ext <<_ACEOF
11373 cat confdefs.h >>conftest.$ac_ext
11374 cat >>conftest.$ac_ext <<_ACEOF
11375 /* end confdefs.h. */
11376 #include <stdarg.h>
11387 rm -f conftest.$ac_objext conftest$ac_exeext
11388 if { (ac_try="$ac_link"
11389 case "(($ac_try" in
11390 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11391 *) ac_try_echo
=$ac_try;;
11393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11394 (eval "$ac_link") 2>conftest.er1
11396 grep -v '^ *+' conftest.er1
>conftest.err
11398 cat conftest.err
>&5
11399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11400 (exit $ac_status); } && {
11401 test -z "$ac_c_werror_flag" ||
11402 test ! -s conftest.err
11403 } && test -s conftest
$ac_exeext &&
11404 $as_test_x conftest
$ac_exeext; then
11405 ac_cv_c_va_copy
="yes"
11407 echo "$as_me: failed program was:" >&5
11408 sed 's/^/| /' conftest.
$ac_ext >&5
11410 ac_cv_c_va_copy
="no"
11413 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11414 conftest
$ac_exeext conftest.
$ac_ext
11417 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
11418 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
11419 if test "$ac_cv_c_va_copy" = "yes"
11422 cat >>confdefs.h
<<\_ACEOF
11423 #define HAVE_VA_COPY 1
11427 { echo "$as_me:$LINENO: checking for __va_copy" >&5
11428 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
11429 if test "${ac_cv_c___va_copy+set}" = set; then
11430 echo $ECHO_N "(cached) $ECHO_C" >&6
11432 cat >conftest.
$ac_ext <<_ACEOF
11435 cat confdefs.h
>>conftest.
$ac_ext
11436 cat >>conftest.
$ac_ext <<_ACEOF
11437 /* end confdefs.h. */
11438 #include <stdarg.h>
11443 __va_copy(ap1,ap2);
11449 rm -f conftest.
$ac_objext conftest
$ac_exeext
11450 if { (ac_try
="$ac_link"
11451 case "(($ac_try" in
11452 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11453 *) ac_try_echo=$ac_try;;
11455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11456 (eval "$ac_link") 2>conftest.er1
11458 grep -v '^ *+' conftest.er1 >conftest.err
11460 cat conftest.err >&5
11461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11462 (exit $ac_status); } && {
11463 test -z "$ac_c_werror_flag" ||
11464 test ! -s conftest.err
11465 } && test -s conftest$ac_exeext &&
11466 $as_test_x conftest$ac_exeext; then
11467 ac_cv_c___va_copy="yes"
11469 echo "$as_me: failed program was:" >&5
11470 sed 's/^/| /' conftest.$ac_ext >&5
11472 ac_cv_c___va_copy="no"
11475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11476 conftest$ac_exeext conftest.$ac_ext
11479 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
11480 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
11481 if test "$ac_cv_c___va_copy" = "yes"
11484 cat >>confdefs.h <<\_ACEOF
11485 #define HAVE___VA_COPY 1
11490 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
11491 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
11492 if test "${ac_cv_c_sigsetjmp+set}" = set; then
11493 echo $ECHO_N "(cached) $ECHO_C" >&6
11495 cat >conftest.$ac_ext <<_ACEOF
11498 cat confdefs.h >>conftest.$ac_ext
11499 cat >>conftest.$ac_ext <<_ACEOF
11500 /* end confdefs.h. */
11501 #include <setjmp.h>
11506 sigsetjmp( buf, 1 );
11507 siglongjmp( buf, 1 );
11512 rm -f conftest.$ac_objext conftest$ac_exeext
11513 if { (ac_try="$ac_link"
11514 case "(($ac_try" in
11515 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11516 *) ac_try_echo
=$ac_try;;
11518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11519 (eval "$ac_link") 2>conftest.er1
11521 grep -v '^ *+' conftest.er1
>conftest.err
11523 cat conftest.err
>&5
11524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11525 (exit $ac_status); } && {
11526 test -z "$ac_c_werror_flag" ||
11527 test ! -s conftest.err
11528 } && test -s conftest
$ac_exeext &&
11529 $as_test_x conftest
$ac_exeext; then
11530 ac_cv_c_sigsetjmp
="yes"
11532 echo "$as_me: failed program was:" >&5
11533 sed 's/^/| /' conftest.
$ac_ext >&5
11535 ac_cv_c_sigsetjmp
="no"
11538 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11539 conftest
$ac_exeext conftest.
$ac_ext
11542 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11543 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
11544 if test "$ac_cv_c_sigsetjmp" = "yes"
11547 cat >>confdefs.h
<<\_ACEOF
11548 #define HAVE_SIGSETJMP 1
11553 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11554 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
11555 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11556 echo $ECHO_N "(cached) $ECHO_C" >&6
11558 cat >conftest.
$ac_ext <<_ACEOF
11561 cat confdefs.h
>>conftest.
$ac_ext
11562 cat >>conftest.
$ac_ext <<_ACEOF
11563 /* end confdefs.h. */
11564 #define _GNU_SOURCE
11565 #include <pthread.h>
11567 typedef pthread_rwlock_t ac__type_new_;
11571 if ((ac__type_new_ *) 0)
11573 if (sizeof (ac__type_new_))
11579 rm -f conftest.
$ac_objext
11580 if { (ac_try
="$ac_compile"
11581 case "(($ac_try" in
11582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11583 *) ac_try_echo=$ac_try;;
11585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11586 (eval "$ac_compile") 2>conftest.er1
11588 grep -v '^ *+' conftest.er1 >conftest.err
11590 cat conftest.err >&5
11591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11592 (exit $ac_status); } && {
11593 test -z "$ac_c_werror_flag" ||
11594 test ! -s conftest.err
11595 } && test -s conftest.$ac_objext; then
11596 ac_cv_type_pthread_rwlock_t=yes
11598 echo "$as_me: failed program was:" >&5
11599 sed 's/^/| /' conftest.$ac_ext >&5
11601 ac_cv_type_pthread_rwlock_t=no
11604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11606 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11607 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
11608 if test $ac_cv_type_pthread_rwlock_t = yes; then
11610 cat >>confdefs.h <<_ACEOF
11611 #define HAVE_PTHREAD_RWLOCK_T 1
11616 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11617 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
11618 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11619 echo $ECHO_N "(cached) $ECHO_C" >&6
11621 cat >conftest.$ac_ext <<_ACEOF
11624 cat confdefs.h >>conftest.$ac_ext
11625 cat >>conftest.$ac_ext <<_ACEOF
11626 /* end confdefs.h. */
11627 #define _GNU_SOURCE
11628 #include <pthread.h>
11630 typedef pthread_rwlockattr_t ac__type_new_;
11634 if ((ac__type_new_ *) 0)
11636 if (sizeof (ac__type_new_))
11642 rm -f conftest.$ac_objext
11643 if { (ac_try="$ac_compile"
11644 case "(($ac_try" in
11645 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11646 *) ac_try_echo
=$ac_try;;
11648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11649 (eval "$ac_compile") 2>conftest.er1
11651 grep -v '^ *+' conftest.er1
>conftest.err
11653 cat conftest.err
>&5
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); } && {
11656 test -z "$ac_c_werror_flag" ||
11657 test ! -s conftest.err
11658 } && test -s conftest.
$ac_objext; then
11659 ac_cv_type_pthread_rwlockattr_t
=yes
11661 echo "$as_me: failed program was:" >&5
11662 sed 's/^/| /' conftest.
$ac_ext >&5
11664 ac_cv_type_pthread_rwlockattr_t
=no
11667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11669 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11670 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
11671 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11673 cat >>confdefs.h
<<_ACEOF
11674 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11681 ac_wine_check_funcs_save_LIBS
="$LIBS"
11682 LIBS
="$LIBS $LIBPTHREAD"
11688 pthread_attr_get_np \
11689 pthread_getattr_np \
11690 pthread_get_stackaddr_np \
11691 pthread_get_stacksize_np
11693 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11694 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11696 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11697 echo $ECHO_N "(cached) $ECHO_C" >&6
11699 cat >conftest.
$ac_ext <<_ACEOF
11702 cat confdefs.h
>>conftest.
$ac_ext
11703 cat >>conftest.
$ac_ext <<_ACEOF
11704 /* end confdefs.h. */
11705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11707 #define $ac_func innocuous_$ac_func
11709 /* System header to define __stub macros and hopefully few prototypes,
11710 which can conflict with char $ac_func (); below.
11711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11712 <limits.h> exists even on freestanding compilers. */
11715 # include <limits.h>
11717 # include <assert.h>
11722 /* Override any GCC internal prototype to avoid an error.
11723 Use char because int might match the return type of a GCC
11724 builtin and then its argument prototype would still apply. */
11729 /* The GNU C library defines this for functions which it implements
11730 to always fail with ENOSYS. Some functions are actually named
11731 something starting with __ and the normal name is an alias. */
11732 #if defined __stub_$ac_func || defined __stub___$ac_func
11739 return $ac_func ();
11744 rm -f conftest.
$ac_objext conftest
$ac_exeext
11745 if { (ac_try
="$ac_link"
11746 case "(($ac_try" in
11747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11748 *) ac_try_echo=$ac_try;;
11750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11751 (eval "$ac_link") 2>conftest.er1
11753 grep -v '^ *+' conftest.er1 >conftest.err
11755 cat conftest.err >&5
11756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757 (exit $ac_status); } && {
11758 test -z "$ac_c_werror_flag" ||
11759 test ! -s conftest.err
11760 } && test -s conftest$ac_exeext &&
11761 $as_test_x conftest$ac_exeext; then
11762 eval "$as_ac_var=yes"
11764 echo "$as_me: failed program was:" >&5
11765 sed 's/^/| /' conftest.$ac_ext >&5
11767 eval "$as_ac_var=no"
11770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11771 conftest$ac_exeext conftest.$ac_ext
11773 ac_res=`eval echo '${'$as_ac_var'}'`
11774 { echo "$as_me:$LINENO: result: $ac_res" >&5
11775 echo "${ECHO_T}$ac_res" >&6; }
11776 if test `eval echo '${'$as_ac_var'}'` = yes; then
11777 cat >>confdefs.h <<_ACEOF
11778 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
11784 LIBS="$ac_wine_check_funcs_save_LIBS"
11786 # Extract the first word of "artsc-config", so it can be a program name with args.
11787 set dummy artsc-config; ac_word=$2
11788 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11790 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11791 echo $ECHO_N "(cached) $ECHO_C" >&6
11793 case $ARTSCCONFIG in
11795 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
11798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11799 for as_dir in $PATH
11802 test -z "$as_dir" && as_dir=.
11803 for ac_exec_ext in '' $ac_executable_extensions; do
11804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11805 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
11806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11816 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
11817 if test -n "$ARTSCCONFIG"; then
11818 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11819 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
11821 { echo "$as_me:$LINENO: result: no" >&5
11822 echo "${ECHO_T}no" >&6; }
11826 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
11829 for i in `$ARTSCCONFIG --cflags`
11832 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
11836 for i in `$ARTSCCONFIG --libs`
11839 -L/usr/lib|-L/usr/lib64) ;;
11840 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
11843 save_CFLAGS="$CFLAGS"
11844 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
11845 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
11846 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
11847 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
11848 echo $ECHO_N "(cached) $ECHO_C" >&6
11850 ac_check_lib_save_LIBS=$LIBS
11851 LIBS="-lartsc $ARTSC_LIBS $LIBS"
11852 cat >conftest.$ac_ext <<_ACEOF
11855 cat confdefs.h >>conftest.$ac_ext
11856 cat >>conftest.$ac_ext <<_ACEOF
11857 /* end confdefs.h. */
11859 /* Override any GCC internal prototype to avoid an error.
11860 Use char because int might match the return type of a GCC
11861 builtin and then its argument prototype would still apply. */
11869 return arts_init ();
11874 rm -f conftest.$ac_objext conftest$ac_exeext
11875 if { (ac_try="$ac_link"
11876 case "(($ac_try" in
11877 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11878 *) ac_try_echo
=$ac_try;;
11880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11881 (eval "$ac_link") 2>conftest.er1
11883 grep -v '^ *+' conftest.er1
>conftest.err
11885 cat conftest.err
>&5
11886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887 (exit $ac_status); } && {
11888 test -z "$ac_c_werror_flag" ||
11889 test ! -s conftest.err
11890 } && test -s conftest
$ac_exeext &&
11891 $as_test_x conftest
$ac_exeext; then
11892 ac_cv_lib_artsc_arts_init
=yes
11894 echo "$as_me: failed program was:" >&5
11895 sed 's/^/| /' conftest.
$ac_ext >&5
11897 ac_cv_lib_artsc_arts_init
=no
11900 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11901 conftest
$ac_exeext conftest.
$ac_ext
11902 LIBS
=$ac_check_lib_save_LIBS
11904 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
11905 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
11906 if test $ac_cv_lib_artsc_arts_init = yes; then
11907 cat >conftest.
$ac_ext <<_ACEOF
11910 cat confdefs.h
>>conftest.
$ac_ext
11911 cat >>conftest.
$ac_ext <<_ACEOF
11912 /* end confdefs.h. */
11917 arts_stream_t stream;
11922 rm -f conftest.
$ac_objext
11923 if { (ac_try
="$ac_compile"
11924 case "(($ac_try" in
11925 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11926 *) ac_try_echo=$ac_try;;
11928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11929 (eval "$ac_compile") 2>conftest.er1
11931 grep -v '^ *+' conftest.er1 >conftest.err
11933 cat conftest.err >&5
11934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11935 (exit $ac_status); } && {
11936 test -z "$ac_c_werror_flag" ||
11937 test ! -s conftest.err
11938 } && test -s conftest.$ac_objext; then
11939 ARTSLIBS=$ARTSC_LIBS
11941 ARTSINCL=$ARTSC_CFLAGS
11944 cat >>confdefs.h <<\_ACEOF
11945 #define HAVE_ARTS 1
11949 echo "$as_me: failed program was:" >&5
11950 sed 's/^/| /' conftest.$ac_ext >&5
11955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11958 CFLAGS="$save_CFLAGS"
11961 # Extract the first word of "esd-config", so it can be a program name with args.
11962 set dummy esd-config; ac_word=$2
11963 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11965 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
11966 echo $ECHO_N "(cached) $ECHO_C" >&6
11970 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
11973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11974 for as_dir in $PATH
11977 test -z "$as_dir" && as_dir=.
11978 for ac_exec_ext in '' $ac_executable_extensions; do
11979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11980 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
11981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11991 ESDCONFIG=$ac_cv_path_ESDCONFIG
11992 if test -n "$ESDCONFIG"; then
11993 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
11994 echo "${ECHO_T}$ESDCONFIG" >&6; }
11996 { echo "$as_me:$LINENO: result: no" >&5
11997 echo "${ECHO_T}no" >&6; }
12001 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
12004 for i in `$ESDCONFIG --cflags`
12007 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
12010 ESD_LIBS=`$ESDCONFIG --libs`
12011 save_CFLAGS="$CFLAGS"
12012 CFLAGS="$CFLAGS $ESD_CFLAGS"
12013 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
12014 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
12015 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
12016 echo $ECHO_N "(cached) $ECHO_C" >&6
12018 ac_check_lib_save_LIBS=$LIBS
12020 cat >conftest.$ac_ext <<_ACEOF
12023 cat confdefs.h >>conftest.$ac_ext
12024 cat >>conftest.$ac_ext <<_ACEOF
12025 /* end confdefs.h. */
12027 /* Override any GCC internal prototype to avoid an error.
12028 Use char because int might match the return type of a GCC
12029 builtin and then its argument prototype would still apply. */
12033 char esd_open_sound ();
12037 return esd_open_sound ();
12042 rm -f conftest.$ac_objext conftest$ac_exeext
12043 if { (ac_try="$ac_link"
12044 case "(($ac_try" in
12045 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12046 *) ac_try_echo
=$ac_try;;
12048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12049 (eval "$ac_link") 2>conftest.er1
12051 grep -v '^ *+' conftest.er1
>conftest.err
12053 cat conftest.err
>&5
12054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12055 (exit $ac_status); } && {
12056 test -z "$ac_c_werror_flag" ||
12057 test ! -s conftest.err
12058 } && test -s conftest
$ac_exeext &&
12059 $as_test_x conftest
$ac_exeext; then
12060 ac_cv_lib_esd_esd_open_sound
=yes
12062 echo "$as_me: failed program was:" >&5
12063 sed 's/^/| /' conftest.
$ac_ext >&5
12065 ac_cv_lib_esd_esd_open_sound
=no
12068 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12069 conftest
$ac_exeext conftest.
$ac_ext
12070 LIBS
=$ac_check_lib_save_LIBS
12072 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
12073 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
12074 if test $ac_cv_lib_esd_esd_open_sound = yes; then
12077 ESDINCL
=$ESD_CFLAGS
12080 cat >>confdefs.h
<<\_ACEOF
12086 CFLAGS
="$save_CFLAGS"
12091 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12093 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
12094 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
12095 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
12096 echo $ECHO_N "(cached) $ECHO_C" >&6
12098 ac_check_lib_save_LIBS
=$LIBS
12099 LIBS
="-lasound $LIBS"
12100 cat >conftest.
$ac_ext <<_ACEOF
12103 cat confdefs.h
>>conftest.
$ac_ext
12104 cat >>conftest.
$ac_ext <<_ACEOF
12105 /* end confdefs.h. */
12107 /* Override any GCC internal prototype to avoid an error.
12108 Use char because int might match the return type of a GCC
12109 builtin and then its argument prototype would still apply. */
12113 char snd_pcm_hw_params_get_access ();
12117 return snd_pcm_hw_params_get_access ();
12122 rm -f conftest.
$ac_objext conftest
$ac_exeext
12123 if { (ac_try
="$ac_link"
12124 case "(($ac_try" in
12125 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12126 *) ac_try_echo=$ac_try;;
12128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12129 (eval "$ac_link") 2>conftest.er1
12131 grep -v '^ *+' conftest.er1 >conftest.err
12133 cat conftest.err >&5
12134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12135 (exit $ac_status); } && {
12136 test -z "$ac_c_werror_flag" ||
12137 test ! -s conftest.err
12138 } && test -s conftest$ac_exeext &&
12139 $as_test_x conftest$ac_exeext; then
12140 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
12142 echo "$as_me: failed program was:" >&5
12143 sed 's/^/| /' conftest.$ac_ext >&5
12145 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
12148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12149 conftest$ac_exeext conftest.$ac_ext
12150 LIBS=$ac_check_lib_save_LIBS
12152 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
12153 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
12154 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
12155 cat >conftest.$ac_ext <<_ACEOF
12158 cat confdefs.h >>conftest.$ac_ext
12159 cat >>conftest.$ac_ext <<_ACEOF
12160 /* end confdefs.h. */
12161 #ifdef HAVE_ALSA_ASOUNDLIB_H
12162 #include <alsa/asoundlib.h>
12163 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12164 #include <sys/asoundlib.h>
12169 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
12174 rm -f conftest.$ac_objext
12175 if { (ac_try="$ac_compile"
12176 case "(($ac_try" in
12177 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12178 *) ac_try_echo
=$ac_try;;
12180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12181 (eval "$ac_compile") 2>conftest.er1
12183 grep -v '^ *+' conftest.er1
>conftest.err
12185 cat conftest.err
>&5
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); } && {
12188 test -z "$ac_c_werror_flag" ||
12189 test ! -s conftest.err
12190 } && test -s conftest.
$ac_objext; then
12192 cat >>confdefs.h
<<\_ACEOF
12193 #define HAVE_ALSA 1
12196 ALSALIBS
="-lasound"
12198 echo "$as_me: failed program was:" >&5
12199 sed 's/^/| /' conftest.
$ac_ext >&5
12204 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12212 if test "$ac_cv_header_libaudioio_h" = "yes"
12214 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12215 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
12216 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12217 echo $ECHO_N "(cached) $ECHO_C" >&6
12219 ac_check_lib_save_LIBS
=$LIBS
12220 LIBS
="-laudioio $LIBS"
12221 cat >conftest.
$ac_ext <<_ACEOF
12224 cat confdefs.h
>>conftest.
$ac_ext
12225 cat >>conftest.
$ac_ext <<_ACEOF
12226 /* end confdefs.h. */
12228 /* Override any GCC internal prototype to avoid an error.
12229 Use char because int might match the return type of a GCC
12230 builtin and then its argument prototype would still apply. */
12234 char AudioIOGetVersion ();
12238 return AudioIOGetVersion ();
12243 rm -f conftest.
$ac_objext conftest
$ac_exeext
12244 if { (ac_try
="$ac_link"
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_link") 2>conftest.er1
12252 grep -v '^ *+' conftest.er1 >conftest.err
12254 cat conftest.err >&5
12255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); } && {
12257 test -z "$ac_c_werror_flag" ||
12258 test ! -s conftest.err
12259 } && test -s conftest$ac_exeext &&
12260 $as_test_x conftest$ac_exeext; then
12261 ac_cv_lib_audioio_AudioIOGetVersion=yes
12263 echo "$as_me: failed program was:" >&5
12264 sed 's/^/| /' conftest.$ac_ext >&5
12266 ac_cv_lib_audioio_AudioIOGetVersion=no
12269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12270 conftest$ac_exeext conftest.$ac_ext
12271 LIBS=$ac_check_lib_save_LIBS
12273 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12274 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
12275 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12276 AUDIOIOLIBS="-laudioio"
12278 cat >>confdefs.h <<\_ACEOF
12279 #define HAVE_LIBAUDIOIO 1
12287 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12289 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12290 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
12291 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12292 echo $ECHO_N "(cached) $ECHO_C" >&6
12294 ac_check_lib_save_LIBS=$LIBS
12295 LIBS="-lcapi20 $LIBS"
12296 cat >conftest.$ac_ext <<_ACEOF
12299 cat confdefs.h >>conftest.$ac_ext
12300 cat >>conftest.$ac_ext <<_ACEOF
12301 /* end confdefs.h. */
12303 /* Override any GCC internal prototype to avoid an error.
12304 Use char because int might match the return type of a GCC
12305 builtin and then its argument prototype would still apply. */
12309 char capi20_register ();
12313 return capi20_register ();
12318 rm -f conftest.$ac_objext conftest$ac_exeext
12319 if { (ac_try="$ac_link"
12320 case "(($ac_try" in
12321 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12322 *) ac_try_echo
=$ac_try;;
12324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12325 (eval "$ac_link") 2>conftest.er1
12327 grep -v '^ *+' conftest.er1
>conftest.err
12329 cat conftest.err
>&5
12330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12331 (exit $ac_status); } && {
12332 test -z "$ac_c_werror_flag" ||
12333 test ! -s conftest.err
12334 } && test -s conftest
$ac_exeext &&
12335 $as_test_x conftest
$ac_exeext; then
12336 ac_cv_lib_capi20_capi20_register
=yes
12338 echo "$as_me: failed program was:" >&5
12339 sed 's/^/| /' conftest.
$ac_ext >&5
12341 ac_cv_lib_capi20_capi20_register
=no
12344 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12345 conftest
$ac_exeext conftest.
$ac_ext
12346 LIBS
=$ac_check_lib_save_LIBS
12348 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12349 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
12350 if test $ac_cv_lib_capi20_capi20_register = yes; then
12352 cat >>confdefs.h
<<\_ACEOF
12353 #define HAVE_CAPI4LINUX 1
12363 if test "x${GCC}" = "xyes"
12365 EXTRACFLAGS
="-Wall -pipe"
12367 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12368 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
12369 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12370 echo $ECHO_N "(cached) $ECHO_C" >&6
12372 if test "$cross_compiling" = yes; then
12373 ac_cv_c_gcc_strength_bug
="yes"
12375 cat >conftest.
$ac_ext <<_ACEOF
12378 cat confdefs.h
>>conftest.
$ac_ext
12379 cat >>conftest.
$ac_ext <<_ACEOF
12380 /* end confdefs.h. */
12382 int L[4] = {0,1,2,3};
12384 static int Array[3];
12385 unsigned int B = 3;
12387 for(i=0; i<B; i++) Array[i] = i - 3;
12388 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12391 exit( Array[1] != -2 || L[2] != 3);
12394 rm -f conftest
$ac_exeext
12395 if { (ac_try
="$ac_link"
12396 case "(($ac_try" in
12397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12398 *) ac_try_echo=$ac_try;;
12400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12401 (eval "$ac_link") 2>&5
12403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12404 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12405 { (case "(($ac_try" in
12406 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12407 *) ac_try_echo
=$ac_try;;
12409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12410 (eval "$ac_try") 2>&5
12412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12413 (exit $ac_status); }; }; then
12414 ac_cv_c_gcc_strength_bug
="no"
12416 echo "$as_me: program exited with status $ac_status" >&5
12417 echo "$as_me: failed program was:" >&5
12418 sed 's/^/| /' conftest.
$ac_ext >&5
12420 ( exit $ac_status )
12421 ac_cv_c_gcc_strength_bug
="yes"
12423 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12428 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12429 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
12430 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12432 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12436 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
12437 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
12438 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
12439 echo $ECHO_N "(cached) $ECHO_C" >&6
12441 ac_wine_try_cflags_saved
=$CFLAGS
12442 CFLAGS
="$CFLAGS -fshort-wchar"
12443 cat >conftest.
$ac_ext <<_ACEOF
12446 cat confdefs.h
>>conftest.
$ac_ext
12447 cat >>conftest.
$ac_ext <<_ACEOF
12448 /* end confdefs.h. */
12458 rm -f conftest.
$ac_objext conftest
$ac_exeext
12459 if { (ac_try
="$ac_link"
12460 case "(($ac_try" in
12461 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12462 *) ac_try_echo=$ac_try;;
12464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12465 (eval "$ac_link") 2>conftest.er1
12467 grep -v '^ *+' conftest.er1 >conftest.err
12469 cat conftest.err >&5
12470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471 (exit $ac_status); } && {
12472 test -z "$ac_c_werror_flag" ||
12473 test ! -s conftest.err
12474 } && test -s conftest$ac_exeext &&
12475 $as_test_x conftest$ac_exeext; then
12476 ac_cv_cflags__fshort_wchar=yes
12478 echo "$as_me: failed program was:" >&5
12479 sed 's/^/| /' conftest.$ac_ext >&5
12481 ac_cv_cflags__fshort_wchar=no
12484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12485 conftest$ac_exeext conftest.$ac_ext
12486 CFLAGS=$ac_wine_try_cflags_saved
12488 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
12489 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
12490 if test $ac_cv_cflags__fshort_wchar = yes; then
12492 cat >>confdefs.h <<\_ACEOF
12493 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12498 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
12499 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
12500 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
12501 echo $ECHO_N "(cached) $ECHO_C" >&6
12503 ac_wine_try_cflags_saved=$CFLAGS
12504 CFLAGS="$CFLAGS -fno-strict-aliasing"
12505 cat >conftest.$ac_ext <<_ACEOF
12508 cat confdefs.h >>conftest.$ac_ext
12509 cat >>conftest.$ac_ext <<_ACEOF
12510 /* end confdefs.h. */
12520 rm -f conftest.$ac_objext conftest$ac_exeext
12521 if { (ac_try="$ac_link"
12522 case "(($ac_try" in
12523 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12524 *) ac_try_echo
=$ac_try;;
12526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12527 (eval "$ac_link") 2>conftest.er1
12529 grep -v '^ *+' conftest.er1
>conftest.err
12531 cat conftest.err
>&5
12532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); } && {
12534 test -z "$ac_c_werror_flag" ||
12535 test ! -s conftest.err
12536 } && test -s conftest
$ac_exeext &&
12537 $as_test_x conftest
$ac_exeext; then
12538 ac_cv_cflags__fno_strict_aliasing
=yes
12540 echo "$as_me: failed program was:" >&5
12541 sed 's/^/| /' conftest.
$ac_ext >&5
12543 ac_cv_cflags__fno_strict_aliasing
=no
12546 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12547 conftest
$ac_exeext conftest.
$ac_ext
12548 CFLAGS
=$ac_wine_try_cflags_saved
12550 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12551 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
12552 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
12553 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12556 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12557 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
12558 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
12559 echo $ECHO_N "(cached) $ECHO_C" >&6
12561 ac_wine_try_cflags_saved
=$CFLAGS
12562 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
12563 cat >conftest.
$ac_ext <<_ACEOF
12566 cat confdefs.h
>>conftest.
$ac_ext
12567 cat >>conftest.
$ac_ext <<_ACEOF
12568 /* end confdefs.h. */
12578 rm -f conftest.
$ac_objext conftest
$ac_exeext
12579 if { (ac_try
="$ac_link"
12580 case "(($ac_try" in
12581 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12582 *) ac_try_echo=$ac_try;;
12584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12585 (eval "$ac_link") 2>conftest.er1
12587 grep -v '^ *+' conftest.er1 >conftest.err
12589 cat conftest.err >&5
12590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591 (exit $ac_status); } && {
12592 test -z "$ac_c_werror_flag" ||
12593 test ! -s conftest.err
12594 } && test -s conftest$ac_exeext &&
12595 $as_test_x conftest$ac_exeext; then
12596 ac_cv_cflags__Wdeclaration_after_statement=yes
12598 echo "$as_me: failed program was:" >&5
12599 sed 's/^/| /' conftest.$ac_ext >&5
12601 ac_cv_cflags__Wdeclaration_after_statement=no
12604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12605 conftest$ac_exeext conftest.$ac_ext
12606 CFLAGS=$ac_wine_try_cflags_saved
12608 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12609 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12610 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
12611 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12614 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
12615 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
12616 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
12617 echo $ECHO_N "(cached) $ECHO_C" >&6
12619 ac_wine_try_cflags_saved=$CFLAGS
12620 CFLAGS="$CFLAGS -Wwrite-strings"
12621 cat >conftest.$ac_ext <<_ACEOF
12624 cat confdefs.h >>conftest.$ac_ext
12625 cat >>conftest.$ac_ext <<_ACEOF
12626 /* end confdefs.h. */
12636 rm -f conftest.$ac_objext conftest$ac_exeext
12637 if { (ac_try="$ac_link"
12638 case "(($ac_try" in
12639 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12640 *) ac_try_echo
=$ac_try;;
12642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12643 (eval "$ac_link") 2>conftest.er1
12645 grep -v '^ *+' conftest.er1
>conftest.err
12647 cat conftest.err
>&5
12648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); } && {
12650 test -z "$ac_c_werror_flag" ||
12651 test ! -s conftest.err
12652 } && test -s conftest
$ac_exeext &&
12653 $as_test_x conftest
$ac_exeext; then
12654 ac_cv_cflags__Wwrite_strings
=yes
12656 echo "$as_me: failed program was:" >&5
12657 sed 's/^/| /' conftest.
$ac_ext >&5
12659 ac_cv_cflags__Wwrite_strings
=no
12662 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12663 conftest
$ac_exeext conftest.
$ac_ext
12664 CFLAGS
=$ac_wine_try_cflags_saved
12666 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
12667 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
12668 if test $ac_cv_cflags__Wwrite_strings = yes; then
12669 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
12673 saved_CFLAGS
="$CFLAGS"
12674 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12675 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12676 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
12677 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12678 echo $ECHO_N "(cached) $ECHO_C" >&6
12680 cat >conftest.
$ac_ext <<_ACEOF
12683 cat confdefs.h
>>conftest.
$ac_ext
12684 cat >>conftest.
$ac_ext <<_ACEOF
12685 /* end confdefs.h. */
12686 #include <string.h>
12695 rm -f conftest.
$ac_objext
12696 if { (ac_try
="$ac_compile"
12697 case "(($ac_try" in
12698 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12699 *) ac_try_echo=$ac_try;;
12701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12702 (eval "$ac_compile") 2>conftest.er1
12704 grep -v '^ *+' conftest.er1 >conftest.err
12706 cat conftest.err >&5
12707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12708 (exit $ac_status); } && {
12709 test -z "$ac_c_werror_flag" ||
12710 test ! -s conftest.err
12711 } && test -s conftest.$ac_objext; then
12712 ac_cv_c_string_h_warnings=no
12714 echo "$as_me: failed program was:" >&5
12715 sed 's/^/| /' conftest.$ac_ext >&5
12717 ac_cv_c_string_h_warnings=yes
12720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12722 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12723 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
12724 CFLAGS="$saved_CFLAGS"
12725 if test "$ac_cv_c_string_h_warnings" = "no"
12727 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12732 saved_CFLAGS="$CFLAGS"
12733 CFLAGS="$CFLAGS -Werror"
12734 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
12735 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
12736 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
12737 echo $ECHO_N "(cached) $ECHO_C" >&6
12739 cat >conftest.$ac_ext <<_ACEOF
12742 cat confdefs.h >>conftest.$ac_ext
12743 cat >>conftest.$ac_ext <<_ACEOF
12744 /* end confdefs.h. */
12749 int iswlower(unsigned short);
12754 rm -f conftest.$ac_objext
12755 if { (ac_try="$ac_compile"
12756 case "(($ac_try" in
12757 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12758 *) ac_try_echo
=$ac_try;;
12760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12761 (eval "$ac_compile") 2>conftest.er1
12763 grep -v '^ *+' conftest.er1
>conftest.err
12765 cat conftest.err
>&5
12766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12767 (exit $ac_status); } && {
12768 test -z "$ac_c_werror_flag" ||
12769 test ! -s conftest.err
12770 } && test -s conftest.
$ac_objext; then
12771 ac_cv_c_builtin_wchar_ctype
=no
12773 echo "$as_me: failed program was:" >&5
12774 sed 's/^/| /' conftest.
$ac_ext >&5
12776 ac_cv_c_builtin_wchar_ctype
=yes
12779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12781 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
12782 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
12783 CFLAGS
="$saved_CFLAGS"
12784 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
12786 BUILTINFLAG
="-fno-builtin"
12791 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12792 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
12793 if test "${ac_cv_asm_func_def+set}" = set; then
12794 echo $ECHO_N "(cached) $ECHO_C" >&6
12796 cat >conftest.
$ac_ext <<_ACEOF
12799 cat confdefs.h
>>conftest.
$ac_ext
12800 cat >>conftest.
$ac_ext <<_ACEOF
12801 /* end confdefs.h. */
12802 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"); }
12812 rm -f conftest.
$ac_objext conftest
$ac_exeext
12813 if { (ac_try
="$ac_link"
12814 case "(($ac_try" in
12815 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12816 *) ac_try_echo=$ac_try;;
12818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12819 (eval "$ac_link") 2>conftest.er1
12821 grep -v '^ *+' conftest.er1 >conftest.err
12823 cat conftest.err >&5
12824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12825 (exit $ac_status); } && {
12826 test -z "$ac_c_werror_flag" ||
12827 test ! -s conftest.err
12828 } && test -s conftest$ac_exeext &&
12829 $as_test_x conftest$ac_exeext; then
12830 ac_cv_asm_func_def=".def"
12832 echo "$as_me: failed program was:" >&5
12833 sed 's/^/| /' conftest.$ac_ext >&5
12835 cat >conftest.$ac_ext <<_ACEOF
12838 cat confdefs.h >>conftest.$ac_ext
12839 cat >>conftest.$ac_ext <<_ACEOF
12840 /* end confdefs.h. */
12841 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12851 rm -f conftest.$ac_objext conftest$ac_exeext
12852 if { (ac_try="$ac_link"
12853 case "(($ac_try" in
12854 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12855 *) ac_try_echo
=$ac_try;;
12857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12858 (eval "$ac_link") 2>conftest.er1
12860 grep -v '^ *+' conftest.er1
>conftest.err
12862 cat conftest.err
>&5
12863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12864 (exit $ac_status); } && {
12865 test -z "$ac_c_werror_flag" ||
12866 test ! -s conftest.err
12867 } && test -s conftest
$ac_exeext &&
12868 $as_test_x conftest
$ac_exeext; then
12869 ac_cv_asm_func_def
=".type @function"
12871 echo "$as_me: failed program was:" >&5
12872 sed 's/^/| /' conftest.
$ac_ext >&5
12874 cat >conftest.
$ac_ext <<_ACEOF
12877 cat confdefs.h
>>conftest.
$ac_ext
12878 cat >>conftest.
$ac_ext <<_ACEOF
12879 /* end confdefs.h. */
12880 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12890 rm -f conftest.
$ac_objext conftest
$ac_exeext
12891 if { (ac_try
="$ac_link"
12892 case "(($ac_try" in
12893 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12894 *) ac_try_echo=$ac_try;;
12896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12897 (eval "$ac_link") 2>conftest.er1
12899 grep -v '^ *+' conftest.er1 >conftest.err
12901 cat conftest.err >&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); } && {
12904 test -z "$ac_c_werror_flag" ||
12905 test ! -s conftest.err
12906 } && test -s conftest$ac_exeext &&
12907 $as_test_x conftest$ac_exeext; then
12908 ac_cv_asm_func_def=".type 2"
12910 echo "$as_me: failed program was:" >&5
12911 sed 's/^/| /' conftest.$ac_ext >&5
12913 ac_cv_asm_func_def="unknown"
12916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12917 conftest$ac_exeext conftest.$ac_ext
12920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12921 conftest$ac_exeext conftest.$ac_ext
12924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12925 conftest$ac_exeext conftest.$ac_ext
12927 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12928 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
12932 case "$ac_cv_asm_func_def" in
12934 cat >>confdefs.h <<\_ACEOF
12935 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12939 cat >>confdefs.h <<\_ACEOF
12940 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12944 cat >>confdefs.h <<\_ACEOF
12945 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12949 cat >>confdefs.h <<\_ACEOF
12950 #define __ASM_FUNC(name) ""
12956 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12957 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
12958 if test "${ac_cv_c_extern_prefix+set}" = set; then
12959 echo $ECHO_N "(cached) $ECHO_C" >&6
12961 cat >conftest.$ac_ext <<_ACEOF
12964 cat confdefs.h >>conftest.$ac_ext
12965 cat >>conftest.$ac_ext <<_ACEOF
12966 /* end confdefs.h. */
12967 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12968 extern int ac_test;
12972 if (ac_test) return 1
12977 rm -f conftest.$ac_objext conftest$ac_exeext
12978 if { (ac_try="$ac_link"
12979 case "(($ac_try" in
12980 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12981 *) ac_try_echo
=$ac_try;;
12983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12984 (eval "$ac_link") 2>conftest.er1
12986 grep -v '^ *+' conftest.er1
>conftest.err
12988 cat conftest.err
>&5
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); } && {
12991 test -z "$ac_c_werror_flag" ||
12992 test ! -s conftest.err
12993 } && test -s conftest
$ac_exeext &&
12994 $as_test_x conftest
$ac_exeext; then
12995 ac_cv_c_extern_prefix
="yes"
12997 echo "$as_me: failed program was:" >&5
12998 sed 's/^/| /' conftest.
$ac_ext >&5
13000 ac_cv_c_extern_prefix
="no"
13003 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13004 conftest
$ac_exeext conftest.
$ac_ext
13006 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
13007 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
13011 if test "$ac_cv_c_extern_prefix" = "yes"
13013 cat >>confdefs.h
<<\_ACEOF
13014 #define __ASM_NAME(name) "_" name
13018 cat >>confdefs.h
<<\_ACEOF
13019 #define __ASM_NAME(name) name
13027 DLLFLAGS
="-D_REENTRANT"
13042 if test -n "$ac_tool_prefix"; then
13043 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13044 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
13045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13047 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13048 echo $ECHO_N "(cached) $ECHO_C" >&6
13050 if test -n "$DLLTOOL"; then
13051 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
13053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13054 for as_dir
in $PATH
13057 test -z "$as_dir" && as_dir
=.
13058 for ac_exec_ext
in '' $ac_executable_extensions; do
13059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13060 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
13061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13070 DLLTOOL
=$ac_cv_prog_DLLTOOL
13071 if test -n "$DLLTOOL"; then
13072 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13073 echo "${ECHO_T}$DLLTOOL" >&6; }
13075 { echo "$as_me:$LINENO: result: no" >&5
13076 echo "${ECHO_T}no" >&6; }
13081 if test -z "$ac_cv_prog_DLLTOOL"; then
13082 ac_ct_DLLTOOL
=$DLLTOOL
13083 # Extract the first word of "dlltool", so it can be a program name with args.
13084 set dummy dlltool
; ac_word
=$2
13085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13087 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13088 echo $ECHO_N "(cached) $ECHO_C" >&6
13090 if test -n "$ac_ct_DLLTOOL"; then
13091 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
13093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13094 for as_dir
in $PATH
13097 test -z "$as_dir" && as_dir
=.
13098 for ac_exec_ext
in '' $ac_executable_extensions; do
13099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13100 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
13101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13110 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
13111 if test -n "$ac_ct_DLLTOOL"; then
13112 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13113 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
13115 { echo "$as_me:$LINENO: result: no" >&5
13116 echo "${ECHO_T}no" >&6; }
13119 if test "x$ac_ct_DLLTOOL" = x
; then
13122 case $cross_compiling:$ac_tool_warned in
13124 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13125 whose name does not start with the host triplet. If you think this
13126 configuration is useful to you, please write to autoconf@gnu.org." >&5
13127 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13128 whose name does not start with the host triplet. If you think this
13129 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13130 ac_tool_warned
=yes ;;
13132 DLLTOOL
=$ac_ct_DLLTOOL
13135 DLLTOOL
="$ac_cv_prog_DLLTOOL"
13138 if test -n "$ac_tool_prefix"; then
13139 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13140 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
13141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13143 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13144 echo $ECHO_N "(cached) $ECHO_C" >&6
13146 if test -n "$DLLWRAP"; then
13147 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
13149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13150 for as_dir
in $PATH
13153 test -z "$as_dir" && as_dir
=.
13154 for ac_exec_ext
in '' $ac_executable_extensions; do
13155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13156 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
13157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13166 DLLWRAP
=$ac_cv_prog_DLLWRAP
13167 if test -n "$DLLWRAP"; then
13168 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13169 echo "${ECHO_T}$DLLWRAP" >&6; }
13171 { echo "$as_me:$LINENO: result: no" >&5
13172 echo "${ECHO_T}no" >&6; }
13177 if test -z "$ac_cv_prog_DLLWRAP"; then
13178 ac_ct_DLLWRAP
=$DLLWRAP
13179 # Extract the first word of "dllwrap", so it can be a program name with args.
13180 set dummy dllwrap
; ac_word
=$2
13181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13183 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13184 echo $ECHO_N "(cached) $ECHO_C" >&6
13186 if test -n "$ac_ct_DLLWRAP"; then
13187 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
13189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13190 for as_dir
in $PATH
13193 test -z "$as_dir" && as_dir
=.
13194 for ac_exec_ext
in '' $ac_executable_extensions; do
13195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13196 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
13197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13206 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
13207 if test -n "$ac_ct_DLLWRAP"; then
13208 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13209 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
13211 { echo "$as_me:$LINENO: result: no" >&5
13212 echo "${ECHO_T}no" >&6; }
13215 if test "x$ac_ct_DLLWRAP" = x
; then
13218 case $cross_compiling:$ac_tool_warned in
13220 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13221 whose name does not start with the host triplet. If you think this
13222 configuration is useful to you, please write to autoconf@gnu.org." >&5
13223 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13224 whose name does not start with the host triplet. If you think this
13225 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13226 ac_tool_warned
=yes ;;
13228 DLLWRAP
=$ac_ct_DLLWRAP
13231 DLLWRAP
="$ac_cv_prog_DLLWRAP"
13234 if test -n "$ac_tool_prefix"; then
13235 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13236 set dummy
${ac_tool_prefix}ar; ac_word
=$2
13237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13239 if test "${ac_cv_prog_MINGWAR+set}" = set; then
13240 echo $ECHO_N "(cached) $ECHO_C" >&6
13242 if test -n "$MINGWAR"; then
13243 ac_cv_prog_MINGWAR
="$MINGWAR" # Let the user override the test.
13245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13246 for as_dir
in $PATH
13249 test -z "$as_dir" && as_dir
=.
13250 for ac_exec_ext
in '' $ac_executable_extensions; do
13251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13252 ac_cv_prog_MINGWAR
="${ac_tool_prefix}ar"
13253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13262 MINGWAR
=$ac_cv_prog_MINGWAR
13263 if test -n "$MINGWAR"; then
13264 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
13265 echo "${ECHO_T}$MINGWAR" >&6; }
13267 { echo "$as_me:$LINENO: result: no" >&5
13268 echo "${ECHO_T}no" >&6; }
13273 if test -z "$ac_cv_prog_MINGWAR"; then
13274 ac_ct_MINGWAR
=$MINGWAR
13275 # Extract the first word of "ar", so it can be a program name with args.
13276 set dummy
ar; ac_word
=$2
13277 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13279 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
13280 echo $ECHO_N "(cached) $ECHO_C" >&6
13282 if test -n "$ac_ct_MINGWAR"; then
13283 ac_cv_prog_ac_ct_MINGWAR
="$ac_ct_MINGWAR" # Let the user override the test.
13285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13286 for as_dir
in $PATH
13289 test -z "$as_dir" && as_dir
=.
13290 for ac_exec_ext
in '' $ac_executable_extensions; do
13291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13292 ac_cv_prog_ac_ct_MINGWAR
="ar"
13293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13302 ac_ct_MINGWAR
=$ac_cv_prog_ac_ct_MINGWAR
13303 if test -n "$ac_ct_MINGWAR"; then
13304 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
13305 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
13307 { echo "$as_me:$LINENO: result: no" >&5
13308 echo "${ECHO_T}no" >&6; }
13311 if test "x$ac_ct_MINGWAR" = x
; then
13314 case $cross_compiling:$ac_tool_warned in
13316 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13317 whose name does not start with the host triplet. If you think this
13318 configuration is useful to you, please write to autoconf@gnu.org." >&5
13319 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13320 whose name does not start with the host triplet. If you think this
13321 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13322 ac_tool_warned
=yes ;;
13324 MINGWAR
=$ac_ct_MINGWAR
13327 MINGWAR
="$ac_cv_prog_MINGWAR"
13330 if test "$DLLWRAP" = "false"; then
13342 DLLFLAGS
="$DLLFLAGS -fPIC"
13343 LDDLLFLAGS
="-bundle -multiply_defined suppress"
13344 LIBWINE_LDFLAGS
="-multiply_defined suppress"
13345 LDSHARED
="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
13346 STRIP
="$STRIP -u -r"
13347 COREFOUNDATIONLIB
="-framework CoreFoundation"
13349 IOKITLIB
="-framework IOKit -framework CoreFoundation"
13351 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
13353 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
13355 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
13358 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
13360 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices"
13365 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
13367 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
13369 CARBONLIB
="-framework Carbon"
13371 QUARTZFILES
='$(QUARTZFILES)'
13375 DLLFLAGS
="$DLLFLAGS -fPIC"
13377 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13378 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
13379 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13380 echo $ECHO_N "(cached) $ECHO_C" >&6
13382 ac_wine_try_cflags_saved
=$CFLAGS
13383 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
13384 cat >conftest.
$ac_ext <<_ACEOF
13387 rm -f conftest.
$ac_objext conftest
$ac_exeext
13388 if { (ac_try
="$ac_link"
13389 case "(($ac_try" in
13390 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13391 *) ac_try_echo=$ac_try;;
13393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13394 (eval "$ac_link") 2>conftest.er1
13396 grep -v '^ *+' conftest.er1 >conftest.err
13398 cat conftest.err >&5
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); } && {
13401 test -z "$ac_c_werror_flag" ||
13402 test ! -s conftest.err
13403 } && test -s conftest$ac_exeext &&
13404 $as_test_x conftest$ac_exeext; then
13405 ac_cv_c_dll_gnuelf="yes"
13407 echo "$as_me: failed program was:" >&5
13408 sed 's/^/| /' conftest.$ac_ext >&5
13410 ac_cv_c_dll_gnuelf="no"
13413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13414 conftest$ac_exeext conftest.$ac_ext
13415 CFLAGS=$ac_wine_try_cflags_saved
13417 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13418 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
13419 if test "$ac_cv_c_dll_gnuelf" = "yes"
13421 LDSHARED="\$(CC) -shared"
13422 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
13423 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
13424 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
13425 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
13426 echo $ECHO_N "(cached) $ECHO_C" >&6
13428 ac_wine_try_cflags_saved=$CFLAGS
13429 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
13430 cat >conftest.$ac_ext <<_ACEOF
13433 cat confdefs.h >>conftest.$ac_ext
13434 cat >>conftest.$ac_ext <<_ACEOF
13435 /* end confdefs.h. */
13445 rm -f conftest.$ac_objext conftest$ac_exeext
13446 if { (ac_try="$ac_link"
13447 case "(($ac_try" in
13448 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13449 *) ac_try_echo
=$ac_try;;
13451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13452 (eval "$ac_link") 2>conftest.er1
13454 grep -v '^ *+' conftest.er1
>conftest.err
13456 cat conftest.err
>&5
13457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458 (exit $ac_status); } && {
13459 test -z "$ac_c_werror_flag" ||
13460 test ! -s conftest.err
13461 } && test -s conftest
$ac_exeext &&
13462 $as_test_x conftest
$ac_exeext; then
13463 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
13465 echo "$as_me: failed program was:" >&5
13466 sed 's/^/| /' conftest.
$ac_ext >&5
13468 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
13471 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13472 conftest
$ac_exeext conftest.
$ac_ext
13473 CFLAGS
=$ac_wine_try_cflags_saved
13475 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
13476 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
13477 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
13478 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13480 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
13481 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
13482 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
13483 echo $ECHO_N "(cached) $ECHO_C" >&6
13485 ac_wine_try_cflags_saved
=$CFLAGS
13486 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
13487 cat >conftest.
$ac_ext <<_ACEOF
13490 cat confdefs.h
>>conftest.
$ac_ext
13491 cat >>conftest.
$ac_ext <<_ACEOF
13492 /* end confdefs.h. */
13502 rm -f conftest.
$ac_objext conftest
$ac_exeext
13503 if { (ac_try
="$ac_link"
13504 case "(($ac_try" in
13505 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13506 *) ac_try_echo=$ac_try;;
13508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13509 (eval "$ac_link") 2>conftest.er1
13511 grep -v '^ *+' conftest.er1 >conftest.err
13513 cat conftest.err >&5
13514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13515 (exit $ac_status); } && {
13516 test -z "$ac_c_werror_flag" ||
13517 test ! -s conftest.err
13518 } && test -s conftest$ac_exeext &&
13519 $as_test_x conftest$ac_exeext; then
13520 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
13522 echo "$as_me: failed program was:" >&5
13523 sed 's/^/| /' conftest.$ac_ext >&5
13525 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
13528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13529 conftest$ac_exeext conftest.$ac_ext
13530 CFLAGS=$ac_wine_try_cflags_saved
13532 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
13533 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
13534 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
13535 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
13541 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
13542 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
13543 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
13544 echo $ECHO_N "(cached) $ECHO_C" >&6
13546 ac_wine_try_cflags_saved=$CFLAGS
13547 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13548 cat >conftest.$ac_ext <<_ACEOF
13551 cat confdefs.h >>conftest.$ac_ext
13552 cat >>conftest.$ac_ext <<_ACEOF
13553 /* end confdefs.h. */
13563 rm -f conftest.$ac_objext conftest$ac_exeext
13564 if { (ac_try="$ac_link"
13565 case "(($ac_try" in
13566 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13567 *) ac_try_echo
=$ac_try;;
13569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13570 (eval "$ac_link") 2>conftest.er1
13572 grep -v '^ *+' conftest.er1
>conftest.err
13574 cat conftest.err
>&5
13575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13576 (exit $ac_status); } && {
13577 test -z "$ac_c_werror_flag" ||
13578 test ! -s conftest.err
13579 } && test -s conftest
$ac_exeext &&
13580 $as_test_x conftest
$ac_exeext; then
13581 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
13583 echo "$as_me: failed program was:" >&5
13584 sed 's/^/| /' conftest.
$ac_ext >&5
13586 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
13589 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13590 conftest
$ac_exeext conftest.
$ac_ext
13591 CFLAGS
=$ac_wine_try_cflags_saved
13593 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
13594 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
13595 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
13596 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
13600 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
13601 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
13602 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
13603 echo $ECHO_N "(cached) $ECHO_C" >&6
13605 ac_wine_try_cflags_saved
=$CFLAGS
13606 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13607 cat >conftest.
$ac_ext <<_ACEOF
13610 cat confdefs.h
>>conftest.
$ac_ext
13611 cat >>conftest.
$ac_ext <<_ACEOF
13612 /* end confdefs.h. */
13622 rm -f conftest.
$ac_objext conftest
$ac_exeext
13623 if { (ac_try
="$ac_link"
13624 case "(($ac_try" in
13625 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13626 *) ac_try_echo=$ac_try;;
13628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13629 (eval "$ac_link") 2>conftest.er1
13631 grep -v '^ *+' conftest.er1 >conftest.err
13633 cat conftest.err >&5
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); } && {
13636 test -z "$ac_c_werror_flag" ||
13637 test ! -s conftest.err
13638 } && test -s conftest$ac_exeext &&
13639 $as_test_x conftest$ac_exeext; then
13640 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
13642 echo "$as_me: failed program was:" >&5
13643 sed 's/^/| /' conftest.$ac_ext >&5
13645 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
13648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13649 conftest$ac_exeext conftest.$ac_ext
13650 CFLAGS=$ac_wine_try_cflags_saved
13652 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
13653 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
13654 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
13655 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13659 echo '{ global: *; };' >conftest.map
13660 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
13661 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
13662 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
13663 echo $ECHO_N "(cached) $ECHO_C" >&6
13665 ac_wine_try_cflags_saved=$CFLAGS
13666 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13667 cat >conftest.$ac_ext <<_ACEOF
13670 cat confdefs.h >>conftest.$ac_ext
13671 cat >>conftest.$ac_ext <<_ACEOF
13672 /* end confdefs.h. */
13682 rm -f conftest.$ac_objext conftest$ac_exeext
13683 if { (ac_try="$ac_link"
13684 case "(($ac_try" in
13685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13686 *) ac_try_echo
=$ac_try;;
13688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13689 (eval "$ac_link") 2>conftest.er1
13691 grep -v '^ *+' conftest.er1
>conftest.err
13693 cat conftest.err
>&5
13694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13695 (exit $ac_status); } && {
13696 test -z "$ac_c_werror_flag" ||
13697 test ! -s conftest.err
13698 } && test -s conftest
$ac_exeext &&
13699 $as_test_x conftest
$ac_exeext; then
13700 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
13702 echo "$as_me: failed program was:" >&5
13703 sed 's/^/| /' conftest.
$ac_ext >&5
13705 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
13708 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13709 conftest
$ac_exeext conftest.
$ac_ext
13710 CFLAGS
=$ac_wine_try_cflags_saved
13712 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
13713 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
13714 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
13715 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13720 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
13721 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
13722 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
13723 echo $ECHO_N "(cached) $ECHO_C" >&6
13725 ac_wine_try_cflags_saved
=$CFLAGS
13726 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
13727 cat >conftest.
$ac_ext <<_ACEOF
13730 cat confdefs.h
>>conftest.
$ac_ext
13731 cat >>conftest.
$ac_ext <<_ACEOF
13732 /* end confdefs.h. */
13742 rm -f conftest.
$ac_objext conftest
$ac_exeext
13743 if { (ac_try
="$ac_link"
13744 case "(($ac_try" in
13745 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13746 *) ac_try_echo=$ac_try;;
13748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13749 (eval "$ac_link") 2>conftest.er1
13751 grep -v '^ *+' conftest.er1 >conftest.err
13753 cat conftest.err >&5
13754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13755 (exit $ac_status); } && {
13756 test -z "$ac_c_werror_flag" ||
13757 test ! -s conftest.err
13758 } && test -s conftest$ac_exeext &&
13759 $as_test_x conftest$ac_exeext; then
13760 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
13762 echo "$as_me: failed program was:" >&5
13763 sed 's/^/| /' conftest.$ac_ext >&5
13765 ac_cv_cflags__fPIC__Wl___export_dynamic=no
13768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13769 conftest$ac_exeext conftest.$ac_ext
13770 CFLAGS=$ac_wine_try_cflags_saved
13772 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
13773 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
13774 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
13775 LDEXECFLAGS="-Wl,--export-dynamic"
13780 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" |
$as_tr_sh`
13781 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
13782 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
13783 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13784 echo $ECHO_N "(cached) $ECHO_C" >&6
13786 ac_wine_try_cflags_saved=$CFLAGS
13787 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
13788 cat >conftest.$ac_ext <<_ACEOF
13791 cat confdefs.h >>conftest.$ac_ext
13792 cat >>conftest.$ac_ext <<_ACEOF
13793 /* end confdefs.h. */
13803 rm -f conftest.$ac_objext conftest$ac_exeext
13804 if { (ac_try="$ac_link"
13805 case "(($ac_try" in
13806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13807 *) ac_try_echo
=$ac_try;;
13809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13810 (eval "$ac_link") 2>conftest.er1
13812 grep -v '^ *+' conftest.er1
>conftest.err
13814 cat conftest.err
>&5
13815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13816 (exit $ac_status); } && {
13817 test -z "$ac_c_werror_flag" ||
13818 test ! -s conftest.err
13819 } && test -s conftest
$ac_exeext &&
13820 $as_test_x conftest
$ac_exeext; then
13821 eval "$as_ac_var=yes"
13823 echo "$as_me: failed program was:" >&5
13824 sed 's/^/| /' conftest.
$ac_ext >&5
13826 eval "$as_ac_var=no"
13829 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13830 conftest
$ac_exeext conftest.
$ac_ext
13831 CFLAGS
=$ac_wine_try_cflags_saved
13833 ac_res
=`eval echo '${'$as_ac_var'}'`
13834 { echo "$as_me:$LINENO: result: $ac_res" >&5
13835 echo "${ECHO_T}$ac_res" >&6; }
13836 if test `eval echo '${'$as_ac_var'}'` = yes; then
13837 LIBWINE_LDFLAGS
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
13842 *i
[3456789]86* | x86_64
)
13843 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
13844 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
13845 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
13846 echo $ECHO_N "(cached) $ECHO_C" >&6
13848 ac_wine_try_cflags_saved
=$CFLAGS
13849 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
13850 cat >conftest.
$ac_ext <<_ACEOF
13853 cat confdefs.h
>>conftest.
$ac_ext
13854 cat >>conftest.
$ac_ext <<_ACEOF
13855 /* end confdefs.h. */
13865 rm -f conftest.
$ac_objext conftest
$ac_exeext
13866 if { (ac_try
="$ac_link"
13867 case "(($ac_try" in
13868 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13869 *) ac_try_echo=$ac_try;;
13871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13872 (eval "$ac_link") 2>conftest.er1
13874 grep -v '^ *+' conftest.er1 >conftest.err
13876 cat conftest.err >&5
13877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13878 (exit $ac_status); } && {
13879 test -z "$ac_c_werror_flag" ||
13880 test ! -s conftest.err
13881 } && test -s conftest$ac_exeext &&
13882 $as_test_x conftest$ac_exeext; then
13883 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
13885 echo "$as_me: failed program was:" >&5
13886 sed 's/^/| /' conftest.$ac_ext >&5
13888 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
13891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13892 conftest$ac_exeext conftest.$ac_ext
13893 CFLAGS=$ac_wine_try_cflags_saved
13895 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
13896 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
13897 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
13898 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
13905 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13906 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
13907 if test "${ac_cv_c_dll_unixware+set}" = set; then
13908 echo $ECHO_N "(cached) $ECHO_C" >&6
13910 ac_wine_try_cflags_saved=$CFLAGS
13911 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13912 cat >conftest.$ac_ext <<_ACEOF
13915 rm -f conftest.$ac_objext conftest$ac_exeext
13916 if { (ac_try="$ac_link"
13917 case "(($ac_try" in
13918 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13919 *) ac_try_echo
=$ac_try;;
13921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13922 (eval "$ac_link") 2>conftest.er1
13924 grep -v '^ *+' conftest.er1
>conftest.err
13926 cat conftest.err
>&5
13927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13928 (exit $ac_status); } && {
13929 test -z "$ac_c_werror_flag" ||
13930 test ! -s conftest.err
13931 } && test -s conftest
$ac_exeext &&
13932 $as_test_x conftest
$ac_exeext; then
13933 ac_cv_c_dll_unixware
="yes"
13935 echo "$as_me: failed program was:" >&5
13936 sed 's/^/| /' conftest.
$ac_ext >&5
13938 ac_cv_c_dll_unixware
="no"
13941 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13942 conftest
$ac_exeext conftest.
$ac_ext
13943 CFLAGS
=$ac_wine_try_cflags_saved
13945 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13946 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
13947 if test "$ac_cv_c_dll_unixware" = "yes"
13949 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13950 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
13953 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
13954 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
13955 if test "${ac_cv_c_dll_hpux+set}" = set; then
13956 echo $ECHO_N "(cached) $ECHO_C" >&6
13958 ac_wine_try_cflags_saved
=$CFLAGS
13959 CFLAGS
="$CFLAGS -shared"
13960 cat >conftest.
$ac_ext <<_ACEOF
13963 rm -f conftest.
$ac_objext conftest
$ac_exeext
13964 if { (ac_try
="$ac_link"
13965 case "(($ac_try" in
13966 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13967 *) ac_try_echo=$ac_try;;
13969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13970 (eval "$ac_link") 2>conftest.er1
13972 grep -v '^ *+' conftest.er1 >conftest.err
13974 cat conftest.err >&5
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); } && {
13977 test -z "$ac_c_werror_flag" ||
13978 test ! -s conftest.err
13979 } && test -s conftest$ac_exeext &&
13980 $as_test_x conftest$ac_exeext; then
13981 ac_cv_c_dll_hpux="yes"
13983 echo "$as_me: failed program was:" >&5
13984 sed 's/^/| /' conftest.$ac_ext >&5
13986 ac_cv_c_dll_hpux="no"
13989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13990 conftest$ac_exeext conftest.$ac_ext
13991 CFLAGS=$ac_wine_try_cflags_saved
13993 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
13994 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
13995 if test "$ac_cv_c_dll_hpux" = "yes"
13999 LDDLLFLAGS="-shared -fPIC"
14000 LDSHARED="\$(CC) -shared"
14007 if test "$cross_compiling" = "no"
14009 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
14011 # Extract the first word of "$ac_prog", so it can be a program name with args.
14012 set dummy $ac_prog; ac_word=$2
14013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14015 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14016 echo $ECHO_N "(cached) $ECHO_C" >&6
14018 if test -n "$CROSSCC"; then
14019 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
14021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14022 for as_dir in $PATH
14025 test -z "$as_dir" && as_dir=.
14026 for ac_exec_ext in '' $ac_executable_extensions; do
14027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14028 ac_cv_prog_CROSSCC="$ac_prog"
14029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14038 CROSSCC=$ac_cv_prog_CROSSCC
14039 if test -n "$CROSSCC"; then
14040 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
14041 echo "${ECHO_T}$CROSSCC" >&6; }
14043 { echo "$as_me:$LINENO: result: no" >&5
14044 echo "${ECHO_T}no" >&6; }
14048 test -n "$CROSSCC" && break
14050 test -n "$CROSSCC" || CROSSCC="false"
14052 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
14054 # Extract the first word of "$ac_prog", so it can be a program name with args.
14055 set dummy $ac_prog; ac_word=$2
14056 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14058 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14059 echo $ECHO_N "(cached) $ECHO_C" >&6
14061 if test -n "$DLLTOOL"; then
14062 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14065 for as_dir in $PATH
14068 test -z "$as_dir" && as_dir=.
14069 for ac_exec_ext in '' $ac_executable_extensions; do
14070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14071 ac_cv_prog_DLLTOOL="$ac_prog"
14072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14081 DLLTOOL=$ac_cv_prog_DLLTOOL
14082 if test -n "$DLLTOOL"; then
14083 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14084 echo "${ECHO_T}$DLLTOOL" >&6; }
14086 { echo "$as_me:$LINENO: result: no" >&5
14087 echo "${ECHO_T}no" >&6; }
14091 test -n "$DLLTOOL" && break
14093 test -n "$DLLTOOL" || DLLTOOL="false"
14095 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
14097 # Extract the first word of "$ac_prog", so it can be a program name with args.
14098 set dummy $ac_prog; ac_word=$2
14099 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14101 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14102 echo $ECHO_N "(cached) $ECHO_C" >&6
14104 if test -n "$CROSSWINDRES"; then
14105 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
14107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14108 for as_dir in $PATH
14111 test -z "$as_dir" && as_dir=.
14112 for ac_exec_ext in '' $ac_executable_extensions; do
14113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14114 ac_cv_prog_CROSSWINDRES="$ac_prog"
14115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14124 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14125 if test -n "$CROSSWINDRES"; then
14126 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14127 echo "${ECHO_T}$CROSSWINDRES" >&6; }
14129 { echo "$as_me:$LINENO: result: no" >&5
14130 echo "${ECHO_T}no" >&6; }
14134 test -n "$CROSSWINDRES" && break
14136 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14138 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
14140 # Extract the first word of "$ac_prog", so it can be a program name with args.
14141 set dummy $ac_prog; ac_word=$2
14142 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14144 if test "${ac_cv_prog_MINGWAR+set}" = set; then
14145 echo $ECHO_N "(cached) $ECHO_C" >&6
14147 if test -n "$MINGWAR"; then
14148 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
14150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14151 for as_dir in $PATH
14154 test -z "$as_dir" && as_dir=.
14155 for ac_exec_ext in '' $ac_executable_extensions; do
14156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14157 ac_cv_prog_MINGWAR="$ac_prog"
14158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14167 MINGWAR=$ac_cv_prog_MINGWAR
14168 if test -n "$MINGWAR"; then
14169 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
14170 echo "${ECHO_T}$MINGWAR" >&6; }
14172 { echo "$as_me:$LINENO: result: no" >&5
14173 echo "${ECHO_T}no" >&6; }
14177 test -n "$MINGWAR" && break
14179 test -n "$MINGWAR" || MINGWAR="false"
14181 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14186 if test "$LIBEXT" = "a"; then
14187 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14188 It is currently not possible to build Wine without shared library
14189 (.so) support to allow transparent switch between .so and .dll files.
14190 If you are using Linux, you will need a newer binutils.
14192 echo "$as_me: error: could not find a way to build shared libraries.
14193 It is currently not possible to build Wine without shared library
14194 (.so) support to allow transparent switch between .so and .dll files.
14195 If you are using Linux, you will need a newer binutils.
14197 { (exit 1); exit 1; }; }
14202 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14205 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
14208 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14216 SOCKETLIBS="-lws2_32"
14221 MAIN_BINARY="wine-pthread"
14225 linux* | k*bsd*-gnu)
14226 MAIN_BINARY="wine-glibc"
14228 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
14235 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14237 # Extract the first word of "ldd", so it can be a program name with args.
14238 set dummy ldd; ac_word=$2
14239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14241 if test "${ac_cv_path_LDD+set}" = set; then
14242 echo $ECHO_N "(cached) $ECHO_C" >&6
14246 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14250 as_dummy="/sbin:/usr/sbin:$PATH"
14251 for as_dir in $as_dummy
14254 test -z "$as_dir" && as_dir=.
14255 for ac_exec_ext in '' $ac_executable_extensions; do
14256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14257 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14265 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14269 LDD=$ac_cv_path_LDD
14270 if test -n "$LDD"; then
14271 { echo "$as_me:$LINENO: result: $LDD" >&5
14272 echo "${ECHO_T}$LDD" >&6; }
14274 { echo "$as_me:$LINENO: result: no" >&5
14275 echo "${ECHO_T}no" >&6; }
14279 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14280 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
14281 if test "${ac_cv_lib_soname_X11+set}" = set; then
14282 echo $ECHO_N "(cached) $ECHO_C" >&6
14284 ac_get_soname_save_LIBS=$LIBS
14285 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14286 cat >conftest.$ac_ext <<_ACEOF
14289 cat confdefs.h >>conftest.$ac_ext
14290 cat >>conftest.$ac_ext <<_ACEOF
14291 /* end confdefs.h. */
14293 /* Override any GCC internal prototype to avoid an error.
14294 Use char because int might match the return type of a GCC
14295 builtin and then its argument prototype would still apply. */
14299 char XCreateWindow ();
14303 return XCreateWindow ();
14308 rm -f conftest.$ac_objext conftest$ac_exeext
14309 if { (ac_try="$ac_link"
14310 case "(($ac_try" in
14311 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14312 *) ac_try_echo
=$ac_try;;
14314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14315 (eval "$ac_link") 2>conftest.er1
14317 grep -v '^ *+' conftest.er1
>conftest.err
14319 cat conftest.err
>&5
14320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14321 (exit $ac_status); } && {
14322 test -z "$ac_c_werror_flag" ||
14323 test ! -s conftest.err
14324 } && test -s conftest
$ac_exeext &&
14325 $as_test_x conftest
$ac_exeext; then
14327 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'` ;;
14328 so
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14330 if test "x$ac_cv_lib_soname_X11" = "x"
14332 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14335 echo "$as_me: failed program was:" >&5
14336 sed 's/^/| /' conftest.
$ac_ext >&5
14338 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14341 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14342 conftest
$ac_exeext conftest.
$ac_ext
14343 LIBS
=$ac_get_soname_save_LIBS
14345 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14346 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
14347 if test "${ac_cv_lib_soname_X11+set}" = set; then
14349 cat >>confdefs.h
<<_ACEOF
14350 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14355 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
14356 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
14357 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14358 echo $ECHO_N "(cached) $ECHO_C" >&6
14360 ac_get_soname_save_LIBS
=$LIBS
14361 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14362 cat >conftest.
$ac_ext <<_ACEOF
14365 cat confdefs.h
>>conftest.
$ac_ext
14366 cat >>conftest.
$ac_ext <<_ACEOF
14367 /* end confdefs.h. */
14369 /* Override any GCC internal prototype to avoid an error.
14370 Use char because int might match the return type of a GCC
14371 builtin and then its argument prototype would still apply. */
14375 char XextCreateExtension ();
14379 return XextCreateExtension ();
14384 rm -f conftest.
$ac_objext conftest
$ac_exeext
14385 if { (ac_try
="$ac_link"
14386 case "(($ac_try" in
14387 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14388 *) ac_try_echo=$ac_try;;
14390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14391 (eval "$ac_link") 2>conftest.er1
14393 grep -v '^ *+' conftest.er1 >conftest.err
14395 cat conftest.err >&5
14396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14397 (exit $ac_status); } && {
14398 test -z "$ac_c_werror_flag" ||
14399 test ! -s conftest.err
14400 } && test -s conftest$ac_exeext &&
14401 $as_test_x conftest$ac_exeext; then
14403 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'` ;;
14404 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXext
\\.so |
sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14406 if test "x$ac_cv_lib_soname_Xext" = "x"
14408 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14411 echo "$as_me: failed program was:" >&5
14412 sed 's/^/| /' conftest.$ac_ext >&5
14414 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14418 conftest$ac_exeext conftest.$ac_ext
14419 LIBS=$ac_get_soname_save_LIBS
14421 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14422 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
14423 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14425 cat >>confdefs.h <<_ACEOF
14426 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14431 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
14432 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
14433 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14434 echo $ECHO_N "(cached) $ECHO_C" >&6
14436 ac_get_soname_save_LIBS=$LIBS
14437 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14438 cat >conftest.$ac_ext <<_ACEOF
14441 cat confdefs.h >>conftest.$ac_ext
14442 cat >>conftest.$ac_ext <<_ACEOF
14443 /* end confdefs.h. */
14445 /* Override any GCC internal prototype to avoid an error.
14446 Use char because int might match the return type of a GCC
14447 builtin and then its argument prototype would still apply. */
14451 char XOpenDevice ();
14455 return XOpenDevice ();
14460 rm -f conftest.$ac_objext conftest$ac_exeext
14461 if { (ac_try="$ac_link"
14462 case "(($ac_try" in
14463 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14464 *) ac_try_echo
=$ac_try;;
14466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14467 (eval "$ac_link") 2>conftest.er1
14469 grep -v '^ *+' conftest.er1
>conftest.err
14471 cat conftest.err
>&5
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); } && {
14474 test -z "$ac_c_werror_flag" ||
14475 test ! -s conftest.err
14476 } && test -s conftest
$ac_exeext &&
14477 $as_test_x conftest
$ac_exeext; then
14479 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'` ;;
14480 so
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14482 if test "x$ac_cv_lib_soname_Xi" = "x"
14484 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14487 echo "$as_me: failed program was:" >&5
14488 sed 's/^/| /' conftest.
$ac_ext >&5
14490 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14493 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14494 conftest
$ac_exeext conftest.
$ac_ext
14495 LIBS
=$ac_get_soname_save_LIBS
14497 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14498 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
14499 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14501 cat >>confdefs.h
<<_ACEOF
14502 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14507 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
14508 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
14509 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14510 echo $ECHO_N "(cached) $ECHO_C" >&6
14512 ac_get_soname_save_LIBS
=$LIBS
14513 LIBS
="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14514 cat >conftest.
$ac_ext <<_ACEOF
14517 cat confdefs.h
>>conftest.
$ac_ext
14518 cat >>conftest.
$ac_ext <<_ACEOF
14519 /* end confdefs.h. */
14521 /* Override any GCC internal prototype to avoid an error.
14522 Use char because int might match the return type of a GCC
14523 builtin and then its argument prototype would still apply. */
14527 char XineramaQueryScreens ();
14531 return XineramaQueryScreens ();
14536 rm -f conftest.
$ac_objext conftest
$ac_exeext
14537 if { (ac_try
="$ac_link"
14538 case "(($ac_try" in
14539 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14540 *) ac_try_echo=$ac_try;;
14542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14543 (eval "$ac_link") 2>conftest.er1
14545 grep -v '^ *+' conftest.er1 >conftest.err
14547 cat conftest.err >&5
14548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14549 (exit $ac_status); } && {
14550 test -z "$ac_c_werror_flag" ||
14551 test ! -s conftest.err
14552 } && test -s conftest$ac_exeext &&
14553 $as_test_x conftest$ac_exeext; then
14555 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'` ;;
14556 so) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXinerama
\\.so |
sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14558 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14560 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14563 echo "$as_me: failed program was:" >&5
14564 sed 's/^/| /' conftest.$ac_ext >&5
14566 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14570 conftest$ac_exeext conftest.$ac_ext
14571 LIBS=$ac_get_soname_save_LIBS
14573 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
14574 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
14575 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14577 cat >>confdefs.h <<_ACEOF
14578 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
14583 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14584 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
14585 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14586 echo $ECHO_N "(cached) $ECHO_C" >&6
14588 ac_get_soname_save_LIBS=$LIBS
14589 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14590 cat >conftest.$ac_ext <<_ACEOF
14593 cat confdefs.h >>conftest.$ac_ext
14594 cat >>conftest.$ac_ext <<_ACEOF
14595 /* end confdefs.h. */
14597 /* Override any GCC internal prototype to avoid an error.
14598 Use char because int might match the return type of a GCC
14599 builtin and then its argument prototype would still apply. */
14603 char XRenderQueryExtension ();
14607 return XRenderQueryExtension ();
14612 rm -f conftest.$ac_objext conftest$ac_exeext
14613 if { (ac_try="$ac_link"
14614 case "(($ac_try" in
14615 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14616 *) ac_try_echo
=$ac_try;;
14618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14619 (eval "$ac_link") 2>conftest.er1
14621 grep -v '^ *+' conftest.er1
>conftest.err
14623 cat conftest.err
>&5
14624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14625 (exit $ac_status); } && {
14626 test -z "$ac_c_werror_flag" ||
14627 test ! -s conftest.err
14628 } && test -s conftest
$ac_exeext &&
14629 $as_test_x conftest
$ac_exeext; then
14631 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'` ;;
14632 so
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14634 if test "x$ac_cv_lib_soname_Xrender" = "x"
14636 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
14639 echo "$as_me: failed program was:" >&5
14640 sed 's/^/| /' conftest.
$ac_ext >&5
14642 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
14645 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14646 conftest
$ac_exeext conftest.
$ac_ext
14647 LIBS
=$ac_get_soname_save_LIBS
14649 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14650 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
14651 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14653 cat >>confdefs.h
<<_ACEOF
14654 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14659 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14660 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
14661 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14662 echo $ECHO_N "(cached) $ECHO_C" >&6
14664 ac_get_soname_save_LIBS
=$LIBS
14665 LIBS
="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14666 cat >conftest.
$ac_ext <<_ACEOF
14669 cat confdefs.h
>>conftest.
$ac_ext
14670 cat >>conftest.
$ac_ext <<_ACEOF
14671 /* end confdefs.h. */
14673 /* Override any GCC internal prototype to avoid an error.
14674 Use char because int might match the return type of a GCC
14675 builtin and then its argument prototype would still apply. */
14679 char XRRQueryExtension ();
14683 return XRRQueryExtension ();
14688 rm -f conftest.
$ac_objext conftest
$ac_exeext
14689 if { (ac_try
="$ac_link"
14690 case "(($ac_try" in
14691 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14692 *) ac_try_echo=$ac_try;;
14694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14695 (eval "$ac_link") 2>conftest.er1
14697 grep -v '^ *+' conftest.er1 >conftest.err
14699 cat conftest.err >&5
14700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701 (exit $ac_status); } && {
14702 test -z "$ac_c_werror_flag" ||
14703 test ! -s conftest.err
14704 } && test -s conftest$ac_exeext &&
14705 $as_test_x conftest$ac_exeext; then
14707 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'` ;;
14708 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXrandr
\\.so |
sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14710 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14712 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14715 echo "$as_me: failed program was:" >&5
14716 sed 's/^/| /' conftest.$ac_ext >&5
14718 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14722 conftest$ac_exeext conftest.$ac_ext
14723 LIBS=$ac_get_soname_save_LIBS
14725 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14726 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
14727 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14729 cat >>confdefs.h <<_ACEOF
14730 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14735 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14736 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
14737 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14738 echo $ECHO_N "(cached) $ECHO_C" >&6
14740 ac_get_soname_save_LIBS=$LIBS
14741 LIBS="-lfreetype $X_LIBS $LIBS"
14742 cat >conftest.$ac_ext <<_ACEOF
14745 cat confdefs.h >>conftest.$ac_ext
14746 cat >>conftest.$ac_ext <<_ACEOF
14747 /* end confdefs.h. */
14749 /* Override any GCC internal prototype to avoid an error.
14750 Use char because int might match the return type of a GCC
14751 builtin and then its argument prototype would still apply. */
14755 char FT_Init_FreeType ();
14759 return FT_Init_FreeType ();
14764 rm -f conftest.$ac_objext conftest$ac_exeext
14765 if { (ac_try="$ac_link"
14766 case "(($ac_try" in
14767 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14768 *) ac_try_echo
=$ac_try;;
14770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14771 (eval "$ac_link") 2>conftest.er1
14773 grep -v '^ *+' conftest.er1
>conftest.err
14775 cat conftest.err
>&5
14776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14777 (exit $ac_status); } && {
14778 test -z "$ac_c_werror_flag" ||
14779 test ! -s conftest.err
14780 } && test -s conftest
$ac_exeext &&
14781 $as_test_x conftest
$ac_exeext; then
14783 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'` ;;
14784 so
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14786 if test "x$ac_cv_lib_soname_freetype" = "x"
14788 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
14791 echo "$as_me: failed program was:" >&5
14792 sed 's/^/| /' conftest.
$ac_ext >&5
14794 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
14797 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14798 conftest
$ac_exeext conftest.
$ac_ext
14799 LIBS
=$ac_get_soname_save_LIBS
14801 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14802 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
14803 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14805 cat >>confdefs.h
<<_ACEOF
14806 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14811 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
14812 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
14813 if test "${ac_cv_lib_soname_GL+set}" = set; then
14814 echo $ECHO_N "(cached) $ECHO_C" >&6
14816 ac_get_soname_save_LIBS
=$LIBS
14817 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14818 cat >conftest.
$ac_ext <<_ACEOF
14821 cat confdefs.h
>>conftest.
$ac_ext
14822 cat >>conftest.
$ac_ext <<_ACEOF
14823 /* end confdefs.h. */
14825 /* Override any GCC internal prototype to avoid an error.
14826 Use char because int might match the return type of a GCC
14827 builtin and then its argument prototype would still apply. */
14831 char glXQueryExtension ();
14835 return glXQueryExtension ();
14840 rm -f conftest.
$ac_objext conftest
$ac_exeext
14841 if { (ac_try
="$ac_link"
14842 case "(($ac_try" in
14843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14844 *) ac_try_echo=$ac_try;;
14846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14847 (eval "$ac_link") 2>conftest.er1
14849 grep -v '^ *+' conftest.er1 >conftest.err
14851 cat conftest.err >&5
14852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14853 (exit $ac_status); } && {
14854 test -z "$ac_c_werror_flag" ||
14855 test ! -s conftest.err
14856 } && test -s conftest$ac_exeext &&
14857 $as_test_x conftest$ac_exeext; then
14859 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'` ;;
14860 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libGL
\\.so |
sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14862 if test "x$ac_cv_lib_soname_GL" = "x"
14864 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14867 echo "$as_me: failed program was:" >&5
14868 sed 's/^/| /' conftest.$ac_ext >&5
14870 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14874 conftest$ac_exeext conftest.$ac_ext
14875 LIBS=$ac_get_soname_save_LIBS
14877 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14878 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
14879 if test "${ac_cv_lib_soname_GL+set}" = set; then
14881 cat >>confdefs.h <<_ACEOF
14882 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14887 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
14888 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
14889 if test "${ac_cv_lib_soname_hal+set}" = set; then
14890 echo $ECHO_N "(cached) $ECHO_C" >&6
14892 ac_get_soname_save_LIBS=$LIBS
14894 cat >conftest.$ac_ext <<_ACEOF
14897 cat confdefs.h >>conftest.$ac_ext
14898 cat >>conftest.$ac_ext <<_ACEOF
14899 /* end confdefs.h. */
14901 /* Override any GCC internal prototype to avoid an error.
14902 Use char because int might match the return type of a GCC
14903 builtin and then its argument prototype would still apply. */
14907 char libhal_ctx_new ();
14911 return libhal_ctx_new ();
14916 rm -f conftest.$ac_objext conftest$ac_exeext
14917 if { (ac_try="$ac_link"
14918 case "(($ac_try" in
14919 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14920 *) ac_try_echo
=$ac_try;;
14922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14923 (eval "$ac_link") 2>conftest.er1
14925 grep -v '^ *+' conftest.er1
>conftest.err
14927 cat conftest.err
>&5
14928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14929 (exit $ac_status); } && {
14930 test -z "$ac_c_werror_flag" ||
14931 test ! -s conftest.err
14932 } && test -s conftest
$ac_exeext &&
14933 $as_test_x conftest
$ac_exeext; then
14935 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'` ;;
14936 so
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14938 if test "x$ac_cv_lib_soname_hal" = "x"
14940 ac_cv_lib_soname_hal
="libhal.$LIBEXT"
14943 echo "$as_me: failed program was:" >&5
14944 sed 's/^/| /' conftest.
$ac_ext >&5
14946 ac_cv_lib_soname_hal
="libhal.$LIBEXT"
14949 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14950 conftest
$ac_exeext conftest.
$ac_ext
14951 LIBS
=$ac_get_soname_save_LIBS
14953 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
14954 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
14955 if test "${ac_cv_lib_soname_hal+set}" = set; then
14957 cat >>confdefs.h
<<_ACEOF
14958 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
14963 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
14964 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
14965 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14966 echo $ECHO_N "(cached) $ECHO_C" >&6
14968 ac_get_soname_save_LIBS
=$LIBS
14969 LIBS
="-ltxc_dxtn $LIBS"
14970 cat >conftest.
$ac_ext <<_ACEOF
14973 cat confdefs.h
>>conftest.
$ac_ext
14974 cat >>conftest.
$ac_ext <<_ACEOF
14975 /* end confdefs.h. */
14977 /* Override any GCC internal prototype to avoid an error.
14978 Use char because int might match the return type of a GCC
14979 builtin and then its argument prototype would still apply. */
14983 char fetch_2d_texel_rgba_dxt1 ();
14987 return fetch_2d_texel_rgba_dxt1 ();
14992 rm -f conftest.
$ac_objext conftest
$ac_exeext
14993 if { (ac_try
="$ac_link"
14994 case "(($ac_try" in
14995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14996 *) ac_try_echo=$ac_try;;
14998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14999 (eval "$ac_link") 2>conftest.er1
15001 grep -v '^ *+' conftest.er1 >conftest.err
15003 cat conftest.err >&5
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); } && {
15006 test -z "$ac_c_werror_flag" ||
15007 test ! -s conftest.err
15008 } && test -s conftest$ac_exeext &&
15009 $as_test_x conftest$ac_exeext; then
15011 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'` ;;
15012 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'` ;;
15014 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
15016 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
15019 echo "$as_me: failed program was:" >&5
15020 sed 's/^/| /' conftest.$ac_ext >&5
15022 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
15025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15026 conftest$ac_exeext conftest.$ac_ext
15027 LIBS=$ac_get_soname_save_LIBS
15029 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
15030 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
15031 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15033 cat >>confdefs.h <<_ACEOF
15034 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15039 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
15040 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
15041 if test "${ac_cv_lib_soname_cups+set}" = set; then
15042 echo $ECHO_N "(cached) $ECHO_C" >&6
15044 ac_get_soname_save_LIBS=$LIBS
15045 LIBS="-lcups $LIBS"
15046 cat >conftest.$ac_ext <<_ACEOF
15049 cat confdefs.h >>conftest.$ac_ext
15050 cat >>conftest.$ac_ext <<_ACEOF
15051 /* end confdefs.h. */
15053 /* Override any GCC internal prototype to avoid an error.
15054 Use char because int might match the return type of a GCC
15055 builtin and then its argument prototype would still apply. */
15059 char cupsGetDefault ();
15063 return cupsGetDefault ();
15068 rm -f conftest.$ac_objext conftest$ac_exeext
15069 if { (ac_try="$ac_link"
15070 case "(($ac_try" in
15071 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15072 *) ac_try_echo
=$ac_try;;
15074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15075 (eval "$ac_link") 2>conftest.er1
15077 grep -v '^ *+' conftest.er1
>conftest.err
15079 cat conftest.err
>&5
15080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081 (exit $ac_status); } && {
15082 test -z "$ac_c_werror_flag" ||
15083 test ! -s conftest.err
15084 } && test -s conftest
$ac_exeext &&
15085 $as_test_x conftest
$ac_exeext; then
15087 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'` ;;
15088 so
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15090 if test "x$ac_cv_lib_soname_cups" = "x"
15092 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
15095 echo "$as_me: failed program was:" >&5
15096 sed 's/^/| /' conftest.
$ac_ext >&5
15098 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
15101 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15102 conftest
$ac_exeext conftest.
$ac_ext
15103 LIBS
=$ac_get_soname_save_LIBS
15105 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15106 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15107 if test "${ac_cv_lib_soname_cups+set}" = set; then
15109 cat >>confdefs.h
<<_ACEOF
15110 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15115 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
15116 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
15117 if test "${ac_cv_lib_soname_jack+set}" = set; then
15118 echo $ECHO_N "(cached) $ECHO_C" >&6
15120 ac_get_soname_save_LIBS
=$LIBS
15121 LIBS
="-ljack $LIBS"
15122 cat >conftest.
$ac_ext <<_ACEOF
15125 cat confdefs.h
>>conftest.
$ac_ext
15126 cat >>conftest.
$ac_ext <<_ACEOF
15127 /* end confdefs.h. */
15129 /* Override any GCC internal prototype to avoid an error.
15130 Use char because int might match the return type of a GCC
15131 builtin and then its argument prototype would still apply. */
15135 char jack_client_new ();
15139 return jack_client_new ();
15144 rm -f conftest.
$ac_objext conftest
$ac_exeext
15145 if { (ac_try
="$ac_link"
15146 case "(($ac_try" in
15147 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15148 *) ac_try_echo=$ac_try;;
15150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15151 (eval "$ac_link") 2>conftest.er1
15153 grep -v '^ *+' conftest.er1 >conftest.err
15155 cat conftest.err >&5
15156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157 (exit $ac_status); } && {
15158 test -z "$ac_c_werror_flag" ||
15159 test ! -s conftest.err
15160 } && test -s conftest$ac_exeext &&
15161 $as_test_x conftest$ac_exeext; then
15163 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'` ;;
15164 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libjack
\\.so |
sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15166 if test "x$ac_cv_lib_soname_jack" = "x"
15168 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15171 echo "$as_me: failed program was:" >&5
15172 sed 's/^/| /' conftest.$ac_ext >&5
15174 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15178 conftest$ac_exeext conftest.$ac_ext
15179 LIBS=$ac_get_soname_save_LIBS
15181 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15182 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15183 if test "${ac_cv_lib_soname_jack+set}" = set; then
15185 cat >>confdefs.h <<_ACEOF
15186 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15191 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15192 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
15193 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15194 echo $ECHO_N "(cached) $ECHO_C" >&6
15196 ac_get_soname_save_LIBS=$LIBS
15197 LIBS="-lfontconfig $LIBS"
15198 cat >conftest.$ac_ext <<_ACEOF
15201 cat confdefs.h >>conftest.$ac_ext
15202 cat >>conftest.$ac_ext <<_ACEOF
15203 /* end confdefs.h. */
15205 /* Override any GCC internal prototype to avoid an error.
15206 Use char because int might match the return type of a GCC
15207 builtin and then its argument prototype would still apply. */
15220 rm -f conftest.$ac_objext conftest$ac_exeext
15221 if { (ac_try="$ac_link"
15222 case "(($ac_try" in
15223 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15224 *) ac_try_echo
=$ac_try;;
15226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15227 (eval "$ac_link") 2>conftest.er1
15229 grep -v '^ *+' conftest.er1
>conftest.err
15231 cat conftest.err
>&5
15232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15233 (exit $ac_status); } && {
15234 test -z "$ac_c_werror_flag" ||
15235 test ! -s conftest.err
15236 } && test -s conftest
$ac_exeext &&
15237 $as_test_x conftest
$ac_exeext; then
15239 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'` ;;
15240 so
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15242 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15244 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
15247 echo "$as_me: failed program was:" >&5
15248 sed 's/^/| /' conftest.
$ac_ext >&5
15250 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
15253 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15254 conftest
$ac_exeext conftest.
$ac_ext
15255 LIBS
=$ac_get_soname_save_LIBS
15257 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15258 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15259 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15261 cat >>confdefs.h
<<_ACEOF
15262 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15267 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
15268 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
15269 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15270 echo $ECHO_N "(cached) $ECHO_C" >&6
15272 ac_get_soname_save_LIBS
=$LIBS
15274 cat >conftest.
$ac_ext <<_ACEOF
15277 cat confdefs.h
>>conftest.
$ac_ext
15278 cat >>conftest.
$ac_ext <<_ACEOF
15279 /* end confdefs.h. */
15281 /* Override any GCC internal prototype to avoid an error.
15282 Use char because int might match the return type of a GCC
15283 builtin and then its argument prototype would still apply. */
15287 char SSL_library_init ();
15291 return SSL_library_init ();
15296 rm -f conftest.
$ac_objext conftest
$ac_exeext
15297 if { (ac_try
="$ac_link"
15298 case "(($ac_try" in
15299 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15300 *) ac_try_echo=$ac_try;;
15302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15303 (eval "$ac_link") 2>conftest.er1
15305 grep -v '^ *+' conftest.er1 >conftest.err
15307 cat conftest.err >&5
15308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15309 (exit $ac_status); } && {
15310 test -z "$ac_c_werror_flag" ||
15311 test ! -s conftest.err
15312 } && test -s conftest$ac_exeext &&
15313 $as_test_x conftest$ac_exeext; then
15315 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'` ;;
15316 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libssl
\\.so |
sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15318 if test "x$ac_cv_lib_soname_ssl" = "x"
15320 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15323 echo "$as_me: failed program was:" >&5
15324 sed 's/^/| /' conftest.$ac_ext >&5
15326 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15330 conftest$ac_exeext conftest.$ac_ext
15331 LIBS=$ac_get_soname_save_LIBS
15333 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15334 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15335 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15337 cat >>confdefs.h <<_ACEOF
15338 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15343 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15344 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
15345 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15346 echo $ECHO_N "(cached) $ECHO_C" >&6
15348 ac_get_soname_save_LIBS=$LIBS
15349 LIBS="-lcrypto $LIBS"
15350 cat >conftest.$ac_ext <<_ACEOF
15353 cat confdefs.h >>conftest.$ac_ext
15354 cat >>conftest.$ac_ext <<_ACEOF
15355 /* end confdefs.h. */
15357 /* Override any GCC internal prototype to avoid an error.
15358 Use char because int might match the return type of a GCC
15359 builtin and then its argument prototype would still apply. */
15363 char BIO_new_socket ();
15367 return BIO_new_socket ();
15372 rm -f conftest.$ac_objext conftest$ac_exeext
15373 if { (ac_try="$ac_link"
15374 case "(($ac_try" in
15375 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15376 *) ac_try_echo
=$ac_try;;
15378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15379 (eval "$ac_link") 2>conftest.er1
15381 grep -v '^ *+' conftest.er1
>conftest.err
15383 cat conftest.err
>&5
15384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385 (exit $ac_status); } && {
15386 test -z "$ac_c_werror_flag" ||
15387 test ! -s conftest.err
15388 } && test -s conftest
$ac_exeext &&
15389 $as_test_x conftest
$ac_exeext; then
15391 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'` ;;
15392 so
) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15394 if test "x$ac_cv_lib_soname_crypto" = "x"
15396 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
15399 echo "$as_me: failed program was:" >&5
15400 sed 's/^/| /' conftest.
$ac_ext >&5
15402 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
15405 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15406 conftest
$ac_exeext conftest.
$ac_ext
15407 LIBS
=$ac_get_soname_save_LIBS
15409 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15410 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15411 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15413 cat >>confdefs.h
<<_ACEOF
15414 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15419 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15420 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
15421 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15422 echo $ECHO_N "(cached) $ECHO_C" >&6
15424 ac_get_soname_save_LIBS
=$LIBS
15425 LIBS
="-lncurses $LIBS"
15426 cat >conftest.
$ac_ext <<_ACEOF
15429 cat confdefs.h
>>conftest.
$ac_ext
15430 cat >>conftest.
$ac_ext <<_ACEOF
15431 /* end confdefs.h. */
15433 /* Override any GCC internal prototype to avoid an error.
15434 Use char because int might match the return type of a GCC
15435 builtin and then its argument prototype would still apply. */
15448 rm -f conftest.
$ac_objext conftest
$ac_exeext
15449 if { (ac_try
="$ac_link"
15450 case "(($ac_try" in
15451 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15452 *) ac_try_echo=$ac_try;;
15454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15455 (eval "$ac_link") 2>conftest.er1
15457 grep -v '^ *+' conftest.er1 >conftest.err
15459 cat conftest.err >&5
15460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461 (exit $ac_status); } && {
15462 test -z "$ac_c_werror_flag" ||
15463 test ! -s conftest.err
15464 } && test -s conftest$ac_exeext &&
15465 $as_test_x conftest$ac_exeext; then
15467 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'` ;;
15468 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libncurses
\\.so |
sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15470 if test "x$ac_cv_lib_soname_ncurses" = "x"
15472 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15475 echo "$as_me: failed program was:" >&5
15476 sed 's/^/| /' conftest.$ac_ext >&5
15478 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15482 conftest$ac_exeext conftest.$ac_ext
15483 LIBS=$ac_get_soname_save_LIBS
15485 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15486 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
15487 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15489 cat >>confdefs.h <<_ACEOF
15490 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15495 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15496 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
15497 if test "${ac_cv_lib_soname_curses+set}" = set; then
15498 echo $ECHO_N "(cached) $ECHO_C" >&6
15500 ac_get_soname_save_LIBS=$LIBS
15501 LIBS="-lcurses $LIBS"
15502 cat >conftest.$ac_ext <<_ACEOF
15505 cat confdefs.h >>conftest.$ac_ext
15506 cat >>conftest.$ac_ext <<_ACEOF
15507 /* end confdefs.h. */
15509 /* Override any GCC internal prototype to avoid an error.
15510 Use char because int might match the return type of a GCC
15511 builtin and then its argument prototype would still apply. */
15524 rm -f conftest.$ac_objext conftest$ac_exeext
15525 if { (ac_try="$ac_link"
15526 case "(($ac_try" in
15527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15528 *) ac_try_echo
=$ac_try;;
15530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15531 (eval "$ac_link") 2>conftest.er1
15533 grep -v '^ *+' conftest.er1
>conftest.err
15535 cat conftest.err
>&5
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); } && {
15538 test -z "$ac_c_werror_flag" ||
15539 test ! -s conftest.err
15540 } && test -s conftest
$ac_exeext &&
15541 $as_test_x conftest
$ac_exeext; then
15543 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'` ;;
15544 so
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15546 if test "x$ac_cv_lib_soname_curses" = "x"
15548 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
15551 echo "$as_me: failed program was:" >&5
15552 sed 's/^/| /' conftest.
$ac_ext >&5
15554 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
15557 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15558 conftest
$ac_exeext conftest.
$ac_ext
15559 LIBS
=$ac_get_soname_save_LIBS
15561 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15562 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
15563 if test "${ac_cv_lib_soname_curses+set}" = set; then
15565 cat >>confdefs.h
<<_ACEOF
15566 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15571 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15572 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
15573 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15574 echo $ECHO_N "(cached) $ECHO_C" >&6
15576 ac_get_soname_save_LIBS
=$LIBS
15577 LIBS
="-ljpeg $LIBS"
15578 cat >conftest.
$ac_ext <<_ACEOF
15581 cat confdefs.h
>>conftest.
$ac_ext
15582 cat >>conftest.
$ac_ext <<_ACEOF
15583 /* end confdefs.h. */
15585 /* Override any GCC internal prototype to avoid an error.
15586 Use char because int might match the return type of a GCC
15587 builtin and then its argument prototype would still apply. */
15591 char jpeg_start_decompress ();
15595 return jpeg_start_decompress ();
15600 rm -f conftest.
$ac_objext conftest
$ac_exeext
15601 if { (ac_try
="$ac_link"
15602 case "(($ac_try" in
15603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15604 *) ac_try_echo=$ac_try;;
15606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15607 (eval "$ac_link") 2>conftest.er1
15609 grep -v '^ *+' conftest.er1 >conftest.err
15611 cat conftest.err >&5
15612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15613 (exit $ac_status); } && {
15614 test -z "$ac_c_werror_flag" ||
15615 test ! -s conftest.err
15616 } && test -s conftest$ac_exeext &&
15617 $as_test_x conftest$ac_exeext; then
15619 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'` ;;
15620 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libjpeg
\\.so |
sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15622 if test "x$ac_cv_lib_soname_jpeg" = "x"
15624 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15627 echo "$as_me: failed program was:" >&5
15628 sed 's/^/| /' conftest.$ac_ext >&5
15630 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15634 conftest$ac_exeext conftest.$ac_ext
15635 LIBS=$ac_get_soname_save_LIBS
15637 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15638 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15639 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15641 cat >>confdefs.h <<_ACEOF
15642 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15647 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15648 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
15649 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15650 echo $ECHO_N "(cached) $ECHO_C" >&6
15652 ac_get_soname_save_LIBS=$LIBS
15653 LIBS="-lcapi20 $LIBS"
15654 cat >conftest.$ac_ext <<_ACEOF
15657 cat confdefs.h >>conftest.$ac_ext
15658 cat >>conftest.$ac_ext <<_ACEOF
15659 /* end confdefs.h. */
15661 /* Override any GCC internal prototype to avoid an error.
15662 Use char because int might match the return type of a GCC
15663 builtin and then its argument prototype would still apply. */
15667 char capi20_isinstalled ();
15671 return capi20_isinstalled ();
15676 rm -f conftest.$ac_objext conftest$ac_exeext
15677 if { (ac_try="$ac_link"
15678 case "(($ac_try" in
15679 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15680 *) ac_try_echo
=$ac_try;;
15682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15683 (eval "$ac_link") 2>conftest.er1
15685 grep -v '^ *+' conftest.er1
>conftest.err
15687 cat conftest.err
>&5
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 (exit $ac_status); } && {
15690 test -z "$ac_c_werror_flag" ||
15691 test ! -s conftest.err
15692 } && test -s conftest
$ac_exeext &&
15693 $as_test_x conftest
$ac_exeext; then
15695 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'` ;;
15696 so
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15698 if test "x$ac_cv_lib_soname_capi20" = "x"
15700 ac_cv_lib_soname_capi20
="libcapi20.$LIBEXT"
15703 echo "$as_me: failed program was:" >&5
15704 sed 's/^/| /' conftest.
$ac_ext >&5
15706 ac_cv_lib_soname_capi20
="libcapi20.$LIBEXT"
15709 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15710 conftest
$ac_exeext conftest.
$ac_ext
15711 LIBS
=$ac_get_soname_save_LIBS
15713 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15714 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15715 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15717 cat >>confdefs.h
<<_ACEOF
15718 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15872 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15873 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15875 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15876 echo $ECHO_N "(cached) $ECHO_C" >&6
15878 cat >conftest.
$ac_ext <<_ACEOF
15881 cat confdefs.h
>>conftest.
$ac_ext
15882 cat >>conftest.
$ac_ext <<_ACEOF
15883 /* end confdefs.h. */
15884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15886 #define $ac_func innocuous_$ac_func
15888 /* System header to define __stub macros and hopefully few prototypes,
15889 which can conflict with char $ac_func (); below.
15890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15891 <limits.h> exists even on freestanding compilers. */
15894 # include <limits.h>
15896 # include <assert.h>
15901 /* Override any GCC internal prototype to avoid an error.
15902 Use char because int might match the return type of a GCC
15903 builtin and then its argument prototype would still apply. */
15908 /* The GNU C library defines this for functions which it implements
15909 to always fail with ENOSYS. Some functions are actually named
15910 something starting with __ and the normal name is an alias. */
15911 #if defined __stub_$ac_func || defined __stub___$ac_func
15918 return $ac_func ();
15923 rm -f conftest.
$ac_objext conftest
$ac_exeext
15924 if { (ac_try
="$ac_link"
15925 case "(($ac_try" in
15926 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15927 *) ac_try_echo=$ac_try;;
15929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15930 (eval "$ac_link") 2>conftest.er1
15932 grep -v '^ *+' conftest.er1 >conftest.err
15934 cat conftest.err >&5
15935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15936 (exit $ac_status); } && {
15937 test -z "$ac_c_werror_flag" ||
15938 test ! -s conftest.err
15939 } && test -s conftest$ac_exeext &&
15940 $as_test_x conftest$ac_exeext; then
15941 eval "$as_ac_var=yes"
15943 echo "$as_me: failed program was:" >&5
15944 sed 's/^/| /' conftest.$ac_ext >&5
15946 eval "$as_ac_var=no"
15949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15950 conftest$ac_exeext conftest.$ac_ext
15952 ac_res=`eval echo '${'$as_ac_var'}'`
15953 { echo "$as_me:$LINENO: result: $ac_res" >&5
15954 echo "${ECHO_T}$ac_res" >&6; }
15955 if test `eval echo '${'$as_ac_var'}'` = yes; then
15956 cat >>confdefs.h <<_ACEOF
15957 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
15964 if test "$ac_cv_func_dlopen" = no
15966 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15967 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15968 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15969 echo $ECHO_N "(cached) $ECHO_C" >&6
15971 ac_check_lib_save_LIBS=$LIBS
15973 cat >conftest.$ac_ext <<_ACEOF
15976 cat confdefs.h >>conftest.$ac_ext
15977 cat >>conftest.$ac_ext <<_ACEOF
15978 /* end confdefs.h. */
15980 /* Override any GCC internal prototype to avoid an error.
15981 Use char because int might match the return type of a GCC
15982 builtin and then its argument prototype would still apply. */
15995 rm -f conftest.$ac_objext conftest$ac_exeext
15996 if { (ac_try="$ac_link"
15997 case "(($ac_try" in
15998 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15999 *) ac_try_echo
=$ac_try;;
16001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16002 (eval "$ac_link") 2>conftest.er1
16004 grep -v '^ *+' conftest.er1
>conftest.err
16006 cat conftest.err
>&5
16007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16008 (exit $ac_status); } && {
16009 test -z "$ac_c_werror_flag" ||
16010 test ! -s conftest.err
16011 } && test -s conftest
$ac_exeext &&
16012 $as_test_x conftest
$ac_exeext; then
16013 ac_cv_lib_dl_dlopen
=yes
16015 echo "$as_me: failed program was:" >&5
16016 sed 's/^/| /' conftest.
$ac_ext >&5
16018 ac_cv_lib_dl_dlopen
=no
16021 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16022 conftest
$ac_exeext conftest.
$ac_ext
16023 LIBS
=$ac_check_lib_save_LIBS
16025 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16026 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16027 if test $ac_cv_lib_dl_dlopen = yes; then
16028 cat >>confdefs.h
<<\_ACEOF
16029 #define HAVE_DLOPEN 1
16036 ac_wine_check_funcs_save_LIBS
="$LIBS"
16037 LIBS
="$LIBS $LIBDL"
16039 for ac_func
in dladdr
16041 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16042 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16044 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16045 echo $ECHO_N "(cached) $ECHO_C" >&6
16047 cat >conftest.
$ac_ext <<_ACEOF
16050 cat confdefs.h
>>conftest.
$ac_ext
16051 cat >>conftest.
$ac_ext <<_ACEOF
16052 /* end confdefs.h. */
16053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16055 #define $ac_func innocuous_$ac_func
16057 /* System header to define __stub macros and hopefully few prototypes,
16058 which can conflict with char $ac_func (); below.
16059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16060 <limits.h> exists even on freestanding compilers. */
16063 # include <limits.h>
16065 # include <assert.h>
16070 /* Override any GCC internal prototype to avoid an error.
16071 Use char because int might match the return type of a GCC
16072 builtin and then its argument prototype would still apply. */
16077 /* The GNU C library defines this for functions which it implements
16078 to always fail with ENOSYS. Some functions are actually named
16079 something starting with __ and the normal name is an alias. */
16080 #if defined __stub_$ac_func || defined __stub___$ac_func
16087 return $ac_func ();
16092 rm -f conftest.
$ac_objext conftest
$ac_exeext
16093 if { (ac_try
="$ac_link"
16094 case "(($ac_try" in
16095 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16096 *) ac_try_echo=$ac_try;;
16098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16099 (eval "$ac_link") 2>conftest.er1
16101 grep -v '^ *+' conftest.er1 >conftest.err
16103 cat conftest.err >&5
16104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16105 (exit $ac_status); } && {
16106 test -z "$ac_c_werror_flag" ||
16107 test ! -s conftest.err
16108 } && test -s conftest$ac_exeext &&
16109 $as_test_x conftest$ac_exeext; then
16110 eval "$as_ac_var=yes"
16112 echo "$as_me: failed program was:" >&5
16113 sed 's/^/| /' conftest.$ac_ext >&5
16115 eval "$as_ac_var=no"
16118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16119 conftest$ac_exeext conftest.$ac_ext
16121 ac_res=`eval echo '${'$as_ac_var'}'`
16122 { echo "$as_me:$LINENO: result: $ac_res" >&5
16123 echo "${ECHO_T}$ac_res" >&6; }
16124 if test `eval echo '${'$as_ac_var'}'` = yes; then
16125 cat >>confdefs.h <<_ACEOF
16126 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16132 LIBS="$ac_wine_check_funcs_save_LIBS"
16134 if test "$ac_cv_func_poll" = no
16136 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16137 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16138 if test "${ac_cv_lib_poll_poll+set}" = set; then
16139 echo $ECHO_N "(cached) $ECHO_C" >&6
16141 ac_check_lib_save_LIBS=$LIBS
16142 LIBS="-lpoll $LIBS"
16143 cat >conftest.$ac_ext <<_ACEOF
16146 cat confdefs.h >>conftest.$ac_ext
16147 cat >>conftest.$ac_ext <<_ACEOF
16148 /* end confdefs.h. */
16150 /* Override any GCC internal prototype to avoid an error.
16151 Use char because int might match the return type of a GCC
16152 builtin and then its argument prototype would still apply. */
16165 rm -f conftest.$ac_objext conftest$ac_exeext
16166 if { (ac_try="$ac_link"
16167 case "(($ac_try" in
16168 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16169 *) ac_try_echo
=$ac_try;;
16171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16172 (eval "$ac_link") 2>conftest.er1
16174 grep -v '^ *+' conftest.er1
>conftest.err
16176 cat conftest.err
>&5
16177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16178 (exit $ac_status); } && {
16179 test -z "$ac_c_werror_flag" ||
16180 test ! -s conftest.err
16181 } && test -s conftest
$ac_exeext &&
16182 $as_test_x conftest
$ac_exeext; then
16183 ac_cv_lib_poll_poll
=yes
16185 echo "$as_me: failed program was:" >&5
16186 sed 's/^/| /' conftest.
$ac_ext >&5
16188 ac_cv_lib_poll_poll
=no
16191 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16192 conftest
$ac_exeext conftest.
$ac_ext
16193 LIBS
=$ac_check_lib_save_LIBS
16195 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16196 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16197 if test $ac_cv_lib_poll_poll = yes; then
16198 cat >>confdefs.h
<<\_ACEOF
16199 #define HAVE_POLL 1
16207 if test "$ac_cv_func_gethostbyname" = no
16210 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
16211 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
16212 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
16213 echo $ECHO_N "(cached) $ECHO_C" >&6
16215 ac_check_lib_save_LIBS
=$LIBS
16217 cat >conftest.
$ac_ext <<_ACEOF
16220 cat confdefs.h
>>conftest.
$ac_ext
16221 cat >>conftest.
$ac_ext <<_ACEOF
16222 /* end confdefs.h. */
16224 /* Override any GCC internal prototype to avoid an error.
16225 Use char because int might match the return type of a GCC
16226 builtin and then its argument prototype would still apply. */
16230 char gethostbyname ();
16234 return gethostbyname ();
16239 rm -f conftest.
$ac_objext conftest
$ac_exeext
16240 if { (ac_try
="$ac_link"
16241 case "(($ac_try" in
16242 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16243 *) ac_try_echo=$ac_try;;
16245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16246 (eval "$ac_link") 2>conftest.er1
16248 grep -v '^ *+' conftest.er1 >conftest.err
16250 cat conftest.err >&5
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); } && {
16253 test -z "$ac_c_werror_flag" ||
16254 test ! -s conftest.err
16255 } && test -s conftest$ac_exeext &&
16256 $as_test_x conftest$ac_exeext; then
16257 ac_cv_lib_nsl_gethostbyname=yes
16259 echo "$as_me: failed program was:" >&5
16260 sed 's/^/| /' conftest.$ac_ext >&5
16262 ac_cv_lib_nsl_gethostbyname=no
16265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16266 conftest$ac_exeext conftest.$ac_ext
16267 LIBS=$ac_check_lib_save_LIBS
16269 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
16270 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
16271 if test $ac_cv_lib_nsl_gethostbyname = yes; then
16272 cat >>confdefs.h <<_ACEOF
16273 #define HAVE_LIBNSL 1
16282 if test "$ac_cv_func_connect" = no
16285 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
16286 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
16287 if test "${ac_cv_lib_socket_connect+set}" = set; then
16288 echo $ECHO_N "(cached) $ECHO_C" >&6
16290 ac_check_lib_save_LIBS=$LIBS
16291 LIBS="-lsocket $LIBS"
16292 cat >conftest.$ac_ext <<_ACEOF
16295 cat confdefs.h >>conftest.$ac_ext
16296 cat >>conftest.$ac_ext <<_ACEOF
16297 /* end confdefs.h. */
16299 /* Override any GCC internal prototype to avoid an error.
16300 Use char because int might match the return type of a GCC
16301 builtin and then its argument prototype would still apply. */
16314 rm -f conftest.$ac_objext conftest$ac_exeext
16315 if { (ac_try="$ac_link"
16316 case "(($ac_try" in
16317 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16318 *) ac_try_echo
=$ac_try;;
16320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16321 (eval "$ac_link") 2>conftest.er1
16323 grep -v '^ *+' conftest.er1
>conftest.err
16325 cat conftest.err
>&5
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); } && {
16328 test -z "$ac_c_werror_flag" ||
16329 test ! -s conftest.err
16330 } && test -s conftest
$ac_exeext &&
16331 $as_test_x conftest
$ac_exeext; then
16332 ac_cv_lib_socket_connect
=yes
16334 echo "$as_me: failed program was:" >&5
16335 sed 's/^/| /' conftest.
$ac_ext >&5
16337 ac_cv_lib_socket_connect
=no
16340 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16341 conftest
$ac_exeext conftest.
$ac_ext
16342 LIBS
=$ac_check_lib_save_LIBS
16344 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
16345 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
16346 if test $ac_cv_lib_socket_connect = yes; then
16347 cat >>confdefs.h
<<_ACEOF
16348 #define HAVE_LIBSOCKET 1
16351 LIBS
="-lsocket $LIBS"
16357 if test "$ac_cv_func_inet_aton" = no
16360 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
16361 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
16362 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
16363 echo $ECHO_N "(cached) $ECHO_C" >&6
16365 ac_check_lib_save_LIBS
=$LIBS
16366 LIBS
="-lresolv $LIBS"
16367 cat >conftest.
$ac_ext <<_ACEOF
16370 cat confdefs.h
>>conftest.
$ac_ext
16371 cat >>conftest.
$ac_ext <<_ACEOF
16372 /* end confdefs.h. */
16374 /* Override any GCC internal prototype to avoid an error.
16375 Use char because int might match the return type of a GCC
16376 builtin and then its argument prototype would still apply. */
16384 return inet_aton ();
16389 rm -f conftest.
$ac_objext conftest
$ac_exeext
16390 if { (ac_try
="$ac_link"
16391 case "(($ac_try" in
16392 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16393 *) ac_try_echo=$ac_try;;
16395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16396 (eval "$ac_link") 2>conftest.er1
16398 grep -v '^ *+' conftest.er1 >conftest.err
16400 cat conftest.err >&5
16401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16402 (exit $ac_status); } && {
16403 test -z "$ac_c_werror_flag" ||
16404 test ! -s conftest.err
16405 } && test -s conftest$ac_exeext &&
16406 $as_test_x conftest$ac_exeext; then
16407 ac_cv_lib_resolv_inet_aton=yes
16409 echo "$as_me: failed program was:" >&5
16410 sed 's/^/| /' conftest.$ac_ext >&5
16412 ac_cv_lib_resolv_inet_aton=no
16415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16416 conftest$ac_exeext conftest.$ac_ext
16417 LIBS=$ac_check_lib_save_LIBS
16419 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
16420 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
16421 if test $ac_cv_lib_resolv_inet_aton = yes; then
16422 cat >>confdefs.h <<_ACEOF
16423 #define HAVE_LIBRESOLV 1
16426 LIBS="-lresolv $LIBS"
16433 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16434 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16435 if test "${ac_cv_c_const+set}" = set; then
16436 echo $ECHO_N "(cached) $ECHO_C" >&6
16438 cat >conftest.$ac_ext <<_ACEOF
16441 cat confdefs.h >>conftest.$ac_ext
16442 cat >>conftest.$ac_ext <<_ACEOF
16443 /* end confdefs.h. */
16448 /* FIXME: Include the comments suggested by Paul. */
16449 #ifndef __cplusplus
16450 /* Ultrix mips cc rejects this. */
16451 typedef int charset[2];
16453 /* SunOS 4.1.1 cc rejects this. */
16454 char const *const *pcpcc;
16456 /* NEC SVR4.0.2 mips cc rejects this. */
16457 struct point {int x, y;};
16458 static struct point const zero = {0,0};
16459 /* AIX XL C 1.02.0.0 rejects this.
16460 It does not let you subtract one const X* pointer from another in
16461 an arm of an if-expression whose if-part is not a constant
16463 const char *g = "string";
16464 pcpcc = &g + (g ? g-g : 0);
16465 /* HPUX 7.0 cc rejects these. */
16467 ppc = (char**) pcpcc;
16468 pcpcc = (char const *const *) ppc;
16469 { /* SCO 3.2v4 cc rejects this. */
16471 char const *s = 0 ? (char *) 0 : (char const *) 0;
16476 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16477 int x[] = {25, 17};
16478 const int *foo = &x[0];
16481 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16482 typedef const int *iptr;
16486 { /* AIX XL C 1.02.0.0 rejects this saying
16487 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16488 struct s { int j; const int *ap[3]; };
16489 struct s *b; b->j = 5;
16491 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16492 const int foo = 10;
16493 if (!foo) return 0;
16495 return !cs[0] && !zero.x;
16502 rm -f conftest.$ac_objext
16503 if { (ac_try="$ac_compile"
16504 case "(($ac_try" in
16505 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16506 *) ac_try_echo
=$ac_try;;
16508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16509 (eval "$ac_compile") 2>conftest.er1
16511 grep -v '^ *+' conftest.er1
>conftest.err
16513 cat conftest.err
>&5
16514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16515 (exit $ac_status); } && {
16516 test -z "$ac_c_werror_flag" ||
16517 test ! -s conftest.err
16518 } && test -s conftest.
$ac_objext; then
16521 echo "$as_me: failed program was:" >&5
16522 sed 's/^/| /' conftest.
$ac_ext >&5
16527 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16529 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16530 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16531 if test $ac_cv_c_const = no
; then
16533 cat >>confdefs.h
<<\_ACEOF
16539 { echo "$as_me:$LINENO: checking for inline" >&5
16540 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16541 if test "${ac_cv_c_inline+set}" = set; then
16542 echo $ECHO_N "(cached) $ECHO_C" >&6
16545 for ac_kw
in inline __inline__ __inline
; do
16546 cat >conftest.
$ac_ext <<_ACEOF
16549 cat confdefs.h
>>conftest.
$ac_ext
16550 cat >>conftest.
$ac_ext <<_ACEOF
16551 /* end confdefs.h. */
16552 #ifndef __cplusplus
16554 static $ac_kw foo_t static_foo () {return 0; }
16555 $ac_kw foo_t foo () {return 0; }
16559 rm -f conftest.
$ac_objext
16560 if { (ac_try
="$ac_compile"
16561 case "(($ac_try" in
16562 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16563 *) ac_try_echo=$ac_try;;
16565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16566 (eval "$ac_compile") 2>conftest.er1
16568 grep -v '^ *+' conftest.er1 >conftest.err
16570 cat conftest.err >&5
16571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16572 (exit $ac_status); } && {
16573 test -z "$ac_c_werror_flag" ||
16574 test ! -s conftest.err
16575 } && test -s conftest.$ac_objext; then
16576 ac_cv_c_inline=$ac_kw
16578 echo "$as_me: failed program was:" >&5
16579 sed 's/^/| /' conftest.$ac_ext >&5
16584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16585 test "$ac_cv_c_inline" != no && break
16589 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16590 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16593 case $ac_cv_c_inline in
16596 case $ac_cv_c_inline in
16598 *) ac_val=$ac_cv_c_inline;;
16600 cat >>confdefs.h <<_ACEOF
16601 #ifndef __cplusplus
16602 #define inline $ac_val
16608 { echo "$as_me:$LINENO: checking for mode_t" >&5
16609 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16610 if test "${ac_cv_type_mode_t+set}" = set; then
16611 echo $ECHO_N "(cached) $ECHO_C" >&6
16613 cat >conftest.$ac_ext <<_ACEOF
16616 cat confdefs.h >>conftest.$ac_ext
16617 cat >>conftest.$ac_ext <<_ACEOF
16618 /* end confdefs.h. */
16619 $ac_includes_default
16620 typedef mode_t ac__type_new_;
16624 if ((ac__type_new_ *) 0)
16626 if (sizeof (ac__type_new_))
16632 rm -f conftest.$ac_objext
16633 if { (ac_try="$ac_compile"
16634 case "(($ac_try" in
16635 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16636 *) ac_try_echo
=$ac_try;;
16638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16639 (eval "$ac_compile") 2>conftest.er1
16641 grep -v '^ *+' conftest.er1
>conftest.err
16643 cat conftest.err
>&5
16644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16645 (exit $ac_status); } && {
16646 test -z "$ac_c_werror_flag" ||
16647 test ! -s conftest.err
16648 } && test -s conftest.
$ac_objext; then
16649 ac_cv_type_mode_t
=yes
16651 echo "$as_me: failed program was:" >&5
16652 sed 's/^/| /' conftest.
$ac_ext >&5
16654 ac_cv_type_mode_t
=no
16657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16659 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16660 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16661 if test $ac_cv_type_mode_t = yes; then
16663 cat >>confdefs.h
<<_ACEOF
16664 #define HAVE_MODE_T 1
16669 { echo "$as_me:$LINENO: checking for off_t" >&5
16670 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16671 if test "${ac_cv_type_off_t+set}" = set; then
16672 echo $ECHO_N "(cached) $ECHO_C" >&6
16674 cat >conftest.
$ac_ext <<_ACEOF
16677 cat confdefs.h
>>conftest.
$ac_ext
16678 cat >>conftest.
$ac_ext <<_ACEOF
16679 /* end confdefs.h. */
16680 $ac_includes_default
16681 typedef off_t ac__type_new_;
16685 if ((ac__type_new_ *) 0)
16687 if (sizeof (ac__type_new_))
16693 rm -f conftest.
$ac_objext
16694 if { (ac_try
="$ac_compile"
16695 case "(($ac_try" in
16696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16697 *) ac_try_echo=$ac_try;;
16699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16700 (eval "$ac_compile") 2>conftest.er1
16702 grep -v '^ *+' conftest.er1 >conftest.err
16704 cat conftest.err >&5
16705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16706 (exit $ac_status); } && {
16707 test -z "$ac_c_werror_flag" ||
16708 test ! -s conftest.err
16709 } && test -s conftest.$ac_objext; then
16710 ac_cv_type_off_t=yes
16712 echo "$as_me: failed program was:" >&5
16713 sed 's/^/| /' conftest.$ac_ext >&5
16715 ac_cv_type_off_t=no
16718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16720 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16721 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16722 if test $ac_cv_type_off_t = yes; then
16724 cat >>confdefs.h <<_ACEOF
16725 #define HAVE_OFF_T 1
16730 { echo "$as_me:$LINENO: checking for pid_t" >&5
16731 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16732 if test "${ac_cv_type_pid_t+set}" = set; then
16733 echo $ECHO_N "(cached) $ECHO_C" >&6
16735 cat >conftest.$ac_ext <<_ACEOF
16738 cat confdefs.h >>conftest.$ac_ext
16739 cat >>conftest.$ac_ext <<_ACEOF
16740 /* end confdefs.h. */
16741 $ac_includes_default
16742 typedef pid_t ac__type_new_;
16746 if ((ac__type_new_ *) 0)
16748 if (sizeof (ac__type_new_))
16754 rm -f conftest.$ac_objext
16755 if { (ac_try="$ac_compile"
16756 case "(($ac_try" in
16757 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16758 *) ac_try_echo
=$ac_try;;
16760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16761 (eval "$ac_compile") 2>conftest.er1
16763 grep -v '^ *+' conftest.er1
>conftest.err
16765 cat conftest.err
>&5
16766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16767 (exit $ac_status); } && {
16768 test -z "$ac_c_werror_flag" ||
16769 test ! -s conftest.err
16770 } && test -s conftest.
$ac_objext; then
16771 ac_cv_type_pid_t
=yes
16773 echo "$as_me: failed program was:" >&5
16774 sed 's/^/| /' conftest.
$ac_ext >&5
16776 ac_cv_type_pid_t
=no
16779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16781 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16782 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16783 if test $ac_cv_type_pid_t = yes; then
16785 cat >>confdefs.h
<<_ACEOF
16786 #define HAVE_PID_T 1
16791 { echo "$as_me:$LINENO: checking for size_t" >&5
16792 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16793 if test "${ac_cv_type_size_t+set}" = set; then
16794 echo $ECHO_N "(cached) $ECHO_C" >&6
16796 cat >conftest.
$ac_ext <<_ACEOF
16799 cat confdefs.h
>>conftest.
$ac_ext
16800 cat >>conftest.
$ac_ext <<_ACEOF
16801 /* end confdefs.h. */
16802 $ac_includes_default
16803 typedef size_t ac__type_new_;
16807 if ((ac__type_new_ *) 0)
16809 if (sizeof (ac__type_new_))
16815 rm -f conftest.
$ac_objext
16816 if { (ac_try
="$ac_compile"
16817 case "(($ac_try" in
16818 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16819 *) ac_try_echo=$ac_try;;
16821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16822 (eval "$ac_compile") 2>conftest.er1
16824 grep -v '^ *+' conftest.er1 >conftest.err
16826 cat conftest.err >&5
16827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828 (exit $ac_status); } && {
16829 test -z "$ac_c_werror_flag" ||
16830 test ! -s conftest.err
16831 } && test -s conftest.$ac_objext; then
16832 ac_cv_type_size_t=yes
16834 echo "$as_me: failed program was:" >&5
16835 sed 's/^/| /' conftest.$ac_ext >&5
16837 ac_cv_type_size_t=no
16840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16842 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16843 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16844 if test $ac_cv_type_size_t = yes; then
16846 cat >>confdefs.h <<_ACEOF
16847 #define HAVE_SIZE_T 1
16852 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16853 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16854 if test "${ac_cv_type_ssize_t+set}" = set; then
16855 echo $ECHO_N "(cached) $ECHO_C" >&6
16857 cat >conftest.$ac_ext <<_ACEOF
16860 cat confdefs.h >>conftest.$ac_ext
16861 cat >>conftest.$ac_ext <<_ACEOF
16862 /* end confdefs.h. */
16863 $ac_includes_default
16864 typedef ssize_t ac__type_new_;
16868 if ((ac__type_new_ *) 0)
16870 if (sizeof (ac__type_new_))
16876 rm -f conftest.$ac_objext
16877 if { (ac_try="$ac_compile"
16878 case "(($ac_try" in
16879 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16880 *) ac_try_echo
=$ac_try;;
16882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16883 (eval "$ac_compile") 2>conftest.er1
16885 grep -v '^ *+' conftest.er1
>conftest.err
16887 cat conftest.err
>&5
16888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16889 (exit $ac_status); } && {
16890 test -z "$ac_c_werror_flag" ||
16891 test ! -s conftest.err
16892 } && test -s conftest.
$ac_objext; then
16893 ac_cv_type_ssize_t
=yes
16895 echo "$as_me: failed program was:" >&5
16896 sed 's/^/| /' conftest.
$ac_ext >&5
16898 ac_cv_type_ssize_t
=no
16901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16903 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16904 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16905 if test $ac_cv_type_ssize_t = yes; then
16907 cat >>confdefs.h
<<_ACEOF
16908 #define HAVE_SSIZE_T 1
16913 { echo "$as_me:$LINENO: checking for long long" >&5
16914 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16915 if test "${ac_cv_type_long_long+set}" = set; then
16916 echo $ECHO_N "(cached) $ECHO_C" >&6
16918 cat >conftest.
$ac_ext <<_ACEOF
16921 cat confdefs.h
>>conftest.
$ac_ext
16922 cat >>conftest.
$ac_ext <<_ACEOF
16923 /* end confdefs.h. */
16924 $ac_includes_default
16925 typedef long long ac__type_new_;
16929 if ((ac__type_new_ *) 0)
16931 if (sizeof (ac__type_new_))
16937 rm -f conftest.
$ac_objext
16938 if { (ac_try
="$ac_compile"
16939 case "(($ac_try" in
16940 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16941 *) ac_try_echo=$ac_try;;
16943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16944 (eval "$ac_compile") 2>conftest.er1
16946 grep -v '^ *+' conftest.er1 >conftest.err
16948 cat conftest.err >&5
16949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16950 (exit $ac_status); } && {
16951 test -z "$ac_c_werror_flag" ||
16952 test ! -s conftest.err
16953 } && test -s conftest.$ac_objext; then
16954 ac_cv_type_long_long=yes
16956 echo "$as_me: failed program was:" >&5
16957 sed 's/^/| /' conftest.$ac_ext >&5
16959 ac_cv_type_long_long=no
16962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16964 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16965 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
16966 if test $ac_cv_type_long_long = yes; then
16968 cat >>confdefs.h <<_ACEOF
16969 #define HAVE_LONG_LONG 1
16974 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
16975 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
16976 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
16977 echo $ECHO_N "(cached) $ECHO_C" >&6
16979 cat >conftest.$ac_ext <<_ACEOF
16982 cat confdefs.h >>conftest.$ac_ext
16983 cat >>conftest.$ac_ext <<_ACEOF
16984 /* end confdefs.h. */
16985 $ac_includes_default
16986 typedef fsblkcnt_t ac__type_new_;
16990 if ((ac__type_new_ *) 0)
16992 if (sizeof (ac__type_new_))
16998 rm -f conftest.$ac_objext
16999 if { (ac_try="$ac_compile"
17000 case "(($ac_try" in
17001 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17002 *) ac_try_echo
=$ac_try;;
17004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17005 (eval "$ac_compile") 2>conftest.er1
17007 grep -v '^ *+' conftest.er1
>conftest.err
17009 cat conftest.err
>&5
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); } && {
17012 test -z "$ac_c_werror_flag" ||
17013 test ! -s conftest.err
17014 } && test -s conftest.
$ac_objext; then
17015 ac_cv_type_fsblkcnt_t
=yes
17017 echo "$as_me: failed program was:" >&5
17018 sed 's/^/| /' conftest.
$ac_ext >&5
17020 ac_cv_type_fsblkcnt_t
=no
17023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17025 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17026 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17027 if test $ac_cv_type_fsblkcnt_t = yes; then
17029 cat >>confdefs.h
<<_ACEOF
17030 #define HAVE_FSBLKCNT_T 1
17035 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17036 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17037 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17038 echo $ECHO_N "(cached) $ECHO_C" >&6
17040 cat >conftest.
$ac_ext <<_ACEOF
17043 cat confdefs.h
>>conftest.
$ac_ext
17044 cat >>conftest.
$ac_ext <<_ACEOF
17045 /* end confdefs.h. */
17046 $ac_includes_default
17047 typedef fsfilcnt_t ac__type_new_;
17051 if ((ac__type_new_ *) 0)
17053 if (sizeof (ac__type_new_))
17059 rm -f conftest.
$ac_objext
17060 if { (ac_try
="$ac_compile"
17061 case "(($ac_try" in
17062 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17063 *) ac_try_echo=$ac_try;;
17065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17066 (eval "$ac_compile") 2>conftest.er1
17068 grep -v '^ *+' conftest.er1 >conftest.err
17070 cat conftest.err >&5
17071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17072 (exit $ac_status); } && {
17073 test -z "$ac_c_werror_flag" ||
17074 test ! -s conftest.err
17075 } && test -s conftest.$ac_objext; then
17076 ac_cv_type_fsfilcnt_t=yes
17078 echo "$as_me: failed program was:" >&5
17079 sed 's/^/| /' conftest.$ac_ext >&5
17081 ac_cv_type_fsfilcnt_t=no
17084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17086 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17087 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17088 if test $ac_cv_type_fsfilcnt_t = yes; then
17090 cat >>confdefs.h <<_ACEOF
17091 #define HAVE_FSFILCNT_T 1
17097 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17098 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17099 if test "${ac_cv_type_sigset_t+set}" = set; then
17100 echo $ECHO_N "(cached) $ECHO_C" >&6
17102 cat >conftest.$ac_ext <<_ACEOF
17105 cat confdefs.h >>conftest.$ac_ext
17106 cat >>conftest.$ac_ext <<_ACEOF
17107 /* end confdefs.h. */
17108 #include <signal.h>
17110 typedef sigset_t ac__type_new_;
17114 if ((ac__type_new_ *) 0)
17116 if (sizeof (ac__type_new_))
17122 rm -f conftest.$ac_objext
17123 if { (ac_try="$ac_compile"
17124 case "(($ac_try" in
17125 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17126 *) ac_try_echo
=$ac_try;;
17128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17129 (eval "$ac_compile") 2>conftest.er1
17131 grep -v '^ *+' conftest.er1
>conftest.err
17133 cat conftest.err
>&5
17134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17135 (exit $ac_status); } && {
17136 test -z "$ac_c_werror_flag" ||
17137 test ! -s conftest.err
17138 } && test -s conftest.
$ac_objext; then
17139 ac_cv_type_sigset_t
=yes
17141 echo "$as_me: failed program was:" >&5
17142 sed 's/^/| /' conftest.
$ac_ext >&5
17144 ac_cv_type_sigset_t
=no
17147 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17149 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17150 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17151 if test $ac_cv_type_sigset_t = yes; then
17153 cat >>confdefs.h
<<_ACEOF
17154 #define HAVE_SIGSET_T 1
17160 { echo "$as_me:$LINENO: checking for request_sense" >&5
17161 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17162 if test "${ac_cv_type_request_sense+set}" = set; then
17163 echo $ECHO_N "(cached) $ECHO_C" >&6
17165 cat >conftest.
$ac_ext <<_ACEOF
17168 cat confdefs.h
>>conftest.
$ac_ext
17169 cat >>conftest.
$ac_ext <<_ACEOF
17170 /* end confdefs.h. */
17171 #include <linux/cdrom.h>
17173 typedef request_sense ac__type_new_;
17177 if ((ac__type_new_ *) 0)
17179 if (sizeof (ac__type_new_))
17185 rm -f conftest.
$ac_objext
17186 if { (ac_try
="$ac_compile"
17187 case "(($ac_try" in
17188 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17189 *) ac_try_echo=$ac_try;;
17191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17192 (eval "$ac_compile") 2>conftest.er1
17194 grep -v '^ *+' conftest.er1 >conftest.err
17196 cat conftest.err >&5
17197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17198 (exit $ac_status); } && {
17199 test -z "$ac_c_werror_flag" ||
17200 test ! -s conftest.err
17201 } && test -s conftest.$ac_objext; then
17202 ac_cv_type_request_sense=yes
17204 echo "$as_me: failed program was:" >&5
17205 sed 's/^/| /' conftest.$ac_ext >&5
17207 ac_cv_type_request_sense=no
17210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17212 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17213 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17214 if test $ac_cv_type_request_sense = yes; then
17216 cat >>confdefs.h <<_ACEOF
17217 #define HAVE_REQUEST_SENSE 1
17224 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17225 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17226 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17227 echo $ECHO_N "(cached) $ECHO_C" >&6
17229 cat >conftest.$ac_ext <<_ACEOF
17232 cat confdefs.h >>conftest.$ac_ext
17233 cat >>conftest.$ac_ext <<_ACEOF
17234 /* end confdefs.h. */
17235 #ifdef HAVE_LINUX_INPUT_H
17236 #include <linux/input.h>
17242 static struct ff_effect ac_aggr;
17243 if (ac_aggr.direction)
17249 rm -f conftest.$ac_objext
17250 if { (ac_try="$ac_compile"
17251 case "(($ac_try" in
17252 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17253 *) ac_try_echo
=$ac_try;;
17255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17256 (eval "$ac_compile") 2>conftest.er1
17258 grep -v '^ *+' conftest.er1
>conftest.err
17260 cat conftest.err
>&5
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); } && {
17263 test -z "$ac_c_werror_flag" ||
17264 test ! -s conftest.err
17265 } && test -s conftest.
$ac_objext; then
17266 ac_cv_member_struct_ff_effect_direction
=yes
17268 echo "$as_me: failed program was:" >&5
17269 sed 's/^/| /' conftest.
$ac_ext >&5
17271 cat >conftest.
$ac_ext <<_ACEOF
17274 cat confdefs.h
>>conftest.
$ac_ext
17275 cat >>conftest.
$ac_ext <<_ACEOF
17276 /* end confdefs.h. */
17277 #ifdef HAVE_LINUX_INPUT_H
17278 #include <linux/input.h>
17284 static struct ff_effect ac_aggr;
17285 if (sizeof ac_aggr.direction)
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_member_struct_ff_effect_direction=yes
17310 echo "$as_me: failed program was:" >&5
17311 sed 's/^/| /' conftest.$ac_ext >&5
17313 ac_cv_member_struct_ff_effect_direction=no
17316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17321 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17322 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17323 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17325 cat >>confdefs.h <<_ACEOF
17326 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17333 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17334 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17335 if test "${wine_cv_have_sigaddset+set}" = set; then
17336 echo $ECHO_N "(cached) $ECHO_C" >&6
17338 cat >conftest.$ac_ext <<_ACEOF
17341 cat confdefs.h >>conftest.$ac_ext
17342 cat >>conftest.$ac_ext <<_ACEOF
17343 /* end confdefs.h. */
17344 #include <signal.h>
17348 sigset_t set; sigaddset(&set,SIGTERM);
17353 rm -f conftest.$ac_objext conftest$ac_exeext
17354 if { (ac_try="$ac_link"
17355 case "(($ac_try" in
17356 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17357 *) ac_try_echo
=$ac_try;;
17359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17360 (eval "$ac_link") 2>conftest.er1
17362 grep -v '^ *+' conftest.er1
>conftest.err
17364 cat conftest.err
>&5
17365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17366 (exit $ac_status); } && {
17367 test -z "$ac_c_werror_flag" ||
17368 test ! -s conftest.err
17369 } && test -s conftest
$ac_exeext &&
17370 $as_test_x conftest
$ac_exeext; then
17371 wine_cv_have_sigaddset
=yes
17373 echo "$as_me: failed program was:" >&5
17374 sed 's/^/| /' conftest.
$ac_ext >&5
17376 wine_cv_have_sigaddset
=no
17379 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17380 conftest
$ac_exeext conftest.
$ac_ext
17382 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17383 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17384 if test "$wine_cv_have_sigaddset" = "yes"
17387 cat >>confdefs.h
<<\_ACEOF
17388 #define HAVE_SIGADDSET 1
17394 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17395 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17396 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17397 echo $ECHO_N "(cached) $ECHO_C" >&6
17399 cat >conftest.
$ac_ext <<_ACEOF
17402 cat confdefs.h
>>conftest.
$ac_ext
17403 cat >>conftest.
$ac_ext <<_ACEOF
17404 /* end confdefs.h. */
17414 struct hostent *result;
17421 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17422 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17428 rm -f conftest.
$ac_objext conftest
$ac_exeext
17429 if { (ac_try
="$ac_link"
17430 case "(($ac_try" in
17431 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17432 *) ac_try_echo=$ac_try;;
17434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17435 (eval "$ac_link") 2>conftest.er1
17437 grep -v '^ *+' conftest.er1 >conftest.err
17439 cat conftest.err >&5
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); } && {
17442 test -z "$ac_c_werror_flag" ||
17443 test ! -s conftest.err
17444 } && test -s conftest$ac_exeext &&
17445 $as_test_x conftest$ac_exeext; then
17446 wine_cv_linux_gethostbyname_r_6=yes
17448 echo "$as_me: failed program was:" >&5
17449 sed 's/^/| /' conftest.$ac_ext >&5
17451 wine_cv_linux_gethostbyname_r_6=no
17455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17456 conftest$ac_exeext conftest.$ac_ext
17459 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17460 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17461 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17464 cat >>confdefs.h <<\_ACEOF
17465 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17470 if test "$ac_cv_header_linux_joystick_h" = "yes"
17472 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17473 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17474 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17475 echo $ECHO_N "(cached) $ECHO_C" >&6
17477 cat >conftest.$ac_ext <<_ACEOF
17480 cat confdefs.h >>conftest.$ac_ext
17481 cat >>conftest.$ac_ext <<_ACEOF
17482 /* end confdefs.h. */
17484 #include <sys/ioctl.h>
17485 #include <linux/joystick.h>
17487 struct js_event blub;
17488 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17489 #error "no 2.2 header"
17500 rm -f conftest.$ac_objext
17501 if { (ac_try="$ac_compile"
17502 case "(($ac_try" in
17503 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17504 *) ac_try_echo
=$ac_try;;
17506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17507 (eval "$ac_compile") 2>conftest.er1
17509 grep -v '^ *+' conftest.er1
>conftest.err
17511 cat conftest.err
>&5
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); } && {
17514 test -z "$ac_c_werror_flag" ||
17515 test ! -s conftest.err
17516 } && test -s conftest.
$ac_objext; then
17517 wine_cv_linux_joystick_22_api
=yes
17519 echo "$as_me: failed program was:" >&5
17520 sed 's/^/| /' conftest.
$ac_ext >&5
17522 wine_cv_linux_joystick_22_api
=no
17525 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17528 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17529 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17530 if test "$wine_cv_linux_joystick_22_api" = "yes"
17533 cat >>confdefs.h
<<\_ACEOF
17534 #define HAVE_LINUX_22_JOYSTICK_API 1
17541 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17542 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17543 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17544 echo $ECHO_N "(cached) $ECHO_C" >&6
17546 cat >conftest.
$ac_ext <<_ACEOF
17549 cat confdefs.h
>>conftest.
$ac_ext
17550 cat >>conftest.
$ac_ext <<_ACEOF
17551 /* end confdefs.h. */
17552 #include <sys/types.h>
17553 #ifdef HAVE_SYS_PARAM_H
17554 # include <sys/param.h>
17556 #ifdef HAVE_SYS_MOUNT_H
17557 # include <sys/mount.h>
17559 #ifdef HAVE_SYS_VFS_H
17560 # include <sys/vfs.h>
17562 #ifdef HAVE_SYS_STATFS_H
17563 # include <sys/statfs.h>
17569 static struct statfs ac_aggr;
17570 if (ac_aggr.f_bfree)
17576 rm -f conftest.
$ac_objext
17577 if { (ac_try
="$ac_compile"
17578 case "(($ac_try" in
17579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17580 *) ac_try_echo=$ac_try;;
17582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17583 (eval "$ac_compile") 2>conftest.er1
17585 grep -v '^ *+' conftest.er1 >conftest.err
17587 cat conftest.err >&5
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); } && {
17590 test -z "$ac_c_werror_flag" ||
17591 test ! -s conftest.err
17592 } && test -s conftest.$ac_objext; then
17593 ac_cv_member_struct_statfs_f_bfree=yes
17595 echo "$as_me: failed program was:" >&5
17596 sed 's/^/| /' conftest.$ac_ext >&5
17598 cat >conftest.$ac_ext <<_ACEOF
17601 cat confdefs.h >>conftest.$ac_ext
17602 cat >>conftest.$ac_ext <<_ACEOF
17603 /* end confdefs.h. */
17604 #include <sys/types.h>
17605 #ifdef HAVE_SYS_PARAM_H
17606 # include <sys/param.h>
17608 #ifdef HAVE_SYS_MOUNT_H
17609 # include <sys/mount.h>
17611 #ifdef HAVE_SYS_VFS_H
17612 # include <sys/vfs.h>
17614 #ifdef HAVE_SYS_STATFS_H
17615 # include <sys/statfs.h>
17621 static struct statfs ac_aggr;
17622 if (sizeof ac_aggr.f_bfree)
17628 rm -f conftest.$ac_objext
17629 if { (ac_try="$ac_compile"
17630 case "(($ac_try" in
17631 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17632 *) ac_try_echo
=$ac_try;;
17634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17635 (eval "$ac_compile") 2>conftest.er1
17637 grep -v '^ *+' conftest.er1
>conftest.err
17639 cat conftest.err
>&5
17640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17641 (exit $ac_status); } && {
17642 test -z "$ac_c_werror_flag" ||
17643 test ! -s conftest.err
17644 } && test -s conftest.
$ac_objext; then
17645 ac_cv_member_struct_statfs_f_bfree
=yes
17647 echo "$as_me: failed program was:" >&5
17648 sed 's/^/| /' conftest.
$ac_ext >&5
17650 ac_cv_member_struct_statfs_f_bfree
=no
17653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17658 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17659 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17660 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17662 cat >>confdefs.h
<<_ACEOF
17663 #define HAVE_STRUCT_STATFS_F_BFREE 1
17668 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17669 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17670 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17671 echo $ECHO_N "(cached) $ECHO_C" >&6
17673 cat >conftest.
$ac_ext <<_ACEOF
17676 cat confdefs.h
>>conftest.
$ac_ext
17677 cat >>conftest.
$ac_ext <<_ACEOF
17678 /* end confdefs.h. */
17679 #include <sys/types.h>
17680 #ifdef HAVE_SYS_PARAM_H
17681 # include <sys/param.h>
17683 #ifdef HAVE_SYS_MOUNT_H
17684 # include <sys/mount.h>
17686 #ifdef HAVE_SYS_VFS_H
17687 # include <sys/vfs.h>
17689 #ifdef HAVE_SYS_STATFS_H
17690 # include <sys/statfs.h>
17696 static struct statfs ac_aggr;
17697 if (ac_aggr.f_bavail)
17703 rm -f conftest.
$ac_objext
17704 if { (ac_try
="$ac_compile"
17705 case "(($ac_try" in
17706 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17707 *) ac_try_echo=$ac_try;;
17709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17710 (eval "$ac_compile") 2>conftest.er1
17712 grep -v '^ *+' conftest.er1 >conftest.err
17714 cat conftest.err >&5
17715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716 (exit $ac_status); } && {
17717 test -z "$ac_c_werror_flag" ||
17718 test ! -s conftest.err
17719 } && test -s conftest.$ac_objext; then
17720 ac_cv_member_struct_statfs_f_bavail=yes
17722 echo "$as_me: failed program was:" >&5
17723 sed 's/^/| /' conftest.$ac_ext >&5
17725 cat >conftest.$ac_ext <<_ACEOF
17728 cat confdefs.h >>conftest.$ac_ext
17729 cat >>conftest.$ac_ext <<_ACEOF
17730 /* end confdefs.h. */
17731 #include <sys/types.h>
17732 #ifdef HAVE_SYS_PARAM_H
17733 # include <sys/param.h>
17735 #ifdef HAVE_SYS_MOUNT_H
17736 # include <sys/mount.h>
17738 #ifdef HAVE_SYS_VFS_H
17739 # include <sys/vfs.h>
17741 #ifdef HAVE_SYS_STATFS_H
17742 # include <sys/statfs.h>
17748 static struct statfs ac_aggr;
17749 if (sizeof ac_aggr.f_bavail)
17755 rm -f conftest.$ac_objext
17756 if { (ac_try="$ac_compile"
17757 case "(($ac_try" in
17758 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17759 *) ac_try_echo
=$ac_try;;
17761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17762 (eval "$ac_compile") 2>conftest.er1
17764 grep -v '^ *+' conftest.er1
>conftest.err
17766 cat conftest.err
>&5
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); } && {
17769 test -z "$ac_c_werror_flag" ||
17770 test ! -s conftest.err
17771 } && test -s conftest.
$ac_objext; then
17772 ac_cv_member_struct_statfs_f_bavail
=yes
17774 echo "$as_me: failed program was:" >&5
17775 sed 's/^/| /' conftest.
$ac_ext >&5
17777 ac_cv_member_struct_statfs_f_bavail
=no
17780 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17785 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17786 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17787 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17789 cat >>confdefs.h
<<_ACEOF
17790 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17795 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17796 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17797 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17798 echo $ECHO_N "(cached) $ECHO_C" >&6
17800 cat >conftest.
$ac_ext <<_ACEOF
17803 cat confdefs.h
>>conftest.
$ac_ext
17804 cat >>conftest.
$ac_ext <<_ACEOF
17805 /* end confdefs.h. */
17806 #include <sys/types.h>
17807 #ifdef HAVE_SYS_PARAM_H
17808 # include <sys/param.h>
17810 #ifdef HAVE_SYS_MOUNT_H
17811 # include <sys/mount.h>
17813 #ifdef HAVE_SYS_VFS_H
17814 # include <sys/vfs.h>
17816 #ifdef HAVE_SYS_STATFS_H
17817 # include <sys/statfs.h>
17823 static struct statfs ac_aggr;
17824 if (ac_aggr.f_frsize)
17830 rm -f conftest.
$ac_objext
17831 if { (ac_try
="$ac_compile"
17832 case "(($ac_try" in
17833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17834 *) ac_try_echo=$ac_try;;
17836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17837 (eval "$ac_compile") 2>conftest.er1
17839 grep -v '^ *+' conftest.er1 >conftest.err
17841 cat conftest.err >&5
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843 (exit $ac_status); } && {
17844 test -z "$ac_c_werror_flag" ||
17845 test ! -s conftest.err
17846 } && test -s conftest.$ac_objext; then
17847 ac_cv_member_struct_statfs_f_frsize=yes
17849 echo "$as_me: failed program was:" >&5
17850 sed 's/^/| /' conftest.$ac_ext >&5
17852 cat >conftest.$ac_ext <<_ACEOF
17855 cat confdefs.h >>conftest.$ac_ext
17856 cat >>conftest.$ac_ext <<_ACEOF
17857 /* end confdefs.h. */
17858 #include <sys/types.h>
17859 #ifdef HAVE_SYS_PARAM_H
17860 # include <sys/param.h>
17862 #ifdef HAVE_SYS_MOUNT_H
17863 # include <sys/mount.h>
17865 #ifdef HAVE_SYS_VFS_H
17866 # include <sys/vfs.h>
17868 #ifdef HAVE_SYS_STATFS_H
17869 # include <sys/statfs.h>
17875 static struct statfs ac_aggr;
17876 if (sizeof ac_aggr.f_frsize)
17882 rm -f conftest.$ac_objext
17883 if { (ac_try="$ac_compile"
17884 case "(($ac_try" in
17885 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17886 *) ac_try_echo
=$ac_try;;
17888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17889 (eval "$ac_compile") 2>conftest.er1
17891 grep -v '^ *+' conftest.er1
>conftest.err
17893 cat conftest.err
>&5
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); } && {
17896 test -z "$ac_c_werror_flag" ||
17897 test ! -s conftest.err
17898 } && test -s conftest.
$ac_objext; then
17899 ac_cv_member_struct_statfs_f_frsize
=yes
17901 echo "$as_me: failed program was:" >&5
17902 sed 's/^/| /' conftest.
$ac_ext >&5
17904 ac_cv_member_struct_statfs_f_frsize
=no
17907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17912 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17913 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17914 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17916 cat >>confdefs.h
<<_ACEOF
17917 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17922 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17923 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17924 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17925 echo $ECHO_N "(cached) $ECHO_C" >&6
17927 cat >conftest.
$ac_ext <<_ACEOF
17930 cat confdefs.h
>>conftest.
$ac_ext
17931 cat >>conftest.
$ac_ext <<_ACEOF
17932 /* end confdefs.h. */
17933 #include <sys/types.h>
17934 #ifdef HAVE_SYS_PARAM_H
17935 # include <sys/param.h>
17937 #ifdef HAVE_SYS_MOUNT_H
17938 # include <sys/mount.h>
17940 #ifdef HAVE_SYS_VFS_H
17941 # include <sys/vfs.h>
17943 #ifdef HAVE_SYS_STATFS_H
17944 # include <sys/statfs.h>
17950 static struct statfs ac_aggr;
17951 if (ac_aggr.f_ffree)
17957 rm -f conftest.
$ac_objext
17958 if { (ac_try
="$ac_compile"
17959 case "(($ac_try" in
17960 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17961 *) ac_try_echo=$ac_try;;
17963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17964 (eval "$ac_compile") 2>conftest.er1
17966 grep -v '^ *+' conftest.er1 >conftest.err
17968 cat conftest.err >&5
17969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17970 (exit $ac_status); } && {
17971 test -z "$ac_c_werror_flag" ||
17972 test ! -s conftest.err
17973 } && test -s conftest.$ac_objext; then
17974 ac_cv_member_struct_statfs_f_ffree=yes
17976 echo "$as_me: failed program was:" >&5
17977 sed 's/^/| /' conftest.$ac_ext >&5
17979 cat >conftest.$ac_ext <<_ACEOF
17982 cat confdefs.h >>conftest.$ac_ext
17983 cat >>conftest.$ac_ext <<_ACEOF
17984 /* end confdefs.h. */
17985 #include <sys/types.h>
17986 #ifdef HAVE_SYS_PARAM_H
17987 # include <sys/param.h>
17989 #ifdef HAVE_SYS_MOUNT_H
17990 # include <sys/mount.h>
17992 #ifdef HAVE_SYS_VFS_H
17993 # include <sys/vfs.h>
17995 #ifdef HAVE_SYS_STATFS_H
17996 # include <sys/statfs.h>
18002 static struct statfs ac_aggr;
18003 if (sizeof ac_aggr.f_ffree)
18009 rm -f conftest.$ac_objext
18010 if { (ac_try="$ac_compile"
18011 case "(($ac_try" in
18012 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18013 *) ac_try_echo
=$ac_try;;
18015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18016 (eval "$ac_compile") 2>conftest.er1
18018 grep -v '^ *+' conftest.er1
>conftest.err
18020 cat conftest.err
>&5
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); } && {
18023 test -z "$ac_c_werror_flag" ||
18024 test ! -s conftest.err
18025 } && test -s conftest.
$ac_objext; then
18026 ac_cv_member_struct_statfs_f_ffree
=yes
18028 echo "$as_me: failed program was:" >&5
18029 sed 's/^/| /' conftest.
$ac_ext >&5
18031 ac_cv_member_struct_statfs_f_ffree
=no
18034 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18039 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18040 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18041 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18043 cat >>confdefs.h
<<_ACEOF
18044 #define HAVE_STRUCT_STATFS_F_FFREE 1
18049 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18050 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18051 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18052 echo $ECHO_N "(cached) $ECHO_C" >&6
18054 cat >conftest.
$ac_ext <<_ACEOF
18057 cat confdefs.h
>>conftest.
$ac_ext
18058 cat >>conftest.
$ac_ext <<_ACEOF
18059 /* end confdefs.h. */
18060 #include <sys/types.h>
18061 #ifdef HAVE_SYS_PARAM_H
18062 # include <sys/param.h>
18064 #ifdef HAVE_SYS_MOUNT_H
18065 # include <sys/mount.h>
18067 #ifdef HAVE_SYS_VFS_H
18068 # include <sys/vfs.h>
18070 #ifdef HAVE_SYS_STATFS_H
18071 # include <sys/statfs.h>
18077 static struct statfs ac_aggr;
18078 if (ac_aggr.f_favail)
18084 rm -f conftest.
$ac_objext
18085 if { (ac_try
="$ac_compile"
18086 case "(($ac_try" in
18087 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18088 *) ac_try_echo=$ac_try;;
18090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18091 (eval "$ac_compile") 2>conftest.er1
18093 grep -v '^ *+' conftest.er1 >conftest.err
18095 cat conftest.err >&5
18096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097 (exit $ac_status); } && {
18098 test -z "$ac_c_werror_flag" ||
18099 test ! -s conftest.err
18100 } && test -s conftest.$ac_objext; then
18101 ac_cv_member_struct_statfs_f_favail=yes
18103 echo "$as_me: failed program was:" >&5
18104 sed 's/^/| /' conftest.$ac_ext >&5
18106 cat >conftest.$ac_ext <<_ACEOF
18109 cat confdefs.h >>conftest.$ac_ext
18110 cat >>conftest.$ac_ext <<_ACEOF
18111 /* end confdefs.h. */
18112 #include <sys/types.h>
18113 #ifdef HAVE_SYS_PARAM_H
18114 # include <sys/param.h>
18116 #ifdef HAVE_SYS_MOUNT_H
18117 # include <sys/mount.h>
18119 #ifdef HAVE_SYS_VFS_H
18120 # include <sys/vfs.h>
18122 #ifdef HAVE_SYS_STATFS_H
18123 # include <sys/statfs.h>
18129 static struct statfs ac_aggr;
18130 if (sizeof ac_aggr.f_favail)
18136 rm -f conftest.$ac_objext
18137 if { (ac_try="$ac_compile"
18138 case "(($ac_try" in
18139 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18140 *) ac_try_echo
=$ac_try;;
18142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18143 (eval "$ac_compile") 2>conftest.er1
18145 grep -v '^ *+' conftest.er1
>conftest.err
18147 cat conftest.err
>&5
18148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18149 (exit $ac_status); } && {
18150 test -z "$ac_c_werror_flag" ||
18151 test ! -s conftest.err
18152 } && test -s conftest.
$ac_objext; then
18153 ac_cv_member_struct_statfs_f_favail
=yes
18155 echo "$as_me: failed program was:" >&5
18156 sed 's/^/| /' conftest.
$ac_ext >&5
18158 ac_cv_member_struct_statfs_f_favail
=no
18161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18166 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18167 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18168 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18170 cat >>confdefs.h
<<_ACEOF
18171 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18176 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18177 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18178 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18179 echo $ECHO_N "(cached) $ECHO_C" >&6
18181 cat >conftest.
$ac_ext <<_ACEOF
18184 cat confdefs.h
>>conftest.
$ac_ext
18185 cat >>conftest.
$ac_ext <<_ACEOF
18186 /* end confdefs.h. */
18187 #include <sys/types.h>
18188 #ifdef HAVE_SYS_PARAM_H
18189 # include <sys/param.h>
18191 #ifdef HAVE_SYS_MOUNT_H
18192 # include <sys/mount.h>
18194 #ifdef HAVE_SYS_VFS_H
18195 # include <sys/vfs.h>
18197 #ifdef HAVE_SYS_STATFS_H
18198 # include <sys/statfs.h>
18204 static struct statfs ac_aggr;
18205 if (ac_aggr.f_namelen)
18211 rm -f conftest.
$ac_objext
18212 if { (ac_try
="$ac_compile"
18213 case "(($ac_try" in
18214 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18215 *) ac_try_echo=$ac_try;;
18217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18218 (eval "$ac_compile") 2>conftest.er1
18220 grep -v '^ *+' conftest.er1 >conftest.err
18222 cat conftest.err >&5
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); } && {
18225 test -z "$ac_c_werror_flag" ||
18226 test ! -s conftest.err
18227 } && test -s conftest.$ac_objext; then
18228 ac_cv_member_struct_statfs_f_namelen=yes
18230 echo "$as_me: failed program was:" >&5
18231 sed 's/^/| /' conftest.$ac_ext >&5
18233 cat >conftest.$ac_ext <<_ACEOF
18236 cat confdefs.h >>conftest.$ac_ext
18237 cat >>conftest.$ac_ext <<_ACEOF
18238 /* end confdefs.h. */
18239 #include <sys/types.h>
18240 #ifdef HAVE_SYS_PARAM_H
18241 # include <sys/param.h>
18243 #ifdef HAVE_SYS_MOUNT_H
18244 # include <sys/mount.h>
18246 #ifdef HAVE_SYS_VFS_H
18247 # include <sys/vfs.h>
18249 #ifdef HAVE_SYS_STATFS_H
18250 # include <sys/statfs.h>
18256 static struct statfs ac_aggr;
18257 if (sizeof ac_aggr.f_namelen)
18263 rm -f conftest.$ac_objext
18264 if { (ac_try="$ac_compile"
18265 case "(($ac_try" in
18266 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18267 *) ac_try_echo
=$ac_try;;
18269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18270 (eval "$ac_compile") 2>conftest.er1
18272 grep -v '^ *+' conftest.er1
>conftest.err
18274 cat conftest.err
>&5
18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276 (exit $ac_status); } && {
18277 test -z "$ac_c_werror_flag" ||
18278 test ! -s conftest.err
18279 } && test -s conftest.
$ac_objext; then
18280 ac_cv_member_struct_statfs_f_namelen
=yes
18282 echo "$as_me: failed program was:" >&5
18283 sed 's/^/| /' conftest.
$ac_ext >&5
18285 ac_cv_member_struct_statfs_f_namelen
=no
18288 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18291 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18293 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18294 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18295 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18297 cat >>confdefs.h
<<_ACEOF
18298 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18305 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18306 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18307 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18308 echo $ECHO_N "(cached) $ECHO_C" >&6
18310 cat >conftest.
$ac_ext <<_ACEOF
18313 cat confdefs.h
>>conftest.
$ac_ext
18314 cat >>conftest.
$ac_ext <<_ACEOF
18315 /* end confdefs.h. */
18316 #ifdef HAVE_SYS_STATVFS_H
18317 #include <sys/statvfs.h>
18323 static struct statvfs ac_aggr;
18324 if (ac_aggr.f_blocks)
18330 rm -f conftest.
$ac_objext
18331 if { (ac_try
="$ac_compile"
18332 case "(($ac_try" in
18333 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18334 *) ac_try_echo=$ac_try;;
18336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18337 (eval "$ac_compile") 2>conftest.er1
18339 grep -v '^ *+' conftest.er1 >conftest.err
18341 cat conftest.err >&5
18342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18343 (exit $ac_status); } && {
18344 test -z "$ac_c_werror_flag" ||
18345 test ! -s conftest.err
18346 } && test -s conftest.$ac_objext; then
18347 ac_cv_member_struct_statvfs_f_blocks=yes
18349 echo "$as_me: failed program was:" >&5
18350 sed 's/^/| /' conftest.$ac_ext >&5
18352 cat >conftest.$ac_ext <<_ACEOF
18355 cat confdefs.h >>conftest.$ac_ext
18356 cat >>conftest.$ac_ext <<_ACEOF
18357 /* end confdefs.h. */
18358 #ifdef HAVE_SYS_STATVFS_H
18359 #include <sys/statvfs.h>
18365 static struct statvfs ac_aggr;
18366 if (sizeof ac_aggr.f_blocks)
18372 rm -f conftest.$ac_objext
18373 if { (ac_try="$ac_compile"
18374 case "(($ac_try" in
18375 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18376 *) ac_try_echo
=$ac_try;;
18378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18379 (eval "$ac_compile") 2>conftest.er1
18381 grep -v '^ *+' conftest.er1
>conftest.err
18383 cat conftest.err
>&5
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); } && {
18386 test -z "$ac_c_werror_flag" ||
18387 test ! -s conftest.err
18388 } && test -s conftest.
$ac_objext; then
18389 ac_cv_member_struct_statvfs_f_blocks
=yes
18391 echo "$as_me: failed program was:" >&5
18392 sed 's/^/| /' conftest.
$ac_ext >&5
18394 ac_cv_member_struct_statvfs_f_blocks
=no
18397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18400 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18402 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18403 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18404 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18406 cat >>confdefs.h
<<_ACEOF
18407 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18414 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18415 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18416 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18417 echo $ECHO_N "(cached) $ECHO_C" >&6
18419 cat >conftest.
$ac_ext <<_ACEOF
18422 cat confdefs.h
>>conftest.
$ac_ext
18423 cat >>conftest.
$ac_ext <<_ACEOF
18424 /* end confdefs.h. */
18425 #include <sys/types.h>
18426 #ifdef HAVE_SYS_SOCKET_H
18427 # include <sys/socket.h>
18429 #ifdef HAVE_SYS_UN_H
18430 # include <sys/un.h>
18436 static struct msghdr ac_aggr;
18437 if (ac_aggr.msg_accrights)
18443 rm -f conftest.
$ac_objext
18444 if { (ac_try
="$ac_compile"
18445 case "(($ac_try" in
18446 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18447 *) ac_try_echo=$ac_try;;
18449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18450 (eval "$ac_compile") 2>conftest.er1
18452 grep -v '^ *+' conftest.er1 >conftest.err
18454 cat conftest.err >&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); } && {
18457 test -z "$ac_c_werror_flag" ||
18458 test ! -s conftest.err
18459 } && test -s conftest.$ac_objext; then
18460 ac_cv_member_struct_msghdr_msg_accrights=yes
18462 echo "$as_me: failed program was:" >&5
18463 sed 's/^/| /' conftest.$ac_ext >&5
18465 cat >conftest.$ac_ext <<_ACEOF
18468 cat confdefs.h >>conftest.$ac_ext
18469 cat >>conftest.$ac_ext <<_ACEOF
18470 /* end confdefs.h. */
18471 #include <sys/types.h>
18472 #ifdef HAVE_SYS_SOCKET_H
18473 # include <sys/socket.h>
18475 #ifdef HAVE_SYS_UN_H
18476 # include <sys/un.h>
18482 static struct msghdr ac_aggr;
18483 if (sizeof ac_aggr.msg_accrights)
18489 rm -f conftest.$ac_objext
18490 if { (ac_try="$ac_compile"
18491 case "(($ac_try" in
18492 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18493 *) ac_try_echo
=$ac_try;;
18495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18496 (eval "$ac_compile") 2>conftest.er1
18498 grep -v '^ *+' conftest.er1
>conftest.err
18500 cat conftest.err
>&5
18501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502 (exit $ac_status); } && {
18503 test -z "$ac_c_werror_flag" ||
18504 test ! -s conftest.err
18505 } && test -s conftest.
$ac_objext; then
18506 ac_cv_member_struct_msghdr_msg_accrights
=yes
18508 echo "$as_me: failed program was:" >&5
18509 sed 's/^/| /' conftest.
$ac_ext >&5
18511 ac_cv_member_struct_msghdr_msg_accrights
=no
18514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18517 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18519 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18520 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18521 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18523 cat >>confdefs.h
<<_ACEOF
18524 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18529 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18530 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18531 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18532 echo $ECHO_N "(cached) $ECHO_C" >&6
18534 cat >conftest.
$ac_ext <<_ACEOF
18537 cat confdefs.h
>>conftest.
$ac_ext
18538 cat >>conftest.
$ac_ext <<_ACEOF
18539 /* end confdefs.h. */
18540 #include <sys/types.h>
18541 #ifdef HAVE_SYS_SOCKET_H
18542 # include <sys/socket.h>
18544 #ifdef HAVE_SYS_UN_H
18545 # include <sys/un.h>
18551 static struct sockaddr ac_aggr;
18552 if (ac_aggr.sa_len)
18558 rm -f conftest.
$ac_objext
18559 if { (ac_try
="$ac_compile"
18560 case "(($ac_try" in
18561 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18562 *) ac_try_echo=$ac_try;;
18564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18565 (eval "$ac_compile") 2>conftest.er1
18567 grep -v '^ *+' conftest.er1 >conftest.err
18569 cat conftest.err >&5
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); } && {
18572 test -z "$ac_c_werror_flag" ||
18573 test ! -s conftest.err
18574 } && test -s conftest.$ac_objext; then
18575 ac_cv_member_struct_sockaddr_sa_len=yes
18577 echo "$as_me: failed program was:" >&5
18578 sed 's/^/| /' conftest.$ac_ext >&5
18580 cat >conftest.$ac_ext <<_ACEOF
18583 cat confdefs.h >>conftest.$ac_ext
18584 cat >>conftest.$ac_ext <<_ACEOF
18585 /* end confdefs.h. */
18586 #include <sys/types.h>
18587 #ifdef HAVE_SYS_SOCKET_H
18588 # include <sys/socket.h>
18590 #ifdef HAVE_SYS_UN_H
18591 # include <sys/un.h>
18597 static struct sockaddr ac_aggr;
18598 if (sizeof ac_aggr.sa_len)
18604 rm -f conftest.$ac_objext
18605 if { (ac_try="$ac_compile"
18606 case "(($ac_try" in
18607 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18608 *) ac_try_echo
=$ac_try;;
18610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18611 (eval "$ac_compile") 2>conftest.er1
18613 grep -v '^ *+' conftest.er1
>conftest.err
18615 cat conftest.err
>&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); } && {
18618 test -z "$ac_c_werror_flag" ||
18619 test ! -s conftest.err
18620 } && test -s conftest.
$ac_objext; then
18621 ac_cv_member_struct_sockaddr_sa_len
=yes
18623 echo "$as_me: failed program was:" >&5
18624 sed 's/^/| /' conftest.
$ac_ext >&5
18626 ac_cv_member_struct_sockaddr_sa_len
=no
18629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18634 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18635 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18636 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18638 cat >>confdefs.h
<<_ACEOF
18639 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18644 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18645 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18646 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18647 echo $ECHO_N "(cached) $ECHO_C" >&6
18649 cat >conftest.
$ac_ext <<_ACEOF
18652 cat confdefs.h
>>conftest.
$ac_ext
18653 cat >>conftest.
$ac_ext <<_ACEOF
18654 /* end confdefs.h. */
18655 #include <sys/types.h>
18656 #ifdef HAVE_SYS_SOCKET_H
18657 # include <sys/socket.h>
18659 #ifdef HAVE_SYS_UN_H
18660 # include <sys/un.h>
18666 static struct sockaddr_un ac_aggr;
18667 if (ac_aggr.sun_len)
18673 rm -f conftest.
$ac_objext
18674 if { (ac_try
="$ac_compile"
18675 case "(($ac_try" in
18676 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18677 *) ac_try_echo=$ac_try;;
18679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18680 (eval "$ac_compile") 2>conftest.er1
18682 grep -v '^ *+' conftest.er1 >conftest.err
18684 cat conftest.err >&5
18685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18686 (exit $ac_status); } && {
18687 test -z "$ac_c_werror_flag" ||
18688 test ! -s conftest.err
18689 } && test -s conftest.$ac_objext; then
18690 ac_cv_member_struct_sockaddr_un_sun_len=yes
18692 echo "$as_me: failed program was:" >&5
18693 sed 's/^/| /' conftest.$ac_ext >&5
18695 cat >conftest.$ac_ext <<_ACEOF
18698 cat confdefs.h >>conftest.$ac_ext
18699 cat >>conftest.$ac_ext <<_ACEOF
18700 /* end confdefs.h. */
18701 #include <sys/types.h>
18702 #ifdef HAVE_SYS_SOCKET_H
18703 # include <sys/socket.h>
18705 #ifdef HAVE_SYS_UN_H
18706 # include <sys/un.h>
18712 static struct sockaddr_un ac_aggr;
18713 if (sizeof ac_aggr.sun_len)
18719 rm -f conftest.$ac_objext
18720 if { (ac_try="$ac_compile"
18721 case "(($ac_try" in
18722 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18723 *) ac_try_echo
=$ac_try;;
18725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18726 (eval "$ac_compile") 2>conftest.er1
18728 grep -v '^ *+' conftest.er1
>conftest.err
18730 cat conftest.err
>&5
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); } && {
18733 test -z "$ac_c_werror_flag" ||
18734 test ! -s conftest.err
18735 } && test -s conftest.
$ac_objext; then
18736 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18738 echo "$as_me: failed program was:" >&5
18739 sed 's/^/| /' conftest.
$ac_ext >&5
18741 ac_cv_member_struct_sockaddr_un_sun_len
=no
18744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18747 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18749 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18750 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18751 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18753 cat >>confdefs.h
<<_ACEOF
18754 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18761 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18762 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18763 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18764 echo $ECHO_N "(cached) $ECHO_C" >&6
18766 cat >conftest.
$ac_ext <<_ACEOF
18769 cat confdefs.h
>>conftest.
$ac_ext
18770 cat >>conftest.
$ac_ext <<_ACEOF
18771 /* end confdefs.h. */
18772 #include <sys/types.h>
18773 #ifdef HAVE_SCSI_SG_H
18774 #include <scsi/sg.h>
18780 static scsireq_t ac_aggr;
18787 rm -f conftest.
$ac_objext
18788 if { (ac_try
="$ac_compile"
18789 case "(($ac_try" in
18790 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18791 *) ac_try_echo=$ac_try;;
18793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18794 (eval "$ac_compile") 2>conftest.er1
18796 grep -v '^ *+' conftest.er1 >conftest.err
18798 cat conftest.err >&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); } && {
18801 test -z "$ac_c_werror_flag" ||
18802 test ! -s conftest.err
18803 } && test -s conftest.$ac_objext; then
18804 ac_cv_member_scsireq_t_cmd=yes
18806 echo "$as_me: failed program was:" >&5
18807 sed 's/^/| /' conftest.$ac_ext >&5
18809 cat >conftest.$ac_ext <<_ACEOF
18812 cat confdefs.h >>conftest.$ac_ext
18813 cat >>conftest.$ac_ext <<_ACEOF
18814 /* end confdefs.h. */
18815 #include <sys/types.h>
18816 #ifdef HAVE_SCSI_SG_H
18817 #include <scsi/sg.h>
18823 static scsireq_t ac_aggr;
18824 if (sizeof ac_aggr.cmd)
18830 rm -f conftest.$ac_objext
18831 if { (ac_try="$ac_compile"
18832 case "(($ac_try" in
18833 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18834 *) ac_try_echo
=$ac_try;;
18836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18837 (eval "$ac_compile") 2>conftest.er1
18839 grep -v '^ *+' conftest.er1
>conftest.err
18841 cat conftest.err
>&5
18842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18843 (exit $ac_status); } && {
18844 test -z "$ac_c_werror_flag" ||
18845 test ! -s conftest.err
18846 } && test -s conftest.
$ac_objext; then
18847 ac_cv_member_scsireq_t_cmd
=yes
18849 echo "$as_me: failed program was:" >&5
18850 sed 's/^/| /' conftest.
$ac_ext >&5
18852 ac_cv_member_scsireq_t_cmd
=no
18855 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18858 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18860 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18861 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18862 if test $ac_cv_member_scsireq_t_cmd = yes; then
18864 cat >>confdefs.h
<<_ACEOF
18865 #define HAVE_SCSIREQ_T_CMD 1
18870 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18871 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18872 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18873 echo $ECHO_N "(cached) $ECHO_C" >&6
18875 cat >conftest.
$ac_ext <<_ACEOF
18878 cat confdefs.h
>>conftest.
$ac_ext
18879 cat >>conftest.
$ac_ext <<_ACEOF
18880 /* end confdefs.h. */
18881 #include <sys/types.h>
18882 #ifdef HAVE_SCSI_SG_H
18883 #include <scsi/sg.h>
18889 static sg_io_hdr_t ac_aggr;
18890 if (ac_aggr.interface_id)
18896 rm -f conftest.
$ac_objext
18897 if { (ac_try
="$ac_compile"
18898 case "(($ac_try" in
18899 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18900 *) ac_try_echo=$ac_try;;
18902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18903 (eval "$ac_compile") 2>conftest.er1
18905 grep -v '^ *+' conftest.er1 >conftest.err
18907 cat conftest.err >&5
18908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18909 (exit $ac_status); } && {
18910 test -z "$ac_c_werror_flag" ||
18911 test ! -s conftest.err
18912 } && test -s conftest.$ac_objext; then
18913 ac_cv_member_sg_io_hdr_t_interface_id=yes
18915 echo "$as_me: failed program was:" >&5
18916 sed 's/^/| /' conftest.$ac_ext >&5
18918 cat >conftest.$ac_ext <<_ACEOF
18921 cat confdefs.h >>conftest.$ac_ext
18922 cat >>conftest.$ac_ext <<_ACEOF
18923 /* end confdefs.h. */
18924 #include <sys/types.h>
18925 #ifdef HAVE_SCSI_SG_H
18926 #include <scsi/sg.h>
18932 static sg_io_hdr_t ac_aggr;
18933 if (sizeof ac_aggr.interface_id)
18939 rm -f conftest.$ac_objext
18940 if { (ac_try="$ac_compile"
18941 case "(($ac_try" in
18942 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18943 *) ac_try_echo
=$ac_try;;
18945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18946 (eval "$ac_compile") 2>conftest.er1
18948 grep -v '^ *+' conftest.er1
>conftest.err
18950 cat conftest.err
>&5
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); } && {
18953 test -z "$ac_c_werror_flag" ||
18954 test ! -s conftest.err
18955 } && test -s conftest.
$ac_objext; then
18956 ac_cv_member_sg_io_hdr_t_interface_id
=yes
18958 echo "$as_me: failed program was:" >&5
18959 sed 's/^/| /' conftest.
$ac_ext >&5
18961 ac_cv_member_sg_io_hdr_t_interface_id
=no
18964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18969 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
18970 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
18971 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
18973 cat >>confdefs.h
<<_ACEOF
18974 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18981 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
18982 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
18983 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
18984 echo $ECHO_N "(cached) $ECHO_C" >&6
18986 cat >conftest.
$ac_ext <<_ACEOF
18989 cat confdefs.h
>>conftest.
$ac_ext
18990 cat >>conftest.
$ac_ext <<_ACEOF
18991 /* end confdefs.h. */
18992 #include <signal.h>
18997 static siginfo_t ac_aggr;
19004 rm -f conftest.
$ac_objext
19005 if { (ac_try
="$ac_compile"
19006 case "(($ac_try" in
19007 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19008 *) ac_try_echo=$ac_try;;
19010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19011 (eval "$ac_compile") 2>conftest.er1
19013 grep -v '^ *+' conftest.er1 >conftest.err
19015 cat conftest.err >&5
19016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19017 (exit $ac_status); } && {
19018 test -z "$ac_c_werror_flag" ||
19019 test ! -s conftest.err
19020 } && test -s conftest.$ac_objext; then
19021 ac_cv_member_siginfo_t_si_fd=yes
19023 echo "$as_me: failed program was:" >&5
19024 sed 's/^/| /' conftest.$ac_ext >&5
19026 cat >conftest.$ac_ext <<_ACEOF
19029 cat confdefs.h >>conftest.$ac_ext
19030 cat >>conftest.$ac_ext <<_ACEOF
19031 /* end confdefs.h. */
19032 #include <signal.h>
19037 static siginfo_t ac_aggr;
19038 if (sizeof ac_aggr.si_fd)
19044 rm -f conftest.$ac_objext
19045 if { (ac_try="$ac_compile"
19046 case "(($ac_try" in
19047 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19048 *) ac_try_echo
=$ac_try;;
19050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19051 (eval "$ac_compile") 2>conftest.er1
19053 grep -v '^ *+' conftest.er1
>conftest.err
19055 cat conftest.err
>&5
19056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19057 (exit $ac_status); } && {
19058 test -z "$ac_c_werror_flag" ||
19059 test ! -s conftest.err
19060 } && test -s conftest.
$ac_objext; then
19061 ac_cv_member_siginfo_t_si_fd
=yes
19063 echo "$as_me: failed program was:" >&5
19064 sed 's/^/| /' conftest.
$ac_ext >&5
19066 ac_cv_member_siginfo_t_si_fd
=no
19069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19072 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19074 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19075 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19076 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19078 cat >>confdefs.h
<<_ACEOF
19079 #define HAVE_SIGINFO_T_SI_FD 1
19086 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19087 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19088 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19089 echo $ECHO_N "(cached) $ECHO_C" >&6
19091 cat >conftest.
$ac_ext <<_ACEOF
19094 cat confdefs.h
>>conftest.
$ac_ext
19095 cat >>conftest.
$ac_ext <<_ACEOF
19096 /* end confdefs.h. */
19097 #include <sys/types.h>
19098 #ifdef HAVE_SYS_MTIO_H
19099 #include <sys/mtio.h>
19105 static struct mtget ac_aggr;
19106 if (ac_aggr.mt_blksiz)
19112 rm -f conftest.
$ac_objext
19113 if { (ac_try
="$ac_compile"
19114 case "(($ac_try" in
19115 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19116 *) ac_try_echo=$ac_try;;
19118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19119 (eval "$ac_compile") 2>conftest.er1
19121 grep -v '^ *+' conftest.er1 >conftest.err
19123 cat conftest.err >&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); } && {
19126 test -z "$ac_c_werror_flag" ||
19127 test ! -s conftest.err
19128 } && test -s conftest.$ac_objext; then
19129 ac_cv_member_struct_mtget_mt_blksiz=yes
19131 echo "$as_me: failed program was:" >&5
19132 sed 's/^/| /' conftest.$ac_ext >&5
19134 cat >conftest.$ac_ext <<_ACEOF
19137 cat confdefs.h >>conftest.$ac_ext
19138 cat >>conftest.$ac_ext <<_ACEOF
19139 /* end confdefs.h. */
19140 #include <sys/types.h>
19141 #ifdef HAVE_SYS_MTIO_H
19142 #include <sys/mtio.h>
19148 static struct mtget ac_aggr;
19149 if (sizeof ac_aggr.mt_blksiz)
19155 rm -f conftest.$ac_objext
19156 if { (ac_try="$ac_compile"
19157 case "(($ac_try" in
19158 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19159 *) ac_try_echo
=$ac_try;;
19161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19162 (eval "$ac_compile") 2>conftest.er1
19164 grep -v '^ *+' conftest.er1
>conftest.err
19166 cat conftest.err
>&5
19167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19168 (exit $ac_status); } && {
19169 test -z "$ac_c_werror_flag" ||
19170 test ! -s conftest.err
19171 } && test -s conftest.
$ac_objext; then
19172 ac_cv_member_struct_mtget_mt_blksiz
=yes
19174 echo "$as_me: failed program was:" >&5
19175 sed 's/^/| /' conftest.
$ac_ext >&5
19177 ac_cv_member_struct_mtget_mt_blksiz
=no
19180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19183 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19185 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19186 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19187 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19189 cat >>confdefs.h
<<_ACEOF
19190 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19195 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19196 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19197 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19198 echo $ECHO_N "(cached) $ECHO_C" >&6
19200 cat >conftest.
$ac_ext <<_ACEOF
19203 cat confdefs.h
>>conftest.
$ac_ext
19204 cat >>conftest.
$ac_ext <<_ACEOF
19205 /* end confdefs.h. */
19206 #include <sys/types.h>
19207 #ifdef HAVE_SYS_MTIO_H
19208 #include <sys/mtio.h>
19214 static struct mtget ac_aggr;
19215 if (ac_aggr.mt_gstat)
19221 rm -f conftest.
$ac_objext
19222 if { (ac_try
="$ac_compile"
19223 case "(($ac_try" in
19224 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19225 *) ac_try_echo=$ac_try;;
19227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19228 (eval "$ac_compile") 2>conftest.er1
19230 grep -v '^ *+' conftest.er1 >conftest.err
19232 cat conftest.err >&5
19233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19234 (exit $ac_status); } && {
19235 test -z "$ac_c_werror_flag" ||
19236 test ! -s conftest.err
19237 } && test -s conftest.$ac_objext; then
19238 ac_cv_member_struct_mtget_mt_gstat=yes
19240 echo "$as_me: failed program was:" >&5
19241 sed 's/^/| /' conftest.$ac_ext >&5
19243 cat >conftest.$ac_ext <<_ACEOF
19246 cat confdefs.h >>conftest.$ac_ext
19247 cat >>conftest.$ac_ext <<_ACEOF
19248 /* end confdefs.h. */
19249 #include <sys/types.h>
19250 #ifdef HAVE_SYS_MTIO_H
19251 #include <sys/mtio.h>
19257 static struct mtget ac_aggr;
19258 if (sizeof ac_aggr.mt_gstat)
19264 rm -f conftest.$ac_objext
19265 if { (ac_try="$ac_compile"
19266 case "(($ac_try" in
19267 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19268 *) ac_try_echo
=$ac_try;;
19270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19271 (eval "$ac_compile") 2>conftest.er1
19273 grep -v '^ *+' conftest.er1
>conftest.err
19275 cat conftest.err
>&5
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); } && {
19278 test -z "$ac_c_werror_flag" ||
19279 test ! -s conftest.err
19280 } && test -s conftest.
$ac_objext; then
19281 ac_cv_member_struct_mtget_mt_gstat
=yes
19283 echo "$as_me: failed program was:" >&5
19284 sed 's/^/| /' conftest.
$ac_ext >&5
19286 ac_cv_member_struct_mtget_mt_gstat
=no
19289 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19294 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19295 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19296 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19298 cat >>confdefs.h
<<_ACEOF
19299 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19304 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19305 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19306 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19307 echo $ECHO_N "(cached) $ECHO_C" >&6
19309 cat >conftest.
$ac_ext <<_ACEOF
19312 cat confdefs.h
>>conftest.
$ac_ext
19313 cat >>conftest.
$ac_ext <<_ACEOF
19314 /* end confdefs.h. */
19315 #include <sys/types.h>
19316 #ifdef HAVE_SYS_MTIO_H
19317 #include <sys/mtio.h>
19323 static struct mtget ac_aggr;
19324 if (ac_aggr.mt_blkno)
19330 rm -f conftest.
$ac_objext
19331 if { (ac_try
="$ac_compile"
19332 case "(($ac_try" in
19333 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19334 *) ac_try_echo=$ac_try;;
19336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19337 (eval "$ac_compile") 2>conftest.er1
19339 grep -v '^ *+' conftest.er1 >conftest.err
19341 cat conftest.err >&5
19342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19343 (exit $ac_status); } && {
19344 test -z "$ac_c_werror_flag" ||
19345 test ! -s conftest.err
19346 } && test -s conftest.$ac_objext; then
19347 ac_cv_member_struct_mtget_mt_blkno=yes
19349 echo "$as_me: failed program was:" >&5
19350 sed 's/^/| /' conftest.$ac_ext >&5
19352 cat >conftest.$ac_ext <<_ACEOF
19355 cat confdefs.h >>conftest.$ac_ext
19356 cat >>conftest.$ac_ext <<_ACEOF
19357 /* end confdefs.h. */
19358 #include <sys/types.h>
19359 #ifdef HAVE_SYS_MTIO_H
19360 #include <sys/mtio.h>
19366 static struct mtget ac_aggr;
19367 if (sizeof ac_aggr.mt_blkno)
19373 rm -f conftest.$ac_objext
19374 if { (ac_try="$ac_compile"
19375 case "(($ac_try" in
19376 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19377 *) ac_try_echo
=$ac_try;;
19379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19380 (eval "$ac_compile") 2>conftest.er1
19382 grep -v '^ *+' conftest.er1
>conftest.err
19384 cat conftest.err
>&5
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); } && {
19387 test -z "$ac_c_werror_flag" ||
19388 test ! -s conftest.err
19389 } && test -s conftest.
$ac_objext; then
19390 ac_cv_member_struct_mtget_mt_blkno
=yes
19392 echo "$as_me: failed program was:" >&5
19393 sed 's/^/| /' conftest.
$ac_ext >&5
19395 ac_cv_member_struct_mtget_mt_blkno
=no
19398 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19401 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19403 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19404 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19405 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19407 cat >>confdefs.h
<<_ACEOF
19408 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19415 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19416 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19417 if test "${ac_cv_member_struct_option_name+set}" = set; then
19418 echo $ECHO_N "(cached) $ECHO_C" >&6
19420 cat >conftest.
$ac_ext <<_ACEOF
19423 cat confdefs.h
>>conftest.
$ac_ext
19424 cat >>conftest.
$ac_ext <<_ACEOF
19425 /* end confdefs.h. */
19426 #ifdef HAVE_GETOPT_H
19427 #include <getopt.h>
19433 static struct option ac_aggr;
19440 rm -f conftest.
$ac_objext
19441 if { (ac_try
="$ac_compile"
19442 case "(($ac_try" in
19443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19444 *) ac_try_echo=$ac_try;;
19446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19447 (eval "$ac_compile") 2>conftest.er1
19449 grep -v '^ *+' conftest.er1 >conftest.err
19451 cat conftest.err >&5
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); } && {
19454 test -z "$ac_c_werror_flag" ||
19455 test ! -s conftest.err
19456 } && test -s conftest.$ac_objext; then
19457 ac_cv_member_struct_option_name=yes
19459 echo "$as_me: failed program was:" >&5
19460 sed 's/^/| /' conftest.$ac_ext >&5
19462 cat >conftest.$ac_ext <<_ACEOF
19465 cat confdefs.h >>conftest.$ac_ext
19466 cat >>conftest.$ac_ext <<_ACEOF
19467 /* end confdefs.h. */
19468 #ifdef HAVE_GETOPT_H
19469 #include <getopt.h>
19475 static struct option ac_aggr;
19476 if (sizeof ac_aggr.name)
19482 rm -f conftest.$ac_objext
19483 if { (ac_try="$ac_compile"
19484 case "(($ac_try" in
19485 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19486 *) ac_try_echo
=$ac_try;;
19488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19489 (eval "$ac_compile") 2>conftest.er1
19491 grep -v '^ *+' conftest.er1
>conftest.err
19493 cat conftest.err
>&5
19494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19495 (exit $ac_status); } && {
19496 test -z "$ac_c_werror_flag" ||
19497 test ! -s conftest.err
19498 } && test -s conftest.
$ac_objext; then
19499 ac_cv_member_struct_option_name
=yes
19501 echo "$as_me: failed program was:" >&5
19502 sed 's/^/| /' conftest.
$ac_ext >&5
19504 ac_cv_member_struct_option_name
=no
19507 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19512 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19513 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19514 if test $ac_cv_member_struct_option_name = yes; then
19516 cat >>confdefs.h
<<_ACEOF
19517 #define HAVE_STRUCT_OPTION_NAME 1
19524 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19525 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19526 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19527 echo $ECHO_N "(cached) $ECHO_C" >&6
19529 cat >conftest.
$ac_ext <<_ACEOF
19532 cat confdefs.h
>>conftest.
$ac_ext
19533 cat >>conftest.
$ac_ext <<_ACEOF
19534 /* end confdefs.h. */
19535 $ac_includes_default
19539 static struct stat ac_aggr;
19540 if (ac_aggr.st_blocks)
19546 rm -f conftest.
$ac_objext
19547 if { (ac_try
="$ac_compile"
19548 case "(($ac_try" in
19549 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19550 *) ac_try_echo=$ac_try;;
19552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19553 (eval "$ac_compile") 2>conftest.er1
19555 grep -v '^ *+' conftest.er1 >conftest.err
19557 cat conftest.err >&5
19558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559 (exit $ac_status); } && {
19560 test -z "$ac_c_werror_flag" ||
19561 test ! -s conftest.err
19562 } && test -s conftest.$ac_objext; then
19563 ac_cv_member_struct_stat_st_blocks=yes
19565 echo "$as_me: failed program was:" >&5
19566 sed 's/^/| /' conftest.$ac_ext >&5
19568 cat >conftest.$ac_ext <<_ACEOF
19571 cat confdefs.h >>conftest.$ac_ext
19572 cat >>conftest.$ac_ext <<_ACEOF
19573 /* end confdefs.h. */
19574 $ac_includes_default
19578 static struct stat ac_aggr;
19579 if (sizeof ac_aggr.st_blocks)
19585 rm -f conftest.$ac_objext
19586 if { (ac_try="$ac_compile"
19587 case "(($ac_try" in
19588 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19589 *) ac_try_echo
=$ac_try;;
19591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19592 (eval "$ac_compile") 2>conftest.er1
19594 grep -v '^ *+' conftest.er1
>conftest.err
19596 cat conftest.err
>&5
19597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19598 (exit $ac_status); } && {
19599 test -z "$ac_c_werror_flag" ||
19600 test ! -s conftest.err
19601 } && test -s conftest.
$ac_objext; then
19602 ac_cv_member_struct_stat_st_blocks
=yes
19604 echo "$as_me: failed program was:" >&5
19605 sed 's/^/| /' conftest.
$ac_ext >&5
19607 ac_cv_member_struct_stat_st_blocks
=no
19610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19615 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19616 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19617 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19619 cat >>confdefs.h
<<_ACEOF
19620 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19627 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19628 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19629 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19630 echo $ECHO_N "(cached) $ECHO_C" >&6
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_SYS_TYPES_H
19639 #include <sys/types.h>
19641 #ifdef HAVE_NETINET_IN_H
19642 #include <netinet/in.h>
19648 static struct sockaddr_in6 ac_aggr;
19649 if (ac_aggr.sin6_scope_id)
19655 rm -f conftest.
$ac_objext
19656 if { (ac_try
="$ac_compile"
19657 case "(($ac_try" in
19658 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19659 *) ac_try_echo=$ac_try;;
19661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19662 (eval "$ac_compile") 2>conftest.er1
19664 grep -v '^ *+' conftest.er1 >conftest.err
19666 cat conftest.err >&5
19667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19668 (exit $ac_status); } && {
19669 test -z "$ac_c_werror_flag" ||
19670 test ! -s conftest.err
19671 } && test -s conftest.$ac_objext; then
19672 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19674 echo "$as_me: failed program was:" >&5
19675 sed 's/^/| /' conftest.$ac_ext >&5
19677 cat >conftest.$ac_ext <<_ACEOF
19680 cat confdefs.h >>conftest.$ac_ext
19681 cat >>conftest.$ac_ext <<_ACEOF
19682 /* end confdefs.h. */
19683 #ifdef HAVE_SYS_TYPES_H
19684 #include <sys/types.h>
19686 #ifdef HAVE_NETINET_IN_H
19687 #include <netinet/in.h>
19693 static struct sockaddr_in6 ac_aggr;
19694 if (sizeof ac_aggr.sin6_scope_id)
19700 rm -f conftest.$ac_objext
19701 if { (ac_try="$ac_compile"
19702 case "(($ac_try" in
19703 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19704 *) ac_try_echo
=$ac_try;;
19706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19707 (eval "$ac_compile") 2>conftest.er1
19709 grep -v '^ *+' conftest.er1
>conftest.err
19711 cat conftest.err
>&5
19712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713 (exit $ac_status); } && {
19714 test -z "$ac_c_werror_flag" ||
19715 test ! -s conftest.err
19716 } && test -s conftest.
$ac_objext; then
19717 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
19719 echo "$as_me: failed program was:" >&5
19720 sed 's/^/| /' conftest.
$ac_ext >&5
19722 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=no
19725 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19730 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19731 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19732 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19734 cat >>confdefs.h
<<_ACEOF
19735 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19742 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19743 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19744 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19745 echo $ECHO_N "(cached) $ECHO_C" >&6
19747 cat >conftest.
$ac_ext <<_ACEOF
19750 cat confdefs.h
>>conftest.
$ac_ext
19751 cat >>conftest.
$ac_ext <<_ACEOF
19752 /* end confdefs.h. */
19753 #ifdef HAVE_SYS_TYPES_H
19754 #include <sys/types.h>
19756 #ifdef HAVE_NETINET_IN_H
19757 # include <netinet/in.h>
19759 #ifdef HAVE_ARPA_NAMESER_H
19760 # include <arpa/nameser.h>
19766 static ns_msg ac_aggr;
19767 if (ac_aggr._msg_ptr)
19773 rm -f conftest.
$ac_objext
19774 if { (ac_try
="$ac_compile"
19775 case "(($ac_try" in
19776 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19777 *) ac_try_echo=$ac_try;;
19779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19780 (eval "$ac_compile") 2>conftest.er1
19782 grep -v '^ *+' conftest.er1 >conftest.err
19784 cat conftest.err >&5
19785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786 (exit $ac_status); } && {
19787 test -z "$ac_c_werror_flag" ||
19788 test ! -s conftest.err
19789 } && test -s conftest.$ac_objext; then
19790 ac_cv_member_ns_msg__msg_ptr=yes
19792 echo "$as_me: failed program was:" >&5
19793 sed 's/^/| /' conftest.$ac_ext >&5
19795 cat >conftest.$ac_ext <<_ACEOF
19798 cat confdefs.h >>conftest.$ac_ext
19799 cat >>conftest.$ac_ext <<_ACEOF
19800 /* end confdefs.h. */
19801 #ifdef HAVE_SYS_TYPES_H
19802 #include <sys/types.h>
19804 #ifdef HAVE_NETINET_IN_H
19805 # include <netinet/in.h>
19807 #ifdef HAVE_ARPA_NAMESER_H
19808 # include <arpa/nameser.h>
19814 static ns_msg ac_aggr;
19815 if (sizeof ac_aggr._msg_ptr)
19821 rm -f conftest.$ac_objext
19822 if { (ac_try="$ac_compile"
19823 case "(($ac_try" in
19824 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19825 *) ac_try_echo
=$ac_try;;
19827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19828 (eval "$ac_compile") 2>conftest.er1
19830 grep -v '^ *+' conftest.er1
>conftest.err
19832 cat conftest.err
>&5
19833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19834 (exit $ac_status); } && {
19835 test -z "$ac_c_werror_flag" ||
19836 test ! -s conftest.err
19837 } && test -s conftest.
$ac_objext; then
19838 ac_cv_member_ns_msg__msg_ptr
=yes
19840 echo "$as_me: failed program was:" >&5
19841 sed 's/^/| /' conftest.
$ac_ext >&5
19843 ac_cv_member_ns_msg__msg_ptr
=no
19846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19851 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19852 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19853 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19855 cat >>confdefs.h
<<_ACEOF
19856 #define HAVE_NS_MSG__MSG_PTR 1
19863 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19864 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19865 if test "${ac_cv_have_timezone+set}" = set; then
19866 echo $ECHO_N "(cached) $ECHO_C" >&6
19868 cat >conftest.
$ac_ext <<_ACEOF
19871 cat confdefs.h
>>conftest.
$ac_ext
19872 cat >>conftest.
$ac_ext <<_ACEOF
19873 /* end confdefs.h. */
19883 rm -f conftest.
$ac_objext conftest
$ac_exeext
19884 if { (ac_try
="$ac_link"
19885 case "(($ac_try" in
19886 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19887 *) ac_try_echo=$ac_try;;
19889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19890 (eval "$ac_link") 2>conftest.er1
19892 grep -v '^ *+' conftest.er1 >conftest.err
19894 cat conftest.err >&5
19895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19896 (exit $ac_status); } && {
19897 test -z "$ac_c_werror_flag" ||
19898 test ! -s conftest.err
19899 } && test -s conftest$ac_exeext &&
19900 $as_test_x conftest$ac_exeext; then
19901 ac_cv_have_timezone="yes"
19903 echo "$as_me: failed program was:" >&5
19904 sed 's/^/| /' conftest.$ac_ext >&5
19906 ac_cv_have_timezone="no"
19909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19910 conftest$ac_exeext conftest.$ac_ext
19912 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19913 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19914 if test "$ac_cv_have_timezone" = "yes"
19917 cat >>confdefs.h <<\_ACEOF
19918 #define HAVE_TIMEZONE 1
19922 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19923 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19924 if test "${ac_cv_have_daylight+set}" = set; then
19925 echo $ECHO_N "(cached) $ECHO_C" >&6
19927 cat >conftest.$ac_ext <<_ACEOF
19930 cat confdefs.h >>conftest.$ac_ext
19931 cat >>conftest.$ac_ext <<_ACEOF
19932 /* end confdefs.h. */
19942 rm -f conftest.$ac_objext conftest$ac_exeext
19943 if { (ac_try="$ac_link"
19944 case "(($ac_try" in
19945 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19946 *) ac_try_echo
=$ac_try;;
19948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19949 (eval "$ac_link") 2>conftest.er1
19951 grep -v '^ *+' conftest.er1
>conftest.err
19953 cat conftest.err
>&5
19954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19955 (exit $ac_status); } && {
19956 test -z "$ac_c_werror_flag" ||
19957 test ! -s conftest.err
19958 } && test -s conftest
$ac_exeext &&
19959 $as_test_x conftest
$ac_exeext; then
19960 ac_cv_have_daylight
="yes"
19962 echo "$as_me: failed program was:" >&5
19963 sed 's/^/| /' conftest.
$ac_ext >&5
19965 ac_cv_have_daylight
="no"
19968 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19969 conftest
$ac_exeext conftest.
$ac_ext
19971 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
19972 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
19973 if test "$ac_cv_have_daylight" = "yes"
19976 cat >>confdefs.h
<<\_ACEOF
19977 #define HAVE_DAYLIGHT 1
19984 *i
[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19985 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
19986 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19987 echo $ECHO_N "(cached) $ECHO_C" >&6
19989 cat >conftest.
$ac_ext <<_ACEOF
19992 cat confdefs.h
>>conftest.
$ac_ext
19993 cat >>conftest.
$ac_ext <<_ACEOF
19994 /* end confdefs.h. */
19999 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20000 $EGREP "yes" >/dev
/null
2>&1; then
20001 ac_cv_cpp_def___i386__
=yes
20003 ac_cv_cpp_def___i386__
=no
20008 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20009 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20010 if test $ac_cv_cpp_def___i386__ = yes; then
20011 CFLAGS
="$CFLAGS -D__i386__"
20012 LINTFLAGS
="$LINTFLAGS -D__i386__"
20015 *x86_64
*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20016 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20017 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20018 echo $ECHO_N "(cached) $ECHO_C" >&6
20020 cat >conftest.
$ac_ext <<_ACEOF
20023 cat confdefs.h
>>conftest.
$ac_ext
20024 cat >>conftest.
$ac_ext <<_ACEOF
20025 /* end confdefs.h. */
20030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20031 $EGREP "yes" >/dev
/null
2>&1; then
20032 ac_cv_cpp_def___x86_64__
=yes
20034 ac_cv_cpp_def___x86_64__
=no
20039 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20040 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20041 if test $ac_cv_cpp_def___x86_64__ = yes; then
20042 CFLAGS
="$CFLAGS -D__x86_64__"
20043 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
20046 *alpha
*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20047 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20048 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20049 echo $ECHO_N "(cached) $ECHO_C" >&6
20051 cat >conftest.
$ac_ext <<_ACEOF
20054 cat confdefs.h
>>conftest.
$ac_ext
20055 cat >>conftest.
$ac_ext <<_ACEOF
20056 /* end confdefs.h. */
20061 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20062 $EGREP "yes" >/dev
/null
2>&1; then
20063 ac_cv_cpp_def___ALPHA__
=yes
20065 ac_cv_cpp_def___ALPHA__
=no
20070 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20071 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20072 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20073 CFLAGS
="$CFLAGS -D__ALPHA__"
20074 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
20077 *sparc
*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20078 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20079 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20080 echo $ECHO_N "(cached) $ECHO_C" >&6
20082 cat >conftest.
$ac_ext <<_ACEOF
20085 cat confdefs.h
>>conftest.
$ac_ext
20086 cat >>conftest.
$ac_ext <<_ACEOF
20087 /* end confdefs.h. */
20092 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20093 $EGREP "yes" >/dev
/null
2>&1; then
20094 ac_cv_cpp_def___sparc__
=yes
20096 ac_cv_cpp_def___sparc__
=no
20101 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20102 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20103 if test $ac_cv_cpp_def___sparc__ = yes; then
20104 CFLAGS
="$CFLAGS -D__sparc__"
20105 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20108 *powerpc
*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20109 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20110 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20111 echo $ECHO_N "(cached) $ECHO_C" >&6
20113 cat >conftest.
$ac_ext <<_ACEOF
20116 cat confdefs.h
>>conftest.
$ac_ext
20117 cat >>conftest.
$ac_ext <<_ACEOF
20118 /* end confdefs.h. */
20119 #ifndef __powerpc__
20123 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20124 $EGREP "yes" >/dev
/null
2>&1; then
20125 ac_cv_cpp_def___powerpc__
=yes
20127 ac_cv_cpp_def___powerpc__
=no
20132 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20133 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20134 if test $ac_cv_cpp_def___powerpc__ = yes; then
20135 CFLAGS
="$CFLAGS -D__powerpc__"
20136 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
20141 case $host_vendor in
20142 *sun
*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20143 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20144 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20145 echo $ECHO_N "(cached) $ECHO_C" >&6
20147 cat >conftest.
$ac_ext <<_ACEOF
20150 cat confdefs.h
>>conftest.
$ac_ext
20151 cat >>conftest.
$ac_ext <<_ACEOF
20152 /* end confdefs.h. */
20157 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20158 $EGREP "yes" >/dev
/null
2>&1; then
20159 ac_cv_cpp_def___sun__
=yes
20161 ac_cv_cpp_def___sun__
=no
20166 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20167 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20168 if test $ac_cv_cpp_def___sun__ = yes; then
20169 CFLAGS
="$CFLAGS -D__sun__"
20170 LINTFLAGS
="$LINTFLAGS -D__sun__"
20176 DEPENDENCIES
="### Dependencies:
20181 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20183 \$(OBJS): \$(IDL_GEN_HEADERS)
20184 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20185 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20186 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20192 ac_config_commands
="$ac_config_commands include/stamp-h"
20195 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
20197 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
20199 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
20201 ac_config_commands
="$ac_config_commands dlls/user32/resources"
20203 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
20205 ac_config_commands
="$ac_config_commands include/wine"
20208 MAKE_RULES
=Make.rules
20211 MAKE_DLL_RULES
=dlls
/Makedll.rules
20214 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
20217 MAKE_TEST_RULES
=dlls
/Maketest.rules
20220 MAKE_PROG_RULES
=programs
/Makeprog.rules
20223 ac_config_files
="$ac_config_files Make.rules"
20225 ac_config_files
="$ac_config_files dlls/Makedll.rules"
20227 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
20229 ac_config_files
="$ac_config_files dlls/Maketest.rules"
20231 ac_config_files
="$ac_config_files programs/Makeprog.rules"
20233 ac_config_files
="$ac_config_files Makefile"
20235 ac_config_files
="$ac_config_files dlls/Makefile"
20237 ac_config_files
="$ac_config_files dlls/activeds/Makefile"
20239 ac_config_files
="$ac_config_files dlls/advapi32/Makefile"
20241 ac_config_files
="$ac_config_files dlls/advapi32/tests/Makefile"
20243 ac_config_files
="$ac_config_files dlls/advpack/Makefile"
20245 ac_config_files
="$ac_config_files dlls/advpack/tests/Makefile"
20247 ac_config_files
="$ac_config_files dlls/amstream/Makefile"
20249 ac_config_files
="$ac_config_files dlls/atl/Makefile"
20251 ac_config_files
="$ac_config_files dlls/avicap32/Makefile"
20253 ac_config_files
="$ac_config_files dlls/avifil32/Makefile"
20255 ac_config_files
="$ac_config_files dlls/browseui/Makefile"
20257 ac_config_files
="$ac_config_files dlls/browseui/tests/Makefile"
20259 ac_config_files
="$ac_config_files dlls/cabinet/Makefile"
20261 ac_config_files
="$ac_config_files dlls/cabinet/tests/Makefile"
20263 ac_config_files
="$ac_config_files dlls/capi2032/Makefile"
20265 ac_config_files
="$ac_config_files dlls/cards/Makefile"
20267 ac_config_files
="$ac_config_files dlls/cfgmgr32/Makefile"
20269 ac_config_files
="$ac_config_files dlls/clusapi/Makefile"
20271 ac_config_files
="$ac_config_files dlls/comcat/Makefile"
20273 ac_config_files
="$ac_config_files dlls/comcat/tests/Makefile"
20275 ac_config_files
="$ac_config_files dlls/comctl32/Makefile"
20277 ac_config_files
="$ac_config_files dlls/comctl32/tests/Makefile"
20279 ac_config_files
="$ac_config_files dlls/comdlg32/Makefile"
20281 ac_config_files
="$ac_config_files dlls/comdlg32/tests/Makefile"
20283 ac_config_files
="$ac_config_files dlls/compstui/Makefile"
20285 ac_config_files
="$ac_config_files dlls/credui/Makefile"
20287 ac_config_files
="$ac_config_files dlls/crtdll/Makefile"
20289 ac_config_files
="$ac_config_files dlls/crypt32/Makefile"
20291 ac_config_files
="$ac_config_files dlls/crypt32/tests/Makefile"
20293 ac_config_files
="$ac_config_files dlls/cryptdll/Makefile"
20295 ac_config_files
="$ac_config_files dlls/cryptnet/Makefile"
20297 ac_config_files
="$ac_config_files dlls/ctl3d32/Makefile"
20299 ac_config_files
="$ac_config_files dlls/d3d8/Makefile"
20301 ac_config_files
="$ac_config_files dlls/d3d8/tests/Makefile"
20303 ac_config_files
="$ac_config_files dlls/d3d9/Makefile"
20305 ac_config_files
="$ac_config_files dlls/d3d9/tests/Makefile"
20307 ac_config_files
="$ac_config_files dlls/d3dim/Makefile"
20309 ac_config_files
="$ac_config_files dlls/d3drm/Makefile"
20311 ac_config_files
="$ac_config_files dlls/d3dx8/Makefile"
20313 ac_config_files
="$ac_config_files dlls/d3dxof/Makefile"
20315 ac_config_files
="$ac_config_files dlls/dbghelp/Makefile"
20317 ac_config_files
="$ac_config_files dlls/dciman32/Makefile"
20319 ac_config_files
="$ac_config_files dlls/ddraw/Makefile"
20321 ac_config_files
="$ac_config_files dlls/ddraw/tests/Makefile"
20323 ac_config_files
="$ac_config_files dlls/ddrawex/Makefile"
20325 ac_config_files
="$ac_config_files dlls/devenum/Makefile"
20327 ac_config_files
="$ac_config_files dlls/dinput/Makefile"
20329 ac_config_files
="$ac_config_files dlls/dinput/tests/Makefile"
20331 ac_config_files
="$ac_config_files dlls/dinput8/Makefile"
20333 ac_config_files
="$ac_config_files dlls/dmband/Makefile"
20335 ac_config_files
="$ac_config_files dlls/dmcompos/Makefile"
20337 ac_config_files
="$ac_config_files dlls/dmime/Makefile"
20339 ac_config_files
="$ac_config_files dlls/dmloader/Makefile"
20341 ac_config_files
="$ac_config_files dlls/dmscript/Makefile"
20343 ac_config_files
="$ac_config_files dlls/dmstyle/Makefile"
20345 ac_config_files
="$ac_config_files dlls/dmsynth/Makefile"
20347 ac_config_files
="$ac_config_files dlls/dmusic/Makefile"
20349 ac_config_files
="$ac_config_files dlls/dmusic32/Makefile"
20351 ac_config_files
="$ac_config_files dlls/dnsapi/Makefile"
20353 ac_config_files
="$ac_config_files dlls/dnsapi/tests/Makefile"
20355 ac_config_files
="$ac_config_files dlls/dplay/Makefile"
20357 ac_config_files
="$ac_config_files dlls/dplayx/Makefile"
20359 ac_config_files
="$ac_config_files dlls/dplayx/tests/Makefile"
20361 ac_config_files
="$ac_config_files dlls/dpnaddr/Makefile"
20363 ac_config_files
="$ac_config_files dlls/dpnet/Makefile"
20365 ac_config_files
="$ac_config_files dlls/dpnhpast/Makefile"
20367 ac_config_files
="$ac_config_files dlls/dsound/Makefile"
20369 ac_config_files
="$ac_config_files dlls/dsound/tests/Makefile"
20371 ac_config_files
="$ac_config_files dlls/dswave/Makefile"
20373 ac_config_files
="$ac_config_files dlls/dxdiagn/Makefile"
20375 ac_config_files
="$ac_config_files dlls/dxerr8/Makefile"
20377 ac_config_files
="$ac_config_files dlls/dxerr9/Makefile"
20379 ac_config_files
="$ac_config_files dlls/dxguid/Makefile"
20381 ac_config_files
="$ac_config_files dlls/gdi32/Makefile"
20383 ac_config_files
="$ac_config_files dlls/gdi32/tests/Makefile"
20385 ac_config_files
="$ac_config_files dlls/glu32/Makefile"
20387 ac_config_files
="$ac_config_files dlls/gphoto2.ds/Makefile"
20389 ac_config_files
="$ac_config_files dlls/hhctrl.ocx/Makefile"
20391 ac_config_files
="$ac_config_files dlls/hid/Makefile"
20393 ac_config_files
="$ac_config_files dlls/hlink/Makefile"
20395 ac_config_files
="$ac_config_files dlls/hlink/tests/Makefile"
20397 ac_config_files
="$ac_config_files dlls/iccvid/Makefile"
20399 ac_config_files
="$ac_config_files dlls/icmp/Makefile"
20401 ac_config_files
="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20403 ac_config_files
="$ac_config_files dlls/imaadp32.acm/Makefile"
20405 ac_config_files
="$ac_config_files dlls/imagehlp/Makefile"
20407 ac_config_files
="$ac_config_files dlls/imm32/Makefile"
20409 ac_config_files
="$ac_config_files dlls/infosoft/Makefile"
20411 ac_config_files
="$ac_config_files dlls/infosoft/tests/Makefile"
20413 ac_config_files
="$ac_config_files dlls/inseng/Makefile"
20415 ac_config_files
="$ac_config_files dlls/iphlpapi/Makefile"
20417 ac_config_files
="$ac_config_files dlls/iphlpapi/tests/Makefile"
20419 ac_config_files
="$ac_config_files dlls/itss/Makefile"
20421 ac_config_files
="$ac_config_files dlls/itss/tests/Makefile"
20423 ac_config_files
="$ac_config_files dlls/kernel32/Makefile"
20425 ac_config_files
="$ac_config_files dlls/kernel32/tests/Makefile"
20427 ac_config_files
="$ac_config_files dlls/localspl/Makefile"
20429 ac_config_files
="$ac_config_files dlls/localspl/tests/Makefile"
20431 ac_config_files
="$ac_config_files dlls/lz32/Makefile"
20433 ac_config_files
="$ac_config_files dlls/lz32/tests/Makefile"
20435 ac_config_files
="$ac_config_files dlls/mapi32/Makefile"
20437 ac_config_files
="$ac_config_files dlls/mapi32/tests/Makefile"
20439 ac_config_files
="$ac_config_files dlls/mciavi32/Makefile"
20441 ac_config_files
="$ac_config_files dlls/mcicda/Makefile"
20443 ac_config_files
="$ac_config_files dlls/mciseq/Makefile"
20445 ac_config_files
="$ac_config_files dlls/mciwave/Makefile"
20447 ac_config_files
="$ac_config_files dlls/midimap/Makefile"
20449 ac_config_files
="$ac_config_files dlls/mlang/Makefile"
20451 ac_config_files
="$ac_config_files dlls/mlang/tests/Makefile"
20453 ac_config_files
="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20455 ac_config_files
="$ac_config_files dlls/monodebg.vxd/Makefile"
20457 ac_config_files
="$ac_config_files dlls/mpr/Makefile"
20459 ac_config_files
="$ac_config_files dlls/mprapi/Makefile"
20461 ac_config_files
="$ac_config_files dlls/msacm32.drv/Makefile"
20463 ac_config_files
="$ac_config_files dlls/msacm32/Makefile"
20465 ac_config_files
="$ac_config_files dlls/msacm32/tests/Makefile"
20467 ac_config_files
="$ac_config_files dlls/msadp32.acm/Makefile"
20469 ac_config_files
="$ac_config_files dlls/mscms/Makefile"
20471 ac_config_files
="$ac_config_files dlls/mscms/tests/Makefile"
20473 ac_config_files
="$ac_config_files dlls/mscoree/Makefile"
20475 ac_config_files
="$ac_config_files dlls/msdmo/Makefile"
20477 ac_config_files
="$ac_config_files dlls/msftedit/Makefile"
20479 ac_config_files
="$ac_config_files dlls/msg711.acm/Makefile"
20481 ac_config_files
="$ac_config_files dlls/mshtml/Makefile"
20483 ac_config_files
="$ac_config_files dlls/mshtml/tests/Makefile"
20485 ac_config_files
="$ac_config_files dlls/msi/Makefile"
20487 ac_config_files
="$ac_config_files dlls/msi/tests/Makefile"
20489 ac_config_files
="$ac_config_files dlls/msimg32/Makefile"
20491 ac_config_files
="$ac_config_files dlls/msisys.ocx/Makefile"
20493 ac_config_files
="$ac_config_files dlls/msnet32/Makefile"
20495 ac_config_files
="$ac_config_files dlls/msrle32/Makefile"
20497 ac_config_files
="$ac_config_files dlls/msvcrt/Makefile"
20499 ac_config_files
="$ac_config_files dlls/msvcrt/tests/Makefile"
20501 ac_config_files
="$ac_config_files dlls/msvcrt20/Makefile"
20503 ac_config_files
="$ac_config_files dlls/msvcrt40/Makefile"
20505 ac_config_files
="$ac_config_files dlls/msvcrtd/Makefile"
20507 ac_config_files
="$ac_config_files dlls/msvcrtd/tests/Makefile"
20509 ac_config_files
="$ac_config_files dlls/msvfw32/Makefile"
20511 ac_config_files
="$ac_config_files dlls/msvidc32/Makefile"
20513 ac_config_files
="$ac_config_files dlls/mswsock/Makefile"
20515 ac_config_files
="$ac_config_files dlls/msxml3/Makefile"
20517 ac_config_files
="$ac_config_files dlls/msxml3/tests/Makefile"
20519 ac_config_files
="$ac_config_files dlls/nddeapi/Makefile"
20521 ac_config_files
="$ac_config_files dlls/netapi32/Makefile"
20523 ac_config_files
="$ac_config_files dlls/netapi32/tests/Makefile"
20525 ac_config_files
="$ac_config_files dlls/newdev/Makefile"
20527 ac_config_files
="$ac_config_files dlls/ntdll/Makefile"
20529 ac_config_files
="$ac_config_files dlls/ntdll/tests/Makefile"
20531 ac_config_files
="$ac_config_files dlls/ntdsapi/Makefile"
20533 ac_config_files
="$ac_config_files dlls/objsel/Makefile"
20535 ac_config_files
="$ac_config_files dlls/odbc32/Makefile"
20537 ac_config_files
="$ac_config_files dlls/odbccp32/Makefile"
20539 ac_config_files
="$ac_config_files dlls/odbccp32/tests/Makefile"
20541 ac_config_files
="$ac_config_files dlls/ole32/Makefile"
20543 ac_config_files
="$ac_config_files dlls/ole32/tests/Makefile"
20545 ac_config_files
="$ac_config_files dlls/oleacc/Makefile"
20547 ac_config_files
="$ac_config_files dlls/oleaut32/Makefile"
20549 ac_config_files
="$ac_config_files dlls/oleaut32/tests/Makefile"
20551 ac_config_files
="$ac_config_files dlls/olecli32/Makefile"
20553 ac_config_files
="$ac_config_files dlls/oledlg/Makefile"
20555 ac_config_files
="$ac_config_files dlls/olepro32/Makefile"
20557 ac_config_files
="$ac_config_files dlls/olesvr32/Makefile"
20559 ac_config_files
="$ac_config_files dlls/opengl32/Makefile"
20561 ac_config_files
="$ac_config_files dlls/powrprof/Makefile"
20563 ac_config_files
="$ac_config_files dlls/psapi/Makefile"
20565 ac_config_files
="$ac_config_files dlls/psapi/tests/Makefile"
20567 ac_config_files
="$ac_config_files dlls/pstorec/Makefile"
20569 ac_config_files
="$ac_config_files dlls/qcap/Makefile"
20571 ac_config_files
="$ac_config_files dlls/quartz/Makefile"
20573 ac_config_files
="$ac_config_files dlls/quartz/tests/Makefile"
20575 ac_config_files
="$ac_config_files dlls/query/Makefile"
20577 ac_config_files
="$ac_config_files dlls/rasapi32/Makefile"
20579 ac_config_files
="$ac_config_files dlls/resutils/Makefile"
20581 ac_config_files
="$ac_config_files dlls/riched20/Makefile"
20583 ac_config_files
="$ac_config_files dlls/riched20/tests/Makefile"
20585 ac_config_files
="$ac_config_files dlls/riched32/Makefile"
20587 ac_config_files
="$ac_config_files dlls/rpcrt4/Makefile"
20589 ac_config_files
="$ac_config_files dlls/rpcrt4/tests/Makefile"
20591 ac_config_files
="$ac_config_files dlls/rsabase/Makefile"
20593 ac_config_files
="$ac_config_files dlls/rsabase/tests/Makefile"
20595 ac_config_files
="$ac_config_files dlls/rsaenh/Makefile"
20597 ac_config_files
="$ac_config_files dlls/rsaenh/tests/Makefile"
20599 ac_config_files
="$ac_config_files dlls/sane.ds/Makefile"
20601 ac_config_files
="$ac_config_files dlls/schannel/Makefile"
20603 ac_config_files
="$ac_config_files dlls/secur32/Makefile"
20605 ac_config_files
="$ac_config_files dlls/secur32/tests/Makefile"
20607 ac_config_files
="$ac_config_files dlls/security/Makefile"
20609 ac_config_files
="$ac_config_files dlls/sensapi/Makefile"
20611 ac_config_files
="$ac_config_files dlls/serialui/Makefile"
20613 ac_config_files
="$ac_config_files dlls/serialui/tests/Makefile"
20615 ac_config_files
="$ac_config_files dlls/setupapi/Makefile"
20617 ac_config_files
="$ac_config_files dlls/setupapi/tests/Makefile"
20619 ac_config_files
="$ac_config_files dlls/sfc/Makefile"
20621 ac_config_files
="$ac_config_files dlls/sfc_os/Makefile"
20623 ac_config_files
="$ac_config_files dlls/shdoclc/Makefile"
20625 ac_config_files
="$ac_config_files dlls/shdocvw/Makefile"
20627 ac_config_files
="$ac_config_files dlls/shdocvw/tests/Makefile"
20629 ac_config_files
="$ac_config_files dlls/shell32/Makefile"
20631 ac_config_files
="$ac_config_files dlls/shell32/tests/Makefile"
20633 ac_config_files
="$ac_config_files dlls/shfolder/Makefile"
20635 ac_config_files
="$ac_config_files dlls/shlwapi/Makefile"
20637 ac_config_files
="$ac_config_files dlls/shlwapi/tests/Makefile"
20639 ac_config_files
="$ac_config_files dlls/snmpapi/Makefile"
20641 ac_config_files
="$ac_config_files dlls/snmpapi/tests/Makefile"
20643 ac_config_files
="$ac_config_files dlls/spoolss/Makefile"
20645 ac_config_files
="$ac_config_files dlls/stdole2.tlb/Makefile"
20647 ac_config_files
="$ac_config_files dlls/stdole32.tlb/Makefile"
20649 ac_config_files
="$ac_config_files dlls/sti/Makefile"
20651 ac_config_files
="$ac_config_files dlls/strmiids/Makefile"
20653 ac_config_files
="$ac_config_files dlls/svrapi/Makefile"
20655 ac_config_files
="$ac_config_files dlls/tapi32/Makefile"
20657 ac_config_files
="$ac_config_files dlls/twain_32/Makefile"
20659 ac_config_files
="$ac_config_files dlls/unicows/Makefile"
20661 ac_config_files
="$ac_config_files dlls/url/Makefile"
20663 ac_config_files
="$ac_config_files dlls/urlmon/Makefile"
20665 ac_config_files
="$ac_config_files dlls/urlmon/tests/Makefile"
20667 ac_config_files
="$ac_config_files dlls/user32/Makefile"
20669 ac_config_files
="$ac_config_files dlls/user32/tests/Makefile"
20671 ac_config_files
="$ac_config_files dlls/userenv/Makefile"
20673 ac_config_files
="$ac_config_files dlls/usp10/Makefile"
20675 ac_config_files
="$ac_config_files dlls/usp10/tests/Makefile"
20677 ac_config_files
="$ac_config_files dlls/uuid/Makefile"
20679 ac_config_files
="$ac_config_files dlls/uxtheme/Makefile"
20681 ac_config_files
="$ac_config_files dlls/uxtheme/tests/Makefile"
20683 ac_config_files
="$ac_config_files dlls/vdhcp.vxd/Makefile"
20685 ac_config_files
="$ac_config_files dlls/vdmdbg/Makefile"
20687 ac_config_files
="$ac_config_files dlls/version/Makefile"
20689 ac_config_files
="$ac_config_files dlls/version/tests/Makefile"
20691 ac_config_files
="$ac_config_files dlls/vmm.vxd/Makefile"
20693 ac_config_files
="$ac_config_files dlls/vnbt.vxd/Makefile"
20695 ac_config_files
="$ac_config_files dlls/vnetbios.vxd/Makefile"
20697 ac_config_files
="$ac_config_files dlls/vtdapi.vxd/Makefile"
20699 ac_config_files
="$ac_config_files dlls/vwin32.vxd/Makefile"
20701 ac_config_files
="$ac_config_files dlls/w32skrnl/Makefile"
20703 ac_config_files
="$ac_config_files dlls/winealsa.drv/Makefile"
20705 ac_config_files
="$ac_config_files dlls/winearts.drv/Makefile"
20707 ac_config_files
="$ac_config_files dlls/wineaudioio.drv/Makefile"
20709 ac_config_files
="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20711 ac_config_files
="$ac_config_files dlls/winecrt0/Makefile"
20713 ac_config_files
="$ac_config_files dlls/wined3d/Makefile"
20715 ac_config_files
="$ac_config_files dlls/winedos/Makefile"
20717 ac_config_files
="$ac_config_files dlls/wineesd.drv/Makefile"
20719 ac_config_files
="$ac_config_files dlls/winejack.drv/Makefile"
20721 ac_config_files
="$ac_config_files dlls/winejoystick.drv/Makefile"
20723 ac_config_files
="$ac_config_files dlls/winemp3.acm/Makefile"
20725 ac_config_files
="$ac_config_files dlls/winenas.drv/Makefile"
20727 ac_config_files
="$ac_config_files dlls/wineoss.drv/Makefile"
20729 ac_config_files
="$ac_config_files dlls/wineps.drv/Makefile"
20731 ac_config_files
="$ac_config_files dlls/winequartz.drv/Makefile"
20733 ac_config_files
="$ac_config_files dlls/winex11.drv/Makefile"
20735 ac_config_files
="$ac_config_files dlls/wing32/Makefile"
20737 ac_config_files
="$ac_config_files dlls/wininet/Makefile"
20739 ac_config_files
="$ac_config_files dlls/wininet/tests/Makefile"
20741 ac_config_files
="$ac_config_files dlls/winmm/Makefile"
20743 ac_config_files
="$ac_config_files dlls/winmm/tests/Makefile"
20745 ac_config_files
="$ac_config_files dlls/winnls32/Makefile"
20747 ac_config_files
="$ac_config_files dlls/winspool.drv/Makefile"
20749 ac_config_files
="$ac_config_files dlls/winspool.drv/tests/Makefile"
20751 ac_config_files
="$ac_config_files dlls/wintab32/Makefile"
20753 ac_config_files
="$ac_config_files dlls/wintrust/Makefile"
20755 ac_config_files
="$ac_config_files dlls/wintrust/tests/Makefile"
20757 ac_config_files
="$ac_config_files dlls/wldap32/Makefile"
20759 ac_config_files
="$ac_config_files dlls/wnaspi32/Makefile"
20761 ac_config_files
="$ac_config_files dlls/wow32/Makefile"
20763 ac_config_files
="$ac_config_files dlls/ws2_32/Makefile"
20765 ac_config_files
="$ac_config_files dlls/ws2_32/tests/Makefile"
20767 ac_config_files
="$ac_config_files dlls/wsock32/Makefile"
20769 ac_config_files
="$ac_config_files dlls/wtsapi32/Makefile"
20771 ac_config_files
="$ac_config_files documentation/Makefile"
20773 ac_config_files
="$ac_config_files fonts/Makefile"
20775 ac_config_files
="$ac_config_files include/Makefile"
20777 ac_config_files
="$ac_config_files libs/Makefile"
20779 ac_config_files
="$ac_config_files libs/port/Makefile"
20781 ac_config_files
="$ac_config_files libs/wine/Makefile"
20783 ac_config_files
="$ac_config_files libs/wpp/Makefile"
20785 ac_config_files
="$ac_config_files loader/Makefile"
20787 ac_config_files
="$ac_config_files programs/Makefile"
20789 ac_config_files
="$ac_config_files programs/clock/Makefile"
20791 ac_config_files
="$ac_config_files programs/cmd/Makefile"
20793 ac_config_files
="$ac_config_files programs/cmdlgtst/Makefile"
20795 ac_config_files
="$ac_config_files programs/control/Makefile"
20797 ac_config_files
="$ac_config_files programs/eject/Makefile"
20799 ac_config_files
="$ac_config_files programs/expand/Makefile"
20801 ac_config_files
="$ac_config_files programs/explorer/Makefile"
20803 ac_config_files
="$ac_config_files programs/hh/Makefile"
20805 ac_config_files
="$ac_config_files programs/icinfo/Makefile"
20807 ac_config_files
="$ac_config_files programs/iexplore/Makefile"
20809 ac_config_files
="$ac_config_files programs/msiexec/Makefile"
20811 ac_config_files
="$ac_config_files programs/notepad/Makefile"
20813 ac_config_files
="$ac_config_files programs/oleview/Makefile"
20815 ac_config_files
="$ac_config_files programs/progman/Makefile"
20817 ac_config_files
="$ac_config_files programs/regedit/Makefile"
20819 ac_config_files
="$ac_config_files programs/regsvr32/Makefile"
20821 ac_config_files
="$ac_config_files programs/rpcss/Makefile"
20823 ac_config_files
="$ac_config_files programs/rundll32/Makefile"
20825 ac_config_files
="$ac_config_files programs/start/Makefile"
20827 ac_config_files
="$ac_config_files programs/taskmgr/Makefile"
20829 ac_config_files
="$ac_config_files programs/uninstaller/Makefile"
20831 ac_config_files
="$ac_config_files programs/view/Makefile"
20833 ac_config_files
="$ac_config_files programs/wineboot/Makefile"
20835 ac_config_files
="$ac_config_files programs/winebrowser/Makefile"
20837 ac_config_files
="$ac_config_files programs/winecfg/Makefile"
20839 ac_config_files
="$ac_config_files programs/wineconsole/Makefile"
20841 ac_config_files
="$ac_config_files programs/winedbg/Makefile"
20843 ac_config_files
="$ac_config_files programs/winefile/Makefile"
20845 ac_config_files
="$ac_config_files programs/winemenubuilder/Makefile"
20847 ac_config_files
="$ac_config_files programs/winemine/Makefile"
20849 ac_config_files
="$ac_config_files programs/winepath/Makefile"
20851 ac_config_files
="$ac_config_files programs/winetest/Makefile"
20853 ac_config_files
="$ac_config_files programs/winevdm/Makefile"
20855 ac_config_files
="$ac_config_files programs/winhelp/Makefile"
20857 ac_config_files
="$ac_config_files programs/winver/Makefile"
20859 ac_config_files
="$ac_config_files programs/wordpad/Makefile"
20861 ac_config_files
="$ac_config_files server/Makefile"
20863 ac_config_files
="$ac_config_files tools/Makefile"
20865 ac_config_files
="$ac_config_files tools/widl/Makefile"
20867 ac_config_files
="$ac_config_files tools/winebuild/Makefile"
20869 ac_config_files
="$ac_config_files tools/winedump/Makefile"
20871 ac_config_files
="$ac_config_files tools/winegcc/Makefile"
20873 ac_config_files
="$ac_config_files tools/wmc/Makefile"
20875 ac_config_files
="$ac_config_files tools/wrc/Makefile"
20878 cat >confcache
<<\_ACEOF
20879 # This file is a shell script that caches the results of configure
20880 # tests run on this system so they can be shared between configure
20881 # scripts and configure runs, see configure's option --config-cache.
20882 # It is not useful on other systems. If it contains results you don't
20883 # want to keep, you may remove or edit it.
20885 # config.status only pays attention to the cache file if you give it
20886 # the --recheck option to rerun configure.
20888 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20889 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20890 # following values.
20894 # The following way of writing the cache mishandles newlines in values,
20895 # but we know of no workaround that is simple, portable, and efficient.
20896 # So, we kill variables containing newlines.
20897 # Ultrix sh set writes to stderr and can't be redirected directly,
20898 # and sets the high bit in the cache file unless we assign to the vars.
20900 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20901 eval ac_val
=\$
$ac_var
20905 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20906 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20909 _ | IFS | as_nl
) ;; #(
20910 *) $as_unset $ac_var ;;
20916 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20917 *${as_nl}ac_space
=\
*)
20918 # `set' does not quote correctly, so add quotes (double-quote
20919 # substitution turns \\\\ into \\, and sed turns \\ into \).
20922 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20925 # `set' quotes correctly as required by POSIX, so do not add quotes.
20926 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20935 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20937 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20939 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20940 if test -w "$cache_file"; then
20941 test "x$cache_file" != "x/dev/null" &&
20942 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20943 echo "$as_me: updating cache $cache_file" >&6;}
20944 cat confcache
>$cache_file
20946 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20947 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20952 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20953 # Let make expand exec_prefix.
20954 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20956 DEFS
=-DHAVE_CONFIG_H
20960 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20961 # 1. Remove the extension, and $U if already installed.
20962 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20963 ac_i
=`echo "$ac_i" | sed "$ac_script"`
20964 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20965 # will be set to the directory where LIBOBJS objects are built.
20966 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20967 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20969 LIBOBJS
=$ac_libobjs
20971 LTLIBOBJS
=$ac_ltlibobjs
20975 : ${CONFIG_STATUS=./config.status}
20976 ac_clean_files_save
=$ac_clean_files
20977 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20978 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20979 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20980 cat >$CONFIG_STATUS <<_ACEOF
20982 # Generated by $as_me.
20983 # Run this file to recreate the current configuration.
20984 # Compiler output produced by configure, useful for debugging
20985 # configure, is in config.log if it exists.
20988 ac_cs_recheck=false
20990 SHELL=\${CONFIG_SHELL-$SHELL}
20993 cat >>$CONFIG_STATUS <<\_ACEOF
20994 ## --------------------- ##
20995 ## M4sh Initialization. ##
20996 ## --------------------- ##
20998 # Be more Bourne compatible
20999 DUALCASE
=1; export DUALCASE
# for MKS sh
21000 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21003 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21004 # is contrary to our usage. Disable this feature.
21005 alias -g '${1+"$@"}'='"$@"'
21006 setopt NO_GLOB_SUBST
21008 case `(set -o) 2>/dev/null` in
21009 *posix
*) set -o posix
;;
21018 # Avoid depending upon Character Ranges.
21019 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21020 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21021 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21022 as_cr_digits
='0123456789'
21023 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21025 # The user is always right.
21026 if test "${PATH_SEPARATOR+set}" != set; then
21027 echo "#! /bin/sh" >conf$$.sh
21028 echo "exit 0" >>conf$$.sh
21030 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21038 # Support unset when possible.
21039 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21047 # We need space, tab and new line, in precisely that order. Quoting is
21048 # there to prevent editors from complaining about space-tab.
21049 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21050 # splitting by setting IFS to empty value.)
21055 # Find who we are. Look in the path if we contain no directory separator.
21057 *[\\/]* ) as_myself
=$0 ;;
21058 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21059 for as_dir
in $PATH
21062 test -z "$as_dir" && as_dir
=.
21063 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21069 # We did not find ourselves, most probably we were run as `sh COMMAND'
21070 # in which case we are not to be found in the path.
21071 if test "x$as_myself" = x
; then
21074 if test ! -f "$as_myself"; then
21075 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21076 { (exit 1); exit 1; }
21079 # Work around bugs in pre-3.0 UWIN ksh.
21080 for as_var
in ENV MAIL MAILPATH
21081 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21089 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21090 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21091 LC_TELEPHONE LC_TIME
21093 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21094 eval $as_var=C
; export $as_var
21096 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21100 # Required to use basename.
21101 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21102 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21108 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21109 as_basename
=basename
21115 # Name of the executable.
21116 as_me
=`$as_basename -- "$0" ||
21117 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21118 X"$0" : 'X\(//\)$' \| \
21119 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21121 sed '/^.*\/\([^/][^/]*\)\/*$/{
21140 as_lineno_1
=$LINENO
21141 as_lineno_2
=$LINENO
21142 test "x$as_lineno_1" != "x$as_lineno_2" &&
21143 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21145 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21146 # uniformly replaced by the line number. The first 'sed' inserts a
21147 # line-number line after each line using $LINENO; the second 'sed'
21148 # does the real work. The second script uses 'N' to pair each
21149 # line-number line with the line containing $LINENO, and appends
21150 # trailing '-' during substitution so that $LINENO is not a special
21151 # case at line end.
21152 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21153 # scripts with optimization help from Paolo Bonzini. Blame Lee
21154 # E. McMahon (1931-1989) for sed's syntax. :-)
21166 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21169 ' >$as_me.lineno
&&
21170 chmod +x
"$as_me.lineno" ||
21171 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21172 { (exit 1); exit 1; }; }
21174 # Don't try to exec as it changes $[0], causing all sort of problems
21175 # (the dirname of $[0] is not the place where we might find the
21176 # original and so on. Autoconf is especially sensitive to this).
21177 .
"./$as_me.lineno"
21178 # Exit status is that of the last command.
21183 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21189 ECHO_C
= ECHO_N
= ECHO_T
=
21190 case `echo -n x` in
21192 case `echo 'x\c'` in
21193 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21200 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21201 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21207 rm -f conf$$ conf$$.exe conf$$.
file
21208 if test -d conf$$.dir
; then
21209 rm -f conf$$.dir
/conf$$.
file
21215 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21217 # ... but there are two gotchas:
21218 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21219 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21220 # In both cases, we have to default to `cp -p'.
21221 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21223 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21228 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21229 rmdir conf$$.dir
2>/dev
/null
21231 if mkdir
-p .
2>/dev
/null
; then
21234 test -d .
/-p && rmdir .
/-p
21238 if test -x / >/dev
/null
2>&1; then
21239 as_test_x
='test -x'
21241 if ls -dL / >/dev
/null
2>&1; then
21248 if test -d "$1"; then
21254 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21255 ???[sx]*):;;*)false;;esac;fi
21259 as_executable_p
=$as_test_x
21261 # Sed expression to map a string onto a valid CPP name.
21262 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21264 # Sed expression to map a string onto a valid variable name.
21265 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21270 # Save the log message, to keep $[0] and so on meaningful, and to
21271 # report actual input values of CONFIG_FILES etc. instead of their
21272 # values after options handling.
21274 This file was extended by Wine $as_me 0.9.32, which was
21275 generated by GNU Autoconf 2.61. Invocation command line was
21277 CONFIG_FILES = $CONFIG_FILES
21278 CONFIG_HEADERS = $CONFIG_HEADERS
21279 CONFIG_LINKS = $CONFIG_LINKS
21280 CONFIG_COMMANDS = $CONFIG_COMMANDS
21283 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21288 cat >>$CONFIG_STATUS <<_ACEOF
21289 # Files that config.status was made for.
21290 config_files="$ac_config_files"
21291 config_headers="$ac_config_headers"
21292 config_commands="$ac_config_commands"
21296 cat >>$CONFIG_STATUS <<\_ACEOF
21298 \`$as_me' instantiates files from templates according to the
21299 current configuration.
21301 Usage: $0 [OPTIONS] [FILE]...
21303 -h, --help print this help, then exit
21304 -V, --version print version number and configuration settings, then exit
21305 -q, --quiet do not print progress messages
21306 -d, --debug don't remove temporary files
21307 --recheck update $as_me by reconfiguring in the same conditions
21308 --file=FILE[:TEMPLATE]
21309 instantiate the configuration file FILE
21310 --header=FILE[:TEMPLATE]
21311 instantiate the configuration header FILE
21313 Configuration files:
21316 Configuration headers:
21319 Configuration commands:
21322 Report bugs to <bug-autoconf@gnu.org>."
21325 cat >>$CONFIG_STATUS <<_ACEOF
21327 Wine config.status 0.9.32
21328 configured by $0, generated by GNU Autoconf 2.61,
21329 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21331 Copyright (C) 2006 Free Software Foundation, Inc.
21332 This config.status script is free software; the Free Software Foundation
21333 gives unlimited permission to copy, distribute and modify it."
21340 cat >>$CONFIG_STATUS <<\_ACEOF
21341 # If no file are specified by the user, then we need to provide default
21342 # value. By we need to know if files were specified by the user.
21348 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21349 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21360 # Handling of the options.
21361 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21363 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21364 echo "$ac_cs_version"; exit ;;
21365 --debug |
--debu |
--deb |
--de |
--d |
-d )
21367 --file |
--fil |
--fi |
--f )
21369 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21370 ac_need_defaults
=false
;;
21371 --header |
--heade |
--head |
--hea )
21373 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21374 ac_need_defaults
=false
;;
21376 # Conflict between --help and --header
21377 { echo "$as_me: error: ambiguous option: $1
21378 Try \`$0 --help' for more information." >&2
21379 { (exit 1); exit 1; }; };;
21380 --help |
--hel |
-h )
21381 echo "$ac_cs_usage"; exit ;;
21382 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21383 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21386 # This is an error.
21387 -*) { echo "$as_me: error: unrecognized option: $1
21388 Try \`$0 --help' for more information." >&2
21389 { (exit 1); exit 1; }; } ;;
21391 *) ac_config_targets
="$ac_config_targets $1"
21392 ac_need_defaults
=false
;;
21398 ac_configure_extra_args
=
21400 if $ac_cs_silent; then
21402 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21406 cat >>$CONFIG_STATUS <<_ACEOF
21407 if \$ac_cs_recheck; then
21408 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21409 CONFIG_SHELL=$SHELL
21410 export CONFIG_SHELL
21411 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21415 cat >>$CONFIG_STATUS <<\_ACEOF
21419 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21420 ## Running $as_me. ##
21426 cat >>$CONFIG_STATUS <<_ACEOF
21429 cat >>$CONFIG_STATUS <<\_ACEOF
21431 # Handling of arguments.
21432 for ac_config_target
in $ac_config_targets
21434 case $ac_config_target in
21435 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
21436 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
21437 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21438 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21439 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21440 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
21441 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21442 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
21443 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
21444 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
21445 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21446 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
21447 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
21448 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21449 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
21450 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
21451 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21452 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21453 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
21454 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21455 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
21456 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
21457 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21458 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21459 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
21460 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21461 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21462 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21463 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21464 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
21465 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21466 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21467 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
21468 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21469 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21470 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21471 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21472 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21473 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
21474 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
21475 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21476 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21477 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21478 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21479 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21480 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21481 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21482 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21483 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21484 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21485 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21486 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21487 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21488 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21489 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21490 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21491 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21492 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21493 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21494 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
21495 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
21496 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21497 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21498 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
21499 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21500 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
21501 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21502 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21503 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21504 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21505 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21506 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21507 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21508 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21509 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
21510 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21511 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21512 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21513 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21514 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21515 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
21516 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21517 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
21518 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21519 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21520 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21521 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21522 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21523 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21524 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
21525 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21526 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21527 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
21528 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
21529 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21530 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21531 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
21532 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21533 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21534 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21535 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
21536 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21537 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21538 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
21539 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21540 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21541 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
21542 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21543 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21544 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21545 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
21546 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21547 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
21548 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21549 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21550 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21551 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21552 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21553 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21554 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21555 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
21556 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
21557 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21558 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21559 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21560 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
21561 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21562 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21563 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21564 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21565 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21566 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
21567 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21568 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21569 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21570 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21571 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21572 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21573 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21574 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
21575 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21576 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21577 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21578 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21579 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21580 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21581 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21582 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21583 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21584 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21585 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21586 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21587 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21588 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21589 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21590 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21591 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21592 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21593 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21594 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
21595 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21596 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21597 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21598 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
21599 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21600 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21601 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21602 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
21603 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21604 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21605 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21606 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21607 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21608 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21609 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21610 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21611 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21612 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21613 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
21614 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21615 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21616 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
21617 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
21618 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21619 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
21620 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21621 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
21622 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
21623 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21624 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
21625 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21626 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21627 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21628 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21629 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21630 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21631 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21632 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
21633 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
21634 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21635 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
21636 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21637 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
21638 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21639 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21640 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21641 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
21642 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21643 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21644 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21645 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21646 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
21647 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21648 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21649 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21650 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21651 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21652 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21653 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21654 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21655 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21656 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
21657 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21658 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21659 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21660 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21661 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
21662 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
21663 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21664 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21665 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
21666 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21667 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
21668 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
21669 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21670 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
21671 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21672 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21673 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21674 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21675 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
21676 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21677 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21678 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21679 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21680 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21681 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21682 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21683 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21684 "dlls/winearts.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winearts.drv/Makefile" ;;
21685 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21686 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21687 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21688 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21689 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
21690 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21691 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21692 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21693 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21694 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21695 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21696 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21697 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21698 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21699 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
21700 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
21701 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21702 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
21703 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21704 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21705 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21706 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21707 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21708 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21709 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21710 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21711 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21712 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
21713 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21714 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21715 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21716 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21717 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
21718 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
21719 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
21720 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
21721 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
21722 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
21723 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
21724 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
21725 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
21726 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
21727 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
21728 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21729 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
21730 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
21731 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
21732 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
21733 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
21734 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
21735 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
21736 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
21737 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
21738 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
21739 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
21740 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
21741 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21742 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
21743 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
21744 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
21745 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21746 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21747 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
21748 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
21749 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21750 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
21751 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21752 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
21753 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
21754 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21755 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
21756 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
21757 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
21758 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
21759 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
21760 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
21761 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
21762 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
21763 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
21764 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
21765 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
21766 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
21767 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
21768 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
21769 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
21771 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21772 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21773 { (exit 1); exit 1; }; };;
21778 # If the user did not use the arguments to specify the items to instantiate,
21779 # then the envvar interface is used. Set only those that are not.
21780 # We use the long form for the default assignment because of an extremely
21781 # bizarre bug on SunOS 4.1.3.
21782 if $ac_need_defaults; then
21783 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21784 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21785 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21788 # Have a temporary directory for convenience. Make it in the build tree
21789 # simply because there is no reason against having it here, and in addition,
21790 # creating and moving files from /tmp can sometimes cause problems.
21791 # Hook for its removal unless debugging.
21792 # Note that there is a small window in which the directory will not be cleaned:
21793 # after its creation but before its name has been assigned to `$tmp'.
21797 trap 'exit_status=$?
21798 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21800 trap '{ (exit 1); exit 1; }' 1 2 13 15
21802 # Create a (secure) tmp directory for tmp files.
21805 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21806 test -n "$tmp" && test -d "$tmp"
21809 tmp
=.
/conf$$
-$RANDOM
21810 (umask 077 && mkdir
"$tmp")
21813 echo "$me: cannot create a temporary directory in ." >&2
21814 { (exit 1); exit 1; }
21818 # Set up the sed scripts for CONFIG_FILES section.
21821 # No need to generate the scripts if there are no CONFIG_FILES.
21822 # This happens for instance when ./config.status config.h
21823 if test -n "$CONFIG_FILES"; then
21827 # Create sed commands to just substitute file output variables.
21829 # Remaining file output variables are in a fragment that also has non-file
21835 for ac_last_try
in false false false false false
:; do
21836 cat >conf$
$subs.
sed <<_ACEOF
21837 SHELL!$SHELL$ac_delim
21838 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21839 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21840 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21841 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21842 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21843 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21844 exec_prefix!$exec_prefix$ac_delim
21845 prefix!$prefix$ac_delim
21846 program_transform_name!$program_transform_name$ac_delim
21847 bindir!$bindir$ac_delim
21848 sbindir!$sbindir$ac_delim
21849 libexecdir!$libexecdir$ac_delim
21850 datarootdir!$datarootdir$ac_delim
21851 datadir!$datadir$ac_delim
21852 sysconfdir!$sysconfdir$ac_delim
21853 sharedstatedir!$sharedstatedir$ac_delim
21854 localstatedir!$localstatedir$ac_delim
21855 includedir!$includedir$ac_delim
21856 oldincludedir!$oldincludedir$ac_delim
21857 docdir!$docdir$ac_delim
21858 infodir!$infodir$ac_delim
21859 htmldir!$htmldir$ac_delim
21860 dvidir!$dvidir$ac_delim
21861 pdfdir!$pdfdir$ac_delim
21862 psdir!$psdir$ac_delim
21863 libdir!$libdir$ac_delim
21864 localedir!$localedir$ac_delim
21865 mandir!$mandir$ac_delim
21866 DEFS!$DEFS$ac_delim
21867 ECHO_C!$ECHO_C$ac_delim
21868 ECHO_N!$ECHO_N$ac_delim
21869 ECHO_T!$ECHO_T$ac_delim
21870 LIBS!$LIBS$ac_delim
21871 build_alias!$build_alias$ac_delim
21872 host_alias!$host_alias$ac_delim
21873 target_alias!$target_alias$ac_delim
21874 build!$build$ac_delim
21875 build_cpu!$build_cpu$ac_delim
21876 build_vendor!$build_vendor$ac_delim
21877 build_os!$build_os$ac_delim
21878 host!$host$ac_delim
21879 host_cpu!$host_cpu$ac_delim
21880 host_vendor!$host_vendor$ac_delim
21881 host_os!$host_os$ac_delim
21882 WIN16_FILES!$WIN16_FILES$ac_delim
21883 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21884 SET_MAKE!$SET_MAKE$ac_delim
21886 CFLAGS!$CFLAGS$ac_delim
21887 LDFLAGS!$LDFLAGS$ac_delim
21888 CPPFLAGS!$CPPFLAGS$ac_delim
21889 ac_ct_CC!$ac_ct_CC$ac_delim
21890 EXEEXT!$EXEEXT$ac_delim
21891 OBJEXT!$OBJEXT$ac_delim
21893 CXXFLAGS!$CXXFLAGS$ac_delim
21894 ac_ct_CXX!$ac_ct_CXX$ac_delim
21895 CPPBIN!$CPPBIN$ac_delim
21896 TOOLSDIR!$TOOLSDIR$ac_delim
21897 XMKMF!$XMKMF$ac_delim
21899 X_CFLAGS!$X_CFLAGS$ac_delim
21900 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
21901 X_LIBS!$X_LIBS$ac_delim
21902 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
21903 FLEX!$FLEX$ac_delim
21904 BISON!$BISON$ac_delim
21906 ac_ct_AS!$ac_ct_AS$ac_delim
21909 RANLIB!$RANLIB$ac_delim
21910 STRIP!$STRIP$ac_delim
21911 WINDRES!$WINDRES$ac_delim
21912 LN_S!$LN_S$ac_delim
21914 GREP!$GREP$ac_delim
21915 EGREP!$EGREP$ac_delim
21916 LDCONFIG!$LDCONFIG$ac_delim
21917 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21918 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21921 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
21923 elif $ac_last_try; then
21924 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21925 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21926 { (exit 1); exit 1; }; }
21928 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21932 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21933 if test -n "$ac_eof"; then
21934 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21935 ac_eof
=`expr $ac_eof + 1`
21938 cat >>$CONFIG_STATUS <<_ACEOF
21939 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21940 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21941 /^[ ]*@MAKE_RULES@[ ]*$/{
21945 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
21949 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
21950 r $MAKE_IMPLIB_RULES
21953 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
21957 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
21963 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21964 s/^/s,@/; s/!/@,|#_!!_#|/
21967 s/'"$ac_delim"'$/,g/; t
21969 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21970 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21971 rm -f conf$
$subs.
sed
21972 cat >>$CONFIG_STATUS <<_ACEOF
21978 for ac_last_try
in false false false false false
:; do
21979 cat >conf$
$subs.
sed <<_ACEOF
21980 INSTALL_DATA!$INSTALL_DATA$ac_delim
21981 LINT!$LINT$ac_delim
21982 LINTFLAGS!$LINTFLAGS$ac_delim
21983 FONTFORGE!$FONTFORGE$ac_delim
21984 PKG_CONFIG!$PKG_CONFIG$ac_delim
21985 PRELINK!$PRELINK$ac_delim
21986 LIBPTHREAD!$LIBPTHREAD$ac_delim
21987 XLIB!$XLIB$ac_delim
21988 XFILES!$XFILES$ac_delim
21989 OPENGLFILES!$OPENGLFILES$ac_delim
21990 GLU32FILES!$GLU32FILES$ac_delim
21991 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
21992 QUARTZFILES!$QUARTZFILES$ac_delim
21993 NASLIBS!$NASLIBS$ac_delim
21994 XML2LIBS!$XML2LIBS$ac_delim
21995 XML2INCL!$XML2INCL$ac_delim
21996 XSLTLIBS!$XSLTLIBS$ac_delim
21997 XSLTINCL!$XSLTINCL$ac_delim
21998 HALINCL!$HALINCL$ac_delim
21999 sane_devel!$sane_devel$ac_delim
22000 SANELIBS!$SANELIBS$ac_delim
22001 SANEINCL!$SANEINCL$ac_delim
22002 gphoto2_devel!$gphoto2_devel$ac_delim
22003 gphoto2port_devel!$gphoto2port_devel$ac_delim
22004 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22005 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22006 ICULIBS!$ICULIBS$ac_delim
22007 RESOLVLIBS!$RESOLVLIBS$ac_delim
22008 LCMSLIBS!$LCMSLIBS$ac_delim
22009 LDAPLIBS!$LDAPLIBS$ac_delim
22010 FREETYPELIBS!$FREETYPELIBS$ac_delim
22011 FREETYPEINCL!$FREETYPEINCL$ac_delim
22012 ft_devel!$ft_devel$ac_delim
22013 ft_devel2!$ft_devel2$ac_delim
22014 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22015 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
22016 ARTSLIBS!$ARTSLIBS$ac_delim
22017 ARTSINCL!$ARTSINCL$ac_delim
22018 ESDCONFIG!$ESDCONFIG$ac_delim
22019 ESDLIBS!$ESDLIBS$ac_delim
22020 ESDINCL!$ESDINCL$ac_delim
22021 ALSALIBS!$ALSALIBS$ac_delim
22022 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22023 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22024 BUILTINFLAG!$BUILTINFLAG$ac_delim
22025 DLLEXT!$DLLEXT$ac_delim
22026 DLLFLAGS!$DLLFLAGS$ac_delim
22027 LDSHARED!$LDSHARED$ac_delim
22028 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22029 LIBEXT!$LIBEXT$ac_delim
22030 IMPLIBEXT!$IMPLIBEXT$ac_delim
22031 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
22032 DLLTOOL!$DLLTOOL$ac_delim
22033 DLLWRAP!$DLLWRAP$ac_delim
22034 MINGWAR!$MINGWAR$ac_delim
22035 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22036 IOKITLIB!$IOKITLIB$ac_delim
22037 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22038 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22039 COREAUDIO!$COREAUDIO$ac_delim
22040 CARBONLIB!$CARBONLIB$ac_delim
22041 CROSSTEST!$CROSSTEST$ac_delim
22042 CROSSCC!$CROSSCC$ac_delim
22043 CROSSWINDRES!$CROSSWINDRES$ac_delim
22044 LDPATH!$LDPATH$ac_delim
22045 CRTLIBS!$CRTLIBS$ac_delim
22046 SOCKETLIBS!$SOCKETLIBS$ac_delim
22047 MAIN_BINARY!$MAIN_BINARY$ac_delim
22048 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22050 LIBDL!$LIBDL$ac_delim
22051 LIBPOLL!$LIBPOLL$ac_delim
22052 DEPENDENCIES!$DEPENDENCIES$ac_delim
22053 LIBOBJS!$LIBOBJS$ac_delim
22054 LTLIBOBJS!$LTLIBOBJS$ac_delim
22057 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 75; then
22059 elif $ac_last_try; then
22060 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22061 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22062 { (exit 1); exit 1; }; }
22064 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22068 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22069 if test -n "$ac_eof"; then
22070 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22071 ac_eof
=`expr $ac_eof + 1`
22074 cat >>$CONFIG_STATUS <<_ACEOF
22075 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22076 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22079 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22080 s/^/s,@/; s/!/@,|#_!!_#|/
22083 s/'"$ac_delim"'$/,g/; t
22085 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22086 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22087 rm -f conf$
$subs.
sed
22088 cat >>$CONFIG_STATUS <<_ACEOF
22095 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22096 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22097 # trailing colons and then remove the whole line if VPATH becomes empty
22098 # (actually we leave an empty line to preserve line numbers).
22099 if test "x$srcdir" = x.
; then
22100 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22101 s/:*\$(srcdir):*/:/
22102 s/:*\${srcdir}:*/:/
22104 s/^\([^=]*=[ ]*\):*/\1/
22110 cat >>$CONFIG_STATUS <<\_ACEOF
22111 fi # test -n "$CONFIG_FILES"
22114 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22117 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22119 case $ac_mode$ac_tag in
22121 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22122 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22123 { (exit 1); exit 1; }; };;
22124 :[FH
]-) ac_tag
=-:-;;
22125 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22142 -) ac_f
="$tmp/stdin";;
22143 *) # Look for the file first in the build tree, then in the source tree
22144 # (if the path is not absolute). The absolute path cannot be DOS-style,
22145 # because $ac_f cannot contain `:'.
22149 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22151 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22152 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22153 { (exit 1); exit 1; }; };;
22155 ac_file_inputs
="$ac_file_inputs $ac_f"
22158 # Let's still pretend it is `configure' which instantiates (i.e., don't
22159 # use $as_me), people would be surprised to read:
22160 # /* config.h. Generated by config.status. */
22161 configure_input
="Generated from "`IFS=:
22162 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22163 if test x
"$ac_file" != x-
; then
22164 configure_input
="$ac_file. $configure_input"
22165 { echo "$as_me:$LINENO: creating $ac_file" >&5
22166 echo "$as_me: creating $ac_file" >&6;}
22170 *:-:* |
*:-) cat >"$tmp/stdin";;
22175 ac_dir
=`$as_dirname -- "$ac_file" ||
22176 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22177 X"$ac_file" : 'X\(//\)[^/]' \| \
22178 X"$ac_file" : 'X\(//\)$' \| \
22179 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22185 /^X\(\/\/\)[^/].*/{
22200 -*) as_dir
=.
/$as_dir;;
22202 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22206 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22207 *) as_qdir
=$as_dir;;
22209 as_dirs
="'$as_qdir' $as_dirs"
22210 as_dir
=`$as_dirname -- "$as_dir" ||
22211 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22212 X"$as_dir" : 'X\(//\)[^/]' \| \
22213 X"$as_dir" : 'X\(//\)$' \| \
22214 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22220 /^X\(\/\/\)[^/].*/{
22233 test -d "$as_dir" && break
22235 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22236 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22237 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22238 { (exit 1); exit 1; }; }; }
22242 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22244 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22245 # A ".." for each directory in $ac_dir_suffix.
22246 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22247 case $ac_top_builddir_sub in
22248 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22249 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22252 ac_abs_top_builddir
=$ac_pwd
22253 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22254 # for backward compatibility:
22255 ac_top_builddir
=$ac_top_build_prefix
22258 .
) # We are building in place.
22260 ac_top_srcdir
=$ac_top_builddir_sub
22261 ac_abs_top_srcdir
=$ac_pwd ;;
22262 [\\/]* | ?
:[\\/]* ) # Absolute name.
22263 ac_srcdir
=$srcdir$ac_dir_suffix;
22264 ac_top_srcdir
=$srcdir
22265 ac_abs_top_srcdir
=$srcdir ;;
22266 *) # Relative name.
22267 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22268 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22269 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22271 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22281 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22282 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22286 cat >>$CONFIG_STATUS <<\_ACEOF
22287 # If the template does not know about datarootdir, expand it.
22288 # FIXME: This hack should be removed a few years after 2.60.
22289 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22291 case `sed -n '/datarootdir/ {
22300 ' $ac_file_inputs` in
22301 *datarootdir
*) ac_datarootdir_seen
=yes;;
22302 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22303 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22304 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22306 cat >>$CONFIG_STATUS <<_ACEOF
22307 ac_datarootdir_hack='
22308 s&@datadir@&$datadir&g
22309 s&@docdir@&$docdir&g
22310 s&@infodir@&$infodir&g
22311 s&@localedir@&$localedir&g
22312 s&@mandir@&$mandir&g
22313 s&\\\${datarootdir}&$datarootdir&g' ;;
22317 # Neutralize VPATH when `$srcdir' = `.'.
22318 # Shell code in configure.ac might set extrasub.
22319 # FIXME: do we really want to maintain this feature?
22320 cat >>$CONFIG_STATUS <<_ACEOF
22324 cat >>$CONFIG_STATUS <<\_ACEOF
22326 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22327 s
&@configure_input@
&$configure_input&;t t
22328 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22329 s
&@srcdir@
&$ac_srcdir&;t t
22330 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22331 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22332 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22333 s
&@builddir@
&$ac_builddir&;t t
22334 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22335 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22336 s
&@INSTALL@
&$ac_INSTALL&;t t
22337 $ac_datarootdir_hack
22338 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22340 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22341 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22342 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22343 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22344 which seems to be undefined. Please make sure it is defined." >&5
22345 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22346 which seems to be undefined. Please make sure it is defined." >&2;}
22350 -) cat "$tmp/out"; rm -f "$tmp/out";;
22351 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22360 # Transform confdefs.h into a sed script `conftest.defines', that
22361 # substitutes the proper values into config.h.in to produce config.h.
22362 rm -f conftest.defines conftest.
tail
22363 # First, append a space to every undef/define line, to ease matching.
22364 echo 's/$/ /' >conftest.defines
22365 # Then, protect against being on the right side of a sed subst, or in
22366 # an unquoted here document, in config.status. If some macros were
22367 # called several times there might be several #defines for the same
22368 # symbol, which is useless. But do not sort them, since the last
22369 # AC_DEFINE must be honored.
22370 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
22371 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22372 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22373 # PARAMS is the parameter list in the macro definition--in most cases, it's
22374 # just an empty string.
22375 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22376 ac_dB
='\\)[ (].*,\\1define\\2'
22384 s/^[ ]*#[ ]*define[ ][ ]*//
22389 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22390 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22391 ' >>conftest.defines
22393 # Remove the space that was appended to ease matching.
22394 # Then replace #undef with comments. This is necessary, for
22395 # example, in the case of _POSIX_SOURCE, which is predefined and required
22396 # on some systems where configure will not decide to define it.
22397 # (The regexp can be short, since the line contains either #define or #undef.)
22399 s,^[ #]*u.*,/* & */,' >>conftest.defines
22401 # Break up conftest.defines:
22402 ac_max_sed_lines
=50
22404 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22405 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22406 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22408 ac_in
='$ac_file_inputs'
22409 ac_out
='"$tmp/out1"'
22410 ac_nxt
='"$tmp/out2"'
22414 # Write a here document:
22415 cat >>$CONFIG_STATUS <<_ACEOF
22416 # First, check the format of the line:
22417 cat >"\$tmp/defines.sed" <<\\CEOF
22418 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22419 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22423 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22425 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22426 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22427 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22428 grep . conftest.
tail >/dev
/null ||
break
22429 rm -f conftest.defines
22430 mv conftest.
tail conftest.defines
22432 rm -f conftest.defines conftest.
tail
22434 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22435 cat >>$CONFIG_STATUS <<\_ACEOF
22436 if test x
"$ac_file" != x-
; then
22437 echo "/* $configure_input */" >"$tmp/config.h"
22438 cat "$ac_result" >>"$tmp/config.h"
22439 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
22440 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22441 echo "$as_me: $ac_file is unchanged" >&6;}
22444 mv "$tmp/config.h" $ac_file
22447 echo "/* $configure_input */"
22453 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22454 echo "$as_me: executing $ac_file commands" >&6;}
22459 case $ac_file$ac_mode in
22460 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
22461 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22462 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
22463 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22464 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
22465 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22466 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
22467 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22468 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
22469 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22470 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
22471 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
22472 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
22478 { (exit 0); exit 0; }
22480 chmod +x
$CONFIG_STATUS
22481 ac_clean_files
=$ac_clean_files_save
22484 # configure is writing to config.log, and then calls config.status.
22485 # config.status does its own redirection, appending to config.log.
22486 # Unfortunately, on DOS this fails, as config.log is still kept open
22487 # by configure, so config.status won't be able to write to it; its
22488 # output is simply discarded. So we exec the FD to /dev/null,
22489 # effectively closing config.log, so it can be properly (re)opened and
22490 # appended to by config.status. When coming back to configure, we
22491 # need to make the FD available again.
22492 if test "$no_create" != yes; then
22494 ac_config_status_args
=
22495 test "$silent" = yes &&
22496 ac_config_status_args
="$ac_config_status_args --quiet"
22498 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22500 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22501 # would make configure fail if this is the last instruction.
22502 $ac_cs_success ||
{ (exit 1); exit 1; }
22507 if test "$no_create" = "yes"
22512 if test "$verbose" = "yes"
22514 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
22517 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
22518 echo "$as_me: libcapi20 development files not found." >&6;}
22519 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
22520 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
22523 if test "$ac_cv_header_cups_cups_h" != "yes"
22526 { echo "$as_me:$LINENO: libcups development files not found." >&5
22527 echo "$as_me: libcups development files not found." >&6;}
22528 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
22529 echo "$as_me: Wine will be built without CUPS support." >&6;}
22533 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
22536 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
22537 echo "$as_me: libgphoto2 development files not found." >&6;}
22538 if test "$ac_cv_header_sane_sane_h" = "yes"
22540 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
22541 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
22543 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
22544 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
22548 if test "$ac_cv_header_hal_libhal_h" != "yes"
22551 { echo "$as_me:$LINENO: libhal development files not found." >&5
22552 echo "$as_me: libhal development files not found." >&6;}
22553 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
22554 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
22557 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
22560 { echo "$as_me:$LINENO: libicu development files not found." >&5
22561 echo "$as_me: libicu development files not found." >&6;}
22562 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
22563 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
22566 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
22569 { echo "$as_me:$LINENO: liblcms development files not found." >&5
22570 echo "$as_me: liblcms development files not found." >&6;}
22571 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
22572 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
22575 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
22578 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
22579 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
22580 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
22581 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
22584 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
22587 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
22588 echo "$as_me: lib(n)curses development files not found." >&6;}
22589 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
22590 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
22593 if test "$ac_cv_header_sane_sane_h" != "yes"
22596 { echo "$as_me:$LINENO: libsane development files not found." >&5
22597 echo "$as_me: libsane development files not found." >&6;}
22598 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
22599 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
22602 if test "$have_x" = "yes"
22604 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
22607 { echo "$as_me:$LINENO: libxext development files not found." >&5
22608 echo "$as_me: libxext development files not found." >&6;}
22609 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22610 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22613 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22616 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22617 echo "$as_me: libXrandr development files not found." >&6;}
22618 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22619 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22622 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22625 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22626 echo "$as_me: libXrender development files not found." >&6;}
22627 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22628 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22631 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22634 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22635 echo "$as_me: libXxf86vm development files not found." >&6;}
22636 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22637 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22641 if test "$ac_cv_header_libxml_parser_h" != "yes"
22644 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22645 echo "$as_me: libxml2 development files not found." >&6;}
22646 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22647 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22650 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22653 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22654 echo "$as_me: libxslt development files not found." >&6;}
22655 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22656 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22661 if test "$have_x" = "no"
22664 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22665 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22666 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22667 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22668 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22669 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22670 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22671 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22674 if test -z "$OPENGLFILES"
22677 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22678 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22679 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22680 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22681 if test "$wine_cv_opengl_headers_found" = "no"
22683 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22684 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22686 if test "$wine_cv_opengl_header_version_OK" = "no"
22688 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22689 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22690 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22692 if test -f /usr
/X11R
6/lib
/libGL.a
22694 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22695 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22696 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22697 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22699 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22700 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22705 if test "$wine_cv_msg_freetype" = "yes"
22708 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22709 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22710 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22711 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22712 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22713 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22714 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22715 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22718 if test -z "$FONTSSUBDIRS"
22721 if test "$FONTFORGE" = "false"
22723 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22724 echo "$as_me: WARNING: FontForge is missing." >&2;}
22726 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22727 echo "$as_me: WARNING: FreeType is missing." >&2;}
22729 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22730 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22733 if test -z "$ALSALIBS" -a \
22734 -z "$ARTSC_LIBS" -a \
22735 -z "$AUDIOIOLIBS" -a \
22737 -z "$ESD_LIBS" -a \
22738 -z "$ac_cv_lib_soname_jack" -a \
22739 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22740 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22741 "$ac_cv_header_soundcard_h" != "yes"
22744 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22745 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22746 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22747 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22748 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
22749 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22753 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."