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
7032 AudioUnit/AudioUnit.h \
7034 CoreAudio/CoreAudio.h \
7035 DiskArbitration/DiskArbitration.h \
7048 fontconfig/fontconfig.h \
7073 machine/soundcard.h \
7078 netinet/in_systm.h \
7142 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7143 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7144 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7146 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7147 echo $ECHO_N "(cached) $ECHO_C" >&6
7149 ac_res=`eval echo '${'$as_ac_Header'}'`
7150 { echo "$as_me:$LINENO: result: $ac_res" >&5
7151 echo "${ECHO_T}$ac_res" >&6; }
7153 # Is the header compilable?
7154 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7155 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7156 cat >conftest.$ac_ext <<_ACEOF
7159 cat confdefs.h >>conftest.$ac_ext
7160 cat >>conftest.$ac_ext <<_ACEOF
7161 /* end confdefs.h. */
7162 $ac_includes_default
7163 #include <$ac_header>
7165 rm -f conftest.$ac_objext
7166 if { (ac_try="$ac_compile"
7168 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7169 *) ac_try_echo
=$ac_try;;
7171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7172 (eval "$ac_compile") 2>conftest.er1
7174 grep -v '^ *+' conftest.er1
>conftest.err
7176 cat conftest.err
>&5
7177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7178 (exit $ac_status); } && {
7179 test -z "$ac_c_werror_flag" ||
7180 test ! -s conftest.err
7181 } && test -s conftest.
$ac_objext; then
7182 ac_header_compiler
=yes
7184 echo "$as_me: failed program was:" >&5
7185 sed 's/^/| /' conftest.
$ac_ext >&5
7187 ac_header_compiler
=no
7190 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7191 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7192 echo "${ECHO_T}$ac_header_compiler" >&6; }
7194 # Is the header present?
7195 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7196 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7197 cat >conftest.
$ac_ext <<_ACEOF
7200 cat confdefs.h
>>conftest.
$ac_ext
7201 cat >>conftest.
$ac_ext <<_ACEOF
7202 /* end confdefs.h. */
7203 #include <$ac_header>
7205 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7207 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7208 *) ac_try_echo=$ac_try;;
7210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7211 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7213 grep -v '^ *+' conftest.er1 >conftest.err
7215 cat conftest.err >&5
7216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7217 (exit $ac_status); } >/dev/null && {
7218 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7219 test ! -s conftest.err
7221 ac_header_preproc=yes
7223 echo "$as_me: failed program was:" >&5
7224 sed 's/^/| /' conftest.$ac_ext >&5
7226 ac_header_preproc=no
7229 rm -f conftest.err conftest.$ac_ext
7230 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7231 echo "${ECHO_T}$ac_header_preproc" >&6; }
7233 # So? What about this header?
7234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7236 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7237 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7239 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7240 ac_header_preproc=yes
7243 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7244 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7245 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7246 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7247 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7248 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7249 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7250 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7253 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7254 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7256 ## ------------------------------------ ##
7257 ## Report this to wine-devel@winehq.org ##
7258 ## ------------------------------------ ##
7260 ) | sed "s/^/$as_me: WARNING: /" >&2
7263 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7265 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7266 echo $ECHO_N "(cached) $ECHO_C" >&6
7268 eval "$as_ac_Header=\$ac_header_preproc"
7270 ac_res=`eval echo '${'$as_ac_Header'}'`
7271 { echo "$as_me:$LINENO: result: $ac_res" >&5
7272 echo "${ECHO_T}$ac_res" >&6; }
7275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7276 cat >>confdefs.h <<_ACEOF
7277 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7284 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7285 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7286 if test "${ac_cv_header_stat_broken+set}" = set; then
7287 echo $ECHO_N "(cached) $ECHO_C" >&6
7289 cat >conftest.$ac_ext <<_ACEOF
7292 cat confdefs.h >>conftest.$ac_ext
7293 cat >>conftest.$ac_ext <<_ACEOF
7294 /* end confdefs.h. */
7295 #include <sys/types.h>
7296 #include <sys/stat.h>
7298 #if defined S_ISBLK && defined S_IFDIR
7299 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7302 #if defined S_ISBLK && defined S_IFCHR
7303 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7306 #if defined S_ISLNK && defined S_IFREG
7307 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7310 #if defined S_ISSOCK && defined S_IFREG
7311 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7315 rm -f conftest.$ac_objext
7316 if { (ac_try="$ac_compile"
7318 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7319 *) ac_try_echo
=$ac_try;;
7321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7322 (eval "$ac_compile") 2>conftest.er1
7324 grep -v '^ *+' conftest.er1
>conftest.err
7326 cat conftest.err
>&5
7327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7328 (exit $ac_status); } && {
7329 test -z "$ac_c_werror_flag" ||
7330 test ! -s conftest.err
7331 } && test -s conftest.
$ac_objext; then
7332 ac_cv_header_stat_broken
=no
7334 echo "$as_me: failed program was:" >&5
7335 sed 's/^/| /' conftest.
$ac_ext >&5
7337 ac_cv_header_stat_broken
=yes
7340 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7342 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7343 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7344 if test $ac_cv_header_stat_broken = yes; then
7346 cat >>confdefs.h
<<\_ACEOF
7347 #define STAT_MACROS_BROKEN 1
7358 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
7360 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7361 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7363 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7364 echo $ECHO_N "(cached) $ECHO_C" >&6
7366 cat >conftest.
$ac_ext <<_ACEOF
7369 cat confdefs.h
>>conftest.
$ac_ext
7370 cat >>conftest.
$ac_ext <<_ACEOF
7371 /* end confdefs.h. */
7372 #include <sys/types.h>
7373 #if HAVE_SYS_PARAM_H
7374 # include <sys/param.h>
7377 #include <$ac_header>
7379 rm -f conftest.
$ac_objext
7380 if { (ac_try
="$ac_compile"
7382 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7383 *) ac_try_echo=$ac_try;;
7385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7386 (eval "$ac_compile") 2>conftest.er1
7388 grep -v '^ *+' conftest.er1 >conftest.err
7390 cat conftest.err >&5
7391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7392 (exit $ac_status); } && {
7393 test -z "$ac_c_werror_flag" ||
7394 test ! -s conftest.err
7395 } && test -s conftest.$ac_objext; then
7396 eval "$as_ac_Header=yes"
7398 echo "$as_me: failed program was:" >&5
7399 sed 's/^/| /' conftest.$ac_ext >&5
7401 eval "$as_ac_Header=no"
7404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7406 ac_res=`eval echo '${'$as_ac_Header'}'`
7407 { echo "$as_me:$LINENO: result: $ac_res" >&5
7408 echo "${ECHO_T}$ac_res" >&6; }
7409 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7410 cat >>confdefs.h <<_ACEOF
7411 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7425 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
7427 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7428 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7430 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7431 echo $ECHO_N "(cached) $ECHO_C" >&6
7433 cat >conftest.$ac_ext <<_ACEOF
7436 cat confdefs.h >>conftest.$ac_ext
7437 cat >>conftest.$ac_ext <<_ACEOF
7438 /* end confdefs.h. */
7439 #include <sys/types.h>
7440 #if HAVE_SYS_SOCKET_H
7441 # include <sys/socket.h>
7444 #include <$ac_header>
7446 rm -f conftest.$ac_objext
7447 if { (ac_try="$ac_compile"
7449 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7450 *) ac_try_echo
=$ac_try;;
7452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7453 (eval "$ac_compile") 2>conftest.er1
7455 grep -v '^ *+' conftest.er1
>conftest.err
7457 cat conftest.err
>&5
7458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7459 (exit $ac_status); } && {
7460 test -z "$ac_c_werror_flag" ||
7461 test ! -s conftest.err
7462 } && test -s conftest.
$ac_objext; then
7463 eval "$as_ac_Header=yes"
7465 echo "$as_me: failed program was:" >&5
7466 sed 's/^/| /' conftest.
$ac_ext >&5
7468 eval "$as_ac_Header=no"
7471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7473 ac_res
=`eval echo '${'$as_ac_Header'}'`
7474 { echo "$as_me:$LINENO: result: $ac_res" >&5
7475 echo "${ECHO_T}$ac_res" >&6; }
7476 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7477 cat >>confdefs.h
<<_ACEOF
7478 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7487 for ac_header
in linux
/ipx.h
7489 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7490 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7492 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7493 echo $ECHO_N "(cached) $ECHO_C" >&6
7495 cat >conftest.
$ac_ext <<_ACEOF
7498 cat confdefs.h
>>conftest.
$ac_ext
7499 cat >>conftest.
$ac_ext <<_ACEOF
7500 /* end confdefs.h. */
7501 #include <sys/types.h>
7502 #ifdef HAVE_ASM_TYPES_H
7503 # include <asm/types.h>
7505 #if HAVE_SYS_SOCKET_H
7506 # include <sys/socket.h>
7509 #include <$ac_header>
7511 rm -f conftest.
$ac_objext
7512 if { (ac_try
="$ac_compile"
7514 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7515 *) ac_try_echo=$ac_try;;
7517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7518 (eval "$ac_compile") 2>conftest.er1
7520 grep -v '^ *+' conftest.er1 >conftest.err
7522 cat conftest.err >&5
7523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7524 (exit $ac_status); } && {
7525 test -z "$ac_c_werror_flag" ||
7526 test ! -s conftest.err
7527 } && test -s conftest.$ac_objext; then
7528 eval "$as_ac_Header=yes"
7530 echo "$as_me: failed program was:" >&5
7531 sed 's/^/| /' conftest.$ac_ext >&5
7533 eval "$as_ac_Header=no"
7536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7538 ac_res=`eval echo '${'$as_ac_Header'}'`
7539 { echo "$as_me:$LINENO: result: $ac_res" >&5
7540 echo "${ECHO_T}$ac_res" >&6; }
7541 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7542 cat >>confdefs.h <<_ACEOF
7543 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7552 for ac_header in resolv.h
7554 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7555 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7557 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7558 echo $ECHO_N "(cached) $ECHO_C" >&6
7560 cat >conftest.$ac_ext <<_ACEOF
7563 cat confdefs.h >>conftest.$ac_ext
7564 cat >>conftest.$ac_ext <<_ACEOF
7565 /* end confdefs.h. */
7566 #include <sys/types.h>
7567 #if HAVE_SYS_SOCKET_H
7568 # include <sys/socket.h>
7570 #if HAVE_NETINET_IN_H
7571 # include <netinet/in.h>
7573 #if HAVE_ARPA_NAMESER_H
7574 # include <arpa/nameser.h>
7577 #include <$ac_header>
7579 rm -f conftest.$ac_objext
7580 if { (ac_try="$ac_compile"
7582 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7583 *) ac_try_echo
=$ac_try;;
7585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7586 (eval "$ac_compile") 2>conftest.er1
7588 grep -v '^ *+' conftest.er1
>conftest.err
7590 cat conftest.err
>&5
7591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7592 (exit $ac_status); } && {
7593 test -z "$ac_c_werror_flag" ||
7594 test ! -s conftest.err
7595 } && test -s conftest.
$ac_objext; then
7596 eval "$as_ac_Header=yes"
7598 echo "$as_me: failed program was:" >&5
7599 sed 's/^/| /' conftest.
$ac_ext >&5
7601 eval "$as_ac_Header=no"
7604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7606 ac_res
=`eval echo '${'$as_ac_Header'}'`
7607 { echo "$as_me:$LINENO: result: $ac_res" >&5
7608 echo "${ECHO_T}$ac_res" >&6; }
7609 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7610 cat >>confdefs.h
<<_ACEOF
7611 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7620 for ac_header
in ucontext.h
7622 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7623 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7625 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7626 echo $ECHO_N "(cached) $ECHO_C" >&6
7628 cat >conftest.
$ac_ext <<_ACEOF
7631 cat confdefs.h
>>conftest.
$ac_ext
7632 cat >>conftest.
$ac_ext <<_ACEOF
7633 /* end confdefs.h. */
7636 #include <$ac_header>
7638 rm -f conftest.
$ac_objext
7639 if { (ac_try
="$ac_compile"
7641 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7642 *) ac_try_echo=$ac_try;;
7644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7645 (eval "$ac_compile") 2>conftest.er1
7647 grep -v '^ *+' conftest.er1 >conftest.err
7649 cat conftest.err >&5
7650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7651 (exit $ac_status); } && {
7652 test -z "$ac_c_werror_flag" ||
7653 test ! -s conftest.err
7654 } && test -s conftest.$ac_objext; then
7655 eval "$as_ac_Header=yes"
7657 echo "$as_me: failed program was:" >&5
7658 sed 's/^/| /' conftest.$ac_ext >&5
7660 eval "$as_ac_Header=no"
7663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7665 ac_res=`eval echo '${'$as_ac_Header'}'`
7666 { echo "$as_me:$LINENO: result: $ac_res" >&5
7667 echo "${ECHO_T}$ac_res" >&6; }
7668 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7669 cat >>confdefs.h <<_ACEOF
7670 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7679 for ac_header in pthread_np.h
7681 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7682 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7684 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7685 echo $ECHO_N "(cached) $ECHO_C" >&6
7687 cat >conftest.$ac_ext <<_ACEOF
7690 cat confdefs.h >>conftest.$ac_ext
7691 cat >>conftest.$ac_ext <<_ACEOF
7692 /* end confdefs.h. */
7693 #ifdef HAVE_PTHREAD_H
7694 #include <pthread.h>
7697 #include <$ac_header>
7699 rm -f conftest.$ac_objext
7700 if { (ac_try="$ac_compile"
7702 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7703 *) ac_try_echo
=$ac_try;;
7705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7706 (eval "$ac_compile") 2>conftest.er1
7708 grep -v '^ *+' conftest.er1
>conftest.err
7710 cat conftest.err
>&5
7711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7712 (exit $ac_status); } && {
7713 test -z "$ac_c_werror_flag" ||
7714 test ! -s conftest.err
7715 } && test -s conftest.
$ac_objext; then
7716 eval "$as_ac_Header=yes"
7718 echo "$as_me: failed program was:" >&5
7719 sed 's/^/| /' conftest.
$ac_ext >&5
7721 eval "$as_ac_Header=no"
7724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7726 ac_res
=`eval echo '${'$as_ac_Header'}'`
7727 { echo "$as_me:$LINENO: result: $ac_res" >&5
7728 echo "${ECHO_T}$ac_res" >&6; }
7729 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7730 cat >>confdefs.h
<<_ACEOF
7731 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7740 for ac_header
in linux
/videodev.h
7742 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7743 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7745 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7746 echo $ECHO_N "(cached) $ECHO_C" >&6
7748 cat >conftest.
$ac_ext <<_ACEOF
7751 cat confdefs.h
>>conftest.
$ac_ext
7752 cat >>conftest.
$ac_ext <<_ACEOF
7753 /* end confdefs.h. */
7754 #ifdef HAVE_SYS_TIME_H
7755 #include <sys/time.h>
7757 #include <sys/types.h>
7758 #ifdef HAVE_ASM_TYPES_H
7759 #include <asm/types.h>
7762 #include <$ac_header>
7764 rm -f conftest.
$ac_objext
7765 if { (ac_try
="$ac_compile"
7767 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7768 *) ac_try_echo=$ac_try;;
7770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7771 (eval "$ac_compile") 2>conftest.er1
7773 grep -v '^ *+' conftest.er1 >conftest.err
7775 cat conftest.err >&5
7776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7777 (exit $ac_status); } && {
7778 test -z "$ac_c_werror_flag" ||
7779 test ! -s conftest.err
7780 } && test -s conftest.$ac_objext; then
7781 eval "$as_ac_Header=yes"
7783 echo "$as_me: failed program was:" >&5
7784 sed 's/^/| /' conftest.$ac_ext >&5
7786 eval "$as_ac_Header=no"
7789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7791 ac_res=`eval echo '${'$as_ac_Header'}'`
7792 { echo "$as_me:$LINENO: result: $ac_res" >&5
7793 echo "${ECHO_T}$ac_res" >&6; }
7794 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7795 cat >>confdefs.h <<_ACEOF
7796 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7805 for ac_header in linux/capi.h
7807 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7808 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7810 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7811 echo $ECHO_N "(cached) $ECHO_C" >&6
7813 cat >conftest.$ac_ext <<_ACEOF
7816 cat confdefs.h >>conftest.$ac_ext
7817 cat >>conftest.$ac_ext <<_ACEOF
7818 /* end confdefs.h. */
7821 #include <$ac_header>
7823 rm -f conftest.$ac_objext
7824 if { (ac_try="$ac_compile"
7826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7827 *) ac_try_echo
=$ac_try;;
7829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7830 (eval "$ac_compile") 2>conftest.er1
7832 grep -v '^ *+' conftest.er1
>conftest.err
7834 cat conftest.err
>&5
7835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7836 (exit $ac_status); } && {
7837 test -z "$ac_c_werror_flag" ||
7838 test ! -s conftest.err
7839 } && test -s conftest.
$ac_objext; then
7840 eval "$as_ac_Header=yes"
7842 echo "$as_me: failed program was:" >&5
7843 sed 's/^/| /' conftest.
$ac_ext >&5
7845 eval "$as_ac_Header=no"
7848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7850 ac_res
=`eval echo '${'$as_ac_Header'}'`
7851 { echo "$as_me:$LINENO: result: $ac_res" >&5
7852 echo "${ECHO_T}$ac_res" >&6; }
7853 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7854 cat >>confdefs.h
<<_ACEOF
7855 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7864 if test "$have_x" = "yes"
7867 ac_save_CPPFLAGS
="$CPPFLAGS"
7868 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7880 for ac_header
in X11
/Xlib.h \
7883 X11
/extensions
/shape.h \
7884 X11
/extensions
/XInput.h \
7885 X11
/extensions
/XShm.h \
7886 X11
/extensions
/Xinerama.h \
7887 X11
/extensions
/Xrandr.h \
7888 X11
/extensions
/Xrender.h \
7889 X11
/extensions
/xf86vmode.h
7891 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7892 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7894 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7895 echo $ECHO_N "(cached) $ECHO_C" >&6
7897 cat >conftest.
$ac_ext <<_ACEOF
7900 cat confdefs.h
>>conftest.
$ac_ext
7901 cat >>conftest.
$ac_ext <<_ACEOF
7902 /* end confdefs.h. */
7903 #ifdef HAVE_X11_XLIB_H
7904 # include <X11/Xlib.h>
7906 #ifdef HAVE_X11_XUTIL_H
7907 # include <X11/Xutil.h>
7910 #include <$ac_header>
7912 rm -f conftest.
$ac_objext
7913 if { (ac_try
="$ac_compile"
7915 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7916 *) ac_try_echo=$ac_try;;
7918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7919 (eval "$ac_compile") 2>conftest.er1
7921 grep -v '^ *+' conftest.er1 >conftest.err
7923 cat conftest.err >&5
7924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7925 (exit $ac_status); } && {
7926 test -z "$ac_c_werror_flag" ||
7927 test ! -s conftest.err
7928 } && test -s conftest.$ac_objext; then
7929 eval "$as_ac_Header=yes"
7931 echo "$as_me: failed program was:" >&5
7932 sed 's/^/| /' conftest.$ac_ext >&5
7934 eval "$as_ac_Header=no"
7937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7939 ac_res=`eval echo '${'$as_ac_Header'}'`
7940 { echo "$as_me:$LINENO: result: $ac_res" >&5
7941 echo "${ECHO_T}$ac_res" >&6; }
7942 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7943 cat >>confdefs.h <<_ACEOF
7944 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7952 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7954 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7955 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
7956 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7957 echo $ECHO_N "(cached) $ECHO_C" >&6
7959 ac_check_lib_save_LIBS=$LIBS
7960 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7961 cat >conftest.$ac_ext <<_ACEOF
7964 cat confdefs.h >>conftest.$ac_ext
7965 cat >>conftest.$ac_ext <<_ACEOF
7966 /* end confdefs.h. */
7968 /* Override any GCC internal prototype to avoid an error.
7969 Use char because int might match the return type of a GCC
7970 builtin and then its argument prototype would still apply. */
7974 char XkbQueryExtension ();
7978 return XkbQueryExtension ();
7983 rm -f conftest.$ac_objext conftest$ac_exeext
7984 if { (ac_try="$ac_link"
7986 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7987 *) ac_try_echo
=$ac_try;;
7989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7990 (eval "$ac_link") 2>conftest.er1
7992 grep -v '^ *+' conftest.er1
>conftest.err
7994 cat conftest.err
>&5
7995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7996 (exit $ac_status); } && {
7997 test -z "$ac_c_werror_flag" ||
7998 test ! -s conftest.err
7999 } && test -s conftest
$ac_exeext &&
8000 $as_test_x conftest
$ac_exeext; then
8001 ac_cv_lib_X11_XkbQueryExtension
=yes
8003 echo "$as_me: failed program was:" >&5
8004 sed 's/^/| /' conftest.
$ac_ext >&5
8006 ac_cv_lib_X11_XkbQueryExtension
=no
8009 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8010 conftest
$ac_exeext conftest.
$ac_ext
8011 LIBS
=$ac_check_lib_save_LIBS
8013 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8014 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8015 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
8017 cat >>confdefs.h
<<\_ACEOF
8025 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8027 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
8028 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
8029 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
8030 echo $ECHO_N "(cached) $ECHO_C" >&6
8032 ac_check_lib_save_LIBS
=$LIBS
8033 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8034 cat >conftest.
$ac_ext <<_ACEOF
8037 cat confdefs.h
>>conftest.
$ac_ext
8038 cat >>conftest.
$ac_ext <<_ACEOF
8039 /* end confdefs.h. */
8041 /* Override any GCC internal prototype to avoid an error.
8042 Use char because int might match the return type of a GCC
8043 builtin and then its argument prototype would still apply. */
8047 char XShmQueryExtension ();
8051 return XShmQueryExtension ();
8056 rm -f conftest.
$ac_objext conftest
$ac_exeext
8057 if { (ac_try
="$ac_link"
8059 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8060 *) ac_try_echo=$ac_try;;
8062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8063 (eval "$ac_link") 2>conftest.er1
8065 grep -v '^ *+' conftest.er1 >conftest.err
8067 cat conftest.err >&5
8068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8069 (exit $ac_status); } && {
8070 test -z "$ac_c_werror_flag" ||
8071 test ! -s conftest.err
8072 } && test -s conftest$ac_exeext &&
8073 $as_test_x conftest$ac_exeext; then
8074 ac_cv_lib_Xext_XShmQueryExtension=yes
8076 echo "$as_me: failed program was:" >&5
8077 sed 's/^/| /' conftest.$ac_ext >&5
8079 ac_cv_lib_Xext_XShmQueryExtension=no
8082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8083 conftest$ac_exeext conftest.$ac_ext
8084 LIBS=$ac_check_lib_save_LIBS
8086 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8087 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8088 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8090 cat >>confdefs.h <<\_ACEOF
8091 #define HAVE_LIBXXSHM 1
8098 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8100 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8101 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
8102 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8103 echo $ECHO_N "(cached) $ECHO_C" >&6
8105 ac_check_lib_save_LIBS=$LIBS
8106 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8107 cat >conftest.$ac_ext <<_ACEOF
8110 cat confdefs.h >>conftest.$ac_ext
8111 cat >>conftest.$ac_ext <<_ACEOF
8112 /* end confdefs.h. */
8114 /* Override any GCC internal prototype to avoid an error.
8115 Use char because int might match the return type of a GCC
8116 builtin and then its argument prototype would still apply. */
8120 char XShapeQueryExtension ();
8124 return XShapeQueryExtension ();
8129 rm -f conftest.$ac_objext conftest$ac_exeext
8130 if { (ac_try="$ac_link"
8132 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8133 *) ac_try_echo
=$ac_try;;
8135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8136 (eval "$ac_link") 2>conftest.er1
8138 grep -v '^ *+' conftest.er1
>conftest.err
8140 cat conftest.err
>&5
8141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8142 (exit $ac_status); } && {
8143 test -z "$ac_c_werror_flag" ||
8144 test ! -s conftest.err
8145 } && test -s conftest
$ac_exeext &&
8146 $as_test_x conftest
$ac_exeext; then
8147 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8149 echo "$as_me: failed program was:" >&5
8150 sed 's/^/| /' conftest.
$ac_ext >&5
8152 ac_cv_lib_Xext_XShapeQueryExtension
=no
8155 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8156 conftest
$ac_exeext conftest.
$ac_ext
8157 LIBS
=$ac_check_lib_save_LIBS
8159 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8160 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8161 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8163 cat >>confdefs.h
<<\_ACEOF
8164 #define HAVE_LIBXSHAPE 1
8171 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8173 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8174 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
8175 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8176 echo $ECHO_N "(cached) $ECHO_C" >&6
8178 ac_check_lib_save_LIBS
=$LIBS
8179 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8180 cat >conftest.
$ac_ext <<_ACEOF
8183 cat confdefs.h
>>conftest.
$ac_ext
8184 cat >>conftest.
$ac_ext <<_ACEOF
8185 /* end confdefs.h. */
8187 /* Override any GCC internal prototype to avoid an error.
8188 Use char because int might match the return type of a GCC
8189 builtin and then its argument prototype would still apply. */
8193 char XF86VidModeQueryExtension ();
8197 return XF86VidModeQueryExtension ();
8202 rm -f conftest.
$ac_objext conftest
$ac_exeext
8203 if { (ac_try
="$ac_link"
8205 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8206 *) ac_try_echo=$ac_try;;
8208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8209 (eval "$ac_link") 2>conftest.er1
8211 grep -v '^ *+' conftest.er1 >conftest.err
8213 cat conftest.err >&5
8214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8215 (exit $ac_status); } && {
8216 test -z "$ac_c_werror_flag" ||
8217 test ! -s conftest.err
8218 } && test -s conftest$ac_exeext &&
8219 $as_test_x conftest$ac_exeext; then
8220 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
8222 echo "$as_me: failed program was:" >&5
8223 sed 's/^/| /' conftest.$ac_ext >&5
8225 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
8228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8229 conftest$ac_exeext conftest.$ac_ext
8230 LIBS=$ac_check_lib_save_LIBS
8232 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8233 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
8234 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8236 cat >>confdefs.h <<\_ACEOF
8237 #define HAVE_LIBXXF86VM 1
8240 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
8246 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8248 cat >conftest.$ac_ext <<_ACEOF
8251 cat confdefs.h >>conftest.$ac_ext
8252 cat >>conftest.$ac_ext <<_ACEOF
8253 /* end confdefs.h. */
8254 #include <X11/Xlib.h>
8255 #include <X11/extensions/Xrandr.h>
8259 static typeof(XRRSetScreenConfigAndRate) * func;
8264 rm -f conftest.$ac_objext
8265 if { (ac_try="$ac_compile"
8267 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8268 *) ac_try_echo
=$ac_try;;
8270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8271 (eval "$ac_compile") 2>conftest.er1
8273 grep -v '^ *+' conftest.er1
>conftest.err
8275 cat conftest.err
>&5
8276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8277 (exit $ac_status); } && {
8278 test -z "$ac_c_werror_flag" ||
8279 test ! -s conftest.err
8280 } && test -s conftest.
$ac_objext; then
8282 cat >>confdefs.h
<<\_ACEOF
8283 #define HAVE_LIBXRANDR 1
8287 echo "$as_me: failed program was:" >&5
8288 sed 's/^/| /' conftest.
$ac_ext >&5
8293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8296 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8298 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8299 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
8300 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8301 echo $ECHO_N "(cached) $ECHO_C" >&6
8303 ac_check_lib_save_LIBS
=$LIBS
8304 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8305 cat >conftest.
$ac_ext <<_ACEOF
8308 cat confdefs.h
>>conftest.
$ac_ext
8309 cat >>conftest.
$ac_ext <<_ACEOF
8310 /* end confdefs.h. */
8312 /* Override any GCC internal prototype to avoid an error.
8313 Use char because int might match the return type of a GCC
8314 builtin and then its argument prototype would still apply. */
8318 char XRenderSetPictureTransform ();
8322 return XRenderSetPictureTransform ();
8327 rm -f conftest.
$ac_objext conftest
$ac_exeext
8328 if { (ac_try
="$ac_link"
8330 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8331 *) ac_try_echo=$ac_try;;
8333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8334 (eval "$ac_link") 2>conftest.er1
8336 grep -v '^ *+' conftest.er1 >conftest.err
8338 cat conftest.err >&5
8339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8340 (exit $ac_status); } && {
8341 test -z "$ac_c_werror_flag" ||
8342 test ! -s conftest.err
8343 } && test -s conftest$ac_exeext &&
8344 $as_test_x conftest$ac_exeext; then
8345 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8347 echo "$as_me: failed program was:" >&5
8348 sed 's/^/| /' conftest.$ac_ext >&5
8350 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8354 conftest$ac_exeext conftest.$ac_ext
8355 LIBS=$ac_check_lib_save_LIBS
8357 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8358 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8359 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8361 cat >>confdefs.h <<\_ACEOF
8362 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8369 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8371 cat >conftest.$ac_ext <<_ACEOF
8374 cat confdefs.h >>conftest.$ac_ext
8375 cat >>conftest.$ac_ext <<_ACEOF
8376 /* end confdefs.h. */
8377 #include <X11/Xlib.h>
8378 #include <X11/extensions/Xinerama.h>
8382 static typeof(XineramaQueryScreens) * func;
8387 rm -f conftest.$ac_objext
8388 if { (ac_try="$ac_compile"
8390 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8391 *) ac_try_echo
=$ac_try;;
8393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8394 (eval "$ac_compile") 2>conftest.er1
8396 grep -v '^ *+' conftest.er1
>conftest.err
8398 cat conftest.err
>&5
8399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8400 (exit $ac_status); } && {
8401 test -z "$ac_c_werror_flag" ||
8402 test ! -s conftest.err
8403 } && test -s conftest.
$ac_objext; then
8405 cat >>confdefs.h
<<\_ACEOF
8406 #define HAVE_LIBXINERAMA 1
8410 echo "$as_me: failed program was:" >&5
8411 sed 's/^/| /' conftest.
$ac_ext >&5
8416 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8420 if test "x$with_opengl" != "xno"
8426 for ac_header
in GL
/gl.h GL
/glx.h GL
/glext.h GL
/glu.h
8428 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8429 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8431 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8432 echo $ECHO_N "(cached) $ECHO_C" >&6
8434 cat >conftest.
$ac_ext <<_ACEOF
8437 cat confdefs.h
>>conftest.
$ac_ext
8438 cat >>conftest.
$ac_ext <<_ACEOF
8439 /* end confdefs.h. */
8440 #ifdef HAVE_GL_GLX_H
8441 # include <GL/glx.h>
8444 #include <$ac_header>
8446 rm -f conftest.
$ac_objext
8447 if { (ac_try
="$ac_compile"
8449 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8450 *) ac_try_echo=$ac_try;;
8452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8453 (eval "$ac_compile") 2>conftest.er1
8455 grep -v '^ *+' conftest.er1 >conftest.err
8457 cat conftest.err >&5
8458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8459 (exit $ac_status); } && {
8460 test -z "$ac_c_werror_flag" ||
8461 test ! -s conftest.err
8462 } && test -s conftest.$ac_objext; then
8463 eval "$as_ac_Header=yes"
8465 echo "$as_me: failed program was:" >&5
8466 sed 's/^/| /' conftest.$ac_ext >&5
8468 eval "$as_ac_Header=no"
8471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8473 ac_res=`eval echo '${'$as_ac_Header'}'`
8474 { echo "$as_me:$LINENO: result: $ac_res" >&5
8475 echo "${ECHO_T}$ac_res" >&6; }
8476 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8477 cat >>confdefs.h <<_ACEOF
8478 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8485 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8487 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8488 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
8489 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
8490 echo $ECHO_N "(cached) $ECHO_C" >&6
8492 cat >conftest.$ac_ext <<_ACEOF
8495 cat confdefs.h >>conftest.$ac_ext
8496 cat >>conftest.$ac_ext <<_ACEOF
8497 /* end confdefs.h. */
8502 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8507 rm -f conftest.$ac_objext
8508 if { (ac_try="$ac_compile"
8510 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8511 *) ac_try_echo
=$ac_try;;
8513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8514 (eval "$ac_compile") 2>conftest.er1
8516 grep -v '^ *+' conftest.er1
>conftest.err
8518 cat conftest.err
>&5
8519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8520 (exit $ac_status); } && {
8521 test -z "$ac_c_werror_flag" ||
8522 test ! -s conftest.err
8523 } && test -s conftest.
$ac_objext; then
8524 wine_cv_opengl_header_version_OK
="yes"
8526 echo "$as_me: failed program was:" >&5
8527 sed 's/^/| /' conftest.
$ac_ext >&5
8529 wine_cv_opengl_header_version_OK
="no"
8533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8536 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
8537 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
8539 if test "$wine_cv_opengl_header_version_OK" = "yes"
8541 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8542 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
8543 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8544 echo $ECHO_N "(cached) $ECHO_C" >&6
8546 ac_check_lib_save_LIBS
=$LIBS
8547 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8548 cat >conftest.
$ac_ext <<_ACEOF
8551 cat confdefs.h
>>conftest.
$ac_ext
8552 cat >>conftest.
$ac_ext <<_ACEOF
8553 /* end confdefs.h. */
8555 /* Override any GCC internal prototype to avoid an error.
8556 Use char because int might match the return type of a GCC
8557 builtin and then its argument prototype would still apply. */
8561 char glXCreateContext ();
8565 return glXCreateContext ();
8570 rm -f conftest.
$ac_objext conftest
$ac_exeext
8571 if { (ac_try
="$ac_link"
8573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8574 *) ac_try_echo=$ac_try;;
8576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8577 (eval "$ac_link") 2>conftest.er1
8579 grep -v '^ *+' conftest.er1 >conftest.err
8581 cat conftest.err >&5
8582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8583 (exit $ac_status); } && {
8584 test -z "$ac_c_werror_flag" ||
8585 test ! -s conftest.err
8586 } && test -s conftest$ac_exeext &&
8587 $as_test_x conftest$ac_exeext; then
8588 ac_cv_lib_GL_glXCreateContext=yes
8590 echo "$as_me: failed program was:" >&5
8591 sed 's/^/| /' conftest.$ac_ext >&5
8593 ac_cv_lib_GL_glXCreateContext=no
8596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8597 conftest$ac_exeext conftest.$ac_ext
8598 LIBS=$ac_check_lib_save_LIBS
8600 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8601 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
8602 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8604 OPENGLFILES='$(OPENGLFILES)'
8606 cat >>confdefs.h <<\_ACEOF
8607 #define HAVE_OPENGL 1
8614 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8615 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
8616 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8617 echo $ECHO_N "(cached) $ECHO_C" >&6
8619 ac_check_lib_save_LIBS=$LIBS
8620 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8622 cat >conftest.$ac_ext <<_ACEOF
8625 cat confdefs.h >>conftest.$ac_ext
8626 cat >>conftest.$ac_ext <<_ACEOF
8627 /* end confdefs.h. */
8629 /* Override any GCC internal prototype to avoid an error.
8630 Use char because int might match the return type of a GCC
8631 builtin and then its argument prototype would still apply. */
8639 return gluLookAt ();
8644 rm -f conftest.$ac_objext conftest$ac_exeext
8645 if { (ac_try="$ac_link"
8647 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8648 *) ac_try_echo
=$ac_try;;
8650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8651 (eval "$ac_link") 2>conftest.er1
8653 grep -v '^ *+' conftest.er1
>conftest.err
8655 cat conftest.err
>&5
8656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8657 (exit $ac_status); } && {
8658 test -z "$ac_c_werror_flag" ||
8659 test ! -s conftest.err
8660 } && test -s conftest
$ac_exeext &&
8661 $as_test_x conftest
$ac_exeext; then
8662 ac_cv_lib_GLU_gluLookAt
=yes
8664 echo "$as_me: failed program was:" >&5
8665 sed 's/^/| /' conftest.
$ac_ext >&5
8667 ac_cv_lib_GLU_gluLookAt
=no
8670 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8671 conftest
$ac_exeext conftest.
$ac_ext
8672 LIBS
=$ac_check_lib_save_LIBS
8674 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8675 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
8676 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8677 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
8678 GLU32FILES
='$(GLU32FILES)'
8684 wine_cv_opengl_headers_found
="no"
8690 for ac_header
in audio
/audiolib.h
8692 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8693 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8694 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8695 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8696 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8697 echo $ECHO_N "(cached) $ECHO_C" >&6
8699 ac_res
=`eval echo '${'$as_ac_Header'}'`
8700 { echo "$as_me:$LINENO: result: $ac_res" >&5
8701 echo "${ECHO_T}$ac_res" >&6; }
8703 # Is the header compilable?
8704 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8705 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8706 cat >conftest.
$ac_ext <<_ACEOF
8709 cat confdefs.h
>>conftest.
$ac_ext
8710 cat >>conftest.
$ac_ext <<_ACEOF
8711 /* end confdefs.h. */
8712 $ac_includes_default
8713 #include <$ac_header>
8715 rm -f conftest.
$ac_objext
8716 if { (ac_try
="$ac_compile"
8718 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8719 *) ac_try_echo=$ac_try;;
8721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8722 (eval "$ac_compile") 2>conftest.er1
8724 grep -v '^ *+' conftest.er1 >conftest.err
8726 cat conftest.err >&5
8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 (exit $ac_status); } && {
8729 test -z "$ac_c_werror_flag" ||
8730 test ! -s conftest.err
8731 } && test -s conftest.$ac_objext; then
8732 ac_header_compiler=yes
8734 echo "$as_me: failed program was:" >&5
8735 sed 's/^/| /' conftest.$ac_ext >&5
8737 ac_header_compiler=no
8740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8741 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8742 echo "${ECHO_T}$ac_header_compiler" >&6; }
8744 # Is the header present?
8745 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8746 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8747 cat >conftest.$ac_ext <<_ACEOF
8750 cat confdefs.h >>conftest.$ac_ext
8751 cat >>conftest.$ac_ext <<_ACEOF
8752 /* end confdefs.h. */
8753 #include <$ac_header>
8755 if { (ac_try="$ac_cpp conftest.$ac_ext"
8757 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8758 *) ac_try_echo
=$ac_try;;
8760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8761 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8763 grep -v '^ *+' conftest.er1
>conftest.err
8765 cat conftest.err
>&5
8766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8767 (exit $ac_status); } >/dev
/null
&& {
8768 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8769 test ! -s conftest.err
8771 ac_header_preproc
=yes
8773 echo "$as_me: failed program was:" >&5
8774 sed 's/^/| /' conftest.
$ac_ext >&5
8776 ac_header_preproc
=no
8779 rm -f conftest.err conftest.
$ac_ext
8780 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8781 echo "${ECHO_T}$ac_header_preproc" >&6; }
8783 # So? What about this header?
8784 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8786 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8787 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8788 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8789 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8790 ac_header_preproc
=yes
8793 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8794 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8795 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8796 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8797 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8798 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8799 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8800 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8801 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8802 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8803 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8804 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8806 ## ------------------------------------ ##
8807 ## Report this to wine-devel@winehq.org ##
8808 ## ------------------------------------ ##
8810 ) |
sed "s/^/$as_me: WARNING: /" >&2
8813 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8815 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8816 echo $ECHO_N "(cached) $ECHO_C" >&6
8818 eval "$as_ac_Header=\$ac_header_preproc"
8820 ac_res
=`eval echo '${'$as_ac_Header'}'`
8821 { echo "$as_me:$LINENO: result: $ac_res" >&5
8822 echo "${ECHO_T}$ac_res" >&6; }
8825 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8826 cat >>confdefs.h
<<_ACEOF
8827 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8830 for ac_header
in audio
/soundlib.h
8832 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8833 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8835 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8836 echo $ECHO_N "(cached) $ECHO_C" >&6
8838 cat >conftest.
$ac_ext <<_ACEOF
8841 cat confdefs.h
>>conftest.
$ac_ext
8842 cat >>conftest.
$ac_ext <<_ACEOF
8843 /* end confdefs.h. */
8844 #include <audio/audiolib.h>
8846 #include <$ac_header>
8848 rm -f conftest.
$ac_objext
8849 if { (ac_try
="$ac_compile"
8851 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8852 *) ac_try_echo=$ac_try;;
8854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8855 (eval "$ac_compile") 2>conftest.er1
8857 grep -v '^ *+' conftest.er1 >conftest.err
8859 cat conftest.err >&5
8860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8861 (exit $ac_status); } && {
8862 test -z "$ac_c_werror_flag" ||
8863 test ! -s conftest.err
8864 } && test -s conftest.$ac_objext; then
8865 eval "$as_ac_Header=yes"
8867 echo "$as_me: failed program was:" >&5
8868 sed 's/^/| /' conftest.$ac_ext >&5
8870 eval "$as_ac_Header=no"
8873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8875 ac_res=`eval echo '${'$as_ac_Header'}'`
8876 { echo "$as_me:$LINENO: result: $ac_res" >&5
8877 echo "${ECHO_T}$ac_res" >&6; }
8878 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8879 cat >>confdefs.h <<_ACEOF
8880 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8887 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8888 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
8889 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8890 echo $ECHO_N "(cached) $ECHO_C" >&6
8892 ac_check_lib_save_LIBS=$LIBS
8893 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8894 cat >conftest.$ac_ext <<_ACEOF
8897 cat confdefs.h >>conftest.$ac_ext
8898 cat >>conftest.$ac_ext <<_ACEOF
8899 /* end confdefs.h. */
8901 /* Override any GCC internal prototype to avoid an error.
8902 Use char because int might match the return type of a GCC
8903 builtin and then its argument prototype would still apply. */
8907 char AuCreateFlow ();
8911 return AuCreateFlow ();
8916 rm -f conftest.$ac_objext conftest$ac_exeext
8917 if { (ac_try="$ac_link"
8919 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8920 *) ac_try_echo
=$ac_try;;
8922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8923 (eval "$ac_link") 2>conftest.er1
8925 grep -v '^ *+' conftest.er1
>conftest.err
8927 cat conftest.err
>&5
8928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929 (exit $ac_status); } && {
8930 test -z "$ac_c_werror_flag" ||
8931 test ! -s conftest.err
8932 } && test -s conftest
$ac_exeext &&
8933 $as_test_x conftest
$ac_exeext; then
8934 ac_cv_lib_audio_AuCreateFlow
=yes
8936 echo "$as_me: failed program was:" >&5
8937 sed 's/^/| /' conftest.
$ac_ext >&5
8939 ac_cv_lib_audio_AuCreateFlow
=no
8942 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8943 conftest
$ac_exeext conftest.
$ac_ext
8944 LIBS
=$ac_check_lib_save_LIBS
8946 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8947 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
8948 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8950 cat >>confdefs.h
<<\_ACEOF
8954 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8962 CPPFLAGS
="$ac_save_CPPFLAGS"
8979 if test "$PKG_CONFIG" != "false"
8981 ac_save_CPPFLAGS
="$CPPFLAGS"
8982 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
8983 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
8984 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
8986 for ac_header
in libxml
/parser.h
8988 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8989 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8990 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8991 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8992 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8993 echo $ECHO_N "(cached) $ECHO_C" >&6
8995 ac_res
=`eval echo '${'$as_ac_Header'}'`
8996 { echo "$as_me:$LINENO: result: $ac_res" >&5
8997 echo "${ECHO_T}$ac_res" >&6; }
8999 # Is the header compilable?
9000 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9001 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9002 cat >conftest.
$ac_ext <<_ACEOF
9005 cat confdefs.h
>>conftest.
$ac_ext
9006 cat >>conftest.
$ac_ext <<_ACEOF
9007 /* end confdefs.h. */
9008 $ac_includes_default
9009 #include <$ac_header>
9011 rm -f conftest.
$ac_objext
9012 if { (ac_try
="$ac_compile"
9014 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9015 *) ac_try_echo=$ac_try;;
9017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9018 (eval "$ac_compile") 2>conftest.er1
9020 grep -v '^ *+' conftest.er1 >conftest.err
9022 cat conftest.err >&5
9023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9024 (exit $ac_status); } && {
9025 test -z "$ac_c_werror_flag" ||
9026 test ! -s conftest.err
9027 } && test -s conftest.$ac_objext; then
9028 ac_header_compiler=yes
9030 echo "$as_me: failed program was:" >&5
9031 sed 's/^/| /' conftest.$ac_ext >&5
9033 ac_header_compiler=no
9036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9037 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9038 echo "${ECHO_T}$ac_header_compiler" >&6; }
9040 # Is the header present?
9041 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9042 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9043 cat >conftest.$ac_ext <<_ACEOF
9046 cat confdefs.h >>conftest.$ac_ext
9047 cat >>conftest.$ac_ext <<_ACEOF
9048 /* end confdefs.h. */
9049 #include <$ac_header>
9051 if { (ac_try="$ac_cpp conftest.$ac_ext"
9053 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9054 *) ac_try_echo
=$ac_try;;
9056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9057 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9059 grep -v '^ *+' conftest.er1
>conftest.err
9061 cat conftest.err
>&5
9062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9063 (exit $ac_status); } >/dev
/null
&& {
9064 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9065 test ! -s conftest.err
9067 ac_header_preproc
=yes
9069 echo "$as_me: failed program was:" >&5
9070 sed 's/^/| /' conftest.
$ac_ext >&5
9072 ac_header_preproc
=no
9075 rm -f conftest.err conftest.
$ac_ext
9076 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9077 echo "${ECHO_T}$ac_header_preproc" >&6; }
9079 # So? What about this header?
9080 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9082 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9083 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9084 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9085 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9086 ac_header_preproc
=yes
9089 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9090 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9091 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9092 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9093 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9094 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9095 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9096 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9098 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9099 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9100 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9102 ## ------------------------------------ ##
9103 ## Report this to wine-devel@winehq.org ##
9104 ## ------------------------------------ ##
9106 ) |
sed "s/^/$as_me: WARNING: /" >&2
9109 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9110 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9111 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9112 echo $ECHO_N "(cached) $ECHO_C" >&6
9114 eval "$as_ac_Header=\$ac_header_preproc"
9116 ac_res
=`eval echo '${'$as_ac_Header'}'`
9117 { echo "$as_me:$LINENO: result: $ac_res" >&5
9118 echo "${ECHO_T}$ac_res" >&6; }
9121 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9122 cat >>confdefs.h
<<_ACEOF
9123 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9125 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
9126 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
9127 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
9128 echo $ECHO_N "(cached) $ECHO_C" >&6
9130 ac_check_lib_save_LIBS
=$LIBS
9131 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9132 cat >conftest.
$ac_ext <<_ACEOF
9135 cat confdefs.h
>>conftest.
$ac_ext
9136 cat >>conftest.
$ac_ext <<_ACEOF
9137 /* end confdefs.h. */
9139 /* Override any GCC internal prototype to avoid an error.
9140 Use char because int might match the return type of a GCC
9141 builtin and then its argument prototype would still apply. */
9145 char xmlParseMemory ();
9149 return xmlParseMemory ();
9154 rm -f conftest.
$ac_objext conftest
$ac_exeext
9155 if { (ac_try
="$ac_link"
9157 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9158 *) ac_try_echo=$ac_try;;
9160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9161 (eval "$ac_link") 2>conftest.er1
9163 grep -v '^ *+' conftest.er1 >conftest.err
9165 cat conftest.err >&5
9166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9167 (exit $ac_status); } && {
9168 test -z "$ac_c_werror_flag" ||
9169 test ! -s conftest.err
9170 } && test -s conftest$ac_exeext &&
9171 $as_test_x conftest$ac_exeext; then
9172 ac_cv_lib_xml2_xmlParseMemory=yes
9174 echo "$as_me: failed program was:" >&5
9175 sed 's/^/| /' conftest.$ac_ext >&5
9177 ac_cv_lib_xml2_xmlParseMemory=no
9180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9181 conftest$ac_exeext conftest.$ac_ext
9182 LIBS=$ac_check_lib_save_LIBS
9184 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9185 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9186 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
9188 cat >>confdefs.h <<\_ACEOF
9189 #define HAVE_LIBXML2 1
9192 XML2LIBS="$ac_xml_libs"
9193 XML2INCL="$ac_xml_cflags"
9196 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
9197 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
9198 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
9199 echo $ECHO_N "(cached) $ECHO_C" >&6
9201 ac_check_lib_save_LIBS=$LIBS
9202 LIBS="-lxml2 $ac_xml_libs $LIBS"
9203 cat >conftest.$ac_ext <<_ACEOF
9206 cat confdefs.h >>conftest.$ac_ext
9207 cat >>conftest.$ac_ext <<_ACEOF
9208 /* end confdefs.h. */
9210 /* Override any GCC internal prototype to avoid an error.
9211 Use char because int might match the return type of a GCC
9212 builtin and then its argument prototype would still apply. */
9216 char xmlReadMemory ();
9220 return xmlReadMemory ();
9225 rm -f conftest.$ac_objext conftest$ac_exeext
9226 if { (ac_try="$ac_link"
9228 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9229 *) ac_try_echo
=$ac_try;;
9231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9232 (eval "$ac_link") 2>conftest.er1
9234 grep -v '^ *+' conftest.er1
>conftest.err
9236 cat conftest.err
>&5
9237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9238 (exit $ac_status); } && {
9239 test -z "$ac_c_werror_flag" ||
9240 test ! -s conftest.err
9241 } && test -s conftest
$ac_exeext &&
9242 $as_test_x conftest
$ac_exeext; then
9243 ac_cv_lib_xml2_xmlReadMemory
=yes
9245 echo "$as_me: failed program was:" >&5
9246 sed 's/^/| /' conftest.
$ac_ext >&5
9248 ac_cv_lib_xml2_xmlReadMemory
=no
9251 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9252 conftest
$ac_exeext conftest.
$ac_ext
9253 LIBS
=$ac_check_lib_save_LIBS
9255 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9256 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9257 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
9259 cat >>confdefs.h
<<\_ACEOF
9260 #define HAVE_XMLREADMEMORY 1
9265 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
9266 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
9267 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
9268 echo $ECHO_N "(cached) $ECHO_C" >&6
9270 ac_check_lib_save_LIBS
=$LIBS
9271 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9272 cat >conftest.
$ac_ext <<_ACEOF
9275 cat confdefs.h
>>conftest.
$ac_ext
9276 cat >>conftest.
$ac_ext <<_ACEOF
9277 /* end confdefs.h. */
9279 /* Override any GCC internal prototype to avoid an error.
9280 Use char because int might match the return type of a GCC
9281 builtin and then its argument prototype would still apply. */
9285 char xmlNewDocPI ();
9289 return xmlNewDocPI ();
9294 rm -f conftest.
$ac_objext conftest
$ac_exeext
9295 if { (ac_try
="$ac_link"
9297 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9298 *) ac_try_echo=$ac_try;;
9300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9301 (eval "$ac_link") 2>conftest.er1
9303 grep -v '^ *+' conftest.er1 >conftest.err
9305 cat conftest.err >&5
9306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9307 (exit $ac_status); } && {
9308 test -z "$ac_c_werror_flag" ||
9309 test ! -s conftest.err
9310 } && test -s conftest$ac_exeext &&
9311 $as_test_x conftest$ac_exeext; then
9312 ac_cv_lib_xml2_xmlNewDocPI=yes
9314 echo "$as_me: failed program was:" >&5
9315 sed 's/^/| /' conftest.$ac_ext >&5
9317 ac_cv_lib_xml2_xmlNewDocPI=no
9320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9321 conftest$ac_exeext conftest.$ac_ext
9322 LIBS=$ac_check_lib_save_LIBS
9324 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9325 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9326 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
9328 cat >>confdefs.h <<\_ACEOF
9329 #define HAVE_XMLNEWDOCPI 1
9339 CPPFLAGS="$ac_save_CPPFLAGS"
9340 ac_xslt_libs="`$PKG_CONFIG --libs libxslt
2>/dev
/null
`"
9341 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt
2>/dev
/null
`"
9342 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9345 for ac_header in libxslt/pattern.h libxslt/transform.h
9347 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9348 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9350 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9351 echo $ECHO_N "(cached) $ECHO_C" >&6
9353 cat >conftest.$ac_ext <<_ACEOF
9356 cat confdefs.h >>conftest.$ac_ext
9357 cat >>conftest.$ac_ext <<_ACEOF
9358 /* end confdefs.h. */
9359 #ifdef HAVE_LIBXSLT_PATTERN_H
9360 # include <libxslt/pattern.h>
9363 #include <$ac_header>
9365 rm -f conftest.$ac_objext
9366 if { (ac_try="$ac_compile"
9368 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9369 *) ac_try_echo
=$ac_try;;
9371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9372 (eval "$ac_compile") 2>conftest.er1
9374 grep -v '^ *+' conftest.er1
>conftest.err
9376 cat conftest.err
>&5
9377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9378 (exit $ac_status); } && {
9379 test -z "$ac_c_werror_flag" ||
9380 test ! -s conftest.err
9381 } && test -s conftest.
$ac_objext; then
9382 eval "$as_ac_Header=yes"
9384 echo "$as_me: failed program was:" >&5
9385 sed 's/^/| /' conftest.
$ac_ext >&5
9387 eval "$as_ac_Header=no"
9390 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9392 ac_res
=`eval echo '${'$as_ac_Header'}'`
9393 { echo "$as_me:$LINENO: result: $ac_res" >&5
9394 echo "${ECHO_T}$ac_res" >&6; }
9395 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9396 cat >>confdefs.h
<<_ACEOF
9397 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9399 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
9400 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
9401 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
9402 echo $ECHO_N "(cached) $ECHO_C" >&6
9404 ac_check_lib_save_LIBS
=$LIBS
9405 LIBS
="-lxslt $ac_xslt_libs $LIBS"
9406 cat >conftest.
$ac_ext <<_ACEOF
9409 cat confdefs.h
>>conftest.
$ac_ext
9410 cat >>conftest.
$ac_ext <<_ACEOF
9411 /* end confdefs.h. */
9413 /* Override any GCC internal prototype to avoid an error.
9414 Use char because int might match the return type of a GCC
9415 builtin and then its argument prototype would still apply. */
9419 char xsltCompilePattern ();
9423 return xsltCompilePattern ();
9428 rm -f conftest.
$ac_objext conftest
$ac_exeext
9429 if { (ac_try
="$ac_link"
9431 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9432 *) ac_try_echo=$ac_try;;
9434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9435 (eval "$ac_link") 2>conftest.er1
9437 grep -v '^ *+' conftest.er1 >conftest.err
9439 cat conftest.err >&5
9440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9441 (exit $ac_status); } && {
9442 test -z "$ac_c_werror_flag" ||
9443 test ! -s conftest.err
9444 } && test -s conftest$ac_exeext &&
9445 $as_test_x conftest$ac_exeext; then
9446 ac_cv_lib_xslt_xsltCompilePattern=yes
9448 echo "$as_me: failed program was:" >&5
9449 sed 's/^/| /' conftest.$ac_ext >&5
9451 ac_cv_lib_xslt_xsltCompilePattern=no
9454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9455 conftest$ac_exeext conftest.$ac_ext
9456 LIBS=$ac_check_lib_save_LIBS
9458 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
9459 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
9460 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
9462 cat >>confdefs.h <<\_ACEOF
9463 #define HAVE_LIBXSLT 1
9466 XSLTLIBS="$ac_xslt_libs"
9467 XSLTINCL="$ac_xslt_cflags"
9475 CPPFLAGS="$ac_save_CPPFLAGS"
9480 if test "$PKG_CONFIG" != "false"
9482 ac_save_CPPFLAGS="$CPPFLAGS"
9483 ac_hal_libs="`$PKG_CONFIG --libs hal
2>/dev
/null
`"
9484 ac_hal_cflags="`$PKG_CONFIG --cflags hal
2>/dev
/null
`"
9485 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9488 for ac_header in dbus/dbus.h hal/libhal.h
9490 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9491 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9492 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9494 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9495 echo $ECHO_N "(cached) $ECHO_C" >&6
9497 ac_res=`eval echo '${'$as_ac_Header'}'`
9498 { echo "$as_me:$LINENO: result: $ac_res" >&5
9499 echo "${ECHO_T}$ac_res" >&6; }
9501 # Is the header compilable?
9502 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9503 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9504 cat >conftest.$ac_ext <<_ACEOF
9507 cat confdefs.h >>conftest.$ac_ext
9508 cat >>conftest.$ac_ext <<_ACEOF
9509 /* end confdefs.h. */
9510 $ac_includes_default
9511 #include <$ac_header>
9513 rm -f conftest.$ac_objext
9514 if { (ac_try="$ac_compile"
9516 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9517 *) ac_try_echo
=$ac_try;;
9519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9520 (eval "$ac_compile") 2>conftest.er1
9522 grep -v '^ *+' conftest.er1
>conftest.err
9524 cat conftest.err
>&5
9525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9526 (exit $ac_status); } && {
9527 test -z "$ac_c_werror_flag" ||
9528 test ! -s conftest.err
9529 } && test -s conftest.
$ac_objext; then
9530 ac_header_compiler
=yes
9532 echo "$as_me: failed program was:" >&5
9533 sed 's/^/| /' conftest.
$ac_ext >&5
9535 ac_header_compiler
=no
9538 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9539 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9540 echo "${ECHO_T}$ac_header_compiler" >&6; }
9542 # Is the header present?
9543 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9544 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9545 cat >conftest.
$ac_ext <<_ACEOF
9548 cat confdefs.h
>>conftest.
$ac_ext
9549 cat >>conftest.
$ac_ext <<_ACEOF
9550 /* end confdefs.h. */
9551 #include <$ac_header>
9553 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9556 *) ac_try_echo=$ac_try;;
9558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9559 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9561 grep -v '^ *+' conftest.er1 >conftest.err
9563 cat conftest.err >&5
9564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9565 (exit $ac_status); } >/dev/null && {
9566 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9567 test ! -s conftest.err
9569 ac_header_preproc=yes
9571 echo "$as_me: failed program was:" >&5
9572 sed 's/^/| /' conftest.$ac_ext >&5
9574 ac_header_preproc=no
9577 rm -f conftest.err conftest.$ac_ext
9578 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9579 echo "${ECHO_T}$ac_header_preproc" >&6; }
9581 # So? What about this header?
9582 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9584 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9585 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9587 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9588 ac_header_preproc=yes
9591 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9592 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9593 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9594 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9595 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9596 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9597 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9598 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9599 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9600 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9601 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9602 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9604 ## ------------------------------------ ##
9605 ## Report this to wine-devel@winehq.org ##
9606 ## ------------------------------------ ##
9608 ) | sed "s/^/$as_me: WARNING: /" >&2
9611 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9613 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9614 echo $ECHO_N "(cached) $ECHO_C" >&6
9616 eval "$as_ac_Header=\$ac_header_preproc"
9618 ac_res=`eval echo '${'$as_ac_Header'}'`
9619 { echo "$as_me:$LINENO: result: $ac_res" >&5
9620 echo "${ECHO_T}$ac_res" >&6; }
9623 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9624 cat >>confdefs.h <<_ACEOF
9625 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9632 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9634 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
9635 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
9636 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
9637 echo $ECHO_N "(cached) $ECHO_C" >&6
9639 ac_check_lib_save_LIBS=$LIBS
9641 cat >conftest.$ac_ext <<_ACEOF
9644 cat confdefs.h >>conftest.$ac_ext
9645 cat >>conftest.$ac_ext <<_ACEOF
9646 /* end confdefs.h. */
9648 /* Override any GCC internal prototype to avoid an error.
9649 Use char because int might match the return type of a GCC
9650 builtin and then its argument prototype would still apply. */
9654 char libhal_ctx_new ();
9658 return libhal_ctx_new ();
9663 rm -f conftest.$ac_objext conftest$ac_exeext
9664 if { (ac_try="$ac_link"
9666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9667 *) ac_try_echo
=$ac_try;;
9669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9670 (eval "$ac_link") 2>conftest.er1
9672 grep -v '^ *+' conftest.er1
>conftest.err
9674 cat conftest.err
>&5
9675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9676 (exit $ac_status); } && {
9677 test -z "$ac_c_werror_flag" ||
9678 test ! -s conftest.err
9679 } && test -s conftest
$ac_exeext &&
9680 $as_test_x conftest
$ac_exeext; then
9681 ac_cv_lib_hal_libhal_ctx_new
=yes
9683 echo "$as_me: failed program was:" >&5
9684 sed 's/^/| /' conftest.
$ac_ext >&5
9686 ac_cv_lib_hal_libhal_ctx_new
=no
9689 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9690 conftest
$ac_exeext conftest.
$ac_ext
9691 LIBS
=$ac_check_lib_save_LIBS
9693 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
9694 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
9695 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
9696 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
9697 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
9698 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
9699 echo $ECHO_N "(cached) $ECHO_C" >&6
9701 ac_check_lib_save_LIBS
=$LIBS
9702 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
9703 cat >conftest.
$ac_ext <<_ACEOF
9706 cat confdefs.h
>>conftest.
$ac_ext
9707 cat >>conftest.
$ac_ext <<_ACEOF
9708 /* end confdefs.h. */
9710 /* Override any GCC internal prototype to avoid an error.
9711 Use char because int might match the return type of a GCC
9712 builtin and then its argument prototype would still apply. */
9716 char dbus_connection_close ();
9720 return dbus_connection_close ();
9725 rm -f conftest.
$ac_objext conftest
$ac_exeext
9726 if { (ac_try
="$ac_link"
9728 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9729 *) ac_try_echo=$ac_try;;
9731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9732 (eval "$ac_link") 2>conftest.er1
9734 grep -v '^ *+' conftest.er1 >conftest.err
9736 cat conftest.err >&5
9737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9738 (exit $ac_status); } && {
9739 test -z "$ac_c_werror_flag" ||
9740 test ! -s conftest.err
9741 } && test -s conftest$ac_exeext &&
9742 $as_test_x conftest$ac_exeext; then
9743 ac_cv_lib_dbus_1_dbus_connection_close=yes
9745 echo "$as_me: failed program was:" >&5
9746 sed 's/^/| /' conftest.$ac_ext >&5
9748 ac_cv_lib_dbus_1_dbus_connection_close=no
9751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9752 conftest$ac_exeext conftest.$ac_ext
9753 LIBS=$ac_check_lib_save_LIBS
9755 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9756 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9757 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
9759 cat >>confdefs.h <<\_ACEOF
9760 #define HAVE_LIBHAL 1
9763 HALINCL="$ac_hal_cflags"
9769 CPPFLAGS="$ac_save_CPPFLAGS"
9773 if test "$ac_cv_header_ncurses_h" = "yes"
9775 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9776 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
9777 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9778 echo $ECHO_N "(cached) $ECHO_C" >&6
9780 ac_check_lib_save_LIBS=$LIBS
9781 LIBS="-lncurses $LIBS"
9782 cat >conftest.$ac_ext <<_ACEOF
9785 cat confdefs.h >>conftest.$ac_ext
9786 cat >>conftest.$ac_ext <<_ACEOF
9787 /* end confdefs.h. */
9789 /* Override any GCC internal prototype to avoid an error.
9790 Use char because int might match the return type of a GCC
9791 builtin and then its argument prototype would still apply. */
9804 rm -f conftest.$ac_objext conftest$ac_exeext
9805 if { (ac_try="$ac_link"
9807 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9808 *) ac_try_echo
=$ac_try;;
9810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9811 (eval "$ac_link") 2>conftest.er1
9813 grep -v '^ *+' conftest.er1
>conftest.err
9815 cat conftest.err
>&5
9816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9817 (exit $ac_status); } && {
9818 test -z "$ac_c_werror_flag" ||
9819 test ! -s conftest.err
9820 } && test -s conftest
$ac_exeext &&
9821 $as_test_x conftest
$ac_exeext; then
9822 ac_cv_lib_ncurses_waddch
=yes
9824 echo "$as_me: failed program was:" >&5
9825 sed 's/^/| /' conftest.
$ac_ext >&5
9827 ac_cv_lib_ncurses_waddch
=no
9830 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9831 conftest
$ac_exeext conftest.
$ac_ext
9832 LIBS
=$ac_check_lib_save_LIBS
9834 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9835 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
9836 if test $ac_cv_lib_ncurses_waddch = yes; then
9837 CURSESLIBS
="-lncurses"
9840 elif test "$ac_cv_header_curses_h" = "yes"
9842 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9843 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
9844 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9845 echo $ECHO_N "(cached) $ECHO_C" >&6
9847 ac_check_lib_save_LIBS
=$LIBS
9848 LIBS
="-lcurses $LIBS"
9849 cat >conftest.
$ac_ext <<_ACEOF
9852 cat confdefs.h
>>conftest.
$ac_ext
9853 cat >>conftest.
$ac_ext <<_ACEOF
9854 /* end confdefs.h. */
9856 /* Override any GCC internal prototype to avoid an error.
9857 Use char because int might match the return type of a GCC
9858 builtin and then its argument prototype would still apply. */
9871 rm -f conftest.
$ac_objext conftest
$ac_exeext
9872 if { (ac_try
="$ac_link"
9874 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9875 *) ac_try_echo=$ac_try;;
9877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9878 (eval "$ac_link") 2>conftest.er1
9880 grep -v '^ *+' conftest.er1 >conftest.err
9882 cat conftest.err >&5
9883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9884 (exit $ac_status); } && {
9885 test -z "$ac_c_werror_flag" ||
9886 test ! -s conftest.err
9887 } && test -s conftest$ac_exeext &&
9888 $as_test_x conftest$ac_exeext; then
9889 ac_cv_lib_curses_waddch=yes
9891 echo "$as_me: failed program was:" >&5
9892 sed 's/^/| /' conftest.$ac_ext >&5
9894 ac_cv_lib_curses_waddch=no
9897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9898 conftest$ac_exeext conftest.$ac_ext
9899 LIBS=$ac_check_lib_save_LIBS
9901 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9902 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
9903 if test $ac_cv_lib_curses_waddch = yes; then
9904 CURSESLIBS="-lcurses"
9908 ac_save_LIBS="$LIBS"
9909 LIBS="$LIBS $CURSESLIBS"
9911 for ac_func in mousemask
9913 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
9914 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9916 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9917 echo $ECHO_N "(cached) $ECHO_C" >&6
9919 cat >conftest.$ac_ext <<_ACEOF
9922 cat confdefs.h >>conftest.$ac_ext
9923 cat >>conftest.$ac_ext <<_ACEOF
9924 /* end confdefs.h. */
9925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9927 #define $ac_func innocuous_$ac_func
9929 /* System header to define __stub macros and hopefully few prototypes,
9930 which can conflict with char $ac_func (); below.
9931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9932 <limits.h> exists even on freestanding compilers. */
9935 # include <limits.h>
9937 # include <assert.h>
9942 /* Override any GCC internal prototype to avoid an error.
9943 Use char because int might match the return type of a GCC
9944 builtin and then its argument prototype would still apply. */
9949 /* The GNU C library defines this for functions which it implements
9950 to always fail with ENOSYS. Some functions are actually named
9951 something starting with __ and the normal name is an alias. */
9952 #if defined __stub_$ac_func || defined __stub___$ac_func
9964 rm -f conftest.$ac_objext conftest$ac_exeext
9965 if { (ac_try="$ac_link"
9967 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9968 *) ac_try_echo
=$ac_try;;
9970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9971 (eval "$ac_link") 2>conftest.er1
9973 grep -v '^ *+' conftest.er1
>conftest.err
9975 cat conftest.err
>&5
9976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9977 (exit $ac_status); } && {
9978 test -z "$ac_c_werror_flag" ||
9979 test ! -s conftest.err
9980 } && test -s conftest
$ac_exeext &&
9981 $as_test_x conftest
$ac_exeext; then
9982 eval "$as_ac_var=yes"
9984 echo "$as_me: failed program was:" >&5
9985 sed 's/^/| /' conftest.
$ac_ext >&5
9987 eval "$as_ac_var=no"
9990 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9991 conftest
$ac_exeext conftest.
$ac_ext
9993 ac_res
=`eval echo '${'$as_ac_var'}'`
9994 { echo "$as_me:$LINENO: result: $ac_res" >&5
9995 echo "${ECHO_T}$ac_res" >&6; }
9996 if test `eval echo '${'$as_ac_var'}'` = yes; then
9997 cat >>confdefs.h
<<_ACEOF
9998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10004 LIBS
="$ac_save_LIBS"
10006 # Extract the first word of "sane-config", so it can be a program name with args.
10007 set dummy sane-config
; ac_word
=$2
10008 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10010 if test "${ac_cv_prog_sane_devel+set}" = set; then
10011 echo $ECHO_N "(cached) $ECHO_C" >&6
10013 if test -n "$sane_devel"; then
10014 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
10016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10017 for as_dir
in $PATH
10020 test -z "$as_dir" && as_dir
=.
10021 for ac_exec_ext
in '' $ac_executable_extensions; do
10022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10023 ac_cv_prog_sane_devel
="sane-config"
10024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10031 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
10034 sane_devel
=$ac_cv_prog_sane_devel
10035 if test -n "$sane_devel"; then
10036 { echo "$as_me:$LINENO: result: $sane_devel" >&5
10037 echo "${ECHO_T}$sane_devel" >&6; }
10039 { echo "$as_me:$LINENO: result: no" >&5
10040 echo "${ECHO_T}no" >&6; }
10048 if test "$sane_devel" != "no"
10050 SANELIBS
="`$sane_devel --libs`"
10051 SANEINCL
="`$sane_devel --cflags`"
10052 ac_save_CPPFLAGS
="$CPPFLAGS"
10053 ac_save_LIBS
="$LIBS"
10054 CPPFLAGS
="$CPPFLAGS $SANEINCL"
10055 LIBS
="$LIBS $SANELIBS"
10056 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10057 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10058 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10059 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10060 echo $ECHO_N "(cached) $ECHO_C" >&6
10062 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10063 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10065 # Is the header compilable?
10066 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
10067 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
10068 cat >conftest.
$ac_ext <<_ACEOF
10071 cat confdefs.h
>>conftest.
$ac_ext
10072 cat >>conftest.
$ac_ext <<_ACEOF
10073 /* end confdefs.h. */
10074 $ac_includes_default
10075 #include <sane/sane.h>
10077 rm -f conftest.
$ac_objext
10078 if { (ac_try
="$ac_compile"
10079 case "(($ac_try" in
10080 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10081 *) ac_try_echo=$ac_try;;
10083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10084 (eval "$ac_compile") 2>conftest.er1
10086 grep -v '^ *+' conftest.er1 >conftest.err
10088 cat conftest.err >&5
10089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10090 (exit $ac_status); } && {
10091 test -z "$ac_c_werror_flag" ||
10092 test ! -s conftest.err
10093 } && test -s conftest.$ac_objext; then
10094 ac_header_compiler=yes
10096 echo "$as_me: failed program was:" >&5
10097 sed 's/^/| /' conftest.$ac_ext >&5
10099 ac_header_compiler=no
10102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10103 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10104 echo "${ECHO_T}$ac_header_compiler" >&6; }
10106 # Is the header present?
10107 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
10108 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
10109 cat >conftest.$ac_ext <<_ACEOF
10112 cat confdefs.h >>conftest.$ac_ext
10113 cat >>conftest.$ac_ext <<_ACEOF
10114 /* end confdefs.h. */
10115 #include <sane/sane.h>
10117 if { (ac_try="$ac_cpp conftest.$ac_ext"
10118 case "(($ac_try" in
10119 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10120 *) ac_try_echo
=$ac_try;;
10122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10123 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10125 grep -v '^ *+' conftest.er1
>conftest.err
10127 cat conftest.err
>&5
10128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10129 (exit $ac_status); } >/dev
/null
&& {
10130 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10131 test ! -s conftest.err
10133 ac_header_preproc
=yes
10135 echo "$as_me: failed program was:" >&5
10136 sed 's/^/| /' conftest.
$ac_ext >&5
10138 ac_header_preproc
=no
10141 rm -f conftest.err conftest.
$ac_ext
10142 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10143 echo "${ECHO_T}$ac_header_preproc" >&6; }
10145 # So? What about this header?
10146 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10148 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10149 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10150 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10151 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10152 ac_header_preproc
=yes
10155 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10156 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10157 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10158 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10159 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10160 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10161 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10162 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10163 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10164 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10165 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10166 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10168 ## ------------------------------------ ##
10169 ## Report this to wine-devel@winehq.org ##
10170 ## ------------------------------------ ##
10172 ) |
sed "s/^/$as_me: WARNING: /" >&2
10175 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10176 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10177 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10178 echo $ECHO_N "(cached) $ECHO_C" >&6
10180 ac_cv_header_sane_sane_h
=$ac_header_preproc
10182 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10183 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10186 if test $ac_cv_header_sane_sane_h = yes; then
10187 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
10188 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
10189 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
10190 echo $ECHO_N "(cached) $ECHO_C" >&6
10192 ac_check_lib_save_LIBS
=$LIBS
10193 LIBS
="-lsane $LIBS"
10194 cat >conftest.
$ac_ext <<_ACEOF
10197 cat confdefs.h
>>conftest.
$ac_ext
10198 cat >>conftest.
$ac_ext <<_ACEOF
10199 /* end confdefs.h. */
10201 /* Override any GCC internal prototype to avoid an error.
10202 Use char because int might match the return type of a GCC
10203 builtin and then its argument prototype would still apply. */
10211 return sane_open ();
10216 rm -f conftest.
$ac_objext conftest
$ac_exeext
10217 if { (ac_try
="$ac_link"
10218 case "(($ac_try" in
10219 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10220 *) ac_try_echo=$ac_try;;
10222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10223 (eval "$ac_link") 2>conftest.er1
10225 grep -v '^ *+' conftest.er1 >conftest.err
10227 cat conftest.err >&5
10228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10229 (exit $ac_status); } && {
10230 test -z "$ac_c_werror_flag" ||
10231 test ! -s conftest.err
10232 } && test -s conftest$ac_exeext &&
10233 $as_test_x conftest$ac_exeext; then
10234 ac_cv_lib_sane_sane_open=yes
10236 echo "$as_me: failed program was:" >&5
10237 sed 's/^/| /' conftest.$ac_ext >&5
10239 ac_cv_lib_sane_sane_open=no
10242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10243 conftest$ac_exeext conftest.$ac_ext
10244 LIBS=$ac_check_lib_save_LIBS
10246 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
10247 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
10248 if test $ac_cv_lib_sane_sane_open = yes; then
10250 cat >>confdefs.h <<\_ACEOF
10251 #define HAVE_SANE 1
10265 LIBS="$ac_save_LIBS"
10266 CPPFLAGS="$ac_save_CPPFLAGS"
10269 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10270 set dummy gphoto2-config; ac_word=$2
10271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10273 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
10274 echo $ECHO_N "(cached) $ECHO_C" >&6
10276 if test -n "$gphoto2_devel"; then
10277 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10280 for as_dir in $PATH
10283 test -z "$as_dir" && as_dir=.
10284 for ac_exec_ext in '' $ac_executable_extensions; do
10285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10286 ac_cv_prog_gphoto2_devel="gphoto2-config"
10287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10294 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10297 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10298 if test -n "$gphoto2_devel"; then
10299 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10300 echo "${ECHO_T}$gphoto2_devel" >&6; }
10302 { echo "$as_me:$LINENO: result: no" >&5
10303 echo "${ECHO_T}no" >&6; }
10307 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10308 set dummy gphoto2-port-config; ac_word=$2
10309 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10311 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
10312 echo $ECHO_N "(cached) $ECHO_C" >&6
10314 if test -n "$gphoto2port_devel"; then
10315 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10318 for as_dir in $PATH
10321 test -z "$as_dir" && as_dir=.
10322 for ac_exec_ext in '' $ac_executable_extensions; do
10323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10324 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10332 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10335 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10336 if test -n "$gphoto2port_devel"; then
10337 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
10338 echo "${ECHO_T}$gphoto2port_devel" >&6; }
10340 { echo "$as_me:$LINENO: result: no" >&5
10341 echo "${ECHO_T}no" >&6; }
10349 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10351 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10353 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10356 -L/usr/lib|-L/usr/lib64) ;;
10357 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
10360 ac_save_CPPFLAGS="$CPPFLAGS"
10361 ac_save_LIBS="$LIBS"
10362 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
10363 LIBS="$LIBS $GPHOTO2LIBS"
10364 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10365 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10366 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10367 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10368 echo $ECHO_N "(cached) $ECHO_C" >&6
10370 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10371 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10373 # Is the header compilable?
10374 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
10375 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
10376 cat >conftest.$ac_ext <<_ACEOF
10379 cat confdefs.h >>conftest.$ac_ext
10380 cat >>conftest.$ac_ext <<_ACEOF
10381 /* end confdefs.h. */
10382 $ac_includes_default
10383 #include <gphoto2-camera.h>
10385 rm -f conftest.$ac_objext
10386 if { (ac_try="$ac_compile"
10387 case "(($ac_try" in
10388 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10389 *) ac_try_echo
=$ac_try;;
10391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10392 (eval "$ac_compile") 2>conftest.er1
10394 grep -v '^ *+' conftest.er1
>conftest.err
10396 cat conftest.err
>&5
10397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10398 (exit $ac_status); } && {
10399 test -z "$ac_c_werror_flag" ||
10400 test ! -s conftest.err
10401 } && test -s conftest.
$ac_objext; then
10402 ac_header_compiler
=yes
10404 echo "$as_me: failed program was:" >&5
10405 sed 's/^/| /' conftest.
$ac_ext >&5
10407 ac_header_compiler
=no
10410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10411 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10412 echo "${ECHO_T}$ac_header_compiler" >&6; }
10414 # Is the header present?
10415 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
10416 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
10417 cat >conftest.
$ac_ext <<_ACEOF
10420 cat confdefs.h
>>conftest.
$ac_ext
10421 cat >>conftest.
$ac_ext <<_ACEOF
10422 /* end confdefs.h. */
10423 #include <gphoto2-camera.h>
10425 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10426 case "(($ac_try" in
10427 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10428 *) ac_try_echo=$ac_try;;
10430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10431 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10433 grep -v '^ *+' conftest.er1 >conftest.err
10435 cat conftest.err >&5
10436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10437 (exit $ac_status); } >/dev/null && {
10438 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10439 test ! -s conftest.err
10441 ac_header_preproc=yes
10443 echo "$as_me: failed program was:" >&5
10444 sed 's/^/| /' conftest.$ac_ext >&5
10446 ac_header_preproc=no
10449 rm -f conftest.err conftest.$ac_ext
10450 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10451 echo "${ECHO_T}$ac_header_preproc" >&6; }
10453 # So? What about this header?
10454 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10456 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
10457 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10458 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
10459 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
10460 ac_header_preproc=yes
10463 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
10464 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
10465 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
10466 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
10467 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
10468 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
10469 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
10470 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
10471 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
10472 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
10473 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
10474 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
10476 ## ------------------------------------ ##
10477 ## Report this to wine-devel@winehq.org ##
10478 ## ------------------------------------ ##
10480 ) | sed "s/^/$as_me: WARNING: /" >&2
10483 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10484 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10485 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10486 echo $ECHO_N "(cached) $ECHO_C" >&6
10488 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
10490 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10491 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10494 if test $ac_cv_header_gphoto2_camera_h = yes; then
10495 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
10496 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
10497 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
10498 echo $ECHO_N "(cached) $ECHO_C" >&6
10500 ac_check_lib_save_LIBS=$LIBS
10501 LIBS="-lgphoto2 $LIBS"
10502 cat >conftest.$ac_ext <<_ACEOF
10505 cat confdefs.h >>conftest.$ac_ext
10506 cat >>conftest.$ac_ext <<_ACEOF
10507 /* end confdefs.h. */
10509 /* Override any GCC internal prototype to avoid an error.
10510 Use char because int might match the return type of a GCC
10511 builtin and then its argument prototype would still apply. */
10515 char gp_camera_new ();
10519 return gp_camera_new ();
10524 rm -f conftest.$ac_objext conftest$ac_exeext
10525 if { (ac_try="$ac_link"
10526 case "(($ac_try" in
10527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10528 *) ac_try_echo
=$ac_try;;
10530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10531 (eval "$ac_link") 2>conftest.er1
10533 grep -v '^ *+' conftest.er1
>conftest.err
10535 cat conftest.err
>&5
10536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10537 (exit $ac_status); } && {
10538 test -z "$ac_c_werror_flag" ||
10539 test ! -s conftest.err
10540 } && test -s conftest
$ac_exeext &&
10541 $as_test_x conftest
$ac_exeext; then
10542 ac_cv_lib_gphoto2_gp_camera_new
=yes
10544 echo "$as_me: failed program was:" >&5
10545 sed 's/^/| /' conftest.
$ac_ext >&5
10547 ac_cv_lib_gphoto2_gp_camera_new
=no
10550 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10551 conftest
$ac_exeext conftest.
$ac_ext
10552 LIBS
=$ac_check_lib_save_LIBS
10554 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10555 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10556 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
10558 cat >>confdefs.h
<<\_ACEOF
10559 #define HAVE_GPHOTO2 1
10573 LIBS
="$ac_save_LIBS"
10574 CPPFLAGS
="$ac_save_CPPFLAGS"
10577 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10580 for i
in ${ICU_LIB_DIR-/usr/lib}/libsicu
${ICU_LIB_DIR-/usr/lib}/libicu
10582 TEST_ICUUC_LIB
="${ICUUC_LIB-${i}uc.a}"
10583 TEST_ICUDATA_LIB
="${ICUDATA_LIB-${i}data.a}"
10584 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
10585 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
10586 LIBS
="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10587 cat >conftest.
$ac_ext <<_ACEOF
10590 cat confdefs.h
>>conftest.
$ac_ext
10591 cat >>conftest.
$ac_ext <<_ACEOF
10592 /* end confdefs.h. */
10593 #include <unicode/ubidi.h>
10602 rm -f conftest.
$ac_objext conftest
$ac_exeext
10603 if { (ac_try
="$ac_link"
10604 case "(($ac_try" in
10605 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10606 *) ac_try_echo=$ac_try;;
10608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10609 (eval "$ac_link") 2>conftest.er1
10611 grep -v '^ *+' conftest.er1 >conftest.err
10613 cat conftest.err >&5
10614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10615 (exit $ac_status); } && {
10616 test -z "$ac_c_werror_flag" ||
10617 test ! -s conftest.err
10618 } && test -s conftest$ac_exeext &&
10619 $as_test_x conftest$ac_exeext; then
10621 cat >>confdefs.h <<\_ACEOF
10625 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10627 { echo "$as_me:$LINENO: result: yes" >&5
10628 echo "${ECHO_T}yes" >&6; }
10630 echo "$as_me: failed program was:" >&5
10631 sed 's/^/| /' conftest.$ac_ext >&5
10633 { echo "$as_me:$LINENO: result: no" >&5
10634 echo "${ECHO_T}no" >&6; }
10637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10638 conftest$ac_exeext conftest.$ac_ext
10645 if test "$ac_cv_header_resolv_h" = "yes"
10647 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
10648 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
10649 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
10650 echo $ECHO_N "(cached) $ECHO_C" >&6
10652 ac_check_lib_save_LIBS=$LIBS
10653 LIBS="-lresolv $LIBS"
10654 cat >conftest.$ac_ext <<_ACEOF
10657 cat confdefs.h >>conftest.$ac_ext
10658 cat >>conftest.$ac_ext <<_ACEOF
10659 /* end confdefs.h. */
10661 /* Override any GCC internal prototype to avoid an error.
10662 Use char because int might match the return type of a GCC
10663 builtin and then its argument prototype would still apply. */
10671 return res_query ();
10676 rm -f conftest.$ac_objext conftest$ac_exeext
10677 if { (ac_try="$ac_link"
10678 case "(($ac_try" in
10679 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10680 *) ac_try_echo
=$ac_try;;
10682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10683 (eval "$ac_link") 2>conftest.er1
10685 grep -v '^ *+' conftest.er1
>conftest.err
10687 cat conftest.err
>&5
10688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10689 (exit $ac_status); } && {
10690 test -z "$ac_c_werror_flag" ||
10691 test ! -s conftest.err
10692 } && test -s conftest
$ac_exeext &&
10693 $as_test_x conftest
$ac_exeext; then
10694 ac_cv_lib_resolv_res_query
=yes
10696 echo "$as_me: failed program was:" >&5
10697 sed 's/^/| /' conftest.
$ac_ext >&5
10699 ac_cv_lib_resolv_res_query
=no
10702 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10703 conftest
$ac_exeext conftest.
$ac_ext
10704 LIBS
=$ac_check_lib_save_LIBS
10706 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
10707 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
10708 if test $ac_cv_lib_resolv_res_query = yes; then
10710 cat >>confdefs.h
<<\_ACEOF
10711 #define HAVE_RESOLV 1
10714 RESOLVLIBS
="-lresolv"
10721 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10723 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
10724 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
10725 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
10726 echo $ECHO_N "(cached) $ECHO_C" >&6
10728 ac_check_lib_save_LIBS
=$LIBS
10729 LIBS
="-llcms $LIBS"
10730 cat >conftest.
$ac_ext <<_ACEOF
10733 cat confdefs.h
>>conftest.
$ac_ext
10734 cat >>conftest.
$ac_ext <<_ACEOF
10735 /* end confdefs.h. */
10737 /* Override any GCC internal prototype to avoid an error.
10738 Use char because int might match the return type of a GCC
10739 builtin and then its argument prototype would still apply. */
10743 char cmsOpenProfileFromFile ();
10747 return cmsOpenProfileFromFile ();
10752 rm -f conftest.
$ac_objext conftest
$ac_exeext
10753 if { (ac_try
="$ac_link"
10754 case "(($ac_try" in
10755 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10756 *) ac_try_echo=$ac_try;;
10758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10759 (eval "$ac_link") 2>conftest.er1
10761 grep -v '^ *+' conftest.er1 >conftest.err
10763 cat conftest.err >&5
10764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10765 (exit $ac_status); } && {
10766 test -z "$ac_c_werror_flag" ||
10767 test ! -s conftest.err
10768 } && test -s conftest$ac_exeext &&
10769 $as_test_x conftest$ac_exeext; then
10770 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10772 echo "$as_me: failed program was:" >&5
10773 sed 's/^/| /' conftest.$ac_ext >&5
10775 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10779 conftest$ac_exeext conftest.$ac_ext
10780 LIBS=$ac_check_lib_save_LIBS
10782 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10783 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10784 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
10786 cat >>confdefs.h <<\_ACEOF
10787 #define HAVE_LCMS 1
10797 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
10799 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
10800 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
10801 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
10802 echo $ECHO_N "(cached) $ECHO_C" >&6
10804 ac_check_lib_save_LIBS=$LIBS
10805 LIBS="-lldap_r $LIBPTHREAD $LIBS"
10806 cat >conftest.$ac_ext <<_ACEOF
10809 cat confdefs.h >>conftest.$ac_ext
10810 cat >>conftest.$ac_ext <<_ACEOF
10811 /* end confdefs.h. */
10813 /* Override any GCC internal prototype to avoid an error.
10814 Use char because int might match the return type of a GCC
10815 builtin and then its argument prototype would still apply. */
10819 char ldap_initialize ();
10823 return ldap_initialize ();
10828 rm -f conftest.$ac_objext conftest$ac_exeext
10829 if { (ac_try="$ac_link"
10830 case "(($ac_try" in
10831 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10832 *) ac_try_echo
=$ac_try;;
10834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10835 (eval "$ac_link") 2>conftest.er1
10837 grep -v '^ *+' conftest.er1
>conftest.err
10839 cat conftest.err
>&5
10840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10841 (exit $ac_status); } && {
10842 test -z "$ac_c_werror_flag" ||
10843 test ! -s conftest.err
10844 } && test -s conftest
$ac_exeext &&
10845 $as_test_x conftest
$ac_exeext; then
10846 ac_cv_lib_ldap_r_ldap_initialize
=yes
10848 echo "$as_me: failed program was:" >&5
10849 sed 's/^/| /' conftest.
$ac_ext >&5
10851 ac_cv_lib_ldap_r_ldap_initialize
=no
10854 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10855 conftest
$ac_exeext conftest.
$ac_ext
10856 LIBS
=$ac_check_lib_save_LIBS
10858 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
10859 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
10860 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
10861 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
10862 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
10863 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
10864 echo $ECHO_N "(cached) $ECHO_C" >&6
10866 ac_check_lib_save_LIBS
=$LIBS
10867 LIBS
="-llber $LIBPTHREAD $LIBS"
10868 cat >conftest.
$ac_ext <<_ACEOF
10871 cat confdefs.h
>>conftest.
$ac_ext
10872 cat >>conftest.
$ac_ext <<_ACEOF
10873 /* end confdefs.h. */
10875 /* Override any GCC internal prototype to avoid an error.
10876 Use char because int might match the return type of a GCC
10877 builtin and then its argument prototype would still apply. */
10885 return ber_init ();
10890 rm -f conftest.
$ac_objext conftest
$ac_exeext
10891 if { (ac_try
="$ac_link"
10892 case "(($ac_try" in
10893 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10894 *) ac_try_echo=$ac_try;;
10896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10897 (eval "$ac_link") 2>conftest.er1
10899 grep -v '^ *+' conftest.er1 >conftest.err
10901 cat conftest.err >&5
10902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10903 (exit $ac_status); } && {
10904 test -z "$ac_c_werror_flag" ||
10905 test ! -s conftest.err
10906 } && test -s conftest$ac_exeext &&
10907 $as_test_x conftest$ac_exeext; then
10908 ac_cv_lib_lber_ber_init=yes
10910 echo "$as_me: failed program was:" >&5
10911 sed 's/^/| /' conftest.$ac_ext >&5
10913 ac_cv_lib_lber_ber_init=no
10916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10917 conftest$ac_exeext conftest.$ac_ext
10918 LIBS=$ac_check_lib_save_LIBS
10920 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
10921 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
10922 if test $ac_cv_lib_lber_ber_init = yes; then
10924 cat >>confdefs.h <<\_ACEOF
10925 #define HAVE_LDAP 1
10928 LDAPLIBS="-lldap_r -llber"
10933 ac_wine_check_funcs_save_LIBS="$LIBS"
10934 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
10940 ldap_count_references \
10941 ldap_first_reference \
10942 ldap_next_reference \
10943 ldap_parse_reference
10945 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
10946 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10948 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10949 echo $ECHO_N "(cached) $ECHO_C" >&6
10951 cat >conftest.$ac_ext <<_ACEOF
10954 cat confdefs.h >>conftest.$ac_ext
10955 cat >>conftest.$ac_ext <<_ACEOF
10956 /* end confdefs.h. */
10957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10959 #define $ac_func innocuous_$ac_func
10961 /* System header to define __stub macros and hopefully few prototypes,
10962 which can conflict with char $ac_func (); below.
10963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10964 <limits.h> exists even on freestanding compilers. */
10967 # include <limits.h>
10969 # include <assert.h>
10974 /* Override any GCC internal prototype to avoid an error.
10975 Use char because int might match the return type of a GCC
10976 builtin and then its argument prototype would still apply. */
10981 /* The GNU C library defines this for functions which it implements
10982 to always fail with ENOSYS. Some functions are actually named
10983 something starting with __ and the normal name is an alias. */
10984 #if defined __stub_$ac_func || defined __stub___$ac_func
10991 return $ac_func ();
10996 rm -f conftest.$ac_objext conftest$ac_exeext
10997 if { (ac_try="$ac_link"
10998 case "(($ac_try" in
10999 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11000 *) ac_try_echo
=$ac_try;;
11002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11003 (eval "$ac_link") 2>conftest.er1
11005 grep -v '^ *+' conftest.er1
>conftest.err
11007 cat conftest.err
>&5
11008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11009 (exit $ac_status); } && {
11010 test -z "$ac_c_werror_flag" ||
11011 test ! -s conftest.err
11012 } && test -s conftest
$ac_exeext &&
11013 $as_test_x conftest
$ac_exeext; then
11014 eval "$as_ac_var=yes"
11016 echo "$as_me: failed program was:" >&5
11017 sed 's/^/| /' conftest.
$ac_ext >&5
11019 eval "$as_ac_var=no"
11022 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11023 conftest
$ac_exeext conftest.
$ac_ext
11025 ac_res
=`eval echo '${'$as_ac_var'}'`
11026 { echo "$as_me:$LINENO: result: $ac_res" >&5
11027 echo "${ECHO_T}$ac_res" >&6; }
11028 if test `eval echo '${'$as_ac_var'}'` = yes; then
11029 cat >>confdefs.h
<<_ACEOF
11030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11036 LIBS
="$ac_wine_check_funcs_save_LIBS"
11043 # Extract the first word of "freetype-config", so it can be a program name with args.
11044 set dummy freetype-config
; ac_word
=$2
11045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11047 if test "${ac_cv_prog_ft_devel+set}" = set; then
11048 echo $ECHO_N "(cached) $ECHO_C" >&6
11050 if test -n "$ft_devel"; then
11051 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
11053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11054 for as_dir
in $PATH
11057 test -z "$as_dir" && as_dir
=.
11058 for ac_exec_ext
in '' $ac_executable_extensions; do
11059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11060 ac_cv_prog_ft_devel
="freetype-config"
11061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11068 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
11071 ft_devel
=$ac_cv_prog_ft_devel
11072 if test -n "$ft_devel"; then
11073 { echo "$as_me:$LINENO: result: $ft_devel" >&5
11074 echo "${ECHO_T}$ft_devel" >&6; }
11076 { echo "$as_me:$LINENO: result: no" >&5
11077 echo "${ECHO_T}no" >&6; }
11081 if test "$ft_devel" = "no"
11083 # Extract the first word of "freetype2-config", so it can be a program name with args.
11084 set dummy freetype2-config
; ac_word
=$2
11085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11087 if test "${ac_cv_prog_ft_devel2+set}" = set; then
11088 echo $ECHO_N "(cached) $ECHO_C" >&6
11090 if test -n "$ft_devel2"; then
11091 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
11093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11094 for as_dir
in $PATH
11097 test -z "$as_dir" && as_dir
=.
11098 for ac_exec_ext
in '' $ac_executable_extensions; do
11099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11100 ac_cv_prog_ft_devel2
="freetype2-config"
11101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11108 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
11111 ft_devel2
=$ac_cv_prog_ft_devel2
11112 if test -n "$ft_devel2"; then
11113 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
11114 echo "${ECHO_T}$ft_devel2" >&6; }
11116 { echo "$as_me:$LINENO: result: no" >&5
11117 echo "${ECHO_T}no" >&6; }
11121 if test "$ft_devel2" = "freetype2-config"
11123 ft_devel
=$ft_devel2
11127 if test "$ft_devel" = "no"
11129 wine_cv_msg_freetype
=yes
11131 FREETYPELIBS
=`$ft_devel --libs`
11132 FREETYPEINCL
=`$ft_devel --cflags`
11133 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
11134 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
11135 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
11136 echo $ECHO_N "(cached) $ECHO_C" >&6
11138 ac_check_lib_save_LIBS
=$LIBS
11139 LIBS
="-lfreetype $FREETYPELIBS $LIBS"
11140 cat >conftest.
$ac_ext <<_ACEOF
11143 cat confdefs.h
>>conftest.
$ac_ext
11144 cat >>conftest.
$ac_ext <<_ACEOF
11145 /* end confdefs.h. */
11147 /* Override any GCC internal prototype to avoid an error.
11148 Use char because int might match the return type of a GCC
11149 builtin and then its argument prototype would still apply. */
11153 char FT_Init_FreeType ();
11157 return FT_Init_FreeType ();
11162 rm -f conftest.
$ac_objext conftest
$ac_exeext
11163 if { (ac_try
="$ac_link"
11164 case "(($ac_try" in
11165 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11166 *) ac_try_echo=$ac_try;;
11168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11169 (eval "$ac_link") 2>conftest.er1
11171 grep -v '^ *+' conftest.er1 >conftest.err
11173 cat conftest.err >&5
11174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11175 (exit $ac_status); } && {
11176 test -z "$ac_c_werror_flag" ||
11177 test ! -s conftest.err
11178 } && test -s conftest$ac_exeext &&
11179 $as_test_x conftest$ac_exeext; then
11180 ac_cv_lib_freetype_FT_Init_FreeType=yes
11182 echo "$as_me: failed program was:" >&5
11183 sed 's/^/| /' conftest.$ac_ext >&5
11185 ac_cv_lib_freetype_FT_Init_FreeType=no
11188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11189 conftest$ac_exeext conftest.$ac_ext
11190 LIBS=$ac_check_lib_save_LIBS
11192 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
11193 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
11194 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
11200 if test "$ft_lib" = "no"
11202 wine_cv_msg_freetype=yes
11206 ac_save_CPPFLAGS="$CPPFLAGS"
11207 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
11219 for ac_header in ft2build.h \
11220 freetype/freetype.h \
11221 freetype/ftglyph.h \
11222 freetype/tttables.h \
11223 freetype/ftnames.h \
11224 freetype/ftsnames.h \
11225 freetype/ttnameid.h \
11226 freetype/ftoutln.h \
11227 freetype/ftwinfnt.h \
11228 freetype/ftmodapi.h \
11229 freetype/internal/sfnt.h
11231 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11232 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11234 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11235 echo $ECHO_N "(cached) $ECHO_C" >&6
11237 cat >conftest.$ac_ext <<_ACEOF
11240 cat confdefs.h >>conftest.$ac_ext
11241 cat >>conftest.$ac_ext <<_ACEOF
11242 /* end confdefs.h. */
11243 #if HAVE_FT2BUILD_H
11244 #include <ft2build.h>
11247 #include <$ac_header>
11249 rm -f conftest.$ac_objext
11250 if { (ac_try="$ac_compile"
11251 case "(($ac_try" in
11252 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11253 *) ac_try_echo
=$ac_try;;
11255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11256 (eval "$ac_compile") 2>conftest.er1
11258 grep -v '^ *+' conftest.er1
>conftest.err
11260 cat conftest.err
>&5
11261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11262 (exit $ac_status); } && {
11263 test -z "$ac_c_werror_flag" ||
11264 test ! -s conftest.err
11265 } && test -s conftest.
$ac_objext; then
11266 eval "$as_ac_Header=yes"
11268 echo "$as_me: failed program was:" >&5
11269 sed 's/^/| /' conftest.
$ac_ext >&5
11271 eval "$as_ac_Header=no"
11274 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11276 ac_res
=`eval echo '${'$as_ac_Header'}'`
11277 { echo "$as_me:$LINENO: result: $ac_res" >&5
11278 echo "${ECHO_T}$ac_res" >&6; }
11279 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11280 cat >>confdefs.h
<<_ACEOF
11281 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11288 cat >conftest.
$ac_ext <<_ACEOF
11291 cat confdefs.h
>>conftest.
$ac_ext
11292 cat >>conftest.
$ac_ext <<_ACEOF
11293 /* end confdefs.h. */
11294 #include <ft2build.h>
11295 #include <freetype/fttrigon.h>
11297 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11298 case "(($ac_try" in
11299 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11300 *) ac_try_echo=$ac_try;;
11302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11303 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11305 grep -v '^ *+' conftest.er1 >conftest.err
11307 cat conftest.err >&5
11308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11309 (exit $ac_status); } >/dev/null && {
11310 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11311 test ! -s conftest.err
11314 cat >>confdefs.h <<\_ACEOF
11315 #define HAVE_FREETYPE_FTTRIGON_H 1
11318 wine_cv_fttrigon=yes
11320 echo "$as_me: failed program was:" >&5
11321 sed 's/^/| /' conftest.$ac_ext >&5
11323 wine_cv_fttrigon=no
11326 rm -f conftest.err conftest.$ac_ext
11327 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
11328 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
11329 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
11330 echo $ECHO_N "(cached) $ECHO_C" >&6
11332 cat >conftest.$ac_ext <<_ACEOF
11335 cat confdefs.h >>conftest.$ac_ext
11336 cat >>conftest.$ac_ext <<_ACEOF
11337 /* end confdefs.h. */
11338 #include <freetype/ftmodapi.h>
11340 typedef FT_TrueTypeEngineType ac__type_new_;
11344 if ((ac__type_new_ *) 0)
11346 if (sizeof (ac__type_new_))
11352 rm -f conftest.$ac_objext
11353 if { (ac_try="$ac_compile"
11354 case "(($ac_try" in
11355 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11356 *) ac_try_echo
=$ac_try;;
11358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11359 (eval "$ac_compile") 2>conftest.er1
11361 grep -v '^ *+' conftest.er1
>conftest.err
11363 cat conftest.err
>&5
11364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11365 (exit $ac_status); } && {
11366 test -z "$ac_c_werror_flag" ||
11367 test ! -s conftest.err
11368 } && test -s conftest.
$ac_objext; then
11369 ac_cv_type_FT_TrueTypeEngineType
=yes
11371 echo "$as_me: failed program was:" >&5
11372 sed 's/^/| /' conftest.
$ac_ext >&5
11374 ac_cv_type_FT_TrueTypeEngineType
=no
11377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11379 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
11380 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
11381 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
11383 cat >>confdefs.h
<<_ACEOF
11384 #define HAVE_FT_TRUETYPEENGINETYPE 1
11390 ac_save_CFLAGS
="$CFLAGS"
11391 CFLAGS
="$CFLAGS $FREETYPELIBS"
11393 for ac_func
in FT_Load_Sfnt_Table
11395 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11396 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11398 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11399 echo $ECHO_N "(cached) $ECHO_C" >&6
11401 cat >conftest.
$ac_ext <<_ACEOF
11404 cat confdefs.h
>>conftest.
$ac_ext
11405 cat >>conftest.
$ac_ext <<_ACEOF
11406 /* end confdefs.h. */
11407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11409 #define $ac_func innocuous_$ac_func
11411 /* System header to define __stub macros and hopefully few prototypes,
11412 which can conflict with char $ac_func (); below.
11413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11414 <limits.h> exists even on freestanding compilers. */
11417 # include <limits.h>
11419 # include <assert.h>
11424 /* Override any GCC internal prototype to avoid an error.
11425 Use char because int might match the return type of a GCC
11426 builtin and then its argument prototype would still apply. */
11431 /* The GNU C library defines this for functions which it implements
11432 to always fail with ENOSYS. Some functions are actually named
11433 something starting with __ and the normal name is an alias. */
11434 #if defined __stub_$ac_func || defined __stub___$ac_func
11441 return $ac_func ();
11446 rm -f conftest.
$ac_objext conftest
$ac_exeext
11447 if { (ac_try
="$ac_link"
11448 case "(($ac_try" in
11449 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11450 *) ac_try_echo=$ac_try;;
11452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11453 (eval "$ac_link") 2>conftest.er1
11455 grep -v '^ *+' conftest.er1 >conftest.err
11457 cat conftest.err >&5
11458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11459 (exit $ac_status); } && {
11460 test -z "$ac_c_werror_flag" ||
11461 test ! -s conftest.err
11462 } && test -s conftest$ac_exeext &&
11463 $as_test_x conftest$ac_exeext; then
11464 eval "$as_ac_var=yes"
11466 echo "$as_me: failed program was:" >&5
11467 sed 's/^/| /' conftest.$ac_ext >&5
11469 eval "$as_ac_var=no"
11472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11473 conftest$ac_exeext conftest.$ac_ext
11475 ac_res=`eval echo '${'$as_ac_var'}'`
11476 { echo "$as_me:$LINENO: result: $ac_res" >&5
11477 echo "${ECHO_T}$ac_res" >&6; }
11478 if test `eval echo '${'$as_ac_var'}'` = yes; then
11479 cat >>confdefs.h <<_ACEOF
11480 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
11486 CFLAGS="$ac_save_CFLAGS"
11487 CPPFLAGS="$ac_save_CPPFLAGS"
11488 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11491 cat >>confdefs.h <<\_ACEOF
11492 #define HAVE_FREETYPE 1
11495 wine_cv_msg_freetype=no
11499 wine_cv_msg_freetype=yes
11504 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
11506 FONTSSUBDIRS="fonts"
11510 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
11511 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
11512 if test "${ac_cv_c_ppdev+set}" = set; then
11513 echo $ECHO_N "(cached) $ECHO_C" >&6
11515 cat >conftest.$ac_ext <<_ACEOF
11518 cat confdefs.h >>conftest.$ac_ext
11519 cat >>conftest.$ac_ext <<_ACEOF
11520 /* end confdefs.h. */
11521 #include <linux/ppdev.h>
11525 ioctl (1,PPCLAIM,0)
11530 rm -f conftest.$ac_objext
11531 if { (ac_try="$ac_compile"
11532 case "(($ac_try" in
11533 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11534 *) ac_try_echo
=$ac_try;;
11536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11537 (eval "$ac_compile") 2>conftest.er1
11539 grep -v '^ *+' conftest.er1
>conftest.err
11541 cat conftest.err
>&5
11542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11543 (exit $ac_status); } && {
11544 test -z "$ac_c_werror_flag" ||
11545 test ! -s conftest.err
11546 } && test -s conftest.
$ac_objext; then
11547 ac_cv_c_ppdev
="yes"
11549 echo "$as_me: failed program was:" >&5
11550 sed 's/^/| /' conftest.
$ac_ext >&5
11555 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11558 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
11559 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
11560 if test "$ac_cv_c_ppdev" = "yes"
11563 cat >>confdefs.h
<<\_ACEOF
11564 #define HAVE_PPDEV 1
11569 { echo "$as_me:$LINENO: checking for va_copy" >&5
11570 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
11571 if test "${ac_cv_c_va_copy+set}" = set; then
11572 echo $ECHO_N "(cached) $ECHO_C" >&6
11574 cat >conftest.
$ac_ext <<_ACEOF
11577 cat confdefs.h
>>conftest.
$ac_ext
11578 cat >>conftest.
$ac_ext <<_ACEOF
11579 /* end confdefs.h. */
11580 #include <stdarg.h>
11591 rm -f conftest.
$ac_objext conftest
$ac_exeext
11592 if { (ac_try
="$ac_link"
11593 case "(($ac_try" in
11594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11595 *) ac_try_echo=$ac_try;;
11597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11598 (eval "$ac_link") 2>conftest.er1
11600 grep -v '^ *+' conftest.er1 >conftest.err
11602 cat conftest.err >&5
11603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11604 (exit $ac_status); } && {
11605 test -z "$ac_c_werror_flag" ||
11606 test ! -s conftest.err
11607 } && test -s conftest$ac_exeext &&
11608 $as_test_x conftest$ac_exeext; then
11609 ac_cv_c_va_copy="yes"
11611 echo "$as_me: failed program was:" >&5
11612 sed 's/^/| /' conftest.$ac_ext >&5
11614 ac_cv_c_va_copy="no"
11617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11618 conftest$ac_exeext conftest.$ac_ext
11621 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
11622 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
11623 if test "$ac_cv_c_va_copy" = "yes"
11626 cat >>confdefs.h <<\_ACEOF
11627 #define HAVE_VA_COPY 1
11631 { echo "$as_me:$LINENO: checking for __va_copy" >&5
11632 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
11633 if test "${ac_cv_c___va_copy+set}" = set; then
11634 echo $ECHO_N "(cached) $ECHO_C" >&6
11636 cat >conftest.$ac_ext <<_ACEOF
11639 cat confdefs.h >>conftest.$ac_ext
11640 cat >>conftest.$ac_ext <<_ACEOF
11641 /* end confdefs.h. */
11642 #include <stdarg.h>
11647 __va_copy(ap1,ap2);
11653 rm -f conftest.$ac_objext conftest$ac_exeext
11654 if { (ac_try="$ac_link"
11655 case "(($ac_try" in
11656 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11657 *) ac_try_echo
=$ac_try;;
11659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11660 (eval "$ac_link") 2>conftest.er1
11662 grep -v '^ *+' conftest.er1
>conftest.err
11664 cat conftest.err
>&5
11665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11666 (exit $ac_status); } && {
11667 test -z "$ac_c_werror_flag" ||
11668 test ! -s conftest.err
11669 } && test -s conftest
$ac_exeext &&
11670 $as_test_x conftest
$ac_exeext; then
11671 ac_cv_c___va_copy
="yes"
11673 echo "$as_me: failed program was:" >&5
11674 sed 's/^/| /' conftest.
$ac_ext >&5
11676 ac_cv_c___va_copy
="no"
11679 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11680 conftest
$ac_exeext conftest.
$ac_ext
11683 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
11684 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
11685 if test "$ac_cv_c___va_copy" = "yes"
11688 cat >>confdefs.h
<<\_ACEOF
11689 #define HAVE___VA_COPY 1
11694 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
11695 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
11696 if test "${ac_cv_c_sigsetjmp+set}" = set; then
11697 echo $ECHO_N "(cached) $ECHO_C" >&6
11699 cat >conftest.
$ac_ext <<_ACEOF
11702 cat confdefs.h
>>conftest.
$ac_ext
11703 cat >>conftest.
$ac_ext <<_ACEOF
11704 /* end confdefs.h. */
11705 #include <setjmp.h>
11710 sigsetjmp( buf, 1 );
11711 siglongjmp( buf, 1 );
11716 rm -f conftest.
$ac_objext conftest
$ac_exeext
11717 if { (ac_try
="$ac_link"
11718 case "(($ac_try" in
11719 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11720 *) ac_try_echo=$ac_try;;
11722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11723 (eval "$ac_link") 2>conftest.er1
11725 grep -v '^ *+' conftest.er1 >conftest.err
11727 cat conftest.err >&5
11728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11729 (exit $ac_status); } && {
11730 test -z "$ac_c_werror_flag" ||
11731 test ! -s conftest.err
11732 } && test -s conftest$ac_exeext &&
11733 $as_test_x conftest$ac_exeext; then
11734 ac_cv_c_sigsetjmp="yes"
11736 echo "$as_me: failed program was:" >&5
11737 sed 's/^/| /' conftest.$ac_ext >&5
11739 ac_cv_c_sigsetjmp="no"
11742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11743 conftest$ac_exeext conftest.$ac_ext
11746 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11747 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
11748 if test "$ac_cv_c_sigsetjmp" = "yes"
11751 cat >>confdefs.h <<\_ACEOF
11752 #define HAVE_SIGSETJMP 1
11757 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11758 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
11759 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11760 echo $ECHO_N "(cached) $ECHO_C" >&6
11762 cat >conftest.$ac_ext <<_ACEOF
11765 cat confdefs.h >>conftest.$ac_ext
11766 cat >>conftest.$ac_ext <<_ACEOF
11767 /* end confdefs.h. */
11768 #define _GNU_SOURCE
11769 #include <pthread.h>
11771 typedef pthread_rwlock_t ac__type_new_;
11775 if ((ac__type_new_ *) 0)
11777 if (sizeof (ac__type_new_))
11783 rm -f conftest.$ac_objext
11784 if { (ac_try="$ac_compile"
11785 case "(($ac_try" in
11786 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11787 *) ac_try_echo
=$ac_try;;
11789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11790 (eval "$ac_compile") 2>conftest.er1
11792 grep -v '^ *+' conftest.er1
>conftest.err
11794 cat conftest.err
>&5
11795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11796 (exit $ac_status); } && {
11797 test -z "$ac_c_werror_flag" ||
11798 test ! -s conftest.err
11799 } && test -s conftest.
$ac_objext; then
11800 ac_cv_type_pthread_rwlock_t
=yes
11802 echo "$as_me: failed program was:" >&5
11803 sed 's/^/| /' conftest.
$ac_ext >&5
11805 ac_cv_type_pthread_rwlock_t
=no
11808 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11810 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11811 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
11812 if test $ac_cv_type_pthread_rwlock_t = yes; then
11814 cat >>confdefs.h
<<_ACEOF
11815 #define HAVE_PTHREAD_RWLOCK_T 1
11820 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11821 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
11822 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11823 echo $ECHO_N "(cached) $ECHO_C" >&6
11825 cat >conftest.
$ac_ext <<_ACEOF
11828 cat confdefs.h
>>conftest.
$ac_ext
11829 cat >>conftest.
$ac_ext <<_ACEOF
11830 /* end confdefs.h. */
11831 #define _GNU_SOURCE
11832 #include <pthread.h>
11834 typedef pthread_rwlockattr_t ac__type_new_;
11838 if ((ac__type_new_ *) 0)
11840 if (sizeof (ac__type_new_))
11846 rm -f conftest.
$ac_objext
11847 if { (ac_try
="$ac_compile"
11848 case "(($ac_try" in
11849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11850 *) ac_try_echo=$ac_try;;
11852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11853 (eval "$ac_compile") 2>conftest.er1
11855 grep -v '^ *+' conftest.er1 >conftest.err
11857 cat conftest.err >&5
11858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11859 (exit $ac_status); } && {
11860 test -z "$ac_c_werror_flag" ||
11861 test ! -s conftest.err
11862 } && test -s conftest.$ac_objext; then
11863 ac_cv_type_pthread_rwlockattr_t=yes
11865 echo "$as_me: failed program was:" >&5
11866 sed 's/^/| /' conftest.$ac_ext >&5
11868 ac_cv_type_pthread_rwlockattr_t=no
11871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11873 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11874 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
11875 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11877 cat >>confdefs.h <<_ACEOF
11878 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11885 ac_wine_check_funcs_save_LIBS="$LIBS"
11886 LIBS="$LIBS $LIBPTHREAD"
11892 pthread_attr_get_np \
11893 pthread_getattr_np \
11894 pthread_get_stackaddr_np \
11895 pthread_get_stacksize_np
11897 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11898 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11900 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11901 echo $ECHO_N "(cached) $ECHO_C" >&6
11903 cat >conftest.$ac_ext <<_ACEOF
11906 cat confdefs.h >>conftest.$ac_ext
11907 cat >>conftest.$ac_ext <<_ACEOF
11908 /* end confdefs.h. */
11909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11911 #define $ac_func innocuous_$ac_func
11913 /* System header to define __stub macros and hopefully few prototypes,
11914 which can conflict with char $ac_func (); below.
11915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11916 <limits.h> exists even on freestanding compilers. */
11919 # include <limits.h>
11921 # include <assert.h>
11926 /* Override any GCC internal prototype to avoid an error.
11927 Use char because int might match the return type of a GCC
11928 builtin and then its argument prototype would still apply. */
11933 /* The GNU C library defines this for functions which it implements
11934 to always fail with ENOSYS. Some functions are actually named
11935 something starting with __ and the normal name is an alias. */
11936 #if defined __stub_$ac_func || defined __stub___$ac_func
11943 return $ac_func ();
11948 rm -f conftest.$ac_objext conftest$ac_exeext
11949 if { (ac_try="$ac_link"
11950 case "(($ac_try" in
11951 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11952 *) ac_try_echo
=$ac_try;;
11954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11955 (eval "$ac_link") 2>conftest.er1
11957 grep -v '^ *+' conftest.er1
>conftest.err
11959 cat conftest.err
>&5
11960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11961 (exit $ac_status); } && {
11962 test -z "$ac_c_werror_flag" ||
11963 test ! -s conftest.err
11964 } && test -s conftest
$ac_exeext &&
11965 $as_test_x conftest
$ac_exeext; then
11966 eval "$as_ac_var=yes"
11968 echo "$as_me: failed program was:" >&5
11969 sed 's/^/| /' conftest.
$ac_ext >&5
11971 eval "$as_ac_var=no"
11974 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11975 conftest
$ac_exeext conftest.
$ac_ext
11977 ac_res
=`eval echo '${'$as_ac_var'}'`
11978 { echo "$as_me:$LINENO: result: $ac_res" >&5
11979 echo "${ECHO_T}$ac_res" >&6; }
11980 if test `eval echo '${'$as_ac_var'}'` = yes; then
11981 cat >>confdefs.h
<<_ACEOF
11982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11988 LIBS
="$ac_wine_check_funcs_save_LIBS"
11990 # Extract the first word of "artsc-config", so it can be a program name with args.
11991 set dummy artsc-config
; ac_word
=$2
11992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11994 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11995 echo $ECHO_N "(cached) $ECHO_C" >&6
11997 case $ARTSCCONFIG in
11999 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
12002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12003 for as_dir
in $PATH
12006 test -z "$as_dir" && as_dir
=.
12007 for ac_exec_ext
in '' $ac_executable_extensions; do
12008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12009 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
12010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12020 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
12021 if test -n "$ARTSCCONFIG"; then
12022 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
12023 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
12025 { echo "$as_me:$LINENO: result: no" >&5
12026 echo "${ECHO_T}no" >&6; }
12030 if test x
$ARTSCCONFIG != x
-a x
$ARTSCCONFIG != x
'"$ARTSCCONFIG"';
12033 for i
in `$ARTSCCONFIG --cflags`
12036 -I*) ARTSC_CFLAGS
="$ARTSC_CFLAGS $i";;
12040 for i
in `$ARTSCCONFIG --libs`
12043 -L/usr
/lib|
-L/usr
/lib64
) ;;
12044 -L*|
-l*) ARTSC_LIBS
="$ARTSC_LIBS $i";;
12047 save_CFLAGS
="$CFLAGS"
12048 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
12049 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
12050 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
12051 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
12052 echo $ECHO_N "(cached) $ECHO_C" >&6
12054 ac_check_lib_save_LIBS
=$LIBS
12055 LIBS
="-lartsc $ARTSC_LIBS $LIBS"
12056 cat >conftest.
$ac_ext <<_ACEOF
12059 cat confdefs.h
>>conftest.
$ac_ext
12060 cat >>conftest.
$ac_ext <<_ACEOF
12061 /* end confdefs.h. */
12063 /* Override any GCC internal prototype to avoid an error.
12064 Use char because int might match the return type of a GCC
12065 builtin and then its argument prototype would still apply. */
12073 return arts_init ();
12078 rm -f conftest.
$ac_objext conftest
$ac_exeext
12079 if { (ac_try
="$ac_link"
12080 case "(($ac_try" in
12081 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12082 *) ac_try_echo=$ac_try;;
12084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12085 (eval "$ac_link") 2>conftest.er1
12087 grep -v '^ *+' conftest.er1 >conftest.err
12089 cat conftest.err >&5
12090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12091 (exit $ac_status); } && {
12092 test -z "$ac_c_werror_flag" ||
12093 test ! -s conftest.err
12094 } && test -s conftest$ac_exeext &&
12095 $as_test_x conftest$ac_exeext; then
12096 ac_cv_lib_artsc_arts_init=yes
12098 echo "$as_me: failed program was:" >&5
12099 sed 's/^/| /' conftest.$ac_ext >&5
12101 ac_cv_lib_artsc_arts_init=no
12104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12105 conftest$ac_exeext conftest.$ac_ext
12106 LIBS=$ac_check_lib_save_LIBS
12108 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
12109 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
12110 if test $ac_cv_lib_artsc_arts_init = yes; then
12111 cat >conftest.$ac_ext <<_ACEOF
12114 cat confdefs.h >>conftest.$ac_ext
12115 cat >>conftest.$ac_ext <<_ACEOF
12116 /* end confdefs.h. */
12121 arts_stream_t stream;
12126 rm -f conftest.$ac_objext
12127 if { (ac_try="$ac_compile"
12128 case "(($ac_try" in
12129 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12130 *) ac_try_echo
=$ac_try;;
12132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12133 (eval "$ac_compile") 2>conftest.er1
12135 grep -v '^ *+' conftest.er1
>conftest.err
12137 cat conftest.err
>&5
12138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12139 (exit $ac_status); } && {
12140 test -z "$ac_c_werror_flag" ||
12141 test ! -s conftest.err
12142 } && test -s conftest.
$ac_objext; then
12143 ARTSLIBS
=$ARTSC_LIBS
12145 ARTSINCL
=$ARTSC_CFLAGS
12148 cat >>confdefs.h
<<\_ACEOF
12149 #define HAVE_ARTS 1
12153 echo "$as_me: failed program was:" >&5
12154 sed 's/^/| /' conftest.
$ac_ext >&5
12159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12162 CFLAGS
="$save_CFLAGS"
12165 # Extract the first word of "esd-config", so it can be a program name with args.
12166 set dummy esd-config
; ac_word
=$2
12167 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12169 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
12170 echo $ECHO_N "(cached) $ECHO_C" >&6
12174 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
12177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12178 for as_dir
in $PATH
12181 test -z "$as_dir" && as_dir
=.
12182 for ac_exec_ext
in '' $ac_executable_extensions; do
12183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12184 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
12185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12195 ESDCONFIG
=$ac_cv_path_ESDCONFIG
12196 if test -n "$ESDCONFIG"; then
12197 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
12198 echo "${ECHO_T}$ESDCONFIG" >&6; }
12200 { echo "$as_me:$LINENO: result: no" >&5
12201 echo "${ECHO_T}no" >&6; }
12205 if test x
$ESDCONFIG != x
-a x
$ESDCONFIG != x
'"$ESDCONFIG"';
12208 for i
in `$ESDCONFIG --cflags`
12211 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
12214 ESD_LIBS
=`$ESDCONFIG --libs`
12215 save_CFLAGS
="$CFLAGS"
12216 CFLAGS
="$CFLAGS $ESD_CFLAGS"
12217 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
12218 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
12219 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
12220 echo $ECHO_N "(cached) $ECHO_C" >&6
12222 ac_check_lib_save_LIBS
=$LIBS
12224 cat >conftest.
$ac_ext <<_ACEOF
12227 cat confdefs.h
>>conftest.
$ac_ext
12228 cat >>conftest.
$ac_ext <<_ACEOF
12229 /* end confdefs.h. */
12231 /* Override any GCC internal prototype to avoid an error.
12232 Use char because int might match the return type of a GCC
12233 builtin and then its argument prototype would still apply. */
12237 char esd_open_sound ();
12241 return esd_open_sound ();
12246 rm -f conftest.
$ac_objext conftest
$ac_exeext
12247 if { (ac_try
="$ac_link"
12248 case "(($ac_try" in
12249 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12250 *) ac_try_echo=$ac_try;;
12252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12253 (eval "$ac_link") 2>conftest.er1
12255 grep -v '^ *+' conftest.er1 >conftest.err
12257 cat conftest.err >&5
12258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12259 (exit $ac_status); } && {
12260 test -z "$ac_c_werror_flag" ||
12261 test ! -s conftest.err
12262 } && test -s conftest$ac_exeext &&
12263 $as_test_x conftest$ac_exeext; then
12264 ac_cv_lib_esd_esd_open_sound=yes
12266 echo "$as_me: failed program was:" >&5
12267 sed 's/^/| /' conftest.$ac_ext >&5
12269 ac_cv_lib_esd_esd_open_sound=no
12272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12273 conftest$ac_exeext conftest.$ac_ext
12274 LIBS=$ac_check_lib_save_LIBS
12276 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
12277 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
12278 if test $ac_cv_lib_esd_esd_open_sound = yes; then
12281 ESDINCL=$ESD_CFLAGS
12284 cat >>confdefs.h <<\_ACEOF
12290 CFLAGS="$save_CFLAGS"
12295 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12297 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
12298 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
12299 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
12300 echo $ECHO_N "(cached) $ECHO_C" >&6
12302 ac_check_lib_save_LIBS=$LIBS
12303 LIBS="-lasound $LIBS"
12304 cat >conftest.$ac_ext <<_ACEOF
12307 cat confdefs.h >>conftest.$ac_ext
12308 cat >>conftest.$ac_ext <<_ACEOF
12309 /* end confdefs.h. */
12311 /* Override any GCC internal prototype to avoid an error.
12312 Use char because int might match the return type of a GCC
12313 builtin and then its argument prototype would still apply. */
12317 char snd_pcm_hw_params_get_access ();
12321 return snd_pcm_hw_params_get_access ();
12326 rm -f conftest.$ac_objext conftest$ac_exeext
12327 if { (ac_try="$ac_link"
12328 case "(($ac_try" in
12329 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12330 *) ac_try_echo
=$ac_try;;
12332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12333 (eval "$ac_link") 2>conftest.er1
12335 grep -v '^ *+' conftest.er1
>conftest.err
12337 cat conftest.err
>&5
12338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12339 (exit $ac_status); } && {
12340 test -z "$ac_c_werror_flag" ||
12341 test ! -s conftest.err
12342 } && test -s conftest
$ac_exeext &&
12343 $as_test_x conftest
$ac_exeext; then
12344 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
12346 echo "$as_me: failed program was:" >&5
12347 sed 's/^/| /' conftest.
$ac_ext >&5
12349 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
12352 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12353 conftest
$ac_exeext conftest.
$ac_ext
12354 LIBS
=$ac_check_lib_save_LIBS
12356 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
12357 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
12358 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
12359 cat >conftest.
$ac_ext <<_ACEOF
12362 cat confdefs.h
>>conftest.
$ac_ext
12363 cat >>conftest.
$ac_ext <<_ACEOF
12364 /* end confdefs.h. */
12365 #ifdef HAVE_ALSA_ASOUNDLIB_H
12366 #include <alsa/asoundlib.h>
12367 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12368 #include <sys/asoundlib.h>
12373 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
12378 rm -f conftest.
$ac_objext
12379 if { (ac_try
="$ac_compile"
12380 case "(($ac_try" in
12381 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12382 *) ac_try_echo=$ac_try;;
12384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12385 (eval "$ac_compile") 2>conftest.er1
12387 grep -v '^ *+' conftest.er1 >conftest.err
12389 cat conftest.err >&5
12390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12391 (exit $ac_status); } && {
12392 test -z "$ac_c_werror_flag" ||
12393 test ! -s conftest.err
12394 } && test -s conftest.$ac_objext; then
12396 cat >>confdefs.h <<\_ACEOF
12397 #define HAVE_ALSA 1
12400 ALSALIBS="-lasound"
12402 echo "$as_me: failed program was:" >&5
12403 sed 's/^/| /' conftest.$ac_ext >&5
12408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12416 if test "$ac_cv_header_libaudioio_h" = "yes"
12418 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12419 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
12420 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12421 echo $ECHO_N "(cached) $ECHO_C" >&6
12423 ac_check_lib_save_LIBS=$LIBS
12424 LIBS="-laudioio $LIBS"
12425 cat >conftest.$ac_ext <<_ACEOF
12428 cat confdefs.h >>conftest.$ac_ext
12429 cat >>conftest.$ac_ext <<_ACEOF
12430 /* end confdefs.h. */
12432 /* Override any GCC internal prototype to avoid an error.
12433 Use char because int might match the return type of a GCC
12434 builtin and then its argument prototype would still apply. */
12438 char AudioIOGetVersion ();
12442 return AudioIOGetVersion ();
12447 rm -f conftest.$ac_objext conftest$ac_exeext
12448 if { (ac_try="$ac_link"
12449 case "(($ac_try" in
12450 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12451 *) ac_try_echo
=$ac_try;;
12453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12454 (eval "$ac_link") 2>conftest.er1
12456 grep -v '^ *+' conftest.er1
>conftest.err
12458 cat conftest.err
>&5
12459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12460 (exit $ac_status); } && {
12461 test -z "$ac_c_werror_flag" ||
12462 test ! -s conftest.err
12463 } && test -s conftest
$ac_exeext &&
12464 $as_test_x conftest
$ac_exeext; then
12465 ac_cv_lib_audioio_AudioIOGetVersion
=yes
12467 echo "$as_me: failed program was:" >&5
12468 sed 's/^/| /' conftest.
$ac_ext >&5
12470 ac_cv_lib_audioio_AudioIOGetVersion
=no
12473 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12474 conftest
$ac_exeext conftest.
$ac_ext
12475 LIBS
=$ac_check_lib_save_LIBS
12477 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12478 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
12479 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12480 AUDIOIOLIBS
="-laudioio"
12482 cat >>confdefs.h
<<\_ACEOF
12483 #define HAVE_LIBAUDIOIO 1
12491 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12493 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12494 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
12495 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12496 echo $ECHO_N "(cached) $ECHO_C" >&6
12498 ac_check_lib_save_LIBS
=$LIBS
12499 LIBS
="-lcapi20 $LIBS"
12500 cat >conftest.
$ac_ext <<_ACEOF
12503 cat confdefs.h
>>conftest.
$ac_ext
12504 cat >>conftest.
$ac_ext <<_ACEOF
12505 /* end confdefs.h. */
12507 /* Override any GCC internal prototype to avoid an error.
12508 Use char because int might match the return type of a GCC
12509 builtin and then its argument prototype would still apply. */
12513 char capi20_register ();
12517 return capi20_register ();
12522 rm -f conftest.
$ac_objext conftest
$ac_exeext
12523 if { (ac_try
="$ac_link"
12524 case "(($ac_try" in
12525 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12526 *) ac_try_echo=$ac_try;;
12528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12529 (eval "$ac_link") 2>conftest.er1
12531 grep -v '^ *+' conftest.er1 >conftest.err
12533 cat conftest.err >&5
12534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12535 (exit $ac_status); } && {
12536 test -z "$ac_c_werror_flag" ||
12537 test ! -s conftest.err
12538 } && test -s conftest$ac_exeext &&
12539 $as_test_x conftest$ac_exeext; then
12540 ac_cv_lib_capi20_capi20_register=yes
12542 echo "$as_me: failed program was:" >&5
12543 sed 's/^/| /' conftest.$ac_ext >&5
12545 ac_cv_lib_capi20_capi20_register=no
12548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12549 conftest$ac_exeext conftest.$ac_ext
12550 LIBS=$ac_check_lib_save_LIBS
12552 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12553 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
12554 if test $ac_cv_lib_capi20_capi20_register = yes; then
12556 cat >>confdefs.h <<\_ACEOF
12557 #define HAVE_CAPI4LINUX 1
12567 if test "x${GCC}" = "xyes"
12569 EXTRACFLAGS="-Wall -pipe"
12571 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12572 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
12573 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12574 echo $ECHO_N "(cached) $ECHO_C" >&6
12576 if test "$cross_compiling" = yes; then
12577 ac_cv_c_gcc_strength_bug="yes"
12579 cat >conftest.$ac_ext <<_ACEOF
12582 cat confdefs.h >>conftest.$ac_ext
12583 cat >>conftest.$ac_ext <<_ACEOF
12584 /* end confdefs.h. */
12586 int L[4] = {0,1,2,3};
12588 static int Array[3];
12589 unsigned int B = 3;
12591 for(i=0; i<B; i++) Array[i] = i - 3;
12592 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12595 exit( Array[1] != -2 || L[2] != 3);
12598 rm -f conftest$ac_exeext
12599 if { (ac_try="$ac_link"
12600 case "(($ac_try" in
12601 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12602 *) ac_try_echo
=$ac_try;;
12604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12605 (eval "$ac_link") 2>&5
12607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12609 { (case "(($ac_try" in
12610 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12611 *) ac_try_echo=$ac_try;;
12613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12614 (eval "$ac_try") 2>&5
12616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12617 (exit $ac_status); }; }; then
12618 ac_cv_c_gcc_strength_bug="no"
12620 echo "$as_me: program exited with status $ac_status" >&5
12621 echo "$as_me: failed program was:" >&5
12622 sed 's/^/| /' conftest.$ac_ext >&5
12624 ( exit $ac_status )
12625 ac_cv_c_gcc_strength_bug="yes"
12627 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12632 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12633 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
12634 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12636 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12640 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
12641 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
12642 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
12643 echo $ECHO_N "(cached) $ECHO_C" >&6
12645 ac_wine_try_cflags_saved=$CFLAGS
12646 CFLAGS="$CFLAGS -fshort-wchar"
12647 cat >conftest.$ac_ext <<_ACEOF
12650 cat confdefs.h >>conftest.$ac_ext
12651 cat >>conftest.$ac_ext <<_ACEOF
12652 /* end confdefs.h. */
12662 rm -f conftest.$ac_objext conftest$ac_exeext
12663 if { (ac_try="$ac_link"
12664 case "(($ac_try" in
12665 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12666 *) ac_try_echo
=$ac_try;;
12668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12669 (eval "$ac_link") 2>conftest.er1
12671 grep -v '^ *+' conftest.er1
>conftest.err
12673 cat conftest.err
>&5
12674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12675 (exit $ac_status); } && {
12676 test -z "$ac_c_werror_flag" ||
12677 test ! -s conftest.err
12678 } && test -s conftest
$ac_exeext &&
12679 $as_test_x conftest
$ac_exeext; then
12680 ac_cv_cflags__fshort_wchar
=yes
12682 echo "$as_me: failed program was:" >&5
12683 sed 's/^/| /' conftest.
$ac_ext >&5
12685 ac_cv_cflags__fshort_wchar
=no
12688 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12689 conftest
$ac_exeext conftest.
$ac_ext
12690 CFLAGS
=$ac_wine_try_cflags_saved
12692 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
12693 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
12694 if test $ac_cv_cflags__fshort_wchar = yes; then
12696 cat >>confdefs.h
<<\_ACEOF
12697 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12702 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
12703 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
12704 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
12705 echo $ECHO_N "(cached) $ECHO_C" >&6
12707 ac_wine_try_cflags_saved
=$CFLAGS
12708 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12709 cat >conftest.
$ac_ext <<_ACEOF
12712 cat confdefs.h
>>conftest.
$ac_ext
12713 cat >>conftest.
$ac_ext <<_ACEOF
12714 /* end confdefs.h. */
12724 rm -f conftest.
$ac_objext conftest
$ac_exeext
12725 if { (ac_try
="$ac_link"
12726 case "(($ac_try" in
12727 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12728 *) ac_try_echo=$ac_try;;
12730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12731 (eval "$ac_link") 2>conftest.er1
12733 grep -v '^ *+' conftest.er1 >conftest.err
12735 cat conftest.err >&5
12736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12737 (exit $ac_status); } && {
12738 test -z "$ac_c_werror_flag" ||
12739 test ! -s conftest.err
12740 } && test -s conftest$ac_exeext &&
12741 $as_test_x conftest$ac_exeext; then
12742 ac_cv_cflags__fno_strict_aliasing=yes
12744 echo "$as_me: failed program was:" >&5
12745 sed 's/^/| /' conftest.$ac_ext >&5
12747 ac_cv_cflags__fno_strict_aliasing=no
12750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12751 conftest$ac_exeext conftest.$ac_ext
12752 CFLAGS=$ac_wine_try_cflags_saved
12754 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12755 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
12756 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
12757 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12760 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12761 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
12762 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
12763 echo $ECHO_N "(cached) $ECHO_C" >&6
12765 ac_wine_try_cflags_saved=$CFLAGS
12766 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12767 cat >conftest.$ac_ext <<_ACEOF
12770 cat confdefs.h >>conftest.$ac_ext
12771 cat >>conftest.$ac_ext <<_ACEOF
12772 /* end confdefs.h. */
12782 rm -f conftest.$ac_objext conftest$ac_exeext
12783 if { (ac_try="$ac_link"
12784 case "(($ac_try" in
12785 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12786 *) ac_try_echo
=$ac_try;;
12788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12789 (eval "$ac_link") 2>conftest.er1
12791 grep -v '^ *+' conftest.er1
>conftest.err
12793 cat conftest.err
>&5
12794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795 (exit $ac_status); } && {
12796 test -z "$ac_c_werror_flag" ||
12797 test ! -s conftest.err
12798 } && test -s conftest
$ac_exeext &&
12799 $as_test_x conftest
$ac_exeext; then
12800 ac_cv_cflags__Wdeclaration_after_statement
=yes
12802 echo "$as_me: failed program was:" >&5
12803 sed 's/^/| /' conftest.
$ac_ext >&5
12805 ac_cv_cflags__Wdeclaration_after_statement
=no
12808 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12809 conftest
$ac_exeext conftest.
$ac_ext
12810 CFLAGS
=$ac_wine_try_cflags_saved
12812 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12813 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12814 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
12815 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
12818 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
12819 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
12820 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
12821 echo $ECHO_N "(cached) $ECHO_C" >&6
12823 ac_wine_try_cflags_saved
=$CFLAGS
12824 CFLAGS
="$CFLAGS -Wwrite-strings"
12825 cat >conftest.
$ac_ext <<_ACEOF
12828 cat confdefs.h
>>conftest.
$ac_ext
12829 cat >>conftest.
$ac_ext <<_ACEOF
12830 /* end confdefs.h. */
12840 rm -f conftest.
$ac_objext conftest
$ac_exeext
12841 if { (ac_try
="$ac_link"
12842 case "(($ac_try" in
12843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12844 *) ac_try_echo=$ac_try;;
12846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12847 (eval "$ac_link") 2>conftest.er1
12849 grep -v '^ *+' conftest.er1 >conftest.err
12851 cat conftest.err >&5
12852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12853 (exit $ac_status); } && {
12854 test -z "$ac_c_werror_flag" ||
12855 test ! -s conftest.err
12856 } && test -s conftest$ac_exeext &&
12857 $as_test_x conftest$ac_exeext; then
12858 ac_cv_cflags__Wwrite_strings=yes
12860 echo "$as_me: failed program was:" >&5
12861 sed 's/^/| /' conftest.$ac_ext >&5
12863 ac_cv_cflags__Wwrite_strings=no
12866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12867 conftest$ac_exeext conftest.$ac_ext
12868 CFLAGS=$ac_wine_try_cflags_saved
12870 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
12871 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
12872 if test $ac_cv_cflags__Wwrite_strings = yes; then
12873 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12877 saved_CFLAGS="$CFLAGS"
12878 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12879 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12880 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
12881 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12882 echo $ECHO_N "(cached) $ECHO_C" >&6
12884 cat >conftest.$ac_ext <<_ACEOF
12887 cat confdefs.h >>conftest.$ac_ext
12888 cat >>conftest.$ac_ext <<_ACEOF
12889 /* end confdefs.h. */
12890 #include <string.h>
12899 rm -f conftest.$ac_objext
12900 if { (ac_try="$ac_compile"
12901 case "(($ac_try" in
12902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12903 *) ac_try_echo
=$ac_try;;
12905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12906 (eval "$ac_compile") 2>conftest.er1
12908 grep -v '^ *+' conftest.er1
>conftest.err
12910 cat conftest.err
>&5
12911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912 (exit $ac_status); } && {
12913 test -z "$ac_c_werror_flag" ||
12914 test ! -s conftest.err
12915 } && test -s conftest.
$ac_objext; then
12916 ac_cv_c_string_h_warnings
=no
12918 echo "$as_me: failed program was:" >&5
12919 sed 's/^/| /' conftest.
$ac_ext >&5
12921 ac_cv_c_string_h_warnings
=yes
12924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12926 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12927 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
12928 CFLAGS
="$saved_CFLAGS"
12929 if test "$ac_cv_c_string_h_warnings" = "no"
12931 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12936 saved_CFLAGS
="$CFLAGS"
12937 CFLAGS
="$CFLAGS -Werror"
12938 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
12939 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
12940 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
12941 echo $ECHO_N "(cached) $ECHO_C" >&6
12943 cat >conftest.
$ac_ext <<_ACEOF
12946 cat confdefs.h
>>conftest.
$ac_ext
12947 cat >>conftest.
$ac_ext <<_ACEOF
12948 /* end confdefs.h. */
12953 int iswlower(unsigned short);
12958 rm -f conftest.
$ac_objext
12959 if { (ac_try
="$ac_compile"
12960 case "(($ac_try" in
12961 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12962 *) ac_try_echo=$ac_try;;
12964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12965 (eval "$ac_compile") 2>conftest.er1
12967 grep -v '^ *+' conftest.er1 >conftest.err
12969 cat conftest.err >&5
12970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12971 (exit $ac_status); } && {
12972 test -z "$ac_c_werror_flag" ||
12973 test ! -s conftest.err
12974 } && test -s conftest.$ac_objext; then
12975 ac_cv_c_builtin_wchar_ctype=no
12977 echo "$as_me: failed program was:" >&5
12978 sed 's/^/| /' conftest.$ac_ext >&5
12980 ac_cv_c_builtin_wchar_ctype=yes
12983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12985 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
12986 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
12987 CFLAGS="$saved_CFLAGS"
12988 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
12990 BUILTINFLAG="-fno-builtin"
12995 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12996 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
12997 if test "${ac_cv_asm_func_def+set}" = set; then
12998 echo $ECHO_N "(cached) $ECHO_C" >&6
13000 cat >conftest.$ac_ext <<_ACEOF
13003 cat confdefs.h >>conftest.$ac_ext
13004 cat >>conftest.$ac_ext <<_ACEOF
13005 /* end confdefs.h. */
13006 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"); }
13016 rm -f conftest.$ac_objext conftest$ac_exeext
13017 if { (ac_try="$ac_link"
13018 case "(($ac_try" in
13019 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13020 *) ac_try_echo
=$ac_try;;
13022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13023 (eval "$ac_link") 2>conftest.er1
13025 grep -v '^ *+' conftest.er1
>conftest.err
13027 cat conftest.err
>&5
13028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13029 (exit $ac_status); } && {
13030 test -z "$ac_c_werror_flag" ||
13031 test ! -s conftest.err
13032 } && test -s conftest
$ac_exeext &&
13033 $as_test_x conftest
$ac_exeext; then
13034 ac_cv_asm_func_def
=".def"
13036 echo "$as_me: failed program was:" >&5
13037 sed 's/^/| /' conftest.
$ac_ext >&5
13039 cat >conftest.
$ac_ext <<_ACEOF
13042 cat confdefs.h
>>conftest.
$ac_ext
13043 cat >>conftest.
$ac_ext <<_ACEOF
13044 /* end confdefs.h. */
13045 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
13055 rm -f conftest.
$ac_objext conftest
$ac_exeext
13056 if { (ac_try
="$ac_link"
13057 case "(($ac_try" in
13058 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13059 *) ac_try_echo=$ac_try;;
13061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13062 (eval "$ac_link") 2>conftest.er1
13064 grep -v '^ *+' conftest.er1 >conftest.err
13066 cat conftest.err >&5
13067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13068 (exit $ac_status); } && {
13069 test -z "$ac_c_werror_flag" ||
13070 test ! -s conftest.err
13071 } && test -s conftest$ac_exeext &&
13072 $as_test_x conftest$ac_exeext; then
13073 ac_cv_asm_func_def=".type @function"
13075 echo "$as_me: failed program was:" >&5
13076 sed 's/^/| /' conftest.$ac_ext >&5
13078 cat >conftest.$ac_ext <<_ACEOF
13081 cat confdefs.h >>conftest.$ac_ext
13082 cat >>conftest.$ac_ext <<_ACEOF
13083 /* end confdefs.h. */
13084 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
13094 rm -f conftest.$ac_objext conftest$ac_exeext
13095 if { (ac_try="$ac_link"
13096 case "(($ac_try" in
13097 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13098 *) ac_try_echo
=$ac_try;;
13100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13101 (eval "$ac_link") 2>conftest.er1
13103 grep -v '^ *+' conftest.er1
>conftest.err
13105 cat conftest.err
>&5
13106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13107 (exit $ac_status); } && {
13108 test -z "$ac_c_werror_flag" ||
13109 test ! -s conftest.err
13110 } && test -s conftest
$ac_exeext &&
13111 $as_test_x conftest
$ac_exeext; then
13112 ac_cv_asm_func_def
=".type 2"
13114 echo "$as_me: failed program was:" >&5
13115 sed 's/^/| /' conftest.
$ac_ext >&5
13117 ac_cv_asm_func_def
="unknown"
13120 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13121 conftest
$ac_exeext conftest.
$ac_ext
13124 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13125 conftest
$ac_exeext conftest.
$ac_ext
13128 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13129 conftest
$ac_exeext conftest.
$ac_ext
13131 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
13132 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
13136 case "$ac_cv_asm_func_def" in
13138 cat >>confdefs.h
<<\_ACEOF
13139 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
13143 cat >>confdefs.h
<<\_ACEOF
13144 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
13148 cat >>confdefs.h
<<\_ACEOF
13149 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
13153 cat >>confdefs.h
<<\_ACEOF
13154 #define __ASM_FUNC(name) ""
13160 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
13161 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
13162 if test "${ac_cv_c_extern_prefix+set}" = set; then
13163 echo $ECHO_N "(cached) $ECHO_C" >&6
13165 cat >conftest.
$ac_ext <<_ACEOF
13168 cat confdefs.h
>>conftest.
$ac_ext
13169 cat >>conftest.
$ac_ext <<_ACEOF
13170 /* end confdefs.h. */
13171 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
13172 extern int ac_test;
13176 if (ac_test) return 1
13181 rm -f conftest.
$ac_objext conftest
$ac_exeext
13182 if { (ac_try
="$ac_link"
13183 case "(($ac_try" in
13184 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13185 *) ac_try_echo=$ac_try;;
13187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13188 (eval "$ac_link") 2>conftest.er1
13190 grep -v '^ *+' conftest.er1 >conftest.err
13192 cat conftest.err >&5
13193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13194 (exit $ac_status); } && {
13195 test -z "$ac_c_werror_flag" ||
13196 test ! -s conftest.err
13197 } && test -s conftest$ac_exeext &&
13198 $as_test_x conftest$ac_exeext; then
13199 ac_cv_c_extern_prefix="yes"
13201 echo "$as_me: failed program was:" >&5
13202 sed 's/^/| /' conftest.$ac_ext >&5
13204 ac_cv_c_extern_prefix="no"
13207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13208 conftest$ac_exeext conftest.$ac_ext
13210 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
13211 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
13215 if test "$ac_cv_c_extern_prefix" = "yes"
13217 cat >>confdefs.h <<\_ACEOF
13218 #define __ASM_NAME(name) "_" name
13222 cat >>confdefs.h <<\_ACEOF
13223 #define __ASM_NAME(name) name
13231 DLLFLAGS="-D_REENTRANT"
13246 if test -n "$ac_tool_prefix"; then
13247 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13248 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
13249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13251 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13252 echo $ECHO_N "(cached) $ECHO_C" >&6
13254 if test -n "$DLLTOOL"; then
13255 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13258 for as_dir in $PATH
13261 test -z "$as_dir" && as_dir=.
13262 for ac_exec_ext in '' $ac_executable_extensions; do
13263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13264 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
13265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13274 DLLTOOL=$ac_cv_prog_DLLTOOL
13275 if test -n "$DLLTOOL"; then
13276 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13277 echo "${ECHO_T}$DLLTOOL" >&6; }
13279 { echo "$as_me:$LINENO: result: no" >&5
13280 echo "${ECHO_T}no" >&6; }
13285 if test -z "$ac_cv_prog_DLLTOOL"; then
13286 ac_ct_DLLTOOL=$DLLTOOL
13287 # Extract the first word of "dlltool", so it can be a program name with args.
13288 set dummy dlltool; ac_word=$2
13289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13291 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13292 echo $ECHO_N "(cached) $ECHO_C" >&6
13294 if test -n "$ac_ct_DLLTOOL"; then
13295 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
13297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13298 for as_dir in $PATH
13301 test -z "$as_dir" && as_dir=.
13302 for ac_exec_ext in '' $ac_executable_extensions; do
13303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13304 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
13305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13314 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
13315 if test -n "$ac_ct_DLLTOOL"; then
13316 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13317 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
13319 { echo "$as_me:$LINENO: result: no" >&5
13320 echo "${ECHO_T}no" >&6; }
13323 if test "x$ac_ct_DLLTOOL" = x; then
13326 case $cross_compiling:$ac_tool_warned in
13328 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13329 whose name does not start with the host triplet. If you think this
13330 configuration is useful to you, please write to autoconf@gnu.org." >&5
13331 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13332 whose name does not start with the host triplet. If you think this
13333 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13334 ac_tool_warned=yes ;;
13336 DLLTOOL=$ac_ct_DLLTOOL
13339 DLLTOOL="$ac_cv_prog_DLLTOOL"
13342 if test -n "$ac_tool_prefix"; then
13343 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13344 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
13345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13347 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13348 echo $ECHO_N "(cached) $ECHO_C" >&6
13350 if test -n "$DLLWRAP"; then
13351 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
13353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13354 for as_dir in $PATH
13357 test -z "$as_dir" && as_dir=.
13358 for ac_exec_ext in '' $ac_executable_extensions; do
13359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13360 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
13361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13370 DLLWRAP=$ac_cv_prog_DLLWRAP
13371 if test -n "$DLLWRAP"; then
13372 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13373 echo "${ECHO_T}$DLLWRAP" >&6; }
13375 { echo "$as_me:$LINENO: result: no" >&5
13376 echo "${ECHO_T}no" >&6; }
13381 if test -z "$ac_cv_prog_DLLWRAP"; then
13382 ac_ct_DLLWRAP=$DLLWRAP
13383 # Extract the first word of "dllwrap", so it can be a program name with args.
13384 set dummy dllwrap; ac_word=$2
13385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13387 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13388 echo $ECHO_N "(cached) $ECHO_C" >&6
13390 if test -n "$ac_ct_DLLWRAP"; then
13391 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13394 for as_dir in $PATH
13397 test -z "$as_dir" && as_dir=.
13398 for ac_exec_ext in '' $ac_executable_extensions; do
13399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13400 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13410 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13411 if test -n "$ac_ct_DLLWRAP"; then
13412 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13413 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
13415 { echo "$as_me:$LINENO: result: no" >&5
13416 echo "${ECHO_T}no" >&6; }
13419 if test "x$ac_ct_DLLWRAP" = x; then
13422 case $cross_compiling:$ac_tool_warned in
13424 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13425 whose name does not start with the host triplet. If you think this
13426 configuration is useful to you, please write to autoconf@gnu.org." >&5
13427 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13428 whose name does not start with the host triplet. If you think this
13429 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13430 ac_tool_warned=yes ;;
13432 DLLWRAP=$ac_ct_DLLWRAP
13435 DLLWRAP="$ac_cv_prog_DLLWRAP"
13438 if test "$DLLWRAP" = "false"; then
13450 DLLFLAGS="$DLLFLAGS -fPIC"
13451 LDDLLFLAGS="-bundle -multiply_defined suppress"
13452 LIBWINE_LDFLAGS="-multiply_defined suppress"
13453 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`/\$(DYNAME)"
13454 STRIP="$STRIP -u -r"
13455 COREFOUNDATIONLIB="-framework CoreFoundation"
13457 IOKITLIB="-framework IOKit -framework CoreFoundation"
13459 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
13461 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
13463 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
13466 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
13468 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
13473 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
13475 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
13477 CARBONLIB="-framework Carbon"
13479 QUARTZFILES='$(QUARTZFILES)'
13483 DLLFLAGS="$DLLFLAGS -fPIC"
13485 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13486 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
13487 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13488 echo $ECHO_N "(cached) $ECHO_C" >&6
13490 ac_wine_try_cflags_saved=$CFLAGS
13491 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
13492 cat >conftest.$ac_ext <<_ACEOF
13495 rm -f conftest.$ac_objext conftest$ac_exeext
13496 if { (ac_try="$ac_link"
13497 case "(($ac_try" in
13498 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13499 *) ac_try_echo
=$ac_try;;
13501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13502 (eval "$ac_link") 2>conftest.er1
13504 grep -v '^ *+' conftest.er1
>conftest.err
13506 cat conftest.err
>&5
13507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13508 (exit $ac_status); } && {
13509 test -z "$ac_c_werror_flag" ||
13510 test ! -s conftest.err
13511 } && test -s conftest
$ac_exeext &&
13512 $as_test_x conftest
$ac_exeext; then
13513 ac_cv_c_dll_gnuelf
="yes"
13515 echo "$as_me: failed program was:" >&5
13516 sed 's/^/| /' conftest.
$ac_ext >&5
13518 ac_cv_c_dll_gnuelf
="no"
13521 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13522 conftest
$ac_exeext conftest.
$ac_ext
13523 CFLAGS
=$ac_wine_try_cflags_saved
13525 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13526 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
13527 if test "$ac_cv_c_dll_gnuelf" = "yes"
13529 LDSHARED
="\$(CC) -shared"
13530 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
13531 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
13532 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
13533 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
13534 echo $ECHO_N "(cached) $ECHO_C" >&6
13536 ac_wine_try_cflags_saved
=$CFLAGS
13537 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
13538 cat >conftest.
$ac_ext <<_ACEOF
13541 cat confdefs.h
>>conftest.
$ac_ext
13542 cat >>conftest.
$ac_ext <<_ACEOF
13543 /* end confdefs.h. */
13553 rm -f conftest.
$ac_objext conftest
$ac_exeext
13554 if { (ac_try
="$ac_link"
13555 case "(($ac_try" in
13556 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13557 *) ac_try_echo=$ac_try;;
13559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13560 (eval "$ac_link") 2>conftest.er1
13562 grep -v '^ *+' conftest.er1 >conftest.err
13564 cat conftest.err >&5
13565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13566 (exit $ac_status); } && {
13567 test -z "$ac_c_werror_flag" ||
13568 test ! -s conftest.err
13569 } && test -s conftest$ac_exeext &&
13570 $as_test_x conftest$ac_exeext; then
13571 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
13573 echo "$as_me: failed program was:" >&5
13574 sed 's/^/| /' conftest.$ac_ext >&5
13576 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
13579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13580 conftest$ac_exeext conftest.$ac_ext
13581 CFLAGS=$ac_wine_try_cflags_saved
13583 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
13584 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
13585 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
13586 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13588 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
13589 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
13590 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
13591 echo $ECHO_N "(cached) $ECHO_C" >&6
13593 ac_wine_try_cflags_saved=$CFLAGS
13594 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
13595 cat >conftest.$ac_ext <<_ACEOF
13598 cat confdefs.h >>conftest.$ac_ext
13599 cat >>conftest.$ac_ext <<_ACEOF
13600 /* end confdefs.h. */
13610 rm -f conftest.$ac_objext conftest$ac_exeext
13611 if { (ac_try="$ac_link"
13612 case "(($ac_try" in
13613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13614 *) ac_try_echo
=$ac_try;;
13616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13617 (eval "$ac_link") 2>conftest.er1
13619 grep -v '^ *+' conftest.er1
>conftest.err
13621 cat conftest.err
>&5
13622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13623 (exit $ac_status); } && {
13624 test -z "$ac_c_werror_flag" ||
13625 test ! -s conftest.err
13626 } && test -s conftest
$ac_exeext &&
13627 $as_test_x conftest
$ac_exeext; then
13628 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
13630 echo "$as_me: failed program was:" >&5
13631 sed 's/^/| /' conftest.
$ac_ext >&5
13633 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
13636 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13637 conftest
$ac_exeext conftest.
$ac_ext
13638 CFLAGS
=$ac_wine_try_cflags_saved
13640 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
13641 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
13642 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
13643 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
13649 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
13650 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
13651 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
13652 echo $ECHO_N "(cached) $ECHO_C" >&6
13654 ac_wine_try_cflags_saved
=$CFLAGS
13655 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13656 cat >conftest.
$ac_ext <<_ACEOF
13659 cat confdefs.h
>>conftest.
$ac_ext
13660 cat >>conftest.
$ac_ext <<_ACEOF
13661 /* end confdefs.h. */
13671 rm -f conftest.
$ac_objext conftest
$ac_exeext
13672 if { (ac_try
="$ac_link"
13673 case "(($ac_try" in
13674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13675 *) ac_try_echo=$ac_try;;
13677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13678 (eval "$ac_link") 2>conftest.er1
13680 grep -v '^ *+' conftest.er1 >conftest.err
13682 cat conftest.err >&5
13683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 (exit $ac_status); } && {
13685 test -z "$ac_c_werror_flag" ||
13686 test ! -s conftest.err
13687 } && test -s conftest$ac_exeext &&
13688 $as_test_x conftest$ac_exeext; then
13689 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
13691 echo "$as_me: failed program was:" >&5
13692 sed 's/^/| /' conftest.$ac_ext >&5
13694 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
13697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13698 conftest$ac_exeext conftest.$ac_ext
13699 CFLAGS=$ac_wine_try_cflags_saved
13701 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
13702 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
13703 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
13704 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
13708 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
13709 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
13710 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
13711 echo $ECHO_N "(cached) $ECHO_C" >&6
13713 ac_wine_try_cflags_saved=$CFLAGS
13714 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13715 cat >conftest.$ac_ext <<_ACEOF
13718 cat confdefs.h >>conftest.$ac_ext
13719 cat >>conftest.$ac_ext <<_ACEOF
13720 /* end confdefs.h. */
13730 rm -f conftest.$ac_objext conftest$ac_exeext
13731 if { (ac_try="$ac_link"
13732 case "(($ac_try" in
13733 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13734 *) ac_try_echo
=$ac_try;;
13736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13737 (eval "$ac_link") 2>conftest.er1
13739 grep -v '^ *+' conftest.er1
>conftest.err
13741 cat conftest.err
>&5
13742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743 (exit $ac_status); } && {
13744 test -z "$ac_c_werror_flag" ||
13745 test ! -s conftest.err
13746 } && test -s conftest
$ac_exeext &&
13747 $as_test_x conftest
$ac_exeext; then
13748 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
13750 echo "$as_me: failed program was:" >&5
13751 sed 's/^/| /' conftest.
$ac_ext >&5
13753 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
13756 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13757 conftest
$ac_exeext conftest.
$ac_ext
13758 CFLAGS
=$ac_wine_try_cflags_saved
13760 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
13761 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
13762 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
13763 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13767 echo '{ global: *; };' >conftest.map
13768 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
13769 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
13770 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
13771 echo $ECHO_N "(cached) $ECHO_C" >&6
13773 ac_wine_try_cflags_saved
=$CFLAGS
13774 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13775 cat >conftest.
$ac_ext <<_ACEOF
13778 cat confdefs.h
>>conftest.
$ac_ext
13779 cat >>conftest.
$ac_ext <<_ACEOF
13780 /* end confdefs.h. */
13790 rm -f conftest.
$ac_objext conftest
$ac_exeext
13791 if { (ac_try
="$ac_link"
13792 case "(($ac_try" in
13793 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13794 *) ac_try_echo=$ac_try;;
13796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13797 (eval "$ac_link") 2>conftest.er1
13799 grep -v '^ *+' conftest.er1 >conftest.err
13801 cat conftest.err >&5
13802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13803 (exit $ac_status); } && {
13804 test -z "$ac_c_werror_flag" ||
13805 test ! -s conftest.err
13806 } && test -s conftest$ac_exeext &&
13807 $as_test_x conftest$ac_exeext; then
13808 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
13810 echo "$as_me: failed program was:" >&5
13811 sed 's/^/| /' conftest.$ac_ext >&5
13813 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
13816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13817 conftest$ac_exeext conftest.$ac_ext
13818 CFLAGS=$ac_wine_try_cflags_saved
13820 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
13821 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
13822 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
13823 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13828 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
13829 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
13830 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
13831 echo $ECHO_N "(cached) $ECHO_C" >&6
13833 ac_wine_try_cflags_saved=$CFLAGS
13834 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13835 cat >conftest.$ac_ext <<_ACEOF
13838 cat confdefs.h >>conftest.$ac_ext
13839 cat >>conftest.$ac_ext <<_ACEOF
13840 /* end confdefs.h. */
13850 rm -f conftest.$ac_objext conftest$ac_exeext
13851 if { (ac_try="$ac_link"
13852 case "(($ac_try" in
13853 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13854 *) ac_try_echo
=$ac_try;;
13856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13857 (eval "$ac_link") 2>conftest.er1
13859 grep -v '^ *+' conftest.er1
>conftest.err
13861 cat conftest.err
>&5
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); } && {
13864 test -z "$ac_c_werror_flag" ||
13865 test ! -s conftest.err
13866 } && test -s conftest
$ac_exeext &&
13867 $as_test_x conftest
$ac_exeext; then
13868 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
13870 echo "$as_me: failed program was:" >&5
13871 sed 's/^/| /' conftest.
$ac_ext >&5
13873 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
13876 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13877 conftest
$ac_exeext conftest.
$ac_ext
13878 CFLAGS
=$ac_wine_try_cflags_saved
13880 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
13881 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
13882 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
13883 LDEXECFLAGS
="-Wl,--export-dynamic"
13888 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
13889 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
13890 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
13891 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13892 echo $ECHO_N "(cached) $ECHO_C" >&6
13894 ac_wine_try_cflags_saved
=$CFLAGS
13895 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
13896 cat >conftest.
$ac_ext <<_ACEOF
13899 cat confdefs.h
>>conftest.
$ac_ext
13900 cat >>conftest.
$ac_ext <<_ACEOF
13901 /* end confdefs.h. */
13911 rm -f conftest.
$ac_objext conftest
$ac_exeext
13912 if { (ac_try
="$ac_link"
13913 case "(($ac_try" in
13914 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13915 *) ac_try_echo=$ac_try;;
13917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13918 (eval "$ac_link") 2>conftest.er1
13920 grep -v '^ *+' conftest.er1 >conftest.err
13922 cat conftest.err >&5
13923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13924 (exit $ac_status); } && {
13925 test -z "$ac_c_werror_flag" ||
13926 test ! -s conftest.err
13927 } && test -s conftest$ac_exeext &&
13928 $as_test_x conftest$ac_exeext; then
13929 eval "$as_ac_var=yes"
13931 echo "$as_me: failed program was:" >&5
13932 sed 's/^/| /' conftest.$ac_ext >&5
13934 eval "$as_ac_var=no"
13937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13938 conftest$ac_exeext conftest.$ac_ext
13939 CFLAGS=$ac_wine_try_cflags_saved
13941 ac_res=`eval echo '${'$as_ac_var'}'`
13942 { echo "$as_me:$LINENO: result: $ac_res" >&5
13943 echo "${ECHO_T}$ac_res" >&6; }
13944 if test `eval echo '${'$as_ac_var'}'` = yes; then
13945 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
13950 *i[3456789]86* | x86_64)
13951 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
13952 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
13953 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
13954 echo $ECHO_N "(cached) $ECHO_C" >&6
13956 ac_wine_try_cflags_saved=$CFLAGS
13957 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
13958 cat >conftest.$ac_ext <<_ACEOF
13961 cat confdefs.h >>conftest.$ac_ext
13962 cat >>conftest.$ac_ext <<_ACEOF
13963 /* end confdefs.h. */
13973 rm -f conftest.$ac_objext conftest$ac_exeext
13974 if { (ac_try="$ac_link"
13975 case "(($ac_try" in
13976 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13977 *) ac_try_echo
=$ac_try;;
13979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13980 (eval "$ac_link") 2>conftest.er1
13982 grep -v '^ *+' conftest.er1
>conftest.err
13984 cat conftest.err
>&5
13985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13986 (exit $ac_status); } && {
13987 test -z "$ac_c_werror_flag" ||
13988 test ! -s conftest.err
13989 } && test -s conftest
$ac_exeext &&
13990 $as_test_x conftest
$ac_exeext; then
13991 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
13993 echo "$as_me: failed program was:" >&5
13994 sed 's/^/| /' conftest.
$ac_ext >&5
13996 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
13999 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14000 conftest
$ac_exeext conftest.
$ac_ext
14001 CFLAGS
=$ac_wine_try_cflags_saved
14003 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
14004 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
14005 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
14006 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
14013 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
14014 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
14015 if test "${ac_cv_c_dll_unixware+set}" = set; then
14016 echo $ECHO_N "(cached) $ECHO_C" >&6
14018 ac_wine_try_cflags_saved
=$CFLAGS
14019 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
14020 cat >conftest.
$ac_ext <<_ACEOF
14023 rm -f conftest.
$ac_objext conftest
$ac_exeext
14024 if { (ac_try
="$ac_link"
14025 case "(($ac_try" in
14026 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14027 *) ac_try_echo=$ac_try;;
14029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14030 (eval "$ac_link") 2>conftest.er1
14032 grep -v '^ *+' conftest.er1 >conftest.err
14034 cat conftest.err >&5
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 (exit $ac_status); } && {
14037 test -z "$ac_c_werror_flag" ||
14038 test ! -s conftest.err
14039 } && test -s conftest$ac_exeext &&
14040 $as_test_x conftest$ac_exeext; then
14041 ac_cv_c_dll_unixware="yes"
14043 echo "$as_me: failed program was:" >&5
14044 sed 's/^/| /' conftest.$ac_ext >&5
14046 ac_cv_c_dll_unixware="no"
14049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14050 conftest$ac_exeext conftest.$ac_ext
14051 CFLAGS=$ac_wine_try_cflags_saved
14053 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
14054 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
14055 if test "$ac_cv_c_dll_unixware" = "yes"
14057 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
14058 LDDLLFLAGS="-Wl,-G,-B,symbolic"
14061 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
14062 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
14063 if test "${ac_cv_c_dll_hpux+set}" = set; then
14064 echo $ECHO_N "(cached) $ECHO_C" >&6
14066 ac_wine_try_cflags_saved=$CFLAGS
14067 CFLAGS="$CFLAGS -shared"
14068 cat >conftest.$ac_ext <<_ACEOF
14071 rm -f conftest.$ac_objext conftest$ac_exeext
14072 if { (ac_try="$ac_link"
14073 case "(($ac_try" in
14074 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14075 *) ac_try_echo
=$ac_try;;
14077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14078 (eval "$ac_link") 2>conftest.er1
14080 grep -v '^ *+' conftest.er1
>conftest.err
14082 cat conftest.err
>&5
14083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14084 (exit $ac_status); } && {
14085 test -z "$ac_c_werror_flag" ||
14086 test ! -s conftest.err
14087 } && test -s conftest
$ac_exeext &&
14088 $as_test_x conftest
$ac_exeext; then
14089 ac_cv_c_dll_hpux
="yes"
14091 echo "$as_me: failed program was:" >&5
14092 sed 's/^/| /' conftest.
$ac_ext >&5
14094 ac_cv_c_dll_hpux
="no"
14097 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14098 conftest
$ac_exeext conftest.
$ac_ext
14099 CFLAGS
=$ac_wine_try_cflags_saved
14101 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
14102 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
14103 if test "$ac_cv_c_dll_hpux" = "yes"
14107 LDDLLFLAGS
="-shared -fPIC"
14108 LDSHARED
="\$(CC) -shared"
14115 if test "$cross_compiling" = "no"
14117 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
14119 # Extract the first word of "$ac_prog", so it can be a program name with args.
14120 set dummy
$ac_prog; ac_word
=$2
14121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14123 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14124 echo $ECHO_N "(cached) $ECHO_C" >&6
14126 if test -n "$CROSSCC"; then
14127 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
14129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14130 for as_dir
in $PATH
14133 test -z "$as_dir" && as_dir
=.
14134 for ac_exec_ext
in '' $ac_executable_extensions; do
14135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14136 ac_cv_prog_CROSSCC
="$ac_prog"
14137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14146 CROSSCC
=$ac_cv_prog_CROSSCC
14147 if test -n "$CROSSCC"; then
14148 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
14149 echo "${ECHO_T}$CROSSCC" >&6; }
14151 { echo "$as_me:$LINENO: result: no" >&5
14152 echo "${ECHO_T}no" >&6; }
14156 test -n "$CROSSCC" && break
14158 test -n "$CROSSCC" || CROSSCC
="false"
14160 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
14162 # Extract the first word of "$ac_prog", so it can be a program name with args.
14163 set dummy
$ac_prog; ac_word
=$2
14164 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14166 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14167 echo $ECHO_N "(cached) $ECHO_C" >&6
14169 if test -n "$DLLTOOL"; then
14170 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14173 for as_dir
in $PATH
14176 test -z "$as_dir" && as_dir
=.
14177 for ac_exec_ext
in '' $ac_executable_extensions; do
14178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14179 ac_cv_prog_DLLTOOL
="$ac_prog"
14180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14189 DLLTOOL
=$ac_cv_prog_DLLTOOL
14190 if test -n "$DLLTOOL"; then
14191 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14192 echo "${ECHO_T}$DLLTOOL" >&6; }
14194 { echo "$as_me:$LINENO: result: no" >&5
14195 echo "${ECHO_T}no" >&6; }
14199 test -n "$DLLTOOL" && break
14201 test -n "$DLLTOOL" || DLLTOOL
="false"
14203 for ac_prog
in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
14205 # Extract the first word of "$ac_prog", so it can be a program name with args.
14206 set dummy
$ac_prog; ac_word
=$2
14207 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14209 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14210 echo $ECHO_N "(cached) $ECHO_C" >&6
14212 if test -n "$CROSSWINDRES"; then
14213 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
14215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14216 for as_dir
in $PATH
14219 test -z "$as_dir" && as_dir
=.
14220 for ac_exec_ext
in '' $ac_executable_extensions; do
14221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14222 ac_cv_prog_CROSSWINDRES
="$ac_prog"
14223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14232 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
14233 if test -n "$CROSSWINDRES"; then
14234 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14235 echo "${ECHO_T}$CROSSWINDRES" >&6; }
14237 { echo "$as_me:$LINENO: result: no" >&5
14238 echo "${ECHO_T}no" >&6; }
14242 test -n "$CROSSWINDRES" && break
14244 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
14246 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
14251 if test "$LIBEXT" = "a"; then
14252 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14253 It is currently not possible to build Wine without shared library
14254 (.so) support to allow transparent switch between .so and .dll files.
14255 If you are using Linux, you will need a newer binutils.
14257 echo "$as_me: error: could not find a way to build shared libraries.
14258 It is currently not possible to build Wine without shared library
14259 (.so) support to allow transparent switch between .so and .dll files.
14260 If you are using Linux, you will need a newer binutils.
14262 { (exit 1); exit 1; }; }
14267 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14270 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
14273 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14281 SOCKETLIBS
="-lws2_32"
14286 MAIN_BINARY
="wine-pthread"
14290 linux
* | k
*bsd
*-gnu)
14291 MAIN_BINARY
="wine-glibc"
14293 EXTRA_BINARIES
="wine-kthread wine-pthread wine-preloader"
14300 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14302 # Extract the first word of "ldd", so it can be a program name with args.
14303 set dummy ldd
; ac_word
=$2
14304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14306 if test "${ac_cv_path_LDD+set}" = set; then
14307 echo $ECHO_N "(cached) $ECHO_C" >&6
14311 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
14314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14315 as_dummy
="/sbin:/usr/sbin:$PATH"
14316 for as_dir
in $as_dummy
14319 test -z "$as_dir" && as_dir
=.
14320 for ac_exec_ext
in '' $ac_executable_extensions; do
14321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14322 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
14323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14330 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
14334 LDD
=$ac_cv_path_LDD
14335 if test -n "$LDD"; then
14336 { echo "$as_me:$LINENO: result: $LDD" >&5
14337 echo "${ECHO_T}$LDD" >&6; }
14339 { echo "$as_me:$LINENO: result: no" >&5
14340 echo "${ECHO_T}no" >&6; }
14344 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14345 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
14346 if test "${ac_cv_lib_soname_X11+set}" = set; then
14347 echo $ECHO_N "(cached) $ECHO_C" >&6
14349 ac_get_soname_save_LIBS
=$LIBS
14350 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14351 cat >conftest.
$ac_ext <<_ACEOF
14354 cat confdefs.h
>>conftest.
$ac_ext
14355 cat >>conftest.
$ac_ext <<_ACEOF
14356 /* end confdefs.h. */
14358 /* Override any GCC internal prototype to avoid an error.
14359 Use char because int might match the return type of a GCC
14360 builtin and then its argument prototype would still apply. */
14364 char XCreateWindow ();
14368 return XCreateWindow ();
14373 rm -f conftest.
$ac_objext conftest
$ac_exeext
14374 if { (ac_try
="$ac_link"
14375 case "(($ac_try" in
14376 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14377 *) ac_try_echo=$ac_try;;
14379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14380 (eval "$ac_link") 2>conftest.er1
14382 grep -v '^ *+' conftest.er1 >conftest.err
14384 cat conftest.err >&5
14385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14386 (exit $ac_status); } && {
14387 test -z "$ac_c_werror_flag" ||
14388 test ! -s conftest.err
14389 } && test -s conftest$ac_exeext &&
14390 $as_test_x conftest$ac_exeext; then
14392 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'` ;;
14393 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libX11
\\.so |
sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14395 if test "x$ac_cv_lib_soname_X11" = "x"
14397 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14400 echo "$as_me: failed program was:" >&5
14401 sed 's/^/| /' conftest.$ac_ext >&5
14403 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14407 conftest$ac_exeext conftest.$ac_ext
14408 LIBS=$ac_get_soname_save_LIBS
14410 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14411 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
14412 if test "${ac_cv_lib_soname_X11+set}" = set; then
14414 cat >>confdefs.h <<_ACEOF
14415 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14420 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
14421 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
14422 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14423 echo $ECHO_N "(cached) $ECHO_C" >&6
14425 ac_get_soname_save_LIBS=$LIBS
14426 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14427 cat >conftest.$ac_ext <<_ACEOF
14430 cat confdefs.h >>conftest.$ac_ext
14431 cat >>conftest.$ac_ext <<_ACEOF
14432 /* end confdefs.h. */
14434 /* Override any GCC internal prototype to avoid an error.
14435 Use char because int might match the return type of a GCC
14436 builtin and then its argument prototype would still apply. */
14440 char XextCreateExtension ();
14444 return XextCreateExtension ();
14449 rm -f conftest.$ac_objext conftest$ac_exeext
14450 if { (ac_try="$ac_link"
14451 case "(($ac_try" in
14452 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14453 *) ac_try_echo
=$ac_try;;
14455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14456 (eval "$ac_link") 2>conftest.er1
14458 grep -v '^ *+' conftest.er1
>conftest.err
14460 cat conftest.err
>&5
14461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14462 (exit $ac_status); } && {
14463 test -z "$ac_c_werror_flag" ||
14464 test ! -s conftest.err
14465 } && test -s conftest
$ac_exeext &&
14466 $as_test_x conftest
$ac_exeext; then
14468 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'` ;;
14469 so
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14471 if test "x$ac_cv_lib_soname_Xext" = "x"
14473 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
14476 echo "$as_me: failed program was:" >&5
14477 sed 's/^/| /' conftest.
$ac_ext >&5
14479 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
14482 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14483 conftest
$ac_exeext conftest.
$ac_ext
14484 LIBS
=$ac_get_soname_save_LIBS
14486 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14487 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
14488 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14490 cat >>confdefs.h
<<_ACEOF
14491 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14496 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
14497 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
14498 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14499 echo $ECHO_N "(cached) $ECHO_C" >&6
14501 ac_get_soname_save_LIBS
=$LIBS
14502 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14503 cat >conftest.
$ac_ext <<_ACEOF
14506 cat confdefs.h
>>conftest.
$ac_ext
14507 cat >>conftest.
$ac_ext <<_ACEOF
14508 /* end confdefs.h. */
14510 /* Override any GCC internal prototype to avoid an error.
14511 Use char because int might match the return type of a GCC
14512 builtin and then its argument prototype would still apply. */
14516 char XOpenDevice ();
14520 return XOpenDevice ();
14525 rm -f conftest.
$ac_objext conftest
$ac_exeext
14526 if { (ac_try
="$ac_link"
14527 case "(($ac_try" in
14528 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14529 *) ac_try_echo=$ac_try;;
14531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14532 (eval "$ac_link") 2>conftest.er1
14534 grep -v '^ *+' conftest.er1 >conftest.err
14536 cat conftest.err >&5
14537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538 (exit $ac_status); } && {
14539 test -z "$ac_c_werror_flag" ||
14540 test ! -s conftest.err
14541 } && test -s conftest$ac_exeext &&
14542 $as_test_x conftest$ac_exeext; then
14544 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'` ;;
14545 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXi
\\.so |
sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14547 if test "x$ac_cv_lib_soname_Xi" = "x"
14549 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14552 echo "$as_me: failed program was:" >&5
14553 sed 's/^/| /' conftest.$ac_ext >&5
14555 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14559 conftest$ac_exeext conftest.$ac_ext
14560 LIBS=$ac_get_soname_save_LIBS
14562 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14563 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
14564 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14566 cat >>confdefs.h <<_ACEOF
14567 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14572 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
14573 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
14574 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14575 echo $ECHO_N "(cached) $ECHO_C" >&6
14577 ac_get_soname_save_LIBS=$LIBS
14578 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14579 cat >conftest.$ac_ext <<_ACEOF
14582 cat confdefs.h >>conftest.$ac_ext
14583 cat >>conftest.$ac_ext <<_ACEOF
14584 /* end confdefs.h. */
14586 /* Override any GCC internal prototype to avoid an error.
14587 Use char because int might match the return type of a GCC
14588 builtin and then its argument prototype would still apply. */
14592 char XineramaQueryScreens ();
14596 return XineramaQueryScreens ();
14601 rm -f conftest.$ac_objext conftest$ac_exeext
14602 if { (ac_try="$ac_link"
14603 case "(($ac_try" in
14604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14605 *) ac_try_echo
=$ac_try;;
14607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14608 (eval "$ac_link") 2>conftest.er1
14610 grep -v '^ *+' conftest.er1
>conftest.err
14612 cat conftest.err
>&5
14613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14614 (exit $ac_status); } && {
14615 test -z "$ac_c_werror_flag" ||
14616 test ! -s conftest.err
14617 } && test -s conftest
$ac_exeext &&
14618 $as_test_x conftest
$ac_exeext; then
14620 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'` ;;
14621 so
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXinerama\\.so | sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14623 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14625 ac_cv_lib_soname_Xinerama
="libXinerama.$LIBEXT"
14628 echo "$as_me: failed program was:" >&5
14629 sed 's/^/| /' conftest.
$ac_ext >&5
14631 ac_cv_lib_soname_Xinerama
="libXinerama.$LIBEXT"
14634 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14635 conftest
$ac_exeext conftest.
$ac_ext
14636 LIBS
=$ac_get_soname_save_LIBS
14638 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
14639 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
14640 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14642 cat >>confdefs.h
<<_ACEOF
14643 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
14648 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14649 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
14650 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14651 echo $ECHO_N "(cached) $ECHO_C" >&6
14653 ac_get_soname_save_LIBS
=$LIBS
14654 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14655 cat >conftest.
$ac_ext <<_ACEOF
14658 cat confdefs.h
>>conftest.
$ac_ext
14659 cat >>conftest.
$ac_ext <<_ACEOF
14660 /* end confdefs.h. */
14662 /* Override any GCC internal prototype to avoid an error.
14663 Use char because int might match the return type of a GCC
14664 builtin and then its argument prototype would still apply. */
14668 char XRenderQueryExtension ();
14672 return XRenderQueryExtension ();
14677 rm -f conftest.
$ac_objext conftest
$ac_exeext
14678 if { (ac_try
="$ac_link"
14679 case "(($ac_try" in
14680 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14681 *) ac_try_echo=$ac_try;;
14683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14684 (eval "$ac_link") 2>conftest.er1
14686 grep -v '^ *+' conftest.er1 >conftest.err
14688 cat conftest.err >&5
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); } && {
14691 test -z "$ac_c_werror_flag" ||
14692 test ! -s conftest.err
14693 } && test -s conftest$ac_exeext &&
14694 $as_test_x conftest$ac_exeext; then
14696 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'` ;;
14697 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXrender
\\.so |
sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14699 if test "x$ac_cv_lib_soname_Xrender" = "x"
14701 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14704 echo "$as_me: failed program was:" >&5
14705 sed 's/^/| /' conftest.$ac_ext >&5
14707 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14711 conftest$ac_exeext conftest.$ac_ext
14712 LIBS=$ac_get_soname_save_LIBS
14714 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14715 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
14716 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14718 cat >>confdefs.h <<_ACEOF
14719 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14724 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14725 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
14726 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14727 echo $ECHO_N "(cached) $ECHO_C" >&6
14729 ac_get_soname_save_LIBS=$LIBS
14730 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14731 cat >conftest.$ac_ext <<_ACEOF
14734 cat confdefs.h >>conftest.$ac_ext
14735 cat >>conftest.$ac_ext <<_ACEOF
14736 /* end confdefs.h. */
14738 /* Override any GCC internal prototype to avoid an error.
14739 Use char because int might match the return type of a GCC
14740 builtin and then its argument prototype would still apply. */
14744 char XRRQueryExtension ();
14748 return XRRQueryExtension ();
14753 rm -f conftest.$ac_objext conftest$ac_exeext
14754 if { (ac_try="$ac_link"
14755 case "(($ac_try" in
14756 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14757 *) ac_try_echo
=$ac_try;;
14759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14760 (eval "$ac_link") 2>conftest.er1
14762 grep -v '^ *+' conftest.er1
>conftest.err
14764 cat conftest.err
>&5
14765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14766 (exit $ac_status); } && {
14767 test -z "$ac_c_werror_flag" ||
14768 test ! -s conftest.err
14769 } && test -s conftest
$ac_exeext &&
14770 $as_test_x conftest
$ac_exeext; then
14772 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'` ;;
14773 so
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14775 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14777 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
14780 echo "$as_me: failed program was:" >&5
14781 sed 's/^/| /' conftest.
$ac_ext >&5
14783 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
14786 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14787 conftest
$ac_exeext conftest.
$ac_ext
14788 LIBS
=$ac_get_soname_save_LIBS
14790 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14791 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
14792 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14794 cat >>confdefs.h
<<_ACEOF
14795 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14800 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14801 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
14802 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14803 echo $ECHO_N "(cached) $ECHO_C" >&6
14805 ac_get_soname_save_LIBS
=$LIBS
14806 LIBS
="-lfreetype $X_LIBS $LIBS"
14807 cat >conftest.
$ac_ext <<_ACEOF
14810 cat confdefs.h
>>conftest.
$ac_ext
14811 cat >>conftest.
$ac_ext <<_ACEOF
14812 /* end confdefs.h. */
14814 /* Override any GCC internal prototype to avoid an error.
14815 Use char because int might match the return type of a GCC
14816 builtin and then its argument prototype would still apply. */
14820 char FT_Init_FreeType ();
14824 return FT_Init_FreeType ();
14829 rm -f conftest.
$ac_objext conftest
$ac_exeext
14830 if { (ac_try
="$ac_link"
14831 case "(($ac_try" in
14832 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14833 *) ac_try_echo=$ac_try;;
14835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14836 (eval "$ac_link") 2>conftest.er1
14838 grep -v '^ *+' conftest.er1 >conftest.err
14840 cat conftest.err >&5
14841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14842 (exit $ac_status); } && {
14843 test -z "$ac_c_werror_flag" ||
14844 test ! -s conftest.err
14845 } && test -s conftest$ac_exeext &&
14846 $as_test_x conftest$ac_exeext; then
14848 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'` ;;
14849 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libfreetype
\\.so |
sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14851 if test "x$ac_cv_lib_soname_freetype" = "x"
14853 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14856 echo "$as_me: failed program was:" >&5
14857 sed 's/^/| /' conftest.$ac_ext >&5
14859 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14863 conftest$ac_exeext conftest.$ac_ext
14864 LIBS=$ac_get_soname_save_LIBS
14866 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14867 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
14868 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14870 cat >>confdefs.h <<_ACEOF
14871 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14876 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
14877 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
14878 if test "${ac_cv_lib_soname_GL+set}" = set; then
14879 echo $ECHO_N "(cached) $ECHO_C" >&6
14881 ac_get_soname_save_LIBS=$LIBS
14882 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14883 cat >conftest.$ac_ext <<_ACEOF
14886 cat confdefs.h >>conftest.$ac_ext
14887 cat >>conftest.$ac_ext <<_ACEOF
14888 /* end confdefs.h. */
14890 /* Override any GCC internal prototype to avoid an error.
14891 Use char because int might match the return type of a GCC
14892 builtin and then its argument prototype would still apply. */
14896 char glXQueryExtension ();
14900 return glXQueryExtension ();
14905 rm -f conftest.$ac_objext conftest$ac_exeext
14906 if { (ac_try="$ac_link"
14907 case "(($ac_try" in
14908 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14909 *) ac_try_echo
=$ac_try;;
14911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14912 (eval "$ac_link") 2>conftest.er1
14914 grep -v '^ *+' conftest.er1
>conftest.err
14916 cat conftest.err
>&5
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); } && {
14919 test -z "$ac_c_werror_flag" ||
14920 test ! -s conftest.err
14921 } && test -s conftest
$ac_exeext &&
14922 $as_test_x conftest
$ac_exeext; then
14924 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'` ;;
14925 so
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14927 if test "x$ac_cv_lib_soname_GL" = "x"
14929 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
14932 echo "$as_me: failed program was:" >&5
14933 sed 's/^/| /' conftest.
$ac_ext >&5
14935 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
14938 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14939 conftest
$ac_exeext conftest.
$ac_ext
14940 LIBS
=$ac_get_soname_save_LIBS
14942 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14943 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
14944 if test "${ac_cv_lib_soname_GL+set}" = set; then
14946 cat >>confdefs.h
<<_ACEOF
14947 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14952 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
14953 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
14954 if test "${ac_cv_lib_soname_hal+set}" = set; then
14955 echo $ECHO_N "(cached) $ECHO_C" >&6
14957 ac_get_soname_save_LIBS
=$LIBS
14959 cat >conftest.
$ac_ext <<_ACEOF
14962 cat confdefs.h
>>conftest.
$ac_ext
14963 cat >>conftest.
$ac_ext <<_ACEOF
14964 /* end confdefs.h. */
14966 /* Override any GCC internal prototype to avoid an error.
14967 Use char because int might match the return type of a GCC
14968 builtin and then its argument prototype would still apply. */
14972 char libhal_ctx_new ();
14976 return libhal_ctx_new ();
14981 rm -f conftest.
$ac_objext conftest
$ac_exeext
14982 if { (ac_try
="$ac_link"
14983 case "(($ac_try" in
14984 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14985 *) ac_try_echo=$ac_try;;
14987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14988 (eval "$ac_link") 2>conftest.er1
14990 grep -v '^ *+' conftest.er1 >conftest.err
14992 cat conftest.err >&5
14993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14994 (exit $ac_status); } && {
14995 test -z "$ac_c_werror_flag" ||
14996 test ! -s conftest.err
14997 } && test -s conftest$ac_exeext &&
14998 $as_test_x conftest$ac_exeext; then
15000 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'` ;;
15001 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libhal
\\.so |
sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15003 if test "x$ac_cv_lib_soname_hal" = "x"
15005 ac_cv_lib_soname_hal="libhal.$LIBEXT"
15008 echo "$as_me: failed program was:" >&5
15009 sed 's/^/| /' conftest.$ac_ext >&5
15011 ac_cv_lib_soname_hal="libhal.$LIBEXT"
15014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15015 conftest$ac_exeext conftest.$ac_ext
15016 LIBS=$ac_get_soname_save_LIBS
15018 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
15019 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
15020 if test "${ac_cv_lib_soname_hal+set}" = set; then
15022 cat >>confdefs.h <<_ACEOF
15023 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
15028 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
15029 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
15030 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15031 echo $ECHO_N "(cached) $ECHO_C" >&6
15033 ac_get_soname_save_LIBS=$LIBS
15034 LIBS="-ltxc_dxtn $LIBS"
15035 cat >conftest.$ac_ext <<_ACEOF
15038 cat confdefs.h >>conftest.$ac_ext
15039 cat >>conftest.$ac_ext <<_ACEOF
15040 /* end confdefs.h. */
15042 /* Override any GCC internal prototype to avoid an error.
15043 Use char because int might match the return type of a GCC
15044 builtin and then its argument prototype would still apply. */
15048 char fetch_2d_texel_rgba_dxt1 ();
15052 return fetch_2d_texel_rgba_dxt1 ();
15057 rm -f conftest.$ac_objext conftest$ac_exeext
15058 if { (ac_try="$ac_link"
15059 case "(($ac_try" in
15060 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15061 *) ac_try_echo
=$ac_try;;
15063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15064 (eval "$ac_link") 2>conftest.er1
15066 grep -v '^ *+' conftest.er1
>conftest.err
15068 cat conftest.err
>&5
15069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15070 (exit $ac_status); } && {
15071 test -z "$ac_c_werror_flag" ||
15072 test ! -s conftest.err
15073 } && test -s conftest
$ac_exeext &&
15074 $as_test_x conftest
$ac_exeext; then
15076 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'` ;;
15077 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'` ;;
15079 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
15081 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
15084 echo "$as_me: failed program was:" >&5
15085 sed 's/^/| /' conftest.
$ac_ext >&5
15087 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
15090 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15091 conftest
$ac_exeext conftest.
$ac_ext
15092 LIBS
=$ac_get_soname_save_LIBS
15094 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
15095 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
15096 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15098 cat >>confdefs.h
<<_ACEOF
15099 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15104 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
15105 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
15106 if test "${ac_cv_lib_soname_cups+set}" = set; then
15107 echo $ECHO_N "(cached) $ECHO_C" >&6
15109 ac_get_soname_save_LIBS
=$LIBS
15110 LIBS
="-lcups $LIBS"
15111 cat >conftest.
$ac_ext <<_ACEOF
15114 cat confdefs.h
>>conftest.
$ac_ext
15115 cat >>conftest.
$ac_ext <<_ACEOF
15116 /* end confdefs.h. */
15118 /* Override any GCC internal prototype to avoid an error.
15119 Use char because int might match the return type of a GCC
15120 builtin and then its argument prototype would still apply. */
15124 char cupsGetDefault ();
15128 return cupsGetDefault ();
15133 rm -f conftest.
$ac_objext conftest
$ac_exeext
15134 if { (ac_try
="$ac_link"
15135 case "(($ac_try" in
15136 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15137 *) ac_try_echo=$ac_try;;
15139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15140 (eval "$ac_link") 2>conftest.er1
15142 grep -v '^ *+' conftest.er1 >conftest.err
15144 cat conftest.err >&5
15145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15146 (exit $ac_status); } && {
15147 test -z "$ac_c_werror_flag" ||
15148 test ! -s conftest.err
15149 } && test -s conftest$ac_exeext &&
15150 $as_test_x conftest$ac_exeext; then
15152 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'` ;;
15153 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcups
\\.so |
sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15155 if test "x$ac_cv_lib_soname_cups" = "x"
15157 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15160 echo "$as_me: failed program was:" >&5
15161 sed 's/^/| /' conftest.$ac_ext >&5
15163 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15167 conftest$ac_exeext conftest.$ac_ext
15168 LIBS=$ac_get_soname_save_LIBS
15170 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15171 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15172 if test "${ac_cv_lib_soname_cups+set}" = set; then
15174 cat >>confdefs.h <<_ACEOF
15175 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15180 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
15181 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
15182 if test "${ac_cv_lib_soname_jack+set}" = set; then
15183 echo $ECHO_N "(cached) $ECHO_C" >&6
15185 ac_get_soname_save_LIBS=$LIBS
15186 LIBS="-ljack $LIBS"
15187 cat >conftest.$ac_ext <<_ACEOF
15190 cat confdefs.h >>conftest.$ac_ext
15191 cat >>conftest.$ac_ext <<_ACEOF
15192 /* end confdefs.h. */
15194 /* Override any GCC internal prototype to avoid an error.
15195 Use char because int might match the return type of a GCC
15196 builtin and then its argument prototype would still apply. */
15200 char jack_client_new ();
15204 return jack_client_new ();
15209 rm -f conftest.$ac_objext conftest$ac_exeext
15210 if { (ac_try="$ac_link"
15211 case "(($ac_try" in
15212 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15213 *) ac_try_echo
=$ac_try;;
15215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15216 (eval "$ac_link") 2>conftest.er1
15218 grep -v '^ *+' conftest.er1
>conftest.err
15220 cat conftest.err
>&5
15221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15222 (exit $ac_status); } && {
15223 test -z "$ac_c_werror_flag" ||
15224 test ! -s conftest.err
15225 } && test -s conftest
$ac_exeext &&
15226 $as_test_x conftest
$ac_exeext; then
15228 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'` ;;
15229 so
) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15231 if test "x$ac_cv_lib_soname_jack" = "x"
15233 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15236 echo "$as_me: failed program was:" >&5
15237 sed 's/^/| /' conftest.
$ac_ext >&5
15239 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15242 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15243 conftest
$ac_exeext conftest.
$ac_ext
15244 LIBS
=$ac_get_soname_save_LIBS
15246 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15247 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15248 if test "${ac_cv_lib_soname_jack+set}" = set; then
15250 cat >>confdefs.h
<<_ACEOF
15251 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15256 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15257 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
15258 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15259 echo $ECHO_N "(cached) $ECHO_C" >&6
15261 ac_get_soname_save_LIBS
=$LIBS
15262 LIBS
="-lfontconfig $LIBS"
15263 cat >conftest.
$ac_ext <<_ACEOF
15266 cat confdefs.h
>>conftest.
$ac_ext
15267 cat >>conftest.
$ac_ext <<_ACEOF
15268 /* end confdefs.h. */
15270 /* Override any GCC internal prototype to avoid an error.
15271 Use char because int might match the return type of a GCC
15272 builtin and then its argument prototype would still apply. */
15285 rm -f conftest.
$ac_objext conftest
$ac_exeext
15286 if { (ac_try
="$ac_link"
15287 case "(($ac_try" in
15288 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15289 *) ac_try_echo=$ac_try;;
15291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15292 (eval "$ac_link") 2>conftest.er1
15294 grep -v '^ *+' conftest.er1 >conftest.err
15296 cat conftest.err >&5
15297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15298 (exit $ac_status); } && {
15299 test -z "$ac_c_werror_flag" ||
15300 test ! -s conftest.err
15301 } && test -s conftest$ac_exeext &&
15302 $as_test_x conftest$ac_exeext; then
15304 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'` ;;
15305 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libfontconfig
\\.so |
sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15307 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15309 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15312 echo "$as_me: failed program was:" >&5
15313 sed 's/^/| /' conftest.$ac_ext >&5
15315 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15319 conftest$ac_exeext conftest.$ac_ext
15320 LIBS=$ac_get_soname_save_LIBS
15322 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15323 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15324 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15326 cat >>confdefs.h <<_ACEOF
15327 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15332 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
15333 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
15334 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15335 echo $ECHO_N "(cached) $ECHO_C" >&6
15337 ac_get_soname_save_LIBS=$LIBS
15339 cat >conftest.$ac_ext <<_ACEOF
15342 cat confdefs.h >>conftest.$ac_ext
15343 cat >>conftest.$ac_ext <<_ACEOF
15344 /* end confdefs.h. */
15346 /* Override any GCC internal prototype to avoid an error.
15347 Use char because int might match the return type of a GCC
15348 builtin and then its argument prototype would still apply. */
15352 char SSL_library_init ();
15356 return SSL_library_init ();
15361 rm -f conftest.$ac_objext conftest$ac_exeext
15362 if { (ac_try="$ac_link"
15363 case "(($ac_try" in
15364 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15365 *) ac_try_echo
=$ac_try;;
15367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15368 (eval "$ac_link") 2>conftest.er1
15370 grep -v '^ *+' conftest.er1
>conftest.err
15372 cat conftest.err
>&5
15373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15374 (exit $ac_status); } && {
15375 test -z "$ac_c_werror_flag" ||
15376 test ! -s conftest.err
15377 } && test -s conftest
$ac_exeext &&
15378 $as_test_x conftest
$ac_exeext; then
15380 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'` ;;
15381 so
) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15383 if test "x$ac_cv_lib_soname_ssl" = "x"
15385 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15388 echo "$as_me: failed program was:" >&5
15389 sed 's/^/| /' conftest.
$ac_ext >&5
15391 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15394 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15395 conftest
$ac_exeext conftest.
$ac_ext
15396 LIBS
=$ac_get_soname_save_LIBS
15398 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15399 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15400 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15402 cat >>confdefs.h
<<_ACEOF
15403 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15408 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15409 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
15410 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15411 echo $ECHO_N "(cached) $ECHO_C" >&6
15413 ac_get_soname_save_LIBS
=$LIBS
15414 LIBS
="-lcrypto $LIBS"
15415 cat >conftest.
$ac_ext <<_ACEOF
15418 cat confdefs.h
>>conftest.
$ac_ext
15419 cat >>conftest.
$ac_ext <<_ACEOF
15420 /* end confdefs.h. */
15422 /* Override any GCC internal prototype to avoid an error.
15423 Use char because int might match the return type of a GCC
15424 builtin and then its argument prototype would still apply. */
15428 char BIO_new_socket ();
15432 return BIO_new_socket ();
15437 rm -f conftest.
$ac_objext conftest
$ac_exeext
15438 if { (ac_try
="$ac_link"
15439 case "(($ac_try" in
15440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15441 *) ac_try_echo=$ac_try;;
15443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15444 (eval "$ac_link") 2>conftest.er1
15446 grep -v '^ *+' conftest.er1 >conftest.err
15448 cat conftest.err >&5
15449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15450 (exit $ac_status); } && {
15451 test -z "$ac_c_werror_flag" ||
15452 test ! -s conftest.err
15453 } && test -s conftest$ac_exeext &&
15454 $as_test_x conftest$ac_exeext; then
15456 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'` ;;
15457 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcrypto
\\.so |
sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15459 if test "x$ac_cv_lib_soname_crypto" = "x"
15461 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15464 echo "$as_me: failed program was:" >&5
15465 sed 's/^/| /' conftest.$ac_ext >&5
15467 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15471 conftest$ac_exeext conftest.$ac_ext
15472 LIBS=$ac_get_soname_save_LIBS
15474 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15475 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15476 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15478 cat >>confdefs.h <<_ACEOF
15479 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15484 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15485 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
15486 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15487 echo $ECHO_N "(cached) $ECHO_C" >&6
15489 ac_get_soname_save_LIBS=$LIBS
15490 LIBS="-lncurses $LIBS"
15491 cat >conftest.$ac_ext <<_ACEOF
15494 cat confdefs.h >>conftest.$ac_ext
15495 cat >>conftest.$ac_ext <<_ACEOF
15496 /* end confdefs.h. */
15498 /* Override any GCC internal prototype to avoid an error.
15499 Use char because int might match the return type of a GCC
15500 builtin and then its argument prototype would still apply. */
15513 rm -f conftest.$ac_objext conftest$ac_exeext
15514 if { (ac_try="$ac_link"
15515 case "(($ac_try" in
15516 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15517 *) ac_try_echo
=$ac_try;;
15519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15520 (eval "$ac_link") 2>conftest.er1
15522 grep -v '^ *+' conftest.er1
>conftest.err
15524 cat conftest.err
>&5
15525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15526 (exit $ac_status); } && {
15527 test -z "$ac_c_werror_flag" ||
15528 test ! -s conftest.err
15529 } && test -s conftest
$ac_exeext &&
15530 $as_test_x conftest
$ac_exeext; then
15532 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'` ;;
15533 so
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15535 if test "x$ac_cv_lib_soname_ncurses" = "x"
15537 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15540 echo "$as_me: failed program was:" >&5
15541 sed 's/^/| /' conftest.
$ac_ext >&5
15543 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15546 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15547 conftest
$ac_exeext conftest.
$ac_ext
15548 LIBS
=$ac_get_soname_save_LIBS
15550 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15551 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
15552 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15554 cat >>confdefs.h
<<_ACEOF
15555 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15560 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15561 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
15562 if test "${ac_cv_lib_soname_curses+set}" = set; then
15563 echo $ECHO_N "(cached) $ECHO_C" >&6
15565 ac_get_soname_save_LIBS
=$LIBS
15566 LIBS
="-lcurses $LIBS"
15567 cat >conftest.
$ac_ext <<_ACEOF
15570 cat confdefs.h
>>conftest.
$ac_ext
15571 cat >>conftest.
$ac_ext <<_ACEOF
15572 /* end confdefs.h. */
15574 /* Override any GCC internal prototype to avoid an error.
15575 Use char because int might match the return type of a GCC
15576 builtin and then its argument prototype would still apply. */
15589 rm -f conftest.
$ac_objext conftest
$ac_exeext
15590 if { (ac_try
="$ac_link"
15591 case "(($ac_try" in
15592 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15593 *) ac_try_echo=$ac_try;;
15595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15596 (eval "$ac_link") 2>conftest.er1
15598 grep -v '^ *+' conftest.er1 >conftest.err
15600 cat conftest.err >&5
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); } && {
15603 test -z "$ac_c_werror_flag" ||
15604 test ! -s conftest.err
15605 } && test -s conftest$ac_exeext &&
15606 $as_test_x conftest$ac_exeext; then
15608 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'` ;;
15609 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcurses
\\.so |
sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15611 if test "x$ac_cv_lib_soname_curses" = "x"
15613 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15616 echo "$as_me: failed program was:" >&5
15617 sed 's/^/| /' conftest.$ac_ext >&5
15619 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15623 conftest$ac_exeext conftest.$ac_ext
15624 LIBS=$ac_get_soname_save_LIBS
15626 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15627 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
15628 if test "${ac_cv_lib_soname_curses+set}" = set; then
15630 cat >>confdefs.h <<_ACEOF
15631 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15636 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15637 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
15638 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15639 echo $ECHO_N "(cached) $ECHO_C" >&6
15641 ac_get_soname_save_LIBS=$LIBS
15642 LIBS="-ljpeg $LIBS"
15643 cat >conftest.$ac_ext <<_ACEOF
15646 cat confdefs.h >>conftest.$ac_ext
15647 cat >>conftest.$ac_ext <<_ACEOF
15648 /* end confdefs.h. */
15650 /* Override any GCC internal prototype to avoid an error.
15651 Use char because int might match the return type of a GCC
15652 builtin and then its argument prototype would still apply. */
15656 char jpeg_start_decompress ();
15660 return jpeg_start_decompress ();
15665 rm -f conftest.$ac_objext conftest$ac_exeext
15666 if { (ac_try="$ac_link"
15667 case "(($ac_try" in
15668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15669 *) ac_try_echo
=$ac_try;;
15671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15672 (eval "$ac_link") 2>conftest.er1
15674 grep -v '^ *+' conftest.er1
>conftest.err
15676 cat conftest.err
>&5
15677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678 (exit $ac_status); } && {
15679 test -z "$ac_c_werror_flag" ||
15680 test ! -s conftest.err
15681 } && test -s conftest
$ac_exeext &&
15682 $as_test_x conftest
$ac_exeext; then
15684 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'` ;;
15685 so
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15687 if test "x$ac_cv_lib_soname_jpeg" = "x"
15689 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15692 echo "$as_me: failed program was:" >&5
15693 sed 's/^/| /' conftest.
$ac_ext >&5
15695 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15698 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15699 conftest
$ac_exeext conftest.
$ac_ext
15700 LIBS
=$ac_get_soname_save_LIBS
15702 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15703 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15704 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15706 cat >>confdefs.h
<<_ACEOF
15707 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15712 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15713 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
15714 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15715 echo $ECHO_N "(cached) $ECHO_C" >&6
15717 ac_get_soname_save_LIBS
=$LIBS
15718 LIBS
="-lcapi20 $LIBS"
15719 cat >conftest.
$ac_ext <<_ACEOF
15722 cat confdefs.h
>>conftest.
$ac_ext
15723 cat >>conftest.
$ac_ext <<_ACEOF
15724 /* end confdefs.h. */
15726 /* Override any GCC internal prototype to avoid an error.
15727 Use char because int might match the return type of a GCC
15728 builtin and then its argument prototype would still apply. */
15732 char capi20_isinstalled ();
15736 return capi20_isinstalled ();
15741 rm -f conftest.
$ac_objext conftest
$ac_exeext
15742 if { (ac_try
="$ac_link"
15743 case "(($ac_try" in
15744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15745 *) ac_try_echo=$ac_try;;
15747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15748 (eval "$ac_link") 2>conftest.er1
15750 grep -v '^ *+' conftest.er1 >conftest.err
15752 cat conftest.err >&5
15753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15754 (exit $ac_status); } && {
15755 test -z "$ac_c_werror_flag" ||
15756 test ! -s conftest.err
15757 } && test -s conftest$ac_exeext &&
15758 $as_test_x conftest$ac_exeext; then
15760 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'` ;;
15761 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcapi20
\\.so |
sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15763 if test "x$ac_cv_lib_soname_capi20" = "x"
15765 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15768 echo "$as_me: failed program was:" >&5
15769 sed 's/^/| /' conftest.$ac_ext >&5
15771 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15775 conftest$ac_exeext conftest.$ac_ext
15776 LIBS=$ac_get_soname_save_LIBS
15778 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15779 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15780 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15782 cat >>confdefs.h <<_ACEOF
15783 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15937 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
15938 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15940 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15941 echo $ECHO_N "(cached) $ECHO_C" >&6
15943 cat >conftest.$ac_ext <<_ACEOF
15946 cat confdefs.h >>conftest.$ac_ext
15947 cat >>conftest.$ac_ext <<_ACEOF
15948 /* end confdefs.h. */
15949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15951 #define $ac_func innocuous_$ac_func
15953 /* System header to define __stub macros and hopefully few prototypes,
15954 which can conflict with char $ac_func (); below.
15955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15956 <limits.h> exists even on freestanding compilers. */
15959 # include <limits.h>
15961 # include <assert.h>
15966 /* Override any GCC internal prototype to avoid an error.
15967 Use char because int might match the return type of a GCC
15968 builtin and then its argument prototype would still apply. */
15973 /* The GNU C library defines this for functions which it implements
15974 to always fail with ENOSYS. Some functions are actually named
15975 something starting with __ and the normal name is an alias. */
15976 #if defined __stub_$ac_func || defined __stub___$ac_func
15983 return $ac_func ();
15988 rm -f conftest.$ac_objext conftest$ac_exeext
15989 if { (ac_try="$ac_link"
15990 case "(($ac_try" in
15991 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15992 *) ac_try_echo
=$ac_try;;
15994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15995 (eval "$ac_link") 2>conftest.er1
15997 grep -v '^ *+' conftest.er1
>conftest.err
15999 cat conftest.err
>&5
16000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16001 (exit $ac_status); } && {
16002 test -z "$ac_c_werror_flag" ||
16003 test ! -s conftest.err
16004 } && test -s conftest
$ac_exeext &&
16005 $as_test_x conftest
$ac_exeext; then
16006 eval "$as_ac_var=yes"
16008 echo "$as_me: failed program was:" >&5
16009 sed 's/^/| /' conftest.
$ac_ext >&5
16011 eval "$as_ac_var=no"
16014 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16015 conftest
$ac_exeext conftest.
$ac_ext
16017 ac_res
=`eval echo '${'$as_ac_var'}'`
16018 { echo "$as_me:$LINENO: result: $ac_res" >&5
16019 echo "${ECHO_T}$ac_res" >&6; }
16020 if test `eval echo '${'$as_ac_var'}'` = yes; then
16021 cat >>confdefs.h
<<_ACEOF
16022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16029 if test "$ac_cv_func_dlopen" = no
16031 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16032 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16033 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16034 echo $ECHO_N "(cached) $ECHO_C" >&6
16036 ac_check_lib_save_LIBS
=$LIBS
16038 cat >conftest.
$ac_ext <<_ACEOF
16041 cat confdefs.h
>>conftest.
$ac_ext
16042 cat >>conftest.
$ac_ext <<_ACEOF
16043 /* end confdefs.h. */
16045 /* Override any GCC internal prototype to avoid an error.
16046 Use char because int might match the return type of a GCC
16047 builtin and then its argument prototype would still apply. */
16060 rm -f conftest.
$ac_objext conftest
$ac_exeext
16061 if { (ac_try
="$ac_link"
16062 case "(($ac_try" in
16063 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16064 *) ac_try_echo=$ac_try;;
16066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16067 (eval "$ac_link") 2>conftest.er1
16069 grep -v '^ *+' conftest.er1 >conftest.err
16071 cat conftest.err >&5
16072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16073 (exit $ac_status); } && {
16074 test -z "$ac_c_werror_flag" ||
16075 test ! -s conftest.err
16076 } && test -s conftest$ac_exeext &&
16077 $as_test_x conftest$ac_exeext; then
16078 ac_cv_lib_dl_dlopen=yes
16080 echo "$as_me: failed program was:" >&5
16081 sed 's/^/| /' conftest.$ac_ext >&5
16083 ac_cv_lib_dl_dlopen=no
16086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16087 conftest$ac_exeext conftest.$ac_ext
16088 LIBS=$ac_check_lib_save_LIBS
16090 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16091 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16092 if test $ac_cv_lib_dl_dlopen = yes; then
16093 cat >>confdefs.h <<\_ACEOF
16094 #define HAVE_DLOPEN 1
16101 ac_wine_check_funcs_save_LIBS="$LIBS"
16102 LIBS="$LIBS $LIBDL"
16104 for ac_func in dladdr
16106 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16107 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16109 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16110 echo $ECHO_N "(cached) $ECHO_C" >&6
16112 cat >conftest.$ac_ext <<_ACEOF
16115 cat confdefs.h >>conftest.$ac_ext
16116 cat >>conftest.$ac_ext <<_ACEOF
16117 /* end confdefs.h. */
16118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16120 #define $ac_func innocuous_$ac_func
16122 /* System header to define __stub macros and hopefully few prototypes,
16123 which can conflict with char $ac_func (); below.
16124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16125 <limits.h> exists even on freestanding compilers. */
16128 # include <limits.h>
16130 # include <assert.h>
16135 /* Override any GCC internal prototype to avoid an error.
16136 Use char because int might match the return type of a GCC
16137 builtin and then its argument prototype would still apply. */
16142 /* The GNU C library defines this for functions which it implements
16143 to always fail with ENOSYS. Some functions are actually named
16144 something starting with __ and the normal name is an alias. */
16145 #if defined __stub_$ac_func || defined __stub___$ac_func
16152 return $ac_func ();
16157 rm -f conftest.$ac_objext conftest$ac_exeext
16158 if { (ac_try="$ac_link"
16159 case "(($ac_try" in
16160 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16161 *) ac_try_echo
=$ac_try;;
16163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16164 (eval "$ac_link") 2>conftest.er1
16166 grep -v '^ *+' conftest.er1
>conftest.err
16168 cat conftest.err
>&5
16169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170 (exit $ac_status); } && {
16171 test -z "$ac_c_werror_flag" ||
16172 test ! -s conftest.err
16173 } && test -s conftest
$ac_exeext &&
16174 $as_test_x conftest
$ac_exeext; then
16175 eval "$as_ac_var=yes"
16177 echo "$as_me: failed program was:" >&5
16178 sed 's/^/| /' conftest.
$ac_ext >&5
16180 eval "$as_ac_var=no"
16183 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16184 conftest
$ac_exeext conftest.
$ac_ext
16186 ac_res
=`eval echo '${'$as_ac_var'}'`
16187 { echo "$as_me:$LINENO: result: $ac_res" >&5
16188 echo "${ECHO_T}$ac_res" >&6; }
16189 if test `eval echo '${'$as_ac_var'}'` = yes; then
16190 cat >>confdefs.h
<<_ACEOF
16191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16197 LIBS
="$ac_wine_check_funcs_save_LIBS"
16199 if test "$ac_cv_func_poll" = no
16201 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16202 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16203 if test "${ac_cv_lib_poll_poll+set}" = set; then
16204 echo $ECHO_N "(cached) $ECHO_C" >&6
16206 ac_check_lib_save_LIBS
=$LIBS
16207 LIBS
="-lpoll $LIBS"
16208 cat >conftest.
$ac_ext <<_ACEOF
16211 cat confdefs.h
>>conftest.
$ac_ext
16212 cat >>conftest.
$ac_ext <<_ACEOF
16213 /* end confdefs.h. */
16215 /* Override any GCC internal prototype to avoid an error.
16216 Use char because int might match the return type of a GCC
16217 builtin and then its argument prototype would still apply. */
16230 rm -f conftest.
$ac_objext conftest
$ac_exeext
16231 if { (ac_try
="$ac_link"
16232 case "(($ac_try" in
16233 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16234 *) ac_try_echo=$ac_try;;
16236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16237 (eval "$ac_link") 2>conftest.er1
16239 grep -v '^ *+' conftest.er1 >conftest.err
16241 cat conftest.err >&5
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); } && {
16244 test -z "$ac_c_werror_flag" ||
16245 test ! -s conftest.err
16246 } && test -s conftest$ac_exeext &&
16247 $as_test_x conftest$ac_exeext; then
16248 ac_cv_lib_poll_poll=yes
16250 echo "$as_me: failed program was:" >&5
16251 sed 's/^/| /' conftest.$ac_ext >&5
16253 ac_cv_lib_poll_poll=no
16256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16257 conftest$ac_exeext conftest.$ac_ext
16258 LIBS=$ac_check_lib_save_LIBS
16260 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16261 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16262 if test $ac_cv_lib_poll_poll = yes; then
16263 cat >>confdefs.h <<\_ACEOF
16264 #define HAVE_POLL 1
16272 if test "$ac_cv_func_gethostbyname" = no
16275 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
16276 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
16277 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
16278 echo $ECHO_N "(cached) $ECHO_C" >&6
16280 ac_check_lib_save_LIBS=$LIBS
16282 cat >conftest.$ac_ext <<_ACEOF
16285 cat confdefs.h >>conftest.$ac_ext
16286 cat >>conftest.$ac_ext <<_ACEOF
16287 /* end confdefs.h. */
16289 /* Override any GCC internal prototype to avoid an error.
16290 Use char because int might match the return type of a GCC
16291 builtin and then its argument prototype would still apply. */
16295 char gethostbyname ();
16299 return gethostbyname ();
16304 rm -f conftest.$ac_objext conftest$ac_exeext
16305 if { (ac_try="$ac_link"
16306 case "(($ac_try" in
16307 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16308 *) ac_try_echo
=$ac_try;;
16310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16311 (eval "$ac_link") 2>conftest.er1
16313 grep -v '^ *+' conftest.er1
>conftest.err
16315 cat conftest.err
>&5
16316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16317 (exit $ac_status); } && {
16318 test -z "$ac_c_werror_flag" ||
16319 test ! -s conftest.err
16320 } && test -s conftest
$ac_exeext &&
16321 $as_test_x conftest
$ac_exeext; then
16322 ac_cv_lib_nsl_gethostbyname
=yes
16324 echo "$as_me: failed program was:" >&5
16325 sed 's/^/| /' conftest.
$ac_ext >&5
16327 ac_cv_lib_nsl_gethostbyname
=no
16330 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16331 conftest
$ac_exeext conftest.
$ac_ext
16332 LIBS
=$ac_check_lib_save_LIBS
16334 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
16335 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
16336 if test $ac_cv_lib_nsl_gethostbyname = yes; then
16337 cat >>confdefs.h
<<_ACEOF
16338 #define HAVE_LIBNSL 1
16347 if test "$ac_cv_func_connect" = no
16350 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
16351 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
16352 if test "${ac_cv_lib_socket_connect+set}" = set; then
16353 echo $ECHO_N "(cached) $ECHO_C" >&6
16355 ac_check_lib_save_LIBS
=$LIBS
16356 LIBS
="-lsocket $LIBS"
16357 cat >conftest.
$ac_ext <<_ACEOF
16360 cat confdefs.h
>>conftest.
$ac_ext
16361 cat >>conftest.
$ac_ext <<_ACEOF
16362 /* end confdefs.h. */
16364 /* Override any GCC internal prototype to avoid an error.
16365 Use char because int might match the return type of a GCC
16366 builtin and then its argument prototype would still apply. */
16379 rm -f conftest.
$ac_objext conftest
$ac_exeext
16380 if { (ac_try
="$ac_link"
16381 case "(($ac_try" in
16382 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16383 *) ac_try_echo=$ac_try;;
16385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16386 (eval "$ac_link") 2>conftest.er1
16388 grep -v '^ *+' conftest.er1 >conftest.err
16390 cat conftest.err >&5
16391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16392 (exit $ac_status); } && {
16393 test -z "$ac_c_werror_flag" ||
16394 test ! -s conftest.err
16395 } && test -s conftest$ac_exeext &&
16396 $as_test_x conftest$ac_exeext; then
16397 ac_cv_lib_socket_connect=yes
16399 echo "$as_me: failed program was:" >&5
16400 sed 's/^/| /' conftest.$ac_ext >&5
16402 ac_cv_lib_socket_connect=no
16405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16406 conftest$ac_exeext conftest.$ac_ext
16407 LIBS=$ac_check_lib_save_LIBS
16409 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
16410 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
16411 if test $ac_cv_lib_socket_connect = yes; then
16412 cat >>confdefs.h <<_ACEOF
16413 #define HAVE_LIBSOCKET 1
16416 LIBS="-lsocket $LIBS"
16422 if test "$ac_cv_func_inet_aton" = no
16425 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
16426 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
16427 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
16428 echo $ECHO_N "(cached) $ECHO_C" >&6
16430 ac_check_lib_save_LIBS=$LIBS
16431 LIBS="-lresolv $LIBS"
16432 cat >conftest.$ac_ext <<_ACEOF
16435 cat confdefs.h >>conftest.$ac_ext
16436 cat >>conftest.$ac_ext <<_ACEOF
16437 /* end confdefs.h. */
16439 /* Override any GCC internal prototype to avoid an error.
16440 Use char because int might match the return type of a GCC
16441 builtin and then its argument prototype would still apply. */
16449 return inet_aton ();
16454 rm -f conftest.$ac_objext conftest$ac_exeext
16455 if { (ac_try="$ac_link"
16456 case "(($ac_try" in
16457 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16458 *) ac_try_echo
=$ac_try;;
16460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16461 (eval "$ac_link") 2>conftest.er1
16463 grep -v '^ *+' conftest.er1
>conftest.err
16465 cat conftest.err
>&5
16466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467 (exit $ac_status); } && {
16468 test -z "$ac_c_werror_flag" ||
16469 test ! -s conftest.err
16470 } && test -s conftest
$ac_exeext &&
16471 $as_test_x conftest
$ac_exeext; then
16472 ac_cv_lib_resolv_inet_aton
=yes
16474 echo "$as_me: failed program was:" >&5
16475 sed 's/^/| /' conftest.
$ac_ext >&5
16477 ac_cv_lib_resolv_inet_aton
=no
16480 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16481 conftest
$ac_exeext conftest.
$ac_ext
16482 LIBS
=$ac_check_lib_save_LIBS
16484 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
16485 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
16486 if test $ac_cv_lib_resolv_inet_aton = yes; then
16487 cat >>confdefs.h
<<_ACEOF
16488 #define HAVE_LIBRESOLV 1
16491 LIBS
="-lresolv $LIBS"
16498 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16499 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16500 if test "${ac_cv_c_const+set}" = set; then
16501 echo $ECHO_N "(cached) $ECHO_C" >&6
16503 cat >conftest.
$ac_ext <<_ACEOF
16506 cat confdefs.h
>>conftest.
$ac_ext
16507 cat >>conftest.
$ac_ext <<_ACEOF
16508 /* end confdefs.h. */
16513 /* FIXME: Include the comments suggested by Paul. */
16514 #ifndef __cplusplus
16515 /* Ultrix mips cc rejects this. */
16516 typedef int charset[2];
16518 /* SunOS 4.1.1 cc rejects this. */
16519 char const *const *pcpcc;
16521 /* NEC SVR4.0.2 mips cc rejects this. */
16522 struct point {int x, y;};
16523 static struct point const zero = {0,0};
16524 /* AIX XL C 1.02.0.0 rejects this.
16525 It does not let you subtract one const X* pointer from another in
16526 an arm of an if-expression whose if-part is not a constant
16528 const char *g = "string";
16529 pcpcc = &g + (g ? g-g : 0);
16530 /* HPUX 7.0 cc rejects these. */
16532 ppc = (char**) pcpcc;
16533 pcpcc = (char const *const *) ppc;
16534 { /* SCO 3.2v4 cc rejects this. */
16536 char const *s = 0 ? (char *) 0 : (char const *) 0;
16541 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16542 int x[] = {25, 17};
16543 const int *foo = &x[0];
16546 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16547 typedef const int *iptr;
16551 { /* AIX XL C 1.02.0.0 rejects this saying
16552 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16553 struct s { int j; const int *ap[3]; };
16554 struct s *b; b->j = 5;
16556 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16557 const int foo = 10;
16558 if (!foo) return 0;
16560 return !cs[0] && !zero.x;
16567 rm -f conftest.
$ac_objext
16568 if { (ac_try
="$ac_compile"
16569 case "(($ac_try" in
16570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16571 *) ac_try_echo=$ac_try;;
16573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16574 (eval "$ac_compile") 2>conftest.er1
16576 grep -v '^ *+' conftest.er1 >conftest.err
16578 cat conftest.err >&5
16579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16580 (exit $ac_status); } && {
16581 test -z "$ac_c_werror_flag" ||
16582 test ! -s conftest.err
16583 } && test -s conftest.$ac_objext; then
16586 echo "$as_me: failed program was:" >&5
16587 sed 's/^/| /' conftest.$ac_ext >&5
16592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16594 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16595 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16596 if test $ac_cv_c_const = no; then
16598 cat >>confdefs.h <<\_ACEOF
16604 { echo "$as_me:$LINENO: checking for inline" >&5
16605 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16606 if test "${ac_cv_c_inline+set}" = set; then
16607 echo $ECHO_N "(cached) $ECHO_C" >&6
16610 for ac_kw in inline __inline__ __inline; do
16611 cat >conftest.$ac_ext <<_ACEOF
16614 cat confdefs.h >>conftest.$ac_ext
16615 cat >>conftest.$ac_ext <<_ACEOF
16616 /* end confdefs.h. */
16617 #ifndef __cplusplus
16619 static $ac_kw foo_t static_foo () {return 0; }
16620 $ac_kw foo_t foo () {return 0; }
16624 rm -f conftest.$ac_objext
16625 if { (ac_try="$ac_compile"
16626 case "(($ac_try" in
16627 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16628 *) ac_try_echo
=$ac_try;;
16630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16631 (eval "$ac_compile") 2>conftest.er1
16633 grep -v '^ *+' conftest.er1
>conftest.err
16635 cat conftest.err
>&5
16636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16637 (exit $ac_status); } && {
16638 test -z "$ac_c_werror_flag" ||
16639 test ! -s conftest.err
16640 } && test -s conftest.
$ac_objext; then
16641 ac_cv_c_inline
=$ac_kw
16643 echo "$as_me: failed program was:" >&5
16644 sed 's/^/| /' conftest.
$ac_ext >&5
16649 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16650 test "$ac_cv_c_inline" != no
&& break
16654 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16655 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16658 case $ac_cv_c_inline in
16661 case $ac_cv_c_inline in
16663 *) ac_val
=$ac_cv_c_inline;;
16665 cat >>confdefs.h
<<_ACEOF
16666 #ifndef __cplusplus
16667 #define inline $ac_val
16673 { echo "$as_me:$LINENO: checking for mode_t" >&5
16674 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16675 if test "${ac_cv_type_mode_t+set}" = set; then
16676 echo $ECHO_N "(cached) $ECHO_C" >&6
16678 cat >conftest.
$ac_ext <<_ACEOF
16681 cat confdefs.h
>>conftest.
$ac_ext
16682 cat >>conftest.
$ac_ext <<_ACEOF
16683 /* end confdefs.h. */
16684 $ac_includes_default
16685 typedef mode_t ac__type_new_;
16689 if ((ac__type_new_ *) 0)
16691 if (sizeof (ac__type_new_))
16697 rm -f conftest.
$ac_objext
16698 if { (ac_try
="$ac_compile"
16699 case "(($ac_try" in
16700 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16701 *) ac_try_echo=$ac_try;;
16703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16704 (eval "$ac_compile") 2>conftest.er1
16706 grep -v '^ *+' conftest.er1 >conftest.err
16708 cat conftest.err >&5
16709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16710 (exit $ac_status); } && {
16711 test -z "$ac_c_werror_flag" ||
16712 test ! -s conftest.err
16713 } && test -s conftest.$ac_objext; then
16714 ac_cv_type_mode_t=yes
16716 echo "$as_me: failed program was:" >&5
16717 sed 's/^/| /' conftest.$ac_ext >&5
16719 ac_cv_type_mode_t=no
16722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16724 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16725 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16726 if test $ac_cv_type_mode_t = yes; then
16728 cat >>confdefs.h <<_ACEOF
16729 #define HAVE_MODE_T 1
16734 { echo "$as_me:$LINENO: checking for off_t" >&5
16735 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16736 if test "${ac_cv_type_off_t+set}" = set; then
16737 echo $ECHO_N "(cached) $ECHO_C" >&6
16739 cat >conftest.$ac_ext <<_ACEOF
16742 cat confdefs.h >>conftest.$ac_ext
16743 cat >>conftest.$ac_ext <<_ACEOF
16744 /* end confdefs.h. */
16745 $ac_includes_default
16746 typedef off_t ac__type_new_;
16750 if ((ac__type_new_ *) 0)
16752 if (sizeof (ac__type_new_))
16758 rm -f conftest.$ac_objext
16759 if { (ac_try="$ac_compile"
16760 case "(($ac_try" in
16761 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16762 *) ac_try_echo
=$ac_try;;
16764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16765 (eval "$ac_compile") 2>conftest.er1
16767 grep -v '^ *+' conftest.er1
>conftest.err
16769 cat conftest.err
>&5
16770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16771 (exit $ac_status); } && {
16772 test -z "$ac_c_werror_flag" ||
16773 test ! -s conftest.err
16774 } && test -s conftest.
$ac_objext; then
16775 ac_cv_type_off_t
=yes
16777 echo "$as_me: failed program was:" >&5
16778 sed 's/^/| /' conftest.
$ac_ext >&5
16780 ac_cv_type_off_t
=no
16783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16785 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16786 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16787 if test $ac_cv_type_off_t = yes; then
16789 cat >>confdefs.h
<<_ACEOF
16790 #define HAVE_OFF_T 1
16795 { echo "$as_me:$LINENO: checking for pid_t" >&5
16796 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16797 if test "${ac_cv_type_pid_t+set}" = set; then
16798 echo $ECHO_N "(cached) $ECHO_C" >&6
16800 cat >conftest.
$ac_ext <<_ACEOF
16803 cat confdefs.h
>>conftest.
$ac_ext
16804 cat >>conftest.
$ac_ext <<_ACEOF
16805 /* end confdefs.h. */
16806 $ac_includes_default
16807 typedef pid_t ac__type_new_;
16811 if ((ac__type_new_ *) 0)
16813 if (sizeof (ac__type_new_))
16819 rm -f conftest.
$ac_objext
16820 if { (ac_try
="$ac_compile"
16821 case "(($ac_try" in
16822 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16823 *) ac_try_echo=$ac_try;;
16825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16826 (eval "$ac_compile") 2>conftest.er1
16828 grep -v '^ *+' conftest.er1 >conftest.err
16830 cat conftest.err >&5
16831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16832 (exit $ac_status); } && {
16833 test -z "$ac_c_werror_flag" ||
16834 test ! -s conftest.err
16835 } && test -s conftest.$ac_objext; then
16836 ac_cv_type_pid_t=yes
16838 echo "$as_me: failed program was:" >&5
16839 sed 's/^/| /' conftest.$ac_ext >&5
16841 ac_cv_type_pid_t=no
16844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16846 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16847 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16848 if test $ac_cv_type_pid_t = yes; then
16850 cat >>confdefs.h <<_ACEOF
16851 #define HAVE_PID_T 1
16856 { echo "$as_me:$LINENO: checking for size_t" >&5
16857 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16858 if test "${ac_cv_type_size_t+set}" = set; then
16859 echo $ECHO_N "(cached) $ECHO_C" >&6
16861 cat >conftest.$ac_ext <<_ACEOF
16864 cat confdefs.h >>conftest.$ac_ext
16865 cat >>conftest.$ac_ext <<_ACEOF
16866 /* end confdefs.h. */
16867 $ac_includes_default
16868 typedef size_t ac__type_new_;
16872 if ((ac__type_new_ *) 0)
16874 if (sizeof (ac__type_new_))
16880 rm -f conftest.$ac_objext
16881 if { (ac_try="$ac_compile"
16882 case "(($ac_try" in
16883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16884 *) ac_try_echo
=$ac_try;;
16886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16887 (eval "$ac_compile") 2>conftest.er1
16889 grep -v '^ *+' conftest.er1
>conftest.err
16891 cat conftest.err
>&5
16892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16893 (exit $ac_status); } && {
16894 test -z "$ac_c_werror_flag" ||
16895 test ! -s conftest.err
16896 } && test -s conftest.
$ac_objext; then
16897 ac_cv_type_size_t
=yes
16899 echo "$as_me: failed program was:" >&5
16900 sed 's/^/| /' conftest.
$ac_ext >&5
16902 ac_cv_type_size_t
=no
16905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16907 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16908 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16909 if test $ac_cv_type_size_t = yes; then
16911 cat >>confdefs.h
<<_ACEOF
16912 #define HAVE_SIZE_T 1
16917 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16918 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16919 if test "${ac_cv_type_ssize_t+set}" = set; then
16920 echo $ECHO_N "(cached) $ECHO_C" >&6
16922 cat >conftest.
$ac_ext <<_ACEOF
16925 cat confdefs.h
>>conftest.
$ac_ext
16926 cat >>conftest.
$ac_ext <<_ACEOF
16927 /* end confdefs.h. */
16928 $ac_includes_default
16929 typedef ssize_t ac__type_new_;
16933 if ((ac__type_new_ *) 0)
16935 if (sizeof (ac__type_new_))
16941 rm -f conftest.
$ac_objext
16942 if { (ac_try
="$ac_compile"
16943 case "(($ac_try" in
16944 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16945 *) ac_try_echo=$ac_try;;
16947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16948 (eval "$ac_compile") 2>conftest.er1
16950 grep -v '^ *+' conftest.er1 >conftest.err
16952 cat conftest.err >&5
16953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954 (exit $ac_status); } && {
16955 test -z "$ac_c_werror_flag" ||
16956 test ! -s conftest.err
16957 } && test -s conftest.$ac_objext; then
16958 ac_cv_type_ssize_t=yes
16960 echo "$as_me: failed program was:" >&5
16961 sed 's/^/| /' conftest.$ac_ext >&5
16963 ac_cv_type_ssize_t=no
16966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16968 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16969 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16970 if test $ac_cv_type_ssize_t = yes; then
16972 cat >>confdefs.h <<_ACEOF
16973 #define HAVE_SSIZE_T 1
16978 { echo "$as_me:$LINENO: checking for long long" >&5
16979 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16980 if test "${ac_cv_type_long_long+set}" = set; then
16981 echo $ECHO_N "(cached) $ECHO_C" >&6
16983 cat >conftest.$ac_ext <<_ACEOF
16986 cat confdefs.h >>conftest.$ac_ext
16987 cat >>conftest.$ac_ext <<_ACEOF
16988 /* end confdefs.h. */
16989 $ac_includes_default
16990 typedef long long ac__type_new_;
16994 if ((ac__type_new_ *) 0)
16996 if (sizeof (ac__type_new_))
17002 rm -f conftest.$ac_objext
17003 if { (ac_try="$ac_compile"
17004 case "(($ac_try" in
17005 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17006 *) ac_try_echo
=$ac_try;;
17008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17009 (eval "$ac_compile") 2>conftest.er1
17011 grep -v '^ *+' conftest.er1
>conftest.err
17013 cat conftest.err
>&5
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); } && {
17016 test -z "$ac_c_werror_flag" ||
17017 test ! -s conftest.err
17018 } && test -s conftest.
$ac_objext; then
17019 ac_cv_type_long_long
=yes
17021 echo "$as_me: failed program was:" >&5
17022 sed 's/^/| /' conftest.
$ac_ext >&5
17024 ac_cv_type_long_long
=no
17027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17029 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17030 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17031 if test $ac_cv_type_long_long = yes; then
17033 cat >>confdefs.h
<<_ACEOF
17034 #define HAVE_LONG_LONG 1
17039 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17040 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17041 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17042 echo $ECHO_N "(cached) $ECHO_C" >&6
17044 cat >conftest.
$ac_ext <<_ACEOF
17047 cat confdefs.h
>>conftest.
$ac_ext
17048 cat >>conftest.
$ac_ext <<_ACEOF
17049 /* end confdefs.h. */
17050 $ac_includes_default
17051 typedef fsblkcnt_t ac__type_new_;
17055 if ((ac__type_new_ *) 0)
17057 if (sizeof (ac__type_new_))
17063 rm -f conftest.
$ac_objext
17064 if { (ac_try
="$ac_compile"
17065 case "(($ac_try" in
17066 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17067 *) ac_try_echo=$ac_try;;
17069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17070 (eval "$ac_compile") 2>conftest.er1
17072 grep -v '^ *+' conftest.er1 >conftest.err
17074 cat conftest.err >&5
17075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17076 (exit $ac_status); } && {
17077 test -z "$ac_c_werror_flag" ||
17078 test ! -s conftest.err
17079 } && test -s conftest.$ac_objext; then
17080 ac_cv_type_fsblkcnt_t=yes
17082 echo "$as_me: failed program was:" >&5
17083 sed 's/^/| /' conftest.$ac_ext >&5
17085 ac_cv_type_fsblkcnt_t=no
17088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17090 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17091 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17092 if test $ac_cv_type_fsblkcnt_t = yes; then
17094 cat >>confdefs.h <<_ACEOF
17095 #define HAVE_FSBLKCNT_T 1
17100 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17101 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17102 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17103 echo $ECHO_N "(cached) $ECHO_C" >&6
17105 cat >conftest.$ac_ext <<_ACEOF
17108 cat confdefs.h >>conftest.$ac_ext
17109 cat >>conftest.$ac_ext <<_ACEOF
17110 /* end confdefs.h. */
17111 $ac_includes_default
17112 typedef fsfilcnt_t ac__type_new_;
17116 if ((ac__type_new_ *) 0)
17118 if (sizeof (ac__type_new_))
17124 rm -f conftest.$ac_objext
17125 if { (ac_try="$ac_compile"
17126 case "(($ac_try" in
17127 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17128 *) ac_try_echo
=$ac_try;;
17130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17131 (eval "$ac_compile") 2>conftest.er1
17133 grep -v '^ *+' conftest.er1
>conftest.err
17135 cat conftest.err
>&5
17136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17137 (exit $ac_status); } && {
17138 test -z "$ac_c_werror_flag" ||
17139 test ! -s conftest.err
17140 } && test -s conftest.
$ac_objext; then
17141 ac_cv_type_fsfilcnt_t
=yes
17143 echo "$as_me: failed program was:" >&5
17144 sed 's/^/| /' conftest.
$ac_ext >&5
17146 ac_cv_type_fsfilcnt_t
=no
17149 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17151 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17152 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17153 if test $ac_cv_type_fsfilcnt_t = yes; then
17155 cat >>confdefs.h
<<_ACEOF
17156 #define HAVE_FSFILCNT_T 1
17162 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17163 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17164 if test "${ac_cv_type_sigset_t+set}" = set; then
17165 echo $ECHO_N "(cached) $ECHO_C" >&6
17167 cat >conftest.
$ac_ext <<_ACEOF
17170 cat confdefs.h
>>conftest.
$ac_ext
17171 cat >>conftest.
$ac_ext <<_ACEOF
17172 /* end confdefs.h. */
17173 #include <signal.h>
17175 typedef sigset_t ac__type_new_;
17179 if ((ac__type_new_ *) 0)
17181 if (sizeof (ac__type_new_))
17187 rm -f conftest.
$ac_objext
17188 if { (ac_try
="$ac_compile"
17189 case "(($ac_try" in
17190 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17191 *) ac_try_echo=$ac_try;;
17193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17194 (eval "$ac_compile") 2>conftest.er1
17196 grep -v '^ *+' conftest.er1 >conftest.err
17198 cat conftest.err >&5
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); } && {
17201 test -z "$ac_c_werror_flag" ||
17202 test ! -s conftest.err
17203 } && test -s conftest.$ac_objext; then
17204 ac_cv_type_sigset_t=yes
17206 echo "$as_me: failed program was:" >&5
17207 sed 's/^/| /' conftest.$ac_ext >&5
17209 ac_cv_type_sigset_t=no
17212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17214 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17215 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17216 if test $ac_cv_type_sigset_t = yes; then
17218 cat >>confdefs.h <<_ACEOF
17219 #define HAVE_SIGSET_T 1
17225 { echo "$as_me:$LINENO: checking for request_sense" >&5
17226 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17227 if test "${ac_cv_type_request_sense+set}" = set; then
17228 echo $ECHO_N "(cached) $ECHO_C" >&6
17230 cat >conftest.$ac_ext <<_ACEOF
17233 cat confdefs.h >>conftest.$ac_ext
17234 cat >>conftest.$ac_ext <<_ACEOF
17235 /* end confdefs.h. */
17236 #include <linux/cdrom.h>
17238 typedef request_sense ac__type_new_;
17242 if ((ac__type_new_ *) 0)
17244 if (sizeof (ac__type_new_))
17250 rm -f conftest.$ac_objext
17251 if { (ac_try="$ac_compile"
17252 case "(($ac_try" in
17253 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17254 *) ac_try_echo
=$ac_try;;
17256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17257 (eval "$ac_compile") 2>conftest.er1
17259 grep -v '^ *+' conftest.er1
>conftest.err
17261 cat conftest.err
>&5
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); } && {
17264 test -z "$ac_c_werror_flag" ||
17265 test ! -s conftest.err
17266 } && test -s conftest.
$ac_objext; then
17267 ac_cv_type_request_sense
=yes
17269 echo "$as_me: failed program was:" >&5
17270 sed 's/^/| /' conftest.
$ac_ext >&5
17272 ac_cv_type_request_sense
=no
17275 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17277 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17278 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17279 if test $ac_cv_type_request_sense = yes; then
17281 cat >>confdefs.h
<<_ACEOF
17282 #define HAVE_REQUEST_SENSE 1
17289 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17290 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17291 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17292 echo $ECHO_N "(cached) $ECHO_C" >&6
17294 cat >conftest.
$ac_ext <<_ACEOF
17297 cat confdefs.h
>>conftest.
$ac_ext
17298 cat >>conftest.
$ac_ext <<_ACEOF
17299 /* end confdefs.h. */
17300 #ifdef HAVE_LINUX_INPUT_H
17301 #include <linux/input.h>
17307 static struct ff_effect ac_aggr;
17308 if (ac_aggr.direction)
17314 rm -f conftest.
$ac_objext
17315 if { (ac_try
="$ac_compile"
17316 case "(($ac_try" in
17317 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17318 *) ac_try_echo=$ac_try;;
17320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17321 (eval "$ac_compile") 2>conftest.er1
17323 grep -v '^ *+' conftest.er1 >conftest.err
17325 cat conftest.err >&5
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); } && {
17328 test -z "$ac_c_werror_flag" ||
17329 test ! -s conftest.err
17330 } && test -s conftest.$ac_objext; then
17331 ac_cv_member_struct_ff_effect_direction=yes
17333 echo "$as_me: failed program was:" >&5
17334 sed 's/^/| /' conftest.$ac_ext >&5
17336 cat >conftest.$ac_ext <<_ACEOF
17339 cat confdefs.h >>conftest.$ac_ext
17340 cat >>conftest.$ac_ext <<_ACEOF
17341 /* end confdefs.h. */
17342 #ifdef HAVE_LINUX_INPUT_H
17343 #include <linux/input.h>
17349 static struct ff_effect ac_aggr;
17350 if (sizeof ac_aggr.direction)
17356 rm -f conftest.$ac_objext
17357 if { (ac_try="$ac_compile"
17358 case "(($ac_try" in
17359 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17360 *) ac_try_echo
=$ac_try;;
17362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17363 (eval "$ac_compile") 2>conftest.er1
17365 grep -v '^ *+' conftest.er1
>conftest.err
17367 cat conftest.err
>&5
17368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17369 (exit $ac_status); } && {
17370 test -z "$ac_c_werror_flag" ||
17371 test ! -s conftest.err
17372 } && test -s conftest.
$ac_objext; then
17373 ac_cv_member_struct_ff_effect_direction
=yes
17375 echo "$as_me: failed program was:" >&5
17376 sed 's/^/| /' conftest.
$ac_ext >&5
17378 ac_cv_member_struct_ff_effect_direction
=no
17381 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17384 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17386 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17387 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17388 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17390 cat >>confdefs.h
<<_ACEOF
17391 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17398 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17399 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17400 if test "${wine_cv_have_sigaddset+set}" = set; then
17401 echo $ECHO_N "(cached) $ECHO_C" >&6
17403 cat >conftest.
$ac_ext <<_ACEOF
17406 cat confdefs.h
>>conftest.
$ac_ext
17407 cat >>conftest.
$ac_ext <<_ACEOF
17408 /* end confdefs.h. */
17409 #include <signal.h>
17413 sigset_t set; sigaddset(&set,SIGTERM);
17418 rm -f conftest.
$ac_objext conftest
$ac_exeext
17419 if { (ac_try
="$ac_link"
17420 case "(($ac_try" in
17421 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17422 *) ac_try_echo=$ac_try;;
17424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17425 (eval "$ac_link") 2>conftest.er1
17427 grep -v '^ *+' conftest.er1 >conftest.err
17429 cat conftest.err >&5
17430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17431 (exit $ac_status); } && {
17432 test -z "$ac_c_werror_flag" ||
17433 test ! -s conftest.err
17434 } && test -s conftest$ac_exeext &&
17435 $as_test_x conftest$ac_exeext; then
17436 wine_cv_have_sigaddset=yes
17438 echo "$as_me: failed program was:" >&5
17439 sed 's/^/| /' conftest.$ac_ext >&5
17441 wine_cv_have_sigaddset=no
17444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17445 conftest$ac_exeext conftest.$ac_ext
17447 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17448 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17449 if test "$wine_cv_have_sigaddset" = "yes"
17452 cat >>confdefs.h <<\_ACEOF
17453 #define HAVE_SIGADDSET 1
17459 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17460 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17461 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17462 echo $ECHO_N "(cached) $ECHO_C" >&6
17464 cat >conftest.$ac_ext <<_ACEOF
17467 cat confdefs.h >>conftest.$ac_ext
17468 cat >>conftest.$ac_ext <<_ACEOF
17469 /* end confdefs.h. */
17479 struct hostent *result;
17486 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17487 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17493 rm -f conftest.$ac_objext conftest$ac_exeext
17494 if { (ac_try="$ac_link"
17495 case "(($ac_try" in
17496 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17497 *) ac_try_echo
=$ac_try;;
17499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17500 (eval "$ac_link") 2>conftest.er1
17502 grep -v '^ *+' conftest.er1
>conftest.err
17504 cat conftest.err
>&5
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); } && {
17507 test -z "$ac_c_werror_flag" ||
17508 test ! -s conftest.err
17509 } && test -s conftest
$ac_exeext &&
17510 $as_test_x conftest
$ac_exeext; then
17511 wine_cv_linux_gethostbyname_r_6
=yes
17513 echo "$as_me: failed program was:" >&5
17514 sed 's/^/| /' conftest.
$ac_ext >&5
17516 wine_cv_linux_gethostbyname_r_6
=no
17520 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17521 conftest
$ac_exeext conftest.
$ac_ext
17524 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17525 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17526 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17529 cat >>confdefs.h
<<\_ACEOF
17530 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17535 if test "$ac_cv_header_linux_joystick_h" = "yes"
17537 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17538 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17539 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17540 echo $ECHO_N "(cached) $ECHO_C" >&6
17542 cat >conftest.
$ac_ext <<_ACEOF
17545 cat confdefs.h
>>conftest.
$ac_ext
17546 cat >>conftest.
$ac_ext <<_ACEOF
17547 /* end confdefs.h. */
17549 #include <sys/ioctl.h>
17550 #include <linux/joystick.h>
17552 struct js_event blub;
17553 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17554 #error "no 2.2 header"
17565 rm -f conftest.
$ac_objext
17566 if { (ac_try
="$ac_compile"
17567 case "(($ac_try" in
17568 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17569 *) ac_try_echo=$ac_try;;
17571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17572 (eval "$ac_compile") 2>conftest.er1
17574 grep -v '^ *+' conftest.er1 >conftest.err
17576 cat conftest.err >&5
17577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17578 (exit $ac_status); } && {
17579 test -z "$ac_c_werror_flag" ||
17580 test ! -s conftest.err
17581 } && test -s conftest.$ac_objext; then
17582 wine_cv_linux_joystick_22_api=yes
17584 echo "$as_me: failed program was:" >&5
17585 sed 's/^/| /' conftest.$ac_ext >&5
17587 wine_cv_linux_joystick_22_api=no
17590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17593 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17594 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17595 if test "$wine_cv_linux_joystick_22_api" = "yes"
17598 cat >>confdefs.h <<\_ACEOF
17599 #define HAVE_LINUX_22_JOYSTICK_API 1
17606 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17607 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17608 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17609 echo $ECHO_N "(cached) $ECHO_C" >&6
17611 cat >conftest.$ac_ext <<_ACEOF
17614 cat confdefs.h >>conftest.$ac_ext
17615 cat >>conftest.$ac_ext <<_ACEOF
17616 /* end confdefs.h. */
17617 #include <sys/types.h>
17618 #ifdef HAVE_SYS_PARAM_H
17619 # include <sys/param.h>
17621 #ifdef HAVE_SYS_MOUNT_H
17622 # include <sys/mount.h>
17624 #ifdef HAVE_SYS_VFS_H
17625 # include <sys/vfs.h>
17627 #ifdef HAVE_SYS_STATFS_H
17628 # include <sys/statfs.h>
17634 static struct statfs ac_aggr;
17635 if (ac_aggr.f_bfree)
17641 rm -f conftest.$ac_objext
17642 if { (ac_try="$ac_compile"
17643 case "(($ac_try" in
17644 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17645 *) ac_try_echo
=$ac_try;;
17647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17648 (eval "$ac_compile") 2>conftest.er1
17650 grep -v '^ *+' conftest.er1
>conftest.err
17652 cat conftest.err
>&5
17653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17654 (exit $ac_status); } && {
17655 test -z "$ac_c_werror_flag" ||
17656 test ! -s conftest.err
17657 } && test -s conftest.
$ac_objext; then
17658 ac_cv_member_struct_statfs_f_bfree
=yes
17660 echo "$as_me: failed program was:" >&5
17661 sed 's/^/| /' conftest.
$ac_ext >&5
17663 cat >conftest.
$ac_ext <<_ACEOF
17666 cat confdefs.h
>>conftest.
$ac_ext
17667 cat >>conftest.
$ac_ext <<_ACEOF
17668 /* end confdefs.h. */
17669 #include <sys/types.h>
17670 #ifdef HAVE_SYS_PARAM_H
17671 # include <sys/param.h>
17673 #ifdef HAVE_SYS_MOUNT_H
17674 # include <sys/mount.h>
17676 #ifdef HAVE_SYS_VFS_H
17677 # include <sys/vfs.h>
17679 #ifdef HAVE_SYS_STATFS_H
17680 # include <sys/statfs.h>
17686 static struct statfs ac_aggr;
17687 if (sizeof ac_aggr.f_bfree)
17693 rm -f conftest.
$ac_objext
17694 if { (ac_try
="$ac_compile"
17695 case "(($ac_try" in
17696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17697 *) ac_try_echo=$ac_try;;
17699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17700 (eval "$ac_compile") 2>conftest.er1
17702 grep -v '^ *+' conftest.er1 >conftest.err
17704 cat conftest.err >&5
17705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17706 (exit $ac_status); } && {
17707 test -z "$ac_c_werror_flag" ||
17708 test ! -s conftest.err
17709 } && test -s conftest.$ac_objext; then
17710 ac_cv_member_struct_statfs_f_bfree=yes
17712 echo "$as_me: failed program was:" >&5
17713 sed 's/^/| /' conftest.$ac_ext >&5
17715 ac_cv_member_struct_statfs_f_bfree=no
17718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17723 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17724 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17725 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17727 cat >>confdefs.h <<_ACEOF
17728 #define HAVE_STRUCT_STATFS_F_BFREE 1
17733 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17734 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17735 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17736 echo $ECHO_N "(cached) $ECHO_C" >&6
17738 cat >conftest.$ac_ext <<_ACEOF
17741 cat confdefs.h >>conftest.$ac_ext
17742 cat >>conftest.$ac_ext <<_ACEOF
17743 /* end confdefs.h. */
17744 #include <sys/types.h>
17745 #ifdef HAVE_SYS_PARAM_H
17746 # include <sys/param.h>
17748 #ifdef HAVE_SYS_MOUNT_H
17749 # include <sys/mount.h>
17751 #ifdef HAVE_SYS_VFS_H
17752 # include <sys/vfs.h>
17754 #ifdef HAVE_SYS_STATFS_H
17755 # include <sys/statfs.h>
17761 static struct statfs ac_aggr;
17762 if (ac_aggr.f_bavail)
17768 rm -f conftest.$ac_objext
17769 if { (ac_try="$ac_compile"
17770 case "(($ac_try" in
17771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17772 *) ac_try_echo
=$ac_try;;
17774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17775 (eval "$ac_compile") 2>conftest.er1
17777 grep -v '^ *+' conftest.er1
>conftest.err
17779 cat conftest.err
>&5
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); } && {
17782 test -z "$ac_c_werror_flag" ||
17783 test ! -s conftest.err
17784 } && test -s conftest.
$ac_objext; then
17785 ac_cv_member_struct_statfs_f_bavail
=yes
17787 echo "$as_me: failed program was:" >&5
17788 sed 's/^/| /' conftest.
$ac_ext >&5
17790 cat >conftest.
$ac_ext <<_ACEOF
17793 cat confdefs.h
>>conftest.
$ac_ext
17794 cat >>conftest.
$ac_ext <<_ACEOF
17795 /* end confdefs.h. */
17796 #include <sys/types.h>
17797 #ifdef HAVE_SYS_PARAM_H
17798 # include <sys/param.h>
17800 #ifdef HAVE_SYS_MOUNT_H
17801 # include <sys/mount.h>
17803 #ifdef HAVE_SYS_VFS_H
17804 # include <sys/vfs.h>
17806 #ifdef HAVE_SYS_STATFS_H
17807 # include <sys/statfs.h>
17813 static struct statfs ac_aggr;
17814 if (sizeof ac_aggr.f_bavail)
17820 rm -f conftest.
$ac_objext
17821 if { (ac_try
="$ac_compile"
17822 case "(($ac_try" in
17823 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17824 *) ac_try_echo=$ac_try;;
17826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17827 (eval "$ac_compile") 2>conftest.er1
17829 grep -v '^ *+' conftest.er1 >conftest.err
17831 cat conftest.err >&5
17832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17833 (exit $ac_status); } && {
17834 test -z "$ac_c_werror_flag" ||
17835 test ! -s conftest.err
17836 } && test -s conftest.$ac_objext; then
17837 ac_cv_member_struct_statfs_f_bavail=yes
17839 echo "$as_me: failed program was:" >&5
17840 sed 's/^/| /' conftest.$ac_ext >&5
17842 ac_cv_member_struct_statfs_f_bavail=no
17845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17850 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17851 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17852 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17854 cat >>confdefs.h <<_ACEOF
17855 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17860 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17861 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17862 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17863 echo $ECHO_N "(cached) $ECHO_C" >&6
17865 cat >conftest.$ac_ext <<_ACEOF
17868 cat confdefs.h >>conftest.$ac_ext
17869 cat >>conftest.$ac_ext <<_ACEOF
17870 /* end confdefs.h. */
17871 #include <sys/types.h>
17872 #ifdef HAVE_SYS_PARAM_H
17873 # include <sys/param.h>
17875 #ifdef HAVE_SYS_MOUNT_H
17876 # include <sys/mount.h>
17878 #ifdef HAVE_SYS_VFS_H
17879 # include <sys/vfs.h>
17881 #ifdef HAVE_SYS_STATFS_H
17882 # include <sys/statfs.h>
17888 static struct statfs ac_aggr;
17889 if (ac_aggr.f_frsize)
17895 rm -f conftest.$ac_objext
17896 if { (ac_try="$ac_compile"
17897 case "(($ac_try" in
17898 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17899 *) ac_try_echo
=$ac_try;;
17901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17902 (eval "$ac_compile") 2>conftest.er1
17904 grep -v '^ *+' conftest.er1
>conftest.err
17906 cat conftest.err
>&5
17907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17908 (exit $ac_status); } && {
17909 test -z "$ac_c_werror_flag" ||
17910 test ! -s conftest.err
17911 } && test -s conftest.
$ac_objext; then
17912 ac_cv_member_struct_statfs_f_frsize
=yes
17914 echo "$as_me: failed program was:" >&5
17915 sed 's/^/| /' conftest.
$ac_ext >&5
17917 cat >conftest.
$ac_ext <<_ACEOF
17920 cat confdefs.h
>>conftest.
$ac_ext
17921 cat >>conftest.
$ac_ext <<_ACEOF
17922 /* end confdefs.h. */
17923 #include <sys/types.h>
17924 #ifdef HAVE_SYS_PARAM_H
17925 # include <sys/param.h>
17927 #ifdef HAVE_SYS_MOUNT_H
17928 # include <sys/mount.h>
17930 #ifdef HAVE_SYS_VFS_H
17931 # include <sys/vfs.h>
17933 #ifdef HAVE_SYS_STATFS_H
17934 # include <sys/statfs.h>
17940 static struct statfs ac_aggr;
17941 if (sizeof ac_aggr.f_frsize)
17947 rm -f conftest.
$ac_objext
17948 if { (ac_try
="$ac_compile"
17949 case "(($ac_try" in
17950 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17951 *) ac_try_echo=$ac_try;;
17953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17954 (eval "$ac_compile") 2>conftest.er1
17956 grep -v '^ *+' conftest.er1 >conftest.err
17958 cat conftest.err >&5
17959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17960 (exit $ac_status); } && {
17961 test -z "$ac_c_werror_flag" ||
17962 test ! -s conftest.err
17963 } && test -s conftest.$ac_objext; then
17964 ac_cv_member_struct_statfs_f_frsize=yes
17966 echo "$as_me: failed program was:" >&5
17967 sed 's/^/| /' conftest.$ac_ext >&5
17969 ac_cv_member_struct_statfs_f_frsize=no
17972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17977 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17978 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17979 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17981 cat >>confdefs.h <<_ACEOF
17982 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17987 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17988 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17989 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17990 echo $ECHO_N "(cached) $ECHO_C" >&6
17992 cat >conftest.$ac_ext <<_ACEOF
17995 cat confdefs.h >>conftest.$ac_ext
17996 cat >>conftest.$ac_ext <<_ACEOF
17997 /* end confdefs.h. */
17998 #include <sys/types.h>
17999 #ifdef HAVE_SYS_PARAM_H
18000 # include <sys/param.h>
18002 #ifdef HAVE_SYS_MOUNT_H
18003 # include <sys/mount.h>
18005 #ifdef HAVE_SYS_VFS_H
18006 # include <sys/vfs.h>
18008 #ifdef HAVE_SYS_STATFS_H
18009 # include <sys/statfs.h>
18015 static struct statfs ac_aggr;
18016 if (ac_aggr.f_ffree)
18022 rm -f conftest.$ac_objext
18023 if { (ac_try="$ac_compile"
18024 case "(($ac_try" in
18025 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18026 *) ac_try_echo
=$ac_try;;
18028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18029 (eval "$ac_compile") 2>conftest.er1
18031 grep -v '^ *+' conftest.er1
>conftest.err
18033 cat conftest.err
>&5
18034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18035 (exit $ac_status); } && {
18036 test -z "$ac_c_werror_flag" ||
18037 test ! -s conftest.err
18038 } && test -s conftest.
$ac_objext; then
18039 ac_cv_member_struct_statfs_f_ffree
=yes
18041 echo "$as_me: failed program was:" >&5
18042 sed 's/^/| /' conftest.
$ac_ext >&5
18044 cat >conftest.
$ac_ext <<_ACEOF
18047 cat confdefs.h
>>conftest.
$ac_ext
18048 cat >>conftest.
$ac_ext <<_ACEOF
18049 /* end confdefs.h. */
18050 #include <sys/types.h>
18051 #ifdef HAVE_SYS_PARAM_H
18052 # include <sys/param.h>
18054 #ifdef HAVE_SYS_MOUNT_H
18055 # include <sys/mount.h>
18057 #ifdef HAVE_SYS_VFS_H
18058 # include <sys/vfs.h>
18060 #ifdef HAVE_SYS_STATFS_H
18061 # include <sys/statfs.h>
18067 static struct statfs ac_aggr;
18068 if (sizeof ac_aggr.f_ffree)
18074 rm -f conftest.
$ac_objext
18075 if { (ac_try
="$ac_compile"
18076 case "(($ac_try" in
18077 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18078 *) ac_try_echo=$ac_try;;
18080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18081 (eval "$ac_compile") 2>conftest.er1
18083 grep -v '^ *+' conftest.er1 >conftest.err
18085 cat conftest.err >&5
18086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18087 (exit $ac_status); } && {
18088 test -z "$ac_c_werror_flag" ||
18089 test ! -s conftest.err
18090 } && test -s conftest.$ac_objext; then
18091 ac_cv_member_struct_statfs_f_ffree=yes
18093 echo "$as_me: failed program was:" >&5
18094 sed 's/^/| /' conftest.$ac_ext >&5
18096 ac_cv_member_struct_statfs_f_ffree=no
18099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18104 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18105 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18106 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18108 cat >>confdefs.h <<_ACEOF
18109 #define HAVE_STRUCT_STATFS_F_FFREE 1
18114 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18115 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18116 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18117 echo $ECHO_N "(cached) $ECHO_C" >&6
18119 cat >conftest.$ac_ext <<_ACEOF
18122 cat confdefs.h >>conftest.$ac_ext
18123 cat >>conftest.$ac_ext <<_ACEOF
18124 /* end confdefs.h. */
18125 #include <sys/types.h>
18126 #ifdef HAVE_SYS_PARAM_H
18127 # include <sys/param.h>
18129 #ifdef HAVE_SYS_MOUNT_H
18130 # include <sys/mount.h>
18132 #ifdef HAVE_SYS_VFS_H
18133 # include <sys/vfs.h>
18135 #ifdef HAVE_SYS_STATFS_H
18136 # include <sys/statfs.h>
18142 static struct statfs ac_aggr;
18143 if (ac_aggr.f_favail)
18149 rm -f conftest.$ac_objext
18150 if { (ac_try="$ac_compile"
18151 case "(($ac_try" in
18152 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18153 *) ac_try_echo
=$ac_try;;
18155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18156 (eval "$ac_compile") 2>conftest.er1
18158 grep -v '^ *+' conftest.er1
>conftest.err
18160 cat conftest.err
>&5
18161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18162 (exit $ac_status); } && {
18163 test -z "$ac_c_werror_flag" ||
18164 test ! -s conftest.err
18165 } && test -s conftest.
$ac_objext; then
18166 ac_cv_member_struct_statfs_f_favail
=yes
18168 echo "$as_me: failed program was:" >&5
18169 sed 's/^/| /' conftest.
$ac_ext >&5
18171 cat >conftest.
$ac_ext <<_ACEOF
18174 cat confdefs.h
>>conftest.
$ac_ext
18175 cat >>conftest.
$ac_ext <<_ACEOF
18176 /* end confdefs.h. */
18177 #include <sys/types.h>
18178 #ifdef HAVE_SYS_PARAM_H
18179 # include <sys/param.h>
18181 #ifdef HAVE_SYS_MOUNT_H
18182 # include <sys/mount.h>
18184 #ifdef HAVE_SYS_VFS_H
18185 # include <sys/vfs.h>
18187 #ifdef HAVE_SYS_STATFS_H
18188 # include <sys/statfs.h>
18194 static struct statfs ac_aggr;
18195 if (sizeof ac_aggr.f_favail)
18201 rm -f conftest.
$ac_objext
18202 if { (ac_try
="$ac_compile"
18203 case "(($ac_try" in
18204 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18205 *) ac_try_echo=$ac_try;;
18207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18208 (eval "$ac_compile") 2>conftest.er1
18210 grep -v '^ *+' conftest.er1 >conftest.err
18212 cat conftest.err >&5
18213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); } && {
18215 test -z "$ac_c_werror_flag" ||
18216 test ! -s conftest.err
18217 } && test -s conftest.$ac_objext; then
18218 ac_cv_member_struct_statfs_f_favail=yes
18220 echo "$as_me: failed program was:" >&5
18221 sed 's/^/| /' conftest.$ac_ext >&5
18223 ac_cv_member_struct_statfs_f_favail=no
18226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18231 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18232 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18233 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18235 cat >>confdefs.h <<_ACEOF
18236 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18241 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18242 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18243 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18244 echo $ECHO_N "(cached) $ECHO_C" >&6
18246 cat >conftest.$ac_ext <<_ACEOF
18249 cat confdefs.h >>conftest.$ac_ext
18250 cat >>conftest.$ac_ext <<_ACEOF
18251 /* end confdefs.h. */
18252 #include <sys/types.h>
18253 #ifdef HAVE_SYS_PARAM_H
18254 # include <sys/param.h>
18256 #ifdef HAVE_SYS_MOUNT_H
18257 # include <sys/mount.h>
18259 #ifdef HAVE_SYS_VFS_H
18260 # include <sys/vfs.h>
18262 #ifdef HAVE_SYS_STATFS_H
18263 # include <sys/statfs.h>
18269 static struct statfs ac_aggr;
18270 if (ac_aggr.f_namelen)
18276 rm -f conftest.$ac_objext
18277 if { (ac_try="$ac_compile"
18278 case "(($ac_try" in
18279 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18280 *) ac_try_echo
=$ac_try;;
18282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18283 (eval "$ac_compile") 2>conftest.er1
18285 grep -v '^ *+' conftest.er1
>conftest.err
18287 cat conftest.err
>&5
18288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18289 (exit $ac_status); } && {
18290 test -z "$ac_c_werror_flag" ||
18291 test ! -s conftest.err
18292 } && test -s conftest.
$ac_objext; then
18293 ac_cv_member_struct_statfs_f_namelen
=yes
18295 echo "$as_me: failed program was:" >&5
18296 sed 's/^/| /' conftest.
$ac_ext >&5
18298 cat >conftest.
$ac_ext <<_ACEOF
18301 cat confdefs.h
>>conftest.
$ac_ext
18302 cat >>conftest.
$ac_ext <<_ACEOF
18303 /* end confdefs.h. */
18304 #include <sys/types.h>
18305 #ifdef HAVE_SYS_PARAM_H
18306 # include <sys/param.h>
18308 #ifdef HAVE_SYS_MOUNT_H
18309 # include <sys/mount.h>
18311 #ifdef HAVE_SYS_VFS_H
18312 # include <sys/vfs.h>
18314 #ifdef HAVE_SYS_STATFS_H
18315 # include <sys/statfs.h>
18321 static struct statfs ac_aggr;
18322 if (sizeof ac_aggr.f_namelen)
18328 rm -f conftest.
$ac_objext
18329 if { (ac_try
="$ac_compile"
18330 case "(($ac_try" in
18331 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18332 *) ac_try_echo=$ac_try;;
18334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18335 (eval "$ac_compile") 2>conftest.er1
18337 grep -v '^ *+' conftest.er1 >conftest.err
18339 cat conftest.err >&5
18340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18341 (exit $ac_status); } && {
18342 test -z "$ac_c_werror_flag" ||
18343 test ! -s conftest.err
18344 } && test -s conftest.$ac_objext; then
18345 ac_cv_member_struct_statfs_f_namelen=yes
18347 echo "$as_me: failed program was:" >&5
18348 sed 's/^/| /' conftest.$ac_ext >&5
18350 ac_cv_member_struct_statfs_f_namelen=no
18353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18358 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18359 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18360 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18362 cat >>confdefs.h <<_ACEOF
18363 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18370 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18371 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18372 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18373 echo $ECHO_N "(cached) $ECHO_C" >&6
18375 cat >conftest.$ac_ext <<_ACEOF
18378 cat confdefs.h >>conftest.$ac_ext
18379 cat >>conftest.$ac_ext <<_ACEOF
18380 /* end confdefs.h. */
18381 #ifdef HAVE_SYS_STATVFS_H
18382 #include <sys/statvfs.h>
18388 static struct statvfs ac_aggr;
18389 if (ac_aggr.f_blocks)
18395 rm -f conftest.$ac_objext
18396 if { (ac_try="$ac_compile"
18397 case "(($ac_try" in
18398 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18399 *) ac_try_echo
=$ac_try;;
18401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18402 (eval "$ac_compile") 2>conftest.er1
18404 grep -v '^ *+' conftest.er1
>conftest.err
18406 cat conftest.err
>&5
18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408 (exit $ac_status); } && {
18409 test -z "$ac_c_werror_flag" ||
18410 test ! -s conftest.err
18411 } && test -s conftest.
$ac_objext; then
18412 ac_cv_member_struct_statvfs_f_blocks
=yes
18414 echo "$as_me: failed program was:" >&5
18415 sed 's/^/| /' conftest.
$ac_ext >&5
18417 cat >conftest.
$ac_ext <<_ACEOF
18420 cat confdefs.h
>>conftest.
$ac_ext
18421 cat >>conftest.
$ac_ext <<_ACEOF
18422 /* end confdefs.h. */
18423 #ifdef HAVE_SYS_STATVFS_H
18424 #include <sys/statvfs.h>
18430 static struct statvfs ac_aggr;
18431 if (sizeof ac_aggr.f_blocks)
18437 rm -f conftest.
$ac_objext
18438 if { (ac_try
="$ac_compile"
18439 case "(($ac_try" in
18440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18441 *) ac_try_echo=$ac_try;;
18443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18444 (eval "$ac_compile") 2>conftest.er1
18446 grep -v '^ *+' conftest.er1 >conftest.err
18448 cat conftest.err >&5
18449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450 (exit $ac_status); } && {
18451 test -z "$ac_c_werror_flag" ||
18452 test ! -s conftest.err
18453 } && test -s conftest.$ac_objext; then
18454 ac_cv_member_struct_statvfs_f_blocks=yes
18456 echo "$as_me: failed program was:" >&5
18457 sed 's/^/| /' conftest.$ac_ext >&5
18459 ac_cv_member_struct_statvfs_f_blocks=no
18462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18467 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18468 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18469 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18471 cat >>confdefs.h <<_ACEOF
18472 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18479 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18480 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18481 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18482 echo $ECHO_N "(cached) $ECHO_C" >&6
18484 cat >conftest.$ac_ext <<_ACEOF
18487 cat confdefs.h >>conftest.$ac_ext
18488 cat >>conftest.$ac_ext <<_ACEOF
18489 /* end confdefs.h. */
18490 #include <sys/types.h>
18491 #ifdef HAVE_SYS_SOCKET_H
18492 # include <sys/socket.h>
18494 #ifdef HAVE_SYS_UN_H
18495 # include <sys/un.h>
18501 static struct msghdr ac_aggr;
18502 if (ac_aggr.msg_accrights)
18508 rm -f conftest.$ac_objext
18509 if { (ac_try="$ac_compile"
18510 case "(($ac_try" in
18511 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18512 *) ac_try_echo
=$ac_try;;
18514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18515 (eval "$ac_compile") 2>conftest.er1
18517 grep -v '^ *+' conftest.er1
>conftest.err
18519 cat conftest.err
>&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); } && {
18522 test -z "$ac_c_werror_flag" ||
18523 test ! -s conftest.err
18524 } && test -s conftest.
$ac_objext; then
18525 ac_cv_member_struct_msghdr_msg_accrights
=yes
18527 echo "$as_me: failed program was:" >&5
18528 sed 's/^/| /' conftest.
$ac_ext >&5
18530 cat >conftest.
$ac_ext <<_ACEOF
18533 cat confdefs.h
>>conftest.
$ac_ext
18534 cat >>conftest.
$ac_ext <<_ACEOF
18535 /* end confdefs.h. */
18536 #include <sys/types.h>
18537 #ifdef HAVE_SYS_SOCKET_H
18538 # include <sys/socket.h>
18540 #ifdef HAVE_SYS_UN_H
18541 # include <sys/un.h>
18547 static struct msghdr ac_aggr;
18548 if (sizeof ac_aggr.msg_accrights)
18554 rm -f conftest.
$ac_objext
18555 if { (ac_try
="$ac_compile"
18556 case "(($ac_try" in
18557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18558 *) ac_try_echo=$ac_try;;
18560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18561 (eval "$ac_compile") 2>conftest.er1
18563 grep -v '^ *+' conftest.er1 >conftest.err
18565 cat conftest.err >&5
18566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18567 (exit $ac_status); } && {
18568 test -z "$ac_c_werror_flag" ||
18569 test ! -s conftest.err
18570 } && test -s conftest.$ac_objext; then
18571 ac_cv_member_struct_msghdr_msg_accrights=yes
18573 echo "$as_me: failed program was:" >&5
18574 sed 's/^/| /' conftest.$ac_ext >&5
18576 ac_cv_member_struct_msghdr_msg_accrights=no
18579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18584 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18585 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18586 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18588 cat >>confdefs.h <<_ACEOF
18589 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18594 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18595 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18596 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18597 echo $ECHO_N "(cached) $ECHO_C" >&6
18599 cat >conftest.$ac_ext <<_ACEOF
18602 cat confdefs.h >>conftest.$ac_ext
18603 cat >>conftest.$ac_ext <<_ACEOF
18604 /* end confdefs.h. */
18605 #include <sys/types.h>
18606 #ifdef HAVE_SYS_SOCKET_H
18607 # include <sys/socket.h>
18609 #ifdef HAVE_SYS_UN_H
18610 # include <sys/un.h>
18616 static struct sockaddr ac_aggr;
18617 if (ac_aggr.sa_len)
18623 rm -f conftest.$ac_objext
18624 if { (ac_try="$ac_compile"
18625 case "(($ac_try" in
18626 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18627 *) ac_try_echo
=$ac_try;;
18629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18630 (eval "$ac_compile") 2>conftest.er1
18632 grep -v '^ *+' conftest.er1
>conftest.err
18634 cat conftest.err
>&5
18635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636 (exit $ac_status); } && {
18637 test -z "$ac_c_werror_flag" ||
18638 test ! -s conftest.err
18639 } && test -s conftest.
$ac_objext; then
18640 ac_cv_member_struct_sockaddr_sa_len
=yes
18642 echo "$as_me: failed program was:" >&5
18643 sed 's/^/| /' conftest.
$ac_ext >&5
18645 cat >conftest.
$ac_ext <<_ACEOF
18648 cat confdefs.h
>>conftest.
$ac_ext
18649 cat >>conftest.
$ac_ext <<_ACEOF
18650 /* end confdefs.h. */
18651 #include <sys/types.h>
18652 #ifdef HAVE_SYS_SOCKET_H
18653 # include <sys/socket.h>
18655 #ifdef HAVE_SYS_UN_H
18656 # include <sys/un.h>
18662 static struct sockaddr ac_aggr;
18663 if (sizeof ac_aggr.sa_len)
18669 rm -f conftest.
$ac_objext
18670 if { (ac_try
="$ac_compile"
18671 case "(($ac_try" in
18672 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18673 *) ac_try_echo=$ac_try;;
18675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18676 (eval "$ac_compile") 2>conftest.er1
18678 grep -v '^ *+' conftest.er1 >conftest.err
18680 cat conftest.err >&5
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); } && {
18683 test -z "$ac_c_werror_flag" ||
18684 test ! -s conftest.err
18685 } && test -s conftest.$ac_objext; then
18686 ac_cv_member_struct_sockaddr_sa_len=yes
18688 echo "$as_me: failed program was:" >&5
18689 sed 's/^/| /' conftest.$ac_ext >&5
18691 ac_cv_member_struct_sockaddr_sa_len=no
18694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18699 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18700 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18701 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18703 cat >>confdefs.h <<_ACEOF
18704 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18709 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18710 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18711 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18712 echo $ECHO_N "(cached) $ECHO_C" >&6
18714 cat >conftest.$ac_ext <<_ACEOF
18717 cat confdefs.h >>conftest.$ac_ext
18718 cat >>conftest.$ac_ext <<_ACEOF
18719 /* end confdefs.h. */
18720 #include <sys/types.h>
18721 #ifdef HAVE_SYS_SOCKET_H
18722 # include <sys/socket.h>
18724 #ifdef HAVE_SYS_UN_H
18725 # include <sys/un.h>
18731 static struct sockaddr_un ac_aggr;
18732 if (ac_aggr.sun_len)
18738 rm -f conftest.$ac_objext
18739 if { (ac_try="$ac_compile"
18740 case "(($ac_try" in
18741 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18742 *) ac_try_echo
=$ac_try;;
18744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18745 (eval "$ac_compile") 2>conftest.er1
18747 grep -v '^ *+' conftest.er1
>conftest.err
18749 cat conftest.err
>&5
18750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18751 (exit $ac_status); } && {
18752 test -z "$ac_c_werror_flag" ||
18753 test ! -s conftest.err
18754 } && test -s conftest.
$ac_objext; then
18755 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18757 echo "$as_me: failed program was:" >&5
18758 sed 's/^/| /' conftest.
$ac_ext >&5
18760 cat >conftest.
$ac_ext <<_ACEOF
18763 cat confdefs.h
>>conftest.
$ac_ext
18764 cat >>conftest.
$ac_ext <<_ACEOF
18765 /* end confdefs.h. */
18766 #include <sys/types.h>
18767 #ifdef HAVE_SYS_SOCKET_H
18768 # include <sys/socket.h>
18770 #ifdef HAVE_SYS_UN_H
18771 # include <sys/un.h>
18777 static struct sockaddr_un ac_aggr;
18778 if (sizeof ac_aggr.sun_len)
18784 rm -f conftest.
$ac_objext
18785 if { (ac_try
="$ac_compile"
18786 case "(($ac_try" in
18787 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18788 *) ac_try_echo=$ac_try;;
18790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18791 (eval "$ac_compile") 2>conftest.er1
18793 grep -v '^ *+' conftest.er1 >conftest.err
18795 cat conftest.err >&5
18796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797 (exit $ac_status); } && {
18798 test -z "$ac_c_werror_flag" ||
18799 test ! -s conftest.err
18800 } && test -s conftest.$ac_objext; then
18801 ac_cv_member_struct_sockaddr_un_sun_len=yes
18803 echo "$as_me: failed program was:" >&5
18804 sed 's/^/| /' conftest.$ac_ext >&5
18806 ac_cv_member_struct_sockaddr_un_sun_len=no
18809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18814 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18815 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18816 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18818 cat >>confdefs.h <<_ACEOF
18819 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18826 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18827 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18828 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18829 echo $ECHO_N "(cached) $ECHO_C" >&6
18831 cat >conftest.$ac_ext <<_ACEOF
18834 cat confdefs.h >>conftest.$ac_ext
18835 cat >>conftest.$ac_ext <<_ACEOF
18836 /* end confdefs.h. */
18837 #include <sys/types.h>
18838 #ifdef HAVE_SCSI_SG_H
18839 #include <scsi/sg.h>
18845 static scsireq_t ac_aggr;
18852 rm -f conftest.$ac_objext
18853 if { (ac_try="$ac_compile"
18854 case "(($ac_try" in
18855 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18856 *) ac_try_echo
=$ac_try;;
18858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18859 (eval "$ac_compile") 2>conftest.er1
18861 grep -v '^ *+' conftest.er1
>conftest.err
18863 cat conftest.err
>&5
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); } && {
18866 test -z "$ac_c_werror_flag" ||
18867 test ! -s conftest.err
18868 } && test -s conftest.
$ac_objext; then
18869 ac_cv_member_scsireq_t_cmd
=yes
18871 echo "$as_me: failed program was:" >&5
18872 sed 's/^/| /' conftest.
$ac_ext >&5
18874 cat >conftest.
$ac_ext <<_ACEOF
18877 cat confdefs.h
>>conftest.
$ac_ext
18878 cat >>conftest.
$ac_ext <<_ACEOF
18879 /* end confdefs.h. */
18880 #include <sys/types.h>
18881 #ifdef HAVE_SCSI_SG_H
18882 #include <scsi/sg.h>
18888 static scsireq_t ac_aggr;
18889 if (sizeof ac_aggr.cmd)
18895 rm -f conftest.
$ac_objext
18896 if { (ac_try
="$ac_compile"
18897 case "(($ac_try" in
18898 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18899 *) ac_try_echo=$ac_try;;
18901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18902 (eval "$ac_compile") 2>conftest.er1
18904 grep -v '^ *+' conftest.er1 >conftest.err
18906 cat conftest.err >&5
18907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18908 (exit $ac_status); } && {
18909 test -z "$ac_c_werror_flag" ||
18910 test ! -s conftest.err
18911 } && test -s conftest.$ac_objext; then
18912 ac_cv_member_scsireq_t_cmd=yes
18914 echo "$as_me: failed program was:" >&5
18915 sed 's/^/| /' conftest.$ac_ext >&5
18917 ac_cv_member_scsireq_t_cmd=no
18920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18925 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18926 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18927 if test $ac_cv_member_scsireq_t_cmd = yes; then
18929 cat >>confdefs.h <<_ACEOF
18930 #define HAVE_SCSIREQ_T_CMD 1
18935 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18936 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18937 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18938 echo $ECHO_N "(cached) $ECHO_C" >&6
18940 cat >conftest.$ac_ext <<_ACEOF
18943 cat confdefs.h >>conftest.$ac_ext
18944 cat >>conftest.$ac_ext <<_ACEOF
18945 /* end confdefs.h. */
18946 #include <sys/types.h>
18947 #ifdef HAVE_SCSI_SG_H
18948 #include <scsi/sg.h>
18954 static sg_io_hdr_t ac_aggr;
18955 if (ac_aggr.interface_id)
18961 rm -f conftest.$ac_objext
18962 if { (ac_try="$ac_compile"
18963 case "(($ac_try" in
18964 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18965 *) ac_try_echo
=$ac_try;;
18967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18968 (eval "$ac_compile") 2>conftest.er1
18970 grep -v '^ *+' conftest.er1
>conftest.err
18972 cat conftest.err
>&5
18973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18974 (exit $ac_status); } && {
18975 test -z "$ac_c_werror_flag" ||
18976 test ! -s conftest.err
18977 } && test -s conftest.
$ac_objext; then
18978 ac_cv_member_sg_io_hdr_t_interface_id
=yes
18980 echo "$as_me: failed program was:" >&5
18981 sed 's/^/| /' conftest.
$ac_ext >&5
18983 cat >conftest.
$ac_ext <<_ACEOF
18986 cat confdefs.h
>>conftest.
$ac_ext
18987 cat >>conftest.
$ac_ext <<_ACEOF
18988 /* end confdefs.h. */
18989 #include <sys/types.h>
18990 #ifdef HAVE_SCSI_SG_H
18991 #include <scsi/sg.h>
18997 static sg_io_hdr_t ac_aggr;
18998 if (sizeof ac_aggr.interface_id)
19004 rm -f conftest.
$ac_objext
19005 if { (ac_try
="$ac_compile"
19006 case "(($ac_try" in
19007 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19008 *) ac_try_echo=$ac_try;;
19010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19011 (eval "$ac_compile") 2>conftest.er1
19013 grep -v '^ *+' conftest.er1 >conftest.err
19015 cat conftest.err >&5
19016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19017 (exit $ac_status); } && {
19018 test -z "$ac_c_werror_flag" ||
19019 test ! -s conftest.err
19020 } && test -s conftest.$ac_objext; then
19021 ac_cv_member_sg_io_hdr_t_interface_id=yes
19023 echo "$as_me: failed program was:" >&5
19024 sed 's/^/| /' conftest.$ac_ext >&5
19026 ac_cv_member_sg_io_hdr_t_interface_id=no
19029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19034 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19035 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19036 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19038 cat >>confdefs.h <<_ACEOF
19039 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19046 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19047 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19048 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19049 echo $ECHO_N "(cached) $ECHO_C" >&6
19051 cat >conftest.$ac_ext <<_ACEOF
19054 cat confdefs.h >>conftest.$ac_ext
19055 cat >>conftest.$ac_ext <<_ACEOF
19056 /* end confdefs.h. */
19057 #include <signal.h>
19062 static siginfo_t ac_aggr;
19069 rm -f conftest.$ac_objext
19070 if { (ac_try="$ac_compile"
19071 case "(($ac_try" in
19072 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19073 *) ac_try_echo
=$ac_try;;
19075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19076 (eval "$ac_compile") 2>conftest.er1
19078 grep -v '^ *+' conftest.er1
>conftest.err
19080 cat conftest.err
>&5
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); } && {
19083 test -z "$ac_c_werror_flag" ||
19084 test ! -s conftest.err
19085 } && test -s conftest.
$ac_objext; then
19086 ac_cv_member_siginfo_t_si_fd
=yes
19088 echo "$as_me: failed program was:" >&5
19089 sed 's/^/| /' conftest.
$ac_ext >&5
19091 cat >conftest.
$ac_ext <<_ACEOF
19094 cat confdefs.h
>>conftest.
$ac_ext
19095 cat >>conftest.
$ac_ext <<_ACEOF
19096 /* end confdefs.h. */
19097 #include <signal.h>
19102 static siginfo_t ac_aggr;
19103 if (sizeof ac_aggr.si_fd)
19109 rm -f conftest.
$ac_objext
19110 if { (ac_try
="$ac_compile"
19111 case "(($ac_try" in
19112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19113 *) ac_try_echo=$ac_try;;
19115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19116 (eval "$ac_compile") 2>conftest.er1
19118 grep -v '^ *+' conftest.er1 >conftest.err
19120 cat conftest.err >&5
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); } && {
19123 test -z "$ac_c_werror_flag" ||
19124 test ! -s conftest.err
19125 } && test -s conftest.$ac_objext; then
19126 ac_cv_member_siginfo_t_si_fd=yes
19128 echo "$as_me: failed program was:" >&5
19129 sed 's/^/| /' conftest.$ac_ext >&5
19131 ac_cv_member_siginfo_t_si_fd=no
19134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19139 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19140 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19141 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19143 cat >>confdefs.h <<_ACEOF
19144 #define HAVE_SIGINFO_T_SI_FD 1
19151 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19152 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19153 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19154 echo $ECHO_N "(cached) $ECHO_C" >&6
19156 cat >conftest.$ac_ext <<_ACEOF
19159 cat confdefs.h >>conftest.$ac_ext
19160 cat >>conftest.$ac_ext <<_ACEOF
19161 /* end confdefs.h. */
19162 #include <sys/types.h>
19163 #ifdef HAVE_SYS_MTIO_H
19164 #include <sys/mtio.h>
19170 static struct mtget ac_aggr;
19171 if (ac_aggr.mt_blksiz)
19177 rm -f conftest.$ac_objext
19178 if { (ac_try="$ac_compile"
19179 case "(($ac_try" in
19180 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19181 *) ac_try_echo
=$ac_try;;
19183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19184 (eval "$ac_compile") 2>conftest.er1
19186 grep -v '^ *+' conftest.er1
>conftest.err
19188 cat conftest.err
>&5
19189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19190 (exit $ac_status); } && {
19191 test -z "$ac_c_werror_flag" ||
19192 test ! -s conftest.err
19193 } && test -s conftest.
$ac_objext; then
19194 ac_cv_member_struct_mtget_mt_blksiz
=yes
19196 echo "$as_me: failed program was:" >&5
19197 sed 's/^/| /' conftest.
$ac_ext >&5
19199 cat >conftest.
$ac_ext <<_ACEOF
19202 cat confdefs.h
>>conftest.
$ac_ext
19203 cat >>conftest.
$ac_ext <<_ACEOF
19204 /* end confdefs.h. */
19205 #include <sys/types.h>
19206 #ifdef HAVE_SYS_MTIO_H
19207 #include <sys/mtio.h>
19213 static struct mtget ac_aggr;
19214 if (sizeof ac_aggr.mt_blksiz)
19220 rm -f conftest.
$ac_objext
19221 if { (ac_try
="$ac_compile"
19222 case "(($ac_try" in
19223 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19224 *) ac_try_echo=$ac_try;;
19226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19227 (eval "$ac_compile") 2>conftest.er1
19229 grep -v '^ *+' conftest.er1 >conftest.err
19231 cat conftest.err >&5
19232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19233 (exit $ac_status); } && {
19234 test -z "$ac_c_werror_flag" ||
19235 test ! -s conftest.err
19236 } && test -s conftest.$ac_objext; then
19237 ac_cv_member_struct_mtget_mt_blksiz=yes
19239 echo "$as_me: failed program was:" >&5
19240 sed 's/^/| /' conftest.$ac_ext >&5
19242 ac_cv_member_struct_mtget_mt_blksiz=no
19245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19250 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19251 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19252 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19254 cat >>confdefs.h <<_ACEOF
19255 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19260 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19261 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19262 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19263 echo $ECHO_N "(cached) $ECHO_C" >&6
19265 cat >conftest.$ac_ext <<_ACEOF
19268 cat confdefs.h >>conftest.$ac_ext
19269 cat >>conftest.$ac_ext <<_ACEOF
19270 /* end confdefs.h. */
19271 #include <sys/types.h>
19272 #ifdef HAVE_SYS_MTIO_H
19273 #include <sys/mtio.h>
19279 static struct mtget ac_aggr;
19280 if (ac_aggr.mt_gstat)
19286 rm -f conftest.$ac_objext
19287 if { (ac_try="$ac_compile"
19288 case "(($ac_try" in
19289 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19290 *) ac_try_echo
=$ac_try;;
19292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19293 (eval "$ac_compile") 2>conftest.er1
19295 grep -v '^ *+' conftest.er1
>conftest.err
19297 cat conftest.err
>&5
19298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19299 (exit $ac_status); } && {
19300 test -z "$ac_c_werror_flag" ||
19301 test ! -s conftest.err
19302 } && test -s conftest.
$ac_objext; then
19303 ac_cv_member_struct_mtget_mt_gstat
=yes
19305 echo "$as_me: failed program was:" >&5
19306 sed 's/^/| /' conftest.
$ac_ext >&5
19308 cat >conftest.
$ac_ext <<_ACEOF
19311 cat confdefs.h
>>conftest.
$ac_ext
19312 cat >>conftest.
$ac_ext <<_ACEOF
19313 /* end confdefs.h. */
19314 #include <sys/types.h>
19315 #ifdef HAVE_SYS_MTIO_H
19316 #include <sys/mtio.h>
19322 static struct mtget ac_aggr;
19323 if (sizeof ac_aggr.mt_gstat)
19329 rm -f conftest.
$ac_objext
19330 if { (ac_try
="$ac_compile"
19331 case "(($ac_try" in
19332 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19333 *) ac_try_echo=$ac_try;;
19335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19336 (eval "$ac_compile") 2>conftest.er1
19338 grep -v '^ *+' conftest.er1 >conftest.err
19340 cat conftest.err >&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); } && {
19343 test -z "$ac_c_werror_flag" ||
19344 test ! -s conftest.err
19345 } && test -s conftest.$ac_objext; then
19346 ac_cv_member_struct_mtget_mt_gstat=yes
19348 echo "$as_me: failed program was:" >&5
19349 sed 's/^/| /' conftest.$ac_ext >&5
19351 ac_cv_member_struct_mtget_mt_gstat=no
19354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19359 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19360 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19361 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19363 cat >>confdefs.h <<_ACEOF
19364 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19369 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19370 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19371 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19372 echo $ECHO_N "(cached) $ECHO_C" >&6
19374 cat >conftest.$ac_ext <<_ACEOF
19377 cat confdefs.h >>conftest.$ac_ext
19378 cat >>conftest.$ac_ext <<_ACEOF
19379 /* end confdefs.h. */
19380 #include <sys/types.h>
19381 #ifdef HAVE_SYS_MTIO_H
19382 #include <sys/mtio.h>
19388 static struct mtget ac_aggr;
19389 if (ac_aggr.mt_blkno)
19395 rm -f conftest.$ac_objext
19396 if { (ac_try="$ac_compile"
19397 case "(($ac_try" in
19398 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19399 *) ac_try_echo
=$ac_try;;
19401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19402 (eval "$ac_compile") 2>conftest.er1
19404 grep -v '^ *+' conftest.er1
>conftest.err
19406 cat conftest.err
>&5
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); } && {
19409 test -z "$ac_c_werror_flag" ||
19410 test ! -s conftest.err
19411 } && test -s conftest.
$ac_objext; then
19412 ac_cv_member_struct_mtget_mt_blkno
=yes
19414 echo "$as_me: failed program was:" >&5
19415 sed 's/^/| /' conftest.
$ac_ext >&5
19417 cat >conftest.
$ac_ext <<_ACEOF
19420 cat confdefs.h
>>conftest.
$ac_ext
19421 cat >>conftest.
$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19423 #include <sys/types.h>
19424 #ifdef HAVE_SYS_MTIO_H
19425 #include <sys/mtio.h>
19431 static struct mtget ac_aggr;
19432 if (sizeof ac_aggr.mt_blkno)
19438 rm -f conftest.
$ac_objext
19439 if { (ac_try
="$ac_compile"
19440 case "(($ac_try" in
19441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19442 *) ac_try_echo=$ac_try;;
19444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19445 (eval "$ac_compile") 2>conftest.er1
19447 grep -v '^ *+' conftest.er1 >conftest.err
19449 cat conftest.err >&5
19450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19451 (exit $ac_status); } && {
19452 test -z "$ac_c_werror_flag" ||
19453 test ! -s conftest.err
19454 } && test -s conftest.$ac_objext; then
19455 ac_cv_member_struct_mtget_mt_blkno=yes
19457 echo "$as_me: failed program was:" >&5
19458 sed 's/^/| /' conftest.$ac_ext >&5
19460 ac_cv_member_struct_mtget_mt_blkno=no
19463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19468 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19469 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19470 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19472 cat >>confdefs.h <<_ACEOF
19473 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19480 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19481 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19482 if test "${ac_cv_member_struct_option_name+set}" = set; then
19483 echo $ECHO_N "(cached) $ECHO_C" >&6
19485 cat >conftest.$ac_ext <<_ACEOF
19488 cat confdefs.h >>conftest.$ac_ext
19489 cat >>conftest.$ac_ext <<_ACEOF
19490 /* end confdefs.h. */
19491 #ifdef HAVE_GETOPT_H
19492 #include <getopt.h>
19498 static struct option ac_aggr;
19505 rm -f conftest.$ac_objext
19506 if { (ac_try="$ac_compile"
19507 case "(($ac_try" in
19508 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19509 *) ac_try_echo
=$ac_try;;
19511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19512 (eval "$ac_compile") 2>conftest.er1
19514 grep -v '^ *+' conftest.er1
>conftest.err
19516 cat conftest.err
>&5
19517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19518 (exit $ac_status); } && {
19519 test -z "$ac_c_werror_flag" ||
19520 test ! -s conftest.err
19521 } && test -s conftest.
$ac_objext; then
19522 ac_cv_member_struct_option_name
=yes
19524 echo "$as_me: failed program was:" >&5
19525 sed 's/^/| /' conftest.
$ac_ext >&5
19527 cat >conftest.
$ac_ext <<_ACEOF
19530 cat confdefs.h
>>conftest.
$ac_ext
19531 cat >>conftest.
$ac_ext <<_ACEOF
19532 /* end confdefs.h. */
19533 #ifdef HAVE_GETOPT_H
19534 #include <getopt.h>
19540 static struct option ac_aggr;
19541 if (sizeof ac_aggr.name)
19547 rm -f conftest.
$ac_objext
19548 if { (ac_try
="$ac_compile"
19549 case "(($ac_try" in
19550 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19551 *) ac_try_echo=$ac_try;;
19553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19554 (eval "$ac_compile") 2>conftest.er1
19556 grep -v '^ *+' conftest.er1 >conftest.err
19558 cat conftest.err >&5
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 (exit $ac_status); } && {
19561 test -z "$ac_c_werror_flag" ||
19562 test ! -s conftest.err
19563 } && test -s conftest.$ac_objext; then
19564 ac_cv_member_struct_option_name=yes
19566 echo "$as_me: failed program was:" >&5
19567 sed 's/^/| /' conftest.$ac_ext >&5
19569 ac_cv_member_struct_option_name=no
19572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19577 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19578 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19579 if test $ac_cv_member_struct_option_name = yes; then
19581 cat >>confdefs.h <<_ACEOF
19582 #define HAVE_STRUCT_OPTION_NAME 1
19589 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19590 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19591 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19592 echo $ECHO_N "(cached) $ECHO_C" >&6
19594 cat >conftest.$ac_ext <<_ACEOF
19597 cat confdefs.h >>conftest.$ac_ext
19598 cat >>conftest.$ac_ext <<_ACEOF
19599 /* end confdefs.h. */
19600 $ac_includes_default
19604 static struct stat ac_aggr;
19605 if (ac_aggr.st_blocks)
19611 rm -f conftest.$ac_objext
19612 if { (ac_try="$ac_compile"
19613 case "(($ac_try" in
19614 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19615 *) ac_try_echo
=$ac_try;;
19617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19618 (eval "$ac_compile") 2>conftest.er1
19620 grep -v '^ *+' conftest.er1
>conftest.err
19622 cat conftest.err
>&5
19623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19624 (exit $ac_status); } && {
19625 test -z "$ac_c_werror_flag" ||
19626 test ! -s conftest.err
19627 } && test -s conftest.
$ac_objext; then
19628 ac_cv_member_struct_stat_st_blocks
=yes
19630 echo "$as_me: failed program was:" >&5
19631 sed 's/^/| /' conftest.
$ac_ext >&5
19633 cat >conftest.
$ac_ext <<_ACEOF
19636 cat confdefs.h
>>conftest.
$ac_ext
19637 cat >>conftest.
$ac_ext <<_ACEOF
19638 /* end confdefs.h. */
19639 $ac_includes_default
19643 static struct stat ac_aggr;
19644 if (sizeof ac_aggr.st_blocks)
19650 rm -f conftest.
$ac_objext
19651 if { (ac_try
="$ac_compile"
19652 case "(($ac_try" in
19653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19654 *) ac_try_echo=$ac_try;;
19656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19657 (eval "$ac_compile") 2>conftest.er1
19659 grep -v '^ *+' conftest.er1 >conftest.err
19661 cat conftest.err >&5
19662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19663 (exit $ac_status); } && {
19664 test -z "$ac_c_werror_flag" ||
19665 test ! -s conftest.err
19666 } && test -s conftest.$ac_objext; then
19667 ac_cv_member_struct_stat_st_blocks=yes
19669 echo "$as_me: failed program was:" >&5
19670 sed 's/^/| /' conftest.$ac_ext >&5
19672 ac_cv_member_struct_stat_st_blocks=no
19675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19680 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19681 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19682 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19684 cat >>confdefs.h <<_ACEOF
19685 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19692 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19693 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19694 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19695 echo $ECHO_N "(cached) $ECHO_C" >&6
19697 cat >conftest.$ac_ext <<_ACEOF
19700 cat confdefs.h >>conftest.$ac_ext
19701 cat >>conftest.$ac_ext <<_ACEOF
19702 /* end confdefs.h. */
19703 #ifdef HAVE_SYS_TYPES_H
19704 #include <sys/types.h>
19706 #ifdef HAVE_NETINET_IN_H
19707 #include <netinet/in.h>
19713 static struct sockaddr_in6 ac_aggr;
19714 if (ac_aggr.sin6_scope_id)
19720 rm -f conftest.$ac_objext
19721 if { (ac_try="$ac_compile"
19722 case "(($ac_try" in
19723 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19724 *) ac_try_echo
=$ac_try;;
19726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19727 (eval "$ac_compile") 2>conftest.er1
19729 grep -v '^ *+' conftest.er1
>conftest.err
19731 cat conftest.err
>&5
19732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733 (exit $ac_status); } && {
19734 test -z "$ac_c_werror_flag" ||
19735 test ! -s conftest.err
19736 } && test -s conftest.
$ac_objext; then
19737 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
19739 echo "$as_me: failed program was:" >&5
19740 sed 's/^/| /' conftest.
$ac_ext >&5
19742 cat >conftest.
$ac_ext <<_ACEOF
19745 cat confdefs.h
>>conftest.
$ac_ext
19746 cat >>conftest.
$ac_ext <<_ACEOF
19747 /* end confdefs.h. */
19748 #ifdef HAVE_SYS_TYPES_H
19749 #include <sys/types.h>
19751 #ifdef HAVE_NETINET_IN_H
19752 #include <netinet/in.h>
19758 static struct sockaddr_in6 ac_aggr;
19759 if (sizeof ac_aggr.sin6_scope_id)
19765 rm -f conftest.
$ac_objext
19766 if { (ac_try
="$ac_compile"
19767 case "(($ac_try" in
19768 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19769 *) ac_try_echo=$ac_try;;
19771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19772 (eval "$ac_compile") 2>conftest.er1
19774 grep -v '^ *+' conftest.er1 >conftest.err
19776 cat conftest.err >&5
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); } && {
19779 test -z "$ac_c_werror_flag" ||
19780 test ! -s conftest.err
19781 } && test -s conftest.$ac_objext; then
19782 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19784 echo "$as_me: failed program was:" >&5
19785 sed 's/^/| /' conftest.$ac_ext >&5
19787 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19795 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19796 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19797 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19799 cat >>confdefs.h <<_ACEOF
19800 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19807 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19808 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19809 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19810 echo $ECHO_N "(cached) $ECHO_C" >&6
19812 cat >conftest.$ac_ext <<_ACEOF
19815 cat confdefs.h >>conftest.$ac_ext
19816 cat >>conftest.$ac_ext <<_ACEOF
19817 /* end confdefs.h. */
19818 #ifdef HAVE_SYS_TYPES_H
19819 #include <sys/types.h>
19821 #ifdef HAVE_NETINET_IN_H
19822 # include <netinet/in.h>
19824 #ifdef HAVE_ARPA_NAMESER_H
19825 # include <arpa/nameser.h>
19831 static ns_msg ac_aggr;
19832 if (ac_aggr._msg_ptr)
19838 rm -f conftest.$ac_objext
19839 if { (ac_try="$ac_compile"
19840 case "(($ac_try" in
19841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19842 *) ac_try_echo
=$ac_try;;
19844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19845 (eval "$ac_compile") 2>conftest.er1
19847 grep -v '^ *+' conftest.er1
>conftest.err
19849 cat conftest.err
>&5
19850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19851 (exit $ac_status); } && {
19852 test -z "$ac_c_werror_flag" ||
19853 test ! -s conftest.err
19854 } && test -s conftest.
$ac_objext; then
19855 ac_cv_member_ns_msg__msg_ptr
=yes
19857 echo "$as_me: failed program was:" >&5
19858 sed 's/^/| /' conftest.
$ac_ext >&5
19860 cat >conftest.
$ac_ext <<_ACEOF
19863 cat confdefs.h
>>conftest.
$ac_ext
19864 cat >>conftest.
$ac_ext <<_ACEOF
19865 /* end confdefs.h. */
19866 #ifdef HAVE_SYS_TYPES_H
19867 #include <sys/types.h>
19869 #ifdef HAVE_NETINET_IN_H
19870 # include <netinet/in.h>
19872 #ifdef HAVE_ARPA_NAMESER_H
19873 # include <arpa/nameser.h>
19879 static ns_msg ac_aggr;
19880 if (sizeof ac_aggr._msg_ptr)
19886 rm -f conftest.
$ac_objext
19887 if { (ac_try
="$ac_compile"
19888 case "(($ac_try" in
19889 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19890 *) ac_try_echo=$ac_try;;
19892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19893 (eval "$ac_compile") 2>conftest.er1
19895 grep -v '^ *+' conftest.er1 >conftest.err
19897 cat conftest.err >&5
19898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19899 (exit $ac_status); } && {
19900 test -z "$ac_c_werror_flag" ||
19901 test ! -s conftest.err
19902 } && test -s conftest.$ac_objext; then
19903 ac_cv_member_ns_msg__msg_ptr=yes
19905 echo "$as_me: failed program was:" >&5
19906 sed 's/^/| /' conftest.$ac_ext >&5
19908 ac_cv_member_ns_msg__msg_ptr=no
19911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19916 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19917 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19918 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19920 cat >>confdefs.h <<_ACEOF
19921 #define HAVE_NS_MSG__MSG_PTR 1
19928 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19929 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19930 if test "${ac_cv_have_timezone+set}" = set; then
19931 echo $ECHO_N "(cached) $ECHO_C" >&6
19933 cat >conftest.$ac_ext <<_ACEOF
19936 cat confdefs.h >>conftest.$ac_ext
19937 cat >>conftest.$ac_ext <<_ACEOF
19938 /* end confdefs.h. */
19948 rm -f conftest.$ac_objext conftest$ac_exeext
19949 if { (ac_try="$ac_link"
19950 case "(($ac_try" in
19951 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19952 *) ac_try_echo
=$ac_try;;
19954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19955 (eval "$ac_link") 2>conftest.er1
19957 grep -v '^ *+' conftest.er1
>conftest.err
19959 cat conftest.err
>&5
19960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19961 (exit $ac_status); } && {
19962 test -z "$ac_c_werror_flag" ||
19963 test ! -s conftest.err
19964 } && test -s conftest
$ac_exeext &&
19965 $as_test_x conftest
$ac_exeext; then
19966 ac_cv_have_timezone
="yes"
19968 echo "$as_me: failed program was:" >&5
19969 sed 's/^/| /' conftest.
$ac_ext >&5
19971 ac_cv_have_timezone
="no"
19974 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19975 conftest
$ac_exeext conftest.
$ac_ext
19977 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19978 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19979 if test "$ac_cv_have_timezone" = "yes"
19982 cat >>confdefs.h
<<\_ACEOF
19983 #define HAVE_TIMEZONE 1
19987 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19988 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19989 if test "${ac_cv_have_daylight+set}" = set; then
19990 echo $ECHO_N "(cached) $ECHO_C" >&6
19992 cat >conftest.
$ac_ext <<_ACEOF
19995 cat confdefs.h
>>conftest.
$ac_ext
19996 cat >>conftest.
$ac_ext <<_ACEOF
19997 /* end confdefs.h. */
20007 rm -f conftest.
$ac_objext conftest
$ac_exeext
20008 if { (ac_try
="$ac_link"
20009 case "(($ac_try" in
20010 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20011 *) ac_try_echo=$ac_try;;
20013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20014 (eval "$ac_link") 2>conftest.er1
20016 grep -v '^ *+' conftest.er1 >conftest.err
20018 cat conftest.err >&5
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); } && {
20021 test -z "$ac_c_werror_flag" ||
20022 test ! -s conftest.err
20023 } && test -s conftest$ac_exeext &&
20024 $as_test_x conftest$ac_exeext; then
20025 ac_cv_have_daylight="yes"
20027 echo "$as_me: failed program was:" >&5
20028 sed 's/^/| /' conftest.$ac_ext >&5
20030 ac_cv_have_daylight="no"
20033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20034 conftest$ac_exeext conftest.$ac_ext
20036 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20037 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20038 if test "$ac_cv_have_daylight" = "yes"
20041 cat >>confdefs.h <<\_ACEOF
20042 #define HAVE_DAYLIGHT 1
20049 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20050 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20051 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20052 echo $ECHO_N "(cached) $ECHO_C" >&6
20054 cat >conftest.$ac_ext <<_ACEOF
20057 cat confdefs.h >>conftest.$ac_ext
20058 cat >>conftest.$ac_ext <<_ACEOF
20059 /* end confdefs.h. */
20064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20065 $EGREP "yes" >/dev/null 2>&1; then
20066 ac_cv_cpp_def___i386__=yes
20068 ac_cv_cpp_def___i386__=no
20073 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20074 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20075 if test $ac_cv_cpp_def___i386__ = yes; then
20076 CFLAGS="$CFLAGS -D__i386__"
20077 LINTFLAGS="$LINTFLAGS -D__i386__"
20080 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20081 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20082 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20083 echo $ECHO_N "(cached) $ECHO_C" >&6
20085 cat >conftest.$ac_ext <<_ACEOF
20088 cat confdefs.h >>conftest.$ac_ext
20089 cat >>conftest.$ac_ext <<_ACEOF
20090 /* end confdefs.h. */
20095 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20096 $EGREP "yes" >/dev/null 2>&1; then
20097 ac_cv_cpp_def___x86_64__=yes
20099 ac_cv_cpp_def___x86_64__=no
20104 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20105 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20106 if test $ac_cv_cpp_def___x86_64__ = yes; then
20107 CFLAGS="$CFLAGS -D__x86_64__"
20108 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20111 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20112 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20113 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20114 echo $ECHO_N "(cached) $ECHO_C" >&6
20116 cat >conftest.$ac_ext <<_ACEOF
20119 cat confdefs.h >>conftest.$ac_ext
20120 cat >>conftest.$ac_ext <<_ACEOF
20121 /* end confdefs.h. */
20126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20127 $EGREP "yes" >/dev/null 2>&1; then
20128 ac_cv_cpp_def___ALPHA__=yes
20130 ac_cv_cpp_def___ALPHA__=no
20135 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20136 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20137 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20138 CFLAGS="$CFLAGS -D__ALPHA__"
20139 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20142 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20143 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20144 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20145 echo $ECHO_N "(cached) $ECHO_C" >&6
20147 cat >conftest.$ac_ext <<_ACEOF
20150 cat confdefs.h >>conftest.$ac_ext
20151 cat >>conftest.$ac_ext <<_ACEOF
20152 /* end confdefs.h. */
20157 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20158 $EGREP "yes" >/dev/null 2>&1; then
20159 ac_cv_cpp_def___sparc__=yes
20161 ac_cv_cpp_def___sparc__=no
20166 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20167 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20168 if test $ac_cv_cpp_def___sparc__ = yes; then
20169 CFLAGS="$CFLAGS -D__sparc__"
20170 LINTFLAGS="$LINTFLAGS -D__sparc__"
20173 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20174 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20175 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20176 echo $ECHO_N "(cached) $ECHO_C" >&6
20178 cat >conftest.$ac_ext <<_ACEOF
20181 cat confdefs.h >>conftest.$ac_ext
20182 cat >>conftest.$ac_ext <<_ACEOF
20183 /* end confdefs.h. */
20184 #ifndef __powerpc__
20188 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20189 $EGREP "yes" >/dev/null 2>&1; then
20190 ac_cv_cpp_def___powerpc__=yes
20192 ac_cv_cpp_def___powerpc__=no
20197 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20198 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20199 if test $ac_cv_cpp_def___powerpc__ = yes; then
20200 CFLAGS="$CFLAGS -D__powerpc__"
20201 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20206 case $host_vendor in
20207 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20208 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20209 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20210 echo $ECHO_N "(cached) $ECHO_C" >&6
20212 cat >conftest.$ac_ext <<_ACEOF
20215 cat confdefs.h >>conftest.$ac_ext
20216 cat >>conftest.$ac_ext <<_ACEOF
20217 /* end confdefs.h. */
20222 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20223 $EGREP "yes" >/dev/null 2>&1; then
20224 ac_cv_cpp_def___sun__=yes
20226 ac_cv_cpp_def___sun__=no
20231 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20232 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20233 if test $ac_cv_cpp_def___sun__ = yes; then
20234 CFLAGS="$CFLAGS -D__sun__"
20235 LINTFLAGS="$LINTFLAGS -D__sun__"
20241 DEPENDENCIES="### Dependencies:
20246 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20248 \$(ALL_OBJS): \$(IDL_H_SRCS:.idl=.h)
20249 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20250 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20251 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20257 ac_config_commands="$ac_config_commands include/stamp-h"
20260 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20262 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20264 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20266 ac_config_commands="$ac_config_commands dlls/user32/resources"
20268 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20270 ac_config_commands="$ac_config_commands include/wine"
20273 MAKE_RULES=Make.rules
20276 MAKE_DLL_RULES=dlls/Makedll.rules
20279 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20282 MAKE_TEST_RULES=dlls/Maketest.rules
20285 MAKE_PROG_RULES=programs/Makeprog.rules
20288 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/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/joystick/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"
20291 cat >confcache <<\_ACEOF
20292 # This file is a shell script that caches the results of configure
20293 # tests run on this system so they can be shared between configure
20294 # scripts and configure runs, see configure's option --config-cache.
20295 # It is not useful on other systems. If it contains results you don't
20296 # want to keep, you may remove or edit it.
20298 # config.status only pays attention to the cache file if you give it
20299 # the --recheck option to rerun configure.
20301 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
20302 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20303 # following values.
20307 # The following way of writing the cache mishandles newlines in values,
20308 # but we know of no workaround that is simple, portable, and efficient.
20309 # So, we kill variables containing newlines.
20310 # Ultrix sh set writes to stderr and can't be redirected directly,
20311 # and sets the high bit in the cache file unless we assign to the vars.
20313 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20314 eval ac_val
=\$
$ac_var
20318 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20319 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20322 _ | IFS | as_nl
) ;; #(
20323 *) $as_unset $ac_var ;;
20329 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20330 *${as_nl}ac_space
=\
*)
20331 # `set' does not quote correctly, so add quotes (double-quote
20332 # substitution turns \\\\ into \\, and sed turns \\ into \).
20335 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20338 # `set' quotes correctly as required by POSIX, so do not add quotes.
20339 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20348 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20350 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20352 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20353 if test -w "$cache_file"; then
20354 test "x$cache_file" != "x/dev/null" &&
20355 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20356 echo "$as_me: updating cache $cache_file" >&6;}
20357 cat confcache
>$cache_file
20359 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20360 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20365 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20366 # Let make expand exec_prefix.
20367 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20369 DEFS
=-DHAVE_CONFIG_H
20373 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20374 # 1. Remove the extension, and $U if already installed.
20375 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20376 ac_i
=`echo "$ac_i" | sed "$ac_script"`
20377 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20378 # will be set to the directory where LIBOBJS objects are built.
20379 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20380 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20382 LIBOBJS
=$ac_libobjs
20384 LTLIBOBJS
=$ac_ltlibobjs
20388 : ${CONFIG_STATUS=./config.status}
20389 ac_clean_files_save
=$ac_clean_files
20390 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20391 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20392 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20393 cat >$CONFIG_STATUS <<_ACEOF
20395 # Generated by $as_me.
20396 # Run this file to recreate the current configuration.
20397 # Compiler output produced by configure, useful for debugging
20398 # configure, is in config.log if it exists.
20401 ac_cs_recheck=false
20403 SHELL=\${CONFIG_SHELL-$SHELL}
20406 cat >>$CONFIG_STATUS <<\_ACEOF
20407 ## --------------------- ##
20408 ## M4sh Initialization. ##
20409 ## --------------------- ##
20411 # Be more Bourne compatible
20412 DUALCASE
=1; export DUALCASE
# for MKS sh
20413 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20416 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20417 # is contrary to our usage. Disable this feature.
20418 alias -g '${1+"$@"}'='"$@"'
20419 setopt NO_GLOB_SUBST
20421 case `(set -o) 2>/dev/null` in
20422 *posix
*) set -o posix
;;
20431 # Avoid depending upon Character Ranges.
20432 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20433 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20434 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20435 as_cr_digits
='0123456789'
20436 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20438 # The user is always right.
20439 if test "${PATH_SEPARATOR+set}" != set; then
20440 echo "#! /bin/sh" >conf$$.sh
20441 echo "exit 0" >>conf$$.sh
20443 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20451 # Support unset when possible.
20452 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20460 # We need space, tab and new line, in precisely that order. Quoting is
20461 # there to prevent editors from complaining about space-tab.
20462 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20463 # splitting by setting IFS to empty value.)
20468 # Find who we are. Look in the path if we contain no directory separator.
20470 *[\\/]* ) as_myself
=$0 ;;
20471 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20472 for as_dir
in $PATH
20475 test -z "$as_dir" && as_dir
=.
20476 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20482 # We did not find ourselves, most probably we were run as `sh COMMAND'
20483 # in which case we are not to be found in the path.
20484 if test "x$as_myself" = x
; then
20487 if test ! -f "$as_myself"; then
20488 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20489 { (exit 1); exit 1; }
20492 # Work around bugs in pre-3.0 UWIN ksh.
20493 for as_var
in ENV MAIL MAILPATH
20494 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20502 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20503 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20504 LC_TELEPHONE LC_TIME
20506 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20507 eval $as_var=C
; export $as_var
20509 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20513 # Required to use basename.
20514 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20515 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20521 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20522 as_basename
=basename
20528 # Name of the executable.
20529 as_me
=`$as_basename -- "$0" ||
20530 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20531 X"$0" : 'X\(//\)$' \| \
20532 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20534 sed '/^.*\/\([^/][^/]*\)\/*$/{
20553 as_lineno_1
=$LINENO
20554 as_lineno_2
=$LINENO
20555 test "x$as_lineno_1" != "x$as_lineno_2" &&
20556 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
20558 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20559 # uniformly replaced by the line number. The first 'sed' inserts a
20560 # line-number line after each line using $LINENO; the second 'sed'
20561 # does the real work. The second script uses 'N' to pair each
20562 # line-number line with the line containing $LINENO, and appends
20563 # trailing '-' during substitution so that $LINENO is not a special
20564 # case at line end.
20565 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20566 # scripts with optimization help from Paolo Bonzini. Blame Lee
20567 # E. McMahon (1931-1989) for sed's syntax. :-)
20579 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20582 ' >$as_me.lineno
&&
20583 chmod +x
"$as_me.lineno" ||
20584 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20585 { (exit 1); exit 1; }; }
20587 # Don't try to exec as it changes $[0], causing all sort of problems
20588 # (the dirname of $[0] is not the place where we might find the
20589 # original and so on. Autoconf is especially sensitive to this).
20590 .
"./$as_me.lineno"
20591 # Exit status is that of the last command.
20596 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20602 ECHO_C
= ECHO_N
= ECHO_T
=
20603 case `echo -n x` in
20605 case `echo 'x\c'` in
20606 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20613 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20614 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20620 rm -f conf$$ conf$$.exe conf$$.
file
20621 if test -d conf$$.dir
; then
20622 rm -f conf$$.dir
/conf$$.
file
20628 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20630 # ... but there are two gotchas:
20631 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20632 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20633 # In both cases, we have to default to `cp -p'.
20634 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20636 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20641 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20642 rmdir conf$$.dir
2>/dev
/null
20644 if mkdir
-p .
2>/dev
/null
; then
20647 test -d .
/-p && rmdir .
/-p
20651 if test -x / >/dev
/null
2>&1; then
20652 as_test_x
='test -x'
20654 if ls -dL / >/dev
/null
2>&1; then
20661 if test -d "$1"; then
20667 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20668 ???[sx]*):;;*)false;;esac;fi
20672 as_executable_p
=$as_test_x
20674 # Sed expression to map a string onto a valid CPP name.
20675 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20677 # Sed expression to map a string onto a valid variable name.
20678 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20683 # Save the log message, to keep $[0] and so on meaningful, and to
20684 # report actual input values of CONFIG_FILES etc. instead of their
20685 # values after options handling.
20687 This file was extended by Wine $as_me 0.9.28, which was
20688 generated by GNU Autoconf 2.61. Invocation command line was
20690 CONFIG_FILES = $CONFIG_FILES
20691 CONFIG_HEADERS = $CONFIG_HEADERS
20692 CONFIG_LINKS = $CONFIG_LINKS
20693 CONFIG_COMMANDS = $CONFIG_COMMANDS
20696 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20701 cat >>$CONFIG_STATUS <<_ACEOF
20702 # Files that config.status was made for.
20703 config_files="$ac_config_files"
20704 config_headers="$ac_config_headers"
20705 config_commands="$ac_config_commands"
20709 cat >>$CONFIG_STATUS <<\_ACEOF
20711 \`$as_me' instantiates files from templates according to the
20712 current configuration.
20714 Usage: $0 [OPTIONS] [FILE]...
20716 -h, --help print this help, then exit
20717 -V, --version print version number and configuration settings, then exit
20718 -q, --quiet do not print progress messages
20719 -d, --debug don't remove temporary files
20720 --recheck update $as_me by reconfiguring in the same conditions
20721 --file=FILE[:TEMPLATE]
20722 instantiate the configuration file FILE
20723 --header=FILE[:TEMPLATE]
20724 instantiate the configuration header FILE
20726 Configuration files:
20729 Configuration headers:
20732 Configuration commands:
20735 Report bugs to <bug-autoconf@gnu.org>."
20738 cat >>$CONFIG_STATUS <<_ACEOF
20740 Wine config.status 0.9.28
20741 configured by $0, generated by GNU Autoconf 2.61,
20742 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20744 Copyright (C) 2006 Free Software Foundation, Inc.
20745 This config.status script is free software; the Free Software Foundation
20746 gives unlimited permission to copy, distribute and modify it."
20753 cat >>$CONFIG_STATUS <<\_ACEOF
20754 # If no file are specified by the user, then we need to provide default
20755 # value. By we need to know if files were specified by the user.
20761 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20762 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20773 # Handling of the options.
20774 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20776 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20777 echo "$ac_cs_version"; exit ;;
20778 --debug |
--debu |
--deb |
--de |
--d |
-d )
20780 --file |
--fil |
--fi |
--f )
20782 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20783 ac_need_defaults
=false
;;
20784 --header |
--heade |
--head |
--hea )
20786 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20787 ac_need_defaults
=false
;;
20789 # Conflict between --help and --header
20790 { echo "$as_me: error: ambiguous option: $1
20791 Try \`$0 --help' for more information." >&2
20792 { (exit 1); exit 1; }; };;
20793 --help |
--hel |
-h )
20794 echo "$ac_cs_usage"; exit ;;
20795 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20796 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20799 # This is an error.
20800 -*) { echo "$as_me: error: unrecognized option: $1
20801 Try \`$0 --help' for more information." >&2
20802 { (exit 1); exit 1; }; } ;;
20804 *) ac_config_targets
="$ac_config_targets $1"
20805 ac_need_defaults
=false
;;
20811 ac_configure_extra_args
=
20813 if $ac_cs_silent; then
20815 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20819 cat >>$CONFIG_STATUS <<_ACEOF
20820 if \$ac_cs_recheck; then
20821 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20822 CONFIG_SHELL=$SHELL
20823 export CONFIG_SHELL
20824 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20828 cat >>$CONFIG_STATUS <<\_ACEOF
20832 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20833 ## Running $as_me. ##
20839 cat >>$CONFIG_STATUS <<_ACEOF
20842 cat >>$CONFIG_STATUS <<\_ACEOF
20844 # Handling of arguments.
20845 for ac_config_target
in $ac_config_targets
20847 case $ac_config_target in
20848 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
20849 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
20850 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
20851 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
20852 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
20853 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
20854 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
20855 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
20856 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
20857 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
20858 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
20859 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
20860 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
20861 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20862 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
20863 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
20864 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20865 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20866 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
20867 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
20868 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
20869 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
20870 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20871 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20872 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20873 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
20874 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20875 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
20876 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20877 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
20878 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
20879 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
20880 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20881 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20882 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
20883 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
20884 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
20885 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20886 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20887 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
20888 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
20889 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
20890 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
20891 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20892 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
20893 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20894 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
20895 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20896 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
20897 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20898 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
20899 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
20900 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20901 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20902 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20903 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
20904 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
20905 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
20906 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
20907 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20908 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
20909 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20910 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
20911 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20912 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20913 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20914 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20915 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20916 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20917 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
20918 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
20919 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
20920 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20921 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
20922 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20923 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
20924 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20925 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
20926 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
20927 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
20928 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
20929 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20930 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
20931 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
20932 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
20933 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
20934 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
20935 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
20936 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
20937 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
20938 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20939 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
20940 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20941 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
20942 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20943 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
20944 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
20945 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
20946 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
20947 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20948 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20949 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
20950 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
20951 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
20952 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
20953 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
20954 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
20955 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
20956 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
20957 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20958 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
20959 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
20960 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
20961 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
20962 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
20963 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
20964 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
20965 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
20966 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20967 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20968 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
20969 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
20970 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
20971 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
20972 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
20973 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
20974 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
20975 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
20976 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
20977 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20978 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
20979 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
20980 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20981 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
20982 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
20983 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
20984 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20985 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
20986 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20987 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20988 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20989 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20990 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20991 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20992 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20993 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
20994 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
20995 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20996 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20997 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
20998 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
20999 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21000 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21001 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21002 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
21003 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21004 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21005 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21006 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
21007 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21008 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21009 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
21010 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21011 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21012 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21013 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21014 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21015 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21016 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21017 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21018 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21019 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21020 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
21021 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21022 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21023 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
21024 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
21025 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21026 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
21027 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21028 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
21029 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
21030 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21031 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
21032 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21033 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21034 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21035 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21036 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21037 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21038 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21039 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
21040 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21041 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
21042 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21043 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
21044 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21045 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21046 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
21047 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21048 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21049 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21050 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
21051 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21052 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21053 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21054 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21055 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21056 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21057 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21058 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21059 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
21060 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21061 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21062 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21063 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21064 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
21065 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
21066 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21067 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21068 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
21069 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21070 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
21071 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
21072 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21073 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
21074 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21075 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21076 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21077 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21078 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
21079 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21080 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21081 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21082 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21083 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21084 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21085 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21086 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21087 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21088 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
21089 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21090 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21091 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21092 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21093 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
21094 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21095 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
21096 "dlls/winmm/joystick/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
21097 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21098 "dlls/winmm/winealsa/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
21099 "dlls/winmm/winearts/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
21100 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
21101 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
21102 "dlls/winmm/wineesd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
21103 "dlls/winmm/winejack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
21104 "dlls/winmm/winenas/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
21105 "dlls/winmm/wineoss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
21106 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21107 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21108 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21109 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21110 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21111 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21112 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21113 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21114 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
21115 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21116 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21117 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21118 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21119 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
21120 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
21121 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
21122 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
21123 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
21124 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
21125 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
21126 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
21127 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
21128 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
21129 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
21130 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21131 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
21132 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
21133 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
21134 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
21135 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
21136 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
21137 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
21138 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
21139 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
21140 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
21141 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
21142 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
21143 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21144 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
21145 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
21146 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
21147 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21148 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21149 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
21150 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
21151 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21152 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
21153 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21154 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
21155 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
21156 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21157 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
21158 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
21159 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
21160 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
21161 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
21162 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
21163 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
21164 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
21165 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
21166 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
21167 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
21168 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
21169 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
21170 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
21171 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
21173 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21174 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21175 { (exit 1); exit 1; }; };;
21180 # If the user did not use the arguments to specify the items to instantiate,
21181 # then the envvar interface is used. Set only those that are not.
21182 # We use the long form for the default assignment because of an extremely
21183 # bizarre bug on SunOS 4.1.3.
21184 if $ac_need_defaults; then
21185 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21186 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21187 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21190 # Have a temporary directory for convenience. Make it in the build tree
21191 # simply because there is no reason against having it here, and in addition,
21192 # creating and moving files from /tmp can sometimes cause problems.
21193 # Hook for its removal unless debugging.
21194 # Note that there is a small window in which the directory will not be cleaned:
21195 # after its creation but before its name has been assigned to `$tmp'.
21199 trap 'exit_status=$?
21200 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21202 trap '{ (exit 1); exit 1; }' 1 2 13 15
21204 # Create a (secure) tmp directory for tmp files.
21207 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21208 test -n "$tmp" && test -d "$tmp"
21211 tmp
=.
/conf$$
-$RANDOM
21212 (umask 077 && mkdir
"$tmp")
21215 echo "$me: cannot create a temporary directory in ." >&2
21216 { (exit 1); exit 1; }
21220 # Set up the sed scripts for CONFIG_FILES section.
21223 # No need to generate the scripts if there are no CONFIG_FILES.
21224 # This happens for instance when ./config.status config.h
21225 if test -n "$CONFIG_FILES"; then
21229 # Create sed commands to just substitute file output variables.
21231 # Remaining file output variables are in a fragment that also has non-file
21237 for ac_last_try
in false false false false false
:; do
21238 cat >conf$
$subs.
sed <<_ACEOF
21239 SHELL!$SHELL$ac_delim
21240 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21241 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21242 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21243 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21244 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21245 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21246 exec_prefix!$exec_prefix$ac_delim
21247 prefix!$prefix$ac_delim
21248 program_transform_name!$program_transform_name$ac_delim
21249 bindir!$bindir$ac_delim
21250 sbindir!$sbindir$ac_delim
21251 libexecdir!$libexecdir$ac_delim
21252 datarootdir!$datarootdir$ac_delim
21253 datadir!$datadir$ac_delim
21254 sysconfdir!$sysconfdir$ac_delim
21255 sharedstatedir!$sharedstatedir$ac_delim
21256 localstatedir!$localstatedir$ac_delim
21257 includedir!$includedir$ac_delim
21258 oldincludedir!$oldincludedir$ac_delim
21259 docdir!$docdir$ac_delim
21260 infodir!$infodir$ac_delim
21261 htmldir!$htmldir$ac_delim
21262 dvidir!$dvidir$ac_delim
21263 pdfdir!$pdfdir$ac_delim
21264 psdir!$psdir$ac_delim
21265 libdir!$libdir$ac_delim
21266 localedir!$localedir$ac_delim
21267 mandir!$mandir$ac_delim
21268 DEFS!$DEFS$ac_delim
21269 ECHO_C!$ECHO_C$ac_delim
21270 ECHO_N!$ECHO_N$ac_delim
21271 ECHO_T!$ECHO_T$ac_delim
21272 LIBS!$LIBS$ac_delim
21273 build_alias!$build_alias$ac_delim
21274 host_alias!$host_alias$ac_delim
21275 target_alias!$target_alias$ac_delim
21276 build!$build$ac_delim
21277 build_cpu!$build_cpu$ac_delim
21278 build_vendor!$build_vendor$ac_delim
21279 build_os!$build_os$ac_delim
21280 host!$host$ac_delim
21281 host_cpu!$host_cpu$ac_delim
21282 host_vendor!$host_vendor$ac_delim
21283 host_os!$host_os$ac_delim
21284 WIN16_FILES!$WIN16_FILES$ac_delim
21285 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21286 SET_MAKE!$SET_MAKE$ac_delim
21288 CFLAGS!$CFLAGS$ac_delim
21289 LDFLAGS!$LDFLAGS$ac_delim
21290 CPPFLAGS!$CPPFLAGS$ac_delim
21291 ac_ct_CC!$ac_ct_CC$ac_delim
21292 EXEEXT!$EXEEXT$ac_delim
21293 OBJEXT!$OBJEXT$ac_delim
21295 CXXFLAGS!$CXXFLAGS$ac_delim
21296 ac_ct_CXX!$ac_ct_CXX$ac_delim
21297 CPPBIN!$CPPBIN$ac_delim
21298 TOOLSDIR!$TOOLSDIR$ac_delim
21299 XMKMF!$XMKMF$ac_delim
21301 X_CFLAGS!$X_CFLAGS$ac_delim
21302 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
21303 X_LIBS!$X_LIBS$ac_delim
21304 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
21306 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
21307 LEXLIB!$LEXLIB$ac_delim
21308 XLEX!$XLEX$ac_delim
21309 BISON!$BISON$ac_delim
21311 ac_ct_AS!$ac_ct_AS$ac_delim
21314 RANLIB!$RANLIB$ac_delim
21315 STRIP!$STRIP$ac_delim
21316 WINDRES!$WINDRES$ac_delim
21317 LN_S!$LN_S$ac_delim
21319 GREP!$GREP$ac_delim
21320 EGREP!$EGREP$ac_delim
21323 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
21325 elif $ac_last_try; then
21326 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21327 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21328 { (exit 1); exit 1; }; }
21330 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21334 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21335 if test -n "$ac_eof"; then
21336 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21337 ac_eof
=`expr $ac_eof + 1`
21340 cat >>$CONFIG_STATUS <<_ACEOF
21341 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21342 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21343 /^[ ]*@MAKE_RULES@[ ]*$/{
21347 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
21351 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
21352 r $MAKE_IMPLIB_RULES
21355 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
21359 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
21365 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21366 s/^/s,@/; s/!/@,|#_!!_#|/
21369 s/'"$ac_delim"'$/,g/; t
21371 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21372 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21373 rm -f conf$
$subs.
sed
21374 cat >>$CONFIG_STATUS <<_ACEOF
21380 for ac_last_try
in false false false false false
:; do
21381 cat >conf$
$subs.
sed <<_ACEOF
21382 LDCONFIG!$LDCONFIG$ac_delim
21383 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21384 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21385 INSTALL_DATA!$INSTALL_DATA$ac_delim
21386 LINT!$LINT$ac_delim
21387 LINTFLAGS!$LINTFLAGS$ac_delim
21388 FONTFORGE!$FONTFORGE$ac_delim
21389 PKG_CONFIG!$PKG_CONFIG$ac_delim
21390 PRELINK!$PRELINK$ac_delim
21391 LIBPTHREAD!$LIBPTHREAD$ac_delim
21392 XLIB!$XLIB$ac_delim
21393 XFILES!$XFILES$ac_delim
21394 OPENGLFILES!$OPENGLFILES$ac_delim
21395 GLU32FILES!$GLU32FILES$ac_delim
21396 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
21397 QUARTZFILES!$QUARTZFILES$ac_delim
21398 NASLIBS!$NASLIBS$ac_delim
21399 XML2LIBS!$XML2LIBS$ac_delim
21400 XML2INCL!$XML2INCL$ac_delim
21401 XSLTLIBS!$XSLTLIBS$ac_delim
21402 XSLTINCL!$XSLTINCL$ac_delim
21403 HALINCL!$HALINCL$ac_delim
21404 sane_devel!$sane_devel$ac_delim
21405 SANELIBS!$SANELIBS$ac_delim
21406 SANEINCL!$SANEINCL$ac_delim
21407 gphoto2_devel!$gphoto2_devel$ac_delim
21408 gphoto2port_devel!$gphoto2port_devel$ac_delim
21409 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
21410 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
21411 ICULIBS!$ICULIBS$ac_delim
21412 RESOLVLIBS!$RESOLVLIBS$ac_delim
21413 LCMSLIBS!$LCMSLIBS$ac_delim
21414 LDAPLIBS!$LDAPLIBS$ac_delim
21415 FREETYPELIBS!$FREETYPELIBS$ac_delim
21416 FREETYPEINCL!$FREETYPEINCL$ac_delim
21417 ft_devel!$ft_devel$ac_delim
21418 ft_devel2!$ft_devel2$ac_delim
21419 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
21420 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
21421 ARTSLIBS!$ARTSLIBS$ac_delim
21422 ARTSINCL!$ARTSINCL$ac_delim
21423 ESDCONFIG!$ESDCONFIG$ac_delim
21424 ESDLIBS!$ESDLIBS$ac_delim
21425 ESDINCL!$ESDINCL$ac_delim
21426 ALSALIBS!$ALSALIBS$ac_delim
21427 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
21428 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
21429 BUILTINFLAG!$BUILTINFLAG$ac_delim
21430 DLLEXT!$DLLEXT$ac_delim
21431 DLLFLAGS!$DLLFLAGS$ac_delim
21432 LDSHARED!$LDSHARED$ac_delim
21433 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
21434 LIBEXT!$LIBEXT$ac_delim
21435 IMPLIBEXT!$IMPLIBEXT$ac_delim
21436 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
21437 DLLTOOL!$DLLTOOL$ac_delim
21438 DLLWRAP!$DLLWRAP$ac_delim
21439 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
21440 IOKITLIB!$IOKITLIB$ac_delim
21441 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
21442 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
21443 COREAUDIO!$COREAUDIO$ac_delim
21444 CARBONLIB!$CARBONLIB$ac_delim
21445 CROSSTEST!$CROSSTEST$ac_delim
21446 CROSSCC!$CROSSCC$ac_delim
21447 CROSSWINDRES!$CROSSWINDRES$ac_delim
21448 LDPATH!$LDPATH$ac_delim
21449 CRTLIBS!$CRTLIBS$ac_delim
21450 SOCKETLIBS!$SOCKETLIBS$ac_delim
21451 MAIN_BINARY!$MAIN_BINARY$ac_delim
21452 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
21454 LIBDL!$LIBDL$ac_delim
21455 LIBPOLL!$LIBPOLL$ac_delim
21456 DEPENDENCIES!$DEPENDENCIES$ac_delim
21457 LIBOBJS!$LIBOBJS$ac_delim
21458 LTLIBOBJS!$LTLIBOBJS$ac_delim
21461 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 77; then
21463 elif $ac_last_try; then
21464 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21465 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21466 { (exit 1); exit 1; }; }
21468 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21472 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21473 if test -n "$ac_eof"; then
21474 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21475 ac_eof
=`expr $ac_eof + 1`
21478 cat >>$CONFIG_STATUS <<_ACEOF
21479 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21480 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21483 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21484 s/^/s,@/; s/!/@,|#_!!_#|/
21487 s/'"$ac_delim"'$/,g/; t
21489 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21490 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21491 rm -f conf$
$subs.
sed
21492 cat >>$CONFIG_STATUS <<_ACEOF
21499 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21500 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21501 # trailing colons and then remove the whole line if VPATH becomes empty
21502 # (actually we leave an empty line to preserve line numbers).
21503 if test "x$srcdir" = x.
; then
21504 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
21505 s/:*\$(srcdir):*/:/
21506 s/:*\${srcdir}:*/:/
21508 s/^\([^=]*=[ ]*\):*/\1/
21514 cat >>$CONFIG_STATUS <<\_ACEOF
21515 fi # test -n "$CONFIG_FILES"
21518 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
21521 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21523 case $ac_mode$ac_tag in
21525 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21526 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
21527 { (exit 1); exit 1; }; };;
21528 :[FH
]-) ac_tag
=-:-;;
21529 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21546 -) ac_f
="$tmp/stdin";;
21547 *) # Look for the file first in the build tree, then in the source tree
21548 # (if the path is not absolute). The absolute path cannot be DOS-style,
21549 # because $ac_f cannot contain `:'.
21553 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21555 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21556 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21557 { (exit 1); exit 1; }; };;
21559 ac_file_inputs
="$ac_file_inputs $ac_f"
21562 # Let's still pretend it is `configure' which instantiates (i.e., don't
21563 # use $as_me), people would be surprised to read:
21564 # /* config.h. Generated by config.status. */
21565 configure_input
="Generated from "`IFS=:
21566 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
21567 if test x
"$ac_file" != x-
; then
21568 configure_input
="$ac_file. $configure_input"
21569 { echo "$as_me:$LINENO: creating $ac_file" >&5
21570 echo "$as_me: creating $ac_file" >&6;}
21574 *:-:* |
*:-) cat >"$tmp/stdin";;
21579 ac_dir
=`$as_dirname -- "$ac_file" ||
21580 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21581 X"$ac_file" : 'X\(//\)[^/]' \| \
21582 X"$ac_file" : 'X\(//\)$' \| \
21583 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21585 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21589 /^X\(\/\/\)[^/].*/{
21604 -*) as_dir
=.
/$as_dir;;
21606 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21610 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21611 *) as_qdir
=$as_dir;;
21613 as_dirs
="'$as_qdir' $as_dirs"
21614 as_dir
=`$as_dirname -- "$as_dir" ||
21615 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21616 X"$as_dir" : 'X\(//\)[^/]' \| \
21617 X"$as_dir" : 'X\(//\)$' \| \
21618 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21620 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21624 /^X\(\/\/\)[^/].*/{
21637 test -d "$as_dir" && break
21639 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21640 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21641 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21642 { (exit 1); exit 1; }; }; }
21646 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21648 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21649 # A ".." for each directory in $ac_dir_suffix.
21650 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
21651 case $ac_top_builddir_sub in
21652 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21653 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21656 ac_abs_top_builddir
=$ac_pwd
21657 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21658 # for backward compatibility:
21659 ac_top_builddir
=$ac_top_build_prefix
21662 .
) # We are building in place.
21664 ac_top_srcdir
=$ac_top_builddir_sub
21665 ac_abs_top_srcdir
=$ac_pwd ;;
21666 [\\/]* | ?
:[\\/]* ) # Absolute name.
21667 ac_srcdir
=$srcdir$ac_dir_suffix;
21668 ac_top_srcdir
=$srcdir
21669 ac_abs_top_srcdir
=$srcdir ;;
21670 *) # Relative name.
21671 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21672 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21673 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21675 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21685 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21686 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21690 cat >>$CONFIG_STATUS <<\_ACEOF
21691 # If the template does not know about datarootdir, expand it.
21692 # FIXME: This hack should be removed a few years after 2.60.
21693 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21695 case `sed -n '/datarootdir/ {
21704 ' $ac_file_inputs` in
21705 *datarootdir
*) ac_datarootdir_seen
=yes;;
21706 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21707 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21708 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21710 cat >>$CONFIG_STATUS <<_ACEOF
21711 ac_datarootdir_hack='
21712 s&@datadir@&$datadir&g
21713 s&@docdir@&$docdir&g
21714 s&@infodir@&$infodir&g
21715 s&@localedir@&$localedir&g
21716 s&@mandir@&$mandir&g
21717 s&\\\${datarootdir}&$datarootdir&g' ;;
21721 # Neutralize VPATH when `$srcdir' = `.'.
21722 # Shell code in configure.ac might set extrasub.
21723 # FIXME: do we really want to maintain this feature?
21724 cat >>$CONFIG_STATUS <<_ACEOF
21728 cat >>$CONFIG_STATUS <<\_ACEOF
21730 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21731 s
&@configure_input@
&$configure_input&;t t
21732 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21733 s
&@srcdir@
&$ac_srcdir&;t t
21734 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21735 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21736 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21737 s
&@builddir@
&$ac_builddir&;t t
21738 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21739 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21740 s
&@INSTALL@
&$ac_INSTALL&;t t
21741 $ac_datarootdir_hack
21742 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
21744 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21745 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
21746 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
21747 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21748 which seems to be undefined. Please make sure it is defined." >&5
21749 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21750 which seems to be undefined. Please make sure it is defined." >&2;}
21754 -) cat "$tmp/out"; rm -f "$tmp/out";;
21755 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21764 # Transform confdefs.h into a sed script `conftest.defines', that
21765 # substitutes the proper values into config.h.in to produce config.h.
21766 rm -f conftest.defines conftest.
tail
21767 # First, append a space to every undef/define line, to ease matching.
21768 echo 's/$/ /' >conftest.defines
21769 # Then, protect against being on the right side of a sed subst, or in
21770 # an unquoted here document, in config.status. If some macros were
21771 # called several times there might be several #defines for the same
21772 # symbol, which is useless. But do not sort them, since the last
21773 # AC_DEFINE must be honored.
21774 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
21775 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
21776 # NAME is the cpp macro being defined, VALUE is the value it is being given.
21777 # PARAMS is the parameter list in the macro definition--in most cases, it's
21778 # just an empty string.
21779 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
21780 ac_dB
='\\)[ (].*,\\1define\\2'
21788 s/^[ ]*#[ ]*define[ ][ ]*//
21793 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
21794 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
21795 ' >>conftest.defines
21797 # Remove the space that was appended to ease matching.
21798 # Then replace #undef with comments. This is necessary, for
21799 # example, in the case of _POSIX_SOURCE, which is predefined and required
21800 # on some systems where configure will not decide to define it.
21801 # (The regexp can be short, since the line contains either #define or #undef.)
21803 s,^[ #]*u.*,/* & */,' >>conftest.defines
21805 # Break up conftest.defines:
21806 ac_max_sed_lines
=50
21808 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
21809 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
21810 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
21812 ac_in
='$ac_file_inputs'
21813 ac_out
='"$tmp/out1"'
21814 ac_nxt
='"$tmp/out2"'
21818 # Write a here document:
21819 cat >>$CONFIG_STATUS <<_ACEOF
21820 # First, check the format of the line:
21821 cat >"\$tmp/defines.sed" <<\\CEOF
21822 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
21823 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21827 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
21829 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21830 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
21831 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
21832 grep . conftest.
tail >/dev
/null ||
break
21833 rm -f conftest.defines
21834 mv conftest.
tail conftest.defines
21836 rm -f conftest.defines conftest.
tail
21838 echo "ac_result=$ac_in" >>$CONFIG_STATUS
21839 cat >>$CONFIG_STATUS <<\_ACEOF
21840 if test x
"$ac_file" != x-
; then
21841 echo "/* $configure_input */" >"$tmp/config.h"
21842 cat "$ac_result" >>"$tmp/config.h"
21843 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
21844 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21845 echo "$as_me: $ac_file is unchanged" >&6;}
21848 mv "$tmp/config.h" $ac_file
21851 echo "/* $configure_input */"
21857 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
21858 echo "$as_me: executing $ac_file commands" >&6;}
21863 case $ac_file$ac_mode in
21864 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
21865 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
21866 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
21867 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
21868 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
21869 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
21870 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
21871 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
21872 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
21873 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
21874 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
21875 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
21876 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
21882 { (exit 0); exit 0; }
21884 chmod +x
$CONFIG_STATUS
21885 ac_clean_files
=$ac_clean_files_save
21888 # configure is writing to config.log, and then calls config.status.
21889 # config.status does its own redirection, appending to config.log.
21890 # Unfortunately, on DOS this fails, as config.log is still kept open
21891 # by configure, so config.status won't be able to write to it; its
21892 # output is simply discarded. So we exec the FD to /dev/null,
21893 # effectively closing config.log, so it can be properly (re)opened and
21894 # appended to by config.status. When coming back to configure, we
21895 # need to make the FD available again.
21896 if test "$no_create" != yes; then
21898 ac_config_status_args
=
21899 test "$silent" = yes &&
21900 ac_config_status_args
="$ac_config_status_args --quiet"
21902 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21904 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21905 # would make configure fail if this is the last instruction.
21906 $ac_cs_success ||
{ (exit 1); exit 1; }
21911 if test "$no_create" = "yes"
21916 if test "$verbose" = "yes"
21918 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
21921 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
21922 echo "$as_me: libcapi20 development files not found." >&6;}
21923 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
21924 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
21927 if test "$ac_cv_header_cups_cups_h" != "yes"
21930 { echo "$as_me:$LINENO: libcups development files not found." >&5
21931 echo "$as_me: libcups development files not found." >&6;}
21932 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
21933 echo "$as_me: Wine will be built without CUPS support." >&6;}
21937 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
21940 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
21941 echo "$as_me: libgphoto2 development files not found." >&6;}
21942 if test "$ac_cv_header_sane_sane_h" = "yes"
21944 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
21945 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
21947 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
21948 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
21952 if test "$ac_cv_header_hal_libhal_h" != "yes"
21955 { echo "$as_me:$LINENO: libhal development files not found." >&5
21956 echo "$as_me: libhal development files not found." >&6;}
21957 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
21958 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
21961 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
21964 { echo "$as_me:$LINENO: libicu development files not found." >&5
21965 echo "$as_me: libicu development files not found." >&6;}
21966 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
21967 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
21970 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
21973 { echo "$as_me:$LINENO: liblcms development files not found." >&5
21974 echo "$as_me: liblcms development files not found." >&6;}
21975 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
21976 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
21979 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
21982 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
21983 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
21984 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
21985 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
21988 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
21991 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
21992 echo "$as_me: lib(n)curses development files not found." >&6;}
21993 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
21994 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
21997 if test "$ac_cv_header_sane_sane_h" != "yes"
22000 { echo "$as_me:$LINENO: libsane development files not found." >&5
22001 echo "$as_me: libsane development files not found." >&6;}
22002 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
22003 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
22006 if test "$have_x" = "yes"
22008 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
22011 { echo "$as_me:$LINENO: libxext development files not found." >&5
22012 echo "$as_me: libxext development files not found." >&6;}
22013 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22014 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22017 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22020 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22021 echo "$as_me: libXrandr development files not found." >&6;}
22022 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22023 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22026 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22029 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22030 echo "$as_me: libXrender development files not found." >&6;}
22031 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22032 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22035 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22038 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22039 echo "$as_me: libXxf86vm development files not found." >&6;}
22040 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22041 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22045 if test "$ac_cv_header_libxml_parser_h" != "yes"
22048 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22049 echo "$as_me: libxml2 development files not found." >&6;}
22050 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22051 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22054 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22057 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22058 echo "$as_me: libxslt development files not found." >&6;}
22059 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22060 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22065 if test "$have_x" = "no"
22068 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22069 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22070 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22071 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22072 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22073 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22074 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22075 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22078 if test -z "$OPENGLFILES"
22081 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22082 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22083 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22084 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22085 if test "$wine_cv_opengl_headers_found" = "no"
22087 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22088 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22090 if test "$wine_cv_opengl_header_version_OK" = "no"
22092 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22093 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22094 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22096 if test -f /usr
/X11R
6/lib
/libGL.a
22098 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22099 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22100 echo "$as_me: 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." >&2;}
22103 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22104 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22109 if test "$wine_cv_msg_freetype" = "yes"
22112 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22113 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22114 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22115 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22116 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22117 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22118 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22119 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22122 if test -z "$FONTSSUBDIRS"
22125 if test "$FONTFORGE" = "false"
22127 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22128 echo "$as_me: WARNING: FontForge is missing." >&2;}
22130 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22131 echo "$as_me: WARNING: FreeType is missing." >&2;}
22133 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22134 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22137 if test -z "$ALSALIBS" -a \
22138 -z "$ARTSC_LIBS" -a \
22139 -z "$AUDIOIOLIBS" -a \
22141 -z "$ESD_LIBS" -a \
22142 -z "$ac_cv_lib_soname_jack" -a \
22143 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22144 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22145 "$ac_cv_header_soundcard_h" != "yes"
22148 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22149 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22150 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22151 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22152 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
22153 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22157 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."