2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.28.
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.28'
578 PACKAGE_STRING
='Wine 0.9.28'
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
777 ac_subst_files
='MAKE_RULES
782 ac_precious_vars
='build_alias
797 # Initialize some variables set by options.
799 ac_init_version
=false
800 # The variables have the same names as the options, with
801 # dashes changed to underlines.
809 program_transform_name
=s
,x
,x
,
817 # Installation directory options.
818 # These are left unexpanded so users can "make install exec_prefix=/foo"
819 # and all the variables that are supposed to be based on exec_prefix
820 # by default will actually change.
821 # Use braces instead of parens because sh, perl, etc. also accept them.
822 # (The list follows the same order as the GNU Coding Standards.)
823 bindir
='${exec_prefix}/bin'
824 sbindir
='${exec_prefix}/sbin'
825 libexecdir
='${exec_prefix}/libexec'
826 datarootdir
='${prefix}/share'
827 datadir
='${datarootdir}'
828 sysconfdir
='${prefix}/etc'
829 sharedstatedir
='${prefix}/com'
830 localstatedir
='${prefix}/var'
831 includedir
='${prefix}/include'
832 oldincludedir
='/usr/include'
833 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
834 infodir
='${datarootdir}/info'
839 libdir
='${exec_prefix}/lib'
840 localedir
='${datarootdir}/locale'
841 mandir
='${datarootdir}/man'
847 # If the previous option needs an argument, assign it.
848 if test -n "$ac_prev"; then
849 eval $ac_prev=\
$ac_option
855 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
859 # Accept the important Cygnus configure options, so we can diagnose typos.
861 case $ac_dashdash$ac_option in
865 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
867 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
870 -build |
--build |
--buil |
--bui |
--bu)
871 ac_prev
=build_alias
;;
872 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
873 build_alias
=$ac_optarg ;;
875 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
876 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
877 ac_prev
=cache_file
;;
878 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
879 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
880 cache_file
=$ac_optarg ;;
883 cache_file
=config.cache
;;
885 -datadir |
--datadir |
--datadi |
--datad)
887 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
888 datadir
=$ac_optarg ;;
890 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
891 |
--dataroo |
--dataro |
--datar)
892 ac_prev
=datarootdir
;;
893 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
894 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
895 datarootdir
=$ac_optarg ;;
897 -disable-* |
--disable-*)
898 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
899 # Reject names that are not valid shell variable names.
900 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
901 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
902 { (exit 1); exit 1; }; }
903 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
904 eval enable_
$ac_feature=no
;;
906 -docdir |
--docdir |
--docdi |
--doc |
--do)
908 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
911 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
913 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
916 -enable-* |
--enable-*)
917 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
918 # Reject names that are not valid shell variable names.
919 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
920 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
921 { (exit 1); exit 1; }; }
922 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
923 eval enable_
$ac_feature=\
$ac_optarg ;;
925 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
926 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
927 |
--exec |
--exe |
--ex)
928 ac_prev
=exec_prefix
;;
929 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
930 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
931 |
--exec=* |
--exe=* |
--ex=*)
932 exec_prefix
=$ac_optarg ;;
934 -gas |
--gas |
--ga |
--g)
935 # Obsolete; use --with-gas.
938 -help |
--help |
--hel |
--he |
-h)
940 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
941 ac_init_help
=recursive
;;
942 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
943 ac_init_help
=short
;;
945 -host |
--host |
--hos |
--ho)
946 ac_prev
=host_alias
;;
947 -host=* |
--host=* |
--hos=* |
--ho=*)
948 host_alias
=$ac_optarg ;;
950 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
952 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
954 htmldir
=$ac_optarg ;;
956 -includedir |
--includedir |
--includedi |
--included |
--include \
957 |
--includ |
--inclu |
--incl |
--inc)
958 ac_prev
=includedir
;;
959 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
960 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
961 includedir
=$ac_optarg ;;
963 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
965 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
966 infodir
=$ac_optarg ;;
968 -libdir |
--libdir |
--libdi |
--libd)
970 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
973 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
974 |
--libexe |
--libex |
--libe)
975 ac_prev
=libexecdir
;;
976 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
977 |
--libexe=* |
--libex=* |
--libe=*)
978 libexecdir
=$ac_optarg ;;
980 -localedir |
--localedir |
--localedi |
--localed |
--locale)
982 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
983 localedir
=$ac_optarg ;;
985 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
986 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
987 ac_prev
=localstatedir
;;
988 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
989 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
990 localstatedir
=$ac_optarg ;;
992 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
994 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
998 # Obsolete; use --without-fp.
1001 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1002 |
--no-cr |
--no-c |
-n)
1005 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1006 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1009 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1010 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1011 |
--oldin |
--oldi |
--old |
--ol |
--o)
1012 ac_prev
=oldincludedir
;;
1013 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1014 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1015 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1016 oldincludedir
=$ac_optarg ;;
1018 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1020 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1021 prefix
=$ac_optarg ;;
1023 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1024 |
--program-pre |
--program-pr |
--program-p)
1025 ac_prev
=program_prefix
;;
1026 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1027 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1028 program_prefix
=$ac_optarg ;;
1030 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1031 |
--program-suf |
--program-su |
--program-s)
1032 ac_prev
=program_suffix
;;
1033 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1034 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1035 program_suffix
=$ac_optarg ;;
1037 -program-transform-name |
--program-transform-name \
1038 |
--program-transform-nam |
--program-transform-na \
1039 |
--program-transform-n |
--program-transform- \
1040 |
--program-transform |
--program-transfor \
1041 |
--program-transfo |
--program-transf \
1042 |
--program-trans |
--program-tran \
1043 |
--progr-tra |
--program-tr |
--program-t)
1044 ac_prev
=program_transform_name
;;
1045 -program-transform-name=* |
--program-transform-name=* \
1046 |
--program-transform-nam=* |
--program-transform-na=* \
1047 |
--program-transform-n=* |
--program-transform-=* \
1048 |
--program-transform=* |
--program-transfor=* \
1049 |
--program-transfo=* |
--program-transf=* \
1050 |
--program-trans=* |
--program-tran=* \
1051 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1052 program_transform_name
=$ac_optarg ;;
1054 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1056 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1057 pdfdir
=$ac_optarg ;;
1059 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1061 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1064 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1065 |
-silent |
--silent |
--silen |
--sile |
--sil)
1068 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1070 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1072 sbindir
=$ac_optarg ;;
1074 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1075 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1076 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1078 ac_prev
=sharedstatedir
;;
1079 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1080 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1081 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1083 sharedstatedir
=$ac_optarg ;;
1085 -site |
--site |
--sit)
1087 -site=* |
--site=* |
--sit=*)
1090 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1092 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1093 srcdir
=$ac_optarg ;;
1095 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1096 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1097 ac_prev
=sysconfdir
;;
1098 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1099 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1100 sysconfdir
=$ac_optarg ;;
1102 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1103 ac_prev
=target_alias
;;
1104 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1105 target_alias
=$ac_optarg ;;
1107 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1110 -version |
--version |
--versio |
--versi |
--vers |
-V)
1111 ac_init_version
=: ;;
1114 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1115 # Reject names that are not valid shell variable names.
1116 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1117 { echo "$as_me: error: invalid package name: $ac_package" >&2
1118 { (exit 1); exit 1; }; }
1119 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1120 eval with_
$ac_package=\
$ac_optarg ;;
1122 -without-* |
--without-*)
1123 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1124 # Reject names that are not valid shell variable names.
1125 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1126 { echo "$as_me: error: invalid package name: $ac_package" >&2
1127 { (exit 1); exit 1; }; }
1128 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1129 eval with_
$ac_package=no
;;
1132 # Obsolete; use --with-x.
1135 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1136 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1137 ac_prev
=x_includes
;;
1138 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1139 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1140 x_includes
=$ac_optarg ;;
1142 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1143 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1144 ac_prev
=x_libraries
;;
1145 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1146 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1147 x_libraries
=$ac_optarg ;;
1149 -*) { echo "$as_me: error: unrecognized option: $ac_option
1150 Try \`$0 --help' for more information." >&2
1151 { (exit 1); exit 1; }; }
1155 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1156 # Reject names that are not valid shell variable names.
1157 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1158 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1159 { (exit 1); exit 1; }; }
1160 eval $ac_envvar=\
$ac_optarg
1161 export $ac_envvar ;;
1164 # FIXME: should be removed in autoconf 3.0.
1165 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1166 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1167 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1168 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1174 if test -n "$ac_prev"; then
1175 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1176 { echo "$as_me: error: missing argument to $ac_option" >&2
1177 { (exit 1); exit 1; }; }
1180 # Be sure to have absolute directory names.
1181 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1182 datadir sysconfdir sharedstatedir localstatedir includedir \
1183 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1184 libdir localedir mandir
1186 eval ac_val
=\$
$ac_var
1188 [\\/$
]* | ?
:[\\/]* ) continue;;
1189 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1191 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1192 { (exit 1); exit 1; }; }
1195 # There might be people who depend on the old broken behavior: `$host'
1196 # used to hold the argument of --host etc.
1197 # FIXME: To remove some day.
1200 target
=$target_alias
1202 # FIXME: To remove some day.
1203 if test "x$host_alias" != x
; then
1204 if test "x$build_alias" = x
; then
1205 cross_compiling
=maybe
1206 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1207 If a cross compiler is detected then cross compile mode will be used." >&2
1208 elif test "x$build_alias" != "x$host_alias"; then
1214 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1216 test "$silent" = yes && exec 6>/dev
/null
1219 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1220 ac_ls_di
=`ls -di .` &&
1221 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1222 { echo "$as_me: error: Working directory cannot be determined" >&2
1223 { (exit 1); exit 1; }; }
1224 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1225 { echo "$as_me: error: pwd does not report name of working directory" >&2
1226 { (exit 1); exit 1; }; }
1229 # Find the source files, if location was not specified.
1230 if test -z "$srcdir"; then
1231 ac_srcdir_defaulted
=yes
1232 # Try the directory containing this script, then the parent directory.
1233 ac_confdir
=`$as_dirname -- "$0" ||
1234 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1235 X"$0" : 'X\(//\)[^/]' \| \
1236 X"$0" : 'X\(//\)$' \| \
1237 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1257 if test ! -r "$srcdir/$ac_unique_file"; then
1261 ac_srcdir_defaulted
=no
1263 if test ! -r "$srcdir/$ac_unique_file"; then
1264 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1265 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1266 { (exit 1); exit 1; }; }
1268 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1270 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1271 { (exit 1); exit 1; }; }
1273 # When building in place, set srcdir=.
1274 if test "$ac_abs_confdir" = "$ac_pwd"; then
1277 # Remove unnecessary trailing slashes from srcdir.
1278 # Double slashes in file names in object file debugging info
1279 # mess up M-x gdb in Emacs.
1281 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1283 for ac_var
in $ac_precious_vars; do
1284 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1285 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1286 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1287 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1291 # Report the --help message.
1293 if test "$ac_init_help" = "long"; then
1294 # Omit some internal or obsolete options to make the list less imposing.
1295 # This message is too long to be a string in the A/UX 3.1 sh.
1297 \`configure' configures Wine 0.9.28 to adapt to many kinds of systems.
1299 Usage: $0 [OPTION]... [VAR=VALUE]...
1301 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1302 VAR=VALUE. See below for descriptions of some of the useful variables.
1304 Defaults for the options are specified in brackets.
1307 -h, --help display this help and exit
1308 --help=short display options specific to this package
1309 --help=recursive display the short help of all the included packages
1310 -V, --version display version information and exit
1311 -q, --quiet, --silent do not print \`checking...' messages
1312 --cache-file=FILE cache test results in FILE [disabled]
1313 -C, --config-cache alias for \`--cache-file=config.cache'
1314 -n, --no-create do not create output files
1315 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1317 Installation directories:
1318 --prefix=PREFIX install architecture-independent files in PREFIX
1319 [$ac_default_prefix]
1320 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1323 By default, \`make install' will install all the files in
1324 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1325 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1326 for instance \`--prefix=\$HOME'.
1328 For better control, use the options below.
1330 Fine tuning of the installation directories:
1331 --bindir=DIR user executables [EPREFIX/bin]
1332 --sbindir=DIR system admin executables [EPREFIX/sbin]
1333 --libexecdir=DIR program executables [EPREFIX/libexec]
1334 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1335 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1336 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1337 --libdir=DIR object code libraries [EPREFIX/lib]
1338 --includedir=DIR C header files [PREFIX/include]
1339 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1340 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1341 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1342 --infodir=DIR info documentation [DATAROOTDIR/info]
1343 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1344 --mandir=DIR man documentation [DATAROOTDIR/man]
1345 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1346 --htmldir=DIR html documentation [DOCDIR]
1347 --dvidir=DIR dvi documentation [DOCDIR]
1348 --pdfdir=DIR pdf documentation [DOCDIR]
1349 --psdir=DIR ps documentation [DOCDIR]
1355 --x-includes=DIR X include files are
in DIR
1356 --x-libraries=DIR X library files are
in DIR
1359 --build=BUILD configure
for building on BUILD
[guessed
]
1360 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1364 if test -n "$ac_init_help"; then
1365 case $ac_init_help in
1366 short | recursive
) echo "Configuration of Wine 0.9.28:";;
1371 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1372 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1373 --disable-win16 do not include Win16 support
1374 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1378 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1379 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1380 --without-opengl do not use OpenGL
1381 --with-wine-tools=<dir> use Wine tools from directory <dir>
1382 --with-x use the X Window System
1384 Some influential environment variables:
1385 CC C compiler command
1386 CFLAGS C compiler flags
1387 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1388 nonstandard directory <lib dir>
1389 LIBS libraries to pass to the linker, e.g. -l<library>
1390 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1391 you have headers in a nonstandard directory <include dir>
1392 CXX C++ compiler command
1393 CXXFLAGS C++ compiler flags
1394 XMKMF Path to xmkmf, Makefile generator for X Window System
1397 Use these variables to override the choices made by `configure' or to
help
1398 it to
find libraries and programs with nonstandard names
/locations.
1400 Report bugs to
<wine-devel@winehq.org
>.
1405 if test "$ac_init_help" = "recursive"; then
1406 # If there are subdirs, report their specific --help.
1407 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1408 test -d "$ac_dir" ||
continue
1412 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1414 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1415 # A ".." for each directory in $ac_dir_suffix.
1416 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1417 case $ac_top_builddir_sub in
1418 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1419 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1422 ac_abs_top_builddir
=$ac_pwd
1423 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1424 # for backward compatibility:
1425 ac_top_builddir
=$ac_top_build_prefix
1428 .
) # We are building in place.
1430 ac_top_srcdir
=$ac_top_builddir_sub
1431 ac_abs_top_srcdir
=$ac_pwd ;;
1432 [\\/]* | ?
:[\\/]* ) # Absolute name.
1433 ac_srcdir
=$srcdir$ac_dir_suffix;
1434 ac_top_srcdir
=$srcdir
1435 ac_abs_top_srcdir
=$srcdir ;;
1437 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1438 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1439 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1441 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1443 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1444 # Check for guested configure.
1445 if test -f "$ac_srcdir/configure.gnu"; then
1447 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1448 elif test -f "$ac_srcdir/configure"; then
1450 $SHELL "$ac_srcdir/configure" --help=recursive
1452 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1454 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1458 test -n "$ac_init_help" && exit $ac_status
1459 if $ac_init_version; then
1461 Wine configure
0.9.28
1462 generated by GNU Autoconf
2.61
1464 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1465 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1466 This configure
script is free software
; the Free Software Foundation
1467 gives unlimited permission to copy
, distribute and modify it.
1471 cat >config.log
<<_ACEOF
1472 This file contains any messages produced by compilers while
1473 running configure, to aid debugging if configure makes a mistake.
1475 It was created by Wine $as_me 0.9.28, which was
1476 generated by GNU Autoconf 2.61. Invocation command line was
1488 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1489 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1490 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1491 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1492 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1494 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1495 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1497 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1498 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1499 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1500 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1501 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1502 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1503 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1511 test -z "$as_dir" && as_dir
=.
1512 echo "PATH: $as_dir"
1528 # Keep a trace of the command line.
1529 # Strip out --no-create and --no-recursion so they do not pile up.
1530 # Strip out --silent because we don't want to record it for future runs.
1531 # Also quote any args containing shell meta-characters.
1532 # Make two passes to allow for proper duplicate-argument suppression.
1536 ac_must_keep_next
=false
1542 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1543 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1544 |
-silent |
--silent |
--silen |
--sile |
--sil)
1547 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1550 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1552 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1553 if test $ac_must_keep_next = true
; then
1554 ac_must_keep_next
=false
# Got value, back to normal.
1557 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1558 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1559 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1560 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1561 case "$ac_configure_args0 " in
1562 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1565 -* ) ac_must_keep_next
=true
;;
1568 ac_configure_args
="$ac_configure_args '$ac_arg'"
1573 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1574 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1576 # When interrupted or exit'd, cleanup temporary files, and complete
1577 # config.log. We remove comments because anyway the quotes in there
1578 # would cause problems or look ugly.
1579 # WARNING: Use '\'' to represent an apostrophe within the trap.
1580 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1581 trap 'exit_status=$?
1582 # Save into config.log some information that might help in debugging.
1587 ## ---------------- ##
1588 ## Cache variables. ##
1589 ## ---------------- ##
1592 # The following way of writing the cache mishandles newlines in values,
1594 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1595 eval ac_val=\$$ac_var
1599 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1600 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1603 _ | IFS | as_nl) ;; #(
1604 *) $as_unset $ac_var ;;
1609 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1610 *${as_nl}ac_space=\ *)
1612 "s/'\''/'\''\\\\'\'''\''/g;
1613 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1616 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1624 ## ----------------- ##
1625 ## Output variables. ##
1626 ## ----------------- ##
1629 for ac_var in $ac_subst_vars
1631 eval ac_val=\$$ac_var
1633 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1635 echo "$ac_var='\''$ac_val'\''"
1639 if test -n "$ac_subst_files"; then
1641 ## ------------------- ##
1642 ## File substitutions. ##
1643 ## ------------------- ##
1646 for ac_var
in $ac_subst_files
1648 eval ac_val
=\$
$ac_var
1650 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1652 echo "$ac_var='\''$ac_val'\''"
1657 if test -s confdefs.h; then
1667 test "$ac_signal" != 0 &&
1668 echo "$as_me: caught signal $ac_signal"
1669 echo "$as_me: exit $exit_status"
1671 rm -f core *.core core.conftest.* &&
1672 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1675 for ac_signal
in 1 2 13 15; do
1676 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1680 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1681 rm -f -r conftest
* confdefs.h
1683 # Predefined preprocessor variables.
1685 cat >>confdefs.h
<<_ACEOF
1686 #define PACKAGE_NAME "$PACKAGE_NAME"
1690 cat >>confdefs.h
<<_ACEOF
1691 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1695 cat >>confdefs.h
<<_ACEOF
1696 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1700 cat >>confdefs.h
<<_ACEOF
1701 #define PACKAGE_STRING "$PACKAGE_STRING"
1705 cat >>confdefs.h
<<_ACEOF
1706 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1710 # Let the site file select an alternate cache file if it wants to.
1711 # Prefer explicitly selected file to automatically selected ones.
1712 if test -n "$CONFIG_SITE"; then
1713 set x
"$CONFIG_SITE"
1714 elif test "x$prefix" != xNONE
; then
1715 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1717 set x
"$ac_default_prefix/share/config.site" \
1718 "$ac_default_prefix/etc/config.site"
1723 if test -r "$ac_site_file"; then
1724 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1725 echo "$as_me: loading site script $ac_site_file" >&6;}
1726 sed 's/^/| /' "$ac_site_file" >&5
1731 if test -r "$cache_file"; then
1732 # Some versions of bash will fail to source /dev/null (special
1733 # files actually), so we avoid doing that.
1734 if test -f "$cache_file"; then
1735 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1736 echo "$as_me: loading cache $cache_file" >&6;}
1738 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1739 *) .
"./$cache_file";;
1743 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1744 echo "$as_me: creating cache $cache_file" >&6;}
1748 # Check that the precious variables saved in the cache have kept the same
1750 ac_cache_corrupted
=false
1751 for ac_var
in $ac_precious_vars; do
1752 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1753 eval ac_new_set
=\
$ac_env_${ac_var}_set
1754 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1755 eval ac_new_val
=\
$ac_env_${ac_var}_value
1756 case $ac_old_set,$ac_new_set in
1758 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1759 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1760 ac_cache_corrupted
=: ;;
1762 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1763 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1764 ac_cache_corrupted
=: ;;
1767 if test "x$ac_old_val" != "x$ac_new_val"; then
1768 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1769 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1770 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1771 echo "$as_me: former value: $ac_old_val" >&2;}
1772 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1773 echo "$as_me: current value: $ac_new_val" >&2;}
1774 ac_cache_corrupted
=:
1777 # Pass precious variables to config.status.
1778 if test "$ac_new_set" = set; then
1780 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1781 *) ac_arg
=$ac_var=$ac_new_val ;;
1783 case " $ac_configure_args " in
1784 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1785 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1789 if $ac_cache_corrupted; then
1790 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1791 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1792 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1793 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1794 { (exit 1); exit 1; }; }
1822 ac_cpp
='$CPP $CPPFLAGS'
1823 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1824 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1825 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1829 ac_config_headers
="$ac_config_headers include/config.h"
1832 for ac_dir
in tools
"$srcdir"/tools
; do
1833 if test -f "$ac_dir/install-sh"; then
1835 ac_install_sh
="$ac_aux_dir/install-sh -c"
1837 elif test -f "$ac_dir/install.sh"; then
1839 ac_install_sh
="$ac_aux_dir/install.sh -c"
1841 elif test -f "$ac_dir/shtool"; then
1843 ac_install_sh
="$ac_aux_dir/shtool install -c"
1847 if test -z "$ac_aux_dir"; then
1848 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1849 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1850 { (exit 1); exit 1; }; }
1853 # These three variables are undocumented and unsupported,
1854 # and are intended to be withdrawn in a future Autoconf release.
1855 # They can cause serious problems if a builder's source tree is in a directory
1856 # whose full name contains unusual characters.
1857 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1858 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1859 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1864 # Check whether --enable-win16 was given.
1865 if test "${enable_win16+set}" = set; then
1866 enableval
=$enable_win16;
1869 # Check whether --enable-win64 was given.
1870 if test "${enable_win64+set}" = set; then
1871 enableval
=$enable_win64;
1876 # Check whether --with-opengl was given.
1877 if test "${with_opengl+set}" = set; then
1878 withval
=$with_opengl;
1882 # Check whether --with-wine-tools was given.
1883 if test "${with_wine_tools+set}" = set; then
1884 withval
=$with_wine_tools;
1888 # Make sure we can run config.sub.
1889 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1890 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1891 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1892 { (exit 1); exit 1; }; }
1894 { echo "$as_me:$LINENO: checking build system type" >&5
1895 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1896 if test "${ac_cv_build+set}" = set; then
1897 echo $ECHO_N "(cached) $ECHO_C" >&6
1899 ac_build_alias
=$build_alias
1900 test "x$ac_build_alias" = x
&&
1901 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1902 test "x$ac_build_alias" = x
&&
1903 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1904 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1905 { (exit 1); exit 1; }; }
1906 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1907 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1908 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1909 { (exit 1); exit 1; }; }
1912 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1913 echo "${ECHO_T}$ac_cv_build" >&6; }
1914 case $ac_cv_build in
1916 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1917 echo "$as_me: error: invalid value of canonical build" >&2;}
1918 { (exit 1); exit 1; }; };;
1921 ac_save_IFS
=$IFS; IFS
='-'
1927 # Remember, the first character of IFS is used to create $*,
1928 # except with old shells:
1931 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1934 { echo "$as_me:$LINENO: checking host system type" >&5
1935 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1936 if test "${ac_cv_host+set}" = set; then
1937 echo $ECHO_N "(cached) $ECHO_C" >&6
1939 if test "x$host_alias" = x
; then
1940 ac_cv_host
=$ac_cv_build
1942 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1943 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1944 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1945 { (exit 1); exit 1; }; }
1949 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1950 echo "${ECHO_T}$ac_cv_host" >&6; }
1953 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1954 echo "$as_me: error: invalid value of canonical host" >&2;}
1955 { (exit 1); exit 1; }; };;
1958 ac_save_IFS
=$IFS; IFS
='-'
1964 # Remember, the first character of IFS is used to create $*,
1965 # except with old shells:
1968 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1973 if test "x$enable_win64" != "xyes"
1975 test -n "$CC" || CC
="gcc -m32"
1976 test -n "$LD" || LD
="ld -m elf_i386"
1977 test -n "$AS" || AS
="as --32"
1985 if test "x$enable_win16" != "xno"
1992 WIN16_FILES
="\$(WIN16_FILES)"
1994 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1996 if test "x$enable_win16" != "xyes"
2004 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2005 { { echo "$as_me:$LINENO: 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." >&5
2007 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2008 You need to run 'make distclean' in the source tree first." >&2;}
2009 { (exit 1); exit 1; }; }
2014 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2015 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2016 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2017 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2018 echo $ECHO_N "(cached) $ECHO_C" >&6
2020 cat >conftest.
make <<\_ACEOF
2023 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2025 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2026 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2028 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2030 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2034 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2035 { echo "$as_me:$LINENO: result: yes" >&5
2036 echo "${ECHO_T}yes" >&6; }
2039 { echo "$as_me:$LINENO: result: no" >&5
2040 echo "${ECHO_T}no" >&6; }
2041 SET_MAKE
="MAKE=${MAKE-make}"
2045 ac_cpp
='$CPP $CPPFLAGS'
2046 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2047 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2048 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2049 if test -n "$ac_tool_prefix"; then
2050 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2051 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2052 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2054 if test "${ac_cv_prog_CC+set}" = set; then
2055 echo $ECHO_N "(cached) $ECHO_C" >&6
2057 if test -n "$CC"; then
2058 ac_cv_prog_CC
="$CC" # Let the user override the test.
2060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2064 test -z "$as_dir" && as_dir
=.
2065 for ac_exec_ext
in '' $ac_executable_extensions; do
2066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2067 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2078 if test -n "$CC"; then
2079 { echo "$as_me:$LINENO: result: $CC" >&5
2080 echo "${ECHO_T}$CC" >&6; }
2082 { echo "$as_me:$LINENO: result: no" >&5
2083 echo "${ECHO_T}no" >&6; }
2088 if test -z "$ac_cv_prog_CC"; then
2090 # Extract the first word of "gcc", so it can be a program name with args.
2091 set dummy gcc
; ac_word
=$2
2092 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2094 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2095 echo $ECHO_N "(cached) $ECHO_C" >&6
2097 if test -n "$ac_ct_CC"; then
2098 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2104 test -z "$as_dir" && as_dir
=.
2105 for ac_exec_ext
in '' $ac_executable_extensions; do
2106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2107 ac_cv_prog_ac_ct_CC
="gcc"
2108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2117 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2118 if test -n "$ac_ct_CC"; then
2119 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2120 echo "${ECHO_T}$ac_ct_CC" >&6; }
2122 { echo "$as_me:$LINENO: result: no" >&5
2123 echo "${ECHO_T}no" >&6; }
2126 if test "x$ac_ct_CC" = x
; then
2129 case $cross_compiling:$ac_tool_warned in
2131 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2132 whose name does not start with the host triplet. If you think this
2133 configuration is useful to you, please write to autoconf@gnu.org." >&5
2134 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2135 whose name does not start with the host triplet. If you think this
2136 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2137 ac_tool_warned
=yes ;;
2145 if test -z "$CC"; then
2146 if test -n "$ac_tool_prefix"; then
2147 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2148 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2149 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2151 if test "${ac_cv_prog_CC+set}" = set; then
2152 echo $ECHO_N "(cached) $ECHO_C" >&6
2154 if test -n "$CC"; then
2155 ac_cv_prog_CC
="$CC" # Let the user override the test.
2157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2161 test -z "$as_dir" && as_dir
=.
2162 for ac_exec_ext
in '' $ac_executable_extensions; do
2163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2164 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2175 if test -n "$CC"; then
2176 { echo "$as_me:$LINENO: result: $CC" >&5
2177 echo "${ECHO_T}$CC" >&6; }
2179 { echo "$as_me:$LINENO: result: no" >&5
2180 echo "${ECHO_T}no" >&6; }
2186 if test -z "$CC"; then
2187 # Extract the first word of "cc", so it can be a program name with args.
2188 set dummy cc
; ac_word
=$2
2189 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2191 if test "${ac_cv_prog_CC+set}" = set; then
2192 echo $ECHO_N "(cached) $ECHO_C" >&6
2194 if test -n "$CC"; then
2195 ac_cv_prog_CC
="$CC" # Let the user override the test.
2198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2202 test -z "$as_dir" && as_dir
=.
2203 for ac_exec_ext
in '' $ac_executable_extensions; do
2204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2205 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2206 ac_prog_rejected
=yes
2210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2217 if test $ac_prog_rejected = yes; then
2218 # We found a bogon in the path, so make sure we never use it.
2219 set dummy
$ac_cv_prog_CC
2221 if test $# != 0; then
2222 # We chose a different compiler from the bogus one.
2223 # However, it has the same basename, so the bogon will be chosen
2224 # first if we set CC to just the basename; use the full file name.
2226 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2232 if test -n "$CC"; then
2233 { echo "$as_me:$LINENO: result: $CC" >&5
2234 echo "${ECHO_T}$CC" >&6; }
2236 { echo "$as_me:$LINENO: result: no" >&5
2237 echo "${ECHO_T}no" >&6; }
2242 if test -z "$CC"; then
2243 if test -n "$ac_tool_prefix"; then
2244 for ac_prog
in cl.exe
2246 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2247 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2248 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2250 if test "${ac_cv_prog_CC+set}" = set; then
2251 echo $ECHO_N "(cached) $ECHO_C" >&6
2253 if test -n "$CC"; then
2254 ac_cv_prog_CC
="$CC" # Let the user override the test.
2256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2260 test -z "$as_dir" && as_dir
=.
2261 for ac_exec_ext
in '' $ac_executable_extensions; do
2262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2263 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2274 if test -n "$CC"; then
2275 { echo "$as_me:$LINENO: result: $CC" >&5
2276 echo "${ECHO_T}$CC" >&6; }
2278 { echo "$as_me:$LINENO: result: no" >&5
2279 echo "${ECHO_T}no" >&6; }
2283 test -n "$CC" && break
2286 if test -z "$CC"; then
2288 for ac_prog
in cl.exe
2290 # Extract the first word of "$ac_prog", so it can be a program name with args.
2291 set dummy
$ac_prog; ac_word
=$2
2292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2294 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2295 echo $ECHO_N "(cached) $ECHO_C" >&6
2297 if test -n "$ac_ct_CC"; then
2298 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2304 test -z "$as_dir" && as_dir
=.
2305 for ac_exec_ext
in '' $ac_executable_extensions; do
2306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2307 ac_cv_prog_ac_ct_CC
="$ac_prog"
2308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2317 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2318 if test -n "$ac_ct_CC"; then
2319 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2320 echo "${ECHO_T}$ac_ct_CC" >&6; }
2322 { echo "$as_me:$LINENO: result: no" >&5
2323 echo "${ECHO_T}no" >&6; }
2327 test -n "$ac_ct_CC" && break
2330 if test "x$ac_ct_CC" = x
; then
2333 case $cross_compiling:$ac_tool_warned in
2335 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2336 whose name does not start with the host triplet. If you think this
2337 configuration is useful to you, please write to autoconf@gnu.org." >&5
2338 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2339 whose name does not start with the host triplet. If you think this
2340 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2341 ac_tool_warned
=yes ;;
2350 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2351 See \`config.log' for more details." >&5
2352 echo "$as_me: error: no acceptable C compiler found in \$PATH
2353 See \`config.log' for more details." >&2;}
2354 { (exit 1); exit 1; }; }
2356 # Provide some information about the compiler.
2357 echo "$as_me:$LINENO: checking for C compiler version" >&5
2358 ac_compiler
=`set X $ac_compile; echo $2`
2359 { (ac_try
="$ac_compiler --version >&5"
2361 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2362 *) ac_try_echo=$ac_try;;
2364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2365 (eval "$ac_compiler --version >&5") 2>&5
2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368 (exit $ac_status); }
2369 { (ac_try="$ac_compiler -v >&5"
2371 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2372 *) ac_try_echo
=$ac_try;;
2374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2375 (eval "$ac_compiler -v >&5") 2>&5
2377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378 (exit $ac_status); }
2379 { (ac_try
="$ac_compiler -V >&5"
2381 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2382 *) ac_try_echo=$ac_try;;
2384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2385 (eval "$ac_compiler -V >&5") 2>&5
2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388 (exit $ac_status); }
2390 cat >conftest.$ac_ext <<_ACEOF
2393 cat confdefs.h >>conftest.$ac_ext
2394 cat >>conftest.$ac_ext <<_ACEOF
2395 /* end confdefs.h. */
2405 ac_clean_files_save=$ac_clean_files
2406 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2407 # Try to create an executable without -o first, disregard a.out.
2408 # It will help us diagnose broken compilers, and finding out an intuition
2410 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2411 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2412 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2414 # List of possible output files, starting from the most likely.
2415 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2416 # only as a last resort. b.out is created by i960 compilers.
2417 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2419 # The IRIX 6 linker writes into existing files which may not be
2420 # executable, retaining their permissions. Remove them first so a
2421 # subsequent execution test works.
2423 for ac_file in $ac_files
2426 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2427 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2432 if { (ac_try="$ac_link_default"
2434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2435 *) ac_try_echo=$ac_try;;
2437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2438 (eval "$ac_link_default") 2>&5
2440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441 (exit $ac_status); }; then
2442 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2443 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2444 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2445 # so that the user can short-circuit this test for compilers unknown to
2447 for ac_file
in $ac_files ''
2449 test -f "$ac_file" ||
continue
2451 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2454 # We found the default executable, but exeext='' is most
2458 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2460 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2462 # We set ac_cv_exeext here because the later test for it is not
2463 # safe: cross compilers may not add the suffix if given an `-o'
2464 # argument, so we may need to know it at that point already.
2465 # Even if this section looks crufty: it has the advantage of
2472 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2478 { echo "$as_me:$LINENO: result: $ac_file" >&5
2479 echo "${ECHO_T}$ac_file" >&6; }
2480 if test -z "$ac_file"; then
2481 echo "$as_me: failed program was:" >&5
2482 sed 's/^/| /' conftest.
$ac_ext >&5
2484 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2485 See \`config.log' for more details." >&5
2486 echo "$as_me: error: C compiler cannot create executables
2487 See \`config.log' for more details." >&2;}
2488 { (exit 77); exit 77; }; }
2491 ac_exeext
=$ac_cv_exeext
2493 # Check that the compiler produces executables we can run. If not, either
2494 # the compiler is broken, or we cross compile.
2495 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2496 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2497 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2498 # If not cross compiling, check that we can run a simple program.
2499 if test "$cross_compiling" != yes; then
2500 if { ac_try
='./$ac_file'
2501 { (case "(($ac_try" in
2502 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2503 *) ac_try_echo=$ac_try;;
2505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2506 (eval "$ac_try") 2>&5
2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509 (exit $ac_status); }; }; then
2512 if test "$cross_compiling" = maybe; then
2515 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2516 If you meant to cross compile, use \`--host'.
2517 See \`config.log' for more details.
" >&5
2518 echo "$as_me: error
: cannot run C compiled programs.
2519 If you meant to cross compile
, use \
`--host'.
2520 See \`config.log
' for more details." >&2;}
2521 { (exit 1); exit 1; }; }
2525 { echo "$as_me:$LINENO: result: yes" >&5
2526 echo "${ECHO_T}yes" >&6; }
2528 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2529 ac_clean_files=$ac_clean_files_save
2530 # Check that the compiler produces executables we can run. If not, either
2531 # the compiler is broken, or we cross compile.
2532 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2533 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2534 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2535 echo "${ECHO_T}$cross_compiling" >&6; }
2537 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2538 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2539 if { (ac_try="$ac_link"
2541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2542 *) ac_try_echo=$ac_try;;
2544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2545 (eval "$ac_link") 2>&5
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); }; then
2549 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2550 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2551 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2553 for ac_file
in conftest.exe conftest conftest.
*; do
2554 test -f "$ac_file" ||
continue
2556 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2557 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2563 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2564 See \`config.log' for more details." >&5
2565 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2566 See \`config.log' for more details." >&2;}
2567 { (exit 1); exit 1; }; }
2570 rm -f conftest
$ac_cv_exeext
2571 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2572 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2574 rm -f conftest.
$ac_ext
2575 EXEEXT
=$ac_cv_exeext
2577 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2578 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2579 if test "${ac_cv_objext+set}" = set; then
2580 echo $ECHO_N "(cached) $ECHO_C" >&6
2582 cat >conftest.
$ac_ext <<_ACEOF
2585 cat confdefs.h
>>conftest.
$ac_ext
2586 cat >>conftest.
$ac_ext <<_ACEOF
2587 /* end confdefs.h. */
2597 rm -f conftest.o conftest.obj
2598 if { (ac_try
="$ac_compile"
2600 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2601 *) ac_try_echo=$ac_try;;
2603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2604 (eval "$ac_compile") 2>&5
2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607 (exit $ac_status); }; then
2608 for ac_file in conftest.o conftest.obj conftest.*; do
2609 test -f "$ac_file" || continue;
2611 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2612 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2617 echo "$as_me: failed program was:" >&5
2618 sed 's/^/| /' conftest.$ac_ext >&5
2620 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2621 See \`config.log
' for more details." >&5
2622 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2623 See \`config.log' for more details.
" >&2;}
2624 { (exit 1); exit 1; }; }
2627 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2629 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2630 echo "${ECHO_T}$ac_cv_objext" >&6; }
2631 OBJEXT=$ac_cv_objext
2633 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2634 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2635 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2636 echo $ECHO_N "(cached
) $ECHO_C" >&6
2638 cat >conftest.$ac_ext <<_ACEOF
2641 cat confdefs.h >>conftest.$ac_ext
2642 cat >>conftest.$ac_ext <<_ACEOF
2643 /* end confdefs.h. */
2656 rm -f conftest.$ac_objext
2657 if { (ac_try="$ac_compile"
2659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2660 *) ac_try_echo=$ac_try;;
2662 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2663 (eval "$ac_compile") 2>conftest.er1
2665 grep -v '^ *+' conftest.er1 >conftest.err
2667 cat conftest.err >&5
2668 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2669 (exit $ac_status); } && {
2670 test -z "$ac_c_werror_flag" ||
2671 test ! -s conftest.err
2672 } && test -s conftest.$ac_objext; then
2675 echo "$as_me: failed program was
:" >&5
2676 sed 's/^/| /' conftest.$ac_ext >&5
2681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2682 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2685 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2686 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2687 GCC=`test $ac_compiler_gnu = yes && echo yes`
2688 ac_test_CFLAGS=${CFLAGS+set}
2689 ac_save_CFLAGS=$CFLAGS
2690 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2691 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2692 if test "${ac_cv_prog_cc_g+set}" = set; then
2693 echo $ECHO_N "(cached
) $ECHO_C" >&6
2695 ac_save_c_werror_flag=$ac_c_werror_flag
2696 ac_c_werror_flag=yes
2699 cat >conftest.$ac_ext <<_ACEOF
2702 cat confdefs.h >>conftest.$ac_ext
2703 cat >>conftest.$ac_ext <<_ACEOF
2704 /* end confdefs.h. */
2714 rm -f conftest.$ac_objext
2715 if { (ac_try="$ac_compile"
2717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2718 *) ac_try_echo=$ac_try;;
2720 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2721 (eval "$ac_compile") 2>conftest.er1
2723 grep -v '^ *+' conftest.er1 >conftest.err
2725 cat conftest.err >&5
2726 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2727 (exit $ac_status); } && {
2728 test -z "$ac_c_werror_flag" ||
2729 test ! -s conftest.err
2730 } && test -s conftest.$ac_objext; then
2733 echo "$as_me: failed program was
:" >&5
2734 sed 's/^/| /' conftest.$ac_ext >&5
2737 cat >conftest.$ac_ext <<_ACEOF
2740 cat confdefs.h >>conftest.$ac_ext
2741 cat >>conftest.$ac_ext <<_ACEOF
2742 /* end confdefs.h. */
2752 rm -f conftest.$ac_objext
2753 if { (ac_try="$ac_compile"
2755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2756 *) ac_try_echo=$ac_try;;
2758 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2759 (eval "$ac_compile") 2>conftest.er1
2761 grep -v '^ *+' conftest.er1 >conftest.err
2763 cat conftest.err >&5
2764 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2765 (exit $ac_status); } && {
2766 test -z "$ac_c_werror_flag" ||
2767 test ! -s conftest.err
2768 } && test -s conftest.$ac_objext; then
2771 echo "$as_me: failed program was
:" >&5
2772 sed 's/^/| /' conftest.$ac_ext >&5
2774 ac_c_werror_flag=$ac_save_c_werror_flag
2776 cat >conftest.$ac_ext <<_ACEOF
2779 cat confdefs.h >>conftest.$ac_ext
2780 cat >>conftest.$ac_ext <<_ACEOF
2781 /* end confdefs.h. */
2791 rm -f conftest.$ac_objext
2792 if { (ac_try="$ac_compile"
2794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2795 *) ac_try_echo=$ac_try;;
2797 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2798 (eval "$ac_compile") 2>conftest.er1
2800 grep -v '^ *+' conftest.er1 >conftest.err
2802 cat conftest.err >&5
2803 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2804 (exit $ac_status); } && {
2805 test -z "$ac_c_werror_flag" ||
2806 test ! -s conftest.err
2807 } && test -s conftest.$ac_objext; then
2810 echo "$as_me: failed program was
:" >&5
2811 sed 's/^/| /' conftest.$ac_ext >&5
2816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2823 ac_c_werror_flag=$ac_save_c_werror_flag
2825 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
2826 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2827 if test "$ac_test_CFLAGS" = set; then
2828 CFLAGS=$ac_save_CFLAGS
2829 elif test $ac_cv_prog_cc_g = yes; then
2830 if test "$GCC" = yes; then
2836 if test "$GCC" = yes; then
2842 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
2843 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
2844 if test "${ac_cv_prog_cc_c89+set}" = set; then
2845 echo $ECHO_N "(cached
) $ECHO_C" >&6
2847 ac_cv_prog_cc_c89=no
2849 cat >conftest.$ac_ext <<_ACEOF
2852 cat confdefs.h >>conftest.$ac_ext
2853 cat >>conftest.$ac_ext <<_ACEOF
2854 /* end confdefs.h. */
2857 #include <sys/types.h>
2858 #include <sys/stat.h>
2859 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2860 struct buf { int x; };
2861 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2862 static char *e (p, i)
2868 static char *f (char * (*g) (char **, int), char **p, ...)
2873 s = g (p, va_arg (v,int));
2878 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2879 function prototypes and stuff, but not '\xHH' hex character constants.
2880 These don't provoke an error unfortunately, instead are silently treated
2881 as 'x'. The following induces an error, until -std is added to get
2882 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2883 array size at least. It's necessary to write '\x00'==0 to get something
2884 that's true only with -std. */
2885 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2887 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2888 inside strings and character constants. */
2890 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2892 int test (int i, double x);
2893 struct s1 {int (*f) (int a);};
2894 struct s2 {int (*f) (double a);};
2895 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2901 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2906 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2907 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2909 CC="$ac_save_CC $ac_arg"
2910 rm -f conftest.$ac_objext
2911 if { (ac_try="$ac_compile"
2913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2914 *) ac_try_echo=$ac_try;;
2916 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2917 (eval "$ac_compile") 2>conftest.er1
2919 grep -v '^ *+' conftest.er1 >conftest.err
2921 cat conftest.err >&5
2922 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2923 (exit $ac_status); } && {
2924 test -z "$ac_c_werror_flag" ||
2925 test ! -s conftest.err
2926 } && test -s conftest.$ac_objext; then
2927 ac_cv_prog_cc_c89=$ac_arg
2929 echo "$as_me: failed program was
:" >&5
2930 sed 's/^/| /' conftest.$ac_ext >&5
2935 rm -f core conftest.err conftest.$ac_objext
2936 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
2938 rm -f conftest.$ac_ext
2943 case "x
$ac_cv_prog_cc_c89" in
2945 { echo "$as_me:$LINENO: result
: none needed
" >&5
2946 echo "${ECHO_T}none needed
" >&6; } ;;
2948 { echo "$as_me:$LINENO: result
: unsupported
" >&5
2949 echo "${ECHO_T}unsupported
" >&6; } ;;
2951 CC="$CC $ac_cv_prog_cc_c89"
2952 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
2953 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2958 ac_cpp='$CPP $CPPFLAGS'
2959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2964 ac_cpp='$CXXCPP $CPPFLAGS'
2965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2968 if test -z "$CXX"; then
2969 if test -n "$CCC"; then
2972 if test -n "$ac_tool_prefix"; then
2973 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2975 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2976 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2977 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
2978 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
2979 if test "${ac_cv_prog_CXX+set}" = set; then
2980 echo $ECHO_N "(cached
) $ECHO_C" >&6
2982 if test -n "$CXX"; then
2983 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2989 test -z "$as_dir" && as_dir=.
2990 for ac_exec_ext in '' $ac_executable_extensions; do
2991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2992 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2993 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3003 if test -n "$CXX"; then
3004 { echo "$as_me:$LINENO: result
: $CXX" >&5
3005 echo "${ECHO_T}$CXX" >&6; }
3007 { echo "$as_me:$LINENO: result
: no
" >&5
3008 echo "${ECHO_T}no
" >&6; }
3012 test -n "$CXX" && break
3015 if test -z "$CXX"; then
3017 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3019 # Extract the first word of "$ac_prog", so it can be a program name with args.
3020 set dummy $ac_prog; ac_word=$2
3021 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3022 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3023 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3024 echo $ECHO_N "(cached
) $ECHO_C" >&6
3026 if test -n "$ac_ct_CXX"; then
3027 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3033 test -z "$as_dir" && as_dir=.
3034 for ac_exec_ext in '' $ac_executable_extensions; do
3035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3036 ac_cv_prog_ac_ct_CXX="$ac_prog"
3037 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3046 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3047 if test -n "$ac_ct_CXX"; then
3048 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3049 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3051 { echo "$as_me:$LINENO: result
: no
" >&5
3052 echo "${ECHO_T}no
" >&6; }
3056 test -n "$ac_ct_CXX" && break
3059 if test "x
$ac_ct_CXX" = x; then
3062 case $cross_compiling:$ac_tool_warned in
3064 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3065 whose name does not start with the
host triplet. If you think this
3066 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3067 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3068 whose name does not start with the
host triplet. If you think this
3069 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3070 ac_tool_warned=yes ;;
3078 # Provide some information about the compiler.
3079 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3080 ac_compiler=`set X $ac_compile; echo $2`
3081 { (ac_try="$ac_compiler --version >&5"
3083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3084 *) ac_try_echo=$ac_try;;
3086 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3087 (eval "$ac_compiler --version >&5") 2>&5
3089 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3090 (exit $ac_status); }
3091 { (ac_try="$ac_compiler -v >&5"
3093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3094 *) ac_try_echo=$ac_try;;
3096 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3097 (eval "$ac_compiler -v >&5") 2>&5
3099 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3100 (exit $ac_status); }
3101 { (ac_try="$ac_compiler -V >&5"
3103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3104 *) ac_try_echo=$ac_try;;
3106 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3107 (eval "$ac_compiler -V >&5") 2>&5
3109 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3110 (exit $ac_status); }
3112 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3113 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3114 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3115 echo $ECHO_N "(cached
) $ECHO_C" >&6
3117 cat >conftest.$ac_ext <<_ACEOF
3120 cat confdefs.h >>conftest.$ac_ext
3121 cat >>conftest.$ac_ext <<_ACEOF
3122 /* end confdefs.h. */
3135 rm -f conftest.$ac_objext
3136 if { (ac_try="$ac_compile"
3138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3139 *) ac_try_echo=$ac_try;;
3141 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3142 (eval "$ac_compile") 2>conftest.er1
3144 grep -v '^ *+' conftest.er1 >conftest.err
3146 cat conftest.err >&5
3147 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3148 (exit $ac_status); } && {
3149 test -z "$ac_cxx_werror_flag" ||
3150 test ! -s conftest.err
3151 } && test -s conftest.$ac_objext; then
3154 echo "$as_me: failed program was
:" >&5
3155 sed 's/^/| /' conftest.$ac_ext >&5
3160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3161 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3164 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3165 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3166 GXX=`test $ac_compiler_gnu = yes && echo yes`
3167 ac_test_CXXFLAGS=${CXXFLAGS+set}
3168 ac_save_CXXFLAGS=$CXXFLAGS
3169 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3170 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3171 if test "${ac_cv_prog_cxx_g+set}" = set; then
3172 echo $ECHO_N "(cached
) $ECHO_C" >&6
3174 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3175 ac_cxx_werror_flag=yes
3178 cat >conftest.$ac_ext <<_ACEOF
3181 cat confdefs.h >>conftest.$ac_ext
3182 cat >>conftest.$ac_ext <<_ACEOF
3183 /* end confdefs.h. */
3193 rm -f conftest.$ac_objext
3194 if { (ac_try="$ac_compile"
3196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3197 *) ac_try_echo=$ac_try;;
3199 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3200 (eval "$ac_compile") 2>conftest.er1
3202 grep -v '^ *+' conftest.er1 >conftest.err
3204 cat conftest.err >&5
3205 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3206 (exit $ac_status); } && {
3207 test -z "$ac_cxx_werror_flag" ||
3208 test ! -s conftest.err
3209 } && test -s conftest.$ac_objext; then
3210 ac_cv_prog_cxx_g=yes
3212 echo "$as_me: failed program was
:" >&5
3213 sed 's/^/| /' conftest.$ac_ext >&5
3216 cat >conftest.$ac_ext <<_ACEOF
3219 cat confdefs.h >>conftest.$ac_ext
3220 cat >>conftest.$ac_ext <<_ACEOF
3221 /* end confdefs.h. */
3231 rm -f conftest.$ac_objext
3232 if { (ac_try="$ac_compile"
3234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3235 *) ac_try_echo=$ac_try;;
3237 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3238 (eval "$ac_compile") 2>conftest.er1
3240 grep -v '^ *+' conftest.er1 >conftest.err
3242 cat conftest.err >&5
3243 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3244 (exit $ac_status); } && {
3245 test -z "$ac_cxx_werror_flag" ||
3246 test ! -s conftest.err
3247 } && test -s conftest.$ac_objext; then
3250 echo "$as_me: failed program was
:" >&5
3251 sed 's/^/| /' conftest.$ac_ext >&5
3253 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3255 cat >conftest.$ac_ext <<_ACEOF
3258 cat confdefs.h >>conftest.$ac_ext
3259 cat >>conftest.$ac_ext <<_ACEOF
3260 /* end confdefs.h. */
3270 rm -f conftest.$ac_objext
3271 if { (ac_try="$ac_compile"
3273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3274 *) ac_try_echo=$ac_try;;
3276 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3277 (eval "$ac_compile") 2>conftest.er1
3279 grep -v '^ *+' conftest.er1 >conftest.err
3281 cat conftest.err >&5
3282 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3283 (exit $ac_status); } && {
3284 test -z "$ac_cxx_werror_flag" ||
3285 test ! -s conftest.err
3286 } && test -s conftest.$ac_objext; then
3287 ac_cv_prog_cxx_g=yes
3289 echo "$as_me: failed program was
:" >&5
3290 sed 's/^/| /' conftest.$ac_ext >&5
3295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3302 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3304 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3305 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3306 if test "$ac_test_CXXFLAGS" = set; then
3307 CXXFLAGS=$ac_save_CXXFLAGS
3308 elif test $ac_cv_prog_cxx_g = yes; then
3309 if test "$GXX" = yes; then
3315 if test "$GXX" = yes; then
3322 ac_cpp='$CPP $CPPFLAGS'
3323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3327 if test -n "$ac_tool_prefix"; then
3328 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3329 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3330 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3331 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3332 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3333 echo $ECHO_N "(cached
) $ECHO_C" >&6
3335 if test -n "$CPPBIN"; then
3336 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3342 test -z "$as_dir" && as_dir=.
3343 for ac_exec_ext in '' $ac_executable_extensions; do
3344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3345 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3346 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3355 CPPBIN=$ac_cv_prog_CPPBIN
3356 if test -n "$CPPBIN"; then
3357 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3358 echo "${ECHO_T}$CPPBIN" >&6; }
3360 { echo "$as_me:$LINENO: result
: no
" >&5
3361 echo "${ECHO_T}no
" >&6; }
3366 if test -z "$ac_cv_prog_CPPBIN"; then
3367 ac_ct_CPPBIN=$CPPBIN
3368 # Extract the first word of "cpp
", so it can be a program name with args.
3369 set dummy cpp; ac_word=$2
3370 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3371 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3372 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3373 echo $ECHO_N "(cached
) $ECHO_C" >&6
3375 if test -n "$ac_ct_CPPBIN"; then
3376 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3382 test -z "$as_dir" && as_dir=.
3383 for ac_exec_ext in '' $ac_executable_extensions; do
3384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3385 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3386 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3395 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3396 if test -n "$ac_ct_CPPBIN"; then
3397 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3398 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3400 { echo "$as_me:$LINENO: result
: no
" >&5
3401 echo "${ECHO_T}no
" >&6; }
3404 if test "x
$ac_ct_CPPBIN" = x; then
3407 case $cross_compiling:$ac_tool_warned in
3409 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3410 whose name does not start with the
host triplet. If you think this
3411 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3412 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3413 whose name does not start with the
host triplet. If you think this
3414 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3415 ac_tool_warned=yes ;;
3417 CPPBIN=$ac_ct_CPPBIN
3420 CPPBIN="$ac_cv_prog_CPPBIN"
3424 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3425 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3426 if test "${wine_cv_toolsdir+set}" = set; then
3427 echo $ECHO_N "(cached
) $ECHO_C" >&6
3429 if test -z "$with_wine_tools"; then
3430 if test "$cross_compiling" = "yes"; then
3431 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3432 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3433 { (exit 1); exit 1; }; }
3435 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3437 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3438 case $with_wine_tools in
3439 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3440 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3443 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3444 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3445 { (exit 1); exit 1; }; }
3448 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3449 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3450 TOOLSDIR=$wine_cv_toolsdir
3455 ac_cpp='$CPP $CPPFLAGS'
3456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3459 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3460 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3461 # On Suns, sometimes $CPP names a directory.
3462 if test -n "$CPP" && test -d "$CPP"; then
3465 if test -z "$CPP"; then
3466 if test "${ac_cv_prog_CPP+set}" = set; then
3467 echo $ECHO_N "(cached
) $ECHO_C" >&6
3469 # Double quotes because CPP needs to be expanded
3470 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3473 for ac_c_preproc_warn_flag in '' yes
3475 # Use a header file that comes with gcc, so configuring glibc
3476 # with a fresh cross-compiler works.
3477 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3478 # <limits.h> exists even on freestanding compilers.
3479 # On the NeXT, cc -E runs the code through the compiler's parser,
3480 # not just through cpp. "Syntax error
" is here to catch this case.
3481 cat >conftest.$ac_ext <<_ACEOF
3484 cat confdefs.h >>conftest.$ac_ext
3485 cat >>conftest.$ac_ext <<_ACEOF
3486 /* end confdefs.h. */
3488 # include <limits.h>
3490 # include <assert.h>
3494 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3497 *) ac_try_echo=$ac_try;;
3499 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3500 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3502 grep -v '^ *+' conftest.er1 >conftest.err
3504 cat conftest.err >&5
3505 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3506 (exit $ac_status); } >/dev/null && {
3507 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3508 test ! -s conftest.err
3512 echo "$as_me: failed program was
:" >&5
3513 sed 's/^/| /' conftest.$ac_ext >&5
3515 # Broken: fails on valid input.
3519 rm -f conftest.err conftest.$ac_ext
3521 # OK, works on sane cases. Now check whether nonexistent headers
3522 # can be detected and how.
3523 cat >conftest.$ac_ext <<_ACEOF
3526 cat confdefs.h >>conftest.$ac_ext
3527 cat >>conftest.$ac_ext <<_ACEOF
3528 /* end confdefs.h. */
3529 #include <ac_nonexistent.h>
3531 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3534 *) ac_try_echo=$ac_try;;
3536 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3537 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3539 grep -v '^ *+' conftest.er1 >conftest.err
3541 cat conftest.err >&5
3542 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3543 (exit $ac_status); } >/dev/null && {
3544 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3545 test ! -s conftest.err
3547 # Broken: success on invalid input.
3550 echo "$as_me: failed program was
:" >&5
3551 sed 's/^/| /' conftest.$ac_ext >&5
3553 # Passes both tests.
3558 rm -f conftest.err conftest.$ac_ext
3561 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3562 rm -f conftest.err conftest.$ac_ext
3563 if $ac_preproc_ok; then
3575 { echo "$as_me:$LINENO: result
: $CPP" >&5
3576 echo "${ECHO_T}$CPP" >&6; }
3578 for ac_c_preproc_warn_flag in '' yes
3580 # Use a header file that comes with gcc, so configuring glibc
3581 # with a fresh cross-compiler works.
3582 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3583 # <limits.h> exists even on freestanding compilers.
3584 # On the NeXT, cc -E runs the code through the compiler's parser,
3585 # not just through cpp. "Syntax error
" is here to catch this case.
3586 cat >conftest.$ac_ext <<_ACEOF
3589 cat confdefs.h >>conftest.$ac_ext
3590 cat >>conftest.$ac_ext <<_ACEOF
3591 /* end confdefs.h. */
3593 # include <limits.h>
3595 # include <assert.h>
3599 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3602 *) ac_try_echo=$ac_try;;
3604 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3605 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3607 grep -v '^ *+' conftest.er1 >conftest.err
3609 cat conftest.err >&5
3610 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3611 (exit $ac_status); } >/dev/null && {
3612 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3613 test ! -s conftest.err
3617 echo "$as_me: failed program was
:" >&5
3618 sed 's/^/| /' conftest.$ac_ext >&5
3620 # Broken: fails on valid input.
3624 rm -f conftest.err conftest.$ac_ext
3626 # OK, works on sane cases. Now check whether nonexistent headers
3627 # can be detected and how.
3628 cat >conftest.$ac_ext <<_ACEOF
3631 cat confdefs.h >>conftest.$ac_ext
3632 cat >>conftest.$ac_ext <<_ACEOF
3633 /* end confdefs.h. */
3634 #include <ac_nonexistent.h>
3636 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3639 *) ac_try_echo=$ac_try;;
3641 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3642 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3644 grep -v '^ *+' conftest.er1 >conftest.err
3646 cat conftest.err >&5
3647 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3648 (exit $ac_status); } >/dev/null && {
3649 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3650 test ! -s conftest.err
3652 # Broken: success on invalid input.
3655 echo "$as_me: failed program was
:" >&5
3656 sed 's/^/| /' conftest.$ac_ext >&5
3658 # Passes both tests.
3663 rm -f conftest.err conftest.$ac_ext
3666 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3667 rm -f conftest.err conftest.$ac_ext
3668 if $ac_preproc_ok; then
3671 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3672 See \
`config.log' for more details." >&5
3673 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3674 See \`config.log
' for more details." >&2;}
3675 { (exit 1); exit 1; }; }
3679 ac_cpp='$CPP $CPPFLAGS'
3680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3681 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3685 { echo "$as_me:$LINENO: checking for X" >&5
3686 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3689 # Check whether --with-x was given.
3690 if test "${with_x+set}" = set; then
3694 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3695 if test "x$with_x" = xno; then
3696 # The user explicitly disabled X.
3699 case $x_includes,$x_libraries in #(
3700 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3701 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3702 { (exit 1); exit 1; }; };; #(
3703 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3704 echo $ECHO_N "(cached) $ECHO_C" >&6
3706 # One or both of the vars are not set, and there is no cached value.
3707 ac_x_includes=no ac_x_libraries=no
3708 rm -f -r conftest.dir
3709 if mkdir conftest.dir; then
3711 cat >Imakefile <<'_ACEOF'
3713 @echo incroot='${INCROOT}'
3715 @echo usrlibdir='${USRLIBDIR}'
3717 @echo libdir='${LIBDIR}'
3719 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3720 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3721 for ac_var in incroot usrlibdir libdir; do
3722 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3724 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3725 for ac_extension in a so sl; do
3726 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3727 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3728 ac_im_usrlibdir=$ac_im_libdir; break
3731 # Screen out bogus values from the imake configuration. They are
3732 # bogus both because they are the default anyway, and because
3733 # using them would break gcc on systems where it needs fixed includes.
3734 case $ac_im_incroot in
3735 /usr/include) ac_x_includes= ;;
3736 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3738 case $ac_im_usrlibdir in
3740 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3744 rm -f -r conftest.dir
3747 # Standard set of common directories for X headers.
3748 # Check X11 before X11Rn because it is often a symlink to the current release.
3760 /usr
/local
/X11
/include
3761 /usr
/local
/X11R
6/include
3762 /usr
/local
/X11R
5/include
3763 /usr
/local
/X11R
4/include
3765 /usr
/local
/include
/X11
3766 /usr
/local
/include
/X11R6
3767 /usr
/local
/include
/X11R5
3768 /usr
/local
/include
/X11R4
3772 /usr
/XFree86
/include
/X11
3776 /usr
/unsupported
/include
3778 /usr
/local
/x11r
5/include
3779 /usr
/lpp
/Xamples
/include
3781 /usr
/openwin
/include
3782 /usr
/openwin
/share
/include
'
3784 if test "$ac_x_includes" = no; then
3785 # Guess where to find include files, by looking for Xlib.h.
3786 # First, try using that file with no special directory specified.
3787 cat >conftest.$ac_ext <<_ACEOF
3790 cat confdefs.h >>conftest.$ac_ext
3791 cat >>conftest.$ac_ext <<_ACEOF
3792 /* end confdefs.h. */
3793 #include <X11/Xlib.h>
3795 if { (ac_try="$ac_cpp conftest.$ac_ext"
3797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3798 *) ac_try_echo=$ac_try;;
3800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3801 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3803 grep -v '^
*+' conftest.er1 >conftest.err
3805 cat conftest.err >&5
3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807 (exit $ac_status); } >/dev/null && {
3808 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3809 test ! -s conftest.err
3811 # We can compile using X headers with no special include directory.
3814 echo "$as_me: failed program was:" >&5
3815 sed 's
/^
/|
/' conftest.$ac_ext >&5
3817 for ac_dir in $ac_x_header_dirs; do
3818 if test -r "$ac_dir/X11/Xlib.h"; then
3819 ac_x_includes=$ac_dir
3825 rm -f conftest.err conftest.$ac_ext
3826 fi # $ac_x_includes = no
3828 if test "$ac_x_libraries" = no; then
3829 # Check for the libraries.
3830 # See if we find them without any special options.
3831 # Don't add to
$LIBS permanently.
3834 cat >conftest.
$ac_ext <<_ACEOF
3837 cat confdefs.h
>>conftest.
$ac_ext
3838 cat >>conftest.
$ac_ext <<_ACEOF
3839 /* end confdefs.h. */
3840 #include <X11/Xlib.h>
3849 rm -f conftest.
$ac_objext conftest
$ac_exeext
3850 if { (ac_try
="$ac_link"
3852 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3853 *) ac_try_echo=$ac_try;;
3855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3856 (eval "$ac_link") 2>conftest.er1
3858 grep -v '^ *+' conftest.er1 >conftest.err
3860 cat conftest.err >&5
3861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3862 (exit $ac_status); } && {
3863 test -z "$ac_c_werror_flag" ||
3864 test ! -s conftest.err
3865 } && test -s conftest$ac_exeext &&
3866 $as_test_x conftest$ac_exeext; then
3868 # We can link X programs with no special library path.
3871 echo "$as_me: failed program was:" >&5
3872 sed 's/^/| /' conftest.$ac_ext >&5
3875 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
3877 # Don't even attempt the hair of trying to link an X program!
3878 for ac_extension in a so sl; do
3879 if test -r "$ac_dir/libX11.$ac_extension"; then
3880 ac_x_libraries=$ac_dir
3887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3888 conftest$ac_exeext conftest.$ac_ext
3889 fi # $ac_x_libraries = no
3891 case $ac_x_includes,$ac_x_libraries in #(
3893 # Didn't find X, or a directory has "'" in its name.
3894 ac_cv_have_x="have_x=no";; #(
3896 # Record where we found X for the cache.
3897 ac_cv_have_x="have_x=yes\
3898 ac_x_includes='$ac_x_includes'\
3899 ac_x_libraries='$ac_x_libraries'"
3905 eval "$ac_cv_have_x"
3908 if test "$have_x" != yes; then
3909 { echo "$as_me:$LINENO: result: $have_x" >&5
3910 echo "${ECHO_T}$have_x" >&6; }
3913 # If each of the values was on the command line, it overrides each guess.
3914 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3915 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3916 # Update the cache value to reflect the command line values.
3917 ac_cv_have_x="have_x=yes\
3918 ac_x_includes='$x_includes'\
3919 ac_x_libraries='$x_libraries'"
3920 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3921 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3924 if test "$no_x" = yes; then
3925 # Not all programs may use this symbol, but it does not hurt to define it.
3927 cat >>confdefs.h <<\_ACEOF
3928 #define X_DISPLAY_MISSING 1
3931 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3933 if test -n "$x_includes"; then
3934 X_CFLAGS="$X_CFLAGS -I$x_includes"
3937 # It would also be nice to do this for all -L options, not just this one.
3938 if test -n "$x_libraries"; then
3939 X_LIBS="$X_LIBS -L$x_libraries"
3940 # For Solaris; some versions of Sun CC require a space after -R and
3941 # others require no space. Words are not sufficient . . . .
3942 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3943 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3944 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3945 ac_xsave_c_werror_flag=$ac_c_werror_flag
3946 ac_c_werror_flag=yes
3947 cat >conftest.$ac_ext <<_ACEOF
3950 cat confdefs.h >>conftest.$ac_ext
3951 cat >>conftest.$ac_ext <<_ACEOF
3952 /* end confdefs.h. */
3962 rm -f conftest.$ac_objext conftest$ac_exeext
3963 if { (ac_try="$ac_link"
3965 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3966 *) ac_try_echo
=$ac_try;;
3968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3969 (eval "$ac_link") 2>conftest.er1
3971 grep -v '^ *+' conftest.er1
>conftest.err
3973 cat conftest.err
>&5
3974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975 (exit $ac_status); } && {
3976 test -z "$ac_c_werror_flag" ||
3977 test ! -s conftest.err
3978 } && test -s conftest
$ac_exeext &&
3979 $as_test_x conftest
$ac_exeext; then
3980 { echo "$as_me:$LINENO: result: no" >&5
3981 echo "${ECHO_T}no" >&6; }
3982 X_LIBS
="$X_LIBS -R$x_libraries"
3984 echo "$as_me: failed program was:" >&5
3985 sed 's/^/| /' conftest.
$ac_ext >&5
3987 LIBS
="$ac_xsave_LIBS -R $x_libraries"
3988 cat >conftest.
$ac_ext <<_ACEOF
3991 cat confdefs.h
>>conftest.
$ac_ext
3992 cat >>conftest.
$ac_ext <<_ACEOF
3993 /* end confdefs.h. */
4003 rm -f conftest.
$ac_objext conftest
$ac_exeext
4004 if { (ac_try
="$ac_link"
4006 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4007 *) ac_try_echo=$ac_try;;
4009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4010 (eval "$ac_link") 2>conftest.er1
4012 grep -v '^ *+' conftest.er1 >conftest.err
4014 cat conftest.err >&5
4015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4016 (exit $ac_status); } && {
4017 test -z "$ac_c_werror_flag" ||
4018 test ! -s conftest.err
4019 } && test -s conftest$ac_exeext &&
4020 $as_test_x conftest$ac_exeext; then
4021 { echo "$as_me:$LINENO: result: yes" >&5
4022 echo "${ECHO_T}yes" >&6; }
4023 X_LIBS="$X_LIBS -R $x_libraries"
4025 echo "$as_me: failed program was:" >&5
4026 sed 's/^/| /' conftest.$ac_ext >&5
4028 { echo "$as_me:$LINENO: result: neither works" >&5
4029 echo "${ECHO_T}neither works" >&6; }
4032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4033 conftest$ac_exeext conftest.$ac_ext
4036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4037 conftest$ac_exeext conftest.$ac_ext
4038 ac_c_werror_flag=$ac_xsave_c_werror_flag
4042 # Check for system-dependent libraries X programs must link with.
4043 # Do this before checking for the system-independent R6 libraries
4044 # (-lICE), since we may need -lsocket or whatever for X linking.
4046 if test "$ISC" = yes; then
4047 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4049 # Martyn Johnson says this is needed for Ultrix, if the X
4050 # libraries were built with DECnet support. And Karl Berry says
4051 # the Alpha needs dnet_stub (dnet does not exist).
4052 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4053 cat >conftest.$ac_ext <<_ACEOF
4056 cat confdefs.h >>conftest.$ac_ext
4057 cat >>conftest.$ac_ext <<_ACEOF
4058 /* end confdefs.h. */
4060 /* Override any GCC internal prototype to avoid an error.
4061 Use char because int might match the return type of a GCC
4062 builtin and then its argument prototype would still apply. */
4066 char XOpenDisplay ();
4070 return XOpenDisplay ();
4075 rm -f conftest.$ac_objext conftest$ac_exeext
4076 if { (ac_try="$ac_link"
4078 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4079 *) ac_try_echo
=$ac_try;;
4081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4082 (eval "$ac_link") 2>conftest.er1
4084 grep -v '^ *+' conftest.er1
>conftest.err
4086 cat conftest.err
>&5
4087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088 (exit $ac_status); } && {
4089 test -z "$ac_c_werror_flag" ||
4090 test ! -s conftest.err
4091 } && test -s conftest
$ac_exeext &&
4092 $as_test_x conftest
$ac_exeext; then
4095 echo "$as_me: failed program was:" >&5
4096 sed 's/^/| /' conftest.
$ac_ext >&5
4098 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4099 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4100 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4101 echo $ECHO_N "(cached) $ECHO_C" >&6
4103 ac_check_lib_save_LIBS
=$LIBS
4105 cat >conftest.
$ac_ext <<_ACEOF
4108 cat confdefs.h
>>conftest.
$ac_ext
4109 cat >>conftest.
$ac_ext <<_ACEOF
4110 /* end confdefs.h. */
4112 /* Override any GCC internal prototype to avoid an error.
4113 Use char because int might match the return type of a GCC
4114 builtin and then its argument prototype would still apply. */
4122 return dnet_ntoa ();
4127 rm -f conftest.
$ac_objext conftest
$ac_exeext
4128 if { (ac_try
="$ac_link"
4130 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4131 *) ac_try_echo=$ac_try;;
4133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4134 (eval "$ac_link") 2>conftest.er1
4136 grep -v '^ *+' conftest.er1 >conftest.err
4138 cat conftest.err >&5
4139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4140 (exit $ac_status); } && {
4141 test -z "$ac_c_werror_flag" ||
4142 test ! -s conftest.err
4143 } && test -s conftest$ac_exeext &&
4144 $as_test_x conftest$ac_exeext; then
4145 ac_cv_lib_dnet_dnet_ntoa=yes
4147 echo "$as_me: failed program was:" >&5
4148 sed 's/^/| /' conftest.$ac_ext >&5
4150 ac_cv_lib_dnet_dnet_ntoa=no
4153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4154 conftest$ac_exeext conftest.$ac_ext
4155 LIBS=$ac_check_lib_save_LIBS
4157 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4158 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4159 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4160 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4163 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4164 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4165 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4166 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4167 echo $ECHO_N "(cached) $ECHO_C" >&6
4169 ac_check_lib_save_LIBS=$LIBS
4170 LIBS="-ldnet_stub $LIBS"
4171 cat >conftest.$ac_ext <<_ACEOF
4174 cat confdefs.h >>conftest.$ac_ext
4175 cat >>conftest.$ac_ext <<_ACEOF
4176 /* end confdefs.h. */
4178 /* Override any GCC internal prototype to avoid an error.
4179 Use char because int might match the return type of a GCC
4180 builtin and then its argument prototype would still apply. */
4188 return dnet_ntoa ();
4193 rm -f conftest.$ac_objext conftest$ac_exeext
4194 if { (ac_try="$ac_link"
4196 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4197 *) ac_try_echo
=$ac_try;;
4199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4200 (eval "$ac_link") 2>conftest.er1
4202 grep -v '^ *+' conftest.er1
>conftest.err
4204 cat conftest.err
>&5
4205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4206 (exit $ac_status); } && {
4207 test -z "$ac_c_werror_flag" ||
4208 test ! -s conftest.err
4209 } && test -s conftest
$ac_exeext &&
4210 $as_test_x conftest
$ac_exeext; then
4211 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4213 echo "$as_me: failed program was:" >&5
4214 sed 's/^/| /' conftest.
$ac_ext >&5
4216 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4219 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4220 conftest
$ac_exeext conftest.
$ac_ext
4221 LIBS
=$ac_check_lib_save_LIBS
4223 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4224 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4225 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4226 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4232 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4233 conftest
$ac_exeext conftest.
$ac_ext
4234 LIBS
="$ac_xsave_LIBS"
4236 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4237 # to get the SysV transport functions.
4238 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4240 # The nsl library prevents programs from opening the X display
4241 # on Irix 5.2, according to T.E. Dickey.
4242 # The functions gethostbyname, getservbyname, and inet_addr are
4243 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4244 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4245 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4246 if test "${ac_cv_func_gethostbyname+set}" = set; then
4247 echo $ECHO_N "(cached) $ECHO_C" >&6
4249 cat >conftest.
$ac_ext <<_ACEOF
4252 cat confdefs.h
>>conftest.
$ac_ext
4253 cat >>conftest.
$ac_ext <<_ACEOF
4254 /* end confdefs.h. */
4255 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4257 #define gethostbyname innocuous_gethostbyname
4259 /* System header to define __stub macros and hopefully few prototypes,
4260 which can conflict with char gethostbyname (); below.
4261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4262 <limits.h> exists even on freestanding compilers. */
4265 # include <limits.h>
4267 # include <assert.h>
4270 #undef gethostbyname
4272 /* Override any GCC internal prototype to avoid an error.
4273 Use char because int might match the return type of a GCC
4274 builtin and then its argument prototype would still apply. */
4278 char gethostbyname ();
4279 /* The GNU C library defines this for functions which it implements
4280 to always fail with ENOSYS. Some functions are actually named
4281 something starting with __ and the normal name is an alias. */
4282 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4289 return gethostbyname ();
4294 rm -f conftest.
$ac_objext conftest
$ac_exeext
4295 if { (ac_try
="$ac_link"
4297 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4298 *) ac_try_echo=$ac_try;;
4300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4301 (eval "$ac_link") 2>conftest.er1
4303 grep -v '^ *+' conftest.er1 >conftest.err
4305 cat conftest.err >&5
4306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4307 (exit $ac_status); } && {
4308 test -z "$ac_c_werror_flag" ||
4309 test ! -s conftest.err
4310 } && test -s conftest$ac_exeext &&
4311 $as_test_x conftest$ac_exeext; then
4312 ac_cv_func_gethostbyname=yes
4314 echo "$as_me: failed program was:" >&5
4315 sed 's/^/| /' conftest.$ac_ext >&5
4317 ac_cv_func_gethostbyname=no
4320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4321 conftest$ac_exeext conftest.$ac_ext
4323 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4324 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4326 if test $ac_cv_func_gethostbyname = no; then
4327 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4328 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4329 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4330 echo $ECHO_N "(cached) $ECHO_C" >&6
4332 ac_check_lib_save_LIBS=$LIBS
4334 cat >conftest.$ac_ext <<_ACEOF
4337 cat confdefs.h >>conftest.$ac_ext
4338 cat >>conftest.$ac_ext <<_ACEOF
4339 /* end confdefs.h. */
4341 /* Override any GCC internal prototype to avoid an error.
4342 Use char because int might match the return type of a GCC
4343 builtin and then its argument prototype would still apply. */
4347 char gethostbyname ();
4351 return gethostbyname ();
4356 rm -f conftest.$ac_objext conftest$ac_exeext
4357 if { (ac_try="$ac_link"
4359 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4360 *) ac_try_echo
=$ac_try;;
4362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4363 (eval "$ac_link") 2>conftest.er1
4365 grep -v '^ *+' conftest.er1
>conftest.err
4367 cat conftest.err
>&5
4368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4369 (exit $ac_status); } && {
4370 test -z "$ac_c_werror_flag" ||
4371 test ! -s conftest.err
4372 } && test -s conftest
$ac_exeext &&
4373 $as_test_x conftest
$ac_exeext; then
4374 ac_cv_lib_nsl_gethostbyname
=yes
4376 echo "$as_me: failed program was:" >&5
4377 sed 's/^/| /' conftest.
$ac_ext >&5
4379 ac_cv_lib_nsl_gethostbyname
=no
4382 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4383 conftest
$ac_exeext conftest.
$ac_ext
4384 LIBS
=$ac_check_lib_save_LIBS
4386 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4387 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4388 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4389 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4392 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4393 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4394 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4395 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4396 echo $ECHO_N "(cached) $ECHO_C" >&6
4398 ac_check_lib_save_LIBS
=$LIBS
4400 cat >conftest.
$ac_ext <<_ACEOF
4403 cat confdefs.h
>>conftest.
$ac_ext
4404 cat >>conftest.
$ac_ext <<_ACEOF
4405 /* end confdefs.h. */
4407 /* Override any GCC internal prototype to avoid an error.
4408 Use char because int might match the return type of a GCC
4409 builtin and then its argument prototype would still apply. */
4413 char gethostbyname ();
4417 return gethostbyname ();
4422 rm -f conftest.
$ac_objext conftest
$ac_exeext
4423 if { (ac_try
="$ac_link"
4425 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4426 *) ac_try_echo=$ac_try;;
4428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4429 (eval "$ac_link") 2>conftest.er1
4431 grep -v '^ *+' conftest.er1 >conftest.err
4433 cat conftest.err >&5
4434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4435 (exit $ac_status); } && {
4436 test -z "$ac_c_werror_flag" ||
4437 test ! -s conftest.err
4438 } && test -s conftest$ac_exeext &&
4439 $as_test_x conftest$ac_exeext; then
4440 ac_cv_lib_bsd_gethostbyname=yes
4442 echo "$as_me: failed program was:" >&5
4443 sed 's/^/| /' conftest.$ac_ext >&5
4445 ac_cv_lib_bsd_gethostbyname=no
4448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4449 conftest$ac_exeext conftest.$ac_ext
4450 LIBS=$ac_check_lib_save_LIBS
4452 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4453 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4454 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4455 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4461 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4462 # socket/setsockopt and other routines are undefined under SCO ODT
4463 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4464 # on later versions), says Simon Leinen: it contains gethostby*
4465 # variants that don't use the name server (or something). -lsocket
4466 # must be given before -lnsl if both are needed. We assume that
4467 # if connect needs -lnsl, so does gethostbyname.
4468 { echo "$as_me:$LINENO: checking for connect" >&5
4469 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4470 if test "${ac_cv_func_connect+set}" = set; then
4471 echo $ECHO_N "(cached) $ECHO_C" >&6
4473 cat >conftest.$ac_ext <<_ACEOF
4476 cat confdefs.h >>conftest.$ac_ext
4477 cat >>conftest.$ac_ext <<_ACEOF
4478 /* end confdefs.h. */
4479 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4481 #define connect innocuous_connect
4483 /* System header to define __stub macros and hopefully few prototypes,
4484 which can conflict with char connect (); below.
4485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4486 <limits.h> exists even on freestanding compilers. */
4489 # include <limits.h>
4491 # include <assert.h>
4496 /* Override any GCC internal prototype to avoid an error.
4497 Use char because int might match the return type of a GCC
4498 builtin and then its argument prototype would still apply. */
4503 /* The GNU C library defines this for functions which it implements
4504 to always fail with ENOSYS. Some functions are actually named
4505 something starting with __ and the normal name is an alias. */
4506 #if defined __stub_connect || defined __stub___connect
4518 rm -f conftest.$ac_objext conftest$ac_exeext
4519 if { (ac_try="$ac_link"
4521 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4522 *) ac_try_echo
=$ac_try;;
4524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4525 (eval "$ac_link") 2>conftest.er1
4527 grep -v '^ *+' conftest.er1
>conftest.err
4529 cat conftest.err
>&5
4530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4531 (exit $ac_status); } && {
4532 test -z "$ac_c_werror_flag" ||
4533 test ! -s conftest.err
4534 } && test -s conftest
$ac_exeext &&
4535 $as_test_x conftest
$ac_exeext; then
4536 ac_cv_func_connect
=yes
4538 echo "$as_me: failed program was:" >&5
4539 sed 's/^/| /' conftest.
$ac_ext >&5
4541 ac_cv_func_connect
=no
4544 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4545 conftest
$ac_exeext conftest.
$ac_ext
4547 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4548 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4550 if test $ac_cv_func_connect = no
; then
4551 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4552 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4553 if test "${ac_cv_lib_socket_connect+set}" = set; then
4554 echo $ECHO_N "(cached) $ECHO_C" >&6
4556 ac_check_lib_save_LIBS
=$LIBS
4557 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4558 cat >conftest.
$ac_ext <<_ACEOF
4561 cat confdefs.h
>>conftest.
$ac_ext
4562 cat >>conftest.
$ac_ext <<_ACEOF
4563 /* end confdefs.h. */
4565 /* Override any GCC internal prototype to avoid an error.
4566 Use char because int might match the return type of a GCC
4567 builtin and then its argument prototype would still apply. */
4580 rm -f conftest.
$ac_objext conftest
$ac_exeext
4581 if { (ac_try
="$ac_link"
4583 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4584 *) ac_try_echo=$ac_try;;
4586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4587 (eval "$ac_link") 2>conftest.er1
4589 grep -v '^ *+' conftest.er1 >conftest.err
4591 cat conftest.err >&5
4592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4593 (exit $ac_status); } && {
4594 test -z "$ac_c_werror_flag" ||
4595 test ! -s conftest.err
4596 } && test -s conftest$ac_exeext &&
4597 $as_test_x conftest$ac_exeext; then
4598 ac_cv_lib_socket_connect=yes
4600 echo "$as_me: failed program was:" >&5
4601 sed 's/^/| /' conftest.$ac_ext >&5
4603 ac_cv_lib_socket_connect=no
4606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4607 conftest$ac_exeext conftest.$ac_ext
4608 LIBS=$ac_check_lib_save_LIBS
4610 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4611 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4612 if test $ac_cv_lib_socket_connect = yes; then
4613 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4618 # Guillermo Gomez says -lposix is necessary on A/UX.
4619 { echo "$as_me:$LINENO: checking for remove" >&5
4620 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4621 if test "${ac_cv_func_remove+set}" = set; then
4622 echo $ECHO_N "(cached) $ECHO_C" >&6
4624 cat >conftest.$ac_ext <<_ACEOF
4627 cat confdefs.h >>conftest.$ac_ext
4628 cat >>conftest.$ac_ext <<_ACEOF
4629 /* end confdefs.h. */
4630 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4632 #define remove innocuous_remove
4634 /* System header to define __stub macros and hopefully few prototypes,
4635 which can conflict with char remove (); below.
4636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4637 <limits.h> exists even on freestanding compilers. */
4640 # include <limits.h>
4642 # include <assert.h>
4647 /* Override any GCC internal prototype to avoid an error.
4648 Use char because int might match the return type of a GCC
4649 builtin and then its argument prototype would still apply. */
4654 /* The GNU C library defines this for functions which it implements
4655 to always fail with ENOSYS. Some functions are actually named
4656 something starting with __ and the normal name is an alias. */
4657 #if defined __stub_remove || defined __stub___remove
4669 rm -f conftest.$ac_objext conftest$ac_exeext
4670 if { (ac_try="$ac_link"
4672 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4673 *) ac_try_echo
=$ac_try;;
4675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4676 (eval "$ac_link") 2>conftest.er1
4678 grep -v '^ *+' conftest.er1
>conftest.err
4680 cat conftest.err
>&5
4681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4682 (exit $ac_status); } && {
4683 test -z "$ac_c_werror_flag" ||
4684 test ! -s conftest.err
4685 } && test -s conftest
$ac_exeext &&
4686 $as_test_x conftest
$ac_exeext; then
4687 ac_cv_func_remove
=yes
4689 echo "$as_me: failed program was:" >&5
4690 sed 's/^/| /' conftest.
$ac_ext >&5
4692 ac_cv_func_remove
=no
4695 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4696 conftest
$ac_exeext conftest.
$ac_ext
4698 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4699 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4701 if test $ac_cv_func_remove = no
; then
4702 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4703 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4704 if test "${ac_cv_lib_posix_remove+set}" = set; then
4705 echo $ECHO_N "(cached) $ECHO_C" >&6
4707 ac_check_lib_save_LIBS
=$LIBS
4708 LIBS
="-lposix $LIBS"
4709 cat >conftest.
$ac_ext <<_ACEOF
4712 cat confdefs.h
>>conftest.
$ac_ext
4713 cat >>conftest.
$ac_ext <<_ACEOF
4714 /* end confdefs.h. */
4716 /* Override any GCC internal prototype to avoid an error.
4717 Use char because int might match the return type of a GCC
4718 builtin and then its argument prototype would still apply. */
4731 rm -f conftest.
$ac_objext conftest
$ac_exeext
4732 if { (ac_try
="$ac_link"
4734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4735 *) ac_try_echo=$ac_try;;
4737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4738 (eval "$ac_link") 2>conftest.er1
4740 grep -v '^ *+' conftest.er1 >conftest.err
4742 cat conftest.err >&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); } && {
4745 test -z "$ac_c_werror_flag" ||
4746 test ! -s conftest.err
4747 } && test -s conftest$ac_exeext &&
4748 $as_test_x conftest$ac_exeext; then
4749 ac_cv_lib_posix_remove=yes
4751 echo "$as_me: failed program was:" >&5
4752 sed 's/^/| /' conftest.$ac_ext >&5
4754 ac_cv_lib_posix_remove=no
4757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4758 conftest$ac_exeext conftest.$ac_ext
4759 LIBS=$ac_check_lib_save_LIBS
4761 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4762 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4763 if test $ac_cv_lib_posix_remove = yes; then
4764 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4769 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4770 { echo "$as_me:$LINENO: checking for shmat" >&5
4771 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4772 if test "${ac_cv_func_shmat+set}" = set; then
4773 echo $ECHO_N "(cached) $ECHO_C" >&6
4775 cat >conftest.$ac_ext <<_ACEOF
4778 cat confdefs.h >>conftest.$ac_ext
4779 cat >>conftest.$ac_ext <<_ACEOF
4780 /* end confdefs.h. */
4781 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4783 #define shmat innocuous_shmat
4785 /* System header to define __stub macros and hopefully few prototypes,
4786 which can conflict with char shmat (); below.
4787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4788 <limits.h> exists even on freestanding compilers. */
4791 # include <limits.h>
4793 # include <assert.h>
4798 /* Override any GCC internal prototype to avoid an error.
4799 Use char because int might match the return type of a GCC
4800 builtin and then its argument prototype would still apply. */
4805 /* The GNU C library defines this for functions which it implements
4806 to always fail with ENOSYS. Some functions are actually named
4807 something starting with __ and the normal name is an alias. */
4808 #if defined __stub_shmat || defined __stub___shmat
4820 rm -f conftest.$ac_objext conftest$ac_exeext
4821 if { (ac_try="$ac_link"
4823 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4824 *) ac_try_echo
=$ac_try;;
4826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4827 (eval "$ac_link") 2>conftest.er1
4829 grep -v '^ *+' conftest.er1
>conftest.err
4831 cat conftest.err
>&5
4832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833 (exit $ac_status); } && {
4834 test -z "$ac_c_werror_flag" ||
4835 test ! -s conftest.err
4836 } && test -s conftest
$ac_exeext &&
4837 $as_test_x conftest
$ac_exeext; then
4838 ac_cv_func_shmat
=yes
4840 echo "$as_me: failed program was:" >&5
4841 sed 's/^/| /' conftest.
$ac_ext >&5
4846 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4847 conftest
$ac_exeext conftest.
$ac_ext
4849 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4850 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4852 if test $ac_cv_func_shmat = no
; then
4853 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4854 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4855 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4856 echo $ECHO_N "(cached) $ECHO_C" >&6
4858 ac_check_lib_save_LIBS
=$LIBS
4860 cat >conftest.
$ac_ext <<_ACEOF
4863 cat confdefs.h
>>conftest.
$ac_ext
4864 cat >>conftest.
$ac_ext <<_ACEOF
4865 /* end confdefs.h. */
4867 /* Override any GCC internal prototype to avoid an error.
4868 Use char because int might match the return type of a GCC
4869 builtin and then its argument prototype would still apply. */
4882 rm -f conftest.
$ac_objext conftest
$ac_exeext
4883 if { (ac_try
="$ac_link"
4885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4886 *) ac_try_echo=$ac_try;;
4888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4889 (eval "$ac_link") 2>conftest.er1
4891 grep -v '^ *+' conftest.er1 >conftest.err
4893 cat conftest.err >&5
4894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895 (exit $ac_status); } && {
4896 test -z "$ac_c_werror_flag" ||
4897 test ! -s conftest.err
4898 } && test -s conftest$ac_exeext &&
4899 $as_test_x conftest$ac_exeext; then
4900 ac_cv_lib_ipc_shmat=yes
4902 echo "$as_me: failed program was:" >&5
4903 sed 's/^/| /' conftest.$ac_ext >&5
4905 ac_cv_lib_ipc_shmat=no
4908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4909 conftest$ac_exeext conftest.$ac_ext
4910 LIBS=$ac_check_lib_save_LIBS
4912 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4913 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4914 if test $ac_cv_lib_ipc_shmat = yes; then
4915 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4921 # Check for libraries that X11R6 Xt/Xaw programs need.
4922 ac_save_LDFLAGS=$LDFLAGS
4923 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4924 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4925 # check for ICE first), but we must link in the order -lSM -lICE or
4926 # we get undefined symbols. So assume we have SM if we have ICE.
4927 # These have to be linked with before -lX11, unlike the other
4928 # libraries we check for below, so use a different variable.
4929 # John Interrante, Karl Berry
4930 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4931 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4932 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4933 echo $ECHO_N "(cached) $ECHO_C" >&6
4935 ac_check_lib_save_LIBS=$LIBS
4936 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4937 cat >conftest.$ac_ext <<_ACEOF
4940 cat confdefs.h >>conftest.$ac_ext
4941 cat >>conftest.$ac_ext <<_ACEOF
4942 /* end confdefs.h. */
4944 /* Override any GCC internal prototype to avoid an error.
4945 Use char because int might match the return type of a GCC
4946 builtin and then its argument prototype would still apply. */
4950 char IceConnectionNumber ();
4954 return IceConnectionNumber ();
4959 rm -f conftest.$ac_objext conftest$ac_exeext
4960 if { (ac_try="$ac_link"
4962 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4963 *) ac_try_echo
=$ac_try;;
4965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4966 (eval "$ac_link") 2>conftest.er1
4968 grep -v '^ *+' conftest.er1
>conftest.err
4970 cat conftest.err
>&5
4971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4972 (exit $ac_status); } && {
4973 test -z "$ac_c_werror_flag" ||
4974 test ! -s conftest.err
4975 } && test -s conftest
$ac_exeext &&
4976 $as_test_x conftest
$ac_exeext; then
4977 ac_cv_lib_ICE_IceConnectionNumber
=yes
4979 echo "$as_me: failed program was:" >&5
4980 sed 's/^/| /' conftest.
$ac_ext >&5
4982 ac_cv_lib_ICE_IceConnectionNumber
=no
4985 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4986 conftest
$ac_exeext conftest.
$ac_ext
4987 LIBS
=$ac_check_lib_save_LIBS
4989 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4990 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4991 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4992 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
4995 LDFLAGS
=$ac_save_LDFLAGS
4999 for ac_prog
in flex
lex
5001 # Extract the first word of "$ac_prog", so it can be a program name with args.
5002 set dummy
$ac_prog; ac_word
=$2
5003 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5005 if test "${ac_cv_prog_LEX+set}" = set; then
5006 echo $ECHO_N "(cached) $ECHO_C" >&6
5008 if test -n "$LEX"; then
5009 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
5011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5015 test -z "$as_dir" && as_dir
=.
5016 for ac_exec_ext
in '' $ac_executable_extensions; do
5017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5018 ac_cv_prog_LEX
="$ac_prog"
5019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 if test -n "$LEX"; then
5030 { echo "$as_me:$LINENO: result: $LEX" >&5
5031 echo "${ECHO_T}$LEX" >&6; }
5033 { echo "$as_me:$LINENO: result: no" >&5
5034 echo "${ECHO_T}no" >&6; }
5038 test -n "$LEX" && break
5040 test -n "$LEX" || LEX
=":"
5042 if test "x$LEX" != "x:"; then
5043 cat >conftest.l
<<_ACEOF
5049 e { yyless (input () != 0); }
5050 f { unput (yytext[0]); }
5051 . { BEGIN INITIAL; }
5053 #ifdef YYTEXT_POINTER
5054 extern char *yytext;
5059 return ! yylex () + ! yywrap ();
5062 { (ac_try
="$LEX conftest.l"
5064 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5065 *) ac_try_echo=$ac_try;;
5067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5068 (eval "$LEX conftest.l") 2>&5
5070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5071 (exit $ac_status); }
5072 { echo "$as_me:$LINENO: checking lex output file root" >&5
5073 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5074 if test "${ac_cv_prog_lex_root+set}" = set; then
5075 echo $ECHO_N "(cached) $ECHO_C" >&6
5078 if test -f lex.yy.c; then
5079 ac_cv_prog_lex_root=lex.yy
5080 elif test -f lexyy.c; then
5081 ac_cv_prog_lex_root=lexyy
5083 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5084 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5085 { (exit 1); exit 1; }; }
5088 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5089 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5090 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5092 if test -z "${LEXLIB+set}"; then
5093 { echo "$as_me:$LINENO: checking lex library" >&5
5094 echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
5095 if test "${ac_cv_lib_lex+set}" = set; then
5096 echo $ECHO_N "(cached) $ECHO_C" >&6
5100 ac_cv_lib_lex='none needed'
5101 for ac_lib in '' -lfl -ll; do
5102 LIBS="$ac_lib $ac_save_LIBS"
5103 cat >conftest.$ac_ext <<_ACEOF
5104 `cat $LEX_OUTPUT_ROOT.c
`
5106 rm -f conftest.$ac_objext conftest$ac_exeext
5107 if { (ac_try="$ac_link"
5109 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5110 *) ac_try_echo
=$ac_try;;
5112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5113 (eval "$ac_link") 2>conftest.er1
5115 grep -v '^ *+' conftest.er1
>conftest.err
5117 cat conftest.err
>&5
5118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5119 (exit $ac_status); } && {
5120 test -z "$ac_c_werror_flag" ||
5121 test ! -s conftest.err
5122 } && test -s conftest
$ac_exeext &&
5123 $as_test_x conftest
$ac_exeext; then
5124 ac_cv_lib_lex
=$ac_lib
5126 echo "$as_me: failed program was:" >&5
5127 sed 's/^/| /' conftest.
$ac_ext >&5
5132 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5133 conftest
$ac_exeext conftest.
$ac_ext
5134 test "$ac_cv_lib_lex" != 'none needed' && break
5139 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
5140 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
5141 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB
=$ac_cv_lib_lex
5145 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5146 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5147 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5148 echo $ECHO_N "(cached) $ECHO_C" >&6
5150 # POSIX says lex can declare yytext either as a pointer or an array; the
5151 # default is implementation-dependent. Figure out which it is, since
5152 # not all implementations provide the %pointer and %array declarations.
5153 ac_cv_prog_lex_yytext_pointer
=no
5155 LIBS
="$LEXLIB $ac_save_LIBS"
5156 cat >conftest.
$ac_ext <<_ACEOF
5157 #define YYTEXT_POINTER 1
5158 `cat $LEX_OUTPUT_ROOT.c`
5160 rm -f conftest.
$ac_objext conftest
$ac_exeext
5161 if { (ac_try
="$ac_link"
5163 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5164 *) ac_try_echo=$ac_try;;
5166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5167 (eval "$ac_link") 2>conftest.er1
5169 grep -v '^ *+' conftest.er1 >conftest.err
5171 cat conftest.err >&5
5172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5173 (exit $ac_status); } && {
5174 test -z "$ac_c_werror_flag" ||
5175 test ! -s conftest.err
5176 } && test -s conftest$ac_exeext &&
5177 $as_test_x conftest$ac_exeext; then
5178 ac_cv_prog_lex_yytext_pointer=yes
5180 echo "$as_me: failed program was:" >&5
5181 sed 's/^/| /' conftest.$ac_ext >&5
5186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5187 conftest$ac_exeext conftest.$ac_ext
5191 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5192 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5193 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5195 cat >>confdefs.h <<\_ACEOF
5196 #define YYTEXT_POINTER 1
5200 rm -f conftest.l $LEX_OUTPUT_ROOT.c
5204 for ac_prog in $LEX flex lex
5206 # Extract the first word of "$ac_prog", so it can be a program name with args.
5207 set dummy $ac_prog; ac_word=$2
5208 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5210 if test "${ac_cv_prog_XLEX+set}" = set; then
5211 echo $ECHO_N "(cached) $ECHO_C" >&6
5213 if test -n "$XLEX"; then
5214 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
5216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5220 test -z "$as_dir" && as_dir=.
5221 for ac_exec_ext in '' $ac_executable_extensions; do
5222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5223 ac_cv_prog_XLEX="$ac_prog"
5224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5233 XLEX=$ac_cv_prog_XLEX
5234 if test -n "$XLEX"; then
5235 { echo "$as_me:$LINENO: result: $XLEX" >&5
5236 echo "${ECHO_T}$XLEX" >&6; }
5238 { echo "$as_me:$LINENO: result: no" >&5
5239 echo "${ECHO_T}no" >&6; }
5243 test -n "$XLEX" && break
5245 test -n "$XLEX" || XLEX="none"
5247 if test "$XLEX" = "none"
5249 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5250 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5251 { (exit 1); exit 1; }; }
5254 for ac_prog in bison
5256 # Extract the first word of "$ac_prog", so it can be a program name with args.
5257 set dummy $ac_prog; ac_word=$2
5258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5260 if test "${ac_cv_prog_BISON+set}" = set; then
5261 echo $ECHO_N "(cached) $ECHO_C" >&6
5263 if test -n "$BISON"; then
5264 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5270 test -z "$as_dir" && as_dir=.
5271 for ac_exec_ext in '' $ac_executable_extensions; do
5272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5273 ac_cv_prog_BISON="$ac_prog"
5274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5283 BISON=$ac_cv_prog_BISON
5284 if test -n "$BISON"; then
5285 { echo "$as_me:$LINENO: result: $BISON" >&5
5286 echo "${ECHO_T}$BISON" >&6; }
5288 { echo "$as_me:$LINENO: result: no" >&5
5289 echo "${ECHO_T}no" >&6; }
5293 test -n "$BISON" && break
5295 test -n "$BISON" || BISON="none"
5297 if test "$BISON" = "none"
5299 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5300 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5301 { (exit 1); exit 1; }; }
5304 if test -n "$ac_tool_prefix"; then
5305 for ac_prog in gas as
5307 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5308 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5309 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5311 if test "${ac_cv_prog_AS+set}" = set; then
5312 echo $ECHO_N "(cached) $ECHO_C" >&6
5314 if test -n "$AS"; then
5315 ac_cv_prog_AS="$AS" # Let the user override the test.
5317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5321 test -z "$as_dir" && as_dir=.
5322 for ac_exec_ext in '' $ac_executable_extensions; do
5323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5324 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5335 if test -n "$AS"; then
5336 { echo "$as_me:$LINENO: result: $AS" >&5
5337 echo "${ECHO_T}$AS" >&6; }
5339 { echo "$as_me:$LINENO: result: no" >&5
5340 echo "${ECHO_T}no" >&6; }
5344 test -n "$AS" && break
5347 if test -z "$AS"; then
5349 for ac_prog in gas as
5351 # Extract the first word of "$ac_prog", so it can be a program name with args.
5352 set dummy $ac_prog; ac_word=$2
5353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5355 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5356 echo $ECHO_N "(cached) $ECHO_C" >&6
5358 if test -n "$ac_ct_AS"; then
5359 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5365 test -z "$as_dir" && as_dir=.
5366 for ac_exec_ext in '' $ac_executable_extensions; do
5367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5368 ac_cv_prog_ac_ct_AS="$ac_prog"
5369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5378 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5379 if test -n "$ac_ct_AS"; then
5380 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5381 echo "${ECHO_T}$ac_ct_AS" >&6; }
5383 { echo "$as_me:$LINENO: result: no" >&5
5384 echo "${ECHO_T}no" >&6; }
5388 test -n "$ac_ct_AS" && break
5391 if test "x$ac_ct_AS" = x; then
5394 case $cross_compiling:$ac_tool_warned in
5396 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5397 whose name does not start with the host triplet. If you think this
5398 configuration is useful to you, please write to autoconf@gnu.org." >&5
5399 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5400 whose name does not start with the host triplet. If you think this
5401 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5402 ac_tool_warned=yes ;;
5408 if test -n "$ac_tool_prefix"; then
5409 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5410 set dummy ${ac_tool_prefix}ld; ac_word=$2
5411 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5413 if test "${ac_cv_prog_LD+set}" = set; then
5414 echo $ECHO_N "(cached) $ECHO_C" >&6
5416 if test -n "$LD"; then
5417 ac_cv_prog_LD="$LD" # Let the user override the test.
5419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5423 test -z "$as_dir" && as_dir=.
5424 for ac_exec_ext in '' $ac_executable_extensions; do
5425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5426 ac_cv_prog_LD="${ac_tool_prefix}ld"
5427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5437 if test -n "$LD"; then
5438 { echo "$as_me:$LINENO: result: $LD" >&5
5439 echo "${ECHO_T}$LD" >&6; }
5441 { echo "$as_me:$LINENO: result: no" >&5
5442 echo "${ECHO_T}no" >&6; }
5447 if test -z "$ac_cv_prog_LD"; then
5449 # Extract the first word of "ld", so it can be a program name with args.
5450 set dummy ld; ac_word=$2
5451 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5453 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5454 echo $ECHO_N "(cached) $ECHO_C" >&6
5456 if test -n "$ac_ct_LD"; then
5457 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5463 test -z "$as_dir" && as_dir=.
5464 for ac_exec_ext in '' $ac_executable_extensions; do
5465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5466 ac_cv_prog_ac_ct_LD="ld"
5467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5476 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5477 if test -n "$ac_ct_LD"; then
5478 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5479 echo "${ECHO_T}$ac_ct_LD" >&6; }
5481 { echo "$as_me:$LINENO: result: no" >&5
5482 echo "${ECHO_T}no" >&6; }
5485 if test "x$ac_ct_LD" = x; then
5488 case $cross_compiling:$ac_tool_warned in
5490 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5491 whose name does not start with the host triplet. If you think this
5492 configuration is useful to you, please write to autoconf@gnu.org." >&5
5493 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5494 whose name does not start with the host triplet. If you think this
5495 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5496 ac_tool_warned=yes ;;
5504 if test -n "$ac_tool_prefix"; then
5505 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5506 set dummy ${ac_tool_prefix}ar; ac_word=$2
5507 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5509 if test "${ac_cv_prog_AR+set}" = set; then
5510 echo $ECHO_N "(cached) $ECHO_C" >&6
5512 if test -n "$AR"; then
5513 ac_cv_prog_AR="$AR" # Let the user override the test.
5515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5519 test -z "$as_dir" && as_dir=.
5520 for ac_exec_ext in '' $ac_executable_extensions; do
5521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5522 ac_cv_prog_AR="${ac_tool_prefix}ar"
5523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5533 if test -n "$AR"; then
5534 { echo "$as_me:$LINENO: result: $AR" >&5
5535 echo "${ECHO_T}$AR" >&6; }
5537 { echo "$as_me:$LINENO: result: no" >&5
5538 echo "${ECHO_T}no" >&6; }
5543 if test -z "$ac_cv_prog_AR"; then
5545 # Extract the first word of "ar", so it can be a program name with args.
5546 set dummy ar; ac_word=$2
5547 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5549 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5550 echo $ECHO_N "(cached) $ECHO_C" >&6
5552 if test -n "$ac_ct_AR"; then
5553 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5559 test -z "$as_dir" && as_dir=.
5560 for ac_exec_ext in '' $ac_executable_extensions; do
5561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5562 ac_cv_prog_ac_ct_AR="ar"
5563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5572 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5573 if test -n "$ac_ct_AR"; then
5574 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5575 echo "${ECHO_T}$ac_ct_AR" >&6; }
5577 { echo "$as_me:$LINENO: result: no" >&5
5578 echo "${ECHO_T}no" >&6; }
5581 if test "x$ac_ct_AR" = x; then
5584 case $cross_compiling:$ac_tool_warned in
5586 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5587 whose name does not start with the host triplet. If you think this
5588 configuration is useful to you, please write to autoconf@gnu.org." >&5
5589 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5590 whose name does not start with the host triplet. If you think this
5591 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5592 ac_tool_warned=yes ;;
5600 if test -n "$ac_tool_prefix"; then
5601 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5602 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5603 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5605 if test "${ac_cv_prog_RANLIB+set}" = set; then
5606 echo $ECHO_N "(cached) $ECHO_C" >&6
5608 if test -n "$RANLIB"; then
5609 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615 test -z "$as_dir" && as_dir=.
5616 for ac_exec_ext in '' $ac_executable_extensions; do
5617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5618 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5628 RANLIB=$ac_cv_prog_RANLIB
5629 if test -n "$RANLIB"; then
5630 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5631 echo "${ECHO_T}$RANLIB" >&6; }
5633 { echo "$as_me:$LINENO: result: no" >&5
5634 echo "${ECHO_T}no" >&6; }
5639 if test -z "$ac_cv_prog_RANLIB"; then
5640 ac_ct_RANLIB=$RANLIB
5641 # Extract the first word of "ranlib", so it can be a program name with args.
5642 set dummy ranlib; ac_word=$2
5643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5645 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5646 echo $ECHO_N "(cached) $ECHO_C" >&6
5648 if test -n "$ac_ct_RANLIB"; then
5649 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5655 test -z "$as_dir" && as_dir=.
5656 for ac_exec_ext in '' $ac_executable_extensions; do
5657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5658 ac_cv_prog_ac_ct_RANLIB="ranlib"
5659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5668 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5669 if test -n "$ac_ct_RANLIB"; then
5670 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5671 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5673 { echo "$as_me:$LINENO: result: no" >&5
5674 echo "${ECHO_T}no" >&6; }
5677 if test "x$ac_ct_RANLIB" = x; then
5680 case $cross_compiling:$ac_tool_warned in
5682 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5683 whose name does not start with the host triplet. If you think this
5684 configuration is useful to you, please write to autoconf@gnu.org." >&5
5685 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5686 whose name does not start with the host triplet. If you think this
5687 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5688 ac_tool_warned=yes ;;
5690 RANLIB=$ac_ct_RANLIB
5693 RANLIB="$ac_cv_prog_RANLIB"
5696 if test -n "$ac_tool_prefix"; then
5697 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5698 set dummy ${ac_tool_prefix}strip; ac_word=$2
5699 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5701 if test "${ac_cv_prog_STRIP+set}" = set; then
5702 echo $ECHO_N "(cached) $ECHO_C" >&6
5704 if test -n "$STRIP"; then
5705 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5711 test -z "$as_dir" && as_dir=.
5712 for ac_exec_ext in '' $ac_executable_extensions; do
5713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5714 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5724 STRIP=$ac_cv_prog_STRIP
5725 if test -n "$STRIP"; then
5726 { echo "$as_me:$LINENO: result: $STRIP" >&5
5727 echo "${ECHO_T}$STRIP" >&6; }
5729 { echo "$as_me:$LINENO: result: no" >&5
5730 echo "${ECHO_T}no" >&6; }
5735 if test -z "$ac_cv_prog_STRIP"; then
5737 # Extract the first word of "strip", so it can be a program name with args.
5738 set dummy strip; ac_word=$2
5739 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5741 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5742 echo $ECHO_N "(cached) $ECHO_C" >&6
5744 if test -n "$ac_ct_STRIP"; then
5745 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5751 test -z "$as_dir" && as_dir=.
5752 for ac_exec_ext in '' $ac_executable_extensions; do
5753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5754 ac_cv_prog_ac_ct_STRIP="strip"
5755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5764 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5765 if test -n "$ac_ct_STRIP"; then
5766 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5767 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5769 { echo "$as_me:$LINENO: result: no" >&5
5770 echo "${ECHO_T}no" >&6; }
5773 if test "x$ac_ct_STRIP" = x; then
5776 case $cross_compiling:$ac_tool_warned in
5778 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5779 whose name does not start with the host triplet. If you think this
5780 configuration is useful to you, please write to autoconf@gnu.org." >&5
5781 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5782 whose name does not start with the host triplet. If you think this
5783 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5784 ac_tool_warned=yes ;;
5789 STRIP="$ac_cv_prog_STRIP"
5792 if test -n "$ac_tool_prefix"; then
5793 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5794 set dummy ${ac_tool_prefix}windres; ac_word=$2
5795 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5797 if test "${ac_cv_prog_WINDRES+set}" = set; then
5798 echo $ECHO_N "(cached) $ECHO_C" >&6
5800 if test -n "$WINDRES"; then
5801 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5807 test -z "$as_dir" && as_dir=.
5808 for ac_exec_ext in '' $ac_executable_extensions; do
5809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5810 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5820 WINDRES=$ac_cv_prog_WINDRES
5821 if test -n "$WINDRES"; then
5822 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5823 echo "${ECHO_T}$WINDRES" >&6; }
5825 { echo "$as_me:$LINENO: result: no" >&5
5826 echo "${ECHO_T}no" >&6; }
5831 if test -z "$ac_cv_prog_WINDRES"; then
5832 ac_ct_WINDRES=$WINDRES
5833 # Extract the first word of "windres", so it can be a program name with args.
5834 set dummy windres; ac_word=$2
5835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5837 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5838 echo $ECHO_N "(cached) $ECHO_C" >&6
5840 if test -n "$ac_ct_WINDRES"; then
5841 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5847 test -z "$as_dir" && as_dir=.
5848 for ac_exec_ext in '' $ac_executable_extensions; do
5849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5850 ac_cv_prog_ac_ct_WINDRES="windres"
5851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5860 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5861 if test -n "$ac_ct_WINDRES"; then
5862 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5863 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5865 { echo "$as_me:$LINENO: result: no" >&5
5866 echo "${ECHO_T}no" >&6; }
5869 if test "x$ac_ct_WINDRES" = x; then
5872 case $cross_compiling:$ac_tool_warned in
5874 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5875 whose name does not start with the host triplet. If you think this
5876 configuration is useful to you, please write to autoconf@gnu.org." >&5
5877 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5878 whose name does not start with the host triplet. If you think this
5879 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5880 ac_tool_warned=yes ;;
5882 WINDRES=$ac_ct_WINDRES
5885 WINDRES="$ac_cv_prog_WINDRES"
5888 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5889 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5891 if test "$LN_S" = "ln -s"; then
5892 { echo "$as_me:$LINENO: result: yes" >&5
5893 echo "${ECHO_T}yes" >&6; }
5895 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5896 echo "${ECHO_T}no, using $LN_S" >&6; }
5899 { echo "$as_me:$LINENO: checking whether ln works" >&5
5900 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5901 rm -f conf$$ conf$$.file
5903 if ln conf$$.file conf$$ 2>/dev/null; then
5906 { echo "$as_me:$LINENO: result: yes" >&5
5907 echo "${ECHO_T}yes" >&6; }
5911 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5912 echo "${ECHO_T}no, using $LN" >&6; }
5914 rm -f conf$$ conf$$.file
5915 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5916 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5917 if test "${ac_cv_path_GREP+set}" = set; then
5918 echo $ECHO_N "(cached) $ECHO_C" >&6
5920 # Extract the first word of "grep ggrep" to use in msg output
5921 if test -z "$GREP"; then
5922 set dummy grep ggrep; ac_prog_name=$2
5923 if test "${ac_cv_path_GREP+set}" = set; then
5924 echo $ECHO_N "(cached) $ECHO_C" >&6
5926 ac_path_GREP_found=false
5927 # Loop through the user's path and test for each of PROGNAME-LIST
5928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5929 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5932 test -z "$as_dir" && as_dir=.
5933 for ac_prog in grep ggrep; do
5934 for ac_exec_ext in '' $ac_executable_extensions; do
5935 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5936 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5937 # Check for GNU ac_path_GREP and select it if it is found.
5938 # Check for GNU $ac_path_GREP
5939 case `"$ac_path_GREP" --version 2>&1` in
5941 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5944 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5947 cat "conftest.in" "conftest.in" >"conftest.tmp"
5948 mv "conftest.tmp" "conftest.in"
5949 cp "conftest.in" "conftest.nl"
5950 echo 'GREP' >> "conftest.nl"
5951 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5952 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5953 ac_count=`expr $ac_count + 1`
5954 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5955 # Best one so far, save it but keep looking for a better one
5956 ac_cv_path_GREP="$ac_path_GREP"
5957 ac_path_GREP_max=$ac_count
5959 # 10*(2^10) chars as input seems more than enough
5960 test $ac_count -gt 10 && break
5962 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5966 $ac_path_GREP_found && break 3
5976 GREP="$ac_cv_path_GREP"
5977 if test -z "$GREP"; then
5978 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5979 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5980 { (exit 1); exit 1; }; }
5984 ac_cv_path_GREP=$GREP
5989 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5990 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5991 GREP="$ac_cv_path_GREP"
5994 { echo "$as_me:$LINENO: checking for egrep" >&5
5995 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5996 if test "${ac_cv_path_EGREP+set}" = set; then
5997 echo $ECHO_N "(cached) $ECHO_C" >&6
5999 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6000 then ac_cv_path_EGREP="$GREP -E"
6002 # Extract the first word of "egrep" to use in msg output
6003 if test -z "$EGREP"; then
6004 set dummy egrep; ac_prog_name=$2
6005 if test "${ac_cv_path_EGREP+set}" = set; then
6006 echo $ECHO_N "(cached) $ECHO_C" >&6
6008 ac_path_EGREP_found=false
6009 # Loop through the user's path and test for each of PROGNAME-LIST
6010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6011 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6014 test -z "$as_dir" && as_dir=.
6015 for ac_prog in egrep; do
6016 for ac_exec_ext in '' $ac_executable_extensions; do
6017 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6018 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6019 # Check for GNU ac_path_EGREP and select it if it is found.
6020 # Check for GNU $ac_path_EGREP
6021 case `"$ac_path_EGREP" --version 2>&1` in
6023 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6026 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6029 cat "conftest.in" "conftest.in" >"conftest.tmp"
6030 mv "conftest.tmp" "conftest.in"
6031 cp "conftest.in" "conftest.nl"
6032 echo 'EGREP' >> "conftest.nl"
6033 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6034 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6035 ac_count=`expr $ac_count + 1`
6036 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6037 # Best one so far, save it but keep looking for a better one
6038 ac_cv_path_EGREP="$ac_path_EGREP"
6039 ac_path_EGREP_max=$ac_count
6041 # 10*(2^10) chars as input seems more than enough
6042 test $ac_count -gt 10 && break
6044 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6048 $ac_path_EGREP_found && break 3
6058 EGREP="$ac_cv_path_EGREP"
6059 if test -z "$EGREP"; then
6060 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6061 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6062 { (exit 1); exit 1; }; }
6066 ac_cv_path_EGREP=$EGREP
6072 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6073 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6074 EGREP="$ac_cv_path_EGREP"
6077 # Extract the first word of "ldconfig", so it can be a program name with args.
6078 set dummy ldconfig; ac_word=$2
6079 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6081 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6082 echo $ECHO_N "(cached) $ECHO_C" >&6
6086 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6090 for as_dir in /sbin /usr/sbin $PATH
6093 test -z "$as_dir" && as_dir=.
6094 for ac_exec_ext in '' $ac_executable_extensions; do
6095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6096 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6104 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6108 LDCONFIG=$ac_cv_path_LDCONFIG
6109 if test -n "$LDCONFIG"; then
6110 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6111 echo "${ECHO_T}$LDCONFIG" >&6; }
6113 { echo "$as_me:$LINENO: result: no" >&5
6114 echo "${ECHO_T}no" >&6; }
6118 # Find a good install program. We prefer a C program (faster),
6119 # so one script is as good as another. But avoid the broken or
6120 # incompatible versions:
6121 # SysV /etc/install, /usr/sbin/install
6122 # SunOS /usr/etc/install
6123 # IRIX /sbin/install
6125 # AmigaOS /C/install, which installs bootblocks on floppy discs
6126 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6127 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6128 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6129 # OS/2's system install, which has a completely different semantic
6130 # ./install, which can be erroneously created by make from ./install.sh.
6131 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6132 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6133 if test -z "$INSTALL"; then
6134 if test "${ac_cv_path_install+set}" = set; then
6135 echo $ECHO_N "(cached) $ECHO_C" >&6
6137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6141 test -z "$as_dir" && as_dir=.
6142 # Account for people who put trailing slashes in PATH elements.
6144 ./ | .// | /cC/* | \
6145 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6146 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6149 # OSF1 and SCO ODT 3.0 have their own names for install.
6150 # Don't use installbsd from OSF since it installs stuff as root
6152 for ac_prog in ginstall scoinst install; do
6153 for ac_exec_ext in '' $ac_executable_extensions; do
6154 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6155 if test $ac_prog = install &&
6156 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6157 # AIX install. It has an incompatible calling convention.
6159 elif test $ac_prog = install &&
6160 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6161 # program-specific install script used by HP pwplus--don't use.
6164 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6177 if test "${ac_cv_path_install+set}" = set; then
6178 INSTALL=$ac_cv_path_install
6180 # As a last resort, use the slow shell script. Don't cache a
6181 # value for INSTALL within a source directory, because that will
6182 # break other packages using the cache if that directory is
6183 # removed, or if the value is a relative name.
6184 INSTALL=$ac_install_sh
6187 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6188 echo "${ECHO_T}$INSTALL" >&6; }
6190 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6191 # It thinks the first close brace ends the variable substitution.
6192 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6194 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6196 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6199 [\\/$]* | ?:[\\/]* ) ;;
6200 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6203 for ac_prog in lclint lint
6205 # Extract the first word of "$ac_prog", so it can be a program name with args.
6206 set dummy $ac_prog; ac_word=$2
6207 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6209 if test "${ac_cv_prog_LINT+set}" = set; then
6210 echo $ECHO_N "(cached) $ECHO_C" >&6
6212 if test -n "$LINT"; then
6213 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6219 test -z "$as_dir" && as_dir=.
6220 for ac_exec_ext in '' $ac_executable_extensions; do
6221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6222 ac_cv_prog_LINT="$ac_prog"
6223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6232 LINT=$ac_cv_prog_LINT
6233 if test -n "$LINT"; then
6234 { echo "$as_me:$LINENO: result: $LINT" >&5
6235 echo "${ECHO_T}$LINT" >&6; }
6237 { echo "$as_me:$LINENO: result: no" >&5
6238 echo "${ECHO_T}no" >&6; }
6242 test -n "$LINT" && break
6245 if test "$LINT" = "lint"
6247 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6252 for ac_prog in fontforge
6254 # Extract the first word of "$ac_prog", so it can be a program name with args.
6255 set dummy $ac_prog; ac_word=$2
6256 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6258 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6259 echo $ECHO_N "(cached) $ECHO_C" >&6
6261 if test -n "$FONTFORGE"; then
6262 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6268 test -z "$as_dir" && as_dir=.
6269 for ac_exec_ext in '' $ac_executable_extensions; do
6270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6271 ac_cv_prog_FONTFORGE="$ac_prog"
6272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6281 FONTFORGE=$ac_cv_prog_FONTFORGE
6282 if test -n "$FONTFORGE"; then
6283 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6284 echo "${ECHO_T}$FONTFORGE" >&6; }
6286 { echo "$as_me:$LINENO: result: no" >&5
6287 echo "${ECHO_T}no" >&6; }
6291 test -n "$FONTFORGE" && break
6293 test -n "$FONTFORGE" || FONTFORGE="false"
6295 for ac_prog in pkg-config
6297 # Extract the first word of "$ac_prog", so it can be a program name with args.
6298 set dummy $ac_prog; ac_word=$2
6299 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6301 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6302 echo $ECHO_N "(cached) $ECHO_C" >&6
6304 if test -n "$PKG_CONFIG"; then
6305 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6311 test -z "$as_dir" && as_dir=.
6312 for ac_exec_ext in '' $ac_executable_extensions; do
6313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6314 ac_cv_prog_PKG_CONFIG="$ac_prog"
6315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6324 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6325 if test -n "$PKG_CONFIG"; then
6326 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6327 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6329 { echo "$as_me:$LINENO: result: no" >&5
6330 echo "${ECHO_T}no" >&6; }
6334 test -n "$PKG_CONFIG" && break
6336 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6341 # Extract the first word of "prelink", so it can be a program name with args.
6342 set dummy prelink; ac_word=$2
6343 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6345 if test "${ac_cv_path_PRELINK+set}" = set; then
6346 echo $ECHO_N "(cached) $ECHO_C" >&6
6350 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6354 for as_dir in /sbin /usr/sbin $PATH
6357 test -z "$as_dir" && as_dir=.
6358 for ac_exec_ext in '' $ac_executable_extensions; do
6359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6360 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6368 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6372 PRELINK=$ac_cv_path_PRELINK
6373 if test -n "$PRELINK"; then
6374 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6375 echo "${ECHO_T}$PRELINK" >&6; }
6377 { echo "$as_me:$LINENO: result: no" >&5
6378 echo "${ECHO_T}no" >&6; }
6387 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6388 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6389 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6390 echo $ECHO_N "(cached) $ECHO_C" >&6
6392 ac_check_lib_save_LIBS=$LIBS
6394 cat >conftest.$ac_ext <<_ACEOF
6397 cat confdefs.h >>conftest.$ac_ext
6398 cat >>conftest.$ac_ext <<_ACEOF
6399 /* end confdefs.h. */
6401 /* Override any GCC internal prototype to avoid an error.
6402 Use char because int might match the return type of a GCC
6403 builtin and then its argument prototype would still apply. */
6407 char i386_set_ldt ();
6411 return i386_set_ldt ();
6416 rm -f conftest.$ac_objext conftest$ac_exeext
6417 if { (ac_try="$ac_link"
6419 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6420 *) ac_try_echo
=$ac_try;;
6422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6423 (eval "$ac_link") 2>conftest.er1
6425 grep -v '^ *+' conftest.er1
>conftest.err
6427 cat conftest.err
>&5
6428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6429 (exit $ac_status); } && {
6430 test -z "$ac_c_werror_flag" ||
6431 test ! -s conftest.err
6432 } && test -s conftest
$ac_exeext &&
6433 $as_test_x conftest
$ac_exeext; then
6434 ac_cv_lib_i386_i386_set_ldt
=yes
6436 echo "$as_me: failed program was:" >&5
6437 sed 's/^/| /' conftest.
$ac_ext >&5
6439 ac_cv_lib_i386_i386_set_ldt
=no
6442 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6443 conftest
$ac_exeext conftest.
$ac_ext
6444 LIBS
=$ac_check_lib_save_LIBS
6446 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6447 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6448 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6449 cat >>confdefs.h
<<_ACEOF
6450 #define HAVE_LIBI386 1
6458 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6459 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6460 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6461 echo $ECHO_N "(cached) $ECHO_C" >&6
6463 ac_check_lib_save_LIBS
=$LIBS
6464 LIBS
="-lossaudio $LIBS"
6465 cat >conftest.
$ac_ext <<_ACEOF
6468 cat confdefs.h
>>conftest.
$ac_ext
6469 cat >>conftest.
$ac_ext <<_ACEOF
6470 /* end confdefs.h. */
6472 /* Override any GCC internal prototype to avoid an error.
6473 Use char because int might match the return type of a GCC
6474 builtin and then its argument prototype would still apply. */
6482 return _oss_ioctl ();
6487 rm -f conftest.
$ac_objext conftest
$ac_exeext
6488 if { (ac_try
="$ac_link"
6490 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6491 *) ac_try_echo=$ac_try;;
6493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6494 (eval "$ac_link") 2>conftest.er1
6496 grep -v '^ *+' conftest.er1 >conftest.err
6498 cat conftest.err >&5
6499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6500 (exit $ac_status); } && {
6501 test -z "$ac_c_werror_flag" ||
6502 test ! -s conftest.err
6503 } && test -s conftest$ac_exeext &&
6504 $as_test_x conftest$ac_exeext; then
6505 ac_cv_lib_ossaudio__oss_ioctl=yes
6507 echo "$as_me: failed program was:" >&5
6508 sed 's/^/| /' conftest.$ac_ext >&5
6510 ac_cv_lib_ossaudio__oss_ioctl=no
6513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6514 conftest$ac_exeext conftest.$ac_ext
6515 LIBS=$ac_check_lib_save_LIBS
6517 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6518 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6519 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6520 cat >>confdefs.h <<_ACEOF
6521 #define HAVE_LIBOSSAUDIO 1
6524 LIBS="-lossaudio $LIBS"
6529 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6530 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6531 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6532 echo $ECHO_N "(cached) $ECHO_C" >&6
6534 ac_check_lib_save_LIBS=$LIBS
6536 cat >conftest.$ac_ext <<_ACEOF
6539 cat confdefs.h >>conftest.$ac_ext
6540 cat >>conftest.$ac_ext <<_ACEOF
6541 /* end confdefs.h. */
6543 /* Override any GCC internal prototype to avoid an error.
6544 Use char because int might match the return type of a GCC
6545 builtin and then its argument prototype would still apply. */
6549 char _xpg4_setrunelocale ();
6553 return _xpg4_setrunelocale ();
6558 rm -f conftest.$ac_objext conftest$ac_exeext
6559 if { (ac_try="$ac_link"
6561 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6562 *) ac_try_echo
=$ac_try;;
6564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6565 (eval "$ac_link") 2>conftest.er1
6567 grep -v '^ *+' conftest.er1
>conftest.err
6569 cat conftest.err
>&5
6570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6571 (exit $ac_status); } && {
6572 test -z "$ac_c_werror_flag" ||
6573 test ! -s conftest.err
6574 } && test -s conftest
$ac_exeext &&
6575 $as_test_x conftest
$ac_exeext; then
6576 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
6578 echo "$as_me: failed program was:" >&5
6579 sed 's/^/| /' conftest.
$ac_ext >&5
6581 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
6584 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6585 conftest
$ac_exeext conftest.
$ac_ext
6586 LIBS
=$ac_check_lib_save_LIBS
6588 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6589 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6590 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6591 cat >>confdefs.h
<<_ACEOF
6592 #define HAVE_LIBXPG4 1
6599 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6600 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6601 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6602 echo $ECHO_N "(cached) $ECHO_C" >&6
6604 ac_check_lib_save_LIBS
=$LIBS
6605 LIBS
="-lpthread $LIBS"
6606 cat >conftest.
$ac_ext <<_ACEOF
6609 cat confdefs.h
>>conftest.
$ac_ext
6610 cat >>conftest.
$ac_ext <<_ACEOF
6611 /* end confdefs.h. */
6613 /* Override any GCC internal prototype to avoid an error.
6614 Use char because int might match the return type of a GCC
6615 builtin and then its argument prototype would still apply. */
6619 char pthread_create ();
6623 return pthread_create ();
6628 rm -f conftest.
$ac_objext conftest
$ac_exeext
6629 if { (ac_try
="$ac_link"
6631 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6632 *) ac_try_echo=$ac_try;;
6634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6635 (eval "$ac_link") 2>conftest.er1
6637 grep -v '^ *+' conftest.er1 >conftest.err
6639 cat conftest.err >&5
6640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6641 (exit $ac_status); } && {
6642 test -z "$ac_c_werror_flag" ||
6643 test ! -s conftest.err
6644 } && test -s conftest$ac_exeext &&
6645 $as_test_x conftest$ac_exeext; then
6646 ac_cv_lib_pthread_pthread_create=yes
6648 echo "$as_me: failed program was:" >&5
6649 sed 's/^/| /' conftest.$ac_ext >&5
6651 ac_cv_lib_pthread_pthread_create=no
6654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6655 conftest$ac_exeext conftest.$ac_ext
6656 LIBS=$ac_check_lib_save_LIBS
6658 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6659 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6660 if test $ac_cv_lib_pthread_pthread_create = yes; then
6661 LIBPTHREAD="-lpthread"
6680 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6681 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6682 if test "${ac_cv_header_stdc+set}" = set; then
6683 echo $ECHO_N "(cached) $ECHO_C" >&6
6685 cat >conftest.$ac_ext <<_ACEOF
6688 cat confdefs.h >>conftest.$ac_ext
6689 cat >>conftest.$ac_ext <<_ACEOF
6690 /* end confdefs.h. */
6704 rm -f conftest.$ac_objext
6705 if { (ac_try="$ac_compile"
6707 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6708 *) ac_try_echo
=$ac_try;;
6710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6711 (eval "$ac_compile") 2>conftest.er1
6713 grep -v '^ *+' conftest.er1
>conftest.err
6715 cat conftest.err
>&5
6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717 (exit $ac_status); } && {
6718 test -z "$ac_c_werror_flag" ||
6719 test ! -s conftest.err
6720 } && test -s conftest.
$ac_objext; then
6721 ac_cv_header_stdc
=yes
6723 echo "$as_me: failed program was:" >&5
6724 sed 's/^/| /' conftest.
$ac_ext >&5
6726 ac_cv_header_stdc
=no
6729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6731 if test $ac_cv_header_stdc = yes; then
6732 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6733 cat >conftest.
$ac_ext <<_ACEOF
6736 cat confdefs.h
>>conftest.
$ac_ext
6737 cat >>conftest.
$ac_ext <<_ACEOF
6738 /* end confdefs.h. */
6742 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6743 $EGREP "memchr" >/dev
/null
2>&1; then
6746 ac_cv_header_stdc
=no
6752 if test $ac_cv_header_stdc = yes; then
6753 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6754 cat >conftest.
$ac_ext <<_ACEOF
6757 cat confdefs.h
>>conftest.
$ac_ext
6758 cat >>conftest.
$ac_ext <<_ACEOF
6759 /* end confdefs.h. */
6763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6764 $EGREP "free" >/dev
/null
2>&1; then
6767 ac_cv_header_stdc
=no
6773 if test $ac_cv_header_stdc = yes; then
6774 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6775 if test "$cross_compiling" = yes; then
6778 cat >conftest.
$ac_ext <<_ACEOF
6781 cat confdefs.h
>>conftest.
$ac_ext
6782 cat >>conftest.
$ac_ext <<_ACEOF
6783 /* end confdefs.h. */
6786 #if ((' ' & 0x0FF) == 0x020)
6787 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6788 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6790 # define ISLOWER(c) \
6791 (('a' <= (c) && (c) <= 'i') \
6792 || ('j' <= (c) && (c) <= 'r') \
6793 || ('s' <= (c) && (c) <= 'z'))
6794 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6797 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6802 for (i = 0; i < 256; i++)
6803 if (XOR (islower (i), ISLOWER (i))
6804 || toupper (i) != TOUPPER (i))
6809 rm -f conftest
$ac_exeext
6810 if { (ac_try
="$ac_link"
6812 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6813 *) ac_try_echo=$ac_try;;
6815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6816 (eval "$ac_link") 2>&5
6818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6819 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6820 { (case "(($ac_try" in
6821 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6822 *) ac_try_echo
=$ac_try;;
6824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6825 (eval "$ac_try") 2>&5
6827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6828 (exit $ac_status); }; }; then
6831 echo "$as_me: program exited with status $ac_status" >&5
6832 echo "$as_me: failed program was:" >&5
6833 sed 's/^/| /' conftest.
$ac_ext >&5
6836 ac_cv_header_stdc
=no
6838 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6844 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6845 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6846 if test $ac_cv_header_stdc = yes; then
6848 cat >>confdefs.h
<<\_ACEOF
6849 #define STDC_HEADERS 1
6854 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6864 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6865 inttypes.h stdint.h unistd.h
6867 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6868 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6870 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6871 echo $ECHO_N "(cached) $ECHO_C" >&6
6873 cat >conftest.
$ac_ext <<_ACEOF
6876 cat confdefs.h
>>conftest.
$ac_ext
6877 cat >>conftest.
$ac_ext <<_ACEOF
6878 /* end confdefs.h. */
6879 $ac_includes_default
6881 #include <$ac_header>
6883 rm -f conftest.
$ac_objext
6884 if { (ac_try
="$ac_compile"
6886 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6887 *) ac_try_echo=$ac_try;;
6889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6890 (eval "$ac_compile") 2>conftest.er1
6892 grep -v '^ *+' conftest.er1 >conftest.err
6894 cat conftest.err >&5
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); } && {
6897 test -z "$ac_c_werror_flag" ||
6898 test ! -s conftest.err
6899 } && test -s conftest.$ac_objext; then
6900 eval "$as_ac_Header=yes"
6902 echo "$as_me: failed program was:" >&5
6903 sed 's/^/| /' conftest.$ac_ext >&5
6905 eval "$as_ac_Header=no"
6908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6910 ac_res=`eval echo '${'$as_ac_Header'}'`
6911 { echo "$as_me:$LINENO: result: $ac_res" >&5
6912 echo "${ECHO_T}$ac_res" >&6; }
6913 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6914 cat >>confdefs.h <<_ACEOF
6915 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7033 AudioUnit/AudioUnit.h \
7035 CoreAudio/CoreAudio.h \
7036 DiskArbitration/DiskArbitration.h \
7049 fontconfig/fontconfig.h \
7075 machine/soundcard.h \
7080 netinet/in_systm.h \
7144 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7145 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7146 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7148 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7149 echo $ECHO_N "(cached) $ECHO_C" >&6
7151 ac_res=`eval echo '${'$as_ac_Header'}'`
7152 { echo "$as_me:$LINENO: result: $ac_res" >&5
7153 echo "${ECHO_T}$ac_res" >&6; }
7155 # Is the header compilable?
7156 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7157 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7158 cat >conftest.$ac_ext <<_ACEOF
7161 cat confdefs.h >>conftest.$ac_ext
7162 cat >>conftest.$ac_ext <<_ACEOF
7163 /* end confdefs.h. */
7164 $ac_includes_default
7165 #include <$ac_header>
7167 rm -f conftest.$ac_objext
7168 if { (ac_try="$ac_compile"
7170 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7171 *) ac_try_echo
=$ac_try;;
7173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7174 (eval "$ac_compile") 2>conftest.er1
7176 grep -v '^ *+' conftest.er1
>conftest.err
7178 cat conftest.err
>&5
7179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7180 (exit $ac_status); } && {
7181 test -z "$ac_c_werror_flag" ||
7182 test ! -s conftest.err
7183 } && test -s conftest.
$ac_objext; then
7184 ac_header_compiler
=yes
7186 echo "$as_me: failed program was:" >&5
7187 sed 's/^/| /' conftest.
$ac_ext >&5
7189 ac_header_compiler
=no
7192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7193 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7194 echo "${ECHO_T}$ac_header_compiler" >&6; }
7196 # Is the header present?
7197 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7198 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7199 cat >conftest.
$ac_ext <<_ACEOF
7202 cat confdefs.h
>>conftest.
$ac_ext
7203 cat >>conftest.
$ac_ext <<_ACEOF
7204 /* end confdefs.h. */
7205 #include <$ac_header>
7207 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7209 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7210 *) ac_try_echo=$ac_try;;
7212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7213 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7215 grep -v '^ *+' conftest.er1 >conftest.err
7217 cat conftest.err >&5
7218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7219 (exit $ac_status); } >/dev/null && {
7220 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7221 test ! -s conftest.err
7223 ac_header_preproc=yes
7225 echo "$as_me: failed program was:" >&5
7226 sed 's/^/| /' conftest.$ac_ext >&5
7228 ac_header_preproc=no
7231 rm -f conftest.err conftest.$ac_ext
7232 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7233 echo "${ECHO_T}$ac_header_preproc" >&6; }
7235 # So? What about this header?
7236 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7238 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7239 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7240 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7241 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7242 ac_header_preproc=yes
7245 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7246 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7247 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7248 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7249 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7250 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7251 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7252 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7253 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7254 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7255 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7256 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7258 ## ------------------------------------ ##
7259 ## Report this to wine-devel@winehq.org ##
7260 ## ------------------------------------ ##
7262 ) | sed "s/^/$as_me: WARNING: /" >&2
7265 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7267 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7268 echo $ECHO_N "(cached) $ECHO_C" >&6
7270 eval "$as_ac_Header=\$ac_header_preproc"
7272 ac_res=`eval echo '${'$as_ac_Header'}'`
7273 { echo "$as_me:$LINENO: result: $ac_res" >&5
7274 echo "${ECHO_T}$ac_res" >&6; }
7277 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7278 cat >>confdefs.h <<_ACEOF
7279 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7286 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7287 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7288 if test "${ac_cv_header_stat_broken+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 #include <sys/stat.h>
7300 #if defined S_ISBLK && defined S_IFDIR
7301 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7304 #if defined S_ISBLK && defined S_IFCHR
7305 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7308 #if defined S_ISLNK && defined S_IFREG
7309 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7312 #if defined S_ISSOCK && defined S_IFREG
7313 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7317 rm -f conftest.$ac_objext
7318 if { (ac_try="$ac_compile"
7320 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7321 *) ac_try_echo
=$ac_try;;
7323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7324 (eval "$ac_compile") 2>conftest.er1
7326 grep -v '^ *+' conftest.er1
>conftest.err
7328 cat conftest.err
>&5
7329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7330 (exit $ac_status); } && {
7331 test -z "$ac_c_werror_flag" ||
7332 test ! -s conftest.err
7333 } && test -s conftest.
$ac_objext; then
7334 ac_cv_header_stat_broken
=no
7336 echo "$as_me: failed program was:" >&5
7337 sed 's/^/| /' conftest.
$ac_ext >&5
7339 ac_cv_header_stat_broken
=yes
7342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7344 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7345 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7346 if test $ac_cv_header_stat_broken = yes; then
7348 cat >>confdefs.h
<<\_ACEOF
7349 #define STAT_MACROS_BROKEN 1
7360 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
7362 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7363 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7365 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7366 echo $ECHO_N "(cached) $ECHO_C" >&6
7368 cat >conftest.
$ac_ext <<_ACEOF
7371 cat confdefs.h
>>conftest.
$ac_ext
7372 cat >>conftest.
$ac_ext <<_ACEOF
7373 /* end confdefs.h. */
7374 #include <sys/types.h>
7375 #if HAVE_SYS_PARAM_H
7376 # include <sys/param.h>
7379 #include <$ac_header>
7381 rm -f conftest.
$ac_objext
7382 if { (ac_try
="$ac_compile"
7384 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7385 *) ac_try_echo=$ac_try;;
7387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7388 (eval "$ac_compile") 2>conftest.er1
7390 grep -v '^ *+' conftest.er1 >conftest.err
7392 cat conftest.err >&5
7393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7394 (exit $ac_status); } && {
7395 test -z "$ac_c_werror_flag" ||
7396 test ! -s conftest.err
7397 } && test -s conftest.$ac_objext; then
7398 eval "$as_ac_Header=yes"
7400 echo "$as_me: failed program was:" >&5
7401 sed 's/^/| /' conftest.$ac_ext >&5
7403 eval "$as_ac_Header=no"
7406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7408 ac_res=`eval echo '${'$as_ac_Header'}'`
7409 { echo "$as_me:$LINENO: result: $ac_res" >&5
7410 echo "${ECHO_T}$ac_res" >&6; }
7411 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7412 cat >>confdefs.h <<_ACEOF
7413 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7427 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
7429 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7430 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7431 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7432 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7433 echo $ECHO_N "(cached) $ECHO_C" >&6
7435 cat >conftest.$ac_ext <<_ACEOF
7438 cat confdefs.h >>conftest.$ac_ext
7439 cat >>conftest.$ac_ext <<_ACEOF
7440 /* end confdefs.h. */
7441 #include <sys/types.h>
7442 #if HAVE_SYS_SOCKET_H
7443 # include <sys/socket.h>
7446 #include <$ac_header>
7448 rm -f conftest.$ac_objext
7449 if { (ac_try="$ac_compile"
7451 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7452 *) ac_try_echo
=$ac_try;;
7454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7455 (eval "$ac_compile") 2>conftest.er1
7457 grep -v '^ *+' conftest.er1
>conftest.err
7459 cat conftest.err
>&5
7460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7461 (exit $ac_status); } && {
7462 test -z "$ac_c_werror_flag" ||
7463 test ! -s conftest.err
7464 } && test -s conftest.
$ac_objext; then
7465 eval "$as_ac_Header=yes"
7467 echo "$as_me: failed program was:" >&5
7468 sed 's/^/| /' conftest.
$ac_ext >&5
7470 eval "$as_ac_Header=no"
7473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7475 ac_res
=`eval echo '${'$as_ac_Header'}'`
7476 { echo "$as_me:$LINENO: result: $ac_res" >&5
7477 echo "${ECHO_T}$ac_res" >&6; }
7478 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7479 cat >>confdefs.h
<<_ACEOF
7480 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7489 for ac_header
in linux
/ipx.h
7491 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7492 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7494 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7495 echo $ECHO_N "(cached) $ECHO_C" >&6
7497 cat >conftest.
$ac_ext <<_ACEOF
7500 cat confdefs.h
>>conftest.
$ac_ext
7501 cat >>conftest.
$ac_ext <<_ACEOF
7502 /* end confdefs.h. */
7503 #include <sys/types.h>
7504 #ifdef HAVE_ASM_TYPES_H
7505 # include <asm/types.h>
7507 #if HAVE_SYS_SOCKET_H
7508 # include <sys/socket.h>
7511 #include <$ac_header>
7513 rm -f conftest.
$ac_objext
7514 if { (ac_try
="$ac_compile"
7516 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7517 *) ac_try_echo=$ac_try;;
7519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7520 (eval "$ac_compile") 2>conftest.er1
7522 grep -v '^ *+' conftest.er1 >conftest.err
7524 cat conftest.err >&5
7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526 (exit $ac_status); } && {
7527 test -z "$ac_c_werror_flag" ||
7528 test ! -s conftest.err
7529 } && test -s conftest.$ac_objext; then
7530 eval "$as_ac_Header=yes"
7532 echo "$as_me: failed program was:" >&5
7533 sed 's/^/| /' conftest.$ac_ext >&5
7535 eval "$as_ac_Header=no"
7538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7540 ac_res=`eval echo '${'$as_ac_Header'}'`
7541 { echo "$as_me:$LINENO: result: $ac_res" >&5
7542 echo "${ECHO_T}$ac_res" >&6; }
7543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7544 cat >>confdefs.h <<_ACEOF
7545 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7554 for ac_header in resolv.h
7556 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7557 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7558 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7559 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7560 echo $ECHO_N "(cached) $ECHO_C" >&6
7562 cat >conftest.$ac_ext <<_ACEOF
7565 cat confdefs.h >>conftest.$ac_ext
7566 cat >>conftest.$ac_ext <<_ACEOF
7567 /* end confdefs.h. */
7568 #include <sys/types.h>
7569 #if HAVE_SYS_SOCKET_H
7570 # include <sys/socket.h>
7572 #if HAVE_NETINET_IN_H
7573 # include <netinet/in.h>
7575 #if HAVE_ARPA_NAMESER_H
7576 # include <arpa/nameser.h>
7579 #include <$ac_header>
7581 rm -f conftest.$ac_objext
7582 if { (ac_try="$ac_compile"
7584 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7585 *) ac_try_echo
=$ac_try;;
7587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7588 (eval "$ac_compile") 2>conftest.er1
7590 grep -v '^ *+' conftest.er1
>conftest.err
7592 cat conftest.err
>&5
7593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7594 (exit $ac_status); } && {
7595 test -z "$ac_c_werror_flag" ||
7596 test ! -s conftest.err
7597 } && test -s conftest.
$ac_objext; then
7598 eval "$as_ac_Header=yes"
7600 echo "$as_me: failed program was:" >&5
7601 sed 's/^/| /' conftest.
$ac_ext >&5
7603 eval "$as_ac_Header=no"
7606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7608 ac_res
=`eval echo '${'$as_ac_Header'}'`
7609 { echo "$as_me:$LINENO: result: $ac_res" >&5
7610 echo "${ECHO_T}$ac_res" >&6; }
7611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7612 cat >>confdefs.h
<<_ACEOF
7613 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7622 for ac_header
in ucontext.h
7624 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7625 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7627 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7628 echo $ECHO_N "(cached) $ECHO_C" >&6
7630 cat >conftest.
$ac_ext <<_ACEOF
7633 cat confdefs.h
>>conftest.
$ac_ext
7634 cat >>conftest.
$ac_ext <<_ACEOF
7635 /* end confdefs.h. */
7638 #include <$ac_header>
7640 rm -f conftest.
$ac_objext
7641 if { (ac_try
="$ac_compile"
7643 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7644 *) ac_try_echo=$ac_try;;
7646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7647 (eval "$ac_compile") 2>conftest.er1
7649 grep -v '^ *+' conftest.er1 >conftest.err
7651 cat conftest.err >&5
7652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7653 (exit $ac_status); } && {
7654 test -z "$ac_c_werror_flag" ||
7655 test ! -s conftest.err
7656 } && test -s conftest.$ac_objext; then
7657 eval "$as_ac_Header=yes"
7659 echo "$as_me: failed program was:" >&5
7660 sed 's/^/| /' conftest.$ac_ext >&5
7662 eval "$as_ac_Header=no"
7665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7667 ac_res=`eval echo '${'$as_ac_Header'}'`
7668 { echo "$as_me:$LINENO: result: $ac_res" >&5
7669 echo "${ECHO_T}$ac_res" >&6; }
7670 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7671 cat >>confdefs.h <<_ACEOF
7672 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7681 for ac_header in pthread_np.h
7683 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7684 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7686 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7687 echo $ECHO_N "(cached) $ECHO_C" >&6
7689 cat >conftest.$ac_ext <<_ACEOF
7692 cat confdefs.h >>conftest.$ac_ext
7693 cat >>conftest.$ac_ext <<_ACEOF
7694 /* end confdefs.h. */
7695 #ifdef HAVE_PTHREAD_H
7696 #include <pthread.h>
7699 #include <$ac_header>
7701 rm -f conftest.$ac_objext
7702 if { (ac_try="$ac_compile"
7704 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7705 *) ac_try_echo
=$ac_try;;
7707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7708 (eval "$ac_compile") 2>conftest.er1
7710 grep -v '^ *+' conftest.er1
>conftest.err
7712 cat conftest.err
>&5
7713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7714 (exit $ac_status); } && {
7715 test -z "$ac_c_werror_flag" ||
7716 test ! -s conftest.err
7717 } && test -s conftest.
$ac_objext; then
7718 eval "$as_ac_Header=yes"
7720 echo "$as_me: failed program was:" >&5
7721 sed 's/^/| /' conftest.
$ac_ext >&5
7723 eval "$as_ac_Header=no"
7726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7728 ac_res
=`eval echo '${'$as_ac_Header'}'`
7729 { echo "$as_me:$LINENO: result: $ac_res" >&5
7730 echo "${ECHO_T}$ac_res" >&6; }
7731 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7732 cat >>confdefs.h
<<_ACEOF
7733 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7742 for ac_header
in linux
/videodev.h
7744 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7745 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7746 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7747 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7748 echo $ECHO_N "(cached) $ECHO_C" >&6
7750 cat >conftest.
$ac_ext <<_ACEOF
7753 cat confdefs.h
>>conftest.
$ac_ext
7754 cat >>conftest.
$ac_ext <<_ACEOF
7755 /* end confdefs.h. */
7756 #ifdef HAVE_SYS_TIME_H
7757 #include <sys/time.h>
7759 #include <sys/types.h>
7760 #ifdef HAVE_ASM_TYPES_H
7761 #include <asm/types.h>
7764 #include <$ac_header>
7766 rm -f conftest.
$ac_objext
7767 if { (ac_try
="$ac_compile"
7769 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7770 *) ac_try_echo=$ac_try;;
7772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7773 (eval "$ac_compile") 2>conftest.er1
7775 grep -v '^ *+' conftest.er1 >conftest.err
7777 cat conftest.err >&5
7778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7779 (exit $ac_status); } && {
7780 test -z "$ac_c_werror_flag" ||
7781 test ! -s conftest.err
7782 } && test -s conftest.$ac_objext; then
7783 eval "$as_ac_Header=yes"
7785 echo "$as_me: failed program was:" >&5
7786 sed 's/^/| /' conftest.$ac_ext >&5
7788 eval "$as_ac_Header=no"
7791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7793 ac_res=`eval echo '${'$as_ac_Header'}'`
7794 { echo "$as_me:$LINENO: result: $ac_res" >&5
7795 echo "${ECHO_T}$ac_res" >&6; }
7796 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7797 cat >>confdefs.h <<_ACEOF
7798 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7807 for ac_header in linux/capi.h
7809 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7810 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7811 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7812 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7813 echo $ECHO_N "(cached) $ECHO_C" >&6
7815 cat >conftest.$ac_ext <<_ACEOF
7818 cat confdefs.h >>conftest.$ac_ext
7819 cat >>conftest.$ac_ext <<_ACEOF
7820 /* end confdefs.h. */
7823 #include <$ac_header>
7825 rm -f conftest.$ac_objext
7826 if { (ac_try="$ac_compile"
7828 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7829 *) ac_try_echo
=$ac_try;;
7831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7832 (eval "$ac_compile") 2>conftest.er1
7834 grep -v '^ *+' conftest.er1
>conftest.err
7836 cat conftest.err
>&5
7837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7838 (exit $ac_status); } && {
7839 test -z "$ac_c_werror_flag" ||
7840 test ! -s conftest.err
7841 } && test -s conftest.
$ac_objext; then
7842 eval "$as_ac_Header=yes"
7844 echo "$as_me: failed program was:" >&5
7845 sed 's/^/| /' conftest.
$ac_ext >&5
7847 eval "$as_ac_Header=no"
7850 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7852 ac_res
=`eval echo '${'$as_ac_Header'}'`
7853 { echo "$as_me:$LINENO: result: $ac_res" >&5
7854 echo "${ECHO_T}$ac_res" >&6; }
7855 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7856 cat >>confdefs.h
<<_ACEOF
7857 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7866 if test "$have_x" = "yes"
7869 ac_save_CPPFLAGS
="$CPPFLAGS"
7870 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7882 for ac_header
in X11
/Xlib.h \
7885 X11
/extensions
/shape.h \
7886 X11
/extensions
/XInput.h \
7887 X11
/extensions
/XShm.h \
7888 X11
/extensions
/Xinerama.h \
7889 X11
/extensions
/Xrandr.h \
7890 X11
/extensions
/Xrender.h \
7891 X11
/extensions
/xf86vmode.h
7893 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7894 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7896 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7897 echo $ECHO_N "(cached) $ECHO_C" >&6
7899 cat >conftest.
$ac_ext <<_ACEOF
7902 cat confdefs.h
>>conftest.
$ac_ext
7903 cat >>conftest.
$ac_ext <<_ACEOF
7904 /* end confdefs.h. */
7905 #ifdef HAVE_X11_XLIB_H
7906 # include <X11/Xlib.h>
7908 #ifdef HAVE_X11_XUTIL_H
7909 # include <X11/Xutil.h>
7912 #include <$ac_header>
7914 rm -f conftest.
$ac_objext
7915 if { (ac_try
="$ac_compile"
7917 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7918 *) ac_try_echo=$ac_try;;
7920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7921 (eval "$ac_compile") 2>conftest.er1
7923 grep -v '^ *+' conftest.er1 >conftest.err
7925 cat conftest.err >&5
7926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7927 (exit $ac_status); } && {
7928 test -z "$ac_c_werror_flag" ||
7929 test ! -s conftest.err
7930 } && test -s conftest.$ac_objext; then
7931 eval "$as_ac_Header=yes"
7933 echo "$as_me: failed program was:" >&5
7934 sed 's/^/| /' conftest.$ac_ext >&5
7936 eval "$as_ac_Header=no"
7939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7941 ac_res=`eval echo '${'$as_ac_Header'}'`
7942 { echo "$as_me:$LINENO: result: $ac_res" >&5
7943 echo "${ECHO_T}$ac_res" >&6; }
7944 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7945 cat >>confdefs.h <<_ACEOF
7946 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7954 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7956 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7957 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
7958 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7959 echo $ECHO_N "(cached) $ECHO_C" >&6
7961 ac_check_lib_save_LIBS=$LIBS
7962 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7963 cat >conftest.$ac_ext <<_ACEOF
7966 cat confdefs.h >>conftest.$ac_ext
7967 cat >>conftest.$ac_ext <<_ACEOF
7968 /* end confdefs.h. */
7970 /* Override any GCC internal prototype to avoid an error.
7971 Use char because int might match the return type of a GCC
7972 builtin and then its argument prototype would still apply. */
7976 char XkbQueryExtension ();
7980 return XkbQueryExtension ();
7985 rm -f conftest.$ac_objext conftest$ac_exeext
7986 if { (ac_try="$ac_link"
7988 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7989 *) ac_try_echo
=$ac_try;;
7991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7992 (eval "$ac_link") 2>conftest.er1
7994 grep -v '^ *+' conftest.er1
>conftest.err
7996 cat conftest.err
>&5
7997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7998 (exit $ac_status); } && {
7999 test -z "$ac_c_werror_flag" ||
8000 test ! -s conftest.err
8001 } && test -s conftest
$ac_exeext &&
8002 $as_test_x conftest
$ac_exeext; then
8003 ac_cv_lib_X11_XkbQueryExtension
=yes
8005 echo "$as_me: failed program was:" >&5
8006 sed 's/^/| /' conftest.
$ac_ext >&5
8008 ac_cv_lib_X11_XkbQueryExtension
=no
8011 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8012 conftest
$ac_exeext conftest.
$ac_ext
8013 LIBS
=$ac_check_lib_save_LIBS
8015 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8016 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8017 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
8019 cat >>confdefs.h
<<\_ACEOF
8027 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8029 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
8030 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
8031 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
8032 echo $ECHO_N "(cached) $ECHO_C" >&6
8034 ac_check_lib_save_LIBS
=$LIBS
8035 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8036 cat >conftest.
$ac_ext <<_ACEOF
8039 cat confdefs.h
>>conftest.
$ac_ext
8040 cat >>conftest.
$ac_ext <<_ACEOF
8041 /* end confdefs.h. */
8043 /* Override any GCC internal prototype to avoid an error.
8044 Use char because int might match the return type of a GCC
8045 builtin and then its argument prototype would still apply. */
8049 char XShmQueryExtension ();
8053 return XShmQueryExtension ();
8058 rm -f conftest.
$ac_objext conftest
$ac_exeext
8059 if { (ac_try
="$ac_link"
8061 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8062 *) ac_try_echo=$ac_try;;
8064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8065 (eval "$ac_link") 2>conftest.er1
8067 grep -v '^ *+' conftest.er1 >conftest.err
8069 cat conftest.err >&5
8070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8071 (exit $ac_status); } && {
8072 test -z "$ac_c_werror_flag" ||
8073 test ! -s conftest.err
8074 } && test -s conftest$ac_exeext &&
8075 $as_test_x conftest$ac_exeext; then
8076 ac_cv_lib_Xext_XShmQueryExtension=yes
8078 echo "$as_me: failed program was:" >&5
8079 sed 's/^/| /' conftest.$ac_ext >&5
8081 ac_cv_lib_Xext_XShmQueryExtension=no
8084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8085 conftest$ac_exeext conftest.$ac_ext
8086 LIBS=$ac_check_lib_save_LIBS
8088 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8089 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8090 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8092 cat >>confdefs.h <<\_ACEOF
8093 #define HAVE_LIBXXSHM 1
8100 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8102 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8103 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
8104 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8105 echo $ECHO_N "(cached) $ECHO_C" >&6
8107 ac_check_lib_save_LIBS=$LIBS
8108 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8109 cat >conftest.$ac_ext <<_ACEOF
8112 cat confdefs.h >>conftest.$ac_ext
8113 cat >>conftest.$ac_ext <<_ACEOF
8114 /* end confdefs.h. */
8116 /* Override any GCC internal prototype to avoid an error.
8117 Use char because int might match the return type of a GCC
8118 builtin and then its argument prototype would still apply. */
8122 char XShapeQueryExtension ();
8126 return XShapeQueryExtension ();
8131 rm -f conftest.$ac_objext conftest$ac_exeext
8132 if { (ac_try="$ac_link"
8134 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8135 *) ac_try_echo
=$ac_try;;
8137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8138 (eval "$ac_link") 2>conftest.er1
8140 grep -v '^ *+' conftest.er1
>conftest.err
8142 cat conftest.err
>&5
8143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8144 (exit $ac_status); } && {
8145 test -z "$ac_c_werror_flag" ||
8146 test ! -s conftest.err
8147 } && test -s conftest
$ac_exeext &&
8148 $as_test_x conftest
$ac_exeext; then
8149 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8151 echo "$as_me: failed program was:" >&5
8152 sed 's/^/| /' conftest.
$ac_ext >&5
8154 ac_cv_lib_Xext_XShapeQueryExtension
=no
8157 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8158 conftest
$ac_exeext conftest.
$ac_ext
8159 LIBS
=$ac_check_lib_save_LIBS
8161 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8162 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8163 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8165 cat >>confdefs.h
<<\_ACEOF
8166 #define HAVE_LIBXSHAPE 1
8173 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8175 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8176 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
8177 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8178 echo $ECHO_N "(cached) $ECHO_C" >&6
8180 ac_check_lib_save_LIBS
=$LIBS
8181 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8182 cat >conftest.
$ac_ext <<_ACEOF
8185 cat confdefs.h
>>conftest.
$ac_ext
8186 cat >>conftest.
$ac_ext <<_ACEOF
8187 /* end confdefs.h. */
8189 /* Override any GCC internal prototype to avoid an error.
8190 Use char because int might match the return type of a GCC
8191 builtin and then its argument prototype would still apply. */
8195 char XF86VidModeQueryExtension ();
8199 return XF86VidModeQueryExtension ();
8204 rm -f conftest.
$ac_objext conftest
$ac_exeext
8205 if { (ac_try
="$ac_link"
8207 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8208 *) ac_try_echo=$ac_try;;
8210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8211 (eval "$ac_link") 2>conftest.er1
8213 grep -v '^ *+' conftest.er1 >conftest.err
8215 cat conftest.err >&5
8216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8217 (exit $ac_status); } && {
8218 test -z "$ac_c_werror_flag" ||
8219 test ! -s conftest.err
8220 } && test -s conftest$ac_exeext &&
8221 $as_test_x conftest$ac_exeext; then
8222 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
8224 echo "$as_me: failed program was:" >&5
8225 sed 's/^/| /' conftest.$ac_ext >&5
8227 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
8230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8231 conftest$ac_exeext conftest.$ac_ext
8232 LIBS=$ac_check_lib_save_LIBS
8234 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8235 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
8236 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8238 cat >>confdefs.h <<\_ACEOF
8239 #define HAVE_LIBXXF86VM 1
8242 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
8248 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8250 cat >conftest.$ac_ext <<_ACEOF
8253 cat confdefs.h >>conftest.$ac_ext
8254 cat >>conftest.$ac_ext <<_ACEOF
8255 /* end confdefs.h. */
8256 #include <X11/Xlib.h>
8257 #include <X11/extensions/Xrandr.h>
8261 static typeof(XRRSetScreenConfigAndRate) * func;
8266 rm -f conftest.$ac_objext
8267 if { (ac_try="$ac_compile"
8269 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8270 *) ac_try_echo
=$ac_try;;
8272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8273 (eval "$ac_compile") 2>conftest.er1
8275 grep -v '^ *+' conftest.er1
>conftest.err
8277 cat conftest.err
>&5
8278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8279 (exit $ac_status); } && {
8280 test -z "$ac_c_werror_flag" ||
8281 test ! -s conftest.err
8282 } && test -s conftest.
$ac_objext; then
8284 cat >>confdefs.h
<<\_ACEOF
8285 #define HAVE_LIBXRANDR 1
8289 echo "$as_me: failed program was:" >&5
8290 sed 's/^/| /' conftest.
$ac_ext >&5
8295 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8298 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8300 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8301 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
8302 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8303 echo $ECHO_N "(cached) $ECHO_C" >&6
8305 ac_check_lib_save_LIBS
=$LIBS
8306 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8307 cat >conftest.
$ac_ext <<_ACEOF
8310 cat confdefs.h
>>conftest.
$ac_ext
8311 cat >>conftest.
$ac_ext <<_ACEOF
8312 /* end confdefs.h. */
8314 /* Override any GCC internal prototype to avoid an error.
8315 Use char because int might match the return type of a GCC
8316 builtin and then its argument prototype would still apply. */
8320 char XRenderSetPictureTransform ();
8324 return XRenderSetPictureTransform ();
8329 rm -f conftest.
$ac_objext conftest
$ac_exeext
8330 if { (ac_try
="$ac_link"
8332 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8333 *) ac_try_echo=$ac_try;;
8335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8336 (eval "$ac_link") 2>conftest.er1
8338 grep -v '^ *+' conftest.er1 >conftest.err
8340 cat conftest.err >&5
8341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8342 (exit $ac_status); } && {
8343 test -z "$ac_c_werror_flag" ||
8344 test ! -s conftest.err
8345 } && test -s conftest$ac_exeext &&
8346 $as_test_x conftest$ac_exeext; then
8347 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8349 echo "$as_me: failed program was:" >&5
8350 sed 's/^/| /' conftest.$ac_ext >&5
8352 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8356 conftest$ac_exeext conftest.$ac_ext
8357 LIBS=$ac_check_lib_save_LIBS
8359 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8360 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8361 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8363 cat >>confdefs.h <<\_ACEOF
8364 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8371 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8373 cat >conftest.$ac_ext <<_ACEOF
8376 cat confdefs.h >>conftest.$ac_ext
8377 cat >>conftest.$ac_ext <<_ACEOF
8378 /* end confdefs.h. */
8379 #include <X11/Xlib.h>
8380 #include <X11/extensions/Xinerama.h>
8384 static typeof(XineramaQueryScreens) * func;
8389 rm -f conftest.$ac_objext
8390 if { (ac_try="$ac_compile"
8392 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8393 *) ac_try_echo
=$ac_try;;
8395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8396 (eval "$ac_compile") 2>conftest.er1
8398 grep -v '^ *+' conftest.er1
>conftest.err
8400 cat conftest.err
>&5
8401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8402 (exit $ac_status); } && {
8403 test -z "$ac_c_werror_flag" ||
8404 test ! -s conftest.err
8405 } && test -s conftest.
$ac_objext; then
8407 cat >>confdefs.h
<<\_ACEOF
8408 #define HAVE_LIBXINERAMA 1
8412 echo "$as_me: failed program was:" >&5
8413 sed 's/^/| /' conftest.
$ac_ext >&5
8418 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8422 if test "x$with_opengl" != "xno"
8428 for ac_header
in GL
/gl.h GL
/glx.h GL
/glext.h GL
/glu.h
8430 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8431 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8433 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8434 echo $ECHO_N "(cached) $ECHO_C" >&6
8436 cat >conftest.
$ac_ext <<_ACEOF
8439 cat confdefs.h
>>conftest.
$ac_ext
8440 cat >>conftest.
$ac_ext <<_ACEOF
8441 /* end confdefs.h. */
8442 #ifdef HAVE_GL_GLX_H
8443 # include <GL/glx.h>
8446 #include <$ac_header>
8448 rm -f conftest.
$ac_objext
8449 if { (ac_try
="$ac_compile"
8451 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8452 *) ac_try_echo=$ac_try;;
8454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8455 (eval "$ac_compile") 2>conftest.er1
8457 grep -v '^ *+' conftest.er1 >conftest.err
8459 cat conftest.err >&5
8460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8461 (exit $ac_status); } && {
8462 test -z "$ac_c_werror_flag" ||
8463 test ! -s conftest.err
8464 } && test -s conftest.$ac_objext; then
8465 eval "$as_ac_Header=yes"
8467 echo "$as_me: failed program was:" >&5
8468 sed 's/^/| /' conftest.$ac_ext >&5
8470 eval "$as_ac_Header=no"
8473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8475 ac_res=`eval echo '${'$as_ac_Header'}'`
8476 { echo "$as_me:$LINENO: result: $ac_res" >&5
8477 echo "${ECHO_T}$ac_res" >&6; }
8478 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8479 cat >>confdefs.h <<_ACEOF
8480 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8487 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8489 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8490 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
8491 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
8492 echo $ECHO_N "(cached) $ECHO_C" >&6
8494 cat >conftest.$ac_ext <<_ACEOF
8497 cat confdefs.h >>conftest.$ac_ext
8498 cat >>conftest.$ac_ext <<_ACEOF
8499 /* end confdefs.h. */
8504 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8509 rm -f conftest.$ac_objext
8510 if { (ac_try="$ac_compile"
8512 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8513 *) ac_try_echo
=$ac_try;;
8515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8516 (eval "$ac_compile") 2>conftest.er1
8518 grep -v '^ *+' conftest.er1
>conftest.err
8520 cat conftest.err
>&5
8521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8522 (exit $ac_status); } && {
8523 test -z "$ac_c_werror_flag" ||
8524 test ! -s conftest.err
8525 } && test -s conftest.
$ac_objext; then
8526 wine_cv_opengl_header_version_OK
="yes"
8528 echo "$as_me: failed program was:" >&5
8529 sed 's/^/| /' conftest.
$ac_ext >&5
8531 wine_cv_opengl_header_version_OK
="no"
8535 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8538 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
8539 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
8541 if test "$wine_cv_opengl_header_version_OK" = "yes"
8543 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8544 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
8545 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8546 echo $ECHO_N "(cached) $ECHO_C" >&6
8548 ac_check_lib_save_LIBS
=$LIBS
8549 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8550 cat >conftest.
$ac_ext <<_ACEOF
8553 cat confdefs.h
>>conftest.
$ac_ext
8554 cat >>conftest.
$ac_ext <<_ACEOF
8555 /* end confdefs.h. */
8557 /* Override any GCC internal prototype to avoid an error.
8558 Use char because int might match the return type of a GCC
8559 builtin and then its argument prototype would still apply. */
8563 char glXCreateContext ();
8567 return glXCreateContext ();
8572 rm -f conftest.
$ac_objext conftest
$ac_exeext
8573 if { (ac_try
="$ac_link"
8575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8576 *) ac_try_echo=$ac_try;;
8578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8579 (eval "$ac_link") 2>conftest.er1
8581 grep -v '^ *+' conftest.er1 >conftest.err
8583 cat conftest.err >&5
8584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8585 (exit $ac_status); } && {
8586 test -z "$ac_c_werror_flag" ||
8587 test ! -s conftest.err
8588 } && test -s conftest$ac_exeext &&
8589 $as_test_x conftest$ac_exeext; then
8590 ac_cv_lib_GL_glXCreateContext=yes
8592 echo "$as_me: failed program was:" >&5
8593 sed 's/^/| /' conftest.$ac_ext >&5
8595 ac_cv_lib_GL_glXCreateContext=no
8598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8599 conftest$ac_exeext conftest.$ac_ext
8600 LIBS=$ac_check_lib_save_LIBS
8602 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8603 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
8604 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8606 OPENGLFILES='$(OPENGLFILES)'
8608 cat >>confdefs.h <<\_ACEOF
8609 #define HAVE_OPENGL 1
8616 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8617 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
8618 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8619 echo $ECHO_N "(cached) $ECHO_C" >&6
8621 ac_check_lib_save_LIBS=$LIBS
8622 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8624 cat >conftest.$ac_ext <<_ACEOF
8627 cat confdefs.h >>conftest.$ac_ext
8628 cat >>conftest.$ac_ext <<_ACEOF
8629 /* end confdefs.h. */
8631 /* Override any GCC internal prototype to avoid an error.
8632 Use char because int might match the return type of a GCC
8633 builtin and then its argument prototype would still apply. */
8641 return gluLookAt ();
8646 rm -f conftest.$ac_objext conftest$ac_exeext
8647 if { (ac_try="$ac_link"
8649 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8650 *) ac_try_echo
=$ac_try;;
8652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8653 (eval "$ac_link") 2>conftest.er1
8655 grep -v '^ *+' conftest.er1
>conftest.err
8657 cat conftest.err
>&5
8658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8659 (exit $ac_status); } && {
8660 test -z "$ac_c_werror_flag" ||
8661 test ! -s conftest.err
8662 } && test -s conftest
$ac_exeext &&
8663 $as_test_x conftest
$ac_exeext; then
8664 ac_cv_lib_GLU_gluLookAt
=yes
8666 echo "$as_me: failed program was:" >&5
8667 sed 's/^/| /' conftest.
$ac_ext >&5
8669 ac_cv_lib_GLU_gluLookAt
=no
8672 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8673 conftest
$ac_exeext conftest.
$ac_ext
8674 LIBS
=$ac_check_lib_save_LIBS
8676 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8677 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
8678 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8679 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
8680 GLU32FILES
='$(GLU32FILES)'
8686 wine_cv_opengl_headers_found
="no"
8692 for ac_header
in audio
/audiolib.h
8694 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8695 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8696 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8697 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8698 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8699 echo $ECHO_N "(cached) $ECHO_C" >&6
8701 ac_res
=`eval echo '${'$as_ac_Header'}'`
8702 { echo "$as_me:$LINENO: result: $ac_res" >&5
8703 echo "${ECHO_T}$ac_res" >&6; }
8705 # Is the header compilable?
8706 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8707 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8708 cat >conftest.
$ac_ext <<_ACEOF
8711 cat confdefs.h
>>conftest.
$ac_ext
8712 cat >>conftest.
$ac_ext <<_ACEOF
8713 /* end confdefs.h. */
8714 $ac_includes_default
8715 #include <$ac_header>
8717 rm -f conftest.
$ac_objext
8718 if { (ac_try
="$ac_compile"
8720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8721 *) ac_try_echo=$ac_try;;
8723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8724 (eval "$ac_compile") 2>conftest.er1
8726 grep -v '^ *+' conftest.er1 >conftest.err
8728 cat conftest.err >&5
8729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8730 (exit $ac_status); } && {
8731 test -z "$ac_c_werror_flag" ||
8732 test ! -s conftest.err
8733 } && test -s conftest.$ac_objext; then
8734 ac_header_compiler=yes
8736 echo "$as_me: failed program was:" >&5
8737 sed 's/^/| /' conftest.$ac_ext >&5
8739 ac_header_compiler=no
8742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8743 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8744 echo "${ECHO_T}$ac_header_compiler" >&6; }
8746 # Is the header present?
8747 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8748 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8749 cat >conftest.$ac_ext <<_ACEOF
8752 cat confdefs.h >>conftest.$ac_ext
8753 cat >>conftest.$ac_ext <<_ACEOF
8754 /* end confdefs.h. */
8755 #include <$ac_header>
8757 if { (ac_try="$ac_cpp conftest.$ac_ext"
8759 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8760 *) ac_try_echo
=$ac_try;;
8762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8763 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8765 grep -v '^ *+' conftest.er1
>conftest.err
8767 cat conftest.err
>&5
8768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8769 (exit $ac_status); } >/dev
/null
&& {
8770 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8771 test ! -s conftest.err
8773 ac_header_preproc
=yes
8775 echo "$as_me: failed program was:" >&5
8776 sed 's/^/| /' conftest.
$ac_ext >&5
8778 ac_header_preproc
=no
8781 rm -f conftest.err conftest.
$ac_ext
8782 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8783 echo "${ECHO_T}$ac_header_preproc" >&6; }
8785 # So? What about this header?
8786 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8788 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8789 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8791 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8792 ac_header_preproc
=yes
8795 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8796 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8797 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8798 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8799 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8800 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8801 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8802 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8803 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8804 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8805 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8806 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8808 ## ------------------------------------ ##
8809 ## Report this to wine-devel@winehq.org ##
8810 ## ------------------------------------ ##
8812 ) |
sed "s/^/$as_me: WARNING: /" >&2
8815 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8817 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8818 echo $ECHO_N "(cached) $ECHO_C" >&6
8820 eval "$as_ac_Header=\$ac_header_preproc"
8822 ac_res
=`eval echo '${'$as_ac_Header'}'`
8823 { echo "$as_me:$LINENO: result: $ac_res" >&5
8824 echo "${ECHO_T}$ac_res" >&6; }
8827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8828 cat >>confdefs.h
<<_ACEOF
8829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8832 for ac_header
in audio
/soundlib.h
8834 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8835 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8837 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8838 echo $ECHO_N "(cached) $ECHO_C" >&6
8840 cat >conftest.
$ac_ext <<_ACEOF
8843 cat confdefs.h
>>conftest.
$ac_ext
8844 cat >>conftest.
$ac_ext <<_ACEOF
8845 /* end confdefs.h. */
8846 #include <audio/audiolib.h>
8848 #include <$ac_header>
8850 rm -f conftest.
$ac_objext
8851 if { (ac_try
="$ac_compile"
8853 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8854 *) ac_try_echo=$ac_try;;
8856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8857 (eval "$ac_compile") 2>conftest.er1
8859 grep -v '^ *+' conftest.er1 >conftest.err
8861 cat conftest.err >&5
8862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8863 (exit $ac_status); } && {
8864 test -z "$ac_c_werror_flag" ||
8865 test ! -s conftest.err
8866 } && test -s conftest.$ac_objext; then
8867 eval "$as_ac_Header=yes"
8869 echo "$as_me: failed program was:" >&5
8870 sed 's/^/| /' conftest.$ac_ext >&5
8872 eval "$as_ac_Header=no"
8875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8877 ac_res=`eval echo '${'$as_ac_Header'}'`
8878 { echo "$as_me:$LINENO: result: $ac_res" >&5
8879 echo "${ECHO_T}$ac_res" >&6; }
8880 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8881 cat >>confdefs.h <<_ACEOF
8882 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8889 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8890 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
8891 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8892 echo $ECHO_N "(cached) $ECHO_C" >&6
8894 ac_check_lib_save_LIBS=$LIBS
8895 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8896 cat >conftest.$ac_ext <<_ACEOF
8899 cat confdefs.h >>conftest.$ac_ext
8900 cat >>conftest.$ac_ext <<_ACEOF
8901 /* end confdefs.h. */
8903 /* Override any GCC internal prototype to avoid an error.
8904 Use char because int might match the return type of a GCC
8905 builtin and then its argument prototype would still apply. */
8909 char AuCreateFlow ();
8913 return AuCreateFlow ();
8918 rm -f conftest.$ac_objext conftest$ac_exeext
8919 if { (ac_try="$ac_link"
8921 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8922 *) ac_try_echo
=$ac_try;;
8924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8925 (eval "$ac_link") 2>conftest.er1
8927 grep -v '^ *+' conftest.er1
>conftest.err
8929 cat conftest.err
>&5
8930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8931 (exit $ac_status); } && {
8932 test -z "$ac_c_werror_flag" ||
8933 test ! -s conftest.err
8934 } && test -s conftest
$ac_exeext &&
8935 $as_test_x conftest
$ac_exeext; then
8936 ac_cv_lib_audio_AuCreateFlow
=yes
8938 echo "$as_me: failed program was:" >&5
8939 sed 's/^/| /' conftest.
$ac_ext >&5
8941 ac_cv_lib_audio_AuCreateFlow
=no
8944 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8945 conftest
$ac_exeext conftest.
$ac_ext
8946 LIBS
=$ac_check_lib_save_LIBS
8948 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8949 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
8950 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8952 cat >>confdefs.h
<<\_ACEOF
8956 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8964 CPPFLAGS
="$ac_save_CPPFLAGS"
8981 if test "$PKG_CONFIG" != "false"
8983 ac_save_CPPFLAGS
="$CPPFLAGS"
8984 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
8985 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
8986 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
8988 for ac_header
in libxml
/parser.h
8990 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8991 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8992 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8994 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8995 echo $ECHO_N "(cached) $ECHO_C" >&6
8997 ac_res
=`eval echo '${'$as_ac_Header'}'`
8998 { echo "$as_me:$LINENO: result: $ac_res" >&5
8999 echo "${ECHO_T}$ac_res" >&6; }
9001 # Is the header compilable?
9002 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9003 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9004 cat >conftest.
$ac_ext <<_ACEOF
9007 cat confdefs.h
>>conftest.
$ac_ext
9008 cat >>conftest.
$ac_ext <<_ACEOF
9009 /* end confdefs.h. */
9010 $ac_includes_default
9011 #include <$ac_header>
9013 rm -f conftest.
$ac_objext
9014 if { (ac_try
="$ac_compile"
9016 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9017 *) ac_try_echo=$ac_try;;
9019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9020 (eval "$ac_compile") 2>conftest.er1
9022 grep -v '^ *+' conftest.er1 >conftest.err
9024 cat conftest.err >&5
9025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9026 (exit $ac_status); } && {
9027 test -z "$ac_c_werror_flag" ||
9028 test ! -s conftest.err
9029 } && test -s conftest.$ac_objext; then
9030 ac_header_compiler=yes
9032 echo "$as_me: failed program was:" >&5
9033 sed 's/^/| /' conftest.$ac_ext >&5
9035 ac_header_compiler=no
9038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9039 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9040 echo "${ECHO_T}$ac_header_compiler" >&6; }
9042 # Is the header present?
9043 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9044 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9045 cat >conftest.$ac_ext <<_ACEOF
9048 cat confdefs.h >>conftest.$ac_ext
9049 cat >>conftest.$ac_ext <<_ACEOF
9050 /* end confdefs.h. */
9051 #include <$ac_header>
9053 if { (ac_try="$ac_cpp conftest.$ac_ext"
9055 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9056 *) ac_try_echo
=$ac_try;;
9058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9059 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9061 grep -v '^ *+' conftest.er1
>conftest.err
9063 cat conftest.err
>&5
9064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9065 (exit $ac_status); } >/dev
/null
&& {
9066 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9067 test ! -s conftest.err
9069 ac_header_preproc
=yes
9071 echo "$as_me: failed program was:" >&5
9072 sed 's/^/| /' conftest.
$ac_ext >&5
9074 ac_header_preproc
=no
9077 rm -f conftest.err conftest.
$ac_ext
9078 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9079 echo "${ECHO_T}$ac_header_preproc" >&6; }
9081 # So? What about this header?
9082 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9084 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9085 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9086 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9087 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9088 ac_header_preproc
=yes
9091 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9092 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9093 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9094 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9095 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9096 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9097 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9098 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9099 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9100 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9101 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9102 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9104 ## ------------------------------------ ##
9105 ## Report this to wine-devel@winehq.org ##
9106 ## ------------------------------------ ##
9108 ) |
sed "s/^/$as_me: WARNING: /" >&2
9111 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9113 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9114 echo $ECHO_N "(cached) $ECHO_C" >&6
9116 eval "$as_ac_Header=\$ac_header_preproc"
9118 ac_res
=`eval echo '${'$as_ac_Header'}'`
9119 { echo "$as_me:$LINENO: result: $ac_res" >&5
9120 echo "${ECHO_T}$ac_res" >&6; }
9123 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9124 cat >>confdefs.h
<<_ACEOF
9125 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9127 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
9128 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
9129 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
9130 echo $ECHO_N "(cached) $ECHO_C" >&6
9132 ac_check_lib_save_LIBS
=$LIBS
9133 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9134 cat >conftest.
$ac_ext <<_ACEOF
9137 cat confdefs.h
>>conftest.
$ac_ext
9138 cat >>conftest.
$ac_ext <<_ACEOF
9139 /* end confdefs.h. */
9141 /* Override any GCC internal prototype to avoid an error.
9142 Use char because int might match the return type of a GCC
9143 builtin and then its argument prototype would still apply. */
9147 char xmlParseMemory ();
9151 return xmlParseMemory ();
9156 rm -f conftest.
$ac_objext conftest
$ac_exeext
9157 if { (ac_try
="$ac_link"
9159 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9160 *) ac_try_echo=$ac_try;;
9162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9163 (eval "$ac_link") 2>conftest.er1
9165 grep -v '^ *+' conftest.er1 >conftest.err
9167 cat conftest.err >&5
9168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9169 (exit $ac_status); } && {
9170 test -z "$ac_c_werror_flag" ||
9171 test ! -s conftest.err
9172 } && test -s conftest$ac_exeext &&
9173 $as_test_x conftest$ac_exeext; then
9174 ac_cv_lib_xml2_xmlParseMemory=yes
9176 echo "$as_me: failed program was:" >&5
9177 sed 's/^/| /' conftest.$ac_ext >&5
9179 ac_cv_lib_xml2_xmlParseMemory=no
9182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9183 conftest$ac_exeext conftest.$ac_ext
9184 LIBS=$ac_check_lib_save_LIBS
9186 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9187 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9188 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
9190 cat >>confdefs.h <<\_ACEOF
9191 #define HAVE_LIBXML2 1
9194 XML2LIBS="$ac_xml_libs"
9195 XML2INCL="$ac_xml_cflags"
9198 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
9199 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
9200 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
9201 echo $ECHO_N "(cached) $ECHO_C" >&6
9203 ac_check_lib_save_LIBS=$LIBS
9204 LIBS="-lxml2 $ac_xml_libs $LIBS"
9205 cat >conftest.$ac_ext <<_ACEOF
9208 cat confdefs.h >>conftest.$ac_ext
9209 cat >>conftest.$ac_ext <<_ACEOF
9210 /* end confdefs.h. */
9212 /* Override any GCC internal prototype to avoid an error.
9213 Use char because int might match the return type of a GCC
9214 builtin and then its argument prototype would still apply. */
9218 char xmlReadMemory ();
9222 return xmlReadMemory ();
9227 rm -f conftest.$ac_objext conftest$ac_exeext
9228 if { (ac_try="$ac_link"
9230 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9231 *) ac_try_echo
=$ac_try;;
9233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9234 (eval "$ac_link") 2>conftest.er1
9236 grep -v '^ *+' conftest.er1
>conftest.err
9238 cat conftest.err
>&5
9239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9240 (exit $ac_status); } && {
9241 test -z "$ac_c_werror_flag" ||
9242 test ! -s conftest.err
9243 } && test -s conftest
$ac_exeext &&
9244 $as_test_x conftest
$ac_exeext; then
9245 ac_cv_lib_xml2_xmlReadMemory
=yes
9247 echo "$as_me: failed program was:" >&5
9248 sed 's/^/| /' conftest.
$ac_ext >&5
9250 ac_cv_lib_xml2_xmlReadMemory
=no
9253 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9254 conftest
$ac_exeext conftest.
$ac_ext
9255 LIBS
=$ac_check_lib_save_LIBS
9257 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9258 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9259 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
9261 cat >>confdefs.h
<<\_ACEOF
9262 #define HAVE_XMLREADMEMORY 1
9267 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
9268 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
9269 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
9270 echo $ECHO_N "(cached) $ECHO_C" >&6
9272 ac_check_lib_save_LIBS
=$LIBS
9273 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9274 cat >conftest.
$ac_ext <<_ACEOF
9277 cat confdefs.h
>>conftest.
$ac_ext
9278 cat >>conftest.
$ac_ext <<_ACEOF
9279 /* end confdefs.h. */
9281 /* Override any GCC internal prototype to avoid an error.
9282 Use char because int might match the return type of a GCC
9283 builtin and then its argument prototype would still apply. */
9287 char xmlNewDocPI ();
9291 return xmlNewDocPI ();
9296 rm -f conftest.
$ac_objext conftest
$ac_exeext
9297 if { (ac_try
="$ac_link"
9299 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9300 *) ac_try_echo=$ac_try;;
9302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9303 (eval "$ac_link") 2>conftest.er1
9305 grep -v '^ *+' conftest.er1 >conftest.err
9307 cat conftest.err >&5
9308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9309 (exit $ac_status); } && {
9310 test -z "$ac_c_werror_flag" ||
9311 test ! -s conftest.err
9312 } && test -s conftest$ac_exeext &&
9313 $as_test_x conftest$ac_exeext; then
9314 ac_cv_lib_xml2_xmlNewDocPI=yes
9316 echo "$as_me: failed program was:" >&5
9317 sed 's/^/| /' conftest.$ac_ext >&5
9319 ac_cv_lib_xml2_xmlNewDocPI=no
9322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9323 conftest$ac_exeext conftest.$ac_ext
9324 LIBS=$ac_check_lib_save_LIBS
9326 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9327 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9328 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
9330 cat >>confdefs.h <<\_ACEOF
9331 #define HAVE_XMLNEWDOCPI 1
9341 CPPFLAGS="$ac_save_CPPFLAGS"
9342 ac_xslt_libs="`$PKG_CONFIG --libs libxslt
2>/dev
/null
`"
9343 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt
2>/dev
/null
`"
9344 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9347 for ac_header in libxslt/pattern.h libxslt/transform.h
9349 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9350 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9352 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9353 echo $ECHO_N "(cached) $ECHO_C" >&6
9355 cat >conftest.$ac_ext <<_ACEOF
9358 cat confdefs.h >>conftest.$ac_ext
9359 cat >>conftest.$ac_ext <<_ACEOF
9360 /* end confdefs.h. */
9361 #ifdef HAVE_LIBXSLT_PATTERN_H
9362 # include <libxslt/pattern.h>
9365 #include <$ac_header>
9367 rm -f conftest.$ac_objext
9368 if { (ac_try="$ac_compile"
9370 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9371 *) ac_try_echo
=$ac_try;;
9373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9374 (eval "$ac_compile") 2>conftest.er1
9376 grep -v '^ *+' conftest.er1
>conftest.err
9378 cat conftest.err
>&5
9379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9380 (exit $ac_status); } && {
9381 test -z "$ac_c_werror_flag" ||
9382 test ! -s conftest.err
9383 } && test -s conftest.
$ac_objext; then
9384 eval "$as_ac_Header=yes"
9386 echo "$as_me: failed program was:" >&5
9387 sed 's/^/| /' conftest.
$ac_ext >&5
9389 eval "$as_ac_Header=no"
9392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9394 ac_res
=`eval echo '${'$as_ac_Header'}'`
9395 { echo "$as_me:$LINENO: result: $ac_res" >&5
9396 echo "${ECHO_T}$ac_res" >&6; }
9397 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9398 cat >>confdefs.h
<<_ACEOF
9399 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9401 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
9402 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
9403 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
9404 echo $ECHO_N "(cached) $ECHO_C" >&6
9406 ac_check_lib_save_LIBS
=$LIBS
9407 LIBS
="-lxslt $ac_xslt_libs $LIBS"
9408 cat >conftest.
$ac_ext <<_ACEOF
9411 cat confdefs.h
>>conftest.
$ac_ext
9412 cat >>conftest.
$ac_ext <<_ACEOF
9413 /* end confdefs.h. */
9415 /* Override any GCC internal prototype to avoid an error.
9416 Use char because int might match the return type of a GCC
9417 builtin and then its argument prototype would still apply. */
9421 char xsltCompilePattern ();
9425 return xsltCompilePattern ();
9430 rm -f conftest.
$ac_objext conftest
$ac_exeext
9431 if { (ac_try
="$ac_link"
9433 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9434 *) ac_try_echo=$ac_try;;
9436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9437 (eval "$ac_link") 2>conftest.er1
9439 grep -v '^ *+' conftest.er1 >conftest.err
9441 cat conftest.err >&5
9442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9443 (exit $ac_status); } && {
9444 test -z "$ac_c_werror_flag" ||
9445 test ! -s conftest.err
9446 } && test -s conftest$ac_exeext &&
9447 $as_test_x conftest$ac_exeext; then
9448 ac_cv_lib_xslt_xsltCompilePattern=yes
9450 echo "$as_me: failed program was:" >&5
9451 sed 's/^/| /' conftest.$ac_ext >&5
9453 ac_cv_lib_xslt_xsltCompilePattern=no
9456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9457 conftest$ac_exeext conftest.$ac_ext
9458 LIBS=$ac_check_lib_save_LIBS
9460 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
9461 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
9462 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
9464 cat >>confdefs.h <<\_ACEOF
9465 #define HAVE_LIBXSLT 1
9468 XSLTLIBS="$ac_xslt_libs"
9469 XSLTINCL="$ac_xslt_cflags"
9477 CPPFLAGS="$ac_save_CPPFLAGS"
9482 if test "$PKG_CONFIG" != "false"
9484 ac_save_CPPFLAGS="$CPPFLAGS"
9485 ac_hal_libs="`$PKG_CONFIG --libs hal
2>/dev
/null
`"
9486 ac_hal_cflags="`$PKG_CONFIG --cflags hal
2>/dev
/null
`"
9487 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9490 for ac_header in dbus/dbus.h hal/libhal.h
9492 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9493 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9494 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9496 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9497 echo $ECHO_N "(cached) $ECHO_C" >&6
9499 ac_res=`eval echo '${'$as_ac_Header'}'`
9500 { echo "$as_me:$LINENO: result: $ac_res" >&5
9501 echo "${ECHO_T}$ac_res" >&6; }
9503 # Is the header compilable?
9504 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9505 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9506 cat >conftest.$ac_ext <<_ACEOF
9509 cat confdefs.h >>conftest.$ac_ext
9510 cat >>conftest.$ac_ext <<_ACEOF
9511 /* end confdefs.h. */
9512 $ac_includes_default
9513 #include <$ac_header>
9515 rm -f conftest.$ac_objext
9516 if { (ac_try="$ac_compile"
9518 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9519 *) ac_try_echo
=$ac_try;;
9521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9522 (eval "$ac_compile") 2>conftest.er1
9524 grep -v '^ *+' conftest.er1
>conftest.err
9526 cat conftest.err
>&5
9527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9528 (exit $ac_status); } && {
9529 test -z "$ac_c_werror_flag" ||
9530 test ! -s conftest.err
9531 } && test -s conftest.
$ac_objext; then
9532 ac_header_compiler
=yes
9534 echo "$as_me: failed program was:" >&5
9535 sed 's/^/| /' conftest.
$ac_ext >&5
9537 ac_header_compiler
=no
9540 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9541 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9542 echo "${ECHO_T}$ac_header_compiler" >&6; }
9544 # Is the header present?
9545 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9546 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9547 cat >conftest.
$ac_ext <<_ACEOF
9550 cat confdefs.h
>>conftest.
$ac_ext
9551 cat >>conftest.
$ac_ext <<_ACEOF
9552 /* end confdefs.h. */
9553 #include <$ac_header>
9555 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9558 *) ac_try_echo=$ac_try;;
9560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9561 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9563 grep -v '^ *+' conftest.er1 >conftest.err
9565 cat conftest.err >&5
9566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9567 (exit $ac_status); } >/dev/null && {
9568 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9569 test ! -s conftest.err
9571 ac_header_preproc=yes
9573 echo "$as_me: failed program was:" >&5
9574 sed 's/^/| /' conftest.$ac_ext >&5
9576 ac_header_preproc=no
9579 rm -f conftest.err conftest.$ac_ext
9580 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9581 echo "${ECHO_T}$ac_header_preproc" >&6; }
9583 # So? What about this header?
9584 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9586 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9587 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9589 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9590 ac_header_preproc=yes
9593 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9594 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9595 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9596 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9597 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9598 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9599 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9600 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9602 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9603 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9604 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9606 ## ------------------------------------ ##
9607 ## Report this to wine-devel@winehq.org ##
9608 ## ------------------------------------ ##
9610 ) | sed "s/^/$as_me: WARNING: /" >&2
9613 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9615 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9616 echo $ECHO_N "(cached) $ECHO_C" >&6
9618 eval "$as_ac_Header=\$ac_header_preproc"
9620 ac_res=`eval echo '${'$as_ac_Header'}'`
9621 { echo "$as_me:$LINENO: result: $ac_res" >&5
9622 echo "${ECHO_T}$ac_res" >&6; }
9625 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9626 cat >>confdefs.h <<_ACEOF
9627 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9634 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9636 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
9637 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
9638 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
9639 echo $ECHO_N "(cached) $ECHO_C" >&6
9641 ac_check_lib_save_LIBS=$LIBS
9643 cat >conftest.$ac_ext <<_ACEOF
9646 cat confdefs.h >>conftest.$ac_ext
9647 cat >>conftest.$ac_ext <<_ACEOF
9648 /* end confdefs.h. */
9650 /* Override any GCC internal prototype to avoid an error.
9651 Use char because int might match the return type of a GCC
9652 builtin and then its argument prototype would still apply. */
9656 char libhal_ctx_new ();
9660 return libhal_ctx_new ();
9665 rm -f conftest.$ac_objext conftest$ac_exeext
9666 if { (ac_try="$ac_link"
9668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9669 *) ac_try_echo
=$ac_try;;
9671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9672 (eval "$ac_link") 2>conftest.er1
9674 grep -v '^ *+' conftest.er1
>conftest.err
9676 cat conftest.err
>&5
9677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9678 (exit $ac_status); } && {
9679 test -z "$ac_c_werror_flag" ||
9680 test ! -s conftest.err
9681 } && test -s conftest
$ac_exeext &&
9682 $as_test_x conftest
$ac_exeext; then
9683 ac_cv_lib_hal_libhal_ctx_new
=yes
9685 echo "$as_me: failed program was:" >&5
9686 sed 's/^/| /' conftest.
$ac_ext >&5
9688 ac_cv_lib_hal_libhal_ctx_new
=no
9691 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9692 conftest
$ac_exeext conftest.
$ac_ext
9693 LIBS
=$ac_check_lib_save_LIBS
9695 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
9696 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
9697 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
9698 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
9699 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
9700 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
9701 echo $ECHO_N "(cached) $ECHO_C" >&6
9703 ac_check_lib_save_LIBS
=$LIBS
9704 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
9705 cat >conftest.
$ac_ext <<_ACEOF
9708 cat confdefs.h
>>conftest.
$ac_ext
9709 cat >>conftest.
$ac_ext <<_ACEOF
9710 /* end confdefs.h. */
9712 /* Override any GCC internal prototype to avoid an error.
9713 Use char because int might match the return type of a GCC
9714 builtin and then its argument prototype would still apply. */
9718 char dbus_connection_close ();
9722 return dbus_connection_close ();
9727 rm -f conftest.
$ac_objext conftest
$ac_exeext
9728 if { (ac_try
="$ac_link"
9730 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9731 *) ac_try_echo=$ac_try;;
9733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9734 (eval "$ac_link") 2>conftest.er1
9736 grep -v '^ *+' conftest.er1 >conftest.err
9738 cat conftest.err >&5
9739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9740 (exit $ac_status); } && {
9741 test -z "$ac_c_werror_flag" ||
9742 test ! -s conftest.err
9743 } && test -s conftest$ac_exeext &&
9744 $as_test_x conftest$ac_exeext; then
9745 ac_cv_lib_dbus_1_dbus_connection_close=yes
9747 echo "$as_me: failed program was:" >&5
9748 sed 's/^/| /' conftest.$ac_ext >&5
9750 ac_cv_lib_dbus_1_dbus_connection_close=no
9753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9754 conftest$ac_exeext conftest.$ac_ext
9755 LIBS=$ac_check_lib_save_LIBS
9757 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9758 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9759 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
9761 cat >>confdefs.h <<\_ACEOF
9762 #define HAVE_LIBHAL 1
9765 HALINCL="$ac_hal_cflags"
9771 CPPFLAGS="$ac_save_CPPFLAGS"
9775 if test "$ac_cv_header_ncurses_h" = "yes"
9777 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9778 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
9779 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9780 echo $ECHO_N "(cached) $ECHO_C" >&6
9782 ac_check_lib_save_LIBS=$LIBS
9783 LIBS="-lncurses $LIBS"
9784 cat >conftest.$ac_ext <<_ACEOF
9787 cat confdefs.h >>conftest.$ac_ext
9788 cat >>conftest.$ac_ext <<_ACEOF
9789 /* end confdefs.h. */
9791 /* Override any GCC internal prototype to avoid an error.
9792 Use char because int might match the return type of a GCC
9793 builtin and then its argument prototype would still apply. */
9806 rm -f conftest.$ac_objext conftest$ac_exeext
9807 if { (ac_try="$ac_link"
9809 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9810 *) ac_try_echo
=$ac_try;;
9812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9813 (eval "$ac_link") 2>conftest.er1
9815 grep -v '^ *+' conftest.er1
>conftest.err
9817 cat conftest.err
>&5
9818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9819 (exit $ac_status); } && {
9820 test -z "$ac_c_werror_flag" ||
9821 test ! -s conftest.err
9822 } && test -s conftest
$ac_exeext &&
9823 $as_test_x conftest
$ac_exeext; then
9824 ac_cv_lib_ncurses_waddch
=yes
9826 echo "$as_me: failed program was:" >&5
9827 sed 's/^/| /' conftest.
$ac_ext >&5
9829 ac_cv_lib_ncurses_waddch
=no
9832 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9833 conftest
$ac_exeext conftest.
$ac_ext
9834 LIBS
=$ac_check_lib_save_LIBS
9836 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9837 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
9838 if test $ac_cv_lib_ncurses_waddch = yes; then
9839 CURSESLIBS
="-lncurses"
9842 elif test "$ac_cv_header_curses_h" = "yes"
9844 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9845 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
9846 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9847 echo $ECHO_N "(cached) $ECHO_C" >&6
9849 ac_check_lib_save_LIBS
=$LIBS
9850 LIBS
="-lcurses $LIBS"
9851 cat >conftest.
$ac_ext <<_ACEOF
9854 cat confdefs.h
>>conftest.
$ac_ext
9855 cat >>conftest.
$ac_ext <<_ACEOF
9856 /* end confdefs.h. */
9858 /* Override any GCC internal prototype to avoid an error.
9859 Use char because int might match the return type of a GCC
9860 builtin and then its argument prototype would still apply. */
9873 rm -f conftest.
$ac_objext conftest
$ac_exeext
9874 if { (ac_try
="$ac_link"
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_link") 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_exeext &&
9890 $as_test_x conftest$ac_exeext; then
9891 ac_cv_lib_curses_waddch=yes
9893 echo "$as_me: failed program was:" >&5
9894 sed 's/^/| /' conftest.$ac_ext >&5
9896 ac_cv_lib_curses_waddch=no
9899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9900 conftest$ac_exeext conftest.$ac_ext
9901 LIBS=$ac_check_lib_save_LIBS
9903 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9904 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
9905 if test $ac_cv_lib_curses_waddch = yes; then
9906 CURSESLIBS="-lcurses"
9910 ac_save_LIBS="$LIBS"
9911 LIBS="$LIBS $CURSESLIBS"
9913 for ac_func in mousemask
9915 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
9916 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9918 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9919 echo $ECHO_N "(cached) $ECHO_C" >&6
9921 cat >conftest.$ac_ext <<_ACEOF
9924 cat confdefs.h >>conftest.$ac_ext
9925 cat >>conftest.$ac_ext <<_ACEOF
9926 /* end confdefs.h. */
9927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9929 #define $ac_func innocuous_$ac_func
9931 /* System header to define __stub macros and hopefully few prototypes,
9932 which can conflict with char $ac_func (); below.
9933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9934 <limits.h> exists even on freestanding compilers. */
9937 # include <limits.h>
9939 # include <assert.h>
9944 /* Override any GCC internal prototype to avoid an error.
9945 Use char because int might match the return type of a GCC
9946 builtin and then its argument prototype would still apply. */
9951 /* The GNU C library defines this for functions which it implements
9952 to always fail with ENOSYS. Some functions are actually named
9953 something starting with __ and the normal name is an alias. */
9954 #if defined __stub_$ac_func || defined __stub___$ac_func
9966 rm -f conftest.$ac_objext conftest$ac_exeext
9967 if { (ac_try="$ac_link"
9969 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9970 *) ac_try_echo
=$ac_try;;
9972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9973 (eval "$ac_link") 2>conftest.er1
9975 grep -v '^ *+' conftest.er1
>conftest.err
9977 cat conftest.err
>&5
9978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9979 (exit $ac_status); } && {
9980 test -z "$ac_c_werror_flag" ||
9981 test ! -s conftest.err
9982 } && test -s conftest
$ac_exeext &&
9983 $as_test_x conftest
$ac_exeext; then
9984 eval "$as_ac_var=yes"
9986 echo "$as_me: failed program was:" >&5
9987 sed 's/^/| /' conftest.
$ac_ext >&5
9989 eval "$as_ac_var=no"
9992 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9993 conftest
$ac_exeext conftest.
$ac_ext
9995 ac_res
=`eval echo '${'$as_ac_var'}'`
9996 { echo "$as_me:$LINENO: result: $ac_res" >&5
9997 echo "${ECHO_T}$ac_res" >&6; }
9998 if test `eval echo '${'$as_ac_var'}'` = yes; then
9999 cat >>confdefs.h
<<_ACEOF
10000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10006 LIBS
="$ac_save_LIBS"
10008 # Extract the first word of "sane-config", so it can be a program name with args.
10009 set dummy sane-config
; ac_word
=$2
10010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10012 if test "${ac_cv_prog_sane_devel+set}" = set; then
10013 echo $ECHO_N "(cached) $ECHO_C" >&6
10015 if test -n "$sane_devel"; then
10016 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
10018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10019 for as_dir
in $PATH
10022 test -z "$as_dir" && as_dir
=.
10023 for ac_exec_ext
in '' $ac_executable_extensions; do
10024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10025 ac_cv_prog_sane_devel
="sane-config"
10026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10033 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
10036 sane_devel
=$ac_cv_prog_sane_devel
10037 if test -n "$sane_devel"; then
10038 { echo "$as_me:$LINENO: result: $sane_devel" >&5
10039 echo "${ECHO_T}$sane_devel" >&6; }
10041 { echo "$as_me:$LINENO: result: no" >&5
10042 echo "${ECHO_T}no" >&6; }
10050 if test "$sane_devel" != "no"
10052 SANELIBS
="`$sane_devel --libs`"
10053 SANEINCL
="`$sane_devel --cflags`"
10054 ac_save_CPPFLAGS
="$CPPFLAGS"
10055 ac_save_LIBS
="$LIBS"
10056 CPPFLAGS
="$CPPFLAGS $SANEINCL"
10057 LIBS
="$LIBS $SANELIBS"
10058 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10059 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10060 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10061 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10062 echo $ECHO_N "(cached) $ECHO_C" >&6
10064 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10065 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10067 # Is the header compilable?
10068 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
10069 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
10070 cat >conftest.
$ac_ext <<_ACEOF
10073 cat confdefs.h
>>conftest.
$ac_ext
10074 cat >>conftest.
$ac_ext <<_ACEOF
10075 /* end confdefs.h. */
10076 $ac_includes_default
10077 #include <sane/sane.h>
10079 rm -f conftest.
$ac_objext
10080 if { (ac_try
="$ac_compile"
10081 case "(($ac_try" in
10082 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10083 *) ac_try_echo=$ac_try;;
10085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10086 (eval "$ac_compile") 2>conftest.er1
10088 grep -v '^ *+' conftest.er1 >conftest.err
10090 cat conftest.err >&5
10091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10092 (exit $ac_status); } && {
10093 test -z "$ac_c_werror_flag" ||
10094 test ! -s conftest.err
10095 } && test -s conftest.$ac_objext; then
10096 ac_header_compiler=yes
10098 echo "$as_me: failed program was:" >&5
10099 sed 's/^/| /' conftest.$ac_ext >&5
10101 ac_header_compiler=no
10104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10105 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10106 echo "${ECHO_T}$ac_header_compiler" >&6; }
10108 # Is the header present?
10109 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
10110 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
10111 cat >conftest.$ac_ext <<_ACEOF
10114 cat confdefs.h >>conftest.$ac_ext
10115 cat >>conftest.$ac_ext <<_ACEOF
10116 /* end confdefs.h. */
10117 #include <sane/sane.h>
10119 if { (ac_try="$ac_cpp conftest.$ac_ext"
10120 case "(($ac_try" in
10121 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10122 *) ac_try_echo
=$ac_try;;
10124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10125 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10127 grep -v '^ *+' conftest.er1
>conftest.err
10129 cat conftest.err
>&5
10130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10131 (exit $ac_status); } >/dev
/null
&& {
10132 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10133 test ! -s conftest.err
10135 ac_header_preproc
=yes
10137 echo "$as_me: failed program was:" >&5
10138 sed 's/^/| /' conftest.
$ac_ext >&5
10140 ac_header_preproc
=no
10143 rm -f conftest.err conftest.
$ac_ext
10144 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10145 echo "${ECHO_T}$ac_header_preproc" >&6; }
10147 # So? What about this header?
10148 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10150 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10151 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10152 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10153 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10154 ac_header_preproc
=yes
10157 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10158 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10159 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10160 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10161 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10162 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10163 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10164 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10165 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10166 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10167 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10168 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10170 ## ------------------------------------ ##
10171 ## Report this to wine-devel@winehq.org ##
10172 ## ------------------------------------ ##
10174 ) |
sed "s/^/$as_me: WARNING: /" >&2
10177 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10178 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10179 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10180 echo $ECHO_N "(cached) $ECHO_C" >&6
10182 ac_cv_header_sane_sane_h
=$ac_header_preproc
10184 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10185 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10188 if test $ac_cv_header_sane_sane_h = yes; then
10189 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
10190 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
10191 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
10192 echo $ECHO_N "(cached) $ECHO_C" >&6
10194 ac_check_lib_save_LIBS
=$LIBS
10195 LIBS
="-lsane $LIBS"
10196 cat >conftest.
$ac_ext <<_ACEOF
10199 cat confdefs.h
>>conftest.
$ac_ext
10200 cat >>conftest.
$ac_ext <<_ACEOF
10201 /* end confdefs.h. */
10203 /* Override any GCC internal prototype to avoid an error.
10204 Use char because int might match the return type of a GCC
10205 builtin and then its argument prototype would still apply. */
10213 return sane_open ();
10218 rm -f conftest.
$ac_objext conftest
$ac_exeext
10219 if { (ac_try
="$ac_link"
10220 case "(($ac_try" in
10221 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10222 *) ac_try_echo=$ac_try;;
10224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10225 (eval "$ac_link") 2>conftest.er1
10227 grep -v '^ *+' conftest.er1 >conftest.err
10229 cat conftest.err >&5
10230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10231 (exit $ac_status); } && {
10232 test -z "$ac_c_werror_flag" ||
10233 test ! -s conftest.err
10234 } && test -s conftest$ac_exeext &&
10235 $as_test_x conftest$ac_exeext; then
10236 ac_cv_lib_sane_sane_open=yes
10238 echo "$as_me: failed program was:" >&5
10239 sed 's/^/| /' conftest.$ac_ext >&5
10241 ac_cv_lib_sane_sane_open=no
10244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10245 conftest$ac_exeext conftest.$ac_ext
10246 LIBS=$ac_check_lib_save_LIBS
10248 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
10249 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
10250 if test $ac_cv_lib_sane_sane_open = yes; then
10252 cat >>confdefs.h <<\_ACEOF
10253 #define HAVE_SANE 1
10267 LIBS="$ac_save_LIBS"
10268 CPPFLAGS="$ac_save_CPPFLAGS"
10271 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10272 set dummy gphoto2-config; ac_word=$2
10273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10275 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
10276 echo $ECHO_N "(cached) $ECHO_C" >&6
10278 if test -n "$gphoto2_devel"; then
10279 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10282 for as_dir in $PATH
10285 test -z "$as_dir" && as_dir=.
10286 for ac_exec_ext in '' $ac_executable_extensions; do
10287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10288 ac_cv_prog_gphoto2_devel="gphoto2-config"
10289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10296 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10299 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10300 if test -n "$gphoto2_devel"; then
10301 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10302 echo "${ECHO_T}$gphoto2_devel" >&6; }
10304 { echo "$as_me:$LINENO: result: no" >&5
10305 echo "${ECHO_T}no" >&6; }
10309 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10310 set dummy gphoto2-port-config; ac_word=$2
10311 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10313 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
10314 echo $ECHO_N "(cached) $ECHO_C" >&6
10316 if test -n "$gphoto2port_devel"; then
10317 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10320 for as_dir in $PATH
10323 test -z "$as_dir" && as_dir=.
10324 for ac_exec_ext in '' $ac_executable_extensions; do
10325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10326 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10334 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10337 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10338 if test -n "$gphoto2port_devel"; then
10339 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
10340 echo "${ECHO_T}$gphoto2port_devel" >&6; }
10342 { echo "$as_me:$LINENO: result: no" >&5
10343 echo "${ECHO_T}no" >&6; }
10351 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10353 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10355 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10358 -L/usr/lib|-L/usr/lib64) ;;
10359 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
10362 ac_save_CPPFLAGS="$CPPFLAGS"
10363 ac_save_LIBS="$LIBS"
10364 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
10365 LIBS="$LIBS $GPHOTO2LIBS"
10366 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10367 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10368 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10369 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10370 echo $ECHO_N "(cached) $ECHO_C" >&6
10372 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10373 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10375 # Is the header compilable?
10376 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
10377 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
10378 cat >conftest.$ac_ext <<_ACEOF
10381 cat confdefs.h >>conftest.$ac_ext
10382 cat >>conftest.$ac_ext <<_ACEOF
10383 /* end confdefs.h. */
10384 $ac_includes_default
10385 #include <gphoto2-camera.h>
10387 rm -f conftest.$ac_objext
10388 if { (ac_try="$ac_compile"
10389 case "(($ac_try" in
10390 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10391 *) ac_try_echo
=$ac_try;;
10393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10394 (eval "$ac_compile") 2>conftest.er1
10396 grep -v '^ *+' conftest.er1
>conftest.err
10398 cat conftest.err
>&5
10399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10400 (exit $ac_status); } && {
10401 test -z "$ac_c_werror_flag" ||
10402 test ! -s conftest.err
10403 } && test -s conftest.
$ac_objext; then
10404 ac_header_compiler
=yes
10406 echo "$as_me: failed program was:" >&5
10407 sed 's/^/| /' conftest.
$ac_ext >&5
10409 ac_header_compiler
=no
10412 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10413 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10414 echo "${ECHO_T}$ac_header_compiler" >&6; }
10416 # Is the header present?
10417 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
10418 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
10419 cat >conftest.
$ac_ext <<_ACEOF
10422 cat confdefs.h
>>conftest.
$ac_ext
10423 cat >>conftest.
$ac_ext <<_ACEOF
10424 /* end confdefs.h. */
10425 #include <gphoto2-camera.h>
10427 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10428 case "(($ac_try" in
10429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10430 *) ac_try_echo=$ac_try;;
10432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10433 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10435 grep -v '^ *+' conftest.er1 >conftest.err
10437 cat conftest.err >&5
10438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10439 (exit $ac_status); } >/dev/null && {
10440 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10441 test ! -s conftest.err
10443 ac_header_preproc=yes
10445 echo "$as_me: failed program was:" >&5
10446 sed 's/^/| /' conftest.$ac_ext >&5
10448 ac_header_preproc=no
10451 rm -f conftest.err conftest.$ac_ext
10452 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10453 echo "${ECHO_T}$ac_header_preproc" >&6; }
10455 # So? What about this header?
10456 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10458 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
10459 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10460 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
10461 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
10462 ac_header_preproc=yes
10465 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
10466 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
10467 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
10468 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
10469 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
10470 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
10471 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
10472 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
10473 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
10474 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
10475 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
10476 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
10478 ## ------------------------------------ ##
10479 ## Report this to wine-devel@winehq.org ##
10480 ## ------------------------------------ ##
10482 ) | sed "s/^/$as_me: WARNING: /" >&2
10485 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10486 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10487 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10488 echo $ECHO_N "(cached) $ECHO_C" >&6
10490 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
10492 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10493 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10496 if test $ac_cv_header_gphoto2_camera_h = yes; then
10497 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
10498 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
10499 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
10500 echo $ECHO_N "(cached) $ECHO_C" >&6
10502 ac_check_lib_save_LIBS=$LIBS
10503 LIBS="-lgphoto2 $LIBS"
10504 cat >conftest.$ac_ext <<_ACEOF
10507 cat confdefs.h >>conftest.$ac_ext
10508 cat >>conftest.$ac_ext <<_ACEOF
10509 /* end confdefs.h. */
10511 /* Override any GCC internal prototype to avoid an error.
10512 Use char because int might match the return type of a GCC
10513 builtin and then its argument prototype would still apply. */
10517 char gp_camera_new ();
10521 return gp_camera_new ();
10526 rm -f conftest.$ac_objext conftest$ac_exeext
10527 if { (ac_try="$ac_link"
10528 case "(($ac_try" in
10529 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10530 *) ac_try_echo
=$ac_try;;
10532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10533 (eval "$ac_link") 2>conftest.er1
10535 grep -v '^ *+' conftest.er1
>conftest.err
10537 cat conftest.err
>&5
10538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10539 (exit $ac_status); } && {
10540 test -z "$ac_c_werror_flag" ||
10541 test ! -s conftest.err
10542 } && test -s conftest
$ac_exeext &&
10543 $as_test_x conftest
$ac_exeext; then
10544 ac_cv_lib_gphoto2_gp_camera_new
=yes
10546 echo "$as_me: failed program was:" >&5
10547 sed 's/^/| /' conftest.
$ac_ext >&5
10549 ac_cv_lib_gphoto2_gp_camera_new
=no
10552 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10553 conftest
$ac_exeext conftest.
$ac_ext
10554 LIBS
=$ac_check_lib_save_LIBS
10556 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10557 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10558 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
10560 cat >>confdefs.h
<<\_ACEOF
10561 #define HAVE_GPHOTO2 1
10575 LIBS
="$ac_save_LIBS"
10576 CPPFLAGS
="$ac_save_CPPFLAGS"
10579 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10582 for i
in ${ICU_LIB_DIR-/usr/lib}/libsicu
${ICU_LIB_DIR-/usr/lib}/libicu
10584 TEST_ICUUC_LIB
="${ICUUC_LIB-${i}uc.a}"
10585 TEST_ICUDATA_LIB
="${ICUDATA_LIB-${i}data.a}"
10586 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
10587 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
10588 LIBS
="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10589 cat >conftest.
$ac_ext <<_ACEOF
10592 cat confdefs.h
>>conftest.
$ac_ext
10593 cat >>conftest.
$ac_ext <<_ACEOF
10594 /* end confdefs.h. */
10595 #include <unicode/ubidi.h>
10604 rm -f conftest.
$ac_objext conftest
$ac_exeext
10605 if { (ac_try
="$ac_link"
10606 case "(($ac_try" in
10607 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10608 *) ac_try_echo=$ac_try;;
10610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10611 (eval "$ac_link") 2>conftest.er1
10613 grep -v '^ *+' conftest.er1 >conftest.err
10615 cat conftest.err >&5
10616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10617 (exit $ac_status); } && {
10618 test -z "$ac_c_werror_flag" ||
10619 test ! -s conftest.err
10620 } && test -s conftest$ac_exeext &&
10621 $as_test_x conftest$ac_exeext; then
10623 cat >>confdefs.h <<\_ACEOF
10627 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10629 { echo "$as_me:$LINENO: result: yes" >&5
10630 echo "${ECHO_T}yes" >&6; }
10632 echo "$as_me: failed program was:" >&5
10633 sed 's/^/| /' conftest.$ac_ext >&5
10635 { echo "$as_me:$LINENO: result: no" >&5
10636 echo "${ECHO_T}no" >&6; }
10639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10640 conftest$ac_exeext conftest.$ac_ext
10647 if test "$ac_cv_header_resolv_h" = "yes"
10649 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
10650 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
10651 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
10652 echo $ECHO_N "(cached) $ECHO_C" >&6
10654 ac_check_lib_save_LIBS=$LIBS
10655 LIBS="-lresolv $LIBS"
10656 cat >conftest.$ac_ext <<_ACEOF
10659 cat confdefs.h >>conftest.$ac_ext
10660 cat >>conftest.$ac_ext <<_ACEOF
10661 /* end confdefs.h. */
10663 /* Override any GCC internal prototype to avoid an error.
10664 Use char because int might match the return type of a GCC
10665 builtin and then its argument prototype would still apply. */
10673 return res_query ();
10678 rm -f conftest.$ac_objext conftest$ac_exeext
10679 if { (ac_try="$ac_link"
10680 case "(($ac_try" in
10681 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10682 *) ac_try_echo
=$ac_try;;
10684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10685 (eval "$ac_link") 2>conftest.er1
10687 grep -v '^ *+' conftest.er1
>conftest.err
10689 cat conftest.err
>&5
10690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10691 (exit $ac_status); } && {
10692 test -z "$ac_c_werror_flag" ||
10693 test ! -s conftest.err
10694 } && test -s conftest
$ac_exeext &&
10695 $as_test_x conftest
$ac_exeext; then
10696 ac_cv_lib_resolv_res_query
=yes
10698 echo "$as_me: failed program was:" >&5
10699 sed 's/^/| /' conftest.
$ac_ext >&5
10701 ac_cv_lib_resolv_res_query
=no
10704 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10705 conftest
$ac_exeext conftest.
$ac_ext
10706 LIBS
=$ac_check_lib_save_LIBS
10708 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
10709 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
10710 if test $ac_cv_lib_resolv_res_query = yes; then
10712 cat >>confdefs.h
<<\_ACEOF
10713 #define HAVE_RESOLV 1
10716 RESOLVLIBS
="-lresolv"
10723 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10725 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
10726 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
10727 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
10728 echo $ECHO_N "(cached) $ECHO_C" >&6
10730 ac_check_lib_save_LIBS
=$LIBS
10731 LIBS
="-llcms $LIBS"
10732 cat >conftest.
$ac_ext <<_ACEOF
10735 cat confdefs.h
>>conftest.
$ac_ext
10736 cat >>conftest.
$ac_ext <<_ACEOF
10737 /* end confdefs.h. */
10739 /* Override any GCC internal prototype to avoid an error.
10740 Use char because int might match the return type of a GCC
10741 builtin and then its argument prototype would still apply. */
10745 char cmsOpenProfileFromFile ();
10749 return cmsOpenProfileFromFile ();
10754 rm -f conftest.
$ac_objext conftest
$ac_exeext
10755 if { (ac_try
="$ac_link"
10756 case "(($ac_try" in
10757 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10758 *) ac_try_echo=$ac_try;;
10760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10761 (eval "$ac_link") 2>conftest.er1
10763 grep -v '^ *+' conftest.er1 >conftest.err
10765 cat conftest.err >&5
10766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10767 (exit $ac_status); } && {
10768 test -z "$ac_c_werror_flag" ||
10769 test ! -s conftest.err
10770 } && test -s conftest$ac_exeext &&
10771 $as_test_x conftest$ac_exeext; then
10772 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10774 echo "$as_me: failed program was:" >&5
10775 sed 's/^/| /' conftest.$ac_ext >&5
10777 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10781 conftest$ac_exeext conftest.$ac_ext
10782 LIBS=$ac_check_lib_save_LIBS
10784 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10785 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10786 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
10788 cat >>confdefs.h <<\_ACEOF
10789 #define HAVE_LCMS 1
10799 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
10801 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
10802 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
10803 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
10804 echo $ECHO_N "(cached) $ECHO_C" >&6
10806 ac_check_lib_save_LIBS=$LIBS
10807 LIBS="-lldap_r $LIBPTHREAD $LIBS"
10808 cat >conftest.$ac_ext <<_ACEOF
10811 cat confdefs.h >>conftest.$ac_ext
10812 cat >>conftest.$ac_ext <<_ACEOF
10813 /* end confdefs.h. */
10815 /* Override any GCC internal prototype to avoid an error.
10816 Use char because int might match the return type of a GCC
10817 builtin and then its argument prototype would still apply. */
10821 char ldap_initialize ();
10825 return ldap_initialize ();
10830 rm -f conftest.$ac_objext conftest$ac_exeext
10831 if { (ac_try="$ac_link"
10832 case "(($ac_try" in
10833 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10834 *) ac_try_echo
=$ac_try;;
10836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10837 (eval "$ac_link") 2>conftest.er1
10839 grep -v '^ *+' conftest.er1
>conftest.err
10841 cat conftest.err
>&5
10842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10843 (exit $ac_status); } && {
10844 test -z "$ac_c_werror_flag" ||
10845 test ! -s conftest.err
10846 } && test -s conftest
$ac_exeext &&
10847 $as_test_x conftest
$ac_exeext; then
10848 ac_cv_lib_ldap_r_ldap_initialize
=yes
10850 echo "$as_me: failed program was:" >&5
10851 sed 's/^/| /' conftest.
$ac_ext >&5
10853 ac_cv_lib_ldap_r_ldap_initialize
=no
10856 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10857 conftest
$ac_exeext conftest.
$ac_ext
10858 LIBS
=$ac_check_lib_save_LIBS
10860 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
10861 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
10862 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
10863 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
10864 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
10865 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
10866 echo $ECHO_N "(cached) $ECHO_C" >&6
10868 ac_check_lib_save_LIBS
=$LIBS
10869 LIBS
="-llber $LIBPTHREAD $LIBS"
10870 cat >conftest.
$ac_ext <<_ACEOF
10873 cat confdefs.h
>>conftest.
$ac_ext
10874 cat >>conftest.
$ac_ext <<_ACEOF
10875 /* end confdefs.h. */
10877 /* Override any GCC internal prototype to avoid an error.
10878 Use char because int might match the return type of a GCC
10879 builtin and then its argument prototype would still apply. */
10887 return ber_init ();
10892 rm -f conftest.
$ac_objext conftest
$ac_exeext
10893 if { (ac_try
="$ac_link"
10894 case "(($ac_try" in
10895 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10896 *) ac_try_echo=$ac_try;;
10898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10899 (eval "$ac_link") 2>conftest.er1
10901 grep -v '^ *+' conftest.er1 >conftest.err
10903 cat conftest.err >&5
10904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10905 (exit $ac_status); } && {
10906 test -z "$ac_c_werror_flag" ||
10907 test ! -s conftest.err
10908 } && test -s conftest$ac_exeext &&
10909 $as_test_x conftest$ac_exeext; then
10910 ac_cv_lib_lber_ber_init=yes
10912 echo "$as_me: failed program was:" >&5
10913 sed 's/^/| /' conftest.$ac_ext >&5
10915 ac_cv_lib_lber_ber_init=no
10918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10919 conftest$ac_exeext conftest.$ac_ext
10920 LIBS=$ac_check_lib_save_LIBS
10922 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
10923 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
10924 if test $ac_cv_lib_lber_ber_init = yes; then
10926 cat >>confdefs.h <<\_ACEOF
10927 #define HAVE_LDAP 1
10930 LDAPLIBS="-lldap_r -llber"
10935 ac_wine_check_funcs_save_LIBS="$LIBS"
10936 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
10942 ldap_count_references \
10943 ldap_first_reference \
10944 ldap_next_reference \
10945 ldap_parse_reference
10947 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
10948 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10950 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10951 echo $ECHO_N "(cached) $ECHO_C" >&6
10953 cat >conftest.$ac_ext <<_ACEOF
10956 cat confdefs.h >>conftest.$ac_ext
10957 cat >>conftest.$ac_ext <<_ACEOF
10958 /* end confdefs.h. */
10959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10961 #define $ac_func innocuous_$ac_func
10963 /* System header to define __stub macros and hopefully few prototypes,
10964 which can conflict with char $ac_func (); below.
10965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10966 <limits.h> exists even on freestanding compilers. */
10969 # include <limits.h>
10971 # include <assert.h>
10976 /* Override any GCC internal prototype to avoid an error.
10977 Use char because int might match the return type of a GCC
10978 builtin and then its argument prototype would still apply. */
10983 /* The GNU C library defines this for functions which it implements
10984 to always fail with ENOSYS. Some functions are actually named
10985 something starting with __ and the normal name is an alias. */
10986 #if defined __stub_$ac_func || defined __stub___$ac_func
10993 return $ac_func ();
10998 rm -f conftest.$ac_objext conftest$ac_exeext
10999 if { (ac_try="$ac_link"
11000 case "(($ac_try" in
11001 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11002 *) ac_try_echo
=$ac_try;;
11004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11005 (eval "$ac_link") 2>conftest.er1
11007 grep -v '^ *+' conftest.er1
>conftest.err
11009 cat conftest.err
>&5
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); } && {
11012 test -z "$ac_c_werror_flag" ||
11013 test ! -s conftest.err
11014 } && test -s conftest
$ac_exeext &&
11015 $as_test_x conftest
$ac_exeext; then
11016 eval "$as_ac_var=yes"
11018 echo "$as_me: failed program was:" >&5
11019 sed 's/^/| /' conftest.
$ac_ext >&5
11021 eval "$as_ac_var=no"
11024 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11025 conftest
$ac_exeext conftest.
$ac_ext
11027 ac_res
=`eval echo '${'$as_ac_var'}'`
11028 { echo "$as_me:$LINENO: result: $ac_res" >&5
11029 echo "${ECHO_T}$ac_res" >&6; }
11030 if test `eval echo '${'$as_ac_var'}'` = yes; then
11031 cat >>confdefs.h
<<_ACEOF
11032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11038 LIBS
="$ac_wine_check_funcs_save_LIBS"
11045 # Extract the first word of "freetype-config", so it can be a program name with args.
11046 set dummy freetype-config
; ac_word
=$2
11047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11049 if test "${ac_cv_prog_ft_devel+set}" = set; then
11050 echo $ECHO_N "(cached) $ECHO_C" >&6
11052 if test -n "$ft_devel"; then
11053 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
11055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11056 for as_dir
in $PATH
11059 test -z "$as_dir" && as_dir
=.
11060 for ac_exec_ext
in '' $ac_executable_extensions; do
11061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11062 ac_cv_prog_ft_devel
="freetype-config"
11063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11070 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
11073 ft_devel
=$ac_cv_prog_ft_devel
11074 if test -n "$ft_devel"; then
11075 { echo "$as_me:$LINENO: result: $ft_devel" >&5
11076 echo "${ECHO_T}$ft_devel" >&6; }
11078 { echo "$as_me:$LINENO: result: no" >&5
11079 echo "${ECHO_T}no" >&6; }
11083 if test "$ft_devel" = "no"
11085 # Extract the first word of "freetype2-config", so it can be a program name with args.
11086 set dummy freetype2-config
; ac_word
=$2
11087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11089 if test "${ac_cv_prog_ft_devel2+set}" = set; then
11090 echo $ECHO_N "(cached) $ECHO_C" >&6
11092 if test -n "$ft_devel2"; then
11093 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
11095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11096 for as_dir
in $PATH
11099 test -z "$as_dir" && as_dir
=.
11100 for ac_exec_ext
in '' $ac_executable_extensions; do
11101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11102 ac_cv_prog_ft_devel2
="freetype2-config"
11103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11110 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
11113 ft_devel2
=$ac_cv_prog_ft_devel2
11114 if test -n "$ft_devel2"; then
11115 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
11116 echo "${ECHO_T}$ft_devel2" >&6; }
11118 { echo "$as_me:$LINENO: result: no" >&5
11119 echo "${ECHO_T}no" >&6; }
11123 if test "$ft_devel2" = "freetype2-config"
11125 ft_devel
=$ft_devel2
11129 if test "$ft_devel" = "no"
11131 wine_cv_msg_freetype
=yes
11133 FREETYPELIBS
=`$ft_devel --libs`
11134 FREETYPEINCL
=`$ft_devel --cflags`
11135 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
11136 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
11137 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
11138 echo $ECHO_N "(cached) $ECHO_C" >&6
11140 ac_check_lib_save_LIBS
=$LIBS
11141 LIBS
="-lfreetype $FREETYPELIBS $LIBS"
11142 cat >conftest.
$ac_ext <<_ACEOF
11145 cat confdefs.h
>>conftest.
$ac_ext
11146 cat >>conftest.
$ac_ext <<_ACEOF
11147 /* end confdefs.h. */
11149 /* Override any GCC internal prototype to avoid an error.
11150 Use char because int might match the return type of a GCC
11151 builtin and then its argument prototype would still apply. */
11155 char FT_Init_FreeType ();
11159 return FT_Init_FreeType ();
11164 rm -f conftest.
$ac_objext conftest
$ac_exeext
11165 if { (ac_try
="$ac_link"
11166 case "(($ac_try" in
11167 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11168 *) ac_try_echo=$ac_try;;
11170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11171 (eval "$ac_link") 2>conftest.er1
11173 grep -v '^ *+' conftest.er1 >conftest.err
11175 cat conftest.err >&5
11176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11177 (exit $ac_status); } && {
11178 test -z "$ac_c_werror_flag" ||
11179 test ! -s conftest.err
11180 } && test -s conftest$ac_exeext &&
11181 $as_test_x conftest$ac_exeext; then
11182 ac_cv_lib_freetype_FT_Init_FreeType=yes
11184 echo "$as_me: failed program was:" >&5
11185 sed 's/^/| /' conftest.$ac_ext >&5
11187 ac_cv_lib_freetype_FT_Init_FreeType=no
11190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11191 conftest$ac_exeext conftest.$ac_ext
11192 LIBS=$ac_check_lib_save_LIBS
11194 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
11195 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
11196 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
11202 if test "$ft_lib" = "no"
11204 wine_cv_msg_freetype=yes
11208 ac_save_CPPFLAGS="$CPPFLAGS"
11209 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
11221 for ac_header in ft2build.h \
11222 freetype/freetype.h \
11223 freetype/ftglyph.h \
11224 freetype/tttables.h \
11225 freetype/ftnames.h \
11226 freetype/ftsnames.h \
11227 freetype/ttnameid.h \
11228 freetype/ftoutln.h \
11229 freetype/ftwinfnt.h \
11230 freetype/ftmodapi.h \
11231 freetype/internal/sfnt.h
11233 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11234 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11236 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11237 echo $ECHO_N "(cached) $ECHO_C" >&6
11239 cat >conftest.$ac_ext <<_ACEOF
11242 cat confdefs.h >>conftest.$ac_ext
11243 cat >>conftest.$ac_ext <<_ACEOF
11244 /* end confdefs.h. */
11245 #if HAVE_FT2BUILD_H
11246 #include <ft2build.h>
11249 #include <$ac_header>
11251 rm -f conftest.$ac_objext
11252 if { (ac_try="$ac_compile"
11253 case "(($ac_try" in
11254 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11255 *) ac_try_echo
=$ac_try;;
11257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11258 (eval "$ac_compile") 2>conftest.er1
11260 grep -v '^ *+' conftest.er1
>conftest.err
11262 cat conftest.err
>&5
11263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11264 (exit $ac_status); } && {
11265 test -z "$ac_c_werror_flag" ||
11266 test ! -s conftest.err
11267 } && test -s conftest.
$ac_objext; then
11268 eval "$as_ac_Header=yes"
11270 echo "$as_me: failed program was:" >&5
11271 sed 's/^/| /' conftest.
$ac_ext >&5
11273 eval "$as_ac_Header=no"
11276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11278 ac_res
=`eval echo '${'$as_ac_Header'}'`
11279 { echo "$as_me:$LINENO: result: $ac_res" >&5
11280 echo "${ECHO_T}$ac_res" >&6; }
11281 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11282 cat >>confdefs.h
<<_ACEOF
11283 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11290 cat >conftest.
$ac_ext <<_ACEOF
11293 cat confdefs.h
>>conftest.
$ac_ext
11294 cat >>conftest.
$ac_ext <<_ACEOF
11295 /* end confdefs.h. */
11296 #include <ft2build.h>
11297 #include <freetype/fttrigon.h>
11299 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11300 case "(($ac_try" in
11301 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11302 *) ac_try_echo=$ac_try;;
11304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11305 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11307 grep -v '^ *+' conftest.er1 >conftest.err
11309 cat conftest.err >&5
11310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11311 (exit $ac_status); } >/dev/null && {
11312 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11313 test ! -s conftest.err
11316 cat >>confdefs.h <<\_ACEOF
11317 #define HAVE_FREETYPE_FTTRIGON_H 1
11320 wine_cv_fttrigon=yes
11322 echo "$as_me: failed program was:" >&5
11323 sed 's/^/| /' conftest.$ac_ext >&5
11325 wine_cv_fttrigon=no
11328 rm -f conftest.err conftest.$ac_ext
11329 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
11330 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
11331 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
11332 echo $ECHO_N "(cached) $ECHO_C" >&6
11334 cat >conftest.$ac_ext <<_ACEOF
11337 cat confdefs.h >>conftest.$ac_ext
11338 cat >>conftest.$ac_ext <<_ACEOF
11339 /* end confdefs.h. */
11340 #include <freetype/ftmodapi.h>
11342 typedef FT_TrueTypeEngineType ac__type_new_;
11346 if ((ac__type_new_ *) 0)
11348 if (sizeof (ac__type_new_))
11354 rm -f conftest.$ac_objext
11355 if { (ac_try="$ac_compile"
11356 case "(($ac_try" in
11357 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11358 *) ac_try_echo
=$ac_try;;
11360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11361 (eval "$ac_compile") 2>conftest.er1
11363 grep -v '^ *+' conftest.er1
>conftest.err
11365 cat conftest.err
>&5
11366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11367 (exit $ac_status); } && {
11368 test -z "$ac_c_werror_flag" ||
11369 test ! -s conftest.err
11370 } && test -s conftest.
$ac_objext; then
11371 ac_cv_type_FT_TrueTypeEngineType
=yes
11373 echo "$as_me: failed program was:" >&5
11374 sed 's/^/| /' conftest.
$ac_ext >&5
11376 ac_cv_type_FT_TrueTypeEngineType
=no
11379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11381 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
11382 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
11383 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
11385 cat >>confdefs.h
<<_ACEOF
11386 #define HAVE_FT_TRUETYPEENGINETYPE 1
11392 ac_save_CFLAGS
="$CFLAGS"
11393 CFLAGS
="$CFLAGS $FREETYPELIBS"
11395 for ac_func
in FT_Load_Sfnt_Table
11397 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11398 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11400 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11401 echo $ECHO_N "(cached) $ECHO_C" >&6
11403 cat >conftest.
$ac_ext <<_ACEOF
11406 cat confdefs.h
>>conftest.
$ac_ext
11407 cat >>conftest.
$ac_ext <<_ACEOF
11408 /* end confdefs.h. */
11409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11411 #define $ac_func innocuous_$ac_func
11413 /* System header to define __stub macros and hopefully few prototypes,
11414 which can conflict with char $ac_func (); below.
11415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11416 <limits.h> exists even on freestanding compilers. */
11419 # include <limits.h>
11421 # include <assert.h>
11426 /* Override any GCC internal prototype to avoid an error.
11427 Use char because int might match the return type of a GCC
11428 builtin and then its argument prototype would still apply. */
11433 /* The GNU C library defines this for functions which it implements
11434 to always fail with ENOSYS. Some functions are actually named
11435 something starting with __ and the normal name is an alias. */
11436 #if defined __stub_$ac_func || defined __stub___$ac_func
11443 return $ac_func ();
11448 rm -f conftest.
$ac_objext conftest
$ac_exeext
11449 if { (ac_try
="$ac_link"
11450 case "(($ac_try" in
11451 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11452 *) ac_try_echo=$ac_try;;
11454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11455 (eval "$ac_link") 2>conftest.er1
11457 grep -v '^ *+' conftest.er1 >conftest.err
11459 cat conftest.err >&5
11460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11461 (exit $ac_status); } && {
11462 test -z "$ac_c_werror_flag" ||
11463 test ! -s conftest.err
11464 } && test -s conftest$ac_exeext &&
11465 $as_test_x conftest$ac_exeext; then
11466 eval "$as_ac_var=yes"
11468 echo "$as_me: failed program was:" >&5
11469 sed 's/^/| /' conftest.$ac_ext >&5
11471 eval "$as_ac_var=no"
11474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11475 conftest$ac_exeext conftest.$ac_ext
11477 ac_res=`eval echo '${'$as_ac_var'}'`
11478 { echo "$as_me:$LINENO: result: $ac_res" >&5
11479 echo "${ECHO_T}$ac_res" >&6; }
11480 if test `eval echo '${'$as_ac_var'}'` = yes; then
11481 cat >>confdefs.h <<_ACEOF
11482 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
11488 CFLAGS="$ac_save_CFLAGS"
11489 CPPFLAGS="$ac_save_CPPFLAGS"
11490 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11493 cat >>confdefs.h <<\_ACEOF
11494 #define HAVE_FREETYPE 1
11497 wine_cv_msg_freetype=no
11501 wine_cv_msg_freetype=yes
11506 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
11508 FONTSSUBDIRS="fonts"
11512 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
11513 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
11514 if test "${ac_cv_c_ppdev+set}" = set; then
11515 echo $ECHO_N "(cached) $ECHO_C" >&6
11517 cat >conftest.$ac_ext <<_ACEOF
11520 cat confdefs.h >>conftest.$ac_ext
11521 cat >>conftest.$ac_ext <<_ACEOF
11522 /* end confdefs.h. */
11523 #include <linux/ppdev.h>
11527 ioctl (1,PPCLAIM,0)
11532 rm -f conftest.$ac_objext
11533 if { (ac_try="$ac_compile"
11534 case "(($ac_try" in
11535 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11536 *) ac_try_echo
=$ac_try;;
11538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11539 (eval "$ac_compile") 2>conftest.er1
11541 grep -v '^ *+' conftest.er1
>conftest.err
11543 cat conftest.err
>&5
11544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11545 (exit $ac_status); } && {
11546 test -z "$ac_c_werror_flag" ||
11547 test ! -s conftest.err
11548 } && test -s conftest.
$ac_objext; then
11549 ac_cv_c_ppdev
="yes"
11551 echo "$as_me: failed program was:" >&5
11552 sed 's/^/| /' conftest.
$ac_ext >&5
11557 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11560 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
11561 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
11562 if test "$ac_cv_c_ppdev" = "yes"
11565 cat >>confdefs.h
<<\_ACEOF
11566 #define HAVE_PPDEV 1
11571 { echo "$as_me:$LINENO: checking for va_copy" >&5
11572 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
11573 if test "${ac_cv_c_va_copy+set}" = set; then
11574 echo $ECHO_N "(cached) $ECHO_C" >&6
11576 cat >conftest.
$ac_ext <<_ACEOF
11579 cat confdefs.h
>>conftest.
$ac_ext
11580 cat >>conftest.
$ac_ext <<_ACEOF
11581 /* end confdefs.h. */
11582 #include <stdarg.h>
11593 rm -f conftest.
$ac_objext conftest
$ac_exeext
11594 if { (ac_try
="$ac_link"
11595 case "(($ac_try" in
11596 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11597 *) ac_try_echo=$ac_try;;
11599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11600 (eval "$ac_link") 2>conftest.er1
11602 grep -v '^ *+' conftest.er1 >conftest.err
11604 cat conftest.err >&5
11605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11606 (exit $ac_status); } && {
11607 test -z "$ac_c_werror_flag" ||
11608 test ! -s conftest.err
11609 } && test -s conftest$ac_exeext &&
11610 $as_test_x conftest$ac_exeext; then
11611 ac_cv_c_va_copy="yes"
11613 echo "$as_me: failed program was:" >&5
11614 sed 's/^/| /' conftest.$ac_ext >&5
11616 ac_cv_c_va_copy="no"
11619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11620 conftest$ac_exeext conftest.$ac_ext
11623 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
11624 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
11625 if test "$ac_cv_c_va_copy" = "yes"
11628 cat >>confdefs.h <<\_ACEOF
11629 #define HAVE_VA_COPY 1
11633 { echo "$as_me:$LINENO: checking for __va_copy" >&5
11634 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
11635 if test "${ac_cv_c___va_copy+set}" = set; then
11636 echo $ECHO_N "(cached) $ECHO_C" >&6
11638 cat >conftest.$ac_ext <<_ACEOF
11641 cat confdefs.h >>conftest.$ac_ext
11642 cat >>conftest.$ac_ext <<_ACEOF
11643 /* end confdefs.h. */
11644 #include <stdarg.h>
11649 __va_copy(ap1,ap2);
11655 rm -f conftest.$ac_objext conftest$ac_exeext
11656 if { (ac_try="$ac_link"
11657 case "(($ac_try" in
11658 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11659 *) ac_try_echo
=$ac_try;;
11661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11662 (eval "$ac_link") 2>conftest.er1
11664 grep -v '^ *+' conftest.er1
>conftest.err
11666 cat conftest.err
>&5
11667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11668 (exit $ac_status); } && {
11669 test -z "$ac_c_werror_flag" ||
11670 test ! -s conftest.err
11671 } && test -s conftest
$ac_exeext &&
11672 $as_test_x conftest
$ac_exeext; then
11673 ac_cv_c___va_copy
="yes"
11675 echo "$as_me: failed program was:" >&5
11676 sed 's/^/| /' conftest.
$ac_ext >&5
11678 ac_cv_c___va_copy
="no"
11681 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11682 conftest
$ac_exeext conftest.
$ac_ext
11685 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
11686 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
11687 if test "$ac_cv_c___va_copy" = "yes"
11690 cat >>confdefs.h
<<\_ACEOF
11691 #define HAVE___VA_COPY 1
11696 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
11697 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
11698 if test "${ac_cv_c_sigsetjmp+set}" = set; then
11699 echo $ECHO_N "(cached) $ECHO_C" >&6
11701 cat >conftest.
$ac_ext <<_ACEOF
11704 cat confdefs.h
>>conftest.
$ac_ext
11705 cat >>conftest.
$ac_ext <<_ACEOF
11706 /* end confdefs.h. */
11707 #include <setjmp.h>
11712 sigsetjmp( buf, 1 );
11713 siglongjmp( buf, 1 );
11718 rm -f conftest.
$ac_objext conftest
$ac_exeext
11719 if { (ac_try
="$ac_link"
11720 case "(($ac_try" in
11721 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11722 *) ac_try_echo=$ac_try;;
11724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11725 (eval "$ac_link") 2>conftest.er1
11727 grep -v '^ *+' conftest.er1 >conftest.err
11729 cat conftest.err >&5
11730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11731 (exit $ac_status); } && {
11732 test -z "$ac_c_werror_flag" ||
11733 test ! -s conftest.err
11734 } && test -s conftest$ac_exeext &&
11735 $as_test_x conftest$ac_exeext; then
11736 ac_cv_c_sigsetjmp="yes"
11738 echo "$as_me: failed program was:" >&5
11739 sed 's/^/| /' conftest.$ac_ext >&5
11741 ac_cv_c_sigsetjmp="no"
11744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11745 conftest$ac_exeext conftest.$ac_ext
11748 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11749 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
11750 if test "$ac_cv_c_sigsetjmp" = "yes"
11753 cat >>confdefs.h <<\_ACEOF
11754 #define HAVE_SIGSETJMP 1
11759 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11760 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
11761 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11762 echo $ECHO_N "(cached) $ECHO_C" >&6
11764 cat >conftest.$ac_ext <<_ACEOF
11767 cat confdefs.h >>conftest.$ac_ext
11768 cat >>conftest.$ac_ext <<_ACEOF
11769 /* end confdefs.h. */
11770 #define _GNU_SOURCE
11771 #include <pthread.h>
11773 typedef pthread_rwlock_t ac__type_new_;
11777 if ((ac__type_new_ *) 0)
11779 if (sizeof (ac__type_new_))
11785 rm -f conftest.$ac_objext
11786 if { (ac_try="$ac_compile"
11787 case "(($ac_try" in
11788 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11789 *) ac_try_echo
=$ac_try;;
11791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11792 (eval "$ac_compile") 2>conftest.er1
11794 grep -v '^ *+' conftest.er1
>conftest.err
11796 cat conftest.err
>&5
11797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11798 (exit $ac_status); } && {
11799 test -z "$ac_c_werror_flag" ||
11800 test ! -s conftest.err
11801 } && test -s conftest.
$ac_objext; then
11802 ac_cv_type_pthread_rwlock_t
=yes
11804 echo "$as_me: failed program was:" >&5
11805 sed 's/^/| /' conftest.
$ac_ext >&5
11807 ac_cv_type_pthread_rwlock_t
=no
11810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11812 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11813 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
11814 if test $ac_cv_type_pthread_rwlock_t = yes; then
11816 cat >>confdefs.h
<<_ACEOF
11817 #define HAVE_PTHREAD_RWLOCK_T 1
11822 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11823 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
11824 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11825 echo $ECHO_N "(cached) $ECHO_C" >&6
11827 cat >conftest.
$ac_ext <<_ACEOF
11830 cat confdefs.h
>>conftest.
$ac_ext
11831 cat >>conftest.
$ac_ext <<_ACEOF
11832 /* end confdefs.h. */
11833 #define _GNU_SOURCE
11834 #include <pthread.h>
11836 typedef pthread_rwlockattr_t ac__type_new_;
11840 if ((ac__type_new_ *) 0)
11842 if (sizeof (ac__type_new_))
11848 rm -f conftest.
$ac_objext
11849 if { (ac_try
="$ac_compile"
11850 case "(($ac_try" in
11851 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11852 *) ac_try_echo=$ac_try;;
11854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11855 (eval "$ac_compile") 2>conftest.er1
11857 grep -v '^ *+' conftest.er1 >conftest.err
11859 cat conftest.err >&5
11860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11861 (exit $ac_status); } && {
11862 test -z "$ac_c_werror_flag" ||
11863 test ! -s conftest.err
11864 } && test -s conftest.$ac_objext; then
11865 ac_cv_type_pthread_rwlockattr_t=yes
11867 echo "$as_me: failed program was:" >&5
11868 sed 's/^/| /' conftest.$ac_ext >&5
11870 ac_cv_type_pthread_rwlockattr_t=no
11873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11875 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11876 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
11877 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11879 cat >>confdefs.h <<_ACEOF
11880 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11887 ac_wine_check_funcs_save_LIBS="$LIBS"
11888 LIBS="$LIBS $LIBPTHREAD"
11894 pthread_attr_get_np \
11895 pthread_getattr_np \
11896 pthread_get_stackaddr_np \
11897 pthread_get_stacksize_np
11899 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11900 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11902 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11903 echo $ECHO_N "(cached) $ECHO_C" >&6
11905 cat >conftest.$ac_ext <<_ACEOF
11908 cat confdefs.h >>conftest.$ac_ext
11909 cat >>conftest.$ac_ext <<_ACEOF
11910 /* end confdefs.h. */
11911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11913 #define $ac_func innocuous_$ac_func
11915 /* System header to define __stub macros and hopefully few prototypes,
11916 which can conflict with char $ac_func (); below.
11917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11918 <limits.h> exists even on freestanding compilers. */
11921 # include <limits.h>
11923 # include <assert.h>
11928 /* Override any GCC internal prototype to avoid an error.
11929 Use char because int might match the return type of a GCC
11930 builtin and then its argument prototype would still apply. */
11935 /* The GNU C library defines this for functions which it implements
11936 to always fail with ENOSYS. Some functions are actually named
11937 something starting with __ and the normal name is an alias. */
11938 #if defined __stub_$ac_func || defined __stub___$ac_func
11945 return $ac_func ();
11950 rm -f conftest.$ac_objext conftest$ac_exeext
11951 if { (ac_try="$ac_link"
11952 case "(($ac_try" in
11953 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11954 *) ac_try_echo
=$ac_try;;
11956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11957 (eval "$ac_link") 2>conftest.er1
11959 grep -v '^ *+' conftest.er1
>conftest.err
11961 cat conftest.err
>&5
11962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11963 (exit $ac_status); } && {
11964 test -z "$ac_c_werror_flag" ||
11965 test ! -s conftest.err
11966 } && test -s conftest
$ac_exeext &&
11967 $as_test_x conftest
$ac_exeext; then
11968 eval "$as_ac_var=yes"
11970 echo "$as_me: failed program was:" >&5
11971 sed 's/^/| /' conftest.
$ac_ext >&5
11973 eval "$as_ac_var=no"
11976 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11977 conftest
$ac_exeext conftest.
$ac_ext
11979 ac_res
=`eval echo '${'$as_ac_var'}'`
11980 { echo "$as_me:$LINENO: result: $ac_res" >&5
11981 echo "${ECHO_T}$ac_res" >&6; }
11982 if test `eval echo '${'$as_ac_var'}'` = yes; then
11983 cat >>confdefs.h
<<_ACEOF
11984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11990 LIBS
="$ac_wine_check_funcs_save_LIBS"
11992 # Extract the first word of "artsc-config", so it can be a program name with args.
11993 set dummy artsc-config
; ac_word
=$2
11994 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11996 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11997 echo $ECHO_N "(cached) $ECHO_C" >&6
11999 case $ARTSCCONFIG in
12001 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
12004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12005 for as_dir
in $PATH
12008 test -z "$as_dir" && as_dir
=.
12009 for ac_exec_ext
in '' $ac_executable_extensions; do
12010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12011 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
12012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12022 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
12023 if test -n "$ARTSCCONFIG"; then
12024 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
12025 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
12027 { echo "$as_me:$LINENO: result: no" >&5
12028 echo "${ECHO_T}no" >&6; }
12032 if test x
$ARTSCCONFIG != x
-a x
$ARTSCCONFIG != x
'"$ARTSCCONFIG"';
12035 for i
in `$ARTSCCONFIG --cflags`
12038 -I*) ARTSC_CFLAGS
="$ARTSC_CFLAGS $i";;
12042 for i
in `$ARTSCCONFIG --libs`
12045 -L/usr
/lib|
-L/usr
/lib64
) ;;
12046 -L*|
-l*) ARTSC_LIBS
="$ARTSC_LIBS $i";;
12049 save_CFLAGS
="$CFLAGS"
12050 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
12051 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
12052 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
12053 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
12054 echo $ECHO_N "(cached) $ECHO_C" >&6
12056 ac_check_lib_save_LIBS
=$LIBS
12057 LIBS
="-lartsc $ARTSC_LIBS $LIBS"
12058 cat >conftest.
$ac_ext <<_ACEOF
12061 cat confdefs.h
>>conftest.
$ac_ext
12062 cat >>conftest.
$ac_ext <<_ACEOF
12063 /* end confdefs.h. */
12065 /* Override any GCC internal prototype to avoid an error.
12066 Use char because int might match the return type of a GCC
12067 builtin and then its argument prototype would still apply. */
12075 return arts_init ();
12080 rm -f conftest.
$ac_objext conftest
$ac_exeext
12081 if { (ac_try
="$ac_link"
12082 case "(($ac_try" in
12083 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12084 *) ac_try_echo=$ac_try;;
12086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12087 (eval "$ac_link") 2>conftest.er1
12089 grep -v '^ *+' conftest.er1 >conftest.err
12091 cat conftest.err >&5
12092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12093 (exit $ac_status); } && {
12094 test -z "$ac_c_werror_flag" ||
12095 test ! -s conftest.err
12096 } && test -s conftest$ac_exeext &&
12097 $as_test_x conftest$ac_exeext; then
12098 ac_cv_lib_artsc_arts_init=yes
12100 echo "$as_me: failed program was:" >&5
12101 sed 's/^/| /' conftest.$ac_ext >&5
12103 ac_cv_lib_artsc_arts_init=no
12106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12107 conftest$ac_exeext conftest.$ac_ext
12108 LIBS=$ac_check_lib_save_LIBS
12110 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
12111 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
12112 if test $ac_cv_lib_artsc_arts_init = yes; then
12113 cat >conftest.$ac_ext <<_ACEOF
12116 cat confdefs.h >>conftest.$ac_ext
12117 cat >>conftest.$ac_ext <<_ACEOF
12118 /* end confdefs.h. */
12123 arts_stream_t stream;
12128 rm -f conftest.$ac_objext
12129 if { (ac_try="$ac_compile"
12130 case "(($ac_try" in
12131 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12132 *) ac_try_echo
=$ac_try;;
12134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12135 (eval "$ac_compile") 2>conftest.er1
12137 grep -v '^ *+' conftest.er1
>conftest.err
12139 cat conftest.err
>&5
12140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12141 (exit $ac_status); } && {
12142 test -z "$ac_c_werror_flag" ||
12143 test ! -s conftest.err
12144 } && test -s conftest.
$ac_objext; then
12145 ARTSLIBS
=$ARTSC_LIBS
12147 ARTSINCL
=$ARTSC_CFLAGS
12150 cat >>confdefs.h
<<\_ACEOF
12151 #define HAVE_ARTS 1
12155 echo "$as_me: failed program was:" >&5
12156 sed 's/^/| /' conftest.
$ac_ext >&5
12161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12164 CFLAGS
="$save_CFLAGS"
12167 # Extract the first word of "esd-config", so it can be a program name with args.
12168 set dummy esd-config
; ac_word
=$2
12169 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12171 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
12172 echo $ECHO_N "(cached) $ECHO_C" >&6
12176 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
12179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12180 for as_dir
in $PATH
12183 test -z "$as_dir" && as_dir
=.
12184 for ac_exec_ext
in '' $ac_executable_extensions; do
12185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12186 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
12187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12197 ESDCONFIG
=$ac_cv_path_ESDCONFIG
12198 if test -n "$ESDCONFIG"; then
12199 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
12200 echo "${ECHO_T}$ESDCONFIG" >&6; }
12202 { echo "$as_me:$LINENO: result: no" >&5
12203 echo "${ECHO_T}no" >&6; }
12207 if test x
$ESDCONFIG != x
-a x
$ESDCONFIG != x
'"$ESDCONFIG"';
12210 for i
in `$ESDCONFIG --cflags`
12213 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
12216 ESD_LIBS
=`$ESDCONFIG --libs`
12217 save_CFLAGS
="$CFLAGS"
12218 CFLAGS
="$CFLAGS $ESD_CFLAGS"
12219 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
12220 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
12221 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
12222 echo $ECHO_N "(cached) $ECHO_C" >&6
12224 ac_check_lib_save_LIBS
=$LIBS
12226 cat >conftest.
$ac_ext <<_ACEOF
12229 cat confdefs.h
>>conftest.
$ac_ext
12230 cat >>conftest.
$ac_ext <<_ACEOF
12231 /* end confdefs.h. */
12233 /* Override any GCC internal prototype to avoid an error.
12234 Use char because int might match the return type of a GCC
12235 builtin and then its argument prototype would still apply. */
12239 char esd_open_sound ();
12243 return esd_open_sound ();
12248 rm -f conftest.
$ac_objext conftest
$ac_exeext
12249 if { (ac_try
="$ac_link"
12250 case "(($ac_try" in
12251 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12252 *) ac_try_echo=$ac_try;;
12254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12255 (eval "$ac_link") 2>conftest.er1
12257 grep -v '^ *+' conftest.er1 >conftest.err
12259 cat conftest.err >&5
12260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12261 (exit $ac_status); } && {
12262 test -z "$ac_c_werror_flag" ||
12263 test ! -s conftest.err
12264 } && test -s conftest$ac_exeext &&
12265 $as_test_x conftest$ac_exeext; then
12266 ac_cv_lib_esd_esd_open_sound=yes
12268 echo "$as_me: failed program was:" >&5
12269 sed 's/^/| /' conftest.$ac_ext >&5
12271 ac_cv_lib_esd_esd_open_sound=no
12274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12275 conftest$ac_exeext conftest.$ac_ext
12276 LIBS=$ac_check_lib_save_LIBS
12278 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
12279 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
12280 if test $ac_cv_lib_esd_esd_open_sound = yes; then
12283 ESDINCL=$ESD_CFLAGS
12286 cat >>confdefs.h <<\_ACEOF
12292 CFLAGS="$save_CFLAGS"
12297 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12299 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
12300 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
12301 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
12302 echo $ECHO_N "(cached) $ECHO_C" >&6
12304 ac_check_lib_save_LIBS=$LIBS
12305 LIBS="-lasound $LIBS"
12306 cat >conftest.$ac_ext <<_ACEOF
12309 cat confdefs.h >>conftest.$ac_ext
12310 cat >>conftest.$ac_ext <<_ACEOF
12311 /* end confdefs.h. */
12313 /* Override any GCC internal prototype to avoid an error.
12314 Use char because int might match the return type of a GCC
12315 builtin and then its argument prototype would still apply. */
12319 char snd_pcm_hw_params_get_access ();
12323 return snd_pcm_hw_params_get_access ();
12328 rm -f conftest.$ac_objext conftest$ac_exeext
12329 if { (ac_try="$ac_link"
12330 case "(($ac_try" in
12331 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12332 *) ac_try_echo
=$ac_try;;
12334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12335 (eval "$ac_link") 2>conftest.er1
12337 grep -v '^ *+' conftest.er1
>conftest.err
12339 cat conftest.err
>&5
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); } && {
12342 test -z "$ac_c_werror_flag" ||
12343 test ! -s conftest.err
12344 } && test -s conftest
$ac_exeext &&
12345 $as_test_x conftest
$ac_exeext; then
12346 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
12348 echo "$as_me: failed program was:" >&5
12349 sed 's/^/| /' conftest.
$ac_ext >&5
12351 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
12354 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12355 conftest
$ac_exeext conftest.
$ac_ext
12356 LIBS
=$ac_check_lib_save_LIBS
12358 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
12359 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
12360 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
12361 cat >conftest.
$ac_ext <<_ACEOF
12364 cat confdefs.h
>>conftest.
$ac_ext
12365 cat >>conftest.
$ac_ext <<_ACEOF
12366 /* end confdefs.h. */
12367 #ifdef HAVE_ALSA_ASOUNDLIB_H
12368 #include <alsa/asoundlib.h>
12369 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12370 #include <sys/asoundlib.h>
12375 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
12380 rm -f conftest.
$ac_objext
12381 if { (ac_try
="$ac_compile"
12382 case "(($ac_try" in
12383 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12384 *) ac_try_echo=$ac_try;;
12386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12387 (eval "$ac_compile") 2>conftest.er1
12389 grep -v '^ *+' conftest.er1 >conftest.err
12391 cat conftest.err >&5
12392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12393 (exit $ac_status); } && {
12394 test -z "$ac_c_werror_flag" ||
12395 test ! -s conftest.err
12396 } && test -s conftest.$ac_objext; then
12398 cat >>confdefs.h <<\_ACEOF
12399 #define HAVE_ALSA 1
12402 ALSALIBS="-lasound"
12404 echo "$as_me: failed program was:" >&5
12405 sed 's/^/| /' conftest.$ac_ext >&5
12410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12418 if test "$ac_cv_header_libaudioio_h" = "yes"
12420 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12421 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
12422 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12423 echo $ECHO_N "(cached) $ECHO_C" >&6
12425 ac_check_lib_save_LIBS=$LIBS
12426 LIBS="-laudioio $LIBS"
12427 cat >conftest.$ac_ext <<_ACEOF
12430 cat confdefs.h >>conftest.$ac_ext
12431 cat >>conftest.$ac_ext <<_ACEOF
12432 /* end confdefs.h. */
12434 /* Override any GCC internal prototype to avoid an error.
12435 Use char because int might match the return type of a GCC
12436 builtin and then its argument prototype would still apply. */
12440 char AudioIOGetVersion ();
12444 return AudioIOGetVersion ();
12449 rm -f conftest.$ac_objext conftest$ac_exeext
12450 if { (ac_try="$ac_link"
12451 case "(($ac_try" in
12452 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12453 *) ac_try_echo
=$ac_try;;
12455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12456 (eval "$ac_link") 2>conftest.er1
12458 grep -v '^ *+' conftest.er1
>conftest.err
12460 cat conftest.err
>&5
12461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12462 (exit $ac_status); } && {
12463 test -z "$ac_c_werror_flag" ||
12464 test ! -s conftest.err
12465 } && test -s conftest
$ac_exeext &&
12466 $as_test_x conftest
$ac_exeext; then
12467 ac_cv_lib_audioio_AudioIOGetVersion
=yes
12469 echo "$as_me: failed program was:" >&5
12470 sed 's/^/| /' conftest.
$ac_ext >&5
12472 ac_cv_lib_audioio_AudioIOGetVersion
=no
12475 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12476 conftest
$ac_exeext conftest.
$ac_ext
12477 LIBS
=$ac_check_lib_save_LIBS
12479 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12480 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
12481 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12482 AUDIOIOLIBS
="-laudioio"
12484 cat >>confdefs.h
<<\_ACEOF
12485 #define HAVE_LIBAUDIOIO 1
12493 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12495 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12496 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
12497 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12498 echo $ECHO_N "(cached) $ECHO_C" >&6
12500 ac_check_lib_save_LIBS
=$LIBS
12501 LIBS
="-lcapi20 $LIBS"
12502 cat >conftest.
$ac_ext <<_ACEOF
12505 cat confdefs.h
>>conftest.
$ac_ext
12506 cat >>conftest.
$ac_ext <<_ACEOF
12507 /* end confdefs.h. */
12509 /* Override any GCC internal prototype to avoid an error.
12510 Use char because int might match the return type of a GCC
12511 builtin and then its argument prototype would still apply. */
12515 char capi20_register ();
12519 return capi20_register ();
12524 rm -f conftest.
$ac_objext conftest
$ac_exeext
12525 if { (ac_try
="$ac_link"
12526 case "(($ac_try" in
12527 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12528 *) ac_try_echo=$ac_try;;
12530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12531 (eval "$ac_link") 2>conftest.er1
12533 grep -v '^ *+' conftest.er1 >conftest.err
12535 cat conftest.err >&5
12536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12537 (exit $ac_status); } && {
12538 test -z "$ac_c_werror_flag" ||
12539 test ! -s conftest.err
12540 } && test -s conftest$ac_exeext &&
12541 $as_test_x conftest$ac_exeext; then
12542 ac_cv_lib_capi20_capi20_register=yes
12544 echo "$as_me: failed program was:" >&5
12545 sed 's/^/| /' conftest.$ac_ext >&5
12547 ac_cv_lib_capi20_capi20_register=no
12550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12551 conftest$ac_exeext conftest.$ac_ext
12552 LIBS=$ac_check_lib_save_LIBS
12554 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12555 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
12556 if test $ac_cv_lib_capi20_capi20_register = yes; then
12558 cat >>confdefs.h <<\_ACEOF
12559 #define HAVE_CAPI4LINUX 1
12569 if test "x${GCC}" = "xyes"
12571 EXTRACFLAGS="-Wall -pipe"
12573 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12574 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
12575 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12576 echo $ECHO_N "(cached) $ECHO_C" >&6
12578 if test "$cross_compiling" = yes; then
12579 ac_cv_c_gcc_strength_bug="yes"
12581 cat >conftest.$ac_ext <<_ACEOF
12584 cat confdefs.h >>conftest.$ac_ext
12585 cat >>conftest.$ac_ext <<_ACEOF
12586 /* end confdefs.h. */
12588 int L[4] = {0,1,2,3};
12590 static int Array[3];
12591 unsigned int B = 3;
12593 for(i=0; i<B; i++) Array[i] = i - 3;
12594 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12597 exit( Array[1] != -2 || L[2] != 3);
12600 rm -f conftest$ac_exeext
12601 if { (ac_try="$ac_link"
12602 case "(($ac_try" in
12603 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12604 *) ac_try_echo
=$ac_try;;
12606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12607 (eval "$ac_link") 2>&5
12609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12610 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12611 { (case "(($ac_try" in
12612 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12613 *) ac_try_echo=$ac_try;;
12615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12616 (eval "$ac_try") 2>&5
12618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12619 (exit $ac_status); }; }; then
12620 ac_cv_c_gcc_strength_bug="no"
12622 echo "$as_me: program exited with status $ac_status" >&5
12623 echo "$as_me: failed program was:" >&5
12624 sed 's/^/| /' conftest.$ac_ext >&5
12626 ( exit $ac_status )
12627 ac_cv_c_gcc_strength_bug="yes"
12629 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12634 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12635 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
12636 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12638 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12642 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
12643 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
12644 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
12645 echo $ECHO_N "(cached) $ECHO_C" >&6
12647 ac_wine_try_cflags_saved=$CFLAGS
12648 CFLAGS="$CFLAGS -fshort-wchar"
12649 cat >conftest.$ac_ext <<_ACEOF
12652 cat confdefs.h >>conftest.$ac_ext
12653 cat >>conftest.$ac_ext <<_ACEOF
12654 /* end confdefs.h. */
12664 rm -f conftest.$ac_objext conftest$ac_exeext
12665 if { (ac_try="$ac_link"
12666 case "(($ac_try" in
12667 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12668 *) ac_try_echo
=$ac_try;;
12670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12671 (eval "$ac_link") 2>conftest.er1
12673 grep -v '^ *+' conftest.er1
>conftest.err
12675 cat conftest.err
>&5
12676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12677 (exit $ac_status); } && {
12678 test -z "$ac_c_werror_flag" ||
12679 test ! -s conftest.err
12680 } && test -s conftest
$ac_exeext &&
12681 $as_test_x conftest
$ac_exeext; then
12682 ac_cv_cflags__fshort_wchar
=yes
12684 echo "$as_me: failed program was:" >&5
12685 sed 's/^/| /' conftest.
$ac_ext >&5
12687 ac_cv_cflags__fshort_wchar
=no
12690 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12691 conftest
$ac_exeext conftest.
$ac_ext
12692 CFLAGS
=$ac_wine_try_cflags_saved
12694 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
12695 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
12696 if test $ac_cv_cflags__fshort_wchar = yes; then
12698 cat >>confdefs.h
<<\_ACEOF
12699 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12704 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
12705 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
12706 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
12707 echo $ECHO_N "(cached) $ECHO_C" >&6
12709 ac_wine_try_cflags_saved
=$CFLAGS
12710 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12711 cat >conftest.
$ac_ext <<_ACEOF
12714 cat confdefs.h
>>conftest.
$ac_ext
12715 cat >>conftest.
$ac_ext <<_ACEOF
12716 /* end confdefs.h. */
12726 rm -f conftest.
$ac_objext conftest
$ac_exeext
12727 if { (ac_try
="$ac_link"
12728 case "(($ac_try" in
12729 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12730 *) ac_try_echo=$ac_try;;
12732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12733 (eval "$ac_link") 2>conftest.er1
12735 grep -v '^ *+' conftest.er1 >conftest.err
12737 cat conftest.err >&5
12738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12739 (exit $ac_status); } && {
12740 test -z "$ac_c_werror_flag" ||
12741 test ! -s conftest.err
12742 } && test -s conftest$ac_exeext &&
12743 $as_test_x conftest$ac_exeext; then
12744 ac_cv_cflags__fno_strict_aliasing=yes
12746 echo "$as_me: failed program was:" >&5
12747 sed 's/^/| /' conftest.$ac_ext >&5
12749 ac_cv_cflags__fno_strict_aliasing=no
12752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12753 conftest$ac_exeext conftest.$ac_ext
12754 CFLAGS=$ac_wine_try_cflags_saved
12756 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12757 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
12758 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
12759 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12762 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12763 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
12764 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
12765 echo $ECHO_N "(cached) $ECHO_C" >&6
12767 ac_wine_try_cflags_saved=$CFLAGS
12768 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12769 cat >conftest.$ac_ext <<_ACEOF
12772 cat confdefs.h >>conftest.$ac_ext
12773 cat >>conftest.$ac_ext <<_ACEOF
12774 /* end confdefs.h. */
12784 rm -f conftest.$ac_objext conftest$ac_exeext
12785 if { (ac_try="$ac_link"
12786 case "(($ac_try" in
12787 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12788 *) ac_try_echo
=$ac_try;;
12790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12791 (eval "$ac_link") 2>conftest.er1
12793 grep -v '^ *+' conftest.er1
>conftest.err
12795 cat conftest.err
>&5
12796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12797 (exit $ac_status); } && {
12798 test -z "$ac_c_werror_flag" ||
12799 test ! -s conftest.err
12800 } && test -s conftest
$ac_exeext &&
12801 $as_test_x conftest
$ac_exeext; then
12802 ac_cv_cflags__Wdeclaration_after_statement
=yes
12804 echo "$as_me: failed program was:" >&5
12805 sed 's/^/| /' conftest.
$ac_ext >&5
12807 ac_cv_cflags__Wdeclaration_after_statement
=no
12810 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12811 conftest
$ac_exeext conftest.
$ac_ext
12812 CFLAGS
=$ac_wine_try_cflags_saved
12814 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12815 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12816 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
12817 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
12820 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
12821 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
12822 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
12823 echo $ECHO_N "(cached) $ECHO_C" >&6
12825 ac_wine_try_cflags_saved
=$CFLAGS
12826 CFLAGS
="$CFLAGS -Wwrite-strings"
12827 cat >conftest.
$ac_ext <<_ACEOF
12830 cat confdefs.h
>>conftest.
$ac_ext
12831 cat >>conftest.
$ac_ext <<_ACEOF
12832 /* end confdefs.h. */
12842 rm -f conftest.
$ac_objext conftest
$ac_exeext
12843 if { (ac_try
="$ac_link"
12844 case "(($ac_try" in
12845 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12846 *) ac_try_echo=$ac_try;;
12848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12849 (eval "$ac_link") 2>conftest.er1
12851 grep -v '^ *+' conftest.er1 >conftest.err
12853 cat conftest.err >&5
12854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12855 (exit $ac_status); } && {
12856 test -z "$ac_c_werror_flag" ||
12857 test ! -s conftest.err
12858 } && test -s conftest$ac_exeext &&
12859 $as_test_x conftest$ac_exeext; then
12860 ac_cv_cflags__Wwrite_strings=yes
12862 echo "$as_me: failed program was:" >&5
12863 sed 's/^/| /' conftest.$ac_ext >&5
12865 ac_cv_cflags__Wwrite_strings=no
12868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12869 conftest$ac_exeext conftest.$ac_ext
12870 CFLAGS=$ac_wine_try_cflags_saved
12872 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
12873 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
12874 if test $ac_cv_cflags__Wwrite_strings = yes; then
12875 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12879 saved_CFLAGS="$CFLAGS"
12880 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12881 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12882 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
12883 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12884 echo $ECHO_N "(cached) $ECHO_C" >&6
12886 cat >conftest.$ac_ext <<_ACEOF
12889 cat confdefs.h >>conftest.$ac_ext
12890 cat >>conftest.$ac_ext <<_ACEOF
12891 /* end confdefs.h. */
12892 #include <string.h>
12901 rm -f conftest.$ac_objext
12902 if { (ac_try="$ac_compile"
12903 case "(($ac_try" in
12904 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12905 *) ac_try_echo
=$ac_try;;
12907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12908 (eval "$ac_compile") 2>conftest.er1
12910 grep -v '^ *+' conftest.er1
>conftest.err
12912 cat conftest.err
>&5
12913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 (exit $ac_status); } && {
12915 test -z "$ac_c_werror_flag" ||
12916 test ! -s conftest.err
12917 } && test -s conftest.
$ac_objext; then
12918 ac_cv_c_string_h_warnings
=no
12920 echo "$as_me: failed program was:" >&5
12921 sed 's/^/| /' conftest.
$ac_ext >&5
12923 ac_cv_c_string_h_warnings
=yes
12926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12928 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12929 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
12930 CFLAGS
="$saved_CFLAGS"
12931 if test "$ac_cv_c_string_h_warnings" = "no"
12933 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12938 saved_CFLAGS
="$CFLAGS"
12939 CFLAGS
="$CFLAGS -Werror"
12940 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
12941 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
12942 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
12943 echo $ECHO_N "(cached) $ECHO_C" >&6
12945 cat >conftest.
$ac_ext <<_ACEOF
12948 cat confdefs.h
>>conftest.
$ac_ext
12949 cat >>conftest.
$ac_ext <<_ACEOF
12950 /* end confdefs.h. */
12955 int iswlower(unsigned short);
12960 rm -f conftest.
$ac_objext
12961 if { (ac_try
="$ac_compile"
12962 case "(($ac_try" in
12963 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12964 *) ac_try_echo=$ac_try;;
12966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12967 (eval "$ac_compile") 2>conftest.er1
12969 grep -v '^ *+' conftest.er1 >conftest.err
12971 cat conftest.err >&5
12972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12973 (exit $ac_status); } && {
12974 test -z "$ac_c_werror_flag" ||
12975 test ! -s conftest.err
12976 } && test -s conftest.$ac_objext; then
12977 ac_cv_c_builtin_wchar_ctype=no
12979 echo "$as_me: failed program was:" >&5
12980 sed 's/^/| /' conftest.$ac_ext >&5
12982 ac_cv_c_builtin_wchar_ctype=yes
12985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12987 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
12988 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
12989 CFLAGS="$saved_CFLAGS"
12990 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
12992 BUILTINFLAG="-fno-builtin"
12997 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12998 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
12999 if test "${ac_cv_asm_func_def+set}" = set; then
13000 echo $ECHO_N "(cached) $ECHO_C" >&6
13002 cat >conftest.$ac_ext <<_ACEOF
13005 cat confdefs.h >>conftest.$ac_ext
13006 cat >>conftest.$ac_ext <<_ACEOF
13007 /* end confdefs.h. */
13008 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"); }
13018 rm -f conftest.$ac_objext conftest$ac_exeext
13019 if { (ac_try="$ac_link"
13020 case "(($ac_try" in
13021 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13022 *) ac_try_echo
=$ac_try;;
13024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13025 (eval "$ac_link") 2>conftest.er1
13027 grep -v '^ *+' conftest.er1
>conftest.err
13029 cat conftest.err
>&5
13030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13031 (exit $ac_status); } && {
13032 test -z "$ac_c_werror_flag" ||
13033 test ! -s conftest.err
13034 } && test -s conftest
$ac_exeext &&
13035 $as_test_x conftest
$ac_exeext; then
13036 ac_cv_asm_func_def
=".def"
13038 echo "$as_me: failed program was:" >&5
13039 sed 's/^/| /' conftest.
$ac_ext >&5
13041 cat >conftest.
$ac_ext <<_ACEOF
13044 cat confdefs.h
>>conftest.
$ac_ext
13045 cat >>conftest.
$ac_ext <<_ACEOF
13046 /* end confdefs.h. */
13047 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
13057 rm -f conftest.
$ac_objext conftest
$ac_exeext
13058 if { (ac_try
="$ac_link"
13059 case "(($ac_try" in
13060 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13061 *) ac_try_echo=$ac_try;;
13063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13064 (eval "$ac_link") 2>conftest.er1
13066 grep -v '^ *+' conftest.er1 >conftest.err
13068 cat conftest.err >&5
13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); } && {
13071 test -z "$ac_c_werror_flag" ||
13072 test ! -s conftest.err
13073 } && test -s conftest$ac_exeext &&
13074 $as_test_x conftest$ac_exeext; then
13075 ac_cv_asm_func_def=".type @function"
13077 echo "$as_me: failed program was:" >&5
13078 sed 's/^/| /' conftest.$ac_ext >&5
13080 cat >conftest.$ac_ext <<_ACEOF
13083 cat confdefs.h >>conftest.$ac_ext
13084 cat >>conftest.$ac_ext <<_ACEOF
13085 /* end confdefs.h. */
13086 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
13096 rm -f conftest.$ac_objext conftest$ac_exeext
13097 if { (ac_try="$ac_link"
13098 case "(($ac_try" in
13099 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13100 *) ac_try_echo
=$ac_try;;
13102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13103 (eval "$ac_link") 2>conftest.er1
13105 grep -v '^ *+' conftest.er1
>conftest.err
13107 cat conftest.err
>&5
13108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13109 (exit $ac_status); } && {
13110 test -z "$ac_c_werror_flag" ||
13111 test ! -s conftest.err
13112 } && test -s conftest
$ac_exeext &&
13113 $as_test_x conftest
$ac_exeext; then
13114 ac_cv_asm_func_def
=".type 2"
13116 echo "$as_me: failed program was:" >&5
13117 sed 's/^/| /' conftest.
$ac_ext >&5
13119 ac_cv_asm_func_def
="unknown"
13122 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13123 conftest
$ac_exeext conftest.
$ac_ext
13126 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13127 conftest
$ac_exeext conftest.
$ac_ext
13130 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13131 conftest
$ac_exeext conftest.
$ac_ext
13133 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
13134 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
13138 case "$ac_cv_asm_func_def" in
13140 cat >>confdefs.h
<<\_ACEOF
13141 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
13145 cat >>confdefs.h
<<\_ACEOF
13146 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
13150 cat >>confdefs.h
<<\_ACEOF
13151 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
13155 cat >>confdefs.h
<<\_ACEOF
13156 #define __ASM_FUNC(name) ""
13162 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
13163 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
13164 if test "${ac_cv_c_extern_prefix+set}" = set; then
13165 echo $ECHO_N "(cached) $ECHO_C" >&6
13167 cat >conftest.
$ac_ext <<_ACEOF
13170 cat confdefs.h
>>conftest.
$ac_ext
13171 cat >>conftest.
$ac_ext <<_ACEOF
13172 /* end confdefs.h. */
13173 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
13174 extern int ac_test;
13178 if (ac_test) return 1
13183 rm -f conftest.
$ac_objext conftest
$ac_exeext
13184 if { (ac_try
="$ac_link"
13185 case "(($ac_try" in
13186 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13187 *) ac_try_echo=$ac_try;;
13189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13190 (eval "$ac_link") 2>conftest.er1
13192 grep -v '^ *+' conftest.er1 >conftest.err
13194 cat conftest.err >&5
13195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13196 (exit $ac_status); } && {
13197 test -z "$ac_c_werror_flag" ||
13198 test ! -s conftest.err
13199 } && test -s conftest$ac_exeext &&
13200 $as_test_x conftest$ac_exeext; then
13201 ac_cv_c_extern_prefix="yes"
13203 echo "$as_me: failed program was:" >&5
13204 sed 's/^/| /' conftest.$ac_ext >&5
13206 ac_cv_c_extern_prefix="no"
13209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13210 conftest$ac_exeext conftest.$ac_ext
13212 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
13213 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
13217 if test "$ac_cv_c_extern_prefix" = "yes"
13219 cat >>confdefs.h <<\_ACEOF
13220 #define __ASM_NAME(name) "_" name
13224 cat >>confdefs.h <<\_ACEOF
13225 #define __ASM_NAME(name) name
13233 DLLFLAGS="-D_REENTRANT"
13248 if test -n "$ac_tool_prefix"; then
13249 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13250 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
13251 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13253 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13254 echo $ECHO_N "(cached) $ECHO_C" >&6
13256 if test -n "$DLLTOOL"; then
13257 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13260 for as_dir in $PATH
13263 test -z "$as_dir" && as_dir=.
13264 for ac_exec_ext in '' $ac_executable_extensions; do
13265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13266 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
13267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13276 DLLTOOL=$ac_cv_prog_DLLTOOL
13277 if test -n "$DLLTOOL"; then
13278 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13279 echo "${ECHO_T}$DLLTOOL" >&6; }
13281 { echo "$as_me:$LINENO: result: no" >&5
13282 echo "${ECHO_T}no" >&6; }
13287 if test -z "$ac_cv_prog_DLLTOOL"; then
13288 ac_ct_DLLTOOL=$DLLTOOL
13289 # Extract the first word of "dlltool", so it can be a program name with args.
13290 set dummy dlltool; ac_word=$2
13291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13293 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13294 echo $ECHO_N "(cached) $ECHO_C" >&6
13296 if test -n "$ac_ct_DLLTOOL"; then
13297 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
13299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13300 for as_dir in $PATH
13303 test -z "$as_dir" && as_dir=.
13304 for ac_exec_ext in '' $ac_executable_extensions; do
13305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13306 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
13307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13316 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
13317 if test -n "$ac_ct_DLLTOOL"; then
13318 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13319 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
13321 { echo "$as_me:$LINENO: result: no" >&5
13322 echo "${ECHO_T}no" >&6; }
13325 if test "x$ac_ct_DLLTOOL" = x; then
13328 case $cross_compiling:$ac_tool_warned in
13330 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13331 whose name does not start with the host triplet. If you think this
13332 configuration is useful to you, please write to autoconf@gnu.org." >&5
13333 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13334 whose name does not start with the host triplet. If you think this
13335 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13336 ac_tool_warned=yes ;;
13338 DLLTOOL=$ac_ct_DLLTOOL
13341 DLLTOOL="$ac_cv_prog_DLLTOOL"
13344 if test -n "$ac_tool_prefix"; then
13345 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13346 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
13347 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13349 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13350 echo $ECHO_N "(cached) $ECHO_C" >&6
13352 if test -n "$DLLWRAP"; then
13353 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
13355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13356 for as_dir in $PATH
13359 test -z "$as_dir" && as_dir=.
13360 for ac_exec_ext in '' $ac_executable_extensions; do
13361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13362 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
13363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13372 DLLWRAP=$ac_cv_prog_DLLWRAP
13373 if test -n "$DLLWRAP"; then
13374 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13375 echo "${ECHO_T}$DLLWRAP" >&6; }
13377 { echo "$as_me:$LINENO: result: no" >&5
13378 echo "${ECHO_T}no" >&6; }
13383 if test -z "$ac_cv_prog_DLLWRAP"; then
13384 ac_ct_DLLWRAP=$DLLWRAP
13385 # Extract the first word of "dllwrap", so it can be a program name with args.
13386 set dummy dllwrap; ac_word=$2
13387 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13389 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13390 echo $ECHO_N "(cached) $ECHO_C" >&6
13392 if test -n "$ac_ct_DLLWRAP"; then
13393 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13396 for as_dir in $PATH
13399 test -z "$as_dir" && as_dir=.
13400 for ac_exec_ext in '' $ac_executable_extensions; do
13401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13402 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13412 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13413 if test -n "$ac_ct_DLLWRAP"; then
13414 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13415 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
13417 { echo "$as_me:$LINENO: result: no" >&5
13418 echo "${ECHO_T}no" >&6; }
13421 if test "x$ac_ct_DLLWRAP" = x; then
13424 case $cross_compiling:$ac_tool_warned in
13426 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13427 whose name does not start with the host triplet. If you think this
13428 configuration is useful to you, please write to autoconf@gnu.org." >&5
13429 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13430 whose name does not start with the host triplet. If you think this
13431 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13432 ac_tool_warned=yes ;;
13434 DLLWRAP=$ac_ct_DLLWRAP
13437 DLLWRAP="$ac_cv_prog_DLLWRAP"
13440 if test "$DLLWRAP" = "false"; then
13452 DLLFLAGS="$DLLFLAGS -fPIC"
13453 LDDLLFLAGS="-bundle -multiply_defined suppress"
13454 LIBWINE_LDFLAGS="-multiply_defined suppress"
13455 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`/\$(DYNAME)"
13456 STRIP="$STRIP -u -r"
13457 COREFOUNDATIONLIB="-framework CoreFoundation"
13459 IOKITLIB="-framework IOKit -framework CoreFoundation"
13461 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
13463 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
13465 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
13468 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
13470 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
13475 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
13477 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
13479 CARBONLIB="-framework Carbon"
13481 QUARTZFILES='$(QUARTZFILES)'
13485 DLLFLAGS="$DLLFLAGS -fPIC"
13487 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13488 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
13489 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13490 echo $ECHO_N "(cached) $ECHO_C" >&6
13492 ac_wine_try_cflags_saved=$CFLAGS
13493 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
13494 cat >conftest.$ac_ext <<_ACEOF
13497 rm -f conftest.$ac_objext conftest$ac_exeext
13498 if { (ac_try="$ac_link"
13499 case "(($ac_try" in
13500 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13501 *) ac_try_echo
=$ac_try;;
13503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13504 (eval "$ac_link") 2>conftest.er1
13506 grep -v '^ *+' conftest.er1
>conftest.err
13508 cat conftest.err
>&5
13509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13510 (exit $ac_status); } && {
13511 test -z "$ac_c_werror_flag" ||
13512 test ! -s conftest.err
13513 } && test -s conftest
$ac_exeext &&
13514 $as_test_x conftest
$ac_exeext; then
13515 ac_cv_c_dll_gnuelf
="yes"
13517 echo "$as_me: failed program was:" >&5
13518 sed 's/^/| /' conftest.
$ac_ext >&5
13520 ac_cv_c_dll_gnuelf
="no"
13523 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13524 conftest
$ac_exeext conftest.
$ac_ext
13525 CFLAGS
=$ac_wine_try_cflags_saved
13527 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13528 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
13529 if test "$ac_cv_c_dll_gnuelf" = "yes"
13531 LDSHARED
="\$(CC) -shared"
13532 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
13533 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
13534 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
13535 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
13536 echo $ECHO_N "(cached) $ECHO_C" >&6
13538 ac_wine_try_cflags_saved
=$CFLAGS
13539 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
13540 cat >conftest.
$ac_ext <<_ACEOF
13543 cat confdefs.h
>>conftest.
$ac_ext
13544 cat >>conftest.
$ac_ext <<_ACEOF
13545 /* end confdefs.h. */
13555 rm -f conftest.
$ac_objext conftest
$ac_exeext
13556 if { (ac_try
="$ac_link"
13557 case "(($ac_try" in
13558 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13559 *) ac_try_echo=$ac_try;;
13561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13562 (eval "$ac_link") 2>conftest.er1
13564 grep -v '^ *+' conftest.er1 >conftest.err
13566 cat conftest.err >&5
13567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13568 (exit $ac_status); } && {
13569 test -z "$ac_c_werror_flag" ||
13570 test ! -s conftest.err
13571 } && test -s conftest$ac_exeext &&
13572 $as_test_x conftest$ac_exeext; then
13573 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
13575 echo "$as_me: failed program was:" >&5
13576 sed 's/^/| /' conftest.$ac_ext >&5
13578 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
13581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13582 conftest$ac_exeext conftest.$ac_ext
13583 CFLAGS=$ac_wine_try_cflags_saved
13585 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
13586 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
13587 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
13588 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13590 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
13591 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
13592 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
13593 echo $ECHO_N "(cached) $ECHO_C" >&6
13595 ac_wine_try_cflags_saved=$CFLAGS
13596 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
13597 cat >conftest.$ac_ext <<_ACEOF
13600 cat confdefs.h >>conftest.$ac_ext
13601 cat >>conftest.$ac_ext <<_ACEOF
13602 /* end confdefs.h. */
13612 rm -f conftest.$ac_objext conftest$ac_exeext
13613 if { (ac_try="$ac_link"
13614 case "(($ac_try" in
13615 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13616 *) ac_try_echo
=$ac_try;;
13618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13619 (eval "$ac_link") 2>conftest.er1
13621 grep -v '^ *+' conftest.er1
>conftest.err
13623 cat conftest.err
>&5
13624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13625 (exit $ac_status); } && {
13626 test -z "$ac_c_werror_flag" ||
13627 test ! -s conftest.err
13628 } && test -s conftest
$ac_exeext &&
13629 $as_test_x conftest
$ac_exeext; then
13630 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
13632 echo "$as_me: failed program was:" >&5
13633 sed 's/^/| /' conftest.
$ac_ext >&5
13635 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
13638 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13639 conftest
$ac_exeext conftest.
$ac_ext
13640 CFLAGS
=$ac_wine_try_cflags_saved
13642 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
13643 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
13644 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
13645 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
13651 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
13652 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
13653 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
13654 echo $ECHO_N "(cached) $ECHO_C" >&6
13656 ac_wine_try_cflags_saved
=$CFLAGS
13657 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13658 cat >conftest.
$ac_ext <<_ACEOF
13661 cat confdefs.h
>>conftest.
$ac_ext
13662 cat >>conftest.
$ac_ext <<_ACEOF
13663 /* end confdefs.h. */
13673 rm -f conftest.
$ac_objext conftest
$ac_exeext
13674 if { (ac_try
="$ac_link"
13675 case "(($ac_try" in
13676 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13677 *) ac_try_echo=$ac_try;;
13679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13680 (eval "$ac_link") 2>conftest.er1
13682 grep -v '^ *+' conftest.er1 >conftest.err
13684 cat conftest.err >&5
13685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13686 (exit $ac_status); } && {
13687 test -z "$ac_c_werror_flag" ||
13688 test ! -s conftest.err
13689 } && test -s conftest$ac_exeext &&
13690 $as_test_x conftest$ac_exeext; then
13691 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
13693 echo "$as_me: failed program was:" >&5
13694 sed 's/^/| /' conftest.$ac_ext >&5
13696 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
13699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13700 conftest$ac_exeext conftest.$ac_ext
13701 CFLAGS=$ac_wine_try_cflags_saved
13703 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
13704 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
13705 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
13706 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
13710 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
13711 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
13712 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
13713 echo $ECHO_N "(cached) $ECHO_C" >&6
13715 ac_wine_try_cflags_saved=$CFLAGS
13716 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13717 cat >conftest.$ac_ext <<_ACEOF
13720 cat confdefs.h >>conftest.$ac_ext
13721 cat >>conftest.$ac_ext <<_ACEOF
13722 /* end confdefs.h. */
13732 rm -f conftest.$ac_objext conftest$ac_exeext
13733 if { (ac_try="$ac_link"
13734 case "(($ac_try" in
13735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13736 *) ac_try_echo
=$ac_try;;
13738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13739 (eval "$ac_link") 2>conftest.er1
13741 grep -v '^ *+' conftest.er1
>conftest.err
13743 cat conftest.err
>&5
13744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 (exit $ac_status); } && {
13746 test -z "$ac_c_werror_flag" ||
13747 test ! -s conftest.err
13748 } && test -s conftest
$ac_exeext &&
13749 $as_test_x conftest
$ac_exeext; then
13750 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
13752 echo "$as_me: failed program was:" >&5
13753 sed 's/^/| /' conftest.
$ac_ext >&5
13755 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
13758 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13759 conftest
$ac_exeext conftest.
$ac_ext
13760 CFLAGS
=$ac_wine_try_cflags_saved
13762 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
13763 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
13764 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
13765 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13769 echo '{ global: *; };' >conftest.map
13770 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
13771 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
13772 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
13773 echo $ECHO_N "(cached) $ECHO_C" >&6
13775 ac_wine_try_cflags_saved
=$CFLAGS
13776 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13777 cat >conftest.
$ac_ext <<_ACEOF
13780 cat confdefs.h
>>conftest.
$ac_ext
13781 cat >>conftest.
$ac_ext <<_ACEOF
13782 /* end confdefs.h. */
13792 rm -f conftest.
$ac_objext conftest
$ac_exeext
13793 if { (ac_try
="$ac_link"
13794 case "(($ac_try" in
13795 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13796 *) ac_try_echo=$ac_try;;
13798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13799 (eval "$ac_link") 2>conftest.er1
13801 grep -v '^ *+' conftest.er1 >conftest.err
13803 cat conftest.err >&5
13804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13805 (exit $ac_status); } && {
13806 test -z "$ac_c_werror_flag" ||
13807 test ! -s conftest.err
13808 } && test -s conftest$ac_exeext &&
13809 $as_test_x conftest$ac_exeext; then
13810 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
13812 echo "$as_me: failed program was:" >&5
13813 sed 's/^/| /' conftest.$ac_ext >&5
13815 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
13818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13819 conftest$ac_exeext conftest.$ac_ext
13820 CFLAGS=$ac_wine_try_cflags_saved
13822 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
13823 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
13824 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
13825 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13830 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
13831 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
13832 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
13833 echo $ECHO_N "(cached) $ECHO_C" >&6
13835 ac_wine_try_cflags_saved=$CFLAGS
13836 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13837 cat >conftest.$ac_ext <<_ACEOF
13840 cat confdefs.h >>conftest.$ac_ext
13841 cat >>conftest.$ac_ext <<_ACEOF
13842 /* end confdefs.h. */
13852 rm -f conftest.$ac_objext conftest$ac_exeext
13853 if { (ac_try="$ac_link"
13854 case "(($ac_try" in
13855 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13856 *) ac_try_echo
=$ac_try;;
13858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13859 (eval "$ac_link") 2>conftest.er1
13861 grep -v '^ *+' conftest.er1
>conftest.err
13863 cat conftest.err
>&5
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 (exit $ac_status); } && {
13866 test -z "$ac_c_werror_flag" ||
13867 test ! -s conftest.err
13868 } && test -s conftest
$ac_exeext &&
13869 $as_test_x conftest
$ac_exeext; then
13870 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
13872 echo "$as_me: failed program was:" >&5
13873 sed 's/^/| /' conftest.
$ac_ext >&5
13875 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
13878 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13879 conftest
$ac_exeext conftest.
$ac_ext
13880 CFLAGS
=$ac_wine_try_cflags_saved
13882 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
13883 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
13884 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
13885 LDEXECFLAGS
="-Wl,--export-dynamic"
13890 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
13891 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
13892 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
13893 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13894 echo $ECHO_N "(cached) $ECHO_C" >&6
13896 ac_wine_try_cflags_saved
=$CFLAGS
13897 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
13898 cat >conftest.
$ac_ext <<_ACEOF
13901 cat confdefs.h
>>conftest.
$ac_ext
13902 cat >>conftest.
$ac_ext <<_ACEOF
13903 /* end confdefs.h. */
13913 rm -f conftest.
$ac_objext conftest
$ac_exeext
13914 if { (ac_try
="$ac_link"
13915 case "(($ac_try" in
13916 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13917 *) ac_try_echo=$ac_try;;
13919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13920 (eval "$ac_link") 2>conftest.er1
13922 grep -v '^ *+' conftest.er1 >conftest.err
13924 cat conftest.err >&5
13925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926 (exit $ac_status); } && {
13927 test -z "$ac_c_werror_flag" ||
13928 test ! -s conftest.err
13929 } && test -s conftest$ac_exeext &&
13930 $as_test_x conftest$ac_exeext; then
13931 eval "$as_ac_var=yes"
13933 echo "$as_me: failed program was:" >&5
13934 sed 's/^/| /' conftest.$ac_ext >&5
13936 eval "$as_ac_var=no"
13939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13940 conftest$ac_exeext conftest.$ac_ext
13941 CFLAGS=$ac_wine_try_cflags_saved
13943 ac_res=`eval echo '${'$as_ac_var'}'`
13944 { echo "$as_me:$LINENO: result: $ac_res" >&5
13945 echo "${ECHO_T}$ac_res" >&6; }
13946 if test `eval echo '${'$as_ac_var'}'` = yes; then
13947 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
13952 *i[3456789]86* | x86_64)
13953 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
13954 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
13955 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
13956 echo $ECHO_N "(cached) $ECHO_C" >&6
13958 ac_wine_try_cflags_saved=$CFLAGS
13959 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
13960 cat >conftest.$ac_ext <<_ACEOF
13963 cat confdefs.h >>conftest.$ac_ext
13964 cat >>conftest.$ac_ext <<_ACEOF
13965 /* end confdefs.h. */
13975 rm -f conftest.$ac_objext conftest$ac_exeext
13976 if { (ac_try="$ac_link"
13977 case "(($ac_try" in
13978 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13979 *) ac_try_echo
=$ac_try;;
13981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13982 (eval "$ac_link") 2>conftest.er1
13984 grep -v '^ *+' conftest.er1
>conftest.err
13986 cat conftest.err
>&5
13987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13988 (exit $ac_status); } && {
13989 test -z "$ac_c_werror_flag" ||
13990 test ! -s conftest.err
13991 } && test -s conftest
$ac_exeext &&
13992 $as_test_x conftest
$ac_exeext; then
13993 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
13995 echo "$as_me: failed program was:" >&5
13996 sed 's/^/| /' conftest.
$ac_ext >&5
13998 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
14001 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14002 conftest
$ac_exeext conftest.
$ac_ext
14003 CFLAGS
=$ac_wine_try_cflags_saved
14005 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
14006 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
14007 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
14008 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
14015 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
14016 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
14017 if test "${ac_cv_c_dll_unixware+set}" = set; then
14018 echo $ECHO_N "(cached) $ECHO_C" >&6
14020 ac_wine_try_cflags_saved
=$CFLAGS
14021 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
14022 cat >conftest.
$ac_ext <<_ACEOF
14025 rm -f conftest.
$ac_objext conftest
$ac_exeext
14026 if { (ac_try
="$ac_link"
14027 case "(($ac_try" in
14028 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14029 *) ac_try_echo=$ac_try;;
14031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14032 (eval "$ac_link") 2>conftest.er1
14034 grep -v '^ *+' conftest.er1 >conftest.err
14036 cat conftest.err >&5
14037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14038 (exit $ac_status); } && {
14039 test -z "$ac_c_werror_flag" ||
14040 test ! -s conftest.err
14041 } && test -s conftest$ac_exeext &&
14042 $as_test_x conftest$ac_exeext; then
14043 ac_cv_c_dll_unixware="yes"
14045 echo "$as_me: failed program was:" >&5
14046 sed 's/^/| /' conftest.$ac_ext >&5
14048 ac_cv_c_dll_unixware="no"
14051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14052 conftest$ac_exeext conftest.$ac_ext
14053 CFLAGS=$ac_wine_try_cflags_saved
14055 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
14056 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
14057 if test "$ac_cv_c_dll_unixware" = "yes"
14059 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
14060 LDDLLFLAGS="-Wl,-G,-B,symbolic"
14063 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
14064 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
14065 if test "${ac_cv_c_dll_hpux+set}" = set; then
14066 echo $ECHO_N "(cached) $ECHO_C" >&6
14068 ac_wine_try_cflags_saved=$CFLAGS
14069 CFLAGS="$CFLAGS -shared"
14070 cat >conftest.$ac_ext <<_ACEOF
14073 rm -f conftest.$ac_objext conftest$ac_exeext
14074 if { (ac_try="$ac_link"
14075 case "(($ac_try" in
14076 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14077 *) ac_try_echo
=$ac_try;;
14079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14080 (eval "$ac_link") 2>conftest.er1
14082 grep -v '^ *+' conftest.er1
>conftest.err
14084 cat conftest.err
>&5
14085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14086 (exit $ac_status); } && {
14087 test -z "$ac_c_werror_flag" ||
14088 test ! -s conftest.err
14089 } && test -s conftest
$ac_exeext &&
14090 $as_test_x conftest
$ac_exeext; then
14091 ac_cv_c_dll_hpux
="yes"
14093 echo "$as_me: failed program was:" >&5
14094 sed 's/^/| /' conftest.
$ac_ext >&5
14096 ac_cv_c_dll_hpux
="no"
14099 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14100 conftest
$ac_exeext conftest.
$ac_ext
14101 CFLAGS
=$ac_wine_try_cflags_saved
14103 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
14104 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
14105 if test "$ac_cv_c_dll_hpux" = "yes"
14109 LDDLLFLAGS
="-shared -fPIC"
14110 LDSHARED
="\$(CC) -shared"
14117 if test "$cross_compiling" = "no"
14119 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
14121 # Extract the first word of "$ac_prog", so it can be a program name with args.
14122 set dummy
$ac_prog; ac_word
=$2
14123 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14125 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14126 echo $ECHO_N "(cached) $ECHO_C" >&6
14128 if test -n "$CROSSCC"; then
14129 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
14131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14132 for as_dir
in $PATH
14135 test -z "$as_dir" && as_dir
=.
14136 for ac_exec_ext
in '' $ac_executable_extensions; do
14137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14138 ac_cv_prog_CROSSCC
="$ac_prog"
14139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14148 CROSSCC
=$ac_cv_prog_CROSSCC
14149 if test -n "$CROSSCC"; then
14150 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
14151 echo "${ECHO_T}$CROSSCC" >&6; }
14153 { echo "$as_me:$LINENO: result: no" >&5
14154 echo "${ECHO_T}no" >&6; }
14158 test -n "$CROSSCC" && break
14160 test -n "$CROSSCC" || CROSSCC
="false"
14162 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
14164 # Extract the first word of "$ac_prog", so it can be a program name with args.
14165 set dummy
$ac_prog; ac_word
=$2
14166 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14168 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14169 echo $ECHO_N "(cached) $ECHO_C" >&6
14171 if test -n "$DLLTOOL"; then
14172 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14175 for as_dir
in $PATH
14178 test -z "$as_dir" && as_dir
=.
14179 for ac_exec_ext
in '' $ac_executable_extensions; do
14180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14181 ac_cv_prog_DLLTOOL
="$ac_prog"
14182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14191 DLLTOOL
=$ac_cv_prog_DLLTOOL
14192 if test -n "$DLLTOOL"; then
14193 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14194 echo "${ECHO_T}$DLLTOOL" >&6; }
14196 { echo "$as_me:$LINENO: result: no" >&5
14197 echo "${ECHO_T}no" >&6; }
14201 test -n "$DLLTOOL" && break
14203 test -n "$DLLTOOL" || DLLTOOL
="false"
14205 for ac_prog
in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
14207 # Extract the first word of "$ac_prog", so it can be a program name with args.
14208 set dummy
$ac_prog; ac_word
=$2
14209 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14211 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14212 echo $ECHO_N "(cached) $ECHO_C" >&6
14214 if test -n "$CROSSWINDRES"; then
14215 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
14217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14218 for as_dir
in $PATH
14221 test -z "$as_dir" && as_dir
=.
14222 for ac_exec_ext
in '' $ac_executable_extensions; do
14223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14224 ac_cv_prog_CROSSWINDRES
="$ac_prog"
14225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14234 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
14235 if test -n "$CROSSWINDRES"; then
14236 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14237 echo "${ECHO_T}$CROSSWINDRES" >&6; }
14239 { echo "$as_me:$LINENO: result: no" >&5
14240 echo "${ECHO_T}no" >&6; }
14244 test -n "$CROSSWINDRES" && break
14246 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
14248 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
14253 if test "$LIBEXT" = "a"; then
14254 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14255 It is currently not possible to build Wine without shared library
14256 (.so) support to allow transparent switch between .so and .dll files.
14257 If you are using Linux, you will need a newer binutils.
14259 echo "$as_me: error: could not find a way to build shared libraries.
14260 It is currently not possible to build Wine without shared library
14261 (.so) support to allow transparent switch between .so and .dll files.
14262 If you are using Linux, you will need a newer binutils.
14264 { (exit 1); exit 1; }; }
14269 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14272 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
14275 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14283 SOCKETLIBS
="-lws2_32"
14288 MAIN_BINARY
="wine-pthread"
14292 linux
* | k
*bsd
*-gnu)
14293 MAIN_BINARY
="wine-glibc"
14295 EXTRA_BINARIES
="wine-kthread wine-pthread wine-preloader"
14302 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14304 # Extract the first word of "ldd", so it can be a program name with args.
14305 set dummy ldd
; ac_word
=$2
14306 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14308 if test "${ac_cv_path_LDD+set}" = set; then
14309 echo $ECHO_N "(cached) $ECHO_C" >&6
14313 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
14316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14317 as_dummy
="/sbin:/usr/sbin:$PATH"
14318 for as_dir
in $as_dummy
14321 test -z "$as_dir" && as_dir
=.
14322 for ac_exec_ext
in '' $ac_executable_extensions; do
14323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14324 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
14325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14332 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
14336 LDD
=$ac_cv_path_LDD
14337 if test -n "$LDD"; then
14338 { echo "$as_me:$LINENO: result: $LDD" >&5
14339 echo "${ECHO_T}$LDD" >&6; }
14341 { echo "$as_me:$LINENO: result: no" >&5
14342 echo "${ECHO_T}no" >&6; }
14346 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14347 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
14348 if test "${ac_cv_lib_soname_X11+set}" = set; then
14349 echo $ECHO_N "(cached) $ECHO_C" >&6
14351 ac_get_soname_save_LIBS
=$LIBS
14352 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14353 cat >conftest.
$ac_ext <<_ACEOF
14356 cat confdefs.h
>>conftest.
$ac_ext
14357 cat >>conftest.
$ac_ext <<_ACEOF
14358 /* end confdefs.h. */
14360 /* Override any GCC internal prototype to avoid an error.
14361 Use char because int might match the return type of a GCC
14362 builtin and then its argument prototype would still apply. */
14366 char XCreateWindow ();
14370 return XCreateWindow ();
14375 rm -f conftest.
$ac_objext conftest
$ac_exeext
14376 if { (ac_try
="$ac_link"
14377 case "(($ac_try" in
14378 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14379 *) ac_try_echo=$ac_try;;
14381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14382 (eval "$ac_link") 2>conftest.er1
14384 grep -v '^ *+' conftest.er1 >conftest.err
14386 cat conftest.err >&5
14387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14388 (exit $ac_status); } && {
14389 test -z "$ac_c_werror_flag" ||
14390 test ! -s conftest.err
14391 } && test -s conftest$ac_exeext &&
14392 $as_test_x conftest$ac_exeext; then
14394 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'` ;;
14395 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libX11
\\.so |
sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14397 if test "x$ac_cv_lib_soname_X11" = "x"
14399 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14402 echo "$as_me: failed program was:" >&5
14403 sed 's/^/| /' conftest.$ac_ext >&5
14405 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14409 conftest$ac_exeext conftest.$ac_ext
14410 LIBS=$ac_get_soname_save_LIBS
14412 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14413 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
14414 if test "${ac_cv_lib_soname_X11+set}" = set; then
14416 cat >>confdefs.h <<_ACEOF
14417 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14422 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
14423 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
14424 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14425 echo $ECHO_N "(cached) $ECHO_C" >&6
14427 ac_get_soname_save_LIBS=$LIBS
14428 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14429 cat >conftest.$ac_ext <<_ACEOF
14432 cat confdefs.h >>conftest.$ac_ext
14433 cat >>conftest.$ac_ext <<_ACEOF
14434 /* end confdefs.h. */
14436 /* Override any GCC internal prototype to avoid an error.
14437 Use char because int might match the return type of a GCC
14438 builtin and then its argument prototype would still apply. */
14442 char XextCreateExtension ();
14446 return XextCreateExtension ();
14451 rm -f conftest.$ac_objext conftest$ac_exeext
14452 if { (ac_try="$ac_link"
14453 case "(($ac_try" in
14454 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14455 *) ac_try_echo
=$ac_try;;
14457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14458 (eval "$ac_link") 2>conftest.er1
14460 grep -v '^ *+' conftest.er1
>conftest.err
14462 cat conftest.err
>&5
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); } && {
14465 test -z "$ac_c_werror_flag" ||
14466 test ! -s conftest.err
14467 } && test -s conftest
$ac_exeext &&
14468 $as_test_x conftest
$ac_exeext; then
14470 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'` ;;
14471 so
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14473 if test "x$ac_cv_lib_soname_Xext" = "x"
14475 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
14478 echo "$as_me: failed program was:" >&5
14479 sed 's/^/| /' conftest.
$ac_ext >&5
14481 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
14484 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14485 conftest
$ac_exeext conftest.
$ac_ext
14486 LIBS
=$ac_get_soname_save_LIBS
14488 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14489 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
14490 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14492 cat >>confdefs.h
<<_ACEOF
14493 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14498 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
14499 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
14500 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14501 echo $ECHO_N "(cached) $ECHO_C" >&6
14503 ac_get_soname_save_LIBS
=$LIBS
14504 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14505 cat >conftest.
$ac_ext <<_ACEOF
14508 cat confdefs.h
>>conftest.
$ac_ext
14509 cat >>conftest.
$ac_ext <<_ACEOF
14510 /* end confdefs.h. */
14512 /* Override any GCC internal prototype to avoid an error.
14513 Use char because int might match the return type of a GCC
14514 builtin and then its argument prototype would still apply. */
14518 char XOpenDevice ();
14522 return XOpenDevice ();
14527 rm -f conftest.
$ac_objext conftest
$ac_exeext
14528 if { (ac_try
="$ac_link"
14529 case "(($ac_try" in
14530 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14531 *) ac_try_echo=$ac_try;;
14533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14534 (eval "$ac_link") 2>conftest.er1
14536 grep -v '^ *+' conftest.er1 >conftest.err
14538 cat conftest.err >&5
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); } && {
14541 test -z "$ac_c_werror_flag" ||
14542 test ! -s conftest.err
14543 } && test -s conftest$ac_exeext &&
14544 $as_test_x conftest$ac_exeext; then
14546 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'` ;;
14547 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXi
\\.so |
sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14549 if test "x$ac_cv_lib_soname_Xi" = "x"
14551 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14554 echo "$as_me: failed program was:" >&5
14555 sed 's/^/| /' conftest.$ac_ext >&5
14557 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14561 conftest$ac_exeext conftest.$ac_ext
14562 LIBS=$ac_get_soname_save_LIBS
14564 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14565 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
14566 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14568 cat >>confdefs.h <<_ACEOF
14569 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14574 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
14575 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
14576 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14577 echo $ECHO_N "(cached) $ECHO_C" >&6
14579 ac_get_soname_save_LIBS=$LIBS
14580 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14581 cat >conftest.$ac_ext <<_ACEOF
14584 cat confdefs.h >>conftest.$ac_ext
14585 cat >>conftest.$ac_ext <<_ACEOF
14586 /* end confdefs.h. */
14588 /* Override any GCC internal prototype to avoid an error.
14589 Use char because int might match the return type of a GCC
14590 builtin and then its argument prototype would still apply. */
14594 char XineramaQueryScreens ();
14598 return XineramaQueryScreens ();
14603 rm -f conftest.$ac_objext conftest$ac_exeext
14604 if { (ac_try="$ac_link"
14605 case "(($ac_try" in
14606 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14607 *) ac_try_echo
=$ac_try;;
14609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14610 (eval "$ac_link") 2>conftest.er1
14612 grep -v '^ *+' conftest.er1
>conftest.err
14614 cat conftest.err
>&5
14615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14616 (exit $ac_status); } && {
14617 test -z "$ac_c_werror_flag" ||
14618 test ! -s conftest.err
14619 } && test -s conftest
$ac_exeext &&
14620 $as_test_x conftest
$ac_exeext; then
14622 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'` ;;
14623 so
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXinerama\\.so | sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14625 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14627 ac_cv_lib_soname_Xinerama
="libXinerama.$LIBEXT"
14630 echo "$as_me: failed program was:" >&5
14631 sed 's/^/| /' conftest.
$ac_ext >&5
14633 ac_cv_lib_soname_Xinerama
="libXinerama.$LIBEXT"
14636 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14637 conftest
$ac_exeext conftest.
$ac_ext
14638 LIBS
=$ac_get_soname_save_LIBS
14640 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
14641 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
14642 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14644 cat >>confdefs.h
<<_ACEOF
14645 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
14650 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14651 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
14652 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14653 echo $ECHO_N "(cached) $ECHO_C" >&6
14655 ac_get_soname_save_LIBS
=$LIBS
14656 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14657 cat >conftest.
$ac_ext <<_ACEOF
14660 cat confdefs.h
>>conftest.
$ac_ext
14661 cat >>conftest.
$ac_ext <<_ACEOF
14662 /* end confdefs.h. */
14664 /* Override any GCC internal prototype to avoid an error.
14665 Use char because int might match the return type of a GCC
14666 builtin and then its argument prototype would still apply. */
14670 char XRenderQueryExtension ();
14674 return XRenderQueryExtension ();
14679 rm -f conftest.
$ac_objext conftest
$ac_exeext
14680 if { (ac_try
="$ac_link"
14681 case "(($ac_try" in
14682 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14683 *) ac_try_echo=$ac_try;;
14685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14686 (eval "$ac_link") 2>conftest.er1
14688 grep -v '^ *+' conftest.er1 >conftest.err
14690 cat conftest.err >&5
14691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14692 (exit $ac_status); } && {
14693 test -z "$ac_c_werror_flag" ||
14694 test ! -s conftest.err
14695 } && test -s conftest$ac_exeext &&
14696 $as_test_x conftest$ac_exeext; then
14698 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'` ;;
14699 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXrender
\\.so |
sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14701 if test "x$ac_cv_lib_soname_Xrender" = "x"
14703 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14706 echo "$as_me: failed program was:" >&5
14707 sed 's/^/| /' conftest.$ac_ext >&5
14709 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14713 conftest$ac_exeext conftest.$ac_ext
14714 LIBS=$ac_get_soname_save_LIBS
14716 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14717 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
14718 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14720 cat >>confdefs.h <<_ACEOF
14721 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14726 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14727 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
14728 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14729 echo $ECHO_N "(cached) $ECHO_C" >&6
14731 ac_get_soname_save_LIBS=$LIBS
14732 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14733 cat >conftest.$ac_ext <<_ACEOF
14736 cat confdefs.h >>conftest.$ac_ext
14737 cat >>conftest.$ac_ext <<_ACEOF
14738 /* end confdefs.h. */
14740 /* Override any GCC internal prototype to avoid an error.
14741 Use char because int might match the return type of a GCC
14742 builtin and then its argument prototype would still apply. */
14746 char XRRQueryExtension ();
14750 return XRRQueryExtension ();
14755 rm -f conftest.$ac_objext conftest$ac_exeext
14756 if { (ac_try="$ac_link"
14757 case "(($ac_try" in
14758 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14759 *) ac_try_echo
=$ac_try;;
14761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14762 (eval "$ac_link") 2>conftest.er1
14764 grep -v '^ *+' conftest.er1
>conftest.err
14766 cat conftest.err
>&5
14767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768 (exit $ac_status); } && {
14769 test -z "$ac_c_werror_flag" ||
14770 test ! -s conftest.err
14771 } && test -s conftest
$ac_exeext &&
14772 $as_test_x conftest
$ac_exeext; then
14774 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'` ;;
14775 so
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14777 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14779 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
14782 echo "$as_me: failed program was:" >&5
14783 sed 's/^/| /' conftest.
$ac_ext >&5
14785 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
14788 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14789 conftest
$ac_exeext conftest.
$ac_ext
14790 LIBS
=$ac_get_soname_save_LIBS
14792 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14793 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
14794 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14796 cat >>confdefs.h
<<_ACEOF
14797 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14802 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14803 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
14804 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14805 echo $ECHO_N "(cached) $ECHO_C" >&6
14807 ac_get_soname_save_LIBS
=$LIBS
14808 LIBS
="-lfreetype $X_LIBS $LIBS"
14809 cat >conftest.
$ac_ext <<_ACEOF
14812 cat confdefs.h
>>conftest.
$ac_ext
14813 cat >>conftest.
$ac_ext <<_ACEOF
14814 /* end confdefs.h. */
14816 /* Override any GCC internal prototype to avoid an error.
14817 Use char because int might match the return type of a GCC
14818 builtin and then its argument prototype would still apply. */
14822 char FT_Init_FreeType ();
14826 return FT_Init_FreeType ();
14831 rm -f conftest.
$ac_objext conftest
$ac_exeext
14832 if { (ac_try
="$ac_link"
14833 case "(($ac_try" in
14834 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14835 *) ac_try_echo=$ac_try;;
14837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14838 (eval "$ac_link") 2>conftest.er1
14840 grep -v '^ *+' conftest.er1 >conftest.err
14842 cat conftest.err >&5
14843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14844 (exit $ac_status); } && {
14845 test -z "$ac_c_werror_flag" ||
14846 test ! -s conftest.err
14847 } && test -s conftest$ac_exeext &&
14848 $as_test_x conftest$ac_exeext; then
14850 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'` ;;
14851 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libfreetype
\\.so |
sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14853 if test "x$ac_cv_lib_soname_freetype" = "x"
14855 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14858 echo "$as_me: failed program was:" >&5
14859 sed 's/^/| /' conftest.$ac_ext >&5
14861 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14865 conftest$ac_exeext conftest.$ac_ext
14866 LIBS=$ac_get_soname_save_LIBS
14868 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14869 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
14870 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14872 cat >>confdefs.h <<_ACEOF
14873 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14878 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
14879 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
14880 if test "${ac_cv_lib_soname_GL+set}" = set; then
14881 echo $ECHO_N "(cached) $ECHO_C" >&6
14883 ac_get_soname_save_LIBS=$LIBS
14884 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14885 cat >conftest.$ac_ext <<_ACEOF
14888 cat confdefs.h >>conftest.$ac_ext
14889 cat >>conftest.$ac_ext <<_ACEOF
14890 /* end confdefs.h. */
14892 /* Override any GCC internal prototype to avoid an error.
14893 Use char because int might match the return type of a GCC
14894 builtin and then its argument prototype would still apply. */
14898 char glXQueryExtension ();
14902 return glXQueryExtension ();
14907 rm -f conftest.$ac_objext conftest$ac_exeext
14908 if { (ac_try="$ac_link"
14909 case "(($ac_try" in
14910 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14911 *) ac_try_echo
=$ac_try;;
14913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14914 (eval "$ac_link") 2>conftest.er1
14916 grep -v '^ *+' conftest.er1
>conftest.err
14918 cat conftest.err
>&5
14919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920 (exit $ac_status); } && {
14921 test -z "$ac_c_werror_flag" ||
14922 test ! -s conftest.err
14923 } && test -s conftest
$ac_exeext &&
14924 $as_test_x conftest
$ac_exeext; then
14926 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'` ;;
14927 so
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14929 if test "x$ac_cv_lib_soname_GL" = "x"
14931 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
14934 echo "$as_me: failed program was:" >&5
14935 sed 's/^/| /' conftest.
$ac_ext >&5
14937 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
14940 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14941 conftest
$ac_exeext conftest.
$ac_ext
14942 LIBS
=$ac_get_soname_save_LIBS
14944 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14945 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
14946 if test "${ac_cv_lib_soname_GL+set}" = set; then
14948 cat >>confdefs.h
<<_ACEOF
14949 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14954 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
14955 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
14956 if test "${ac_cv_lib_soname_hal+set}" = set; then
14957 echo $ECHO_N "(cached) $ECHO_C" >&6
14959 ac_get_soname_save_LIBS
=$LIBS
14961 cat >conftest.
$ac_ext <<_ACEOF
14964 cat confdefs.h
>>conftest.
$ac_ext
14965 cat >>conftest.
$ac_ext <<_ACEOF
14966 /* end confdefs.h. */
14968 /* Override any GCC internal prototype to avoid an error.
14969 Use char because int might match the return type of a GCC
14970 builtin and then its argument prototype would still apply. */
14974 char libhal_ctx_new ();
14978 return libhal_ctx_new ();
14983 rm -f conftest.
$ac_objext conftest
$ac_exeext
14984 if { (ac_try
="$ac_link"
14985 case "(($ac_try" in
14986 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14987 *) ac_try_echo=$ac_try;;
14989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14990 (eval "$ac_link") 2>conftest.er1
14992 grep -v '^ *+' conftest.er1 >conftest.err
14994 cat conftest.err >&5
14995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14996 (exit $ac_status); } && {
14997 test -z "$ac_c_werror_flag" ||
14998 test ! -s conftest.err
14999 } && test -s conftest$ac_exeext &&
15000 $as_test_x conftest$ac_exeext; then
15002 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'` ;;
15003 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libhal
\\.so |
sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15005 if test "x$ac_cv_lib_soname_hal" = "x"
15007 ac_cv_lib_soname_hal="libhal.$LIBEXT"
15010 echo "$as_me: failed program was:" >&5
15011 sed 's/^/| /' conftest.$ac_ext >&5
15013 ac_cv_lib_soname_hal="libhal.$LIBEXT"
15016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15017 conftest$ac_exeext conftest.$ac_ext
15018 LIBS=$ac_get_soname_save_LIBS
15020 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
15021 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
15022 if test "${ac_cv_lib_soname_hal+set}" = set; then
15024 cat >>confdefs.h <<_ACEOF
15025 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
15030 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
15031 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
15032 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15033 echo $ECHO_N "(cached) $ECHO_C" >&6
15035 ac_get_soname_save_LIBS=$LIBS
15036 LIBS="-ltxc_dxtn $LIBS"
15037 cat >conftest.$ac_ext <<_ACEOF
15040 cat confdefs.h >>conftest.$ac_ext
15041 cat >>conftest.$ac_ext <<_ACEOF
15042 /* end confdefs.h. */
15044 /* Override any GCC internal prototype to avoid an error.
15045 Use char because int might match the return type of a GCC
15046 builtin and then its argument prototype would still apply. */
15050 char fetch_2d_texel_rgba_dxt1 ();
15054 return fetch_2d_texel_rgba_dxt1 ();
15059 rm -f conftest.$ac_objext conftest$ac_exeext
15060 if { (ac_try="$ac_link"
15061 case "(($ac_try" in
15062 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15063 *) ac_try_echo
=$ac_try;;
15065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15066 (eval "$ac_link") 2>conftest.er1
15068 grep -v '^ *+' conftest.er1
>conftest.err
15070 cat conftest.err
>&5
15071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072 (exit $ac_status); } && {
15073 test -z "$ac_c_werror_flag" ||
15074 test ! -s conftest.err
15075 } && test -s conftest
$ac_exeext &&
15076 $as_test_x conftest
$ac_exeext; then
15078 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'` ;;
15079 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'` ;;
15081 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
15083 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
15086 echo "$as_me: failed program was:" >&5
15087 sed 's/^/| /' conftest.
$ac_ext >&5
15089 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
15092 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15093 conftest
$ac_exeext conftest.
$ac_ext
15094 LIBS
=$ac_get_soname_save_LIBS
15096 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
15097 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
15098 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15100 cat >>confdefs.h
<<_ACEOF
15101 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15106 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
15107 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
15108 if test "${ac_cv_lib_soname_cups+set}" = set; then
15109 echo $ECHO_N "(cached) $ECHO_C" >&6
15111 ac_get_soname_save_LIBS
=$LIBS
15112 LIBS
="-lcups $LIBS"
15113 cat >conftest.
$ac_ext <<_ACEOF
15116 cat confdefs.h
>>conftest.
$ac_ext
15117 cat >>conftest.
$ac_ext <<_ACEOF
15118 /* end confdefs.h. */
15120 /* Override any GCC internal prototype to avoid an error.
15121 Use char because int might match the return type of a GCC
15122 builtin and then its argument prototype would still apply. */
15126 char cupsGetDefault ();
15130 return cupsGetDefault ();
15135 rm -f conftest.
$ac_objext conftest
$ac_exeext
15136 if { (ac_try
="$ac_link"
15137 case "(($ac_try" in
15138 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15139 *) ac_try_echo=$ac_try;;
15141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15142 (eval "$ac_link") 2>conftest.er1
15144 grep -v '^ *+' conftest.er1 >conftest.err
15146 cat conftest.err >&5
15147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15148 (exit $ac_status); } && {
15149 test -z "$ac_c_werror_flag" ||
15150 test ! -s conftest.err
15151 } && test -s conftest$ac_exeext &&
15152 $as_test_x conftest$ac_exeext; then
15154 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'` ;;
15155 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcups
\\.so |
sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15157 if test "x$ac_cv_lib_soname_cups" = "x"
15159 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15162 echo "$as_me: failed program was:" >&5
15163 sed 's/^/| /' conftest.$ac_ext >&5
15165 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15169 conftest$ac_exeext conftest.$ac_ext
15170 LIBS=$ac_get_soname_save_LIBS
15172 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15173 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15174 if test "${ac_cv_lib_soname_cups+set}" = set; then
15176 cat >>confdefs.h <<_ACEOF
15177 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15182 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
15183 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
15184 if test "${ac_cv_lib_soname_jack+set}" = set; then
15185 echo $ECHO_N "(cached) $ECHO_C" >&6
15187 ac_get_soname_save_LIBS=$LIBS
15188 LIBS="-ljack $LIBS"
15189 cat >conftest.$ac_ext <<_ACEOF
15192 cat confdefs.h >>conftest.$ac_ext
15193 cat >>conftest.$ac_ext <<_ACEOF
15194 /* end confdefs.h. */
15196 /* Override any GCC internal prototype to avoid an error.
15197 Use char because int might match the return type of a GCC
15198 builtin and then its argument prototype would still apply. */
15202 char jack_client_new ();
15206 return jack_client_new ();
15211 rm -f conftest.$ac_objext conftest$ac_exeext
15212 if { (ac_try="$ac_link"
15213 case "(($ac_try" in
15214 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15215 *) ac_try_echo
=$ac_try;;
15217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15218 (eval "$ac_link") 2>conftest.er1
15220 grep -v '^ *+' conftest.er1
>conftest.err
15222 cat conftest.err
>&5
15223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15224 (exit $ac_status); } && {
15225 test -z "$ac_c_werror_flag" ||
15226 test ! -s conftest.err
15227 } && test -s conftest
$ac_exeext &&
15228 $as_test_x conftest
$ac_exeext; then
15230 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'` ;;
15231 so
) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15233 if test "x$ac_cv_lib_soname_jack" = "x"
15235 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15238 echo "$as_me: failed program was:" >&5
15239 sed 's/^/| /' conftest.
$ac_ext >&5
15241 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15244 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15245 conftest
$ac_exeext conftest.
$ac_ext
15246 LIBS
=$ac_get_soname_save_LIBS
15248 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15249 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15250 if test "${ac_cv_lib_soname_jack+set}" = set; then
15252 cat >>confdefs.h
<<_ACEOF
15253 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15258 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15259 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
15260 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15261 echo $ECHO_N "(cached) $ECHO_C" >&6
15263 ac_get_soname_save_LIBS
=$LIBS
15264 LIBS
="-lfontconfig $LIBS"
15265 cat >conftest.
$ac_ext <<_ACEOF
15268 cat confdefs.h
>>conftest.
$ac_ext
15269 cat >>conftest.
$ac_ext <<_ACEOF
15270 /* end confdefs.h. */
15272 /* Override any GCC internal prototype to avoid an error.
15273 Use char because int might match the return type of a GCC
15274 builtin and then its argument prototype would still apply. */
15287 rm -f conftest.
$ac_objext conftest
$ac_exeext
15288 if { (ac_try
="$ac_link"
15289 case "(($ac_try" in
15290 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15291 *) ac_try_echo=$ac_try;;
15293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15294 (eval "$ac_link") 2>conftest.er1
15296 grep -v '^ *+' conftest.er1 >conftest.err
15298 cat conftest.err >&5
15299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15300 (exit $ac_status); } && {
15301 test -z "$ac_c_werror_flag" ||
15302 test ! -s conftest.err
15303 } && test -s conftest$ac_exeext &&
15304 $as_test_x conftest$ac_exeext; then
15306 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'` ;;
15307 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libfontconfig
\\.so |
sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15309 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15311 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15314 echo "$as_me: failed program was:" >&5
15315 sed 's/^/| /' conftest.$ac_ext >&5
15317 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15321 conftest$ac_exeext conftest.$ac_ext
15322 LIBS=$ac_get_soname_save_LIBS
15324 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15325 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15326 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15328 cat >>confdefs.h <<_ACEOF
15329 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15334 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
15335 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
15336 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15337 echo $ECHO_N "(cached) $ECHO_C" >&6
15339 ac_get_soname_save_LIBS=$LIBS
15341 cat >conftest.$ac_ext <<_ACEOF
15344 cat confdefs.h >>conftest.$ac_ext
15345 cat >>conftest.$ac_ext <<_ACEOF
15346 /* end confdefs.h. */
15348 /* Override any GCC internal prototype to avoid an error.
15349 Use char because int might match the return type of a GCC
15350 builtin and then its argument prototype would still apply. */
15354 char SSL_library_init ();
15358 return SSL_library_init ();
15363 rm -f conftest.$ac_objext conftest$ac_exeext
15364 if { (ac_try="$ac_link"
15365 case "(($ac_try" in
15366 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15367 *) ac_try_echo
=$ac_try;;
15369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15370 (eval "$ac_link") 2>conftest.er1
15372 grep -v '^ *+' conftest.er1
>conftest.err
15374 cat conftest.err
>&5
15375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376 (exit $ac_status); } && {
15377 test -z "$ac_c_werror_flag" ||
15378 test ! -s conftest.err
15379 } && test -s conftest
$ac_exeext &&
15380 $as_test_x conftest
$ac_exeext; then
15382 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'` ;;
15383 so
) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15385 if test "x$ac_cv_lib_soname_ssl" = "x"
15387 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15390 echo "$as_me: failed program was:" >&5
15391 sed 's/^/| /' conftest.
$ac_ext >&5
15393 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15396 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15397 conftest
$ac_exeext conftest.
$ac_ext
15398 LIBS
=$ac_get_soname_save_LIBS
15400 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15401 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15402 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15404 cat >>confdefs.h
<<_ACEOF
15405 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15410 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15411 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
15412 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15413 echo $ECHO_N "(cached) $ECHO_C" >&6
15415 ac_get_soname_save_LIBS
=$LIBS
15416 LIBS
="-lcrypto $LIBS"
15417 cat >conftest.
$ac_ext <<_ACEOF
15420 cat confdefs.h
>>conftest.
$ac_ext
15421 cat >>conftest.
$ac_ext <<_ACEOF
15422 /* end confdefs.h. */
15424 /* Override any GCC internal prototype to avoid an error.
15425 Use char because int might match the return type of a GCC
15426 builtin and then its argument prototype would still apply. */
15430 char BIO_new_socket ();
15434 return BIO_new_socket ();
15439 rm -f conftest.
$ac_objext conftest
$ac_exeext
15440 if { (ac_try
="$ac_link"
15441 case "(($ac_try" in
15442 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15443 *) ac_try_echo=$ac_try;;
15445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15446 (eval "$ac_link") 2>conftest.er1
15448 grep -v '^ *+' conftest.er1 >conftest.err
15450 cat conftest.err >&5
15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452 (exit $ac_status); } && {
15453 test -z "$ac_c_werror_flag" ||
15454 test ! -s conftest.err
15455 } && test -s conftest$ac_exeext &&
15456 $as_test_x conftest$ac_exeext; then
15458 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'` ;;
15459 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcrypto
\\.so |
sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15461 if test "x$ac_cv_lib_soname_crypto" = "x"
15463 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15466 echo "$as_me: failed program was:" >&5
15467 sed 's/^/| /' conftest.$ac_ext >&5
15469 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15473 conftest$ac_exeext conftest.$ac_ext
15474 LIBS=$ac_get_soname_save_LIBS
15476 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15477 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15478 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15480 cat >>confdefs.h <<_ACEOF
15481 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15486 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15487 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
15488 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15489 echo $ECHO_N "(cached) $ECHO_C" >&6
15491 ac_get_soname_save_LIBS=$LIBS
15492 LIBS="-lncurses $LIBS"
15493 cat >conftest.$ac_ext <<_ACEOF
15496 cat confdefs.h >>conftest.$ac_ext
15497 cat >>conftest.$ac_ext <<_ACEOF
15498 /* end confdefs.h. */
15500 /* Override any GCC internal prototype to avoid an error.
15501 Use char because int might match the return type of a GCC
15502 builtin and then its argument prototype would still apply. */
15515 rm -f conftest.$ac_objext conftest$ac_exeext
15516 if { (ac_try="$ac_link"
15517 case "(($ac_try" in
15518 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15519 *) ac_try_echo
=$ac_try;;
15521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15522 (eval "$ac_link") 2>conftest.er1
15524 grep -v '^ *+' conftest.er1
>conftest.err
15526 cat conftest.err
>&5
15527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15528 (exit $ac_status); } && {
15529 test -z "$ac_c_werror_flag" ||
15530 test ! -s conftest.err
15531 } && test -s conftest
$ac_exeext &&
15532 $as_test_x conftest
$ac_exeext; then
15534 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'` ;;
15535 so
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15537 if test "x$ac_cv_lib_soname_ncurses" = "x"
15539 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15542 echo "$as_me: failed program was:" >&5
15543 sed 's/^/| /' conftest.
$ac_ext >&5
15545 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15548 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15549 conftest
$ac_exeext conftest.
$ac_ext
15550 LIBS
=$ac_get_soname_save_LIBS
15552 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15553 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
15554 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15556 cat >>confdefs.h
<<_ACEOF
15557 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15562 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15563 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
15564 if test "${ac_cv_lib_soname_curses+set}" = set; then
15565 echo $ECHO_N "(cached) $ECHO_C" >&6
15567 ac_get_soname_save_LIBS
=$LIBS
15568 LIBS
="-lcurses $LIBS"
15569 cat >conftest.
$ac_ext <<_ACEOF
15572 cat confdefs.h
>>conftest.
$ac_ext
15573 cat >>conftest.
$ac_ext <<_ACEOF
15574 /* end confdefs.h. */
15576 /* Override any GCC internal prototype to avoid an error.
15577 Use char because int might match the return type of a GCC
15578 builtin and then its argument prototype would still apply. */
15591 rm -f conftest.
$ac_objext conftest
$ac_exeext
15592 if { (ac_try
="$ac_link"
15593 case "(($ac_try" in
15594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15595 *) ac_try_echo=$ac_try;;
15597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15598 (eval "$ac_link") 2>conftest.er1
15600 grep -v '^ *+' conftest.er1 >conftest.err
15602 cat conftest.err >&5
15603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15604 (exit $ac_status); } && {
15605 test -z "$ac_c_werror_flag" ||
15606 test ! -s conftest.err
15607 } && test -s conftest$ac_exeext &&
15608 $as_test_x conftest$ac_exeext; then
15610 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'` ;;
15611 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcurses
\\.so |
sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15613 if test "x$ac_cv_lib_soname_curses" = "x"
15615 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15618 echo "$as_me: failed program was:" >&5
15619 sed 's/^/| /' conftest.$ac_ext >&5
15621 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15625 conftest$ac_exeext conftest.$ac_ext
15626 LIBS=$ac_get_soname_save_LIBS
15628 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15629 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
15630 if test "${ac_cv_lib_soname_curses+set}" = set; then
15632 cat >>confdefs.h <<_ACEOF
15633 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15638 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15639 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
15640 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15641 echo $ECHO_N "(cached) $ECHO_C" >&6
15643 ac_get_soname_save_LIBS=$LIBS
15644 LIBS="-ljpeg $LIBS"
15645 cat >conftest.$ac_ext <<_ACEOF
15648 cat confdefs.h >>conftest.$ac_ext
15649 cat >>conftest.$ac_ext <<_ACEOF
15650 /* end confdefs.h. */
15652 /* Override any GCC internal prototype to avoid an error.
15653 Use char because int might match the return type of a GCC
15654 builtin and then its argument prototype would still apply. */
15658 char jpeg_start_decompress ();
15662 return jpeg_start_decompress ();
15667 rm -f conftest.$ac_objext conftest$ac_exeext
15668 if { (ac_try="$ac_link"
15669 case "(($ac_try" in
15670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15671 *) ac_try_echo
=$ac_try;;
15673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15674 (eval "$ac_link") 2>conftest.er1
15676 grep -v '^ *+' conftest.er1
>conftest.err
15678 cat conftest.err
>&5
15679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15680 (exit $ac_status); } && {
15681 test -z "$ac_c_werror_flag" ||
15682 test ! -s conftest.err
15683 } && test -s conftest
$ac_exeext &&
15684 $as_test_x conftest
$ac_exeext; then
15686 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'` ;;
15687 so
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15689 if test "x$ac_cv_lib_soname_jpeg" = "x"
15691 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15694 echo "$as_me: failed program was:" >&5
15695 sed 's/^/| /' conftest.
$ac_ext >&5
15697 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15700 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15701 conftest
$ac_exeext conftest.
$ac_ext
15702 LIBS
=$ac_get_soname_save_LIBS
15704 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15705 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15706 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15708 cat >>confdefs.h
<<_ACEOF
15709 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15714 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15715 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
15716 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15717 echo $ECHO_N "(cached) $ECHO_C" >&6
15719 ac_get_soname_save_LIBS
=$LIBS
15720 LIBS
="-lcapi20 $LIBS"
15721 cat >conftest.
$ac_ext <<_ACEOF
15724 cat confdefs.h
>>conftest.
$ac_ext
15725 cat >>conftest.
$ac_ext <<_ACEOF
15726 /* end confdefs.h. */
15728 /* Override any GCC internal prototype to avoid an error.
15729 Use char because int might match the return type of a GCC
15730 builtin and then its argument prototype would still apply. */
15734 char capi20_isinstalled ();
15738 return capi20_isinstalled ();
15743 rm -f conftest.
$ac_objext conftest
$ac_exeext
15744 if { (ac_try
="$ac_link"
15745 case "(($ac_try" in
15746 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15747 *) ac_try_echo=$ac_try;;
15749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15750 (eval "$ac_link") 2>conftest.er1
15752 grep -v '^ *+' conftest.er1 >conftest.err
15754 cat conftest.err >&5
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); } && {
15757 test -z "$ac_c_werror_flag" ||
15758 test ! -s conftest.err
15759 } && test -s conftest$ac_exeext &&
15760 $as_test_x conftest$ac_exeext; then
15762 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'` ;;
15763 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcapi20
\\.so |
sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15765 if test "x$ac_cv_lib_soname_capi20" = "x"
15767 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15770 echo "$as_me: failed program was:" >&5
15771 sed 's/^/| /' conftest.$ac_ext >&5
15773 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15777 conftest$ac_exeext conftest.$ac_ext
15778 LIBS=$ac_get_soname_save_LIBS
15780 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15781 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15782 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15784 cat >>confdefs.h <<_ACEOF
15785 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15939 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
15940 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15942 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15943 echo $ECHO_N "(cached) $ECHO_C" >&6
15945 cat >conftest.$ac_ext <<_ACEOF
15948 cat confdefs.h >>conftest.$ac_ext
15949 cat >>conftest.$ac_ext <<_ACEOF
15950 /* end confdefs.h. */
15951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15953 #define $ac_func innocuous_$ac_func
15955 /* System header to define __stub macros and hopefully few prototypes,
15956 which can conflict with char $ac_func (); below.
15957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15958 <limits.h> exists even on freestanding compilers. */
15961 # include <limits.h>
15963 # include <assert.h>
15968 /* Override any GCC internal prototype to avoid an error.
15969 Use char because int might match the return type of a GCC
15970 builtin and then its argument prototype would still apply. */
15975 /* The GNU C library defines this for functions which it implements
15976 to always fail with ENOSYS. Some functions are actually named
15977 something starting with __ and the normal name is an alias. */
15978 #if defined __stub_$ac_func || defined __stub___$ac_func
15985 return $ac_func ();
15990 rm -f conftest.$ac_objext conftest$ac_exeext
15991 if { (ac_try="$ac_link"
15992 case "(($ac_try" in
15993 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15994 *) ac_try_echo
=$ac_try;;
15996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15997 (eval "$ac_link") 2>conftest.er1
15999 grep -v '^ *+' conftest.er1
>conftest.err
16001 cat conftest.err
>&5
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); } && {
16004 test -z "$ac_c_werror_flag" ||
16005 test ! -s conftest.err
16006 } && test -s conftest
$ac_exeext &&
16007 $as_test_x conftest
$ac_exeext; then
16008 eval "$as_ac_var=yes"
16010 echo "$as_me: failed program was:" >&5
16011 sed 's/^/| /' conftest.
$ac_ext >&5
16013 eval "$as_ac_var=no"
16016 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16017 conftest
$ac_exeext conftest.
$ac_ext
16019 ac_res
=`eval echo '${'$as_ac_var'}'`
16020 { echo "$as_me:$LINENO: result: $ac_res" >&5
16021 echo "${ECHO_T}$ac_res" >&6; }
16022 if test `eval echo '${'$as_ac_var'}'` = yes; then
16023 cat >>confdefs.h
<<_ACEOF
16024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16031 if test "$ac_cv_func_dlopen" = no
16033 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16034 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16035 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16036 echo $ECHO_N "(cached) $ECHO_C" >&6
16038 ac_check_lib_save_LIBS
=$LIBS
16040 cat >conftest.
$ac_ext <<_ACEOF
16043 cat confdefs.h
>>conftest.
$ac_ext
16044 cat >>conftest.
$ac_ext <<_ACEOF
16045 /* end confdefs.h. */
16047 /* Override any GCC internal prototype to avoid an error.
16048 Use char because int might match the return type of a GCC
16049 builtin and then its argument prototype would still apply. */
16062 rm -f conftest.
$ac_objext conftest
$ac_exeext
16063 if { (ac_try
="$ac_link"
16064 case "(($ac_try" in
16065 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16066 *) ac_try_echo=$ac_try;;
16068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16069 (eval "$ac_link") 2>conftest.er1
16071 grep -v '^ *+' conftest.er1 >conftest.err
16073 cat conftest.err >&5
16074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16075 (exit $ac_status); } && {
16076 test -z "$ac_c_werror_flag" ||
16077 test ! -s conftest.err
16078 } && test -s conftest$ac_exeext &&
16079 $as_test_x conftest$ac_exeext; then
16080 ac_cv_lib_dl_dlopen=yes
16082 echo "$as_me: failed program was:" >&5
16083 sed 's/^/| /' conftest.$ac_ext >&5
16085 ac_cv_lib_dl_dlopen=no
16088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16089 conftest$ac_exeext conftest.$ac_ext
16090 LIBS=$ac_check_lib_save_LIBS
16092 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16093 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16094 if test $ac_cv_lib_dl_dlopen = yes; then
16095 cat >>confdefs.h <<\_ACEOF
16096 #define HAVE_DLOPEN 1
16103 ac_wine_check_funcs_save_LIBS="$LIBS"
16104 LIBS="$LIBS $LIBDL"
16106 for ac_func in dladdr
16108 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16109 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16111 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16112 echo $ECHO_N "(cached) $ECHO_C" >&6
16114 cat >conftest.$ac_ext <<_ACEOF
16117 cat confdefs.h >>conftest.$ac_ext
16118 cat >>conftest.$ac_ext <<_ACEOF
16119 /* end confdefs.h. */
16120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16122 #define $ac_func innocuous_$ac_func
16124 /* System header to define __stub macros and hopefully few prototypes,
16125 which can conflict with char $ac_func (); below.
16126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16127 <limits.h> exists even on freestanding compilers. */
16130 # include <limits.h>
16132 # include <assert.h>
16137 /* Override any GCC internal prototype to avoid an error.
16138 Use char because int might match the return type of a GCC
16139 builtin and then its argument prototype would still apply. */
16144 /* The GNU C library defines this for functions which it implements
16145 to always fail with ENOSYS. Some functions are actually named
16146 something starting with __ and the normal name is an alias. */
16147 #if defined __stub_$ac_func || defined __stub___$ac_func
16154 return $ac_func ();
16159 rm -f conftest.$ac_objext conftest$ac_exeext
16160 if { (ac_try="$ac_link"
16161 case "(($ac_try" in
16162 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16163 *) ac_try_echo
=$ac_try;;
16165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16166 (eval "$ac_link") 2>conftest.er1
16168 grep -v '^ *+' conftest.er1
>conftest.err
16170 cat conftest.err
>&5
16171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16172 (exit $ac_status); } && {
16173 test -z "$ac_c_werror_flag" ||
16174 test ! -s conftest.err
16175 } && test -s conftest
$ac_exeext &&
16176 $as_test_x conftest
$ac_exeext; then
16177 eval "$as_ac_var=yes"
16179 echo "$as_me: failed program was:" >&5
16180 sed 's/^/| /' conftest.
$ac_ext >&5
16182 eval "$as_ac_var=no"
16185 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16186 conftest
$ac_exeext conftest.
$ac_ext
16188 ac_res
=`eval echo '${'$as_ac_var'}'`
16189 { echo "$as_me:$LINENO: result: $ac_res" >&5
16190 echo "${ECHO_T}$ac_res" >&6; }
16191 if test `eval echo '${'$as_ac_var'}'` = yes; then
16192 cat >>confdefs.h
<<_ACEOF
16193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16199 LIBS
="$ac_wine_check_funcs_save_LIBS"
16201 if test "$ac_cv_func_poll" = no
16203 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16204 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16205 if test "${ac_cv_lib_poll_poll+set}" = set; then
16206 echo $ECHO_N "(cached) $ECHO_C" >&6
16208 ac_check_lib_save_LIBS
=$LIBS
16209 LIBS
="-lpoll $LIBS"
16210 cat >conftest.
$ac_ext <<_ACEOF
16213 cat confdefs.h
>>conftest.
$ac_ext
16214 cat >>conftest.
$ac_ext <<_ACEOF
16215 /* end confdefs.h. */
16217 /* Override any GCC internal prototype to avoid an error.
16218 Use char because int might match the return type of a GCC
16219 builtin and then its argument prototype would still apply. */
16232 rm -f conftest.
$ac_objext conftest
$ac_exeext
16233 if { (ac_try
="$ac_link"
16234 case "(($ac_try" in
16235 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16236 *) ac_try_echo=$ac_try;;
16238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16239 (eval "$ac_link") 2>conftest.er1
16241 grep -v '^ *+' conftest.er1 >conftest.err
16243 cat conftest.err >&5
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); } && {
16246 test -z "$ac_c_werror_flag" ||
16247 test ! -s conftest.err
16248 } && test -s conftest$ac_exeext &&
16249 $as_test_x conftest$ac_exeext; then
16250 ac_cv_lib_poll_poll=yes
16252 echo "$as_me: failed program was:" >&5
16253 sed 's/^/| /' conftest.$ac_ext >&5
16255 ac_cv_lib_poll_poll=no
16258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16259 conftest$ac_exeext conftest.$ac_ext
16260 LIBS=$ac_check_lib_save_LIBS
16262 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16263 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16264 if test $ac_cv_lib_poll_poll = yes; then
16265 cat >>confdefs.h <<\_ACEOF
16266 #define HAVE_POLL 1
16274 if test "$ac_cv_func_gethostbyname" = no
16277 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
16278 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
16279 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
16280 echo $ECHO_N "(cached) $ECHO_C" >&6
16282 ac_check_lib_save_LIBS=$LIBS
16284 cat >conftest.$ac_ext <<_ACEOF
16287 cat confdefs.h >>conftest.$ac_ext
16288 cat >>conftest.$ac_ext <<_ACEOF
16289 /* end confdefs.h. */
16291 /* Override any GCC internal prototype to avoid an error.
16292 Use char because int might match the return type of a GCC
16293 builtin and then its argument prototype would still apply. */
16297 char gethostbyname ();
16301 return gethostbyname ();
16306 rm -f conftest.$ac_objext conftest$ac_exeext
16307 if { (ac_try="$ac_link"
16308 case "(($ac_try" in
16309 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16310 *) ac_try_echo
=$ac_try;;
16312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16313 (eval "$ac_link") 2>conftest.er1
16315 grep -v '^ *+' conftest.er1
>conftest.err
16317 cat conftest.err
>&5
16318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 (exit $ac_status); } && {
16320 test -z "$ac_c_werror_flag" ||
16321 test ! -s conftest.err
16322 } && test -s conftest
$ac_exeext &&
16323 $as_test_x conftest
$ac_exeext; then
16324 ac_cv_lib_nsl_gethostbyname
=yes
16326 echo "$as_me: failed program was:" >&5
16327 sed 's/^/| /' conftest.
$ac_ext >&5
16329 ac_cv_lib_nsl_gethostbyname
=no
16332 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16333 conftest
$ac_exeext conftest.
$ac_ext
16334 LIBS
=$ac_check_lib_save_LIBS
16336 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
16337 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
16338 if test $ac_cv_lib_nsl_gethostbyname = yes; then
16339 cat >>confdefs.h
<<_ACEOF
16340 #define HAVE_LIBNSL 1
16349 if test "$ac_cv_func_connect" = no
16352 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
16353 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
16354 if test "${ac_cv_lib_socket_connect+set}" = set; then
16355 echo $ECHO_N "(cached) $ECHO_C" >&6
16357 ac_check_lib_save_LIBS
=$LIBS
16358 LIBS
="-lsocket $LIBS"
16359 cat >conftest.
$ac_ext <<_ACEOF
16362 cat confdefs.h
>>conftest.
$ac_ext
16363 cat >>conftest.
$ac_ext <<_ACEOF
16364 /* end confdefs.h. */
16366 /* Override any GCC internal prototype to avoid an error.
16367 Use char because int might match the return type of a GCC
16368 builtin and then its argument prototype would still apply. */
16381 rm -f conftest.
$ac_objext conftest
$ac_exeext
16382 if { (ac_try
="$ac_link"
16383 case "(($ac_try" in
16384 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16385 *) ac_try_echo=$ac_try;;
16387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16388 (eval "$ac_link") 2>conftest.er1
16390 grep -v '^ *+' conftest.er1 >conftest.err
16392 cat conftest.err >&5
16393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16394 (exit $ac_status); } && {
16395 test -z "$ac_c_werror_flag" ||
16396 test ! -s conftest.err
16397 } && test -s conftest$ac_exeext &&
16398 $as_test_x conftest$ac_exeext; then
16399 ac_cv_lib_socket_connect=yes
16401 echo "$as_me: failed program was:" >&5
16402 sed 's/^/| /' conftest.$ac_ext >&5
16404 ac_cv_lib_socket_connect=no
16407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16408 conftest$ac_exeext conftest.$ac_ext
16409 LIBS=$ac_check_lib_save_LIBS
16411 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
16412 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
16413 if test $ac_cv_lib_socket_connect = yes; then
16414 cat >>confdefs.h <<_ACEOF
16415 #define HAVE_LIBSOCKET 1
16418 LIBS="-lsocket $LIBS"
16424 if test "$ac_cv_func_inet_aton" = no
16427 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
16428 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
16429 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
16430 echo $ECHO_N "(cached) $ECHO_C" >&6
16432 ac_check_lib_save_LIBS=$LIBS
16433 LIBS="-lresolv $LIBS"
16434 cat >conftest.$ac_ext <<_ACEOF
16437 cat confdefs.h >>conftest.$ac_ext
16438 cat >>conftest.$ac_ext <<_ACEOF
16439 /* end confdefs.h. */
16441 /* Override any GCC internal prototype to avoid an error.
16442 Use char because int might match the return type of a GCC
16443 builtin and then its argument prototype would still apply. */
16451 return inet_aton ();
16456 rm -f conftest.$ac_objext conftest$ac_exeext
16457 if { (ac_try="$ac_link"
16458 case "(($ac_try" in
16459 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16460 *) ac_try_echo
=$ac_try;;
16462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16463 (eval "$ac_link") 2>conftest.er1
16465 grep -v '^ *+' conftest.er1
>conftest.err
16467 cat conftest.err
>&5
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); } && {
16470 test -z "$ac_c_werror_flag" ||
16471 test ! -s conftest.err
16472 } && test -s conftest
$ac_exeext &&
16473 $as_test_x conftest
$ac_exeext; then
16474 ac_cv_lib_resolv_inet_aton
=yes
16476 echo "$as_me: failed program was:" >&5
16477 sed 's/^/| /' conftest.
$ac_ext >&5
16479 ac_cv_lib_resolv_inet_aton
=no
16482 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16483 conftest
$ac_exeext conftest.
$ac_ext
16484 LIBS
=$ac_check_lib_save_LIBS
16486 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
16487 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
16488 if test $ac_cv_lib_resolv_inet_aton = yes; then
16489 cat >>confdefs.h
<<_ACEOF
16490 #define HAVE_LIBRESOLV 1
16493 LIBS
="-lresolv $LIBS"
16500 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16501 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16502 if test "${ac_cv_c_const+set}" = set; then
16503 echo $ECHO_N "(cached) $ECHO_C" >&6
16505 cat >conftest.
$ac_ext <<_ACEOF
16508 cat confdefs.h
>>conftest.
$ac_ext
16509 cat >>conftest.
$ac_ext <<_ACEOF
16510 /* end confdefs.h. */
16515 /* FIXME: Include the comments suggested by Paul. */
16516 #ifndef __cplusplus
16517 /* Ultrix mips cc rejects this. */
16518 typedef int charset[2];
16520 /* SunOS 4.1.1 cc rejects this. */
16521 char const *const *pcpcc;
16523 /* NEC SVR4.0.2 mips cc rejects this. */
16524 struct point {int x, y;};
16525 static struct point const zero = {0,0};
16526 /* AIX XL C 1.02.0.0 rejects this.
16527 It does not let you subtract one const X* pointer from another in
16528 an arm of an if-expression whose if-part is not a constant
16530 const char *g = "string";
16531 pcpcc = &g + (g ? g-g : 0);
16532 /* HPUX 7.0 cc rejects these. */
16534 ppc = (char**) pcpcc;
16535 pcpcc = (char const *const *) ppc;
16536 { /* SCO 3.2v4 cc rejects this. */
16538 char const *s = 0 ? (char *) 0 : (char const *) 0;
16543 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16544 int x[] = {25, 17};
16545 const int *foo = &x[0];
16548 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16549 typedef const int *iptr;
16553 { /* AIX XL C 1.02.0.0 rejects this saying
16554 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16555 struct s { int j; const int *ap[3]; };
16556 struct s *b; b->j = 5;
16558 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16559 const int foo = 10;
16560 if (!foo) return 0;
16562 return !cs[0] && !zero.x;
16569 rm -f conftest.
$ac_objext
16570 if { (ac_try
="$ac_compile"
16571 case "(($ac_try" in
16572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16573 *) ac_try_echo=$ac_try;;
16575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16576 (eval "$ac_compile") 2>conftest.er1
16578 grep -v '^ *+' conftest.er1 >conftest.err
16580 cat conftest.err >&5
16581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16582 (exit $ac_status); } && {
16583 test -z "$ac_c_werror_flag" ||
16584 test ! -s conftest.err
16585 } && test -s conftest.$ac_objext; then
16588 echo "$as_me: failed program was:" >&5
16589 sed 's/^/| /' conftest.$ac_ext >&5
16594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16596 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16597 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16598 if test $ac_cv_c_const = no; then
16600 cat >>confdefs.h <<\_ACEOF
16606 { echo "$as_me:$LINENO: checking for inline" >&5
16607 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16608 if test "${ac_cv_c_inline+set}" = set; then
16609 echo $ECHO_N "(cached) $ECHO_C" >&6
16612 for ac_kw in inline __inline__ __inline; do
16613 cat >conftest.$ac_ext <<_ACEOF
16616 cat confdefs.h >>conftest.$ac_ext
16617 cat >>conftest.$ac_ext <<_ACEOF
16618 /* end confdefs.h. */
16619 #ifndef __cplusplus
16621 static $ac_kw foo_t static_foo () {return 0; }
16622 $ac_kw foo_t foo () {return 0; }
16626 rm -f conftest.$ac_objext
16627 if { (ac_try="$ac_compile"
16628 case "(($ac_try" in
16629 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16630 *) ac_try_echo
=$ac_try;;
16632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16633 (eval "$ac_compile") 2>conftest.er1
16635 grep -v '^ *+' conftest.er1
>conftest.err
16637 cat conftest.err
>&5
16638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16639 (exit $ac_status); } && {
16640 test -z "$ac_c_werror_flag" ||
16641 test ! -s conftest.err
16642 } && test -s conftest.
$ac_objext; then
16643 ac_cv_c_inline
=$ac_kw
16645 echo "$as_me: failed program was:" >&5
16646 sed 's/^/| /' conftest.
$ac_ext >&5
16651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16652 test "$ac_cv_c_inline" != no
&& break
16656 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16657 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16660 case $ac_cv_c_inline in
16663 case $ac_cv_c_inline in
16665 *) ac_val
=$ac_cv_c_inline;;
16667 cat >>confdefs.h
<<_ACEOF
16668 #ifndef __cplusplus
16669 #define inline $ac_val
16675 { echo "$as_me:$LINENO: checking for mode_t" >&5
16676 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16677 if test "${ac_cv_type_mode_t+set}" = set; then
16678 echo $ECHO_N "(cached) $ECHO_C" >&6
16680 cat >conftest.
$ac_ext <<_ACEOF
16683 cat confdefs.h
>>conftest.
$ac_ext
16684 cat >>conftest.
$ac_ext <<_ACEOF
16685 /* end confdefs.h. */
16686 $ac_includes_default
16687 typedef mode_t ac__type_new_;
16691 if ((ac__type_new_ *) 0)
16693 if (sizeof (ac__type_new_))
16699 rm -f conftest.
$ac_objext
16700 if { (ac_try
="$ac_compile"
16701 case "(($ac_try" in
16702 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16703 *) ac_try_echo=$ac_try;;
16705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16706 (eval "$ac_compile") 2>conftest.er1
16708 grep -v '^ *+' conftest.er1 >conftest.err
16710 cat conftest.err >&5
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); } && {
16713 test -z "$ac_c_werror_flag" ||
16714 test ! -s conftest.err
16715 } && test -s conftest.$ac_objext; then
16716 ac_cv_type_mode_t=yes
16718 echo "$as_me: failed program was:" >&5
16719 sed 's/^/| /' conftest.$ac_ext >&5
16721 ac_cv_type_mode_t=no
16724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16726 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16727 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16728 if test $ac_cv_type_mode_t = yes; then
16730 cat >>confdefs.h <<_ACEOF
16731 #define HAVE_MODE_T 1
16736 { echo "$as_me:$LINENO: checking for off_t" >&5
16737 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16738 if test "${ac_cv_type_off_t+set}" = set; then
16739 echo $ECHO_N "(cached) $ECHO_C" >&6
16741 cat >conftest.$ac_ext <<_ACEOF
16744 cat confdefs.h >>conftest.$ac_ext
16745 cat >>conftest.$ac_ext <<_ACEOF
16746 /* end confdefs.h. */
16747 $ac_includes_default
16748 typedef off_t ac__type_new_;
16752 if ((ac__type_new_ *) 0)
16754 if (sizeof (ac__type_new_))
16760 rm -f conftest.$ac_objext
16761 if { (ac_try="$ac_compile"
16762 case "(($ac_try" in
16763 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16764 *) ac_try_echo
=$ac_try;;
16766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16767 (eval "$ac_compile") 2>conftest.er1
16769 grep -v '^ *+' conftest.er1
>conftest.err
16771 cat conftest.err
>&5
16772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16773 (exit $ac_status); } && {
16774 test -z "$ac_c_werror_flag" ||
16775 test ! -s conftest.err
16776 } && test -s conftest.
$ac_objext; then
16777 ac_cv_type_off_t
=yes
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.
$ac_ext >&5
16782 ac_cv_type_off_t
=no
16785 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16787 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16788 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16789 if test $ac_cv_type_off_t = yes; then
16791 cat >>confdefs.h
<<_ACEOF
16792 #define HAVE_OFF_T 1
16797 { echo "$as_me:$LINENO: checking for pid_t" >&5
16798 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16799 if test "${ac_cv_type_pid_t+set}" = set; then
16800 echo $ECHO_N "(cached) $ECHO_C" >&6
16802 cat >conftest.
$ac_ext <<_ACEOF
16805 cat confdefs.h
>>conftest.
$ac_ext
16806 cat >>conftest.
$ac_ext <<_ACEOF
16807 /* end confdefs.h. */
16808 $ac_includes_default
16809 typedef pid_t ac__type_new_;
16813 if ((ac__type_new_ *) 0)
16815 if (sizeof (ac__type_new_))
16821 rm -f conftest.
$ac_objext
16822 if { (ac_try
="$ac_compile"
16823 case "(($ac_try" in
16824 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16825 *) ac_try_echo=$ac_try;;
16827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16828 (eval "$ac_compile") 2>conftest.er1
16830 grep -v '^ *+' conftest.er1 >conftest.err
16832 cat conftest.err >&5
16833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834 (exit $ac_status); } && {
16835 test -z "$ac_c_werror_flag" ||
16836 test ! -s conftest.err
16837 } && test -s conftest.$ac_objext; then
16838 ac_cv_type_pid_t=yes
16840 echo "$as_me: failed program was:" >&5
16841 sed 's/^/| /' conftest.$ac_ext >&5
16843 ac_cv_type_pid_t=no
16846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16848 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16849 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16850 if test $ac_cv_type_pid_t = yes; then
16852 cat >>confdefs.h <<_ACEOF
16853 #define HAVE_PID_T 1
16858 { echo "$as_me:$LINENO: checking for size_t" >&5
16859 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16860 if test "${ac_cv_type_size_t+set}" = set; then
16861 echo $ECHO_N "(cached) $ECHO_C" >&6
16863 cat >conftest.$ac_ext <<_ACEOF
16866 cat confdefs.h >>conftest.$ac_ext
16867 cat >>conftest.$ac_ext <<_ACEOF
16868 /* end confdefs.h. */
16869 $ac_includes_default
16870 typedef size_t ac__type_new_;
16874 if ((ac__type_new_ *) 0)
16876 if (sizeof (ac__type_new_))
16882 rm -f conftest.$ac_objext
16883 if { (ac_try="$ac_compile"
16884 case "(($ac_try" in
16885 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16886 *) ac_try_echo
=$ac_try;;
16888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16889 (eval "$ac_compile") 2>conftest.er1
16891 grep -v '^ *+' conftest.er1
>conftest.err
16893 cat conftest.err
>&5
16894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16895 (exit $ac_status); } && {
16896 test -z "$ac_c_werror_flag" ||
16897 test ! -s conftest.err
16898 } && test -s conftest.
$ac_objext; then
16899 ac_cv_type_size_t
=yes
16901 echo "$as_me: failed program was:" >&5
16902 sed 's/^/| /' conftest.
$ac_ext >&5
16904 ac_cv_type_size_t
=no
16907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16909 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16910 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16911 if test $ac_cv_type_size_t = yes; then
16913 cat >>confdefs.h
<<_ACEOF
16914 #define HAVE_SIZE_T 1
16919 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16920 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16921 if test "${ac_cv_type_ssize_t+set}" = set; then
16922 echo $ECHO_N "(cached) $ECHO_C" >&6
16924 cat >conftest.
$ac_ext <<_ACEOF
16927 cat confdefs.h
>>conftest.
$ac_ext
16928 cat >>conftest.
$ac_ext <<_ACEOF
16929 /* end confdefs.h. */
16930 $ac_includes_default
16931 typedef ssize_t ac__type_new_;
16935 if ((ac__type_new_ *) 0)
16937 if (sizeof (ac__type_new_))
16943 rm -f conftest.
$ac_objext
16944 if { (ac_try
="$ac_compile"
16945 case "(($ac_try" in
16946 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16947 *) ac_try_echo=$ac_try;;
16949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16950 (eval "$ac_compile") 2>conftest.er1
16952 grep -v '^ *+' conftest.er1 >conftest.err
16954 cat conftest.err >&5
16955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956 (exit $ac_status); } && {
16957 test -z "$ac_c_werror_flag" ||
16958 test ! -s conftest.err
16959 } && test -s conftest.$ac_objext; then
16960 ac_cv_type_ssize_t=yes
16962 echo "$as_me: failed program was:" >&5
16963 sed 's/^/| /' conftest.$ac_ext >&5
16965 ac_cv_type_ssize_t=no
16968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16970 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16971 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16972 if test $ac_cv_type_ssize_t = yes; then
16974 cat >>confdefs.h <<_ACEOF
16975 #define HAVE_SSIZE_T 1
16980 { echo "$as_me:$LINENO: checking for long long" >&5
16981 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16982 if test "${ac_cv_type_long_long+set}" = set; then
16983 echo $ECHO_N "(cached) $ECHO_C" >&6
16985 cat >conftest.$ac_ext <<_ACEOF
16988 cat confdefs.h >>conftest.$ac_ext
16989 cat >>conftest.$ac_ext <<_ACEOF
16990 /* end confdefs.h. */
16991 $ac_includes_default
16992 typedef long long ac__type_new_;
16996 if ((ac__type_new_ *) 0)
16998 if (sizeof (ac__type_new_))
17004 rm -f conftest.$ac_objext
17005 if { (ac_try="$ac_compile"
17006 case "(($ac_try" in
17007 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17008 *) ac_try_echo
=$ac_try;;
17010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17011 (eval "$ac_compile") 2>conftest.er1
17013 grep -v '^ *+' conftest.er1
>conftest.err
17015 cat conftest.err
>&5
17016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17017 (exit $ac_status); } && {
17018 test -z "$ac_c_werror_flag" ||
17019 test ! -s conftest.err
17020 } && test -s conftest.
$ac_objext; then
17021 ac_cv_type_long_long
=yes
17023 echo "$as_me: failed program was:" >&5
17024 sed 's/^/| /' conftest.
$ac_ext >&5
17026 ac_cv_type_long_long
=no
17029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17031 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17032 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17033 if test $ac_cv_type_long_long = yes; then
17035 cat >>confdefs.h
<<_ACEOF
17036 #define HAVE_LONG_LONG 1
17041 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17042 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17043 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17044 echo $ECHO_N "(cached) $ECHO_C" >&6
17046 cat >conftest.
$ac_ext <<_ACEOF
17049 cat confdefs.h
>>conftest.
$ac_ext
17050 cat >>conftest.
$ac_ext <<_ACEOF
17051 /* end confdefs.h. */
17052 $ac_includes_default
17053 typedef fsblkcnt_t ac__type_new_;
17057 if ((ac__type_new_ *) 0)
17059 if (sizeof (ac__type_new_))
17065 rm -f conftest.
$ac_objext
17066 if { (ac_try
="$ac_compile"
17067 case "(($ac_try" in
17068 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17069 *) ac_try_echo=$ac_try;;
17071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17072 (eval "$ac_compile") 2>conftest.er1
17074 grep -v '^ *+' conftest.er1 >conftest.err
17076 cat conftest.err >&5
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); } && {
17079 test -z "$ac_c_werror_flag" ||
17080 test ! -s conftest.err
17081 } && test -s conftest.$ac_objext; then
17082 ac_cv_type_fsblkcnt_t=yes
17084 echo "$as_me: failed program was:" >&5
17085 sed 's/^/| /' conftest.$ac_ext >&5
17087 ac_cv_type_fsblkcnt_t=no
17090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17092 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17093 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17094 if test $ac_cv_type_fsblkcnt_t = yes; then
17096 cat >>confdefs.h <<_ACEOF
17097 #define HAVE_FSBLKCNT_T 1
17102 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17103 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17104 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17105 echo $ECHO_N "(cached) $ECHO_C" >&6
17107 cat >conftest.$ac_ext <<_ACEOF
17110 cat confdefs.h >>conftest.$ac_ext
17111 cat >>conftest.$ac_ext <<_ACEOF
17112 /* end confdefs.h. */
17113 $ac_includes_default
17114 typedef fsfilcnt_t ac__type_new_;
17118 if ((ac__type_new_ *) 0)
17120 if (sizeof (ac__type_new_))
17126 rm -f conftest.$ac_objext
17127 if { (ac_try="$ac_compile"
17128 case "(($ac_try" in
17129 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17130 *) ac_try_echo
=$ac_try;;
17132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17133 (eval "$ac_compile") 2>conftest.er1
17135 grep -v '^ *+' conftest.er1
>conftest.err
17137 cat conftest.err
>&5
17138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17139 (exit $ac_status); } && {
17140 test -z "$ac_c_werror_flag" ||
17141 test ! -s conftest.err
17142 } && test -s conftest.
$ac_objext; then
17143 ac_cv_type_fsfilcnt_t
=yes
17145 echo "$as_me: failed program was:" >&5
17146 sed 's/^/| /' conftest.
$ac_ext >&5
17148 ac_cv_type_fsfilcnt_t
=no
17151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17153 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17154 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17155 if test $ac_cv_type_fsfilcnt_t = yes; then
17157 cat >>confdefs.h
<<_ACEOF
17158 #define HAVE_FSFILCNT_T 1
17164 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17165 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17166 if test "${ac_cv_type_sigset_t+set}" = set; then
17167 echo $ECHO_N "(cached) $ECHO_C" >&6
17169 cat >conftest.
$ac_ext <<_ACEOF
17172 cat confdefs.h
>>conftest.
$ac_ext
17173 cat >>conftest.
$ac_ext <<_ACEOF
17174 /* end confdefs.h. */
17175 #include <signal.h>
17177 typedef sigset_t ac__type_new_;
17181 if ((ac__type_new_ *) 0)
17183 if (sizeof (ac__type_new_))
17189 rm -f conftest.
$ac_objext
17190 if { (ac_try
="$ac_compile"
17191 case "(($ac_try" in
17192 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17193 *) ac_try_echo=$ac_try;;
17195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17196 (eval "$ac_compile") 2>conftest.er1
17198 grep -v '^ *+' conftest.er1 >conftest.err
17200 cat conftest.err >&5
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); } && {
17203 test -z "$ac_c_werror_flag" ||
17204 test ! -s conftest.err
17205 } && test -s conftest.$ac_objext; then
17206 ac_cv_type_sigset_t=yes
17208 echo "$as_me: failed program was:" >&5
17209 sed 's/^/| /' conftest.$ac_ext >&5
17211 ac_cv_type_sigset_t=no
17214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17216 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17217 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17218 if test $ac_cv_type_sigset_t = yes; then
17220 cat >>confdefs.h <<_ACEOF
17221 #define HAVE_SIGSET_T 1
17227 { echo "$as_me:$LINENO: checking for request_sense" >&5
17228 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17229 if test "${ac_cv_type_request_sense+set}" = set; then
17230 echo $ECHO_N "(cached) $ECHO_C" >&6
17232 cat >conftest.$ac_ext <<_ACEOF
17235 cat confdefs.h >>conftest.$ac_ext
17236 cat >>conftest.$ac_ext <<_ACEOF
17237 /* end confdefs.h. */
17238 #include <linux/cdrom.h>
17240 typedef request_sense ac__type_new_;
17244 if ((ac__type_new_ *) 0)
17246 if (sizeof (ac__type_new_))
17252 rm -f conftest.$ac_objext
17253 if { (ac_try="$ac_compile"
17254 case "(($ac_try" in
17255 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17256 *) ac_try_echo
=$ac_try;;
17258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17259 (eval "$ac_compile") 2>conftest.er1
17261 grep -v '^ *+' conftest.er1
>conftest.err
17263 cat conftest.err
>&5
17264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17265 (exit $ac_status); } && {
17266 test -z "$ac_c_werror_flag" ||
17267 test ! -s conftest.err
17268 } && test -s conftest.
$ac_objext; then
17269 ac_cv_type_request_sense
=yes
17271 echo "$as_me: failed program was:" >&5
17272 sed 's/^/| /' conftest.
$ac_ext >&5
17274 ac_cv_type_request_sense
=no
17277 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17279 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17280 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17281 if test $ac_cv_type_request_sense = yes; then
17283 cat >>confdefs.h
<<_ACEOF
17284 #define HAVE_REQUEST_SENSE 1
17291 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17292 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17293 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17294 echo $ECHO_N "(cached) $ECHO_C" >&6
17296 cat >conftest.
$ac_ext <<_ACEOF
17299 cat confdefs.h
>>conftest.
$ac_ext
17300 cat >>conftest.
$ac_ext <<_ACEOF
17301 /* end confdefs.h. */
17302 #ifdef HAVE_LINUX_INPUT_H
17303 #include <linux/input.h>
17309 static struct ff_effect ac_aggr;
17310 if (ac_aggr.direction)
17316 rm -f conftest.
$ac_objext
17317 if { (ac_try
="$ac_compile"
17318 case "(($ac_try" in
17319 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17320 *) ac_try_echo=$ac_try;;
17322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17323 (eval "$ac_compile") 2>conftest.er1
17325 grep -v '^ *+' conftest.er1 >conftest.err
17327 cat conftest.err >&5
17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329 (exit $ac_status); } && {
17330 test -z "$ac_c_werror_flag" ||
17331 test ! -s conftest.err
17332 } && test -s conftest.$ac_objext; then
17333 ac_cv_member_struct_ff_effect_direction=yes
17335 echo "$as_me: failed program was:" >&5
17336 sed 's/^/| /' conftest.$ac_ext >&5
17338 cat >conftest.$ac_ext <<_ACEOF
17341 cat confdefs.h >>conftest.$ac_ext
17342 cat >>conftest.$ac_ext <<_ACEOF
17343 /* end confdefs.h. */
17344 #ifdef HAVE_LINUX_INPUT_H
17345 #include <linux/input.h>
17351 static struct ff_effect ac_aggr;
17352 if (sizeof ac_aggr.direction)
17358 rm -f conftest.$ac_objext
17359 if { (ac_try="$ac_compile"
17360 case "(($ac_try" in
17361 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17362 *) ac_try_echo
=$ac_try;;
17364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17365 (eval "$ac_compile") 2>conftest.er1
17367 grep -v '^ *+' conftest.er1
>conftest.err
17369 cat conftest.err
>&5
17370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371 (exit $ac_status); } && {
17372 test -z "$ac_c_werror_flag" ||
17373 test ! -s conftest.err
17374 } && test -s conftest.
$ac_objext; then
17375 ac_cv_member_struct_ff_effect_direction
=yes
17377 echo "$as_me: failed program was:" >&5
17378 sed 's/^/| /' conftest.
$ac_ext >&5
17380 ac_cv_member_struct_ff_effect_direction
=no
17383 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17388 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17389 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17390 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17392 cat >>confdefs.h
<<_ACEOF
17393 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17400 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17401 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17402 if test "${wine_cv_have_sigaddset+set}" = set; then
17403 echo $ECHO_N "(cached) $ECHO_C" >&6
17405 cat >conftest.
$ac_ext <<_ACEOF
17408 cat confdefs.h
>>conftest.
$ac_ext
17409 cat >>conftest.
$ac_ext <<_ACEOF
17410 /* end confdefs.h. */
17411 #include <signal.h>
17415 sigset_t set; sigaddset(&set,SIGTERM);
17420 rm -f conftest.
$ac_objext conftest
$ac_exeext
17421 if { (ac_try
="$ac_link"
17422 case "(($ac_try" in
17423 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17424 *) ac_try_echo=$ac_try;;
17426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17427 (eval "$ac_link") 2>conftest.er1
17429 grep -v '^ *+' conftest.er1 >conftest.err
17431 cat conftest.err >&5
17432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17433 (exit $ac_status); } && {
17434 test -z "$ac_c_werror_flag" ||
17435 test ! -s conftest.err
17436 } && test -s conftest$ac_exeext &&
17437 $as_test_x conftest$ac_exeext; then
17438 wine_cv_have_sigaddset=yes
17440 echo "$as_me: failed program was:" >&5
17441 sed 's/^/| /' conftest.$ac_ext >&5
17443 wine_cv_have_sigaddset=no
17446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17447 conftest$ac_exeext conftest.$ac_ext
17449 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17450 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17451 if test "$wine_cv_have_sigaddset" = "yes"
17454 cat >>confdefs.h <<\_ACEOF
17455 #define HAVE_SIGADDSET 1
17461 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17462 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17463 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17464 echo $ECHO_N "(cached) $ECHO_C" >&6
17466 cat >conftest.$ac_ext <<_ACEOF
17469 cat confdefs.h >>conftest.$ac_ext
17470 cat >>conftest.$ac_ext <<_ACEOF
17471 /* end confdefs.h. */
17481 struct hostent *result;
17488 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17489 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17495 rm -f conftest.$ac_objext conftest$ac_exeext
17496 if { (ac_try="$ac_link"
17497 case "(($ac_try" in
17498 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17499 *) ac_try_echo
=$ac_try;;
17501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17502 (eval "$ac_link") 2>conftest.er1
17504 grep -v '^ *+' conftest.er1
>conftest.err
17506 cat conftest.err
>&5
17507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17508 (exit $ac_status); } && {
17509 test -z "$ac_c_werror_flag" ||
17510 test ! -s conftest.err
17511 } && test -s conftest
$ac_exeext &&
17512 $as_test_x conftest
$ac_exeext; then
17513 wine_cv_linux_gethostbyname_r_6
=yes
17515 echo "$as_me: failed program was:" >&5
17516 sed 's/^/| /' conftest.
$ac_ext >&5
17518 wine_cv_linux_gethostbyname_r_6
=no
17522 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17523 conftest
$ac_exeext conftest.
$ac_ext
17526 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17527 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17528 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17531 cat >>confdefs.h
<<\_ACEOF
17532 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17537 if test "$ac_cv_header_linux_joystick_h" = "yes"
17539 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17540 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17541 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17542 echo $ECHO_N "(cached) $ECHO_C" >&6
17544 cat >conftest.
$ac_ext <<_ACEOF
17547 cat confdefs.h
>>conftest.
$ac_ext
17548 cat >>conftest.
$ac_ext <<_ACEOF
17549 /* end confdefs.h. */
17551 #include <sys/ioctl.h>
17552 #include <linux/joystick.h>
17554 struct js_event blub;
17555 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17556 #error "no 2.2 header"
17567 rm -f conftest.
$ac_objext
17568 if { (ac_try
="$ac_compile"
17569 case "(($ac_try" in
17570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17571 *) ac_try_echo=$ac_try;;
17573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17574 (eval "$ac_compile") 2>conftest.er1
17576 grep -v '^ *+' conftest.er1 >conftest.err
17578 cat conftest.err >&5
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); } && {
17581 test -z "$ac_c_werror_flag" ||
17582 test ! -s conftest.err
17583 } && test -s conftest.$ac_objext; then
17584 wine_cv_linux_joystick_22_api=yes
17586 echo "$as_me: failed program was:" >&5
17587 sed 's/^/| /' conftest.$ac_ext >&5
17589 wine_cv_linux_joystick_22_api=no
17592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17595 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17596 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17597 if test "$wine_cv_linux_joystick_22_api" = "yes"
17600 cat >>confdefs.h <<\_ACEOF
17601 #define HAVE_LINUX_22_JOYSTICK_API 1
17608 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17609 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17610 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17611 echo $ECHO_N "(cached) $ECHO_C" >&6
17613 cat >conftest.$ac_ext <<_ACEOF
17616 cat confdefs.h >>conftest.$ac_ext
17617 cat >>conftest.$ac_ext <<_ACEOF
17618 /* end confdefs.h. */
17619 #include <sys/types.h>
17620 #ifdef HAVE_SYS_PARAM_H
17621 # include <sys/param.h>
17623 #ifdef HAVE_SYS_MOUNT_H
17624 # include <sys/mount.h>
17626 #ifdef HAVE_SYS_VFS_H
17627 # include <sys/vfs.h>
17629 #ifdef HAVE_SYS_STATFS_H
17630 # include <sys/statfs.h>
17636 static struct statfs ac_aggr;
17637 if (ac_aggr.f_bfree)
17643 rm -f conftest.$ac_objext
17644 if { (ac_try="$ac_compile"
17645 case "(($ac_try" in
17646 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17647 *) ac_try_echo
=$ac_try;;
17649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17650 (eval "$ac_compile") 2>conftest.er1
17652 grep -v '^ *+' conftest.er1
>conftest.err
17654 cat conftest.err
>&5
17655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17656 (exit $ac_status); } && {
17657 test -z "$ac_c_werror_flag" ||
17658 test ! -s conftest.err
17659 } && test -s conftest.
$ac_objext; then
17660 ac_cv_member_struct_statfs_f_bfree
=yes
17662 echo "$as_me: failed program was:" >&5
17663 sed 's/^/| /' conftest.
$ac_ext >&5
17665 cat >conftest.
$ac_ext <<_ACEOF
17668 cat confdefs.h
>>conftest.
$ac_ext
17669 cat >>conftest.
$ac_ext <<_ACEOF
17670 /* end confdefs.h. */
17671 #include <sys/types.h>
17672 #ifdef HAVE_SYS_PARAM_H
17673 # include <sys/param.h>
17675 #ifdef HAVE_SYS_MOUNT_H
17676 # include <sys/mount.h>
17678 #ifdef HAVE_SYS_VFS_H
17679 # include <sys/vfs.h>
17681 #ifdef HAVE_SYS_STATFS_H
17682 # include <sys/statfs.h>
17688 static struct statfs ac_aggr;
17689 if (sizeof ac_aggr.f_bfree)
17695 rm -f conftest.
$ac_objext
17696 if { (ac_try
="$ac_compile"
17697 case "(($ac_try" in
17698 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17699 *) ac_try_echo=$ac_try;;
17701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17702 (eval "$ac_compile") 2>conftest.er1
17704 grep -v '^ *+' conftest.er1 >conftest.err
17706 cat conftest.err >&5
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); } && {
17709 test -z "$ac_c_werror_flag" ||
17710 test ! -s conftest.err
17711 } && test -s conftest.$ac_objext; then
17712 ac_cv_member_struct_statfs_f_bfree=yes
17714 echo "$as_me: failed program was:" >&5
17715 sed 's/^/| /' conftest.$ac_ext >&5
17717 ac_cv_member_struct_statfs_f_bfree=no
17720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17725 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17726 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17727 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17729 cat >>confdefs.h <<_ACEOF
17730 #define HAVE_STRUCT_STATFS_F_BFREE 1
17735 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17736 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17737 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17738 echo $ECHO_N "(cached) $ECHO_C" >&6
17740 cat >conftest.$ac_ext <<_ACEOF
17743 cat confdefs.h >>conftest.$ac_ext
17744 cat >>conftest.$ac_ext <<_ACEOF
17745 /* end confdefs.h. */
17746 #include <sys/types.h>
17747 #ifdef HAVE_SYS_PARAM_H
17748 # include <sys/param.h>
17750 #ifdef HAVE_SYS_MOUNT_H
17751 # include <sys/mount.h>
17753 #ifdef HAVE_SYS_VFS_H
17754 # include <sys/vfs.h>
17756 #ifdef HAVE_SYS_STATFS_H
17757 # include <sys/statfs.h>
17763 static struct statfs ac_aggr;
17764 if (ac_aggr.f_bavail)
17770 rm -f conftest.$ac_objext
17771 if { (ac_try="$ac_compile"
17772 case "(($ac_try" in
17773 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17774 *) ac_try_echo
=$ac_try;;
17776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17777 (eval "$ac_compile") 2>conftest.er1
17779 grep -v '^ *+' conftest.er1
>conftest.err
17781 cat conftest.err
>&5
17782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17783 (exit $ac_status); } && {
17784 test -z "$ac_c_werror_flag" ||
17785 test ! -s conftest.err
17786 } && test -s conftest.
$ac_objext; then
17787 ac_cv_member_struct_statfs_f_bavail
=yes
17789 echo "$as_me: failed program was:" >&5
17790 sed 's/^/| /' conftest.
$ac_ext >&5
17792 cat >conftest.
$ac_ext <<_ACEOF
17795 cat confdefs.h
>>conftest.
$ac_ext
17796 cat >>conftest.
$ac_ext <<_ACEOF
17797 /* end confdefs.h. */
17798 #include <sys/types.h>
17799 #ifdef HAVE_SYS_PARAM_H
17800 # include <sys/param.h>
17802 #ifdef HAVE_SYS_MOUNT_H
17803 # include <sys/mount.h>
17805 #ifdef HAVE_SYS_VFS_H
17806 # include <sys/vfs.h>
17808 #ifdef HAVE_SYS_STATFS_H
17809 # include <sys/statfs.h>
17815 static struct statfs ac_aggr;
17816 if (sizeof ac_aggr.f_bavail)
17822 rm -f conftest.
$ac_objext
17823 if { (ac_try
="$ac_compile"
17824 case "(($ac_try" in
17825 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17826 *) ac_try_echo=$ac_try;;
17828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17829 (eval "$ac_compile") 2>conftest.er1
17831 grep -v '^ *+' conftest.er1 >conftest.err
17833 cat conftest.err >&5
17834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17835 (exit $ac_status); } && {
17836 test -z "$ac_c_werror_flag" ||
17837 test ! -s conftest.err
17838 } && test -s conftest.$ac_objext; then
17839 ac_cv_member_struct_statfs_f_bavail=yes
17841 echo "$as_me: failed program was:" >&5
17842 sed 's/^/| /' conftest.$ac_ext >&5
17844 ac_cv_member_struct_statfs_f_bavail=no
17847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17852 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17853 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17854 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17856 cat >>confdefs.h <<_ACEOF
17857 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17862 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17863 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17864 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17865 echo $ECHO_N "(cached) $ECHO_C" >&6
17867 cat >conftest.$ac_ext <<_ACEOF
17870 cat confdefs.h >>conftest.$ac_ext
17871 cat >>conftest.$ac_ext <<_ACEOF
17872 /* end confdefs.h. */
17873 #include <sys/types.h>
17874 #ifdef HAVE_SYS_PARAM_H
17875 # include <sys/param.h>
17877 #ifdef HAVE_SYS_MOUNT_H
17878 # include <sys/mount.h>
17880 #ifdef HAVE_SYS_VFS_H
17881 # include <sys/vfs.h>
17883 #ifdef HAVE_SYS_STATFS_H
17884 # include <sys/statfs.h>
17890 static struct statfs ac_aggr;
17891 if (ac_aggr.f_frsize)
17897 rm -f conftest.$ac_objext
17898 if { (ac_try="$ac_compile"
17899 case "(($ac_try" in
17900 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17901 *) ac_try_echo
=$ac_try;;
17903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17904 (eval "$ac_compile") 2>conftest.er1
17906 grep -v '^ *+' conftest.er1
>conftest.err
17908 cat conftest.err
>&5
17909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17910 (exit $ac_status); } && {
17911 test -z "$ac_c_werror_flag" ||
17912 test ! -s conftest.err
17913 } && test -s conftest.
$ac_objext; then
17914 ac_cv_member_struct_statfs_f_frsize
=yes
17916 echo "$as_me: failed program was:" >&5
17917 sed 's/^/| /' conftest.
$ac_ext >&5
17919 cat >conftest.
$ac_ext <<_ACEOF
17922 cat confdefs.h
>>conftest.
$ac_ext
17923 cat >>conftest.
$ac_ext <<_ACEOF
17924 /* end confdefs.h. */
17925 #include <sys/types.h>
17926 #ifdef HAVE_SYS_PARAM_H
17927 # include <sys/param.h>
17929 #ifdef HAVE_SYS_MOUNT_H
17930 # include <sys/mount.h>
17932 #ifdef HAVE_SYS_VFS_H
17933 # include <sys/vfs.h>
17935 #ifdef HAVE_SYS_STATFS_H
17936 # include <sys/statfs.h>
17942 static struct statfs ac_aggr;
17943 if (sizeof ac_aggr.f_frsize)
17949 rm -f conftest.
$ac_objext
17950 if { (ac_try
="$ac_compile"
17951 case "(($ac_try" in
17952 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17953 *) ac_try_echo=$ac_try;;
17955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17956 (eval "$ac_compile") 2>conftest.er1
17958 grep -v '^ *+' conftest.er1 >conftest.err
17960 cat conftest.err >&5
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); } && {
17963 test -z "$ac_c_werror_flag" ||
17964 test ! -s conftest.err
17965 } && test -s conftest.$ac_objext; then
17966 ac_cv_member_struct_statfs_f_frsize=yes
17968 echo "$as_me: failed program was:" >&5
17969 sed 's/^/| /' conftest.$ac_ext >&5
17971 ac_cv_member_struct_statfs_f_frsize=no
17974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17979 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17980 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17981 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17983 cat >>confdefs.h <<_ACEOF
17984 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17989 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17990 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17991 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17992 echo $ECHO_N "(cached) $ECHO_C" >&6
17994 cat >conftest.$ac_ext <<_ACEOF
17997 cat confdefs.h >>conftest.$ac_ext
17998 cat >>conftest.$ac_ext <<_ACEOF
17999 /* end confdefs.h. */
18000 #include <sys/types.h>
18001 #ifdef HAVE_SYS_PARAM_H
18002 # include <sys/param.h>
18004 #ifdef HAVE_SYS_MOUNT_H
18005 # include <sys/mount.h>
18007 #ifdef HAVE_SYS_VFS_H
18008 # include <sys/vfs.h>
18010 #ifdef HAVE_SYS_STATFS_H
18011 # include <sys/statfs.h>
18017 static struct statfs ac_aggr;
18018 if (ac_aggr.f_ffree)
18024 rm -f conftest.$ac_objext
18025 if { (ac_try="$ac_compile"
18026 case "(($ac_try" in
18027 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18028 *) ac_try_echo
=$ac_try;;
18030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18031 (eval "$ac_compile") 2>conftest.er1
18033 grep -v '^ *+' conftest.er1
>conftest.err
18035 cat conftest.err
>&5
18036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18037 (exit $ac_status); } && {
18038 test -z "$ac_c_werror_flag" ||
18039 test ! -s conftest.err
18040 } && test -s conftest.
$ac_objext; then
18041 ac_cv_member_struct_statfs_f_ffree
=yes
18043 echo "$as_me: failed program was:" >&5
18044 sed 's/^/| /' conftest.
$ac_ext >&5
18046 cat >conftest.
$ac_ext <<_ACEOF
18049 cat confdefs.h
>>conftest.
$ac_ext
18050 cat >>conftest.
$ac_ext <<_ACEOF
18051 /* end confdefs.h. */
18052 #include <sys/types.h>
18053 #ifdef HAVE_SYS_PARAM_H
18054 # include <sys/param.h>
18056 #ifdef HAVE_SYS_MOUNT_H
18057 # include <sys/mount.h>
18059 #ifdef HAVE_SYS_VFS_H
18060 # include <sys/vfs.h>
18062 #ifdef HAVE_SYS_STATFS_H
18063 # include <sys/statfs.h>
18069 static struct statfs ac_aggr;
18070 if (sizeof ac_aggr.f_ffree)
18076 rm -f conftest.
$ac_objext
18077 if { (ac_try
="$ac_compile"
18078 case "(($ac_try" in
18079 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18080 *) ac_try_echo=$ac_try;;
18082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18083 (eval "$ac_compile") 2>conftest.er1
18085 grep -v '^ *+' conftest.er1 >conftest.err
18087 cat conftest.err >&5
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); } && {
18090 test -z "$ac_c_werror_flag" ||
18091 test ! -s conftest.err
18092 } && test -s conftest.$ac_objext; then
18093 ac_cv_member_struct_statfs_f_ffree=yes
18095 echo "$as_me: failed program was:" >&5
18096 sed 's/^/| /' conftest.$ac_ext >&5
18098 ac_cv_member_struct_statfs_f_ffree=no
18101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18106 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18107 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18108 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18110 cat >>confdefs.h <<_ACEOF
18111 #define HAVE_STRUCT_STATFS_F_FFREE 1
18116 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18117 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18118 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18119 echo $ECHO_N "(cached) $ECHO_C" >&6
18121 cat >conftest.$ac_ext <<_ACEOF
18124 cat confdefs.h >>conftest.$ac_ext
18125 cat >>conftest.$ac_ext <<_ACEOF
18126 /* end confdefs.h. */
18127 #include <sys/types.h>
18128 #ifdef HAVE_SYS_PARAM_H
18129 # include <sys/param.h>
18131 #ifdef HAVE_SYS_MOUNT_H
18132 # include <sys/mount.h>
18134 #ifdef HAVE_SYS_VFS_H
18135 # include <sys/vfs.h>
18137 #ifdef HAVE_SYS_STATFS_H
18138 # include <sys/statfs.h>
18144 static struct statfs ac_aggr;
18145 if (ac_aggr.f_favail)
18151 rm -f conftest.$ac_objext
18152 if { (ac_try="$ac_compile"
18153 case "(($ac_try" in
18154 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18155 *) ac_try_echo
=$ac_try;;
18157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18158 (eval "$ac_compile") 2>conftest.er1
18160 grep -v '^ *+' conftest.er1
>conftest.err
18162 cat conftest.err
>&5
18163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18164 (exit $ac_status); } && {
18165 test -z "$ac_c_werror_flag" ||
18166 test ! -s conftest.err
18167 } && test -s conftest.
$ac_objext; then
18168 ac_cv_member_struct_statfs_f_favail
=yes
18170 echo "$as_me: failed program was:" >&5
18171 sed 's/^/| /' conftest.
$ac_ext >&5
18173 cat >conftest.
$ac_ext <<_ACEOF
18176 cat confdefs.h
>>conftest.
$ac_ext
18177 cat >>conftest.
$ac_ext <<_ACEOF
18178 /* end confdefs.h. */
18179 #include <sys/types.h>
18180 #ifdef HAVE_SYS_PARAM_H
18181 # include <sys/param.h>
18183 #ifdef HAVE_SYS_MOUNT_H
18184 # include <sys/mount.h>
18186 #ifdef HAVE_SYS_VFS_H
18187 # include <sys/vfs.h>
18189 #ifdef HAVE_SYS_STATFS_H
18190 # include <sys/statfs.h>
18196 static struct statfs ac_aggr;
18197 if (sizeof ac_aggr.f_favail)
18203 rm -f conftest.
$ac_objext
18204 if { (ac_try
="$ac_compile"
18205 case "(($ac_try" in
18206 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18207 *) ac_try_echo=$ac_try;;
18209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18210 (eval "$ac_compile") 2>conftest.er1
18212 grep -v '^ *+' conftest.er1 >conftest.err
18214 cat conftest.err >&5
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); } && {
18217 test -z "$ac_c_werror_flag" ||
18218 test ! -s conftest.err
18219 } && test -s conftest.$ac_objext; then
18220 ac_cv_member_struct_statfs_f_favail=yes
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.$ac_ext >&5
18225 ac_cv_member_struct_statfs_f_favail=no
18228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18233 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18234 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18235 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18237 cat >>confdefs.h <<_ACEOF
18238 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18243 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18244 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18245 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18246 echo $ECHO_N "(cached) $ECHO_C" >&6
18248 cat >conftest.$ac_ext <<_ACEOF
18251 cat confdefs.h >>conftest.$ac_ext
18252 cat >>conftest.$ac_ext <<_ACEOF
18253 /* end confdefs.h. */
18254 #include <sys/types.h>
18255 #ifdef HAVE_SYS_PARAM_H
18256 # include <sys/param.h>
18258 #ifdef HAVE_SYS_MOUNT_H
18259 # include <sys/mount.h>
18261 #ifdef HAVE_SYS_VFS_H
18262 # include <sys/vfs.h>
18264 #ifdef HAVE_SYS_STATFS_H
18265 # include <sys/statfs.h>
18271 static struct statfs ac_aggr;
18272 if (ac_aggr.f_namelen)
18278 rm -f conftest.$ac_objext
18279 if { (ac_try="$ac_compile"
18280 case "(($ac_try" in
18281 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18282 *) ac_try_echo
=$ac_try;;
18284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18285 (eval "$ac_compile") 2>conftest.er1
18287 grep -v '^ *+' conftest.er1
>conftest.err
18289 cat conftest.err
>&5
18290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18291 (exit $ac_status); } && {
18292 test -z "$ac_c_werror_flag" ||
18293 test ! -s conftest.err
18294 } && test -s conftest.
$ac_objext; then
18295 ac_cv_member_struct_statfs_f_namelen
=yes
18297 echo "$as_me: failed program was:" >&5
18298 sed 's/^/| /' conftest.
$ac_ext >&5
18300 cat >conftest.
$ac_ext <<_ACEOF
18303 cat confdefs.h
>>conftest.
$ac_ext
18304 cat >>conftest.
$ac_ext <<_ACEOF
18305 /* end confdefs.h. */
18306 #include <sys/types.h>
18307 #ifdef HAVE_SYS_PARAM_H
18308 # include <sys/param.h>
18310 #ifdef HAVE_SYS_MOUNT_H
18311 # include <sys/mount.h>
18313 #ifdef HAVE_SYS_VFS_H
18314 # include <sys/vfs.h>
18316 #ifdef HAVE_SYS_STATFS_H
18317 # include <sys/statfs.h>
18323 static struct statfs ac_aggr;
18324 if (sizeof ac_aggr.f_namelen)
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_statfs_f_namelen=yes
18349 echo "$as_me: failed program was:" >&5
18350 sed 's/^/| /' conftest.$ac_ext >&5
18352 ac_cv_member_struct_statfs_f_namelen=no
18355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18360 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18361 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18362 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18364 cat >>confdefs.h <<_ACEOF
18365 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18372 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18373 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18374 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18375 echo $ECHO_N "(cached) $ECHO_C" >&6
18377 cat >conftest.$ac_ext <<_ACEOF
18380 cat confdefs.h >>conftest.$ac_ext
18381 cat >>conftest.$ac_ext <<_ACEOF
18382 /* end confdefs.h. */
18383 #ifdef HAVE_SYS_STATVFS_H
18384 #include <sys/statvfs.h>
18390 static struct statvfs ac_aggr;
18391 if (ac_aggr.f_blocks)
18397 rm -f conftest.$ac_objext
18398 if { (ac_try="$ac_compile"
18399 case "(($ac_try" in
18400 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18401 *) ac_try_echo
=$ac_try;;
18403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18404 (eval "$ac_compile") 2>conftest.er1
18406 grep -v '^ *+' conftest.er1
>conftest.err
18408 cat conftest.err
>&5
18409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18410 (exit $ac_status); } && {
18411 test -z "$ac_c_werror_flag" ||
18412 test ! -s conftest.err
18413 } && test -s conftest.
$ac_objext; then
18414 ac_cv_member_struct_statvfs_f_blocks
=yes
18416 echo "$as_me: failed program was:" >&5
18417 sed 's/^/| /' conftest.
$ac_ext >&5
18419 cat >conftest.
$ac_ext <<_ACEOF
18422 cat confdefs.h
>>conftest.
$ac_ext
18423 cat >>conftest.
$ac_ext <<_ACEOF
18424 /* end confdefs.h. */
18425 #ifdef HAVE_SYS_STATVFS_H
18426 #include <sys/statvfs.h>
18432 static struct statvfs ac_aggr;
18433 if (sizeof ac_aggr.f_blocks)
18439 rm -f conftest.
$ac_objext
18440 if { (ac_try
="$ac_compile"
18441 case "(($ac_try" in
18442 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18443 *) ac_try_echo=$ac_try;;
18445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18446 (eval "$ac_compile") 2>conftest.er1
18448 grep -v '^ *+' conftest.er1 >conftest.err
18450 cat conftest.err >&5
18451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18452 (exit $ac_status); } && {
18453 test -z "$ac_c_werror_flag" ||
18454 test ! -s conftest.err
18455 } && test -s conftest.$ac_objext; then
18456 ac_cv_member_struct_statvfs_f_blocks=yes
18458 echo "$as_me: failed program was:" >&5
18459 sed 's/^/| /' conftest.$ac_ext >&5
18461 ac_cv_member_struct_statvfs_f_blocks=no
18464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18469 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18470 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18471 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18473 cat >>confdefs.h <<_ACEOF
18474 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18481 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18482 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18483 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18484 echo $ECHO_N "(cached) $ECHO_C" >&6
18486 cat >conftest.$ac_ext <<_ACEOF
18489 cat confdefs.h >>conftest.$ac_ext
18490 cat >>conftest.$ac_ext <<_ACEOF
18491 /* end confdefs.h. */
18492 #include <sys/types.h>
18493 #ifdef HAVE_SYS_SOCKET_H
18494 # include <sys/socket.h>
18496 #ifdef HAVE_SYS_UN_H
18497 # include <sys/un.h>
18503 static struct msghdr ac_aggr;
18504 if (ac_aggr.msg_accrights)
18510 rm -f conftest.$ac_objext
18511 if { (ac_try="$ac_compile"
18512 case "(($ac_try" in
18513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18514 *) ac_try_echo
=$ac_try;;
18516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18517 (eval "$ac_compile") 2>conftest.er1
18519 grep -v '^ *+' conftest.er1
>conftest.err
18521 cat conftest.err
>&5
18522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18523 (exit $ac_status); } && {
18524 test -z "$ac_c_werror_flag" ||
18525 test ! -s conftest.err
18526 } && test -s conftest.
$ac_objext; then
18527 ac_cv_member_struct_msghdr_msg_accrights
=yes
18529 echo "$as_me: failed program was:" >&5
18530 sed 's/^/| /' conftest.
$ac_ext >&5
18532 cat >conftest.
$ac_ext <<_ACEOF
18535 cat confdefs.h
>>conftest.
$ac_ext
18536 cat >>conftest.
$ac_ext <<_ACEOF
18537 /* end confdefs.h. */
18538 #include <sys/types.h>
18539 #ifdef HAVE_SYS_SOCKET_H
18540 # include <sys/socket.h>
18542 #ifdef HAVE_SYS_UN_H
18543 # include <sys/un.h>
18549 static struct msghdr ac_aggr;
18550 if (sizeof ac_aggr.msg_accrights)
18556 rm -f conftest.
$ac_objext
18557 if { (ac_try
="$ac_compile"
18558 case "(($ac_try" in
18559 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18560 *) ac_try_echo=$ac_try;;
18562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18563 (eval "$ac_compile") 2>conftest.er1
18565 grep -v '^ *+' conftest.er1 >conftest.err
18567 cat conftest.err >&5
18568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569 (exit $ac_status); } && {
18570 test -z "$ac_c_werror_flag" ||
18571 test ! -s conftest.err
18572 } && test -s conftest.$ac_objext; then
18573 ac_cv_member_struct_msghdr_msg_accrights=yes
18575 echo "$as_me: failed program was:" >&5
18576 sed 's/^/| /' conftest.$ac_ext >&5
18578 ac_cv_member_struct_msghdr_msg_accrights=no
18581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18586 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18587 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18588 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18590 cat >>confdefs.h <<_ACEOF
18591 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18596 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18597 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18598 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18599 echo $ECHO_N "(cached) $ECHO_C" >&6
18601 cat >conftest.$ac_ext <<_ACEOF
18604 cat confdefs.h >>conftest.$ac_ext
18605 cat >>conftest.$ac_ext <<_ACEOF
18606 /* end confdefs.h. */
18607 #include <sys/types.h>
18608 #ifdef HAVE_SYS_SOCKET_H
18609 # include <sys/socket.h>
18611 #ifdef HAVE_SYS_UN_H
18612 # include <sys/un.h>
18618 static struct sockaddr ac_aggr;
18619 if (ac_aggr.sa_len)
18625 rm -f conftest.$ac_objext
18626 if { (ac_try="$ac_compile"
18627 case "(($ac_try" in
18628 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18629 *) ac_try_echo
=$ac_try;;
18631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18632 (eval "$ac_compile") 2>conftest.er1
18634 grep -v '^ *+' conftest.er1
>conftest.err
18636 cat conftest.err
>&5
18637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18638 (exit $ac_status); } && {
18639 test -z "$ac_c_werror_flag" ||
18640 test ! -s conftest.err
18641 } && test -s conftest.
$ac_objext; then
18642 ac_cv_member_struct_sockaddr_sa_len
=yes
18644 echo "$as_me: failed program was:" >&5
18645 sed 's/^/| /' conftest.
$ac_ext >&5
18647 cat >conftest.
$ac_ext <<_ACEOF
18650 cat confdefs.h
>>conftest.
$ac_ext
18651 cat >>conftest.
$ac_ext <<_ACEOF
18652 /* end confdefs.h. */
18653 #include <sys/types.h>
18654 #ifdef HAVE_SYS_SOCKET_H
18655 # include <sys/socket.h>
18657 #ifdef HAVE_SYS_UN_H
18658 # include <sys/un.h>
18664 static struct sockaddr ac_aggr;
18665 if (sizeof ac_aggr.sa_len)
18671 rm -f conftest.
$ac_objext
18672 if { (ac_try
="$ac_compile"
18673 case "(($ac_try" in
18674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18675 *) ac_try_echo=$ac_try;;
18677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18678 (eval "$ac_compile") 2>conftest.er1
18680 grep -v '^ *+' conftest.er1 >conftest.err
18682 cat conftest.err >&5
18683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684 (exit $ac_status); } && {
18685 test -z "$ac_c_werror_flag" ||
18686 test ! -s conftest.err
18687 } && test -s conftest.$ac_objext; then
18688 ac_cv_member_struct_sockaddr_sa_len=yes
18690 echo "$as_me: failed program was:" >&5
18691 sed 's/^/| /' conftest.$ac_ext >&5
18693 ac_cv_member_struct_sockaddr_sa_len=no
18696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18701 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18702 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18703 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18705 cat >>confdefs.h <<_ACEOF
18706 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18711 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18712 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18713 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18714 echo $ECHO_N "(cached) $ECHO_C" >&6
18716 cat >conftest.$ac_ext <<_ACEOF
18719 cat confdefs.h >>conftest.$ac_ext
18720 cat >>conftest.$ac_ext <<_ACEOF
18721 /* end confdefs.h. */
18722 #include <sys/types.h>
18723 #ifdef HAVE_SYS_SOCKET_H
18724 # include <sys/socket.h>
18726 #ifdef HAVE_SYS_UN_H
18727 # include <sys/un.h>
18733 static struct sockaddr_un ac_aggr;
18734 if (ac_aggr.sun_len)
18740 rm -f conftest.$ac_objext
18741 if { (ac_try="$ac_compile"
18742 case "(($ac_try" in
18743 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18744 *) ac_try_echo
=$ac_try;;
18746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18747 (eval "$ac_compile") 2>conftest.er1
18749 grep -v '^ *+' conftest.er1
>conftest.err
18751 cat conftest.err
>&5
18752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18753 (exit $ac_status); } && {
18754 test -z "$ac_c_werror_flag" ||
18755 test ! -s conftest.err
18756 } && test -s conftest.
$ac_objext; then
18757 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18759 echo "$as_me: failed program was:" >&5
18760 sed 's/^/| /' conftest.
$ac_ext >&5
18762 cat >conftest.
$ac_ext <<_ACEOF
18765 cat confdefs.h
>>conftest.
$ac_ext
18766 cat >>conftest.
$ac_ext <<_ACEOF
18767 /* end confdefs.h. */
18768 #include <sys/types.h>
18769 #ifdef HAVE_SYS_SOCKET_H
18770 # include <sys/socket.h>
18772 #ifdef HAVE_SYS_UN_H
18773 # include <sys/un.h>
18779 static struct sockaddr_un ac_aggr;
18780 if (sizeof ac_aggr.sun_len)
18786 rm -f conftest.
$ac_objext
18787 if { (ac_try
="$ac_compile"
18788 case "(($ac_try" in
18789 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18790 *) ac_try_echo=$ac_try;;
18792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18793 (eval "$ac_compile") 2>conftest.er1
18795 grep -v '^ *+' conftest.er1 >conftest.err
18797 cat conftest.err >&5
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); } && {
18800 test -z "$ac_c_werror_flag" ||
18801 test ! -s conftest.err
18802 } && test -s conftest.$ac_objext; then
18803 ac_cv_member_struct_sockaddr_un_sun_len=yes
18805 echo "$as_me: failed program was:" >&5
18806 sed 's/^/| /' conftest.$ac_ext >&5
18808 ac_cv_member_struct_sockaddr_un_sun_len=no
18811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18816 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18817 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18818 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18820 cat >>confdefs.h <<_ACEOF
18821 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18828 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18829 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18830 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18831 echo $ECHO_N "(cached) $ECHO_C" >&6
18833 cat >conftest.$ac_ext <<_ACEOF
18836 cat confdefs.h >>conftest.$ac_ext
18837 cat >>conftest.$ac_ext <<_ACEOF
18838 /* end confdefs.h. */
18839 #include <sys/types.h>
18840 #ifdef HAVE_SCSI_SG_H
18841 #include <scsi/sg.h>
18847 static scsireq_t ac_aggr;
18854 rm -f conftest.$ac_objext
18855 if { (ac_try="$ac_compile"
18856 case "(($ac_try" in
18857 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18858 *) ac_try_echo
=$ac_try;;
18860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18861 (eval "$ac_compile") 2>conftest.er1
18863 grep -v '^ *+' conftest.er1
>conftest.err
18865 cat conftest.err
>&5
18866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18867 (exit $ac_status); } && {
18868 test -z "$ac_c_werror_flag" ||
18869 test ! -s conftest.err
18870 } && test -s conftest.
$ac_objext; then
18871 ac_cv_member_scsireq_t_cmd
=yes
18873 echo "$as_me: failed program was:" >&5
18874 sed 's/^/| /' conftest.
$ac_ext >&5
18876 cat >conftest.
$ac_ext <<_ACEOF
18879 cat confdefs.h
>>conftest.
$ac_ext
18880 cat >>conftest.
$ac_ext <<_ACEOF
18881 /* end confdefs.h. */
18882 #include <sys/types.h>
18883 #ifdef HAVE_SCSI_SG_H
18884 #include <scsi/sg.h>
18890 static scsireq_t ac_aggr;
18891 if (sizeof ac_aggr.cmd)
18897 rm -f conftest.
$ac_objext
18898 if { (ac_try
="$ac_compile"
18899 case "(($ac_try" in
18900 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18901 *) ac_try_echo=$ac_try;;
18903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18904 (eval "$ac_compile") 2>conftest.er1
18906 grep -v '^ *+' conftest.er1 >conftest.err
18908 cat conftest.err >&5
18909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18910 (exit $ac_status); } && {
18911 test -z "$ac_c_werror_flag" ||
18912 test ! -s conftest.err
18913 } && test -s conftest.$ac_objext; then
18914 ac_cv_member_scsireq_t_cmd=yes
18916 echo "$as_me: failed program was:" >&5
18917 sed 's/^/| /' conftest.$ac_ext >&5
18919 ac_cv_member_scsireq_t_cmd=no
18922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18927 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18928 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18929 if test $ac_cv_member_scsireq_t_cmd = yes; then
18931 cat >>confdefs.h <<_ACEOF
18932 #define HAVE_SCSIREQ_T_CMD 1
18937 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18938 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18939 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18940 echo $ECHO_N "(cached) $ECHO_C" >&6
18942 cat >conftest.$ac_ext <<_ACEOF
18945 cat confdefs.h >>conftest.$ac_ext
18946 cat >>conftest.$ac_ext <<_ACEOF
18947 /* end confdefs.h. */
18948 #include <sys/types.h>
18949 #ifdef HAVE_SCSI_SG_H
18950 #include <scsi/sg.h>
18956 static sg_io_hdr_t ac_aggr;
18957 if (ac_aggr.interface_id)
18963 rm -f conftest.$ac_objext
18964 if { (ac_try="$ac_compile"
18965 case "(($ac_try" in
18966 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18967 *) ac_try_echo
=$ac_try;;
18969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18970 (eval "$ac_compile") 2>conftest.er1
18972 grep -v '^ *+' conftest.er1
>conftest.err
18974 cat conftest.err
>&5
18975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18976 (exit $ac_status); } && {
18977 test -z "$ac_c_werror_flag" ||
18978 test ! -s conftest.err
18979 } && test -s conftest.
$ac_objext; then
18980 ac_cv_member_sg_io_hdr_t_interface_id
=yes
18982 echo "$as_me: failed program was:" >&5
18983 sed 's/^/| /' conftest.
$ac_ext >&5
18985 cat >conftest.
$ac_ext <<_ACEOF
18988 cat confdefs.h
>>conftest.
$ac_ext
18989 cat >>conftest.
$ac_ext <<_ACEOF
18990 /* end confdefs.h. */
18991 #include <sys/types.h>
18992 #ifdef HAVE_SCSI_SG_H
18993 #include <scsi/sg.h>
18999 static sg_io_hdr_t ac_aggr;
19000 if (sizeof ac_aggr.interface_id)
19006 rm -f conftest.
$ac_objext
19007 if { (ac_try
="$ac_compile"
19008 case "(($ac_try" in
19009 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19010 *) ac_try_echo=$ac_try;;
19012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19013 (eval "$ac_compile") 2>conftest.er1
19015 grep -v '^ *+' conftest.er1 >conftest.err
19017 cat conftest.err >&5
19018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19019 (exit $ac_status); } && {
19020 test -z "$ac_c_werror_flag" ||
19021 test ! -s conftest.err
19022 } && test -s conftest.$ac_objext; then
19023 ac_cv_member_sg_io_hdr_t_interface_id=yes
19025 echo "$as_me: failed program was:" >&5
19026 sed 's/^/| /' conftest.$ac_ext >&5
19028 ac_cv_member_sg_io_hdr_t_interface_id=no
19031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19036 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19037 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19038 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19040 cat >>confdefs.h <<_ACEOF
19041 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19048 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19049 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19050 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19051 echo $ECHO_N "(cached) $ECHO_C" >&6
19053 cat >conftest.$ac_ext <<_ACEOF
19056 cat confdefs.h >>conftest.$ac_ext
19057 cat >>conftest.$ac_ext <<_ACEOF
19058 /* end confdefs.h. */
19059 #include <signal.h>
19064 static siginfo_t ac_aggr;
19071 rm -f conftest.$ac_objext
19072 if { (ac_try="$ac_compile"
19073 case "(($ac_try" in
19074 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19075 *) ac_try_echo
=$ac_try;;
19077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19078 (eval "$ac_compile") 2>conftest.er1
19080 grep -v '^ *+' conftest.er1
>conftest.err
19082 cat conftest.err
>&5
19083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19084 (exit $ac_status); } && {
19085 test -z "$ac_c_werror_flag" ||
19086 test ! -s conftest.err
19087 } && test -s conftest.
$ac_objext; then
19088 ac_cv_member_siginfo_t_si_fd
=yes
19090 echo "$as_me: failed program was:" >&5
19091 sed 's/^/| /' conftest.
$ac_ext >&5
19093 cat >conftest.
$ac_ext <<_ACEOF
19096 cat confdefs.h
>>conftest.
$ac_ext
19097 cat >>conftest.
$ac_ext <<_ACEOF
19098 /* end confdefs.h. */
19099 #include <signal.h>
19104 static siginfo_t ac_aggr;
19105 if (sizeof ac_aggr.si_fd)
19111 rm -f conftest.
$ac_objext
19112 if { (ac_try
="$ac_compile"
19113 case "(($ac_try" in
19114 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19115 *) ac_try_echo=$ac_try;;
19117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19118 (eval "$ac_compile") 2>conftest.er1
19120 grep -v '^ *+' conftest.er1 >conftest.err
19122 cat conftest.err >&5
19123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19124 (exit $ac_status); } && {
19125 test -z "$ac_c_werror_flag" ||
19126 test ! -s conftest.err
19127 } && test -s conftest.$ac_objext; then
19128 ac_cv_member_siginfo_t_si_fd=yes
19130 echo "$as_me: failed program was:" >&5
19131 sed 's/^/| /' conftest.$ac_ext >&5
19133 ac_cv_member_siginfo_t_si_fd=no
19136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19141 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19142 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19143 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19145 cat >>confdefs.h <<_ACEOF
19146 #define HAVE_SIGINFO_T_SI_FD 1
19153 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19154 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19155 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19156 echo $ECHO_N "(cached) $ECHO_C" >&6
19158 cat >conftest.$ac_ext <<_ACEOF
19161 cat confdefs.h >>conftest.$ac_ext
19162 cat >>conftest.$ac_ext <<_ACEOF
19163 /* end confdefs.h. */
19164 #include <sys/types.h>
19165 #ifdef HAVE_SYS_MTIO_H
19166 #include <sys/mtio.h>
19172 static struct mtget ac_aggr;
19173 if (ac_aggr.mt_blksiz)
19179 rm -f conftest.$ac_objext
19180 if { (ac_try="$ac_compile"
19181 case "(($ac_try" in
19182 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19183 *) ac_try_echo
=$ac_try;;
19185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19186 (eval "$ac_compile") 2>conftest.er1
19188 grep -v '^ *+' conftest.er1
>conftest.err
19190 cat conftest.err
>&5
19191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19192 (exit $ac_status); } && {
19193 test -z "$ac_c_werror_flag" ||
19194 test ! -s conftest.err
19195 } && test -s conftest.
$ac_objext; then
19196 ac_cv_member_struct_mtget_mt_blksiz
=yes
19198 echo "$as_me: failed program was:" >&5
19199 sed 's/^/| /' conftest.
$ac_ext >&5
19201 cat >conftest.
$ac_ext <<_ACEOF
19204 cat confdefs.h
>>conftest.
$ac_ext
19205 cat >>conftest.
$ac_ext <<_ACEOF
19206 /* end confdefs.h. */
19207 #include <sys/types.h>
19208 #ifdef HAVE_SYS_MTIO_H
19209 #include <sys/mtio.h>
19215 static struct mtget ac_aggr;
19216 if (sizeof ac_aggr.mt_blksiz)
19222 rm -f conftest.
$ac_objext
19223 if { (ac_try
="$ac_compile"
19224 case "(($ac_try" in
19225 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19226 *) ac_try_echo=$ac_try;;
19228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19229 (eval "$ac_compile") 2>conftest.er1
19231 grep -v '^ *+' conftest.er1 >conftest.err
19233 cat conftest.err >&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); } && {
19236 test -z "$ac_c_werror_flag" ||
19237 test ! -s conftest.err
19238 } && test -s conftest.$ac_objext; then
19239 ac_cv_member_struct_mtget_mt_blksiz=yes
19241 echo "$as_me: failed program was:" >&5
19242 sed 's/^/| /' conftest.$ac_ext >&5
19244 ac_cv_member_struct_mtget_mt_blksiz=no
19247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19252 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19253 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19254 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19256 cat >>confdefs.h <<_ACEOF
19257 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19262 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19263 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19264 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19265 echo $ECHO_N "(cached) $ECHO_C" >&6
19267 cat >conftest.$ac_ext <<_ACEOF
19270 cat confdefs.h >>conftest.$ac_ext
19271 cat >>conftest.$ac_ext <<_ACEOF
19272 /* end confdefs.h. */
19273 #include <sys/types.h>
19274 #ifdef HAVE_SYS_MTIO_H
19275 #include <sys/mtio.h>
19281 static struct mtget ac_aggr;
19282 if (ac_aggr.mt_gstat)
19288 rm -f conftest.$ac_objext
19289 if { (ac_try="$ac_compile"
19290 case "(($ac_try" in
19291 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19292 *) ac_try_echo
=$ac_try;;
19294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19295 (eval "$ac_compile") 2>conftest.er1
19297 grep -v '^ *+' conftest.er1
>conftest.err
19299 cat conftest.err
>&5
19300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 (exit $ac_status); } && {
19302 test -z "$ac_c_werror_flag" ||
19303 test ! -s conftest.err
19304 } && test -s conftest.
$ac_objext; then
19305 ac_cv_member_struct_mtget_mt_gstat
=yes
19307 echo "$as_me: failed program was:" >&5
19308 sed 's/^/| /' conftest.
$ac_ext >&5
19310 cat >conftest.
$ac_ext <<_ACEOF
19313 cat confdefs.h
>>conftest.
$ac_ext
19314 cat >>conftest.
$ac_ext <<_ACEOF
19315 /* end confdefs.h. */
19316 #include <sys/types.h>
19317 #ifdef HAVE_SYS_MTIO_H
19318 #include <sys/mtio.h>
19324 static struct mtget ac_aggr;
19325 if (sizeof ac_aggr.mt_gstat)
19331 rm -f conftest.
$ac_objext
19332 if { (ac_try
="$ac_compile"
19333 case "(($ac_try" in
19334 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19335 *) ac_try_echo=$ac_try;;
19337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19338 (eval "$ac_compile") 2>conftest.er1
19340 grep -v '^ *+' conftest.er1 >conftest.err
19342 cat conftest.err >&5
19343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19344 (exit $ac_status); } && {
19345 test -z "$ac_c_werror_flag" ||
19346 test ! -s conftest.err
19347 } && test -s conftest.$ac_objext; then
19348 ac_cv_member_struct_mtget_mt_gstat=yes
19350 echo "$as_me: failed program was:" >&5
19351 sed 's/^/| /' conftest.$ac_ext >&5
19353 ac_cv_member_struct_mtget_mt_gstat=no
19356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19361 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19362 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19363 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19365 cat >>confdefs.h <<_ACEOF
19366 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19371 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19372 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19373 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19374 echo $ECHO_N "(cached) $ECHO_C" >&6
19376 cat >conftest.$ac_ext <<_ACEOF
19379 cat confdefs.h >>conftest.$ac_ext
19380 cat >>conftest.$ac_ext <<_ACEOF
19381 /* end confdefs.h. */
19382 #include <sys/types.h>
19383 #ifdef HAVE_SYS_MTIO_H
19384 #include <sys/mtio.h>
19390 static struct mtget ac_aggr;
19391 if (ac_aggr.mt_blkno)
19397 rm -f conftest.$ac_objext
19398 if { (ac_try="$ac_compile"
19399 case "(($ac_try" in
19400 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19401 *) ac_try_echo
=$ac_try;;
19403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19404 (eval "$ac_compile") 2>conftest.er1
19406 grep -v '^ *+' conftest.er1
>conftest.err
19408 cat conftest.err
>&5
19409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19410 (exit $ac_status); } && {
19411 test -z "$ac_c_werror_flag" ||
19412 test ! -s conftest.err
19413 } && test -s conftest.
$ac_objext; then
19414 ac_cv_member_struct_mtget_mt_blkno
=yes
19416 echo "$as_me: failed program was:" >&5
19417 sed 's/^/| /' conftest.
$ac_ext >&5
19419 cat >conftest.
$ac_ext <<_ACEOF
19422 cat confdefs.h
>>conftest.
$ac_ext
19423 cat >>conftest.
$ac_ext <<_ACEOF
19424 /* end confdefs.h. */
19425 #include <sys/types.h>
19426 #ifdef HAVE_SYS_MTIO_H
19427 #include <sys/mtio.h>
19433 static struct mtget ac_aggr;
19434 if (sizeof ac_aggr.mt_blkno)
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_mtget_mt_blkno=yes
19459 echo "$as_me: failed program was:" >&5
19460 sed 's/^/| /' conftest.$ac_ext >&5
19462 ac_cv_member_struct_mtget_mt_blkno=no
19465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19470 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19471 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19472 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19474 cat >>confdefs.h <<_ACEOF
19475 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19482 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19483 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19484 if test "${ac_cv_member_struct_option_name+set}" = set; then
19485 echo $ECHO_N "(cached) $ECHO_C" >&6
19487 cat >conftest.$ac_ext <<_ACEOF
19490 cat confdefs.h >>conftest.$ac_ext
19491 cat >>conftest.$ac_ext <<_ACEOF
19492 /* end confdefs.h. */
19493 #ifdef HAVE_GETOPT_H
19494 #include <getopt.h>
19500 static struct option ac_aggr;
19507 rm -f conftest.$ac_objext
19508 if { (ac_try="$ac_compile"
19509 case "(($ac_try" in
19510 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19511 *) ac_try_echo
=$ac_try;;
19513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19514 (eval "$ac_compile") 2>conftest.er1
19516 grep -v '^ *+' conftest.er1
>conftest.err
19518 cat conftest.err
>&5
19519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19520 (exit $ac_status); } && {
19521 test -z "$ac_c_werror_flag" ||
19522 test ! -s conftest.err
19523 } && test -s conftest.
$ac_objext; then
19524 ac_cv_member_struct_option_name
=yes
19526 echo "$as_me: failed program was:" >&5
19527 sed 's/^/| /' conftest.
$ac_ext >&5
19529 cat >conftest.
$ac_ext <<_ACEOF
19532 cat confdefs.h
>>conftest.
$ac_ext
19533 cat >>conftest.
$ac_ext <<_ACEOF
19534 /* end confdefs.h. */
19535 #ifdef HAVE_GETOPT_H
19536 #include <getopt.h>
19542 static struct option ac_aggr;
19543 if (sizeof ac_aggr.name)
19549 rm -f conftest.
$ac_objext
19550 if { (ac_try
="$ac_compile"
19551 case "(($ac_try" in
19552 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19553 *) ac_try_echo=$ac_try;;
19555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19556 (eval "$ac_compile") 2>conftest.er1
19558 grep -v '^ *+' conftest.er1 >conftest.err
19560 cat conftest.err >&5
19561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19562 (exit $ac_status); } && {
19563 test -z "$ac_c_werror_flag" ||
19564 test ! -s conftest.err
19565 } && test -s conftest.$ac_objext; then
19566 ac_cv_member_struct_option_name=yes
19568 echo "$as_me: failed program was:" >&5
19569 sed 's/^/| /' conftest.$ac_ext >&5
19571 ac_cv_member_struct_option_name=no
19574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19579 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19580 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19581 if test $ac_cv_member_struct_option_name = yes; then
19583 cat >>confdefs.h <<_ACEOF
19584 #define HAVE_STRUCT_OPTION_NAME 1
19591 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19592 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19593 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19594 echo $ECHO_N "(cached) $ECHO_C" >&6
19596 cat >conftest.$ac_ext <<_ACEOF
19599 cat confdefs.h >>conftest.$ac_ext
19600 cat >>conftest.$ac_ext <<_ACEOF
19601 /* end confdefs.h. */
19602 $ac_includes_default
19606 static struct stat ac_aggr;
19607 if (ac_aggr.st_blocks)
19613 rm -f conftest.$ac_objext
19614 if { (ac_try="$ac_compile"
19615 case "(($ac_try" in
19616 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19617 *) ac_try_echo
=$ac_try;;
19619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19620 (eval "$ac_compile") 2>conftest.er1
19622 grep -v '^ *+' conftest.er1
>conftest.err
19624 cat conftest.err
>&5
19625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19626 (exit $ac_status); } && {
19627 test -z "$ac_c_werror_flag" ||
19628 test ! -s conftest.err
19629 } && test -s conftest.
$ac_objext; then
19630 ac_cv_member_struct_stat_st_blocks
=yes
19632 echo "$as_me: failed program was:" >&5
19633 sed 's/^/| /' conftest.
$ac_ext >&5
19635 cat >conftest.
$ac_ext <<_ACEOF
19638 cat confdefs.h
>>conftest.
$ac_ext
19639 cat >>conftest.
$ac_ext <<_ACEOF
19640 /* end confdefs.h. */
19641 $ac_includes_default
19645 static struct stat ac_aggr;
19646 if (sizeof ac_aggr.st_blocks)
19652 rm -f conftest.
$ac_objext
19653 if { (ac_try
="$ac_compile"
19654 case "(($ac_try" in
19655 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19656 *) ac_try_echo=$ac_try;;
19658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19659 (eval "$ac_compile") 2>conftest.er1
19661 grep -v '^ *+' conftest.er1 >conftest.err
19663 cat conftest.err >&5
19664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665 (exit $ac_status); } && {
19666 test -z "$ac_c_werror_flag" ||
19667 test ! -s conftest.err
19668 } && test -s conftest.$ac_objext; then
19669 ac_cv_member_struct_stat_st_blocks=yes
19671 echo "$as_me: failed program was:" >&5
19672 sed 's/^/| /' conftest.$ac_ext >&5
19674 ac_cv_member_struct_stat_st_blocks=no
19677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19682 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19683 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19684 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19686 cat >>confdefs.h <<_ACEOF
19687 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19694 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19695 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19696 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19697 echo $ECHO_N "(cached) $ECHO_C" >&6
19699 cat >conftest.$ac_ext <<_ACEOF
19702 cat confdefs.h >>conftest.$ac_ext
19703 cat >>conftest.$ac_ext <<_ACEOF
19704 /* end confdefs.h. */
19705 #ifdef HAVE_SYS_TYPES_H
19706 #include <sys/types.h>
19708 #ifdef HAVE_NETINET_IN_H
19709 #include <netinet/in.h>
19715 static struct sockaddr_in6 ac_aggr;
19716 if (ac_aggr.sin6_scope_id)
19722 rm -f conftest.$ac_objext
19723 if { (ac_try="$ac_compile"
19724 case "(($ac_try" in
19725 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19726 *) ac_try_echo
=$ac_try;;
19728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19729 (eval "$ac_compile") 2>conftest.er1
19731 grep -v '^ *+' conftest.er1
>conftest.err
19733 cat conftest.err
>&5
19734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19735 (exit $ac_status); } && {
19736 test -z "$ac_c_werror_flag" ||
19737 test ! -s conftest.err
19738 } && test -s conftest.
$ac_objext; then
19739 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
19741 echo "$as_me: failed program was:" >&5
19742 sed 's/^/| /' conftest.
$ac_ext >&5
19744 cat >conftest.
$ac_ext <<_ACEOF
19747 cat confdefs.h
>>conftest.
$ac_ext
19748 cat >>conftest.
$ac_ext <<_ACEOF
19749 /* end confdefs.h. */
19750 #ifdef HAVE_SYS_TYPES_H
19751 #include <sys/types.h>
19753 #ifdef HAVE_NETINET_IN_H
19754 #include <netinet/in.h>
19760 static struct sockaddr_in6 ac_aggr;
19761 if (sizeof ac_aggr.sin6_scope_id)
19767 rm -f conftest.
$ac_objext
19768 if { (ac_try
="$ac_compile"
19769 case "(($ac_try" in
19770 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19771 *) ac_try_echo=$ac_try;;
19773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19774 (eval "$ac_compile") 2>conftest.er1
19776 grep -v '^ *+' conftest.er1 >conftest.err
19778 cat conftest.err >&5
19779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19780 (exit $ac_status); } && {
19781 test -z "$ac_c_werror_flag" ||
19782 test ! -s conftest.err
19783 } && test -s conftest.$ac_objext; then
19784 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19786 echo "$as_me: failed program was:" >&5
19787 sed 's/^/| /' conftest.$ac_ext >&5
19789 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19797 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19798 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19799 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19801 cat >>confdefs.h <<_ACEOF
19802 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19809 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19810 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19811 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19812 echo $ECHO_N "(cached) $ECHO_C" >&6
19814 cat >conftest.$ac_ext <<_ACEOF
19817 cat confdefs.h >>conftest.$ac_ext
19818 cat >>conftest.$ac_ext <<_ACEOF
19819 /* end confdefs.h. */
19820 #ifdef HAVE_SYS_TYPES_H
19821 #include <sys/types.h>
19823 #ifdef HAVE_NETINET_IN_H
19824 # include <netinet/in.h>
19826 #ifdef HAVE_ARPA_NAMESER_H
19827 # include <arpa/nameser.h>
19833 static ns_msg ac_aggr;
19834 if (ac_aggr._msg_ptr)
19840 rm -f conftest.$ac_objext
19841 if { (ac_try="$ac_compile"
19842 case "(($ac_try" in
19843 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19844 *) ac_try_echo
=$ac_try;;
19846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19847 (eval "$ac_compile") 2>conftest.er1
19849 grep -v '^ *+' conftest.er1
>conftest.err
19851 cat conftest.err
>&5
19852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19853 (exit $ac_status); } && {
19854 test -z "$ac_c_werror_flag" ||
19855 test ! -s conftest.err
19856 } && test -s conftest.
$ac_objext; then
19857 ac_cv_member_ns_msg__msg_ptr
=yes
19859 echo "$as_me: failed program was:" >&5
19860 sed 's/^/| /' conftest.
$ac_ext >&5
19862 cat >conftest.
$ac_ext <<_ACEOF
19865 cat confdefs.h
>>conftest.
$ac_ext
19866 cat >>conftest.
$ac_ext <<_ACEOF
19867 /* end confdefs.h. */
19868 #ifdef HAVE_SYS_TYPES_H
19869 #include <sys/types.h>
19871 #ifdef HAVE_NETINET_IN_H
19872 # include <netinet/in.h>
19874 #ifdef HAVE_ARPA_NAMESER_H
19875 # include <arpa/nameser.h>
19881 static ns_msg ac_aggr;
19882 if (sizeof ac_aggr._msg_ptr)
19888 rm -f conftest.
$ac_objext
19889 if { (ac_try
="$ac_compile"
19890 case "(($ac_try" in
19891 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19892 *) ac_try_echo=$ac_try;;
19894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19895 (eval "$ac_compile") 2>conftest.er1
19897 grep -v '^ *+' conftest.er1 >conftest.err
19899 cat conftest.err >&5
19900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901 (exit $ac_status); } && {
19902 test -z "$ac_c_werror_flag" ||
19903 test ! -s conftest.err
19904 } && test -s conftest.$ac_objext; then
19905 ac_cv_member_ns_msg__msg_ptr=yes
19907 echo "$as_me: failed program was:" >&5
19908 sed 's/^/| /' conftest.$ac_ext >&5
19910 ac_cv_member_ns_msg__msg_ptr=no
19913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19918 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19919 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19920 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19922 cat >>confdefs.h <<_ACEOF
19923 #define HAVE_NS_MSG__MSG_PTR 1
19930 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19931 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19932 if test "${ac_cv_have_timezone+set}" = set; then
19933 echo $ECHO_N "(cached) $ECHO_C" >&6
19935 cat >conftest.$ac_ext <<_ACEOF
19938 cat confdefs.h >>conftest.$ac_ext
19939 cat >>conftest.$ac_ext <<_ACEOF
19940 /* end confdefs.h. */
19950 rm -f conftest.$ac_objext conftest$ac_exeext
19951 if { (ac_try="$ac_link"
19952 case "(($ac_try" in
19953 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19954 *) ac_try_echo
=$ac_try;;
19956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19957 (eval "$ac_link") 2>conftest.er1
19959 grep -v '^ *+' conftest.er1
>conftest.err
19961 cat conftest.err
>&5
19962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19963 (exit $ac_status); } && {
19964 test -z "$ac_c_werror_flag" ||
19965 test ! -s conftest.err
19966 } && test -s conftest
$ac_exeext &&
19967 $as_test_x conftest
$ac_exeext; then
19968 ac_cv_have_timezone
="yes"
19970 echo "$as_me: failed program was:" >&5
19971 sed 's/^/| /' conftest.
$ac_ext >&5
19973 ac_cv_have_timezone
="no"
19976 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19977 conftest
$ac_exeext conftest.
$ac_ext
19979 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19980 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19981 if test "$ac_cv_have_timezone" = "yes"
19984 cat >>confdefs.h
<<\_ACEOF
19985 #define HAVE_TIMEZONE 1
19989 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19990 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19991 if test "${ac_cv_have_daylight+set}" = set; then
19992 echo $ECHO_N "(cached) $ECHO_C" >&6
19994 cat >conftest.
$ac_ext <<_ACEOF
19997 cat confdefs.h
>>conftest.
$ac_ext
19998 cat >>conftest.
$ac_ext <<_ACEOF
19999 /* end confdefs.h. */
20009 rm -f conftest.
$ac_objext conftest
$ac_exeext
20010 if { (ac_try
="$ac_link"
20011 case "(($ac_try" in
20012 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20013 *) ac_try_echo=$ac_try;;
20015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20016 (eval "$ac_link") 2>conftest.er1
20018 grep -v '^ *+' conftest.er1 >conftest.err
20020 cat conftest.err >&5
20021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20022 (exit $ac_status); } && {
20023 test -z "$ac_c_werror_flag" ||
20024 test ! -s conftest.err
20025 } && test -s conftest$ac_exeext &&
20026 $as_test_x conftest$ac_exeext; then
20027 ac_cv_have_daylight="yes"
20029 echo "$as_me: failed program was:" >&5
20030 sed 's/^/| /' conftest.$ac_ext >&5
20032 ac_cv_have_daylight="no"
20035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20036 conftest$ac_exeext conftest.$ac_ext
20038 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20039 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20040 if test "$ac_cv_have_daylight" = "yes"
20043 cat >>confdefs.h <<\_ACEOF
20044 #define HAVE_DAYLIGHT 1
20051 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20052 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20053 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20054 echo $ECHO_N "(cached) $ECHO_C" >&6
20056 cat >conftest.$ac_ext <<_ACEOF
20059 cat confdefs.h >>conftest.$ac_ext
20060 cat >>conftest.$ac_ext <<_ACEOF
20061 /* end confdefs.h. */
20066 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20067 $EGREP "yes" >/dev/null 2>&1; then
20068 ac_cv_cpp_def___i386__=yes
20070 ac_cv_cpp_def___i386__=no
20075 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20076 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20077 if test $ac_cv_cpp_def___i386__ = yes; then
20078 CFLAGS="$CFLAGS -D__i386__"
20079 LINTFLAGS="$LINTFLAGS -D__i386__"
20082 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20083 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20084 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20085 echo $ECHO_N "(cached) $ECHO_C" >&6
20087 cat >conftest.$ac_ext <<_ACEOF
20090 cat confdefs.h >>conftest.$ac_ext
20091 cat >>conftest.$ac_ext <<_ACEOF
20092 /* end confdefs.h. */
20097 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20098 $EGREP "yes" >/dev/null 2>&1; then
20099 ac_cv_cpp_def___x86_64__=yes
20101 ac_cv_cpp_def___x86_64__=no
20106 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20107 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20108 if test $ac_cv_cpp_def___x86_64__ = yes; then
20109 CFLAGS="$CFLAGS -D__x86_64__"
20110 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20113 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20114 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20115 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20116 echo $ECHO_N "(cached) $ECHO_C" >&6
20118 cat >conftest.$ac_ext <<_ACEOF
20121 cat confdefs.h >>conftest.$ac_ext
20122 cat >>conftest.$ac_ext <<_ACEOF
20123 /* end confdefs.h. */
20128 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20129 $EGREP "yes" >/dev/null 2>&1; then
20130 ac_cv_cpp_def___ALPHA__=yes
20132 ac_cv_cpp_def___ALPHA__=no
20137 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20138 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20139 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20140 CFLAGS="$CFLAGS -D__ALPHA__"
20141 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20144 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20145 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20146 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20147 echo $ECHO_N "(cached) $ECHO_C" >&6
20149 cat >conftest.$ac_ext <<_ACEOF
20152 cat confdefs.h >>conftest.$ac_ext
20153 cat >>conftest.$ac_ext <<_ACEOF
20154 /* end confdefs.h. */
20159 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20160 $EGREP "yes" >/dev/null 2>&1; then
20161 ac_cv_cpp_def___sparc__=yes
20163 ac_cv_cpp_def___sparc__=no
20168 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20169 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20170 if test $ac_cv_cpp_def___sparc__ = yes; then
20171 CFLAGS="$CFLAGS -D__sparc__"
20172 LINTFLAGS="$LINTFLAGS -D__sparc__"
20175 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20176 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20177 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20178 echo $ECHO_N "(cached) $ECHO_C" >&6
20180 cat >conftest.$ac_ext <<_ACEOF
20183 cat confdefs.h >>conftest.$ac_ext
20184 cat >>conftest.$ac_ext <<_ACEOF
20185 /* end confdefs.h. */
20186 #ifndef __powerpc__
20190 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20191 $EGREP "yes" >/dev/null 2>&1; then
20192 ac_cv_cpp_def___powerpc__=yes
20194 ac_cv_cpp_def___powerpc__=no
20199 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20200 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20201 if test $ac_cv_cpp_def___powerpc__ = yes; then
20202 CFLAGS="$CFLAGS -D__powerpc__"
20203 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20208 case $host_vendor in
20209 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20210 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20211 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20212 echo $ECHO_N "(cached) $ECHO_C" >&6
20214 cat >conftest.$ac_ext <<_ACEOF
20217 cat confdefs.h >>conftest.$ac_ext
20218 cat >>conftest.$ac_ext <<_ACEOF
20219 /* end confdefs.h. */
20224 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20225 $EGREP "yes" >/dev/null 2>&1; then
20226 ac_cv_cpp_def___sun__=yes
20228 ac_cv_cpp_def___sun__=no
20233 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20234 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20235 if test $ac_cv_cpp_def___sun__ = yes; then
20236 CFLAGS="$CFLAGS -D__sun__"
20237 LINTFLAGS="$LINTFLAGS -D__sun__"
20243 DEPENDENCIES="### Dependencies:
20248 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20250 \$(ALL_OBJS): \$(IDL_H_SRCS:.idl=.h)
20251 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20252 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20253 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20259 ac_config_commands="$ac_config_commands include/stamp-h"
20262 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20264 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20266 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20268 ac_config_commands="$ac_config_commands dlls/user32/resources"
20270 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20272 ac_config_commands="$ac_config_commands include/wine"
20275 MAKE_RULES=Make.rules
20278 MAKE_DLL_RULES=dlls/Makedll.rules
20281 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20284 MAKE_TEST_RULES=dlls/Maketest.rules
20287 MAKE_PROG_RULES=programs/Makeprog.rules
20290 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Makeimplib.rules dlls/Maketest.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/activeds/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/cabinet/tests/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/clusapi/Makefile dlls/comcat/Makefile dlls/comcat/tests/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/comdlg32/Makefile dlls/comdlg32/tests/Makefile dlls/compstui/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/cryptnet/Makefile dlls/ctl3d32/Makefile dlls/d3d8/Makefile dlls/d3d8/tests/Makefile dlls/d3d9/Makefile dlls/d3d9/tests/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/ddrawex/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput/tests/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dnsapi/Makefile dlls/dnsapi/tests/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi32/Makefile dlls/gdi32/tests/Makefile dlls/glu32/Makefile dlls/gphoto2.ds/Makefile dlls/hhctrl.ocx/Makefile dlls/hid/Makefile dlls/hlink/Makefile dlls/hlink/tests/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imaadp32.acm/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/infosoft/Makefile dlls/infosoft/tests/Makefile dlls/inseng/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/itss/tests/Makefile dlls/kernel32/Makefile dlls/kernel32/tests/Makefile dlls/localspl/Makefile dlls/localspl/tests/Makefile dlls/lz32/Makefile dlls/lz32/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mciavi32/Makefile dlls/mcicda/Makefile dlls/mciseq/Makefile dlls/mciwave/Makefile dlls/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/mprapi/Makefile dlls/msacm32.drv/Makefile dlls/msacm32/Makefile dlls/msacm32/tests/Makefile dlls/msadp32.acm/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/mscoree/Makefile dlls/msdmo/Makefile dlls/msftedit/Makefile dlls/msg711.acm/Makefile dlls/mshtml/Makefile dlls/mshtml/tests/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys.ocx/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvfw32/Makefile dlls/msvidc32/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/msxml3/tests/Makefile dlls/nddeapi/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/ntdsapi/Makefile dlls/objsel/Makefile dlls/odbc32/Makefile dlls/odbccp32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli32/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr32/Makefile dlls/opengl32/Makefile dlls/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/pstorec/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/query/Makefile dlls/rasapi32/Makefile dlls/resutils/Makefile dlls/riched20/Makefile dlls/riched20/tests/Makefile dlls/riched32/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/sane.ds/Makefile dlls/secur32/Makefile dlls/secur32/tests/Makefile dlls/security/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/setupapi/tests/Makefile dlls/sfc/Makefile dlls/shdoclc/Makefile dlls/shdocvw/Makefile dlls/shdocvw/tests/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/spoolss/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/svrapi/Makefile dlls/tapi32/Makefile dlls/twain_32/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user32/Makefile dlls/user32/tests/Makefile dlls/userenv/Makefile dlls/usp10/Makefile dlls/usp10/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/uxtheme/tests/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/w32skrnl/Makefile dlls/winecrt0/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/winejoystick.drv/Makefile dlls/winemp3.acm/Makefile dlls/wineps.drv/Makefile dlls/winequartz.drv/Makefile dlls/winex11.drv/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/tests/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winecoreaudio/Makefile dlls/winmm/wineesd/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls32/Makefile dlls/winspool.drv/Makefile dlls/winspool.drv/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wintrust/tests/Makefile dlls/wldap32/Makefile dlls/wnaspi32/Makefile dlls/wow32/Makefile dlls/ws2_32/Makefile dlls/ws2_32/tests/Makefile dlls/wsock32/Makefile dlls/wtsapi32/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/clock/Makefile programs/cmd/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/eject/Makefile programs/expand/Makefile programs/explorer/Makefile programs/hh/Makefile programs/icinfo/Makefile programs/iexplore/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/oleview/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile programs/wordpad/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
20293 cat >confcache <<\_ACEOF
20294 # This file is a shell script that caches the results of configure
20295 # tests run on this system so they can be shared between configure
20296 # scripts and configure runs, see configure's option --config-cache.
20297 # It is not useful on other systems. If it contains results you don't
20298 # want to keep, you may remove or edit it.
20300 # config.status only pays attention to the cache file if you give it
20301 # the --recheck option to rerun configure.
20303 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
20304 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20305 # following values.
20309 # The following way of writing the cache mishandles newlines in values,
20310 # but we know of no workaround that is simple, portable, and efficient.
20311 # So, we kill variables containing newlines.
20312 # Ultrix sh set writes to stderr and can't be redirected directly,
20313 # and sets the high bit in the cache file unless we assign to the vars.
20315 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20316 eval ac_val
=\$
$ac_var
20320 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20321 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20324 _ | IFS | as_nl
) ;; #(
20325 *) $as_unset $ac_var ;;
20331 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20332 *${as_nl}ac_space
=\
*)
20333 # `set' does not quote correctly, so add quotes (double-quote
20334 # substitution turns \\\\ into \\, and sed turns \\ into \).
20337 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20340 # `set' quotes correctly as required by POSIX, so do not add quotes.
20341 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20350 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20352 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20354 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20355 if test -w "$cache_file"; then
20356 test "x$cache_file" != "x/dev/null" &&
20357 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20358 echo "$as_me: updating cache $cache_file" >&6;}
20359 cat confcache
>$cache_file
20361 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20362 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20367 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20368 # Let make expand exec_prefix.
20369 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20371 DEFS
=-DHAVE_CONFIG_H
20375 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20376 # 1. Remove the extension, and $U if already installed.
20377 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20378 ac_i
=`echo "$ac_i" | sed "$ac_script"`
20379 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20380 # will be set to the directory where LIBOBJS objects are built.
20381 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20382 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20384 LIBOBJS
=$ac_libobjs
20386 LTLIBOBJS
=$ac_ltlibobjs
20390 : ${CONFIG_STATUS=./config.status}
20391 ac_clean_files_save
=$ac_clean_files
20392 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20393 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20394 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20395 cat >$CONFIG_STATUS <<_ACEOF
20397 # Generated by $as_me.
20398 # Run this file to recreate the current configuration.
20399 # Compiler output produced by configure, useful for debugging
20400 # configure, is in config.log if it exists.
20403 ac_cs_recheck=false
20405 SHELL=\${CONFIG_SHELL-$SHELL}
20408 cat >>$CONFIG_STATUS <<\_ACEOF
20409 ## --------------------- ##
20410 ## M4sh Initialization. ##
20411 ## --------------------- ##
20413 # Be more Bourne compatible
20414 DUALCASE
=1; export DUALCASE
# for MKS sh
20415 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20418 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20419 # is contrary to our usage. Disable this feature.
20420 alias -g '${1+"$@"}'='"$@"'
20421 setopt NO_GLOB_SUBST
20423 case `(set -o) 2>/dev/null` in
20424 *posix
*) set -o posix
;;
20433 # Avoid depending upon Character Ranges.
20434 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20435 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20436 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20437 as_cr_digits
='0123456789'
20438 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20440 # The user is always right.
20441 if test "${PATH_SEPARATOR+set}" != set; then
20442 echo "#! /bin/sh" >conf$$.sh
20443 echo "exit 0" >>conf$$.sh
20445 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20453 # Support unset when possible.
20454 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20462 # We need space, tab and new line, in precisely that order. Quoting is
20463 # there to prevent editors from complaining about space-tab.
20464 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20465 # splitting by setting IFS to empty value.)
20470 # Find who we are. Look in the path if we contain no directory separator.
20472 *[\\/]* ) as_myself
=$0 ;;
20473 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20474 for as_dir
in $PATH
20477 test -z "$as_dir" && as_dir
=.
20478 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20484 # We did not find ourselves, most probably we were run as `sh COMMAND'
20485 # in which case we are not to be found in the path.
20486 if test "x$as_myself" = x
; then
20489 if test ! -f "$as_myself"; then
20490 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20491 { (exit 1); exit 1; }
20494 # Work around bugs in pre-3.0 UWIN ksh.
20495 for as_var
in ENV MAIL MAILPATH
20496 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20504 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20505 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20506 LC_TELEPHONE LC_TIME
20508 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20509 eval $as_var=C
; export $as_var
20511 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20515 # Required to use basename.
20516 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20517 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20523 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20524 as_basename
=basename
20530 # Name of the executable.
20531 as_me
=`$as_basename -- "$0" ||
20532 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20533 X"$0" : 'X\(//\)$' \| \
20534 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20536 sed '/^.*\/\([^/][^/]*\)\/*$/{
20555 as_lineno_1
=$LINENO
20556 as_lineno_2
=$LINENO
20557 test "x$as_lineno_1" != "x$as_lineno_2" &&
20558 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
20560 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20561 # uniformly replaced by the line number. The first 'sed' inserts a
20562 # line-number line after each line using $LINENO; the second 'sed'
20563 # does the real work. The second script uses 'N' to pair each
20564 # line-number line with the line containing $LINENO, and appends
20565 # trailing '-' during substitution so that $LINENO is not a special
20566 # case at line end.
20567 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20568 # scripts with optimization help from Paolo Bonzini. Blame Lee
20569 # E. McMahon (1931-1989) for sed's syntax. :-)
20581 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20584 ' >$as_me.lineno
&&
20585 chmod +x
"$as_me.lineno" ||
20586 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20587 { (exit 1); exit 1; }; }
20589 # Don't try to exec as it changes $[0], causing all sort of problems
20590 # (the dirname of $[0] is not the place where we might find the
20591 # original and so on. Autoconf is especially sensitive to this).
20592 .
"./$as_me.lineno"
20593 # Exit status is that of the last command.
20598 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20604 ECHO_C
= ECHO_N
= ECHO_T
=
20605 case `echo -n x` in
20607 case `echo 'x\c'` in
20608 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20615 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20616 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20622 rm -f conf$$ conf$$.exe conf$$.
file
20623 if test -d conf$$.dir
; then
20624 rm -f conf$$.dir
/conf$$.
file
20630 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20632 # ... but there are two gotchas:
20633 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20634 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20635 # In both cases, we have to default to `cp -p'.
20636 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20638 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20643 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20644 rmdir conf$$.dir
2>/dev
/null
20646 if mkdir
-p .
2>/dev
/null
; then
20649 test -d .
/-p && rmdir .
/-p
20653 if test -x / >/dev
/null
2>&1; then
20654 as_test_x
='test -x'
20656 if ls -dL / >/dev
/null
2>&1; then
20663 if test -d "$1"; then
20669 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20670 ???[sx]*):;;*)false;;esac;fi
20674 as_executable_p
=$as_test_x
20676 # Sed expression to map a string onto a valid CPP name.
20677 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20679 # Sed expression to map a string onto a valid variable name.
20680 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20685 # Save the log message, to keep $[0] and so on meaningful, and to
20686 # report actual input values of CONFIG_FILES etc. instead of their
20687 # values after options handling.
20689 This file was extended by Wine $as_me 0.9.28, which was
20690 generated by GNU Autoconf 2.61. Invocation command line was
20692 CONFIG_FILES = $CONFIG_FILES
20693 CONFIG_HEADERS = $CONFIG_HEADERS
20694 CONFIG_LINKS = $CONFIG_LINKS
20695 CONFIG_COMMANDS = $CONFIG_COMMANDS
20698 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20703 cat >>$CONFIG_STATUS <<_ACEOF
20704 # Files that config.status was made for.
20705 config_files="$ac_config_files"
20706 config_headers="$ac_config_headers"
20707 config_commands="$ac_config_commands"
20711 cat >>$CONFIG_STATUS <<\_ACEOF
20713 \`$as_me' instantiates files from templates according to the
20714 current configuration.
20716 Usage: $0 [OPTIONS] [FILE]...
20718 -h, --help print this help, then exit
20719 -V, --version print version number and configuration settings, then exit
20720 -q, --quiet do not print progress messages
20721 -d, --debug don't remove temporary files
20722 --recheck update $as_me by reconfiguring in the same conditions
20723 --file=FILE[:TEMPLATE]
20724 instantiate the configuration file FILE
20725 --header=FILE[:TEMPLATE]
20726 instantiate the configuration header FILE
20728 Configuration files:
20731 Configuration headers:
20734 Configuration commands:
20737 Report bugs to <bug-autoconf@gnu.org>."
20740 cat >>$CONFIG_STATUS <<_ACEOF
20742 Wine config.status 0.9.28
20743 configured by $0, generated by GNU Autoconf 2.61,
20744 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20746 Copyright (C) 2006 Free Software Foundation, Inc.
20747 This config.status script is free software; the Free Software Foundation
20748 gives unlimited permission to copy, distribute and modify it."
20755 cat >>$CONFIG_STATUS <<\_ACEOF
20756 # If no file are specified by the user, then we need to provide default
20757 # value. By we need to know if files were specified by the user.
20763 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20764 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20775 # Handling of the options.
20776 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20778 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20779 echo "$ac_cs_version"; exit ;;
20780 --debug |
--debu |
--deb |
--de |
--d |
-d )
20782 --file |
--fil |
--fi |
--f )
20784 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20785 ac_need_defaults
=false
;;
20786 --header |
--heade |
--head |
--hea )
20788 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20789 ac_need_defaults
=false
;;
20791 # Conflict between --help and --header
20792 { echo "$as_me: error: ambiguous option: $1
20793 Try \`$0 --help' for more information." >&2
20794 { (exit 1); exit 1; }; };;
20795 --help |
--hel |
-h )
20796 echo "$ac_cs_usage"; exit ;;
20797 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20798 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20801 # This is an error.
20802 -*) { echo "$as_me: error: unrecognized option: $1
20803 Try \`$0 --help' for more information." >&2
20804 { (exit 1); exit 1; }; } ;;
20806 *) ac_config_targets
="$ac_config_targets $1"
20807 ac_need_defaults
=false
;;
20813 ac_configure_extra_args
=
20815 if $ac_cs_silent; then
20817 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20821 cat >>$CONFIG_STATUS <<_ACEOF
20822 if \$ac_cs_recheck; then
20823 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20824 CONFIG_SHELL=$SHELL
20825 export CONFIG_SHELL
20826 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20830 cat >>$CONFIG_STATUS <<\_ACEOF
20834 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20835 ## Running $as_me. ##
20841 cat >>$CONFIG_STATUS <<_ACEOF
20844 cat >>$CONFIG_STATUS <<\_ACEOF
20846 # Handling of arguments.
20847 for ac_config_target
in $ac_config_targets
20849 case $ac_config_target in
20850 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
20851 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
20852 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
20853 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
20854 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
20855 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
20856 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
20857 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
20858 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
20859 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
20860 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
20861 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
20862 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
20863 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20864 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
20865 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
20866 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20867 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20868 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
20869 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
20870 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
20871 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
20872 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20873 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20874 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20875 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
20876 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20877 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
20878 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20879 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
20880 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
20881 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
20882 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20883 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20884 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
20885 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
20886 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
20887 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20888 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20889 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
20890 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
20891 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
20892 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
20893 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20894 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
20895 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20896 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
20897 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20898 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
20899 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20900 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
20901 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
20902 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20903 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20904 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20905 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
20906 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
20907 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
20908 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
20909 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20910 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
20911 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20912 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
20913 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20914 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20915 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20916 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20917 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20918 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20919 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
20920 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
20921 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
20922 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20923 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
20924 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20925 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
20926 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20927 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
20928 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
20929 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
20930 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
20931 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20932 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
20933 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
20934 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
20935 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
20936 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
20937 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
20938 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
20939 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
20940 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20941 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
20942 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20943 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
20944 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20945 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
20946 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
20947 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
20948 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
20949 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20950 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20951 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
20952 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
20953 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
20954 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
20955 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
20956 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
20957 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
20958 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
20959 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20960 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
20961 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
20962 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
20963 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
20964 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
20965 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
20966 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
20967 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
20968 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20969 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20970 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
20971 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
20972 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
20973 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
20974 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
20975 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
20976 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
20977 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
20978 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
20979 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20980 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
20981 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
20982 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20983 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
20984 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
20985 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
20986 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20987 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
20988 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20989 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20990 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20991 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20992 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20993 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20994 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20995 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
20996 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
20997 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20998 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20999 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21000 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21001 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21002 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21003 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21004 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
21005 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21006 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21007 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21008 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
21009 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21010 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21011 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
21012 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21013 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21014 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21015 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21016 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21017 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21018 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21019 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21020 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21021 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21022 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
21023 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21024 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21025 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
21026 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
21027 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21028 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
21029 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21030 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
21031 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
21032 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21033 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
21034 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21035 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21036 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21037 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21038 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21039 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21040 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21041 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
21042 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21043 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
21044 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21045 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
21046 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21047 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21048 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
21049 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21050 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21051 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21052 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
21053 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21054 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21055 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21056 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21057 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21058 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21059 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21060 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21061 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
21062 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21063 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21064 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21065 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21066 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
21067 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
21068 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21069 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21070 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
21071 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21072 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
21073 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
21074 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21075 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
21076 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21077 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21078 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21079 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21080 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
21081 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21082 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21083 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21084 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21085 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21086 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21087 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21088 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21089 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21090 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
21091 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21092 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21093 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21094 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21095 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21096 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
21097 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21098 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
21099 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21100 "dlls/winmm/winealsa/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
21101 "dlls/winmm/winearts/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
21102 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
21103 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
21104 "dlls/winmm/wineesd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
21105 "dlls/winmm/winejack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
21106 "dlls/winmm/winenas/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
21107 "dlls/winmm/wineoss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
21108 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21109 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21110 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21111 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21112 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21113 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21114 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21115 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21116 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
21117 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21118 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21119 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21120 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21121 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
21122 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
21123 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
21124 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
21125 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
21126 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
21127 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
21128 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
21129 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
21130 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
21131 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
21132 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21133 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
21134 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
21135 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
21136 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
21137 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
21138 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
21139 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
21140 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
21141 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
21142 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
21143 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
21144 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
21145 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21146 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
21147 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
21148 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
21149 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21150 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21151 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
21152 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
21153 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21154 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
21155 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21156 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
21157 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
21158 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21159 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
21160 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
21161 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
21162 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
21163 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
21164 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
21165 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
21166 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
21167 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
21168 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
21169 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
21170 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
21171 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
21172 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
21173 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
21175 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21176 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21177 { (exit 1); exit 1; }; };;
21182 # If the user did not use the arguments to specify the items to instantiate,
21183 # then the envvar interface is used. Set only those that are not.
21184 # We use the long form for the default assignment because of an extremely
21185 # bizarre bug on SunOS 4.1.3.
21186 if $ac_need_defaults; then
21187 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21188 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21189 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21192 # Have a temporary directory for convenience. Make it in the build tree
21193 # simply because there is no reason against having it here, and in addition,
21194 # creating and moving files from /tmp can sometimes cause problems.
21195 # Hook for its removal unless debugging.
21196 # Note that there is a small window in which the directory will not be cleaned:
21197 # after its creation but before its name has been assigned to `$tmp'.
21201 trap 'exit_status=$?
21202 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21204 trap '{ (exit 1); exit 1; }' 1 2 13 15
21206 # Create a (secure) tmp directory for tmp files.
21209 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21210 test -n "$tmp" && test -d "$tmp"
21213 tmp
=.
/conf$$
-$RANDOM
21214 (umask 077 && mkdir
"$tmp")
21217 echo "$me: cannot create a temporary directory in ." >&2
21218 { (exit 1); exit 1; }
21222 # Set up the sed scripts for CONFIG_FILES section.
21225 # No need to generate the scripts if there are no CONFIG_FILES.
21226 # This happens for instance when ./config.status config.h
21227 if test -n "$CONFIG_FILES"; then
21231 # Create sed commands to just substitute file output variables.
21233 # Remaining file output variables are in a fragment that also has non-file
21239 for ac_last_try
in false false false false false
:; do
21240 cat >conf$
$subs.
sed <<_ACEOF
21241 SHELL!$SHELL$ac_delim
21242 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21243 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21244 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21245 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21246 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21247 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21248 exec_prefix!$exec_prefix$ac_delim
21249 prefix!$prefix$ac_delim
21250 program_transform_name!$program_transform_name$ac_delim
21251 bindir!$bindir$ac_delim
21252 sbindir!$sbindir$ac_delim
21253 libexecdir!$libexecdir$ac_delim
21254 datarootdir!$datarootdir$ac_delim
21255 datadir!$datadir$ac_delim
21256 sysconfdir!$sysconfdir$ac_delim
21257 sharedstatedir!$sharedstatedir$ac_delim
21258 localstatedir!$localstatedir$ac_delim
21259 includedir!$includedir$ac_delim
21260 oldincludedir!$oldincludedir$ac_delim
21261 docdir!$docdir$ac_delim
21262 infodir!$infodir$ac_delim
21263 htmldir!$htmldir$ac_delim
21264 dvidir!$dvidir$ac_delim
21265 pdfdir!$pdfdir$ac_delim
21266 psdir!$psdir$ac_delim
21267 libdir!$libdir$ac_delim
21268 localedir!$localedir$ac_delim
21269 mandir!$mandir$ac_delim
21270 DEFS!$DEFS$ac_delim
21271 ECHO_C!$ECHO_C$ac_delim
21272 ECHO_N!$ECHO_N$ac_delim
21273 ECHO_T!$ECHO_T$ac_delim
21274 LIBS!$LIBS$ac_delim
21275 build_alias!$build_alias$ac_delim
21276 host_alias!$host_alias$ac_delim
21277 target_alias!$target_alias$ac_delim
21278 build!$build$ac_delim
21279 build_cpu!$build_cpu$ac_delim
21280 build_vendor!$build_vendor$ac_delim
21281 build_os!$build_os$ac_delim
21282 host!$host$ac_delim
21283 host_cpu!$host_cpu$ac_delim
21284 host_vendor!$host_vendor$ac_delim
21285 host_os!$host_os$ac_delim
21286 WIN16_FILES!$WIN16_FILES$ac_delim
21287 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21288 SET_MAKE!$SET_MAKE$ac_delim
21290 CFLAGS!$CFLAGS$ac_delim
21291 LDFLAGS!$LDFLAGS$ac_delim
21292 CPPFLAGS!$CPPFLAGS$ac_delim
21293 ac_ct_CC!$ac_ct_CC$ac_delim
21294 EXEEXT!$EXEEXT$ac_delim
21295 OBJEXT!$OBJEXT$ac_delim
21297 CXXFLAGS!$CXXFLAGS$ac_delim
21298 ac_ct_CXX!$ac_ct_CXX$ac_delim
21299 CPPBIN!$CPPBIN$ac_delim
21300 TOOLSDIR!$TOOLSDIR$ac_delim
21301 XMKMF!$XMKMF$ac_delim
21303 X_CFLAGS!$X_CFLAGS$ac_delim
21304 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
21305 X_LIBS!$X_LIBS$ac_delim
21306 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
21308 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
21309 LEXLIB!$LEXLIB$ac_delim
21310 XLEX!$XLEX$ac_delim
21311 BISON!$BISON$ac_delim
21313 ac_ct_AS!$ac_ct_AS$ac_delim
21316 RANLIB!$RANLIB$ac_delim
21317 STRIP!$STRIP$ac_delim
21318 WINDRES!$WINDRES$ac_delim
21319 LN_S!$LN_S$ac_delim
21321 GREP!$GREP$ac_delim
21322 EGREP!$EGREP$ac_delim
21325 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
21327 elif $ac_last_try; then
21328 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21329 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21330 { (exit 1); exit 1; }; }
21332 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21336 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21337 if test -n "$ac_eof"; then
21338 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21339 ac_eof
=`expr $ac_eof + 1`
21342 cat >>$CONFIG_STATUS <<_ACEOF
21343 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21344 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21345 /^[ ]*@MAKE_RULES@[ ]*$/{
21349 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
21353 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
21354 r $MAKE_IMPLIB_RULES
21357 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
21361 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
21367 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21368 s/^/s,@/; s/!/@,|#_!!_#|/
21371 s/'"$ac_delim"'$/,g/; t
21373 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21374 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21375 rm -f conf$
$subs.
sed
21376 cat >>$CONFIG_STATUS <<_ACEOF
21382 for ac_last_try
in false false false false false
:; do
21383 cat >conf$
$subs.
sed <<_ACEOF
21384 LDCONFIG!$LDCONFIG$ac_delim
21385 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21386 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21387 INSTALL_DATA!$INSTALL_DATA$ac_delim
21388 LINT!$LINT$ac_delim
21389 LINTFLAGS!$LINTFLAGS$ac_delim
21390 FONTFORGE!$FONTFORGE$ac_delim
21391 PKG_CONFIG!$PKG_CONFIG$ac_delim
21392 PRELINK!$PRELINK$ac_delim
21393 LIBPTHREAD!$LIBPTHREAD$ac_delim
21394 XLIB!$XLIB$ac_delim
21395 XFILES!$XFILES$ac_delim
21396 OPENGLFILES!$OPENGLFILES$ac_delim
21397 GLU32FILES!$GLU32FILES$ac_delim
21398 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
21399 QUARTZFILES!$QUARTZFILES$ac_delim
21400 NASLIBS!$NASLIBS$ac_delim
21401 XML2LIBS!$XML2LIBS$ac_delim
21402 XML2INCL!$XML2INCL$ac_delim
21403 XSLTLIBS!$XSLTLIBS$ac_delim
21404 XSLTINCL!$XSLTINCL$ac_delim
21405 HALINCL!$HALINCL$ac_delim
21406 sane_devel!$sane_devel$ac_delim
21407 SANELIBS!$SANELIBS$ac_delim
21408 SANEINCL!$SANEINCL$ac_delim
21409 gphoto2_devel!$gphoto2_devel$ac_delim
21410 gphoto2port_devel!$gphoto2port_devel$ac_delim
21411 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
21412 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
21413 ICULIBS!$ICULIBS$ac_delim
21414 RESOLVLIBS!$RESOLVLIBS$ac_delim
21415 LCMSLIBS!$LCMSLIBS$ac_delim
21416 LDAPLIBS!$LDAPLIBS$ac_delim
21417 FREETYPELIBS!$FREETYPELIBS$ac_delim
21418 FREETYPEINCL!$FREETYPEINCL$ac_delim
21419 ft_devel!$ft_devel$ac_delim
21420 ft_devel2!$ft_devel2$ac_delim
21421 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
21422 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
21423 ARTSLIBS!$ARTSLIBS$ac_delim
21424 ARTSINCL!$ARTSINCL$ac_delim
21425 ESDCONFIG!$ESDCONFIG$ac_delim
21426 ESDLIBS!$ESDLIBS$ac_delim
21427 ESDINCL!$ESDINCL$ac_delim
21428 ALSALIBS!$ALSALIBS$ac_delim
21429 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
21430 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
21431 BUILTINFLAG!$BUILTINFLAG$ac_delim
21432 DLLEXT!$DLLEXT$ac_delim
21433 DLLFLAGS!$DLLFLAGS$ac_delim
21434 LDSHARED!$LDSHARED$ac_delim
21435 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
21436 LIBEXT!$LIBEXT$ac_delim
21437 IMPLIBEXT!$IMPLIBEXT$ac_delim
21438 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
21439 DLLTOOL!$DLLTOOL$ac_delim
21440 DLLWRAP!$DLLWRAP$ac_delim
21441 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
21442 IOKITLIB!$IOKITLIB$ac_delim
21443 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
21444 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
21445 COREAUDIO!$COREAUDIO$ac_delim
21446 CARBONLIB!$CARBONLIB$ac_delim
21447 CROSSTEST!$CROSSTEST$ac_delim
21448 CROSSCC!$CROSSCC$ac_delim
21449 CROSSWINDRES!$CROSSWINDRES$ac_delim
21450 LDPATH!$LDPATH$ac_delim
21451 CRTLIBS!$CRTLIBS$ac_delim
21452 SOCKETLIBS!$SOCKETLIBS$ac_delim
21453 MAIN_BINARY!$MAIN_BINARY$ac_delim
21454 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
21456 LIBDL!$LIBDL$ac_delim
21457 LIBPOLL!$LIBPOLL$ac_delim
21458 DEPENDENCIES!$DEPENDENCIES$ac_delim
21459 LIBOBJS!$LIBOBJS$ac_delim
21460 LTLIBOBJS!$LTLIBOBJS$ac_delim
21463 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 77; then
21465 elif $ac_last_try; then
21466 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21467 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21468 { (exit 1); exit 1; }; }
21470 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21474 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21475 if test -n "$ac_eof"; then
21476 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21477 ac_eof
=`expr $ac_eof + 1`
21480 cat >>$CONFIG_STATUS <<_ACEOF
21481 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21482 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21485 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21486 s/^/s,@/; s/!/@,|#_!!_#|/
21489 s/'"$ac_delim"'$/,g/; t
21491 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21492 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21493 rm -f conf$
$subs.
sed
21494 cat >>$CONFIG_STATUS <<_ACEOF
21501 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21502 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21503 # trailing colons and then remove the whole line if VPATH becomes empty
21504 # (actually we leave an empty line to preserve line numbers).
21505 if test "x$srcdir" = x.
; then
21506 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
21507 s/:*\$(srcdir):*/:/
21508 s/:*\${srcdir}:*/:/
21510 s/^\([^=]*=[ ]*\):*/\1/
21516 cat >>$CONFIG_STATUS <<\_ACEOF
21517 fi # test -n "$CONFIG_FILES"
21520 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
21523 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21525 case $ac_mode$ac_tag in
21527 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21528 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
21529 { (exit 1); exit 1; }; };;
21530 :[FH
]-) ac_tag
=-:-;;
21531 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21548 -) ac_f
="$tmp/stdin";;
21549 *) # Look for the file first in the build tree, then in the source tree
21550 # (if the path is not absolute). The absolute path cannot be DOS-style,
21551 # because $ac_f cannot contain `:'.
21555 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21557 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21558 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21559 { (exit 1); exit 1; }; };;
21561 ac_file_inputs
="$ac_file_inputs $ac_f"
21564 # Let's still pretend it is `configure' which instantiates (i.e., don't
21565 # use $as_me), people would be surprised to read:
21566 # /* config.h. Generated by config.status. */
21567 configure_input
="Generated from "`IFS=:
21568 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
21569 if test x
"$ac_file" != x-
; then
21570 configure_input
="$ac_file. $configure_input"
21571 { echo "$as_me:$LINENO: creating $ac_file" >&5
21572 echo "$as_me: creating $ac_file" >&6;}
21576 *:-:* |
*:-) cat >"$tmp/stdin";;
21581 ac_dir
=`$as_dirname -- "$ac_file" ||
21582 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21583 X"$ac_file" : 'X\(//\)[^/]' \| \
21584 X"$ac_file" : 'X\(//\)$' \| \
21585 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21587 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21591 /^X\(\/\/\)[^/].*/{
21606 -*) as_dir
=.
/$as_dir;;
21608 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21612 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21613 *) as_qdir
=$as_dir;;
21615 as_dirs
="'$as_qdir' $as_dirs"
21616 as_dir
=`$as_dirname -- "$as_dir" ||
21617 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21618 X"$as_dir" : 'X\(//\)[^/]' \| \
21619 X"$as_dir" : 'X\(//\)$' \| \
21620 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21622 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21626 /^X\(\/\/\)[^/].*/{
21639 test -d "$as_dir" && break
21641 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21642 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21643 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21644 { (exit 1); exit 1; }; }; }
21648 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21650 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21651 # A ".." for each directory in $ac_dir_suffix.
21652 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
21653 case $ac_top_builddir_sub in
21654 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21655 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21658 ac_abs_top_builddir
=$ac_pwd
21659 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21660 # for backward compatibility:
21661 ac_top_builddir
=$ac_top_build_prefix
21664 .
) # We are building in place.
21666 ac_top_srcdir
=$ac_top_builddir_sub
21667 ac_abs_top_srcdir
=$ac_pwd ;;
21668 [\\/]* | ?
:[\\/]* ) # Absolute name.
21669 ac_srcdir
=$srcdir$ac_dir_suffix;
21670 ac_top_srcdir
=$srcdir
21671 ac_abs_top_srcdir
=$srcdir ;;
21672 *) # Relative name.
21673 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21674 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21675 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21677 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21687 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21688 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21692 cat >>$CONFIG_STATUS <<\_ACEOF
21693 # If the template does not know about datarootdir, expand it.
21694 # FIXME: This hack should be removed a few years after 2.60.
21695 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21697 case `sed -n '/datarootdir/ {
21706 ' $ac_file_inputs` in
21707 *datarootdir
*) ac_datarootdir_seen
=yes;;
21708 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21709 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21710 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21712 cat >>$CONFIG_STATUS <<_ACEOF
21713 ac_datarootdir_hack='
21714 s&@datadir@&$datadir&g
21715 s&@docdir@&$docdir&g
21716 s&@infodir@&$infodir&g
21717 s&@localedir@&$localedir&g
21718 s&@mandir@&$mandir&g
21719 s&\\\${datarootdir}&$datarootdir&g' ;;
21723 # Neutralize VPATH when `$srcdir' = `.'.
21724 # Shell code in configure.ac might set extrasub.
21725 # FIXME: do we really want to maintain this feature?
21726 cat >>$CONFIG_STATUS <<_ACEOF
21730 cat >>$CONFIG_STATUS <<\_ACEOF
21732 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21733 s
&@configure_input@
&$configure_input&;t t
21734 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21735 s
&@srcdir@
&$ac_srcdir&;t t
21736 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21737 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21738 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21739 s
&@builddir@
&$ac_builddir&;t t
21740 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21741 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21742 s
&@INSTALL@
&$ac_INSTALL&;t t
21743 $ac_datarootdir_hack
21744 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
21746 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21747 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
21748 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
21749 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21750 which seems to be undefined. Please make sure it is defined." >&5
21751 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21752 which seems to be undefined. Please make sure it is defined." >&2;}
21756 -) cat "$tmp/out"; rm -f "$tmp/out";;
21757 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21766 # Transform confdefs.h into a sed script `conftest.defines', that
21767 # substitutes the proper values into config.h.in to produce config.h.
21768 rm -f conftest.defines conftest.
tail
21769 # First, append a space to every undef/define line, to ease matching.
21770 echo 's/$/ /' >conftest.defines
21771 # Then, protect against being on the right side of a sed subst, or in
21772 # an unquoted here document, in config.status. If some macros were
21773 # called several times there might be several #defines for the same
21774 # symbol, which is useless. But do not sort them, since the last
21775 # AC_DEFINE must be honored.
21776 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
21777 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
21778 # NAME is the cpp macro being defined, VALUE is the value it is being given.
21779 # PARAMS is the parameter list in the macro definition--in most cases, it's
21780 # just an empty string.
21781 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
21782 ac_dB
='\\)[ (].*,\\1define\\2'
21790 s/^[ ]*#[ ]*define[ ][ ]*//
21795 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
21796 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
21797 ' >>conftest.defines
21799 # Remove the space that was appended to ease matching.
21800 # Then replace #undef with comments. This is necessary, for
21801 # example, in the case of _POSIX_SOURCE, which is predefined and required
21802 # on some systems where configure will not decide to define it.
21803 # (The regexp can be short, since the line contains either #define or #undef.)
21805 s,^[ #]*u.*,/* & */,' >>conftest.defines
21807 # Break up conftest.defines:
21808 ac_max_sed_lines
=50
21810 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
21811 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
21812 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
21814 ac_in
='$ac_file_inputs'
21815 ac_out
='"$tmp/out1"'
21816 ac_nxt
='"$tmp/out2"'
21820 # Write a here document:
21821 cat >>$CONFIG_STATUS <<_ACEOF
21822 # First, check the format of the line:
21823 cat >"\$tmp/defines.sed" <<\\CEOF
21824 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
21825 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21829 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
21831 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21832 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
21833 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
21834 grep . conftest.
tail >/dev
/null ||
break
21835 rm -f conftest.defines
21836 mv conftest.
tail conftest.defines
21838 rm -f conftest.defines conftest.
tail
21840 echo "ac_result=$ac_in" >>$CONFIG_STATUS
21841 cat >>$CONFIG_STATUS <<\_ACEOF
21842 if test x
"$ac_file" != x-
; then
21843 echo "/* $configure_input */" >"$tmp/config.h"
21844 cat "$ac_result" >>"$tmp/config.h"
21845 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
21846 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21847 echo "$as_me: $ac_file is unchanged" >&6;}
21850 mv "$tmp/config.h" $ac_file
21853 echo "/* $configure_input */"
21859 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
21860 echo "$as_me: executing $ac_file commands" >&6;}
21865 case $ac_file$ac_mode in
21866 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
21867 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
21868 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
21869 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
21870 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
21871 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
21872 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
21873 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
21874 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
21875 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
21876 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
21877 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
21878 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
21884 { (exit 0); exit 0; }
21886 chmod +x
$CONFIG_STATUS
21887 ac_clean_files
=$ac_clean_files_save
21890 # configure is writing to config.log, and then calls config.status.
21891 # config.status does its own redirection, appending to config.log.
21892 # Unfortunately, on DOS this fails, as config.log is still kept open
21893 # by configure, so config.status won't be able to write to it; its
21894 # output is simply discarded. So we exec the FD to /dev/null,
21895 # effectively closing config.log, so it can be properly (re)opened and
21896 # appended to by config.status. When coming back to configure, we
21897 # need to make the FD available again.
21898 if test "$no_create" != yes; then
21900 ac_config_status_args
=
21901 test "$silent" = yes &&
21902 ac_config_status_args
="$ac_config_status_args --quiet"
21904 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21906 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21907 # would make configure fail if this is the last instruction.
21908 $ac_cs_success ||
{ (exit 1); exit 1; }
21913 if test "$no_create" = "yes"
21918 if test "$verbose" = "yes"
21920 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
21923 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
21924 echo "$as_me: libcapi20 development files not found." >&6;}
21925 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
21926 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
21929 if test "$ac_cv_header_cups_cups_h" != "yes"
21932 { echo "$as_me:$LINENO: libcups development files not found." >&5
21933 echo "$as_me: libcups development files not found." >&6;}
21934 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
21935 echo "$as_me: Wine will be built without CUPS support." >&6;}
21939 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
21942 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
21943 echo "$as_me: libgphoto2 development files not found." >&6;}
21944 if test "$ac_cv_header_sane_sane_h" = "yes"
21946 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
21947 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
21949 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
21950 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
21954 if test "$ac_cv_header_hal_libhal_h" != "yes"
21957 { echo "$as_me:$LINENO: libhal development files not found." >&5
21958 echo "$as_me: libhal development files not found." >&6;}
21959 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
21960 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
21963 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
21966 { echo "$as_me:$LINENO: libicu development files not found." >&5
21967 echo "$as_me: libicu development files not found." >&6;}
21968 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
21969 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
21972 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
21975 { echo "$as_me:$LINENO: liblcms development files not found." >&5
21976 echo "$as_me: liblcms development files not found." >&6;}
21977 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
21978 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
21981 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
21984 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
21985 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
21986 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
21987 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
21990 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
21993 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
21994 echo "$as_me: lib(n)curses development files not found." >&6;}
21995 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
21996 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
21999 if test "$ac_cv_header_sane_sane_h" != "yes"
22002 { echo "$as_me:$LINENO: libsane development files not found." >&5
22003 echo "$as_me: libsane development files not found." >&6;}
22004 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
22005 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
22008 if test "$have_x" = "yes"
22010 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
22013 { echo "$as_me:$LINENO: libxext development files not found." >&5
22014 echo "$as_me: libxext development files not found." >&6;}
22015 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22016 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22019 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22022 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22023 echo "$as_me: libXrandr development files not found." >&6;}
22024 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22025 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22028 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22031 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22032 echo "$as_me: libXrender development files not found." >&6;}
22033 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22034 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22037 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22040 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22041 echo "$as_me: libXxf86vm development files not found." >&6;}
22042 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22043 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22047 if test "$ac_cv_header_libxml_parser_h" != "yes"
22050 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22051 echo "$as_me: libxml2 development files not found." >&6;}
22052 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22053 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22056 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22059 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22060 echo "$as_me: libxslt development files not found." >&6;}
22061 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22062 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22067 if test "$have_x" = "no"
22070 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22071 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22072 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22073 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22074 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22075 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22076 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22077 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22080 if test -z "$OPENGLFILES"
22083 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22084 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22085 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22086 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22087 if test "$wine_cv_opengl_headers_found" = "no"
22089 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22090 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22092 if test "$wine_cv_opengl_header_version_OK" = "no"
22094 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22095 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22096 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22098 if test -f /usr
/X11R
6/lib
/libGL.a
22100 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22101 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22102 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22103 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22105 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22106 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22111 if test "$wine_cv_msg_freetype" = "yes"
22114 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22115 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22116 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22117 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22118 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22119 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22120 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22121 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22124 if test -z "$FONTSSUBDIRS"
22127 if test "$FONTFORGE" = "false"
22129 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22130 echo "$as_me: WARNING: FontForge is missing." >&2;}
22132 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22133 echo "$as_me: WARNING: FreeType is missing." >&2;}
22135 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22136 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22139 if test -z "$ALSALIBS" -a \
22140 -z "$ARTSC_LIBS" -a \
22141 -z "$AUDIOIOLIBS" -a \
22143 -z "$ESD_LIBS" -a \
22144 -z "$ac_cv_lib_soname_jack" -a \
22145 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22146 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22147 "$ac_cv_header_soundcard_h" != "yes"
22150 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22151 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22152 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22153 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22154 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
22155 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22159 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."