2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.39.
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.39'
578 PACKAGE_STRING
='Wine 0.9.39'
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
774 ac_subst_files
='MAKE_RULES
779 ac_precious_vars
='build_alias
794 # Initialize some variables set by options.
796 ac_init_version
=false
797 # The variables have the same names as the options, with
798 # dashes changed to underlines.
806 program_transform_name
=s
,x
,x
,
814 # Installation directory options.
815 # These are left unexpanded so users can "make install exec_prefix=/foo"
816 # and all the variables that are supposed to be based on exec_prefix
817 # by default will actually change.
818 # Use braces instead of parens because sh, perl, etc. also accept them.
819 # (The list follows the same order as the GNU Coding Standards.)
820 bindir
='${exec_prefix}/bin'
821 sbindir
='${exec_prefix}/sbin'
822 libexecdir
='${exec_prefix}/libexec'
823 datarootdir
='${prefix}/share'
824 datadir
='${datarootdir}'
825 sysconfdir
='${prefix}/etc'
826 sharedstatedir
='${prefix}/com'
827 localstatedir
='${prefix}/var'
828 includedir
='${prefix}/include'
829 oldincludedir
='/usr/include'
830 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
831 infodir
='${datarootdir}/info'
836 libdir
='${exec_prefix}/lib'
837 localedir
='${datarootdir}/locale'
838 mandir
='${datarootdir}/man'
844 # If the previous option needs an argument, assign it.
845 if test -n "$ac_prev"; then
846 eval $ac_prev=\
$ac_option
852 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
856 # Accept the important Cygnus configure options, so we can diagnose typos.
858 case $ac_dashdash$ac_option in
862 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
864 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
867 -build |
--build |
--buil |
--bui |
--bu)
868 ac_prev
=build_alias
;;
869 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
870 build_alias
=$ac_optarg ;;
872 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
873 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
874 ac_prev
=cache_file
;;
875 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
876 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
877 cache_file
=$ac_optarg ;;
880 cache_file
=config.cache
;;
882 -datadir |
--datadir |
--datadi |
--datad)
884 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
885 datadir
=$ac_optarg ;;
887 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
888 |
--dataroo |
--dataro |
--datar)
889 ac_prev
=datarootdir
;;
890 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
891 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
892 datarootdir
=$ac_optarg ;;
894 -disable-* |
--disable-*)
895 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
896 # Reject names that are not valid shell variable names.
897 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
898 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
899 { (exit 1); exit 1; }; }
900 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
901 eval enable_
$ac_feature=no
;;
903 -docdir |
--docdir |
--docdi |
--doc |
--do)
905 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
908 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
910 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
913 -enable-* |
--enable-*)
914 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
915 # Reject names that are not valid shell variable names.
916 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
917 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
918 { (exit 1); exit 1; }; }
919 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
920 eval enable_
$ac_feature=\
$ac_optarg ;;
922 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
923 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
924 |
--exec |
--exe |
--ex)
925 ac_prev
=exec_prefix
;;
926 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
927 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
928 |
--exec=* |
--exe=* |
--ex=*)
929 exec_prefix
=$ac_optarg ;;
931 -gas |
--gas |
--ga |
--g)
932 # Obsolete; use --with-gas.
935 -help |
--help |
--hel |
--he |
-h)
937 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
938 ac_init_help
=recursive
;;
939 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
940 ac_init_help
=short
;;
942 -host |
--host |
--hos |
--ho)
943 ac_prev
=host_alias
;;
944 -host=* |
--host=* |
--hos=* |
--ho=*)
945 host_alias
=$ac_optarg ;;
947 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
949 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
951 htmldir
=$ac_optarg ;;
953 -includedir |
--includedir |
--includedi |
--included |
--include \
954 |
--includ |
--inclu |
--incl |
--inc)
955 ac_prev
=includedir
;;
956 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
957 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
958 includedir
=$ac_optarg ;;
960 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
962 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
963 infodir
=$ac_optarg ;;
965 -libdir |
--libdir |
--libdi |
--libd)
967 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
970 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
971 |
--libexe |
--libex |
--libe)
972 ac_prev
=libexecdir
;;
973 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
974 |
--libexe=* |
--libex=* |
--libe=*)
975 libexecdir
=$ac_optarg ;;
977 -localedir |
--localedir |
--localedi |
--localed |
--locale)
979 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
980 localedir
=$ac_optarg ;;
982 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
983 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
984 ac_prev
=localstatedir
;;
985 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
986 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
987 localstatedir
=$ac_optarg ;;
989 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
991 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
995 # Obsolete; use --without-fp.
998 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
999 |
--no-cr |
--no-c |
-n)
1002 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1003 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1006 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1007 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1008 |
--oldin |
--oldi |
--old |
--ol |
--o)
1009 ac_prev
=oldincludedir
;;
1010 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1011 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1012 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1013 oldincludedir
=$ac_optarg ;;
1015 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1017 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1018 prefix
=$ac_optarg ;;
1020 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1021 |
--program-pre |
--program-pr |
--program-p)
1022 ac_prev
=program_prefix
;;
1023 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1024 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1025 program_prefix
=$ac_optarg ;;
1027 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1028 |
--program-suf |
--program-su |
--program-s)
1029 ac_prev
=program_suffix
;;
1030 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1031 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1032 program_suffix
=$ac_optarg ;;
1034 -program-transform-name |
--program-transform-name \
1035 |
--program-transform-nam |
--program-transform-na \
1036 |
--program-transform-n |
--program-transform- \
1037 |
--program-transform |
--program-transfor \
1038 |
--program-transfo |
--program-transf \
1039 |
--program-trans |
--program-tran \
1040 |
--progr-tra |
--program-tr |
--program-t)
1041 ac_prev
=program_transform_name
;;
1042 -program-transform-name=* |
--program-transform-name=* \
1043 |
--program-transform-nam=* |
--program-transform-na=* \
1044 |
--program-transform-n=* |
--program-transform-=* \
1045 |
--program-transform=* |
--program-transfor=* \
1046 |
--program-transfo=* |
--program-transf=* \
1047 |
--program-trans=* |
--program-tran=* \
1048 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1049 program_transform_name
=$ac_optarg ;;
1051 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1053 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1054 pdfdir
=$ac_optarg ;;
1056 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1058 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1061 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1062 |
-silent |
--silent |
--silen |
--sile |
--sil)
1065 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1067 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1069 sbindir
=$ac_optarg ;;
1071 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1072 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1073 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1075 ac_prev
=sharedstatedir
;;
1076 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1077 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1078 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1080 sharedstatedir
=$ac_optarg ;;
1082 -site |
--site |
--sit)
1084 -site=* |
--site=* |
--sit=*)
1087 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1089 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1090 srcdir
=$ac_optarg ;;
1092 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1093 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1094 ac_prev
=sysconfdir
;;
1095 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1096 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1097 sysconfdir
=$ac_optarg ;;
1099 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1100 ac_prev
=target_alias
;;
1101 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1102 target_alias
=$ac_optarg ;;
1104 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1107 -version |
--version |
--versio |
--versi |
--vers |
-V)
1108 ac_init_version
=: ;;
1111 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1114 { echo "$as_me: error: invalid package name: $ac_package" >&2
1115 { (exit 1); exit 1; }; }
1116 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1117 eval with_
$ac_package=\
$ac_optarg ;;
1119 -without-* |
--without-*)
1120 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1123 { echo "$as_me: error: invalid package name: $ac_package" >&2
1124 { (exit 1); exit 1; }; }
1125 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1126 eval with_
$ac_package=no
;;
1129 # Obsolete; use --with-x.
1132 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1133 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1134 ac_prev
=x_includes
;;
1135 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1136 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1137 x_includes
=$ac_optarg ;;
1139 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1140 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1141 ac_prev
=x_libraries
;;
1142 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1143 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1144 x_libraries
=$ac_optarg ;;
1146 -*) { echo "$as_me: error: unrecognized option: $ac_option
1147 Try \`$0 --help' for more information." >&2
1148 { (exit 1); exit 1; }; }
1152 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1155 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1156 { (exit 1); exit 1; }; }
1157 eval $ac_envvar=\
$ac_optarg
1158 export $ac_envvar ;;
1161 # FIXME: should be removed in autoconf 3.0.
1162 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1163 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1164 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1165 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1171 if test -n "$ac_prev"; then
1172 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1173 { echo "$as_me: error: missing argument to $ac_option" >&2
1174 { (exit 1); exit 1; }; }
1177 # Be sure to have absolute directory names.
1178 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1179 datadir sysconfdir sharedstatedir localstatedir includedir \
1180 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1181 libdir localedir mandir
1183 eval ac_val
=\$
$ac_var
1185 [\\/$
]* | ?
:[\\/]* ) continue;;
1186 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1188 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1189 { (exit 1); exit 1; }; }
1192 # There might be people who depend on the old broken behavior: `$host'
1193 # used to hold the argument of --host etc.
1194 # FIXME: To remove some day.
1197 target
=$target_alias
1199 # FIXME: To remove some day.
1200 if test "x$host_alias" != x
; then
1201 if test "x$build_alias" = x
; then
1202 cross_compiling
=maybe
1203 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1204 If a cross compiler is detected then cross compile mode will be used." >&2
1205 elif test "x$build_alias" != "x$host_alias"; then
1211 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1213 test "$silent" = yes && exec 6>/dev
/null
1216 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1217 ac_ls_di
=`ls -di .` &&
1218 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1219 { echo "$as_me: error: Working directory cannot be determined" >&2
1220 { (exit 1); exit 1; }; }
1221 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1222 { echo "$as_me: error: pwd does not report name of working directory" >&2
1223 { (exit 1); exit 1; }; }
1226 # Find the source files, if location was not specified.
1227 if test -z "$srcdir"; then
1228 ac_srcdir_defaulted
=yes
1229 # Try the directory containing this script, then the parent directory.
1230 ac_confdir
=`$as_dirname -- "$0" ||
1231 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1232 X"$0" : 'X\(//\)[^/]' \| \
1233 X"$0" : 'X\(//\)$' \| \
1234 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1254 if test ! -r "$srcdir/$ac_unique_file"; then
1258 ac_srcdir_defaulted
=no
1260 if test ! -r "$srcdir/$ac_unique_file"; then
1261 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1262 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1263 { (exit 1); exit 1; }; }
1265 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1267 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1268 { (exit 1); exit 1; }; }
1270 # When building in place, set srcdir=.
1271 if test "$ac_abs_confdir" = "$ac_pwd"; then
1274 # Remove unnecessary trailing slashes from srcdir.
1275 # Double slashes in file names in object file debugging info
1276 # mess up M-x gdb in Emacs.
1278 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1280 for ac_var
in $ac_precious_vars; do
1281 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1282 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1283 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1284 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1288 # Report the --help message.
1290 if test "$ac_init_help" = "long"; then
1291 # Omit some internal or obsolete options to make the list less imposing.
1292 # This message is too long to be a string in the A/UX 3.1 sh.
1294 \`configure' configures Wine 0.9.39 to adapt to many kinds of systems.
1296 Usage: $0 [OPTION]... [VAR=VALUE]...
1298 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1299 VAR=VALUE. See below for descriptions of some of the useful variables.
1301 Defaults for the options are specified in brackets.
1304 -h, --help display this help and exit
1305 --help=short display options specific to this package
1306 --help=recursive display the short help of all the included packages
1307 -V, --version display version information and exit
1308 -q, --quiet, --silent do not print \`checking...' messages
1309 --cache-file=FILE cache test results in FILE [disabled]
1310 -C, --config-cache alias for \`--cache-file=config.cache'
1311 -n, --no-create do not create output files
1312 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1314 Installation directories:
1315 --prefix=PREFIX install architecture-independent files in PREFIX
1316 [$ac_default_prefix]
1317 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1320 By default, \`make install' will install all the files in
1321 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1322 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1323 for instance \`--prefix=\$HOME'.
1325 For better control, use the options below.
1327 Fine tuning of the installation directories:
1328 --bindir=DIR user executables [EPREFIX/bin]
1329 --sbindir=DIR system admin executables [EPREFIX/sbin]
1330 --libexecdir=DIR program executables [EPREFIX/libexec]
1331 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1332 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1333 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1334 --libdir=DIR object code libraries [EPREFIX/lib]
1335 --includedir=DIR C header files [PREFIX/include]
1336 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1337 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1338 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1339 --infodir=DIR info documentation [DATAROOTDIR/info]
1340 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1341 --mandir=DIR man documentation [DATAROOTDIR/man]
1342 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1343 --htmldir=DIR html documentation [DOCDIR]
1344 --dvidir=DIR dvi documentation [DOCDIR]
1345 --pdfdir=DIR pdf documentation [DOCDIR]
1346 --psdir=DIR ps documentation [DOCDIR]
1352 --x-includes=DIR X include files are
in DIR
1353 --x-libraries=DIR X library files are
in DIR
1356 --build=BUILD configure
for building on BUILD
[guessed
]
1357 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1361 if test -n "$ac_init_help"; then
1362 case $ac_init_help in
1363 short | recursive
) echo "Configuration of Wine 0.9.39:";;
1368 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1369 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1370 --disable-win16 do not include Win16 support
1371 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1373 --disable-tests do not build the testsuites
1376 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1377 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1378 --without-opengl do not use OpenGL
1379 --with-wine-tools=<dir> use Wine tools from directory <dir>
1380 --with-x use the X Window System
1382 Some influential environment variables:
1383 CC C compiler command
1384 CFLAGS C compiler flags
1385 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1386 nonstandard directory <lib dir>
1387 LIBS libraries to pass to the linker, e.g. -l<library>
1388 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1389 you have headers in a nonstandard directory <include dir>
1390 CXX C++ compiler command
1391 CXXFLAGS C++ compiler flags
1392 XMKMF Path to xmkmf, Makefile generator for X Window System
1395 Use these variables to override the choices made by `configure' or to
help
1396 it to
find libraries and programs with nonstandard names
/locations.
1398 Report bugs to
<wine-devel@winehq.org
>.
1403 if test "$ac_init_help" = "recursive"; then
1404 # If there are subdirs, report their specific --help.
1405 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1406 test -d "$ac_dir" ||
continue
1410 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1412 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1413 # A ".." for each directory in $ac_dir_suffix.
1414 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1415 case $ac_top_builddir_sub in
1416 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1417 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1420 ac_abs_top_builddir
=$ac_pwd
1421 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1422 # for backward compatibility:
1423 ac_top_builddir
=$ac_top_build_prefix
1426 .
) # We are building in place.
1428 ac_top_srcdir
=$ac_top_builddir_sub
1429 ac_abs_top_srcdir
=$ac_pwd ;;
1430 [\\/]* | ?
:[\\/]* ) # Absolute name.
1431 ac_srcdir
=$srcdir$ac_dir_suffix;
1432 ac_top_srcdir
=$srcdir
1433 ac_abs_top_srcdir
=$srcdir ;;
1435 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1436 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1437 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1439 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1441 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1442 # Check for guested configure.
1443 if test -f "$ac_srcdir/configure.gnu"; then
1445 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1446 elif test -f "$ac_srcdir/configure"; then
1448 $SHELL "$ac_srcdir/configure" --help=recursive
1450 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1452 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1456 test -n "$ac_init_help" && exit $ac_status
1457 if $ac_init_version; then
1459 Wine configure
0.9.39
1460 generated by GNU Autoconf
2.61
1462 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1463 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1464 This configure
script is free software
; the Free Software Foundation
1465 gives unlimited permission to copy
, distribute and modify it.
1469 cat >config.log
<<_ACEOF
1470 This file contains any messages produced by compilers while
1471 running configure, to aid debugging if configure makes a mistake.
1473 It was created by Wine $as_me 0.9.39, which was
1474 generated by GNU Autoconf 2.61. Invocation command line was
1486 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1487 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1488 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1489 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1490 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1492 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1493 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1495 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1496 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1497 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1498 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1499 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1500 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1501 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1509 test -z "$as_dir" && as_dir
=.
1510 echo "PATH: $as_dir"
1526 # Keep a trace of the command line.
1527 # Strip out --no-create and --no-recursion so they do not pile up.
1528 # Strip out --silent because we don't want to record it for future runs.
1529 # Also quote any args containing shell meta-characters.
1530 # Make two passes to allow for proper duplicate-argument suppression.
1534 ac_must_keep_next
=false
1540 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1541 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1542 |
-silent |
--silent |
--silen |
--sile |
--sil)
1545 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1548 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1550 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1551 if test $ac_must_keep_next = true
; then
1552 ac_must_keep_next
=false
# Got value, back to normal.
1555 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1556 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1557 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1558 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1559 case "$ac_configure_args0 " in
1560 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1563 -* ) ac_must_keep_next
=true
;;
1566 ac_configure_args
="$ac_configure_args '$ac_arg'"
1571 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1572 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1574 # When interrupted or exit'd, cleanup temporary files, and complete
1575 # config.log. We remove comments because anyway the quotes in there
1576 # would cause problems or look ugly.
1577 # WARNING: Use '\'' to represent an apostrophe within the trap.
1578 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1579 trap 'exit_status=$?
1580 # Save into config.log some information that might help in debugging.
1585 ## ---------------- ##
1586 ## Cache variables. ##
1587 ## ---------------- ##
1590 # The following way of writing the cache mishandles newlines in values,
1592 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1593 eval ac_val=\$$ac_var
1597 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1598 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1601 _ | IFS | as_nl) ;; #(
1602 *) $as_unset $ac_var ;;
1607 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1608 *${as_nl}ac_space=\ *)
1610 "s/'\''/'\''\\\\'\'''\''/g;
1611 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1614 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1622 ## ----------------- ##
1623 ## Output variables. ##
1624 ## ----------------- ##
1627 for ac_var in $ac_subst_vars
1629 eval ac_val=\$$ac_var
1631 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1633 echo "$ac_var='\''$ac_val'\''"
1637 if test -n "$ac_subst_files"; then
1639 ## ------------------- ##
1640 ## File substitutions. ##
1641 ## ------------------- ##
1644 for ac_var
in $ac_subst_files
1646 eval ac_val
=\$
$ac_var
1648 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1650 echo "$ac_var='\''$ac_val'\''"
1655 if test -s confdefs.h; then
1665 test "$ac_signal" != 0 &&
1666 echo "$as_me: caught signal $ac_signal"
1667 echo "$as_me: exit $exit_status"
1669 rm -f core *.core core.conftest.* &&
1670 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1673 for ac_signal
in 1 2 13 15; do
1674 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1678 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1679 rm -f -r conftest
* confdefs.h
1681 # Predefined preprocessor variables.
1683 cat >>confdefs.h
<<_ACEOF
1684 #define PACKAGE_NAME "$PACKAGE_NAME"
1688 cat >>confdefs.h
<<_ACEOF
1689 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1693 cat >>confdefs.h
<<_ACEOF
1694 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1698 cat >>confdefs.h
<<_ACEOF
1699 #define PACKAGE_STRING "$PACKAGE_STRING"
1703 cat >>confdefs.h
<<_ACEOF
1704 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1708 # Let the site file select an alternate cache file if it wants to.
1709 # Prefer explicitly selected file to automatically selected ones.
1710 if test -n "$CONFIG_SITE"; then
1711 set x
"$CONFIG_SITE"
1712 elif test "x$prefix" != xNONE
; then
1713 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1715 set x
"$ac_default_prefix/share/config.site" \
1716 "$ac_default_prefix/etc/config.site"
1721 if test -r "$ac_site_file"; then
1722 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1723 echo "$as_me: loading site script $ac_site_file" >&6;}
1724 sed 's/^/| /' "$ac_site_file" >&5
1729 if test -r "$cache_file"; then
1730 # Some versions of bash will fail to source /dev/null (special
1731 # files actually), so we avoid doing that.
1732 if test -f "$cache_file"; then
1733 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1734 echo "$as_me: loading cache $cache_file" >&6;}
1736 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1737 *) .
"./$cache_file";;
1741 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1742 echo "$as_me: creating cache $cache_file" >&6;}
1746 # Check that the precious variables saved in the cache have kept the same
1748 ac_cache_corrupted
=false
1749 for ac_var
in $ac_precious_vars; do
1750 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1751 eval ac_new_set
=\
$ac_env_${ac_var}_set
1752 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1753 eval ac_new_val
=\
$ac_env_${ac_var}_value
1754 case $ac_old_set,$ac_new_set in
1756 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1757 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1758 ac_cache_corrupted
=: ;;
1760 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1761 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1762 ac_cache_corrupted
=: ;;
1765 if test "x$ac_old_val" != "x$ac_new_val"; then
1766 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1767 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1768 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1769 echo "$as_me: former value: $ac_old_val" >&2;}
1770 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1771 echo "$as_me: current value: $ac_new_val" >&2;}
1772 ac_cache_corrupted
=:
1775 # Pass precious variables to config.status.
1776 if test "$ac_new_set" = set; then
1778 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1779 *) ac_arg
=$ac_var=$ac_new_val ;;
1781 case " $ac_configure_args " in
1782 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1783 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1787 if $ac_cache_corrupted; then
1788 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1789 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1790 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1791 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1792 { (exit 1); exit 1; }; }
1820 ac_cpp
='$CPP $CPPFLAGS'
1821 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1822 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1823 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1827 ac_config_headers
="$ac_config_headers include/config.h"
1830 for ac_dir
in tools
"$srcdir"/tools
; do
1831 if test -f "$ac_dir/install-sh"; then
1833 ac_install_sh
="$ac_aux_dir/install-sh -c"
1835 elif test -f "$ac_dir/install.sh"; then
1837 ac_install_sh
="$ac_aux_dir/install.sh -c"
1839 elif test -f "$ac_dir/shtool"; then
1841 ac_install_sh
="$ac_aux_dir/shtool install -c"
1845 if test -z "$ac_aux_dir"; then
1846 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1847 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1848 { (exit 1); exit 1; }; }
1851 # These three variables are undocumented and unsupported,
1852 # and are intended to be withdrawn in a future Autoconf release.
1853 # They can cause serious problems if a builder's source tree is in a directory
1854 # whose full name contains unusual characters.
1855 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1856 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1857 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1862 # Check whether --enable-win16 was given.
1863 if test "${enable_win16+set}" = set; then
1864 enableval
=$enable_win16;
1867 # Check whether --enable-win64 was given.
1868 if test "${enable_win64+set}" = set; then
1869 enableval
=$enable_win64;
1874 # Check whether --with-opengl was given.
1875 if test "${with_opengl+set}" = set; then
1876 withval
=$with_opengl;
1880 # Check whether --with-wine-tools was given.
1881 if test "${with_wine_tools+set}" = set; then
1882 withval
=$with_wine_tools;
1885 # Check whether --enable-tests was given.
1886 if test "${enable_tests+set}" = set; then
1887 enableval
=$enable_tests;
1891 # Make sure we can run config.sub.
1892 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1893 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1894 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1895 { (exit 1); exit 1; }; }
1897 { echo "$as_me:$LINENO: checking build system type" >&5
1898 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1899 if test "${ac_cv_build+set}" = set; then
1900 echo $ECHO_N "(cached) $ECHO_C" >&6
1902 ac_build_alias
=$build_alias
1903 test "x$ac_build_alias" = x
&&
1904 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1905 test "x$ac_build_alias" = x
&&
1906 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1907 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1908 { (exit 1); exit 1; }; }
1909 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1910 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1911 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1912 { (exit 1); exit 1; }; }
1915 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1916 echo "${ECHO_T}$ac_cv_build" >&6; }
1917 case $ac_cv_build in
1919 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1920 echo "$as_me: error: invalid value of canonical build" >&2;}
1921 { (exit 1); exit 1; }; };;
1924 ac_save_IFS
=$IFS; IFS
='-'
1930 # Remember, the first character of IFS is used to create $*,
1931 # except with old shells:
1934 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1937 { echo "$as_me:$LINENO: checking host system type" >&5
1938 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1939 if test "${ac_cv_host+set}" = set; then
1940 echo $ECHO_N "(cached) $ECHO_C" >&6
1942 if test "x$host_alias" = x
; then
1943 ac_cv_host
=$ac_cv_build
1945 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1946 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1947 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1948 { (exit 1); exit 1; }; }
1952 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1953 echo "${ECHO_T}$ac_cv_host" >&6; }
1956 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1957 echo "$as_me: error: invalid value of canonical host" >&2;}
1958 { (exit 1); exit 1; }; };;
1961 ac_save_IFS
=$IFS; IFS
='-'
1967 # Remember, the first character of IFS is used to create $*,
1968 # except with old shells:
1971 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1976 if test "x$enable_win64" != "xyes"
1978 test -n "$CC" || CC
="gcc -m32"
1979 test -n "$LD" || LD
="ld -m elf_i386"
1980 test -n "$AS" || AS
="as --32"
1988 if test "x$enable_win16" != "xno"
1995 WIN16_FILES
="\$(WIN16_FILES)"
1997 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1999 if test "x$enable_win16" != "xyes"
2005 if test "x$enable_tests" == "xno"
2012 TESTSUBDIRS
="\$(TESTSUBDIRS)"
2020 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2021 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2022 You need to run 'make distclean' in the source tree first." >&5
2023 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2024 You need to run 'make distclean' in the source tree first." >&2;}
2025 { (exit 1); exit 1; }; }
2030 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2031 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2032 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2033 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2034 echo $ECHO_N "(cached) $ECHO_C" >&6
2036 cat >conftest.
make <<\_ACEOF
2039 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2041 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2042 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2044 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2046 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2050 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2051 { echo "$as_me:$LINENO: result: yes" >&5
2052 echo "${ECHO_T}yes" >&6; }
2055 { echo "$as_me:$LINENO: result: no" >&5
2056 echo "${ECHO_T}no" >&6; }
2057 SET_MAKE
="MAKE=${MAKE-make}"
2061 ac_cpp
='$CPP $CPPFLAGS'
2062 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2063 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2064 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2065 if test -n "$ac_tool_prefix"; then
2066 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2067 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2070 if test "${ac_cv_prog_CC+set}" = set; then
2071 echo $ECHO_N "(cached) $ECHO_C" >&6
2073 if test -n "$CC"; then
2074 ac_cv_prog_CC
="$CC" # Let the user override the test.
2076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2080 test -z "$as_dir" && as_dir
=.
2081 for ac_exec_ext
in '' $ac_executable_extensions; do
2082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2083 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2094 if test -n "$CC"; then
2095 { echo "$as_me:$LINENO: result: $CC" >&5
2096 echo "${ECHO_T}$CC" >&6; }
2098 { echo "$as_me:$LINENO: result: no" >&5
2099 echo "${ECHO_T}no" >&6; }
2104 if test -z "$ac_cv_prog_CC"; then
2106 # Extract the first word of "gcc", so it can be a program name with args.
2107 set dummy gcc
; ac_word
=$2
2108 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2110 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2111 echo $ECHO_N "(cached) $ECHO_C" >&6
2113 if test -n "$ac_ct_CC"; then
2114 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2120 test -z "$as_dir" && as_dir
=.
2121 for ac_exec_ext
in '' $ac_executable_extensions; do
2122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2123 ac_cv_prog_ac_ct_CC
="gcc"
2124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2133 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2134 if test -n "$ac_ct_CC"; then
2135 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2136 echo "${ECHO_T}$ac_ct_CC" >&6; }
2138 { echo "$as_me:$LINENO: result: no" >&5
2139 echo "${ECHO_T}no" >&6; }
2142 if test "x$ac_ct_CC" = x
; then
2145 case $cross_compiling:$ac_tool_warned in
2147 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2148 whose name does not start with the host triplet. If you think this
2149 configuration is useful to you, please write to autoconf@gnu.org." >&5
2150 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2151 whose name does not start with the host triplet. If you think this
2152 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2153 ac_tool_warned
=yes ;;
2161 if test -z "$CC"; then
2162 if test -n "$ac_tool_prefix"; then
2163 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2164 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2167 if test "${ac_cv_prog_CC+set}" = set; then
2168 echo $ECHO_N "(cached) $ECHO_C" >&6
2170 if test -n "$CC"; then
2171 ac_cv_prog_CC
="$CC" # Let the user override the test.
2173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2177 test -z "$as_dir" && as_dir
=.
2178 for ac_exec_ext
in '' $ac_executable_extensions; do
2179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2180 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2191 if test -n "$CC"; then
2192 { echo "$as_me:$LINENO: result: $CC" >&5
2193 echo "${ECHO_T}$CC" >&6; }
2195 { echo "$as_me:$LINENO: result: no" >&5
2196 echo "${ECHO_T}no" >&6; }
2202 if test -z "$CC"; then
2203 # Extract the first word of "cc", so it can be a program name with args.
2204 set dummy cc
; ac_word
=$2
2205 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2207 if test "${ac_cv_prog_CC+set}" = set; then
2208 echo $ECHO_N "(cached) $ECHO_C" >&6
2210 if test -n "$CC"; then
2211 ac_cv_prog_CC
="$CC" # Let the user override the test.
2214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2218 test -z "$as_dir" && as_dir
=.
2219 for ac_exec_ext
in '' $ac_executable_extensions; do
2220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2221 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2222 ac_prog_rejected
=yes
2226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2233 if test $ac_prog_rejected = yes; then
2234 # We found a bogon in the path, so make sure we never use it.
2235 set dummy
$ac_cv_prog_CC
2237 if test $# != 0; then
2238 # We chose a different compiler from the bogus one.
2239 # However, it has the same basename, so the bogon will be chosen
2240 # first if we set CC to just the basename; use the full file name.
2242 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2248 if test -n "$CC"; then
2249 { echo "$as_me:$LINENO: result: $CC" >&5
2250 echo "${ECHO_T}$CC" >&6; }
2252 { echo "$as_me:$LINENO: result: no" >&5
2253 echo "${ECHO_T}no" >&6; }
2258 if test -z "$CC"; then
2259 if test -n "$ac_tool_prefix"; then
2260 for ac_prog
in cl.exe
2262 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2263 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2266 if test "${ac_cv_prog_CC+set}" = set; then
2267 echo $ECHO_N "(cached) $ECHO_C" >&6
2269 if test -n "$CC"; then
2270 ac_cv_prog_CC
="$CC" # Let the user override the test.
2272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2276 test -z "$as_dir" && as_dir
=.
2277 for ac_exec_ext
in '' $ac_executable_extensions; do
2278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2279 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2290 if test -n "$CC"; then
2291 { echo "$as_me:$LINENO: result: $CC" >&5
2292 echo "${ECHO_T}$CC" >&6; }
2294 { echo "$as_me:$LINENO: result: no" >&5
2295 echo "${ECHO_T}no" >&6; }
2299 test -n "$CC" && break
2302 if test -z "$CC"; then
2304 for ac_prog
in cl.exe
2306 # Extract the first word of "$ac_prog", so it can be a program name with args.
2307 set dummy
$ac_prog; ac_word
=$2
2308 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2310 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2311 echo $ECHO_N "(cached) $ECHO_C" >&6
2313 if test -n "$ac_ct_CC"; then
2314 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2320 test -z "$as_dir" && as_dir
=.
2321 for ac_exec_ext
in '' $ac_executable_extensions; do
2322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2323 ac_cv_prog_ac_ct_CC
="$ac_prog"
2324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2333 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2334 if test -n "$ac_ct_CC"; then
2335 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2336 echo "${ECHO_T}$ac_ct_CC" >&6; }
2338 { echo "$as_me:$LINENO: result: no" >&5
2339 echo "${ECHO_T}no" >&6; }
2343 test -n "$ac_ct_CC" && break
2346 if test "x$ac_ct_CC" = x
; then
2349 case $cross_compiling:$ac_tool_warned in
2351 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2352 whose name does not start with the host triplet. If you think this
2353 configuration is useful to you, please write to autoconf@gnu.org." >&5
2354 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2355 whose name does not start with the host triplet. If you think this
2356 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2357 ac_tool_warned
=yes ;;
2366 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2367 See \`config.log' for more details." >&5
2368 echo "$as_me: error: no acceptable C compiler found in \$PATH
2369 See \`config.log' for more details." >&2;}
2370 { (exit 1); exit 1; }; }
2372 # Provide some information about the compiler.
2373 echo "$as_me:$LINENO: checking for C compiler version" >&5
2374 ac_compiler
=`set X $ac_compile; echo $2`
2375 { (ac_try
="$ac_compiler --version >&5"
2377 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2378 *) ac_try_echo=$ac_try;;
2380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2381 (eval "$ac_compiler --version >&5") 2>&5
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }
2385 { (ac_try="$ac_compiler -v >&5"
2387 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2388 *) ac_try_echo
=$ac_try;;
2390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2391 (eval "$ac_compiler -v >&5") 2>&5
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); }
2395 { (ac_try
="$ac_compiler -V >&5"
2397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2398 *) ac_try_echo=$ac_try;;
2400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2401 (eval "$ac_compiler -V >&5") 2>&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); }
2406 cat >conftest.$ac_ext <<_ACEOF
2409 cat confdefs.h >>conftest.$ac_ext
2410 cat >>conftest.$ac_ext <<_ACEOF
2411 /* end confdefs.h. */
2421 ac_clean_files_save=$ac_clean_files
2422 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2423 # Try to create an executable without -o first, disregard a.out.
2424 # It will help us diagnose broken compilers, and finding out an intuition
2426 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2427 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2428 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2430 # List of possible output files, starting from the most likely.
2431 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2432 # only as a last resort. b.out is created by i960 compilers.
2433 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2435 # The IRIX 6 linker writes into existing files which may not be
2436 # executable, retaining their permissions. Remove them first so a
2437 # subsequent execution test works.
2439 for ac_file in $ac_files
2442 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2443 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2448 if { (ac_try="$ac_link_default"
2450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2451 *) ac_try_echo=$ac_try;;
2453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2454 (eval "$ac_link_default") 2>&5
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); }; then
2458 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2459 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2460 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2461 # so that the user can short-circuit this test for compilers unknown to
2463 for ac_file
in $ac_files ''
2465 test -f "$ac_file" ||
continue
2467 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2470 # We found the default executable, but exeext='' is most
2474 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2476 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2478 # We set ac_cv_exeext here because the later test for it is not
2479 # safe: cross compilers may not add the suffix if given an `-o'
2480 # argument, so we may need to know it at that point already.
2481 # Even if this section looks crufty: it has the advantage of
2488 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2494 { echo "$as_me:$LINENO: result: $ac_file" >&5
2495 echo "${ECHO_T}$ac_file" >&6; }
2496 if test -z "$ac_file"; then
2497 echo "$as_me: failed program was:" >&5
2498 sed 's/^/| /' conftest.
$ac_ext >&5
2500 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2501 See \`config.log' for more details." >&5
2502 echo "$as_me: error: C compiler cannot create executables
2503 See \`config.log' for more details." >&2;}
2504 { (exit 77); exit 77; }; }
2507 ac_exeext
=$ac_cv_exeext
2509 # Check that the compiler produces executables we can run. If not, either
2510 # the compiler is broken, or we cross compile.
2511 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2512 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2513 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2514 # If not cross compiling, check that we can run a simple program.
2515 if test "$cross_compiling" != yes; then
2516 if { ac_try
='./$ac_file'
2517 { (case "(($ac_try" in
2518 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2519 *) ac_try_echo=$ac_try;;
2521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2522 (eval "$ac_try") 2>&5
2524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525 (exit $ac_status); }; }; then
2528 if test "$cross_compiling" = maybe; then
2531 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2532 If you meant to cross compile, use \`--host'.
2533 See \`config.log' for more details.
" >&5
2534 echo "$as_me: error
: cannot run C compiled programs.
2535 If you meant to cross compile
, use \
`--host'.
2536 See \`config.log
' for more details." >&2;}
2537 { (exit 1); exit 1; }; }
2541 { echo "$as_me:$LINENO: result: yes" >&5
2542 echo "${ECHO_T}yes" >&6; }
2544 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2545 ac_clean_files=$ac_clean_files_save
2546 # Check that the compiler produces executables we can run. If not, either
2547 # the compiler is broken, or we cross compile.
2548 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2549 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2550 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2551 echo "${ECHO_T}$cross_compiling" >&6; }
2553 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2554 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2555 if { (ac_try="$ac_link"
2557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2558 *) ac_try_echo=$ac_try;;
2560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2561 (eval "$ac_link") 2>&5
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); }; then
2565 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2566 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2567 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2569 for ac_file
in conftest.exe conftest conftest.
*; do
2570 test -f "$ac_file" ||
continue
2572 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2573 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2579 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2580 See \`config.log' for more details." >&5
2581 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2582 See \`config.log' for more details." >&2;}
2583 { (exit 1); exit 1; }; }
2586 rm -f conftest
$ac_cv_exeext
2587 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2588 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2590 rm -f conftest.
$ac_ext
2591 EXEEXT
=$ac_cv_exeext
2593 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2594 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2595 if test "${ac_cv_objext+set}" = set; then
2596 echo $ECHO_N "(cached) $ECHO_C" >&6
2598 cat >conftest.
$ac_ext <<_ACEOF
2601 cat confdefs.h
>>conftest.
$ac_ext
2602 cat >>conftest.
$ac_ext <<_ACEOF
2603 /* end confdefs.h. */
2613 rm -f conftest.o conftest.obj
2614 if { (ac_try
="$ac_compile"
2616 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2617 *) ac_try_echo=$ac_try;;
2619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2620 (eval "$ac_compile") 2>&5
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); }; then
2624 for ac_file in conftest.o conftest.obj conftest.*; do
2625 test -f "$ac_file" || continue;
2627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2628 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2633 echo "$as_me: failed program was:" >&5
2634 sed 's/^/| /' conftest.$ac_ext >&5
2636 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2637 See \`config.log
' for more details." >&5
2638 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2639 See \`config.log' for more details.
" >&2;}
2640 { (exit 1); exit 1; }; }
2643 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2645 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2646 echo "${ECHO_T}$ac_cv_objext" >&6; }
2647 OBJEXT=$ac_cv_objext
2649 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2650 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2651 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2652 echo $ECHO_N "(cached
) $ECHO_C" >&6
2654 cat >conftest.$ac_ext <<_ACEOF
2657 cat confdefs.h >>conftest.$ac_ext
2658 cat >>conftest.$ac_ext <<_ACEOF
2659 /* end confdefs.h. */
2672 rm -f conftest.$ac_objext
2673 if { (ac_try="$ac_compile"
2675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2676 *) ac_try_echo=$ac_try;;
2678 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2679 (eval "$ac_compile") 2>conftest.er1
2681 grep -v '^ *+' conftest.er1 >conftest.err
2683 cat conftest.err >&5
2684 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2685 (exit $ac_status); } && {
2686 test -z "$ac_c_werror_flag" ||
2687 test ! -s conftest.err
2688 } && test -s conftest.$ac_objext; then
2691 echo "$as_me: failed program was
:" >&5
2692 sed 's/^/| /' conftest.$ac_ext >&5
2697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2698 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2701 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2702 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2703 GCC=`test $ac_compiler_gnu = yes && echo yes`
2704 ac_test_CFLAGS=${CFLAGS+set}
2705 ac_save_CFLAGS=$CFLAGS
2706 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2707 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2708 if test "${ac_cv_prog_cc_g+set}" = set; then
2709 echo $ECHO_N "(cached
) $ECHO_C" >&6
2711 ac_save_c_werror_flag=$ac_c_werror_flag
2712 ac_c_werror_flag=yes
2715 cat >conftest.$ac_ext <<_ACEOF
2718 cat confdefs.h >>conftest.$ac_ext
2719 cat >>conftest.$ac_ext <<_ACEOF
2720 /* end confdefs.h. */
2730 rm -f conftest.$ac_objext
2731 if { (ac_try="$ac_compile"
2733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2734 *) ac_try_echo=$ac_try;;
2736 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2737 (eval "$ac_compile") 2>conftest.er1
2739 grep -v '^ *+' conftest.er1 >conftest.err
2741 cat conftest.err >&5
2742 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2743 (exit $ac_status); } && {
2744 test -z "$ac_c_werror_flag" ||
2745 test ! -s conftest.err
2746 } && test -s conftest.$ac_objext; then
2749 echo "$as_me: failed program was
:" >&5
2750 sed 's/^/| /' conftest.$ac_ext >&5
2753 cat >conftest.$ac_ext <<_ACEOF
2756 cat confdefs.h >>conftest.$ac_ext
2757 cat >>conftest.$ac_ext <<_ACEOF
2758 /* end confdefs.h. */
2768 rm -f conftest.$ac_objext
2769 if { (ac_try="$ac_compile"
2771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2772 *) ac_try_echo=$ac_try;;
2774 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2775 (eval "$ac_compile") 2>conftest.er1
2777 grep -v '^ *+' conftest.er1 >conftest.err
2779 cat conftest.err >&5
2780 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2781 (exit $ac_status); } && {
2782 test -z "$ac_c_werror_flag" ||
2783 test ! -s conftest.err
2784 } && test -s conftest.$ac_objext; then
2787 echo "$as_me: failed program was
:" >&5
2788 sed 's/^/| /' conftest.$ac_ext >&5
2790 ac_c_werror_flag=$ac_save_c_werror_flag
2792 cat >conftest.$ac_ext <<_ACEOF
2795 cat confdefs.h >>conftest.$ac_ext
2796 cat >>conftest.$ac_ext <<_ACEOF
2797 /* end confdefs.h. */
2807 rm -f conftest.$ac_objext
2808 if { (ac_try="$ac_compile"
2810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2811 *) ac_try_echo=$ac_try;;
2813 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2814 (eval "$ac_compile") 2>conftest.er1
2816 grep -v '^ *+' conftest.er1 >conftest.err
2818 cat conftest.err >&5
2819 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2820 (exit $ac_status); } && {
2821 test -z "$ac_c_werror_flag" ||
2822 test ! -s conftest.err
2823 } && test -s conftest.$ac_objext; then
2826 echo "$as_me: failed program was
:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2839 ac_c_werror_flag=$ac_save_c_werror_flag
2841 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
2842 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2843 if test "$ac_test_CFLAGS" = set; then
2844 CFLAGS=$ac_save_CFLAGS
2845 elif test $ac_cv_prog_cc_g = yes; then
2846 if test "$GCC" = yes; then
2852 if test "$GCC" = yes; then
2858 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
2859 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
2860 if test "${ac_cv_prog_cc_c89+set}" = set; then
2861 echo $ECHO_N "(cached
) $ECHO_C" >&6
2863 ac_cv_prog_cc_c89=no
2865 cat >conftest.$ac_ext <<_ACEOF
2868 cat confdefs.h >>conftest.$ac_ext
2869 cat >>conftest.$ac_ext <<_ACEOF
2870 /* end confdefs.h. */
2873 #include <sys/types.h>
2874 #include <sys/stat.h>
2875 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2876 struct buf { int x; };
2877 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2878 static char *e (p, i)
2884 static char *f (char * (*g) (char **, int), char **p, ...)
2889 s = g (p, va_arg (v,int));
2894 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2895 function prototypes and stuff, but not '\xHH' hex character constants.
2896 These don't provoke an error unfortunately, instead are silently treated
2897 as 'x'. The following induces an error, until -std is added to get
2898 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2899 array size at least. It's necessary to write '\x00'==0 to get something
2900 that's true only with -std. */
2901 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2903 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2904 inside strings and character constants. */
2906 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2908 int test (int i, double x);
2909 struct s1 {int (*f) (int a);};
2910 struct s2 {int (*f) (double a);};
2911 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2917 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2922 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2923 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2925 CC="$ac_save_CC $ac_arg"
2926 rm -f conftest.$ac_objext
2927 if { (ac_try="$ac_compile"
2929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2930 *) ac_try_echo=$ac_try;;
2932 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2933 (eval "$ac_compile") 2>conftest.er1
2935 grep -v '^ *+' conftest.er1 >conftest.err
2937 cat conftest.err >&5
2938 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2939 (exit $ac_status); } && {
2940 test -z "$ac_c_werror_flag" ||
2941 test ! -s conftest.err
2942 } && test -s conftest.$ac_objext; then
2943 ac_cv_prog_cc_c89=$ac_arg
2945 echo "$as_me: failed program was
:" >&5
2946 sed 's/^/| /' conftest.$ac_ext >&5
2951 rm -f core conftest.err conftest.$ac_objext
2952 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
2954 rm -f conftest.$ac_ext
2959 case "x
$ac_cv_prog_cc_c89" in
2961 { echo "$as_me:$LINENO: result
: none needed
" >&5
2962 echo "${ECHO_T}none needed
" >&6; } ;;
2964 { echo "$as_me:$LINENO: result
: unsupported
" >&5
2965 echo "${ECHO_T}unsupported
" >&6; } ;;
2967 CC="$CC $ac_cv_prog_cc_c89"
2968 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
2969 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2974 ac_cpp='$CPP $CPPFLAGS'
2975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2980 ac_cpp='$CXXCPP $CPPFLAGS'
2981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2984 if test -z "$CXX"; then
2985 if test -n "$CCC"; then
2988 if test -n "$ac_tool_prefix"; then
2989 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2991 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2992 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2993 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
2994 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
2995 if test "${ac_cv_prog_CXX+set}" = set; then
2996 echo $ECHO_N "(cached
) $ECHO_C" >&6
2998 if test -n "$CXX"; then
2999 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3005 test -z "$as_dir" && as_dir=.
3006 for ac_exec_ext in '' $ac_executable_extensions; do
3007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3008 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3009 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3019 if test -n "$CXX"; then
3020 { echo "$as_me:$LINENO: result
: $CXX" >&5
3021 echo "${ECHO_T}$CXX" >&6; }
3023 { echo "$as_me:$LINENO: result
: no
" >&5
3024 echo "${ECHO_T}no
" >&6; }
3028 test -n "$CXX" && break
3031 if test -z "$CXX"; then
3033 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3035 # Extract the first word of "$ac_prog", so it can be a program name with args.
3036 set dummy $ac_prog; ac_word=$2
3037 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3038 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3039 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3040 echo $ECHO_N "(cached
) $ECHO_C" >&6
3042 if test -n "$ac_ct_CXX"; then
3043 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3049 test -z "$as_dir" && as_dir=.
3050 for ac_exec_ext in '' $ac_executable_extensions; do
3051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3052 ac_cv_prog_ac_ct_CXX="$ac_prog"
3053 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3062 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3063 if test -n "$ac_ct_CXX"; then
3064 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3065 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3067 { echo "$as_me:$LINENO: result
: no
" >&5
3068 echo "${ECHO_T}no
" >&6; }
3072 test -n "$ac_ct_CXX" && break
3075 if test "x
$ac_ct_CXX" = x; then
3078 case $cross_compiling:$ac_tool_warned in
3080 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3081 whose name does not start with the
host triplet. If you think this
3082 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3083 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3084 whose name does not start with the
host triplet. If you think this
3085 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3086 ac_tool_warned=yes ;;
3094 # Provide some information about the compiler.
3095 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3096 ac_compiler=`set X $ac_compile; echo $2`
3097 { (ac_try="$ac_compiler --version >&5"
3099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3100 *) ac_try_echo=$ac_try;;
3102 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3103 (eval "$ac_compiler --version >&5") 2>&5
3105 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3106 (exit $ac_status); }
3107 { (ac_try="$ac_compiler -v >&5"
3109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3110 *) ac_try_echo=$ac_try;;
3112 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3113 (eval "$ac_compiler -v >&5") 2>&5
3115 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3116 (exit $ac_status); }
3117 { (ac_try="$ac_compiler -V >&5"
3119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3120 *) ac_try_echo=$ac_try;;
3122 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3123 (eval "$ac_compiler -V >&5") 2>&5
3125 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3126 (exit $ac_status); }
3128 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3129 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3130 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3131 echo $ECHO_N "(cached
) $ECHO_C" >&6
3133 cat >conftest.$ac_ext <<_ACEOF
3136 cat confdefs.h >>conftest.$ac_ext
3137 cat >>conftest.$ac_ext <<_ACEOF
3138 /* end confdefs.h. */
3151 rm -f conftest.$ac_objext
3152 if { (ac_try="$ac_compile"
3154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3155 *) ac_try_echo=$ac_try;;
3157 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3158 (eval "$ac_compile") 2>conftest.er1
3160 grep -v '^ *+' conftest.er1 >conftest.err
3162 cat conftest.err >&5
3163 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3164 (exit $ac_status); } && {
3165 test -z "$ac_cxx_werror_flag" ||
3166 test ! -s conftest.err
3167 } && test -s conftest.$ac_objext; then
3170 echo "$as_me: failed program was
:" >&5
3171 sed 's/^/| /' conftest.$ac_ext >&5
3176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3177 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3180 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3181 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3182 GXX=`test $ac_compiler_gnu = yes && echo yes`
3183 ac_test_CXXFLAGS=${CXXFLAGS+set}
3184 ac_save_CXXFLAGS=$CXXFLAGS
3185 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3186 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3187 if test "${ac_cv_prog_cxx_g+set}" = set; then
3188 echo $ECHO_N "(cached
) $ECHO_C" >&6
3190 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3191 ac_cxx_werror_flag=yes
3194 cat >conftest.$ac_ext <<_ACEOF
3197 cat confdefs.h >>conftest.$ac_ext
3198 cat >>conftest.$ac_ext <<_ACEOF
3199 /* end confdefs.h. */
3209 rm -f conftest.$ac_objext
3210 if { (ac_try="$ac_compile"
3212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3213 *) ac_try_echo=$ac_try;;
3215 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3216 (eval "$ac_compile") 2>conftest.er1
3218 grep -v '^ *+' conftest.er1 >conftest.err
3220 cat conftest.err >&5
3221 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3222 (exit $ac_status); } && {
3223 test -z "$ac_cxx_werror_flag" ||
3224 test ! -s conftest.err
3225 } && test -s conftest.$ac_objext; then
3226 ac_cv_prog_cxx_g=yes
3228 echo "$as_me: failed program was
:" >&5
3229 sed 's/^/| /' conftest.$ac_ext >&5
3232 cat >conftest.$ac_ext <<_ACEOF
3235 cat confdefs.h >>conftest.$ac_ext
3236 cat >>conftest.$ac_ext <<_ACEOF
3237 /* end confdefs.h. */
3247 rm -f conftest.$ac_objext
3248 if { (ac_try="$ac_compile"
3250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3251 *) ac_try_echo=$ac_try;;
3253 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3254 (eval "$ac_compile") 2>conftest.er1
3256 grep -v '^ *+' conftest.er1 >conftest.err
3258 cat conftest.err >&5
3259 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3260 (exit $ac_status); } && {
3261 test -z "$ac_cxx_werror_flag" ||
3262 test ! -s conftest.err
3263 } && test -s conftest.$ac_objext; then
3266 echo "$as_me: failed program was
:" >&5
3267 sed 's/^/| /' conftest.$ac_ext >&5
3269 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3271 cat >conftest.$ac_ext <<_ACEOF
3274 cat confdefs.h >>conftest.$ac_ext
3275 cat >>conftest.$ac_ext <<_ACEOF
3276 /* end confdefs.h. */
3286 rm -f conftest.$ac_objext
3287 if { (ac_try="$ac_compile"
3289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3290 *) ac_try_echo=$ac_try;;
3292 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3293 (eval "$ac_compile") 2>conftest.er1
3295 grep -v '^ *+' conftest.er1 >conftest.err
3297 cat conftest.err >&5
3298 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3299 (exit $ac_status); } && {
3300 test -z "$ac_cxx_werror_flag" ||
3301 test ! -s conftest.err
3302 } && test -s conftest.$ac_objext; then
3303 ac_cv_prog_cxx_g=yes
3305 echo "$as_me: failed program was
:" >&5
3306 sed 's/^/| /' conftest.$ac_ext >&5
3311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3318 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3320 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3321 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3322 if test "$ac_test_CXXFLAGS" = set; then
3323 CXXFLAGS=$ac_save_CXXFLAGS
3324 elif test $ac_cv_prog_cxx_g = yes; then
3325 if test "$GXX" = yes; then
3331 if test "$GXX" = yes; then
3338 ac_cpp='$CPP $CPPFLAGS'
3339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3343 if test -n "$ac_tool_prefix"; then
3344 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3345 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3346 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3347 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3348 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3349 echo $ECHO_N "(cached
) $ECHO_C" >&6
3351 if test -n "$CPPBIN"; then
3352 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3358 test -z "$as_dir" && as_dir=.
3359 for ac_exec_ext in '' $ac_executable_extensions; do
3360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3361 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3362 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3371 CPPBIN=$ac_cv_prog_CPPBIN
3372 if test -n "$CPPBIN"; then
3373 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3374 echo "${ECHO_T}$CPPBIN" >&6; }
3376 { echo "$as_me:$LINENO: result
: no
" >&5
3377 echo "${ECHO_T}no
" >&6; }
3382 if test -z "$ac_cv_prog_CPPBIN"; then
3383 ac_ct_CPPBIN=$CPPBIN
3384 # Extract the first word of "cpp
", so it can be a program name with args.
3385 set dummy cpp; ac_word=$2
3386 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3387 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3388 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3389 echo $ECHO_N "(cached
) $ECHO_C" >&6
3391 if test -n "$ac_ct_CPPBIN"; then
3392 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3398 test -z "$as_dir" && as_dir=.
3399 for ac_exec_ext in '' $ac_executable_extensions; do
3400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3401 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3402 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3411 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3412 if test -n "$ac_ct_CPPBIN"; then
3413 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3414 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3416 { echo "$as_me:$LINENO: result
: no
" >&5
3417 echo "${ECHO_T}no
" >&6; }
3420 if test "x
$ac_ct_CPPBIN" = x; then
3423 case $cross_compiling:$ac_tool_warned in
3425 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3426 whose name does not start with the
host triplet. If you think this
3427 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3428 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3429 whose name does not start with the
host triplet. If you think this
3430 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3431 ac_tool_warned=yes ;;
3433 CPPBIN=$ac_ct_CPPBIN
3436 CPPBIN="$ac_cv_prog_CPPBIN"
3440 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3441 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3442 if test "${wine_cv_toolsdir+set}" = set; then
3443 echo $ECHO_N "(cached
) $ECHO_C" >&6
3445 if test -z "$with_wine_tools"; then
3446 if test "$cross_compiling" = "yes"; then
3447 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3448 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3449 { (exit 1); exit 1; }; }
3451 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3453 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3454 case $with_wine_tools in
3455 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3456 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3459 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3460 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3461 { (exit 1); exit 1; }; }
3464 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3465 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3466 TOOLSDIR=$wine_cv_toolsdir
3471 ac_cpp='$CPP $CPPFLAGS'
3472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3475 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3476 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3477 # On Suns, sometimes $CPP names a directory.
3478 if test -n "$CPP" && test -d "$CPP"; then
3481 if test -z "$CPP"; then
3482 if test "${ac_cv_prog_CPP+set}" = set; then
3483 echo $ECHO_N "(cached
) $ECHO_C" >&6
3485 # Double quotes because CPP needs to be expanded
3486 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3489 for ac_c_preproc_warn_flag in '' yes
3491 # Use a header file that comes with gcc, so configuring glibc
3492 # with a fresh cross-compiler works.
3493 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3494 # <limits.h> exists even on freestanding compilers.
3495 # On the NeXT, cc -E runs the code through the compiler's parser,
3496 # not just through cpp. "Syntax error
" is here to catch this case.
3497 cat >conftest.$ac_ext <<_ACEOF
3500 cat confdefs.h >>conftest.$ac_ext
3501 cat >>conftest.$ac_ext <<_ACEOF
3502 /* end confdefs.h. */
3504 # include <limits.h>
3506 # include <assert.h>
3510 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3513 *) ac_try_echo=$ac_try;;
3515 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3516 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3518 grep -v '^ *+' conftest.er1 >conftest.err
3520 cat conftest.err >&5
3521 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3522 (exit $ac_status); } >/dev/null && {
3523 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3524 test ! -s conftest.err
3528 echo "$as_me: failed program was
:" >&5
3529 sed 's/^/| /' conftest.$ac_ext >&5
3531 # Broken: fails on valid input.
3535 rm -f conftest.err conftest.$ac_ext
3537 # OK, works on sane cases. Now check whether nonexistent headers
3538 # can be detected and how.
3539 cat >conftest.$ac_ext <<_ACEOF
3542 cat confdefs.h >>conftest.$ac_ext
3543 cat >>conftest.$ac_ext <<_ACEOF
3544 /* end confdefs.h. */
3545 #include <ac_nonexistent.h>
3547 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550 *) ac_try_echo=$ac_try;;
3552 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3553 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3555 grep -v '^ *+' conftest.er1 >conftest.err
3557 cat conftest.err >&5
3558 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3559 (exit $ac_status); } >/dev/null && {
3560 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3561 test ! -s conftest.err
3563 # Broken: success on invalid input.
3566 echo "$as_me: failed program was
:" >&5
3567 sed 's/^/| /' conftest.$ac_ext >&5
3569 # Passes both tests.
3574 rm -f conftest.err conftest.$ac_ext
3577 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3578 rm -f conftest.err conftest.$ac_ext
3579 if $ac_preproc_ok; then
3591 { echo "$as_me:$LINENO: result
: $CPP" >&5
3592 echo "${ECHO_T}$CPP" >&6; }
3594 for ac_c_preproc_warn_flag in '' yes
3596 # Use a header file that comes with gcc, so configuring glibc
3597 # with a fresh cross-compiler works.
3598 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3599 # <limits.h> exists even on freestanding compilers.
3600 # On the NeXT, cc -E runs the code through the compiler's parser,
3601 # not just through cpp. "Syntax error
" is here to catch this case.
3602 cat >conftest.$ac_ext <<_ACEOF
3605 cat confdefs.h >>conftest.$ac_ext
3606 cat >>conftest.$ac_ext <<_ACEOF
3607 /* end confdefs.h. */
3609 # include <limits.h>
3611 # include <assert.h>
3615 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3618 *) ac_try_echo=$ac_try;;
3620 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3621 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3623 grep -v '^ *+' conftest.er1 >conftest.err
3625 cat conftest.err >&5
3626 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3627 (exit $ac_status); } >/dev/null && {
3628 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3629 test ! -s conftest.err
3633 echo "$as_me: failed program was
:" >&5
3634 sed 's/^/| /' conftest.$ac_ext >&5
3636 # Broken: fails on valid input.
3640 rm -f conftest.err conftest.$ac_ext
3642 # OK, works on sane cases. Now check whether nonexistent headers
3643 # can be detected and how.
3644 cat >conftest.$ac_ext <<_ACEOF
3647 cat confdefs.h >>conftest.$ac_ext
3648 cat >>conftest.$ac_ext <<_ACEOF
3649 /* end confdefs.h. */
3650 #include <ac_nonexistent.h>
3652 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3655 *) ac_try_echo=$ac_try;;
3657 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3658 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3660 grep -v '^ *+' conftest.er1 >conftest.err
3662 cat conftest.err >&5
3663 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3664 (exit $ac_status); } >/dev/null && {
3665 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3666 test ! -s conftest.err
3668 # Broken: success on invalid input.
3671 echo "$as_me: failed program was
:" >&5
3672 sed 's/^/| /' conftest.$ac_ext >&5
3674 # Passes both tests.
3679 rm -f conftest.err conftest.$ac_ext
3682 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3683 rm -f conftest.err conftest.$ac_ext
3684 if $ac_preproc_ok; then
3687 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3688 See \
`config.log' for more details." >&5
3689 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3690 See \`config.log
' for more details." >&2;}
3691 { (exit 1); exit 1; }; }
3695 ac_cpp='$CPP $CPPFLAGS'
3696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3697 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3701 { echo "$as_me:$LINENO: checking for X" >&5
3702 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3705 # Check whether --with-x was given.
3706 if test "${with_x+set}" = set; then
3710 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3711 if test "x$with_x" = xno; then
3712 # The user explicitly disabled X.
3715 case $x_includes,$x_libraries in #(
3716 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3717 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3718 { (exit 1); exit 1; }; };; #(
3719 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3720 echo $ECHO_N "(cached) $ECHO_C" >&6
3722 # One or both of the vars are not set, and there is no cached value.
3723 ac_x_includes=no ac_x_libraries=no
3724 rm -f -r conftest.dir
3725 if mkdir conftest.dir; then
3727 cat >Imakefile <<'_ACEOF'
3729 @echo incroot='${INCROOT}'
3731 @echo usrlibdir='${USRLIBDIR}'
3733 @echo libdir='${LIBDIR}'
3735 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3736 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3737 for ac_var in incroot usrlibdir libdir; do
3738 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3740 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3741 for ac_extension in a so sl; do
3742 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3743 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3744 ac_im_usrlibdir=$ac_im_libdir; break
3747 # Screen out bogus values from the imake configuration. They are
3748 # bogus both because they are the default anyway, and because
3749 # using them would break gcc on systems where it needs fixed includes.
3750 case $ac_im_incroot in
3751 /usr/include) ac_x_includes= ;;
3752 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3754 case $ac_im_usrlibdir in
3756 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3760 rm -f -r conftest.dir
3763 # Standard set of common directories for X headers.
3764 # Check X11 before X11Rn because it is often a symlink to the current release.
3776 /usr
/local
/X11
/include
3777 /usr
/local
/X11R
6/include
3778 /usr
/local
/X11R
5/include
3779 /usr
/local
/X11R
4/include
3781 /usr
/local
/include
/X11
3782 /usr
/local
/include
/X11R6
3783 /usr
/local
/include
/X11R5
3784 /usr
/local
/include
/X11R4
3788 /usr
/XFree86
/include
/X11
3792 /usr
/unsupported
/include
3794 /usr
/local
/x11r
5/include
3795 /usr
/lpp
/Xamples
/include
3797 /usr
/openwin
/include
3798 /usr
/openwin
/share
/include
'
3800 if test "$ac_x_includes" = no; then
3801 # Guess where to find include files, by looking for Xlib.h.
3802 # First, try using that file with no special directory specified.
3803 cat >conftest.$ac_ext <<_ACEOF
3806 cat confdefs.h >>conftest.$ac_ext
3807 cat >>conftest.$ac_ext <<_ACEOF
3808 /* end confdefs.h. */
3809 #include <X11/Xlib.h>
3811 if { (ac_try="$ac_cpp conftest.$ac_ext"
3813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3814 *) ac_try_echo=$ac_try;;
3816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3817 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3819 grep -v '^
*+' conftest.er1 >conftest.err
3821 cat conftest.err >&5
3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823 (exit $ac_status); } >/dev/null && {
3824 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3825 test ! -s conftest.err
3827 # We can compile using X headers with no special include directory.
3830 echo "$as_me: failed program was:" >&5
3831 sed 's
/^
/|
/' conftest.$ac_ext >&5
3833 for ac_dir in $ac_x_header_dirs; do
3834 if test -r "$ac_dir/X11/Xlib.h"; then
3835 ac_x_includes=$ac_dir
3841 rm -f conftest.err conftest.$ac_ext
3842 fi # $ac_x_includes = no
3844 if test "$ac_x_libraries" = no; then
3845 # Check for the libraries.
3846 # See if we find them without any special options.
3847 # Don't add to
$LIBS permanently.
3850 cat >conftest.
$ac_ext <<_ACEOF
3853 cat confdefs.h
>>conftest.
$ac_ext
3854 cat >>conftest.
$ac_ext <<_ACEOF
3855 /* end confdefs.h. */
3856 #include <X11/Xlib.h>
3865 rm -f conftest.
$ac_objext conftest
$ac_exeext
3866 if { (ac_try
="$ac_link"
3868 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3869 *) ac_try_echo=$ac_try;;
3871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3872 (eval "$ac_link") 2>conftest.er1
3874 grep -v '^ *+' conftest.er1 >conftest.err
3876 cat conftest.err >&5
3877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3878 (exit $ac_status); } && {
3879 test -z "$ac_c_werror_flag" ||
3880 test ! -s conftest.err
3881 } && test -s conftest$ac_exeext &&
3882 $as_test_x conftest$ac_exeext; then
3884 # We can link X programs with no special library path.
3887 echo "$as_me: failed program was:" >&5
3888 sed 's/^/| /' conftest.$ac_ext >&5
3891 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
3893 # Don't even attempt the hair of trying to link an X program!
3894 for ac_extension in a so sl; do
3895 if test -r "$ac_dir/libX11.$ac_extension"; then
3896 ac_x_libraries=$ac_dir
3903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3904 conftest$ac_exeext conftest.$ac_ext
3905 fi # $ac_x_libraries = no
3907 case $ac_x_includes,$ac_x_libraries in #(
3909 # Didn't find X, or a directory has "'" in its name.
3910 ac_cv_have_x="have_x=no";; #(
3912 # Record where we found X for the cache.
3913 ac_cv_have_x="have_x=yes\
3914 ac_x_includes='$ac_x_includes'\
3915 ac_x_libraries='$ac_x_libraries'"
3921 eval "$ac_cv_have_x"
3924 if test "$have_x" != yes; then
3925 { echo "$as_me:$LINENO: result: $have_x" >&5
3926 echo "${ECHO_T}$have_x" >&6; }
3929 # If each of the values was on the command line, it overrides each guess.
3930 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3931 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3932 # Update the cache value to reflect the command line values.
3933 ac_cv_have_x="have_x=yes\
3934 ac_x_includes='$x_includes'\
3935 ac_x_libraries='$x_libraries'"
3936 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3937 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3940 if test "$no_x" = yes; then
3941 # Not all programs may use this symbol, but it does not hurt to define it.
3943 cat >>confdefs.h <<\_ACEOF
3944 #define X_DISPLAY_MISSING 1
3947 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3949 if test -n "$x_includes"; then
3950 X_CFLAGS="$X_CFLAGS -I$x_includes"
3953 # It would also be nice to do this for all -L options, not just this one.
3954 if test -n "$x_libraries"; then
3955 X_LIBS="$X_LIBS -L$x_libraries"
3956 # For Solaris; some versions of Sun CC require a space after -R and
3957 # others require no space. Words are not sufficient . . . .
3958 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3959 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3960 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3961 ac_xsave_c_werror_flag=$ac_c_werror_flag
3962 ac_c_werror_flag=yes
3963 cat >conftest.$ac_ext <<_ACEOF
3966 cat confdefs.h >>conftest.$ac_ext
3967 cat >>conftest.$ac_ext <<_ACEOF
3968 /* end confdefs.h. */
3978 rm -f conftest.$ac_objext conftest$ac_exeext
3979 if { (ac_try="$ac_link"
3981 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3982 *) ac_try_echo
=$ac_try;;
3984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3985 (eval "$ac_link") 2>conftest.er1
3987 grep -v '^ *+' conftest.er1
>conftest.err
3989 cat conftest.err
>&5
3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991 (exit $ac_status); } && {
3992 test -z "$ac_c_werror_flag" ||
3993 test ! -s conftest.err
3994 } && test -s conftest
$ac_exeext &&
3995 $as_test_x conftest
$ac_exeext; then
3996 { echo "$as_me:$LINENO: result: no" >&5
3997 echo "${ECHO_T}no" >&6; }
3998 X_LIBS
="$X_LIBS -R$x_libraries"
4000 echo "$as_me: failed program was:" >&5
4001 sed 's/^/| /' conftest.
$ac_ext >&5
4003 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4004 cat >conftest.
$ac_ext <<_ACEOF
4007 cat confdefs.h
>>conftest.
$ac_ext
4008 cat >>conftest.
$ac_ext <<_ACEOF
4009 /* end confdefs.h. */
4019 rm -f conftest.
$ac_objext conftest
$ac_exeext
4020 if { (ac_try
="$ac_link"
4022 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4023 *) ac_try_echo=$ac_try;;
4025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4026 (eval "$ac_link") 2>conftest.er1
4028 grep -v '^ *+' conftest.er1 >conftest.err
4030 cat conftest.err >&5
4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4032 (exit $ac_status); } && {
4033 test -z "$ac_c_werror_flag" ||
4034 test ! -s conftest.err
4035 } && test -s conftest$ac_exeext &&
4036 $as_test_x conftest$ac_exeext; then
4037 { echo "$as_me:$LINENO: result: yes" >&5
4038 echo "${ECHO_T}yes" >&6; }
4039 X_LIBS="$X_LIBS -R $x_libraries"
4041 echo "$as_me: failed program was:" >&5
4042 sed 's/^/| /' conftest.$ac_ext >&5
4044 { echo "$as_me:$LINENO: result: neither works" >&5
4045 echo "${ECHO_T}neither works" >&6; }
4048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4049 conftest$ac_exeext conftest.$ac_ext
4052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4053 conftest$ac_exeext conftest.$ac_ext
4054 ac_c_werror_flag=$ac_xsave_c_werror_flag
4058 # Check for system-dependent libraries X programs must link with.
4059 # Do this before checking for the system-independent R6 libraries
4060 # (-lICE), since we may need -lsocket or whatever for X linking.
4062 if test "$ISC" = yes; then
4063 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4065 # Martyn Johnson says this is needed for Ultrix, if the X
4066 # libraries were built with DECnet support. And Karl Berry says
4067 # the Alpha needs dnet_stub (dnet does not exist).
4068 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4069 cat >conftest.$ac_ext <<_ACEOF
4072 cat confdefs.h >>conftest.$ac_ext
4073 cat >>conftest.$ac_ext <<_ACEOF
4074 /* end confdefs.h. */
4076 /* Override any GCC internal prototype to avoid an error.
4077 Use char because int might match the return type of a GCC
4078 builtin and then its argument prototype would still apply. */
4082 char XOpenDisplay ();
4086 return XOpenDisplay ();
4091 rm -f conftest.$ac_objext conftest$ac_exeext
4092 if { (ac_try="$ac_link"
4094 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4095 *) ac_try_echo
=$ac_try;;
4097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4098 (eval "$ac_link") 2>conftest.er1
4100 grep -v '^ *+' conftest.er1
>conftest.err
4102 cat conftest.err
>&5
4103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4104 (exit $ac_status); } && {
4105 test -z "$ac_c_werror_flag" ||
4106 test ! -s conftest.err
4107 } && test -s conftest
$ac_exeext &&
4108 $as_test_x conftest
$ac_exeext; then
4111 echo "$as_me: failed program was:" >&5
4112 sed 's/^/| /' conftest.
$ac_ext >&5
4114 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4115 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4116 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4117 echo $ECHO_N "(cached) $ECHO_C" >&6
4119 ac_check_lib_save_LIBS
=$LIBS
4121 cat >conftest.
$ac_ext <<_ACEOF
4124 cat confdefs.h
>>conftest.
$ac_ext
4125 cat >>conftest.
$ac_ext <<_ACEOF
4126 /* end confdefs.h. */
4128 /* Override any GCC internal prototype to avoid an error.
4129 Use char because int might match the return type of a GCC
4130 builtin and then its argument prototype would still apply. */
4138 return dnet_ntoa ();
4143 rm -f conftest.
$ac_objext conftest
$ac_exeext
4144 if { (ac_try
="$ac_link"
4146 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4147 *) ac_try_echo=$ac_try;;
4149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4150 (eval "$ac_link") 2>conftest.er1
4152 grep -v '^ *+' conftest.er1 >conftest.err
4154 cat conftest.err >&5
4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4156 (exit $ac_status); } && {
4157 test -z "$ac_c_werror_flag" ||
4158 test ! -s conftest.err
4159 } && test -s conftest$ac_exeext &&
4160 $as_test_x conftest$ac_exeext; then
4161 ac_cv_lib_dnet_dnet_ntoa=yes
4163 echo "$as_me: failed program was:" >&5
4164 sed 's/^/| /' conftest.$ac_ext >&5
4166 ac_cv_lib_dnet_dnet_ntoa=no
4169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4170 conftest$ac_exeext conftest.$ac_ext
4171 LIBS=$ac_check_lib_save_LIBS
4173 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4174 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4175 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4176 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4179 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4180 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4181 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4182 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4183 echo $ECHO_N "(cached) $ECHO_C" >&6
4185 ac_check_lib_save_LIBS=$LIBS
4186 LIBS="-ldnet_stub $LIBS"
4187 cat >conftest.$ac_ext <<_ACEOF
4190 cat confdefs.h >>conftest.$ac_ext
4191 cat >>conftest.$ac_ext <<_ACEOF
4192 /* end confdefs.h. */
4194 /* Override any GCC internal prototype to avoid an error.
4195 Use char because int might match the return type of a GCC
4196 builtin and then its argument prototype would still apply. */
4204 return dnet_ntoa ();
4209 rm -f conftest.$ac_objext conftest$ac_exeext
4210 if { (ac_try="$ac_link"
4212 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4213 *) ac_try_echo
=$ac_try;;
4215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4216 (eval "$ac_link") 2>conftest.er1
4218 grep -v '^ *+' conftest.er1
>conftest.err
4220 cat conftest.err
>&5
4221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4222 (exit $ac_status); } && {
4223 test -z "$ac_c_werror_flag" ||
4224 test ! -s conftest.err
4225 } && test -s conftest
$ac_exeext &&
4226 $as_test_x conftest
$ac_exeext; then
4227 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4229 echo "$as_me: failed program was:" >&5
4230 sed 's/^/| /' conftest.
$ac_ext >&5
4232 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4235 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4236 conftest
$ac_exeext conftest.
$ac_ext
4237 LIBS
=$ac_check_lib_save_LIBS
4239 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4240 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4241 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4242 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4248 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4249 conftest
$ac_exeext conftest.
$ac_ext
4250 LIBS
="$ac_xsave_LIBS"
4252 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4253 # to get the SysV transport functions.
4254 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4256 # The nsl library prevents programs from opening the X display
4257 # on Irix 5.2, according to T.E. Dickey.
4258 # The functions gethostbyname, getservbyname, and inet_addr are
4259 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4260 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4261 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4262 if test "${ac_cv_func_gethostbyname+set}" = set; then
4263 echo $ECHO_N "(cached) $ECHO_C" >&6
4265 cat >conftest.
$ac_ext <<_ACEOF
4268 cat confdefs.h
>>conftest.
$ac_ext
4269 cat >>conftest.
$ac_ext <<_ACEOF
4270 /* end confdefs.h. */
4271 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4273 #define gethostbyname innocuous_gethostbyname
4275 /* System header to define __stub macros and hopefully few prototypes,
4276 which can conflict with char gethostbyname (); below.
4277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4278 <limits.h> exists even on freestanding compilers. */
4281 # include <limits.h>
4283 # include <assert.h>
4286 #undef gethostbyname
4288 /* Override any GCC internal prototype to avoid an error.
4289 Use char because int might match the return type of a GCC
4290 builtin and then its argument prototype would still apply. */
4294 char gethostbyname ();
4295 /* The GNU C library defines this for functions which it implements
4296 to always fail with ENOSYS. Some functions are actually named
4297 something starting with __ and the normal name is an alias. */
4298 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4305 return gethostbyname ();
4310 rm -f conftest.
$ac_objext conftest
$ac_exeext
4311 if { (ac_try
="$ac_link"
4313 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4314 *) ac_try_echo=$ac_try;;
4316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4317 (eval "$ac_link") 2>conftest.er1
4319 grep -v '^ *+' conftest.er1 >conftest.err
4321 cat conftest.err >&5
4322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4323 (exit $ac_status); } && {
4324 test -z "$ac_c_werror_flag" ||
4325 test ! -s conftest.err
4326 } && test -s conftest$ac_exeext &&
4327 $as_test_x conftest$ac_exeext; then
4328 ac_cv_func_gethostbyname=yes
4330 echo "$as_me: failed program was:" >&5
4331 sed 's/^/| /' conftest.$ac_ext >&5
4333 ac_cv_func_gethostbyname=no
4336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4337 conftest$ac_exeext conftest.$ac_ext
4339 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4340 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4342 if test $ac_cv_func_gethostbyname = no; then
4343 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4344 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4345 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4346 echo $ECHO_N "(cached) $ECHO_C" >&6
4348 ac_check_lib_save_LIBS=$LIBS
4350 cat >conftest.$ac_ext <<_ACEOF
4353 cat confdefs.h >>conftest.$ac_ext
4354 cat >>conftest.$ac_ext <<_ACEOF
4355 /* end confdefs.h. */
4357 /* Override any GCC internal prototype to avoid an error.
4358 Use char because int might match the return type of a GCC
4359 builtin and then its argument prototype would still apply. */
4363 char gethostbyname ();
4367 return gethostbyname ();
4372 rm -f conftest.$ac_objext conftest$ac_exeext
4373 if { (ac_try="$ac_link"
4375 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4376 *) ac_try_echo
=$ac_try;;
4378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4379 (eval "$ac_link") 2>conftest.er1
4381 grep -v '^ *+' conftest.er1
>conftest.err
4383 cat conftest.err
>&5
4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385 (exit $ac_status); } && {
4386 test -z "$ac_c_werror_flag" ||
4387 test ! -s conftest.err
4388 } && test -s conftest
$ac_exeext &&
4389 $as_test_x conftest
$ac_exeext; then
4390 ac_cv_lib_nsl_gethostbyname
=yes
4392 echo "$as_me: failed program was:" >&5
4393 sed 's/^/| /' conftest.
$ac_ext >&5
4395 ac_cv_lib_nsl_gethostbyname
=no
4398 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4399 conftest
$ac_exeext conftest.
$ac_ext
4400 LIBS
=$ac_check_lib_save_LIBS
4402 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4403 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4404 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4405 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4408 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4409 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4410 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4411 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4412 echo $ECHO_N "(cached) $ECHO_C" >&6
4414 ac_check_lib_save_LIBS
=$LIBS
4416 cat >conftest.
$ac_ext <<_ACEOF
4419 cat confdefs.h
>>conftest.
$ac_ext
4420 cat >>conftest.
$ac_ext <<_ACEOF
4421 /* end confdefs.h. */
4423 /* Override any GCC internal prototype to avoid an error.
4424 Use char because int might match the return type of a GCC
4425 builtin and then its argument prototype would still apply. */
4429 char gethostbyname ();
4433 return gethostbyname ();
4438 rm -f conftest.
$ac_objext conftest
$ac_exeext
4439 if { (ac_try
="$ac_link"
4441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4442 *) ac_try_echo=$ac_try;;
4444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4445 (eval "$ac_link") 2>conftest.er1
4447 grep -v '^ *+' conftest.er1 >conftest.err
4449 cat conftest.err >&5
4450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4451 (exit $ac_status); } && {
4452 test -z "$ac_c_werror_flag" ||
4453 test ! -s conftest.err
4454 } && test -s conftest$ac_exeext &&
4455 $as_test_x conftest$ac_exeext; then
4456 ac_cv_lib_bsd_gethostbyname=yes
4458 echo "$as_me: failed program was:" >&5
4459 sed 's/^/| /' conftest.$ac_ext >&5
4461 ac_cv_lib_bsd_gethostbyname=no
4464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4465 conftest$ac_exeext conftest.$ac_ext
4466 LIBS=$ac_check_lib_save_LIBS
4468 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4469 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4470 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4471 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4477 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4478 # socket/setsockopt and other routines are undefined under SCO ODT
4479 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4480 # on later versions), says Simon Leinen: it contains gethostby*
4481 # variants that don't use the name server (or something). -lsocket
4482 # must be given before -lnsl if both are needed. We assume that
4483 # if connect needs -lnsl, so does gethostbyname.
4484 { echo "$as_me:$LINENO: checking for connect" >&5
4485 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4486 if test "${ac_cv_func_connect+set}" = set; then
4487 echo $ECHO_N "(cached) $ECHO_C" >&6
4489 cat >conftest.$ac_ext <<_ACEOF
4492 cat confdefs.h >>conftest.$ac_ext
4493 cat >>conftest.$ac_ext <<_ACEOF
4494 /* end confdefs.h. */
4495 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4497 #define connect innocuous_connect
4499 /* System header to define __stub macros and hopefully few prototypes,
4500 which can conflict with char connect (); below.
4501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4502 <limits.h> exists even on freestanding compilers. */
4505 # include <limits.h>
4507 # include <assert.h>
4512 /* Override any GCC internal prototype to avoid an error.
4513 Use char because int might match the return type of a GCC
4514 builtin and then its argument prototype would still apply. */
4519 /* The GNU C library defines this for functions which it implements
4520 to always fail with ENOSYS. Some functions are actually named
4521 something starting with __ and the normal name is an alias. */
4522 #if defined __stub_connect || defined __stub___connect
4534 rm -f conftest.$ac_objext conftest$ac_exeext
4535 if { (ac_try="$ac_link"
4537 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4538 *) ac_try_echo
=$ac_try;;
4540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4541 (eval "$ac_link") 2>conftest.er1
4543 grep -v '^ *+' conftest.er1
>conftest.err
4545 cat conftest.err
>&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); } && {
4548 test -z "$ac_c_werror_flag" ||
4549 test ! -s conftest.err
4550 } && test -s conftest
$ac_exeext &&
4551 $as_test_x conftest
$ac_exeext; then
4552 ac_cv_func_connect
=yes
4554 echo "$as_me: failed program was:" >&5
4555 sed 's/^/| /' conftest.
$ac_ext >&5
4557 ac_cv_func_connect
=no
4560 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4561 conftest
$ac_exeext conftest.
$ac_ext
4563 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4564 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4566 if test $ac_cv_func_connect = no
; then
4567 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4568 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4569 if test "${ac_cv_lib_socket_connect+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4572 ac_check_lib_save_LIBS
=$LIBS
4573 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4574 cat >conftest.
$ac_ext <<_ACEOF
4577 cat confdefs.h
>>conftest.
$ac_ext
4578 cat >>conftest.
$ac_ext <<_ACEOF
4579 /* end confdefs.h. */
4581 /* Override any GCC internal prototype to avoid an error.
4582 Use char because int might match the return type of a GCC
4583 builtin and then its argument prototype would still apply. */
4596 rm -f conftest.
$ac_objext conftest
$ac_exeext
4597 if { (ac_try
="$ac_link"
4599 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4600 *) ac_try_echo=$ac_try;;
4602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4603 (eval "$ac_link") 2>conftest.er1
4605 grep -v '^ *+' conftest.er1 >conftest.err
4607 cat conftest.err >&5
4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609 (exit $ac_status); } && {
4610 test -z "$ac_c_werror_flag" ||
4611 test ! -s conftest.err
4612 } && test -s conftest$ac_exeext &&
4613 $as_test_x conftest$ac_exeext; then
4614 ac_cv_lib_socket_connect=yes
4616 echo "$as_me: failed program was:" >&5
4617 sed 's/^/| /' conftest.$ac_ext >&5
4619 ac_cv_lib_socket_connect=no
4622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4623 conftest$ac_exeext conftest.$ac_ext
4624 LIBS=$ac_check_lib_save_LIBS
4626 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4627 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4628 if test $ac_cv_lib_socket_connect = yes; then
4629 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4634 # Guillermo Gomez says -lposix is necessary on A/UX.
4635 { echo "$as_me:$LINENO: checking for remove" >&5
4636 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4637 if test "${ac_cv_func_remove+set}" = set; then
4638 echo $ECHO_N "(cached) $ECHO_C" >&6
4640 cat >conftest.$ac_ext <<_ACEOF
4643 cat confdefs.h >>conftest.$ac_ext
4644 cat >>conftest.$ac_ext <<_ACEOF
4645 /* end confdefs.h. */
4646 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4648 #define remove innocuous_remove
4650 /* System header to define __stub macros and hopefully few prototypes,
4651 which can conflict with char remove (); below.
4652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4653 <limits.h> exists even on freestanding compilers. */
4656 # include <limits.h>
4658 # include <assert.h>
4663 /* Override any GCC internal prototype to avoid an error.
4664 Use char because int might match the return type of a GCC
4665 builtin and then its argument prototype would still apply. */
4670 /* The GNU C library defines this for functions which it implements
4671 to always fail with ENOSYS. Some functions are actually named
4672 something starting with __ and the normal name is an alias. */
4673 #if defined __stub_remove || defined __stub___remove
4685 rm -f conftest.$ac_objext conftest$ac_exeext
4686 if { (ac_try="$ac_link"
4688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4689 *) ac_try_echo
=$ac_try;;
4691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4692 (eval "$ac_link") 2>conftest.er1
4694 grep -v '^ *+' conftest.er1
>conftest.err
4696 cat conftest.err
>&5
4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698 (exit $ac_status); } && {
4699 test -z "$ac_c_werror_flag" ||
4700 test ! -s conftest.err
4701 } && test -s conftest
$ac_exeext &&
4702 $as_test_x conftest
$ac_exeext; then
4703 ac_cv_func_remove
=yes
4705 echo "$as_me: failed program was:" >&5
4706 sed 's/^/| /' conftest.
$ac_ext >&5
4708 ac_cv_func_remove
=no
4711 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4712 conftest
$ac_exeext conftest.
$ac_ext
4714 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4715 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4717 if test $ac_cv_func_remove = no
; then
4718 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4719 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4720 if test "${ac_cv_lib_posix_remove+set}" = set; then
4721 echo $ECHO_N "(cached) $ECHO_C" >&6
4723 ac_check_lib_save_LIBS
=$LIBS
4724 LIBS
="-lposix $LIBS"
4725 cat >conftest.
$ac_ext <<_ACEOF
4728 cat confdefs.h
>>conftest.
$ac_ext
4729 cat >>conftest.
$ac_ext <<_ACEOF
4730 /* end confdefs.h. */
4732 /* Override any GCC internal prototype to avoid an error.
4733 Use char because int might match the return type of a GCC
4734 builtin and then its argument prototype would still apply. */
4747 rm -f conftest.
$ac_objext conftest
$ac_exeext
4748 if { (ac_try
="$ac_link"
4750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4751 *) ac_try_echo=$ac_try;;
4753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4754 (eval "$ac_link") 2>conftest.er1
4756 grep -v '^ *+' conftest.er1 >conftest.err
4758 cat conftest.err >&5
4759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760 (exit $ac_status); } && {
4761 test -z "$ac_c_werror_flag" ||
4762 test ! -s conftest.err
4763 } && test -s conftest$ac_exeext &&
4764 $as_test_x conftest$ac_exeext; then
4765 ac_cv_lib_posix_remove=yes
4767 echo "$as_me: failed program was:" >&5
4768 sed 's/^/| /' conftest.$ac_ext >&5
4770 ac_cv_lib_posix_remove=no
4773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4774 conftest$ac_exeext conftest.$ac_ext
4775 LIBS=$ac_check_lib_save_LIBS
4777 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4778 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4779 if test $ac_cv_lib_posix_remove = yes; then
4780 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4785 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4786 { echo "$as_me:$LINENO: checking for shmat" >&5
4787 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4788 if test "${ac_cv_func_shmat+set}" = set; then
4789 echo $ECHO_N "(cached) $ECHO_C" >&6
4791 cat >conftest.$ac_ext <<_ACEOF
4794 cat confdefs.h >>conftest.$ac_ext
4795 cat >>conftest.$ac_ext <<_ACEOF
4796 /* end confdefs.h. */
4797 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4799 #define shmat innocuous_shmat
4801 /* System header to define __stub macros and hopefully few prototypes,
4802 which can conflict with char shmat (); below.
4803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4804 <limits.h> exists even on freestanding compilers. */
4807 # include <limits.h>
4809 # include <assert.h>
4814 /* Override any GCC internal prototype to avoid an error.
4815 Use char because int might match the return type of a GCC
4816 builtin and then its argument prototype would still apply. */
4821 /* The GNU C library defines this for functions which it implements
4822 to always fail with ENOSYS. Some functions are actually named
4823 something starting with __ and the normal name is an alias. */
4824 #if defined __stub_shmat || defined __stub___shmat
4836 rm -f conftest.$ac_objext conftest$ac_exeext
4837 if { (ac_try="$ac_link"
4839 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4840 *) ac_try_echo
=$ac_try;;
4842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4843 (eval "$ac_link") 2>conftest.er1
4845 grep -v '^ *+' conftest.er1
>conftest.err
4847 cat conftest.err
>&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); } && {
4850 test -z "$ac_c_werror_flag" ||
4851 test ! -s conftest.err
4852 } && test -s conftest
$ac_exeext &&
4853 $as_test_x conftest
$ac_exeext; then
4854 ac_cv_func_shmat
=yes
4856 echo "$as_me: failed program was:" >&5
4857 sed 's/^/| /' conftest.
$ac_ext >&5
4862 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4863 conftest
$ac_exeext conftest.
$ac_ext
4865 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4866 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4868 if test $ac_cv_func_shmat = no
; then
4869 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4870 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4871 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4872 echo $ECHO_N "(cached) $ECHO_C" >&6
4874 ac_check_lib_save_LIBS
=$LIBS
4876 cat >conftest.
$ac_ext <<_ACEOF
4879 cat confdefs.h
>>conftest.
$ac_ext
4880 cat >>conftest.
$ac_ext <<_ACEOF
4881 /* end confdefs.h. */
4883 /* Override any GCC internal prototype to avoid an error.
4884 Use char because int might match the return type of a GCC
4885 builtin and then its argument prototype would still apply. */
4898 rm -f conftest.
$ac_objext conftest
$ac_exeext
4899 if { (ac_try
="$ac_link"
4901 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4902 *) ac_try_echo=$ac_try;;
4904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4905 (eval "$ac_link") 2>conftest.er1
4907 grep -v '^ *+' conftest.er1 >conftest.err
4909 cat conftest.err >&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); } && {
4912 test -z "$ac_c_werror_flag" ||
4913 test ! -s conftest.err
4914 } && test -s conftest$ac_exeext &&
4915 $as_test_x conftest$ac_exeext; then
4916 ac_cv_lib_ipc_shmat=yes
4918 echo "$as_me: failed program was:" >&5
4919 sed 's/^/| /' conftest.$ac_ext >&5
4921 ac_cv_lib_ipc_shmat=no
4924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4925 conftest$ac_exeext conftest.$ac_ext
4926 LIBS=$ac_check_lib_save_LIBS
4928 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4929 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4930 if test $ac_cv_lib_ipc_shmat = yes; then
4931 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4937 # Check for libraries that X11R6 Xt/Xaw programs need.
4938 ac_save_LDFLAGS=$LDFLAGS
4939 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4940 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4941 # check for ICE first), but we must link in the order -lSM -lICE or
4942 # we get undefined symbols. So assume we have SM if we have ICE.
4943 # These have to be linked with before -lX11, unlike the other
4944 # libraries we check for below, so use a different variable.
4945 # John Interrante, Karl Berry
4946 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4947 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4948 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4949 echo $ECHO_N "(cached) $ECHO_C" >&6
4951 ac_check_lib_save_LIBS=$LIBS
4952 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4953 cat >conftest.$ac_ext <<_ACEOF
4956 cat confdefs.h >>conftest.$ac_ext
4957 cat >>conftest.$ac_ext <<_ACEOF
4958 /* end confdefs.h. */
4960 /* Override any GCC internal prototype to avoid an error.
4961 Use char because int might match the return type of a GCC
4962 builtin and then its argument prototype would still apply. */
4966 char IceConnectionNumber ();
4970 return IceConnectionNumber ();
4975 rm -f conftest.$ac_objext conftest$ac_exeext
4976 if { (ac_try="$ac_link"
4978 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4979 *) ac_try_echo
=$ac_try;;
4981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4982 (eval "$ac_link") 2>conftest.er1
4984 grep -v '^ *+' conftest.er1
>conftest.err
4986 cat conftest.err
>&5
4987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988 (exit $ac_status); } && {
4989 test -z "$ac_c_werror_flag" ||
4990 test ! -s conftest.err
4991 } && test -s conftest
$ac_exeext &&
4992 $as_test_x conftest
$ac_exeext; then
4993 ac_cv_lib_ICE_IceConnectionNumber
=yes
4995 echo "$as_me: failed program was:" >&5
4996 sed 's/^/| /' conftest.
$ac_ext >&5
4998 ac_cv_lib_ICE_IceConnectionNumber
=no
5001 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5002 conftest
$ac_exeext conftest.
$ac_ext
5003 LIBS
=$ac_check_lib_save_LIBS
5005 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5006 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5007 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5008 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5011 LDFLAGS
=$ac_save_LDFLAGS
5018 # Extract the first word of "$ac_prog", so it can be a program name with args.
5019 set dummy
$ac_prog; ac_word
=$2
5020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5022 if test "${ac_cv_prog_FLEX+set}" = set; then
5023 echo $ECHO_N "(cached) $ECHO_C" >&6
5025 if test -n "$FLEX"; then
5026 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5032 test -z "$as_dir" && as_dir
=.
5033 for ac_exec_ext
in '' $ac_executable_extensions; do
5034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5035 ac_cv_prog_FLEX
="$ac_prog"
5036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5045 FLEX
=$ac_cv_prog_FLEX
5046 if test -n "$FLEX"; then
5047 { echo "$as_me:$LINENO: result: $FLEX" >&5
5048 echo "${ECHO_T}$FLEX" >&6; }
5050 { echo "$as_me:$LINENO: result: no" >&5
5051 echo "${ECHO_T}no" >&6; }
5055 test -n "$FLEX" && break
5057 test -n "$FLEX" || FLEX
="none"
5059 if test "$FLEX" = "none"
5061 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5062 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5063 { (exit 1); exit 1; }; }
5066 for ac_prog
in bison
5068 # Extract the first word of "$ac_prog", so it can be a program name with args.
5069 set dummy
$ac_prog; ac_word
=$2
5070 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5072 if test "${ac_cv_prog_BISON+set}" = set; then
5073 echo $ECHO_N "(cached) $ECHO_C" >&6
5075 if test -n "$BISON"; then
5076 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5082 test -z "$as_dir" && as_dir
=.
5083 for ac_exec_ext
in '' $ac_executable_extensions; do
5084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5085 ac_cv_prog_BISON
="$ac_prog"
5086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5095 BISON
=$ac_cv_prog_BISON
5096 if test -n "$BISON"; then
5097 { echo "$as_me:$LINENO: result: $BISON" >&5
5098 echo "${ECHO_T}$BISON" >&6; }
5100 { echo "$as_me:$LINENO: result: no" >&5
5101 echo "${ECHO_T}no" >&6; }
5105 test -n "$BISON" && break
5107 test -n "$BISON" || BISON
="none"
5109 if test "$BISON" = "none"
5111 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5112 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5113 { (exit 1); exit 1; }; }
5116 if test -n "$ac_tool_prefix"; then
5117 for ac_prog
in gas as
5119 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5120 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5123 if test "${ac_cv_prog_AS+set}" = set; then
5124 echo $ECHO_N "(cached) $ECHO_C" >&6
5126 if test -n "$AS"; then
5127 ac_cv_prog_AS
="$AS" # Let the user override the test.
5129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5133 test -z "$as_dir" && as_dir
=.
5134 for ac_exec_ext
in '' $ac_executable_extensions; do
5135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5136 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5147 if test -n "$AS"; then
5148 { echo "$as_me:$LINENO: result: $AS" >&5
5149 echo "${ECHO_T}$AS" >&6; }
5151 { echo "$as_me:$LINENO: result: no" >&5
5152 echo "${ECHO_T}no" >&6; }
5156 test -n "$AS" && break
5159 if test -z "$AS"; then
5161 for ac_prog
in gas as
5163 # Extract the first word of "$ac_prog", so it can be a program name with args.
5164 set dummy
$ac_prog; ac_word
=$2
5165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5167 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5168 echo $ECHO_N "(cached) $ECHO_C" >&6
5170 if test -n "$ac_ct_AS"; then
5171 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5177 test -z "$as_dir" && as_dir
=.
5178 for ac_exec_ext
in '' $ac_executable_extensions; do
5179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5180 ac_cv_prog_ac_ct_AS
="$ac_prog"
5181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5190 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5191 if test -n "$ac_ct_AS"; then
5192 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5193 echo "${ECHO_T}$ac_ct_AS" >&6; }
5195 { echo "$as_me:$LINENO: result: no" >&5
5196 echo "${ECHO_T}no" >&6; }
5200 test -n "$ac_ct_AS" && break
5203 if test "x$ac_ct_AS" = x
; then
5206 case $cross_compiling:$ac_tool_warned in
5208 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5209 whose name does not start with the host triplet. If you think this
5210 configuration is useful to you, please write to autoconf@gnu.org." >&5
5211 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5212 whose name does not start with the host triplet. If you think this
5213 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5214 ac_tool_warned
=yes ;;
5220 if test -n "$ac_tool_prefix"; then
5221 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5222 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5223 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5225 if test "${ac_cv_prog_LD+set}" = set; then
5226 echo $ECHO_N "(cached) $ECHO_C" >&6
5228 if test -n "$LD"; then
5229 ac_cv_prog_LD
="$LD" # Let the user override the test.
5231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5235 test -z "$as_dir" && as_dir
=.
5236 for ac_exec_ext
in '' $ac_executable_extensions; do
5237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5238 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5249 if test -n "$LD"; then
5250 { echo "$as_me:$LINENO: result: $LD" >&5
5251 echo "${ECHO_T}$LD" >&6; }
5253 { echo "$as_me:$LINENO: result: no" >&5
5254 echo "${ECHO_T}no" >&6; }
5259 if test -z "$ac_cv_prog_LD"; then
5261 # Extract the first word of "ld", so it can be a program name with args.
5262 set dummy ld
; ac_word
=$2
5263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5265 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5266 echo $ECHO_N "(cached) $ECHO_C" >&6
5268 if test -n "$ac_ct_LD"; then
5269 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5275 test -z "$as_dir" && as_dir
=.
5276 for ac_exec_ext
in '' $ac_executable_extensions; do
5277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5278 ac_cv_prog_ac_ct_LD
="ld"
5279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5288 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5289 if test -n "$ac_ct_LD"; then
5290 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5291 echo "${ECHO_T}$ac_ct_LD" >&6; }
5293 { echo "$as_me:$LINENO: result: no" >&5
5294 echo "${ECHO_T}no" >&6; }
5297 if test "x$ac_ct_LD" = x
; then
5300 case $cross_compiling:$ac_tool_warned in
5302 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5303 whose name does not start with the host triplet. If you think this
5304 configuration is useful to you, please write to autoconf@gnu.org." >&5
5305 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5306 whose name does not start with the host triplet. If you think this
5307 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5308 ac_tool_warned
=yes ;;
5316 if test -n "$ac_tool_prefix"; then
5317 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5318 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5321 if test "${ac_cv_prog_AR+set}" = set; then
5322 echo $ECHO_N "(cached) $ECHO_C" >&6
5324 if test -n "$AR"; then
5325 ac_cv_prog_AR
="$AR" # Let the user override the test.
5327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5331 test -z "$as_dir" && as_dir
=.
5332 for ac_exec_ext
in '' $ac_executable_extensions; do
5333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5334 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5345 if test -n "$AR"; then
5346 { echo "$as_me:$LINENO: result: $AR" >&5
5347 echo "${ECHO_T}$AR" >&6; }
5349 { echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6; }
5355 if test -z "$ac_cv_prog_AR"; then
5357 # Extract the first word of "ar", so it can be a program name with args.
5358 set dummy
ar; ac_word
=$2
5359 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5361 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5362 echo $ECHO_N "(cached) $ECHO_C" >&6
5364 if test -n "$ac_ct_AR"; then
5365 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5371 test -z "$as_dir" && as_dir
=.
5372 for ac_exec_ext
in '' $ac_executable_extensions; do
5373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5374 ac_cv_prog_ac_ct_AR
="ar"
5375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5384 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5385 if test -n "$ac_ct_AR"; then
5386 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5387 echo "${ECHO_T}$ac_ct_AR" >&6; }
5389 { echo "$as_me:$LINENO: result: no" >&5
5390 echo "${ECHO_T}no" >&6; }
5393 if test "x$ac_ct_AR" = x
; then
5396 case $cross_compiling:$ac_tool_warned in
5398 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5399 whose name does not start with the host triplet. If you think this
5400 configuration is useful to you, please write to autoconf@gnu.org." >&5
5401 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5402 whose name does not start with the host triplet. If you think this
5403 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5404 ac_tool_warned
=yes ;;
5412 if test -n "$ac_tool_prefix"; then
5413 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5414 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5417 if test "${ac_cv_prog_RANLIB+set}" = set; then
5418 echo $ECHO_N "(cached) $ECHO_C" >&6
5420 if test -n "$RANLIB"; then
5421 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5427 test -z "$as_dir" && as_dir
=.
5428 for ac_exec_ext
in '' $ac_executable_extensions; do
5429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5430 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5440 RANLIB
=$ac_cv_prog_RANLIB
5441 if test -n "$RANLIB"; then
5442 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5443 echo "${ECHO_T}$RANLIB" >&6; }
5445 { echo "$as_me:$LINENO: result: no" >&5
5446 echo "${ECHO_T}no" >&6; }
5451 if test -z "$ac_cv_prog_RANLIB"; then
5452 ac_ct_RANLIB
=$RANLIB
5453 # Extract the first word of "ranlib", so it can be a program name with args.
5454 set dummy ranlib
; ac_word
=$2
5455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5457 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5458 echo $ECHO_N "(cached) $ECHO_C" >&6
5460 if test -n "$ac_ct_RANLIB"; then
5461 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5467 test -z "$as_dir" && as_dir
=.
5468 for ac_exec_ext
in '' $ac_executable_extensions; do
5469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5470 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5480 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5481 if test -n "$ac_ct_RANLIB"; then
5482 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5483 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5485 { echo "$as_me:$LINENO: result: no" >&5
5486 echo "${ECHO_T}no" >&6; }
5489 if test "x$ac_ct_RANLIB" = x
; then
5492 case $cross_compiling:$ac_tool_warned in
5494 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5495 whose name does not start with the host triplet. If you think this
5496 configuration is useful to you, please write to autoconf@gnu.org." >&5
5497 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5498 whose name does not start with the host triplet. If you think this
5499 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5500 ac_tool_warned
=yes ;;
5502 RANLIB
=$ac_ct_RANLIB
5505 RANLIB
="$ac_cv_prog_RANLIB"
5508 if test -n "$ac_tool_prefix"; then
5509 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5510 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5511 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5513 if test "${ac_cv_prog_STRIP+set}" = set; then
5514 echo $ECHO_N "(cached) $ECHO_C" >&6
5516 if test -n "$STRIP"; then
5517 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5523 test -z "$as_dir" && as_dir
=.
5524 for ac_exec_ext
in '' $ac_executable_extensions; do
5525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5526 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5536 STRIP
=$ac_cv_prog_STRIP
5537 if test -n "$STRIP"; then
5538 { echo "$as_me:$LINENO: result: $STRIP" >&5
5539 echo "${ECHO_T}$STRIP" >&6; }
5541 { echo "$as_me:$LINENO: result: no" >&5
5542 echo "${ECHO_T}no" >&6; }
5547 if test -z "$ac_cv_prog_STRIP"; then
5549 # Extract the first word of "strip", so it can be a program name with args.
5550 set dummy strip
; ac_word
=$2
5551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5553 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5554 echo $ECHO_N "(cached) $ECHO_C" >&6
5556 if test -n "$ac_ct_STRIP"; then
5557 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5563 test -z "$as_dir" && as_dir
=.
5564 for ac_exec_ext
in '' $ac_executable_extensions; do
5565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5566 ac_cv_prog_ac_ct_STRIP
="strip"
5567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5576 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5577 if test -n "$ac_ct_STRIP"; then
5578 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5579 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5581 { echo "$as_me:$LINENO: result: no" >&5
5582 echo "${ECHO_T}no" >&6; }
5585 if test "x$ac_ct_STRIP" = x
; then
5588 case $cross_compiling:$ac_tool_warned in
5590 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5591 whose name does not start with the host triplet. If you think this
5592 configuration is useful to you, please write to autoconf@gnu.org." >&5
5593 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5594 whose name does not start with the host triplet. If you think this
5595 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5596 ac_tool_warned
=yes ;;
5601 STRIP
="$ac_cv_prog_STRIP"
5604 if test -n "$ac_tool_prefix"; then
5605 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5606 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5607 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5609 if test "${ac_cv_prog_WINDRES+set}" = set; then
5610 echo $ECHO_N "(cached) $ECHO_C" >&6
5612 if test -n "$WINDRES"; then
5613 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5619 test -z "$as_dir" && as_dir
=.
5620 for ac_exec_ext
in '' $ac_executable_extensions; do
5621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5622 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5632 WINDRES
=$ac_cv_prog_WINDRES
5633 if test -n "$WINDRES"; then
5634 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5635 echo "${ECHO_T}$WINDRES" >&6; }
5637 { echo "$as_me:$LINENO: result: no" >&5
5638 echo "${ECHO_T}no" >&6; }
5643 if test -z "$ac_cv_prog_WINDRES"; then
5644 ac_ct_WINDRES
=$WINDRES
5645 # Extract the first word of "windres", so it can be a program name with args.
5646 set dummy windres
; ac_word
=$2
5647 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5649 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5650 echo $ECHO_N "(cached) $ECHO_C" >&6
5652 if test -n "$ac_ct_WINDRES"; then
5653 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5659 test -z "$as_dir" && as_dir
=.
5660 for ac_exec_ext
in '' $ac_executable_extensions; do
5661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5662 ac_cv_prog_ac_ct_WINDRES
="windres"
5663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5672 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5673 if test -n "$ac_ct_WINDRES"; then
5674 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5675 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5677 { echo "$as_me:$LINENO: result: no" >&5
5678 echo "${ECHO_T}no" >&6; }
5681 if test "x$ac_ct_WINDRES" = x
; then
5684 case $cross_compiling:$ac_tool_warned in
5686 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5687 whose name does not start with the host triplet. If you think this
5688 configuration is useful to you, please write to autoconf@gnu.org." >&5
5689 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5690 whose name does not start with the host triplet. If you think this
5691 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5692 ac_tool_warned
=yes ;;
5694 WINDRES
=$ac_ct_WINDRES
5697 WINDRES
="$ac_cv_prog_WINDRES"
5700 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5701 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5703 if test "$LN_S" = "ln -s"; then
5704 { echo "$as_me:$LINENO: result: yes" >&5
5705 echo "${ECHO_T}yes" >&6; }
5707 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5708 echo "${ECHO_T}no, using $LN_S" >&6; }
5711 { echo "$as_me:$LINENO: checking whether ln works" >&5
5712 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5713 rm -f conf$$ conf$$.
file
5715 if ln conf$$.
file conf$$
2>/dev
/null
; then
5718 { echo "$as_me:$LINENO: result: yes" >&5
5719 echo "${ECHO_T}yes" >&6; }
5723 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5724 echo "${ECHO_T}no, using $LN" >&6; }
5726 rm -f conf$$ conf$$.
file
5727 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5728 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5729 if test "${ac_cv_path_GREP+set}" = set; then
5730 echo $ECHO_N "(cached) $ECHO_C" >&6
5732 # Extract the first word of "grep ggrep" to use in msg output
5733 if test -z "$GREP"; then
5734 set dummy
grep ggrep
; ac_prog_name
=$2
5735 if test "${ac_cv_path_GREP+set}" = set; then
5736 echo $ECHO_N "(cached) $ECHO_C" >&6
5738 ac_path_GREP_found
=false
5739 # Loop through the user's path and test for each of PROGNAME-LIST
5740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5741 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5744 test -z "$as_dir" && as_dir
=.
5745 for ac_prog
in grep ggrep
; do
5746 for ac_exec_ext
in '' $ac_executable_extensions; do
5747 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5748 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5749 # Check for GNU ac_path_GREP and select it if it is found.
5750 # Check for GNU $ac_path_GREP
5751 case `"$ac_path_GREP" --version 2>&1` in
5753 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5756 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5759 cat "conftest.in" "conftest.in" >"conftest.tmp"
5760 mv "conftest.tmp" "conftest.in"
5761 cp "conftest.in" "conftest.nl"
5762 echo 'GREP' >> "conftest.nl"
5763 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5764 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5765 ac_count
=`expr $ac_count + 1`
5766 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5767 # Best one so far, save it but keep looking for a better one
5768 ac_cv_path_GREP
="$ac_path_GREP"
5769 ac_path_GREP_max
=$ac_count
5771 # 10*(2^10) chars as input seems more than enough
5772 test $ac_count -gt 10 && break
5774 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5778 $ac_path_GREP_found && break 3
5788 GREP
="$ac_cv_path_GREP"
5789 if test -z "$GREP"; then
5790 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5791 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5792 { (exit 1); exit 1; }; }
5796 ac_cv_path_GREP
=$GREP
5801 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5802 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5803 GREP
="$ac_cv_path_GREP"
5806 { echo "$as_me:$LINENO: checking for egrep" >&5
5807 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5808 if test "${ac_cv_path_EGREP+set}" = set; then
5809 echo $ECHO_N "(cached) $ECHO_C" >&6
5811 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5812 then ac_cv_path_EGREP
="$GREP -E"
5814 # Extract the first word of "egrep" to use in msg output
5815 if test -z "$EGREP"; then
5816 set dummy
egrep; ac_prog_name
=$2
5817 if test "${ac_cv_path_EGREP+set}" = set; then
5818 echo $ECHO_N "(cached) $ECHO_C" >&6
5820 ac_path_EGREP_found
=false
5821 # Loop through the user's path and test for each of PROGNAME-LIST
5822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5823 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5826 test -z "$as_dir" && as_dir
=.
5827 for ac_prog
in egrep; do
5828 for ac_exec_ext
in '' $ac_executable_extensions; do
5829 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5830 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5831 # Check for GNU ac_path_EGREP and select it if it is found.
5832 # Check for GNU $ac_path_EGREP
5833 case `"$ac_path_EGREP" --version 2>&1` in
5835 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5838 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5841 cat "conftest.in" "conftest.in" >"conftest.tmp"
5842 mv "conftest.tmp" "conftest.in"
5843 cp "conftest.in" "conftest.nl"
5844 echo 'EGREP' >> "conftest.nl"
5845 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5846 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5847 ac_count
=`expr $ac_count + 1`
5848 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5849 # Best one so far, save it but keep looking for a better one
5850 ac_cv_path_EGREP
="$ac_path_EGREP"
5851 ac_path_EGREP_max
=$ac_count
5853 # 10*(2^10) chars as input seems more than enough
5854 test $ac_count -gt 10 && break
5856 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5860 $ac_path_EGREP_found && break 3
5870 EGREP
="$ac_cv_path_EGREP"
5871 if test -z "$EGREP"; then
5872 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5873 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5874 { (exit 1); exit 1; }; }
5878 ac_cv_path_EGREP
=$EGREP
5884 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5885 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5886 EGREP
="$ac_cv_path_EGREP"
5889 # Extract the first word of "ldconfig", so it can be a program name with args.
5890 set dummy ldconfig
; ac_word
=$2
5891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5893 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5894 echo $ECHO_N "(cached) $ECHO_C" >&6
5898 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5902 for as_dir
in /sbin
/usr
/sbin
$PATH
5905 test -z "$as_dir" && as_dir
=.
5906 for ac_exec_ext
in '' $ac_executable_extensions; do
5907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5908 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5916 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5920 LDCONFIG
=$ac_cv_path_LDCONFIG
5921 if test -n "$LDCONFIG"; then
5922 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5923 echo "${ECHO_T}$LDCONFIG" >&6; }
5925 { echo "$as_me:$LINENO: result: no" >&5
5926 echo "${ECHO_T}no" >&6; }
5930 # Find a good install program. We prefer a C program (faster),
5931 # so one script is as good as another. But avoid the broken or
5932 # incompatible versions:
5933 # SysV /etc/install, /usr/sbin/install
5934 # SunOS /usr/etc/install
5935 # IRIX /sbin/install
5937 # AmigaOS /C/install, which installs bootblocks on floppy discs
5938 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5939 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5940 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5941 # OS/2's system install, which has a completely different semantic
5942 # ./install, which can be erroneously created by make from ./install.sh.
5943 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5944 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5945 if test -z "$INSTALL"; then
5946 if test "${ac_cv_path_install+set}" = set; then
5947 echo $ECHO_N "(cached) $ECHO_C" >&6
5949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5953 test -z "$as_dir" && as_dir
=.
5954 # Account for people who put trailing slashes in PATH elements.
5956 .
/ | .
// |
/cC
/* | \
5957 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5958 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5961 # OSF1 and SCO ODT 3.0 have their own names for install.
5962 # Don't use installbsd from OSF since it installs stuff as root
5964 for ac_prog
in ginstall scoinst
install; do
5965 for ac_exec_ext
in '' $ac_executable_extensions; do
5966 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5967 if test $ac_prog = install &&
5968 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5969 # AIX install. It has an incompatible calling convention.
5971 elif test $ac_prog = install &&
5972 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5973 # program-specific install script used by HP pwplus--don't use.
5976 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5989 if test "${ac_cv_path_install+set}" = set; then
5990 INSTALL
=$ac_cv_path_install
5992 # As a last resort, use the slow shell script. Don't cache a
5993 # value for INSTALL within a source directory, because that will
5994 # break other packages using the cache if that directory is
5995 # removed, or if the value is a relative name.
5996 INSTALL
=$ac_install_sh
5999 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6000 echo "${ECHO_T}$INSTALL" >&6; }
6002 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6003 # It thinks the first close brace ends the variable substitution.
6004 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6006 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6008 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6011 [\\/$
]* | ?
:[\\/]* ) ;;
6012 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6015 for ac_prog
in lclint lint
6017 # Extract the first word of "$ac_prog", so it can be a program name with args.
6018 set dummy
$ac_prog; ac_word
=$2
6019 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6021 if test "${ac_cv_prog_LINT+set}" = set; then
6022 echo $ECHO_N "(cached) $ECHO_C" >&6
6024 if test -n "$LINT"; then
6025 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6031 test -z "$as_dir" && as_dir
=.
6032 for ac_exec_ext
in '' $ac_executable_extensions; do
6033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6034 ac_cv_prog_LINT
="$ac_prog"
6035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6044 LINT
=$ac_cv_prog_LINT
6045 if test -n "$LINT"; then
6046 { echo "$as_me:$LINENO: result: $LINT" >&5
6047 echo "${ECHO_T}$LINT" >&6; }
6049 { echo "$as_me:$LINENO: result: no" >&5
6050 echo "${ECHO_T}no" >&6; }
6054 test -n "$LINT" && break
6057 if test "$LINT" = "lint"
6059 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6064 for ac_prog
in fontforge
6066 # Extract the first word of "$ac_prog", so it can be a program name with args.
6067 set dummy
$ac_prog; ac_word
=$2
6068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6070 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6071 echo $ECHO_N "(cached) $ECHO_C" >&6
6073 if test -n "$FONTFORGE"; then
6074 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6080 test -z "$as_dir" && as_dir
=.
6081 for ac_exec_ext
in '' $ac_executable_extensions; do
6082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6083 ac_cv_prog_FONTFORGE
="$ac_prog"
6084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6093 FONTFORGE
=$ac_cv_prog_FONTFORGE
6094 if test -n "$FONTFORGE"; then
6095 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6096 echo "${ECHO_T}$FONTFORGE" >&6; }
6098 { echo "$as_me:$LINENO: result: no" >&5
6099 echo "${ECHO_T}no" >&6; }
6103 test -n "$FONTFORGE" && break
6105 test -n "$FONTFORGE" || FONTFORGE
="false"
6107 for ac_prog
in pkg-config
6109 # Extract the first word of "$ac_prog", so it can be a program name with args.
6110 set dummy
$ac_prog; ac_word
=$2
6111 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6113 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6114 echo $ECHO_N "(cached) $ECHO_C" >&6
6116 if test -n "$PKG_CONFIG"; then
6117 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6123 test -z "$as_dir" && as_dir
=.
6124 for ac_exec_ext
in '' $ac_executable_extensions; do
6125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6126 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6136 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6137 if test -n "$PKG_CONFIG"; then
6138 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6139 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6141 { echo "$as_me:$LINENO: result: no" >&5
6142 echo "${ECHO_T}no" >&6; }
6146 test -n "$PKG_CONFIG" && break
6148 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6153 # Extract the first word of "prelink", so it can be a program name with args.
6154 set dummy prelink
; ac_word
=$2
6155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6157 if test "${ac_cv_path_PRELINK+set}" = set; then
6158 echo $ECHO_N "(cached) $ECHO_C" >&6
6162 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6166 for as_dir
in /sbin
/usr
/sbin
$PATH
6169 test -z "$as_dir" && as_dir
=.
6170 for ac_exec_ext
in '' $ac_executable_extensions; do
6171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6172 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6180 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6184 PRELINK
=$ac_cv_path_PRELINK
6185 if test -n "$PRELINK"; then
6186 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6187 echo "${ECHO_T}$PRELINK" >&6; }
6189 { echo "$as_me:$LINENO: result: no" >&5
6190 echo "${ECHO_T}no" >&6; }
6199 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6200 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6201 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6202 echo $ECHO_N "(cached) $ECHO_C" >&6
6204 ac_check_lib_save_LIBS
=$LIBS
6206 cat >conftest.
$ac_ext <<_ACEOF
6209 cat confdefs.h
>>conftest.
$ac_ext
6210 cat >>conftest.
$ac_ext <<_ACEOF
6211 /* end confdefs.h. */
6213 /* Override any GCC internal prototype to avoid an error.
6214 Use char because int might match the return type of a GCC
6215 builtin and then its argument prototype would still apply. */
6219 char i386_set_ldt ();
6223 return i386_set_ldt ();
6228 rm -f conftest.
$ac_objext conftest
$ac_exeext
6229 if { (ac_try
="$ac_link"
6231 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6232 *) ac_try_echo=$ac_try;;
6234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6235 (eval "$ac_link") 2>conftest.er1
6237 grep -v '^ *+' conftest.er1 >conftest.err
6239 cat conftest.err >&5
6240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6241 (exit $ac_status); } && {
6242 test -z "$ac_c_werror_flag" ||
6243 test ! -s conftest.err
6244 } && test -s conftest$ac_exeext &&
6245 $as_test_x conftest$ac_exeext; then
6246 ac_cv_lib_i386_i386_set_ldt=yes
6248 echo "$as_me: failed program was:" >&5
6249 sed 's/^/| /' conftest.$ac_ext >&5
6251 ac_cv_lib_i386_i386_set_ldt=no
6254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6255 conftest$ac_exeext conftest.$ac_ext
6256 LIBS=$ac_check_lib_save_LIBS
6258 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6259 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6260 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6261 cat >>confdefs.h <<_ACEOF
6262 #define HAVE_LIBI386 1
6270 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6271 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6272 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6273 echo $ECHO_N "(cached) $ECHO_C" >&6
6275 ac_check_lib_save_LIBS=$LIBS
6276 LIBS="-lossaudio $LIBS"
6277 cat >conftest.$ac_ext <<_ACEOF
6280 cat confdefs.h >>conftest.$ac_ext
6281 cat >>conftest.$ac_ext <<_ACEOF
6282 /* end confdefs.h. */
6284 /* Override any GCC internal prototype to avoid an error.
6285 Use char because int might match the return type of a GCC
6286 builtin and then its argument prototype would still apply. */
6294 return _oss_ioctl ();
6299 rm -f conftest.$ac_objext conftest$ac_exeext
6300 if { (ac_try="$ac_link"
6302 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6303 *) ac_try_echo
=$ac_try;;
6305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6306 (eval "$ac_link") 2>conftest.er1
6308 grep -v '^ *+' conftest.er1
>conftest.err
6310 cat conftest.err
>&5
6311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6312 (exit $ac_status); } && {
6313 test -z "$ac_c_werror_flag" ||
6314 test ! -s conftest.err
6315 } && test -s conftest
$ac_exeext &&
6316 $as_test_x conftest
$ac_exeext; then
6317 ac_cv_lib_ossaudio__oss_ioctl
=yes
6319 echo "$as_me: failed program was:" >&5
6320 sed 's/^/| /' conftest.
$ac_ext >&5
6322 ac_cv_lib_ossaudio__oss_ioctl
=no
6325 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6326 conftest
$ac_exeext conftest.
$ac_ext
6327 LIBS
=$ac_check_lib_save_LIBS
6329 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6330 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6331 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6332 cat >>confdefs.h
<<_ACEOF
6333 #define HAVE_LIBOSSAUDIO 1
6336 LIBS
="-lossaudio $LIBS"
6341 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6342 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6343 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6344 echo $ECHO_N "(cached) $ECHO_C" >&6
6346 ac_check_lib_save_LIBS
=$LIBS
6348 cat >conftest.
$ac_ext <<_ACEOF
6351 cat confdefs.h
>>conftest.
$ac_ext
6352 cat >>conftest.
$ac_ext <<_ACEOF
6353 /* end confdefs.h. */
6355 /* Override any GCC internal prototype to avoid an error.
6356 Use char because int might match the return type of a GCC
6357 builtin and then its argument prototype would still apply. */
6361 char _xpg4_setrunelocale ();
6365 return _xpg4_setrunelocale ();
6370 rm -f conftest.
$ac_objext conftest
$ac_exeext
6371 if { (ac_try
="$ac_link"
6373 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6374 *) ac_try_echo=$ac_try;;
6376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6377 (eval "$ac_link") 2>conftest.er1
6379 grep -v '^ *+' conftest.er1 >conftest.err
6381 cat conftest.err >&5
6382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6383 (exit $ac_status); } && {
6384 test -z "$ac_c_werror_flag" ||
6385 test ! -s conftest.err
6386 } && test -s conftest$ac_exeext &&
6387 $as_test_x conftest$ac_exeext; then
6388 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6390 echo "$as_me: failed program was:" >&5
6391 sed 's/^/| /' conftest.$ac_ext >&5
6393 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6397 conftest$ac_exeext conftest.$ac_ext
6398 LIBS=$ac_check_lib_save_LIBS
6400 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6401 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6402 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6403 cat >>confdefs.h <<_ACEOF
6404 #define HAVE_LIBXPG4 1
6411 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6412 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6413 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6414 echo $ECHO_N "(cached) $ECHO_C" >&6
6416 ac_check_lib_save_LIBS=$LIBS
6417 LIBS="-lpthread $LIBS"
6418 cat >conftest.$ac_ext <<_ACEOF
6421 cat confdefs.h >>conftest.$ac_ext
6422 cat >>conftest.$ac_ext <<_ACEOF
6423 /* end confdefs.h. */
6425 /* Override any GCC internal prototype to avoid an error.
6426 Use char because int might match the return type of a GCC
6427 builtin and then its argument prototype would still apply. */
6431 char pthread_create ();
6435 return pthread_create ();
6440 rm -f conftest.$ac_objext conftest$ac_exeext
6441 if { (ac_try="$ac_link"
6443 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6444 *) ac_try_echo
=$ac_try;;
6446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6447 (eval "$ac_link") 2>conftest.er1
6449 grep -v '^ *+' conftest.er1
>conftest.err
6451 cat conftest.err
>&5
6452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453 (exit $ac_status); } && {
6454 test -z "$ac_c_werror_flag" ||
6455 test ! -s conftest.err
6456 } && test -s conftest
$ac_exeext &&
6457 $as_test_x conftest
$ac_exeext; then
6458 ac_cv_lib_pthread_pthread_create
=yes
6460 echo "$as_me: failed program was:" >&5
6461 sed 's/^/| /' conftest.
$ac_ext >&5
6463 ac_cv_lib_pthread_pthread_create
=no
6466 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6467 conftest
$ac_exeext conftest.
$ac_ext
6468 LIBS
=$ac_check_lib_save_LIBS
6470 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6471 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6472 if test $ac_cv_lib_pthread_pthread_create = yes; then
6473 LIBPTHREAD
="-lpthread"
6492 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6493 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6494 if test "${ac_cv_header_stdc+set}" = set; then
6495 echo $ECHO_N "(cached) $ECHO_C" >&6
6497 cat >conftest.
$ac_ext <<_ACEOF
6500 cat confdefs.h
>>conftest.
$ac_ext
6501 cat >>conftest.
$ac_ext <<_ACEOF
6502 /* end confdefs.h. */
6516 rm -f conftest.
$ac_objext
6517 if { (ac_try
="$ac_compile"
6519 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6520 *) ac_try_echo=$ac_try;;
6522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6523 (eval "$ac_compile") 2>conftest.er1
6525 grep -v '^ *+' conftest.er1 >conftest.err
6527 cat conftest.err >&5
6528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6529 (exit $ac_status); } && {
6530 test -z "$ac_c_werror_flag" ||
6531 test ! -s conftest.err
6532 } && test -s conftest.$ac_objext; then
6533 ac_cv_header_stdc=yes
6535 echo "$as_me: failed program was:" >&5
6536 sed 's/^/| /' conftest.$ac_ext >&5
6538 ac_cv_header_stdc=no
6541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6543 if test $ac_cv_header_stdc = yes; then
6544 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6545 cat >conftest.$ac_ext <<_ACEOF
6548 cat confdefs.h >>conftest.$ac_ext
6549 cat >>conftest.$ac_ext <<_ACEOF
6550 /* end confdefs.h. */
6554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6555 $EGREP "memchr" >/dev/null 2>&1; then
6558 ac_cv_header_stdc=no
6564 if test $ac_cv_header_stdc = yes; then
6565 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6566 cat >conftest.$ac_ext <<_ACEOF
6569 cat confdefs.h >>conftest.$ac_ext
6570 cat >>conftest.$ac_ext <<_ACEOF
6571 /* end confdefs.h. */
6575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6576 $EGREP "free" >/dev/null 2>&1; then
6579 ac_cv_header_stdc=no
6585 if test $ac_cv_header_stdc = yes; then
6586 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6587 if test "$cross_compiling" = yes; then
6590 cat >conftest.$ac_ext <<_ACEOF
6593 cat confdefs.h >>conftest.$ac_ext
6594 cat >>conftest.$ac_ext <<_ACEOF
6595 /* end confdefs.h. */
6598 #if ((' ' & 0x0FF) == 0x020)
6599 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6600 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6602 # define ISLOWER(c) \
6603 (('a' <= (c) && (c) <= 'i') \
6604 || ('j' <= (c) && (c) <= 'r') \
6605 || ('s' <= (c) && (c) <= 'z'))
6606 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6609 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6614 for (i = 0; i < 256; i++)
6615 if (XOR (islower (i), ISLOWER (i))
6616 || toupper (i) != TOUPPER (i))
6621 rm -f conftest$ac_exeext
6622 if { (ac_try="$ac_link"
6624 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6625 *) ac_try_echo
=$ac_try;;
6627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6628 (eval "$ac_link") 2>&5
6630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6632 { (case "(($ac_try" in
6633 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6634 *) ac_try_echo=$ac_try;;
6636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6637 (eval "$ac_try") 2>&5
6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 (exit $ac_status); }; }; then
6643 echo "$as_me: program exited with status $ac_status" >&5
6644 echo "$as_me: failed program was:" >&5
6645 sed 's/^/| /' conftest.$ac_ext >&5
6648 ac_cv_header_stdc=no
6650 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6656 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6657 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6658 if test $ac_cv_header_stdc = yes; then
6660 cat >>confdefs.h <<\_ACEOF
6661 #define STDC_HEADERS 1
6666 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6676 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6677 inttypes.h stdint.h unistd.h
6679 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6680 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6682 if { as_var=$as_ac_Header; eval "test \"\${$as_var+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. */
6691 $ac_includes_default
6693 #include <$ac_header>
6695 rm -f conftest.$ac_objext
6696 if { (ac_try="$ac_compile"
6698 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6699 *) ac_try_echo
=$ac_try;;
6701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6702 (eval "$ac_compile") 2>conftest.er1
6704 grep -v '^ *+' conftest.er1
>conftest.err
6706 cat conftest.err
>&5
6707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708 (exit $ac_status); } && {
6709 test -z "$ac_c_werror_flag" ||
6710 test ! -s conftest.err
6711 } && test -s conftest.
$ac_objext; then
6712 eval "$as_ac_Header=yes"
6714 echo "$as_me: failed program was:" >&5
6715 sed 's/^/| /' conftest.
$ac_ext >&5
6717 eval "$as_ac_Header=no"
6720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6722 ac_res
=`eval echo '${'$as_ac_Header'}'`
6723 { echo "$as_me:$LINENO: result: $ac_res" >&5
6724 echo "${ECHO_T}$ac_res" >&6; }
6725 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6726 cat >>confdefs.h
<<_ACEOF
6727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6845 AudioUnit
/AudioUnit.h \
6847 CoreAudio
/CoreAudio.h \
6848 DiskArbitration
/DiskArbitration.h \
6861 fontconfig
/fontconfig.h \
6887 machine
/soundcard.h \
6892 netinet
/in_systm.h \
6956 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6957 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6958 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6960 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6961 echo $ECHO_N "(cached) $ECHO_C" >&6
6963 ac_res
=`eval echo '${'$as_ac_Header'}'`
6964 { echo "$as_me:$LINENO: result: $ac_res" >&5
6965 echo "${ECHO_T}$ac_res" >&6; }
6967 # Is the header compilable?
6968 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6969 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6970 cat >conftest.
$ac_ext <<_ACEOF
6973 cat confdefs.h
>>conftest.
$ac_ext
6974 cat >>conftest.
$ac_ext <<_ACEOF
6975 /* end confdefs.h. */
6976 $ac_includes_default
6977 #include <$ac_header>
6979 rm -f conftest.
$ac_objext
6980 if { (ac_try
="$ac_compile"
6982 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6983 *) ac_try_echo=$ac_try;;
6985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6986 (eval "$ac_compile") 2>conftest.er1
6988 grep -v '^ *+' conftest.er1 >conftest.err
6990 cat conftest.err >&5
6991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6992 (exit $ac_status); } && {
6993 test -z "$ac_c_werror_flag" ||
6994 test ! -s conftest.err
6995 } && test -s conftest.$ac_objext; then
6996 ac_header_compiler=yes
6998 echo "$as_me: failed program was:" >&5
6999 sed 's/^/| /' conftest.$ac_ext >&5
7001 ac_header_compiler=no
7004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7005 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7006 echo "${ECHO_T}$ac_header_compiler" >&6; }
7008 # Is the header present?
7009 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7010 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7011 cat >conftest.$ac_ext <<_ACEOF
7014 cat confdefs.h >>conftest.$ac_ext
7015 cat >>conftest.$ac_ext <<_ACEOF
7016 /* end confdefs.h. */
7017 #include <$ac_header>
7019 if { (ac_try="$ac_cpp conftest.$ac_ext"
7021 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7022 *) ac_try_echo
=$ac_try;;
7024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7025 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7027 grep -v '^ *+' conftest.er1
>conftest.err
7029 cat conftest.err
>&5
7030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7031 (exit $ac_status); } >/dev
/null
&& {
7032 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7033 test ! -s conftest.err
7035 ac_header_preproc
=yes
7037 echo "$as_me: failed program was:" >&5
7038 sed 's/^/| /' conftest.
$ac_ext >&5
7040 ac_header_preproc
=no
7043 rm -f conftest.err conftest.
$ac_ext
7044 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7045 echo "${ECHO_T}$ac_header_preproc" >&6; }
7047 # So? What about this header?
7048 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7050 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7051 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7053 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7054 ac_header_preproc
=yes
7057 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7058 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7059 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7060 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7061 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7062 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7063 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7064 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7066 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7067 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7068 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7070 ## ------------------------------------ ##
7071 ## Report this to wine-devel@winehq.org ##
7072 ## ------------------------------------ ##
7074 ) |
sed "s/^/$as_me: WARNING: /" >&2
7077 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7079 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7080 echo $ECHO_N "(cached) $ECHO_C" >&6
7082 eval "$as_ac_Header=\$ac_header_preproc"
7084 ac_res
=`eval echo '${'$as_ac_Header'}'`
7085 { echo "$as_me:$LINENO: result: $ac_res" >&5
7086 echo "${ECHO_T}$ac_res" >&6; }
7089 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7090 cat >>confdefs.h
<<_ACEOF
7091 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7098 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7099 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7100 if test "${ac_cv_header_stat_broken+set}" = set; then
7101 echo $ECHO_N "(cached) $ECHO_C" >&6
7103 cat >conftest.
$ac_ext <<_ACEOF
7106 cat confdefs.h
>>conftest.
$ac_ext
7107 cat >>conftest.
$ac_ext <<_ACEOF
7108 /* end confdefs.h. */
7109 #include <sys/types.h>
7110 #include <sys/stat.h>
7112 #if defined S_ISBLK && defined S_IFDIR
7113 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7116 #if defined S_ISBLK && defined S_IFCHR
7117 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7120 #if defined S_ISLNK && defined S_IFREG
7121 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7124 #if defined S_ISSOCK && defined S_IFREG
7125 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7129 rm -f conftest.
$ac_objext
7130 if { (ac_try
="$ac_compile"
7132 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7133 *) ac_try_echo=$ac_try;;
7135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7136 (eval "$ac_compile") 2>conftest.er1
7138 grep -v '^ *+' conftest.er1 >conftest.err
7140 cat conftest.err >&5
7141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7142 (exit $ac_status); } && {
7143 test -z "$ac_c_werror_flag" ||
7144 test ! -s conftest.err
7145 } && test -s conftest.$ac_objext; then
7146 ac_cv_header_stat_broken=no
7148 echo "$as_me: failed program was:" >&5
7149 sed 's/^/| /' conftest.$ac_ext >&5
7151 ac_cv_header_stat_broken=yes
7154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7156 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7157 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7158 if test $ac_cv_header_stat_broken = yes; then
7160 cat >>confdefs.h <<\_ACEOF
7161 #define STAT_MACROS_BROKEN 1
7172 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7174 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7175 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7176 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7177 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7178 echo $ECHO_N "(cached) $ECHO_C" >&6
7180 cat >conftest.$ac_ext <<_ACEOF
7183 cat confdefs.h >>conftest.$ac_ext
7184 cat >>conftest.$ac_ext <<_ACEOF
7185 /* end confdefs.h. */
7186 #include <sys/types.h>
7187 #if HAVE_SYS_PARAM_H
7188 # include <sys/param.h>
7191 #include <$ac_header>
7193 rm -f conftest.$ac_objext
7194 if { (ac_try="$ac_compile"
7196 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7197 *) ac_try_echo
=$ac_try;;
7199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7200 (eval "$ac_compile") 2>conftest.er1
7202 grep -v '^ *+' conftest.er1
>conftest.err
7204 cat conftest.err
>&5
7205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7206 (exit $ac_status); } && {
7207 test -z "$ac_c_werror_flag" ||
7208 test ! -s conftest.err
7209 } && test -s conftest.
$ac_objext; then
7210 eval "$as_ac_Header=yes"
7212 echo "$as_me: failed program was:" >&5
7213 sed 's/^/| /' conftest.
$ac_ext >&5
7215 eval "$as_ac_Header=no"
7218 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7220 ac_res
=`eval echo '${'$as_ac_Header'}'`
7221 { echo "$as_me:$LINENO: result: $ac_res" >&5
7222 echo "${ECHO_T}$ac_res" >&6; }
7223 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7224 cat >>confdefs.h
<<_ACEOF
7225 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7239 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
7241 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7242 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7244 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7245 echo $ECHO_N "(cached) $ECHO_C" >&6
7247 cat >conftest.
$ac_ext <<_ACEOF
7250 cat confdefs.h
>>conftest.
$ac_ext
7251 cat >>conftest.
$ac_ext <<_ACEOF
7252 /* end confdefs.h. */
7253 #include <sys/types.h>
7254 #if HAVE_SYS_SOCKET_H
7255 # include <sys/socket.h>
7258 #include <$ac_header>
7260 rm -f conftest.
$ac_objext
7261 if { (ac_try
="$ac_compile"
7263 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7264 *) ac_try_echo=$ac_try;;
7266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7267 (eval "$ac_compile") 2>conftest.er1
7269 grep -v '^ *+' conftest.er1 >conftest.err
7271 cat conftest.err >&5
7272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7273 (exit $ac_status); } && {
7274 test -z "$ac_c_werror_flag" ||
7275 test ! -s conftest.err
7276 } && test -s conftest.$ac_objext; then
7277 eval "$as_ac_Header=yes"
7279 echo "$as_me: failed program was:" >&5
7280 sed 's/^/| /' conftest.$ac_ext >&5
7282 eval "$as_ac_Header=no"
7285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7287 ac_res=`eval echo '${'$as_ac_Header'}'`
7288 { echo "$as_me:$LINENO: result: $ac_res" >&5
7289 echo "${ECHO_T}$ac_res" >&6; }
7290 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7291 cat >>confdefs.h <<_ACEOF
7292 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7301 for ac_header in linux/ipx.h
7303 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7304 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7305 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7306 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7307 echo $ECHO_N "(cached) $ECHO_C" >&6
7309 cat >conftest.$ac_ext <<_ACEOF
7312 cat confdefs.h >>conftest.$ac_ext
7313 cat >>conftest.$ac_ext <<_ACEOF
7314 /* end confdefs.h. */
7315 #include <sys/types.h>
7316 #ifdef HAVE_ASM_TYPES_H
7317 # include <asm/types.h>
7319 #if HAVE_SYS_SOCKET_H
7320 # include <sys/socket.h>
7323 #include <$ac_header>
7325 rm -f conftest.$ac_objext
7326 if { (ac_try="$ac_compile"
7328 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7329 *) ac_try_echo
=$ac_try;;
7331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7332 (eval "$ac_compile") 2>conftest.er1
7334 grep -v '^ *+' conftest.er1
>conftest.err
7336 cat conftest.err
>&5
7337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7338 (exit $ac_status); } && {
7339 test -z "$ac_c_werror_flag" ||
7340 test ! -s conftest.err
7341 } && test -s conftest.
$ac_objext; then
7342 eval "$as_ac_Header=yes"
7344 echo "$as_me: failed program was:" >&5
7345 sed 's/^/| /' conftest.
$ac_ext >&5
7347 eval "$as_ac_Header=no"
7350 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7352 ac_res
=`eval echo '${'$as_ac_Header'}'`
7353 { echo "$as_me:$LINENO: result: $ac_res" >&5
7354 echo "${ECHO_T}$ac_res" >&6; }
7355 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7356 cat >>confdefs.h
<<_ACEOF
7357 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7366 for ac_header
in resolv.h
7368 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7369 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7371 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7372 echo $ECHO_N "(cached) $ECHO_C" >&6
7374 cat >conftest.
$ac_ext <<_ACEOF
7377 cat confdefs.h
>>conftest.
$ac_ext
7378 cat >>conftest.
$ac_ext <<_ACEOF
7379 /* end confdefs.h. */
7380 #include <sys/types.h>
7381 #if HAVE_SYS_SOCKET_H
7382 # include <sys/socket.h>
7384 #if HAVE_NETINET_IN_H
7385 # include <netinet/in.h>
7387 #if HAVE_ARPA_NAMESER_H
7388 # include <arpa/nameser.h>
7391 #include <$ac_header>
7393 rm -f conftest.
$ac_objext
7394 if { (ac_try
="$ac_compile"
7396 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7397 *) ac_try_echo=$ac_try;;
7399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7400 (eval "$ac_compile") 2>conftest.er1
7402 grep -v '^ *+' conftest.er1 >conftest.err
7404 cat conftest.err >&5
7405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7406 (exit $ac_status); } && {
7407 test -z "$ac_c_werror_flag" ||
7408 test ! -s conftest.err
7409 } && test -s conftest.$ac_objext; then
7410 eval "$as_ac_Header=yes"
7412 echo "$as_me: failed program was:" >&5
7413 sed 's/^/| /' conftest.$ac_ext >&5
7415 eval "$as_ac_Header=no"
7418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7420 ac_res=`eval echo '${'$as_ac_Header'}'`
7421 { echo "$as_me:$LINENO: result: $ac_res" >&5
7422 echo "${ECHO_T}$ac_res" >&6; }
7423 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7424 cat >>confdefs.h <<_ACEOF
7425 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7434 for ac_header in ucontext.h
7436 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7437 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7439 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7440 echo $ECHO_N "(cached) $ECHO_C" >&6
7442 cat >conftest.$ac_ext <<_ACEOF
7445 cat confdefs.h >>conftest.$ac_ext
7446 cat >>conftest.$ac_ext <<_ACEOF
7447 /* end confdefs.h. */
7450 #include <$ac_header>
7452 rm -f conftest.$ac_objext
7453 if { (ac_try="$ac_compile"
7455 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7456 *) ac_try_echo
=$ac_try;;
7458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7459 (eval "$ac_compile") 2>conftest.er1
7461 grep -v '^ *+' conftest.er1
>conftest.err
7463 cat conftest.err
>&5
7464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7465 (exit $ac_status); } && {
7466 test -z "$ac_c_werror_flag" ||
7467 test ! -s conftest.err
7468 } && test -s conftest.
$ac_objext; then
7469 eval "$as_ac_Header=yes"
7471 echo "$as_me: failed program was:" >&5
7472 sed 's/^/| /' conftest.
$ac_ext >&5
7474 eval "$as_ac_Header=no"
7477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7479 ac_res
=`eval echo '${'$as_ac_Header'}'`
7480 { echo "$as_me:$LINENO: result: $ac_res" >&5
7481 echo "${ECHO_T}$ac_res" >&6; }
7482 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7483 cat >>confdefs.h
<<_ACEOF
7484 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7493 for ac_header
in pthread_np.h
7495 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7496 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7498 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7499 echo $ECHO_N "(cached) $ECHO_C" >&6
7501 cat >conftest.
$ac_ext <<_ACEOF
7504 cat confdefs.h
>>conftest.
$ac_ext
7505 cat >>conftest.
$ac_ext <<_ACEOF
7506 /* end confdefs.h. */
7507 #ifdef HAVE_PTHREAD_H
7508 #include <pthread.h>
7511 #include <$ac_header>
7513 rm -f conftest.
$ac_objext
7514 if { (ac_try
="$ac_compile"
7516 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7517 *) ac_try_echo=$ac_try;;
7519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7520 (eval "$ac_compile") 2>conftest.er1
7522 grep -v '^ *+' conftest.er1 >conftest.err
7524 cat conftest.err >&5
7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526 (exit $ac_status); } && {
7527 test -z "$ac_c_werror_flag" ||
7528 test ! -s conftest.err
7529 } && test -s conftest.$ac_objext; then
7530 eval "$as_ac_Header=yes"
7532 echo "$as_me: failed program was:" >&5
7533 sed 's/^/| /' conftest.$ac_ext >&5
7535 eval "$as_ac_Header=no"
7538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7540 ac_res=`eval echo '${'$as_ac_Header'}'`
7541 { echo "$as_me:$LINENO: result: $ac_res" >&5
7542 echo "${ECHO_T}$ac_res" >&6; }
7543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7544 cat >>confdefs.h <<_ACEOF
7545 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7554 for ac_header in linux/videodev.h
7556 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7557 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7558 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7559 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7560 echo $ECHO_N "(cached) $ECHO_C" >&6
7562 cat >conftest.$ac_ext <<_ACEOF
7565 cat confdefs.h >>conftest.$ac_ext
7566 cat >>conftest.$ac_ext <<_ACEOF
7567 /* end confdefs.h. */
7568 #ifdef HAVE_SYS_TIME_H
7569 #include <sys/time.h>
7571 #include <sys/types.h>
7572 #ifdef HAVE_ASM_TYPES_H
7573 #include <asm/types.h>
7576 #include <$ac_header>
7578 rm -f conftest.$ac_objext
7579 if { (ac_try="$ac_compile"
7581 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7582 *) ac_try_echo
=$ac_try;;
7584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7585 (eval "$ac_compile") 2>conftest.er1
7587 grep -v '^ *+' conftest.er1
>conftest.err
7589 cat conftest.err
>&5
7590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7591 (exit $ac_status); } && {
7592 test -z "$ac_c_werror_flag" ||
7593 test ! -s conftest.err
7594 } && test -s conftest.
$ac_objext; then
7595 eval "$as_ac_Header=yes"
7597 echo "$as_me: failed program was:" >&5
7598 sed 's/^/| /' conftest.
$ac_ext >&5
7600 eval "$as_ac_Header=no"
7603 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7605 ac_res
=`eval echo '${'$as_ac_Header'}'`
7606 { echo "$as_me:$LINENO: result: $ac_res" >&5
7607 echo "${ECHO_T}$ac_res" >&6; }
7608 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7609 cat >>confdefs.h
<<_ACEOF
7610 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7619 for ac_header
in linux
/capi.h
7621 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7622 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7624 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7625 echo $ECHO_N "(cached) $ECHO_C" >&6
7627 cat >conftest.
$ac_ext <<_ACEOF
7630 cat confdefs.h
>>conftest.
$ac_ext
7631 cat >>conftest.
$ac_ext <<_ACEOF
7632 /* end confdefs.h. */
7635 #include <$ac_header>
7637 rm -f conftest.
$ac_objext
7638 if { (ac_try
="$ac_compile"
7640 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7641 *) ac_try_echo=$ac_try;;
7643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7644 (eval "$ac_compile") 2>conftest.er1
7646 grep -v '^ *+' conftest.er1 >conftest.err
7648 cat conftest.err >&5
7649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7650 (exit $ac_status); } && {
7651 test -z "$ac_c_werror_flag" ||
7652 test ! -s conftest.err
7653 } && test -s conftest.$ac_objext; then
7654 eval "$as_ac_Header=yes"
7656 echo "$as_me: failed program was:" >&5
7657 sed 's/^/| /' conftest.$ac_ext >&5
7659 eval "$as_ac_Header=no"
7662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7664 ac_res=`eval echo '${'$as_ac_Header'}'`
7665 { echo "$as_me:$LINENO: result: $ac_res" >&5
7666 echo "${ECHO_T}$ac_res" >&6; }
7667 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7668 cat >>confdefs.h <<_ACEOF
7669 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7678 if test "$have_x" = "yes"
7681 ac_save_CPPFLAGS="$CPPFLAGS"
7682 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7695 for ac_header in X11/Xlib.h \
7698 X11/Xcursor/Xcursor.h \
7699 X11/extensions/shape.h \
7700 X11/extensions/XInput.h \
7701 X11/extensions/XShm.h \
7702 X11/extensions/Xinerama.h \
7703 X11/extensions/Xrandr.h \
7704 X11/extensions/Xrender.h \
7705 X11/extensions/xf86vmode.h
7707 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7708 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7710 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7711 echo $ECHO_N "(cached) $ECHO_C" >&6
7713 cat >conftest.$ac_ext <<_ACEOF
7716 cat confdefs.h >>conftest.$ac_ext
7717 cat >>conftest.$ac_ext <<_ACEOF
7718 /* end confdefs.h. */
7719 #ifdef HAVE_X11_XLIB_H
7720 # include <X11/Xlib.h>
7722 #ifdef HAVE_X11_XUTIL_H
7723 # include <X11/Xutil.h>
7726 #include <$ac_header>
7728 rm -f conftest.$ac_objext
7729 if { (ac_try="$ac_compile"
7731 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7732 *) ac_try_echo
=$ac_try;;
7734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7735 (eval "$ac_compile") 2>conftest.er1
7737 grep -v '^ *+' conftest.er1
>conftest.err
7739 cat conftest.err
>&5
7740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7741 (exit $ac_status); } && {
7742 test -z "$ac_c_werror_flag" ||
7743 test ! -s conftest.err
7744 } && test -s conftest.
$ac_objext; then
7745 eval "$as_ac_Header=yes"
7747 echo "$as_me: failed program was:" >&5
7748 sed 's/^/| /' conftest.
$ac_ext >&5
7750 eval "$as_ac_Header=no"
7753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7755 ac_res
=`eval echo '${'$as_ac_Header'}'`
7756 { echo "$as_me:$LINENO: result: $ac_res" >&5
7757 echo "${ECHO_T}$ac_res" >&6; }
7758 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7759 cat >>confdefs.h
<<_ACEOF
7760 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7768 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7770 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7771 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
7772 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7773 echo $ECHO_N "(cached) $ECHO_C" >&6
7775 ac_check_lib_save_LIBS
=$LIBS
7776 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7777 cat >conftest.
$ac_ext <<_ACEOF
7780 cat confdefs.h
>>conftest.
$ac_ext
7781 cat >>conftest.
$ac_ext <<_ACEOF
7782 /* end confdefs.h. */
7784 /* Override any GCC internal prototype to avoid an error.
7785 Use char because int might match the return type of a GCC
7786 builtin and then its argument prototype would still apply. */
7790 char XkbQueryExtension ();
7794 return XkbQueryExtension ();
7799 rm -f conftest.
$ac_objext conftest
$ac_exeext
7800 if { (ac_try
="$ac_link"
7802 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7803 *) ac_try_echo=$ac_try;;
7805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7806 (eval "$ac_link") 2>conftest.er1
7808 grep -v '^ *+' conftest.er1 >conftest.err
7810 cat conftest.err >&5
7811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7812 (exit $ac_status); } && {
7813 test -z "$ac_c_werror_flag" ||
7814 test ! -s conftest.err
7815 } && test -s conftest$ac_exeext &&
7816 $as_test_x conftest$ac_exeext; then
7817 ac_cv_lib_X11_XkbQueryExtension=yes
7819 echo "$as_me: failed program was:" >&5
7820 sed 's/^/| /' conftest.$ac_ext >&5
7822 ac_cv_lib_X11_XkbQueryExtension=no
7825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7826 conftest$ac_exeext conftest.$ac_ext
7827 LIBS=$ac_check_lib_save_LIBS
7829 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7830 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
7831 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7833 cat >>confdefs.h <<\_ACEOF
7841 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7843 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7844 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
7845 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7846 echo $ECHO_N "(cached) $ECHO_C" >&6
7848 ac_check_lib_save_LIBS=$LIBS
7849 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7850 cat >conftest.$ac_ext <<_ACEOF
7853 cat confdefs.h >>conftest.$ac_ext
7854 cat >>conftest.$ac_ext <<_ACEOF
7855 /* end confdefs.h. */
7857 /* Override any GCC internal prototype to avoid an error.
7858 Use char because int might match the return type of a GCC
7859 builtin and then its argument prototype would still apply. */
7863 char XShmQueryExtension ();
7867 return XShmQueryExtension ();
7872 rm -f conftest.$ac_objext conftest$ac_exeext
7873 if { (ac_try="$ac_link"
7875 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7876 *) ac_try_echo
=$ac_try;;
7878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7879 (eval "$ac_link") 2>conftest.er1
7881 grep -v '^ *+' conftest.er1
>conftest.err
7883 cat conftest.err
>&5
7884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7885 (exit $ac_status); } && {
7886 test -z "$ac_c_werror_flag" ||
7887 test ! -s conftest.err
7888 } && test -s conftest
$ac_exeext &&
7889 $as_test_x conftest
$ac_exeext; then
7890 ac_cv_lib_Xext_XShmQueryExtension
=yes
7892 echo "$as_me: failed program was:" >&5
7893 sed 's/^/| /' conftest.
$ac_ext >&5
7895 ac_cv_lib_Xext_XShmQueryExtension
=no
7898 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7899 conftest
$ac_exeext conftest.
$ac_ext
7900 LIBS
=$ac_check_lib_save_LIBS
7902 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7903 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
7904 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7906 cat >>confdefs.h
<<\_ACEOF
7907 #define HAVE_LIBXXSHM 1
7914 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7916 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7917 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
7918 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7919 echo $ECHO_N "(cached) $ECHO_C" >&6
7921 ac_check_lib_save_LIBS
=$LIBS
7922 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7923 cat >conftest.
$ac_ext <<_ACEOF
7926 cat confdefs.h
>>conftest.
$ac_ext
7927 cat >>conftest.
$ac_ext <<_ACEOF
7928 /* end confdefs.h. */
7930 /* Override any GCC internal prototype to avoid an error.
7931 Use char because int might match the return type of a GCC
7932 builtin and then its argument prototype would still apply. */
7936 char XShapeQueryExtension ();
7940 return XShapeQueryExtension ();
7945 rm -f conftest.
$ac_objext conftest
$ac_exeext
7946 if { (ac_try
="$ac_link"
7948 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7949 *) ac_try_echo=$ac_try;;
7951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7952 (eval "$ac_link") 2>conftest.er1
7954 grep -v '^ *+' conftest.er1 >conftest.err
7956 cat conftest.err >&5
7957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7958 (exit $ac_status); } && {
7959 test -z "$ac_c_werror_flag" ||
7960 test ! -s conftest.err
7961 } && test -s conftest$ac_exeext &&
7962 $as_test_x conftest$ac_exeext; then
7963 ac_cv_lib_Xext_XShapeQueryExtension=yes
7965 echo "$as_me: failed program was:" >&5
7966 sed 's/^/| /' conftest.$ac_ext >&5
7968 ac_cv_lib_Xext_XShapeQueryExtension=no
7971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7972 conftest$ac_exeext conftest.$ac_ext
7973 LIBS=$ac_check_lib_save_LIBS
7975 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7976 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
7977 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7979 cat >>confdefs.h <<\_ACEOF
7980 #define HAVE_LIBXSHAPE 1
7987 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7989 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7990 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
7991 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7992 echo $ECHO_N "(cached) $ECHO_C" >&6
7994 ac_check_lib_save_LIBS=$LIBS
7995 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7996 cat >conftest.$ac_ext <<_ACEOF
7999 cat confdefs.h >>conftest.$ac_ext
8000 cat >>conftest.$ac_ext <<_ACEOF
8001 /* end confdefs.h. */
8003 /* Override any GCC internal prototype to avoid an error.
8004 Use char because int might match the return type of a GCC
8005 builtin and then its argument prototype would still apply. */
8009 char XF86VidModeQueryExtension ();
8013 return XF86VidModeQueryExtension ();
8018 rm -f conftest.$ac_objext conftest$ac_exeext
8019 if { (ac_try="$ac_link"
8021 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8022 *) ac_try_echo
=$ac_try;;
8024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8025 (eval "$ac_link") 2>conftest.er1
8027 grep -v '^ *+' conftest.er1
>conftest.err
8029 cat conftest.err
>&5
8030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8031 (exit $ac_status); } && {
8032 test -z "$ac_c_werror_flag" ||
8033 test ! -s conftest.err
8034 } && test -s conftest
$ac_exeext &&
8035 $as_test_x conftest
$ac_exeext; then
8036 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
8038 echo "$as_me: failed program was:" >&5
8039 sed 's/^/| /' conftest.
$ac_ext >&5
8041 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
8044 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8045 conftest
$ac_exeext conftest.
$ac_ext
8046 LIBS
=$ac_check_lib_save_LIBS
8048 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8049 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
8050 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8052 cat >>confdefs.h
<<\_ACEOF
8053 #define HAVE_LIBXXF86VM 1
8056 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
8062 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8064 cat >conftest.
$ac_ext <<_ACEOF
8067 cat confdefs.h
>>conftest.
$ac_ext
8068 cat >>conftest.
$ac_ext <<_ACEOF
8069 /* end confdefs.h. */
8070 #include <X11/Xlib.h>
8071 #include <X11/extensions/Xrandr.h>
8075 static typeof(XRRSetScreenConfigAndRate) * func;
8080 rm -f conftest.
$ac_objext
8081 if { (ac_try
="$ac_compile"
8083 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8084 *) ac_try_echo=$ac_try;;
8086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8087 (eval "$ac_compile") 2>conftest.er1
8089 grep -v '^ *+' conftest.er1 >conftest.err
8091 cat conftest.err >&5
8092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8093 (exit $ac_status); } && {
8094 test -z "$ac_c_werror_flag" ||
8095 test ! -s conftest.err
8096 } && test -s conftest.$ac_objext; then
8098 cat >>confdefs.h <<\_ACEOF
8099 #define HAVE_LIBXRANDR 1
8103 echo "$as_me: failed program was:" >&5
8104 sed 's/^/| /' conftest.$ac_ext >&5
8109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8112 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8114 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8115 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
8116 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8117 echo $ECHO_N "(cached) $ECHO_C" >&6
8119 ac_check_lib_save_LIBS=$LIBS
8120 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8121 cat >conftest.$ac_ext <<_ACEOF
8124 cat confdefs.h >>conftest.$ac_ext
8125 cat >>conftest.$ac_ext <<_ACEOF
8126 /* end confdefs.h. */
8128 /* Override any GCC internal prototype to avoid an error.
8129 Use char because int might match the return type of a GCC
8130 builtin and then its argument prototype would still apply. */
8134 char XRenderSetPictureTransform ();
8138 return XRenderSetPictureTransform ();
8143 rm -f conftest.$ac_objext conftest$ac_exeext
8144 if { (ac_try="$ac_link"
8146 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8147 *) ac_try_echo
=$ac_try;;
8149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8150 (eval "$ac_link") 2>conftest.er1
8152 grep -v '^ *+' conftest.er1
>conftest.err
8154 cat conftest.err
>&5
8155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8156 (exit $ac_status); } && {
8157 test -z "$ac_c_werror_flag" ||
8158 test ! -s conftest.err
8159 } && test -s conftest
$ac_exeext &&
8160 $as_test_x conftest
$ac_exeext; then
8161 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8163 echo "$as_me: failed program was:" >&5
8164 sed 's/^/| /' conftest.
$ac_ext >&5
8166 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8169 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8170 conftest
$ac_exeext conftest.
$ac_ext
8171 LIBS
=$ac_check_lib_save_LIBS
8173 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8174 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8175 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8177 cat >>confdefs.h
<<\_ACEOF
8178 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8185 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8187 cat >conftest.
$ac_ext <<_ACEOF
8190 cat confdefs.h
>>conftest.
$ac_ext
8191 cat >>conftest.
$ac_ext <<_ACEOF
8192 /* end confdefs.h. */
8193 #include <X11/Xlib.h>
8194 #include <X11/extensions/Xinerama.h>
8198 static typeof(XineramaQueryScreens) * func;
8203 rm -f conftest.
$ac_objext
8204 if { (ac_try
="$ac_compile"
8206 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8207 *) ac_try_echo=$ac_try;;
8209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8210 (eval "$ac_compile") 2>conftest.er1
8212 grep -v '^ *+' conftest.er1 >conftest.err
8214 cat conftest.err >&5
8215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8216 (exit $ac_status); } && {
8217 test -z "$ac_c_werror_flag" ||
8218 test ! -s conftest.err
8219 } && test -s conftest.$ac_objext; then
8221 cat >>confdefs.h <<\_ACEOF
8222 #define HAVE_LIBXINERAMA 1
8226 echo "$as_me: failed program was:" >&5
8227 sed 's/^/| /' conftest.$ac_ext >&5
8232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8236 if test "x$with_opengl" != "xno"
8242 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
8244 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8245 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8247 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8248 echo $ECHO_N "(cached) $ECHO_C" >&6
8250 cat >conftest.$ac_ext <<_ACEOF
8253 cat confdefs.h >>conftest.$ac_ext
8254 cat >>conftest.$ac_ext <<_ACEOF
8255 /* end confdefs.h. */
8256 #ifdef HAVE_GL_GLX_H
8257 # include <GL/glx.h>
8260 #include <$ac_header>
8262 rm -f conftest.$ac_objext
8263 if { (ac_try="$ac_compile"
8265 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8266 *) ac_try_echo
=$ac_try;;
8268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8269 (eval "$ac_compile") 2>conftest.er1
8271 grep -v '^ *+' conftest.er1
>conftest.err
8273 cat conftest.err
>&5
8274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8275 (exit $ac_status); } && {
8276 test -z "$ac_c_werror_flag" ||
8277 test ! -s conftest.err
8278 } && test -s conftest.
$ac_objext; then
8279 eval "$as_ac_Header=yes"
8281 echo "$as_me: failed program was:" >&5
8282 sed 's/^/| /' conftest.
$ac_ext >&5
8284 eval "$as_ac_Header=no"
8287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8289 ac_res
=`eval echo '${'$as_ac_Header'}'`
8290 { echo "$as_me:$LINENO: result: $ac_res" >&5
8291 echo "${ECHO_T}$ac_res" >&6; }
8292 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8293 cat >>confdefs.h
<<_ACEOF
8294 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8301 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8303 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8304 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
8305 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
8306 echo $ECHO_N "(cached) $ECHO_C" >&6
8308 cat >conftest.
$ac_ext <<_ACEOF
8311 cat confdefs.h
>>conftest.
$ac_ext
8312 cat >>conftest.
$ac_ext <<_ACEOF
8313 /* end confdefs.h. */
8318 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8323 rm -f conftest.
$ac_objext
8324 if { (ac_try
="$ac_compile"
8326 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8327 *) ac_try_echo=$ac_try;;
8329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8330 (eval "$ac_compile") 2>conftest.er1
8332 grep -v '^ *+' conftest.er1 >conftest.err
8334 cat conftest.err >&5
8335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8336 (exit $ac_status); } && {
8337 test -z "$ac_c_werror_flag" ||
8338 test ! -s conftest.err
8339 } && test -s conftest.$ac_objext; then
8340 wine_cv_opengl_header_version_OK="yes"
8342 echo "$as_me: failed program was:" >&5
8343 sed 's/^/| /' conftest.$ac_ext >&5
8345 wine_cv_opengl_header_version_OK="no"
8348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8350 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
8351 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
8353 if test "$wine_cv_opengl_header_version_OK" = "yes"
8355 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8356 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
8357 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8358 echo $ECHO_N "(cached) $ECHO_C" >&6
8360 ac_check_lib_save_LIBS=$LIBS
8361 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8362 cat >conftest.$ac_ext <<_ACEOF
8365 cat confdefs.h >>conftest.$ac_ext
8366 cat >>conftest.$ac_ext <<_ACEOF
8367 /* end confdefs.h. */
8369 /* Override any GCC internal prototype to avoid an error.
8370 Use char because int might match the return type of a GCC
8371 builtin and then its argument prototype would still apply. */
8375 char glXCreateContext ();
8379 return glXCreateContext ();
8384 rm -f conftest.$ac_objext conftest$ac_exeext
8385 if { (ac_try="$ac_link"
8387 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8388 *) ac_try_echo
=$ac_try;;
8390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8391 (eval "$ac_link") 2>conftest.er1
8393 grep -v '^ *+' conftest.er1
>conftest.err
8395 cat conftest.err
>&5
8396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8397 (exit $ac_status); } && {
8398 test -z "$ac_c_werror_flag" ||
8399 test ! -s conftest.err
8400 } && test -s conftest
$ac_exeext &&
8401 $as_test_x conftest
$ac_exeext; then
8402 ac_cv_lib_GL_glXCreateContext
=yes
8404 echo "$as_me: failed program was:" >&5
8405 sed 's/^/| /' conftest.
$ac_ext >&5
8407 ac_cv_lib_GL_glXCreateContext
=no
8410 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8411 conftest
$ac_exeext conftest.
$ac_ext
8412 LIBS
=$ac_check_lib_save_LIBS
8414 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8415 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
8416 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8418 OPENGLFILES
='$(OPENGLFILES)'
8420 cat >>confdefs.h
<<\_ACEOF
8421 #define HAVE_OPENGL 1
8428 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8429 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
8430 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8431 echo $ECHO_N "(cached) $ECHO_C" >&6
8433 ac_check_lib_save_LIBS
=$LIBS
8434 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8436 cat >conftest.
$ac_ext <<_ACEOF
8439 cat confdefs.h
>>conftest.
$ac_ext
8440 cat >>conftest.
$ac_ext <<_ACEOF
8441 /* end confdefs.h. */
8443 /* Override any GCC internal prototype to avoid an error.
8444 Use char because int might match the return type of a GCC
8445 builtin and then its argument prototype would still apply. */
8453 return gluLookAt ();
8458 rm -f conftest.
$ac_objext conftest
$ac_exeext
8459 if { (ac_try
="$ac_link"
8461 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8462 *) ac_try_echo=$ac_try;;
8464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8465 (eval "$ac_link") 2>conftest.er1
8467 grep -v '^ *+' conftest.er1 >conftest.err
8469 cat conftest.err >&5
8470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8471 (exit $ac_status); } && {
8472 test -z "$ac_c_werror_flag" ||
8473 test ! -s conftest.err
8474 } && test -s conftest$ac_exeext &&
8475 $as_test_x conftest$ac_exeext; then
8476 ac_cv_lib_GLU_gluLookAt=yes
8478 echo "$as_me: failed program was:" >&5
8479 sed 's/^/| /' conftest.$ac_ext >&5
8481 ac_cv_lib_GLU_gluLookAt=no
8484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8485 conftest$ac_exeext conftest.$ac_ext
8486 LIBS=$ac_check_lib_save_LIBS
8488 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8489 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
8490 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8491 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8492 GLU32FILES='$(GLU32FILES)'
8498 wine_cv_opengl_headers_found="no"
8504 for ac_header in audio/audiolib.h
8506 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8507 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8508 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8510 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8511 echo $ECHO_N "(cached) $ECHO_C" >&6
8513 ac_res=`eval echo '${'$as_ac_Header'}'`
8514 { echo "$as_me:$LINENO: result: $ac_res" >&5
8515 echo "${ECHO_T}$ac_res" >&6; }
8517 # Is the header compilable?
8518 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8519 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8520 cat >conftest.$ac_ext <<_ACEOF
8523 cat confdefs.h >>conftest.$ac_ext
8524 cat >>conftest.$ac_ext <<_ACEOF
8525 /* end confdefs.h. */
8526 $ac_includes_default
8527 #include <$ac_header>
8529 rm -f conftest.$ac_objext
8530 if { (ac_try="$ac_compile"
8532 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8533 *) ac_try_echo
=$ac_try;;
8535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8536 (eval "$ac_compile") 2>conftest.er1
8538 grep -v '^ *+' conftest.er1
>conftest.err
8540 cat conftest.err
>&5
8541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8542 (exit $ac_status); } && {
8543 test -z "$ac_c_werror_flag" ||
8544 test ! -s conftest.err
8545 } && test -s conftest.
$ac_objext; then
8546 ac_header_compiler
=yes
8548 echo "$as_me: failed program was:" >&5
8549 sed 's/^/| /' conftest.
$ac_ext >&5
8551 ac_header_compiler
=no
8554 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8555 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8556 echo "${ECHO_T}$ac_header_compiler" >&6; }
8558 # Is the header present?
8559 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8560 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8561 cat >conftest.
$ac_ext <<_ACEOF
8564 cat confdefs.h
>>conftest.
$ac_ext
8565 cat >>conftest.
$ac_ext <<_ACEOF
8566 /* end confdefs.h. */
8567 #include <$ac_header>
8569 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8571 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8572 *) ac_try_echo=$ac_try;;
8574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8575 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8577 grep -v '^ *+' conftest.er1 >conftest.err
8579 cat conftest.err >&5
8580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8581 (exit $ac_status); } >/dev/null && {
8582 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8583 test ! -s conftest.err
8585 ac_header_preproc=yes
8587 echo "$as_me: failed program was:" >&5
8588 sed 's/^/| /' conftest.$ac_ext >&5
8590 ac_header_preproc=no
8593 rm -f conftest.err conftest.$ac_ext
8594 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8595 echo "${ECHO_T}$ac_header_preproc" >&6; }
8597 # So? What about this header?
8598 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8600 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8601 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8603 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8604 ac_header_preproc=yes
8607 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8608 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8609 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8610 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8611 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8612 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8613 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8614 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8616 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8617 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8618 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8620 ## ------------------------------------ ##
8621 ## Report this to wine-devel@winehq.org ##
8622 ## ------------------------------------ ##
8624 ) | sed "s/^/$as_me: WARNING: /" >&2
8627 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8629 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8630 echo $ECHO_N "(cached) $ECHO_C" >&6
8632 eval "$as_ac_Header=\$ac_header_preproc"
8634 ac_res=`eval echo '${'$as_ac_Header'}'`
8635 { echo "$as_me:$LINENO: result: $ac_res" >&5
8636 echo "${ECHO_T}$ac_res" >&6; }
8639 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8640 cat >>confdefs.h <<_ACEOF
8641 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8644 for ac_header in audio/soundlib.h
8646 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8647 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8649 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8650 echo $ECHO_N "(cached) $ECHO_C" >&6
8652 cat >conftest.$ac_ext <<_ACEOF
8655 cat confdefs.h >>conftest.$ac_ext
8656 cat >>conftest.$ac_ext <<_ACEOF
8657 /* end confdefs.h. */
8658 #include <audio/audiolib.h>
8660 #include <$ac_header>
8662 rm -f conftest.$ac_objext
8663 if { (ac_try="$ac_compile"
8665 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8666 *) ac_try_echo
=$ac_try;;
8668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8669 (eval "$ac_compile") 2>conftest.er1
8671 grep -v '^ *+' conftest.er1
>conftest.err
8673 cat conftest.err
>&5
8674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8675 (exit $ac_status); } && {
8676 test -z "$ac_c_werror_flag" ||
8677 test ! -s conftest.err
8678 } && test -s conftest.
$ac_objext; then
8679 eval "$as_ac_Header=yes"
8681 echo "$as_me: failed program was:" >&5
8682 sed 's/^/| /' conftest.
$ac_ext >&5
8684 eval "$as_ac_Header=no"
8687 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8689 ac_res
=`eval echo '${'$as_ac_Header'}'`
8690 { echo "$as_me:$LINENO: result: $ac_res" >&5
8691 echo "${ECHO_T}$ac_res" >&6; }
8692 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8693 cat >>confdefs.h
<<_ACEOF
8694 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8701 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8702 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
8703 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8704 echo $ECHO_N "(cached) $ECHO_C" >&6
8706 ac_check_lib_save_LIBS
=$LIBS
8707 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8708 cat >conftest.
$ac_ext <<_ACEOF
8711 cat confdefs.h
>>conftest.
$ac_ext
8712 cat >>conftest.
$ac_ext <<_ACEOF
8713 /* end confdefs.h. */
8715 /* Override any GCC internal prototype to avoid an error.
8716 Use char because int might match the return type of a GCC
8717 builtin and then its argument prototype would still apply. */
8721 char AuCreateFlow ();
8725 return AuCreateFlow ();
8730 rm -f conftest.
$ac_objext conftest
$ac_exeext
8731 if { (ac_try
="$ac_link"
8733 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8734 *) ac_try_echo=$ac_try;;
8736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8737 (eval "$ac_link") 2>conftest.er1
8739 grep -v '^ *+' conftest.er1 >conftest.err
8741 cat conftest.err >&5
8742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8743 (exit $ac_status); } && {
8744 test -z "$ac_c_werror_flag" ||
8745 test ! -s conftest.err
8746 } && test -s conftest$ac_exeext &&
8747 $as_test_x conftest$ac_exeext; then
8748 ac_cv_lib_audio_AuCreateFlow=yes
8750 echo "$as_me: failed program was:" >&5
8751 sed 's/^/| /' conftest.$ac_ext >&5
8753 ac_cv_lib_audio_AuCreateFlow=no
8756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8757 conftest$ac_exeext conftest.$ac_ext
8758 LIBS=$ac_check_lib_save_LIBS
8760 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8761 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
8762 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8764 cat >>confdefs.h <<\_ACEOF
8768 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
8769 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
8770 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
8771 echo $ECHO_N "(cached) $ECHO_C" >&6
8773 ac_check_lib_save_LIBS=$LIBS
8774 LIBS="-lXau $X_LIBS $LIBS"
8775 cat >conftest.$ac_ext <<_ACEOF
8778 cat confdefs.h >>conftest.$ac_ext
8779 cat >>conftest.$ac_ext <<_ACEOF
8780 /* end confdefs.h. */
8782 /* Override any GCC internal prototype to avoid an error.
8783 Use char because int might match the return type of a GCC
8784 builtin and then its argument prototype would still apply. */
8788 char XauGetBestAuthByAddr ();
8792 return XauGetBestAuthByAddr ();
8797 rm -f conftest.$ac_objext conftest$ac_exeext
8798 if { (ac_try="$ac_link"
8800 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8801 *) ac_try_echo
=$ac_try;;
8803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8804 (eval "$ac_link") 2>conftest.er1
8806 grep -v '^ *+' conftest.er1
>conftest.err
8808 cat conftest.err
>&5
8809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8810 (exit $ac_status); } && {
8811 test -z "$ac_c_werror_flag" ||
8812 test ! -s conftest.err
8813 } && test -s conftest
$ac_exeext &&
8814 $as_test_x conftest
$ac_exeext; then
8815 ac_cv_lib_Xau_XauGetBestAuthByAddr
=yes
8817 echo "$as_me: failed program was:" >&5
8818 sed 's/^/| /' conftest.
$ac_ext >&5
8820 ac_cv_lib_Xau_XauGetBestAuthByAddr
=no
8823 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8824 conftest
$ac_exeext conftest.
$ac_ext
8825 LIBS
=$ac_check_lib_save_LIBS
8827 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
8828 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
8829 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
8830 NASLIBS
="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8832 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8843 CPPFLAGS
="$ac_save_CPPFLAGS"
8860 ac_save_CPPFLAGS
="$CPPFLAGS"
8861 if test "$PKG_CONFIG" != "false"
8863 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
8864 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
8866 ac_xml_libs
="`xml2-config --libs 2>/dev/null`"
8867 ac_xml_cflags
="`xml2-config --cflags 2>/dev/null`"
8869 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
8871 for ac_header
in libxml
/parser.h
8873 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8874 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8875 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8877 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8878 echo $ECHO_N "(cached) $ECHO_C" >&6
8880 ac_res
=`eval echo '${'$as_ac_Header'}'`
8881 { echo "$as_me:$LINENO: result: $ac_res" >&5
8882 echo "${ECHO_T}$ac_res" >&6; }
8884 # Is the header compilable?
8885 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8886 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8887 cat >conftest.
$ac_ext <<_ACEOF
8890 cat confdefs.h
>>conftest.
$ac_ext
8891 cat >>conftest.
$ac_ext <<_ACEOF
8892 /* end confdefs.h. */
8893 $ac_includes_default
8894 #include <$ac_header>
8896 rm -f conftest.
$ac_objext
8897 if { (ac_try
="$ac_compile"
8899 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8900 *) ac_try_echo=$ac_try;;
8902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8903 (eval "$ac_compile") 2>conftest.er1
8905 grep -v '^ *+' conftest.er1 >conftest.err
8907 cat conftest.err >&5
8908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8909 (exit $ac_status); } && {
8910 test -z "$ac_c_werror_flag" ||
8911 test ! -s conftest.err
8912 } && test -s conftest.$ac_objext; then
8913 ac_header_compiler=yes
8915 echo "$as_me: failed program was:" >&5
8916 sed 's/^/| /' conftest.$ac_ext >&5
8918 ac_header_compiler=no
8921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8922 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8923 echo "${ECHO_T}$ac_header_compiler" >&6; }
8925 # Is the header present?
8926 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8927 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8928 cat >conftest.$ac_ext <<_ACEOF
8931 cat confdefs.h >>conftest.$ac_ext
8932 cat >>conftest.$ac_ext <<_ACEOF
8933 /* end confdefs.h. */
8934 #include <$ac_header>
8936 if { (ac_try="$ac_cpp conftest.$ac_ext"
8938 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8939 *) ac_try_echo
=$ac_try;;
8941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8942 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8944 grep -v '^ *+' conftest.er1
>conftest.err
8946 cat conftest.err
>&5
8947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8948 (exit $ac_status); } >/dev
/null
&& {
8949 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8950 test ! -s conftest.err
8952 ac_header_preproc
=yes
8954 echo "$as_me: failed program was:" >&5
8955 sed 's/^/| /' conftest.
$ac_ext >&5
8957 ac_header_preproc
=no
8960 rm -f conftest.err conftest.
$ac_ext
8961 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8962 echo "${ECHO_T}$ac_header_preproc" >&6; }
8964 # So? What about this header?
8965 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8967 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8968 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8969 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8970 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8971 ac_header_preproc
=yes
8974 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8975 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8976 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8977 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8978 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8979 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8980 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8981 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8982 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8983 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8984 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8985 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8987 ## ------------------------------------ ##
8988 ## Report this to wine-devel@winehq.org ##
8989 ## ------------------------------------ ##
8991 ) |
sed "s/^/$as_me: WARNING: /" >&2
8994 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8996 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8997 echo $ECHO_N "(cached) $ECHO_C" >&6
8999 eval "$as_ac_Header=\$ac_header_preproc"
9001 ac_res
=`eval echo '${'$as_ac_Header'}'`
9002 { echo "$as_me:$LINENO: result: $ac_res" >&5
9003 echo "${ECHO_T}$ac_res" >&6; }
9006 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9007 cat >>confdefs.h
<<_ACEOF
9008 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9010 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
9011 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
9012 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
9013 echo $ECHO_N "(cached) $ECHO_C" >&6
9015 ac_check_lib_save_LIBS
=$LIBS
9016 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9017 cat >conftest.
$ac_ext <<_ACEOF
9020 cat confdefs.h
>>conftest.
$ac_ext
9021 cat >>conftest.
$ac_ext <<_ACEOF
9022 /* end confdefs.h. */
9024 /* Override any GCC internal prototype to avoid an error.
9025 Use char because int might match the return type of a GCC
9026 builtin and then its argument prototype would still apply. */
9030 char xmlParseMemory ();
9034 return xmlParseMemory ();
9039 rm -f conftest.
$ac_objext conftest
$ac_exeext
9040 if { (ac_try
="$ac_link"
9042 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9043 *) ac_try_echo=$ac_try;;
9045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9046 (eval "$ac_link") 2>conftest.er1
9048 grep -v '^ *+' conftest.er1 >conftest.err
9050 cat conftest.err >&5
9051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9052 (exit $ac_status); } && {
9053 test -z "$ac_c_werror_flag" ||
9054 test ! -s conftest.err
9055 } && test -s conftest$ac_exeext &&
9056 $as_test_x conftest$ac_exeext; then
9057 ac_cv_lib_xml2_xmlParseMemory=yes
9059 echo "$as_me: failed program was:" >&5
9060 sed 's/^/| /' conftest.$ac_ext >&5
9062 ac_cv_lib_xml2_xmlParseMemory=no
9065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9066 conftest$ac_exeext conftest.$ac_ext
9067 LIBS=$ac_check_lib_save_LIBS
9069 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9070 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9071 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
9073 cat >>confdefs.h <<\_ACEOF
9074 #define HAVE_LIBXML2 1
9077 XML2LIBS="$ac_xml_libs"
9078 XML2INCL="$ac_xml_cflags"
9081 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
9082 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
9083 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
9084 echo $ECHO_N "(cached) $ECHO_C" >&6
9086 ac_check_lib_save_LIBS=$LIBS
9087 LIBS="-lxml2 $ac_xml_libs $LIBS"
9088 cat >conftest.$ac_ext <<_ACEOF
9091 cat confdefs.h >>conftest.$ac_ext
9092 cat >>conftest.$ac_ext <<_ACEOF
9093 /* end confdefs.h. */
9095 /* Override any GCC internal prototype to avoid an error.
9096 Use char because int might match the return type of a GCC
9097 builtin and then its argument prototype would still apply. */
9101 char xmlReadMemory ();
9105 return xmlReadMemory ();
9110 rm -f conftest.$ac_objext conftest$ac_exeext
9111 if { (ac_try="$ac_link"
9113 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9114 *) ac_try_echo
=$ac_try;;
9116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9117 (eval "$ac_link") 2>conftest.er1
9119 grep -v '^ *+' conftest.er1
>conftest.err
9121 cat conftest.err
>&5
9122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9123 (exit $ac_status); } && {
9124 test -z "$ac_c_werror_flag" ||
9125 test ! -s conftest.err
9126 } && test -s conftest
$ac_exeext &&
9127 $as_test_x conftest
$ac_exeext; then
9128 ac_cv_lib_xml2_xmlReadMemory
=yes
9130 echo "$as_me: failed program was:" >&5
9131 sed 's/^/| /' conftest.
$ac_ext >&5
9133 ac_cv_lib_xml2_xmlReadMemory
=no
9136 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9137 conftest
$ac_exeext conftest.
$ac_ext
9138 LIBS
=$ac_check_lib_save_LIBS
9140 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9141 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9142 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
9144 cat >>confdefs.h
<<\_ACEOF
9145 #define HAVE_XMLREADMEMORY 1
9150 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
9151 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
9152 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
9153 echo $ECHO_N "(cached) $ECHO_C" >&6
9155 ac_check_lib_save_LIBS
=$LIBS
9156 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9157 cat >conftest.
$ac_ext <<_ACEOF
9160 cat confdefs.h
>>conftest.
$ac_ext
9161 cat >>conftest.
$ac_ext <<_ACEOF
9162 /* end confdefs.h. */
9164 /* Override any GCC internal prototype to avoid an error.
9165 Use char because int might match the return type of a GCC
9166 builtin and then its argument prototype would still apply. */
9170 char xmlNewDocPI ();
9174 return xmlNewDocPI ();
9179 rm -f conftest.
$ac_objext conftest
$ac_exeext
9180 if { (ac_try
="$ac_link"
9182 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9183 *) ac_try_echo=$ac_try;;
9185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9186 (eval "$ac_link") 2>conftest.er1
9188 grep -v '^ *+' conftest.er1 >conftest.err
9190 cat conftest.err >&5
9191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9192 (exit $ac_status); } && {
9193 test -z "$ac_c_werror_flag" ||
9194 test ! -s conftest.err
9195 } && test -s conftest$ac_exeext &&
9196 $as_test_x conftest$ac_exeext; then
9197 ac_cv_lib_xml2_xmlNewDocPI=yes
9199 echo "$as_me: failed program was:" >&5
9200 sed 's/^/| /' conftest.$ac_ext >&5
9202 ac_cv_lib_xml2_xmlNewDocPI=no
9205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9206 conftest$ac_exeext conftest.$ac_ext
9207 LIBS=$ac_check_lib_save_LIBS
9209 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9210 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9211 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
9213 cat >>confdefs.h <<\_ACEOF
9214 #define HAVE_XMLNEWDOCPI 1
9224 CPPFLAGS="$ac_save_CPPFLAGS"
9225 if test "$PKG_CONFIG" != "false"
9227 ac_xslt_libs="`$PKG_CONFIG --libs libxslt
2>/dev
/null
`"
9228 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt
2>/dev
/null
`"
9230 ac_xslt_libs="`xslt-config
--libs 2>/dev
/null
`"
9231 ac_xslt_cflags="`xslt-config
--cflags 2>/dev
/null
`"
9233 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9236 for ac_header in libxslt/pattern.h libxslt/transform.h
9238 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9239 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9241 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9242 echo $ECHO_N "(cached) $ECHO_C" >&6
9244 cat >conftest.$ac_ext <<_ACEOF
9247 cat confdefs.h >>conftest.$ac_ext
9248 cat >>conftest.$ac_ext <<_ACEOF
9249 /* end confdefs.h. */
9250 #ifdef HAVE_LIBXSLT_PATTERN_H
9251 # include <libxslt/pattern.h>
9254 #include <$ac_header>
9256 rm -f conftest.$ac_objext
9257 if { (ac_try="$ac_compile"
9259 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9260 *) ac_try_echo
=$ac_try;;
9262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9263 (eval "$ac_compile") 2>conftest.er1
9265 grep -v '^ *+' conftest.er1
>conftest.err
9267 cat conftest.err
>&5
9268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9269 (exit $ac_status); } && {
9270 test -z "$ac_c_werror_flag" ||
9271 test ! -s conftest.err
9272 } && test -s conftest.
$ac_objext; then
9273 eval "$as_ac_Header=yes"
9275 echo "$as_me: failed program was:" >&5
9276 sed 's/^/| /' conftest.
$ac_ext >&5
9278 eval "$as_ac_Header=no"
9281 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9283 ac_res
=`eval echo '${'$as_ac_Header'}'`
9284 { echo "$as_me:$LINENO: result: $ac_res" >&5
9285 echo "${ECHO_T}$ac_res" >&6; }
9286 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9287 cat >>confdefs.h
<<_ACEOF
9288 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9290 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
9291 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
9292 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
9293 echo $ECHO_N "(cached) $ECHO_C" >&6
9295 ac_check_lib_save_LIBS
=$LIBS
9296 LIBS
="-lxslt $ac_xslt_libs $LIBS"
9297 cat >conftest.
$ac_ext <<_ACEOF
9300 cat confdefs.h
>>conftest.
$ac_ext
9301 cat >>conftest.
$ac_ext <<_ACEOF
9302 /* end confdefs.h. */
9304 /* Override any GCC internal prototype to avoid an error.
9305 Use char because int might match the return type of a GCC
9306 builtin and then its argument prototype would still apply. */
9310 char xsltCompilePattern ();
9314 return xsltCompilePattern ();
9319 rm -f conftest.
$ac_objext conftest
$ac_exeext
9320 if { (ac_try
="$ac_link"
9322 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9323 *) ac_try_echo=$ac_try;;
9325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9326 (eval "$ac_link") 2>conftest.er1
9328 grep -v '^ *+' conftest.er1 >conftest.err
9330 cat conftest.err >&5
9331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 (exit $ac_status); } && {
9333 test -z "$ac_c_werror_flag" ||
9334 test ! -s conftest.err
9335 } && test -s conftest$ac_exeext &&
9336 $as_test_x conftest$ac_exeext; then
9337 ac_cv_lib_xslt_xsltCompilePattern=yes
9339 echo "$as_me: failed program was:" >&5
9340 sed 's/^/| /' conftest.$ac_ext >&5
9342 ac_cv_lib_xslt_xsltCompilePattern=no
9345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9346 conftest$ac_exeext conftest.$ac_ext
9347 LIBS=$ac_check_lib_save_LIBS
9349 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
9350 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
9351 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
9353 cat >>confdefs.h <<\_ACEOF
9354 #define HAVE_LIBXSLT 1
9357 XSLTLIBS="$ac_xslt_libs"
9358 XSLTINCL="$ac_xslt_cflags"
9366 CPPFLAGS="$ac_save_CPPFLAGS"
9370 if test "$PKG_CONFIG" != "false"
9372 ac_save_CPPFLAGS="$CPPFLAGS"
9373 ac_hal_libs="`$PKG_CONFIG --libs hal
2>/dev
/null
`"
9374 ac_hal_cflags="`$PKG_CONFIG --cflags hal
2>/dev
/null
`"
9375 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9378 for ac_header in dbus/dbus.h hal/libhal.h
9380 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9381 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9382 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9384 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9385 echo $ECHO_N "(cached) $ECHO_C" >&6
9387 ac_res=`eval echo '${'$as_ac_Header'}'`
9388 { echo "$as_me:$LINENO: result: $ac_res" >&5
9389 echo "${ECHO_T}$ac_res" >&6; }
9391 # Is the header compilable?
9392 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9393 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9394 cat >conftest.$ac_ext <<_ACEOF
9397 cat confdefs.h >>conftest.$ac_ext
9398 cat >>conftest.$ac_ext <<_ACEOF
9399 /* end confdefs.h. */
9400 $ac_includes_default
9401 #include <$ac_header>
9403 rm -f conftest.$ac_objext
9404 if { (ac_try="$ac_compile"
9406 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9407 *) ac_try_echo
=$ac_try;;
9409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9410 (eval "$ac_compile") 2>conftest.er1
9412 grep -v '^ *+' conftest.er1
>conftest.err
9414 cat conftest.err
>&5
9415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9416 (exit $ac_status); } && {
9417 test -z "$ac_c_werror_flag" ||
9418 test ! -s conftest.err
9419 } && test -s conftest.
$ac_objext; then
9420 ac_header_compiler
=yes
9422 echo "$as_me: failed program was:" >&5
9423 sed 's/^/| /' conftest.
$ac_ext >&5
9425 ac_header_compiler
=no
9428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9429 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9430 echo "${ECHO_T}$ac_header_compiler" >&6; }
9432 # Is the header present?
9433 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9434 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9435 cat >conftest.
$ac_ext <<_ACEOF
9438 cat confdefs.h
>>conftest.
$ac_ext
9439 cat >>conftest.
$ac_ext <<_ACEOF
9440 /* end confdefs.h. */
9441 #include <$ac_header>
9443 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9446 *) ac_try_echo=$ac_try;;
9448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9449 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9451 grep -v '^ *+' conftest.er1 >conftest.err
9453 cat conftest.err >&5
9454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9455 (exit $ac_status); } >/dev/null && {
9456 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9457 test ! -s conftest.err
9459 ac_header_preproc=yes
9461 echo "$as_me: failed program was:" >&5
9462 sed 's/^/| /' conftest.$ac_ext >&5
9464 ac_header_preproc=no
9467 rm -f conftest.err conftest.$ac_ext
9468 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9469 echo "${ECHO_T}$ac_header_preproc" >&6; }
9471 # So? What about this header?
9472 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9474 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9475 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9477 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9478 ac_header_preproc=yes
9481 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9482 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9483 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9484 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9485 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9486 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9487 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9488 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9489 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9490 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9491 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9492 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9494 ## ------------------------------------ ##
9495 ## Report this to wine-devel@winehq.org ##
9496 ## ------------------------------------ ##
9498 ) | sed "s/^/$as_me: WARNING: /" >&2
9501 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9503 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9504 echo $ECHO_N "(cached) $ECHO_C" >&6
9506 eval "$as_ac_Header=\$ac_header_preproc"
9508 ac_res=`eval echo '${'$as_ac_Header'}'`
9509 { echo "$as_me:$LINENO: result: $ac_res" >&5
9510 echo "${ECHO_T}$ac_res" >&6; }
9513 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9514 cat >>confdefs.h <<_ACEOF
9515 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9522 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9524 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
9525 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
9526 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
9527 echo $ECHO_N "(cached) $ECHO_C" >&6
9529 ac_check_lib_save_LIBS=$LIBS
9531 cat >conftest.$ac_ext <<_ACEOF
9534 cat confdefs.h >>conftest.$ac_ext
9535 cat >>conftest.$ac_ext <<_ACEOF
9536 /* end confdefs.h. */
9538 /* Override any GCC internal prototype to avoid an error.
9539 Use char because int might match the return type of a GCC
9540 builtin and then its argument prototype would still apply. */
9544 char libhal_ctx_new ();
9548 return libhal_ctx_new ();
9553 rm -f conftest.$ac_objext conftest$ac_exeext
9554 if { (ac_try="$ac_link"
9556 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9557 *) ac_try_echo
=$ac_try;;
9559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9560 (eval "$ac_link") 2>conftest.er1
9562 grep -v '^ *+' conftest.er1
>conftest.err
9564 cat conftest.err
>&5
9565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9566 (exit $ac_status); } && {
9567 test -z "$ac_c_werror_flag" ||
9568 test ! -s conftest.err
9569 } && test -s conftest
$ac_exeext &&
9570 $as_test_x conftest
$ac_exeext; then
9571 ac_cv_lib_hal_libhal_ctx_new
=yes
9573 echo "$as_me: failed program was:" >&5
9574 sed 's/^/| /' conftest.
$ac_ext >&5
9576 ac_cv_lib_hal_libhal_ctx_new
=no
9579 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9580 conftest
$ac_exeext conftest.
$ac_ext
9581 LIBS
=$ac_check_lib_save_LIBS
9583 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
9584 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
9585 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
9586 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
9587 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
9588 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
9589 echo $ECHO_N "(cached) $ECHO_C" >&6
9591 ac_check_lib_save_LIBS
=$LIBS
9592 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
9593 cat >conftest.
$ac_ext <<_ACEOF
9596 cat confdefs.h
>>conftest.
$ac_ext
9597 cat >>conftest.
$ac_ext <<_ACEOF
9598 /* end confdefs.h. */
9600 /* Override any GCC internal prototype to avoid an error.
9601 Use char because int might match the return type of a GCC
9602 builtin and then its argument prototype would still apply. */
9606 char dbus_connection_close ();
9610 return dbus_connection_close ();
9615 rm -f conftest.
$ac_objext conftest
$ac_exeext
9616 if { (ac_try
="$ac_link"
9618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9619 *) ac_try_echo=$ac_try;;
9621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9622 (eval "$ac_link") 2>conftest.er1
9624 grep -v '^ *+' conftest.er1 >conftest.err
9626 cat conftest.err >&5
9627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9628 (exit $ac_status); } && {
9629 test -z "$ac_c_werror_flag" ||
9630 test ! -s conftest.err
9631 } && test -s conftest$ac_exeext &&
9632 $as_test_x conftest$ac_exeext; then
9633 ac_cv_lib_dbus_1_dbus_connection_close=yes
9635 echo "$as_me: failed program was:" >&5
9636 sed 's/^/| /' conftest.$ac_ext >&5
9638 ac_cv_lib_dbus_1_dbus_connection_close=no
9641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9642 conftest$ac_exeext conftest.$ac_ext
9643 LIBS=$ac_check_lib_save_LIBS
9645 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9646 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9647 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
9649 cat >>confdefs.h <<\_ACEOF
9650 #define HAVE_LIBHAL 1
9653 HALINCL="$ac_hal_cflags"
9659 CPPFLAGS="$ac_save_CPPFLAGS"
9663 if test "$ac_cv_header_ncurses_h" = "yes"
9665 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9666 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
9667 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9668 echo $ECHO_N "(cached) $ECHO_C" >&6
9670 ac_check_lib_save_LIBS=$LIBS
9671 LIBS="-lncurses $LIBS"
9672 cat >conftest.$ac_ext <<_ACEOF
9675 cat confdefs.h >>conftest.$ac_ext
9676 cat >>conftest.$ac_ext <<_ACEOF
9677 /* end confdefs.h. */
9679 /* Override any GCC internal prototype to avoid an error.
9680 Use char because int might match the return type of a GCC
9681 builtin and then its argument prototype would still apply. */
9694 rm -f conftest.$ac_objext conftest$ac_exeext
9695 if { (ac_try="$ac_link"
9697 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9698 *) ac_try_echo
=$ac_try;;
9700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9701 (eval "$ac_link") 2>conftest.er1
9703 grep -v '^ *+' conftest.er1
>conftest.err
9705 cat conftest.err
>&5
9706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9707 (exit $ac_status); } && {
9708 test -z "$ac_c_werror_flag" ||
9709 test ! -s conftest.err
9710 } && test -s conftest
$ac_exeext &&
9711 $as_test_x conftest
$ac_exeext; then
9712 ac_cv_lib_ncurses_waddch
=yes
9714 echo "$as_me: failed program was:" >&5
9715 sed 's/^/| /' conftest.
$ac_ext >&5
9717 ac_cv_lib_ncurses_waddch
=no
9720 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9721 conftest
$ac_exeext conftest.
$ac_ext
9722 LIBS
=$ac_check_lib_save_LIBS
9724 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9725 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
9726 if test $ac_cv_lib_ncurses_waddch = yes; then
9727 CURSESLIBS
="-lncurses"
9730 elif test "$ac_cv_header_curses_h" = "yes"
9732 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9733 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
9734 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9735 echo $ECHO_N "(cached) $ECHO_C" >&6
9737 ac_check_lib_save_LIBS
=$LIBS
9738 LIBS
="-lcurses $LIBS"
9739 cat >conftest.
$ac_ext <<_ACEOF
9742 cat confdefs.h
>>conftest.
$ac_ext
9743 cat >>conftest.
$ac_ext <<_ACEOF
9744 /* end confdefs.h. */
9746 /* Override any GCC internal prototype to avoid an error.
9747 Use char because int might match the return type of a GCC
9748 builtin and then its argument prototype would still apply. */
9761 rm -f conftest.
$ac_objext conftest
$ac_exeext
9762 if { (ac_try
="$ac_link"
9764 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9765 *) ac_try_echo=$ac_try;;
9767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9768 (eval "$ac_link") 2>conftest.er1
9770 grep -v '^ *+' conftest.er1 >conftest.err
9772 cat conftest.err >&5
9773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774 (exit $ac_status); } && {
9775 test -z "$ac_c_werror_flag" ||
9776 test ! -s conftest.err
9777 } && test -s conftest$ac_exeext &&
9778 $as_test_x conftest$ac_exeext; then
9779 ac_cv_lib_curses_waddch=yes
9781 echo "$as_me: failed program was:" >&5
9782 sed 's/^/| /' conftest.$ac_ext >&5
9784 ac_cv_lib_curses_waddch=no
9787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9788 conftest$ac_exeext conftest.$ac_ext
9789 LIBS=$ac_check_lib_save_LIBS
9791 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9792 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
9793 if test $ac_cv_lib_curses_waddch = yes; then
9794 CURSESLIBS="-lcurses"
9798 ac_save_LIBS="$LIBS"
9799 LIBS="$LIBS $CURSESLIBS"
9801 for ac_func in mousemask
9803 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
9804 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9806 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9807 echo $ECHO_N "(cached) $ECHO_C" >&6
9809 cat >conftest.$ac_ext <<_ACEOF
9812 cat confdefs.h >>conftest.$ac_ext
9813 cat >>conftest.$ac_ext <<_ACEOF
9814 /* end confdefs.h. */
9815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9817 #define $ac_func innocuous_$ac_func
9819 /* System header to define __stub macros and hopefully few prototypes,
9820 which can conflict with char $ac_func (); below.
9821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9822 <limits.h> exists even on freestanding compilers. */
9825 # include <limits.h>
9827 # include <assert.h>
9832 /* Override any GCC internal prototype to avoid an error.
9833 Use char because int might match the return type of a GCC
9834 builtin and then its argument prototype would still apply. */
9839 /* The GNU C library defines this for functions which it implements
9840 to always fail with ENOSYS. Some functions are actually named
9841 something starting with __ and the normal name is an alias. */
9842 #if defined __stub_$ac_func || defined __stub___$ac_func
9854 rm -f conftest.$ac_objext conftest$ac_exeext
9855 if { (ac_try="$ac_link"
9857 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9858 *) ac_try_echo
=$ac_try;;
9860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9861 (eval "$ac_link") 2>conftest.er1
9863 grep -v '^ *+' conftest.er1
>conftest.err
9865 cat conftest.err
>&5
9866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9867 (exit $ac_status); } && {
9868 test -z "$ac_c_werror_flag" ||
9869 test ! -s conftest.err
9870 } && test -s conftest
$ac_exeext &&
9871 $as_test_x conftest
$ac_exeext; then
9872 eval "$as_ac_var=yes"
9874 echo "$as_me: failed program was:" >&5
9875 sed 's/^/| /' conftest.
$ac_ext >&5
9877 eval "$as_ac_var=no"
9880 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9881 conftest
$ac_exeext conftest.
$ac_ext
9883 ac_res
=`eval echo '${'$as_ac_var'}'`
9884 { echo "$as_me:$LINENO: result: $ac_res" >&5
9885 echo "${ECHO_T}$ac_res" >&6; }
9886 if test `eval echo '${'$as_ac_var'}'` = yes; then
9887 cat >>confdefs.h
<<_ACEOF
9888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9894 LIBS
="$ac_save_LIBS"
9896 # Extract the first word of "sane-config", so it can be a program name with args.
9897 set dummy sane-config
; ac_word
=$2
9898 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9900 if test "${ac_cv_prog_sane_devel+set}" = set; then
9901 echo $ECHO_N "(cached) $ECHO_C" >&6
9903 if test -n "$sane_devel"; then
9904 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9910 test -z "$as_dir" && as_dir
=.
9911 for ac_exec_ext
in '' $ac_executable_extensions; do
9912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9913 ac_cv_prog_sane_devel
="sane-config"
9914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9921 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9924 sane_devel
=$ac_cv_prog_sane_devel
9925 if test -n "$sane_devel"; then
9926 { echo "$as_me:$LINENO: result: $sane_devel" >&5
9927 echo "${ECHO_T}$sane_devel" >&6; }
9929 { echo "$as_me:$LINENO: result: no" >&5
9930 echo "${ECHO_T}no" >&6; }
9936 if test "$sane_devel" != "no"
9938 SANEINCL
="`$sane_devel --cflags`"
9939 ac_save_CPPFLAGS
="$CPPFLAGS"
9940 CPPFLAGS
="$CPPFLAGS $SANEINCL"
9941 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9942 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9943 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
9944 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9945 echo $ECHO_N "(cached) $ECHO_C" >&6
9947 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9948 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
9950 # Is the header compilable?
9951 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9952 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
9953 cat >conftest.
$ac_ext <<_ACEOF
9956 cat confdefs.h
>>conftest.
$ac_ext
9957 cat >>conftest.
$ac_ext <<_ACEOF
9958 /* end confdefs.h. */
9959 $ac_includes_default
9960 #include <sane/sane.h>
9962 rm -f conftest.
$ac_objext
9963 if { (ac_try
="$ac_compile"
9965 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9966 *) ac_try_echo=$ac_try;;
9968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9969 (eval "$ac_compile") 2>conftest.er1
9971 grep -v '^ *+' conftest.er1 >conftest.err
9973 cat conftest.err >&5
9974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9975 (exit $ac_status); } && {
9976 test -z "$ac_c_werror_flag" ||
9977 test ! -s conftest.err
9978 } && test -s conftest.$ac_objext; then
9979 ac_header_compiler=yes
9981 echo "$as_me: failed program was:" >&5
9982 sed 's/^/| /' conftest.$ac_ext >&5
9984 ac_header_compiler=no
9987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9988 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9989 echo "${ECHO_T}$ac_header_compiler" >&6; }
9991 # Is the header present?
9992 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9993 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
9994 cat >conftest.$ac_ext <<_ACEOF
9997 cat confdefs.h >>conftest.$ac_ext
9998 cat >>conftest.$ac_ext <<_ACEOF
9999 /* end confdefs.h. */
10000 #include <sane/sane.h>
10002 if { (ac_try="$ac_cpp conftest.$ac_ext"
10003 case "(($ac_try" in
10004 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10005 *) ac_try_echo
=$ac_try;;
10007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10008 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10010 grep -v '^ *+' conftest.er1
>conftest.err
10012 cat conftest.err
>&5
10013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10014 (exit $ac_status); } >/dev
/null
&& {
10015 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10016 test ! -s conftest.err
10018 ac_header_preproc
=yes
10020 echo "$as_me: failed program was:" >&5
10021 sed 's/^/| /' conftest.
$ac_ext >&5
10023 ac_header_preproc
=no
10026 rm -f conftest.err conftest.
$ac_ext
10027 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10028 echo "${ECHO_T}$ac_header_preproc" >&6; }
10030 # So? What about this header?
10031 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10033 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10034 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10035 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10036 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10037 ac_header_preproc
=yes
10040 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10041 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10042 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10043 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10044 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10045 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10046 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10047 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10048 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10049 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10050 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10051 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10053 ## ------------------------------------ ##
10054 ## Report this to wine-devel@winehq.org ##
10055 ## ------------------------------------ ##
10057 ) |
sed "s/^/$as_me: WARNING: /" >&2
10060 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10061 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10062 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10063 echo $ECHO_N "(cached) $ECHO_C" >&6
10065 ac_cv_header_sane_sane_h
=$ac_header_preproc
10067 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10068 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10071 if test $ac_cv_header_sane_sane_h = yes; then
10073 cat >>confdefs.h
<<\_ACEOF
10074 #define HAVE_SANE 1
10082 CPPFLAGS
="$ac_save_CPPFLAGS"
10085 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10086 set dummy gphoto2-config
; ac_word
=$2
10087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10089 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
10090 echo $ECHO_N "(cached) $ECHO_C" >&6
10092 if test -n "$gphoto2_devel"; then
10093 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
10095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10096 for as_dir
in $PATH
10099 test -z "$as_dir" && as_dir
=.
10100 for ac_exec_ext
in '' $ac_executable_extensions; do
10101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10102 ac_cv_prog_gphoto2_devel
="gphoto2-config"
10103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10110 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
10113 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
10114 if test -n "$gphoto2_devel"; then
10115 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10116 echo "${ECHO_T}$gphoto2_devel" >&6; }
10118 { echo "$as_me:$LINENO: result: no" >&5
10119 echo "${ECHO_T}no" >&6; }
10123 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10124 set dummy gphoto2-port-config
; ac_word
=$2
10125 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10127 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
10128 echo $ECHO_N "(cached) $ECHO_C" >&6
10130 if test -n "$gphoto2port_devel"; then
10131 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
10133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10134 for as_dir
in $PATH
10137 test -z "$as_dir" && as_dir
=.
10138 for ac_exec_ext
in '' $ac_executable_extensions; do
10139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10140 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
10141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10148 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
10151 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
10152 if test -n "$gphoto2port_devel"; then
10153 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
10154 echo "${ECHO_T}$gphoto2port_devel" >&6; }
10156 { echo "$as_me:$LINENO: result: no" >&5
10157 echo "${ECHO_T}no" >&6; }
10165 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10167 GPHOTO2INCL
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10169 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10172 -L/usr
/lib|
-L/usr
/lib64
) ;;
10173 -L*|
-l*) GPHOTO2LIBS
="$GPHOTO2LIBS $i";;
10176 ac_save_CPPFLAGS
="$CPPFLAGS"
10177 ac_save_LIBS
="$LIBS"
10178 CPPFLAGS
="$CPPFLAGS $GPHOTO2INCL"
10179 LIBS
="$LIBS $GPHOTO2LIBS"
10180 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10181 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10182 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10183 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10184 echo $ECHO_N "(cached) $ECHO_C" >&6
10186 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10187 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10189 # Is the header compilable?
10190 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
10191 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
10192 cat >conftest.
$ac_ext <<_ACEOF
10195 cat confdefs.h
>>conftest.
$ac_ext
10196 cat >>conftest.
$ac_ext <<_ACEOF
10197 /* end confdefs.h. */
10198 $ac_includes_default
10199 #include <gphoto2-camera.h>
10201 rm -f conftest.
$ac_objext
10202 if { (ac_try
="$ac_compile"
10203 case "(($ac_try" in
10204 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10205 *) ac_try_echo=$ac_try;;
10207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10208 (eval "$ac_compile") 2>conftest.er1
10210 grep -v '^ *+' conftest.er1 >conftest.err
10212 cat conftest.err >&5
10213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10214 (exit $ac_status); } && {
10215 test -z "$ac_c_werror_flag" ||
10216 test ! -s conftest.err
10217 } && test -s conftest.$ac_objext; then
10218 ac_header_compiler=yes
10220 echo "$as_me: failed program was:" >&5
10221 sed 's/^/| /' conftest.$ac_ext >&5
10223 ac_header_compiler=no
10226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10227 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10228 echo "${ECHO_T}$ac_header_compiler" >&6; }
10230 # Is the header present?
10231 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
10232 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
10233 cat >conftest.$ac_ext <<_ACEOF
10236 cat confdefs.h >>conftest.$ac_ext
10237 cat >>conftest.$ac_ext <<_ACEOF
10238 /* end confdefs.h. */
10239 #include <gphoto2-camera.h>
10241 if { (ac_try="$ac_cpp conftest.$ac_ext"
10242 case "(($ac_try" in
10243 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10244 *) ac_try_echo
=$ac_try;;
10246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10247 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10249 grep -v '^ *+' conftest.er1
>conftest.err
10251 cat conftest.err
>&5
10252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 (exit $ac_status); } >/dev
/null
&& {
10254 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10255 test ! -s conftest.err
10257 ac_header_preproc
=yes
10259 echo "$as_me: failed program was:" >&5
10260 sed 's/^/| /' conftest.
$ac_ext >&5
10262 ac_header_preproc
=no
10265 rm -f conftest.err conftest.
$ac_ext
10266 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10267 echo "${ECHO_T}$ac_header_preproc" >&6; }
10269 # So? What about this header?
10270 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10272 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
10273 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10274 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
10275 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
10276 ac_header_preproc
=yes
10279 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
10280 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
10281 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
10282 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
10283 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
10284 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
10285 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
10286 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
10287 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
10288 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
10289 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
10290 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
10292 ## ------------------------------------ ##
10293 ## Report this to wine-devel@winehq.org ##
10294 ## ------------------------------------ ##
10296 ) |
sed "s/^/$as_me: WARNING: /" >&2
10299 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10300 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10301 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10302 echo $ECHO_N "(cached) $ECHO_C" >&6
10304 ac_cv_header_gphoto2_camera_h
=$ac_header_preproc
10306 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10307 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10310 if test $ac_cv_header_gphoto2_camera_h = yes; then
10311 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
10312 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
10313 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
10314 echo $ECHO_N "(cached) $ECHO_C" >&6
10316 ac_check_lib_save_LIBS
=$LIBS
10317 LIBS
="-lgphoto2 $LIBS"
10318 cat >conftest.
$ac_ext <<_ACEOF
10321 cat confdefs.h
>>conftest.
$ac_ext
10322 cat >>conftest.
$ac_ext <<_ACEOF
10323 /* end confdefs.h. */
10325 /* Override any GCC internal prototype to avoid an error.
10326 Use char because int might match the return type of a GCC
10327 builtin and then its argument prototype would still apply. */
10331 char gp_camera_new ();
10335 return gp_camera_new ();
10340 rm -f conftest.
$ac_objext conftest
$ac_exeext
10341 if { (ac_try
="$ac_link"
10342 case "(($ac_try" in
10343 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10344 *) ac_try_echo=$ac_try;;
10346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10347 (eval "$ac_link") 2>conftest.er1
10349 grep -v '^ *+' conftest.er1 >conftest.err
10351 cat conftest.err >&5
10352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10353 (exit $ac_status); } && {
10354 test -z "$ac_c_werror_flag" ||
10355 test ! -s conftest.err
10356 } && test -s conftest$ac_exeext &&
10357 $as_test_x conftest$ac_exeext; then
10358 ac_cv_lib_gphoto2_gp_camera_new=yes
10360 echo "$as_me: failed program was:" >&5
10361 sed 's/^/| /' conftest.$ac_ext >&5
10363 ac_cv_lib_gphoto2_gp_camera_new=no
10366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10367 conftest$ac_exeext conftest.$ac_ext
10368 LIBS=$ac_check_lib_save_LIBS
10370 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10371 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10372 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
10374 cat >>confdefs.h <<\_ACEOF
10375 #define HAVE_GPHOTO2 1
10389 LIBS="$ac_save_LIBS"
10390 CPPFLAGS="$ac_save_CPPFLAGS"
10393 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10396 icu_libs="-lsicuuc -lsicudata -lstdc++ -lgcc_s"
10397 if test -n "$ICU_LIB_DIR"
10399 icu_libs="-L$ICU_LIB_DIR $icu_libs"
10401 { echo "$as_me:$LINENO: checking whether can link with ICU libraries" >&5
10402 echo $ECHO_N "checking whether can link with ICU libraries... $ECHO_C" >&6; }
10403 LIBS="$saved_libs $icu_libs"
10404 if test "$cross_compiling" = yes; then
10405 { echo "$as_me:$LINENO: result: no" >&5
10406 echo "${ECHO_T}no" >&6; }
10408 cat >conftest.$ac_ext <<_ACEOF
10411 cat confdefs.h >>conftest.$ac_ext
10412 cat >>conftest.$ac_ext <<_ACEOF
10413 /* end confdefs.h. */
10414 #include <unicode/ubidi.h>
10423 rm -f conftest$ac_exeext
10424 if { (ac_try="$ac_link"
10425 case "(($ac_try" in
10426 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10427 *) ac_try_echo
=$ac_try;;
10429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10430 (eval "$ac_link") 2>&5
10432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10433 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10434 { (case "(($ac_try" in
10435 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10436 *) ac_try_echo=$ac_try;;
10438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10439 (eval "$ac_try") 2>&5
10441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442 (exit $ac_status); }; }; then
10444 cat >>confdefs.h <<\_ACEOF
10448 ICULIBS="$icu_libs"
10450 { echo "$as_me:$LINENO: result: yes" >&5
10451 echo "${ECHO_T}yes" >&6; }
10453 echo "$as_me: program exited with status $ac_status" >&5
10454 echo "$as_me: failed program was:" >&5
10455 sed 's/^/| /' conftest.$ac_ext >&5
10457 ( exit $ac_status )
10458 { echo "$as_me:$LINENO: result: no" >&5
10459 echo "${ECHO_T}no" >&6; }
10461 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10470 if test "$ac_cv_header_resolv_h" = "yes"
10472 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
10473 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
10474 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
10475 echo $ECHO_N "(cached) $ECHO_C" >&6
10477 ac_check_lib_save_LIBS=$LIBS
10478 LIBS="-lresolv $LIBS"
10479 cat >conftest.$ac_ext <<_ACEOF
10482 cat confdefs.h >>conftest.$ac_ext
10483 cat >>conftest.$ac_ext <<_ACEOF
10484 /* end confdefs.h. */
10486 /* Override any GCC internal prototype to avoid an error.
10487 Use char because int might match the return type of a GCC
10488 builtin and then its argument prototype would still apply. */
10496 return res_query ();
10501 rm -f conftest.$ac_objext conftest$ac_exeext
10502 if { (ac_try="$ac_link"
10503 case "(($ac_try" in
10504 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10505 *) ac_try_echo
=$ac_try;;
10507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10508 (eval "$ac_link") 2>conftest.er1
10510 grep -v '^ *+' conftest.er1
>conftest.err
10512 cat conftest.err
>&5
10513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10514 (exit $ac_status); } && {
10515 test -z "$ac_c_werror_flag" ||
10516 test ! -s conftest.err
10517 } && test -s conftest
$ac_exeext &&
10518 $as_test_x conftest
$ac_exeext; then
10519 ac_cv_lib_resolv_res_query
=yes
10521 echo "$as_me: failed program was:" >&5
10522 sed 's/^/| /' conftest.
$ac_ext >&5
10524 ac_cv_lib_resolv_res_query
=no
10527 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10528 conftest
$ac_exeext conftest.
$ac_ext
10529 LIBS
=$ac_check_lib_save_LIBS
10531 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
10532 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
10533 if test $ac_cv_lib_resolv_res_query = yes; then
10535 cat >>confdefs.h
<<\_ACEOF
10536 #define HAVE_RESOLV 1
10539 RESOLVLIBS
="-lresolv"
10546 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10548 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
10549 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
10550 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
10551 echo $ECHO_N "(cached) $ECHO_C" >&6
10553 ac_check_lib_save_LIBS
=$LIBS
10554 LIBS
="-llcms $LIBS"
10555 cat >conftest.
$ac_ext <<_ACEOF
10558 cat confdefs.h
>>conftest.
$ac_ext
10559 cat >>conftest.
$ac_ext <<_ACEOF
10560 /* end confdefs.h. */
10562 /* Override any GCC internal prototype to avoid an error.
10563 Use char because int might match the return type of a GCC
10564 builtin and then its argument prototype would still apply. */
10568 char cmsOpenProfileFromFile ();
10572 return cmsOpenProfileFromFile ();
10577 rm -f conftest.
$ac_objext conftest
$ac_exeext
10578 if { (ac_try
="$ac_link"
10579 case "(($ac_try" in
10580 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10581 *) ac_try_echo=$ac_try;;
10583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10584 (eval "$ac_link") 2>conftest.er1
10586 grep -v '^ *+' conftest.er1 >conftest.err
10588 cat conftest.err >&5
10589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10590 (exit $ac_status); } && {
10591 test -z "$ac_c_werror_flag" ||
10592 test ! -s conftest.err
10593 } && test -s conftest$ac_exeext &&
10594 $as_test_x conftest$ac_exeext; then
10595 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10597 echo "$as_me: failed program was:" >&5
10598 sed 's/^/| /' conftest.$ac_ext >&5
10600 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10604 conftest$ac_exeext conftest.$ac_ext
10605 LIBS=$ac_check_lib_save_LIBS
10607 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10608 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10609 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
10611 cat >>confdefs.h <<\_ACEOF
10612 #define HAVE_LCMS 1
10622 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
10624 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
10625 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
10626 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
10627 echo $ECHO_N "(cached) $ECHO_C" >&6
10629 ac_check_lib_save_LIBS=$LIBS
10630 LIBS="-lldap_r $LIBPTHREAD $LIBS"
10631 cat >conftest.$ac_ext <<_ACEOF
10634 cat confdefs.h >>conftest.$ac_ext
10635 cat >>conftest.$ac_ext <<_ACEOF
10636 /* end confdefs.h. */
10638 /* Override any GCC internal prototype to avoid an error.
10639 Use char because int might match the return type of a GCC
10640 builtin and then its argument prototype would still apply. */
10644 char ldap_initialize ();
10648 return ldap_initialize ();
10653 rm -f conftest.$ac_objext conftest$ac_exeext
10654 if { (ac_try="$ac_link"
10655 case "(($ac_try" in
10656 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10657 *) ac_try_echo
=$ac_try;;
10659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10660 (eval "$ac_link") 2>conftest.er1
10662 grep -v '^ *+' conftest.er1
>conftest.err
10664 cat conftest.err
>&5
10665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10666 (exit $ac_status); } && {
10667 test -z "$ac_c_werror_flag" ||
10668 test ! -s conftest.err
10669 } && test -s conftest
$ac_exeext &&
10670 $as_test_x conftest
$ac_exeext; then
10671 ac_cv_lib_ldap_r_ldap_initialize
=yes
10673 echo "$as_me: failed program was:" >&5
10674 sed 's/^/| /' conftest.
$ac_ext >&5
10676 ac_cv_lib_ldap_r_ldap_initialize
=no
10679 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10680 conftest
$ac_exeext conftest.
$ac_ext
10681 LIBS
=$ac_check_lib_save_LIBS
10683 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
10684 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
10685 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
10686 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
10687 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
10688 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
10689 echo $ECHO_N "(cached) $ECHO_C" >&6
10691 ac_check_lib_save_LIBS
=$LIBS
10692 LIBS
="-llber $LIBPTHREAD $LIBS"
10693 cat >conftest.
$ac_ext <<_ACEOF
10696 cat confdefs.h
>>conftest.
$ac_ext
10697 cat >>conftest.
$ac_ext <<_ACEOF
10698 /* end confdefs.h. */
10700 /* Override any GCC internal prototype to avoid an error.
10701 Use char because int might match the return type of a GCC
10702 builtin and then its argument prototype would still apply. */
10710 return ber_init ();
10715 rm -f conftest.
$ac_objext conftest
$ac_exeext
10716 if { (ac_try
="$ac_link"
10717 case "(($ac_try" in
10718 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10719 *) ac_try_echo=$ac_try;;
10721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10722 (eval "$ac_link") 2>conftest.er1
10724 grep -v '^ *+' conftest.er1 >conftest.err
10726 cat conftest.err >&5
10727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10728 (exit $ac_status); } && {
10729 test -z "$ac_c_werror_flag" ||
10730 test ! -s conftest.err
10731 } && test -s conftest$ac_exeext &&
10732 $as_test_x conftest$ac_exeext; then
10733 ac_cv_lib_lber_ber_init=yes
10735 echo "$as_me: failed program was:" >&5
10736 sed 's/^/| /' conftest.$ac_ext >&5
10738 ac_cv_lib_lber_ber_init=no
10741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10742 conftest$ac_exeext conftest.$ac_ext
10743 LIBS=$ac_check_lib_save_LIBS
10745 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
10746 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
10747 if test $ac_cv_lib_lber_ber_init = yes; then
10749 cat >>confdefs.h <<\_ACEOF
10750 #define HAVE_LDAP 1
10753 LDAPLIBS="-lldap_r -llber"
10758 ac_wine_check_funcs_save_LIBS="$LIBS"
10759 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
10765 ldap_count_references \
10766 ldap_first_reference \
10767 ldap_next_reference \
10768 ldap_parse_reference
10770 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
10771 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10773 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10774 echo $ECHO_N "(cached) $ECHO_C" >&6
10776 cat >conftest.$ac_ext <<_ACEOF
10779 cat confdefs.h >>conftest.$ac_ext
10780 cat >>conftest.$ac_ext <<_ACEOF
10781 /* end confdefs.h. */
10782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10784 #define $ac_func innocuous_$ac_func
10786 /* System header to define __stub macros and hopefully few prototypes,
10787 which can conflict with char $ac_func (); below.
10788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10789 <limits.h> exists even on freestanding compilers. */
10792 # include <limits.h>
10794 # include <assert.h>
10799 /* Override any GCC internal prototype to avoid an error.
10800 Use char because int might match the return type of a GCC
10801 builtin and then its argument prototype would still apply. */
10806 /* The GNU C library defines this for functions which it implements
10807 to always fail with ENOSYS. Some functions are actually named
10808 something starting with __ and the normal name is an alias. */
10809 #if defined __stub_$ac_func || defined __stub___$ac_func
10816 return $ac_func ();
10821 rm -f conftest.$ac_objext conftest$ac_exeext
10822 if { (ac_try="$ac_link"
10823 case "(($ac_try" in
10824 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10825 *) ac_try_echo
=$ac_try;;
10827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10828 (eval "$ac_link") 2>conftest.er1
10830 grep -v '^ *+' conftest.er1
>conftest.err
10832 cat conftest.err
>&5
10833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10834 (exit $ac_status); } && {
10835 test -z "$ac_c_werror_flag" ||
10836 test ! -s conftest.err
10837 } && test -s conftest
$ac_exeext &&
10838 $as_test_x conftest
$ac_exeext; then
10839 eval "$as_ac_var=yes"
10841 echo "$as_me: failed program was:" >&5
10842 sed 's/^/| /' conftest.
$ac_ext >&5
10844 eval "$as_ac_var=no"
10847 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10848 conftest
$ac_exeext conftest.
$ac_ext
10850 ac_res
=`eval echo '${'$as_ac_var'}'`
10851 { echo "$as_me:$LINENO: result: $ac_res" >&5
10852 echo "${ECHO_T}$ac_res" >&6; }
10853 if test `eval echo '${'$as_ac_var'}'` = yes; then
10854 cat >>confdefs.h
<<_ACEOF
10855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10861 LIBS
="$ac_wine_check_funcs_save_LIBS"
10868 # Extract the first word of "freetype-config", so it can be a program name with args.
10869 set dummy freetype-config
; ac_word
=$2
10870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10872 if test "${ac_cv_prog_ft_devel+set}" = set; then
10873 echo $ECHO_N "(cached) $ECHO_C" >&6
10875 if test -n "$ft_devel"; then
10876 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10879 for as_dir
in $PATH
10882 test -z "$as_dir" && as_dir
=.
10883 for ac_exec_ext
in '' $ac_executable_extensions; do
10884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10885 ac_cv_prog_ft_devel
="freetype-config"
10886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10893 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
10896 ft_devel
=$ac_cv_prog_ft_devel
10897 if test -n "$ft_devel"; then
10898 { echo "$as_me:$LINENO: result: $ft_devel" >&5
10899 echo "${ECHO_T}$ft_devel" >&6; }
10901 { echo "$as_me:$LINENO: result: no" >&5
10902 echo "${ECHO_T}no" >&6; }
10906 if test "$ft_devel" = "no"
10908 # Extract the first word of "freetype2-config", so it can be a program name with args.
10909 set dummy freetype2-config
; ac_word
=$2
10910 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10912 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10913 echo $ECHO_N "(cached) $ECHO_C" >&6
10915 if test -n "$ft_devel2"; then
10916 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
10918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10919 for as_dir
in $PATH
10922 test -z "$as_dir" && as_dir
=.
10923 for ac_exec_ext
in '' $ac_executable_extensions; do
10924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10925 ac_cv_prog_ft_devel2
="freetype2-config"
10926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10933 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
10936 ft_devel2
=$ac_cv_prog_ft_devel2
10937 if test -n "$ft_devel2"; then
10938 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
10939 echo "${ECHO_T}$ft_devel2" >&6; }
10941 { echo "$as_me:$LINENO: result: no" >&5
10942 echo "${ECHO_T}no" >&6; }
10946 if test "$ft_devel2" = "freetype2-config"
10948 ft_devel
=$ft_devel2
10952 if test "$ft_devel" = "no"
10954 wine_cv_msg_freetype
=yes
10956 FREETYPELIBS
=`$ft_devel --libs`
10957 FREETYPEINCL
=`$ft_devel --cflags`
10958 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10959 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
10960 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10961 echo $ECHO_N "(cached) $ECHO_C" >&6
10963 ac_check_lib_save_LIBS
=$LIBS
10964 LIBS
="-lfreetype $FREETYPELIBS $LIBS"
10965 cat >conftest.
$ac_ext <<_ACEOF
10968 cat confdefs.h
>>conftest.
$ac_ext
10969 cat >>conftest.
$ac_ext <<_ACEOF
10970 /* end confdefs.h. */
10972 /* Override any GCC internal prototype to avoid an error.
10973 Use char because int might match the return type of a GCC
10974 builtin and then its argument prototype would still apply. */
10978 char FT_Init_FreeType ();
10982 return FT_Init_FreeType ();
10987 rm -f conftest.
$ac_objext conftest
$ac_exeext
10988 if { (ac_try
="$ac_link"
10989 case "(($ac_try" in
10990 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10991 *) ac_try_echo=$ac_try;;
10993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10994 (eval "$ac_link") 2>conftest.er1
10996 grep -v '^ *+' conftest.er1 >conftest.err
10998 cat conftest.err >&5
10999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11000 (exit $ac_status); } && {
11001 test -z "$ac_c_werror_flag" ||
11002 test ! -s conftest.err
11003 } && test -s conftest$ac_exeext &&
11004 $as_test_x conftest$ac_exeext; then
11005 ac_cv_lib_freetype_FT_Init_FreeType=yes
11007 echo "$as_me: failed program was:" >&5
11008 sed 's/^/| /' conftest.$ac_ext >&5
11010 ac_cv_lib_freetype_FT_Init_FreeType=no
11013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11014 conftest$ac_exeext conftest.$ac_ext
11015 LIBS=$ac_check_lib_save_LIBS
11017 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
11018 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
11019 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
11025 if test "$ft_lib" = "no"
11027 wine_cv_msg_freetype=yes
11031 ac_save_CPPFLAGS="$CPPFLAGS"
11032 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
11044 for ac_header in ft2build.h \
11045 freetype/freetype.h \
11046 freetype/ftglyph.h \
11047 freetype/tttables.h \
11048 freetype/ftnames.h \
11049 freetype/ftsnames.h \
11050 freetype/ttnameid.h \
11051 freetype/ftoutln.h \
11052 freetype/ftwinfnt.h \
11053 freetype/ftmodapi.h \
11054 freetype/internal/sfnt.h
11056 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11057 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11058 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11059 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11060 echo $ECHO_N "(cached) $ECHO_C" >&6
11062 cat >conftest.$ac_ext <<_ACEOF
11065 cat confdefs.h >>conftest.$ac_ext
11066 cat >>conftest.$ac_ext <<_ACEOF
11067 /* end confdefs.h. */
11068 #if HAVE_FT2BUILD_H
11069 #include <ft2build.h>
11072 #include <$ac_header>
11074 rm -f conftest.$ac_objext
11075 if { (ac_try="$ac_compile"
11076 case "(($ac_try" in
11077 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11078 *) ac_try_echo
=$ac_try;;
11080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11081 (eval "$ac_compile") 2>conftest.er1
11083 grep -v '^ *+' conftest.er1
>conftest.err
11085 cat conftest.err
>&5
11086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11087 (exit $ac_status); } && {
11088 test -z "$ac_c_werror_flag" ||
11089 test ! -s conftest.err
11090 } && test -s conftest.
$ac_objext; then
11091 eval "$as_ac_Header=yes"
11093 echo "$as_me: failed program was:" >&5
11094 sed 's/^/| /' conftest.
$ac_ext >&5
11096 eval "$as_ac_Header=no"
11099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11101 ac_res
=`eval echo '${'$as_ac_Header'}'`
11102 { echo "$as_me:$LINENO: result: $ac_res" >&5
11103 echo "${ECHO_T}$ac_res" >&6; }
11104 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11105 cat >>confdefs.h
<<_ACEOF
11106 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11113 cat >conftest.
$ac_ext <<_ACEOF
11116 cat confdefs.h
>>conftest.
$ac_ext
11117 cat >>conftest.
$ac_ext <<_ACEOF
11118 /* end confdefs.h. */
11119 #include <ft2build.h>
11120 #include <freetype/fttrigon.h>
11122 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11123 case "(($ac_try" in
11124 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11125 *) ac_try_echo=$ac_try;;
11127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11128 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11130 grep -v '^ *+' conftest.er1 >conftest.err
11132 cat conftest.err >&5
11133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134 (exit $ac_status); } >/dev/null && {
11135 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11136 test ! -s conftest.err
11139 cat >>confdefs.h <<\_ACEOF
11140 #define HAVE_FREETYPE_FTTRIGON_H 1
11143 wine_cv_fttrigon=yes
11145 echo "$as_me: failed program was:" >&5
11146 sed 's/^/| /' conftest.$ac_ext >&5
11148 wine_cv_fttrigon=no
11151 rm -f conftest.err conftest.$ac_ext
11152 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
11153 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
11154 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
11155 echo $ECHO_N "(cached) $ECHO_C" >&6
11157 cat >conftest.$ac_ext <<_ACEOF
11160 cat confdefs.h >>conftest.$ac_ext
11161 cat >>conftest.$ac_ext <<_ACEOF
11162 /* end confdefs.h. */
11163 #include <freetype/ftmodapi.h>
11165 typedef FT_TrueTypeEngineType ac__type_new_;
11169 if ((ac__type_new_ *) 0)
11171 if (sizeof (ac__type_new_))
11177 rm -f conftest.$ac_objext
11178 if { (ac_try="$ac_compile"
11179 case "(($ac_try" in
11180 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11181 *) ac_try_echo
=$ac_try;;
11183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11184 (eval "$ac_compile") 2>conftest.er1
11186 grep -v '^ *+' conftest.er1
>conftest.err
11188 cat conftest.err
>&5
11189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11190 (exit $ac_status); } && {
11191 test -z "$ac_c_werror_flag" ||
11192 test ! -s conftest.err
11193 } && test -s conftest.
$ac_objext; then
11194 ac_cv_type_FT_TrueTypeEngineType
=yes
11196 echo "$as_me: failed program was:" >&5
11197 sed 's/^/| /' conftest.
$ac_ext >&5
11199 ac_cv_type_FT_TrueTypeEngineType
=no
11202 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11204 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
11205 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
11206 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
11208 cat >>confdefs.h
<<_ACEOF
11209 #define HAVE_FT_TRUETYPEENGINETYPE 1
11215 ac_save_CFLAGS
="$CFLAGS"
11216 CFLAGS
="$CFLAGS $FREETYPELIBS"
11218 for ac_func
in FT_Load_Sfnt_Table
11220 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11221 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11223 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11224 echo $ECHO_N "(cached) $ECHO_C" >&6
11226 cat >conftest.
$ac_ext <<_ACEOF
11229 cat confdefs.h
>>conftest.
$ac_ext
11230 cat >>conftest.
$ac_ext <<_ACEOF
11231 /* end confdefs.h. */
11232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11234 #define $ac_func innocuous_$ac_func
11236 /* System header to define __stub macros and hopefully few prototypes,
11237 which can conflict with char $ac_func (); below.
11238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11239 <limits.h> exists even on freestanding compilers. */
11242 # include <limits.h>
11244 # include <assert.h>
11249 /* Override any GCC internal prototype to avoid an error.
11250 Use char because int might match the return type of a GCC
11251 builtin and then its argument prototype would still apply. */
11256 /* The GNU C library defines this for functions which it implements
11257 to always fail with ENOSYS. Some functions are actually named
11258 something starting with __ and the normal name is an alias. */
11259 #if defined __stub_$ac_func || defined __stub___$ac_func
11266 return $ac_func ();
11271 rm -f conftest.
$ac_objext conftest
$ac_exeext
11272 if { (ac_try
="$ac_link"
11273 case "(($ac_try" in
11274 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11275 *) ac_try_echo=$ac_try;;
11277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11278 (eval "$ac_link") 2>conftest.er1
11280 grep -v '^ *+' conftest.er1 >conftest.err
11282 cat conftest.err >&5
11283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11284 (exit $ac_status); } && {
11285 test -z "$ac_c_werror_flag" ||
11286 test ! -s conftest.err
11287 } && test -s conftest$ac_exeext &&
11288 $as_test_x conftest$ac_exeext; then
11289 eval "$as_ac_var=yes"
11291 echo "$as_me: failed program was:" >&5
11292 sed 's/^/| /' conftest.$ac_ext >&5
11294 eval "$as_ac_var=no"
11297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11298 conftest$ac_exeext conftest.$ac_ext
11300 ac_res=`eval echo '${'$as_ac_var'}'`
11301 { echo "$as_me:$LINENO: result: $ac_res" >&5
11302 echo "${ECHO_T}$ac_res" >&6; }
11303 if test `eval echo '${'$as_ac_var'}'` = yes; then
11304 cat >>confdefs.h <<_ACEOF
11305 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
11311 CFLAGS="$ac_save_CFLAGS"
11312 CPPFLAGS="$ac_save_CPPFLAGS"
11313 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11316 cat >>confdefs.h <<\_ACEOF
11317 #define HAVE_FREETYPE 1
11320 wine_cv_msg_freetype=no
11324 wine_cv_msg_freetype=yes
11329 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
11331 FONTSSUBDIRS="fonts"
11335 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
11336 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
11337 if test "${ac_cv_c_ppdev+set}" = set; then
11338 echo $ECHO_N "(cached) $ECHO_C" >&6
11340 cat >conftest.$ac_ext <<_ACEOF
11343 cat confdefs.h >>conftest.$ac_ext
11344 cat >>conftest.$ac_ext <<_ACEOF
11345 /* end confdefs.h. */
11346 #include <linux/ppdev.h>
11350 ioctl (1,PPCLAIM,0)
11355 rm -f conftest.$ac_objext
11356 if { (ac_try="$ac_compile"
11357 case "(($ac_try" in
11358 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11359 *) ac_try_echo
=$ac_try;;
11361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11362 (eval "$ac_compile") 2>conftest.er1
11364 grep -v '^ *+' conftest.er1
>conftest.err
11366 cat conftest.err
>&5
11367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11368 (exit $ac_status); } && {
11369 test -z "$ac_c_werror_flag" ||
11370 test ! -s conftest.err
11371 } && test -s conftest.
$ac_objext; then
11372 ac_cv_c_ppdev
="yes"
11374 echo "$as_me: failed program was:" >&5
11375 sed 's/^/| /' conftest.
$ac_ext >&5
11380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11382 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
11383 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
11384 if test "$ac_cv_c_ppdev" = "yes"
11387 cat >>confdefs.h
<<\_ACEOF
11388 #define HAVE_PPDEV 1
11393 { echo "$as_me:$LINENO: checking for va_copy" >&5
11394 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
11395 if test "${ac_cv_c_va_copy+set}" = set; then
11396 echo $ECHO_N "(cached) $ECHO_C" >&6
11398 cat >conftest.
$ac_ext <<_ACEOF
11401 cat confdefs.h
>>conftest.
$ac_ext
11402 cat >>conftest.
$ac_ext <<_ACEOF
11403 /* end confdefs.h. */
11404 #include <stdarg.h>
11408 va_list ap1, ap2; va_copy(ap1,ap2);
11413 rm -f conftest.
$ac_objext conftest
$ac_exeext
11414 if { (ac_try
="$ac_link"
11415 case "(($ac_try" in
11416 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11417 *) ac_try_echo=$ac_try;;
11419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11420 (eval "$ac_link") 2>conftest.er1
11422 grep -v '^ *+' conftest.er1 >conftest.err
11424 cat conftest.err >&5
11425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11426 (exit $ac_status); } && {
11427 test -z "$ac_c_werror_flag" ||
11428 test ! -s conftest.err
11429 } && test -s conftest$ac_exeext &&
11430 $as_test_x conftest$ac_exeext; then
11431 ac_cv_c_va_copy="yes"
11433 echo "$as_me: failed program was:" >&5
11434 sed 's/^/| /' conftest.$ac_ext >&5
11436 ac_cv_c_va_copy="no"
11439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11440 conftest$ac_exeext conftest.$ac_ext
11443 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
11444 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
11445 if test "$ac_cv_c_va_copy" = "yes"
11448 cat >>confdefs.h <<\_ACEOF
11449 #define HAVE_VA_COPY 1
11453 { echo "$as_me:$LINENO: checking for __va_copy" >&5
11454 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
11455 if test "${ac_cv_c___va_copy+set}" = set; then
11456 echo $ECHO_N "(cached) $ECHO_C" >&6
11458 cat >conftest.$ac_ext <<_ACEOF
11461 cat confdefs.h >>conftest.$ac_ext
11462 cat >>conftest.$ac_ext <<_ACEOF
11463 /* end confdefs.h. */
11464 #include <stdarg.h>
11468 va_list ap1, ap2; __va_copy(ap1,ap2);
11473 rm -f conftest.$ac_objext conftest$ac_exeext
11474 if { (ac_try="$ac_link"
11475 case "(($ac_try" in
11476 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11477 *) ac_try_echo
=$ac_try;;
11479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11480 (eval "$ac_link") 2>conftest.er1
11482 grep -v '^ *+' conftest.er1
>conftest.err
11484 cat conftest.err
>&5
11485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11486 (exit $ac_status); } && {
11487 test -z "$ac_c_werror_flag" ||
11488 test ! -s conftest.err
11489 } && test -s conftest
$ac_exeext &&
11490 $as_test_x conftest
$ac_exeext; then
11491 ac_cv_c___va_copy
="yes"
11493 echo "$as_me: failed program was:" >&5
11494 sed 's/^/| /' conftest.
$ac_ext >&5
11496 ac_cv_c___va_copy
="no"
11499 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11500 conftest
$ac_exeext conftest.
$ac_ext
11503 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
11504 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
11505 if test "$ac_cv_c___va_copy" = "yes"
11508 cat >>confdefs.h
<<\_ACEOF
11509 #define HAVE___VA_COPY 1
11514 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
11515 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
11516 if test "${ac_cv_c_sigsetjmp+set}" = set; then
11517 echo $ECHO_N "(cached) $ECHO_C" >&6
11519 cat >conftest.
$ac_ext <<_ACEOF
11522 cat confdefs.h
>>conftest.
$ac_ext
11523 cat >>conftest.
$ac_ext <<_ACEOF
11524 /* end confdefs.h. */
11525 #include <setjmp.h>
11530 sigsetjmp( buf, 1 );
11531 siglongjmp( buf, 1 );
11536 rm -f conftest.
$ac_objext conftest
$ac_exeext
11537 if { (ac_try
="$ac_link"
11538 case "(($ac_try" in
11539 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11540 *) ac_try_echo=$ac_try;;
11542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11543 (eval "$ac_link") 2>conftest.er1
11545 grep -v '^ *+' conftest.er1 >conftest.err
11547 cat conftest.err >&5
11548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11549 (exit $ac_status); } && {
11550 test -z "$ac_c_werror_flag" ||
11551 test ! -s conftest.err
11552 } && test -s conftest$ac_exeext &&
11553 $as_test_x conftest$ac_exeext; then
11554 ac_cv_c_sigsetjmp="yes"
11556 echo "$as_me: failed program was:" >&5
11557 sed 's/^/| /' conftest.$ac_ext >&5
11559 ac_cv_c_sigsetjmp="no"
11562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11563 conftest$ac_exeext conftest.$ac_ext
11566 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11567 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
11568 if test "$ac_cv_c_sigsetjmp" = "yes"
11571 cat >>confdefs.h <<\_ACEOF
11572 #define HAVE_SIGSETJMP 1
11577 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11578 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
11579 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11580 echo $ECHO_N "(cached) $ECHO_C" >&6
11582 cat >conftest.$ac_ext <<_ACEOF
11585 cat confdefs.h >>conftest.$ac_ext
11586 cat >>conftest.$ac_ext <<_ACEOF
11587 /* end confdefs.h. */
11588 #define _GNU_SOURCE
11589 #include <pthread.h>
11591 typedef pthread_rwlock_t ac__type_new_;
11595 if ((ac__type_new_ *) 0)
11597 if (sizeof (ac__type_new_))
11603 rm -f conftest.$ac_objext
11604 if { (ac_try="$ac_compile"
11605 case "(($ac_try" in
11606 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11607 *) ac_try_echo
=$ac_try;;
11609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11610 (eval "$ac_compile") 2>conftest.er1
11612 grep -v '^ *+' conftest.er1
>conftest.err
11614 cat conftest.err
>&5
11615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11616 (exit $ac_status); } && {
11617 test -z "$ac_c_werror_flag" ||
11618 test ! -s conftest.err
11619 } && test -s conftest.
$ac_objext; then
11620 ac_cv_type_pthread_rwlock_t
=yes
11622 echo "$as_me: failed program was:" >&5
11623 sed 's/^/| /' conftest.
$ac_ext >&5
11625 ac_cv_type_pthread_rwlock_t
=no
11628 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11630 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11631 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
11632 if test $ac_cv_type_pthread_rwlock_t = yes; then
11634 cat >>confdefs.h
<<_ACEOF
11635 #define HAVE_PTHREAD_RWLOCK_T 1
11640 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11641 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
11642 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11643 echo $ECHO_N "(cached) $ECHO_C" >&6
11645 cat >conftest.
$ac_ext <<_ACEOF
11648 cat confdefs.h
>>conftest.
$ac_ext
11649 cat >>conftest.
$ac_ext <<_ACEOF
11650 /* end confdefs.h. */
11651 #define _GNU_SOURCE
11652 #include <pthread.h>
11654 typedef pthread_rwlockattr_t ac__type_new_;
11658 if ((ac__type_new_ *) 0)
11660 if (sizeof (ac__type_new_))
11666 rm -f conftest.
$ac_objext
11667 if { (ac_try
="$ac_compile"
11668 case "(($ac_try" in
11669 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11670 *) ac_try_echo=$ac_try;;
11672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11673 (eval "$ac_compile") 2>conftest.er1
11675 grep -v '^ *+' conftest.er1 >conftest.err
11677 cat conftest.err >&5
11678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11679 (exit $ac_status); } && {
11680 test -z "$ac_c_werror_flag" ||
11681 test ! -s conftest.err
11682 } && test -s conftest.$ac_objext; then
11683 ac_cv_type_pthread_rwlockattr_t=yes
11685 echo "$as_me: failed program was:" >&5
11686 sed 's/^/| /' conftest.$ac_ext >&5
11688 ac_cv_type_pthread_rwlockattr_t=no
11691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11693 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11694 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
11695 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11697 cat >>confdefs.h <<_ACEOF
11698 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11705 ac_wine_check_funcs_save_LIBS="$LIBS"
11706 LIBS="$LIBS $LIBPTHREAD"
11712 pthread_attr_get_np \
11713 pthread_getattr_np \
11714 pthread_get_stackaddr_np \
11715 pthread_get_stacksize_np
11717 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11718 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11720 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11721 echo $ECHO_N "(cached) $ECHO_C" >&6
11723 cat >conftest.$ac_ext <<_ACEOF
11726 cat confdefs.h >>conftest.$ac_ext
11727 cat >>conftest.$ac_ext <<_ACEOF
11728 /* end confdefs.h. */
11729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11731 #define $ac_func innocuous_$ac_func
11733 /* System header to define __stub macros and hopefully few prototypes,
11734 which can conflict with char $ac_func (); below.
11735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11736 <limits.h> exists even on freestanding compilers. */
11739 # include <limits.h>
11741 # include <assert.h>
11746 /* Override any GCC internal prototype to avoid an error.
11747 Use char because int might match the return type of a GCC
11748 builtin and then its argument prototype would still apply. */
11753 /* The GNU C library defines this for functions which it implements
11754 to always fail with ENOSYS. Some functions are actually named
11755 something starting with __ and the normal name is an alias. */
11756 #if defined __stub_$ac_func || defined __stub___$ac_func
11763 return $ac_func ();
11768 rm -f conftest.$ac_objext conftest$ac_exeext
11769 if { (ac_try="$ac_link"
11770 case "(($ac_try" in
11771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11772 *) ac_try_echo
=$ac_try;;
11774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11775 (eval "$ac_link") 2>conftest.er1
11777 grep -v '^ *+' conftest.er1
>conftest.err
11779 cat conftest.err
>&5
11780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11781 (exit $ac_status); } && {
11782 test -z "$ac_c_werror_flag" ||
11783 test ! -s conftest.err
11784 } && test -s conftest
$ac_exeext &&
11785 $as_test_x conftest
$ac_exeext; then
11786 eval "$as_ac_var=yes"
11788 echo "$as_me: failed program was:" >&5
11789 sed 's/^/| /' conftest.
$ac_ext >&5
11791 eval "$as_ac_var=no"
11794 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11795 conftest
$ac_exeext conftest.
$ac_ext
11797 ac_res
=`eval echo '${'$as_ac_var'}'`
11798 { echo "$as_me:$LINENO: result: $ac_res" >&5
11799 echo "${ECHO_T}$ac_res" >&6; }
11800 if test `eval echo '${'$as_ac_var'}'` = yes; then
11801 cat >>confdefs.h
<<_ACEOF
11802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11808 LIBS
="$ac_wine_check_funcs_save_LIBS"
11810 # Extract the first word of "esd-config", so it can be a program name with args.
11811 set dummy esd-config
; ac_word
=$2
11812 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11814 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
11815 echo $ECHO_N "(cached) $ECHO_C" >&6
11819 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
11822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11823 for as_dir
in $PATH
11826 test -z "$as_dir" && as_dir
=.
11827 for ac_exec_ext
in '' $ac_executable_extensions; do
11828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11829 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
11830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11840 ESDCONFIG
=$ac_cv_path_ESDCONFIG
11841 if test -n "$ESDCONFIG"; then
11842 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
11843 echo "${ECHO_T}$ESDCONFIG" >&6; }
11845 { echo "$as_me:$LINENO: result: no" >&5
11846 echo "${ECHO_T}no" >&6; }
11850 if test x
$ESDCONFIG != x
-a x
$ESDCONFIG != x
'"$ESDCONFIG"';
11853 for i
in `$ESDCONFIG --cflags`
11856 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
11859 ESD_LIBS
=`$ESDCONFIG --libs`
11860 save_CFLAGS
="$CFLAGS"
11861 CFLAGS
="$CFLAGS $ESD_CFLAGS"
11862 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
11863 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
11864 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
11865 echo $ECHO_N "(cached) $ECHO_C" >&6
11867 ac_check_lib_save_LIBS
=$LIBS
11869 cat >conftest.
$ac_ext <<_ACEOF
11872 cat confdefs.h
>>conftest.
$ac_ext
11873 cat >>conftest.
$ac_ext <<_ACEOF
11874 /* end confdefs.h. */
11876 /* Override any GCC internal prototype to avoid an error.
11877 Use char because int might match the return type of a GCC
11878 builtin and then its argument prototype would still apply. */
11882 char esd_open_sound ();
11886 return esd_open_sound ();
11891 rm -f conftest.
$ac_objext conftest
$ac_exeext
11892 if { (ac_try
="$ac_link"
11893 case "(($ac_try" in
11894 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11895 *) ac_try_echo=$ac_try;;
11897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11898 (eval "$ac_link") 2>conftest.er1
11900 grep -v '^ *+' conftest.er1 >conftest.err
11902 cat conftest.err >&5
11903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11904 (exit $ac_status); } && {
11905 test -z "$ac_c_werror_flag" ||
11906 test ! -s conftest.err
11907 } && test -s conftest$ac_exeext &&
11908 $as_test_x conftest$ac_exeext; then
11909 ac_cv_lib_esd_esd_open_sound=yes
11911 echo "$as_me: failed program was:" >&5
11912 sed 's/^/| /' conftest.$ac_ext >&5
11914 ac_cv_lib_esd_esd_open_sound=no
11917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11918 conftest$ac_exeext conftest.$ac_ext
11919 LIBS=$ac_check_lib_save_LIBS
11921 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
11922 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
11923 if test $ac_cv_lib_esd_esd_open_sound = yes; then
11926 ESDINCL=$ESD_CFLAGS
11929 cat >>confdefs.h <<\_ACEOF
11935 CFLAGS="$save_CFLAGS"
11940 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11942 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
11943 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
11944 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
11945 echo $ECHO_N "(cached) $ECHO_C" >&6
11947 ac_check_lib_save_LIBS=$LIBS
11948 LIBS="-lasound $LIBS"
11949 cat >conftest.$ac_ext <<_ACEOF
11952 cat confdefs.h >>conftest.$ac_ext
11953 cat >>conftest.$ac_ext <<_ACEOF
11954 /* end confdefs.h. */
11956 /* Override any GCC internal prototype to avoid an error.
11957 Use char because int might match the return type of a GCC
11958 builtin and then its argument prototype would still apply. */
11962 char snd_pcm_hw_params_get_access ();
11966 return snd_pcm_hw_params_get_access ();
11971 rm -f conftest.$ac_objext conftest$ac_exeext
11972 if { (ac_try="$ac_link"
11973 case "(($ac_try" in
11974 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11975 *) ac_try_echo
=$ac_try;;
11977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11978 (eval "$ac_link") 2>conftest.er1
11980 grep -v '^ *+' conftest.er1
>conftest.err
11982 cat conftest.err
>&5
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); } && {
11985 test -z "$ac_c_werror_flag" ||
11986 test ! -s conftest.err
11987 } && test -s conftest
$ac_exeext &&
11988 $as_test_x conftest
$ac_exeext; then
11989 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
11991 echo "$as_me: failed program was:" >&5
11992 sed 's/^/| /' conftest.
$ac_ext >&5
11994 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
11997 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11998 conftest
$ac_exeext conftest.
$ac_ext
11999 LIBS
=$ac_check_lib_save_LIBS
12001 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
12002 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
12003 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
12004 cat >conftest.
$ac_ext <<_ACEOF
12007 cat confdefs.h
>>conftest.
$ac_ext
12008 cat >>conftest.
$ac_ext <<_ACEOF
12009 /* end confdefs.h. */
12010 #ifdef HAVE_ALSA_ASOUNDLIB_H
12011 #include <alsa/asoundlib.h>
12012 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12013 #include <sys/asoundlib.h>
12018 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
12023 rm -f conftest.
$ac_objext
12024 if { (ac_try
="$ac_compile"
12025 case "(($ac_try" in
12026 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12027 *) ac_try_echo=$ac_try;;
12029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12030 (eval "$ac_compile") 2>conftest.er1
12032 grep -v '^ *+' conftest.er1 >conftest.err
12034 cat conftest.err >&5
12035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12036 (exit $ac_status); } && {
12037 test -z "$ac_c_werror_flag" ||
12038 test ! -s conftest.err
12039 } && test -s conftest.$ac_objext; then
12041 cat >>confdefs.h <<\_ACEOF
12042 #define HAVE_ALSA 1
12045 ALSALIBS="-lasound"
12047 echo "$as_me: failed program was:" >&5
12048 sed 's/^/| /' conftest.$ac_ext >&5
12053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12061 if test "$ac_cv_header_libaudioio_h" = "yes"
12063 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12064 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
12065 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12066 echo $ECHO_N "(cached) $ECHO_C" >&6
12068 ac_check_lib_save_LIBS=$LIBS
12069 LIBS="-laudioio $LIBS"
12070 cat >conftest.$ac_ext <<_ACEOF
12073 cat confdefs.h >>conftest.$ac_ext
12074 cat >>conftest.$ac_ext <<_ACEOF
12075 /* end confdefs.h. */
12077 /* Override any GCC internal prototype to avoid an error.
12078 Use char because int might match the return type of a GCC
12079 builtin and then its argument prototype would still apply. */
12083 char AudioIOGetVersion ();
12087 return AudioIOGetVersion ();
12092 rm -f conftest.$ac_objext conftest$ac_exeext
12093 if { (ac_try="$ac_link"
12094 case "(($ac_try" in
12095 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12096 *) ac_try_echo
=$ac_try;;
12098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12099 (eval "$ac_link") 2>conftest.er1
12101 grep -v '^ *+' conftest.er1
>conftest.err
12103 cat conftest.err
>&5
12104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12105 (exit $ac_status); } && {
12106 test -z "$ac_c_werror_flag" ||
12107 test ! -s conftest.err
12108 } && test -s conftest
$ac_exeext &&
12109 $as_test_x conftest
$ac_exeext; then
12110 ac_cv_lib_audioio_AudioIOGetVersion
=yes
12112 echo "$as_me: failed program was:" >&5
12113 sed 's/^/| /' conftest.
$ac_ext >&5
12115 ac_cv_lib_audioio_AudioIOGetVersion
=no
12118 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12119 conftest
$ac_exeext conftest.
$ac_ext
12120 LIBS
=$ac_check_lib_save_LIBS
12122 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12123 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
12124 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12125 AUDIOIOLIBS
="-laudioio"
12127 cat >>confdefs.h
<<\_ACEOF
12128 #define HAVE_LIBAUDIOIO 1
12136 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12138 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12139 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
12140 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12141 echo $ECHO_N "(cached) $ECHO_C" >&6
12143 ac_check_lib_save_LIBS
=$LIBS
12144 LIBS
="-lcapi20 $LIBS"
12145 cat >conftest.
$ac_ext <<_ACEOF
12148 cat confdefs.h
>>conftest.
$ac_ext
12149 cat >>conftest.
$ac_ext <<_ACEOF
12150 /* end confdefs.h. */
12152 /* Override any GCC internal prototype to avoid an error.
12153 Use char because int might match the return type of a GCC
12154 builtin and then its argument prototype would still apply. */
12158 char capi20_register ();
12162 return capi20_register ();
12167 rm -f conftest.
$ac_objext conftest
$ac_exeext
12168 if { (ac_try
="$ac_link"
12169 case "(($ac_try" in
12170 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12171 *) ac_try_echo=$ac_try;;
12173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12174 (eval "$ac_link") 2>conftest.er1
12176 grep -v '^ *+' conftest.er1 >conftest.err
12178 cat conftest.err >&5
12179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12180 (exit $ac_status); } && {
12181 test -z "$ac_c_werror_flag" ||
12182 test ! -s conftest.err
12183 } && test -s conftest$ac_exeext &&
12184 $as_test_x conftest$ac_exeext; then
12185 ac_cv_lib_capi20_capi20_register=yes
12187 echo "$as_me: failed program was:" >&5
12188 sed 's/^/| /' conftest.$ac_ext >&5
12190 ac_cv_lib_capi20_capi20_register=no
12193 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12194 conftest$ac_exeext conftest.$ac_ext
12195 LIBS=$ac_check_lib_save_LIBS
12197 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12198 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
12199 if test $ac_cv_lib_capi20_capi20_register = yes; then
12201 cat >>confdefs.h <<\_ACEOF
12202 #define HAVE_CAPI4LINUX 1
12212 if test "x${GCC}" = "xyes"
12214 EXTRACFLAGS="-Wall -pipe"
12216 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12217 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
12218 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12219 echo $ECHO_N "(cached) $ECHO_C" >&6
12221 if test "$cross_compiling" = yes; then
12222 ac_cv_c_gcc_strength_bug="yes"
12224 cat >conftest.$ac_ext <<_ACEOF
12227 cat confdefs.h >>conftest.$ac_ext
12228 cat >>conftest.$ac_ext <<_ACEOF
12229 /* end confdefs.h. */
12230 int L[4] = {0,1,2,3};
12234 static int Array[3];
12235 unsigned int B = 3;
12237 for(i=0; i<B; i++) Array[i] = i - 3;
12238 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12240 exit( Array[1] != -2 || L[2] != 3)
12245 rm -f conftest$ac_exeext
12246 if { (ac_try="$ac_link"
12247 case "(($ac_try" in
12248 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12249 *) ac_try_echo
=$ac_try;;
12251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12252 (eval "$ac_link") 2>&5
12254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12255 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12256 { (case "(($ac_try" in
12257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12258 *) ac_try_echo=$ac_try;;
12260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12261 (eval "$ac_try") 2>&5
12263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264 (exit $ac_status); }; }; then
12265 ac_cv_c_gcc_strength_bug="no"
12267 echo "$as_me: program exited with status $ac_status" >&5
12268 echo "$as_me: failed program was:" >&5
12269 sed 's/^/| /' conftest.$ac_ext >&5
12271 ( exit $ac_status )
12272 ac_cv_c_gcc_strength_bug="yes"
12274 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12279 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12280 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
12281 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12283 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12287 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
12288 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
12289 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
12290 echo $ECHO_N "(cached) $ECHO_C" >&6
12292 ac_wine_try_cflags_saved=$CFLAGS
12293 CFLAGS="$CFLAGS -fshort-wchar"
12294 cat >conftest.$ac_ext <<_ACEOF
12297 cat confdefs.h >>conftest.$ac_ext
12298 cat >>conftest.$ac_ext <<_ACEOF
12299 /* end confdefs.h. */
12309 rm -f conftest.$ac_objext conftest$ac_exeext
12310 if { (ac_try="$ac_link"
12311 case "(($ac_try" in
12312 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12313 *) ac_try_echo
=$ac_try;;
12315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12316 (eval "$ac_link") 2>conftest.er1
12318 grep -v '^ *+' conftest.er1
>conftest.err
12320 cat conftest.err
>&5
12321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12322 (exit $ac_status); } && {
12323 test -z "$ac_c_werror_flag" ||
12324 test ! -s conftest.err
12325 } && test -s conftest
$ac_exeext &&
12326 $as_test_x conftest
$ac_exeext; then
12327 ac_cv_cflags__fshort_wchar
=yes
12329 echo "$as_me: failed program was:" >&5
12330 sed 's/^/| /' conftest.
$ac_ext >&5
12332 ac_cv_cflags__fshort_wchar
=no
12335 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12336 conftest
$ac_exeext conftest.
$ac_ext
12337 CFLAGS
=$ac_wine_try_cflags_saved
12339 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
12340 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
12341 if test $ac_cv_cflags__fshort_wchar = yes; then
12343 cat >>confdefs.h
<<\_ACEOF
12344 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12349 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
12350 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
12351 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
12352 echo $ECHO_N "(cached) $ECHO_C" >&6
12354 ac_wine_try_cflags_saved
=$CFLAGS
12355 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12356 cat >conftest.
$ac_ext <<_ACEOF
12359 cat confdefs.h
>>conftest.
$ac_ext
12360 cat >>conftest.
$ac_ext <<_ACEOF
12361 /* end confdefs.h. */
12371 rm -f conftest.
$ac_objext conftest
$ac_exeext
12372 if { (ac_try
="$ac_link"
12373 case "(($ac_try" in
12374 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12375 *) ac_try_echo=$ac_try;;
12377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12378 (eval "$ac_link") 2>conftest.er1
12380 grep -v '^ *+' conftest.er1 >conftest.err
12382 cat conftest.err >&5
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); } && {
12385 test -z "$ac_c_werror_flag" ||
12386 test ! -s conftest.err
12387 } && test -s conftest$ac_exeext &&
12388 $as_test_x conftest$ac_exeext; then
12389 ac_cv_cflags__fno_strict_aliasing=yes
12391 echo "$as_me: failed program was:" >&5
12392 sed 's/^/| /' conftest.$ac_ext >&5
12394 ac_cv_cflags__fno_strict_aliasing=no
12397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12398 conftest$ac_exeext conftest.$ac_ext
12399 CFLAGS=$ac_wine_try_cflags_saved
12401 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12402 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
12403 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
12404 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12407 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12408 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
12409 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
12410 echo $ECHO_N "(cached) $ECHO_C" >&6
12412 ac_wine_try_cflags_saved=$CFLAGS
12413 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12414 cat >conftest.$ac_ext <<_ACEOF
12417 cat confdefs.h >>conftest.$ac_ext
12418 cat >>conftest.$ac_ext <<_ACEOF
12419 /* end confdefs.h. */
12429 rm -f conftest.$ac_objext conftest$ac_exeext
12430 if { (ac_try="$ac_link"
12431 case "(($ac_try" in
12432 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12433 *) ac_try_echo
=$ac_try;;
12435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12436 (eval "$ac_link") 2>conftest.er1
12438 grep -v '^ *+' conftest.er1
>conftest.err
12440 cat conftest.err
>&5
12441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12442 (exit $ac_status); } && {
12443 test -z "$ac_c_werror_flag" ||
12444 test ! -s conftest.err
12445 } && test -s conftest
$ac_exeext &&
12446 $as_test_x conftest
$ac_exeext; then
12447 ac_cv_cflags__Wdeclaration_after_statement
=yes
12449 echo "$as_me: failed program was:" >&5
12450 sed 's/^/| /' conftest.
$ac_ext >&5
12452 ac_cv_cflags__Wdeclaration_after_statement
=no
12455 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12456 conftest
$ac_exeext conftest.
$ac_ext
12457 CFLAGS
=$ac_wine_try_cflags_saved
12459 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12460 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12461 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
12462 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
12465 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
12466 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
12467 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
12468 echo $ECHO_N "(cached) $ECHO_C" >&6
12470 ac_wine_try_cflags_saved
=$CFLAGS
12471 CFLAGS
="$CFLAGS -Wwrite-strings"
12472 cat >conftest.
$ac_ext <<_ACEOF
12475 cat confdefs.h
>>conftest.
$ac_ext
12476 cat >>conftest.
$ac_ext <<_ACEOF
12477 /* end confdefs.h. */
12487 rm -f conftest.
$ac_objext conftest
$ac_exeext
12488 if { (ac_try
="$ac_link"
12489 case "(($ac_try" in
12490 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12491 *) ac_try_echo=$ac_try;;
12493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12494 (eval "$ac_link") 2>conftest.er1
12496 grep -v '^ *+' conftest.er1 >conftest.err
12498 cat conftest.err >&5
12499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12500 (exit $ac_status); } && {
12501 test -z "$ac_c_werror_flag" ||
12502 test ! -s conftest.err
12503 } && test -s conftest$ac_exeext &&
12504 $as_test_x conftest$ac_exeext; then
12505 ac_cv_cflags__Wwrite_strings=yes
12507 echo "$as_me: failed program was:" >&5
12508 sed 's/^/| /' conftest.$ac_ext >&5
12510 ac_cv_cflags__Wwrite_strings=no
12513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12514 conftest$ac_exeext conftest.$ac_ext
12515 CFLAGS=$ac_wine_try_cflags_saved
12517 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
12518 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
12519 if test $ac_cv_cflags__Wwrite_strings = yes; then
12520 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12524 saved_CFLAGS="$CFLAGS"
12525 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12526 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12527 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
12528 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12529 echo $ECHO_N "(cached) $ECHO_C" >&6
12531 cat >conftest.$ac_ext <<_ACEOF
12534 cat confdefs.h >>conftest.$ac_ext
12535 cat >>conftest.$ac_ext <<_ACEOF
12536 /* end confdefs.h. */
12537 #include <string.h>
12546 rm -f conftest.$ac_objext
12547 if { (ac_try="$ac_compile"
12548 case "(($ac_try" in
12549 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12550 *) ac_try_echo
=$ac_try;;
12552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12553 (eval "$ac_compile") 2>conftest.er1
12555 grep -v '^ *+' conftest.er1
>conftest.err
12557 cat conftest.err
>&5
12558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); } && {
12560 test -z "$ac_c_werror_flag" ||
12561 test ! -s conftest.err
12562 } && test -s conftest.
$ac_objext; then
12563 ac_cv_c_string_h_warnings
=no
12565 echo "$as_me: failed program was:" >&5
12566 sed 's/^/| /' conftest.
$ac_ext >&5
12568 ac_cv_c_string_h_warnings
=yes
12571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12573 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12574 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
12575 CFLAGS
="$saved_CFLAGS"
12576 if test "$ac_cv_c_string_h_warnings" = "no"
12578 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12583 saved_CFLAGS
="$CFLAGS"
12584 CFLAGS
="$CFLAGS -Werror"
12585 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
12586 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
12587 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
12588 echo $ECHO_N "(cached) $ECHO_C" >&6
12590 cat >conftest.
$ac_ext <<_ACEOF
12593 cat confdefs.h
>>conftest.
$ac_ext
12594 cat >>conftest.
$ac_ext <<_ACEOF
12595 /* end confdefs.h. */
12600 int iswlower(unsigned short);
12605 rm -f conftest.
$ac_objext
12606 if { (ac_try
="$ac_compile"
12607 case "(($ac_try" in
12608 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12609 *) ac_try_echo=$ac_try;;
12611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12612 (eval "$ac_compile") 2>conftest.er1
12614 grep -v '^ *+' conftest.er1 >conftest.err
12616 cat conftest.err >&5
12617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); } && {
12619 test -z "$ac_c_werror_flag" ||
12620 test ! -s conftest.err
12621 } && test -s conftest.$ac_objext; then
12622 ac_cv_c_builtin_wchar_ctype=no
12624 echo "$as_me: failed program was:" >&5
12625 sed 's/^/| /' conftest.$ac_ext >&5
12627 ac_cv_c_builtin_wchar_ctype=yes
12630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12632 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
12633 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
12634 CFLAGS="$saved_CFLAGS"
12635 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
12637 BUILTINFLAG="-fno-builtin"
12642 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12643 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
12644 if test "${ac_cv_asm_func_def+set}" = set; then
12645 echo $ECHO_N "(cached) $ECHO_C" >&6
12647 cat >conftest.$ac_ext <<_ACEOF
12650 cat confdefs.h >>conftest.$ac_ext
12651 cat >>conftest.$ac_ext <<_ACEOF
12652 /* end confdefs.h. */
12657 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
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_asm_func_def
=".def"
12682 echo "$as_me: failed program was:" >&5
12683 sed 's/^/| /' conftest.
$ac_ext >&5
12685 cat >conftest.
$ac_ext <<_ACEOF
12688 cat confdefs.h
>>conftest.
$ac_ext
12689 cat >>conftest.
$ac_ext <<_ACEOF
12690 /* end confdefs.h. */
12695 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12700 rm -f conftest.
$ac_objext conftest
$ac_exeext
12701 if { (ac_try
="$ac_link"
12702 case "(($ac_try" in
12703 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12704 *) ac_try_echo=$ac_try;;
12706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12707 (eval "$ac_link") 2>conftest.er1
12709 grep -v '^ *+' conftest.er1 >conftest.err
12711 cat conftest.err >&5
12712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713 (exit $ac_status); } && {
12714 test -z "$ac_c_werror_flag" ||
12715 test ! -s conftest.err
12716 } && test -s conftest$ac_exeext &&
12717 $as_test_x conftest$ac_exeext; then
12718 ac_cv_asm_func_def=".type @function"
12720 echo "$as_me: failed program was:" >&5
12721 sed 's/^/| /' conftest.$ac_ext >&5
12723 cat >conftest.$ac_ext <<_ACEOF
12726 cat confdefs.h >>conftest.$ac_ext
12727 cat >>conftest.$ac_ext <<_ACEOF
12728 /* end confdefs.h. */
12733 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12738 rm -f conftest.$ac_objext conftest$ac_exeext
12739 if { (ac_try="$ac_link"
12740 case "(($ac_try" in
12741 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12742 *) ac_try_echo
=$ac_try;;
12744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12745 (eval "$ac_link") 2>conftest.er1
12747 grep -v '^ *+' conftest.er1
>conftest.err
12749 cat conftest.err
>&5
12750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12751 (exit $ac_status); } && {
12752 test -z "$ac_c_werror_flag" ||
12753 test ! -s conftest.err
12754 } && test -s conftest
$ac_exeext &&
12755 $as_test_x conftest
$ac_exeext; then
12756 ac_cv_asm_func_def
=".type 2"
12758 echo "$as_me: failed program was:" >&5
12759 sed 's/^/| /' conftest.
$ac_ext >&5
12761 ac_cv_asm_func_def
="unknown"
12764 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12765 conftest
$ac_exeext conftest.
$ac_ext
12768 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12769 conftest
$ac_exeext conftest.
$ac_ext
12772 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12773 conftest
$ac_exeext conftest.
$ac_ext
12775 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12776 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
12780 case "$ac_cv_asm_func_def" in
12782 cat >>confdefs.h
<<\_ACEOF
12783 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12787 cat >>confdefs.h
<<\_ACEOF
12788 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12792 cat >>confdefs.h
<<\_ACEOF
12793 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12797 cat >>confdefs.h
<<\_ACEOF
12798 #define __ASM_FUNC(name) ""
12804 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12805 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
12806 if test "${ac_cv_c_extern_prefix+set}" = set; then
12807 echo $ECHO_N "(cached) $ECHO_C" >&6
12809 cat >conftest.
$ac_ext <<_ACEOF
12812 cat confdefs.h
>>conftest.
$ac_ext
12813 cat >>conftest.
$ac_ext <<_ACEOF
12814 /* end confdefs.h. */
12815 extern int ac_test;
12819 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12824 rm -f conftest.
$ac_objext conftest
$ac_exeext
12825 if { (ac_try
="$ac_link"
12826 case "(($ac_try" in
12827 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12828 *) ac_try_echo=$ac_try;;
12830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12831 (eval "$ac_link") 2>conftest.er1
12833 grep -v '^ *+' conftest.er1 >conftest.err
12835 cat conftest.err >&5
12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837 (exit $ac_status); } && {
12838 test -z "$ac_c_werror_flag" ||
12839 test ! -s conftest.err
12840 } && test -s conftest$ac_exeext &&
12841 $as_test_x conftest$ac_exeext; then
12842 ac_cv_c_extern_prefix="yes"
12844 echo "$as_me: failed program was:" >&5
12845 sed 's/^/| /' conftest.$ac_ext >&5
12847 ac_cv_c_extern_prefix="no"
12850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12851 conftest$ac_exeext conftest.$ac_ext
12853 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12854 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
12858 if test "$ac_cv_c_extern_prefix" = "yes"
12860 cat >>confdefs.h <<\_ACEOF
12861 #define __ASM_NAME(name) "_" name
12865 cat >>confdefs.h <<\_ACEOF
12866 #define __ASM_NAME(name) name
12874 DLLFLAGS="-D_REENTRANT"
12891 if test -n "$ac_tool_prefix"; then
12892 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
12893 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
12894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12896 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
12897 echo $ECHO_N "(cached) $ECHO_C" >&6
12899 if test -n "$DLLTOOL"; then
12900 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
12902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12903 for as_dir in $PATH
12906 test -z "$as_dir" && as_dir=.
12907 for ac_exec_ext in '' $ac_executable_extensions; do
12908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12909 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
12910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12919 DLLTOOL=$ac_cv_prog_DLLTOOL
12920 if test -n "$DLLTOOL"; then
12921 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
12922 echo "${ECHO_T}$DLLTOOL" >&6; }
12924 { echo "$as_me:$LINENO: result: no" >&5
12925 echo "${ECHO_T}no" >&6; }
12930 if test -z "$ac_cv_prog_DLLTOOL"; then
12931 ac_ct_DLLTOOL=$DLLTOOL
12932 # Extract the first word of "dlltool", so it can be a program name with args.
12933 set dummy dlltool; ac_word=$2
12934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12936 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
12937 echo $ECHO_N "(cached) $ECHO_C" >&6
12939 if test -n "$ac_ct_DLLTOOL"; then
12940 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
12942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12943 for as_dir in $PATH
12946 test -z "$as_dir" && as_dir=.
12947 for ac_exec_ext in '' $ac_executable_extensions; do
12948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12949 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
12950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12959 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
12960 if test -n "$ac_ct_DLLTOOL"; then
12961 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
12962 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
12964 { echo "$as_me:$LINENO: result: no" >&5
12965 echo "${ECHO_T}no" >&6; }
12968 if test "x$ac_ct_DLLTOOL" = x; then
12971 case $cross_compiling:$ac_tool_warned in
12973 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12974 whose name does not start with the host triplet. If you think this
12975 configuration is useful to you, please write to autoconf@gnu.org." >&5
12976 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12977 whose name does not start with the host triplet. If you think this
12978 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12979 ac_tool_warned=yes ;;
12981 DLLTOOL=$ac_ct_DLLTOOL
12984 DLLTOOL="$ac_cv_prog_DLLTOOL"
12987 if test -n "$ac_tool_prefix"; then
12988 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
12989 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
12990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12992 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
12993 echo $ECHO_N "(cached) $ECHO_C" >&6
12995 if test -n "$DLLWRAP"; then
12996 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
12998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12999 for as_dir in $PATH
13002 test -z "$as_dir" && as_dir=.
13003 for ac_exec_ext in '' $ac_executable_extensions; do
13004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13005 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
13006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13015 DLLWRAP=$ac_cv_prog_DLLWRAP
13016 if test -n "$DLLWRAP"; then
13017 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13018 echo "${ECHO_T}$DLLWRAP" >&6; }
13020 { echo "$as_me:$LINENO: result: no" >&5
13021 echo "${ECHO_T}no" >&6; }
13026 if test -z "$ac_cv_prog_DLLWRAP"; then
13027 ac_ct_DLLWRAP=$DLLWRAP
13028 # Extract the first word of "dllwrap", so it can be a program name with args.
13029 set dummy dllwrap; ac_word=$2
13030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13032 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13033 echo $ECHO_N "(cached) $ECHO_C" >&6
13035 if test -n "$ac_ct_DLLWRAP"; then
13036 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13039 for as_dir in $PATH
13042 test -z "$as_dir" && as_dir=.
13043 for ac_exec_ext in '' $ac_executable_extensions; do
13044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13045 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13055 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13056 if test -n "$ac_ct_DLLWRAP"; then
13057 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13058 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
13060 { echo "$as_me:$LINENO: result: no" >&5
13061 echo "${ECHO_T}no" >&6; }
13064 if test "x$ac_ct_DLLWRAP" = x; then
13067 case $cross_compiling:$ac_tool_warned in
13069 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13070 whose name does not start with the host triplet. If you think this
13071 configuration is useful to you, please write to autoconf@gnu.org." >&5
13072 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13073 whose name does not start with the host triplet. If you think this
13074 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13075 ac_tool_warned=yes ;;
13077 DLLWRAP=$ac_ct_DLLWRAP
13080 DLLWRAP="$ac_cv_prog_DLLWRAP"
13083 if test -n "$ac_tool_prefix"; then
13084 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13085 set dummy ${ac_tool_prefix}ar; ac_word=$2
13086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13088 if test "${ac_cv_prog_MINGWAR+set}" = set; then
13089 echo $ECHO_N "(cached) $ECHO_C" >&6
13091 if test -n "$MINGWAR"; then
13092 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
13094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13095 for as_dir in $PATH
13098 test -z "$as_dir" && as_dir=.
13099 for ac_exec_ext in '' $ac_executable_extensions; do
13100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13101 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
13102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13111 MINGWAR=$ac_cv_prog_MINGWAR
13112 if test -n "$MINGWAR"; then
13113 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
13114 echo "${ECHO_T}$MINGWAR" >&6; }
13116 { echo "$as_me:$LINENO: result: no" >&5
13117 echo "${ECHO_T}no" >&6; }
13122 if test -z "$ac_cv_prog_MINGWAR"; then
13123 ac_ct_MINGWAR=$MINGWAR
13124 # Extract the first word of "ar", so it can be a program name with args.
13125 set dummy ar; ac_word=$2
13126 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13128 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
13129 echo $ECHO_N "(cached) $ECHO_C" >&6
13131 if test -n "$ac_ct_MINGWAR"; then
13132 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
13134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13135 for as_dir in $PATH
13138 test -z "$as_dir" && as_dir=.
13139 for ac_exec_ext in '' $ac_executable_extensions; do
13140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13141 ac_cv_prog_ac_ct_MINGWAR="ar"
13142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13151 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
13152 if test -n "$ac_ct_MINGWAR"; then
13153 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
13154 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
13156 { echo "$as_me:$LINENO: result: no" >&5
13157 echo "${ECHO_T}no" >&6; }
13160 if test "x$ac_ct_MINGWAR" = x; then
13163 case $cross_compiling:$ac_tool_warned in
13165 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13166 whose name does not start with the host triplet. If you think this
13167 configuration is useful to you, please write to autoconf@gnu.org." >&5
13168 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13169 whose name does not start with the host triplet. If you think this
13170 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13171 ac_tool_warned=yes ;;
13173 MINGWAR=$ac_ct_MINGWAR
13176 MINGWAR="$ac_cv_prog_MINGWAR"
13179 if test "$DLLWRAP" = "false"; then
13191 DLLFLAGS="$DLLFLAGS -fPIC"
13192 LDDLLFLAGS="-bundle -multiply_defined suppress"
13193 LIBWINE_LDFLAGS="-multiply_defined suppress"
13194 LDSHARED="\$(CC) -dynamiclib"
13195 STRIP="$STRIP -u -r"
13196 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
13197 COREFOUNDATIONLIB="-framework CoreFoundation"
13199 IOKITLIB="-framework IOKit -framework CoreFoundation"
13201 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
13203 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
13205 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
13208 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
13210 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
13215 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
13217 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
13219 CARBONLIB="-framework Carbon"
13221 QUARTZFILES='$(QUARTZFILES)'
13225 DLLFLAGS="$DLLFLAGS -fPIC"
13227 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13228 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
13229 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13230 echo $ECHO_N "(cached) $ECHO_C" >&6
13232 ac_wine_try_cflags_saved=$CFLAGS
13233 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
13234 cat >conftest.$ac_ext <<_ACEOF
13237 rm -f conftest.$ac_objext conftest$ac_exeext
13238 if { (ac_try="$ac_link"
13239 case "(($ac_try" in
13240 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13241 *) ac_try_echo
=$ac_try;;
13243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13244 (eval "$ac_link") 2>conftest.er1
13246 grep -v '^ *+' conftest.er1
>conftest.err
13248 cat conftest.err
>&5
13249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13250 (exit $ac_status); } && {
13251 test -z "$ac_c_werror_flag" ||
13252 test ! -s conftest.err
13253 } && test -s conftest
$ac_exeext &&
13254 $as_test_x conftest
$ac_exeext; then
13255 ac_cv_c_dll_gnuelf
="yes"
13257 echo "$as_me: failed program was:" >&5
13258 sed 's/^/| /' conftest.
$ac_ext >&5
13260 ac_cv_c_dll_gnuelf
="no"
13263 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13264 conftest
$ac_exeext conftest.
$ac_ext
13265 CFLAGS
=$ac_wine_try_cflags_saved
13267 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13268 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
13269 if test "$ac_cv_c_dll_gnuelf" = "yes"
13271 LDSHARED
="\$(CC) -shared"
13272 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
13273 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
13274 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
13275 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
13276 echo $ECHO_N "(cached) $ECHO_C" >&6
13278 ac_wine_try_cflags_saved
=$CFLAGS
13279 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
13280 cat >conftest.
$ac_ext <<_ACEOF
13283 cat confdefs.h
>>conftest.
$ac_ext
13284 cat >>conftest.
$ac_ext <<_ACEOF
13285 /* end confdefs.h. */
13295 rm -f conftest.
$ac_objext conftest
$ac_exeext
13296 if { (ac_try
="$ac_link"
13297 case "(($ac_try" in
13298 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13299 *) ac_try_echo=$ac_try;;
13301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13302 (eval "$ac_link") 2>conftest.er1
13304 grep -v '^ *+' conftest.er1 >conftest.err
13306 cat conftest.err >&5
13307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 (exit $ac_status); } && {
13309 test -z "$ac_c_werror_flag" ||
13310 test ! -s conftest.err
13311 } && test -s conftest$ac_exeext &&
13312 $as_test_x conftest$ac_exeext; then
13313 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
13315 echo "$as_me: failed program was:" >&5
13316 sed 's/^/| /' conftest.$ac_ext >&5
13318 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
13321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13322 conftest$ac_exeext conftest.$ac_ext
13323 CFLAGS=$ac_wine_try_cflags_saved
13325 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
13326 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
13327 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
13328 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13330 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
13331 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
13332 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
13333 echo $ECHO_N "(cached) $ECHO_C" >&6
13335 ac_wine_try_cflags_saved=$CFLAGS
13336 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
13337 cat >conftest.$ac_ext <<_ACEOF
13340 cat confdefs.h >>conftest.$ac_ext
13341 cat >>conftest.$ac_ext <<_ACEOF
13342 /* end confdefs.h. */
13352 rm -f conftest.$ac_objext conftest$ac_exeext
13353 if { (ac_try="$ac_link"
13354 case "(($ac_try" in
13355 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13356 *) ac_try_echo
=$ac_try;;
13358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13359 (eval "$ac_link") 2>conftest.er1
13361 grep -v '^ *+' conftest.er1
>conftest.err
13363 cat conftest.err
>&5
13364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13365 (exit $ac_status); } && {
13366 test -z "$ac_c_werror_flag" ||
13367 test ! -s conftest.err
13368 } && test -s conftest
$ac_exeext &&
13369 $as_test_x conftest
$ac_exeext; then
13370 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
13372 echo "$as_me: failed program was:" >&5
13373 sed 's/^/| /' conftest.
$ac_ext >&5
13375 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
13378 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13379 conftest
$ac_exeext conftest.
$ac_ext
13380 CFLAGS
=$ac_wine_try_cflags_saved
13382 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
13383 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
13384 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
13385 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
13391 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
13392 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
13393 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
13394 echo $ECHO_N "(cached) $ECHO_C" >&6
13396 ac_wine_try_cflags_saved
=$CFLAGS
13397 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13398 cat >conftest.
$ac_ext <<_ACEOF
13401 cat confdefs.h
>>conftest.
$ac_ext
13402 cat >>conftest.
$ac_ext <<_ACEOF
13403 /* end confdefs.h. */
13413 rm -f conftest.
$ac_objext conftest
$ac_exeext
13414 if { (ac_try
="$ac_link"
13415 case "(($ac_try" in
13416 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13417 *) ac_try_echo=$ac_try;;
13419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13420 (eval "$ac_link") 2>conftest.er1
13422 grep -v '^ *+' conftest.er1 >conftest.err
13424 cat conftest.err >&5
13425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13426 (exit $ac_status); } && {
13427 test -z "$ac_c_werror_flag" ||
13428 test ! -s conftest.err
13429 } && test -s conftest$ac_exeext &&
13430 $as_test_x conftest$ac_exeext; then
13431 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
13433 echo "$as_me: failed program was:" >&5
13434 sed 's/^/| /' conftest.$ac_ext >&5
13436 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
13439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13440 conftest$ac_exeext conftest.$ac_ext
13441 CFLAGS=$ac_wine_try_cflags_saved
13443 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
13444 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
13445 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
13446 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
13450 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
13451 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
13452 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
13453 echo $ECHO_N "(cached) $ECHO_C" >&6
13455 ac_wine_try_cflags_saved=$CFLAGS
13456 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13457 cat >conftest.$ac_ext <<_ACEOF
13460 cat confdefs.h >>conftest.$ac_ext
13461 cat >>conftest.$ac_ext <<_ACEOF
13462 /* end confdefs.h. */
13472 rm -f conftest.$ac_objext conftest$ac_exeext
13473 if { (ac_try="$ac_link"
13474 case "(($ac_try" in
13475 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13476 *) ac_try_echo
=$ac_try;;
13478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13479 (eval "$ac_link") 2>conftest.er1
13481 grep -v '^ *+' conftest.er1
>conftest.err
13483 cat conftest.err
>&5
13484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13485 (exit $ac_status); } && {
13486 test -z "$ac_c_werror_flag" ||
13487 test ! -s conftest.err
13488 } && test -s conftest
$ac_exeext &&
13489 $as_test_x conftest
$ac_exeext; then
13490 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
13492 echo "$as_me: failed program was:" >&5
13493 sed 's/^/| /' conftest.
$ac_ext >&5
13495 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
13498 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13499 conftest
$ac_exeext conftest.
$ac_ext
13500 CFLAGS
=$ac_wine_try_cflags_saved
13502 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
13503 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
13504 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
13505 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13509 echo '{ global: *; };' >conftest.map
13510 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
13511 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
13512 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
13513 echo $ECHO_N "(cached) $ECHO_C" >&6
13515 ac_wine_try_cflags_saved
=$CFLAGS
13516 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13517 cat >conftest.
$ac_ext <<_ACEOF
13520 cat confdefs.h
>>conftest.
$ac_ext
13521 cat >>conftest.
$ac_ext <<_ACEOF
13522 /* end confdefs.h. */
13532 rm -f conftest.
$ac_objext conftest
$ac_exeext
13533 if { (ac_try
="$ac_link"
13534 case "(($ac_try" in
13535 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13536 *) ac_try_echo=$ac_try;;
13538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13539 (eval "$ac_link") 2>conftest.er1
13541 grep -v '^ *+' conftest.er1 >conftest.err
13543 cat conftest.err >&5
13544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13545 (exit $ac_status); } && {
13546 test -z "$ac_c_werror_flag" ||
13547 test ! -s conftest.err
13548 } && test -s conftest$ac_exeext &&
13549 $as_test_x conftest$ac_exeext; then
13550 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
13552 echo "$as_me: failed program was:" >&5
13553 sed 's/^/| /' conftest.$ac_ext >&5
13555 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
13558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13559 conftest$ac_exeext conftest.$ac_ext
13560 CFLAGS=$ac_wine_try_cflags_saved
13562 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
13563 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
13564 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
13565 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13570 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
13571 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
13572 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
13573 echo $ECHO_N "(cached) $ECHO_C" >&6
13575 ac_wine_try_cflags_saved=$CFLAGS
13576 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13577 cat >conftest.$ac_ext <<_ACEOF
13580 cat confdefs.h >>conftest.$ac_ext
13581 cat >>conftest.$ac_ext <<_ACEOF
13582 /* end confdefs.h. */
13592 rm -f conftest.$ac_objext conftest$ac_exeext
13593 if { (ac_try="$ac_link"
13594 case "(($ac_try" in
13595 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13596 *) ac_try_echo
=$ac_try;;
13598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13599 (eval "$ac_link") 2>conftest.er1
13601 grep -v '^ *+' conftest.er1
>conftest.err
13603 cat conftest.err
>&5
13604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13605 (exit $ac_status); } && {
13606 test -z "$ac_c_werror_flag" ||
13607 test ! -s conftest.err
13608 } && test -s conftest
$ac_exeext &&
13609 $as_test_x conftest
$ac_exeext; then
13610 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
13612 echo "$as_me: failed program was:" >&5
13613 sed 's/^/| /' conftest.
$ac_ext >&5
13615 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
13618 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13619 conftest
$ac_exeext conftest.
$ac_ext
13620 CFLAGS
=$ac_wine_try_cflags_saved
13622 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
13623 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
13624 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
13625 LDEXECFLAGS
="-Wl,--export-dynamic"
13630 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
13631 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
13632 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
13633 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13634 echo $ECHO_N "(cached) $ECHO_C" >&6
13636 ac_wine_try_cflags_saved
=$CFLAGS
13637 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
13638 cat >conftest.
$ac_ext <<_ACEOF
13641 cat confdefs.h
>>conftest.
$ac_ext
13642 cat >>conftest.
$ac_ext <<_ACEOF
13643 /* end confdefs.h. */
13653 rm -f conftest.
$ac_objext conftest
$ac_exeext
13654 if { (ac_try
="$ac_link"
13655 case "(($ac_try" in
13656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13657 *) ac_try_echo=$ac_try;;
13659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13660 (eval "$ac_link") 2>conftest.er1
13662 grep -v '^ *+' conftest.er1 >conftest.err
13664 cat conftest.err >&5
13665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13666 (exit $ac_status); } && {
13667 test -z "$ac_c_werror_flag" ||
13668 test ! -s conftest.err
13669 } && test -s conftest$ac_exeext &&
13670 $as_test_x conftest$ac_exeext; then
13671 eval "$as_ac_var=yes"
13673 echo "$as_me: failed program was:" >&5
13674 sed 's/^/| /' conftest.$ac_ext >&5
13676 eval "$as_ac_var=no"
13679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13680 conftest$ac_exeext conftest.$ac_ext
13681 CFLAGS=$ac_wine_try_cflags_saved
13683 ac_res=`eval echo '${'$as_ac_var'}'`
13684 { echo "$as_me:$LINENO: result: $ac_res" >&5
13685 echo "${ECHO_T}$ac_res" >&6; }
13686 if test `eval echo '${'$as_ac_var'}'` = yes; then
13687 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
13688 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
13690 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" |
$as_tr_sh`
13691 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
13692 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
13693 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13694 echo $ECHO_N "(cached) $ECHO_C" >&6
13696 ac_wine_try_cflags_saved=$CFLAGS
13697 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
13698 cat >conftest.$ac_ext <<_ACEOF
13701 cat confdefs.h >>conftest.$ac_ext
13702 cat >>conftest.$ac_ext <<_ACEOF
13703 /* end confdefs.h. */
13713 rm -f conftest.$ac_objext conftest$ac_exeext
13714 if { (ac_try="$ac_link"
13715 case "(($ac_try" in
13716 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13717 *) ac_try_echo
=$ac_try;;
13719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13720 (eval "$ac_link") 2>conftest.er1
13722 grep -v '^ *+' conftest.er1
>conftest.err
13724 cat conftest.err
>&5
13725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13726 (exit $ac_status); } && {
13727 test -z "$ac_c_werror_flag" ||
13728 test ! -s conftest.err
13729 } && test -s conftest
$ac_exeext &&
13730 $as_test_x conftest
$ac_exeext; then
13731 eval "$as_ac_var=yes"
13733 echo "$as_me: failed program was:" >&5
13734 sed 's/^/| /' conftest.
$ac_ext >&5
13736 eval "$as_ac_var=no"
13739 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13740 conftest
$ac_exeext conftest.
$ac_ext
13741 CFLAGS
=$ac_wine_try_cflags_saved
13743 ac_res
=`eval echo '${'$as_ac_var'}'`
13744 { echo "$as_me:$LINENO: result: $ac_res" >&5
13745 echo "${ECHO_T}$ac_res" >&6; }
13746 if test `eval echo '${'$as_ac_var'}'` = yes; then
13747 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
13748 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
13755 *i
[3456789]86* | x86_64
)
13756 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
13757 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
13758 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
13759 echo $ECHO_N "(cached) $ECHO_C" >&6
13761 ac_wine_try_cflags_saved
=$CFLAGS
13762 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
13763 cat >conftest.
$ac_ext <<_ACEOF
13766 cat confdefs.h
>>conftest.
$ac_ext
13767 cat >>conftest.
$ac_ext <<_ACEOF
13768 /* end confdefs.h. */
13778 rm -f conftest.
$ac_objext conftest
$ac_exeext
13779 if { (ac_try
="$ac_link"
13780 case "(($ac_try" in
13781 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13782 *) ac_try_echo=$ac_try;;
13784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13785 (eval "$ac_link") 2>conftest.er1
13787 grep -v '^ *+' conftest.er1 >conftest.err
13789 cat conftest.err >&5
13790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13791 (exit $ac_status); } && {
13792 test -z "$ac_c_werror_flag" ||
13793 test ! -s conftest.err
13794 } && test -s conftest$ac_exeext &&
13795 $as_test_x conftest$ac_exeext; then
13796 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
13798 echo "$as_me: failed program was:" >&5
13799 sed 's/^/| /' conftest.$ac_ext >&5
13801 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
13804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13805 conftest$ac_exeext conftest.$ac_ext
13806 CFLAGS=$ac_wine_try_cflags_saved
13808 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
13809 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
13810 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
13811 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
13818 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13819 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
13820 if test "${ac_cv_c_dll_unixware+set}" = set; then
13821 echo $ECHO_N "(cached) $ECHO_C" >&6
13823 ac_wine_try_cflags_saved=$CFLAGS
13824 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13825 cat >conftest.$ac_ext <<_ACEOF
13828 rm -f conftest.$ac_objext conftest$ac_exeext
13829 if { (ac_try="$ac_link"
13830 case "(($ac_try" in
13831 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13832 *) ac_try_echo
=$ac_try;;
13834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13835 (eval "$ac_link") 2>conftest.er1
13837 grep -v '^ *+' conftest.er1
>conftest.err
13839 cat conftest.err
>&5
13840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13841 (exit $ac_status); } && {
13842 test -z "$ac_c_werror_flag" ||
13843 test ! -s conftest.err
13844 } && test -s conftest
$ac_exeext &&
13845 $as_test_x conftest
$ac_exeext; then
13846 ac_cv_c_dll_unixware
="yes"
13848 echo "$as_me: failed program was:" >&5
13849 sed 's/^/| /' conftest.
$ac_ext >&5
13851 ac_cv_c_dll_unixware
="no"
13854 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13855 conftest
$ac_exeext conftest.
$ac_ext
13856 CFLAGS
=$ac_wine_try_cflags_saved
13858 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13859 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
13860 if test "$ac_cv_c_dll_unixware" = "yes"
13862 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13863 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
13866 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
13867 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
13868 if test "${ac_cv_c_dll_hpux+set}" = set; then
13869 echo $ECHO_N "(cached) $ECHO_C" >&6
13871 ac_wine_try_cflags_saved
=$CFLAGS
13872 CFLAGS
="$CFLAGS -shared"
13873 cat >conftest.
$ac_ext <<_ACEOF
13876 rm -f conftest.
$ac_objext conftest
$ac_exeext
13877 if { (ac_try
="$ac_link"
13878 case "(($ac_try" in
13879 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13880 *) ac_try_echo=$ac_try;;
13882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13883 (eval "$ac_link") 2>conftest.er1
13885 grep -v '^ *+' conftest.er1 >conftest.err
13887 cat conftest.err >&5
13888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13889 (exit $ac_status); } && {
13890 test -z "$ac_c_werror_flag" ||
13891 test ! -s conftest.err
13892 } && test -s conftest$ac_exeext &&
13893 $as_test_x conftest$ac_exeext; then
13894 ac_cv_c_dll_hpux="yes"
13896 echo "$as_me: failed program was:" >&5
13897 sed 's/^/| /' conftest.$ac_ext >&5
13899 ac_cv_c_dll_hpux="no"
13902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13903 conftest$ac_exeext conftest.$ac_ext
13904 CFLAGS=$ac_wine_try_cflags_saved
13906 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
13907 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
13908 if test "$ac_cv_c_dll_hpux" = "yes"
13912 LDDLLFLAGS="-shared -fPIC"
13913 LDSHARED="\$(CC) -shared"
13920 if test "$cross_compiling" = "no"
13922 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
13924 # Extract the first word of "$ac_prog", so it can be a program name with args.
13925 set dummy $ac_prog; ac_word=$2
13926 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13928 if test "${ac_cv_prog_CROSSCC+set}" = set; then
13929 echo $ECHO_N "(cached) $ECHO_C" >&6
13931 if test -n "$CROSSCC"; then
13932 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
13934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13935 for as_dir in $PATH
13938 test -z "$as_dir" && as_dir=.
13939 for ac_exec_ext in '' $ac_executable_extensions; do
13940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13941 ac_cv_prog_CROSSCC="$ac_prog"
13942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13951 CROSSCC=$ac_cv_prog_CROSSCC
13952 if test -n "$CROSSCC"; then
13953 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
13954 echo "${ECHO_T}$CROSSCC" >&6; }
13956 { echo "$as_me:$LINENO: result: no" >&5
13957 echo "${ECHO_T}no" >&6; }
13961 test -n "$CROSSCC" && break
13963 test -n "$CROSSCC" || CROSSCC="false"
13965 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
13967 # Extract the first word of "$ac_prog", so it can be a program name with args.
13968 set dummy $ac_prog; ac_word=$2
13969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13971 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13972 echo $ECHO_N "(cached) $ECHO_C" >&6
13974 if test -n "$DLLTOOL"; then
13975 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13978 for as_dir in $PATH
13981 test -z "$as_dir" && as_dir=.
13982 for ac_exec_ext in '' $ac_executable_extensions; do
13983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13984 ac_cv_prog_DLLTOOL="$ac_prog"
13985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13994 DLLTOOL=$ac_cv_prog_DLLTOOL
13995 if test -n "$DLLTOOL"; then
13996 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13997 echo "${ECHO_T}$DLLTOOL" >&6; }
13999 { echo "$as_me:$LINENO: result: no" >&5
14000 echo "${ECHO_T}no" >&6; }
14004 test -n "$DLLTOOL" && break
14006 test -n "$DLLTOOL" || DLLTOOL="false"
14008 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
14010 # Extract the first word of "$ac_prog", so it can be a program name with args.
14011 set dummy $ac_prog; ac_word=$2
14012 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14014 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14015 echo $ECHO_N "(cached) $ECHO_C" >&6
14017 if test -n "$CROSSWINDRES"; then
14018 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
14020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14021 for as_dir in $PATH
14024 test -z "$as_dir" && as_dir=.
14025 for ac_exec_ext in '' $ac_executable_extensions; do
14026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14027 ac_cv_prog_CROSSWINDRES="$ac_prog"
14028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14037 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14038 if test -n "$CROSSWINDRES"; then
14039 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14040 echo "${ECHO_T}$CROSSWINDRES" >&6; }
14042 { echo "$as_me:$LINENO: result: no" >&5
14043 echo "${ECHO_T}no" >&6; }
14047 test -n "$CROSSWINDRES" && break
14049 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14051 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
14053 # Extract the first word of "$ac_prog", so it can be a program name with args.
14054 set dummy $ac_prog; ac_word=$2
14055 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14057 if test "${ac_cv_prog_MINGWAR+set}" = set; then
14058 echo $ECHO_N "(cached) $ECHO_C" >&6
14060 if test -n "$MINGWAR"; then
14061 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
14063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14064 for as_dir in $PATH
14067 test -z "$as_dir" && as_dir=.
14068 for ac_exec_ext in '' $ac_executable_extensions; do
14069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14070 ac_cv_prog_MINGWAR="$ac_prog"
14071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14080 MINGWAR=$ac_cv_prog_MINGWAR
14081 if test -n "$MINGWAR"; then
14082 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
14083 echo "${ECHO_T}$MINGWAR" >&6; }
14085 { echo "$as_me:$LINENO: result: no" >&5
14086 echo "${ECHO_T}no" >&6; }
14090 test -n "$MINGWAR" && break
14092 test -n "$MINGWAR" || MINGWAR="false"
14094 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14099 if test "$LIBEXT" = "a"; then
14100 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14101 It is currently not possible to build Wine without shared library
14102 (.so) support to allow transparent switch between .so and .dll files.
14103 If you are using Linux, you will need a newer binutils.
14105 echo "$as_me: error: could not find a way to build shared libraries.
14106 It is currently not possible to build Wine without shared library
14107 (.so) support to allow transparent switch between .so and .dll files.
14108 If you are using Linux, you will need a newer binutils.
14110 { (exit 1); exit 1; }; }
14115 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14118 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
14121 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14129 SOCKETLIBS="-lws2_32"
14134 MAIN_BINARY="wine-pthread"
14138 linux* | k*bsd*-gnu)
14139 MAIN_BINARY="wine-glibc"
14141 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
14148 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14150 # Extract the first word of "ldd", so it can be a program name with args.
14151 set dummy ldd; ac_word=$2
14152 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14154 if test "${ac_cv_path_LDD+set}" = set; then
14155 echo $ECHO_N "(cached) $ECHO_C" >&6
14159 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14163 as_dummy="/sbin:/usr/sbin:$PATH"
14164 for as_dir in $as_dummy
14167 test -z "$as_dir" && as_dir=.
14168 for ac_exec_ext in '' $ac_executable_extensions; do
14169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14170 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14178 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14182 LDD=$ac_cv_path_LDD
14183 if test -n "$LDD"; then
14184 { echo "$as_me:$LINENO: result: $LDD" >&5
14185 echo "${ECHO_T}$LDD" >&6; }
14187 { echo "$as_me:$LINENO: result: no" >&5
14188 echo "${ECHO_T}no" >&6; }
14192 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14193 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
14194 if test "${ac_cv_lib_soname_X11+set}" = set; then
14195 echo $ECHO_N "(cached) $ECHO_C" >&6
14197 ac_get_soname_save_LIBS=$LIBS
14198 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14199 cat >conftest.$ac_ext <<_ACEOF
14202 cat confdefs.h >>conftest.$ac_ext
14203 cat >>conftest.$ac_ext <<_ACEOF
14204 /* end confdefs.h. */
14206 /* Override any GCC internal prototype to avoid an error.
14207 Use char because int might match the return type of a GCC
14208 builtin and then its argument prototype would still apply. */
14212 char XCreateWindow ();
14216 return XCreateWindow ();
14221 rm -f conftest.$ac_objext conftest$ac_exeext
14222 if { (ac_try="$ac_link"
14223 case "(($ac_try" in
14224 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14225 *) ac_try_echo
=$ac_try;;
14227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14228 (eval "$ac_link") 2>conftest.er1
14230 grep -v '^ *+' conftest.er1
>conftest.err
14232 cat conftest.err
>&5
14233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234 (exit $ac_status); } && {
14235 test -z "$ac_c_werror_flag" ||
14236 test ! -s conftest.err
14237 } && test -s conftest
$ac_exeext &&
14238 $as_test_x conftest
$ac_exeext; then
14240 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'` ;;
14241 so
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14243 if test "x$ac_cv_lib_soname_X11" = "x"
14245 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14248 echo "$as_me: failed program was:" >&5
14249 sed 's/^/| /' conftest.
$ac_ext >&5
14251 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14254 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14255 conftest
$ac_exeext conftest.
$ac_ext
14256 LIBS
=$ac_get_soname_save_LIBS
14258 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14259 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
14260 if test "${ac_cv_lib_soname_X11+set}" = set; then
14262 cat >>confdefs.h
<<_ACEOF
14263 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14268 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
14269 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
14270 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14271 echo $ECHO_N "(cached) $ECHO_C" >&6
14273 ac_get_soname_save_LIBS
=$LIBS
14274 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14275 cat >conftest.
$ac_ext <<_ACEOF
14278 cat confdefs.h
>>conftest.
$ac_ext
14279 cat >>conftest.
$ac_ext <<_ACEOF
14280 /* end confdefs.h. */
14282 /* Override any GCC internal prototype to avoid an error.
14283 Use char because int might match the return type of a GCC
14284 builtin and then its argument prototype would still apply. */
14288 char XextCreateExtension ();
14292 return XextCreateExtension ();
14297 rm -f conftest.
$ac_objext conftest
$ac_exeext
14298 if { (ac_try
="$ac_link"
14299 case "(($ac_try" in
14300 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14301 *) ac_try_echo=$ac_try;;
14303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14304 (eval "$ac_link") 2>conftest.er1
14306 grep -v '^ *+' conftest.er1 >conftest.err
14308 cat conftest.err >&5
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); } && {
14311 test -z "$ac_c_werror_flag" ||
14312 test ! -s conftest.err
14313 } && test -s conftest$ac_exeext &&
14314 $as_test_x conftest$ac_exeext; then
14316 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'` ;;
14317 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXext
\\.so |
sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14319 if test "x$ac_cv_lib_soname_Xext" = "x"
14321 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14324 echo "$as_me: failed program was:" >&5
14325 sed 's/^/| /' conftest.$ac_ext >&5
14327 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14331 conftest$ac_exeext conftest.$ac_ext
14332 LIBS=$ac_get_soname_save_LIBS
14334 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14335 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
14336 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14338 cat >>confdefs.h <<_ACEOF
14339 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14344 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
14345 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
14346 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14347 echo $ECHO_N "(cached) $ECHO_C" >&6
14349 ac_get_soname_save_LIBS=$LIBS
14350 LIBS="-lXi $X_LIBS -lXext -lX11 $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 XOpenDevice ();
14368 return XOpenDevice ();
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_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'` ;;
14393 so
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14395 if test "x$ac_cv_lib_soname_Xi" = "x"
14397 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14400 echo "$as_me: failed program was:" >&5
14401 sed 's/^/| /' conftest.
$ac_ext >&5
14403 ac_cv_lib_soname_Xi
="libXi.$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_Xi" >&5
14411 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
14412 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14414 cat >>confdefs.h
<<_ACEOF
14415 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14420 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
14421 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
14422 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14423 echo $ECHO_N "(cached) $ECHO_C" >&6
14425 ac_get_soname_save_LIBS
=$LIBS
14426 LIBS
="-lXinerama $X_LIBS -lXext -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 XineramaQueryScreens ();
14444 return XineramaQueryScreens ();
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_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'` ;;
14469 so) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXinerama
\\.so |
sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14471 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14473 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14476 echo "$as_me: failed program was:" >&5
14477 sed 's/^/| /' conftest.$ac_ext >&5
14479 ac_cv_lib_soname_Xinerama="libXinerama.$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_Xinerama" >&5
14487 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
14488 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14490 cat >>confdefs.h <<_ACEOF
14491 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
14496 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14497 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
14498 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14499 echo $ECHO_N "(cached) $ECHO_C" >&6
14501 ac_get_soname_save_LIBS=$LIBS
14502 LIBS="-lXrender $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 XRenderQueryExtension ();
14520 return XRenderQueryExtension ();
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_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'` ;;
14545 so
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14547 if test "x$ac_cv_lib_soname_Xrender" = "x"
14549 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
14552 echo "$as_me: failed program was:" >&5
14553 sed 's/^/| /' conftest.
$ac_ext >&5
14555 ac_cv_lib_soname_Xrender
="libXrender.$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_Xrender" >&5
14563 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
14564 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14566 cat >>confdefs.h
<<_ACEOF
14567 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14572 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14573 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
14574 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14575 echo $ECHO_N "(cached) $ECHO_C" >&6
14577 ac_get_soname_save_LIBS
=$LIBS
14578 LIBS
="-lXrandr $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 XRRQueryExtension ();
14596 return XRRQueryExtension ();
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_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'` ;;
14621 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXrandr
\\.so |
sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14623 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14625 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14628 echo "$as_me: failed program was:" >&5
14629 sed 's/^/| /' conftest.$ac_ext >&5
14631 ac_cv_lib_soname_Xrandr="libXrandr.$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_Xrandr" >&5
14639 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
14640 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14642 cat >>confdefs.h <<_ACEOF
14643 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14648 { echo "$as_me:$LINENO: checking for -lXcursor soname" >&5
14649 echo $ECHO_N "checking for -lXcursor soname... $ECHO_C" >&6; }
14650 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
14651 echo $ECHO_N "(cached) $ECHO_C" >&6
14653 ac_get_soname_save_LIBS=$LIBS
14654 LIBS="-lXcursor $X_LIBS -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 XcursorImageLoadCursor ();
14672 return XcursorImageLoadCursor ();
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_Xcursor
=`otool -L conftest$ac_exeext | grep libXcursor\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXcursor\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14697 so
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXcursor\\.so | sed -e "s/^.*\(libXcursor\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14699 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14701 ac_cv_lib_soname_Xcursor
="libXcursor.$LIBEXT"
14704 echo "$as_me: failed program was:" >&5
14705 sed 's/^/| /' conftest.
$ac_ext >&5
14707 ac_cv_lib_soname_Xcursor
="libXcursor.$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_Xcursor" >&5
14715 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
14716 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
14718 cat >>confdefs.h
<<_ACEOF
14719 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
14724 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14725 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
14726 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14727 echo $ECHO_N "(cached) $ECHO_C" >&6
14729 ac_get_soname_save_LIBS
=$LIBS
14730 LIBS
="-lfreetype $X_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 FT_Init_FreeType ();
14748 return FT_Init_FreeType ();
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_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'` ;;
14773 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libfreetype
\\.so |
sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14775 if test "x$ac_cv_lib_soname_freetype" = "x"
14777 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14780 echo "$as_me: failed program was:" >&5
14781 sed 's/^/| /' conftest.$ac_ext >&5
14783 ac_cv_lib_soname_freetype="libfreetype.$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_freetype" >&5
14791 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
14792 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14794 cat >>confdefs.h <<_ACEOF
14795 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14800 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
14801 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
14802 if test "${ac_cv_lib_soname_GL+set}" = set; then
14803 echo $ECHO_N "(cached) $ECHO_C" >&6
14805 ac_get_soname_save_LIBS=$LIBS
14806 LIBS="-lGL $X_LIBS $X_EXTRA_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 glXQueryExtension ();
14824 return glXQueryExtension ();
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_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'` ;;
14849 so
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14851 if test "x$ac_cv_lib_soname_GL" = "x"
14853 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
14856 echo "$as_me: failed program was:" >&5
14857 sed 's/^/| /' conftest.
$ac_ext >&5
14859 ac_cv_lib_soname_GL
="libGL.$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_GL" >&5
14867 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
14868 if test "${ac_cv_lib_soname_GL+set}" = set; then
14870 cat >>confdefs.h
<<_ACEOF
14871 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14876 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
14877 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
14878 if test "${ac_cv_lib_soname_hal+set}" = set; then
14879 echo $ECHO_N "(cached) $ECHO_C" >&6
14881 ac_get_soname_save_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 libhal_ctx_new ();
14900 return libhal_ctx_new ();
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_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'` ;;
14925 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libhal
\\.so |
sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14927 if test "x$ac_cv_lib_soname_hal" = "x"
14929 ac_cv_lib_soname_hal="libhal.$LIBEXT"
14932 echo "$as_me: failed program was:" >&5
14933 sed 's/^/| /' conftest.$ac_ext >&5
14935 ac_cv_lib_soname_hal="libhal.$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_hal" >&5
14943 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
14944 if test "${ac_cv_lib_soname_hal+set}" = set; then
14946 cat >>confdefs.h <<_ACEOF
14947 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
14952 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
14953 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
14954 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14955 echo $ECHO_N "(cached) $ECHO_C" >&6
14957 ac_get_soname_save_LIBS=$LIBS
14958 LIBS="-ltxc_dxtn $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 fetch_2d_texel_rgba_dxt1 ();
14976 return fetch_2d_texel_rgba_dxt1 ();
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_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'` ;;
15001 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'` ;;
15003 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
15005 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
15008 echo "$as_me: failed program was:" >&5
15009 sed 's/^/| /' conftest.
$ac_ext >&5
15011 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$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_txc_dxtn" >&5
15019 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
15020 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15022 cat >>confdefs.h
<<_ACEOF
15023 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15028 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
15029 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
15030 if test "${ac_cv_lib_soname_cups+set}" = set; then
15031 echo $ECHO_N "(cached) $ECHO_C" >&6
15033 ac_get_soname_save_LIBS
=$LIBS
15034 LIBS
="-lcups $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 cupsGetDefault ();
15052 return cupsGetDefault ();
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_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'` ;;
15077 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcups
\\.so |
sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15079 if test "x$ac_cv_lib_soname_cups" = "x"
15081 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15084 echo "$as_me: failed program was:" >&5
15085 sed 's/^/| /' conftest.$ac_ext >&5
15087 ac_cv_lib_soname_cups="libcups.$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_cups" >&5
15095 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15096 if test "${ac_cv_lib_soname_cups+set}" = set; then
15098 cat >>confdefs.h <<_ACEOF
15099 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15104 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
15105 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
15106 if test "${ac_cv_lib_soname_jack+set}" = set; then
15107 echo $ECHO_N "(cached) $ECHO_C" >&6
15109 ac_get_soname_save_LIBS=$LIBS
15110 LIBS="-ljack $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 jack_client_new ();
15128 return jack_client_new ();
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_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'` ;;
15153 so
) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15155 if test "x$ac_cv_lib_soname_jack" = "x"
15157 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15160 echo "$as_me: failed program was:" >&5
15161 sed 's/^/| /' conftest.
$ac_ext >&5
15163 ac_cv_lib_soname_jack
="libjack.$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_jack" >&5
15171 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15172 if test "${ac_cv_lib_soname_jack+set}" = set; then
15174 cat >>confdefs.h
<<_ACEOF
15175 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15180 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15181 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
15182 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15183 echo $ECHO_N "(cached) $ECHO_C" >&6
15185 ac_get_soname_save_LIBS
=$LIBS
15186 LIBS
="-lfontconfig $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. */
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_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'` ;;
15229 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libfontconfig
\\.so |
sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15231 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15233 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15236 echo "$as_me: failed program was:" >&5
15237 sed 's/^/| /' conftest.$ac_ext >&5
15239 ac_cv_lib_soname_fontconfig="libfontconfig.$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_fontconfig" >&5
15247 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15248 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15250 cat >>confdefs.h <<_ACEOF
15251 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15256 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
15257 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
15258 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15259 echo $ECHO_N "(cached) $ECHO_C" >&6
15261 ac_get_soname_save_LIBS=$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. */
15276 char SSL_library_init ();
15280 return SSL_library_init ();
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_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'` ;;
15305 so
) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15307 if test "x$ac_cv_lib_soname_ssl" = "x"
15309 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15312 echo "$as_me: failed program was:" >&5
15313 sed 's/^/| /' conftest.
$ac_ext >&5
15315 ac_cv_lib_soname_ssl
="libssl.$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_ssl" >&5
15323 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15324 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15326 cat >>confdefs.h
<<_ACEOF
15327 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15332 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15333 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
15334 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15335 echo $ECHO_N "(cached) $ECHO_C" >&6
15337 ac_get_soname_save_LIBS
=$LIBS
15338 LIBS
="-lcrypto $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 BIO_new_socket ();
15356 return BIO_new_socket ();
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_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'` ;;
15381 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcrypto
\\.so |
sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15383 if test "x$ac_cv_lib_soname_crypto" = "x"
15385 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15388 echo "$as_me: failed program was:" >&5
15389 sed 's/^/| /' conftest.$ac_ext >&5
15391 ac_cv_lib_soname_crypto="libcrypto.$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_crypto" >&5
15399 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15400 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15402 cat >>confdefs.h <<_ACEOF
15403 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15408 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15409 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
15410 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15411 echo $ECHO_N "(cached) $ECHO_C" >&6
15413 ac_get_soname_save_LIBS=$LIBS
15414 LIBS="-lncurses $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. */
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_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'` ;;
15457 so
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15459 if test "x$ac_cv_lib_soname_ncurses" = "x"
15461 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15464 echo "$as_me: failed program was:" >&5
15465 sed 's/^/| /' conftest.
$ac_ext >&5
15467 ac_cv_lib_soname_ncurses
="libncurses.$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_ncurses" >&5
15475 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
15476 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15478 cat >>confdefs.h
<<_ACEOF
15479 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15484 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15485 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
15486 if test "${ac_cv_lib_soname_curses+set}" = set; then
15487 echo $ECHO_N "(cached) $ECHO_C" >&6
15489 ac_get_soname_save_LIBS
=$LIBS
15490 LIBS
="-lcurses $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_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'` ;;
15533 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcurses
\\.so |
sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15535 if test "x$ac_cv_lib_soname_curses" = "x"
15537 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15540 echo "$as_me: failed program was:" >&5
15541 sed 's/^/| /' conftest.$ac_ext >&5
15543 ac_cv_lib_soname_curses="libcurses.$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_curses" >&5
15551 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
15552 if test "${ac_cv_lib_soname_curses+set}" = set; then
15554 cat >>confdefs.h <<_ACEOF
15555 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15560 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15561 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
15562 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15563 echo $ECHO_N "(cached) $ECHO_C" >&6
15565 ac_get_soname_save_LIBS=$LIBS
15566 LIBS="-ljpeg $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. */
15580 char jpeg_start_decompress ();
15584 return jpeg_start_decompress ();
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_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'` ;;
15609 so
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15611 if test "x$ac_cv_lib_soname_jpeg" = "x"
15613 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15616 echo "$as_me: failed program was:" >&5
15617 sed 's/^/| /' conftest.
$ac_ext >&5
15619 ac_cv_lib_soname_jpeg
="libjpeg.$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_jpeg" >&5
15627 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15628 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15630 cat >>confdefs.h
<<_ACEOF
15631 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15636 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15637 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
15638 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15639 echo $ECHO_N "(cached) $ECHO_C" >&6
15641 ac_get_soname_save_LIBS
=$LIBS
15642 LIBS
="-lcapi20 $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 capi20_isinstalled ();
15660 return capi20_isinstalled ();
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_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'` ;;
15685 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcapi20
\\.so |
sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15687 if test "x$ac_cv_lib_soname_capi20" = "x"
15689 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15692 echo "$as_me: failed program was:" >&5
15693 sed 's/^/| /' conftest.$ac_ext >&5
15695 ac_cv_lib_soname_capi20="libcapi20.$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_capi20" >&5
15703 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15704 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15706 cat >>confdefs.h <<_ACEOF
15707 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15712 { echo "$as_me:$LINENO: checking for -lsane soname" >&5
15713 echo $ECHO_N "checking for -lsane soname... $ECHO_C" >&6; }
15714 if test "${ac_cv_lib_soname_sane+set}" = set; then
15715 echo $ECHO_N "(cached) $ECHO_C" >&6
15717 ac_get_soname_save_LIBS=$LIBS
15718 LIBS="-lsane $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. */
15736 return sane_init ();
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_sane
=`otool -L conftest$ac_exeext | grep libsane\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libsane\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15761 so
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep libsane\\.so | sed -e "s/^.*\(libsane\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15763 if test "x$ac_cv_lib_soname_sane" = "x"
15765 ac_cv_lib_soname_sane
="libsane.$LIBEXT"
15768 echo "$as_me: failed program was:" >&5
15769 sed 's/^/| /' conftest.
$ac_ext >&5
15771 ac_cv_lib_soname_sane
="libsane.$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_sane" >&5
15779 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
15780 if test "${ac_cv_lib_soname_sane+set}" = set; then
15782 cat >>confdefs.h
<<_ACEOF
15783 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
15915 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15916 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15918 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15919 echo $ECHO_N "(cached) $ECHO_C" >&6
15921 cat >conftest.
$ac_ext <<_ACEOF
15924 cat confdefs.h
>>conftest.
$ac_ext
15925 cat >>conftest.
$ac_ext <<_ACEOF
15926 /* end confdefs.h. */
15927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15929 #define $ac_func innocuous_$ac_func
15931 /* System header to define __stub macros and hopefully few prototypes,
15932 which can conflict with char $ac_func (); below.
15933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15934 <limits.h> exists even on freestanding compilers. */
15937 # include <limits.h>
15939 # include <assert.h>
15944 /* Override any GCC internal prototype to avoid an error.
15945 Use char because int might match the return type of a GCC
15946 builtin and then its argument prototype would still apply. */
15951 /* The GNU C library defines this for functions which it implements
15952 to always fail with ENOSYS. Some functions are actually named
15953 something starting with __ and the normal name is an alias. */
15954 #if defined __stub_$ac_func || defined __stub___$ac_func
15961 return $ac_func ();
15966 rm -f conftest.
$ac_objext conftest
$ac_exeext
15967 if { (ac_try
="$ac_link"
15968 case "(($ac_try" in
15969 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15970 *) ac_try_echo=$ac_try;;
15972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15973 (eval "$ac_link") 2>conftest.er1
15975 grep -v '^ *+' conftest.er1 >conftest.err
15977 cat conftest.err >&5
15978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15979 (exit $ac_status); } && {
15980 test -z "$ac_c_werror_flag" ||
15981 test ! -s conftest.err
15982 } && test -s conftest$ac_exeext &&
15983 $as_test_x conftest$ac_exeext; then
15984 eval "$as_ac_var=yes"
15986 echo "$as_me: failed program was:" >&5
15987 sed 's/^/| /' conftest.$ac_ext >&5
15989 eval "$as_ac_var=no"
15992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15993 conftest$ac_exeext conftest.$ac_ext
15995 ac_res=`eval echo '${'$as_ac_var'}'`
15996 { echo "$as_me:$LINENO: result: $ac_res" >&5
15997 echo "${ECHO_T}$ac_res" >&6; }
15998 if test `eval echo '${'$as_ac_var'}'` = yes; then
15999 cat >>confdefs.h <<_ACEOF
16000 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16007 if test "$ac_cv_func_dlopen" = no
16009 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16010 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16011 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16012 echo $ECHO_N "(cached) $ECHO_C" >&6
16014 ac_check_lib_save_LIBS=$LIBS
16016 cat >conftest.$ac_ext <<_ACEOF
16019 cat confdefs.h >>conftest.$ac_ext
16020 cat >>conftest.$ac_ext <<_ACEOF
16021 /* end confdefs.h. */
16023 /* Override any GCC internal prototype to avoid an error.
16024 Use char because int might match the return type of a GCC
16025 builtin and then its argument prototype would still apply. */
16038 rm -f conftest.$ac_objext conftest$ac_exeext
16039 if { (ac_try="$ac_link"
16040 case "(($ac_try" in
16041 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16042 *) ac_try_echo
=$ac_try;;
16044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16045 (eval "$ac_link") 2>conftest.er1
16047 grep -v '^ *+' conftest.er1
>conftest.err
16049 cat conftest.err
>&5
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); } && {
16052 test -z "$ac_c_werror_flag" ||
16053 test ! -s conftest.err
16054 } && test -s conftest
$ac_exeext &&
16055 $as_test_x conftest
$ac_exeext; then
16056 ac_cv_lib_dl_dlopen
=yes
16058 echo "$as_me: failed program was:" >&5
16059 sed 's/^/| /' conftest.
$ac_ext >&5
16061 ac_cv_lib_dl_dlopen
=no
16064 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16065 conftest
$ac_exeext conftest.
$ac_ext
16066 LIBS
=$ac_check_lib_save_LIBS
16068 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16069 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16070 if test $ac_cv_lib_dl_dlopen = yes; then
16071 cat >>confdefs.h
<<\_ACEOF
16072 #define HAVE_DLOPEN 1
16079 ac_wine_check_funcs_save_LIBS
="$LIBS"
16080 LIBS
="$LIBS $LIBDL"
16082 for ac_func
in dladdr
16084 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16085 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16087 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16088 echo $ECHO_N "(cached) $ECHO_C" >&6
16090 cat >conftest.
$ac_ext <<_ACEOF
16093 cat confdefs.h
>>conftest.
$ac_ext
16094 cat >>conftest.
$ac_ext <<_ACEOF
16095 /* end confdefs.h. */
16096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16098 #define $ac_func innocuous_$ac_func
16100 /* System header to define __stub macros and hopefully few prototypes,
16101 which can conflict with char $ac_func (); below.
16102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16103 <limits.h> exists even on freestanding compilers. */
16106 # include <limits.h>
16108 # include <assert.h>
16113 /* Override any GCC internal prototype to avoid an error.
16114 Use char because int might match the return type of a GCC
16115 builtin and then its argument prototype would still apply. */
16120 /* The GNU C library defines this for functions which it implements
16121 to always fail with ENOSYS. Some functions are actually named
16122 something starting with __ and the normal name is an alias. */
16123 #if defined __stub_$ac_func || defined __stub___$ac_func
16130 return $ac_func ();
16135 rm -f conftest.
$ac_objext conftest
$ac_exeext
16136 if { (ac_try
="$ac_link"
16137 case "(($ac_try" in
16138 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16139 *) ac_try_echo=$ac_try;;
16141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16142 (eval "$ac_link") 2>conftest.er1
16144 grep -v '^ *+' conftest.er1 >conftest.err
16146 cat conftest.err >&5
16147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16148 (exit $ac_status); } && {
16149 test -z "$ac_c_werror_flag" ||
16150 test ! -s conftest.err
16151 } && test -s conftest$ac_exeext &&
16152 $as_test_x conftest$ac_exeext; then
16153 eval "$as_ac_var=yes"
16155 echo "$as_me: failed program was:" >&5
16156 sed 's/^/| /' conftest.$ac_ext >&5
16158 eval "$as_ac_var=no"
16161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16162 conftest$ac_exeext conftest.$ac_ext
16164 ac_res=`eval echo '${'$as_ac_var'}'`
16165 { echo "$as_me:$LINENO: result: $ac_res" >&5
16166 echo "${ECHO_T}$ac_res" >&6; }
16167 if test `eval echo '${'$as_ac_var'}'` = yes; then
16168 cat >>confdefs.h <<_ACEOF
16169 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16175 LIBS="$ac_wine_check_funcs_save_LIBS"
16177 if test "$ac_cv_func_poll" = no
16179 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16180 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16181 if test "${ac_cv_lib_poll_poll+set}" = set; then
16182 echo $ECHO_N "(cached) $ECHO_C" >&6
16184 ac_check_lib_save_LIBS=$LIBS
16185 LIBS="-lpoll $LIBS"
16186 cat >conftest.$ac_ext <<_ACEOF
16189 cat confdefs.h >>conftest.$ac_ext
16190 cat >>conftest.$ac_ext <<_ACEOF
16191 /* end confdefs.h. */
16193 /* Override any GCC internal prototype to avoid an error.
16194 Use char because int might match the return type of a GCC
16195 builtin and then its argument prototype would still apply. */
16208 rm -f conftest.$ac_objext conftest$ac_exeext
16209 if { (ac_try="$ac_link"
16210 case "(($ac_try" in
16211 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16212 *) ac_try_echo
=$ac_try;;
16214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16215 (eval "$ac_link") 2>conftest.er1
16217 grep -v '^ *+' conftest.er1
>conftest.err
16219 cat conftest.err
>&5
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); } && {
16222 test -z "$ac_c_werror_flag" ||
16223 test ! -s conftest.err
16224 } && test -s conftest
$ac_exeext &&
16225 $as_test_x conftest
$ac_exeext; then
16226 ac_cv_lib_poll_poll
=yes
16228 echo "$as_me: failed program was:" >&5
16229 sed 's/^/| /' conftest.
$ac_ext >&5
16231 ac_cv_lib_poll_poll
=no
16234 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16235 conftest
$ac_exeext conftest.
$ac_ext
16236 LIBS
=$ac_check_lib_save_LIBS
16238 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16239 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16240 if test $ac_cv_lib_poll_poll = yes; then
16241 cat >>confdefs.h
<<\_ACEOF
16242 #define HAVE_POLL 1
16250 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16251 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16252 if test "${ac_cv_search_gethostbyname+set}" = set; then
16253 echo $ECHO_N "(cached) $ECHO_C" >&6
16255 ac_func_search_save_LIBS
=$LIBS
16256 cat >conftest.
$ac_ext <<_ACEOF
16259 cat confdefs.h
>>conftest.
$ac_ext
16260 cat >>conftest.
$ac_ext <<_ACEOF
16261 /* end confdefs.h. */
16263 /* Override any GCC internal prototype to avoid an error.
16264 Use char because int might match the return type of a GCC
16265 builtin and then its argument prototype would still apply. */
16269 char gethostbyname ();
16273 return gethostbyname ();
16278 for ac_lib
in '' nsl
; do
16279 if test -z "$ac_lib"; then
16280 ac_res
="none required"
16283 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16285 rm -f conftest.
$ac_objext conftest
$ac_exeext
16286 if { (ac_try
="$ac_link"
16287 case "(($ac_try" in
16288 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16289 *) ac_try_echo=$ac_try;;
16291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16292 (eval "$ac_link") 2>conftest.er1
16294 grep -v '^ *+' conftest.er1 >conftest.err
16296 cat conftest.err >&5
16297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16298 (exit $ac_status); } && {
16299 test -z "$ac_c_werror_flag" ||
16300 test ! -s conftest.err
16301 } && test -s conftest$ac_exeext &&
16302 $as_test_x conftest$ac_exeext; then
16303 ac_cv_search_gethostbyname=$ac_res
16305 echo "$as_me: failed program was:" >&5
16306 sed 's/^/| /' conftest.$ac_ext >&5
16311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16313 if test "${ac_cv_search_gethostbyname+set}" = set; then
16317 if test "${ac_cv_search_gethostbyname+set}" = set; then
16320 ac_cv_search_gethostbyname=no
16322 rm conftest.$ac_ext
16323 LIBS=$ac_func_search_save_LIBS
16325 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16326 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16327 ac_res=$ac_cv_search_gethostbyname
16328 if test "$ac_res" != no; then
16329 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16334 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16335 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16336 if test "${ac_cv_search_connect+set}" = set; then
16337 echo $ECHO_N "(cached) $ECHO_C" >&6
16339 ac_func_search_save_LIBS=$LIBS
16340 cat >conftest.$ac_ext <<_ACEOF
16343 cat confdefs.h >>conftest.$ac_ext
16344 cat >>conftest.$ac_ext <<_ACEOF
16345 /* end confdefs.h. */
16347 /* Override any GCC internal prototype to avoid an error.
16348 Use char because int might match the return type of a GCC
16349 builtin and then its argument prototype would still apply. */
16362 for ac_lib in '' socket; do
16363 if test -z "$ac_lib"; then
16364 ac_res="none required"
16367 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16369 rm -f conftest.$ac_objext conftest$ac_exeext
16370 if { (ac_try="$ac_link"
16371 case "(($ac_try" in
16372 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16373 *) ac_try_echo
=$ac_try;;
16375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16376 (eval "$ac_link") 2>conftest.er1
16378 grep -v '^ *+' conftest.er1
>conftest.err
16380 cat conftest.err
>&5
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); } && {
16383 test -z "$ac_c_werror_flag" ||
16384 test ! -s conftest.err
16385 } && test -s conftest
$ac_exeext &&
16386 $as_test_x conftest
$ac_exeext; then
16387 ac_cv_search_connect
=$ac_res
16389 echo "$as_me: failed program was:" >&5
16390 sed 's/^/| /' conftest.
$ac_ext >&5
16395 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16397 if test "${ac_cv_search_connect+set}" = set; then
16401 if test "${ac_cv_search_connect+set}" = set; then
16404 ac_cv_search_connect
=no
16406 rm conftest.
$ac_ext
16407 LIBS
=$ac_func_search_save_LIBS
16409 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16410 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16411 ac_res
=$ac_cv_search_connect
16412 if test "$ac_res" != no
; then
16413 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16418 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16419 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16420 if test "${ac_cv_search_inet_aton+set}" = set; then
16421 echo $ECHO_N "(cached) $ECHO_C" >&6
16423 ac_func_search_save_LIBS
=$LIBS
16424 cat >conftest.
$ac_ext <<_ACEOF
16427 cat confdefs.h
>>conftest.
$ac_ext
16428 cat >>conftest.
$ac_ext <<_ACEOF
16429 /* end confdefs.h. */
16431 /* Override any GCC internal prototype to avoid an error.
16432 Use char because int might match the return type of a GCC
16433 builtin and then its argument prototype would still apply. */
16441 return inet_aton ();
16446 for ac_lib
in '' resolv
; do
16447 if test -z "$ac_lib"; then
16448 ac_res
="none required"
16451 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16453 rm -f conftest.
$ac_objext conftest
$ac_exeext
16454 if { (ac_try
="$ac_link"
16455 case "(($ac_try" in
16456 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16457 *) ac_try_echo=$ac_try;;
16459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16460 (eval "$ac_link") 2>conftest.er1
16462 grep -v '^ *+' conftest.er1 >conftest.err
16464 cat conftest.err >&5
16465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16466 (exit $ac_status); } && {
16467 test -z "$ac_c_werror_flag" ||
16468 test ! -s conftest.err
16469 } && test -s conftest$ac_exeext &&
16470 $as_test_x conftest$ac_exeext; then
16471 ac_cv_search_inet_aton=$ac_res
16473 echo "$as_me: failed program was:" >&5
16474 sed 's/^/| /' conftest.$ac_ext >&5
16479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16481 if test "${ac_cv_search_inet_aton+set}" = set; then
16485 if test "${ac_cv_search_inet_aton+set}" = set; then
16488 ac_cv_search_inet_aton=no
16490 rm conftest.$ac_ext
16491 LIBS=$ac_func_search_save_LIBS
16493 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16494 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16495 ac_res=$ac_cv_search_inet_aton
16496 if test "$ac_res" != no; then
16497 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16521 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16522 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16524 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16525 echo $ECHO_N "(cached) $ECHO_C" >&6
16527 cat >conftest.$ac_ext <<_ACEOF
16530 cat confdefs.h >>conftest.$ac_ext
16531 cat >>conftest.$ac_ext <<_ACEOF
16532 /* end confdefs.h. */
16533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16535 #define $ac_func innocuous_$ac_func
16537 /* System header to define __stub macros and hopefully few prototypes,
16538 which can conflict with char $ac_func (); below.
16539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16540 <limits.h> exists even on freestanding compilers. */
16543 # include <limits.h>
16545 # include <assert.h>
16550 /* Override any GCC internal prototype to avoid an error.
16551 Use char because int might match the return type of a GCC
16552 builtin and then its argument prototype would still apply. */
16557 /* The GNU C library defines this for functions which it implements
16558 to always fail with ENOSYS. Some functions are actually named
16559 something starting with __ and the normal name is an alias. */
16560 #if defined __stub_$ac_func || defined __stub___$ac_func
16567 return $ac_func ();
16572 rm -f conftest.$ac_objext conftest$ac_exeext
16573 if { (ac_try="$ac_link"
16574 case "(($ac_try" in
16575 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16576 *) ac_try_echo
=$ac_try;;
16578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16579 (eval "$ac_link") 2>conftest.er1
16581 grep -v '^ *+' conftest.er1
>conftest.err
16583 cat conftest.err
>&5
16584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16585 (exit $ac_status); } && {
16586 test -z "$ac_c_werror_flag" ||
16587 test ! -s conftest.err
16588 } && test -s conftest
$ac_exeext &&
16589 $as_test_x conftest
$ac_exeext; then
16590 eval "$as_ac_var=yes"
16592 echo "$as_me: failed program was:" >&5
16593 sed 's/^/| /' conftest.
$ac_ext >&5
16595 eval "$as_ac_var=no"
16598 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16599 conftest
$ac_exeext conftest.
$ac_ext
16601 ac_res
=`eval echo '${'$as_ac_var'}'`
16602 { echo "$as_me:$LINENO: result: $ac_res" >&5
16603 echo "${ECHO_T}$ac_res" >&6; }
16604 if test `eval echo '${'$as_ac_var'}'` = yes; then
16605 cat >>confdefs.h
<<_ACEOF
16606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16614 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16615 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16616 if test "${ac_cv_c_const+set}" = set; then
16617 echo $ECHO_N "(cached) $ECHO_C" >&6
16619 cat >conftest.
$ac_ext <<_ACEOF
16622 cat confdefs.h
>>conftest.
$ac_ext
16623 cat >>conftest.
$ac_ext <<_ACEOF
16624 /* end confdefs.h. */
16629 /* FIXME: Include the comments suggested by Paul. */
16630 #ifndef __cplusplus
16631 /* Ultrix mips cc rejects this. */
16632 typedef int charset[2];
16634 /* SunOS 4.1.1 cc rejects this. */
16635 char const *const *pcpcc;
16637 /* NEC SVR4.0.2 mips cc rejects this. */
16638 struct point {int x, y;};
16639 static struct point const zero = {0,0};
16640 /* AIX XL C 1.02.0.0 rejects this.
16641 It does not let you subtract one const X* pointer from another in
16642 an arm of an if-expression whose if-part is not a constant
16644 const char *g = "string";
16645 pcpcc = &g + (g ? g-g : 0);
16646 /* HPUX 7.0 cc rejects these. */
16648 ppc = (char**) pcpcc;
16649 pcpcc = (char const *const *) ppc;
16650 { /* SCO 3.2v4 cc rejects this. */
16652 char const *s = 0 ? (char *) 0 : (char const *) 0;
16657 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16658 int x[] = {25, 17};
16659 const int *foo = &x[0];
16662 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16663 typedef const int *iptr;
16667 { /* AIX XL C 1.02.0.0 rejects this saying
16668 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16669 struct s { int j; const int *ap[3]; };
16670 struct s *b; b->j = 5;
16672 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16673 const int foo = 10;
16674 if (!foo) return 0;
16676 return !cs[0] && !zero.x;
16683 rm -f conftest.
$ac_objext
16684 if { (ac_try
="$ac_compile"
16685 case "(($ac_try" in
16686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16687 *) ac_try_echo=$ac_try;;
16689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16690 (eval "$ac_compile") 2>conftest.er1
16692 grep -v '^ *+' conftest.er1 >conftest.err
16694 cat conftest.err >&5
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); } && {
16697 test -z "$ac_c_werror_flag" ||
16698 test ! -s conftest.err
16699 } && test -s conftest.$ac_objext; then
16702 echo "$as_me: failed program was:" >&5
16703 sed 's/^/| /' conftest.$ac_ext >&5
16708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16710 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16711 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16712 if test $ac_cv_c_const = no; then
16714 cat >>confdefs.h <<\_ACEOF
16720 { echo "$as_me:$LINENO: checking for inline" >&5
16721 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16722 if test "${ac_cv_c_inline+set}" = set; then
16723 echo $ECHO_N "(cached) $ECHO_C" >&6
16726 for ac_kw in inline __inline__ __inline; do
16727 cat >conftest.$ac_ext <<_ACEOF
16730 cat confdefs.h >>conftest.$ac_ext
16731 cat >>conftest.$ac_ext <<_ACEOF
16732 /* end confdefs.h. */
16733 #ifndef __cplusplus
16735 static $ac_kw foo_t static_foo () {return 0; }
16736 $ac_kw foo_t foo () {return 0; }
16740 rm -f conftest.$ac_objext
16741 if { (ac_try="$ac_compile"
16742 case "(($ac_try" in
16743 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16744 *) ac_try_echo
=$ac_try;;
16746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16747 (eval "$ac_compile") 2>conftest.er1
16749 grep -v '^ *+' conftest.er1
>conftest.err
16751 cat conftest.err
>&5
16752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753 (exit $ac_status); } && {
16754 test -z "$ac_c_werror_flag" ||
16755 test ! -s conftest.err
16756 } && test -s conftest.
$ac_objext; then
16757 ac_cv_c_inline
=$ac_kw
16759 echo "$as_me: failed program was:" >&5
16760 sed 's/^/| /' conftest.
$ac_ext >&5
16765 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16766 test "$ac_cv_c_inline" != no
&& break
16770 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16771 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16774 case $ac_cv_c_inline in
16777 case $ac_cv_c_inline in
16779 *) ac_val
=$ac_cv_c_inline;;
16781 cat >>confdefs.h
<<_ACEOF
16782 #ifndef __cplusplus
16783 #define inline $ac_val
16789 { echo "$as_me:$LINENO: checking for mode_t" >&5
16790 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16791 if test "${ac_cv_type_mode_t+set}" = set; then
16792 echo $ECHO_N "(cached) $ECHO_C" >&6
16794 cat >conftest.
$ac_ext <<_ACEOF
16797 cat confdefs.h
>>conftest.
$ac_ext
16798 cat >>conftest.
$ac_ext <<_ACEOF
16799 /* end confdefs.h. */
16800 $ac_includes_default
16801 typedef mode_t ac__type_new_;
16805 if ((ac__type_new_ *) 0)
16807 if (sizeof (ac__type_new_))
16813 rm -f conftest.
$ac_objext
16814 if { (ac_try
="$ac_compile"
16815 case "(($ac_try" in
16816 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16817 *) ac_try_echo=$ac_try;;
16819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16820 (eval "$ac_compile") 2>conftest.er1
16822 grep -v '^ *+' conftest.er1 >conftest.err
16824 cat conftest.err >&5
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); } && {
16827 test -z "$ac_c_werror_flag" ||
16828 test ! -s conftest.err
16829 } && test -s conftest.$ac_objext; then
16830 ac_cv_type_mode_t=yes
16832 echo "$as_me: failed program was:" >&5
16833 sed 's/^/| /' conftest.$ac_ext >&5
16835 ac_cv_type_mode_t=no
16838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16840 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16841 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16842 if test $ac_cv_type_mode_t = yes; then
16844 cat >>confdefs.h <<_ACEOF
16845 #define HAVE_MODE_T 1
16850 { echo "$as_me:$LINENO: checking for off_t" >&5
16851 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16852 if test "${ac_cv_type_off_t+set}" = set; then
16853 echo $ECHO_N "(cached) $ECHO_C" >&6
16855 cat >conftest.$ac_ext <<_ACEOF
16858 cat confdefs.h >>conftest.$ac_ext
16859 cat >>conftest.$ac_ext <<_ACEOF
16860 /* end confdefs.h. */
16861 $ac_includes_default
16862 typedef off_t ac__type_new_;
16866 if ((ac__type_new_ *) 0)
16868 if (sizeof (ac__type_new_))
16874 rm -f conftest.$ac_objext
16875 if { (ac_try="$ac_compile"
16876 case "(($ac_try" in
16877 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16878 *) ac_try_echo
=$ac_try;;
16880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16881 (eval "$ac_compile") 2>conftest.er1
16883 grep -v '^ *+' conftest.er1
>conftest.err
16885 cat conftest.err
>&5
16886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16887 (exit $ac_status); } && {
16888 test -z "$ac_c_werror_flag" ||
16889 test ! -s conftest.err
16890 } && test -s conftest.
$ac_objext; then
16891 ac_cv_type_off_t
=yes
16893 echo "$as_me: failed program was:" >&5
16894 sed 's/^/| /' conftest.
$ac_ext >&5
16896 ac_cv_type_off_t
=no
16899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16901 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16902 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16903 if test $ac_cv_type_off_t = yes; then
16905 cat >>confdefs.h
<<_ACEOF
16906 #define HAVE_OFF_T 1
16911 { echo "$as_me:$LINENO: checking for pid_t" >&5
16912 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16913 if test "${ac_cv_type_pid_t+set}" = set; then
16914 echo $ECHO_N "(cached) $ECHO_C" >&6
16916 cat >conftest.
$ac_ext <<_ACEOF
16919 cat confdefs.h
>>conftest.
$ac_ext
16920 cat >>conftest.
$ac_ext <<_ACEOF
16921 /* end confdefs.h. */
16922 $ac_includes_default
16923 typedef pid_t ac__type_new_;
16927 if ((ac__type_new_ *) 0)
16929 if (sizeof (ac__type_new_))
16935 rm -f conftest.
$ac_objext
16936 if { (ac_try
="$ac_compile"
16937 case "(($ac_try" in
16938 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16939 *) ac_try_echo=$ac_try;;
16941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16942 (eval "$ac_compile") 2>conftest.er1
16944 grep -v '^ *+' conftest.er1 >conftest.err
16946 cat conftest.err >&5
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); } && {
16949 test -z "$ac_c_werror_flag" ||
16950 test ! -s conftest.err
16951 } && test -s conftest.$ac_objext; then
16952 ac_cv_type_pid_t=yes
16954 echo "$as_me: failed program was:" >&5
16955 sed 's/^/| /' conftest.$ac_ext >&5
16957 ac_cv_type_pid_t=no
16960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16962 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16963 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16964 if test $ac_cv_type_pid_t = yes; then
16966 cat >>confdefs.h <<_ACEOF
16967 #define HAVE_PID_T 1
16972 { echo "$as_me:$LINENO: checking for size_t" >&5
16973 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16974 if test "${ac_cv_type_size_t+set}" = set; then
16975 echo $ECHO_N "(cached) $ECHO_C" >&6
16977 cat >conftest.$ac_ext <<_ACEOF
16980 cat confdefs.h >>conftest.$ac_ext
16981 cat >>conftest.$ac_ext <<_ACEOF
16982 /* end confdefs.h. */
16983 $ac_includes_default
16984 typedef size_t ac__type_new_;
16988 if ((ac__type_new_ *) 0)
16990 if (sizeof (ac__type_new_))
16996 rm -f conftest.$ac_objext
16997 if { (ac_try="$ac_compile"
16998 case "(($ac_try" in
16999 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17000 *) ac_try_echo
=$ac_try;;
17002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17003 (eval "$ac_compile") 2>conftest.er1
17005 grep -v '^ *+' conftest.er1
>conftest.err
17007 cat conftest.err
>&5
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); } && {
17010 test -z "$ac_c_werror_flag" ||
17011 test ! -s conftest.err
17012 } && test -s conftest.
$ac_objext; then
17013 ac_cv_type_size_t
=yes
17015 echo "$as_me: failed program was:" >&5
17016 sed 's/^/| /' conftest.
$ac_ext >&5
17018 ac_cv_type_size_t
=no
17021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17023 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17024 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17025 if test $ac_cv_type_size_t = yes; then
17027 cat >>confdefs.h
<<_ACEOF
17028 #define HAVE_SIZE_T 1
17033 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17034 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17035 if test "${ac_cv_type_ssize_t+set}" = set; then
17036 echo $ECHO_N "(cached) $ECHO_C" >&6
17038 cat >conftest.
$ac_ext <<_ACEOF
17041 cat confdefs.h
>>conftest.
$ac_ext
17042 cat >>conftest.
$ac_ext <<_ACEOF
17043 /* end confdefs.h. */
17044 $ac_includes_default
17045 typedef ssize_t ac__type_new_;
17049 if ((ac__type_new_ *) 0)
17051 if (sizeof (ac__type_new_))
17057 rm -f conftest.
$ac_objext
17058 if { (ac_try
="$ac_compile"
17059 case "(($ac_try" in
17060 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17061 *) ac_try_echo=$ac_try;;
17063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17064 (eval "$ac_compile") 2>conftest.er1
17066 grep -v '^ *+' conftest.er1 >conftest.err
17068 cat conftest.err >&5
17069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070 (exit $ac_status); } && {
17071 test -z "$ac_c_werror_flag" ||
17072 test ! -s conftest.err
17073 } && test -s conftest.$ac_objext; then
17074 ac_cv_type_ssize_t=yes
17076 echo "$as_me: failed program was:" >&5
17077 sed 's/^/| /' conftest.$ac_ext >&5
17079 ac_cv_type_ssize_t=no
17082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17084 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17085 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17086 if test $ac_cv_type_ssize_t = yes; then
17088 cat >>confdefs.h <<_ACEOF
17089 #define HAVE_SSIZE_T 1
17094 { echo "$as_me:$LINENO: checking for long long" >&5
17095 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17096 if test "${ac_cv_type_long_long+set}" = set; then
17097 echo $ECHO_N "(cached) $ECHO_C" >&6
17099 cat >conftest.$ac_ext <<_ACEOF
17102 cat confdefs.h >>conftest.$ac_ext
17103 cat >>conftest.$ac_ext <<_ACEOF
17104 /* end confdefs.h. */
17105 $ac_includes_default
17106 typedef long long ac__type_new_;
17110 if ((ac__type_new_ *) 0)
17112 if (sizeof (ac__type_new_))
17118 rm -f conftest.$ac_objext
17119 if { (ac_try="$ac_compile"
17120 case "(($ac_try" in
17121 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17122 *) ac_try_echo
=$ac_try;;
17124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17125 (eval "$ac_compile") 2>conftest.er1
17127 grep -v '^ *+' conftest.er1
>conftest.err
17129 cat conftest.err
>&5
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); } && {
17132 test -z "$ac_c_werror_flag" ||
17133 test ! -s conftest.err
17134 } && test -s conftest.
$ac_objext; then
17135 ac_cv_type_long_long
=yes
17137 echo "$as_me: failed program was:" >&5
17138 sed 's/^/| /' conftest.
$ac_ext >&5
17140 ac_cv_type_long_long
=no
17143 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17145 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17146 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17147 if test $ac_cv_type_long_long = yes; then
17149 cat >>confdefs.h
<<_ACEOF
17150 #define HAVE_LONG_LONG 1
17155 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17156 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17157 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17158 echo $ECHO_N "(cached) $ECHO_C" >&6
17160 cat >conftest.
$ac_ext <<_ACEOF
17163 cat confdefs.h
>>conftest.
$ac_ext
17164 cat >>conftest.
$ac_ext <<_ACEOF
17165 /* end confdefs.h. */
17166 $ac_includes_default
17167 typedef fsblkcnt_t ac__type_new_;
17171 if ((ac__type_new_ *) 0)
17173 if (sizeof (ac__type_new_))
17179 rm -f conftest.
$ac_objext
17180 if { (ac_try
="$ac_compile"
17181 case "(($ac_try" in
17182 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17183 *) ac_try_echo=$ac_try;;
17185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17186 (eval "$ac_compile") 2>conftest.er1
17188 grep -v '^ *+' conftest.er1 >conftest.err
17190 cat conftest.err >&5
17191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17192 (exit $ac_status); } && {
17193 test -z "$ac_c_werror_flag" ||
17194 test ! -s conftest.err
17195 } && test -s conftest.$ac_objext; then
17196 ac_cv_type_fsblkcnt_t=yes
17198 echo "$as_me: failed program was:" >&5
17199 sed 's/^/| /' conftest.$ac_ext >&5
17201 ac_cv_type_fsblkcnt_t=no
17204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17206 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17207 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17208 if test $ac_cv_type_fsblkcnt_t = yes; then
17210 cat >>confdefs.h <<_ACEOF
17211 #define HAVE_FSBLKCNT_T 1
17216 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17217 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17218 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17219 echo $ECHO_N "(cached) $ECHO_C" >&6
17221 cat >conftest.$ac_ext <<_ACEOF
17224 cat confdefs.h >>conftest.$ac_ext
17225 cat >>conftest.$ac_ext <<_ACEOF
17226 /* end confdefs.h. */
17227 $ac_includes_default
17228 typedef fsfilcnt_t ac__type_new_;
17232 if ((ac__type_new_ *) 0)
17234 if (sizeof (ac__type_new_))
17240 rm -f conftest.$ac_objext
17241 if { (ac_try="$ac_compile"
17242 case "(($ac_try" in
17243 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17244 *) ac_try_echo
=$ac_try;;
17246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17247 (eval "$ac_compile") 2>conftest.er1
17249 grep -v '^ *+' conftest.er1
>conftest.err
17251 cat conftest.err
>&5
17252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17253 (exit $ac_status); } && {
17254 test -z "$ac_c_werror_flag" ||
17255 test ! -s conftest.err
17256 } && test -s conftest.
$ac_objext; then
17257 ac_cv_type_fsfilcnt_t
=yes
17259 echo "$as_me: failed program was:" >&5
17260 sed 's/^/| /' conftest.
$ac_ext >&5
17262 ac_cv_type_fsfilcnt_t
=no
17265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17267 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17268 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17269 if test $ac_cv_type_fsfilcnt_t = yes; then
17271 cat >>confdefs.h
<<_ACEOF
17272 #define HAVE_FSFILCNT_T 1
17278 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17279 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17280 if test "${ac_cv_type_sigset_t+set}" = set; then
17281 echo $ECHO_N "(cached) $ECHO_C" >&6
17283 cat >conftest.
$ac_ext <<_ACEOF
17286 cat confdefs.h
>>conftest.
$ac_ext
17287 cat >>conftest.
$ac_ext <<_ACEOF
17288 /* end confdefs.h. */
17289 #include <signal.h>
17291 typedef sigset_t ac__type_new_;
17295 if ((ac__type_new_ *) 0)
17297 if (sizeof (ac__type_new_))
17303 rm -f conftest.
$ac_objext
17304 if { (ac_try
="$ac_compile"
17305 case "(($ac_try" in
17306 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17307 *) ac_try_echo=$ac_try;;
17309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17310 (eval "$ac_compile") 2>conftest.er1
17312 grep -v '^ *+' conftest.er1 >conftest.err
17314 cat conftest.err >&5
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); } && {
17317 test -z "$ac_c_werror_flag" ||
17318 test ! -s conftest.err
17319 } && test -s conftest.$ac_objext; then
17320 ac_cv_type_sigset_t=yes
17322 echo "$as_me: failed program was:" >&5
17323 sed 's/^/| /' conftest.$ac_ext >&5
17325 ac_cv_type_sigset_t=no
17328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17330 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17331 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17332 if test $ac_cv_type_sigset_t = yes; then
17334 cat >>confdefs.h <<_ACEOF
17335 #define HAVE_SIGSET_T 1
17341 { echo "$as_me:$LINENO: checking for request_sense" >&5
17342 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17343 if test "${ac_cv_type_request_sense+set}" = set; then
17344 echo $ECHO_N "(cached) $ECHO_C" >&6
17346 cat >conftest.$ac_ext <<_ACEOF
17349 cat confdefs.h >>conftest.$ac_ext
17350 cat >>conftest.$ac_ext <<_ACEOF
17351 /* end confdefs.h. */
17352 #include <linux/cdrom.h>
17354 typedef request_sense ac__type_new_;
17358 if ((ac__type_new_ *) 0)
17360 if (sizeof (ac__type_new_))
17366 rm -f conftest.$ac_objext
17367 if { (ac_try="$ac_compile"
17368 case "(($ac_try" in
17369 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17370 *) ac_try_echo
=$ac_try;;
17372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17373 (eval "$ac_compile") 2>conftest.er1
17375 grep -v '^ *+' conftest.er1
>conftest.err
17377 cat conftest.err
>&5
17378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17379 (exit $ac_status); } && {
17380 test -z "$ac_c_werror_flag" ||
17381 test ! -s conftest.err
17382 } && test -s conftest.
$ac_objext; then
17383 ac_cv_type_request_sense
=yes
17385 echo "$as_me: failed program was:" >&5
17386 sed 's/^/| /' conftest.
$ac_ext >&5
17388 ac_cv_type_request_sense
=no
17391 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17393 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17394 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17395 if test $ac_cv_type_request_sense = yes; then
17397 cat >>confdefs.h
<<_ACEOF
17398 #define HAVE_REQUEST_SENSE 1
17405 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17406 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17407 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17408 echo $ECHO_N "(cached) $ECHO_C" >&6
17410 cat >conftest.
$ac_ext <<_ACEOF
17413 cat confdefs.h
>>conftest.
$ac_ext
17414 cat >>conftest.
$ac_ext <<_ACEOF
17415 /* end confdefs.h. */
17416 #ifdef HAVE_LINUX_INPUT_H
17417 #include <linux/input.h>
17423 static struct ff_effect ac_aggr;
17424 if (ac_aggr.direction)
17430 rm -f conftest.
$ac_objext
17431 if { (ac_try
="$ac_compile"
17432 case "(($ac_try" in
17433 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17434 *) ac_try_echo=$ac_try;;
17436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17437 (eval "$ac_compile") 2>conftest.er1
17439 grep -v '^ *+' conftest.er1 >conftest.err
17441 cat conftest.err >&5
17442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17443 (exit $ac_status); } && {
17444 test -z "$ac_c_werror_flag" ||
17445 test ! -s conftest.err
17446 } && test -s conftest.$ac_objext; then
17447 ac_cv_member_struct_ff_effect_direction=yes
17449 echo "$as_me: failed program was:" >&5
17450 sed 's/^/| /' conftest.$ac_ext >&5
17452 cat >conftest.$ac_ext <<_ACEOF
17455 cat confdefs.h >>conftest.$ac_ext
17456 cat >>conftest.$ac_ext <<_ACEOF
17457 /* end confdefs.h. */
17458 #ifdef HAVE_LINUX_INPUT_H
17459 #include <linux/input.h>
17465 static struct ff_effect ac_aggr;
17466 if (sizeof ac_aggr.direction)
17472 rm -f conftest.$ac_objext
17473 if { (ac_try="$ac_compile"
17474 case "(($ac_try" in
17475 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17476 *) ac_try_echo
=$ac_try;;
17478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17479 (eval "$ac_compile") 2>conftest.er1
17481 grep -v '^ *+' conftest.er1
>conftest.err
17483 cat conftest.err
>&5
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); } && {
17486 test -z "$ac_c_werror_flag" ||
17487 test ! -s conftest.err
17488 } && test -s conftest.
$ac_objext; then
17489 ac_cv_member_struct_ff_effect_direction
=yes
17491 echo "$as_me: failed program was:" >&5
17492 sed 's/^/| /' conftest.
$ac_ext >&5
17494 ac_cv_member_struct_ff_effect_direction
=no
17497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17500 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17502 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17503 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17504 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17506 cat >>confdefs.h
<<_ACEOF
17507 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17514 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17515 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17516 if test "${wine_cv_have_sigaddset+set}" = set; then
17517 echo $ECHO_N "(cached) $ECHO_C" >&6
17519 cat >conftest.
$ac_ext <<_ACEOF
17522 cat confdefs.h
>>conftest.
$ac_ext
17523 cat >>conftest.
$ac_ext <<_ACEOF
17524 /* end confdefs.h. */
17525 #include <signal.h>
17529 sigset_t set; sigaddset(&set,SIGTERM);
17534 rm -f conftest.
$ac_objext conftest
$ac_exeext
17535 if { (ac_try
="$ac_link"
17536 case "(($ac_try" in
17537 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17538 *) ac_try_echo=$ac_try;;
17540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17541 (eval "$ac_link") 2>conftest.er1
17543 grep -v '^ *+' conftest.er1 >conftest.err
17545 cat conftest.err >&5
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); } && {
17548 test -z "$ac_c_werror_flag" ||
17549 test ! -s conftest.err
17550 } && test -s conftest$ac_exeext &&
17551 $as_test_x conftest$ac_exeext; then
17552 wine_cv_have_sigaddset=yes
17554 echo "$as_me: failed program was:" >&5
17555 sed 's/^/| /' conftest.$ac_ext >&5
17557 wine_cv_have_sigaddset=no
17560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17561 conftest$ac_exeext conftest.$ac_ext
17563 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17564 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17565 if test "$wine_cv_have_sigaddset" = "yes"
17568 cat >>confdefs.h <<\_ACEOF
17569 #define HAVE_SIGADDSET 1
17575 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17576 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17577 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17578 echo $ECHO_N "(cached) $ECHO_C" >&6
17580 cat >conftest.$ac_ext <<_ACEOF
17583 cat confdefs.h >>conftest.$ac_ext
17584 cat >>conftest.$ac_ext <<_ACEOF
17585 /* end confdefs.h. */
17593 struct hostent *result;
17600 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17601 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17607 rm -f conftest.$ac_objext conftest$ac_exeext
17608 if { (ac_try="$ac_link"
17609 case "(($ac_try" in
17610 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17611 *) ac_try_echo
=$ac_try;;
17613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17614 (eval "$ac_link") 2>conftest.er1
17616 grep -v '^ *+' conftest.er1
>conftest.err
17618 cat conftest.err
>&5
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); } && {
17621 test -z "$ac_c_werror_flag" ||
17622 test ! -s conftest.err
17623 } && test -s conftest
$ac_exeext &&
17624 $as_test_x conftest
$ac_exeext; then
17625 wine_cv_linux_gethostbyname_r_6
=yes
17627 echo "$as_me: failed program was:" >&5
17628 sed 's/^/| /' conftest.
$ac_ext >&5
17630 wine_cv_linux_gethostbyname_r_6
=no
17634 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17635 conftest
$ac_exeext conftest.
$ac_ext
17638 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17639 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17640 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17643 cat >>confdefs.h
<<\_ACEOF
17644 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17649 if test "$ac_cv_header_linux_joystick_h" = "yes"
17651 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17652 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17653 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17654 echo $ECHO_N "(cached) $ECHO_C" >&6
17656 cat >conftest.
$ac_ext <<_ACEOF
17659 cat confdefs.h
>>conftest.
$ac_ext
17660 cat >>conftest.
$ac_ext <<_ACEOF
17661 /* end confdefs.h. */
17663 #include <sys/ioctl.h>
17664 #include <sys/types.h>
17665 #include <linux/joystick.h>
17667 struct js_event blub;
17668 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17669 #error "no 2.2 header"
17680 rm -f conftest.
$ac_objext
17681 if { (ac_try
="$ac_compile"
17682 case "(($ac_try" in
17683 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17684 *) ac_try_echo=$ac_try;;
17686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17687 (eval "$ac_compile") 2>conftest.er1
17689 grep -v '^ *+' conftest.er1 >conftest.err
17691 cat conftest.err >&5
17692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693 (exit $ac_status); } && {
17694 test -z "$ac_c_werror_flag" ||
17695 test ! -s conftest.err
17696 } && test -s conftest.$ac_objext; then
17697 wine_cv_linux_joystick_22_api=yes
17699 echo "$as_me: failed program was:" >&5
17700 sed 's/^/| /' conftest.$ac_ext >&5
17702 wine_cv_linux_joystick_22_api=no
17705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17708 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17709 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17710 if test "$wine_cv_linux_joystick_22_api" = "yes"
17713 cat >>confdefs.h <<\_ACEOF
17714 #define HAVE_LINUX_22_JOYSTICK_API 1
17721 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17722 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17723 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17724 echo $ECHO_N "(cached) $ECHO_C" >&6
17726 cat >conftest.$ac_ext <<_ACEOF
17729 cat confdefs.h >>conftest.$ac_ext
17730 cat >>conftest.$ac_ext <<_ACEOF
17731 /* end confdefs.h. */
17732 #include <sys/types.h>
17733 #ifdef HAVE_SYS_PARAM_H
17734 # include <sys/param.h>
17736 #ifdef HAVE_SYS_MOUNT_H
17737 # include <sys/mount.h>
17739 #ifdef HAVE_SYS_VFS_H
17740 # include <sys/vfs.h>
17742 #ifdef HAVE_SYS_STATFS_H
17743 # include <sys/statfs.h>
17749 static struct statfs ac_aggr;
17750 if (ac_aggr.f_bfree)
17756 rm -f conftest.$ac_objext
17757 if { (ac_try="$ac_compile"
17758 case "(($ac_try" in
17759 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17760 *) ac_try_echo
=$ac_try;;
17762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17763 (eval "$ac_compile") 2>conftest.er1
17765 grep -v '^ *+' conftest.er1
>conftest.err
17767 cat conftest.err
>&5
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); } && {
17770 test -z "$ac_c_werror_flag" ||
17771 test ! -s conftest.err
17772 } && test -s conftest.
$ac_objext; then
17773 ac_cv_member_struct_statfs_f_bfree
=yes
17775 echo "$as_me: failed program was:" >&5
17776 sed 's/^/| /' conftest.
$ac_ext >&5
17778 cat >conftest.
$ac_ext <<_ACEOF
17781 cat confdefs.h
>>conftest.
$ac_ext
17782 cat >>conftest.
$ac_ext <<_ACEOF
17783 /* end confdefs.h. */
17784 #include <sys/types.h>
17785 #ifdef HAVE_SYS_PARAM_H
17786 # include <sys/param.h>
17788 #ifdef HAVE_SYS_MOUNT_H
17789 # include <sys/mount.h>
17791 #ifdef HAVE_SYS_VFS_H
17792 # include <sys/vfs.h>
17794 #ifdef HAVE_SYS_STATFS_H
17795 # include <sys/statfs.h>
17801 static struct statfs ac_aggr;
17802 if (sizeof ac_aggr.f_bfree)
17808 rm -f conftest.
$ac_objext
17809 if { (ac_try
="$ac_compile"
17810 case "(($ac_try" in
17811 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17812 *) ac_try_echo=$ac_try;;
17814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17815 (eval "$ac_compile") 2>conftest.er1
17817 grep -v '^ *+' conftest.er1 >conftest.err
17819 cat conftest.err >&5
17820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17821 (exit $ac_status); } && {
17822 test -z "$ac_c_werror_flag" ||
17823 test ! -s conftest.err
17824 } && test -s conftest.$ac_objext; then
17825 ac_cv_member_struct_statfs_f_bfree=yes
17827 echo "$as_me: failed program was:" >&5
17828 sed 's/^/| /' conftest.$ac_ext >&5
17830 ac_cv_member_struct_statfs_f_bfree=no
17833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17838 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17839 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17840 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17842 cat >>confdefs.h <<_ACEOF
17843 #define HAVE_STRUCT_STATFS_F_BFREE 1
17848 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17849 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17850 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17851 echo $ECHO_N "(cached) $ECHO_C" >&6
17853 cat >conftest.$ac_ext <<_ACEOF
17856 cat confdefs.h >>conftest.$ac_ext
17857 cat >>conftest.$ac_ext <<_ACEOF
17858 /* end confdefs.h. */
17859 #include <sys/types.h>
17860 #ifdef HAVE_SYS_PARAM_H
17861 # include <sys/param.h>
17863 #ifdef HAVE_SYS_MOUNT_H
17864 # include <sys/mount.h>
17866 #ifdef HAVE_SYS_VFS_H
17867 # include <sys/vfs.h>
17869 #ifdef HAVE_SYS_STATFS_H
17870 # include <sys/statfs.h>
17876 static struct statfs ac_aggr;
17877 if (ac_aggr.f_bavail)
17883 rm -f conftest.$ac_objext
17884 if { (ac_try="$ac_compile"
17885 case "(($ac_try" in
17886 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17887 *) ac_try_echo
=$ac_try;;
17889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17890 (eval "$ac_compile") 2>conftest.er1
17892 grep -v '^ *+' conftest.er1
>conftest.err
17894 cat conftest.err
>&5
17895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17896 (exit $ac_status); } && {
17897 test -z "$ac_c_werror_flag" ||
17898 test ! -s conftest.err
17899 } && test -s conftest.
$ac_objext; then
17900 ac_cv_member_struct_statfs_f_bavail
=yes
17902 echo "$as_me: failed program was:" >&5
17903 sed 's/^/| /' conftest.
$ac_ext >&5
17905 cat >conftest.
$ac_ext <<_ACEOF
17908 cat confdefs.h
>>conftest.
$ac_ext
17909 cat >>conftest.
$ac_ext <<_ACEOF
17910 /* end confdefs.h. */
17911 #include <sys/types.h>
17912 #ifdef HAVE_SYS_PARAM_H
17913 # include <sys/param.h>
17915 #ifdef HAVE_SYS_MOUNT_H
17916 # include <sys/mount.h>
17918 #ifdef HAVE_SYS_VFS_H
17919 # include <sys/vfs.h>
17921 #ifdef HAVE_SYS_STATFS_H
17922 # include <sys/statfs.h>
17928 static struct statfs ac_aggr;
17929 if (sizeof ac_aggr.f_bavail)
17935 rm -f conftest.
$ac_objext
17936 if { (ac_try
="$ac_compile"
17937 case "(($ac_try" in
17938 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17939 *) ac_try_echo=$ac_try;;
17941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17942 (eval "$ac_compile") 2>conftest.er1
17944 grep -v '^ *+' conftest.er1 >conftest.err
17946 cat conftest.err >&5
17947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17948 (exit $ac_status); } && {
17949 test -z "$ac_c_werror_flag" ||
17950 test ! -s conftest.err
17951 } && test -s conftest.$ac_objext; then
17952 ac_cv_member_struct_statfs_f_bavail=yes
17954 echo "$as_me: failed program was:" >&5
17955 sed 's/^/| /' conftest.$ac_ext >&5
17957 ac_cv_member_struct_statfs_f_bavail=no
17960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17965 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17966 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17967 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17969 cat >>confdefs.h <<_ACEOF
17970 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17975 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17976 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17977 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17978 echo $ECHO_N "(cached) $ECHO_C" >&6
17980 cat >conftest.$ac_ext <<_ACEOF
17983 cat confdefs.h >>conftest.$ac_ext
17984 cat >>conftest.$ac_ext <<_ACEOF
17985 /* end confdefs.h. */
17986 #include <sys/types.h>
17987 #ifdef HAVE_SYS_PARAM_H
17988 # include <sys/param.h>
17990 #ifdef HAVE_SYS_MOUNT_H
17991 # include <sys/mount.h>
17993 #ifdef HAVE_SYS_VFS_H
17994 # include <sys/vfs.h>
17996 #ifdef HAVE_SYS_STATFS_H
17997 # include <sys/statfs.h>
18003 static struct statfs ac_aggr;
18004 if (ac_aggr.f_frsize)
18010 rm -f conftest.$ac_objext
18011 if { (ac_try="$ac_compile"
18012 case "(($ac_try" in
18013 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18014 *) ac_try_echo
=$ac_try;;
18016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18017 (eval "$ac_compile") 2>conftest.er1
18019 grep -v '^ *+' conftest.er1
>conftest.err
18021 cat conftest.err
>&5
18022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18023 (exit $ac_status); } && {
18024 test -z "$ac_c_werror_flag" ||
18025 test ! -s conftest.err
18026 } && test -s conftest.
$ac_objext; then
18027 ac_cv_member_struct_statfs_f_frsize
=yes
18029 echo "$as_me: failed program was:" >&5
18030 sed 's/^/| /' conftest.
$ac_ext >&5
18032 cat >conftest.
$ac_ext <<_ACEOF
18035 cat confdefs.h
>>conftest.
$ac_ext
18036 cat >>conftest.
$ac_ext <<_ACEOF
18037 /* end confdefs.h. */
18038 #include <sys/types.h>
18039 #ifdef HAVE_SYS_PARAM_H
18040 # include <sys/param.h>
18042 #ifdef HAVE_SYS_MOUNT_H
18043 # include <sys/mount.h>
18045 #ifdef HAVE_SYS_VFS_H
18046 # include <sys/vfs.h>
18048 #ifdef HAVE_SYS_STATFS_H
18049 # include <sys/statfs.h>
18055 static struct statfs ac_aggr;
18056 if (sizeof ac_aggr.f_frsize)
18062 rm -f conftest.
$ac_objext
18063 if { (ac_try
="$ac_compile"
18064 case "(($ac_try" in
18065 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18066 *) ac_try_echo=$ac_try;;
18068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18069 (eval "$ac_compile") 2>conftest.er1
18071 grep -v '^ *+' conftest.er1 >conftest.err
18073 cat conftest.err >&5
18074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18075 (exit $ac_status); } && {
18076 test -z "$ac_c_werror_flag" ||
18077 test ! -s conftest.err
18078 } && test -s conftest.$ac_objext; then
18079 ac_cv_member_struct_statfs_f_frsize=yes
18081 echo "$as_me: failed program was:" >&5
18082 sed 's/^/| /' conftest.$ac_ext >&5
18084 ac_cv_member_struct_statfs_f_frsize=no
18087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18092 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18093 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18094 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18096 cat >>confdefs.h <<_ACEOF
18097 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18102 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18103 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18104 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18105 echo $ECHO_N "(cached) $ECHO_C" >&6
18107 cat >conftest.$ac_ext <<_ACEOF
18110 cat confdefs.h >>conftest.$ac_ext
18111 cat >>conftest.$ac_ext <<_ACEOF
18112 /* end confdefs.h. */
18113 #include <sys/types.h>
18114 #ifdef HAVE_SYS_PARAM_H
18115 # include <sys/param.h>
18117 #ifdef HAVE_SYS_MOUNT_H
18118 # include <sys/mount.h>
18120 #ifdef HAVE_SYS_VFS_H
18121 # include <sys/vfs.h>
18123 #ifdef HAVE_SYS_STATFS_H
18124 # include <sys/statfs.h>
18130 static struct statfs ac_aggr;
18131 if (ac_aggr.f_ffree)
18137 rm -f conftest.$ac_objext
18138 if { (ac_try="$ac_compile"
18139 case "(($ac_try" in
18140 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18141 *) ac_try_echo
=$ac_try;;
18143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18144 (eval "$ac_compile") 2>conftest.er1
18146 grep -v '^ *+' conftest.er1
>conftest.err
18148 cat conftest.err
>&5
18149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150 (exit $ac_status); } && {
18151 test -z "$ac_c_werror_flag" ||
18152 test ! -s conftest.err
18153 } && test -s conftest.
$ac_objext; then
18154 ac_cv_member_struct_statfs_f_ffree
=yes
18156 echo "$as_me: failed program was:" >&5
18157 sed 's/^/| /' conftest.
$ac_ext >&5
18159 cat >conftest.
$ac_ext <<_ACEOF
18162 cat confdefs.h
>>conftest.
$ac_ext
18163 cat >>conftest.
$ac_ext <<_ACEOF
18164 /* end confdefs.h. */
18165 #include <sys/types.h>
18166 #ifdef HAVE_SYS_PARAM_H
18167 # include <sys/param.h>
18169 #ifdef HAVE_SYS_MOUNT_H
18170 # include <sys/mount.h>
18172 #ifdef HAVE_SYS_VFS_H
18173 # include <sys/vfs.h>
18175 #ifdef HAVE_SYS_STATFS_H
18176 # include <sys/statfs.h>
18182 static struct statfs ac_aggr;
18183 if (sizeof ac_aggr.f_ffree)
18189 rm -f conftest.
$ac_objext
18190 if { (ac_try
="$ac_compile"
18191 case "(($ac_try" in
18192 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18193 *) ac_try_echo=$ac_try;;
18195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18196 (eval "$ac_compile") 2>conftest.er1
18198 grep -v '^ *+' conftest.er1 >conftest.err
18200 cat conftest.err >&5
18201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18202 (exit $ac_status); } && {
18203 test -z "$ac_c_werror_flag" ||
18204 test ! -s conftest.err
18205 } && test -s conftest.$ac_objext; then
18206 ac_cv_member_struct_statfs_f_ffree=yes
18208 echo "$as_me: failed program was:" >&5
18209 sed 's/^/| /' conftest.$ac_ext >&5
18211 ac_cv_member_struct_statfs_f_ffree=no
18214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18219 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18220 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18221 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18223 cat >>confdefs.h <<_ACEOF
18224 #define HAVE_STRUCT_STATFS_F_FFREE 1
18229 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18230 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18231 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18232 echo $ECHO_N "(cached) $ECHO_C" >&6
18234 cat >conftest.$ac_ext <<_ACEOF
18237 cat confdefs.h >>conftest.$ac_ext
18238 cat >>conftest.$ac_ext <<_ACEOF
18239 /* end confdefs.h. */
18240 #include <sys/types.h>
18241 #ifdef HAVE_SYS_PARAM_H
18242 # include <sys/param.h>
18244 #ifdef HAVE_SYS_MOUNT_H
18245 # include <sys/mount.h>
18247 #ifdef HAVE_SYS_VFS_H
18248 # include <sys/vfs.h>
18250 #ifdef HAVE_SYS_STATFS_H
18251 # include <sys/statfs.h>
18257 static struct statfs ac_aggr;
18258 if (ac_aggr.f_favail)
18264 rm -f conftest.$ac_objext
18265 if { (ac_try="$ac_compile"
18266 case "(($ac_try" in
18267 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18268 *) ac_try_echo
=$ac_try;;
18270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18271 (eval "$ac_compile") 2>conftest.er1
18273 grep -v '^ *+' conftest.er1
>conftest.err
18275 cat conftest.err
>&5
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); } && {
18278 test -z "$ac_c_werror_flag" ||
18279 test ! -s conftest.err
18280 } && test -s conftest.
$ac_objext; then
18281 ac_cv_member_struct_statfs_f_favail
=yes
18283 echo "$as_me: failed program was:" >&5
18284 sed 's/^/| /' conftest.
$ac_ext >&5
18286 cat >conftest.
$ac_ext <<_ACEOF
18289 cat confdefs.h
>>conftest.
$ac_ext
18290 cat >>conftest.
$ac_ext <<_ACEOF
18291 /* end confdefs.h. */
18292 #include <sys/types.h>
18293 #ifdef HAVE_SYS_PARAM_H
18294 # include <sys/param.h>
18296 #ifdef HAVE_SYS_MOUNT_H
18297 # include <sys/mount.h>
18299 #ifdef HAVE_SYS_VFS_H
18300 # include <sys/vfs.h>
18302 #ifdef HAVE_SYS_STATFS_H
18303 # include <sys/statfs.h>
18309 static struct statfs ac_aggr;
18310 if (sizeof ac_aggr.f_favail)
18316 rm -f conftest.
$ac_objext
18317 if { (ac_try
="$ac_compile"
18318 case "(($ac_try" in
18319 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18320 *) ac_try_echo=$ac_try;;
18322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18323 (eval "$ac_compile") 2>conftest.er1
18325 grep -v '^ *+' conftest.er1 >conftest.err
18327 cat conftest.err >&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); } && {
18330 test -z "$ac_c_werror_flag" ||
18331 test ! -s conftest.err
18332 } && test -s conftest.$ac_objext; then
18333 ac_cv_member_struct_statfs_f_favail=yes
18335 echo "$as_me: failed program was:" >&5
18336 sed 's/^/| /' conftest.$ac_ext >&5
18338 ac_cv_member_struct_statfs_f_favail=no
18341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18346 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18347 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18348 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18350 cat >>confdefs.h <<_ACEOF
18351 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18356 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18357 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18358 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18359 echo $ECHO_N "(cached) $ECHO_C" >&6
18361 cat >conftest.$ac_ext <<_ACEOF
18364 cat confdefs.h >>conftest.$ac_ext
18365 cat >>conftest.$ac_ext <<_ACEOF
18366 /* end confdefs.h. */
18367 #include <sys/types.h>
18368 #ifdef HAVE_SYS_PARAM_H
18369 # include <sys/param.h>
18371 #ifdef HAVE_SYS_MOUNT_H
18372 # include <sys/mount.h>
18374 #ifdef HAVE_SYS_VFS_H
18375 # include <sys/vfs.h>
18377 #ifdef HAVE_SYS_STATFS_H
18378 # include <sys/statfs.h>
18384 static struct statfs ac_aggr;
18385 if (ac_aggr.f_namelen)
18391 rm -f conftest.$ac_objext
18392 if { (ac_try="$ac_compile"
18393 case "(($ac_try" in
18394 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18395 *) ac_try_echo
=$ac_try;;
18397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18398 (eval "$ac_compile") 2>conftest.er1
18400 grep -v '^ *+' conftest.er1
>conftest.err
18402 cat conftest.err
>&5
18403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18404 (exit $ac_status); } && {
18405 test -z "$ac_c_werror_flag" ||
18406 test ! -s conftest.err
18407 } && test -s conftest.
$ac_objext; then
18408 ac_cv_member_struct_statfs_f_namelen
=yes
18410 echo "$as_me: failed program was:" >&5
18411 sed 's/^/| /' conftest.
$ac_ext >&5
18413 cat >conftest.
$ac_ext <<_ACEOF
18416 cat confdefs.h
>>conftest.
$ac_ext
18417 cat >>conftest.
$ac_ext <<_ACEOF
18418 /* end confdefs.h. */
18419 #include <sys/types.h>
18420 #ifdef HAVE_SYS_PARAM_H
18421 # include <sys/param.h>
18423 #ifdef HAVE_SYS_MOUNT_H
18424 # include <sys/mount.h>
18426 #ifdef HAVE_SYS_VFS_H
18427 # include <sys/vfs.h>
18429 #ifdef HAVE_SYS_STATFS_H
18430 # include <sys/statfs.h>
18436 static struct statfs ac_aggr;
18437 if (sizeof ac_aggr.f_namelen)
18443 rm -f conftest.
$ac_objext
18444 if { (ac_try
="$ac_compile"
18445 case "(($ac_try" in
18446 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18447 *) ac_try_echo=$ac_try;;
18449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18450 (eval "$ac_compile") 2>conftest.er1
18452 grep -v '^ *+' conftest.er1 >conftest.err
18454 cat conftest.err >&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); } && {
18457 test -z "$ac_c_werror_flag" ||
18458 test ! -s conftest.err
18459 } && test -s conftest.$ac_objext; then
18460 ac_cv_member_struct_statfs_f_namelen=yes
18462 echo "$as_me: failed program was:" >&5
18463 sed 's/^/| /' conftest.$ac_ext >&5
18465 ac_cv_member_struct_statfs_f_namelen=no
18468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18473 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18474 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18475 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18477 cat >>confdefs.h <<_ACEOF
18478 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18485 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18486 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18487 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18488 echo $ECHO_N "(cached) $ECHO_C" >&6
18490 cat >conftest.$ac_ext <<_ACEOF
18493 cat confdefs.h >>conftest.$ac_ext
18494 cat >>conftest.$ac_ext <<_ACEOF
18495 /* end confdefs.h. */
18496 #ifdef HAVE_SYS_STATVFS_H
18497 #include <sys/statvfs.h>
18503 static struct statvfs ac_aggr;
18504 if (ac_aggr.f_blocks)
18510 rm -f conftest.$ac_objext
18511 if { (ac_try="$ac_compile"
18512 case "(($ac_try" in
18513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18514 *) ac_try_echo
=$ac_try;;
18516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18517 (eval "$ac_compile") 2>conftest.er1
18519 grep -v '^ *+' conftest.er1
>conftest.err
18521 cat conftest.err
>&5
18522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18523 (exit $ac_status); } && {
18524 test -z "$ac_c_werror_flag" ||
18525 test ! -s conftest.err
18526 } && test -s conftest.
$ac_objext; then
18527 ac_cv_member_struct_statvfs_f_blocks
=yes
18529 echo "$as_me: failed program was:" >&5
18530 sed 's/^/| /' conftest.
$ac_ext >&5
18532 cat >conftest.
$ac_ext <<_ACEOF
18535 cat confdefs.h
>>conftest.
$ac_ext
18536 cat >>conftest.
$ac_ext <<_ACEOF
18537 /* end confdefs.h. */
18538 #ifdef HAVE_SYS_STATVFS_H
18539 #include <sys/statvfs.h>
18545 static struct statvfs ac_aggr;
18546 if (sizeof ac_aggr.f_blocks)
18552 rm -f conftest.
$ac_objext
18553 if { (ac_try
="$ac_compile"
18554 case "(($ac_try" in
18555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18556 *) ac_try_echo=$ac_try;;
18558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18559 (eval "$ac_compile") 2>conftest.er1
18561 grep -v '^ *+' conftest.er1 >conftest.err
18563 cat conftest.err >&5
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); } && {
18566 test -z "$ac_c_werror_flag" ||
18567 test ! -s conftest.err
18568 } && test -s conftest.$ac_objext; then
18569 ac_cv_member_struct_statvfs_f_blocks=yes
18571 echo "$as_me: failed program was:" >&5
18572 sed 's/^/| /' conftest.$ac_ext >&5
18574 ac_cv_member_struct_statvfs_f_blocks=no
18577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18582 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18583 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18584 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18586 cat >>confdefs.h <<_ACEOF
18587 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18594 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18595 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18596 if test "${ac_cv_member_struct_msghdr_msg_accrights+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 msghdr ac_aggr;
18617 if (ac_aggr.msg_accrights)
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_msghdr_msg_accrights
=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 msghdr ac_aggr;
18663 if (sizeof ac_aggr.msg_accrights)
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_msghdr_msg_accrights=yes
18688 echo "$as_me: failed program was:" >&5
18689 sed 's/^/| /' conftest.$ac_ext >&5
18691 ac_cv_member_struct_msghdr_msg_accrights=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_msghdr_msg_accrights" >&5
18700 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18701 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18703 cat >>confdefs.h <<_ACEOF
18704 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18709 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18710 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18711 if test "${ac_cv_member_struct_sockaddr_sa_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 ac_aggr;
18732 if (ac_aggr.sa_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_sa_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 ac_aggr;
18778 if (sizeof ac_aggr.sa_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_sa_len=yes
18803 echo "$as_me: failed program was:" >&5
18804 sed 's/^/| /' conftest.$ac_ext >&5
18806 ac_cv_member_struct_sockaddr_sa_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_sa_len" >&5
18815 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18816 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18818 cat >>confdefs.h <<_ACEOF
18819 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18824 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18825 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18826 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18827 echo $ECHO_N "(cached) $ECHO_C" >&6
18829 cat >conftest.$ac_ext <<_ACEOF
18832 cat confdefs.h >>conftest.$ac_ext
18833 cat >>conftest.$ac_ext <<_ACEOF
18834 /* end confdefs.h. */
18835 #include <sys/types.h>
18836 #ifdef HAVE_SYS_SOCKET_H
18837 # include <sys/socket.h>
18839 #ifdef HAVE_SYS_UN_H
18840 # include <sys/un.h>
18846 static struct sockaddr_un ac_aggr;
18847 if (ac_aggr.sun_len)
18853 rm -f conftest.$ac_objext
18854 if { (ac_try="$ac_compile"
18855 case "(($ac_try" in
18856 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18857 *) ac_try_echo
=$ac_try;;
18859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18860 (eval "$ac_compile") 2>conftest.er1
18862 grep -v '^ *+' conftest.er1
>conftest.err
18864 cat conftest.err
>&5
18865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 (exit $ac_status); } && {
18867 test -z "$ac_c_werror_flag" ||
18868 test ! -s conftest.err
18869 } && test -s conftest.
$ac_objext; then
18870 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18872 echo "$as_me: failed program was:" >&5
18873 sed 's/^/| /' conftest.
$ac_ext >&5
18875 cat >conftest.
$ac_ext <<_ACEOF
18878 cat confdefs.h
>>conftest.
$ac_ext
18879 cat >>conftest.
$ac_ext <<_ACEOF
18880 /* end confdefs.h. */
18881 #include <sys/types.h>
18882 #ifdef HAVE_SYS_SOCKET_H
18883 # include <sys/socket.h>
18885 #ifdef HAVE_SYS_UN_H
18886 # include <sys/un.h>
18892 static struct sockaddr_un ac_aggr;
18893 if (sizeof ac_aggr.sun_len)
18899 rm -f conftest.
$ac_objext
18900 if { (ac_try
="$ac_compile"
18901 case "(($ac_try" in
18902 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18903 *) ac_try_echo=$ac_try;;
18905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18906 (eval "$ac_compile") 2>conftest.er1
18908 grep -v '^ *+' conftest.er1 >conftest.err
18910 cat conftest.err >&5
18911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18912 (exit $ac_status); } && {
18913 test -z "$ac_c_werror_flag" ||
18914 test ! -s conftest.err
18915 } && test -s conftest.$ac_objext; then
18916 ac_cv_member_struct_sockaddr_un_sun_len=yes
18918 echo "$as_me: failed program was:" >&5
18919 sed 's/^/| /' conftest.$ac_ext >&5
18921 ac_cv_member_struct_sockaddr_un_sun_len=no
18924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18929 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18930 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18931 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18933 cat >>confdefs.h <<_ACEOF
18934 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18941 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18942 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18943 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18944 echo $ECHO_N "(cached) $ECHO_C" >&6
18946 cat >conftest.$ac_ext <<_ACEOF
18949 cat confdefs.h >>conftest.$ac_ext
18950 cat >>conftest.$ac_ext <<_ACEOF
18951 /* end confdefs.h. */
18952 #include <sys/types.h>
18953 #ifdef HAVE_SCSI_SG_H
18954 #include <scsi/sg.h>
18960 static scsireq_t ac_aggr;
18967 rm -f conftest.$ac_objext
18968 if { (ac_try="$ac_compile"
18969 case "(($ac_try" in
18970 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18971 *) ac_try_echo
=$ac_try;;
18973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18974 (eval "$ac_compile") 2>conftest.er1
18976 grep -v '^ *+' conftest.er1
>conftest.err
18978 cat conftest.err
>&5
18979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18980 (exit $ac_status); } && {
18981 test -z "$ac_c_werror_flag" ||
18982 test ! -s conftest.err
18983 } && test -s conftest.
$ac_objext; then
18984 ac_cv_member_scsireq_t_cmd
=yes
18986 echo "$as_me: failed program was:" >&5
18987 sed 's/^/| /' conftest.
$ac_ext >&5
18989 cat >conftest.
$ac_ext <<_ACEOF
18992 cat confdefs.h
>>conftest.
$ac_ext
18993 cat >>conftest.
$ac_ext <<_ACEOF
18994 /* end confdefs.h. */
18995 #include <sys/types.h>
18996 #ifdef HAVE_SCSI_SG_H
18997 #include <scsi/sg.h>
19003 static scsireq_t ac_aggr;
19004 if (sizeof ac_aggr.cmd)
19010 rm -f conftest.
$ac_objext
19011 if { (ac_try
="$ac_compile"
19012 case "(($ac_try" in
19013 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19014 *) ac_try_echo=$ac_try;;
19016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19017 (eval "$ac_compile") 2>conftest.er1
19019 grep -v '^ *+' conftest.er1 >conftest.err
19021 cat conftest.err >&5
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); } && {
19024 test -z "$ac_c_werror_flag" ||
19025 test ! -s conftest.err
19026 } && test -s conftest.$ac_objext; then
19027 ac_cv_member_scsireq_t_cmd=yes
19029 echo "$as_me: failed program was:" >&5
19030 sed 's/^/| /' conftest.$ac_ext >&5
19032 ac_cv_member_scsireq_t_cmd=no
19035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19040 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19041 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19042 if test $ac_cv_member_scsireq_t_cmd = yes; then
19044 cat >>confdefs.h <<_ACEOF
19045 #define HAVE_SCSIREQ_T_CMD 1
19050 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19051 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19052 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19053 echo $ECHO_N "(cached) $ECHO_C" >&6
19055 cat >conftest.$ac_ext <<_ACEOF
19058 cat confdefs.h >>conftest.$ac_ext
19059 cat >>conftest.$ac_ext <<_ACEOF
19060 /* end confdefs.h. */
19061 #include <sys/types.h>
19062 #ifdef HAVE_SCSI_SG_H
19063 #include <scsi/sg.h>
19069 static sg_io_hdr_t ac_aggr;
19070 if (ac_aggr.interface_id)
19076 rm -f conftest.$ac_objext
19077 if { (ac_try="$ac_compile"
19078 case "(($ac_try" in
19079 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19080 *) ac_try_echo
=$ac_try;;
19082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19083 (eval "$ac_compile") 2>conftest.er1
19085 grep -v '^ *+' conftest.er1
>conftest.err
19087 cat conftest.err
>&5
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); } && {
19090 test -z "$ac_c_werror_flag" ||
19091 test ! -s conftest.err
19092 } && test -s conftest.
$ac_objext; then
19093 ac_cv_member_sg_io_hdr_t_interface_id
=yes
19095 echo "$as_me: failed program was:" >&5
19096 sed 's/^/| /' conftest.
$ac_ext >&5
19098 cat >conftest.
$ac_ext <<_ACEOF
19101 cat confdefs.h
>>conftest.
$ac_ext
19102 cat >>conftest.
$ac_ext <<_ACEOF
19103 /* end confdefs.h. */
19104 #include <sys/types.h>
19105 #ifdef HAVE_SCSI_SG_H
19106 #include <scsi/sg.h>
19112 static sg_io_hdr_t ac_aggr;
19113 if (sizeof ac_aggr.interface_id)
19119 rm -f conftest.
$ac_objext
19120 if { (ac_try
="$ac_compile"
19121 case "(($ac_try" in
19122 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19123 *) ac_try_echo=$ac_try;;
19125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19126 (eval "$ac_compile") 2>conftest.er1
19128 grep -v '^ *+' conftest.er1 >conftest.err
19130 cat conftest.err >&5
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); } && {
19133 test -z "$ac_c_werror_flag" ||
19134 test ! -s conftest.err
19135 } && test -s conftest.$ac_objext; then
19136 ac_cv_member_sg_io_hdr_t_interface_id=yes
19138 echo "$as_me: failed program was:" >&5
19139 sed 's/^/| /' conftest.$ac_ext >&5
19141 ac_cv_member_sg_io_hdr_t_interface_id=no
19144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19149 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19150 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19151 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19153 cat >>confdefs.h <<_ACEOF
19154 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19161 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19162 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19163 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19164 echo $ECHO_N "(cached) $ECHO_C" >&6
19166 cat >conftest.$ac_ext <<_ACEOF
19169 cat confdefs.h >>conftest.$ac_ext
19170 cat >>conftest.$ac_ext <<_ACEOF
19171 /* end confdefs.h. */
19172 #include <signal.h>
19177 static siginfo_t ac_aggr;
19184 rm -f conftest.$ac_objext
19185 if { (ac_try="$ac_compile"
19186 case "(($ac_try" in
19187 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19188 *) ac_try_echo
=$ac_try;;
19190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19191 (eval "$ac_compile") 2>conftest.er1
19193 grep -v '^ *+' conftest.er1
>conftest.err
19195 cat conftest.err
>&5
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); } && {
19198 test -z "$ac_c_werror_flag" ||
19199 test ! -s conftest.err
19200 } && test -s conftest.
$ac_objext; then
19201 ac_cv_member_siginfo_t_si_fd
=yes
19203 echo "$as_me: failed program was:" >&5
19204 sed 's/^/| /' conftest.
$ac_ext >&5
19206 cat >conftest.
$ac_ext <<_ACEOF
19209 cat confdefs.h
>>conftest.
$ac_ext
19210 cat >>conftest.
$ac_ext <<_ACEOF
19211 /* end confdefs.h. */
19212 #include <signal.h>
19217 static siginfo_t ac_aggr;
19218 if (sizeof ac_aggr.si_fd)
19224 rm -f conftest.
$ac_objext
19225 if { (ac_try
="$ac_compile"
19226 case "(($ac_try" in
19227 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19228 *) ac_try_echo=$ac_try;;
19230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19231 (eval "$ac_compile") 2>conftest.er1
19233 grep -v '^ *+' conftest.er1 >conftest.err
19235 cat conftest.err >&5
19236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19237 (exit $ac_status); } && {
19238 test -z "$ac_c_werror_flag" ||
19239 test ! -s conftest.err
19240 } && test -s conftest.$ac_objext; then
19241 ac_cv_member_siginfo_t_si_fd=yes
19243 echo "$as_me: failed program was:" >&5
19244 sed 's/^/| /' conftest.$ac_ext >&5
19246 ac_cv_member_siginfo_t_si_fd=no
19249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19254 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19255 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19256 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19258 cat >>confdefs.h <<_ACEOF
19259 #define HAVE_SIGINFO_T_SI_FD 1
19266 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19267 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19268 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19269 echo $ECHO_N "(cached) $ECHO_C" >&6
19271 cat >conftest.$ac_ext <<_ACEOF
19274 cat confdefs.h >>conftest.$ac_ext
19275 cat >>conftest.$ac_ext <<_ACEOF
19276 /* end confdefs.h. */
19277 #include <sys/types.h>
19278 #ifdef HAVE_SYS_MTIO_H
19279 #include <sys/mtio.h>
19285 static struct mtget ac_aggr;
19286 if (ac_aggr.mt_blksiz)
19292 rm -f conftest.$ac_objext
19293 if { (ac_try="$ac_compile"
19294 case "(($ac_try" in
19295 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19296 *) ac_try_echo
=$ac_try;;
19298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19299 (eval "$ac_compile") 2>conftest.er1
19301 grep -v '^ *+' conftest.er1
>conftest.err
19303 cat conftest.err
>&5
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); } && {
19306 test -z "$ac_c_werror_flag" ||
19307 test ! -s conftest.err
19308 } && test -s conftest.
$ac_objext; then
19309 ac_cv_member_struct_mtget_mt_blksiz
=yes
19311 echo "$as_me: failed program was:" >&5
19312 sed 's/^/| /' conftest.
$ac_ext >&5
19314 cat >conftest.
$ac_ext <<_ACEOF
19317 cat confdefs.h
>>conftest.
$ac_ext
19318 cat >>conftest.
$ac_ext <<_ACEOF
19319 /* end confdefs.h. */
19320 #include <sys/types.h>
19321 #ifdef HAVE_SYS_MTIO_H
19322 #include <sys/mtio.h>
19328 static struct mtget ac_aggr;
19329 if (sizeof ac_aggr.mt_blksiz)
19335 rm -f conftest.
$ac_objext
19336 if { (ac_try
="$ac_compile"
19337 case "(($ac_try" in
19338 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19339 *) ac_try_echo=$ac_try;;
19341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19342 (eval "$ac_compile") 2>conftest.er1
19344 grep -v '^ *+' conftest.er1 >conftest.err
19346 cat conftest.err >&5
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); } && {
19349 test -z "$ac_c_werror_flag" ||
19350 test ! -s conftest.err
19351 } && test -s conftest.$ac_objext; then
19352 ac_cv_member_struct_mtget_mt_blksiz=yes
19354 echo "$as_me: failed program was:" >&5
19355 sed 's/^/| /' conftest.$ac_ext >&5
19357 ac_cv_member_struct_mtget_mt_blksiz=no
19360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19365 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19366 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19367 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19369 cat >>confdefs.h <<_ACEOF
19370 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19375 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19376 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19377 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19378 echo $ECHO_N "(cached) $ECHO_C" >&6
19380 cat >conftest.$ac_ext <<_ACEOF
19383 cat confdefs.h >>conftest.$ac_ext
19384 cat >>conftest.$ac_ext <<_ACEOF
19385 /* end confdefs.h. */
19386 #include <sys/types.h>
19387 #ifdef HAVE_SYS_MTIO_H
19388 #include <sys/mtio.h>
19394 static struct mtget ac_aggr;
19395 if (ac_aggr.mt_gstat)
19401 rm -f conftest.$ac_objext
19402 if { (ac_try="$ac_compile"
19403 case "(($ac_try" in
19404 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19405 *) ac_try_echo
=$ac_try;;
19407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19408 (eval "$ac_compile") 2>conftest.er1
19410 grep -v '^ *+' conftest.er1
>conftest.err
19412 cat conftest.err
>&5
19413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414 (exit $ac_status); } && {
19415 test -z "$ac_c_werror_flag" ||
19416 test ! -s conftest.err
19417 } && test -s conftest.
$ac_objext; then
19418 ac_cv_member_struct_mtget_mt_gstat
=yes
19420 echo "$as_me: failed program was:" >&5
19421 sed 's/^/| /' conftest.
$ac_ext >&5
19423 cat >conftest.
$ac_ext <<_ACEOF
19426 cat confdefs.h
>>conftest.
$ac_ext
19427 cat >>conftest.
$ac_ext <<_ACEOF
19428 /* end confdefs.h. */
19429 #include <sys/types.h>
19430 #ifdef HAVE_SYS_MTIO_H
19431 #include <sys/mtio.h>
19437 static struct mtget ac_aggr;
19438 if (sizeof ac_aggr.mt_gstat)
19444 rm -f conftest.
$ac_objext
19445 if { (ac_try
="$ac_compile"
19446 case "(($ac_try" in
19447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19448 *) ac_try_echo=$ac_try;;
19450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19451 (eval "$ac_compile") 2>conftest.er1
19453 grep -v '^ *+' conftest.er1 >conftest.err
19455 cat conftest.err >&5
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); } && {
19458 test -z "$ac_c_werror_flag" ||
19459 test ! -s conftest.err
19460 } && test -s conftest.$ac_objext; then
19461 ac_cv_member_struct_mtget_mt_gstat=yes
19463 echo "$as_me: failed program was:" >&5
19464 sed 's/^/| /' conftest.$ac_ext >&5
19466 ac_cv_member_struct_mtget_mt_gstat=no
19469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19474 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19475 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19476 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19478 cat >>confdefs.h <<_ACEOF
19479 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19484 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19485 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19486 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19487 echo $ECHO_N "(cached) $ECHO_C" >&6
19489 cat >conftest.$ac_ext <<_ACEOF
19492 cat confdefs.h >>conftest.$ac_ext
19493 cat >>conftest.$ac_ext <<_ACEOF
19494 /* end confdefs.h. */
19495 #include <sys/types.h>
19496 #ifdef HAVE_SYS_MTIO_H
19497 #include <sys/mtio.h>
19503 static struct mtget ac_aggr;
19504 if (ac_aggr.mt_blkno)
19510 rm -f conftest.$ac_objext
19511 if { (ac_try="$ac_compile"
19512 case "(($ac_try" in
19513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19514 *) ac_try_echo
=$ac_try;;
19516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19517 (eval "$ac_compile") 2>conftest.er1
19519 grep -v '^ *+' conftest.er1
>conftest.err
19521 cat conftest.err
>&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); } && {
19524 test -z "$ac_c_werror_flag" ||
19525 test ! -s conftest.err
19526 } && test -s conftest.
$ac_objext; then
19527 ac_cv_member_struct_mtget_mt_blkno
=yes
19529 echo "$as_me: failed program was:" >&5
19530 sed 's/^/| /' conftest.
$ac_ext >&5
19532 cat >conftest.
$ac_ext <<_ACEOF
19535 cat confdefs.h
>>conftest.
$ac_ext
19536 cat >>conftest.
$ac_ext <<_ACEOF
19537 /* end confdefs.h. */
19538 #include <sys/types.h>
19539 #ifdef HAVE_SYS_MTIO_H
19540 #include <sys/mtio.h>
19546 static struct mtget ac_aggr;
19547 if (sizeof ac_aggr.mt_blkno)
19553 rm -f conftest.
$ac_objext
19554 if { (ac_try
="$ac_compile"
19555 case "(($ac_try" in
19556 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19557 *) ac_try_echo=$ac_try;;
19559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19560 (eval "$ac_compile") 2>conftest.er1
19562 grep -v '^ *+' conftest.er1 >conftest.err
19564 cat conftest.err >&5
19565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566 (exit $ac_status); } && {
19567 test -z "$ac_c_werror_flag" ||
19568 test ! -s conftest.err
19569 } && test -s conftest.$ac_objext; then
19570 ac_cv_member_struct_mtget_mt_blkno=yes
19572 echo "$as_me: failed program was:" >&5
19573 sed 's/^/| /' conftest.$ac_ext >&5
19575 ac_cv_member_struct_mtget_mt_blkno=no
19578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19583 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19584 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19585 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19587 cat >>confdefs.h <<_ACEOF
19588 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19595 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19596 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19597 if test "${ac_cv_member_struct_option_name+set}" = set; then
19598 echo $ECHO_N "(cached) $ECHO_C" >&6
19600 cat >conftest.$ac_ext <<_ACEOF
19603 cat confdefs.h >>conftest.$ac_ext
19604 cat >>conftest.$ac_ext <<_ACEOF
19605 /* end confdefs.h. */
19606 #ifdef HAVE_GETOPT_H
19607 #include <getopt.h>
19613 static struct option ac_aggr;
19620 rm -f conftest.$ac_objext
19621 if { (ac_try="$ac_compile"
19622 case "(($ac_try" in
19623 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19624 *) ac_try_echo
=$ac_try;;
19626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19627 (eval "$ac_compile") 2>conftest.er1
19629 grep -v '^ *+' conftest.er1
>conftest.err
19631 cat conftest.err
>&5
19632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633 (exit $ac_status); } && {
19634 test -z "$ac_c_werror_flag" ||
19635 test ! -s conftest.err
19636 } && test -s conftest.
$ac_objext; then
19637 ac_cv_member_struct_option_name
=yes
19639 echo "$as_me: failed program was:" >&5
19640 sed 's/^/| /' conftest.
$ac_ext >&5
19642 cat >conftest.
$ac_ext <<_ACEOF
19645 cat confdefs.h
>>conftest.
$ac_ext
19646 cat >>conftest.
$ac_ext <<_ACEOF
19647 /* end confdefs.h. */
19648 #ifdef HAVE_GETOPT_H
19649 #include <getopt.h>
19655 static struct option ac_aggr;
19656 if (sizeof ac_aggr.name)
19662 rm -f conftest.
$ac_objext
19663 if { (ac_try
="$ac_compile"
19664 case "(($ac_try" in
19665 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19666 *) ac_try_echo=$ac_try;;
19668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19669 (eval "$ac_compile") 2>conftest.er1
19671 grep -v '^ *+' conftest.er1 >conftest.err
19673 cat conftest.err >&5
19674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 (exit $ac_status); } && {
19676 test -z "$ac_c_werror_flag" ||
19677 test ! -s conftest.err
19678 } && test -s conftest.$ac_objext; then
19679 ac_cv_member_struct_option_name=yes
19681 echo "$as_me: failed program was:" >&5
19682 sed 's/^/| /' conftest.$ac_ext >&5
19684 ac_cv_member_struct_option_name=no
19687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19692 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19693 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19694 if test $ac_cv_member_struct_option_name = yes; then
19696 cat >>confdefs.h <<_ACEOF
19697 #define HAVE_STRUCT_OPTION_NAME 1
19704 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19705 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19706 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19707 echo $ECHO_N "(cached) $ECHO_C" >&6
19709 cat >conftest.$ac_ext <<_ACEOF
19712 cat confdefs.h >>conftest.$ac_ext
19713 cat >>conftest.$ac_ext <<_ACEOF
19714 /* end confdefs.h. */
19715 $ac_includes_default
19719 static struct stat ac_aggr;
19720 if (ac_aggr.st_blocks)
19726 rm -f conftest.$ac_objext
19727 if { (ac_try="$ac_compile"
19728 case "(($ac_try" in
19729 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19730 *) ac_try_echo
=$ac_try;;
19732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19733 (eval "$ac_compile") 2>conftest.er1
19735 grep -v '^ *+' conftest.er1
>conftest.err
19737 cat conftest.err
>&5
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); } && {
19740 test -z "$ac_c_werror_flag" ||
19741 test ! -s conftest.err
19742 } && test -s conftest.
$ac_objext; then
19743 ac_cv_member_struct_stat_st_blocks
=yes
19745 echo "$as_me: failed program was:" >&5
19746 sed 's/^/| /' conftest.
$ac_ext >&5
19748 cat >conftest.
$ac_ext <<_ACEOF
19751 cat confdefs.h
>>conftest.
$ac_ext
19752 cat >>conftest.
$ac_ext <<_ACEOF
19753 /* end confdefs.h. */
19754 $ac_includes_default
19758 static struct stat ac_aggr;
19759 if (sizeof ac_aggr.st_blocks)
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_stat_st_blocks=yes
19784 echo "$as_me: failed program was:" >&5
19785 sed 's/^/| /' conftest.$ac_ext >&5
19787 ac_cv_member_struct_stat_st_blocks=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_stat_st_blocks" >&5
19796 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19797 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19799 cat >>confdefs.h <<_ACEOF
19800 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19807 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19808 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19809 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+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>
19828 static struct sockaddr_in6 ac_aggr;
19829 if (ac_aggr.sin6_scope_id)
19835 rm -f conftest.$ac_objext
19836 if { (ac_try="$ac_compile"
19837 case "(($ac_try" in
19838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19839 *) ac_try_echo
=$ac_try;;
19841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19842 (eval "$ac_compile") 2>conftest.er1
19844 grep -v '^ *+' conftest.er1
>conftest.err
19846 cat conftest.err
>&5
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); } && {
19849 test -z "$ac_c_werror_flag" ||
19850 test ! -s conftest.err
19851 } && test -s conftest.
$ac_objext; then
19852 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
19854 echo "$as_me: failed program was:" >&5
19855 sed 's/^/| /' conftest.
$ac_ext >&5
19857 cat >conftest.
$ac_ext <<_ACEOF
19860 cat confdefs.h
>>conftest.
$ac_ext
19861 cat >>conftest.
$ac_ext <<_ACEOF
19862 /* end confdefs.h. */
19863 #ifdef HAVE_SYS_TYPES_H
19864 #include <sys/types.h>
19866 #ifdef HAVE_NETINET_IN_H
19867 #include <netinet/in.h>
19873 static struct sockaddr_in6 ac_aggr;
19874 if (sizeof ac_aggr.sin6_scope_id)
19880 rm -f conftest.
$ac_objext
19881 if { (ac_try
="$ac_compile"
19882 case "(($ac_try" in
19883 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19884 *) ac_try_echo=$ac_try;;
19886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19887 (eval "$ac_compile") 2>conftest.er1
19889 grep -v '^ *+' conftest.er1 >conftest.err
19891 cat conftest.err >&5
19892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19893 (exit $ac_status); } && {
19894 test -z "$ac_c_werror_flag" ||
19895 test ! -s conftest.err
19896 } && test -s conftest.$ac_objext; then
19897 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19899 echo "$as_me: failed program was:" >&5
19900 sed 's/^/| /' conftest.$ac_ext >&5
19902 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19910 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19911 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19912 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19914 cat >>confdefs.h <<_ACEOF
19915 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19922 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19923 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19924 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19925 echo $ECHO_N "(cached) $ECHO_C" >&6
19927 cat >conftest.$ac_ext <<_ACEOF
19930 cat confdefs.h >>conftest.$ac_ext
19931 cat >>conftest.$ac_ext <<_ACEOF
19932 /* end confdefs.h. */
19933 #ifdef HAVE_SYS_TYPES_H
19934 #include <sys/types.h>
19936 #ifdef HAVE_NETINET_IN_H
19937 # include <netinet/in.h>
19939 #ifdef HAVE_ARPA_NAMESER_H
19940 # include <arpa/nameser.h>
19946 static ns_msg ac_aggr;
19947 if (ac_aggr._msg_ptr)
19953 rm -f conftest.$ac_objext
19954 if { (ac_try="$ac_compile"
19955 case "(($ac_try" in
19956 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19957 *) ac_try_echo
=$ac_try;;
19959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19960 (eval "$ac_compile") 2>conftest.er1
19962 grep -v '^ *+' conftest.er1
>conftest.err
19964 cat conftest.err
>&5
19965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19966 (exit $ac_status); } && {
19967 test -z "$ac_c_werror_flag" ||
19968 test ! -s conftest.err
19969 } && test -s conftest.
$ac_objext; then
19970 ac_cv_member_ns_msg__msg_ptr
=yes
19972 echo "$as_me: failed program was:" >&5
19973 sed 's/^/| /' conftest.
$ac_ext >&5
19975 cat >conftest.
$ac_ext <<_ACEOF
19978 cat confdefs.h
>>conftest.
$ac_ext
19979 cat >>conftest.
$ac_ext <<_ACEOF
19980 /* end confdefs.h. */
19981 #ifdef HAVE_SYS_TYPES_H
19982 #include <sys/types.h>
19984 #ifdef HAVE_NETINET_IN_H
19985 # include <netinet/in.h>
19987 #ifdef HAVE_ARPA_NAMESER_H
19988 # include <arpa/nameser.h>
19994 static ns_msg ac_aggr;
19995 if (sizeof ac_aggr._msg_ptr)
20001 rm -f conftest.
$ac_objext
20002 if { (ac_try
="$ac_compile"
20003 case "(($ac_try" in
20004 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20005 *) ac_try_echo=$ac_try;;
20007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20008 (eval "$ac_compile") 2>conftest.er1
20010 grep -v '^ *+' conftest.er1 >conftest.err
20012 cat conftest.err >&5
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); } && {
20015 test -z "$ac_c_werror_flag" ||
20016 test ! -s conftest.err
20017 } && test -s conftest.$ac_objext; then
20018 ac_cv_member_ns_msg__msg_ptr=yes
20020 echo "$as_me: failed program was:" >&5
20021 sed 's/^/| /' conftest.$ac_ext >&5
20023 ac_cv_member_ns_msg__msg_ptr=no
20026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20031 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20032 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20033 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20035 cat >>confdefs.h <<_ACEOF
20036 #define HAVE_NS_MSG__MSG_PTR 1
20043 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20044 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20045 if test "${ac_cv_have_timezone+set}" = set; then
20046 echo $ECHO_N "(cached) $ECHO_C" >&6
20048 cat >conftest.$ac_ext <<_ACEOF
20051 cat confdefs.h >>conftest.$ac_ext
20052 cat >>conftest.$ac_ext <<_ACEOF
20053 /* end confdefs.h. */
20063 rm -f conftest.$ac_objext conftest$ac_exeext
20064 if { (ac_try="$ac_link"
20065 case "(($ac_try" in
20066 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20067 *) ac_try_echo
=$ac_try;;
20069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20070 (eval "$ac_link") 2>conftest.er1
20072 grep -v '^ *+' conftest.er1
>conftest.err
20074 cat conftest.err
>&5
20075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20076 (exit $ac_status); } && {
20077 test -z "$ac_c_werror_flag" ||
20078 test ! -s conftest.err
20079 } && test -s conftest
$ac_exeext &&
20080 $as_test_x conftest
$ac_exeext; then
20081 ac_cv_have_timezone
="yes"
20083 echo "$as_me: failed program was:" >&5
20084 sed 's/^/| /' conftest.
$ac_ext >&5
20086 ac_cv_have_timezone
="no"
20089 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20090 conftest
$ac_exeext conftest.
$ac_ext
20092 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20093 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20094 if test "$ac_cv_have_timezone" = "yes"
20097 cat >>confdefs.h
<<\_ACEOF
20098 #define HAVE_TIMEZONE 1
20102 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20103 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20104 if test "${ac_cv_have_daylight+set}" = set; then
20105 echo $ECHO_N "(cached) $ECHO_C" >&6
20107 cat >conftest.
$ac_ext <<_ACEOF
20110 cat confdefs.h
>>conftest.
$ac_ext
20111 cat >>conftest.
$ac_ext <<_ACEOF
20112 /* end confdefs.h. */
20122 rm -f conftest.
$ac_objext conftest
$ac_exeext
20123 if { (ac_try
="$ac_link"
20124 case "(($ac_try" in
20125 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20126 *) ac_try_echo=$ac_try;;
20128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20129 (eval "$ac_link") 2>conftest.er1
20131 grep -v '^ *+' conftest.er1 >conftest.err
20133 cat conftest.err >&5
20134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20135 (exit $ac_status); } && {
20136 test -z "$ac_c_werror_flag" ||
20137 test ! -s conftest.err
20138 } && test -s conftest$ac_exeext &&
20139 $as_test_x conftest$ac_exeext; then
20140 ac_cv_have_daylight="yes"
20142 echo "$as_me: failed program was:" >&5
20143 sed 's/^/| /' conftest.$ac_ext >&5
20145 ac_cv_have_daylight="no"
20148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20149 conftest$ac_exeext conftest.$ac_ext
20151 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20152 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20153 if test "$ac_cv_have_daylight" = "yes"
20156 cat >>confdefs.h <<\_ACEOF
20157 #define HAVE_DAYLIGHT 1
20164 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20165 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20166 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20167 echo $ECHO_N "(cached) $ECHO_C" >&6
20169 cat >conftest.$ac_ext <<_ACEOF
20172 cat confdefs.h >>conftest.$ac_ext
20173 cat >>conftest.$ac_ext <<_ACEOF
20174 /* end confdefs.h. */
20179 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20180 $EGREP "yes" >/dev/null 2>&1; then
20181 ac_cv_cpp_def___i386__=yes
20183 ac_cv_cpp_def___i386__=no
20188 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20189 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20190 if test $ac_cv_cpp_def___i386__ = yes; then
20191 CFLAGS="$CFLAGS -D__i386__"
20192 LINTFLAGS="$LINTFLAGS -D__i386__"
20195 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20196 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20197 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20198 echo $ECHO_N "(cached) $ECHO_C" >&6
20200 cat >conftest.$ac_ext <<_ACEOF
20203 cat confdefs.h >>conftest.$ac_ext
20204 cat >>conftest.$ac_ext <<_ACEOF
20205 /* end confdefs.h. */
20210 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20211 $EGREP "yes" >/dev/null 2>&1; then
20212 ac_cv_cpp_def___x86_64__=yes
20214 ac_cv_cpp_def___x86_64__=no
20219 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20220 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20221 if test $ac_cv_cpp_def___x86_64__ = yes; then
20222 CFLAGS="$CFLAGS -D__x86_64__"
20223 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20226 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20227 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20228 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20229 echo $ECHO_N "(cached) $ECHO_C" >&6
20231 cat >conftest.$ac_ext <<_ACEOF
20234 cat confdefs.h >>conftest.$ac_ext
20235 cat >>conftest.$ac_ext <<_ACEOF
20236 /* end confdefs.h. */
20241 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20242 $EGREP "yes" >/dev/null 2>&1; then
20243 ac_cv_cpp_def___ALPHA__=yes
20245 ac_cv_cpp_def___ALPHA__=no
20250 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20251 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20252 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20253 CFLAGS="$CFLAGS -D__ALPHA__"
20254 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20257 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20258 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20259 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20260 echo $ECHO_N "(cached) $ECHO_C" >&6
20262 cat >conftest.$ac_ext <<_ACEOF
20265 cat confdefs.h >>conftest.$ac_ext
20266 cat >>conftest.$ac_ext <<_ACEOF
20267 /* end confdefs.h. */
20272 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20273 $EGREP "yes" >/dev/null 2>&1; then
20274 ac_cv_cpp_def___sparc__=yes
20276 ac_cv_cpp_def___sparc__=no
20281 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20282 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20283 if test $ac_cv_cpp_def___sparc__ = yes; then
20284 CFLAGS="$CFLAGS -D__sparc__"
20285 LINTFLAGS="$LINTFLAGS -D__sparc__"
20288 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20289 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20290 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20291 echo $ECHO_N "(cached) $ECHO_C" >&6
20293 cat >conftest.$ac_ext <<_ACEOF
20296 cat confdefs.h >>conftest.$ac_ext
20297 cat >>conftest.$ac_ext <<_ACEOF
20298 /* end confdefs.h. */
20299 #ifndef __powerpc__
20303 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20304 $EGREP "yes" >/dev/null 2>&1; then
20305 ac_cv_cpp_def___powerpc__=yes
20307 ac_cv_cpp_def___powerpc__=no
20312 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20313 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20314 if test $ac_cv_cpp_def___powerpc__ = yes; then
20315 CFLAGS="$CFLAGS -D__powerpc__"
20316 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20321 case $host_vendor in
20322 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20323 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20324 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20325 echo $ECHO_N "(cached) $ECHO_C" >&6
20327 cat >conftest.$ac_ext <<_ACEOF
20330 cat confdefs.h >>conftest.$ac_ext
20331 cat >>conftest.$ac_ext <<_ACEOF
20332 /* end confdefs.h. */
20337 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20338 $EGREP "yes" >/dev/null 2>&1; then
20339 ac_cv_cpp_def___sun__=yes
20341 ac_cv_cpp_def___sun__=no
20346 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20347 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20348 if test $ac_cv_cpp_def___sun__ = yes; then
20349 CFLAGS="$CFLAGS -D__sun__"
20350 LINTFLAGS="$LINTFLAGS -D__sun__"
20356 DEPENDENCIES="### Dependencies:
20361 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20363 \$(OBJS): \$(IDL_GEN_HEADERS)
20364 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20365 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20366 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20372 ac_config_commands="$ac_config_commands include/stamp-h"
20375 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20377 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20379 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20381 ac_config_commands="$ac_config_commands dlls/user32/resources"
20383 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20385 ac_config_commands="$ac_config_commands include/wine"
20388 MAKE_RULES=Make.rules
20391 MAKE_DLL_RULES=dlls/Makedll.rules
20394 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20397 MAKE_TEST_RULES=dlls/Maketest.rules
20400 MAKE_PROG_RULES=programs/Makeprog.rules
20403 ac_config_files="$ac_config_files Make.rules"
20405 ac_config_files="$ac_config_files dlls/Makedll.rules"
20407 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20409 ac_config_files="$ac_config_files dlls/Maketest.rules"
20411 ac_config_files="$ac_config_files programs/Makeprog.rules"
20413 ac_config_files="$ac_config_files Makefile"
20415 ac_config_files="$ac_config_files dlls/Makefile"
20417 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20419 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20421 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20423 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20425 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20427 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20429 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20431 ac_config_files="$ac_config_files dlls/atl/Makefile"
20433 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20435 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20437 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20439 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20441 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20443 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20445 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20447 ac_config_files="$ac_config_files dlls/cards/Makefile"
20449 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20451 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20453 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20455 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20457 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20459 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20461 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20463 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20465 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20467 ac_config_files="$ac_config_files dlls/credui/Makefile"
20469 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20471 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20473 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20475 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20477 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20479 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20481 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20483 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20485 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20487 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20489 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20491 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20493 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20495 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20497 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20499 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20501 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20503 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20505 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20507 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20509 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20511 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20513 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20515 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20517 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20519 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20521 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20523 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20525 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20527 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20529 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20531 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20533 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20535 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20537 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20539 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20541 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20543 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20545 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20547 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20549 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20551 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20553 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20555 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20557 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20559 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20561 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20563 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20565 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20567 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20569 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20571 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20573 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20575 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20577 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20579 ac_config_files="$ac_config_files dlls/hal/Makefile"
20581 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20583 ac_config_files="$ac_config_files dlls/hid/Makefile"
20585 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20587 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20589 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20591 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20593 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20595 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20597 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20599 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20601 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20603 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20605 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20607 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20609 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20611 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20613 ac_config_files="$ac_config_files dlls/itss/Makefile"
20615 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20617 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20619 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20621 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20623 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20625 ac_config_files="$ac_config_files dlls/localui/Makefile"
20627 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20629 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20631 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20633 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20635 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20637 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20639 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20641 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20643 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20645 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20647 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20649 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20651 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20653 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20655 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20657 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20659 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20661 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20663 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20665 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20667 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20669 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20671 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20673 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20675 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20677 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20679 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20681 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20683 ac_config_files="$ac_config_files dlls/msi/Makefile"
20685 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20687 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20689 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20691 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20693 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20695 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20697 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20699 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20701 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20703 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20705 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20707 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20709 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20711 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20713 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20715 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20717 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20719 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20721 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20723 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20725 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20727 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20729 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20731 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20733 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20735 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20737 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20739 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20741 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20743 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20745 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20747 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20749 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20751 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20753 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20755 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20757 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20759 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20761 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20763 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20765 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20767 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20769 ac_config_files="$ac_config_files dlls/printui/Makefile"
20771 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20773 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20775 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20777 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20779 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20781 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20783 ac_config_files="$ac_config_files dlls/query/Makefile"
20785 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20787 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20789 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20791 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20793 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20795 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20797 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20799 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20801 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20803 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20805 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20807 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20809 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20811 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20813 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20815 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20817 ac_config_files="$ac_config_files dlls/security/Makefile"
20819 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20821 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20823 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20825 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20827 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20829 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20831 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20833 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20835 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20837 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20839 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20841 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20843 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20845 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20847 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20849 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20851 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20853 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20855 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20857 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20859 ac_config_files="$ac_config_files dlls/sti/Makefile"
20861 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20863 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20865 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20867 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20869 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20871 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20873 ac_config_files="$ac_config_files dlls/url/Makefile"
20875 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20877 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20879 ac_config_files="$ac_config_files dlls/user32/Makefile"
20881 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20883 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20885 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20887 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20889 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20891 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20893 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20895 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20897 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20899 ac_config_files="$ac_config_files dlls/version/Makefile"
20901 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20903 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20905 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20907 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20909 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20911 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20913 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20915 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20917 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20919 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20921 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20923 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20925 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20927 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20929 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20931 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20933 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20935 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20937 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20939 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20941 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20943 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20945 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20947 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20949 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20951 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20953 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20955 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20957 ac_config_files="$ac_config_files dlls/winscard/Makefile"
20959 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20961 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20963 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20965 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20967 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20969 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20971 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20973 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20975 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20977 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20979 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20981 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20983 ac_config_files="$ac_config_files documentation/Makefile"
20985 ac_config_files="$ac_config_files fonts/Makefile"
20987 ac_config_files="$ac_config_files include/Makefile"
20989 ac_config_files="$ac_config_files libs/Makefile"
20991 ac_config_files="$ac_config_files libs/port/Makefile"
20993 ac_config_files="$ac_config_files libs/wine/Makefile"
20995 ac_config_files="$ac_config_files libs/wpp/Makefile"
20997 ac_config_files="$ac_config_files loader/Makefile"
20999 ac_config_files="$ac_config_files programs/Makefile"
21001 ac_config_files="$ac_config_files programs/clock/Makefile"
21003 ac_config_files="$ac_config_files programs/cmd/Makefile"
21005 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
21007 ac_config_files="$ac_config_files programs/control/Makefile"
21009 ac_config_files="$ac_config_files programs/eject/Makefile"
21011 ac_config_files="$ac_config_files programs/expand/Makefile"
21013 ac_config_files="$ac_config_files programs/explorer/Makefile"
21015 ac_config_files="$ac_config_files programs/hh/Makefile"
21017 ac_config_files="$ac_config_files programs/icinfo/Makefile"
21019 ac_config_files="$ac_config_files programs/iexplore/Makefile"
21021 ac_config_files="$ac_config_files programs/msiexec/Makefile"
21023 ac_config_files="$ac_config_files programs/net/Makefile"
21025 ac_config_files="$ac_config_files programs/notepad/Makefile"
21027 ac_config_files="$ac_config_files programs/oleview/Makefile"
21029 ac_config_files="$ac_config_files programs/progman/Makefile"
21031 ac_config_files="$ac_config_files programs/regedit/Makefile"
21033 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
21035 ac_config_files="$ac_config_files programs/rpcss/Makefile"
21037 ac_config_files="$ac_config_files programs/rundll32/Makefile"
21039 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
21041 ac_config_files="$ac_config_files programs/start/Makefile"
21043 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
21045 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
21047 ac_config_files="$ac_config_files programs/view/Makefile"
21049 ac_config_files="$ac_config_files programs/wineboot/Makefile"
21051 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
21053 ac_config_files="$ac_config_files programs/winecfg/Makefile"
21055 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
21057 ac_config_files="$ac_config_files programs/winedbg/Makefile"
21059 ac_config_files="$ac_config_files programs/winedevice/Makefile"
21061 ac_config_files="$ac_config_files programs/winefile/Makefile"
21063 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
21065 ac_config_files="$ac_config_files programs/winemine/Makefile"
21067 ac_config_files="$ac_config_files programs/winepath/Makefile"
21069 ac_config_files="$ac_config_files programs/winetest/Makefile"
21071 ac_config_files="$ac_config_files programs/winevdm/Makefile"
21073 ac_config_files="$ac_config_files programs/winhelp/Makefile"
21075 ac_config_files="$ac_config_files programs/winver/Makefile"
21077 ac_config_files="$ac_config_files programs/wordpad/Makefile"
21079 ac_config_files="$ac_config_files programs/xcopy/Makefile"
21081 ac_config_files="$ac_config_files server/Makefile"
21083 ac_config_files="$ac_config_files tools/Makefile"
21085 ac_config_files="$ac_config_files tools/widl/Makefile"
21087 ac_config_files="$ac_config_files tools/winebuild/Makefile"
21089 ac_config_files="$ac_config_files tools/winedump/Makefile"
21091 ac_config_files="$ac_config_files tools/winegcc/Makefile"
21093 ac_config_files="$ac_config_files tools/wmc/Makefile"
21095 ac_config_files="$ac_config_files tools/wrc/Makefile"
21098 cat >confcache <<\_ACEOF
21099 # This file is a shell script that caches the results of configure
21100 # tests run on this system so they can be shared between configure
21101 # scripts and configure runs, see configure's option --config-cache.
21102 # It is not useful on other systems. If it contains results you don't
21103 # want to keep, you may remove or edit it.
21105 # config.status only pays attention to the cache file if you give it
21106 # the --recheck option to rerun configure.
21108 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
21109 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21110 # following values.
21114 # The following way of writing the cache mishandles newlines in values,
21115 # but we know of no workaround that is simple, portable, and efficient.
21116 # So, we kill variables containing newlines.
21117 # Ultrix sh set writes to stderr and can't be redirected directly,
21118 # and sets the high bit in the cache file unless we assign to the vars.
21120 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21121 eval ac_val
=\$
$ac_var
21125 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21126 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21129 _ | IFS | as_nl
) ;; #(
21130 *) $as_unset $ac_var ;;
21136 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21137 *${as_nl}ac_space
=\
*)
21138 # `set' does not quote correctly, so add quotes (double-quote
21139 # substitution turns \\\\ into \\, and sed turns \\ into \).
21142 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21145 # `set' quotes correctly as required by POSIX, so do not add quotes.
21146 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21155 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21157 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21159 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21160 if test -w "$cache_file"; then
21161 test "x$cache_file" != "x/dev/null" &&
21162 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21163 echo "$as_me: updating cache $cache_file" >&6;}
21164 cat confcache
>$cache_file
21166 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21167 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21172 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21173 # Let make expand exec_prefix.
21174 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21176 DEFS
=-DHAVE_CONFIG_H
21180 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21181 # 1. Remove the extension, and $U if already installed.
21182 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21183 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21184 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21185 # will be set to the directory where LIBOBJS objects are built.
21186 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21187 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21189 LIBOBJS
=$ac_libobjs
21191 LTLIBOBJS
=$ac_ltlibobjs
21195 : ${CONFIG_STATUS=./config.status}
21196 ac_clean_files_save
=$ac_clean_files
21197 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21198 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21199 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21200 cat >$CONFIG_STATUS <<_ACEOF
21202 # Generated by $as_me.
21203 # Run this file to recreate the current configuration.
21204 # Compiler output produced by configure, useful for debugging
21205 # configure, is in config.log if it exists.
21208 ac_cs_recheck=false
21210 SHELL=\${CONFIG_SHELL-$SHELL}
21213 cat >>$CONFIG_STATUS <<\_ACEOF
21214 ## --------------------- ##
21215 ## M4sh Initialization. ##
21216 ## --------------------- ##
21218 # Be more Bourne compatible
21219 DUALCASE
=1; export DUALCASE
# for MKS sh
21220 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21223 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21224 # is contrary to our usage. Disable this feature.
21225 alias -g '${1+"$@"}'='"$@"'
21226 setopt NO_GLOB_SUBST
21228 case `(set -o) 2>/dev/null` in
21229 *posix
*) set -o posix
;;
21238 # Avoid depending upon Character Ranges.
21239 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21240 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21241 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21242 as_cr_digits
='0123456789'
21243 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21245 # The user is always right.
21246 if test "${PATH_SEPARATOR+set}" != set; then
21247 echo "#! /bin/sh" >conf$$.sh
21248 echo "exit 0" >>conf$$.sh
21250 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21258 # Support unset when possible.
21259 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21267 # We need space, tab and new line, in precisely that order. Quoting is
21268 # there to prevent editors from complaining about space-tab.
21269 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21270 # splitting by setting IFS to empty value.)
21275 # Find who we are. Look in the path if we contain no directory separator.
21277 *[\\/]* ) as_myself
=$0 ;;
21278 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21279 for as_dir
in $PATH
21282 test -z "$as_dir" && as_dir
=.
21283 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21289 # We did not find ourselves, most probably we were run as `sh COMMAND'
21290 # in which case we are not to be found in the path.
21291 if test "x$as_myself" = x
; then
21294 if test ! -f "$as_myself"; then
21295 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21296 { (exit 1); exit 1; }
21299 # Work around bugs in pre-3.0 UWIN ksh.
21300 for as_var
in ENV MAIL MAILPATH
21301 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21309 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21310 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21311 LC_TELEPHONE LC_TIME
21313 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21314 eval $as_var=C
; export $as_var
21316 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21320 # Required to use basename.
21321 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21322 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21328 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21329 as_basename
=basename
21335 # Name of the executable.
21336 as_me
=`$as_basename -- "$0" ||
21337 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21338 X"$0" : 'X\(//\)$' \| \
21339 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21341 sed '/^.*\/\([^/][^/]*\)\/*$/{
21360 as_lineno_1
=$LINENO
21361 as_lineno_2
=$LINENO
21362 test "x$as_lineno_1" != "x$as_lineno_2" &&
21363 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21365 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21366 # uniformly replaced by the line number. The first 'sed' inserts a
21367 # line-number line after each line using $LINENO; the second 'sed'
21368 # does the real work. The second script uses 'N' to pair each
21369 # line-number line with the line containing $LINENO, and appends
21370 # trailing '-' during substitution so that $LINENO is not a special
21371 # case at line end.
21372 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21373 # scripts with optimization help from Paolo Bonzini. Blame Lee
21374 # E. McMahon (1931-1989) for sed's syntax. :-)
21386 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21389 ' >$as_me.lineno
&&
21390 chmod +x
"$as_me.lineno" ||
21391 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21392 { (exit 1); exit 1; }; }
21394 # Don't try to exec as it changes $[0], causing all sort of problems
21395 # (the dirname of $[0] is not the place where we might find the
21396 # original and so on. Autoconf is especially sensitive to this).
21397 .
"./$as_me.lineno"
21398 # Exit status is that of the last command.
21403 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21409 ECHO_C
= ECHO_N
= ECHO_T
=
21410 case `echo -n x` in
21412 case `echo 'x\c'` in
21413 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21420 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21421 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21427 rm -f conf$$ conf$$.exe conf$$.
file
21428 if test -d conf$$.dir
; then
21429 rm -f conf$$.dir
/conf$$.
file
21435 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21437 # ... but there are two gotchas:
21438 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21439 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21440 # In both cases, we have to default to `cp -p'.
21441 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21443 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21448 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21449 rmdir conf$$.dir
2>/dev
/null
21451 if mkdir
-p .
2>/dev
/null
; then
21454 test -d .
/-p && rmdir .
/-p
21458 if test -x / >/dev
/null
2>&1; then
21459 as_test_x
='test -x'
21461 if ls -dL / >/dev
/null
2>&1; then
21468 if test -d "$1"; then
21474 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21475 ???[sx]*):;;*)false;;esac;fi
21479 as_executable_p
=$as_test_x
21481 # Sed expression to map a string onto a valid CPP name.
21482 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21484 # Sed expression to map a string onto a valid variable name.
21485 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21490 # Save the log message, to keep $[0] and so on meaningful, and to
21491 # report actual input values of CONFIG_FILES etc. instead of their
21492 # values after options handling.
21494 This file was extended by Wine $as_me 0.9.39, which was
21495 generated by GNU Autoconf 2.61. Invocation command line was
21497 CONFIG_FILES = $CONFIG_FILES
21498 CONFIG_HEADERS = $CONFIG_HEADERS
21499 CONFIG_LINKS = $CONFIG_LINKS
21500 CONFIG_COMMANDS = $CONFIG_COMMANDS
21503 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21508 cat >>$CONFIG_STATUS <<_ACEOF
21509 # Files that config.status was made for.
21510 config_files="$ac_config_files"
21511 config_headers="$ac_config_headers"
21512 config_commands="$ac_config_commands"
21516 cat >>$CONFIG_STATUS <<\_ACEOF
21518 \`$as_me' instantiates files from templates according to the
21519 current configuration.
21521 Usage: $0 [OPTIONS] [FILE]...
21523 -h, --help print this help, then exit
21524 -V, --version print version number and configuration settings, then exit
21525 -q, --quiet do not print progress messages
21526 -d, --debug don't remove temporary files
21527 --recheck update $as_me by reconfiguring in the same conditions
21528 --file=FILE[:TEMPLATE]
21529 instantiate the configuration file FILE
21530 --header=FILE[:TEMPLATE]
21531 instantiate the configuration header FILE
21533 Configuration files:
21536 Configuration headers:
21539 Configuration commands:
21542 Report bugs to <bug-autoconf@gnu.org>."
21545 cat >>$CONFIG_STATUS <<_ACEOF
21547 Wine config.status 0.9.39
21548 configured by $0, generated by GNU Autoconf 2.61,
21549 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21551 Copyright (C) 2006 Free Software Foundation, Inc.
21552 This config.status script is free software; the Free Software Foundation
21553 gives unlimited permission to copy, distribute and modify it."
21560 cat >>$CONFIG_STATUS <<\_ACEOF
21561 # If no file are specified by the user, then we need to provide default
21562 # value. By we need to know if files were specified by the user.
21568 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21569 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21580 # Handling of the options.
21581 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21583 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21584 echo "$ac_cs_version"; exit ;;
21585 --debug |
--debu |
--deb |
--de |
--d |
-d )
21587 --file |
--fil |
--fi |
--f )
21589 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21590 ac_need_defaults
=false
;;
21591 --header |
--heade |
--head |
--hea )
21593 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21594 ac_need_defaults
=false
;;
21596 # Conflict between --help and --header
21597 { echo "$as_me: error: ambiguous option: $1
21598 Try \`$0 --help' for more information." >&2
21599 { (exit 1); exit 1; }; };;
21600 --help |
--hel |
-h )
21601 echo "$ac_cs_usage"; exit ;;
21602 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21603 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21606 # This is an error.
21607 -*) { echo "$as_me: error: unrecognized option: $1
21608 Try \`$0 --help' for more information." >&2
21609 { (exit 1); exit 1; }; } ;;
21611 *) ac_config_targets
="$ac_config_targets $1"
21612 ac_need_defaults
=false
;;
21618 ac_configure_extra_args
=
21620 if $ac_cs_silent; then
21622 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21626 cat >>$CONFIG_STATUS <<_ACEOF
21627 if \$ac_cs_recheck; then
21628 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21629 CONFIG_SHELL=$SHELL
21630 export CONFIG_SHELL
21631 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21635 cat >>$CONFIG_STATUS <<\_ACEOF
21639 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21640 ## Running $as_me. ##
21646 cat >>$CONFIG_STATUS <<_ACEOF
21649 cat >>$CONFIG_STATUS <<\_ACEOF
21651 # Handling of arguments.
21652 for ac_config_target
in $ac_config_targets
21654 case $ac_config_target in
21655 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
21656 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
21657 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21658 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21659 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21660 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
21661 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21662 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
21663 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
21664 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
21665 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21666 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
21667 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
21668 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21669 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
21670 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
21671 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
21672 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21673 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21674 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
21675 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21676 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
21677 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
21678 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21679 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21680 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
21681 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21682 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21683 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21684 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21685 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
21686 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21687 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21688 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
21689 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21690 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21691 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21692 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21693 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21694 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
21695 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
21696 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21697 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21698 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21699 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21700 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21701 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21702 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21703 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21704 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21705 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21706 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21707 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21708 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21709 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21710 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21711 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21712 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21713 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21714 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21715 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21716 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
21717 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
21718 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21719 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21720 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
21721 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21722 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
21723 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21724 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21725 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21726 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21727 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21728 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21729 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21730 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21731 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
21732 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21733 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21734 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21735 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21736 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21737 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
21738 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21739 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
21740 "dlls/dwmapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21741 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21742 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21743 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21744 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21745 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21746 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21747 "dlls/gdiplus/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21748 "dlls/gdiplus/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21749 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
21750 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21751 "dlls/hal/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hal/Makefile" ;;
21752 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21753 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
21754 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
21755 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21756 "dlls/hnetcfg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21757 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21758 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
21759 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21760 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21761 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21762 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
21763 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21764 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21765 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
21766 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21767 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21768 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
21769 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21770 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21771 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21772 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
21773 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21774 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
21775 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21776 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
21777 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21778 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21779 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21780 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21781 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21782 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21783 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21784 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
21785 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
21786 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21787 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21788 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21789 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
21790 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21791 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21792 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21793 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21794 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21795 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
21796 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21797 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21798 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21799 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21800 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21801 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21802 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21803 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
21804 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21805 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21806 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21807 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21808 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21809 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21810 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21811 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21812 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21813 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21814 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21815 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21816 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21817 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21818 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21819 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21820 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21821 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21822 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21823 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
21824 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21825 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21826 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21827 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21828 "dlls/ntprint/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21829 "dlls/ntprint/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21830 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
21831 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21832 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21833 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21834 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
21835 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21836 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21837 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21838 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21839 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21840 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21841 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21842 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21843 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21844 "dlls/pdh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/Makefile" ;;
21845 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21846 "dlls/printui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/printui/Makefile" ;;
21847 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
21848 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21849 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21850 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
21851 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
21852 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21853 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
21854 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21855 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
21856 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
21857 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21858 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
21859 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21860 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21861 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21862 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21863 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21864 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21865 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21866 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
21867 "dlls/schannel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21868 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
21869 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21870 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
21871 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21872 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
21873 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21874 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21875 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21876 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
21877 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21878 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21879 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21880 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21881 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
21882 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21883 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21884 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21885 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21886 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21887 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21888 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21889 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21890 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21891 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
21892 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21893 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21894 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
21895 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21896 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21897 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
21898 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
21899 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21900 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21901 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
21902 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21903 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
21904 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
21905 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21906 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
21907 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21908 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21909 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21910 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21911 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
21912 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21913 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21914 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21915 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21916 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21917 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21918 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21919 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21920 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21921 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21922 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21923 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21924 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
21925 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21926 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21927 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21928 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21929 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21930 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21931 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21932 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21933 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21934 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
21935 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
21936 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21937 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
21938 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21939 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21940 "dlls/winscard/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winscard/Makefile" ;;
21941 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21942 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21943 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21944 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21945 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21946 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21947 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21948 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
21949 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21950 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21951 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21952 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21953 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
21954 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
21955 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
21956 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
21957 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
21958 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
21959 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
21960 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
21961 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
21962 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
21963 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
21964 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21965 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
21966 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
21967 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
21968 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
21969 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
21970 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
21971 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
21972 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
21973 "programs/net/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/net/Makefile" ;;
21974 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
21975 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
21976 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
21977 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
21978 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21979 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
21980 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
21981 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21982 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
21983 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21984 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21985 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
21986 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
21987 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21988 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
21989 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21990 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
21991 "programs/winedevice/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedevice/Makefile" ;;
21992 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
21993 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21994 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
21995 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
21996 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
21997 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
21998 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
21999 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
22000 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
22001 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
22002 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
22003 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
22004 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
22005 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
22006 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
22007 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
22008 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
22009 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
22011 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22012 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22013 { (exit 1); exit 1; }; };;
22018 # If the user did not use the arguments to specify the items to instantiate,
22019 # then the envvar interface is used. Set only those that are not.
22020 # We use the long form for the default assignment because of an extremely
22021 # bizarre bug on SunOS 4.1.3.
22022 if $ac_need_defaults; then
22023 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22024 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22025 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22028 # Have a temporary directory for convenience. Make it in the build tree
22029 # simply because there is no reason against having it here, and in addition,
22030 # creating and moving files from /tmp can sometimes cause problems.
22031 # Hook for its removal unless debugging.
22032 # Note that there is a small window in which the directory will not be cleaned:
22033 # after its creation but before its name has been assigned to `$tmp'.
22037 trap 'exit_status=$?
22038 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22040 trap '{ (exit 1); exit 1; }' 1 2 13 15
22042 # Create a (secure) tmp directory for tmp files.
22045 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22046 test -n "$tmp" && test -d "$tmp"
22049 tmp
=.
/conf$$
-$RANDOM
22050 (umask 077 && mkdir
"$tmp")
22053 echo "$me: cannot create a temporary directory in ." >&2
22054 { (exit 1); exit 1; }
22058 # Set up the sed scripts for CONFIG_FILES section.
22061 # No need to generate the scripts if there are no CONFIG_FILES.
22062 # This happens for instance when ./config.status config.h
22063 if test -n "$CONFIG_FILES"; then
22067 # Create sed commands to just substitute file output variables.
22069 # Remaining file output variables are in a fragment that also has non-file
22075 for ac_last_try
in false false false false false
:; do
22076 cat >conf$
$subs.
sed <<_ACEOF
22077 SHELL!$SHELL$ac_delim
22078 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22079 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22080 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22081 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22082 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22083 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22084 exec_prefix!$exec_prefix$ac_delim
22085 prefix!$prefix$ac_delim
22086 program_transform_name!$program_transform_name$ac_delim
22087 bindir!$bindir$ac_delim
22088 sbindir!$sbindir$ac_delim
22089 libexecdir!$libexecdir$ac_delim
22090 datarootdir!$datarootdir$ac_delim
22091 datadir!$datadir$ac_delim
22092 sysconfdir!$sysconfdir$ac_delim
22093 sharedstatedir!$sharedstatedir$ac_delim
22094 localstatedir!$localstatedir$ac_delim
22095 includedir!$includedir$ac_delim
22096 oldincludedir!$oldincludedir$ac_delim
22097 docdir!$docdir$ac_delim
22098 infodir!$infodir$ac_delim
22099 htmldir!$htmldir$ac_delim
22100 dvidir!$dvidir$ac_delim
22101 pdfdir!$pdfdir$ac_delim
22102 psdir!$psdir$ac_delim
22103 libdir!$libdir$ac_delim
22104 localedir!$localedir$ac_delim
22105 mandir!$mandir$ac_delim
22106 DEFS!$DEFS$ac_delim
22107 ECHO_C!$ECHO_C$ac_delim
22108 ECHO_N!$ECHO_N$ac_delim
22109 ECHO_T!$ECHO_T$ac_delim
22110 LIBS!$LIBS$ac_delim
22111 build_alias!$build_alias$ac_delim
22112 host_alias!$host_alias$ac_delim
22113 target_alias!$target_alias$ac_delim
22114 build!$build$ac_delim
22115 build_cpu!$build_cpu$ac_delim
22116 build_vendor!$build_vendor$ac_delim
22117 build_os!$build_os$ac_delim
22118 host!$host$ac_delim
22119 host_cpu!$host_cpu$ac_delim
22120 host_vendor!$host_vendor$ac_delim
22121 host_os!$host_os$ac_delim
22122 WIN16_FILES!$WIN16_FILES$ac_delim
22123 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22124 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
22125 WINETEST!$WINETEST$ac_delim
22126 SET_MAKE!$SET_MAKE$ac_delim
22128 CFLAGS!$CFLAGS$ac_delim
22129 LDFLAGS!$LDFLAGS$ac_delim
22130 CPPFLAGS!$CPPFLAGS$ac_delim
22131 ac_ct_CC!$ac_ct_CC$ac_delim
22132 EXEEXT!$EXEEXT$ac_delim
22133 OBJEXT!$OBJEXT$ac_delim
22135 CXXFLAGS!$CXXFLAGS$ac_delim
22136 ac_ct_CXX!$ac_ct_CXX$ac_delim
22137 CPPBIN!$CPPBIN$ac_delim
22138 TOOLSDIR!$TOOLSDIR$ac_delim
22139 XMKMF!$XMKMF$ac_delim
22141 X_CFLAGS!$X_CFLAGS$ac_delim
22142 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22143 X_LIBS!$X_LIBS$ac_delim
22144 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22145 FLEX!$FLEX$ac_delim
22146 BISON!$BISON$ac_delim
22148 ac_ct_AS!$ac_ct_AS$ac_delim
22151 RANLIB!$RANLIB$ac_delim
22152 STRIP!$STRIP$ac_delim
22153 WINDRES!$WINDRES$ac_delim
22154 LN_S!$LN_S$ac_delim
22156 GREP!$GREP$ac_delim
22157 EGREP!$EGREP$ac_delim
22158 LDCONFIG!$LDCONFIG$ac_delim
22161 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22163 elif $ac_last_try; then
22164 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22165 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22166 { (exit 1); exit 1; }; }
22168 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22172 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22173 if test -n "$ac_eof"; then
22174 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22175 ac_eof
=`expr $ac_eof + 1`
22178 cat >>$CONFIG_STATUS <<_ACEOF
22179 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22180 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22181 /^[ ]*@MAKE_RULES@[ ]*$/{
22185 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22189 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22190 r $MAKE_IMPLIB_RULES
22193 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22197 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22203 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22204 s/^/s,@/; s/!/@,|#_!!_#|/
22207 s/'"$ac_delim"'$/,g/; t
22209 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22210 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22211 rm -f conf$
$subs.
sed
22212 cat >>$CONFIG_STATUS <<_ACEOF
22218 for ac_last_try
in false false false false false
:; do
22219 cat >conf$
$subs.
sed <<_ACEOF
22220 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22221 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22222 INSTALL_DATA!$INSTALL_DATA$ac_delim
22223 LINT!$LINT$ac_delim
22224 LINTFLAGS!$LINTFLAGS$ac_delim
22225 FONTFORGE!$FONTFORGE$ac_delim
22226 PKG_CONFIG!$PKG_CONFIG$ac_delim
22227 PRELINK!$PRELINK$ac_delim
22228 LIBPTHREAD!$LIBPTHREAD$ac_delim
22229 XLIB!$XLIB$ac_delim
22230 XFILES!$XFILES$ac_delim
22231 OPENGLFILES!$OPENGLFILES$ac_delim
22232 GLU32FILES!$GLU32FILES$ac_delim
22233 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22234 QUARTZFILES!$QUARTZFILES$ac_delim
22235 NASLIBS!$NASLIBS$ac_delim
22236 XML2LIBS!$XML2LIBS$ac_delim
22237 XML2INCL!$XML2INCL$ac_delim
22238 XSLTLIBS!$XSLTLIBS$ac_delim
22239 XSLTINCL!$XSLTINCL$ac_delim
22240 HALINCL!$HALINCL$ac_delim
22241 sane_devel!$sane_devel$ac_delim
22242 SANEINCL!$SANEINCL$ac_delim
22243 gphoto2_devel!$gphoto2_devel$ac_delim
22244 gphoto2port_devel!$gphoto2port_devel$ac_delim
22245 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22246 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22247 ICULIBS!$ICULIBS$ac_delim
22248 RESOLVLIBS!$RESOLVLIBS$ac_delim
22249 LCMSLIBS!$LCMSLIBS$ac_delim
22250 LDAPLIBS!$LDAPLIBS$ac_delim
22251 FREETYPELIBS!$FREETYPELIBS$ac_delim
22252 FREETYPEINCL!$FREETYPEINCL$ac_delim
22253 ft_devel!$ft_devel$ac_delim
22254 ft_devel2!$ft_devel2$ac_delim
22255 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22256 ESDCONFIG!$ESDCONFIG$ac_delim
22257 ESDLIBS!$ESDLIBS$ac_delim
22258 ESDINCL!$ESDINCL$ac_delim
22259 ALSALIBS!$ALSALIBS$ac_delim
22260 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22261 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22262 BUILTINFLAG!$BUILTINFLAG$ac_delim
22263 DLLEXT!$DLLEXT$ac_delim
22264 DLLFLAGS!$DLLFLAGS$ac_delim
22265 LDSHARED!$LDSHARED$ac_delim
22266 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22267 LIBEXT!$LIBEXT$ac_delim
22268 IMPLIBEXT!$IMPLIBEXT$ac_delim
22269 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22270 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22271 DLLTOOL!$DLLTOOL$ac_delim
22272 DLLWRAP!$DLLWRAP$ac_delim
22273 MINGWAR!$MINGWAR$ac_delim
22274 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22275 IOKITLIB!$IOKITLIB$ac_delim
22276 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22277 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22278 COREAUDIO!$COREAUDIO$ac_delim
22279 CARBONLIB!$CARBONLIB$ac_delim
22280 CROSSTEST!$CROSSTEST$ac_delim
22281 CROSSCC!$CROSSCC$ac_delim
22282 CROSSWINDRES!$CROSSWINDRES$ac_delim
22283 LDPATH!$LDPATH$ac_delim
22284 CRTLIBS!$CRTLIBS$ac_delim
22285 SOCKETLIBS!$SOCKETLIBS$ac_delim
22286 MAIN_BINARY!$MAIN_BINARY$ac_delim
22287 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22289 LIBDL!$LIBDL$ac_delim
22290 LIBPOLL!$LIBPOLL$ac_delim
22291 DEPENDENCIES!$DEPENDENCIES$ac_delim
22292 LIBOBJS!$LIBOBJS$ac_delim
22293 LTLIBOBJS!$LTLIBOBJS$ac_delim
22296 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 74; then
22298 elif $ac_last_try; then
22299 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22300 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22301 { (exit 1); exit 1; }; }
22303 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22307 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22308 if test -n "$ac_eof"; then
22309 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22310 ac_eof
=`expr $ac_eof + 1`
22313 cat >>$CONFIG_STATUS <<_ACEOF
22314 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22315 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22318 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22319 s/^/s,@/; s/!/@,|#_!!_#|/
22322 s/'"$ac_delim"'$/,g/; t
22324 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22325 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22326 rm -f conf$
$subs.
sed
22327 cat >>$CONFIG_STATUS <<_ACEOF
22334 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22335 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22336 # trailing colons and then remove the whole line if VPATH becomes empty
22337 # (actually we leave an empty line to preserve line numbers).
22338 if test "x$srcdir" = x.
; then
22339 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22340 s/:*\$(srcdir):*/:/
22341 s/:*\${srcdir}:*/:/
22343 s/^\([^=]*=[ ]*\):*/\1/
22349 cat >>$CONFIG_STATUS <<\_ACEOF
22350 fi # test -n "$CONFIG_FILES"
22353 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22356 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22358 case $ac_mode$ac_tag in
22360 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22361 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22362 { (exit 1); exit 1; }; };;
22363 :[FH
]-) ac_tag
=-:-;;
22364 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22381 -) ac_f
="$tmp/stdin";;
22382 *) # Look for the file first in the build tree, then in the source tree
22383 # (if the path is not absolute). The absolute path cannot be DOS-style,
22384 # because $ac_f cannot contain `:'.
22388 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22390 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22391 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22392 { (exit 1); exit 1; }; };;
22394 ac_file_inputs
="$ac_file_inputs $ac_f"
22397 # Let's still pretend it is `configure' which instantiates (i.e., don't
22398 # use $as_me), people would be surprised to read:
22399 # /* config.h. Generated by config.status. */
22400 configure_input
="Generated from "`IFS=:
22401 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22402 if test x
"$ac_file" != x-
; then
22403 configure_input
="$ac_file. $configure_input"
22404 { echo "$as_me:$LINENO: creating $ac_file" >&5
22405 echo "$as_me: creating $ac_file" >&6;}
22409 *:-:* |
*:-) cat >"$tmp/stdin";;
22414 ac_dir
=`$as_dirname -- "$ac_file" ||
22415 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22416 X"$ac_file" : 'X\(//\)[^/]' \| \
22417 X"$ac_file" : 'X\(//\)$' \| \
22418 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22424 /^X\(\/\/\)[^/].*/{
22439 -*) as_dir
=.
/$as_dir;;
22441 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22445 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22446 *) as_qdir
=$as_dir;;
22448 as_dirs
="'$as_qdir' $as_dirs"
22449 as_dir
=`$as_dirname -- "$as_dir" ||
22450 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22451 X"$as_dir" : 'X\(//\)[^/]' \| \
22452 X"$as_dir" : 'X\(//\)$' \| \
22453 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22459 /^X\(\/\/\)[^/].*/{
22472 test -d "$as_dir" && break
22474 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22475 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22476 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22477 { (exit 1); exit 1; }; }; }
22481 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22483 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22484 # A ".." for each directory in $ac_dir_suffix.
22485 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22486 case $ac_top_builddir_sub in
22487 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22488 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22491 ac_abs_top_builddir
=$ac_pwd
22492 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22493 # for backward compatibility:
22494 ac_top_builddir
=$ac_top_build_prefix
22497 .
) # We are building in place.
22499 ac_top_srcdir
=$ac_top_builddir_sub
22500 ac_abs_top_srcdir
=$ac_pwd ;;
22501 [\\/]* | ?
:[\\/]* ) # Absolute name.
22502 ac_srcdir
=$srcdir$ac_dir_suffix;
22503 ac_top_srcdir
=$srcdir
22504 ac_abs_top_srcdir
=$srcdir ;;
22505 *) # Relative name.
22506 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22507 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22508 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22510 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22520 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22521 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22525 cat >>$CONFIG_STATUS <<\_ACEOF
22526 # If the template does not know about datarootdir, expand it.
22527 # FIXME: This hack should be removed a few years after 2.60.
22528 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22530 case `sed -n '/datarootdir/ {
22539 ' $ac_file_inputs` in
22540 *datarootdir
*) ac_datarootdir_seen
=yes;;
22541 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22542 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22543 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22545 cat >>$CONFIG_STATUS <<_ACEOF
22546 ac_datarootdir_hack='
22547 s&@datadir@&$datadir&g
22548 s&@docdir@&$docdir&g
22549 s&@infodir@&$infodir&g
22550 s&@localedir@&$localedir&g
22551 s&@mandir@&$mandir&g
22552 s&\\\${datarootdir}&$datarootdir&g' ;;
22556 # Neutralize VPATH when `$srcdir' = `.'.
22557 # Shell code in configure.ac might set extrasub.
22558 # FIXME: do we really want to maintain this feature?
22559 cat >>$CONFIG_STATUS <<_ACEOF
22563 cat >>$CONFIG_STATUS <<\_ACEOF
22565 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22566 s
&@configure_input@
&$configure_input&;t t
22567 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22568 s
&@srcdir@
&$ac_srcdir&;t t
22569 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22570 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22571 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22572 s
&@builddir@
&$ac_builddir&;t t
22573 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22574 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22575 s
&@INSTALL@
&$ac_INSTALL&;t t
22576 $ac_datarootdir_hack
22577 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22579 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22580 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22581 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22582 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22583 which seems to be undefined. Please make sure it is defined." >&5
22584 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22585 which seems to be undefined. Please make sure it is defined." >&2;}
22589 -) cat "$tmp/out"; rm -f "$tmp/out";;
22590 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22599 # Transform confdefs.h into a sed script `conftest.defines', that
22600 # substitutes the proper values into config.h.in to produce config.h.
22601 rm -f conftest.defines conftest.
tail
22602 # First, append a space to every undef/define line, to ease matching.
22603 echo 's/$/ /' >conftest.defines
22604 # Then, protect against being on the right side of a sed subst, or in
22605 # an unquoted here document, in config.status. If some macros were
22606 # called several times there might be several #defines for the same
22607 # symbol, which is useless. But do not sort them, since the last
22608 # AC_DEFINE must be honored.
22609 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
22610 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22611 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22612 # PARAMS is the parameter list in the macro definition--in most cases, it's
22613 # just an empty string.
22614 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22615 ac_dB
='\\)[ (].*,\\1define\\2'
22623 s/^[ ]*#[ ]*define[ ][ ]*//
22628 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22629 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22630 ' >>conftest.defines
22632 # Remove the space that was appended to ease matching.
22633 # Then replace #undef with comments. This is necessary, for
22634 # example, in the case of _POSIX_SOURCE, which is predefined and required
22635 # on some systems where configure will not decide to define it.
22636 # (The regexp can be short, since the line contains either #define or #undef.)
22638 s,^[ #]*u.*,/* & */,' >>conftest.defines
22640 # Break up conftest.defines:
22641 ac_max_sed_lines
=50
22643 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22644 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22645 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22647 ac_in
='$ac_file_inputs'
22648 ac_out
='"$tmp/out1"'
22649 ac_nxt
='"$tmp/out2"'
22653 # Write a here document:
22654 cat >>$CONFIG_STATUS <<_ACEOF
22655 # First, check the format of the line:
22656 cat >"\$tmp/defines.sed" <<\\CEOF
22657 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22658 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22662 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22664 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22665 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22666 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22667 grep . conftest.
tail >/dev
/null ||
break
22668 rm -f conftest.defines
22669 mv conftest.
tail conftest.defines
22671 rm -f conftest.defines conftest.
tail
22673 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22674 cat >>$CONFIG_STATUS <<\_ACEOF
22675 if test x
"$ac_file" != x-
; then
22676 echo "/* $configure_input */" >"$tmp/config.h"
22677 cat "$ac_result" >>"$tmp/config.h"
22678 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
22679 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22680 echo "$as_me: $ac_file is unchanged" >&6;}
22683 mv "$tmp/config.h" $ac_file
22686 echo "/* $configure_input */"
22692 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22693 echo "$as_me: executing $ac_file commands" >&6;}
22698 case $ac_file$ac_mode in
22699 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
22700 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22701 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
22702 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22703 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
22704 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22705 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
22706 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22707 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
22708 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22709 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
22710 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
22711 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
22717 { (exit 0); exit 0; }
22719 chmod +x
$CONFIG_STATUS
22720 ac_clean_files
=$ac_clean_files_save
22723 # configure is writing to config.log, and then calls config.status.
22724 # config.status does its own redirection, appending to config.log.
22725 # Unfortunately, on DOS this fails, as config.log is still kept open
22726 # by configure, so config.status won't be able to write to it; its
22727 # output is simply discarded. So we exec the FD to /dev/null,
22728 # effectively closing config.log, so it can be properly (re)opened and
22729 # appended to by config.status. When coming back to configure, we
22730 # need to make the FD available again.
22731 if test "$no_create" != yes; then
22733 ac_config_status_args
=
22734 test "$silent" = yes &&
22735 ac_config_status_args
="$ac_config_status_args --quiet"
22737 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22739 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22740 # would make configure fail if this is the last instruction.
22741 $ac_cs_success ||
{ (exit 1); exit 1; }
22746 if test "$no_create" = "yes"
22751 if test "$verbose" = "yes"
22753 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
22756 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
22757 echo "$as_me: libcapi20 development files not found." >&6;}
22758 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
22759 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
22762 if test "$ac_cv_header_cups_cups_h" != "yes"
22765 { echo "$as_me:$LINENO: libcups development files not found." >&5
22766 echo "$as_me: libcups development files not found." >&6;}
22767 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
22768 echo "$as_me: Wine will be built without CUPS support." >&6;}
22772 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
22775 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
22776 echo "$as_me: libgphoto2 development files not found." >&6;}
22777 if test "$ac_cv_header_sane_sane_h" = "yes"
22779 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
22780 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
22782 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
22783 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
22787 if test "$ac_cv_header_hal_libhal_h" != "yes"
22790 { echo "$as_me:$LINENO: libhal development files not found." >&5
22791 echo "$as_me: libhal development files not found." >&6;}
22792 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
22793 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
22796 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
22799 { echo "$as_me:$LINENO: libicu development files not found." >&5
22800 echo "$as_me: libicu development files not found." >&6;}
22801 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
22802 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
22805 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
22808 { echo "$as_me:$LINENO: liblcms development files not found." >&5
22809 echo "$as_me: liblcms development files not found." >&6;}
22810 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
22811 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
22814 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
22817 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
22818 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
22819 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
22820 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
22823 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
22826 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
22827 echo "$as_me: lib(n)curses development files not found." >&6;}
22828 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
22829 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
22832 if test "$ac_cv_header_sane_sane_h" != "yes"
22835 { echo "$as_me:$LINENO: libsane development files not found." >&5
22836 echo "$as_me: libsane development files not found." >&6;}
22837 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
22838 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
22841 if test "$have_x" = "yes"
22843 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
22846 { echo "$as_me:$LINENO: libxext development files not found." >&5
22847 echo "$as_me: libxext development files not found." >&6;}
22848 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22849 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22852 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22855 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22856 echo "$as_me: libXrandr development files not found." >&6;}
22857 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22858 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22861 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22864 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22865 echo "$as_me: libXrender development files not found." >&6;}
22866 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22867 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22870 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22873 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22874 echo "$as_me: libXxf86vm development files not found." >&6;}
22875 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22876 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22880 if test "$ac_cv_header_libxml_parser_h" != "yes"
22883 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22884 echo "$as_me: libxml2 development files not found." >&6;}
22885 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22886 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22889 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22892 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22893 echo "$as_me: libxslt development files not found." >&6;}
22894 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22895 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22900 if test "$have_x" = "no"
22903 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22904 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22905 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22906 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22907 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22908 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22909 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22910 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22913 if test -z "$OPENGLFILES"
22916 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22917 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22918 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22919 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22920 if test "$wine_cv_opengl_headers_found" = "no"
22922 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22923 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22925 if test "$wine_cv_opengl_header_version_OK" = "no"
22927 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22928 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22929 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22931 if test -f /usr
/X11R
6/lib
/libGL.a
22933 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22934 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22935 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22936 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22938 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22939 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22944 if test "$wine_cv_msg_freetype" = "yes"
22947 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22948 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22949 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22950 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22951 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22952 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22953 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22954 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22957 if test -z "$FONTSSUBDIRS"
22960 if test "$FONTFORGE" = "false"
22962 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22963 echo "$as_me: WARNING: FontForge is missing." >&2;}
22965 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22966 echo "$as_me: WARNING: FreeType is missing." >&2;}
22968 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22969 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22972 if test -z "$ALSALIBS" -a \
22973 -z "$AUDIOIOLIBS" -a \
22975 -z "$ESD_LIBS" -a \
22976 -z "$ac_cv_lib_soname_jack" -a \
22977 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22978 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22979 "$ac_cv_header_soundcard_h" != "yes"
22982 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22983 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22984 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22985 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22986 { echo "$as_me:$LINENO: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&5
22987 echo "$as_me: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22991 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."