2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.40.
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.40'
578 PACKAGE_STRING
='Wine 0.9.40'
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
772 ac_subst_files
='MAKE_RULES
777 ac_precious_vars
='build_alias
792 # Initialize some variables set by options.
794 ac_init_version
=false
795 # The variables have the same names as the options, with
796 # dashes changed to underlines.
804 program_transform_name
=s
,x
,x
,
812 # Installation directory options.
813 # These are left unexpanded so users can "make install exec_prefix=/foo"
814 # and all the variables that are supposed to be based on exec_prefix
815 # by default will actually change.
816 # Use braces instead of parens because sh, perl, etc. also accept them.
817 # (The list follows the same order as the GNU Coding Standards.)
818 bindir
='${exec_prefix}/bin'
819 sbindir
='${exec_prefix}/sbin'
820 libexecdir
='${exec_prefix}/libexec'
821 datarootdir
='${prefix}/share'
822 datadir
='${datarootdir}'
823 sysconfdir
='${prefix}/etc'
824 sharedstatedir
='${prefix}/com'
825 localstatedir
='${prefix}/var'
826 includedir
='${prefix}/include'
827 oldincludedir
='/usr/include'
828 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
829 infodir
='${datarootdir}/info'
834 libdir
='${exec_prefix}/lib'
835 localedir
='${datarootdir}/locale'
836 mandir
='${datarootdir}/man'
842 # If the previous option needs an argument, assign it.
843 if test -n "$ac_prev"; then
844 eval $ac_prev=\
$ac_option
850 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
854 # Accept the important Cygnus configure options, so we can diagnose typos.
856 case $ac_dashdash$ac_option in
860 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
862 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
865 -build |
--build |
--buil |
--bui |
--bu)
866 ac_prev
=build_alias
;;
867 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
868 build_alias
=$ac_optarg ;;
870 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
871 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
872 ac_prev
=cache_file
;;
873 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
874 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
875 cache_file
=$ac_optarg ;;
878 cache_file
=config.cache
;;
880 -datadir |
--datadir |
--datadi |
--datad)
882 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
883 datadir
=$ac_optarg ;;
885 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
886 |
--dataroo |
--dataro |
--datar)
887 ac_prev
=datarootdir
;;
888 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
889 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
890 datarootdir
=$ac_optarg ;;
892 -disable-* |
--disable-*)
893 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
894 # Reject names that are not valid shell variable names.
895 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
896 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
897 { (exit 1); exit 1; }; }
898 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
899 eval enable_
$ac_feature=no
;;
901 -docdir |
--docdir |
--docdi |
--doc |
--do)
903 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
906 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
908 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
911 -enable-* |
--enable-*)
912 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
913 # Reject names that are not valid shell variable names.
914 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
915 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
916 { (exit 1); exit 1; }; }
917 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
918 eval enable_
$ac_feature=\
$ac_optarg ;;
920 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
921 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
922 |
--exec |
--exe |
--ex)
923 ac_prev
=exec_prefix
;;
924 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
925 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
926 |
--exec=* |
--exe=* |
--ex=*)
927 exec_prefix
=$ac_optarg ;;
929 -gas |
--gas |
--ga |
--g)
930 # Obsolete; use --with-gas.
933 -help |
--help |
--hel |
--he |
-h)
935 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
936 ac_init_help
=recursive
;;
937 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
938 ac_init_help
=short
;;
940 -host |
--host |
--hos |
--ho)
941 ac_prev
=host_alias
;;
942 -host=* |
--host=* |
--hos=* |
--ho=*)
943 host_alias
=$ac_optarg ;;
945 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
947 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
949 htmldir
=$ac_optarg ;;
951 -includedir |
--includedir |
--includedi |
--included |
--include \
952 |
--includ |
--inclu |
--incl |
--inc)
953 ac_prev
=includedir
;;
954 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
955 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
956 includedir
=$ac_optarg ;;
958 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
960 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
961 infodir
=$ac_optarg ;;
963 -libdir |
--libdir |
--libdi |
--libd)
965 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
968 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
969 |
--libexe |
--libex |
--libe)
970 ac_prev
=libexecdir
;;
971 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
972 |
--libexe=* |
--libex=* |
--libe=*)
973 libexecdir
=$ac_optarg ;;
975 -localedir |
--localedir |
--localedi |
--localed |
--locale)
977 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
978 localedir
=$ac_optarg ;;
980 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
981 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
982 ac_prev
=localstatedir
;;
983 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
984 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
985 localstatedir
=$ac_optarg ;;
987 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
989 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
993 # Obsolete; use --without-fp.
996 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
997 |
--no-cr |
--no-c |
-n)
1000 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1001 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1004 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1005 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1006 |
--oldin |
--oldi |
--old |
--ol |
--o)
1007 ac_prev
=oldincludedir
;;
1008 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1009 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1010 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1011 oldincludedir
=$ac_optarg ;;
1013 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1015 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1016 prefix
=$ac_optarg ;;
1018 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1019 |
--program-pre |
--program-pr |
--program-p)
1020 ac_prev
=program_prefix
;;
1021 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1022 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1023 program_prefix
=$ac_optarg ;;
1025 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1026 |
--program-suf |
--program-su |
--program-s)
1027 ac_prev
=program_suffix
;;
1028 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1029 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1030 program_suffix
=$ac_optarg ;;
1032 -program-transform-name |
--program-transform-name \
1033 |
--program-transform-nam |
--program-transform-na \
1034 |
--program-transform-n |
--program-transform- \
1035 |
--program-transform |
--program-transfor \
1036 |
--program-transfo |
--program-transf \
1037 |
--program-trans |
--program-tran \
1038 |
--progr-tra |
--program-tr |
--program-t)
1039 ac_prev
=program_transform_name
;;
1040 -program-transform-name=* |
--program-transform-name=* \
1041 |
--program-transform-nam=* |
--program-transform-na=* \
1042 |
--program-transform-n=* |
--program-transform-=* \
1043 |
--program-transform=* |
--program-transfor=* \
1044 |
--program-transfo=* |
--program-transf=* \
1045 |
--program-trans=* |
--program-tran=* \
1046 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1047 program_transform_name
=$ac_optarg ;;
1049 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1051 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1052 pdfdir
=$ac_optarg ;;
1054 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1056 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1059 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1060 |
-silent |
--silent |
--silen |
--sile |
--sil)
1063 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1065 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1067 sbindir
=$ac_optarg ;;
1069 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1070 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1071 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1073 ac_prev
=sharedstatedir
;;
1074 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1075 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1076 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1078 sharedstatedir
=$ac_optarg ;;
1080 -site |
--site |
--sit)
1082 -site=* |
--site=* |
--sit=*)
1085 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1087 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1088 srcdir
=$ac_optarg ;;
1090 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1091 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1092 ac_prev
=sysconfdir
;;
1093 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1094 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1095 sysconfdir
=$ac_optarg ;;
1097 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1098 ac_prev
=target_alias
;;
1099 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1100 target_alias
=$ac_optarg ;;
1102 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1105 -version |
--version |
--versio |
--versi |
--vers |
-V)
1106 ac_init_version
=: ;;
1109 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1112 { echo "$as_me: error: invalid package name: $ac_package" >&2
1113 { (exit 1); exit 1; }; }
1114 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1115 eval with_
$ac_package=\
$ac_optarg ;;
1117 -without-* |
--without-*)
1118 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1121 { echo "$as_me: error: invalid package name: $ac_package" >&2
1122 { (exit 1); exit 1; }; }
1123 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1124 eval with_
$ac_package=no
;;
1127 # Obsolete; use --with-x.
1130 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1131 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1132 ac_prev
=x_includes
;;
1133 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1134 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1135 x_includes
=$ac_optarg ;;
1137 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1138 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1139 ac_prev
=x_libraries
;;
1140 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1141 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1142 x_libraries
=$ac_optarg ;;
1144 -*) { echo "$as_me: error: unrecognized option: $ac_option
1145 Try \`$0 --help' for more information." >&2
1146 { (exit 1); exit 1; }; }
1150 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1153 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1154 { (exit 1); exit 1; }; }
1155 eval $ac_envvar=\
$ac_optarg
1156 export $ac_envvar ;;
1159 # FIXME: should be removed in autoconf 3.0.
1160 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1161 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1162 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1163 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1169 if test -n "$ac_prev"; then
1170 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1171 { echo "$as_me: error: missing argument to $ac_option" >&2
1172 { (exit 1); exit 1; }; }
1175 # Be sure to have absolute directory names.
1176 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1177 datadir sysconfdir sharedstatedir localstatedir includedir \
1178 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1179 libdir localedir mandir
1181 eval ac_val
=\$
$ac_var
1183 [\\/$
]* | ?
:[\\/]* ) continue;;
1184 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1186 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1187 { (exit 1); exit 1; }; }
1190 # There might be people who depend on the old broken behavior: `$host'
1191 # used to hold the argument of --host etc.
1192 # FIXME: To remove some day.
1195 target
=$target_alias
1197 # FIXME: To remove some day.
1198 if test "x$host_alias" != x
; then
1199 if test "x$build_alias" = x
; then
1200 cross_compiling
=maybe
1201 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1202 If a cross compiler is detected then cross compile mode will be used." >&2
1203 elif test "x$build_alias" != "x$host_alias"; then
1209 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1211 test "$silent" = yes && exec 6>/dev
/null
1214 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1215 ac_ls_di
=`ls -di .` &&
1216 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1217 { echo "$as_me: error: Working directory cannot be determined" >&2
1218 { (exit 1); exit 1; }; }
1219 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1220 { echo "$as_me: error: pwd does not report name of working directory" >&2
1221 { (exit 1); exit 1; }; }
1224 # Find the source files, if location was not specified.
1225 if test -z "$srcdir"; then
1226 ac_srcdir_defaulted
=yes
1227 # Try the directory containing this script, then the parent directory.
1228 ac_confdir
=`$as_dirname -- "$0" ||
1229 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1230 X"$0" : 'X\(//\)[^/]' \| \
1231 X"$0" : 'X\(//\)$' \| \
1232 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1252 if test ! -r "$srcdir/$ac_unique_file"; then
1256 ac_srcdir_defaulted
=no
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1259 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1260 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1261 { (exit 1); exit 1; }; }
1263 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1265 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1266 { (exit 1); exit 1; }; }
1268 # When building in place, set srcdir=.
1269 if test "$ac_abs_confdir" = "$ac_pwd"; then
1272 # Remove unnecessary trailing slashes from srcdir.
1273 # Double slashes in file names in object file debugging info
1274 # mess up M-x gdb in Emacs.
1276 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1278 for ac_var
in $ac_precious_vars; do
1279 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1280 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1281 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1282 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1286 # Report the --help message.
1288 if test "$ac_init_help" = "long"; then
1289 # Omit some internal or obsolete options to make the list less imposing.
1290 # This message is too long to be a string in the A/UX 3.1 sh.
1292 \`configure' configures Wine 0.9.40 to adapt to many kinds of systems.
1294 Usage: $0 [OPTION]... [VAR=VALUE]...
1296 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1297 VAR=VALUE. See below for descriptions of some of the useful variables.
1299 Defaults for the options are specified in brackets.
1302 -h, --help display this help and exit
1303 --help=short display options specific to this package
1304 --help=recursive display the short help of all the included packages
1305 -V, --version display version information and exit
1306 -q, --quiet, --silent do not print \`checking...' messages
1307 --cache-file=FILE cache test results in FILE [disabled]
1308 -C, --config-cache alias for \`--cache-file=config.cache'
1309 -n, --no-create do not create output files
1310 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1312 Installation directories:
1313 --prefix=PREFIX install architecture-independent files in PREFIX
1314 [$ac_default_prefix]
1315 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1318 By default, \`make install' will install all the files in
1319 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1320 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1321 for instance \`--prefix=\$HOME'.
1323 For better control, use the options below.
1325 Fine tuning of the installation directories:
1326 --bindir=DIR user executables [EPREFIX/bin]
1327 --sbindir=DIR system admin executables [EPREFIX/sbin]
1328 --libexecdir=DIR program executables [EPREFIX/libexec]
1329 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1330 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1331 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1332 --libdir=DIR object code libraries [EPREFIX/lib]
1333 --includedir=DIR C header files [PREFIX/include]
1334 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1335 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1336 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1337 --infodir=DIR info documentation [DATAROOTDIR/info]
1338 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1339 --mandir=DIR man documentation [DATAROOTDIR/man]
1340 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1341 --htmldir=DIR html documentation [DOCDIR]
1342 --dvidir=DIR dvi documentation [DOCDIR]
1343 --pdfdir=DIR pdf documentation [DOCDIR]
1344 --psdir=DIR ps documentation [DOCDIR]
1350 --x-includes=DIR X include files are
in DIR
1351 --x-libraries=DIR X library files are
in DIR
1354 --build=BUILD configure
for building on BUILD
[guessed
]
1355 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1359 if test -n "$ac_init_help"; then
1360 case $ac_init_help in
1361 short | recursive
) echo "Configuration of Wine 0.9.40:";;
1366 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1367 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1368 --disable-win16 do not include Win16 support
1369 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1373 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1374 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1375 --without-opengl do not use OpenGL
1376 --with-wine-tools=<dir> use Wine tools from directory <dir>
1377 --with-x use the X Window System
1379 Some influential environment variables:
1380 CC C compiler command
1381 CFLAGS C compiler flags
1382 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1383 nonstandard directory <lib dir>
1384 LIBS libraries to pass to the linker, e.g. -l<library>
1385 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1386 you have headers in a nonstandard directory <include dir>
1387 CXX C++ compiler command
1388 CXXFLAGS C++ compiler flags
1389 XMKMF Path to xmkmf, Makefile generator for X Window System
1392 Use these variables to override the choices made by `configure' or to
help
1393 it to
find libraries and programs with nonstandard names
/locations.
1395 Report bugs to
<wine-devel@winehq.org
>.
1400 if test "$ac_init_help" = "recursive"; then
1401 # If there are subdirs, report their specific --help.
1402 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1403 test -d "$ac_dir" ||
continue
1407 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1409 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1410 # A ".." for each directory in $ac_dir_suffix.
1411 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1412 case $ac_top_builddir_sub in
1413 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1414 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1417 ac_abs_top_builddir
=$ac_pwd
1418 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1419 # for backward compatibility:
1420 ac_top_builddir
=$ac_top_build_prefix
1423 .
) # We are building in place.
1425 ac_top_srcdir
=$ac_top_builddir_sub
1426 ac_abs_top_srcdir
=$ac_pwd ;;
1427 [\\/]* | ?
:[\\/]* ) # Absolute name.
1428 ac_srcdir
=$srcdir$ac_dir_suffix;
1429 ac_top_srcdir
=$srcdir
1430 ac_abs_top_srcdir
=$srcdir ;;
1432 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1433 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1434 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1436 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1438 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1439 # Check for guested configure.
1440 if test -f "$ac_srcdir/configure.gnu"; then
1442 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1443 elif test -f "$ac_srcdir/configure"; then
1445 $SHELL "$ac_srcdir/configure" --help=recursive
1447 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1449 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1453 test -n "$ac_init_help" && exit $ac_status
1454 if $ac_init_version; then
1456 Wine configure
0.9.40
1457 generated by GNU Autoconf
2.61
1459 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1460 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1461 This configure
script is free software
; the Free Software Foundation
1462 gives unlimited permission to copy
, distribute and modify it.
1466 cat >config.log
<<_ACEOF
1467 This file contains any messages produced by compilers while
1468 running configure, to aid debugging if configure makes a mistake.
1470 It was created by Wine $as_me 0.9.40, which was
1471 generated by GNU Autoconf 2.61. Invocation command line was
1483 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1484 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1485 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1486 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1487 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1489 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1490 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1492 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1493 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1494 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1495 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1496 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1497 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1498 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1506 test -z "$as_dir" && as_dir
=.
1507 echo "PATH: $as_dir"
1523 # Keep a trace of the command line.
1524 # Strip out --no-create and --no-recursion so they do not pile up.
1525 # Strip out --silent because we don't want to record it for future runs.
1526 # Also quote any args containing shell meta-characters.
1527 # Make two passes to allow for proper duplicate-argument suppression.
1531 ac_must_keep_next
=false
1537 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1538 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1539 |
-silent |
--silent |
--silen |
--sile |
--sil)
1542 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1545 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1547 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1548 if test $ac_must_keep_next = true
; then
1549 ac_must_keep_next
=false
# Got value, back to normal.
1552 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1553 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1554 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1555 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1556 case "$ac_configure_args0 " in
1557 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1560 -* ) ac_must_keep_next
=true
;;
1563 ac_configure_args
="$ac_configure_args '$ac_arg'"
1568 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1569 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1571 # When interrupted or exit'd, cleanup temporary files, and complete
1572 # config.log. We remove comments because anyway the quotes in there
1573 # would cause problems or look ugly.
1574 # WARNING: Use '\'' to represent an apostrophe within the trap.
1575 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1576 trap 'exit_status=$?
1577 # Save into config.log some information that might help in debugging.
1582 ## ---------------- ##
1583 ## Cache variables. ##
1584 ## ---------------- ##
1587 # The following way of writing the cache mishandles newlines in values,
1589 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1590 eval ac_val=\$$ac_var
1594 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1595 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1598 _ | IFS | as_nl) ;; #(
1599 *) $as_unset $ac_var ;;
1604 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1605 *${as_nl}ac_space=\ *)
1607 "s/'\''/'\''\\\\'\'''\''/g;
1608 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1611 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1619 ## ----------------- ##
1620 ## Output variables. ##
1621 ## ----------------- ##
1624 for ac_var in $ac_subst_vars
1626 eval ac_val=\$$ac_var
1628 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1630 echo "$ac_var='\''$ac_val'\''"
1634 if test -n "$ac_subst_files"; then
1636 ## ------------------- ##
1637 ## File substitutions. ##
1638 ## ------------------- ##
1641 for ac_var
in $ac_subst_files
1643 eval ac_val
=\$
$ac_var
1645 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1647 echo "$ac_var='\''$ac_val'\''"
1652 if test -s confdefs.h; then
1662 test "$ac_signal" != 0 &&
1663 echo "$as_me: caught signal $ac_signal"
1664 echo "$as_me: exit $exit_status"
1666 rm -f core *.core core.conftest.* &&
1667 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1670 for ac_signal
in 1 2 13 15; do
1671 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1675 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1676 rm -f -r conftest
* confdefs.h
1678 # Predefined preprocessor variables.
1680 cat >>confdefs.h
<<_ACEOF
1681 #define PACKAGE_NAME "$PACKAGE_NAME"
1685 cat >>confdefs.h
<<_ACEOF
1686 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1690 cat >>confdefs.h
<<_ACEOF
1691 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1695 cat >>confdefs.h
<<_ACEOF
1696 #define PACKAGE_STRING "$PACKAGE_STRING"
1700 cat >>confdefs.h
<<_ACEOF
1701 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1705 # Let the site file select an alternate cache file if it wants to.
1706 # Prefer explicitly selected file to automatically selected ones.
1707 if test -n "$CONFIG_SITE"; then
1708 set x
"$CONFIG_SITE"
1709 elif test "x$prefix" != xNONE
; then
1710 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1712 set x
"$ac_default_prefix/share/config.site" \
1713 "$ac_default_prefix/etc/config.site"
1718 if test -r "$ac_site_file"; then
1719 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1720 echo "$as_me: loading site script $ac_site_file" >&6;}
1721 sed 's/^/| /' "$ac_site_file" >&5
1726 if test -r "$cache_file"; then
1727 # Some versions of bash will fail to source /dev/null (special
1728 # files actually), so we avoid doing that.
1729 if test -f "$cache_file"; then
1730 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1731 echo "$as_me: loading cache $cache_file" >&6;}
1733 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1734 *) .
"./$cache_file";;
1738 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1739 echo "$as_me: creating cache $cache_file" >&6;}
1743 # Check that the precious variables saved in the cache have kept the same
1745 ac_cache_corrupted
=false
1746 for ac_var
in $ac_precious_vars; do
1747 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1748 eval ac_new_set
=\
$ac_env_${ac_var}_set
1749 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1750 eval ac_new_val
=\
$ac_env_${ac_var}_value
1751 case $ac_old_set,$ac_new_set in
1753 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1754 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1755 ac_cache_corrupted
=: ;;
1757 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1758 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1759 ac_cache_corrupted
=: ;;
1762 if test "x$ac_old_val" != "x$ac_new_val"; then
1763 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1764 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1765 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1766 echo "$as_me: former value: $ac_old_val" >&2;}
1767 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1768 echo "$as_me: current value: $ac_new_val" >&2;}
1769 ac_cache_corrupted
=:
1772 # Pass precious variables to config.status.
1773 if test "$ac_new_set" = set; then
1775 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1776 *) ac_arg
=$ac_var=$ac_new_val ;;
1778 case " $ac_configure_args " in
1779 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1780 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1784 if $ac_cache_corrupted; then
1785 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1786 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1787 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1788 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1789 { (exit 1); exit 1; }; }
1817 ac_cpp
='$CPP $CPPFLAGS'
1818 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1819 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1820 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1824 ac_config_headers
="$ac_config_headers include/config.h"
1827 for ac_dir
in tools
"$srcdir"/tools
; do
1828 if test -f "$ac_dir/install-sh"; then
1830 ac_install_sh
="$ac_aux_dir/install-sh -c"
1832 elif test -f "$ac_dir/install.sh"; then
1834 ac_install_sh
="$ac_aux_dir/install.sh -c"
1836 elif test -f "$ac_dir/shtool"; then
1838 ac_install_sh
="$ac_aux_dir/shtool install -c"
1842 if test -z "$ac_aux_dir"; then
1843 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1844 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1845 { (exit 1); exit 1; }; }
1848 # These three variables are undocumented and unsupported,
1849 # and are intended to be withdrawn in a future Autoconf release.
1850 # They can cause serious problems if a builder's source tree is in a directory
1851 # whose full name contains unusual characters.
1852 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1853 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1854 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1859 # Check whether --enable-win16 was given.
1860 if test "${enable_win16+set}" = set; then
1861 enableval
=$enable_win16;
1864 # Check whether --enable-win64 was given.
1865 if test "${enable_win64+set}" = set; then
1866 enableval
=$enable_win64;
1871 # Check whether --with-opengl was given.
1872 if test "${with_opengl+set}" = set; then
1873 withval
=$with_opengl;
1877 # Check whether --with-wine-tools was given.
1878 if test "${with_wine_tools+set}" = set; then
1879 withval
=$with_wine_tools;
1883 # Make sure we can run config.sub.
1884 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1885 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1886 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1887 { (exit 1); exit 1; }; }
1889 { echo "$as_me:$LINENO: checking build system type" >&5
1890 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1891 if test "${ac_cv_build+set}" = set; then
1892 echo $ECHO_N "(cached) $ECHO_C" >&6
1894 ac_build_alias
=$build_alias
1895 test "x$ac_build_alias" = x
&&
1896 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1897 test "x$ac_build_alias" = x
&&
1898 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1899 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1900 { (exit 1); exit 1; }; }
1901 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1902 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1903 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1904 { (exit 1); exit 1; }; }
1907 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1908 echo "${ECHO_T}$ac_cv_build" >&6; }
1909 case $ac_cv_build in
1911 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1912 echo "$as_me: error: invalid value of canonical build" >&2;}
1913 { (exit 1); exit 1; }; };;
1916 ac_save_IFS
=$IFS; IFS
='-'
1922 # Remember, the first character of IFS is used to create $*,
1923 # except with old shells:
1926 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1929 { echo "$as_me:$LINENO: checking host system type" >&5
1930 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1931 if test "${ac_cv_host+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1934 if test "x$host_alias" = x
; then
1935 ac_cv_host
=$ac_cv_build
1937 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1938 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1939 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1940 { (exit 1); exit 1; }; }
1944 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1945 echo "${ECHO_T}$ac_cv_host" >&6; }
1948 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1949 echo "$as_me: error: invalid value of canonical host" >&2;}
1950 { (exit 1); exit 1; }; };;
1953 ac_save_IFS
=$IFS; IFS
='-'
1959 # Remember, the first character of IFS is used to create $*,
1960 # except with old shells:
1963 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1968 if test "x$enable_win64" != "xyes"
1970 test -n "$CC" || CC
="gcc -m32"
1971 test -n "$LD" || LD
="ld -m elf_i386"
1972 test -n "$AS" || AS
="as --32"
1980 if test "x$enable_win16" != "xno"
1987 WIN16_FILES
="\$(WIN16_FILES)"
1989 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1991 if test "x$enable_win16" != "xyes"
1999 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2000 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2001 You need to run 'make distclean' in the source tree first." >&5
2002 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2003 You need to run 'make distclean' in the source tree first." >&2;}
2004 { (exit 1); exit 1; }; }
2009 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2010 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2011 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2012 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2013 echo $ECHO_N "(cached) $ECHO_C" >&6
2015 cat >conftest.
make <<\_ACEOF
2018 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2020 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2021 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2023 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2025 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2029 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2030 { echo "$as_me:$LINENO: result: yes" >&5
2031 echo "${ECHO_T}yes" >&6; }
2034 { echo "$as_me:$LINENO: result: no" >&5
2035 echo "${ECHO_T}no" >&6; }
2036 SET_MAKE
="MAKE=${MAKE-make}"
2040 ac_cpp
='$CPP $CPPFLAGS'
2041 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2042 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2043 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2044 if test -n "$ac_tool_prefix"; then
2045 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2046 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2049 if test "${ac_cv_prog_CC+set}" = set; then
2050 echo $ECHO_N "(cached) $ECHO_C" >&6
2052 if test -n "$CC"; then
2053 ac_cv_prog_CC
="$CC" # Let the user override the test.
2055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2059 test -z "$as_dir" && as_dir
=.
2060 for ac_exec_ext
in '' $ac_executable_extensions; do
2061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2062 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2073 if test -n "$CC"; then
2074 { echo "$as_me:$LINENO: result: $CC" >&5
2075 echo "${ECHO_T}$CC" >&6; }
2077 { echo "$as_me:$LINENO: result: no" >&5
2078 echo "${ECHO_T}no" >&6; }
2083 if test -z "$ac_cv_prog_CC"; then
2085 # Extract the first word of "gcc", so it can be a program name with args.
2086 set dummy gcc
; ac_word
=$2
2087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2089 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2090 echo $ECHO_N "(cached) $ECHO_C" >&6
2092 if test -n "$ac_ct_CC"; then
2093 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2099 test -z "$as_dir" && as_dir
=.
2100 for ac_exec_ext
in '' $ac_executable_extensions; do
2101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2102 ac_cv_prog_ac_ct_CC
="gcc"
2103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2112 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2113 if test -n "$ac_ct_CC"; then
2114 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2115 echo "${ECHO_T}$ac_ct_CC" >&6; }
2117 { echo "$as_me:$LINENO: result: no" >&5
2118 echo "${ECHO_T}no" >&6; }
2121 if test "x$ac_ct_CC" = x
; then
2124 case $cross_compiling:$ac_tool_warned in
2126 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2127 whose name does not start with the host triplet. If you think this
2128 configuration is useful to you, please write to autoconf@gnu.org." >&5
2129 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2130 whose name does not start with the host triplet. If you think this
2131 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2132 ac_tool_warned
=yes ;;
2140 if test -z "$CC"; then
2141 if test -n "$ac_tool_prefix"; then
2142 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2143 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2146 if test "${ac_cv_prog_CC+set}" = set; then
2147 echo $ECHO_N "(cached) $ECHO_C" >&6
2149 if test -n "$CC"; then
2150 ac_cv_prog_CC
="$CC" # Let the user override the test.
2152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2156 test -z "$as_dir" && as_dir
=.
2157 for ac_exec_ext
in '' $ac_executable_extensions; do
2158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2159 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2170 if test -n "$CC"; then
2171 { echo "$as_me:$LINENO: result: $CC" >&5
2172 echo "${ECHO_T}$CC" >&6; }
2174 { echo "$as_me:$LINENO: result: no" >&5
2175 echo "${ECHO_T}no" >&6; }
2181 if test -z "$CC"; then
2182 # Extract the first word of "cc", so it can be a program name with args.
2183 set dummy cc
; ac_word
=$2
2184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2186 if test "${ac_cv_prog_CC+set}" = set; then
2187 echo $ECHO_N "(cached) $ECHO_C" >&6
2189 if test -n "$CC"; then
2190 ac_cv_prog_CC
="$CC" # Let the user override the test.
2193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2197 test -z "$as_dir" && as_dir
=.
2198 for ac_exec_ext
in '' $ac_executable_extensions; do
2199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2200 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2201 ac_prog_rejected
=yes
2205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2212 if test $ac_prog_rejected = yes; then
2213 # We found a bogon in the path, so make sure we never use it.
2214 set dummy
$ac_cv_prog_CC
2216 if test $# != 0; then
2217 # We chose a different compiler from the bogus one.
2218 # However, it has the same basename, so the bogon will be chosen
2219 # first if we set CC to just the basename; use the full file name.
2221 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2227 if test -n "$CC"; then
2228 { echo "$as_me:$LINENO: result: $CC" >&5
2229 echo "${ECHO_T}$CC" >&6; }
2231 { echo "$as_me:$LINENO: result: no" >&5
2232 echo "${ECHO_T}no" >&6; }
2237 if test -z "$CC"; then
2238 if test -n "$ac_tool_prefix"; then
2239 for ac_prog
in cl.exe
2241 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2242 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2245 if test "${ac_cv_prog_CC+set}" = set; then
2246 echo $ECHO_N "(cached) $ECHO_C" >&6
2248 if test -n "$CC"; then
2249 ac_cv_prog_CC
="$CC" # Let the user override the test.
2251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2255 test -z "$as_dir" && as_dir
=.
2256 for ac_exec_ext
in '' $ac_executable_extensions; do
2257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2258 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2269 if test -n "$CC"; then
2270 { echo "$as_me:$LINENO: result: $CC" >&5
2271 echo "${ECHO_T}$CC" >&6; }
2273 { echo "$as_me:$LINENO: result: no" >&5
2274 echo "${ECHO_T}no" >&6; }
2278 test -n "$CC" && break
2281 if test -z "$CC"; then
2283 for ac_prog
in cl.exe
2285 # Extract the first word of "$ac_prog", so it can be a program name with args.
2286 set dummy
$ac_prog; ac_word
=$2
2287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2289 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2290 echo $ECHO_N "(cached) $ECHO_C" >&6
2292 if test -n "$ac_ct_CC"; then
2293 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2299 test -z "$as_dir" && as_dir
=.
2300 for ac_exec_ext
in '' $ac_executable_extensions; do
2301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2302 ac_cv_prog_ac_ct_CC
="$ac_prog"
2303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2312 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2313 if test -n "$ac_ct_CC"; then
2314 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2315 echo "${ECHO_T}$ac_ct_CC" >&6; }
2317 { echo "$as_me:$LINENO: result: no" >&5
2318 echo "${ECHO_T}no" >&6; }
2322 test -n "$ac_ct_CC" && break
2325 if test "x$ac_ct_CC" = x
; then
2328 case $cross_compiling:$ac_tool_warned in
2330 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2331 whose name does not start with the host triplet. If you think this
2332 configuration is useful to you, please write to autoconf@gnu.org." >&5
2333 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2334 whose name does not start with the host triplet. If you think this
2335 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2336 ac_tool_warned
=yes ;;
2345 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2346 See \`config.log' for more details." >&5
2347 echo "$as_me: error: no acceptable C compiler found in \$PATH
2348 See \`config.log' for more details." >&2;}
2349 { (exit 1); exit 1; }; }
2351 # Provide some information about the compiler.
2352 echo "$as_me:$LINENO: checking for C compiler version" >&5
2353 ac_compiler
=`set X $ac_compile; echo $2`
2354 { (ac_try
="$ac_compiler --version >&5"
2356 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2357 *) ac_try_echo=$ac_try;;
2359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2360 (eval "$ac_compiler --version >&5") 2>&5
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); }
2364 { (ac_try="$ac_compiler -v >&5"
2366 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2367 *) ac_try_echo
=$ac_try;;
2369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2370 (eval "$ac_compiler -v >&5") 2>&5
2372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373 (exit $ac_status); }
2374 { (ac_try
="$ac_compiler -V >&5"
2376 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2377 *) ac_try_echo=$ac_try;;
2379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2380 (eval "$ac_compiler -V >&5") 2>&5
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }
2385 cat >conftest.$ac_ext <<_ACEOF
2388 cat confdefs.h >>conftest.$ac_ext
2389 cat >>conftest.$ac_ext <<_ACEOF
2390 /* end confdefs.h. */
2400 ac_clean_files_save=$ac_clean_files
2401 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2402 # Try to create an executable without -o first, disregard a.out.
2403 # It will help us diagnose broken compilers, and finding out an intuition
2405 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2406 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2407 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2409 # List of possible output files, starting from the most likely.
2410 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2411 # only as a last resort. b.out is created by i960 compilers.
2412 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2414 # The IRIX 6 linker writes into existing files which may not be
2415 # executable, retaining their permissions. Remove them first so a
2416 # subsequent execution test works.
2418 for ac_file in $ac_files
2421 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2422 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2427 if { (ac_try="$ac_link_default"
2429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2430 *) ac_try_echo=$ac_try;;
2432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2433 (eval "$ac_link_default") 2>&5
2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); }; then
2437 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2438 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2439 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2440 # so that the user can short-circuit this test for compilers unknown to
2442 for ac_file
in $ac_files ''
2444 test -f "$ac_file" ||
continue
2446 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2449 # We found the default executable, but exeext='' is most
2453 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2455 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2457 # We set ac_cv_exeext here because the later test for it is not
2458 # safe: cross compilers may not add the suffix if given an `-o'
2459 # argument, so we may need to know it at that point already.
2460 # Even if this section looks crufty: it has the advantage of
2467 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2473 { echo "$as_me:$LINENO: result: $ac_file" >&5
2474 echo "${ECHO_T}$ac_file" >&6; }
2475 if test -z "$ac_file"; then
2476 echo "$as_me: failed program was:" >&5
2477 sed 's/^/| /' conftest.
$ac_ext >&5
2479 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2480 See \`config.log' for more details." >&5
2481 echo "$as_me: error: C compiler cannot create executables
2482 See \`config.log' for more details." >&2;}
2483 { (exit 77); exit 77; }; }
2486 ac_exeext
=$ac_cv_exeext
2488 # Check that the compiler produces executables we can run. If not, either
2489 # the compiler is broken, or we cross compile.
2490 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2491 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2492 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2493 # If not cross compiling, check that we can run a simple program.
2494 if test "$cross_compiling" != yes; then
2495 if { ac_try
='./$ac_file'
2496 { (case "(($ac_try" in
2497 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2498 *) ac_try_echo=$ac_try;;
2500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2501 (eval "$ac_try") 2>&5
2503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504 (exit $ac_status); }; }; then
2507 if test "$cross_compiling" = maybe; then
2510 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2511 If you meant to cross compile, use \`--host'.
2512 See \`config.log' for more details.
" >&5
2513 echo "$as_me: error
: cannot run C compiled programs.
2514 If you meant to cross compile
, use \
`--host'.
2515 See \`config.log
' for more details." >&2;}
2516 { (exit 1); exit 1; }; }
2520 { echo "$as_me:$LINENO: result: yes" >&5
2521 echo "${ECHO_T}yes" >&6; }
2523 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2524 ac_clean_files=$ac_clean_files_save
2525 # Check that the compiler produces executables we can run. If not, either
2526 # the compiler is broken, or we cross compile.
2527 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2528 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2529 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2530 echo "${ECHO_T}$cross_compiling" >&6; }
2532 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2533 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2534 if { (ac_try="$ac_link"
2536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2537 *) ac_try_echo=$ac_try;;
2539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2540 (eval "$ac_link") 2>&5
2542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2543 (exit $ac_status); }; then
2544 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2545 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2546 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2548 for ac_file
in conftest.exe conftest conftest.
*; do
2549 test -f "$ac_file" ||
continue
2551 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2552 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2558 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2559 See \`config.log' for more details." >&5
2560 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2561 See \`config.log' for more details." >&2;}
2562 { (exit 1); exit 1; }; }
2565 rm -f conftest
$ac_cv_exeext
2566 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2567 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2569 rm -f conftest.
$ac_ext
2570 EXEEXT
=$ac_cv_exeext
2572 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2573 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2574 if test "${ac_cv_objext+set}" = set; then
2575 echo $ECHO_N "(cached) $ECHO_C" >&6
2577 cat >conftest.
$ac_ext <<_ACEOF
2580 cat confdefs.h
>>conftest.
$ac_ext
2581 cat >>conftest.
$ac_ext <<_ACEOF
2582 /* end confdefs.h. */
2592 rm -f conftest.o conftest.obj
2593 if { (ac_try
="$ac_compile"
2595 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2596 *) ac_try_echo=$ac_try;;
2598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2599 (eval "$ac_compile") 2>&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); }; then
2603 for ac_file in conftest.o conftest.obj conftest.*; do
2604 test -f "$ac_file" || continue;
2606 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2607 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2612 echo "$as_me: failed program was:" >&5
2613 sed 's/^/| /' conftest.$ac_ext >&5
2615 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2616 See \`config.log
' for more details." >&5
2617 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2618 See \`config.log' for more details.
" >&2;}
2619 { (exit 1); exit 1; }; }
2622 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2624 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2625 echo "${ECHO_T}$ac_cv_objext" >&6; }
2626 OBJEXT=$ac_cv_objext
2628 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2629 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2630 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2631 echo $ECHO_N "(cached
) $ECHO_C" >&6
2633 cat >conftest.$ac_ext <<_ACEOF
2636 cat confdefs.h >>conftest.$ac_ext
2637 cat >>conftest.$ac_ext <<_ACEOF
2638 /* end confdefs.h. */
2651 rm -f conftest.$ac_objext
2652 if { (ac_try="$ac_compile"
2654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2655 *) ac_try_echo=$ac_try;;
2657 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2658 (eval "$ac_compile") 2>conftest.er1
2660 grep -v '^ *+' conftest.er1 >conftest.err
2662 cat conftest.err >&5
2663 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2664 (exit $ac_status); } && {
2665 test -z "$ac_c_werror_flag" ||
2666 test ! -s conftest.err
2667 } && test -s conftest.$ac_objext; then
2670 echo "$as_me: failed program was
:" >&5
2671 sed 's/^/| /' conftest.$ac_ext >&5
2676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2677 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2680 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2681 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2682 GCC=`test $ac_compiler_gnu = yes && echo yes`
2683 ac_test_CFLAGS=${CFLAGS+set}
2684 ac_save_CFLAGS=$CFLAGS
2685 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2686 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2687 if test "${ac_cv_prog_cc_g+set}" = set; then
2688 echo $ECHO_N "(cached
) $ECHO_C" >&6
2690 ac_save_c_werror_flag=$ac_c_werror_flag
2691 ac_c_werror_flag=yes
2694 cat >conftest.$ac_ext <<_ACEOF
2697 cat confdefs.h >>conftest.$ac_ext
2698 cat >>conftest.$ac_ext <<_ACEOF
2699 /* end confdefs.h. */
2709 rm -f conftest.$ac_objext
2710 if { (ac_try="$ac_compile"
2712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2713 *) ac_try_echo=$ac_try;;
2715 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2716 (eval "$ac_compile") 2>conftest.er1
2718 grep -v '^ *+' conftest.er1 >conftest.err
2720 cat conftest.err >&5
2721 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2722 (exit $ac_status); } && {
2723 test -z "$ac_c_werror_flag" ||
2724 test ! -s conftest.err
2725 } && test -s conftest.$ac_objext; then
2728 echo "$as_me: failed program was
:" >&5
2729 sed 's/^/| /' conftest.$ac_ext >&5
2732 cat >conftest.$ac_ext <<_ACEOF
2735 cat confdefs.h >>conftest.$ac_ext
2736 cat >>conftest.$ac_ext <<_ACEOF
2737 /* end confdefs.h. */
2747 rm -f conftest.$ac_objext
2748 if { (ac_try="$ac_compile"
2750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2751 *) ac_try_echo=$ac_try;;
2753 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2754 (eval "$ac_compile") 2>conftest.er1
2756 grep -v '^ *+' conftest.er1 >conftest.err
2758 cat conftest.err >&5
2759 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2760 (exit $ac_status); } && {
2761 test -z "$ac_c_werror_flag" ||
2762 test ! -s conftest.err
2763 } && test -s conftest.$ac_objext; then
2766 echo "$as_me: failed program was
:" >&5
2767 sed 's/^/| /' conftest.$ac_ext >&5
2769 ac_c_werror_flag=$ac_save_c_werror_flag
2771 cat >conftest.$ac_ext <<_ACEOF
2774 cat confdefs.h >>conftest.$ac_ext
2775 cat >>conftest.$ac_ext <<_ACEOF
2776 /* end confdefs.h. */
2786 rm -f conftest.$ac_objext
2787 if { (ac_try="$ac_compile"
2789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2790 *) ac_try_echo=$ac_try;;
2792 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2793 (eval "$ac_compile") 2>conftest.er1
2795 grep -v '^ *+' conftest.er1 >conftest.err
2797 cat conftest.err >&5
2798 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2799 (exit $ac_status); } && {
2800 test -z "$ac_c_werror_flag" ||
2801 test ! -s conftest.err
2802 } && test -s conftest.$ac_objext; then
2805 echo "$as_me: failed program was
:" >&5
2806 sed 's/^/| /' conftest.$ac_ext >&5
2811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2818 ac_c_werror_flag=$ac_save_c_werror_flag
2820 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
2821 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2822 if test "$ac_test_CFLAGS" = set; then
2823 CFLAGS=$ac_save_CFLAGS
2824 elif test $ac_cv_prog_cc_g = yes; then
2825 if test "$GCC" = yes; then
2831 if test "$GCC" = yes; then
2837 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
2838 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
2839 if test "${ac_cv_prog_cc_c89+set}" = set; then
2840 echo $ECHO_N "(cached
) $ECHO_C" >&6
2842 ac_cv_prog_cc_c89=no
2844 cat >conftest.$ac_ext <<_ACEOF
2847 cat confdefs.h >>conftest.$ac_ext
2848 cat >>conftest.$ac_ext <<_ACEOF
2849 /* end confdefs.h. */
2852 #include <sys/types.h>
2853 #include <sys/stat.h>
2854 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2855 struct buf { int x; };
2856 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2857 static char *e (p, i)
2863 static char *f (char * (*g) (char **, int), char **p, ...)
2868 s = g (p, va_arg (v,int));
2873 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2874 function prototypes and stuff, but not '\xHH' hex character constants.
2875 These don't provoke an error unfortunately, instead are silently treated
2876 as 'x'. The following induces an error, until -std is added to get
2877 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2878 array size at least. It's necessary to write '\x00'==0 to get something
2879 that's true only with -std. */
2880 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2882 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2883 inside strings and character constants. */
2885 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2887 int test (int i, double x);
2888 struct s1 {int (*f) (int a);};
2889 struct s2 {int (*f) (double a);};
2890 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2896 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2901 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2902 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2904 CC="$ac_save_CC $ac_arg"
2905 rm -f conftest.$ac_objext
2906 if { (ac_try="$ac_compile"
2908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2909 *) ac_try_echo=$ac_try;;
2911 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2912 (eval "$ac_compile") 2>conftest.er1
2914 grep -v '^ *+' conftest.er1 >conftest.err
2916 cat conftest.err >&5
2917 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2918 (exit $ac_status); } && {
2919 test -z "$ac_c_werror_flag" ||
2920 test ! -s conftest.err
2921 } && test -s conftest.$ac_objext; then
2922 ac_cv_prog_cc_c89=$ac_arg
2924 echo "$as_me: failed program was
:" >&5
2925 sed 's/^/| /' conftest.$ac_ext >&5
2930 rm -f core conftest.err conftest.$ac_objext
2931 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
2933 rm -f conftest.$ac_ext
2938 case "x
$ac_cv_prog_cc_c89" in
2940 { echo "$as_me:$LINENO: result
: none needed
" >&5
2941 echo "${ECHO_T}none needed
" >&6; } ;;
2943 { echo "$as_me:$LINENO: result
: unsupported
" >&5
2944 echo "${ECHO_T}unsupported
" >&6; } ;;
2946 CC="$CC $ac_cv_prog_cc_c89"
2947 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
2948 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2953 ac_cpp='$CPP $CPPFLAGS'
2954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2959 ac_cpp='$CXXCPP $CPPFLAGS'
2960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2963 if test -z "$CXX"; then
2964 if test -n "$CCC"; then
2967 if test -n "$ac_tool_prefix"; then
2968 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2970 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2971 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2972 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
2973 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
2974 if test "${ac_cv_prog_CXX+set}" = set; then
2975 echo $ECHO_N "(cached
) $ECHO_C" >&6
2977 if test -n "$CXX"; then
2978 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2984 test -z "$as_dir" && as_dir=.
2985 for ac_exec_ext in '' $ac_executable_extensions; do
2986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2987 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2988 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2998 if test -n "$CXX"; then
2999 { echo "$as_me:$LINENO: result
: $CXX" >&5
3000 echo "${ECHO_T}$CXX" >&6; }
3002 { echo "$as_me:$LINENO: result
: no
" >&5
3003 echo "${ECHO_T}no
" >&6; }
3007 test -n "$CXX" && break
3010 if test -z "$CXX"; then
3012 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3014 # Extract the first word of "$ac_prog", so it can be a program name with args.
3015 set dummy $ac_prog; ac_word=$2
3016 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3017 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3018 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3019 echo $ECHO_N "(cached
) $ECHO_C" >&6
3021 if test -n "$ac_ct_CXX"; then
3022 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3028 test -z "$as_dir" && as_dir=.
3029 for ac_exec_ext in '' $ac_executable_extensions; do
3030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3031 ac_cv_prog_ac_ct_CXX="$ac_prog"
3032 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3041 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3042 if test -n "$ac_ct_CXX"; then
3043 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3044 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3046 { echo "$as_me:$LINENO: result
: no
" >&5
3047 echo "${ECHO_T}no
" >&6; }
3051 test -n "$ac_ct_CXX" && break
3054 if test "x
$ac_ct_CXX" = x; then
3057 case $cross_compiling:$ac_tool_warned in
3059 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3060 whose name does not start with the
host triplet. If you think this
3061 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3062 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3063 whose name does not start with the
host triplet. If you think this
3064 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3065 ac_tool_warned=yes ;;
3073 # Provide some information about the compiler.
3074 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3075 ac_compiler=`set X $ac_compile; echo $2`
3076 { (ac_try="$ac_compiler --version >&5"
3078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3079 *) ac_try_echo=$ac_try;;
3081 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3082 (eval "$ac_compiler --version >&5") 2>&5
3084 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3085 (exit $ac_status); }
3086 { (ac_try="$ac_compiler -v >&5"
3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089 *) ac_try_echo=$ac_try;;
3091 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3092 (eval "$ac_compiler -v >&5") 2>&5
3094 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3095 (exit $ac_status); }
3096 { (ac_try="$ac_compiler -V >&5"
3098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099 *) ac_try_echo=$ac_try;;
3101 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3102 (eval "$ac_compiler -V >&5") 2>&5
3104 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3105 (exit $ac_status); }
3107 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3108 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3109 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3110 echo $ECHO_N "(cached
) $ECHO_C" >&6
3112 cat >conftest.$ac_ext <<_ACEOF
3115 cat confdefs.h >>conftest.$ac_ext
3116 cat >>conftest.$ac_ext <<_ACEOF
3117 /* end confdefs.h. */
3130 rm -f conftest.$ac_objext
3131 if { (ac_try="$ac_compile"
3133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3134 *) ac_try_echo=$ac_try;;
3136 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3137 (eval "$ac_compile") 2>conftest.er1
3139 grep -v '^ *+' conftest.er1 >conftest.err
3141 cat conftest.err >&5
3142 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3143 (exit $ac_status); } && {
3144 test -z "$ac_cxx_werror_flag" ||
3145 test ! -s conftest.err
3146 } && test -s conftest.$ac_objext; then
3149 echo "$as_me: failed program was
:" >&5
3150 sed 's/^/| /' conftest.$ac_ext >&5
3155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3156 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3159 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3160 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3161 GXX=`test $ac_compiler_gnu = yes && echo yes`
3162 ac_test_CXXFLAGS=${CXXFLAGS+set}
3163 ac_save_CXXFLAGS=$CXXFLAGS
3164 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3165 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3166 if test "${ac_cv_prog_cxx_g+set}" = set; then
3167 echo $ECHO_N "(cached
) $ECHO_C" >&6
3169 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3170 ac_cxx_werror_flag=yes
3173 cat >conftest.$ac_ext <<_ACEOF
3176 cat confdefs.h >>conftest.$ac_ext
3177 cat >>conftest.$ac_ext <<_ACEOF
3178 /* end confdefs.h. */
3188 rm -f conftest.$ac_objext
3189 if { (ac_try="$ac_compile"
3191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3192 *) ac_try_echo=$ac_try;;
3194 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3195 (eval "$ac_compile") 2>conftest.er1
3197 grep -v '^ *+' conftest.er1 >conftest.err
3199 cat conftest.err >&5
3200 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3201 (exit $ac_status); } && {
3202 test -z "$ac_cxx_werror_flag" ||
3203 test ! -s conftest.err
3204 } && test -s conftest.$ac_objext; then
3205 ac_cv_prog_cxx_g=yes
3207 echo "$as_me: failed program was
:" >&5
3208 sed 's/^/| /' conftest.$ac_ext >&5
3211 cat >conftest.$ac_ext <<_ACEOF
3214 cat confdefs.h >>conftest.$ac_ext
3215 cat >>conftest.$ac_ext <<_ACEOF
3216 /* end confdefs.h. */
3226 rm -f conftest.$ac_objext
3227 if { (ac_try="$ac_compile"
3229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3230 *) ac_try_echo=$ac_try;;
3232 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3233 (eval "$ac_compile") 2>conftest.er1
3235 grep -v '^ *+' conftest.er1 >conftest.err
3237 cat conftest.err >&5
3238 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3239 (exit $ac_status); } && {
3240 test -z "$ac_cxx_werror_flag" ||
3241 test ! -s conftest.err
3242 } && test -s conftest.$ac_objext; then
3245 echo "$as_me: failed program was
:" >&5
3246 sed 's/^/| /' conftest.$ac_ext >&5
3248 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3250 cat >conftest.$ac_ext <<_ACEOF
3253 cat confdefs.h >>conftest.$ac_ext
3254 cat >>conftest.$ac_ext <<_ACEOF
3255 /* end confdefs.h. */
3265 rm -f conftest.$ac_objext
3266 if { (ac_try="$ac_compile"
3268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3269 *) ac_try_echo=$ac_try;;
3271 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3272 (eval "$ac_compile") 2>conftest.er1
3274 grep -v '^ *+' conftest.er1 >conftest.err
3276 cat conftest.err >&5
3277 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3278 (exit $ac_status); } && {
3279 test -z "$ac_cxx_werror_flag" ||
3280 test ! -s conftest.err
3281 } && test -s conftest.$ac_objext; then
3282 ac_cv_prog_cxx_g=yes
3284 echo "$as_me: failed program was
:" >&5
3285 sed 's/^/| /' conftest.$ac_ext >&5
3290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3299 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3300 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3301 if test "$ac_test_CXXFLAGS" = set; then
3302 CXXFLAGS=$ac_save_CXXFLAGS
3303 elif test $ac_cv_prog_cxx_g = yes; then
3304 if test "$GXX" = yes; then
3310 if test "$GXX" = yes; then
3317 ac_cpp='$CPP $CPPFLAGS'
3318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3322 if test -n "$ac_tool_prefix"; then
3323 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3324 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3325 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3326 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3327 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3328 echo $ECHO_N "(cached
) $ECHO_C" >&6
3330 if test -n "$CPPBIN"; then
3331 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3337 test -z "$as_dir" && as_dir=.
3338 for ac_exec_ext in '' $ac_executable_extensions; do
3339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3340 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3341 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3350 CPPBIN=$ac_cv_prog_CPPBIN
3351 if test -n "$CPPBIN"; then
3352 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3353 echo "${ECHO_T}$CPPBIN" >&6; }
3355 { echo "$as_me:$LINENO: result
: no
" >&5
3356 echo "${ECHO_T}no
" >&6; }
3361 if test -z "$ac_cv_prog_CPPBIN"; then
3362 ac_ct_CPPBIN=$CPPBIN
3363 # Extract the first word of "cpp
", so it can be a program name with args.
3364 set dummy cpp; ac_word=$2
3365 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3366 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3367 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3368 echo $ECHO_N "(cached
) $ECHO_C" >&6
3370 if test -n "$ac_ct_CPPBIN"; then
3371 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3377 test -z "$as_dir" && as_dir=.
3378 for ac_exec_ext in '' $ac_executable_extensions; do
3379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3380 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3381 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3390 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3391 if test -n "$ac_ct_CPPBIN"; then
3392 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3393 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3395 { echo "$as_me:$LINENO: result
: no
" >&5
3396 echo "${ECHO_T}no
" >&6; }
3399 if test "x
$ac_ct_CPPBIN" = x; then
3402 case $cross_compiling:$ac_tool_warned in
3404 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3405 whose name does not start with the
host triplet. If you think this
3406 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3407 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3408 whose name does not start with the
host triplet. If you think this
3409 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3410 ac_tool_warned=yes ;;
3412 CPPBIN=$ac_ct_CPPBIN
3415 CPPBIN="$ac_cv_prog_CPPBIN"
3419 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3420 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3421 if test "${wine_cv_toolsdir+set}" = set; then
3422 echo $ECHO_N "(cached
) $ECHO_C" >&6
3424 if test -z "$with_wine_tools"; then
3425 if test "$cross_compiling" = "yes"; then
3426 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3427 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3428 { (exit 1); exit 1; }; }
3430 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3432 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3433 case $with_wine_tools in
3434 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3435 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3438 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3439 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3440 { (exit 1); exit 1; }; }
3443 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3444 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3445 TOOLSDIR=$wine_cv_toolsdir
3450 ac_cpp='$CPP $CPPFLAGS'
3451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3454 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3455 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3456 # On Suns, sometimes $CPP names a directory.
3457 if test -n "$CPP" && test -d "$CPP"; then
3460 if test -z "$CPP"; then
3461 if test "${ac_cv_prog_CPP+set}" = set; then
3462 echo $ECHO_N "(cached
) $ECHO_C" >&6
3464 # Double quotes because CPP needs to be expanded
3465 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3468 for ac_c_preproc_warn_flag in '' yes
3470 # Use a header file that comes with gcc, so configuring glibc
3471 # with a fresh cross-compiler works.
3472 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3473 # <limits.h> exists even on freestanding compilers.
3474 # On the NeXT, cc -E runs the code through the compiler's parser,
3475 # not just through cpp. "Syntax error
" is here to catch this case.
3476 cat >conftest.$ac_ext <<_ACEOF
3479 cat confdefs.h >>conftest.$ac_ext
3480 cat >>conftest.$ac_ext <<_ACEOF
3481 /* end confdefs.h. */
3483 # include <limits.h>
3485 # include <assert.h>
3489 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3492 *) ac_try_echo=$ac_try;;
3494 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3495 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3497 grep -v '^ *+' conftest.er1 >conftest.err
3499 cat conftest.err >&5
3500 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3501 (exit $ac_status); } >/dev/null && {
3502 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3503 test ! -s conftest.err
3507 echo "$as_me: failed program was
:" >&5
3508 sed 's/^/| /' conftest.$ac_ext >&5
3510 # Broken: fails on valid input.
3514 rm -f conftest.err conftest.$ac_ext
3516 # OK, works on sane cases. Now check whether nonexistent headers
3517 # can be detected and how.
3518 cat >conftest.$ac_ext <<_ACEOF
3521 cat confdefs.h >>conftest.$ac_ext
3522 cat >>conftest.$ac_ext <<_ACEOF
3523 /* end confdefs.h. */
3524 #include <ac_nonexistent.h>
3526 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3529 *) ac_try_echo=$ac_try;;
3531 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3532 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3534 grep -v '^ *+' conftest.er1 >conftest.err
3536 cat conftest.err >&5
3537 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3538 (exit $ac_status); } >/dev/null && {
3539 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3540 test ! -s conftest.err
3542 # Broken: success on invalid input.
3545 echo "$as_me: failed program was
:" >&5
3546 sed 's/^/| /' conftest.$ac_ext >&5
3548 # Passes both tests.
3553 rm -f conftest.err conftest.$ac_ext
3556 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3557 rm -f conftest.err conftest.$ac_ext
3558 if $ac_preproc_ok; then
3570 { echo "$as_me:$LINENO: result
: $CPP" >&5
3571 echo "${ECHO_T}$CPP" >&6; }
3573 for ac_c_preproc_warn_flag in '' yes
3575 # Use a header file that comes with gcc, so configuring glibc
3576 # with a fresh cross-compiler works.
3577 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3578 # <limits.h> exists even on freestanding compilers.
3579 # On the NeXT, cc -E runs the code through the compiler's parser,
3580 # not just through cpp. "Syntax error
" is here to catch this case.
3581 cat >conftest.$ac_ext <<_ACEOF
3584 cat confdefs.h >>conftest.$ac_ext
3585 cat >>conftest.$ac_ext <<_ACEOF
3586 /* end confdefs.h. */
3588 # include <limits.h>
3590 # include <assert.h>
3594 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3597 *) ac_try_echo=$ac_try;;
3599 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3600 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3602 grep -v '^ *+' conftest.er1 >conftest.err
3604 cat conftest.err >&5
3605 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3606 (exit $ac_status); } >/dev/null && {
3607 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3608 test ! -s conftest.err
3612 echo "$as_me: failed program was
:" >&5
3613 sed 's/^/| /' conftest.$ac_ext >&5
3615 # Broken: fails on valid input.
3619 rm -f conftest.err conftest.$ac_ext
3621 # OK, works on sane cases. Now check whether nonexistent headers
3622 # can be detected and how.
3623 cat >conftest.$ac_ext <<_ACEOF
3626 cat confdefs.h >>conftest.$ac_ext
3627 cat >>conftest.$ac_ext <<_ACEOF
3628 /* end confdefs.h. */
3629 #include <ac_nonexistent.h>
3631 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3634 *) ac_try_echo=$ac_try;;
3636 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3637 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3639 grep -v '^ *+' conftest.er1 >conftest.err
3641 cat conftest.err >&5
3642 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3643 (exit $ac_status); } >/dev/null && {
3644 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3645 test ! -s conftest.err
3647 # Broken: success on invalid input.
3650 echo "$as_me: failed program was
:" >&5
3651 sed 's/^/| /' conftest.$ac_ext >&5
3653 # Passes both tests.
3658 rm -f conftest.err conftest.$ac_ext
3661 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3662 rm -f conftest.err conftest.$ac_ext
3663 if $ac_preproc_ok; then
3666 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3667 See \
`config.log' for more details." >&5
3668 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3669 See \`config.log
' for more details." >&2;}
3670 { (exit 1); exit 1; }; }
3674 ac_cpp='$CPP $CPPFLAGS'
3675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3676 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3680 { echo "$as_me:$LINENO: checking for X" >&5
3681 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3684 # Check whether --with-x was given.
3685 if test "${with_x+set}" = set; then
3689 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3690 if test "x$with_x" = xno; then
3691 # The user explicitly disabled X.
3694 case $x_includes,$x_libraries in #(
3695 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3696 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3697 { (exit 1); exit 1; }; };; #(
3698 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3699 echo $ECHO_N "(cached) $ECHO_C" >&6
3701 # One or both of the vars are not set, and there is no cached value.
3702 ac_x_includes=no ac_x_libraries=no
3703 rm -f -r conftest.dir
3704 if mkdir conftest.dir; then
3706 cat >Imakefile <<'_ACEOF'
3708 @echo incroot='${INCROOT}'
3710 @echo usrlibdir='${USRLIBDIR}'
3712 @echo libdir='${LIBDIR}'
3714 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3715 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3716 for ac_var in incroot usrlibdir libdir; do
3717 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3719 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3720 for ac_extension in a so sl; do
3721 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3722 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3723 ac_im_usrlibdir=$ac_im_libdir; break
3726 # Screen out bogus values from the imake configuration. They are
3727 # bogus both because they are the default anyway, and because
3728 # using them would break gcc on systems where it needs fixed includes.
3729 case $ac_im_incroot in
3730 /usr/include) ac_x_includes= ;;
3731 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3733 case $ac_im_usrlibdir in
3735 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3739 rm -f -r conftest.dir
3742 # Standard set of common directories for X headers.
3743 # Check X11 before X11Rn because it is often a symlink to the current release.
3755 /usr
/local
/X11
/include
3756 /usr
/local
/X11R
6/include
3757 /usr
/local
/X11R
5/include
3758 /usr
/local
/X11R
4/include
3760 /usr
/local
/include
/X11
3761 /usr
/local
/include
/X11R6
3762 /usr
/local
/include
/X11R5
3763 /usr
/local
/include
/X11R4
3767 /usr
/XFree86
/include
/X11
3771 /usr
/unsupported
/include
3773 /usr
/local
/x11r
5/include
3774 /usr
/lpp
/Xamples
/include
3776 /usr
/openwin
/include
3777 /usr
/openwin
/share
/include
'
3779 if test "$ac_x_includes" = no; then
3780 # Guess where to find include files, by looking for Xlib.h.
3781 # First, try using that file with no special directory specified.
3782 cat >conftest.$ac_ext <<_ACEOF
3785 cat confdefs.h >>conftest.$ac_ext
3786 cat >>conftest.$ac_ext <<_ACEOF
3787 /* end confdefs.h. */
3788 #include <X11/Xlib.h>
3790 if { (ac_try="$ac_cpp conftest.$ac_ext"
3792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3793 *) ac_try_echo=$ac_try;;
3795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3798 grep -v '^
*+' conftest.er1 >conftest.err
3800 cat conftest.err >&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); } >/dev/null && {
3803 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3804 test ! -s conftest.err
3806 # We can compile using X headers with no special include directory.
3809 echo "$as_me: failed program was:" >&5
3810 sed 's
/^
/|
/' conftest.$ac_ext >&5
3812 for ac_dir in $ac_x_header_dirs; do
3813 if test -r "$ac_dir/X11/Xlib.h"; then
3814 ac_x_includes=$ac_dir
3820 rm -f conftest.err conftest.$ac_ext
3821 fi # $ac_x_includes = no
3823 if test "$ac_x_libraries" = no; then
3824 # Check for the libraries.
3825 # See if we find them without any special options.
3826 # Don't add to
$LIBS permanently.
3829 cat >conftest.
$ac_ext <<_ACEOF
3832 cat confdefs.h
>>conftest.
$ac_ext
3833 cat >>conftest.
$ac_ext <<_ACEOF
3834 /* end confdefs.h. */
3835 #include <X11/Xlib.h>
3844 rm -f conftest.
$ac_objext conftest
$ac_exeext
3845 if { (ac_try
="$ac_link"
3847 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3848 *) ac_try_echo=$ac_try;;
3850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3851 (eval "$ac_link") 2>conftest.er1
3853 grep -v '^ *+' conftest.er1 >conftest.err
3855 cat conftest.err >&5
3856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857 (exit $ac_status); } && {
3858 test -z "$ac_c_werror_flag" ||
3859 test ! -s conftest.err
3860 } && test -s conftest$ac_exeext &&
3861 $as_test_x conftest$ac_exeext; then
3863 # We can link X programs with no special library path.
3866 echo "$as_me: failed program was:" >&5
3867 sed 's/^/| /' conftest.$ac_ext >&5
3870 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
3872 # Don't even attempt the hair of trying to link an X program!
3873 for ac_extension in a so sl; do
3874 if test -r "$ac_dir/libX11.$ac_extension"; then
3875 ac_x_libraries=$ac_dir
3882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3883 conftest$ac_exeext conftest.$ac_ext
3884 fi # $ac_x_libraries = no
3886 case $ac_x_includes,$ac_x_libraries in #(
3888 # Didn't find X, or a directory has "'" in its name.
3889 ac_cv_have_x="have_x=no";; #(
3891 # Record where we found X for the cache.
3892 ac_cv_have_x="have_x=yes\
3893 ac_x_includes='$ac_x_includes'\
3894 ac_x_libraries='$ac_x_libraries'"
3900 eval "$ac_cv_have_x"
3903 if test "$have_x" != yes; then
3904 { echo "$as_me:$LINENO: result: $have_x" >&5
3905 echo "${ECHO_T}$have_x" >&6; }
3908 # If each of the values was on the command line, it overrides each guess.
3909 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3910 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3911 # Update the cache value to reflect the command line values.
3912 ac_cv_have_x="have_x=yes\
3913 ac_x_includes='$x_includes'\
3914 ac_x_libraries='$x_libraries'"
3915 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3916 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3919 if test "$no_x" = yes; then
3920 # Not all programs may use this symbol, but it does not hurt to define it.
3922 cat >>confdefs.h <<\_ACEOF
3923 #define X_DISPLAY_MISSING 1
3926 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3928 if test -n "$x_includes"; then
3929 X_CFLAGS="$X_CFLAGS -I$x_includes"
3932 # It would also be nice to do this for all -L options, not just this one.
3933 if test -n "$x_libraries"; then
3934 X_LIBS="$X_LIBS -L$x_libraries"
3935 # For Solaris; some versions of Sun CC require a space after -R and
3936 # others require no space. Words are not sufficient . . . .
3937 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3938 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3939 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3940 ac_xsave_c_werror_flag=$ac_c_werror_flag
3941 ac_c_werror_flag=yes
3942 cat >conftest.$ac_ext <<_ACEOF
3945 cat confdefs.h >>conftest.$ac_ext
3946 cat >>conftest.$ac_ext <<_ACEOF
3947 /* end confdefs.h. */
3957 rm -f conftest.$ac_objext conftest$ac_exeext
3958 if { (ac_try="$ac_link"
3960 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3961 *) ac_try_echo
=$ac_try;;
3963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3964 (eval "$ac_link") 2>conftest.er1
3966 grep -v '^ *+' conftest.er1
>conftest.err
3968 cat conftest.err
>&5
3969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970 (exit $ac_status); } && {
3971 test -z "$ac_c_werror_flag" ||
3972 test ! -s conftest.err
3973 } && test -s conftest
$ac_exeext &&
3974 $as_test_x conftest
$ac_exeext; then
3975 { echo "$as_me:$LINENO: result: no" >&5
3976 echo "${ECHO_T}no" >&6; }
3977 X_LIBS
="$X_LIBS -R$x_libraries"
3979 echo "$as_me: failed program was:" >&5
3980 sed 's/^/| /' conftest.
$ac_ext >&5
3982 LIBS
="$ac_xsave_LIBS -R $x_libraries"
3983 cat >conftest.
$ac_ext <<_ACEOF
3986 cat confdefs.h
>>conftest.
$ac_ext
3987 cat >>conftest.
$ac_ext <<_ACEOF
3988 /* end confdefs.h. */
3998 rm -f conftest.
$ac_objext conftest
$ac_exeext
3999 if { (ac_try
="$ac_link"
4001 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4002 *) ac_try_echo=$ac_try;;
4004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4005 (eval "$ac_link") 2>conftest.er1
4007 grep -v '^ *+' conftest.er1 >conftest.err
4009 cat conftest.err >&5
4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011 (exit $ac_status); } && {
4012 test -z "$ac_c_werror_flag" ||
4013 test ! -s conftest.err
4014 } && test -s conftest$ac_exeext &&
4015 $as_test_x conftest$ac_exeext; then
4016 { echo "$as_me:$LINENO: result: yes" >&5
4017 echo "${ECHO_T}yes" >&6; }
4018 X_LIBS="$X_LIBS -R $x_libraries"
4020 echo "$as_me: failed program was:" >&5
4021 sed 's/^/| /' conftest.$ac_ext >&5
4023 { echo "$as_me:$LINENO: result: neither works" >&5
4024 echo "${ECHO_T}neither works" >&6; }
4027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4028 conftest$ac_exeext conftest.$ac_ext
4031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4032 conftest$ac_exeext conftest.$ac_ext
4033 ac_c_werror_flag=$ac_xsave_c_werror_flag
4037 # Check for system-dependent libraries X programs must link with.
4038 # Do this before checking for the system-independent R6 libraries
4039 # (-lICE), since we may need -lsocket or whatever for X linking.
4041 if test "$ISC" = yes; then
4042 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4044 # Martyn Johnson says this is needed for Ultrix, if the X
4045 # libraries were built with DECnet support. And Karl Berry says
4046 # the Alpha needs dnet_stub (dnet does not exist).
4047 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4048 cat >conftest.$ac_ext <<_ACEOF
4051 cat confdefs.h >>conftest.$ac_ext
4052 cat >>conftest.$ac_ext <<_ACEOF
4053 /* end confdefs.h. */
4055 /* Override any GCC internal prototype to avoid an error.
4056 Use char because int might match the return type of a GCC
4057 builtin and then its argument prototype would still apply. */
4061 char XOpenDisplay ();
4065 return XOpenDisplay ();
4070 rm -f conftest.$ac_objext conftest$ac_exeext
4071 if { (ac_try="$ac_link"
4073 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4074 *) ac_try_echo
=$ac_try;;
4076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4077 (eval "$ac_link") 2>conftest.er1
4079 grep -v '^ *+' conftest.er1
>conftest.err
4081 cat conftest.err
>&5
4082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083 (exit $ac_status); } && {
4084 test -z "$ac_c_werror_flag" ||
4085 test ! -s conftest.err
4086 } && test -s conftest
$ac_exeext &&
4087 $as_test_x conftest
$ac_exeext; then
4090 echo "$as_me: failed program was:" >&5
4091 sed 's/^/| /' conftest.
$ac_ext >&5
4093 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4094 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4095 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4096 echo $ECHO_N "(cached) $ECHO_C" >&6
4098 ac_check_lib_save_LIBS
=$LIBS
4100 cat >conftest.
$ac_ext <<_ACEOF
4103 cat confdefs.h
>>conftest.
$ac_ext
4104 cat >>conftest.
$ac_ext <<_ACEOF
4105 /* end confdefs.h. */
4107 /* Override any GCC internal prototype to avoid an error.
4108 Use char because int might match the return type of a GCC
4109 builtin and then its argument prototype would still apply. */
4117 return dnet_ntoa ();
4122 rm -f conftest.
$ac_objext conftest
$ac_exeext
4123 if { (ac_try
="$ac_link"
4125 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4126 *) ac_try_echo=$ac_try;;
4128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4129 (eval "$ac_link") 2>conftest.er1
4131 grep -v '^ *+' conftest.er1 >conftest.err
4133 cat conftest.err >&5
4134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135 (exit $ac_status); } && {
4136 test -z "$ac_c_werror_flag" ||
4137 test ! -s conftest.err
4138 } && test -s conftest$ac_exeext &&
4139 $as_test_x conftest$ac_exeext; then
4140 ac_cv_lib_dnet_dnet_ntoa=yes
4142 echo "$as_me: failed program was:" >&5
4143 sed 's/^/| /' conftest.$ac_ext >&5
4145 ac_cv_lib_dnet_dnet_ntoa=no
4148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4149 conftest$ac_exeext conftest.$ac_ext
4150 LIBS=$ac_check_lib_save_LIBS
4152 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4153 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4154 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4155 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4158 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4159 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4160 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4161 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4162 echo $ECHO_N "(cached) $ECHO_C" >&6
4164 ac_check_lib_save_LIBS=$LIBS
4165 LIBS="-ldnet_stub $LIBS"
4166 cat >conftest.$ac_ext <<_ACEOF
4169 cat confdefs.h >>conftest.$ac_ext
4170 cat >>conftest.$ac_ext <<_ACEOF
4171 /* end confdefs.h. */
4173 /* Override any GCC internal prototype to avoid an error.
4174 Use char because int might match the return type of a GCC
4175 builtin and then its argument prototype would still apply. */
4183 return dnet_ntoa ();
4188 rm -f conftest.$ac_objext conftest$ac_exeext
4189 if { (ac_try="$ac_link"
4191 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4192 *) ac_try_echo
=$ac_try;;
4194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4195 (eval "$ac_link") 2>conftest.er1
4197 grep -v '^ *+' conftest.er1
>conftest.err
4199 cat conftest.err
>&5
4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); } && {
4202 test -z "$ac_c_werror_flag" ||
4203 test ! -s conftest.err
4204 } && test -s conftest
$ac_exeext &&
4205 $as_test_x conftest
$ac_exeext; then
4206 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4208 echo "$as_me: failed program was:" >&5
4209 sed 's/^/| /' conftest.
$ac_ext >&5
4211 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4214 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4215 conftest
$ac_exeext conftest.
$ac_ext
4216 LIBS
=$ac_check_lib_save_LIBS
4218 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4219 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4220 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4221 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4227 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4228 conftest
$ac_exeext conftest.
$ac_ext
4229 LIBS
="$ac_xsave_LIBS"
4231 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4232 # to get the SysV transport functions.
4233 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4235 # The nsl library prevents programs from opening the X display
4236 # on Irix 5.2, according to T.E. Dickey.
4237 # The functions gethostbyname, getservbyname, and inet_addr are
4238 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4239 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4240 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4241 if test "${ac_cv_func_gethostbyname+set}" = set; then
4242 echo $ECHO_N "(cached) $ECHO_C" >&6
4244 cat >conftest.
$ac_ext <<_ACEOF
4247 cat confdefs.h
>>conftest.
$ac_ext
4248 cat >>conftest.
$ac_ext <<_ACEOF
4249 /* end confdefs.h. */
4250 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4252 #define gethostbyname innocuous_gethostbyname
4254 /* System header to define __stub macros and hopefully few prototypes,
4255 which can conflict with char gethostbyname (); below.
4256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4257 <limits.h> exists even on freestanding compilers. */
4260 # include <limits.h>
4262 # include <assert.h>
4265 #undef gethostbyname
4267 /* Override any GCC internal prototype to avoid an error.
4268 Use char because int might match the return type of a GCC
4269 builtin and then its argument prototype would still apply. */
4273 char gethostbyname ();
4274 /* The GNU C library defines this for functions which it implements
4275 to always fail with ENOSYS. Some functions are actually named
4276 something starting with __ and the normal name is an alias. */
4277 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4284 return gethostbyname ();
4289 rm -f conftest.
$ac_objext conftest
$ac_exeext
4290 if { (ac_try
="$ac_link"
4292 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4293 *) ac_try_echo=$ac_try;;
4295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4296 (eval "$ac_link") 2>conftest.er1
4298 grep -v '^ *+' conftest.er1 >conftest.err
4300 cat conftest.err >&5
4301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4302 (exit $ac_status); } && {
4303 test -z "$ac_c_werror_flag" ||
4304 test ! -s conftest.err
4305 } && test -s conftest$ac_exeext &&
4306 $as_test_x conftest$ac_exeext; then
4307 ac_cv_func_gethostbyname=yes
4309 echo "$as_me: failed program was:" >&5
4310 sed 's/^/| /' conftest.$ac_ext >&5
4312 ac_cv_func_gethostbyname=no
4315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4316 conftest$ac_exeext conftest.$ac_ext
4318 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4319 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4321 if test $ac_cv_func_gethostbyname = no; then
4322 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4323 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4324 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4325 echo $ECHO_N "(cached) $ECHO_C" >&6
4327 ac_check_lib_save_LIBS=$LIBS
4329 cat >conftest.$ac_ext <<_ACEOF
4332 cat confdefs.h >>conftest.$ac_ext
4333 cat >>conftest.$ac_ext <<_ACEOF
4334 /* end confdefs.h. */
4336 /* Override any GCC internal prototype to avoid an error.
4337 Use char because int might match the return type of a GCC
4338 builtin and then its argument prototype would still apply. */
4342 char gethostbyname ();
4346 return gethostbyname ();
4351 rm -f conftest.$ac_objext conftest$ac_exeext
4352 if { (ac_try="$ac_link"
4354 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4355 *) ac_try_echo
=$ac_try;;
4357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4358 (eval "$ac_link") 2>conftest.er1
4360 grep -v '^ *+' conftest.er1
>conftest.err
4362 cat conftest.err
>&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); } && {
4365 test -z "$ac_c_werror_flag" ||
4366 test ! -s conftest.err
4367 } && test -s conftest
$ac_exeext &&
4368 $as_test_x conftest
$ac_exeext; then
4369 ac_cv_lib_nsl_gethostbyname
=yes
4371 echo "$as_me: failed program was:" >&5
4372 sed 's/^/| /' conftest.
$ac_ext >&5
4374 ac_cv_lib_nsl_gethostbyname
=no
4377 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4378 conftest
$ac_exeext conftest.
$ac_ext
4379 LIBS
=$ac_check_lib_save_LIBS
4381 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4382 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4383 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4384 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4387 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4388 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4389 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4390 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4391 echo $ECHO_N "(cached) $ECHO_C" >&6
4393 ac_check_lib_save_LIBS
=$LIBS
4395 cat >conftest.
$ac_ext <<_ACEOF
4398 cat confdefs.h
>>conftest.
$ac_ext
4399 cat >>conftest.
$ac_ext <<_ACEOF
4400 /* end confdefs.h. */
4402 /* Override any GCC internal prototype to avoid an error.
4403 Use char because int might match the return type of a GCC
4404 builtin and then its argument prototype would still apply. */
4408 char gethostbyname ();
4412 return gethostbyname ();
4417 rm -f conftest.
$ac_objext conftest
$ac_exeext
4418 if { (ac_try
="$ac_link"
4420 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4421 *) ac_try_echo=$ac_try;;
4423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4424 (eval "$ac_link") 2>conftest.er1
4426 grep -v '^ *+' conftest.er1 >conftest.err
4428 cat conftest.err >&5
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); } && {
4431 test -z "$ac_c_werror_flag" ||
4432 test ! -s conftest.err
4433 } && test -s conftest$ac_exeext &&
4434 $as_test_x conftest$ac_exeext; then
4435 ac_cv_lib_bsd_gethostbyname=yes
4437 echo "$as_me: failed program was:" >&5
4438 sed 's/^/| /' conftest.$ac_ext >&5
4440 ac_cv_lib_bsd_gethostbyname=no
4443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4444 conftest$ac_exeext conftest.$ac_ext
4445 LIBS=$ac_check_lib_save_LIBS
4447 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4448 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4449 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4450 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4456 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4457 # socket/setsockopt and other routines are undefined under SCO ODT
4458 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4459 # on later versions), says Simon Leinen: it contains gethostby*
4460 # variants that don't use the name server (or something). -lsocket
4461 # must be given before -lnsl if both are needed. We assume that
4462 # if connect needs -lnsl, so does gethostbyname.
4463 { echo "$as_me:$LINENO: checking for connect" >&5
4464 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4465 if test "${ac_cv_func_connect+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4468 cat >conftest.$ac_ext <<_ACEOF
4471 cat confdefs.h >>conftest.$ac_ext
4472 cat >>conftest.$ac_ext <<_ACEOF
4473 /* end confdefs.h. */
4474 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4476 #define connect innocuous_connect
4478 /* System header to define __stub macros and hopefully few prototypes,
4479 which can conflict with char connect (); below.
4480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4481 <limits.h> exists even on freestanding compilers. */
4484 # include <limits.h>
4486 # include <assert.h>
4491 /* Override any GCC internal prototype to avoid an error.
4492 Use char because int might match the return type of a GCC
4493 builtin and then its argument prototype would still apply. */
4498 /* The GNU C library defines this for functions which it implements
4499 to always fail with ENOSYS. Some functions are actually named
4500 something starting with __ and the normal name is an alias. */
4501 #if defined __stub_connect || defined __stub___connect
4513 rm -f conftest.$ac_objext conftest$ac_exeext
4514 if { (ac_try="$ac_link"
4516 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4517 *) ac_try_echo
=$ac_try;;
4519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4520 (eval "$ac_link") 2>conftest.er1
4522 grep -v '^ *+' conftest.er1
>conftest.err
4524 cat conftest.err
>&5
4525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4526 (exit $ac_status); } && {
4527 test -z "$ac_c_werror_flag" ||
4528 test ! -s conftest.err
4529 } && test -s conftest
$ac_exeext &&
4530 $as_test_x conftest
$ac_exeext; then
4531 ac_cv_func_connect
=yes
4533 echo "$as_me: failed program was:" >&5
4534 sed 's/^/| /' conftest.
$ac_ext >&5
4536 ac_cv_func_connect
=no
4539 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4540 conftest
$ac_exeext conftest.
$ac_ext
4542 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4543 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4545 if test $ac_cv_func_connect = no
; then
4546 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4547 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4548 if test "${ac_cv_lib_socket_connect+set}" = set; then
4549 echo $ECHO_N "(cached) $ECHO_C" >&6
4551 ac_check_lib_save_LIBS
=$LIBS
4552 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4553 cat >conftest.
$ac_ext <<_ACEOF
4556 cat confdefs.h
>>conftest.
$ac_ext
4557 cat >>conftest.
$ac_ext <<_ACEOF
4558 /* end confdefs.h. */
4560 /* Override any GCC internal prototype to avoid an error.
4561 Use char because int might match the return type of a GCC
4562 builtin and then its argument prototype would still apply. */
4575 rm -f conftest.
$ac_objext conftest
$ac_exeext
4576 if { (ac_try
="$ac_link"
4578 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4579 *) ac_try_echo=$ac_try;;
4581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4582 (eval "$ac_link") 2>conftest.er1
4584 grep -v '^ *+' conftest.er1 >conftest.err
4586 cat conftest.err >&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); } && {
4589 test -z "$ac_c_werror_flag" ||
4590 test ! -s conftest.err
4591 } && test -s conftest$ac_exeext &&
4592 $as_test_x conftest$ac_exeext; then
4593 ac_cv_lib_socket_connect=yes
4595 echo "$as_me: failed program was:" >&5
4596 sed 's/^/| /' conftest.$ac_ext >&5
4598 ac_cv_lib_socket_connect=no
4601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4602 conftest$ac_exeext conftest.$ac_ext
4603 LIBS=$ac_check_lib_save_LIBS
4605 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4606 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4607 if test $ac_cv_lib_socket_connect = yes; then
4608 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4613 # Guillermo Gomez says -lposix is necessary on A/UX.
4614 { echo "$as_me:$LINENO: checking for remove" >&5
4615 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4616 if test "${ac_cv_func_remove+set}" = set; then
4617 echo $ECHO_N "(cached) $ECHO_C" >&6
4619 cat >conftest.$ac_ext <<_ACEOF
4622 cat confdefs.h >>conftest.$ac_ext
4623 cat >>conftest.$ac_ext <<_ACEOF
4624 /* end confdefs.h. */
4625 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4627 #define remove innocuous_remove
4629 /* System header to define __stub macros and hopefully few prototypes,
4630 which can conflict with char remove (); below.
4631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4632 <limits.h> exists even on freestanding compilers. */
4635 # include <limits.h>
4637 # include <assert.h>
4642 /* Override any GCC internal prototype to avoid an error.
4643 Use char because int might match the return type of a GCC
4644 builtin and then its argument prototype would still apply. */
4649 /* The GNU C library defines this for functions which it implements
4650 to always fail with ENOSYS. Some functions are actually named
4651 something starting with __ and the normal name is an alias. */
4652 #if defined __stub_remove || defined __stub___remove
4664 rm -f conftest.$ac_objext conftest$ac_exeext
4665 if { (ac_try="$ac_link"
4667 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4668 *) ac_try_echo
=$ac_try;;
4670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4671 (eval "$ac_link") 2>conftest.er1
4673 grep -v '^ *+' conftest.er1
>conftest.err
4675 cat conftest.err
>&5
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); } && {
4678 test -z "$ac_c_werror_flag" ||
4679 test ! -s conftest.err
4680 } && test -s conftest
$ac_exeext &&
4681 $as_test_x conftest
$ac_exeext; then
4682 ac_cv_func_remove
=yes
4684 echo "$as_me: failed program was:" >&5
4685 sed 's/^/| /' conftest.
$ac_ext >&5
4687 ac_cv_func_remove
=no
4690 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4691 conftest
$ac_exeext conftest.
$ac_ext
4693 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4694 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4696 if test $ac_cv_func_remove = no
; then
4697 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4698 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4699 if test "${ac_cv_lib_posix_remove+set}" = set; then
4700 echo $ECHO_N "(cached) $ECHO_C" >&6
4702 ac_check_lib_save_LIBS
=$LIBS
4703 LIBS
="-lposix $LIBS"
4704 cat >conftest.
$ac_ext <<_ACEOF
4707 cat confdefs.h
>>conftest.
$ac_ext
4708 cat >>conftest.
$ac_ext <<_ACEOF
4709 /* end confdefs.h. */
4711 /* Override any GCC internal prototype to avoid an error.
4712 Use char because int might match the return type of a GCC
4713 builtin and then its argument prototype would still apply. */
4726 rm -f conftest.
$ac_objext conftest
$ac_exeext
4727 if { (ac_try
="$ac_link"
4729 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4730 *) ac_try_echo=$ac_try;;
4732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4733 (eval "$ac_link") 2>conftest.er1
4735 grep -v '^ *+' conftest.er1 >conftest.err
4737 cat conftest.err >&5
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); } && {
4740 test -z "$ac_c_werror_flag" ||
4741 test ! -s conftest.err
4742 } && test -s conftest$ac_exeext &&
4743 $as_test_x conftest$ac_exeext; then
4744 ac_cv_lib_posix_remove=yes
4746 echo "$as_me: failed program was:" >&5
4747 sed 's/^/| /' conftest.$ac_ext >&5
4749 ac_cv_lib_posix_remove=no
4752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4753 conftest$ac_exeext conftest.$ac_ext
4754 LIBS=$ac_check_lib_save_LIBS
4756 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4757 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4758 if test $ac_cv_lib_posix_remove = yes; then
4759 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4764 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4765 { echo "$as_me:$LINENO: checking for shmat" >&5
4766 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4767 if test "${ac_cv_func_shmat+set}" = set; then
4768 echo $ECHO_N "(cached) $ECHO_C" >&6
4770 cat >conftest.$ac_ext <<_ACEOF
4773 cat confdefs.h >>conftest.$ac_ext
4774 cat >>conftest.$ac_ext <<_ACEOF
4775 /* end confdefs.h. */
4776 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4778 #define shmat innocuous_shmat
4780 /* System header to define __stub macros and hopefully few prototypes,
4781 which can conflict with char shmat (); below.
4782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4783 <limits.h> exists even on freestanding compilers. */
4786 # include <limits.h>
4788 # include <assert.h>
4793 /* Override any GCC internal prototype to avoid an error.
4794 Use char because int might match the return type of a GCC
4795 builtin and then its argument prototype would still apply. */
4800 /* The GNU C library defines this for functions which it implements
4801 to always fail with ENOSYS. Some functions are actually named
4802 something starting with __ and the normal name is an alias. */
4803 #if defined __stub_shmat || defined __stub___shmat
4815 rm -f conftest.$ac_objext conftest$ac_exeext
4816 if { (ac_try="$ac_link"
4818 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4819 *) ac_try_echo
=$ac_try;;
4821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4822 (eval "$ac_link") 2>conftest.er1
4824 grep -v '^ *+' conftest.er1
>conftest.err
4826 cat conftest.err
>&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); } && {
4829 test -z "$ac_c_werror_flag" ||
4830 test ! -s conftest.err
4831 } && test -s conftest
$ac_exeext &&
4832 $as_test_x conftest
$ac_exeext; then
4833 ac_cv_func_shmat
=yes
4835 echo "$as_me: failed program was:" >&5
4836 sed 's/^/| /' conftest.
$ac_ext >&5
4841 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4842 conftest
$ac_exeext conftest.
$ac_ext
4844 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4845 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4847 if test $ac_cv_func_shmat = no
; then
4848 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4849 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4850 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4851 echo $ECHO_N "(cached) $ECHO_C" >&6
4853 ac_check_lib_save_LIBS
=$LIBS
4855 cat >conftest.
$ac_ext <<_ACEOF
4858 cat confdefs.h
>>conftest.
$ac_ext
4859 cat >>conftest.
$ac_ext <<_ACEOF
4860 /* end confdefs.h. */
4862 /* Override any GCC internal prototype to avoid an error.
4863 Use char because int might match the return type of a GCC
4864 builtin and then its argument prototype would still apply. */
4877 rm -f conftest.
$ac_objext conftest
$ac_exeext
4878 if { (ac_try
="$ac_link"
4880 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4881 *) ac_try_echo=$ac_try;;
4883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4884 (eval "$ac_link") 2>conftest.er1
4886 grep -v '^ *+' conftest.er1 >conftest.err
4888 cat conftest.err >&5
4889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890 (exit $ac_status); } && {
4891 test -z "$ac_c_werror_flag" ||
4892 test ! -s conftest.err
4893 } && test -s conftest$ac_exeext &&
4894 $as_test_x conftest$ac_exeext; then
4895 ac_cv_lib_ipc_shmat=yes
4897 echo "$as_me: failed program was:" >&5
4898 sed 's/^/| /' conftest.$ac_ext >&5
4900 ac_cv_lib_ipc_shmat=no
4903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4904 conftest$ac_exeext conftest.$ac_ext
4905 LIBS=$ac_check_lib_save_LIBS
4907 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4908 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4909 if test $ac_cv_lib_ipc_shmat = yes; then
4910 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4916 # Check for libraries that X11R6 Xt/Xaw programs need.
4917 ac_save_LDFLAGS=$LDFLAGS
4918 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4919 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4920 # check for ICE first), but we must link in the order -lSM -lICE or
4921 # we get undefined symbols. So assume we have SM if we have ICE.
4922 # These have to be linked with before -lX11, unlike the other
4923 # libraries we check for below, so use a different variable.
4924 # John Interrante, Karl Berry
4925 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4926 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4927 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4928 echo $ECHO_N "(cached) $ECHO_C" >&6
4930 ac_check_lib_save_LIBS=$LIBS
4931 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4932 cat >conftest.$ac_ext <<_ACEOF
4935 cat confdefs.h >>conftest.$ac_ext
4936 cat >>conftest.$ac_ext <<_ACEOF
4937 /* end confdefs.h. */
4939 /* Override any GCC internal prototype to avoid an error.
4940 Use char because int might match the return type of a GCC
4941 builtin and then its argument prototype would still apply. */
4945 char IceConnectionNumber ();
4949 return IceConnectionNumber ();
4954 rm -f conftest.$ac_objext conftest$ac_exeext
4955 if { (ac_try="$ac_link"
4957 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4958 *) ac_try_echo
=$ac_try;;
4960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4961 (eval "$ac_link") 2>conftest.er1
4963 grep -v '^ *+' conftest.er1
>conftest.err
4965 cat conftest.err
>&5
4966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4967 (exit $ac_status); } && {
4968 test -z "$ac_c_werror_flag" ||
4969 test ! -s conftest.err
4970 } && test -s conftest
$ac_exeext &&
4971 $as_test_x conftest
$ac_exeext; then
4972 ac_cv_lib_ICE_IceConnectionNumber
=yes
4974 echo "$as_me: failed program was:" >&5
4975 sed 's/^/| /' conftest.
$ac_ext >&5
4977 ac_cv_lib_ICE_IceConnectionNumber
=no
4980 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4981 conftest
$ac_exeext conftest.
$ac_ext
4982 LIBS
=$ac_check_lib_save_LIBS
4984 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4985 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4986 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4987 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
4990 LDFLAGS
=$ac_save_LDFLAGS
4997 # Extract the first word of "$ac_prog", so it can be a program name with args.
4998 set dummy
$ac_prog; ac_word
=$2
4999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5001 if test "${ac_cv_prog_FLEX+set}" = set; then
5002 echo $ECHO_N "(cached) $ECHO_C" >&6
5004 if test -n "$FLEX"; then
5005 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5011 test -z "$as_dir" && as_dir
=.
5012 for ac_exec_ext
in '' $ac_executable_extensions; do
5013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5014 ac_cv_prog_FLEX
="$ac_prog"
5015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5024 FLEX
=$ac_cv_prog_FLEX
5025 if test -n "$FLEX"; then
5026 { echo "$as_me:$LINENO: result: $FLEX" >&5
5027 echo "${ECHO_T}$FLEX" >&6; }
5029 { echo "$as_me:$LINENO: result: no" >&5
5030 echo "${ECHO_T}no" >&6; }
5034 test -n "$FLEX" && break
5036 test -n "$FLEX" || FLEX
="none"
5038 if test "$FLEX" = "none"
5040 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5041 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5042 { (exit 1); exit 1; }; }
5045 for ac_prog
in bison
5047 # Extract the first word of "$ac_prog", so it can be a program name with args.
5048 set dummy
$ac_prog; ac_word
=$2
5049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5051 if test "${ac_cv_prog_BISON+set}" = set; then
5052 echo $ECHO_N "(cached) $ECHO_C" >&6
5054 if test -n "$BISON"; then
5055 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5061 test -z "$as_dir" && as_dir
=.
5062 for ac_exec_ext
in '' $ac_executable_extensions; do
5063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5064 ac_cv_prog_BISON
="$ac_prog"
5065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5074 BISON
=$ac_cv_prog_BISON
5075 if test -n "$BISON"; then
5076 { echo "$as_me:$LINENO: result: $BISON" >&5
5077 echo "${ECHO_T}$BISON" >&6; }
5079 { echo "$as_me:$LINENO: result: no" >&5
5080 echo "${ECHO_T}no" >&6; }
5084 test -n "$BISON" && break
5086 test -n "$BISON" || BISON
="none"
5088 if test "$BISON" = "none"
5090 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5091 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5092 { (exit 1); exit 1; }; }
5095 if test -n "$ac_tool_prefix"; then
5096 for ac_prog
in gas as
5098 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5099 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5102 if test "${ac_cv_prog_AS+set}" = set; then
5103 echo $ECHO_N "(cached) $ECHO_C" >&6
5105 if test -n "$AS"; then
5106 ac_cv_prog_AS
="$AS" # Let the user override the test.
5108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5112 test -z "$as_dir" && as_dir
=.
5113 for ac_exec_ext
in '' $ac_executable_extensions; do
5114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5115 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5126 if test -n "$AS"; then
5127 { echo "$as_me:$LINENO: result: $AS" >&5
5128 echo "${ECHO_T}$AS" >&6; }
5130 { echo "$as_me:$LINENO: result: no" >&5
5131 echo "${ECHO_T}no" >&6; }
5135 test -n "$AS" && break
5138 if test -z "$AS"; then
5140 for ac_prog
in gas as
5142 # Extract the first word of "$ac_prog", so it can be a program name with args.
5143 set dummy
$ac_prog; ac_word
=$2
5144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5146 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5147 echo $ECHO_N "(cached) $ECHO_C" >&6
5149 if test -n "$ac_ct_AS"; then
5150 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5156 test -z "$as_dir" && as_dir
=.
5157 for ac_exec_ext
in '' $ac_executable_extensions; do
5158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5159 ac_cv_prog_ac_ct_AS
="$ac_prog"
5160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5169 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5170 if test -n "$ac_ct_AS"; then
5171 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5172 echo "${ECHO_T}$ac_ct_AS" >&6; }
5174 { echo "$as_me:$LINENO: result: no" >&5
5175 echo "${ECHO_T}no" >&6; }
5179 test -n "$ac_ct_AS" && break
5182 if test "x$ac_ct_AS" = x
; then
5185 case $cross_compiling:$ac_tool_warned in
5187 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5188 whose name does not start with the host triplet. If you think this
5189 configuration is useful to you, please write to autoconf@gnu.org." >&5
5190 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5191 whose name does not start with the host triplet. If you think this
5192 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5193 ac_tool_warned
=yes ;;
5199 if test -n "$ac_tool_prefix"; then
5200 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5201 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5204 if test "${ac_cv_prog_LD+set}" = set; then
5205 echo $ECHO_N "(cached) $ECHO_C" >&6
5207 if test -n "$LD"; then
5208 ac_cv_prog_LD
="$LD" # Let the user override the test.
5210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5214 test -z "$as_dir" && as_dir
=.
5215 for ac_exec_ext
in '' $ac_executable_extensions; do
5216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5217 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5228 if test -n "$LD"; then
5229 { echo "$as_me:$LINENO: result: $LD" >&5
5230 echo "${ECHO_T}$LD" >&6; }
5232 { echo "$as_me:$LINENO: result: no" >&5
5233 echo "${ECHO_T}no" >&6; }
5238 if test -z "$ac_cv_prog_LD"; then
5240 # Extract the first word of "ld", so it can be a program name with args.
5241 set dummy ld
; ac_word
=$2
5242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5244 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5245 echo $ECHO_N "(cached) $ECHO_C" >&6
5247 if test -n "$ac_ct_LD"; then
5248 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5254 test -z "$as_dir" && as_dir
=.
5255 for ac_exec_ext
in '' $ac_executable_extensions; do
5256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5257 ac_cv_prog_ac_ct_LD
="ld"
5258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5267 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5268 if test -n "$ac_ct_LD"; then
5269 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5270 echo "${ECHO_T}$ac_ct_LD" >&6; }
5272 { echo "$as_me:$LINENO: result: no" >&5
5273 echo "${ECHO_T}no" >&6; }
5276 if test "x$ac_ct_LD" = x
; then
5279 case $cross_compiling:$ac_tool_warned in
5281 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5282 whose name does not start with the host triplet. If you think this
5283 configuration is useful to you, please write to autoconf@gnu.org." >&5
5284 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5285 whose name does not start with the host triplet. If you think this
5286 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5287 ac_tool_warned
=yes ;;
5295 if test -n "$ac_tool_prefix"; then
5296 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5297 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5300 if test "${ac_cv_prog_AR+set}" = set; then
5301 echo $ECHO_N "(cached) $ECHO_C" >&6
5303 if test -n "$AR"; then
5304 ac_cv_prog_AR
="$AR" # Let the user override the test.
5306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5310 test -z "$as_dir" && as_dir
=.
5311 for ac_exec_ext
in '' $ac_executable_extensions; do
5312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5313 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5324 if test -n "$AR"; then
5325 { echo "$as_me:$LINENO: result: $AR" >&5
5326 echo "${ECHO_T}$AR" >&6; }
5328 { echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6; }
5334 if test -z "$ac_cv_prog_AR"; then
5336 # Extract the first word of "ar", so it can be a program name with args.
5337 set dummy
ar; ac_word
=$2
5338 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5340 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5341 echo $ECHO_N "(cached) $ECHO_C" >&6
5343 if test -n "$ac_ct_AR"; then
5344 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5350 test -z "$as_dir" && as_dir
=.
5351 for ac_exec_ext
in '' $ac_executable_extensions; do
5352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5353 ac_cv_prog_ac_ct_AR
="ar"
5354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5363 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5364 if test -n "$ac_ct_AR"; then
5365 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5366 echo "${ECHO_T}$ac_ct_AR" >&6; }
5368 { echo "$as_me:$LINENO: result: no" >&5
5369 echo "${ECHO_T}no" >&6; }
5372 if test "x$ac_ct_AR" = x
; then
5375 case $cross_compiling:$ac_tool_warned in
5377 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5378 whose name does not start with the host triplet. If you think this
5379 configuration is useful to you, please write to autoconf@gnu.org." >&5
5380 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5381 whose name does not start with the host triplet. If you think this
5382 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5383 ac_tool_warned
=yes ;;
5391 if test -n "$ac_tool_prefix"; then
5392 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5393 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5396 if test "${ac_cv_prog_RANLIB+set}" = set; then
5397 echo $ECHO_N "(cached) $ECHO_C" >&6
5399 if test -n "$RANLIB"; then
5400 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5406 test -z "$as_dir" && as_dir
=.
5407 for ac_exec_ext
in '' $ac_executable_extensions; do
5408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5409 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 RANLIB
=$ac_cv_prog_RANLIB
5420 if test -n "$RANLIB"; then
5421 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5422 echo "${ECHO_T}$RANLIB" >&6; }
5424 { echo "$as_me:$LINENO: result: no" >&5
5425 echo "${ECHO_T}no" >&6; }
5430 if test -z "$ac_cv_prog_RANLIB"; then
5431 ac_ct_RANLIB
=$RANLIB
5432 # Extract the first word of "ranlib", so it can be a program name with args.
5433 set dummy ranlib
; ac_word
=$2
5434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5436 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5437 echo $ECHO_N "(cached) $ECHO_C" >&6
5439 if test -n "$ac_ct_RANLIB"; then
5440 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5446 test -z "$as_dir" && as_dir
=.
5447 for ac_exec_ext
in '' $ac_executable_extensions; do
5448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5449 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5459 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5460 if test -n "$ac_ct_RANLIB"; then
5461 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5462 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5464 { echo "$as_me:$LINENO: result: no" >&5
5465 echo "${ECHO_T}no" >&6; }
5468 if test "x$ac_ct_RANLIB" = x
; then
5471 case $cross_compiling:$ac_tool_warned in
5473 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5474 whose name does not start with the host triplet. If you think this
5475 configuration is useful to you, please write to autoconf@gnu.org." >&5
5476 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5477 whose name does not start with the host triplet. If you think this
5478 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5479 ac_tool_warned
=yes ;;
5481 RANLIB
=$ac_ct_RANLIB
5484 RANLIB
="$ac_cv_prog_RANLIB"
5487 if test -n "$ac_tool_prefix"; then
5488 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5489 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5492 if test "${ac_cv_prog_STRIP+set}" = set; then
5493 echo $ECHO_N "(cached) $ECHO_C" >&6
5495 if test -n "$STRIP"; then
5496 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5502 test -z "$as_dir" && as_dir
=.
5503 for ac_exec_ext
in '' $ac_executable_extensions; do
5504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5505 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5515 STRIP
=$ac_cv_prog_STRIP
5516 if test -n "$STRIP"; then
5517 { echo "$as_me:$LINENO: result: $STRIP" >&5
5518 echo "${ECHO_T}$STRIP" >&6; }
5520 { echo "$as_me:$LINENO: result: no" >&5
5521 echo "${ECHO_T}no" >&6; }
5526 if test -z "$ac_cv_prog_STRIP"; then
5528 # Extract the first word of "strip", so it can be a program name with args.
5529 set dummy strip
; ac_word
=$2
5530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5532 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5533 echo $ECHO_N "(cached) $ECHO_C" >&6
5535 if test -n "$ac_ct_STRIP"; then
5536 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5542 test -z "$as_dir" && as_dir
=.
5543 for ac_exec_ext
in '' $ac_executable_extensions; do
5544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5545 ac_cv_prog_ac_ct_STRIP
="strip"
5546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5555 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5556 if test -n "$ac_ct_STRIP"; then
5557 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5558 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5560 { echo "$as_me:$LINENO: result: no" >&5
5561 echo "${ECHO_T}no" >&6; }
5564 if test "x$ac_ct_STRIP" = x
; then
5567 case $cross_compiling:$ac_tool_warned in
5569 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5570 whose name does not start with the host triplet. If you think this
5571 configuration is useful to you, please write to autoconf@gnu.org." >&5
5572 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5573 whose name does not start with the host triplet. If you think this
5574 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5575 ac_tool_warned
=yes ;;
5580 STRIP
="$ac_cv_prog_STRIP"
5583 if test -n "$ac_tool_prefix"; then
5584 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5585 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5586 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5588 if test "${ac_cv_prog_WINDRES+set}" = set; then
5589 echo $ECHO_N "(cached) $ECHO_C" >&6
5591 if test -n "$WINDRES"; then
5592 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5598 test -z "$as_dir" && as_dir
=.
5599 for ac_exec_ext
in '' $ac_executable_extensions; do
5600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5601 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5611 WINDRES
=$ac_cv_prog_WINDRES
5612 if test -n "$WINDRES"; then
5613 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5614 echo "${ECHO_T}$WINDRES" >&6; }
5616 { echo "$as_me:$LINENO: result: no" >&5
5617 echo "${ECHO_T}no" >&6; }
5622 if test -z "$ac_cv_prog_WINDRES"; then
5623 ac_ct_WINDRES
=$WINDRES
5624 # Extract the first word of "windres", so it can be a program name with args.
5625 set dummy windres
; ac_word
=$2
5626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5628 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5629 echo $ECHO_N "(cached) $ECHO_C" >&6
5631 if test -n "$ac_ct_WINDRES"; then
5632 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5638 test -z "$as_dir" && as_dir
=.
5639 for ac_exec_ext
in '' $ac_executable_extensions; do
5640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5641 ac_cv_prog_ac_ct_WINDRES
="windres"
5642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5651 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5652 if test -n "$ac_ct_WINDRES"; then
5653 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5654 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5656 { echo "$as_me:$LINENO: result: no" >&5
5657 echo "${ECHO_T}no" >&6; }
5660 if test "x$ac_ct_WINDRES" = x
; then
5663 case $cross_compiling:$ac_tool_warned in
5665 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5666 whose name does not start with the host triplet. If you think this
5667 configuration is useful to you, please write to autoconf@gnu.org." >&5
5668 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5669 whose name does not start with the host triplet. If you think this
5670 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5671 ac_tool_warned
=yes ;;
5673 WINDRES
=$ac_ct_WINDRES
5676 WINDRES
="$ac_cv_prog_WINDRES"
5679 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5680 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5682 if test "$LN_S" = "ln -s"; then
5683 { echo "$as_me:$LINENO: result: yes" >&5
5684 echo "${ECHO_T}yes" >&6; }
5686 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5687 echo "${ECHO_T}no, using $LN_S" >&6; }
5690 { echo "$as_me:$LINENO: checking whether ln works" >&5
5691 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5692 rm -f conf$$ conf$$.
file
5694 if ln conf$$.
file conf$$
2>/dev
/null
; then
5697 { echo "$as_me:$LINENO: result: yes" >&5
5698 echo "${ECHO_T}yes" >&6; }
5702 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5703 echo "${ECHO_T}no, using $LN" >&6; }
5705 rm -f conf$$ conf$$.
file
5706 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5707 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5708 if test "${ac_cv_path_GREP+set}" = set; then
5709 echo $ECHO_N "(cached) $ECHO_C" >&6
5711 # Extract the first word of "grep ggrep" to use in msg output
5712 if test -z "$GREP"; then
5713 set dummy
grep ggrep
; ac_prog_name
=$2
5714 if test "${ac_cv_path_GREP+set}" = set; then
5715 echo $ECHO_N "(cached) $ECHO_C" >&6
5717 ac_path_GREP_found
=false
5718 # Loop through the user's path and test for each of PROGNAME-LIST
5719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5720 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5723 test -z "$as_dir" && as_dir
=.
5724 for ac_prog
in grep ggrep
; do
5725 for ac_exec_ext
in '' $ac_executable_extensions; do
5726 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5727 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5728 # Check for GNU ac_path_GREP and select it if it is found.
5729 # Check for GNU $ac_path_GREP
5730 case `"$ac_path_GREP" --version 2>&1` in
5732 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5735 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5738 cat "conftest.in" "conftest.in" >"conftest.tmp"
5739 mv "conftest.tmp" "conftest.in"
5740 cp "conftest.in" "conftest.nl"
5741 echo 'GREP' >> "conftest.nl"
5742 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5743 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5744 ac_count
=`expr $ac_count + 1`
5745 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5746 # Best one so far, save it but keep looking for a better one
5747 ac_cv_path_GREP
="$ac_path_GREP"
5748 ac_path_GREP_max
=$ac_count
5750 # 10*(2^10) chars as input seems more than enough
5751 test $ac_count -gt 10 && break
5753 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5757 $ac_path_GREP_found && break 3
5767 GREP
="$ac_cv_path_GREP"
5768 if test -z "$GREP"; then
5769 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5770 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5771 { (exit 1); exit 1; }; }
5775 ac_cv_path_GREP
=$GREP
5780 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5781 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5782 GREP
="$ac_cv_path_GREP"
5785 { echo "$as_me:$LINENO: checking for egrep" >&5
5786 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5787 if test "${ac_cv_path_EGREP+set}" = set; then
5788 echo $ECHO_N "(cached) $ECHO_C" >&6
5790 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5791 then ac_cv_path_EGREP
="$GREP -E"
5793 # Extract the first word of "egrep" to use in msg output
5794 if test -z "$EGREP"; then
5795 set dummy
egrep; ac_prog_name
=$2
5796 if test "${ac_cv_path_EGREP+set}" = set; then
5797 echo $ECHO_N "(cached) $ECHO_C" >&6
5799 ac_path_EGREP_found
=false
5800 # Loop through the user's path and test for each of PROGNAME-LIST
5801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5802 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5805 test -z "$as_dir" && as_dir
=.
5806 for ac_prog
in egrep; do
5807 for ac_exec_ext
in '' $ac_executable_extensions; do
5808 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5809 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5810 # Check for GNU ac_path_EGREP and select it if it is found.
5811 # Check for GNU $ac_path_EGREP
5812 case `"$ac_path_EGREP" --version 2>&1` in
5814 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5817 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5820 cat "conftest.in" "conftest.in" >"conftest.tmp"
5821 mv "conftest.tmp" "conftest.in"
5822 cp "conftest.in" "conftest.nl"
5823 echo 'EGREP' >> "conftest.nl"
5824 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5825 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5826 ac_count
=`expr $ac_count + 1`
5827 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5828 # Best one so far, save it but keep looking for a better one
5829 ac_cv_path_EGREP
="$ac_path_EGREP"
5830 ac_path_EGREP_max
=$ac_count
5832 # 10*(2^10) chars as input seems more than enough
5833 test $ac_count -gt 10 && break
5835 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5839 $ac_path_EGREP_found && break 3
5849 EGREP
="$ac_cv_path_EGREP"
5850 if test -z "$EGREP"; then
5851 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5852 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5853 { (exit 1); exit 1; }; }
5857 ac_cv_path_EGREP
=$EGREP
5863 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5864 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5865 EGREP
="$ac_cv_path_EGREP"
5868 # Extract the first word of "ldconfig", so it can be a program name with args.
5869 set dummy ldconfig
; ac_word
=$2
5870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5872 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5873 echo $ECHO_N "(cached) $ECHO_C" >&6
5877 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5881 for as_dir
in /sbin
/usr
/sbin
$PATH
5884 test -z "$as_dir" && as_dir
=.
5885 for ac_exec_ext
in '' $ac_executable_extensions; do
5886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5887 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5895 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5899 LDCONFIG
=$ac_cv_path_LDCONFIG
5900 if test -n "$LDCONFIG"; then
5901 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5902 echo "${ECHO_T}$LDCONFIG" >&6; }
5904 { echo "$as_me:$LINENO: result: no" >&5
5905 echo "${ECHO_T}no" >&6; }
5909 # Find a good install program. We prefer a C program (faster),
5910 # so one script is as good as another. But avoid the broken or
5911 # incompatible versions:
5912 # SysV /etc/install, /usr/sbin/install
5913 # SunOS /usr/etc/install
5914 # IRIX /sbin/install
5916 # AmigaOS /C/install, which installs bootblocks on floppy discs
5917 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5918 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5919 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5920 # OS/2's system install, which has a completely different semantic
5921 # ./install, which can be erroneously created by make from ./install.sh.
5922 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5923 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5924 if test -z "$INSTALL"; then
5925 if test "${ac_cv_path_install+set}" = set; then
5926 echo $ECHO_N "(cached) $ECHO_C" >&6
5928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5932 test -z "$as_dir" && as_dir
=.
5933 # Account for people who put trailing slashes in PATH elements.
5935 .
/ | .
// |
/cC
/* | \
5936 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5937 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5940 # OSF1 and SCO ODT 3.0 have their own names for install.
5941 # Don't use installbsd from OSF since it installs stuff as root
5943 for ac_prog
in ginstall scoinst
install; do
5944 for ac_exec_ext
in '' $ac_executable_extensions; do
5945 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5946 if test $ac_prog = install &&
5947 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5948 # AIX install. It has an incompatible calling convention.
5950 elif test $ac_prog = install &&
5951 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5952 # program-specific install script used by HP pwplus--don't use.
5955 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5968 if test "${ac_cv_path_install+set}" = set; then
5969 INSTALL
=$ac_cv_path_install
5971 # As a last resort, use the slow shell script. Don't cache a
5972 # value for INSTALL within a source directory, because that will
5973 # break other packages using the cache if that directory is
5974 # removed, or if the value is a relative name.
5975 INSTALL
=$ac_install_sh
5978 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5979 echo "${ECHO_T}$INSTALL" >&6; }
5981 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5982 # It thinks the first close brace ends the variable substitution.
5983 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5985 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5987 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5990 [\\/$
]* | ?
:[\\/]* ) ;;
5991 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
5994 for ac_prog
in lclint lint
5996 # Extract the first word of "$ac_prog", so it can be a program name with args.
5997 set dummy
$ac_prog; ac_word
=$2
5998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6000 if test "${ac_cv_prog_LINT+set}" = set; then
6001 echo $ECHO_N "(cached) $ECHO_C" >&6
6003 if test -n "$LINT"; then
6004 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6010 test -z "$as_dir" && as_dir
=.
6011 for ac_exec_ext
in '' $ac_executable_extensions; do
6012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6013 ac_cv_prog_LINT
="$ac_prog"
6014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6023 LINT
=$ac_cv_prog_LINT
6024 if test -n "$LINT"; then
6025 { echo "$as_me:$LINENO: result: $LINT" >&5
6026 echo "${ECHO_T}$LINT" >&6; }
6028 { echo "$as_me:$LINENO: result: no" >&5
6029 echo "${ECHO_T}no" >&6; }
6033 test -n "$LINT" && break
6036 if test "$LINT" = "lint"
6038 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6043 for ac_prog
in fontforge
6045 # Extract the first word of "$ac_prog", so it can be a program name with args.
6046 set dummy
$ac_prog; ac_word
=$2
6047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6049 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6050 echo $ECHO_N "(cached) $ECHO_C" >&6
6052 if test -n "$FONTFORGE"; then
6053 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6059 test -z "$as_dir" && as_dir
=.
6060 for ac_exec_ext
in '' $ac_executable_extensions; do
6061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6062 ac_cv_prog_FONTFORGE
="$ac_prog"
6063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6072 FONTFORGE
=$ac_cv_prog_FONTFORGE
6073 if test -n "$FONTFORGE"; then
6074 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6075 echo "${ECHO_T}$FONTFORGE" >&6; }
6077 { echo "$as_me:$LINENO: result: no" >&5
6078 echo "${ECHO_T}no" >&6; }
6082 test -n "$FONTFORGE" && break
6084 test -n "$FONTFORGE" || FONTFORGE
="false"
6086 for ac_prog
in pkg-config
6088 # Extract the first word of "$ac_prog", so it can be a program name with args.
6089 set dummy
$ac_prog; ac_word
=$2
6090 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6092 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6093 echo $ECHO_N "(cached) $ECHO_C" >&6
6095 if test -n "$PKG_CONFIG"; then
6096 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6102 test -z "$as_dir" && as_dir
=.
6103 for ac_exec_ext
in '' $ac_executable_extensions; do
6104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6105 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6115 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6116 if test -n "$PKG_CONFIG"; then
6117 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6118 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6120 { echo "$as_me:$LINENO: result: no" >&5
6121 echo "${ECHO_T}no" >&6; }
6125 test -n "$PKG_CONFIG" && break
6127 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6132 # Extract the first word of "prelink", so it can be a program name with args.
6133 set dummy prelink
; ac_word
=$2
6134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6136 if test "${ac_cv_path_PRELINK+set}" = set; then
6137 echo $ECHO_N "(cached) $ECHO_C" >&6
6141 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6145 for as_dir
in /sbin
/usr
/sbin
$PATH
6148 test -z "$as_dir" && as_dir
=.
6149 for ac_exec_ext
in '' $ac_executable_extensions; do
6150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6151 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6159 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6163 PRELINK
=$ac_cv_path_PRELINK
6164 if test -n "$PRELINK"; then
6165 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6166 echo "${ECHO_T}$PRELINK" >&6; }
6168 { echo "$as_me:$LINENO: result: no" >&5
6169 echo "${ECHO_T}no" >&6; }
6178 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6179 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6180 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6181 echo $ECHO_N "(cached) $ECHO_C" >&6
6183 ac_check_lib_save_LIBS
=$LIBS
6185 cat >conftest.
$ac_ext <<_ACEOF
6188 cat confdefs.h
>>conftest.
$ac_ext
6189 cat >>conftest.
$ac_ext <<_ACEOF
6190 /* end confdefs.h. */
6192 /* Override any GCC internal prototype to avoid an error.
6193 Use char because int might match the return type of a GCC
6194 builtin and then its argument prototype would still apply. */
6198 char i386_set_ldt ();
6202 return i386_set_ldt ();
6207 rm -f conftest.
$ac_objext conftest
$ac_exeext
6208 if { (ac_try
="$ac_link"
6210 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6211 *) ac_try_echo=$ac_try;;
6213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6214 (eval "$ac_link") 2>conftest.er1
6216 grep -v '^ *+' conftest.er1 >conftest.err
6218 cat conftest.err >&5
6219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6220 (exit $ac_status); } && {
6221 test -z "$ac_c_werror_flag" ||
6222 test ! -s conftest.err
6223 } && test -s conftest$ac_exeext &&
6224 $as_test_x conftest$ac_exeext; then
6225 ac_cv_lib_i386_i386_set_ldt=yes
6227 echo "$as_me: failed program was:" >&5
6228 sed 's/^/| /' conftest.$ac_ext >&5
6230 ac_cv_lib_i386_i386_set_ldt=no
6233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6234 conftest$ac_exeext conftest.$ac_ext
6235 LIBS=$ac_check_lib_save_LIBS
6237 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6238 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6239 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6240 cat >>confdefs.h <<_ACEOF
6241 #define HAVE_LIBI386 1
6249 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6250 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6251 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6252 echo $ECHO_N "(cached) $ECHO_C" >&6
6254 ac_check_lib_save_LIBS=$LIBS
6255 LIBS="-lossaudio $LIBS"
6256 cat >conftest.$ac_ext <<_ACEOF
6259 cat confdefs.h >>conftest.$ac_ext
6260 cat >>conftest.$ac_ext <<_ACEOF
6261 /* end confdefs.h. */
6263 /* Override any GCC internal prototype to avoid an error.
6264 Use char because int might match the return type of a GCC
6265 builtin and then its argument prototype would still apply. */
6273 return _oss_ioctl ();
6278 rm -f conftest.$ac_objext conftest$ac_exeext
6279 if { (ac_try="$ac_link"
6281 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6282 *) ac_try_echo
=$ac_try;;
6284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6285 (eval "$ac_link") 2>conftest.er1
6287 grep -v '^ *+' conftest.er1
>conftest.err
6289 cat conftest.err
>&5
6290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 (exit $ac_status); } && {
6292 test -z "$ac_c_werror_flag" ||
6293 test ! -s conftest.err
6294 } && test -s conftest
$ac_exeext &&
6295 $as_test_x conftest
$ac_exeext; then
6296 ac_cv_lib_ossaudio__oss_ioctl
=yes
6298 echo "$as_me: failed program was:" >&5
6299 sed 's/^/| /' conftest.
$ac_ext >&5
6301 ac_cv_lib_ossaudio__oss_ioctl
=no
6304 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6305 conftest
$ac_exeext conftest.
$ac_ext
6306 LIBS
=$ac_check_lib_save_LIBS
6308 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6309 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6310 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6311 cat >>confdefs.h
<<_ACEOF
6312 #define HAVE_LIBOSSAUDIO 1
6315 LIBS
="-lossaudio $LIBS"
6320 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6321 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6322 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6323 echo $ECHO_N "(cached) $ECHO_C" >&6
6325 ac_check_lib_save_LIBS
=$LIBS
6327 cat >conftest.
$ac_ext <<_ACEOF
6330 cat confdefs.h
>>conftest.
$ac_ext
6331 cat >>conftest.
$ac_ext <<_ACEOF
6332 /* end confdefs.h. */
6334 /* Override any GCC internal prototype to avoid an error.
6335 Use char because int might match the return type of a GCC
6336 builtin and then its argument prototype would still apply. */
6340 char _xpg4_setrunelocale ();
6344 return _xpg4_setrunelocale ();
6349 rm -f conftest.
$ac_objext conftest
$ac_exeext
6350 if { (ac_try
="$ac_link"
6352 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6353 *) ac_try_echo=$ac_try;;
6355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6356 (eval "$ac_link") 2>conftest.er1
6358 grep -v '^ *+' conftest.er1 >conftest.err
6360 cat conftest.err >&5
6361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362 (exit $ac_status); } && {
6363 test -z "$ac_c_werror_flag" ||
6364 test ! -s conftest.err
6365 } && test -s conftest$ac_exeext &&
6366 $as_test_x conftest$ac_exeext; then
6367 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6369 echo "$as_me: failed program was:" >&5
6370 sed 's/^/| /' conftest.$ac_ext >&5
6372 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6376 conftest$ac_exeext conftest.$ac_ext
6377 LIBS=$ac_check_lib_save_LIBS
6379 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6380 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6381 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6382 cat >>confdefs.h <<_ACEOF
6383 #define HAVE_LIBXPG4 1
6390 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6391 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6392 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6393 echo $ECHO_N "(cached) $ECHO_C" >&6
6395 ac_check_lib_save_LIBS=$LIBS
6396 LIBS="-lpthread $LIBS"
6397 cat >conftest.$ac_ext <<_ACEOF
6400 cat confdefs.h >>conftest.$ac_ext
6401 cat >>conftest.$ac_ext <<_ACEOF
6402 /* end confdefs.h. */
6404 /* Override any GCC internal prototype to avoid an error.
6405 Use char because int might match the return type of a GCC
6406 builtin and then its argument prototype would still apply. */
6410 char pthread_create ();
6414 return pthread_create ();
6419 rm -f conftest.$ac_objext conftest$ac_exeext
6420 if { (ac_try="$ac_link"
6422 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6423 *) ac_try_echo
=$ac_try;;
6425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6426 (eval "$ac_link") 2>conftest.er1
6428 grep -v '^ *+' conftest.er1
>conftest.err
6430 cat conftest.err
>&5
6431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432 (exit $ac_status); } && {
6433 test -z "$ac_c_werror_flag" ||
6434 test ! -s conftest.err
6435 } && test -s conftest
$ac_exeext &&
6436 $as_test_x conftest
$ac_exeext; then
6437 ac_cv_lib_pthread_pthread_create
=yes
6439 echo "$as_me: failed program was:" >&5
6440 sed 's/^/| /' conftest.
$ac_ext >&5
6442 ac_cv_lib_pthread_pthread_create
=no
6445 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6446 conftest
$ac_exeext conftest.
$ac_ext
6447 LIBS
=$ac_check_lib_save_LIBS
6449 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6450 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6451 if test $ac_cv_lib_pthread_pthread_create = yes; then
6452 LIBPTHREAD
="-lpthread"
6471 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6472 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6473 if test "${ac_cv_header_stdc+set}" = set; then
6474 echo $ECHO_N "(cached) $ECHO_C" >&6
6476 cat >conftest.
$ac_ext <<_ACEOF
6479 cat confdefs.h
>>conftest.
$ac_ext
6480 cat >>conftest.
$ac_ext <<_ACEOF
6481 /* end confdefs.h. */
6495 rm -f conftest.
$ac_objext
6496 if { (ac_try
="$ac_compile"
6498 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6499 *) ac_try_echo=$ac_try;;
6501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6502 (eval "$ac_compile") 2>conftest.er1
6504 grep -v '^ *+' conftest.er1 >conftest.err
6506 cat conftest.err >&5
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 (exit $ac_status); } && {
6509 test -z "$ac_c_werror_flag" ||
6510 test ! -s conftest.err
6511 } && test -s conftest.$ac_objext; then
6512 ac_cv_header_stdc=yes
6514 echo "$as_me: failed program was:" >&5
6515 sed 's/^/| /' conftest.$ac_ext >&5
6517 ac_cv_header_stdc=no
6520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6522 if test $ac_cv_header_stdc = yes; then
6523 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6524 cat >conftest.$ac_ext <<_ACEOF
6527 cat confdefs.h >>conftest.$ac_ext
6528 cat >>conftest.$ac_ext <<_ACEOF
6529 /* end confdefs.h. */
6533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6534 $EGREP "memchr" >/dev/null 2>&1; then
6537 ac_cv_header_stdc=no
6543 if test $ac_cv_header_stdc = yes; then
6544 # ISC 2.0.2 stdlib.h does not declare free, 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 "free" >/dev/null 2>&1; then
6558 ac_cv_header_stdc=no
6564 if test $ac_cv_header_stdc = yes; then
6565 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6566 if test "$cross_compiling" = yes; then
6569 cat >conftest.$ac_ext <<_ACEOF
6572 cat confdefs.h >>conftest.$ac_ext
6573 cat >>conftest.$ac_ext <<_ACEOF
6574 /* end confdefs.h. */
6577 #if ((' ' & 0x0FF) == 0x020)
6578 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6579 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6581 # define ISLOWER(c) \
6582 (('a' <= (c) && (c) <= 'i') \
6583 || ('j' <= (c) && (c) <= 'r') \
6584 || ('s' <= (c) && (c) <= 'z'))
6585 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6588 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6593 for (i = 0; i < 256; i++)
6594 if (XOR (islower (i), ISLOWER (i))
6595 || toupper (i) != TOUPPER (i))
6600 rm -f conftest$ac_exeext
6601 if { (ac_try="$ac_link"
6603 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6604 *) ac_try_echo
=$ac_try;;
6606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6607 (eval "$ac_link") 2>&5
6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6611 { (case "(($ac_try" in
6612 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6613 *) ac_try_echo=$ac_try;;
6615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6616 (eval "$ac_try") 2>&5
6618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 (exit $ac_status); }; }; then
6622 echo "$as_me: program exited with status $ac_status" >&5
6623 echo "$as_me: failed program was:" >&5
6624 sed 's/^/| /' conftest.$ac_ext >&5
6627 ac_cv_header_stdc=no
6629 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6635 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6636 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6637 if test $ac_cv_header_stdc = yes; then
6639 cat >>confdefs.h <<\_ACEOF
6640 #define STDC_HEADERS 1
6645 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6655 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6656 inttypes.h stdint.h unistd.h
6658 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6659 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6661 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6662 echo $ECHO_N "(cached) $ECHO_C" >&6
6664 cat >conftest.$ac_ext <<_ACEOF
6667 cat confdefs.h >>conftest.$ac_ext
6668 cat >>conftest.$ac_ext <<_ACEOF
6669 /* end confdefs.h. */
6670 $ac_includes_default
6672 #include <$ac_header>
6674 rm -f conftest.$ac_objext
6675 if { (ac_try="$ac_compile"
6677 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6678 *) ac_try_echo
=$ac_try;;
6680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6681 (eval "$ac_compile") 2>conftest.er1
6683 grep -v '^ *+' conftest.er1
>conftest.err
6685 cat conftest.err
>&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); } && {
6688 test -z "$ac_c_werror_flag" ||
6689 test ! -s conftest.err
6690 } && test -s conftest.
$ac_objext; then
6691 eval "$as_ac_Header=yes"
6693 echo "$as_me: failed program was:" >&5
6694 sed 's/^/| /' conftest.
$ac_ext >&5
6696 eval "$as_ac_Header=no"
6699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6701 ac_res
=`eval echo '${'$as_ac_Header'}'`
6702 { echo "$as_me:$LINENO: result: $ac_res" >&5
6703 echo "${ECHO_T}$ac_res" >&6; }
6704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6705 cat >>confdefs.h
<<_ACEOF
6706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6824 AudioUnit
/AudioUnit.h \
6826 CoreAudio
/CoreAudio.h \
6827 DiskArbitration
/DiskArbitration.h \
6840 fontconfig
/fontconfig.h \
6866 machine
/soundcard.h \
6871 netinet
/in_systm.h \
6935 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6936 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6937 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6939 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6940 echo $ECHO_N "(cached) $ECHO_C" >&6
6942 ac_res
=`eval echo '${'$as_ac_Header'}'`
6943 { echo "$as_me:$LINENO: result: $ac_res" >&5
6944 echo "${ECHO_T}$ac_res" >&6; }
6946 # Is the header compilable?
6947 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6948 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6949 cat >conftest.
$ac_ext <<_ACEOF
6952 cat confdefs.h
>>conftest.
$ac_ext
6953 cat >>conftest.
$ac_ext <<_ACEOF
6954 /* end confdefs.h. */
6955 $ac_includes_default
6956 #include <$ac_header>
6958 rm -f conftest.
$ac_objext
6959 if { (ac_try
="$ac_compile"
6961 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6962 *) ac_try_echo=$ac_try;;
6964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6965 (eval "$ac_compile") 2>conftest.er1
6967 grep -v '^ *+' conftest.er1 >conftest.err
6969 cat conftest.err >&5
6970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6971 (exit $ac_status); } && {
6972 test -z "$ac_c_werror_flag" ||
6973 test ! -s conftest.err
6974 } && test -s conftest.$ac_objext; then
6975 ac_header_compiler=yes
6977 echo "$as_me: failed program was:" >&5
6978 sed 's/^/| /' conftest.$ac_ext >&5
6980 ac_header_compiler=no
6983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6984 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6985 echo "${ECHO_T}$ac_header_compiler" >&6; }
6987 # Is the header present?
6988 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6989 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6990 cat >conftest.$ac_ext <<_ACEOF
6993 cat confdefs.h >>conftest.$ac_ext
6994 cat >>conftest.$ac_ext <<_ACEOF
6995 /* end confdefs.h. */
6996 #include <$ac_header>
6998 if { (ac_try="$ac_cpp conftest.$ac_ext"
7000 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7001 *) ac_try_echo
=$ac_try;;
7003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7004 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7006 grep -v '^ *+' conftest.er1
>conftest.err
7008 cat conftest.err
>&5
7009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7010 (exit $ac_status); } >/dev
/null
&& {
7011 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7012 test ! -s conftest.err
7014 ac_header_preproc
=yes
7016 echo "$as_me: failed program was:" >&5
7017 sed 's/^/| /' conftest.
$ac_ext >&5
7019 ac_header_preproc
=no
7022 rm -f conftest.err conftest.
$ac_ext
7023 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7024 echo "${ECHO_T}$ac_header_preproc" >&6; }
7026 # So? What about this header?
7027 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7029 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7030 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7031 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7032 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7033 ac_header_preproc
=yes
7036 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7037 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7038 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7039 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7040 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7041 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7042 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7043 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7045 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7046 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7047 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7049 ## ------------------------------------ ##
7050 ## Report this to wine-devel@winehq.org ##
7051 ## ------------------------------------ ##
7053 ) |
sed "s/^/$as_me: WARNING: /" >&2
7056 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7058 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7059 echo $ECHO_N "(cached) $ECHO_C" >&6
7061 eval "$as_ac_Header=\$ac_header_preproc"
7063 ac_res
=`eval echo '${'$as_ac_Header'}'`
7064 { echo "$as_me:$LINENO: result: $ac_res" >&5
7065 echo "${ECHO_T}$ac_res" >&6; }
7068 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7069 cat >>confdefs.h
<<_ACEOF
7070 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7077 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7078 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7079 if test "${ac_cv_header_stat_broken+set}" = set; then
7080 echo $ECHO_N "(cached) $ECHO_C" >&6
7082 cat >conftest.
$ac_ext <<_ACEOF
7085 cat confdefs.h
>>conftest.
$ac_ext
7086 cat >>conftest.
$ac_ext <<_ACEOF
7087 /* end confdefs.h. */
7088 #include <sys/types.h>
7089 #include <sys/stat.h>
7091 #if defined S_ISBLK && defined S_IFDIR
7092 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7095 #if defined S_ISBLK && defined S_IFCHR
7096 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7099 #if defined S_ISLNK && defined S_IFREG
7100 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7103 #if defined S_ISSOCK && defined S_IFREG
7104 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7108 rm -f conftest.
$ac_objext
7109 if { (ac_try
="$ac_compile"
7111 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7112 *) ac_try_echo=$ac_try;;
7114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7115 (eval "$ac_compile") 2>conftest.er1
7117 grep -v '^ *+' conftest.er1 >conftest.err
7119 cat conftest.err >&5
7120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7121 (exit $ac_status); } && {
7122 test -z "$ac_c_werror_flag" ||
7123 test ! -s conftest.err
7124 } && test -s conftest.$ac_objext; then
7125 ac_cv_header_stat_broken=no
7127 echo "$as_me: failed program was:" >&5
7128 sed 's/^/| /' conftest.$ac_ext >&5
7130 ac_cv_header_stat_broken=yes
7133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7135 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7136 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7137 if test $ac_cv_header_stat_broken = yes; then
7139 cat >>confdefs.h <<\_ACEOF
7140 #define STAT_MACROS_BROKEN 1
7151 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7153 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7154 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7156 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7157 echo $ECHO_N "(cached) $ECHO_C" >&6
7159 cat >conftest.$ac_ext <<_ACEOF
7162 cat confdefs.h >>conftest.$ac_ext
7163 cat >>conftest.$ac_ext <<_ACEOF
7164 /* end confdefs.h. */
7165 #include <sys/types.h>
7166 #if HAVE_SYS_PARAM_H
7167 # include <sys/param.h>
7170 #include <$ac_header>
7172 rm -f conftest.$ac_objext
7173 if { (ac_try="$ac_compile"
7175 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7176 *) ac_try_echo
=$ac_try;;
7178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7179 (eval "$ac_compile") 2>conftest.er1
7181 grep -v '^ *+' conftest.er1
>conftest.err
7183 cat conftest.err
>&5
7184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7185 (exit $ac_status); } && {
7186 test -z "$ac_c_werror_flag" ||
7187 test ! -s conftest.err
7188 } && test -s conftest.
$ac_objext; then
7189 eval "$as_ac_Header=yes"
7191 echo "$as_me: failed program was:" >&5
7192 sed 's/^/| /' conftest.
$ac_ext >&5
7194 eval "$as_ac_Header=no"
7197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7199 ac_res
=`eval echo '${'$as_ac_Header'}'`
7200 { echo "$as_me:$LINENO: result: $ac_res" >&5
7201 echo "${ECHO_T}$ac_res" >&6; }
7202 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7203 cat >>confdefs.h
<<_ACEOF
7204 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7218 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
7220 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7221 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7223 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7224 echo $ECHO_N "(cached) $ECHO_C" >&6
7226 cat >conftest.
$ac_ext <<_ACEOF
7229 cat confdefs.h
>>conftest.
$ac_ext
7230 cat >>conftest.
$ac_ext <<_ACEOF
7231 /* end confdefs.h. */
7232 #include <sys/types.h>
7233 #if HAVE_SYS_SOCKET_H
7234 # include <sys/socket.h>
7237 #include <$ac_header>
7239 rm -f conftest.
$ac_objext
7240 if { (ac_try
="$ac_compile"
7242 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7243 *) ac_try_echo=$ac_try;;
7245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7246 (eval "$ac_compile") 2>conftest.er1
7248 grep -v '^ *+' conftest.er1 >conftest.err
7250 cat conftest.err >&5
7251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7252 (exit $ac_status); } && {
7253 test -z "$ac_c_werror_flag" ||
7254 test ! -s conftest.err
7255 } && test -s conftest.$ac_objext; then
7256 eval "$as_ac_Header=yes"
7258 echo "$as_me: failed program was:" >&5
7259 sed 's/^/| /' conftest.$ac_ext >&5
7261 eval "$as_ac_Header=no"
7264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7266 ac_res=`eval echo '${'$as_ac_Header'}'`
7267 { echo "$as_me:$LINENO: result: $ac_res" >&5
7268 echo "${ECHO_T}$ac_res" >&6; }
7269 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7270 cat >>confdefs.h <<_ACEOF
7271 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7280 for ac_header in linux/ipx.h
7282 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7283 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7285 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7286 echo $ECHO_N "(cached) $ECHO_C" >&6
7288 cat >conftest.$ac_ext <<_ACEOF
7291 cat confdefs.h >>conftest.$ac_ext
7292 cat >>conftest.$ac_ext <<_ACEOF
7293 /* end confdefs.h. */
7294 #include <sys/types.h>
7295 #ifdef HAVE_ASM_TYPES_H
7296 # include <asm/types.h>
7298 #if HAVE_SYS_SOCKET_H
7299 # include <sys/socket.h>
7302 #include <$ac_header>
7304 rm -f conftest.$ac_objext
7305 if { (ac_try="$ac_compile"
7307 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7308 *) ac_try_echo
=$ac_try;;
7310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7311 (eval "$ac_compile") 2>conftest.er1
7313 grep -v '^ *+' conftest.er1
>conftest.err
7315 cat conftest.err
>&5
7316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7317 (exit $ac_status); } && {
7318 test -z "$ac_c_werror_flag" ||
7319 test ! -s conftest.err
7320 } && test -s conftest.
$ac_objext; then
7321 eval "$as_ac_Header=yes"
7323 echo "$as_me: failed program was:" >&5
7324 sed 's/^/| /' conftest.
$ac_ext >&5
7326 eval "$as_ac_Header=no"
7329 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7331 ac_res
=`eval echo '${'$as_ac_Header'}'`
7332 { echo "$as_me:$LINENO: result: $ac_res" >&5
7333 echo "${ECHO_T}$ac_res" >&6; }
7334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7335 cat >>confdefs.h
<<_ACEOF
7336 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7345 for ac_header
in resolv.h
7347 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7348 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7350 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7351 echo $ECHO_N "(cached) $ECHO_C" >&6
7353 cat >conftest.
$ac_ext <<_ACEOF
7356 cat confdefs.h
>>conftest.
$ac_ext
7357 cat >>conftest.
$ac_ext <<_ACEOF
7358 /* end confdefs.h. */
7359 #include <sys/types.h>
7360 #if HAVE_SYS_SOCKET_H
7361 # include <sys/socket.h>
7363 #if HAVE_NETINET_IN_H
7364 # include <netinet/in.h>
7366 #if HAVE_ARPA_NAMESER_H
7367 # include <arpa/nameser.h>
7370 #include <$ac_header>
7372 rm -f conftest.
$ac_objext
7373 if { (ac_try
="$ac_compile"
7375 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7376 *) ac_try_echo=$ac_try;;
7378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7379 (eval "$ac_compile") 2>conftest.er1
7381 grep -v '^ *+' conftest.er1 >conftest.err
7383 cat conftest.err >&5
7384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7385 (exit $ac_status); } && {
7386 test -z "$ac_c_werror_flag" ||
7387 test ! -s conftest.err
7388 } && test -s conftest.$ac_objext; then
7389 eval "$as_ac_Header=yes"
7391 echo "$as_me: failed program was:" >&5
7392 sed 's/^/| /' conftest.$ac_ext >&5
7394 eval "$as_ac_Header=no"
7397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7399 ac_res=`eval echo '${'$as_ac_Header'}'`
7400 { echo "$as_me:$LINENO: result: $ac_res" >&5
7401 echo "${ECHO_T}$ac_res" >&6; }
7402 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7403 cat >>confdefs.h <<_ACEOF
7404 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7413 for ac_header in ucontext.h
7415 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7416 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7418 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7419 echo $ECHO_N "(cached) $ECHO_C" >&6
7421 cat >conftest.$ac_ext <<_ACEOF
7424 cat confdefs.h >>conftest.$ac_ext
7425 cat >>conftest.$ac_ext <<_ACEOF
7426 /* end confdefs.h. */
7429 #include <$ac_header>
7431 rm -f conftest.$ac_objext
7432 if { (ac_try="$ac_compile"
7434 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7435 *) ac_try_echo
=$ac_try;;
7437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7438 (eval "$ac_compile") 2>conftest.er1
7440 grep -v '^ *+' conftest.er1
>conftest.err
7442 cat conftest.err
>&5
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); } && {
7445 test -z "$ac_c_werror_flag" ||
7446 test ! -s conftest.err
7447 } && test -s conftest.
$ac_objext; then
7448 eval "$as_ac_Header=yes"
7450 echo "$as_me: failed program was:" >&5
7451 sed 's/^/| /' conftest.
$ac_ext >&5
7453 eval "$as_ac_Header=no"
7456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7458 ac_res
=`eval echo '${'$as_ac_Header'}'`
7459 { echo "$as_me:$LINENO: result: $ac_res" >&5
7460 echo "${ECHO_T}$ac_res" >&6; }
7461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7462 cat >>confdefs.h
<<_ACEOF
7463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7472 for ac_header
in pthread_np.h
7474 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7475 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7477 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7478 echo $ECHO_N "(cached) $ECHO_C" >&6
7480 cat >conftest.
$ac_ext <<_ACEOF
7483 cat confdefs.h
>>conftest.
$ac_ext
7484 cat >>conftest.
$ac_ext <<_ACEOF
7485 /* end confdefs.h. */
7486 #ifdef HAVE_PTHREAD_H
7487 #include <pthread.h>
7490 #include <$ac_header>
7492 rm -f conftest.
$ac_objext
7493 if { (ac_try
="$ac_compile"
7495 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7496 *) ac_try_echo=$ac_try;;
7498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7499 (eval "$ac_compile") 2>conftest.er1
7501 grep -v '^ *+' conftest.er1 >conftest.err
7503 cat conftest.err >&5
7504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7505 (exit $ac_status); } && {
7506 test -z "$ac_c_werror_flag" ||
7507 test ! -s conftest.err
7508 } && test -s conftest.$ac_objext; then
7509 eval "$as_ac_Header=yes"
7511 echo "$as_me: failed program was:" >&5
7512 sed 's/^/| /' conftest.$ac_ext >&5
7514 eval "$as_ac_Header=no"
7517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7519 ac_res=`eval echo '${'$as_ac_Header'}'`
7520 { echo "$as_me:$LINENO: result: $ac_res" >&5
7521 echo "${ECHO_T}$ac_res" >&6; }
7522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7523 cat >>confdefs.h <<_ACEOF
7524 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7533 for ac_header in linux/videodev.h
7535 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7536 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7538 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7539 echo $ECHO_N "(cached) $ECHO_C" >&6
7541 cat >conftest.$ac_ext <<_ACEOF
7544 cat confdefs.h >>conftest.$ac_ext
7545 cat >>conftest.$ac_ext <<_ACEOF
7546 /* end confdefs.h. */
7547 #ifdef HAVE_SYS_TIME_H
7548 #include <sys/time.h>
7550 #include <sys/types.h>
7551 #ifdef HAVE_ASM_TYPES_H
7552 #include <asm/types.h>
7555 #include <$ac_header>
7557 rm -f conftest.$ac_objext
7558 if { (ac_try="$ac_compile"
7560 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7561 *) ac_try_echo
=$ac_try;;
7563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7564 (eval "$ac_compile") 2>conftest.er1
7566 grep -v '^ *+' conftest.er1
>conftest.err
7568 cat conftest.err
>&5
7569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7570 (exit $ac_status); } && {
7571 test -z "$ac_c_werror_flag" ||
7572 test ! -s conftest.err
7573 } && test -s conftest.
$ac_objext; then
7574 eval "$as_ac_Header=yes"
7576 echo "$as_me: failed program was:" >&5
7577 sed 's/^/| /' conftest.
$ac_ext >&5
7579 eval "$as_ac_Header=no"
7582 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7584 ac_res
=`eval echo '${'$as_ac_Header'}'`
7585 { echo "$as_me:$LINENO: result: $ac_res" >&5
7586 echo "${ECHO_T}$ac_res" >&6; }
7587 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7588 cat >>confdefs.h
<<_ACEOF
7589 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7598 for ac_header
in linux
/capi.h
7600 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7601 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7603 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7604 echo $ECHO_N "(cached) $ECHO_C" >&6
7606 cat >conftest.
$ac_ext <<_ACEOF
7609 cat confdefs.h
>>conftest.
$ac_ext
7610 cat >>conftest.
$ac_ext <<_ACEOF
7611 /* end confdefs.h. */
7614 #include <$ac_header>
7616 rm -f conftest.
$ac_objext
7617 if { (ac_try
="$ac_compile"
7619 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7620 *) ac_try_echo=$ac_try;;
7622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7623 (eval "$ac_compile") 2>conftest.er1
7625 grep -v '^ *+' conftest.er1 >conftest.err
7627 cat conftest.err >&5
7628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7629 (exit $ac_status); } && {
7630 test -z "$ac_c_werror_flag" ||
7631 test ! -s conftest.err
7632 } && test -s conftest.$ac_objext; then
7633 eval "$as_ac_Header=yes"
7635 echo "$as_me: failed program was:" >&5
7636 sed 's/^/| /' conftest.$ac_ext >&5
7638 eval "$as_ac_Header=no"
7641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7643 ac_res=`eval echo '${'$as_ac_Header'}'`
7644 { echo "$as_me:$LINENO: result: $ac_res" >&5
7645 echo "${ECHO_T}$ac_res" >&6; }
7646 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7647 cat >>confdefs.h <<_ACEOF
7648 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7659 DLLFLAGS="-D_REENTRANT"
7673 # Extract the first word of "ldd", so it can be a program name with args.
7674 set dummy ldd; ac_word=$2
7675 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7677 if test "${ac_cv_path_LDD+set}" = set; then
7678 echo $ECHO_N "(cached) $ECHO_C" >&6
7682 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7686 as_dummy="/sbin:/usr/sbin:$PATH"
7687 for as_dir in $as_dummy
7690 test -z "$as_dir" && as_dir=.
7691 for ac_exec_ext in '' $ac_executable_extensions; do
7692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7693 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7701 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7706 if test -n "$LDD"; then
7707 { echo "$as_me:$LINENO: result: $LDD" >&5
7708 echo "${ECHO_T}$LDD" >&6; }
7710 { echo "$as_me:$LINENO: result: no" >&5
7711 echo "${ECHO_T}no" >&6; }
7718 if test -n "$ac_tool_prefix"; then
7719 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7720 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7721 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7723 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7724 echo $ECHO_N "(cached) $ECHO_C" >&6
7726 if test -n "$DLLTOOL"; then
7727 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7733 test -z "$as_dir" && as_dir=.
7734 for ac_exec_ext in '' $ac_executable_extensions; do
7735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7736 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7746 DLLTOOL=$ac_cv_prog_DLLTOOL
7747 if test -n "$DLLTOOL"; then
7748 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7749 echo "${ECHO_T}$DLLTOOL" >&6; }
7751 { echo "$as_me:$LINENO: result: no" >&5
7752 echo "${ECHO_T}no" >&6; }
7757 if test -z "$ac_cv_prog_DLLTOOL"; then
7758 ac_ct_DLLTOOL=$DLLTOOL
7759 # Extract the first word of "dlltool", so it can be a program name with args.
7760 set dummy dlltool; ac_word=$2
7761 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7763 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7764 echo $ECHO_N "(cached) $ECHO_C" >&6
7766 if test -n "$ac_ct_DLLTOOL"; then
7767 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7773 test -z "$as_dir" && as_dir=.
7774 for ac_exec_ext in '' $ac_executable_extensions; do
7775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7776 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7786 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7787 if test -n "$ac_ct_DLLTOOL"; then
7788 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7789 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7791 { echo "$as_me:$LINENO: result: no" >&5
7792 echo "${ECHO_T}no" >&6; }
7795 if test "x$ac_ct_DLLTOOL" = x; then
7798 case $cross_compiling:$ac_tool_warned in
7800 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7801 whose name does not start with the host triplet. If you think this
7802 configuration is useful to you, please write to autoconf@gnu.org." >&5
7803 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7804 whose name does not start with the host triplet. If you think this
7805 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7806 ac_tool_warned=yes ;;
7808 DLLTOOL=$ac_ct_DLLTOOL
7811 DLLTOOL="$ac_cv_prog_DLLTOOL"
7814 if test -n "$ac_tool_prefix"; then
7815 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7816 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
7817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7819 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7820 echo $ECHO_N "(cached) $ECHO_C" >&6
7822 if test -n "$DLLWRAP"; then
7823 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
7825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7829 test -z "$as_dir" && as_dir=.
7830 for ac_exec_ext in '' $ac_executable_extensions; do
7831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7832 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
7833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7842 DLLWRAP=$ac_cv_prog_DLLWRAP
7843 if test -n "$DLLWRAP"; then
7844 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7845 echo "${ECHO_T}$DLLWRAP" >&6; }
7847 { echo "$as_me:$LINENO: result: no" >&5
7848 echo "${ECHO_T}no" >&6; }
7853 if test -z "$ac_cv_prog_DLLWRAP"; then
7854 ac_ct_DLLWRAP=$DLLWRAP
7855 # Extract the first word of "dllwrap", so it can be a program name with args.
7856 set dummy dllwrap; ac_word=$2
7857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7859 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7860 echo $ECHO_N "(cached) $ECHO_C" >&6
7862 if test -n "$ac_ct_DLLWRAP"; then
7863 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
7865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7869 test -z "$as_dir" && as_dir=.
7870 for ac_exec_ext in '' $ac_executable_extensions; do
7871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7872 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
7873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7882 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
7883 if test -n "$ac_ct_DLLWRAP"; then
7884 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7885 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7887 { echo "$as_me:$LINENO: result: no" >&5
7888 echo "${ECHO_T}no" >&6; }
7891 if test "x$ac_ct_DLLWRAP" = x; then
7894 case $cross_compiling:$ac_tool_warned in
7896 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7897 whose name does not start with the host triplet. If you think this
7898 configuration is useful to you, please write to autoconf@gnu.org." >&5
7899 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7900 whose name does not start with the host triplet. If you think this
7901 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7902 ac_tool_warned=yes ;;
7904 DLLWRAP=$ac_ct_DLLWRAP
7907 DLLWRAP="$ac_cv_prog_DLLWRAP"
7910 if test -n "$ac_tool_prefix"; then
7911 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7912 set dummy ${ac_tool_prefix}ar; ac_word=$2
7913 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7915 if test "${ac_cv_prog_MINGWAR+set}" = set; then
7916 echo $ECHO_N "(cached) $ECHO_C" >&6
7918 if test -n "$MINGWAR"; then
7919 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
7921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7925 test -z "$as_dir" && as_dir=.
7926 for ac_exec_ext in '' $ac_executable_extensions; do
7927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7928 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
7929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7938 MINGWAR=$ac_cv_prog_MINGWAR
7939 if test -n "$MINGWAR"; then
7940 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
7941 echo "${ECHO_T}$MINGWAR" >&6; }
7943 { echo "$as_me:$LINENO: result: no" >&5
7944 echo "${ECHO_T}no" >&6; }
7949 if test -z "$ac_cv_prog_MINGWAR"; then
7950 ac_ct_MINGWAR=$MINGWAR
7951 # Extract the first word of "ar", so it can be a program name with args.
7952 set dummy ar; ac_word=$2
7953 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7955 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
7956 echo $ECHO_N "(cached) $ECHO_C" >&6
7958 if test -n "$ac_ct_MINGWAR"; then
7959 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
7961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7965 test -z "$as_dir" && as_dir=.
7966 for ac_exec_ext in '' $ac_executable_extensions; do
7967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7968 ac_cv_prog_ac_ct_MINGWAR="ar"
7969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7978 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
7979 if test -n "$ac_ct_MINGWAR"; then
7980 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
7981 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
7983 { echo "$as_me:$LINENO: result: no" >&5
7984 echo "${ECHO_T}no" >&6; }
7987 if test "x$ac_ct_MINGWAR" = x; then
7990 case $cross_compiling:$ac_tool_warned in
7992 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7993 whose name does not start with the host triplet. If you think this
7994 configuration is useful to you, please write to autoconf@gnu.org." >&5
7995 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7996 whose name does not start with the host triplet. If you think this
7997 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7998 ac_tool_warned=yes ;;
8000 MINGWAR=$ac_ct_MINGWAR
8003 MINGWAR="$ac_cv_prog_MINGWAR"
8006 if test "$DLLWRAP" = "false"; then
8018 DLLFLAGS="$DLLFLAGS -fPIC"
8019 LDDLLFLAGS="-bundle -multiply_defined suppress"
8020 LIBWINE_LDFLAGS="-multiply_defined suppress"
8021 LDSHARED="\$(CC) -dynamiclib"
8023 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8024 COREFOUNDATIONLIB="-framework CoreFoundation"
8026 IOKITLIB="-framework IOKit -framework CoreFoundation"
8028 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8030 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8032 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8035 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8037 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8042 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8044 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8046 CARBONLIB="-framework Carbon"
8048 QUARTZFILES='$(QUARTZFILES)'
8052 DLLFLAGS="$DLLFLAGS -fPIC"
8054 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8055 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8056 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8057 echo $ECHO_N "(cached) $ECHO_C" >&6
8059 ac_wine_try_cflags_saved=$CFLAGS
8060 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8061 cat >conftest.$ac_ext <<_ACEOF
8064 rm -f conftest.$ac_objext conftest$ac_exeext
8065 if { (ac_try="$ac_link"
8067 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8068 *) ac_try_echo
=$ac_try;;
8070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8071 (eval "$ac_link") 2>conftest.er1
8073 grep -v '^ *+' conftest.er1
>conftest.err
8075 cat conftest.err
>&5
8076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8077 (exit $ac_status); } && {
8078 test -z "$ac_c_werror_flag" ||
8079 test ! -s conftest.err
8080 } && test -s conftest
$ac_exeext &&
8081 $as_test_x conftest
$ac_exeext; then
8082 ac_cv_c_dll_gnuelf
="yes"
8084 echo "$as_me: failed program was:" >&5
8085 sed 's/^/| /' conftest.
$ac_ext >&5
8087 ac_cv_c_dll_gnuelf
="no"
8090 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8091 conftest
$ac_exeext conftest.
$ac_ext
8092 CFLAGS
=$ac_wine_try_cflags_saved
8094 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8095 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8096 if test "$ac_cv_c_dll_gnuelf" = "yes"
8098 LDSHARED
="\$(CC) -shared"
8099 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
8100 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8101 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8102 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8103 echo $ECHO_N "(cached) $ECHO_C" >&6
8105 ac_wine_try_cflags_saved
=$CFLAGS
8106 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8107 cat >conftest.
$ac_ext <<_ACEOF
8110 cat confdefs.h
>>conftest.
$ac_ext
8111 cat >>conftest.
$ac_ext <<_ACEOF
8112 /* end confdefs.h. */
8122 rm -f conftest.
$ac_objext conftest
$ac_exeext
8123 if { (ac_try
="$ac_link"
8125 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8126 *) ac_try_echo=$ac_try;;
8128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8129 (eval "$ac_link") 2>conftest.er1
8131 grep -v '^ *+' conftest.er1 >conftest.err
8133 cat conftest.err >&5
8134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8135 (exit $ac_status); } && {
8136 test -z "$ac_c_werror_flag" ||
8137 test ! -s conftest.err
8138 } && test -s conftest$ac_exeext &&
8139 $as_test_x conftest$ac_exeext; then
8140 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8142 echo "$as_me: failed program was:" >&5
8143 sed 's/^/| /' conftest.$ac_ext >&5
8145 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8149 conftest$ac_exeext conftest.$ac_ext
8150 CFLAGS=$ac_wine_try_cflags_saved
8152 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8153 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8154 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8155 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8157 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8158 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8159 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8160 echo $ECHO_N "(cached) $ECHO_C" >&6
8162 ac_wine_try_cflags_saved=$CFLAGS
8163 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8164 cat >conftest.$ac_ext <<_ACEOF
8167 cat confdefs.h >>conftest.$ac_ext
8168 cat >>conftest.$ac_ext <<_ACEOF
8169 /* end confdefs.h. */
8179 rm -f conftest.$ac_objext conftest$ac_exeext
8180 if { (ac_try="$ac_link"
8182 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8183 *) ac_try_echo
=$ac_try;;
8185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8186 (eval "$ac_link") 2>conftest.er1
8188 grep -v '^ *+' conftest.er1
>conftest.err
8190 cat conftest.err
>&5
8191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8192 (exit $ac_status); } && {
8193 test -z "$ac_c_werror_flag" ||
8194 test ! -s conftest.err
8195 } && test -s conftest
$ac_exeext &&
8196 $as_test_x conftest
$ac_exeext; then
8197 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8199 echo "$as_me: failed program was:" >&5
8200 sed 's/^/| /' conftest.
$ac_ext >&5
8202 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8205 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8206 conftest
$ac_exeext conftest.
$ac_ext
8207 CFLAGS
=$ac_wine_try_cflags_saved
8209 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8210 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8211 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8212 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8218 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8219 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8220 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8221 echo $ECHO_N "(cached) $ECHO_C" >&6
8223 ac_wine_try_cflags_saved
=$CFLAGS
8224 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8225 cat >conftest.
$ac_ext <<_ACEOF
8228 cat confdefs.h
>>conftest.
$ac_ext
8229 cat >>conftest.
$ac_ext <<_ACEOF
8230 /* end confdefs.h. */
8240 rm -f conftest.
$ac_objext conftest
$ac_exeext
8241 if { (ac_try
="$ac_link"
8243 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8244 *) ac_try_echo=$ac_try;;
8246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8247 (eval "$ac_link") 2>conftest.er1
8249 grep -v '^ *+' conftest.er1 >conftest.err
8251 cat conftest.err >&5
8252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8253 (exit $ac_status); } && {
8254 test -z "$ac_c_werror_flag" ||
8255 test ! -s conftest.err
8256 } && test -s conftest$ac_exeext &&
8257 $as_test_x conftest$ac_exeext; then
8258 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8260 echo "$as_me: failed program was:" >&5
8261 sed 's/^/| /' conftest.$ac_ext >&5
8263 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8267 conftest$ac_exeext conftest.$ac_ext
8268 CFLAGS=$ac_wine_try_cflags_saved
8270 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8271 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8272 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8273 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8277 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8278 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8279 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8280 echo $ECHO_N "(cached) $ECHO_C" >&6
8282 ac_wine_try_cflags_saved=$CFLAGS
8283 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8284 cat >conftest.$ac_ext <<_ACEOF
8287 cat confdefs.h >>conftest.$ac_ext
8288 cat >>conftest.$ac_ext <<_ACEOF
8289 /* end confdefs.h. */
8299 rm -f conftest.$ac_objext conftest$ac_exeext
8300 if { (ac_try="$ac_link"
8302 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8303 *) ac_try_echo
=$ac_try;;
8305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8306 (eval "$ac_link") 2>conftest.er1
8308 grep -v '^ *+' conftest.er1
>conftest.err
8310 cat conftest.err
>&5
8311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8312 (exit $ac_status); } && {
8313 test -z "$ac_c_werror_flag" ||
8314 test ! -s conftest.err
8315 } && test -s conftest
$ac_exeext &&
8316 $as_test_x conftest
$ac_exeext; then
8317 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
8319 echo "$as_me: failed program was:" >&5
8320 sed 's/^/| /' conftest.
$ac_ext >&5
8322 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
8325 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8326 conftest
$ac_exeext conftest.
$ac_ext
8327 CFLAGS
=$ac_wine_try_cflags_saved
8329 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8330 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8331 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8332 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8336 echo '{ global: *; };' >conftest.map
8337 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8338 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8339 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8340 echo $ECHO_N "(cached) $ECHO_C" >&6
8342 ac_wine_try_cflags_saved
=$CFLAGS
8343 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8344 cat >conftest.
$ac_ext <<_ACEOF
8347 cat confdefs.h
>>conftest.
$ac_ext
8348 cat >>conftest.
$ac_ext <<_ACEOF
8349 /* end confdefs.h. */
8359 rm -f conftest.
$ac_objext conftest
$ac_exeext
8360 if { (ac_try
="$ac_link"
8362 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8363 *) ac_try_echo=$ac_try;;
8365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8366 (eval "$ac_link") 2>conftest.er1
8368 grep -v '^ *+' conftest.er1 >conftest.err
8370 cat conftest.err >&5
8371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8372 (exit $ac_status); } && {
8373 test -z "$ac_c_werror_flag" ||
8374 test ! -s conftest.err
8375 } && test -s conftest$ac_exeext &&
8376 $as_test_x conftest$ac_exeext; then
8377 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8379 echo "$as_me: failed program was:" >&5
8380 sed 's/^/| /' conftest.$ac_ext >&5
8382 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8386 conftest$ac_exeext conftest.$ac_ext
8387 CFLAGS=$ac_wine_try_cflags_saved
8389 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8390 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8391 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8392 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8397 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8398 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8399 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8400 echo $ECHO_N "(cached) $ECHO_C" >&6
8402 ac_wine_try_cflags_saved=$CFLAGS
8403 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8404 cat >conftest.$ac_ext <<_ACEOF
8407 cat confdefs.h >>conftest.$ac_ext
8408 cat >>conftest.$ac_ext <<_ACEOF
8409 /* end confdefs.h. */
8419 rm -f conftest.$ac_objext conftest$ac_exeext
8420 if { (ac_try="$ac_link"
8422 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8423 *) ac_try_echo
=$ac_try;;
8425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8426 (eval "$ac_link") 2>conftest.er1
8428 grep -v '^ *+' conftest.er1
>conftest.err
8430 cat conftest.err
>&5
8431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8432 (exit $ac_status); } && {
8433 test -z "$ac_c_werror_flag" ||
8434 test ! -s conftest.err
8435 } && test -s conftest
$ac_exeext &&
8436 $as_test_x conftest
$ac_exeext; then
8437 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8439 echo "$as_me: failed program was:" >&5
8440 sed 's/^/| /' conftest.
$ac_ext >&5
8442 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8445 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8446 conftest
$ac_exeext conftest.
$ac_ext
8447 CFLAGS
=$ac_wine_try_cflags_saved
8449 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8450 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8451 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8452 LDEXECFLAGS
="-Wl,--export-dynamic"
8457 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8458 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8459 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8460 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8461 echo $ECHO_N "(cached) $ECHO_C" >&6
8463 ac_wine_try_cflags_saved
=$CFLAGS
8464 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8465 cat >conftest.
$ac_ext <<_ACEOF
8468 cat confdefs.h
>>conftest.
$ac_ext
8469 cat >>conftest.
$ac_ext <<_ACEOF
8470 /* end confdefs.h. */
8480 rm -f conftest.
$ac_objext conftest
$ac_exeext
8481 if { (ac_try
="$ac_link"
8483 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8484 *) ac_try_echo=$ac_try;;
8486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8487 (eval "$ac_link") 2>conftest.er1
8489 grep -v '^ *+' conftest.er1 >conftest.err
8491 cat conftest.err >&5
8492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8493 (exit $ac_status); } && {
8494 test -z "$ac_c_werror_flag" ||
8495 test ! -s conftest.err
8496 } && test -s conftest$ac_exeext &&
8497 $as_test_x conftest$ac_exeext; then
8498 eval "$as_ac_var=yes"
8500 echo "$as_me: failed program was:" >&5
8501 sed 's/^/| /' conftest.$ac_ext >&5
8503 eval "$as_ac_var=no"
8506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8507 conftest$ac_exeext conftest.$ac_ext
8508 CFLAGS=$ac_wine_try_cflags_saved
8510 ac_res=`eval echo '${'$as_ac_var'}'`
8511 { echo "$as_me:$LINENO: result: $ac_res" >&5
8512 echo "${ECHO_T}$ac_res" >&6; }
8513 if test `eval echo '${'$as_ac_var'}'` = yes; then
8514 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
8515 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8517 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" |
$as_tr_sh`
8518 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8519 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8520 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8521 echo $ECHO_N "(cached) $ECHO_C" >&6
8523 ac_wine_try_cflags_saved=$CFLAGS
8524 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8525 cat >conftest.$ac_ext <<_ACEOF
8528 cat confdefs.h >>conftest.$ac_ext
8529 cat >>conftest.$ac_ext <<_ACEOF
8530 /* end confdefs.h. */
8540 rm -f conftest.$ac_objext conftest$ac_exeext
8541 if { (ac_try="$ac_link"
8543 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8544 *) ac_try_echo
=$ac_try;;
8546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8547 (eval "$ac_link") 2>conftest.er1
8549 grep -v '^ *+' conftest.er1
>conftest.err
8551 cat conftest.err
>&5
8552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8553 (exit $ac_status); } && {
8554 test -z "$ac_c_werror_flag" ||
8555 test ! -s conftest.err
8556 } && test -s conftest
$ac_exeext &&
8557 $as_test_x conftest
$ac_exeext; then
8558 eval "$as_ac_var=yes"
8560 echo "$as_me: failed program was:" >&5
8561 sed 's/^/| /' conftest.
$ac_ext >&5
8563 eval "$as_ac_var=no"
8566 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8567 conftest
$ac_exeext conftest.
$ac_ext
8568 CFLAGS
=$ac_wine_try_cflags_saved
8570 ac_res
=`eval echo '${'$as_ac_var'}'`
8571 { echo "$as_me:$LINENO: result: $ac_res" >&5
8572 echo "${ECHO_T}$ac_res" >&6; }
8573 if test `eval echo '${'$as_ac_var'}'` = yes; then
8574 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8575 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8582 *i
[3456789]86* | x86_64
)
8583 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8584 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8585 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8586 echo $ECHO_N "(cached) $ECHO_C" >&6
8588 ac_wine_try_cflags_saved
=$CFLAGS
8589 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8590 cat >conftest.
$ac_ext <<_ACEOF
8593 cat confdefs.h
>>conftest.
$ac_ext
8594 cat >>conftest.
$ac_ext <<_ACEOF
8595 /* end confdefs.h. */
8605 rm -f conftest.
$ac_objext conftest
$ac_exeext
8606 if { (ac_try
="$ac_link"
8608 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8609 *) ac_try_echo=$ac_try;;
8611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8612 (eval "$ac_link") 2>conftest.er1
8614 grep -v '^ *+' conftest.er1 >conftest.err
8616 cat conftest.err >&5
8617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8618 (exit $ac_status); } && {
8619 test -z "$ac_c_werror_flag" ||
8620 test ! -s conftest.err
8621 } && test -s conftest$ac_exeext &&
8622 $as_test_x conftest$ac_exeext; then
8623 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8625 echo "$as_me: failed program was:" >&5
8626 sed 's/^/| /' conftest.$ac_ext >&5
8628 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8632 conftest$ac_exeext conftest.$ac_ext
8633 CFLAGS=$ac_wine_try_cflags_saved
8635 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8636 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8637 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8638 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8645 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8646 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8647 if test "${ac_cv_c_dll_unixware+set}" = set; then
8648 echo $ECHO_N "(cached) $ECHO_C" >&6
8650 ac_wine_try_cflags_saved=$CFLAGS
8651 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8652 cat >conftest.$ac_ext <<_ACEOF
8655 rm -f conftest.$ac_objext conftest$ac_exeext
8656 if { (ac_try="$ac_link"
8658 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8659 *) ac_try_echo
=$ac_try;;
8661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8662 (eval "$ac_link") 2>conftest.er1
8664 grep -v '^ *+' conftest.er1
>conftest.err
8666 cat conftest.err
>&5
8667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 (exit $ac_status); } && {
8669 test -z "$ac_c_werror_flag" ||
8670 test ! -s conftest.err
8671 } && test -s conftest
$ac_exeext &&
8672 $as_test_x conftest
$ac_exeext; then
8673 ac_cv_c_dll_unixware
="yes"
8675 echo "$as_me: failed program was:" >&5
8676 sed 's/^/| /' conftest.
$ac_ext >&5
8678 ac_cv_c_dll_unixware
="no"
8681 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8682 conftest
$ac_exeext conftest.
$ac_ext
8683 CFLAGS
=$ac_wine_try_cflags_saved
8685 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8686 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8687 if test "$ac_cv_c_dll_unixware" = "yes"
8689 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8690 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
8693 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8694 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8695 if test "${ac_cv_c_dll_hpux+set}" = set; then
8696 echo $ECHO_N "(cached) $ECHO_C" >&6
8698 ac_wine_try_cflags_saved
=$CFLAGS
8699 CFLAGS
="$CFLAGS -shared"
8700 cat >conftest.
$ac_ext <<_ACEOF
8703 rm -f conftest.
$ac_objext conftest
$ac_exeext
8704 if { (ac_try
="$ac_link"
8706 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8707 *) ac_try_echo=$ac_try;;
8709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8710 (eval "$ac_link") 2>conftest.er1
8712 grep -v '^ *+' conftest.er1 >conftest.err
8714 cat conftest.err >&5
8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 (exit $ac_status); } && {
8717 test -z "$ac_c_werror_flag" ||
8718 test ! -s conftest.err
8719 } && test -s conftest$ac_exeext &&
8720 $as_test_x conftest$ac_exeext; then
8721 ac_cv_c_dll_hpux="yes"
8723 echo "$as_me: failed program was:" >&5
8724 sed 's/^/| /' conftest.$ac_ext >&5
8726 ac_cv_c_dll_hpux="no"
8729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8730 conftest$ac_exeext conftest.$ac_ext
8731 CFLAGS=$ac_wine_try_cflags_saved
8733 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8734 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8735 if test "$ac_cv_c_dll_hpux" = "yes"
8739 LDDLLFLAGS="-shared -fPIC"
8740 LDSHARED="\$(CC) -shared"
8747 if test "$cross_compiling" = "no"
8749 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8751 # Extract the first word of "$ac_prog", so it can be a program name with args.
8752 set dummy $ac_prog; ac_word=$2
8753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8755 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8756 echo $ECHO_N "(cached) $ECHO_C" >&6
8758 if test -n "$CROSSCC"; then
8759 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8765 test -z "$as_dir" && as_dir=.
8766 for ac_exec_ext in '' $ac_executable_extensions; do
8767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8768 ac_cv_prog_CROSSCC="$ac_prog"
8769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8778 CROSSCC=$ac_cv_prog_CROSSCC
8779 if test -n "$CROSSCC"; then
8780 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8781 echo "${ECHO_T}$CROSSCC" >&6; }
8783 { echo "$as_me:$LINENO: result: no" >&5
8784 echo "${ECHO_T}no" >&6; }
8788 test -n "$CROSSCC" && break
8790 test -n "$CROSSCC" || CROSSCC="false"
8792 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8794 # Extract the first word of "$ac_prog", so it can be a program name with args.
8795 set dummy $ac_prog; ac_word=$2
8796 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8798 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8799 echo $ECHO_N "(cached) $ECHO_C" >&6
8801 if test -n "$DLLTOOL"; then
8802 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8808 test -z "$as_dir" && as_dir=.
8809 for ac_exec_ext in '' $ac_executable_extensions; do
8810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8811 ac_cv_prog_DLLTOOL="$ac_prog"
8812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8821 DLLTOOL=$ac_cv_prog_DLLTOOL
8822 if test -n "$DLLTOOL"; then
8823 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8824 echo "${ECHO_T}$DLLTOOL" >&6; }
8826 { echo "$as_me:$LINENO: result: no" >&5
8827 echo "${ECHO_T}no" >&6; }
8831 test -n "$DLLTOOL" && break
8833 test -n "$DLLTOOL" || DLLTOOL="false"
8835 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
8837 # Extract the first word of "$ac_prog", so it can be a program name with args.
8838 set dummy $ac_prog; ac_word=$2
8839 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8841 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8842 echo $ECHO_N "(cached) $ECHO_C" >&6
8844 if test -n "$CROSSWINDRES"; then
8845 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8851 test -z "$as_dir" && as_dir=.
8852 for ac_exec_ext in '' $ac_executable_extensions; do
8853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8854 ac_cv_prog_CROSSWINDRES="$ac_prog"
8855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8864 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
8865 if test -n "$CROSSWINDRES"; then
8866 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
8867 echo "${ECHO_T}$CROSSWINDRES" >&6; }
8869 { echo "$as_me:$LINENO: result: no" >&5
8870 echo "${ECHO_T}no" >&6; }
8874 test -n "$CROSSWINDRES" && break
8876 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
8878 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
8880 # Extract the first word of "$ac_prog", so it can be a program name with args.
8881 set dummy $ac_prog; ac_word=$2
8882 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8884 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8885 echo $ECHO_N "(cached) $ECHO_C" >&6
8887 if test -n "$MINGWAR"; then
8888 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8894 test -z "$as_dir" && as_dir=.
8895 for ac_exec_ext in '' $ac_executable_extensions; do
8896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8897 ac_cv_prog_MINGWAR="$ac_prog"
8898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8907 MINGWAR=$ac_cv_prog_MINGWAR
8908 if test -n "$MINGWAR"; then
8909 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8910 echo "${ECHO_T}$MINGWAR" >&6; }
8912 { echo "$as_me:$LINENO: result: no" >&5
8913 echo "${ECHO_T}no" >&6; }
8917 test -n "$MINGWAR" && break
8919 test -n "$MINGWAR" || MINGWAR="false"
8921 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
8926 if test "$LIBEXT" = "a"; then
8927 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
8928 It is currently not possible to build Wine without shared library
8929 (.so) support to allow transparent switch between .so and .dll files.
8930 If you are using Linux, you will need a newer binutils.
8932 echo "$as_me: error: could not find a way to build shared libraries.
8933 It is currently not possible to build Wine without shared library
8934 (.so) support to allow transparent switch between .so and .dll files.
8935 If you are using Linux, you will need a newer binutils.
8937 { (exit 1); exit 1; }; }
8941 if test "$have_x" = "yes"
8944 ac_save_CPPFLAGS="$CPPFLAGS"
8945 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8958 for ac_header in X11/Xlib.h \
8961 X11/Xcursor/Xcursor.h \
8962 X11/extensions/shape.h \
8963 X11/extensions/XInput.h \
8964 X11/extensions/XShm.h \
8965 X11/extensions/Xinerama.h \
8966 X11/extensions/Xrandr.h \
8967 X11/extensions/Xrender.h \
8968 X11/extensions/xf86vmode.h
8970 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8971 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8972 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8973 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8974 echo $ECHO_N "(cached) $ECHO_C" >&6
8976 cat >conftest.$ac_ext <<_ACEOF
8979 cat confdefs.h >>conftest.$ac_ext
8980 cat >>conftest.$ac_ext <<_ACEOF
8981 /* end confdefs.h. */
8982 #ifdef HAVE_X11_XLIB_H
8983 # include <X11/Xlib.h>
8985 #ifdef HAVE_X11_XUTIL_H
8986 # include <X11/Xutil.h>
8989 #include <$ac_header>
8991 rm -f conftest.$ac_objext
8992 if { (ac_try="$ac_compile"
8994 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8995 *) ac_try_echo
=$ac_try;;
8997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8998 (eval "$ac_compile") 2>conftest.er1
9000 grep -v '^ *+' conftest.er1
>conftest.err
9002 cat conftest.err
>&5
9003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9004 (exit $ac_status); } && {
9005 test -z "$ac_c_werror_flag" ||
9006 test ! -s conftest.err
9007 } && test -s conftest.
$ac_objext; then
9008 eval "$as_ac_Header=yes"
9010 echo "$as_me: failed program was:" >&5
9011 sed 's/^/| /' conftest.
$ac_ext >&5
9013 eval "$as_ac_Header=no"
9016 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9018 ac_res
=`eval echo '${'$as_ac_Header'}'`
9019 { echo "$as_me:$LINENO: result: $ac_res" >&5
9020 echo "${ECHO_T}$ac_res" >&6; }
9021 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9022 cat >>confdefs.h
<<_ACEOF
9023 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9031 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9033 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9034 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9035 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9036 echo $ECHO_N "(cached) $ECHO_C" >&6
9038 ac_check_lib_save_LIBS
=$LIBS
9039 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9040 cat >conftest.
$ac_ext <<_ACEOF
9043 cat confdefs.h
>>conftest.
$ac_ext
9044 cat >>conftest.
$ac_ext <<_ACEOF
9045 /* end confdefs.h. */
9047 /* Override any GCC internal prototype to avoid an error.
9048 Use char because int might match the return type of a GCC
9049 builtin and then its argument prototype would still apply. */
9053 char XkbQueryExtension ();
9057 return XkbQueryExtension ();
9062 rm -f conftest.
$ac_objext conftest
$ac_exeext
9063 if { (ac_try
="$ac_link"
9065 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9066 *) ac_try_echo=$ac_try;;
9068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9069 (eval "$ac_link") 2>conftest.er1
9071 grep -v '^ *+' conftest.er1 >conftest.err
9073 cat conftest.err >&5
9074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9075 (exit $ac_status); } && {
9076 test -z "$ac_c_werror_flag" ||
9077 test ! -s conftest.err
9078 } && test -s conftest$ac_exeext &&
9079 $as_test_x conftest$ac_exeext; then
9080 ac_cv_lib_X11_XkbQueryExtension=yes
9082 echo "$as_me: failed program was:" >&5
9083 sed 's/^/| /' conftest.$ac_ext >&5
9085 ac_cv_lib_X11_XkbQueryExtension=no
9088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9089 conftest$ac_exeext conftest.$ac_ext
9090 LIBS=$ac_check_lib_save_LIBS
9092 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9093 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9094 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9096 cat >>confdefs.h <<\_ACEOF
9104 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9106 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9107 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9108 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9109 echo $ECHO_N "(cached) $ECHO_C" >&6
9111 ac_check_lib_save_LIBS=$LIBS
9112 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9113 cat >conftest.$ac_ext <<_ACEOF
9116 cat confdefs.h >>conftest.$ac_ext
9117 cat >>conftest.$ac_ext <<_ACEOF
9118 /* end confdefs.h. */
9120 /* Override any GCC internal prototype to avoid an error.
9121 Use char because int might match the return type of a GCC
9122 builtin and then its argument prototype would still apply. */
9126 char XShmQueryExtension ();
9130 return XShmQueryExtension ();
9135 rm -f conftest.$ac_objext conftest$ac_exeext
9136 if { (ac_try="$ac_link"
9138 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9139 *) ac_try_echo
=$ac_try;;
9141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9142 (eval "$ac_link") 2>conftest.er1
9144 grep -v '^ *+' conftest.er1
>conftest.err
9146 cat conftest.err
>&5
9147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9148 (exit $ac_status); } && {
9149 test -z "$ac_c_werror_flag" ||
9150 test ! -s conftest.err
9151 } && test -s conftest
$ac_exeext &&
9152 $as_test_x conftest
$ac_exeext; then
9153 ac_cv_lib_Xext_XShmQueryExtension
=yes
9155 echo "$as_me: failed program was:" >&5
9156 sed 's/^/| /' conftest.
$ac_ext >&5
9158 ac_cv_lib_Xext_XShmQueryExtension
=no
9161 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9162 conftest
$ac_exeext conftest.
$ac_ext
9163 LIBS
=$ac_check_lib_save_LIBS
9165 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9166 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9167 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9169 cat >>confdefs.h
<<\_ACEOF
9170 #define HAVE_LIBXXSHM 1
9177 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9179 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9180 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9181 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9182 echo $ECHO_N "(cached) $ECHO_C" >&6
9184 ac_check_lib_save_LIBS
=$LIBS
9185 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9186 cat >conftest.
$ac_ext <<_ACEOF
9189 cat confdefs.h
>>conftest.
$ac_ext
9190 cat >>conftest.
$ac_ext <<_ACEOF
9191 /* end confdefs.h. */
9193 /* Override any GCC internal prototype to avoid an error.
9194 Use char because int might match the return type of a GCC
9195 builtin and then its argument prototype would still apply. */
9199 char XShapeQueryExtension ();
9203 return XShapeQueryExtension ();
9208 rm -f conftest.
$ac_objext conftest
$ac_exeext
9209 if { (ac_try
="$ac_link"
9211 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9212 *) ac_try_echo=$ac_try;;
9214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9215 (eval "$ac_link") 2>conftest.er1
9217 grep -v '^ *+' conftest.er1 >conftest.err
9219 cat conftest.err >&5
9220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9221 (exit $ac_status); } && {
9222 test -z "$ac_c_werror_flag" ||
9223 test ! -s conftest.err
9224 } && test -s conftest$ac_exeext &&
9225 $as_test_x conftest$ac_exeext; then
9226 ac_cv_lib_Xext_XShapeQueryExtension=yes
9228 echo "$as_me: failed program was:" >&5
9229 sed 's/^/| /' conftest.$ac_ext >&5
9231 ac_cv_lib_Xext_XShapeQueryExtension=no
9234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9235 conftest$ac_exeext conftest.$ac_ext
9236 LIBS=$ac_check_lib_save_LIBS
9238 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9239 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9240 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9242 cat >>confdefs.h <<\_ACEOF
9243 #define HAVE_LIBXSHAPE 1
9250 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9252 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9253 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9254 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9255 echo $ECHO_N "(cached) $ECHO_C" >&6
9257 ac_check_lib_save_LIBS=$LIBS
9258 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9259 cat >conftest.$ac_ext <<_ACEOF
9262 cat confdefs.h >>conftest.$ac_ext
9263 cat >>conftest.$ac_ext <<_ACEOF
9264 /* end confdefs.h. */
9266 /* Override any GCC internal prototype to avoid an error.
9267 Use char because int might match the return type of a GCC
9268 builtin and then its argument prototype would still apply. */
9272 char XF86VidModeQueryExtension ();
9276 return XF86VidModeQueryExtension ();
9281 rm -f conftest.$ac_objext conftest$ac_exeext
9282 if { (ac_try="$ac_link"
9284 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9285 *) ac_try_echo
=$ac_try;;
9287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9288 (eval "$ac_link") 2>conftest.er1
9290 grep -v '^ *+' conftest.er1
>conftest.err
9292 cat conftest.err
>&5
9293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9294 (exit $ac_status); } && {
9295 test -z "$ac_c_werror_flag" ||
9296 test ! -s conftest.err
9297 } && test -s conftest
$ac_exeext &&
9298 $as_test_x conftest
$ac_exeext; then
9299 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
9301 echo "$as_me: failed program was:" >&5
9302 sed 's/^/| /' conftest.
$ac_ext >&5
9304 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
9307 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9308 conftest
$ac_exeext conftest.
$ac_ext
9309 LIBS
=$ac_check_lib_save_LIBS
9311 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9312 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9313 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9315 cat >>confdefs.h
<<\_ACEOF
9316 #define HAVE_LIBXXF86VM 1
9319 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
9325 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9327 cat >conftest.
$ac_ext <<_ACEOF
9330 cat confdefs.h
>>conftest.
$ac_ext
9331 cat >>conftest.
$ac_ext <<_ACEOF
9332 /* end confdefs.h. */
9333 #include <X11/Xlib.h>
9334 #include <X11/extensions/Xrandr.h>
9338 static typeof(XRRSetScreenConfigAndRate) * func;
9343 rm -f conftest.
$ac_objext
9344 if { (ac_try
="$ac_compile"
9346 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9347 *) ac_try_echo=$ac_try;;
9349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9350 (eval "$ac_compile") 2>conftest.er1
9352 grep -v '^ *+' conftest.er1 >conftest.err
9354 cat conftest.err >&5
9355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9356 (exit $ac_status); } && {
9357 test -z "$ac_c_werror_flag" ||
9358 test ! -s conftest.err
9359 } && test -s conftest.$ac_objext; then
9361 cat >>confdefs.h <<\_ACEOF
9362 #define HAVE_LIBXRANDR 1
9366 echo "$as_me: failed program was:" >&5
9367 sed 's/^/| /' conftest.$ac_ext >&5
9372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9375 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9377 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9378 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9379 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9380 echo $ECHO_N "(cached) $ECHO_C" >&6
9382 ac_check_lib_save_LIBS=$LIBS
9383 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9384 cat >conftest.$ac_ext <<_ACEOF
9387 cat confdefs.h >>conftest.$ac_ext
9388 cat >>conftest.$ac_ext <<_ACEOF
9389 /* end confdefs.h. */
9391 /* Override any GCC internal prototype to avoid an error.
9392 Use char because int might match the return type of a GCC
9393 builtin and then its argument prototype would still apply. */
9397 char XRenderSetPictureTransform ();
9401 return XRenderSetPictureTransform ();
9406 rm -f conftest.$ac_objext conftest$ac_exeext
9407 if { (ac_try="$ac_link"
9409 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9410 *) ac_try_echo
=$ac_try;;
9412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9413 (eval "$ac_link") 2>conftest.er1
9415 grep -v '^ *+' conftest.er1
>conftest.err
9417 cat conftest.err
>&5
9418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9419 (exit $ac_status); } && {
9420 test -z "$ac_c_werror_flag" ||
9421 test ! -s conftest.err
9422 } && test -s conftest
$ac_exeext &&
9423 $as_test_x conftest
$ac_exeext; then
9424 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9426 echo "$as_me: failed program was:" >&5
9427 sed 's/^/| /' conftest.
$ac_ext >&5
9429 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9432 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9433 conftest
$ac_exeext conftest.
$ac_ext
9434 LIBS
=$ac_check_lib_save_LIBS
9436 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9437 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9438 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9440 cat >>confdefs.h
<<\_ACEOF
9441 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9448 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9450 cat >conftest.
$ac_ext <<_ACEOF
9453 cat confdefs.h
>>conftest.
$ac_ext
9454 cat >>conftest.
$ac_ext <<_ACEOF
9455 /* end confdefs.h. */
9456 #include <X11/Xlib.h>
9457 #include <X11/extensions/Xinerama.h>
9461 static typeof(XineramaQueryScreens) * func;
9466 rm -f conftest.
$ac_objext
9467 if { (ac_try
="$ac_compile"
9469 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9470 *) ac_try_echo=$ac_try;;
9472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9473 (eval "$ac_compile") 2>conftest.er1
9475 grep -v '^ *+' conftest.er1 >conftest.err
9477 cat conftest.err >&5
9478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9479 (exit $ac_status); } && {
9480 test -z "$ac_c_werror_flag" ||
9481 test ! -s conftest.err
9482 } && test -s conftest.$ac_objext; then
9484 cat >>confdefs.h <<\_ACEOF
9485 #define HAVE_LIBXINERAMA 1
9489 echo "$as_me: failed program was:" >&5
9490 sed 's/^/| /' conftest.$ac_ext >&5
9495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9499 if test "x$with_opengl" != "xno"
9505 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9507 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9508 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9510 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9511 echo $ECHO_N "(cached) $ECHO_C" >&6
9513 cat >conftest.$ac_ext <<_ACEOF
9516 cat confdefs.h >>conftest.$ac_ext
9517 cat >>conftest.$ac_ext <<_ACEOF
9518 /* end confdefs.h. */
9519 #ifdef HAVE_GL_GLX_H
9520 # include <GL/glx.h>
9523 #include <$ac_header>
9525 rm -f conftest.$ac_objext
9526 if { (ac_try="$ac_compile"
9528 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9529 *) ac_try_echo
=$ac_try;;
9531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9532 (eval "$ac_compile") 2>conftest.er1
9534 grep -v '^ *+' conftest.er1
>conftest.err
9536 cat conftest.err
>&5
9537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9538 (exit $ac_status); } && {
9539 test -z "$ac_c_werror_flag" ||
9540 test ! -s conftest.err
9541 } && test -s conftest.
$ac_objext; then
9542 eval "$as_ac_Header=yes"
9544 echo "$as_me: failed program was:" >&5
9545 sed 's/^/| /' conftest.
$ac_ext >&5
9547 eval "$as_ac_Header=no"
9550 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9552 ac_res
=`eval echo '${'$as_ac_Header'}'`
9553 { echo "$as_me:$LINENO: result: $ac_res" >&5
9554 echo "${ECHO_T}$ac_res" >&6; }
9555 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9556 cat >>confdefs.h
<<_ACEOF
9557 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9564 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9566 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9567 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9568 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
9569 echo $ECHO_N "(cached) $ECHO_C" >&6
9571 cat >conftest.
$ac_ext <<_ACEOF
9574 cat confdefs.h
>>conftest.
$ac_ext
9575 cat >>conftest.
$ac_ext <<_ACEOF
9576 /* end confdefs.h. */
9581 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9586 rm -f conftest.
$ac_objext
9587 if { (ac_try
="$ac_compile"
9589 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9590 *) ac_try_echo=$ac_try;;
9592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9593 (eval "$ac_compile") 2>conftest.er1
9595 grep -v '^ *+' conftest.er1 >conftest.err
9597 cat conftest.err >&5
9598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9599 (exit $ac_status); } && {
9600 test -z "$ac_c_werror_flag" ||
9601 test ! -s conftest.err
9602 } && test -s conftest.$ac_objext; then
9603 wine_cv_opengl_header_version_OK="yes"
9605 echo "$as_me: failed program was:" >&5
9606 sed 's/^/| /' conftest.$ac_ext >&5
9608 wine_cv_opengl_header_version_OK="no"
9611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9613 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
9614 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
9616 if test "$wine_cv_opengl_header_version_OK" = "yes"
9618 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
9619 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
9620 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
9621 echo $ECHO_N "(cached) $ECHO_C" >&6
9623 ac_check_lib_save_LIBS=$LIBS
9624 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
9625 cat >conftest.$ac_ext <<_ACEOF
9628 cat confdefs.h >>conftest.$ac_ext
9629 cat >>conftest.$ac_ext <<_ACEOF
9630 /* end confdefs.h. */
9632 /* Override any GCC internal prototype to avoid an error.
9633 Use char because int might match the return type of a GCC
9634 builtin and then its argument prototype would still apply. */
9638 char glXCreateContext ();
9642 return glXCreateContext ();
9647 rm -f conftest.$ac_objext conftest$ac_exeext
9648 if { (ac_try="$ac_link"
9650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9651 *) ac_try_echo
=$ac_try;;
9653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9654 (eval "$ac_link") 2>conftest.er1
9656 grep -v '^ *+' conftest.er1
>conftest.err
9658 cat conftest.err
>&5
9659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9660 (exit $ac_status); } && {
9661 test -z "$ac_c_werror_flag" ||
9662 test ! -s conftest.err
9663 } && test -s conftest
$ac_exeext &&
9664 $as_test_x conftest
$ac_exeext; then
9665 ac_cv_lib_GL_glXCreateContext
=yes
9667 echo "$as_me: failed program was:" >&5
9668 sed 's/^/| /' conftest.
$ac_ext >&5
9670 ac_cv_lib_GL_glXCreateContext
=no
9673 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9674 conftest
$ac_exeext conftest.
$ac_ext
9675 LIBS
=$ac_check_lib_save_LIBS
9677 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
9678 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
9679 if test $ac_cv_lib_GL_glXCreateContext = yes; then
9681 OPENGLFILES
='$(OPENGLFILES)'
9683 cat >>confdefs.h
<<\_ACEOF
9684 #define HAVE_OPENGL 1
9691 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
9692 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
9693 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
9694 echo $ECHO_N "(cached) $ECHO_C" >&6
9696 ac_check_lib_save_LIBS
=$LIBS
9697 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
9699 cat >conftest.
$ac_ext <<_ACEOF
9702 cat confdefs.h
>>conftest.
$ac_ext
9703 cat >>conftest.
$ac_ext <<_ACEOF
9704 /* end confdefs.h. */
9706 /* Override any GCC internal prototype to avoid an error.
9707 Use char because int might match the return type of a GCC
9708 builtin and then its argument prototype would still apply. */
9716 return gluLookAt ();
9721 rm -f conftest.
$ac_objext conftest
$ac_exeext
9722 if { (ac_try
="$ac_link"
9724 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9725 *) ac_try_echo=$ac_try;;
9727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9728 (eval "$ac_link") 2>conftest.er1
9730 grep -v '^ *+' conftest.er1 >conftest.err
9732 cat conftest.err >&5
9733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9734 (exit $ac_status); } && {
9735 test -z "$ac_c_werror_flag" ||
9736 test ! -s conftest.err
9737 } && test -s conftest$ac_exeext &&
9738 $as_test_x conftest$ac_exeext; then
9739 ac_cv_lib_GLU_gluLookAt=yes
9741 echo "$as_me: failed program was:" >&5
9742 sed 's/^/| /' conftest.$ac_ext >&5
9744 ac_cv_lib_GLU_gluLookAt=no
9747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9748 conftest$ac_exeext conftest.$ac_ext
9749 LIBS=$ac_check_lib_save_LIBS
9751 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
9752 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
9753 if test $ac_cv_lib_GLU_gluLookAt = yes; then
9754 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
9755 GLU32FILES='$(GLU32FILES)'
9761 wine_cv_opengl_headers_found="no"
9767 for ac_header in audio/audiolib.h
9769 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9770 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9771 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9773 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9774 echo $ECHO_N "(cached) $ECHO_C" >&6
9776 ac_res=`eval echo '${'$as_ac_Header'}'`
9777 { echo "$as_me:$LINENO: result: $ac_res" >&5
9778 echo "${ECHO_T}$ac_res" >&6; }
9780 # Is the header compilable?
9781 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9782 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9783 cat >conftest.$ac_ext <<_ACEOF
9786 cat confdefs.h >>conftest.$ac_ext
9787 cat >>conftest.$ac_ext <<_ACEOF
9788 /* end confdefs.h. */
9789 $ac_includes_default
9790 #include <$ac_header>
9792 rm -f conftest.$ac_objext
9793 if { (ac_try="$ac_compile"
9795 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9796 *) ac_try_echo
=$ac_try;;
9798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9799 (eval "$ac_compile") 2>conftest.er1
9801 grep -v '^ *+' conftest.er1
>conftest.err
9803 cat conftest.err
>&5
9804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9805 (exit $ac_status); } && {
9806 test -z "$ac_c_werror_flag" ||
9807 test ! -s conftest.err
9808 } && test -s conftest.
$ac_objext; then
9809 ac_header_compiler
=yes
9811 echo "$as_me: failed program was:" >&5
9812 sed 's/^/| /' conftest.
$ac_ext >&5
9814 ac_header_compiler
=no
9817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9818 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9819 echo "${ECHO_T}$ac_header_compiler" >&6; }
9821 # Is the header present?
9822 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9823 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9824 cat >conftest.
$ac_ext <<_ACEOF
9827 cat confdefs.h
>>conftest.
$ac_ext
9828 cat >>conftest.
$ac_ext <<_ACEOF
9829 /* end confdefs.h. */
9830 #include <$ac_header>
9832 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9834 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9835 *) ac_try_echo=$ac_try;;
9837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9838 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9840 grep -v '^ *+' conftest.er1 >conftest.err
9842 cat conftest.err >&5
9843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9844 (exit $ac_status); } >/dev/null && {
9845 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9846 test ! -s conftest.err
9848 ac_header_preproc=yes
9850 echo "$as_me: failed program was:" >&5
9851 sed 's/^/| /' conftest.$ac_ext >&5
9853 ac_header_preproc=no
9856 rm -f conftest.err conftest.$ac_ext
9857 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9858 echo "${ECHO_T}$ac_header_preproc" >&6; }
9860 # So? What about this header?
9861 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9863 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9864 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9865 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9866 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9867 ac_header_preproc=yes
9870 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9871 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9872 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9873 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9874 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9875 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9876 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9877 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9879 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9880 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9881 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9883 ## ------------------------------------ ##
9884 ## Report this to wine-devel@winehq.org ##
9885 ## ------------------------------------ ##
9887 ) | sed "s/^/$as_me: WARNING: /" >&2
9890 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9892 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9893 echo $ECHO_N "(cached) $ECHO_C" >&6
9895 eval "$as_ac_Header=\$ac_header_preproc"
9897 ac_res=`eval echo '${'$as_ac_Header'}'`
9898 { echo "$as_me:$LINENO: result: $ac_res" >&5
9899 echo "${ECHO_T}$ac_res" >&6; }
9902 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9903 cat >>confdefs.h <<_ACEOF
9904 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9907 for ac_header in audio/soundlib.h
9909 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9910 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9912 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9913 echo $ECHO_N "(cached) $ECHO_C" >&6
9915 cat >conftest.$ac_ext <<_ACEOF
9918 cat confdefs.h >>conftest.$ac_ext
9919 cat >>conftest.$ac_ext <<_ACEOF
9920 /* end confdefs.h. */
9921 #include <audio/audiolib.h>
9923 #include <$ac_header>
9925 rm -f conftest.$ac_objext
9926 if { (ac_try="$ac_compile"
9928 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9929 *) ac_try_echo
=$ac_try;;
9931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9932 (eval "$ac_compile") 2>conftest.er1
9934 grep -v '^ *+' conftest.er1
>conftest.err
9936 cat conftest.err
>&5
9937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9938 (exit $ac_status); } && {
9939 test -z "$ac_c_werror_flag" ||
9940 test ! -s conftest.err
9941 } && test -s conftest.
$ac_objext; then
9942 eval "$as_ac_Header=yes"
9944 echo "$as_me: failed program was:" >&5
9945 sed 's/^/| /' conftest.
$ac_ext >&5
9947 eval "$as_ac_Header=no"
9950 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9952 ac_res
=`eval echo '${'$as_ac_Header'}'`
9953 { echo "$as_me:$LINENO: result: $ac_res" >&5
9954 echo "${ECHO_T}$ac_res" >&6; }
9955 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9956 cat >>confdefs.h
<<_ACEOF
9957 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9964 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9965 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
9966 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9967 echo $ECHO_N "(cached) $ECHO_C" >&6
9969 ac_check_lib_save_LIBS
=$LIBS
9970 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9971 cat >conftest.
$ac_ext <<_ACEOF
9974 cat confdefs.h
>>conftest.
$ac_ext
9975 cat >>conftest.
$ac_ext <<_ACEOF
9976 /* end confdefs.h. */
9978 /* Override any GCC internal prototype to avoid an error.
9979 Use char because int might match the return type of a GCC
9980 builtin and then its argument prototype would still apply. */
9984 char AuCreateFlow ();
9988 return AuCreateFlow ();
9993 rm -f conftest.
$ac_objext conftest
$ac_exeext
9994 if { (ac_try
="$ac_link"
9996 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9997 *) ac_try_echo=$ac_try;;
9999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10000 (eval "$ac_link") 2>conftest.er1
10002 grep -v '^ *+' conftest.er1 >conftest.err
10004 cat conftest.err >&5
10005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10006 (exit $ac_status); } && {
10007 test -z "$ac_c_werror_flag" ||
10008 test ! -s conftest.err
10009 } && test -s conftest$ac_exeext &&
10010 $as_test_x conftest$ac_exeext; then
10011 ac_cv_lib_audio_AuCreateFlow=yes
10013 echo "$as_me: failed program was:" >&5
10014 sed 's/^/| /' conftest.$ac_ext >&5
10016 ac_cv_lib_audio_AuCreateFlow=no
10019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10020 conftest$ac_exeext conftest.$ac_ext
10021 LIBS=$ac_check_lib_save_LIBS
10023 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10024 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10025 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10027 cat >>confdefs.h <<\_ACEOF
10031 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10032 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10033 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10034 echo $ECHO_N "(cached) $ECHO_C" >&6
10036 ac_check_lib_save_LIBS=$LIBS
10037 LIBS="-lXau $X_LIBS $LIBS"
10038 cat >conftest.$ac_ext <<_ACEOF
10041 cat confdefs.h >>conftest.$ac_ext
10042 cat >>conftest.$ac_ext <<_ACEOF
10043 /* end confdefs.h. */
10045 /* Override any GCC internal prototype to avoid an error.
10046 Use char because int might match the return type of a GCC
10047 builtin and then its argument prototype would still apply. */
10051 char XauGetBestAuthByAddr ();
10055 return XauGetBestAuthByAddr ();
10060 rm -f conftest.$ac_objext conftest$ac_exeext
10061 if { (ac_try="$ac_link"
10062 case "(($ac_try" in
10063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10064 *) ac_try_echo
=$ac_try;;
10066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10067 (eval "$ac_link") 2>conftest.er1
10069 grep -v '^ *+' conftest.er1
>conftest.err
10071 cat conftest.err
>&5
10072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10073 (exit $ac_status); } && {
10074 test -z "$ac_c_werror_flag" ||
10075 test ! -s conftest.err
10076 } && test -s conftest
$ac_exeext &&
10077 $as_test_x conftest
$ac_exeext; then
10078 ac_cv_lib_Xau_XauGetBestAuthByAddr
=yes
10080 echo "$as_me: failed program was:" >&5
10081 sed 's/^/| /' conftest.
$ac_ext >&5
10083 ac_cv_lib_Xau_XauGetBestAuthByAddr
=no
10086 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10087 conftest
$ac_exeext conftest.
$ac_ext
10088 LIBS
=$ac_check_lib_save_LIBS
10090 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10091 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10092 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10093 NASLIBS
="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10095 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10106 CPPFLAGS
="$ac_save_CPPFLAGS"
10123 ac_save_CPPFLAGS
="$CPPFLAGS"
10124 if test "$PKG_CONFIG" != "false"
10126 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10127 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10129 ac_xml_libs
="`xml2-config --libs 2>/dev/null`"
10130 ac_xml_cflags
="`xml2-config --cflags 2>/dev/null`"
10132 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
10134 for ac_header
in libxml
/parser.h
10136 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10137 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10138 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10140 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10141 echo $ECHO_N "(cached) $ECHO_C" >&6
10143 ac_res
=`eval echo '${'$as_ac_Header'}'`
10144 { echo "$as_me:$LINENO: result: $ac_res" >&5
10145 echo "${ECHO_T}$ac_res" >&6; }
10147 # Is the header compilable?
10148 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10149 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10150 cat >conftest.
$ac_ext <<_ACEOF
10153 cat confdefs.h
>>conftest.
$ac_ext
10154 cat >>conftest.
$ac_ext <<_ACEOF
10155 /* end confdefs.h. */
10156 $ac_includes_default
10157 #include <$ac_header>
10159 rm -f conftest.
$ac_objext
10160 if { (ac_try
="$ac_compile"
10161 case "(($ac_try" in
10162 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10163 *) ac_try_echo=$ac_try;;
10165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10166 (eval "$ac_compile") 2>conftest.er1
10168 grep -v '^ *+' conftest.er1 >conftest.err
10170 cat conftest.err >&5
10171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10172 (exit $ac_status); } && {
10173 test -z "$ac_c_werror_flag" ||
10174 test ! -s conftest.err
10175 } && test -s conftest.$ac_objext; then
10176 ac_header_compiler=yes
10178 echo "$as_me: failed program was:" >&5
10179 sed 's/^/| /' conftest.$ac_ext >&5
10181 ac_header_compiler=no
10184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10185 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10186 echo "${ECHO_T}$ac_header_compiler" >&6; }
10188 # Is the header present?
10189 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10190 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10191 cat >conftest.$ac_ext <<_ACEOF
10194 cat confdefs.h >>conftest.$ac_ext
10195 cat >>conftest.$ac_ext <<_ACEOF
10196 /* end confdefs.h. */
10197 #include <$ac_header>
10199 if { (ac_try="$ac_cpp conftest.$ac_ext"
10200 case "(($ac_try" in
10201 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10202 *) ac_try_echo
=$ac_try;;
10204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10205 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10207 grep -v '^ *+' conftest.er1
>conftest.err
10209 cat conftest.err
>&5
10210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10211 (exit $ac_status); } >/dev
/null
&& {
10212 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10213 test ! -s conftest.err
10215 ac_header_preproc
=yes
10217 echo "$as_me: failed program was:" >&5
10218 sed 's/^/| /' conftest.
$ac_ext >&5
10220 ac_header_preproc
=no
10223 rm -f conftest.err conftest.
$ac_ext
10224 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10225 echo "${ECHO_T}$ac_header_preproc" >&6; }
10227 # So? What about this header?
10228 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10230 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10231 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10232 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10233 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10234 ac_header_preproc
=yes
10237 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10238 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10239 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10240 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10241 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10242 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10243 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10244 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10245 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10246 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10247 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10248 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10250 ## ------------------------------------ ##
10251 ## Report this to wine-devel@winehq.org ##
10252 ## ------------------------------------ ##
10254 ) |
sed "s/^/$as_me: WARNING: /" >&2
10257 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10259 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10260 echo $ECHO_N "(cached) $ECHO_C" >&6
10262 eval "$as_ac_Header=\$ac_header_preproc"
10264 ac_res
=`eval echo '${'$as_ac_Header'}'`
10265 { echo "$as_me:$LINENO: result: $ac_res" >&5
10266 echo "${ECHO_T}$ac_res" >&6; }
10269 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10270 cat >>confdefs.h
<<_ACEOF
10271 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10273 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10274 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10275 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10276 echo $ECHO_N "(cached) $ECHO_C" >&6
10278 ac_check_lib_save_LIBS
=$LIBS
10279 LIBS
="-lxml2 $ac_xml_libs $LIBS"
10280 cat >conftest.
$ac_ext <<_ACEOF
10283 cat confdefs.h
>>conftest.
$ac_ext
10284 cat >>conftest.
$ac_ext <<_ACEOF
10285 /* end confdefs.h. */
10287 /* Override any GCC internal prototype to avoid an error.
10288 Use char because int might match the return type of a GCC
10289 builtin and then its argument prototype would still apply. */
10293 char xmlParseMemory ();
10297 return xmlParseMemory ();
10302 rm -f conftest.
$ac_objext conftest
$ac_exeext
10303 if { (ac_try
="$ac_link"
10304 case "(($ac_try" in
10305 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10306 *) ac_try_echo=$ac_try;;
10308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10309 (eval "$ac_link") 2>conftest.er1
10311 grep -v '^ *+' conftest.er1 >conftest.err
10313 cat conftest.err >&5
10314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10315 (exit $ac_status); } && {
10316 test -z "$ac_c_werror_flag" ||
10317 test ! -s conftest.err
10318 } && test -s conftest$ac_exeext &&
10319 $as_test_x conftest$ac_exeext; then
10320 ac_cv_lib_xml2_xmlParseMemory=yes
10322 echo "$as_me: failed program was:" >&5
10323 sed 's/^/| /' conftest.$ac_ext >&5
10325 ac_cv_lib_xml2_xmlParseMemory=no
10328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10329 conftest$ac_exeext conftest.$ac_ext
10330 LIBS=$ac_check_lib_save_LIBS
10332 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10333 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10334 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10336 cat >>confdefs.h <<\_ACEOF
10337 #define HAVE_LIBXML2 1
10340 XML2LIBS="$ac_xml_libs"
10341 XML2INCL="$ac_xml_cflags"
10344 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10345 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10346 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10347 echo $ECHO_N "(cached) $ECHO_C" >&6
10349 ac_check_lib_save_LIBS=$LIBS
10350 LIBS="-lxml2 $ac_xml_libs $LIBS"
10351 cat >conftest.$ac_ext <<_ACEOF
10354 cat confdefs.h >>conftest.$ac_ext
10355 cat >>conftest.$ac_ext <<_ACEOF
10356 /* end confdefs.h. */
10358 /* Override any GCC internal prototype to avoid an error.
10359 Use char because int might match the return type of a GCC
10360 builtin and then its argument prototype would still apply. */
10364 char xmlReadMemory ();
10368 return xmlReadMemory ();
10373 rm -f conftest.$ac_objext conftest$ac_exeext
10374 if { (ac_try="$ac_link"
10375 case "(($ac_try" in
10376 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10377 *) ac_try_echo
=$ac_try;;
10379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10380 (eval "$ac_link") 2>conftest.er1
10382 grep -v '^ *+' conftest.er1
>conftest.err
10384 cat conftest.err
>&5
10385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10386 (exit $ac_status); } && {
10387 test -z "$ac_c_werror_flag" ||
10388 test ! -s conftest.err
10389 } && test -s conftest
$ac_exeext &&
10390 $as_test_x conftest
$ac_exeext; then
10391 ac_cv_lib_xml2_xmlReadMemory
=yes
10393 echo "$as_me: failed program was:" >&5
10394 sed 's/^/| /' conftest.
$ac_ext >&5
10396 ac_cv_lib_xml2_xmlReadMemory
=no
10399 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10400 conftest
$ac_exeext conftest.
$ac_ext
10401 LIBS
=$ac_check_lib_save_LIBS
10403 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10404 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10405 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10407 cat >>confdefs.h
<<\_ACEOF
10408 #define HAVE_XMLREADMEMORY 1
10413 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
10414 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
10415 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
10416 echo $ECHO_N "(cached) $ECHO_C" >&6
10418 ac_check_lib_save_LIBS
=$LIBS
10419 LIBS
="-lxml2 $ac_xml_libs $LIBS"
10420 cat >conftest.
$ac_ext <<_ACEOF
10423 cat confdefs.h
>>conftest.
$ac_ext
10424 cat >>conftest.
$ac_ext <<_ACEOF
10425 /* end confdefs.h. */
10427 /* Override any GCC internal prototype to avoid an error.
10428 Use char because int might match the return type of a GCC
10429 builtin and then its argument prototype would still apply. */
10433 char xmlNewDocPI ();
10437 return xmlNewDocPI ();
10442 rm -f conftest.
$ac_objext conftest
$ac_exeext
10443 if { (ac_try
="$ac_link"
10444 case "(($ac_try" in
10445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10446 *) ac_try_echo=$ac_try;;
10448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10449 (eval "$ac_link") 2>conftest.er1
10451 grep -v '^ *+' conftest.er1 >conftest.err
10453 cat conftest.err >&5
10454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10455 (exit $ac_status); } && {
10456 test -z "$ac_c_werror_flag" ||
10457 test ! -s conftest.err
10458 } && test -s conftest$ac_exeext &&
10459 $as_test_x conftest$ac_exeext; then
10460 ac_cv_lib_xml2_xmlNewDocPI=yes
10462 echo "$as_me: failed program was:" >&5
10463 sed 's/^/| /' conftest.$ac_ext >&5
10465 ac_cv_lib_xml2_xmlNewDocPI=no
10468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10469 conftest$ac_exeext conftest.$ac_ext
10470 LIBS=$ac_check_lib_save_LIBS
10472 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10473 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10474 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
10476 cat >>confdefs.h <<\_ACEOF
10477 #define HAVE_XMLNEWDOCPI 1
10487 CPPFLAGS="$ac_save_CPPFLAGS"
10488 if test "$PKG_CONFIG" != "false"
10490 ac_xslt_libs="`$PKG_CONFIG --libs libxslt
2>/dev
/null
`"
10491 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt
2>/dev
/null
`"
10493 ac_xslt_libs="`xslt-config
--libs 2>/dev
/null
`"
10494 ac_xslt_cflags="`xslt-config
--cflags 2>/dev
/null
`"
10496 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
10499 for ac_header in libxslt/pattern.h libxslt/transform.h
10501 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10502 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10504 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10505 echo $ECHO_N "(cached) $ECHO_C" >&6
10507 cat >conftest.$ac_ext <<_ACEOF
10510 cat confdefs.h >>conftest.$ac_ext
10511 cat >>conftest.$ac_ext <<_ACEOF
10512 /* end confdefs.h. */
10513 #ifdef HAVE_LIBXSLT_PATTERN_H
10514 # include <libxslt/pattern.h>
10517 #include <$ac_header>
10519 rm -f conftest.$ac_objext
10520 if { (ac_try="$ac_compile"
10521 case "(($ac_try" in
10522 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10523 *) ac_try_echo
=$ac_try;;
10525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10526 (eval "$ac_compile") 2>conftest.er1
10528 grep -v '^ *+' conftest.er1
>conftest.err
10530 cat conftest.err
>&5
10531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10532 (exit $ac_status); } && {
10533 test -z "$ac_c_werror_flag" ||
10534 test ! -s conftest.err
10535 } && test -s conftest.
$ac_objext; then
10536 eval "$as_ac_Header=yes"
10538 echo "$as_me: failed program was:" >&5
10539 sed 's/^/| /' conftest.
$ac_ext >&5
10541 eval "$as_ac_Header=no"
10544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10546 ac_res
=`eval echo '${'$as_ac_Header'}'`
10547 { echo "$as_me:$LINENO: result: $ac_res" >&5
10548 echo "${ECHO_T}$ac_res" >&6; }
10549 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10550 cat >>confdefs.h
<<_ACEOF
10551 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10553 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10554 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10555 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10556 echo $ECHO_N "(cached) $ECHO_C" >&6
10558 ac_check_lib_save_LIBS
=$LIBS
10559 LIBS
="-lxslt $ac_xslt_libs $LIBS"
10560 cat >conftest.
$ac_ext <<_ACEOF
10563 cat confdefs.h
>>conftest.
$ac_ext
10564 cat >>conftest.
$ac_ext <<_ACEOF
10565 /* end confdefs.h. */
10567 /* Override any GCC internal prototype to avoid an error.
10568 Use char because int might match the return type of a GCC
10569 builtin and then its argument prototype would still apply. */
10573 char xsltCompilePattern ();
10577 return xsltCompilePattern ();
10582 rm -f conftest.
$ac_objext conftest
$ac_exeext
10583 if { (ac_try
="$ac_link"
10584 case "(($ac_try" in
10585 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10586 *) ac_try_echo=$ac_try;;
10588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10589 (eval "$ac_link") 2>conftest.er1
10591 grep -v '^ *+' conftest.er1 >conftest.err
10593 cat conftest.err >&5
10594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10595 (exit $ac_status); } && {
10596 test -z "$ac_c_werror_flag" ||
10597 test ! -s conftest.err
10598 } && test -s conftest$ac_exeext &&
10599 $as_test_x conftest$ac_exeext; then
10600 ac_cv_lib_xslt_xsltCompilePattern=yes
10602 echo "$as_me: failed program was:" >&5
10603 sed 's/^/| /' conftest.$ac_ext >&5
10605 ac_cv_lib_xslt_xsltCompilePattern=no
10608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10609 conftest$ac_exeext conftest.$ac_ext
10610 LIBS=$ac_check_lib_save_LIBS
10612 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
10613 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
10614 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
10616 cat >>confdefs.h <<\_ACEOF
10617 #define HAVE_LIBXSLT 1
10620 XSLTLIBS="$ac_xslt_libs"
10621 XSLTINCL="$ac_xslt_cflags"
10629 CPPFLAGS="$ac_save_CPPFLAGS"
10633 if test "$PKG_CONFIG" != "false"
10635 ac_save_CPPFLAGS="$CPPFLAGS"
10636 ac_hal_libs="`$PKG_CONFIG --libs hal
2>/dev
/null
`"
10637 ac_hal_cflags="`$PKG_CONFIG --cflags hal
2>/dev
/null
`"
10638 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
10641 for ac_header in dbus/dbus.h hal/libhal.h
10643 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10644 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10645 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10647 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10648 echo $ECHO_N "(cached) $ECHO_C" >&6
10650 ac_res=`eval echo '${'$as_ac_Header'}'`
10651 { echo "$as_me:$LINENO: result: $ac_res" >&5
10652 echo "${ECHO_T}$ac_res" >&6; }
10654 # Is the header compilable?
10655 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10656 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10657 cat >conftest.$ac_ext <<_ACEOF
10660 cat confdefs.h >>conftest.$ac_ext
10661 cat >>conftest.$ac_ext <<_ACEOF
10662 /* end confdefs.h. */
10663 $ac_includes_default
10664 #include <$ac_header>
10666 rm -f conftest.$ac_objext
10667 if { (ac_try="$ac_compile"
10668 case "(($ac_try" in
10669 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10670 *) ac_try_echo
=$ac_try;;
10672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10673 (eval "$ac_compile") 2>conftest.er1
10675 grep -v '^ *+' conftest.er1
>conftest.err
10677 cat conftest.err
>&5
10678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10679 (exit $ac_status); } && {
10680 test -z "$ac_c_werror_flag" ||
10681 test ! -s conftest.err
10682 } && test -s conftest.
$ac_objext; then
10683 ac_header_compiler
=yes
10685 echo "$as_me: failed program was:" >&5
10686 sed 's/^/| /' conftest.
$ac_ext >&5
10688 ac_header_compiler
=no
10691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10692 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10693 echo "${ECHO_T}$ac_header_compiler" >&6; }
10695 # Is the header present?
10696 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10697 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10698 cat >conftest.
$ac_ext <<_ACEOF
10701 cat confdefs.h
>>conftest.
$ac_ext
10702 cat >>conftest.
$ac_ext <<_ACEOF
10703 /* end confdefs.h. */
10704 #include <$ac_header>
10706 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10707 case "(($ac_try" in
10708 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10709 *) ac_try_echo=$ac_try;;
10711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10712 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10714 grep -v '^ *+' conftest.er1 >conftest.err
10716 cat conftest.err >&5
10717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10718 (exit $ac_status); } >/dev/null && {
10719 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10720 test ! -s conftest.err
10722 ac_header_preproc=yes
10724 echo "$as_me: failed program was:" >&5
10725 sed 's/^/| /' conftest.$ac_ext >&5
10727 ac_header_preproc=no
10730 rm -f conftest.err conftest.$ac_ext
10731 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10732 echo "${ECHO_T}$ac_header_preproc" >&6; }
10734 # So? What about this header?
10735 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10737 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10738 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10739 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10740 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10741 ac_header_preproc=yes
10744 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10745 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10746 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10747 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10748 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10749 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10750 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10751 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10752 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10753 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10754 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10755 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10757 ## ------------------------------------ ##
10758 ## Report this to wine-devel@winehq.org ##
10759 ## ------------------------------------ ##
10761 ) | sed "s/^/$as_me: WARNING: /" >&2
10764 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10766 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10767 echo $ECHO_N "(cached) $ECHO_C" >&6
10769 eval "$as_ac_Header=\$ac_header_preproc"
10771 ac_res=`eval echo '${'$as_ac_Header'}'`
10772 { echo "$as_me:$LINENO: result: $ac_res" >&5
10773 echo "${ECHO_T}$ac_res" >&6; }
10776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10777 cat >>confdefs.h <<_ACEOF
10778 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10785 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
10787 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
10788 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
10789 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
10790 echo $ECHO_N "(cached) $ECHO_C" >&6
10792 ac_check_lib_save_LIBS=$LIBS
10793 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
10794 cat >conftest.$ac_ext <<_ACEOF
10797 cat confdefs.h >>conftest.$ac_ext
10798 cat >>conftest.$ac_ext <<_ACEOF
10799 /* end confdefs.h. */
10801 /* Override any GCC internal prototype to avoid an error.
10802 Use char because int might match the return type of a GCC
10803 builtin and then its argument prototype would still apply. */
10807 char dbus_connection_close ();
10811 return dbus_connection_close ();
10816 rm -f conftest.$ac_objext conftest$ac_exeext
10817 if { (ac_try="$ac_link"
10818 case "(($ac_try" in
10819 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10820 *) ac_try_echo
=$ac_try;;
10822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10823 (eval "$ac_link") 2>conftest.er1
10825 grep -v '^ *+' conftest.er1
>conftest.err
10827 cat conftest.err
>&5
10828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10829 (exit $ac_status); } && {
10830 test -z "$ac_c_werror_flag" ||
10831 test ! -s conftest.err
10832 } && test -s conftest
$ac_exeext &&
10833 $as_test_x conftest
$ac_exeext; then
10834 ac_cv_lib_dbus_1_dbus_connection_close
=yes
10836 echo "$as_me: failed program was:" >&5
10837 sed 's/^/| /' conftest.
$ac_ext >&5
10839 ac_cv_lib_dbus_1_dbus_connection_close
=no
10842 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10843 conftest
$ac_exeext conftest.
$ac_ext
10844 LIBS
=$ac_check_lib_save_LIBS
10846 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
10847 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
10848 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
10849 { echo "$as_me:$LINENO: checking for -lhal" >&5
10850 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
10851 if test "${ac_cv_lib_soname_hal+set}" = set; then
10852 echo $ECHO_N "(cached) $ECHO_C" >&6
10854 ac_check_soname_save_LIBS
=$LIBS
10855 LIBS
="-lhal $ac_hal_libs $LIBS"
10856 cat >conftest.
$ac_ext <<_ACEOF
10859 cat confdefs.h
>>conftest.
$ac_ext
10860 cat >>conftest.
$ac_ext <<_ACEOF
10861 /* end confdefs.h. */
10863 /* Override any GCC internal prototype to avoid an error.
10864 Use char because int might match the return type of a GCC
10865 builtin and then its argument prototype would still apply. */
10869 char libhal_ctx_new ();
10873 return libhal_ctx_new ();
10878 rm -f conftest.
$ac_objext conftest
$ac_exeext
10879 if { (ac_try
="$ac_link"
10880 case "(($ac_try" in
10881 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10882 *) ac_try_echo=$ac_try;;
10884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10885 (eval "$ac_link") 2>conftest.er1
10887 grep -v '^ *+' conftest.er1 >conftest.err
10889 cat conftest.err >&5
10890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10891 (exit $ac_status); } && {
10892 test -z "$ac_c_werror_flag" ||
10893 test ! -s conftest.err
10894 } && test -s conftest$ac_exeext &&
10895 $as_test_x conftest$ac_exeext; then
10898 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'` ;;
10899 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libhal\\.$LIBEXT" |
sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10902 echo "$as_me: failed program was:" >&5
10903 sed 's/^/| /' conftest.$ac_ext >&5
10908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10909 conftest$ac_exeext conftest.$ac_ext
10910 LIBS=$ac_check_soname_save_LIBS
10912 if test "x$ac_cv_lib_soname_hal" = "x"; then
10913 { echo "$as_me:$LINENO: result: not found" >&5
10914 echo "${ECHO_T}not found" >&6; }
10917 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
10918 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
10920 cat >>confdefs.h <<_ACEOF
10921 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10924 HALINCL="$ac_hal_cflags"
10930 CPPFLAGS="$ac_save_CPPFLAGS"
10934 if test "$ac_cv_header_ncurses_h" = "yes"
10936 { echo "$as_me:$LINENO: checking for -lncurses" >&5
10937 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
10938 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
10939 echo $ECHO_N "(cached) $ECHO_C" >&6
10941 ac_check_soname_save_LIBS=$LIBS
10942 LIBS="-lncurses $LIBS"
10943 cat >conftest.$ac_ext <<_ACEOF
10946 cat confdefs.h >>conftest.$ac_ext
10947 cat >>conftest.$ac_ext <<_ACEOF
10948 /* end confdefs.h. */
10950 /* Override any GCC internal prototype to avoid an error.
10951 Use char because int might match the return type of a GCC
10952 builtin and then its argument prototype would still apply. */
10965 rm -f conftest.$ac_objext conftest$ac_exeext
10966 if { (ac_try="$ac_link"
10967 case "(($ac_try" in
10968 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10969 *) ac_try_echo
=$ac_try;;
10971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10972 (eval "$ac_link") 2>conftest.er1
10974 grep -v '^ *+' conftest.er1
>conftest.err
10976 cat conftest.err
>&5
10977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10978 (exit $ac_status); } && {
10979 test -z "$ac_c_werror_flag" ||
10980 test ! -s conftest.err
10981 } && test -s conftest
$ac_exeext &&
10982 $as_test_x conftest
$ac_exeext; then
10985 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'` ;;
10986 *) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10989 echo "$as_me: failed program was:" >&5
10990 sed 's/^/| /' conftest.
$ac_ext >&5
10995 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10996 conftest
$ac_exeext conftest.
$ac_ext
10997 LIBS
=$ac_check_soname_save_LIBS
10999 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11000 { echo "$as_me:$LINENO: result: not found" >&5
11001 echo "${ECHO_T}not found" >&6; }
11004 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11005 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11007 cat >>confdefs.h
<<_ACEOF
11008 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11011 CURSESLIBS
="-lncurses"
11014 elif test "$ac_cv_header_curses_h" = "yes"
11016 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11017 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11018 if test "${ac_cv_lib_soname_curses+set}" = set; then
11019 echo $ECHO_N "(cached) $ECHO_C" >&6
11021 ac_check_soname_save_LIBS
=$LIBS
11022 LIBS
="-lcurses $LIBS"
11023 cat >conftest.
$ac_ext <<_ACEOF
11026 cat confdefs.h
>>conftest.
$ac_ext
11027 cat >>conftest.
$ac_ext <<_ACEOF
11028 /* end confdefs.h. */
11030 /* Override any GCC internal prototype to avoid an error.
11031 Use char because int might match the return type of a GCC
11032 builtin and then its argument prototype would still apply. */
11045 rm -f conftest.
$ac_objext conftest
$ac_exeext
11046 if { (ac_try
="$ac_link"
11047 case "(($ac_try" in
11048 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11049 *) ac_try_echo=$ac_try;;
11051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11052 (eval "$ac_link") 2>conftest.er1
11054 grep -v '^ *+' conftest.er1 >conftest.err
11056 cat conftest.err >&5
11057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11058 (exit $ac_status); } && {
11059 test -z "$ac_c_werror_flag" ||
11060 test ! -s conftest.err
11061 } && test -s conftest$ac_exeext &&
11062 $as_test_x conftest$ac_exeext; then
11065 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'` ;;
11066 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcurses\\.$LIBEXT" |
sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11069 echo "$as_me: failed program was:" >&5
11070 sed 's/^/| /' conftest.$ac_ext >&5
11075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11076 conftest$ac_exeext conftest.$ac_ext
11077 LIBS=$ac_check_soname_save_LIBS
11079 if test "x$ac_cv_lib_soname_curses" = "x"; then
11080 { echo "$as_me:$LINENO: result: not found" >&5
11081 echo "${ECHO_T}not found" >&6; }
11084 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11085 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11087 cat >>confdefs.h <<_ACEOF
11088 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11091 CURSESLIBS="-lcurses"
11095 ac_save_LIBS="$LIBS"
11096 LIBS="$LIBS $CURSESLIBS"
11098 for ac_func in mousemask
11100 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11101 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11103 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11104 echo $ECHO_N "(cached) $ECHO_C" >&6
11106 cat >conftest.$ac_ext <<_ACEOF
11109 cat confdefs.h >>conftest.$ac_ext
11110 cat >>conftest.$ac_ext <<_ACEOF
11111 /* end confdefs.h. */
11112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11114 #define $ac_func innocuous_$ac_func
11116 /* System header to define __stub macros and hopefully few prototypes,
11117 which can conflict with char $ac_func (); below.
11118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11119 <limits.h> exists even on freestanding compilers. */
11122 # include <limits.h>
11124 # include <assert.h>
11129 /* Override any GCC internal prototype to avoid an error.
11130 Use char because int might match the return type of a GCC
11131 builtin and then its argument prototype would still apply. */
11136 /* The GNU C library defines this for functions which it implements
11137 to always fail with ENOSYS. Some functions are actually named
11138 something starting with __ and the normal name is an alias. */
11139 #if defined __stub_$ac_func || defined __stub___$ac_func
11146 return $ac_func ();
11151 rm -f conftest.$ac_objext conftest$ac_exeext
11152 if { (ac_try="$ac_link"
11153 case "(($ac_try" in
11154 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11155 *) ac_try_echo
=$ac_try;;
11157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11158 (eval "$ac_link") 2>conftest.er1
11160 grep -v '^ *+' conftest.er1
>conftest.err
11162 cat conftest.err
>&5
11163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11164 (exit $ac_status); } && {
11165 test -z "$ac_c_werror_flag" ||
11166 test ! -s conftest.err
11167 } && test -s conftest
$ac_exeext &&
11168 $as_test_x conftest
$ac_exeext; then
11169 eval "$as_ac_var=yes"
11171 echo "$as_me: failed program was:" >&5
11172 sed 's/^/| /' conftest.
$ac_ext >&5
11174 eval "$as_ac_var=no"
11177 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11178 conftest
$ac_exeext conftest.
$ac_ext
11180 ac_res
=`eval echo '${'$as_ac_var'}'`
11181 { echo "$as_me:$LINENO: result: $ac_res" >&5
11182 echo "${ECHO_T}$ac_res" >&6; }
11183 if test `eval echo '${'$as_ac_var'}'` = yes; then
11184 cat >>confdefs.h
<<_ACEOF
11185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11191 LIBS
="$ac_save_LIBS"
11193 # Extract the first word of "sane-config", so it can be a program name with args.
11194 set dummy sane-config
; ac_word
=$2
11195 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11197 if test "${ac_cv_prog_sane_devel+set}" = set; then
11198 echo $ECHO_N "(cached) $ECHO_C" >&6
11200 if test -n "$sane_devel"; then
11201 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
11203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11204 for as_dir
in $PATH
11207 test -z "$as_dir" && as_dir
=.
11208 for ac_exec_ext
in '' $ac_executable_extensions; do
11209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11210 ac_cv_prog_sane_devel
="sane-config"
11211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11218 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
11221 sane_devel
=$ac_cv_prog_sane_devel
11222 if test -n "$sane_devel"; then
11223 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11224 echo "${ECHO_T}$sane_devel" >&6; }
11226 { echo "$as_me:$LINENO: result: no" >&5
11227 echo "${ECHO_T}no" >&6; }
11231 if test "$sane_devel" != "no"
11233 ac_sane_incl
="`$sane_devel --cflags`"
11234 ac_save_CPPFLAGS
="$CPPFLAGS"
11235 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
11236 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11237 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11238 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11239 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11240 echo $ECHO_N "(cached) $ECHO_C" >&6
11242 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11243 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11245 # Is the header compilable?
11246 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11247 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11248 cat >conftest.
$ac_ext <<_ACEOF
11251 cat confdefs.h
>>conftest.
$ac_ext
11252 cat >>conftest.
$ac_ext <<_ACEOF
11253 /* end confdefs.h. */
11254 $ac_includes_default
11255 #include <sane/sane.h>
11257 rm -f conftest.
$ac_objext
11258 if { (ac_try
="$ac_compile"
11259 case "(($ac_try" in
11260 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11261 *) ac_try_echo=$ac_try;;
11263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11264 (eval "$ac_compile") 2>conftest.er1
11266 grep -v '^ *+' conftest.er1 >conftest.err
11268 cat conftest.err >&5
11269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11270 (exit $ac_status); } && {
11271 test -z "$ac_c_werror_flag" ||
11272 test ! -s conftest.err
11273 } && test -s conftest.$ac_objext; then
11274 ac_header_compiler=yes
11276 echo "$as_me: failed program was:" >&5
11277 sed 's/^/| /' conftest.$ac_ext >&5
11279 ac_header_compiler=no
11282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11283 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11284 echo "${ECHO_T}$ac_header_compiler" >&6; }
11286 # Is the header present?
11287 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11288 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11289 cat >conftest.$ac_ext <<_ACEOF
11292 cat confdefs.h >>conftest.$ac_ext
11293 cat >>conftest.$ac_ext <<_ACEOF
11294 /* end confdefs.h. */
11295 #include <sane/sane.h>
11297 if { (ac_try="$ac_cpp conftest.$ac_ext"
11298 case "(($ac_try" in
11299 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11300 *) ac_try_echo
=$ac_try;;
11302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11303 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11305 grep -v '^ *+' conftest.er1
>conftest.err
11307 cat conftest.err
>&5
11308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11309 (exit $ac_status); } >/dev
/null
&& {
11310 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11311 test ! -s conftest.err
11313 ac_header_preproc
=yes
11315 echo "$as_me: failed program was:" >&5
11316 sed 's/^/| /' conftest.
$ac_ext >&5
11318 ac_header_preproc
=no
11321 rm -f conftest.err conftest.
$ac_ext
11322 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11323 echo "${ECHO_T}$ac_header_preproc" >&6; }
11325 # So? What about this header?
11326 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11328 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11329 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11330 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11331 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11332 ac_header_preproc
=yes
11335 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11336 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11337 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11338 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11339 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11340 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11341 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11342 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11343 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11344 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11345 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11346 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11348 ## ------------------------------------ ##
11349 ## Report this to wine-devel@winehq.org ##
11350 ## ------------------------------------ ##
11352 ) |
sed "s/^/$as_me: WARNING: /" >&2
11355 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11356 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11357 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11358 echo $ECHO_N "(cached) $ECHO_C" >&6
11360 ac_cv_header_sane_sane_h
=$ac_header_preproc
11362 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11363 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11366 if test $ac_cv_header_sane_sane_h = yes; then
11367 { echo "$as_me:$LINENO: checking for -lsane" >&5
11368 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
11369 if test "${ac_cv_lib_soname_sane+set}" = set; then
11370 echo $ECHO_N "(cached) $ECHO_C" >&6
11372 ac_check_soname_save_LIBS
=$LIBS
11373 LIBS
="-lsane $LIBS"
11374 cat >conftest.
$ac_ext <<_ACEOF
11377 cat confdefs.h
>>conftest.
$ac_ext
11378 cat >>conftest.
$ac_ext <<_ACEOF
11379 /* end confdefs.h. */
11381 /* Override any GCC internal prototype to avoid an error.
11382 Use char because int might match the return type of a GCC
11383 builtin and then its argument prototype would still apply. */
11391 return sane_init ();
11396 rm -f conftest.
$ac_objext conftest
$ac_exeext
11397 if { (ac_try
="$ac_link"
11398 case "(($ac_try" in
11399 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11400 *) ac_try_echo=$ac_try;;
11402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11403 (eval "$ac_link") 2>conftest.er1
11405 grep -v '^ *+' conftest.er1 >conftest.err
11407 cat conftest.err >&5
11408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11409 (exit $ac_status); } && {
11410 test -z "$ac_c_werror_flag" ||
11411 test ! -s conftest.err
11412 } && test -s conftest$ac_exeext &&
11413 $as_test_x conftest$ac_exeext; then
11416 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'` ;;
11417 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libsane\\.$LIBEXT" |
sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11420 echo "$as_me: failed program was:" >&5
11421 sed 's/^/| /' conftest.$ac_ext >&5
11426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11427 conftest$ac_exeext conftest.$ac_ext
11428 LIBS=$ac_check_soname_save_LIBS
11430 if test "x$ac_cv_lib_soname_sane" = "x"; then
11431 { echo "$as_me:$LINENO: result: not found" >&5
11432 echo "${ECHO_T}not found" >&6; }
11435 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
11436 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
11438 cat >>confdefs.h <<_ACEOF
11439 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11442 SANEINCL="$ac_sane_incl"
11449 CPPFLAGS="$ac_save_CPPFLAGS"
11452 # Extract the first word of "gphoto2-config", so it can be a program name with args.
11453 set dummy gphoto2-config; ac_word=$2
11454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11456 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
11457 echo $ECHO_N "(cached) $ECHO_C" >&6
11459 if test -n "$gphoto2_devel"; then
11460 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
11462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11463 for as_dir in $PATH
11466 test -z "$as_dir" && as_dir=.
11467 for ac_exec_ext in '' $ac_executable_extensions; do
11468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11469 ac_cv_prog_gphoto2_devel="gphoto2-config"
11470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11477 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
11480 gphoto2_devel=$ac_cv_prog_gphoto2_devel
11481 if test -n "$gphoto2_devel"; then
11482 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
11483 echo "${ECHO_T}$gphoto2_devel" >&6; }
11485 { echo "$as_me:$LINENO: result: no" >&5
11486 echo "${ECHO_T}no" >&6; }
11490 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
11491 set dummy gphoto2-port-config; ac_word=$2
11492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11494 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
11495 echo $ECHO_N "(cached) $ECHO_C" >&6
11497 if test -n "$gphoto2port_devel"; then
11498 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
11500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11501 for as_dir in $PATH
11504 test -z "$as_dir" && as_dir=.
11505 for ac_exec_ext in '' $ac_executable_extensions; do
11506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11507 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
11508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11515 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
11518 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
11519 if test -n "$gphoto2port_devel"; then
11520 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
11521 echo "${ECHO_T}$gphoto2port_devel" >&6; }
11523 { echo "$as_me:$LINENO: result: no" >&5
11524 echo "${ECHO_T}no" >&6; }
11532 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
11534 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
11536 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
11539 -L/usr/lib|-L/usr/lib64) ;;
11540 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
11543 ac_save_CPPFLAGS="$CPPFLAGS"
11544 ac_save_LIBS="$LIBS"
11545 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
11546 LIBS="$LIBS $GPHOTO2LIBS"
11547 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11548 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11549 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11550 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11551 echo $ECHO_N "(cached) $ECHO_C" >&6
11553 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11554 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11556 # Is the header compilable?
11557 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
11558 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
11559 cat >conftest.$ac_ext <<_ACEOF
11562 cat confdefs.h >>conftest.$ac_ext
11563 cat >>conftest.$ac_ext <<_ACEOF
11564 /* end confdefs.h. */
11565 $ac_includes_default
11566 #include <gphoto2-camera.h>
11568 rm -f conftest.$ac_objext
11569 if { (ac_try="$ac_compile"
11570 case "(($ac_try" in
11571 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11572 *) ac_try_echo
=$ac_try;;
11574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11575 (eval "$ac_compile") 2>conftest.er1
11577 grep -v '^ *+' conftest.er1
>conftest.err
11579 cat conftest.err
>&5
11580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11581 (exit $ac_status); } && {
11582 test -z "$ac_c_werror_flag" ||
11583 test ! -s conftest.err
11584 } && test -s conftest.
$ac_objext; then
11585 ac_header_compiler
=yes
11587 echo "$as_me: failed program was:" >&5
11588 sed 's/^/| /' conftest.
$ac_ext >&5
11590 ac_header_compiler
=no
11593 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11594 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11595 echo "${ECHO_T}$ac_header_compiler" >&6; }
11597 # Is the header present?
11598 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
11599 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
11600 cat >conftest.
$ac_ext <<_ACEOF
11603 cat confdefs.h
>>conftest.
$ac_ext
11604 cat >>conftest.
$ac_ext <<_ACEOF
11605 /* end confdefs.h. */
11606 #include <gphoto2-camera.h>
11608 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11609 case "(($ac_try" in
11610 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11611 *) ac_try_echo=$ac_try;;
11613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11614 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11616 grep -v '^ *+' conftest.er1 >conftest.err
11618 cat conftest.err >&5
11619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11620 (exit $ac_status); } >/dev/null && {
11621 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11622 test ! -s conftest.err
11624 ac_header_preproc=yes
11626 echo "$as_me: failed program was:" >&5
11627 sed 's/^/| /' conftest.$ac_ext >&5
11629 ac_header_preproc=no
11632 rm -f conftest.err conftest.$ac_ext
11633 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11634 echo "${ECHO_T}$ac_header_preproc" >&6; }
11636 # So? What about this header?
11637 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11639 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
11640 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11641 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
11642 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
11643 ac_header_preproc=yes
11646 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
11647 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
11648 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
11649 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
11650 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
11651 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
11652 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
11653 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
11654 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
11655 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
11656 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
11657 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
11659 ## ------------------------------------ ##
11660 ## Report this to wine-devel@winehq.org ##
11661 ## ------------------------------------ ##
11663 ) | sed "s/^/$as_me: WARNING: /" >&2
11666 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11667 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11668 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11669 echo $ECHO_N "(cached) $ECHO_C" >&6
11671 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
11673 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11674 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11677 if test $ac_cv_header_gphoto2_camera_h = yes; then
11678 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
11679 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
11680 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
11681 echo $ECHO_N "(cached) $ECHO_C" >&6
11683 ac_check_lib_save_LIBS=$LIBS
11684 LIBS="-lgphoto2 $LIBS"
11685 cat >conftest.$ac_ext <<_ACEOF
11688 cat confdefs.h >>conftest.$ac_ext
11689 cat >>conftest.$ac_ext <<_ACEOF
11690 /* end confdefs.h. */
11692 /* Override any GCC internal prototype to avoid an error.
11693 Use char because int might match the return type of a GCC
11694 builtin and then its argument prototype would still apply. */
11698 char gp_camera_new ();
11702 return gp_camera_new ();
11707 rm -f conftest.$ac_objext conftest$ac_exeext
11708 if { (ac_try="$ac_link"
11709 case "(($ac_try" in
11710 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11711 *) ac_try_echo
=$ac_try;;
11713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11714 (eval "$ac_link") 2>conftest.er1
11716 grep -v '^ *+' conftest.er1
>conftest.err
11718 cat conftest.err
>&5
11719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11720 (exit $ac_status); } && {
11721 test -z "$ac_c_werror_flag" ||
11722 test ! -s conftest.err
11723 } && test -s conftest
$ac_exeext &&
11724 $as_test_x conftest
$ac_exeext; then
11725 ac_cv_lib_gphoto2_gp_camera_new
=yes
11727 echo "$as_me: failed program was:" >&5
11728 sed 's/^/| /' conftest.
$ac_ext >&5
11730 ac_cv_lib_gphoto2_gp_camera_new
=no
11733 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11734 conftest
$ac_exeext conftest.
$ac_ext
11735 LIBS
=$ac_check_lib_save_LIBS
11737 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11738 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11739 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
11741 cat >>confdefs.h
<<\_ACEOF
11742 #define HAVE_GPHOTO2 1
11756 LIBS
="$ac_save_LIBS"
11757 CPPFLAGS
="$ac_save_CPPFLAGS"
11760 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
11763 icu_libs
="-lsicuuc -lsicudata -lstdc++ -lgcc_s"
11764 if test -n "$ICU_LIB_DIR"
11766 icu_libs
="-L$ICU_LIB_DIR $icu_libs"
11768 { echo "$as_me:$LINENO: checking whether can link with ICU libraries" >&5
11769 echo $ECHO_N "checking whether can link with ICU libraries... $ECHO_C" >&6; }
11770 LIBS
="$saved_libs $icu_libs"
11771 if test "$cross_compiling" = yes; then
11772 { echo "$as_me:$LINENO: result: no" >&5
11773 echo "${ECHO_T}no" >&6; }
11775 cat >conftest.
$ac_ext <<_ACEOF
11778 cat confdefs.h
>>conftest.
$ac_ext
11779 cat >>conftest.
$ac_ext <<_ACEOF
11780 /* end confdefs.h. */
11781 #include <unicode/ubidi.h>
11790 rm -f conftest
$ac_exeext
11791 if { (ac_try
="$ac_link"
11792 case "(($ac_try" in
11793 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11794 *) ac_try_echo=$ac_try;;
11796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11797 (eval "$ac_link") 2>&5
11799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11800 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11801 { (case "(($ac_try" in
11802 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11803 *) ac_try_echo
=$ac_try;;
11805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11806 (eval "$ac_try") 2>&5
11808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11809 (exit $ac_status); }; }; then
11811 cat >>confdefs.h
<<\_ACEOF
11815 ICULIBS
="$icu_libs"
11817 { echo "$as_me:$LINENO: result: yes" >&5
11818 echo "${ECHO_T}yes" >&6; }
11820 echo "$as_me: program exited with status $ac_status" >&5
11821 echo "$as_me: failed program was:" >&5
11822 sed 's/^/| /' conftest.
$ac_ext >&5
11824 ( exit $ac_status )
11825 { echo "$as_me:$LINENO: result: no" >&5
11826 echo "${ECHO_T}no" >&6; }
11828 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11837 if test "$ac_cv_header_resolv_h" = "yes"
11839 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
11840 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
11841 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
11842 echo $ECHO_N "(cached) $ECHO_C" >&6
11844 ac_check_lib_save_LIBS
=$LIBS
11845 LIBS
="-lresolv $LIBS"
11846 cat >conftest.
$ac_ext <<_ACEOF
11849 cat confdefs.h
>>conftest.
$ac_ext
11850 cat >>conftest.
$ac_ext <<_ACEOF
11851 /* end confdefs.h. */
11853 /* Override any GCC internal prototype to avoid an error.
11854 Use char because int might match the return type of a GCC
11855 builtin and then its argument prototype would still apply. */
11863 return res_query ();
11868 rm -f conftest.
$ac_objext conftest
$ac_exeext
11869 if { (ac_try
="$ac_link"
11870 case "(($ac_try" in
11871 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11872 *) ac_try_echo=$ac_try;;
11874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11875 (eval "$ac_link") 2>conftest.er1
11877 grep -v '^ *+' conftest.er1 >conftest.err
11879 cat conftest.err >&5
11880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11881 (exit $ac_status); } && {
11882 test -z "$ac_c_werror_flag" ||
11883 test ! -s conftest.err
11884 } && test -s conftest$ac_exeext &&
11885 $as_test_x conftest$ac_exeext; then
11886 ac_cv_lib_resolv_res_query=yes
11888 echo "$as_me: failed program was:" >&5
11889 sed 's/^/| /' conftest.$ac_ext >&5
11891 ac_cv_lib_resolv_res_query=no
11894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11895 conftest$ac_exeext conftest.$ac_ext
11896 LIBS=$ac_check_lib_save_LIBS
11898 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
11899 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
11900 if test $ac_cv_lib_resolv_res_query = yes; then
11902 cat >>confdefs.h <<\_ACEOF
11903 #define HAVE_RESOLV 1
11906 RESOLVLIBS="-lresolv"
11913 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
11915 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
11916 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
11917 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
11918 echo $ECHO_N "(cached) $ECHO_C" >&6
11920 ac_check_lib_save_LIBS=$LIBS
11921 LIBS="-llcms $LIBS"
11922 cat >conftest.$ac_ext <<_ACEOF
11925 cat confdefs.h >>conftest.$ac_ext
11926 cat >>conftest.$ac_ext <<_ACEOF
11927 /* end confdefs.h. */
11929 /* Override any GCC internal prototype to avoid an error.
11930 Use char because int might match the return type of a GCC
11931 builtin and then its argument prototype would still apply. */
11935 char cmsOpenProfileFromFile ();
11939 return cmsOpenProfileFromFile ();
11944 rm -f conftest.$ac_objext conftest$ac_exeext
11945 if { (ac_try="$ac_link"
11946 case "(($ac_try" in
11947 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11948 *) ac_try_echo
=$ac_try;;
11950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11951 (eval "$ac_link") 2>conftest.er1
11953 grep -v '^ *+' conftest.er1
>conftest.err
11955 cat conftest.err
>&5
11956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11957 (exit $ac_status); } && {
11958 test -z "$ac_c_werror_flag" ||
11959 test ! -s conftest.err
11960 } && test -s conftest
$ac_exeext &&
11961 $as_test_x conftest
$ac_exeext; then
11962 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
11964 echo "$as_me: failed program was:" >&5
11965 sed 's/^/| /' conftest.
$ac_ext >&5
11967 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
11970 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11971 conftest
$ac_exeext conftest.
$ac_ext
11972 LIBS
=$ac_check_lib_save_LIBS
11974 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
11975 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
11976 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
11978 cat >>confdefs.h
<<\_ACEOF
11979 #define HAVE_LCMS 1
11989 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
11991 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
11992 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
11993 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
11994 echo $ECHO_N "(cached) $ECHO_C" >&6
11996 ac_check_lib_save_LIBS
=$LIBS
11997 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
11998 cat >conftest.
$ac_ext <<_ACEOF
12001 cat confdefs.h
>>conftest.
$ac_ext
12002 cat >>conftest.
$ac_ext <<_ACEOF
12003 /* end confdefs.h. */
12005 /* Override any GCC internal prototype to avoid an error.
12006 Use char because int might match the return type of a GCC
12007 builtin and then its argument prototype would still apply. */
12011 char ldap_initialize ();
12015 return ldap_initialize ();
12020 rm -f conftest.
$ac_objext conftest
$ac_exeext
12021 if { (ac_try
="$ac_link"
12022 case "(($ac_try" in
12023 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12024 *) ac_try_echo=$ac_try;;
12026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12027 (eval "$ac_link") 2>conftest.er1
12029 grep -v '^ *+' conftest.er1 >conftest.err
12031 cat conftest.err >&5
12032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12033 (exit $ac_status); } && {
12034 test -z "$ac_c_werror_flag" ||
12035 test ! -s conftest.err
12036 } && test -s conftest$ac_exeext &&
12037 $as_test_x conftest$ac_exeext; then
12038 ac_cv_lib_ldap_r_ldap_initialize=yes
12040 echo "$as_me: failed program was:" >&5
12041 sed 's/^/| /' conftest.$ac_ext >&5
12043 ac_cv_lib_ldap_r_ldap_initialize=no
12046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12047 conftest$ac_exeext conftest.$ac_ext
12048 LIBS=$ac_check_lib_save_LIBS
12050 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12051 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12052 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12053 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12054 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12055 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12056 echo $ECHO_N "(cached) $ECHO_C" >&6
12058 ac_check_lib_save_LIBS=$LIBS
12059 LIBS="-llber $LIBPTHREAD $LIBS"
12060 cat >conftest.$ac_ext <<_ACEOF
12063 cat confdefs.h >>conftest.$ac_ext
12064 cat >>conftest.$ac_ext <<_ACEOF
12065 /* end confdefs.h. */
12067 /* Override any GCC internal prototype to avoid an error.
12068 Use char because int might match the return type of a GCC
12069 builtin and then its argument prototype would still apply. */
12077 return ber_init ();
12082 rm -f conftest.$ac_objext conftest$ac_exeext
12083 if { (ac_try="$ac_link"
12084 case "(($ac_try" in
12085 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12086 *) ac_try_echo
=$ac_try;;
12088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12089 (eval "$ac_link") 2>conftest.er1
12091 grep -v '^ *+' conftest.er1
>conftest.err
12093 cat conftest.err
>&5
12094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12095 (exit $ac_status); } && {
12096 test -z "$ac_c_werror_flag" ||
12097 test ! -s conftest.err
12098 } && test -s conftest
$ac_exeext &&
12099 $as_test_x conftest
$ac_exeext; then
12100 ac_cv_lib_lber_ber_init
=yes
12102 echo "$as_me: failed program was:" >&5
12103 sed 's/^/| /' conftest.
$ac_ext >&5
12105 ac_cv_lib_lber_ber_init
=no
12108 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12109 conftest
$ac_exeext conftest.
$ac_ext
12110 LIBS
=$ac_check_lib_save_LIBS
12112 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12113 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12114 if test $ac_cv_lib_lber_ber_init = yes; then
12116 cat >>confdefs.h
<<\_ACEOF
12117 #define HAVE_LDAP 1
12120 LDAPLIBS
="-lldap_r -llber"
12125 ac_wine_check_funcs_save_LIBS
="$LIBS"
12126 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
12132 ldap_count_references \
12133 ldap_first_reference \
12134 ldap_next_reference \
12135 ldap_parse_reference
12137 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12138 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12140 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12141 echo $ECHO_N "(cached) $ECHO_C" >&6
12143 cat >conftest.
$ac_ext <<_ACEOF
12146 cat confdefs.h
>>conftest.
$ac_ext
12147 cat >>conftest.
$ac_ext <<_ACEOF
12148 /* end confdefs.h. */
12149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12151 #define $ac_func innocuous_$ac_func
12153 /* System header to define __stub macros and hopefully few prototypes,
12154 which can conflict with char $ac_func (); below.
12155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12156 <limits.h> exists even on freestanding compilers. */
12159 # include <limits.h>
12161 # include <assert.h>
12166 /* Override any GCC internal prototype to avoid an error.
12167 Use char because int might match the return type of a GCC
12168 builtin and then its argument prototype would still apply. */
12173 /* The GNU C library defines this for functions which it implements
12174 to always fail with ENOSYS. Some functions are actually named
12175 something starting with __ and the normal name is an alias. */
12176 #if defined __stub_$ac_func || defined __stub___$ac_func
12183 return $ac_func ();
12188 rm -f conftest.
$ac_objext conftest
$ac_exeext
12189 if { (ac_try
="$ac_link"
12190 case "(($ac_try" in
12191 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12192 *) ac_try_echo=$ac_try;;
12194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12195 (eval "$ac_link") 2>conftest.er1
12197 grep -v '^ *+' conftest.er1 >conftest.err
12199 cat conftest.err >&5
12200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12201 (exit $ac_status); } && {
12202 test -z "$ac_c_werror_flag" ||
12203 test ! -s conftest.err
12204 } && test -s conftest$ac_exeext &&
12205 $as_test_x conftest$ac_exeext; then
12206 eval "$as_ac_var=yes"
12208 echo "$as_me: failed program was:" >&5
12209 sed 's/^/| /' conftest.$ac_ext >&5
12211 eval "$as_ac_var=no"
12214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12215 conftest$ac_exeext conftest.$ac_ext
12217 ac_res=`eval echo '${'$as_ac_var'}'`
12218 { echo "$as_me:$LINENO: result: $ac_res" >&5
12219 echo "${ECHO_T}$ac_res" >&6; }
12220 if test `eval echo '${'$as_ac_var'}'` = yes; then
12221 cat >>confdefs.h <<_ACEOF
12222 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12228 LIBS="$ac_wine_check_funcs_save_LIBS"
12235 # Extract the first word of "freetype-config", so it can be a program name with args.
12236 set dummy freetype-config; ac_word=$2
12237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12239 if test "${ac_cv_prog_ft_devel+set}" = set; then
12240 echo $ECHO_N "(cached) $ECHO_C" >&6
12242 if test -n "$ft_devel"; then
12243 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12246 for as_dir in $PATH
12249 test -z "$as_dir" && as_dir=.
12250 for ac_exec_ext in '' $ac_executable_extensions; do
12251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12252 ac_cv_prog_ft_devel="freetype-config"
12253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12260 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
12263 ft_devel=$ac_cv_prog_ft_devel
12264 if test -n "$ft_devel"; then
12265 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12266 echo "${ECHO_T}$ft_devel" >&6; }
12268 { echo "$as_me:$LINENO: result: no" >&5
12269 echo "${ECHO_T}no" >&6; }
12273 if test "$ft_devel" = "no"
12275 # Extract the first word of "freetype2-config", so it can be a program name with args.
12276 set dummy freetype2-config; ac_word=$2
12277 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12279 if test "${ac_cv_prog_ft_devel2+set}" = set; then
12280 echo $ECHO_N "(cached) $ECHO_C" >&6
12282 if test -n "$ft_devel2"; then
12283 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
12285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12286 for as_dir in $PATH
12289 test -z "$as_dir" && as_dir=.
12290 for ac_exec_ext in '' $ac_executable_extensions; do
12291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12292 ac_cv_prog_ft_devel2="freetype2-config"
12293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12300 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
12303 ft_devel2=$ac_cv_prog_ft_devel2
12304 if test -n "$ft_devel2"; then
12305 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
12306 echo "${ECHO_T}$ft_devel2" >&6; }
12308 { echo "$as_me:$LINENO: result: no" >&5
12309 echo "${ECHO_T}no" >&6; }
12313 if test "$ft_devel2" = "freetype2-config"
12315 ft_devel=$ft_devel2
12319 if test "$ft_devel" = "no"
12321 wine_cv_msg_freetype=yes
12323 FREETYPELIBS=`$ft_devel --libs`
12324 FREETYPEINCL=`$ft_devel --cflags`
12325 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
12326 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
12327 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
12328 echo $ECHO_N "(cached) $ECHO_C" >&6
12330 ac_check_lib_save_LIBS=$LIBS
12331 LIBS="-lfreetype $FREETYPELIBS $LIBS"
12332 cat >conftest.$ac_ext <<_ACEOF
12335 cat confdefs.h >>conftest.$ac_ext
12336 cat >>conftest.$ac_ext <<_ACEOF
12337 /* end confdefs.h. */
12339 /* Override any GCC internal prototype to avoid an error.
12340 Use char because int might match the return type of a GCC
12341 builtin and then its argument prototype would still apply. */
12345 char FT_Init_FreeType ();
12349 return FT_Init_FreeType ();
12354 rm -f conftest.$ac_objext conftest$ac_exeext
12355 if { (ac_try="$ac_link"
12356 case "(($ac_try" in
12357 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12358 *) ac_try_echo
=$ac_try;;
12360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12361 (eval "$ac_link") 2>conftest.er1
12363 grep -v '^ *+' conftest.er1
>conftest.err
12365 cat conftest.err
>&5
12366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12367 (exit $ac_status); } && {
12368 test -z "$ac_c_werror_flag" ||
12369 test ! -s conftest.err
12370 } && test -s conftest
$ac_exeext &&
12371 $as_test_x conftest
$ac_exeext; then
12372 ac_cv_lib_freetype_FT_Init_FreeType
=yes
12374 echo "$as_me: failed program was:" >&5
12375 sed 's/^/| /' conftest.
$ac_ext >&5
12377 ac_cv_lib_freetype_FT_Init_FreeType
=no
12380 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12381 conftest
$ac_exeext conftest.
$ac_ext
12382 LIBS
=$ac_check_lib_save_LIBS
12384 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
12385 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
12386 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
12392 if test "$ft_lib" = "no"
12394 wine_cv_msg_freetype
=yes
12398 ac_save_CPPFLAGS
="$CPPFLAGS"
12399 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
12411 for ac_header
in ft2build.h \
12412 freetype
/freetype.h \
12413 freetype
/ftglyph.h \
12414 freetype
/tttables.h \
12415 freetype
/ftnames.h \
12416 freetype
/ftsnames.h \
12417 freetype
/ttnameid.h \
12418 freetype
/ftoutln.h \
12419 freetype
/ftwinfnt.h \
12420 freetype
/ftmodapi.h \
12421 freetype
/internal
/sfnt.h
12423 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12424 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12426 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12427 echo $ECHO_N "(cached) $ECHO_C" >&6
12429 cat >conftest.
$ac_ext <<_ACEOF
12432 cat confdefs.h
>>conftest.
$ac_ext
12433 cat >>conftest.
$ac_ext <<_ACEOF
12434 /* end confdefs.h. */
12435 #if HAVE_FT2BUILD_H
12436 #include <ft2build.h>
12439 #include <$ac_header>
12441 rm -f conftest.
$ac_objext
12442 if { (ac_try
="$ac_compile"
12443 case "(($ac_try" in
12444 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12445 *) ac_try_echo=$ac_try;;
12447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12448 (eval "$ac_compile") 2>conftest.er1
12450 grep -v '^ *+' conftest.er1 >conftest.err
12452 cat conftest.err >&5
12453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12454 (exit $ac_status); } && {
12455 test -z "$ac_c_werror_flag" ||
12456 test ! -s conftest.err
12457 } && test -s conftest.$ac_objext; then
12458 eval "$as_ac_Header=yes"
12460 echo "$as_me: failed program was:" >&5
12461 sed 's/^/| /' conftest.$ac_ext >&5
12463 eval "$as_ac_Header=no"
12466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12468 ac_res=`eval echo '${'$as_ac_Header'}'`
12469 { echo "$as_me:$LINENO: result: $ac_res" >&5
12470 echo "${ECHO_T}$ac_res" >&6; }
12471 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12472 cat >>confdefs.h <<_ACEOF
12473 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12480 cat >conftest.$ac_ext <<_ACEOF
12483 cat confdefs.h >>conftest.$ac_ext
12484 cat >>conftest.$ac_ext <<_ACEOF
12485 /* end confdefs.h. */
12486 #include <ft2build.h>
12487 #include <freetype/fttrigon.h>
12489 if { (ac_try="$ac_cpp conftest.$ac_ext"
12490 case "(($ac_try" in
12491 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12492 *) ac_try_echo
=$ac_try;;
12494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12495 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12497 grep -v '^ *+' conftest.er1
>conftest.err
12499 cat conftest.err
>&5
12500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12501 (exit $ac_status); } >/dev
/null
&& {
12502 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12503 test ! -s conftest.err
12506 cat >>confdefs.h
<<\_ACEOF
12507 #define HAVE_FREETYPE_FTTRIGON_H 1
12510 wine_cv_fttrigon
=yes
12512 echo "$as_me: failed program was:" >&5
12513 sed 's/^/| /' conftest.
$ac_ext >&5
12515 wine_cv_fttrigon
=no
12518 rm -f conftest.err conftest.
$ac_ext
12519 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
12520 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
12521 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
12522 echo $ECHO_N "(cached) $ECHO_C" >&6
12524 cat >conftest.
$ac_ext <<_ACEOF
12527 cat confdefs.h
>>conftest.
$ac_ext
12528 cat >>conftest.
$ac_ext <<_ACEOF
12529 /* end confdefs.h. */
12530 #include <freetype/ftmodapi.h>
12532 typedef FT_TrueTypeEngineType ac__type_new_;
12536 if ((ac__type_new_ *) 0)
12538 if (sizeof (ac__type_new_))
12544 rm -f conftest.
$ac_objext
12545 if { (ac_try
="$ac_compile"
12546 case "(($ac_try" in
12547 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12548 *) ac_try_echo=$ac_try;;
12550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12551 (eval "$ac_compile") 2>conftest.er1
12553 grep -v '^ *+' conftest.er1 >conftest.err
12555 cat conftest.err >&5
12556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12557 (exit $ac_status); } && {
12558 test -z "$ac_c_werror_flag" ||
12559 test ! -s conftest.err
12560 } && test -s conftest.$ac_objext; then
12561 ac_cv_type_FT_TrueTypeEngineType=yes
12563 echo "$as_me: failed program was:" >&5
12564 sed 's/^/| /' conftest.$ac_ext >&5
12566 ac_cv_type_FT_TrueTypeEngineType=no
12569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12571 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
12572 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
12573 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
12575 cat >>confdefs.h <<_ACEOF
12576 #define HAVE_FT_TRUETYPEENGINETYPE 1
12582 ac_save_CFLAGS="$CFLAGS"
12583 CFLAGS="$CFLAGS $FREETYPELIBS"
12585 for ac_func in FT_Load_Sfnt_Table
12587 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12588 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12590 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12591 echo $ECHO_N "(cached) $ECHO_C" >&6
12593 cat >conftest.$ac_ext <<_ACEOF
12596 cat confdefs.h >>conftest.$ac_ext
12597 cat >>conftest.$ac_ext <<_ACEOF
12598 /* end confdefs.h. */
12599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12601 #define $ac_func innocuous_$ac_func
12603 /* System header to define __stub macros and hopefully few prototypes,
12604 which can conflict with char $ac_func (); below.
12605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12606 <limits.h> exists even on freestanding compilers. */
12609 # include <limits.h>
12611 # include <assert.h>
12616 /* Override any GCC internal prototype to avoid an error.
12617 Use char because int might match the return type of a GCC
12618 builtin and then its argument prototype would still apply. */
12623 /* The GNU C library defines this for functions which it implements
12624 to always fail with ENOSYS. Some functions are actually named
12625 something starting with __ and the normal name is an alias. */
12626 #if defined __stub_$ac_func || defined __stub___$ac_func
12633 return $ac_func ();
12638 rm -f conftest.$ac_objext conftest$ac_exeext
12639 if { (ac_try="$ac_link"
12640 case "(($ac_try" in
12641 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12642 *) ac_try_echo
=$ac_try;;
12644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12645 (eval "$ac_link") 2>conftest.er1
12647 grep -v '^ *+' conftest.er1
>conftest.err
12649 cat conftest.err
>&5
12650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12651 (exit $ac_status); } && {
12652 test -z "$ac_c_werror_flag" ||
12653 test ! -s conftest.err
12654 } && test -s conftest
$ac_exeext &&
12655 $as_test_x conftest
$ac_exeext; then
12656 eval "$as_ac_var=yes"
12658 echo "$as_me: failed program was:" >&5
12659 sed 's/^/| /' conftest.
$ac_ext >&5
12661 eval "$as_ac_var=no"
12664 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12665 conftest
$ac_exeext conftest.
$ac_ext
12667 ac_res
=`eval echo '${'$as_ac_var'}'`
12668 { echo "$as_me:$LINENO: result: $ac_res" >&5
12669 echo "${ECHO_T}$ac_res" >&6; }
12670 if test `eval echo '${'$as_ac_var'}'` = yes; then
12671 cat >>confdefs.h
<<_ACEOF
12672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12678 CFLAGS
="$ac_save_CFLAGS"
12679 CPPFLAGS
="$ac_save_CPPFLAGS"
12680 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
12683 cat >>confdefs.h
<<\_ACEOF
12684 #define HAVE_FREETYPE 1
12687 wine_cv_msg_freetype
=no
12691 wine_cv_msg_freetype
=yes
12696 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
12698 FONTSSUBDIRS
="fonts"
12702 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
12703 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
12704 if test "${ac_cv_c_ppdev+set}" = set; then
12705 echo $ECHO_N "(cached) $ECHO_C" >&6
12707 cat >conftest.
$ac_ext <<_ACEOF
12710 cat confdefs.h
>>conftest.
$ac_ext
12711 cat >>conftest.
$ac_ext <<_ACEOF
12712 /* end confdefs.h. */
12713 #include <linux/ppdev.h>
12717 ioctl (1,PPCLAIM,0)
12722 rm -f conftest.
$ac_objext
12723 if { (ac_try
="$ac_compile"
12724 case "(($ac_try" in
12725 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12726 *) ac_try_echo=$ac_try;;
12728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12729 (eval "$ac_compile") 2>conftest.er1
12731 grep -v '^ *+' conftest.er1 >conftest.err
12733 cat conftest.err >&5
12734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12735 (exit $ac_status); } && {
12736 test -z "$ac_c_werror_flag" ||
12737 test ! -s conftest.err
12738 } && test -s conftest.$ac_objext; then
12739 ac_cv_c_ppdev="yes"
12741 echo "$as_me: failed program was:" >&5
12742 sed 's/^/| /' conftest.$ac_ext >&5
12747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12749 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
12750 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
12751 if test "$ac_cv_c_ppdev" = "yes"
12754 cat >>confdefs.h <<\_ACEOF
12755 #define HAVE_PPDEV 1
12760 { echo "$as_me:$LINENO: checking for va_copy" >&5
12761 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
12762 if test "${ac_cv_c_va_copy+set}" = set; then
12763 echo $ECHO_N "(cached) $ECHO_C" >&6
12765 cat >conftest.$ac_ext <<_ACEOF
12768 cat confdefs.h >>conftest.$ac_ext
12769 cat >>conftest.$ac_ext <<_ACEOF
12770 /* end confdefs.h. */
12771 #include <stdarg.h>
12775 va_list ap1, ap2; va_copy(ap1,ap2);
12780 rm -f conftest.$ac_objext conftest$ac_exeext
12781 if { (ac_try="$ac_link"
12782 case "(($ac_try" in
12783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12784 *) ac_try_echo
=$ac_try;;
12786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12787 (eval "$ac_link") 2>conftest.er1
12789 grep -v '^ *+' conftest.er1
>conftest.err
12791 cat conftest.err
>&5
12792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12793 (exit $ac_status); } && {
12794 test -z "$ac_c_werror_flag" ||
12795 test ! -s conftest.err
12796 } && test -s conftest
$ac_exeext &&
12797 $as_test_x conftest
$ac_exeext; then
12798 ac_cv_c_va_copy
="yes"
12800 echo "$as_me: failed program was:" >&5
12801 sed 's/^/| /' conftest.
$ac_ext >&5
12803 ac_cv_c_va_copy
="no"
12806 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12807 conftest
$ac_exeext conftest.
$ac_ext
12810 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
12811 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
12812 if test "$ac_cv_c_va_copy" = "yes"
12815 cat >>confdefs.h
<<\_ACEOF
12816 #define HAVE_VA_COPY 1
12820 { echo "$as_me:$LINENO: checking for __va_copy" >&5
12821 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
12822 if test "${ac_cv_c___va_copy+set}" = set; then
12823 echo $ECHO_N "(cached) $ECHO_C" >&6
12825 cat >conftest.
$ac_ext <<_ACEOF
12828 cat confdefs.h
>>conftest.
$ac_ext
12829 cat >>conftest.
$ac_ext <<_ACEOF
12830 /* end confdefs.h. */
12831 #include <stdarg.h>
12835 va_list ap1, ap2; __va_copy(ap1,ap2);
12840 rm -f conftest.
$ac_objext conftest
$ac_exeext
12841 if { (ac_try
="$ac_link"
12842 case "(($ac_try" in
12843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12844 *) ac_try_echo=$ac_try;;
12846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12847 (eval "$ac_link") 2>conftest.er1
12849 grep -v '^ *+' conftest.er1 >conftest.err
12851 cat conftest.err >&5
12852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12853 (exit $ac_status); } && {
12854 test -z "$ac_c_werror_flag" ||
12855 test ! -s conftest.err
12856 } && test -s conftest$ac_exeext &&
12857 $as_test_x conftest$ac_exeext; then
12858 ac_cv_c___va_copy="yes"
12860 echo "$as_me: failed program was:" >&5
12861 sed 's/^/| /' conftest.$ac_ext >&5
12863 ac_cv_c___va_copy="no"
12866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12867 conftest$ac_exeext conftest.$ac_ext
12870 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
12871 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
12872 if test "$ac_cv_c___va_copy" = "yes"
12875 cat >>confdefs.h <<\_ACEOF
12876 #define HAVE___VA_COPY 1
12881 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
12882 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
12883 if test "${ac_cv_c_sigsetjmp+set}" = set; then
12884 echo $ECHO_N "(cached) $ECHO_C" >&6
12886 cat >conftest.$ac_ext <<_ACEOF
12889 cat confdefs.h >>conftest.$ac_ext
12890 cat >>conftest.$ac_ext <<_ACEOF
12891 /* end confdefs.h. */
12892 #include <setjmp.h>
12897 sigsetjmp( buf, 1 );
12898 siglongjmp( buf, 1 );
12903 rm -f conftest.$ac_objext conftest$ac_exeext
12904 if { (ac_try="$ac_link"
12905 case "(($ac_try" in
12906 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12907 *) ac_try_echo
=$ac_try;;
12909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12910 (eval "$ac_link") 2>conftest.er1
12912 grep -v '^ *+' conftest.er1
>conftest.err
12914 cat conftest.err
>&5
12915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12916 (exit $ac_status); } && {
12917 test -z "$ac_c_werror_flag" ||
12918 test ! -s conftest.err
12919 } && test -s conftest
$ac_exeext &&
12920 $as_test_x conftest
$ac_exeext; then
12921 ac_cv_c_sigsetjmp
="yes"
12923 echo "$as_me: failed program was:" >&5
12924 sed 's/^/| /' conftest.
$ac_ext >&5
12926 ac_cv_c_sigsetjmp
="no"
12929 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12930 conftest
$ac_exeext conftest.
$ac_ext
12933 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
12934 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
12935 if test "$ac_cv_c_sigsetjmp" = "yes"
12938 cat >>confdefs.h
<<\_ACEOF
12939 #define HAVE_SIGSETJMP 1
12944 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
12945 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
12946 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
12947 echo $ECHO_N "(cached) $ECHO_C" >&6
12949 cat >conftest.
$ac_ext <<_ACEOF
12952 cat confdefs.h
>>conftest.
$ac_ext
12953 cat >>conftest.
$ac_ext <<_ACEOF
12954 /* end confdefs.h. */
12955 #define _GNU_SOURCE
12956 #include <pthread.h>
12958 typedef pthread_rwlock_t ac__type_new_;
12962 if ((ac__type_new_ *) 0)
12964 if (sizeof (ac__type_new_))
12970 rm -f conftest.
$ac_objext
12971 if { (ac_try
="$ac_compile"
12972 case "(($ac_try" in
12973 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12974 *) ac_try_echo=$ac_try;;
12976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12977 (eval "$ac_compile") 2>conftest.er1
12979 grep -v '^ *+' conftest.er1 >conftest.err
12981 cat conftest.err >&5
12982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12983 (exit $ac_status); } && {
12984 test -z "$ac_c_werror_flag" ||
12985 test ! -s conftest.err
12986 } && test -s conftest.$ac_objext; then
12987 ac_cv_type_pthread_rwlock_t=yes
12989 echo "$as_me: failed program was:" >&5
12990 sed 's/^/| /' conftest.$ac_ext >&5
12992 ac_cv_type_pthread_rwlock_t=no
12995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12997 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
12998 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
12999 if test $ac_cv_type_pthread_rwlock_t = yes; then
13001 cat >>confdefs.h <<_ACEOF
13002 #define HAVE_PTHREAD_RWLOCK_T 1
13007 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13008 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13009 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13010 echo $ECHO_N "(cached) $ECHO_C" >&6
13012 cat >conftest.$ac_ext <<_ACEOF
13015 cat confdefs.h >>conftest.$ac_ext
13016 cat >>conftest.$ac_ext <<_ACEOF
13017 /* end confdefs.h. */
13018 #define _GNU_SOURCE
13019 #include <pthread.h>
13021 typedef pthread_rwlockattr_t ac__type_new_;
13025 if ((ac__type_new_ *) 0)
13027 if (sizeof (ac__type_new_))
13033 rm -f conftest.$ac_objext
13034 if { (ac_try="$ac_compile"
13035 case "(($ac_try" in
13036 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13037 *) ac_try_echo
=$ac_try;;
13039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13040 (eval "$ac_compile") 2>conftest.er1
13042 grep -v '^ *+' conftest.er1
>conftest.err
13044 cat conftest.err
>&5
13045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13046 (exit $ac_status); } && {
13047 test -z "$ac_c_werror_flag" ||
13048 test ! -s conftest.err
13049 } && test -s conftest.
$ac_objext; then
13050 ac_cv_type_pthread_rwlockattr_t
=yes
13052 echo "$as_me: failed program was:" >&5
13053 sed 's/^/| /' conftest.
$ac_ext >&5
13055 ac_cv_type_pthread_rwlockattr_t
=no
13058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13060 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13061 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13062 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13064 cat >>confdefs.h
<<_ACEOF
13065 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13072 ac_wine_check_funcs_save_LIBS
="$LIBS"
13073 LIBS
="$LIBS $LIBPTHREAD"
13079 pthread_attr_get_np \
13080 pthread_getattr_np \
13081 pthread_get_stackaddr_np \
13082 pthread_get_stacksize_np
13084 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13085 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13087 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13088 echo $ECHO_N "(cached) $ECHO_C" >&6
13090 cat >conftest.
$ac_ext <<_ACEOF
13093 cat confdefs.h
>>conftest.
$ac_ext
13094 cat >>conftest.
$ac_ext <<_ACEOF
13095 /* end confdefs.h. */
13096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13098 #define $ac_func innocuous_$ac_func
13100 /* System header to define __stub macros and hopefully few prototypes,
13101 which can conflict with char $ac_func (); below.
13102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13103 <limits.h> exists even on freestanding compilers. */
13106 # include <limits.h>
13108 # include <assert.h>
13113 /* Override any GCC internal prototype to avoid an error.
13114 Use char because int might match the return type of a GCC
13115 builtin and then its argument prototype would still apply. */
13120 /* The GNU C library defines this for functions which it implements
13121 to always fail with ENOSYS. Some functions are actually named
13122 something starting with __ and the normal name is an alias. */
13123 #if defined __stub_$ac_func || defined __stub___$ac_func
13130 return $ac_func ();
13135 rm -f conftest.
$ac_objext conftest
$ac_exeext
13136 if { (ac_try
="$ac_link"
13137 case "(($ac_try" in
13138 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13139 *) ac_try_echo=$ac_try;;
13141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13142 (eval "$ac_link") 2>conftest.er1
13144 grep -v '^ *+' conftest.er1 >conftest.err
13146 cat conftest.err >&5
13147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13148 (exit $ac_status); } && {
13149 test -z "$ac_c_werror_flag" ||
13150 test ! -s conftest.err
13151 } && test -s conftest$ac_exeext &&
13152 $as_test_x conftest$ac_exeext; then
13153 eval "$as_ac_var=yes"
13155 echo "$as_me: failed program was:" >&5
13156 sed 's/^/| /' conftest.$ac_ext >&5
13158 eval "$as_ac_var=no"
13161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13162 conftest$ac_exeext conftest.$ac_ext
13164 ac_res=`eval echo '${'$as_ac_var'}'`
13165 { echo "$as_me:$LINENO: result: $ac_res" >&5
13166 echo "${ECHO_T}$ac_res" >&6; }
13167 if test `eval echo '${'$as_ac_var'}'` = yes; then
13168 cat >>confdefs.h <<_ACEOF
13169 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13175 LIBS="$ac_wine_check_funcs_save_LIBS"
13177 # Extract the first word of "esd-config", so it can be a program name with args.
13178 set dummy esd-config; ac_word=$2
13179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13181 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13182 echo $ECHO_N "(cached) $ECHO_C" >&6
13186 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13190 for as_dir in $PATH
13193 test -z "$as_dir" && as_dir=.
13194 for ac_exec_ext in '' $ac_executable_extensions; do
13195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13196 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13207 ESDCONFIG=$ac_cv_path_ESDCONFIG
13208 if test -n "$ESDCONFIG"; then
13209 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13210 echo "${ECHO_T}$ESDCONFIG" >&6; }
13212 { echo "$as_me:$LINENO: result: no" >&5
13213 echo "${ECHO_T}no" >&6; }
13217 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13220 for i in `$ESDCONFIG --cflags`
13223 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13226 ESD_LIBS=`$ESDCONFIG --libs`
13227 save_CFLAGS="$CFLAGS"
13228 CFLAGS="$CFLAGS $ESD_CFLAGS"
13229 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13230 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13231 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13232 echo $ECHO_N "(cached) $ECHO_C" >&6
13234 ac_check_lib_save_LIBS=$LIBS
13236 cat >conftest.$ac_ext <<_ACEOF
13239 cat confdefs.h >>conftest.$ac_ext
13240 cat >>conftest.$ac_ext <<_ACEOF
13241 /* end confdefs.h. */
13243 /* Override any GCC internal prototype to avoid an error.
13244 Use char because int might match the return type of a GCC
13245 builtin and then its argument prototype would still apply. */
13249 char esd_open_sound ();
13253 return esd_open_sound ();
13258 rm -f conftest.$ac_objext conftest$ac_exeext
13259 if { (ac_try="$ac_link"
13260 case "(($ac_try" in
13261 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13262 *) ac_try_echo
=$ac_try;;
13264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13265 (eval "$ac_link") 2>conftest.er1
13267 grep -v '^ *+' conftest.er1
>conftest.err
13269 cat conftest.err
>&5
13270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13271 (exit $ac_status); } && {
13272 test -z "$ac_c_werror_flag" ||
13273 test ! -s conftest.err
13274 } && test -s conftest
$ac_exeext &&
13275 $as_test_x conftest
$ac_exeext; then
13276 ac_cv_lib_esd_esd_open_sound
=yes
13278 echo "$as_me: failed program was:" >&5
13279 sed 's/^/| /' conftest.
$ac_ext >&5
13281 ac_cv_lib_esd_esd_open_sound
=no
13284 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13285 conftest
$ac_exeext conftest.
$ac_ext
13286 LIBS
=$ac_check_lib_save_LIBS
13288 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13289 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13290 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13293 ESDINCL
=$ESD_CFLAGS
13296 cat >>confdefs.h
<<\_ACEOF
13302 CFLAGS
="$save_CFLAGS"
13307 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13309 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13310 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13311 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13312 echo $ECHO_N "(cached) $ECHO_C" >&6
13314 ac_check_lib_save_LIBS
=$LIBS
13315 LIBS
="-lasound $LIBS"
13316 cat >conftest.
$ac_ext <<_ACEOF
13319 cat confdefs.h
>>conftest.
$ac_ext
13320 cat >>conftest.
$ac_ext <<_ACEOF
13321 /* end confdefs.h. */
13323 /* Override any GCC internal prototype to avoid an error.
13324 Use char because int might match the return type of a GCC
13325 builtin and then its argument prototype would still apply. */
13329 char snd_pcm_hw_params_get_access ();
13333 return snd_pcm_hw_params_get_access ();
13338 rm -f conftest.
$ac_objext conftest
$ac_exeext
13339 if { (ac_try
="$ac_link"
13340 case "(($ac_try" in
13341 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13342 *) ac_try_echo=$ac_try;;
13344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13345 (eval "$ac_link") 2>conftest.er1
13347 grep -v '^ *+' conftest.er1 >conftest.err
13349 cat conftest.err >&5
13350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13351 (exit $ac_status); } && {
13352 test -z "$ac_c_werror_flag" ||
13353 test ! -s conftest.err
13354 } && test -s conftest$ac_exeext &&
13355 $as_test_x conftest$ac_exeext; then
13356 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
13358 echo "$as_me: failed program was:" >&5
13359 sed 's/^/| /' conftest.$ac_ext >&5
13361 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
13364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13365 conftest$ac_exeext conftest.$ac_ext
13366 LIBS=$ac_check_lib_save_LIBS
13368 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
13369 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
13370 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
13371 cat >conftest.$ac_ext <<_ACEOF
13374 cat confdefs.h >>conftest.$ac_ext
13375 cat >>conftest.$ac_ext <<_ACEOF
13376 /* end confdefs.h. */
13377 #ifdef HAVE_ALSA_ASOUNDLIB_H
13378 #include <alsa/asoundlib.h>
13379 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13380 #include <sys/asoundlib.h>
13385 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
13390 rm -f conftest.$ac_objext
13391 if { (ac_try="$ac_compile"
13392 case "(($ac_try" in
13393 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13394 *) ac_try_echo
=$ac_try;;
13396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13397 (eval "$ac_compile") 2>conftest.er1
13399 grep -v '^ *+' conftest.er1
>conftest.err
13401 cat conftest.err
>&5
13402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13403 (exit $ac_status); } && {
13404 test -z "$ac_c_werror_flag" ||
13405 test ! -s conftest.err
13406 } && test -s conftest.
$ac_objext; then
13408 cat >>confdefs.h
<<\_ACEOF
13409 #define HAVE_ALSA 1
13412 ALSALIBS
="-lasound"
13414 echo "$as_me: failed program was:" >&5
13415 sed 's/^/| /' conftest.
$ac_ext >&5
13420 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13428 if test "$ac_cv_header_libaudioio_h" = "yes"
13430 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
13431 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
13432 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
13433 echo $ECHO_N "(cached) $ECHO_C" >&6
13435 ac_check_lib_save_LIBS
=$LIBS
13436 LIBS
="-laudioio $LIBS"
13437 cat >conftest.
$ac_ext <<_ACEOF
13440 cat confdefs.h
>>conftest.
$ac_ext
13441 cat >>conftest.
$ac_ext <<_ACEOF
13442 /* end confdefs.h. */
13444 /* Override any GCC internal prototype to avoid an error.
13445 Use char because int might match the return type of a GCC
13446 builtin and then its argument prototype would still apply. */
13450 char AudioIOGetVersion ();
13454 return AudioIOGetVersion ();
13459 rm -f conftest.
$ac_objext conftest
$ac_exeext
13460 if { (ac_try
="$ac_link"
13461 case "(($ac_try" in
13462 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13463 *) ac_try_echo=$ac_try;;
13465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13466 (eval "$ac_link") 2>conftest.er1
13468 grep -v '^ *+' conftest.er1 >conftest.err
13470 cat conftest.err >&5
13471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13472 (exit $ac_status); } && {
13473 test -z "$ac_c_werror_flag" ||
13474 test ! -s conftest.err
13475 } && test -s conftest$ac_exeext &&
13476 $as_test_x conftest$ac_exeext; then
13477 ac_cv_lib_audioio_AudioIOGetVersion=yes
13479 echo "$as_me: failed program was:" >&5
13480 sed 's/^/| /' conftest.$ac_ext >&5
13482 ac_cv_lib_audioio_AudioIOGetVersion=no
13485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13486 conftest$ac_exeext conftest.$ac_ext
13487 LIBS=$ac_check_lib_save_LIBS
13489 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
13490 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
13491 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
13492 AUDIOIOLIBS="-laudioio"
13494 cat >>confdefs.h <<\_ACEOF
13495 #define HAVE_LIBAUDIOIO 1
13503 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13505 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
13506 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
13507 if test "${ac_cv_lib_soname_capi20+set}" = set; then
13508 echo $ECHO_N "(cached) $ECHO_C" >&6
13510 ac_check_soname_save_LIBS=$LIBS
13511 LIBS="-lcapi20 $LIBS"
13512 cat >conftest.$ac_ext <<_ACEOF
13515 cat confdefs.h >>conftest.$ac_ext
13516 cat >>conftest.$ac_ext <<_ACEOF
13517 /* end confdefs.h. */
13519 /* Override any GCC internal prototype to avoid an error.
13520 Use char because int might match the return type of a GCC
13521 builtin and then its argument prototype would still apply. */
13525 char capi20_register ();
13529 return capi20_register ();
13534 rm -f conftest.$ac_objext conftest$ac_exeext
13535 if { (ac_try="$ac_link"
13536 case "(($ac_try" in
13537 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13538 *) ac_try_echo
=$ac_try;;
13540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13541 (eval "$ac_link") 2>conftest.er1
13543 grep -v '^ *+' conftest.er1
>conftest.err
13545 cat conftest.err
>&5
13546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547 (exit $ac_status); } && {
13548 test -z "$ac_c_werror_flag" ||
13549 test ! -s conftest.err
13550 } && test -s conftest
$ac_exeext &&
13551 $as_test_x conftest
$ac_exeext; then
13554 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'` ;;
13555 *) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13558 echo "$as_me: failed program was:" >&5
13559 sed 's/^/| /' conftest.
$ac_ext >&5
13564 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13565 conftest
$ac_exeext conftest.
$ac_ext
13566 LIBS
=$ac_check_soname_save_LIBS
13568 if test "x$ac_cv_lib_soname_capi20" = "x"; then
13569 { echo "$as_me:$LINENO: result: not found" >&5
13570 echo "${ECHO_T}not found" >&6; }
13573 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
13574 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
13576 cat >>confdefs.h
<<_ACEOF
13577 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13585 if test "$ac_cv_header_cups_cups_h" = "yes"
13587 { echo "$as_me:$LINENO: checking for -lcups" >&5
13588 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
13589 if test "${ac_cv_lib_soname_cups+set}" = set; then
13590 echo $ECHO_N "(cached) $ECHO_C" >&6
13592 ac_check_soname_save_LIBS
=$LIBS
13593 LIBS
="-lcups $LIBS"
13594 cat >conftest.
$ac_ext <<_ACEOF
13597 cat confdefs.h
>>conftest.
$ac_ext
13598 cat >>conftest.
$ac_ext <<_ACEOF
13599 /* end confdefs.h. */
13601 /* Override any GCC internal prototype to avoid an error.
13602 Use char because int might match the return type of a GCC
13603 builtin and then its argument prototype would still apply. */
13607 char cupsGetDefault ();
13611 return cupsGetDefault ();
13616 rm -f conftest.
$ac_objext conftest
$ac_exeext
13617 if { (ac_try
="$ac_link"
13618 case "(($ac_try" in
13619 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13620 *) ac_try_echo=$ac_try;;
13622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13623 (eval "$ac_link") 2>conftest.er1
13625 grep -v '^ *+' conftest.er1 >conftest.err
13627 cat conftest.err >&5
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); } && {
13630 test -z "$ac_c_werror_flag" ||
13631 test ! -s conftest.err
13632 } && test -s conftest$ac_exeext &&
13633 $as_test_x conftest$ac_exeext; then
13636 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'` ;;
13637 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcups\\.$LIBEXT" |
sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13640 echo "$as_me: failed program was:" >&5
13641 sed 's/^/| /' conftest.$ac_ext >&5
13646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13647 conftest$ac_exeext conftest.$ac_ext
13648 LIBS=$ac_check_soname_save_LIBS
13650 if test "x$ac_cv_lib_soname_cups" = "x"; then
13651 { echo "$as_me:$LINENO: result: not found" >&5
13652 echo "${ECHO_T}not found" >&6; }
13655 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
13656 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
13658 cat >>confdefs.h <<_ACEOF
13659 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13667 if test "$ac_cv_header_jack_jack_h" = "yes"
13669 { echo "$as_me:$LINENO: checking for -ljack" >&5
13670 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
13671 if test "${ac_cv_lib_soname_jack+set}" = set; then
13672 echo $ECHO_N "(cached) $ECHO_C" >&6
13674 ac_check_soname_save_LIBS=$LIBS
13675 LIBS="-ljack $LIBS"
13676 cat >conftest.$ac_ext <<_ACEOF
13679 cat confdefs.h >>conftest.$ac_ext
13680 cat >>conftest.$ac_ext <<_ACEOF
13681 /* end confdefs.h. */
13683 /* Override any GCC internal prototype to avoid an error.
13684 Use char because int might match the return type of a GCC
13685 builtin and then its argument prototype would still apply. */
13689 char jack_client_new ();
13693 return jack_client_new ();
13698 rm -f conftest.$ac_objext conftest$ac_exeext
13699 if { (ac_try="$ac_link"
13700 case "(($ac_try" in
13701 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13702 *) ac_try_echo
=$ac_try;;
13704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13705 (eval "$ac_link") 2>conftest.er1
13707 grep -v '^ *+' conftest.er1
>conftest.err
13709 cat conftest.err
>&5
13710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13711 (exit $ac_status); } && {
13712 test -z "$ac_c_werror_flag" ||
13713 test ! -s conftest.err
13714 } && test -s conftest
$ac_exeext &&
13715 $as_test_x conftest
$ac_exeext; then
13718 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'` ;;
13719 *) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13722 echo "$as_me: failed program was:" >&5
13723 sed 's/^/| /' conftest.
$ac_ext >&5
13728 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13729 conftest
$ac_exeext conftest.
$ac_ext
13730 LIBS
=$ac_check_soname_save_LIBS
13732 if test "x$ac_cv_lib_soname_jack" = "x"; then
13733 { echo "$as_me:$LINENO: result: not found" >&5
13734 echo "${ECHO_T}not found" >&6; }
13737 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
13738 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
13740 cat >>confdefs.h
<<_ACEOF
13741 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
13749 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13751 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
13752 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
13753 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
13754 echo $ECHO_N "(cached) $ECHO_C" >&6
13756 ac_check_soname_save_LIBS
=$LIBS
13757 LIBS
="-lfontconfig $LIBS"
13758 cat >conftest.
$ac_ext <<_ACEOF
13761 cat confdefs.h
>>conftest.
$ac_ext
13762 cat >>conftest.
$ac_ext <<_ACEOF
13763 /* end confdefs.h. */
13765 /* Override any GCC internal prototype to avoid an error.
13766 Use char because int might match the return type of a GCC
13767 builtin and then its argument prototype would still apply. */
13780 rm -f conftest.
$ac_objext conftest
$ac_exeext
13781 if { (ac_try
="$ac_link"
13782 case "(($ac_try" in
13783 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13784 *) ac_try_echo=$ac_try;;
13786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13787 (eval "$ac_link") 2>conftest.er1
13789 grep -v '^ *+' conftest.er1 >conftest.err
13791 cat conftest.err >&5
13792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13793 (exit $ac_status); } && {
13794 test -z "$ac_c_werror_flag" ||
13795 test ! -s conftest.err
13796 } && test -s conftest$ac_exeext &&
13797 $as_test_x conftest$ac_exeext; then
13800 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'` ;;
13801 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfontconfig\\.$LIBEXT" |
sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13804 echo "$as_me: failed program was:" >&5
13805 sed 's/^/| /' conftest.$ac_ext >&5
13810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13811 conftest$ac_exeext conftest.$ac_ext
13812 LIBS=$ac_check_soname_save_LIBS
13814 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
13815 { echo "$as_me:$LINENO: result: not found" >&5
13816 echo "${ECHO_T}not found" >&6; }
13819 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
13820 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
13822 cat >>confdefs.h <<_ACEOF
13823 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13834 if test "x${GCC}" = "xyes"
13836 EXTRACFLAGS="-Wall -pipe"
13838 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
13839 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
13840 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
13841 echo $ECHO_N "(cached) $ECHO_C" >&6
13843 if test "$cross_compiling" = yes; then
13844 ac_cv_c_gcc_strength_bug="yes"
13846 cat >conftest.$ac_ext <<_ACEOF
13849 cat confdefs.h >>conftest.$ac_ext
13850 cat >>conftest.$ac_ext <<_ACEOF
13851 /* end confdefs.h. */
13852 int L[4] = {0,1,2,3};
13856 static int Array[3];
13857 unsigned int B = 3;
13859 for(i=0; i<B; i++) Array[i] = i - 3;
13860 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13862 exit( Array[1] != -2 || L[2] != 3)
13867 rm -f conftest$ac_exeext
13868 if { (ac_try="$ac_link"
13869 case "(($ac_try" in
13870 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13871 *) ac_try_echo
=$ac_try;;
13873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13874 (eval "$ac_link") 2>&5
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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_try") 2>&5
13885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13886 (exit $ac_status); }; }; then
13887 ac_cv_c_gcc_strength_bug="no"
13889 echo "$as_me: program exited with status $ac_status" >&5
13890 echo "$as_me: failed program was:" >&5
13891 sed 's/^/| /' conftest.$ac_ext >&5
13893 ( exit $ac_status )
13894 ac_cv_c_gcc_strength_bug="yes"
13896 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13901 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
13902 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
13903 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13905 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13909 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
13910 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
13911 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
13912 echo $ECHO_N "(cached) $ECHO_C" >&6
13914 ac_wine_try_cflags_saved=$CFLAGS
13915 CFLAGS="$CFLAGS -fshort-wchar"
13916 cat >conftest.$ac_ext <<_ACEOF
13919 cat confdefs.h >>conftest.$ac_ext
13920 cat >>conftest.$ac_ext <<_ACEOF
13921 /* end confdefs.h. */
13931 rm -f conftest.$ac_objext conftest$ac_exeext
13932 if { (ac_try="$ac_link"
13933 case "(($ac_try" in
13934 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13935 *) ac_try_echo
=$ac_try;;
13937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13938 (eval "$ac_link") 2>conftest.er1
13940 grep -v '^ *+' conftest.er1
>conftest.err
13942 cat conftest.err
>&5
13943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13944 (exit $ac_status); } && {
13945 test -z "$ac_c_werror_flag" ||
13946 test ! -s conftest.err
13947 } && test -s conftest
$ac_exeext &&
13948 $as_test_x conftest
$ac_exeext; then
13949 ac_cv_cflags__fshort_wchar
=yes
13951 echo "$as_me: failed program was:" >&5
13952 sed 's/^/| /' conftest.
$ac_ext >&5
13954 ac_cv_cflags__fshort_wchar
=no
13957 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13958 conftest
$ac_exeext conftest.
$ac_ext
13959 CFLAGS
=$ac_wine_try_cflags_saved
13961 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
13962 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
13963 if test $ac_cv_cflags__fshort_wchar = yes; then
13965 cat >>confdefs.h
<<\_ACEOF
13966 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
13971 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
13972 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
13973 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
13974 echo $ECHO_N "(cached) $ECHO_C" >&6
13976 ac_wine_try_cflags_saved
=$CFLAGS
13977 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13978 cat >conftest.
$ac_ext <<_ACEOF
13981 cat confdefs.h
>>conftest.
$ac_ext
13982 cat >>conftest.
$ac_ext <<_ACEOF
13983 /* end confdefs.h. */
13993 rm -f conftest.
$ac_objext conftest
$ac_exeext
13994 if { (ac_try
="$ac_link"
13995 case "(($ac_try" in
13996 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13997 *) ac_try_echo=$ac_try;;
13999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14000 (eval "$ac_link") 2>conftest.er1
14002 grep -v '^ *+' conftest.er1 >conftest.err
14004 cat conftest.err >&5
14005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14006 (exit $ac_status); } && {
14007 test -z "$ac_c_werror_flag" ||
14008 test ! -s conftest.err
14009 } && test -s conftest$ac_exeext &&
14010 $as_test_x conftest$ac_exeext; then
14011 ac_cv_cflags__fno_strict_aliasing=yes
14013 echo "$as_me: failed program was:" >&5
14014 sed 's/^/| /' conftest.$ac_ext >&5
14016 ac_cv_cflags__fno_strict_aliasing=no
14019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14020 conftest$ac_exeext conftest.$ac_ext
14021 CFLAGS=$ac_wine_try_cflags_saved
14023 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14024 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
14025 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
14026 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14029 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14030 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
14031 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
14032 echo $ECHO_N "(cached) $ECHO_C" >&6
14034 ac_wine_try_cflags_saved=$CFLAGS
14035 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14036 cat >conftest.$ac_ext <<_ACEOF
14039 cat confdefs.h >>conftest.$ac_ext
14040 cat >>conftest.$ac_ext <<_ACEOF
14041 /* end confdefs.h. */
14051 rm -f conftest.$ac_objext conftest$ac_exeext
14052 if { (ac_try="$ac_link"
14053 case "(($ac_try" in
14054 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14055 *) ac_try_echo
=$ac_try;;
14057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14058 (eval "$ac_link") 2>conftest.er1
14060 grep -v '^ *+' conftest.er1
>conftest.err
14062 cat conftest.err
>&5
14063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14064 (exit $ac_status); } && {
14065 test -z "$ac_c_werror_flag" ||
14066 test ! -s conftest.err
14067 } && test -s conftest
$ac_exeext &&
14068 $as_test_x conftest
$ac_exeext; then
14069 ac_cv_cflags__Wdeclaration_after_statement
=yes
14071 echo "$as_me: failed program was:" >&5
14072 sed 's/^/| /' conftest.
$ac_ext >&5
14074 ac_cv_cflags__Wdeclaration_after_statement
=no
14077 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14078 conftest
$ac_exeext conftest.
$ac_ext
14079 CFLAGS
=$ac_wine_try_cflags_saved
14081 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14082 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14083 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
14084 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14087 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
14088 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
14089 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
14090 echo $ECHO_N "(cached) $ECHO_C" >&6
14092 ac_wine_try_cflags_saved
=$CFLAGS
14093 CFLAGS
="$CFLAGS -Wwrite-strings"
14094 cat >conftest.
$ac_ext <<_ACEOF
14097 cat confdefs.h
>>conftest.
$ac_ext
14098 cat >>conftest.
$ac_ext <<_ACEOF
14099 /* end confdefs.h. */
14109 rm -f conftest.
$ac_objext conftest
$ac_exeext
14110 if { (ac_try
="$ac_link"
14111 case "(($ac_try" in
14112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14113 *) ac_try_echo=$ac_try;;
14115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14116 (eval "$ac_link") 2>conftest.er1
14118 grep -v '^ *+' conftest.er1 >conftest.err
14120 cat conftest.err >&5
14121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14122 (exit $ac_status); } && {
14123 test -z "$ac_c_werror_flag" ||
14124 test ! -s conftest.err
14125 } && test -s conftest$ac_exeext &&
14126 $as_test_x conftest$ac_exeext; then
14127 ac_cv_cflags__Wwrite_strings=yes
14129 echo "$as_me: failed program was:" >&5
14130 sed 's/^/| /' conftest.$ac_ext >&5
14132 ac_cv_cflags__Wwrite_strings=no
14135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14136 conftest$ac_exeext conftest.$ac_ext
14137 CFLAGS=$ac_wine_try_cflags_saved
14139 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
14140 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
14141 if test $ac_cv_cflags__Wwrite_strings = yes; then
14142 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14146 saved_CFLAGS="$CFLAGS"
14147 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14148 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
14149 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
14150 if test "${ac_cv_c_string_h_warnings+set}" = set; then
14151 echo $ECHO_N "(cached) $ECHO_C" >&6
14153 cat >conftest.$ac_ext <<_ACEOF
14156 cat confdefs.h >>conftest.$ac_ext
14157 cat >>conftest.$ac_ext <<_ACEOF
14158 /* end confdefs.h. */
14159 #include <string.h>
14168 rm -f conftest.$ac_objext
14169 if { (ac_try="$ac_compile"
14170 case "(($ac_try" in
14171 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14172 *) ac_try_echo
=$ac_try;;
14174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14175 (eval "$ac_compile") 2>conftest.er1
14177 grep -v '^ *+' conftest.er1
>conftest.err
14179 cat conftest.err
>&5
14180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14181 (exit $ac_status); } && {
14182 test -z "$ac_c_werror_flag" ||
14183 test ! -s conftest.err
14184 } && test -s conftest.
$ac_objext; then
14185 ac_cv_c_string_h_warnings
=no
14187 echo "$as_me: failed program was:" >&5
14188 sed 's/^/| /' conftest.
$ac_ext >&5
14190 ac_cv_c_string_h_warnings
=yes
14193 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14195 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
14196 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
14197 CFLAGS
="$saved_CFLAGS"
14198 if test "$ac_cv_c_string_h_warnings" = "no"
14200 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14205 saved_CFLAGS
="$CFLAGS"
14206 CFLAGS
="$CFLAGS -Werror"
14207 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
14208 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
14209 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
14210 echo $ECHO_N "(cached) $ECHO_C" >&6
14212 cat >conftest.
$ac_ext <<_ACEOF
14215 cat confdefs.h
>>conftest.
$ac_ext
14216 cat >>conftest.
$ac_ext <<_ACEOF
14217 /* end confdefs.h. */
14222 int iswlower(unsigned short);
14227 rm -f conftest.
$ac_objext
14228 if { (ac_try
="$ac_compile"
14229 case "(($ac_try" in
14230 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14231 *) ac_try_echo=$ac_try;;
14233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14234 (eval "$ac_compile") 2>conftest.er1
14236 grep -v '^ *+' conftest.er1 >conftest.err
14238 cat conftest.err >&5
14239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14240 (exit $ac_status); } && {
14241 test -z "$ac_c_werror_flag" ||
14242 test ! -s conftest.err
14243 } && test -s conftest.$ac_objext; then
14244 ac_cv_c_builtin_wchar_ctype=no
14246 echo "$as_me: failed program was:" >&5
14247 sed 's/^/| /' conftest.$ac_ext >&5
14249 ac_cv_c_builtin_wchar_ctype=yes
14252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14254 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
14255 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
14256 CFLAGS="$saved_CFLAGS"
14257 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
14259 BUILTINFLAG="-fno-builtin"
14264 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
14265 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
14266 if test "${ac_cv_asm_func_def+set}" = set; then
14267 echo $ECHO_N "(cached) $ECHO_C" >&6
14269 cat >conftest.$ac_ext <<_ACEOF
14272 cat confdefs.h >>conftest.$ac_ext
14273 cat >>conftest.$ac_ext <<_ACEOF
14274 /* end confdefs.h. */
14279 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14284 rm -f conftest.$ac_objext conftest$ac_exeext
14285 if { (ac_try="$ac_link"
14286 case "(($ac_try" in
14287 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14288 *) ac_try_echo
=$ac_try;;
14290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14291 (eval "$ac_link") 2>conftest.er1
14293 grep -v '^ *+' conftest.er1
>conftest.err
14295 cat conftest.err
>&5
14296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297 (exit $ac_status); } && {
14298 test -z "$ac_c_werror_flag" ||
14299 test ! -s conftest.err
14300 } && test -s conftest
$ac_exeext &&
14301 $as_test_x conftest
$ac_exeext; then
14302 ac_cv_asm_func_def
=".def"
14304 echo "$as_me: failed program was:" >&5
14305 sed 's/^/| /' conftest.
$ac_ext >&5
14307 cat >conftest.
$ac_ext <<_ACEOF
14310 cat confdefs.h
>>conftest.
$ac_ext
14311 cat >>conftest.
$ac_ext <<_ACEOF
14312 /* end confdefs.h. */
14317 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14322 rm -f conftest.
$ac_objext conftest
$ac_exeext
14323 if { (ac_try
="$ac_link"
14324 case "(($ac_try" in
14325 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14326 *) ac_try_echo=$ac_try;;
14328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14329 (eval "$ac_link") 2>conftest.er1
14331 grep -v '^ *+' conftest.er1 >conftest.err
14333 cat conftest.err >&5
14334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14335 (exit $ac_status); } && {
14336 test -z "$ac_c_werror_flag" ||
14337 test ! -s conftest.err
14338 } && test -s conftest$ac_exeext &&
14339 $as_test_x conftest$ac_exeext; then
14340 ac_cv_asm_func_def=".type @function"
14342 echo "$as_me: failed program was:" >&5
14343 sed 's/^/| /' conftest.$ac_ext >&5
14345 cat >conftest.$ac_ext <<_ACEOF
14348 cat confdefs.h >>conftest.$ac_ext
14349 cat >>conftest.$ac_ext <<_ACEOF
14350 /* end confdefs.h. */
14355 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14360 rm -f conftest.$ac_objext conftest$ac_exeext
14361 if { (ac_try="$ac_link"
14362 case "(($ac_try" in
14363 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14364 *) ac_try_echo
=$ac_try;;
14366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14367 (eval "$ac_link") 2>conftest.er1
14369 grep -v '^ *+' conftest.er1
>conftest.err
14371 cat conftest.err
>&5
14372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373 (exit $ac_status); } && {
14374 test -z "$ac_c_werror_flag" ||
14375 test ! -s conftest.err
14376 } && test -s conftest
$ac_exeext &&
14377 $as_test_x conftest
$ac_exeext; then
14378 ac_cv_asm_func_def
=".type 2"
14380 echo "$as_me: failed program was:" >&5
14381 sed 's/^/| /' conftest.
$ac_ext >&5
14383 ac_cv_asm_func_def
="unknown"
14386 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14387 conftest
$ac_exeext conftest.
$ac_ext
14390 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14391 conftest
$ac_exeext conftest.
$ac_ext
14394 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14395 conftest
$ac_exeext conftest.
$ac_ext
14397 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
14398 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
14402 case "$ac_cv_asm_func_def" in
14404 cat >>confdefs.h
<<\_ACEOF
14405 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
14409 cat >>confdefs.h
<<\_ACEOF
14410 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
14414 cat >>confdefs.h
<<\_ACEOF
14415 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
14419 cat >>confdefs.h
<<\_ACEOF
14420 #define __ASM_FUNC(name) ""
14426 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
14427 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
14428 if test "${ac_cv_c_extern_prefix+set}" = set; then
14429 echo $ECHO_N "(cached) $ECHO_C" >&6
14431 cat >conftest.
$ac_ext <<_ACEOF
14434 cat confdefs.h
>>conftest.
$ac_ext
14435 cat >>conftest.
$ac_ext <<_ACEOF
14436 /* end confdefs.h. */
14437 extern int ac_test;
14441 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14446 rm -f conftest.
$ac_objext conftest
$ac_exeext
14447 if { (ac_try
="$ac_link"
14448 case "(($ac_try" in
14449 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14450 *) ac_try_echo=$ac_try;;
14452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14453 (eval "$ac_link") 2>conftest.er1
14455 grep -v '^ *+' conftest.er1 >conftest.err
14457 cat conftest.err >&5
14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14459 (exit $ac_status); } && {
14460 test -z "$ac_c_werror_flag" ||
14461 test ! -s conftest.err
14462 } && test -s conftest$ac_exeext &&
14463 $as_test_x conftest$ac_exeext; then
14464 ac_cv_c_extern_prefix="yes"
14466 echo "$as_me: failed program was:" >&5
14467 sed 's/^/| /' conftest.$ac_ext >&5
14469 ac_cv_c_extern_prefix="no"
14472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14473 conftest$ac_exeext conftest.$ac_ext
14475 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
14476 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
14480 if test "$ac_cv_c_extern_prefix" = "yes"
14482 cat >>confdefs.h <<\_ACEOF
14483 #define __ASM_NAME(name) "_" name
14487 cat >>confdefs.h <<\_ACEOF
14488 #define __ASM_NAME(name) name
14498 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14502 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
14504 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14508 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14516 SOCKETLIBS="-lws2_32"
14521 MAIN_BINARY="wine-pthread"
14525 linux* | k*bsd*-gnu)
14526 MAIN_BINARY="wine-glibc"
14528 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
14536 cat >>confdefs.h <<_ACEOF
14537 #define SONAME_EXT ".$LIBEXT"
14541 { echo "$as_me:$LINENO: checking for -lX11" >&5
14542 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
14543 if test "${ac_cv_lib_soname_X11+set}" = set; then
14544 echo $ECHO_N "(cached) $ECHO_C" >&6
14546 ac_check_soname_save_LIBS=$LIBS
14547 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14548 cat >conftest.$ac_ext <<_ACEOF
14551 cat confdefs.h >>conftest.$ac_ext
14552 cat >>conftest.$ac_ext <<_ACEOF
14553 /* end confdefs.h. */
14555 /* Override any GCC internal prototype to avoid an error.
14556 Use char because int might match the return type of a GCC
14557 builtin and then its argument prototype would still apply. */
14561 char XCreateWindow ();
14565 return XCreateWindow ();
14570 rm -f conftest.$ac_objext conftest$ac_exeext
14571 if { (ac_try="$ac_link"
14572 case "(($ac_try" in
14573 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14574 *) ac_try_echo
=$ac_try;;
14576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14577 (eval "$ac_link") 2>conftest.er1
14579 grep -v '^ *+' conftest.er1
>conftest.err
14581 cat conftest.err
>&5
14582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14583 (exit $ac_status); } && {
14584 test -z "$ac_c_werror_flag" ||
14585 test ! -s conftest.err
14586 } && test -s conftest
$ac_exeext &&
14587 $as_test_x conftest
$ac_exeext; then
14590 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'` ;;
14591 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14594 echo "$as_me: failed program was:" >&5
14595 sed 's/^/| /' conftest.
$ac_ext >&5
14600 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14601 conftest
$ac_exeext conftest.
$ac_ext
14602 LIBS
=$ac_check_soname_save_LIBS
14604 if test "x$ac_cv_lib_soname_X11" = "x"; then
14605 { echo "$as_me:$LINENO: result: not found" >&5
14606 echo "${ECHO_T}not found" >&6; }
14609 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14610 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
14612 cat >>confdefs.h
<<_ACEOF
14613 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14619 { echo "$as_me:$LINENO: checking for -lXext" >&5
14620 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
14621 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14622 echo $ECHO_N "(cached) $ECHO_C" >&6
14624 ac_check_soname_save_LIBS
=$LIBS
14625 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14626 cat >conftest.
$ac_ext <<_ACEOF
14629 cat confdefs.h
>>conftest.
$ac_ext
14630 cat >>conftest.
$ac_ext <<_ACEOF
14631 /* end confdefs.h. */
14633 /* Override any GCC internal prototype to avoid an error.
14634 Use char because int might match the return type of a GCC
14635 builtin and then its argument prototype would still apply. */
14639 char XextCreateExtension ();
14643 return XextCreateExtension ();
14648 rm -f conftest.
$ac_objext conftest
$ac_exeext
14649 if { (ac_try
="$ac_link"
14650 case "(($ac_try" in
14651 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14652 *) ac_try_echo=$ac_try;;
14654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14655 (eval "$ac_link") 2>conftest.er1
14657 grep -v '^ *+' conftest.er1 >conftest.err
14659 cat conftest.err >&5
14660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14661 (exit $ac_status); } && {
14662 test -z "$ac_c_werror_flag" ||
14663 test ! -s conftest.err
14664 } && test -s conftest$ac_exeext &&
14665 $as_test_x conftest$ac_exeext; then
14668 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'` ;;
14669 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXext\\.$LIBEXT" |
sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14672 echo "$as_me: failed program was:" >&5
14673 sed 's/^/| /' conftest.$ac_ext >&5
14678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14679 conftest$ac_exeext conftest.$ac_ext
14680 LIBS=$ac_check_soname_save_LIBS
14682 if test "x$ac_cv_lib_soname_Xext" = "x"; then
14683 { echo "$as_me:$LINENO: result: not found" >&5
14684 echo "${ECHO_T}not found" >&6; }
14687 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14688 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
14690 cat >>confdefs.h <<_ACEOF
14691 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14697 { echo "$as_me:$LINENO: checking for -lXi" >&5
14698 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
14699 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14700 echo $ECHO_N "(cached) $ECHO_C" >&6
14702 ac_check_soname_save_LIBS=$LIBS
14703 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14704 cat >conftest.$ac_ext <<_ACEOF
14707 cat confdefs.h >>conftest.$ac_ext
14708 cat >>conftest.$ac_ext <<_ACEOF
14709 /* end confdefs.h. */
14711 /* Override any GCC internal prototype to avoid an error.
14712 Use char because int might match the return type of a GCC
14713 builtin and then its argument prototype would still apply. */
14717 char XOpenDevice ();
14721 return XOpenDevice ();
14726 rm -f conftest.$ac_objext conftest$ac_exeext
14727 if { (ac_try="$ac_link"
14728 case "(($ac_try" in
14729 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14730 *) ac_try_echo
=$ac_try;;
14732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14733 (eval "$ac_link") 2>conftest.er1
14735 grep -v '^ *+' conftest.er1
>conftest.err
14737 cat conftest.err
>&5
14738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14739 (exit $ac_status); } && {
14740 test -z "$ac_c_werror_flag" ||
14741 test ! -s conftest.err
14742 } && test -s conftest
$ac_exeext &&
14743 $as_test_x conftest
$ac_exeext; then
14746 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'` ;;
14747 *) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14750 echo "$as_me: failed program was:" >&5
14751 sed 's/^/| /' conftest.
$ac_ext >&5
14756 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14757 conftest
$ac_exeext conftest.
$ac_ext
14758 LIBS
=$ac_check_soname_save_LIBS
14760 if test "x$ac_cv_lib_soname_Xi" = "x"; then
14761 { echo "$as_me:$LINENO: result: not found" >&5
14762 echo "${ECHO_T}not found" >&6; }
14765 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14766 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
14768 cat >>confdefs.h
<<_ACEOF
14769 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14775 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
14776 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
14777 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14778 echo $ECHO_N "(cached) $ECHO_C" >&6
14780 ac_check_soname_save_LIBS
=$LIBS
14781 LIBS
="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14782 cat >conftest.
$ac_ext <<_ACEOF
14785 cat confdefs.h
>>conftest.
$ac_ext
14786 cat >>conftest.
$ac_ext <<_ACEOF
14787 /* end confdefs.h. */
14789 /* Override any GCC internal prototype to avoid an error.
14790 Use char because int might match the return type of a GCC
14791 builtin and then its argument prototype would still apply. */
14795 char XineramaQueryScreens ();
14799 return XineramaQueryScreens ();
14804 rm -f conftest.
$ac_objext conftest
$ac_exeext
14805 if { (ac_try
="$ac_link"
14806 case "(($ac_try" in
14807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14808 *) ac_try_echo=$ac_try;;
14810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14811 (eval "$ac_link") 2>conftest.er1
14813 grep -v '^ *+' conftest.er1 >conftest.err
14815 cat conftest.err >&5
14816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14817 (exit $ac_status); } && {
14818 test -z "$ac_c_werror_flag" ||
14819 test ! -s conftest.err
14820 } && test -s conftest$ac_exeext &&
14821 $as_test_x conftest$ac_exeext; then
14824 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'` ;;
14825 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXinerama\\.$LIBEXT" |
sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14828 echo "$as_me: failed program was:" >&5
14829 sed 's/^/| /' conftest.$ac_ext >&5
14834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14835 conftest$ac_exeext conftest.$ac_ext
14836 LIBS=$ac_check_soname_save_LIBS
14838 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
14839 { echo "$as_me:$LINENO: result: not found" >&5
14840 echo "${ECHO_T}not found" >&6; }
14843 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
14844 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
14846 cat >>confdefs.h <<_ACEOF
14847 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
14853 { echo "$as_me:$LINENO: checking for -lXrender" >&5
14854 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
14855 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14856 echo $ECHO_N "(cached) $ECHO_C" >&6
14858 ac_check_soname_save_LIBS=$LIBS
14859 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14860 cat >conftest.$ac_ext <<_ACEOF
14863 cat confdefs.h >>conftest.$ac_ext
14864 cat >>conftest.$ac_ext <<_ACEOF
14865 /* end confdefs.h. */
14867 /* Override any GCC internal prototype to avoid an error.
14868 Use char because int might match the return type of a GCC
14869 builtin and then its argument prototype would still apply. */
14873 char XRenderQueryExtension ();
14877 return XRenderQueryExtension ();
14882 rm -f conftest.$ac_objext conftest$ac_exeext
14883 if { (ac_try="$ac_link"
14884 case "(($ac_try" in
14885 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14886 *) ac_try_echo
=$ac_try;;
14888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14889 (eval "$ac_link") 2>conftest.er1
14891 grep -v '^ *+' conftest.er1
>conftest.err
14893 cat conftest.err
>&5
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); } && {
14896 test -z "$ac_c_werror_flag" ||
14897 test ! -s conftest.err
14898 } && test -s conftest
$ac_exeext &&
14899 $as_test_x conftest
$ac_exeext; then
14902 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'` ;;
14903 *) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14906 echo "$as_me: failed program was:" >&5
14907 sed 's/^/| /' conftest.
$ac_ext >&5
14912 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14913 conftest
$ac_exeext conftest.
$ac_ext
14914 LIBS
=$ac_check_soname_save_LIBS
14916 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
14917 { echo "$as_me:$LINENO: result: not found" >&5
14918 echo "${ECHO_T}not found" >&6; }
14921 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14922 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
14924 cat >>confdefs.h
<<_ACEOF
14925 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14931 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
14932 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
14933 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14934 echo $ECHO_N "(cached) $ECHO_C" >&6
14936 ac_check_soname_save_LIBS
=$LIBS
14937 LIBS
="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14938 cat >conftest.
$ac_ext <<_ACEOF
14941 cat confdefs.h
>>conftest.
$ac_ext
14942 cat >>conftest.
$ac_ext <<_ACEOF
14943 /* end confdefs.h. */
14945 /* Override any GCC internal prototype to avoid an error.
14946 Use char because int might match the return type of a GCC
14947 builtin and then its argument prototype would still apply. */
14951 char XRRQueryExtension ();
14955 return XRRQueryExtension ();
14960 rm -f conftest.
$ac_objext conftest
$ac_exeext
14961 if { (ac_try
="$ac_link"
14962 case "(($ac_try" in
14963 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14964 *) ac_try_echo=$ac_try;;
14966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14967 (eval "$ac_link") 2>conftest.er1
14969 grep -v '^ *+' conftest.er1 >conftest.err
14971 cat conftest.err >&5
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); } && {
14974 test -z "$ac_c_werror_flag" ||
14975 test ! -s conftest.err
14976 } && test -s conftest$ac_exeext &&
14977 $as_test_x conftest$ac_exeext; then
14980 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'` ;;
14981 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXrandr\\.$LIBEXT" |
sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14984 echo "$as_me: failed program was:" >&5
14985 sed 's/^/| /' conftest.$ac_ext >&5
14990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14991 conftest$ac_exeext conftest.$ac_ext
14992 LIBS=$ac_check_soname_save_LIBS
14994 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
14995 { echo "$as_me:$LINENO: result: not found" >&5
14996 echo "${ECHO_T}not found" >&6; }
14999 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
15000 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
15002 cat >>confdefs.h <<_ACEOF
15003 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
15009 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
15010 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
15011 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
15012 echo $ECHO_N "(cached) $ECHO_C" >&6
15014 ac_check_soname_save_LIBS=$LIBS
15015 LIBS="-lXcursor $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
15016 cat >conftest.$ac_ext <<_ACEOF
15019 cat confdefs.h >>conftest.$ac_ext
15020 cat >>conftest.$ac_ext <<_ACEOF
15021 /* end confdefs.h. */
15023 /* Override any GCC internal prototype to avoid an error.
15024 Use char because int might match the return type of a GCC
15025 builtin and then its argument prototype would still apply. */
15029 char XcursorImageLoadCursor ();
15033 return XcursorImageLoadCursor ();
15038 rm -f conftest.$ac_objext conftest$ac_exeext
15039 if { (ac_try="$ac_link"
15040 case "(($ac_try" in
15041 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15042 *) ac_try_echo
=$ac_try;;
15044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15045 (eval "$ac_link") 2>conftest.er1
15047 grep -v '^ *+' conftest.er1
>conftest.err
15049 cat conftest.err
>&5
15050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15051 (exit $ac_status); } && {
15052 test -z "$ac_c_werror_flag" ||
15053 test ! -s conftest.err
15054 } && test -s conftest
$ac_exeext &&
15055 $as_test_x conftest
$ac_exeext; then
15058 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'` ;;
15059 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15062 echo "$as_me: failed program was:" >&5
15063 sed 's/^/| /' conftest.
$ac_ext >&5
15068 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15069 conftest
$ac_exeext conftest.
$ac_ext
15070 LIBS
=$ac_check_soname_save_LIBS
15072 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
15073 { echo "$as_me:$LINENO: result: not found" >&5
15074 echo "${ECHO_T}not found" >&6; }
15077 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
15078 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
15080 cat >>confdefs.h
<<_ACEOF
15081 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
15087 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
15088 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
15089 if test "${ac_cv_lib_soname_freetype+set}" = set; then
15090 echo $ECHO_N "(cached) $ECHO_C" >&6
15092 ac_check_soname_save_LIBS
=$LIBS
15093 LIBS
="-lfreetype $X_LIBS $LIBS"
15094 cat >conftest.
$ac_ext <<_ACEOF
15097 cat confdefs.h
>>conftest.
$ac_ext
15098 cat >>conftest.
$ac_ext <<_ACEOF
15099 /* end confdefs.h. */
15101 /* Override any GCC internal prototype to avoid an error.
15102 Use char because int might match the return type of a GCC
15103 builtin and then its argument prototype would still apply. */
15107 char FT_Init_FreeType ();
15111 return FT_Init_FreeType ();
15116 rm -f conftest.
$ac_objext conftest
$ac_exeext
15117 if { (ac_try
="$ac_link"
15118 case "(($ac_try" in
15119 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15120 *) ac_try_echo=$ac_try;;
15122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15123 (eval "$ac_link") 2>conftest.er1
15125 grep -v '^ *+' conftest.er1 >conftest.err
15127 cat conftest.err >&5
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); } && {
15130 test -z "$ac_c_werror_flag" ||
15131 test ! -s conftest.err
15132 } && test -s conftest$ac_exeext &&
15133 $as_test_x conftest$ac_exeext; then
15136 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'` ;;
15137 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfreetype\\.$LIBEXT" |
sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15140 echo "$as_me: failed program was:" >&5
15141 sed 's/^/| /' conftest.$ac_ext >&5
15146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15147 conftest$ac_exeext conftest.$ac_ext
15148 LIBS=$ac_check_soname_save_LIBS
15150 if test "x$ac_cv_lib_soname_freetype" = "x"; then
15151 { echo "$as_me:$LINENO: result: not found" >&5
15152 echo "${ECHO_T}not found" >&6; }
15155 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
15156 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
15158 cat >>confdefs.h <<_ACEOF
15159 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
15165 { echo "$as_me:$LINENO: checking for -lGL" >&5
15166 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
15167 if test "${ac_cv_lib_soname_GL+set}" = set; then
15168 echo $ECHO_N "(cached) $ECHO_C" >&6
15170 ac_check_soname_save_LIBS=$LIBS
15171 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
15172 cat >conftest.$ac_ext <<_ACEOF
15175 cat confdefs.h >>conftest.$ac_ext
15176 cat >>conftest.$ac_ext <<_ACEOF
15177 /* end confdefs.h. */
15179 /* Override any GCC internal prototype to avoid an error.
15180 Use char because int might match the return type of a GCC
15181 builtin and then its argument prototype would still apply. */
15185 char glXQueryExtension ();
15189 return glXQueryExtension ();
15194 rm -f conftest.$ac_objext conftest$ac_exeext
15195 if { (ac_try="$ac_link"
15196 case "(($ac_try" in
15197 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15198 *) ac_try_echo
=$ac_try;;
15200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15201 (eval "$ac_link") 2>conftest.er1
15203 grep -v '^ *+' conftest.er1
>conftest.err
15205 cat conftest.err
>&5
15206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15207 (exit $ac_status); } && {
15208 test -z "$ac_c_werror_flag" ||
15209 test ! -s conftest.err
15210 } && test -s conftest
$ac_exeext &&
15211 $as_test_x conftest
$ac_exeext; then
15214 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'` ;;
15215 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15218 echo "$as_me: failed program was:" >&5
15219 sed 's/^/| /' conftest.
$ac_ext >&5
15224 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15225 conftest
$ac_exeext conftest.
$ac_ext
15226 LIBS
=$ac_check_soname_save_LIBS
15228 if test "x$ac_cv_lib_soname_GL" = "x"; then
15229 { echo "$as_me:$LINENO: result: not found" >&5
15230 echo "${ECHO_T}not found" >&6; }
15233 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
15234 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
15236 cat >>confdefs.h
<<_ACEOF
15237 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
15243 { echo "$as_me:$LINENO: checking for -ltxc_dxtn" >&5
15244 echo $ECHO_N "checking for -ltxc_dxtn... $ECHO_C" >&6; }
15245 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15246 echo $ECHO_N "(cached) $ECHO_C" >&6
15248 ac_check_soname_save_LIBS
=$LIBS
15249 LIBS
="-ltxc_dxtn $LIBS"
15250 cat >conftest.
$ac_ext <<_ACEOF
15253 cat confdefs.h
>>conftest.
$ac_ext
15254 cat >>conftest.
$ac_ext <<_ACEOF
15255 /* end confdefs.h. */
15257 /* Override any GCC internal prototype to avoid an error.
15258 Use char because int might match the return type of a GCC
15259 builtin and then its argument prototype would still apply. */
15263 char fetch_2d_texel_rgba_dxt1 ();
15267 return fetch_2d_texel_rgba_dxt1 ();
15272 rm -f conftest.
$ac_objext conftest
$ac_exeext
15273 if { (ac_try
="$ac_link"
15274 case "(($ac_try" in
15275 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15276 *) ac_try_echo=$ac_try;;
15278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15279 (eval "$ac_link") 2>conftest.er1
15281 grep -v '^ *+' conftest.er1 >conftest.err
15283 cat conftest.err >&5
15284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15285 (exit $ac_status); } && {
15286 test -z "$ac_c_werror_flag" ||
15287 test ! -s conftest.err
15288 } && test -s conftest$ac_exeext &&
15289 $as_test_x conftest$ac_exeext; then
15292 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'` ;;
15293 *) ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libtxc_dxtn\\.$LIBEXT" |
sed -e "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15296 echo "$as_me: failed program was:" >&5
15297 sed 's/^/| /' conftest.$ac_ext >&5
15302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15303 conftest$ac_exeext conftest.$ac_ext
15304 LIBS=$ac_check_soname_save_LIBS
15306 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"; then
15307 { echo "$as_me:$LINENO: result: not found" >&5
15308 echo "${ECHO_T}not found" >&6; }
15311 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
15312 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
15314 cat >>confdefs.h <<_ACEOF
15315 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15321 { echo "$as_me:$LINENO: checking for -lssl" >&5
15322 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15323 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15324 echo $ECHO_N "(cached) $ECHO_C" >&6
15326 ac_check_soname_save_LIBS=$LIBS
15328 cat >conftest.$ac_ext <<_ACEOF
15331 cat confdefs.h >>conftest.$ac_ext
15332 cat >>conftest.$ac_ext <<_ACEOF
15333 /* end confdefs.h. */
15335 /* Override any GCC internal prototype to avoid an error.
15336 Use char because int might match the return type of a GCC
15337 builtin and then its argument prototype would still apply. */
15341 char SSL_library_init ();
15345 return SSL_library_init ();
15350 rm -f conftest.$ac_objext conftest$ac_exeext
15351 if { (ac_try="$ac_link"
15352 case "(($ac_try" in
15353 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15354 *) ac_try_echo
=$ac_try;;
15356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15357 (eval "$ac_link") 2>conftest.er1
15359 grep -v '^ *+' conftest.er1
>conftest.err
15361 cat conftest.err
>&5
15362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15363 (exit $ac_status); } && {
15364 test -z "$ac_c_werror_flag" ||
15365 test ! -s conftest.err
15366 } && test -s conftest
$ac_exeext &&
15367 $as_test_x conftest
$ac_exeext; then
15370 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'` ;;
15371 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15374 echo "$as_me: failed program was:" >&5
15375 sed 's/^/| /' conftest.
$ac_ext >&5
15380 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15381 conftest
$ac_exeext conftest.
$ac_ext
15382 LIBS
=$ac_check_soname_save_LIBS
15384 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15385 { echo "$as_me:$LINENO: result: not found" >&5
15386 echo "${ECHO_T}not found" >&6; }
15389 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15390 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15392 cat >>confdefs.h
<<_ACEOF
15393 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15399 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15400 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15401 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15402 echo $ECHO_N "(cached) $ECHO_C" >&6
15404 ac_check_soname_save_LIBS
=$LIBS
15405 LIBS
="-lcrypto $LIBS"
15406 cat >conftest.
$ac_ext <<_ACEOF
15409 cat confdefs.h
>>conftest.
$ac_ext
15410 cat >>conftest.
$ac_ext <<_ACEOF
15411 /* end confdefs.h. */
15413 /* Override any GCC internal prototype to avoid an error.
15414 Use char because int might match the return type of a GCC
15415 builtin and then its argument prototype would still apply. */
15419 char BIO_new_socket ();
15423 return BIO_new_socket ();
15428 rm -f conftest.
$ac_objext conftest
$ac_exeext
15429 if { (ac_try
="$ac_link"
15430 case "(($ac_try" in
15431 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15432 *) ac_try_echo=$ac_try;;
15434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15435 (eval "$ac_link") 2>conftest.er1
15437 grep -v '^ *+' conftest.er1 >conftest.err
15439 cat conftest.err >&5
15440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441 (exit $ac_status); } && {
15442 test -z "$ac_c_werror_flag" ||
15443 test ! -s conftest.err
15444 } && test -s conftest$ac_exeext &&
15445 $as_test_x conftest$ac_exeext; then
15448 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'` ;;
15449 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcrypto\\.$LIBEXT" |
sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15452 echo "$as_me: failed program was:" >&5
15453 sed 's/^/| /' conftest.$ac_ext >&5
15458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15459 conftest$ac_exeext conftest.$ac_ext
15460 LIBS=$ac_check_soname_save_LIBS
15462 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15463 { echo "$as_me:$LINENO: result: not found" >&5
15464 echo "${ECHO_T}not found" >&6; }
15467 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15468 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15470 cat >>confdefs.h <<_ACEOF
15471 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15477 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15478 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15479 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15480 echo $ECHO_N "(cached) $ECHO_C" >&6
15482 ac_check_soname_save_LIBS=$LIBS
15483 LIBS="-ljpeg $LIBS"
15484 cat >conftest.$ac_ext <<_ACEOF
15487 cat confdefs.h >>conftest.$ac_ext
15488 cat >>conftest.$ac_ext <<_ACEOF
15489 /* end confdefs.h. */
15491 /* Override any GCC internal prototype to avoid an error.
15492 Use char because int might match the return type of a GCC
15493 builtin and then its argument prototype would still apply. */
15497 char jpeg_start_decompress ();
15501 return jpeg_start_decompress ();
15506 rm -f conftest.$ac_objext conftest$ac_exeext
15507 if { (ac_try="$ac_link"
15508 case "(($ac_try" in
15509 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15510 *) ac_try_echo
=$ac_try;;
15512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15513 (eval "$ac_link") 2>conftest.er1
15515 grep -v '^ *+' conftest.er1
>conftest.err
15517 cat conftest.err
>&5
15518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15519 (exit $ac_status); } && {
15520 test -z "$ac_c_werror_flag" ||
15521 test ! -s conftest.err
15522 } && test -s conftest
$ac_exeext &&
15523 $as_test_x conftest
$ac_exeext; then
15526 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'` ;;
15527 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15530 echo "$as_me: failed program was:" >&5
15531 sed 's/^/| /' conftest.
$ac_ext >&5
15536 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15537 conftest
$ac_exeext conftest.
$ac_ext
15538 LIBS
=$ac_check_soname_save_LIBS
15540 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15541 { echo "$as_me:$LINENO: result: not found" >&5
15542 echo "${ECHO_T}not found" >&6; }
15545 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15546 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15548 cat >>confdefs.h
<<_ACEOF
15549 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15683 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15684 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15686 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15687 echo $ECHO_N "(cached) $ECHO_C" >&6
15689 cat >conftest.
$ac_ext <<_ACEOF
15692 cat confdefs.h
>>conftest.
$ac_ext
15693 cat >>conftest.
$ac_ext <<_ACEOF
15694 /* end confdefs.h. */
15695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15697 #define $ac_func innocuous_$ac_func
15699 /* System header to define __stub macros and hopefully few prototypes,
15700 which can conflict with char $ac_func (); below.
15701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15702 <limits.h> exists even on freestanding compilers. */
15705 # include <limits.h>
15707 # include <assert.h>
15712 /* Override any GCC internal prototype to avoid an error.
15713 Use char because int might match the return type of a GCC
15714 builtin and then its argument prototype would still apply. */
15719 /* The GNU C library defines this for functions which it implements
15720 to always fail with ENOSYS. Some functions are actually named
15721 something starting with __ and the normal name is an alias. */
15722 #if defined __stub_$ac_func || defined __stub___$ac_func
15729 return $ac_func ();
15734 rm -f conftest.
$ac_objext conftest
$ac_exeext
15735 if { (ac_try
="$ac_link"
15736 case "(($ac_try" in
15737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15738 *) ac_try_echo=$ac_try;;
15740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15741 (eval "$ac_link") 2>conftest.er1
15743 grep -v '^ *+' conftest.er1 >conftest.err
15745 cat conftest.err >&5
15746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15747 (exit $ac_status); } && {
15748 test -z "$ac_c_werror_flag" ||
15749 test ! -s conftest.err
15750 } && test -s conftest$ac_exeext &&
15751 $as_test_x conftest$ac_exeext; then
15752 eval "$as_ac_var=yes"
15754 echo "$as_me: failed program was:" >&5
15755 sed 's/^/| /' conftest.$ac_ext >&5
15757 eval "$as_ac_var=no"
15760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15761 conftest$ac_exeext conftest.$ac_ext
15763 ac_res=`eval echo '${'$as_ac_var'}'`
15764 { echo "$as_me:$LINENO: result: $ac_res" >&5
15765 echo "${ECHO_T}$ac_res" >&6; }
15766 if test `eval echo '${'$as_ac_var'}'` = yes; then
15767 cat >>confdefs.h <<_ACEOF
15768 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
15775 if test "$ac_cv_func_dlopen" = no
15777 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15778 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15779 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15780 echo $ECHO_N "(cached) $ECHO_C" >&6
15782 ac_check_lib_save_LIBS=$LIBS
15784 cat >conftest.$ac_ext <<_ACEOF
15787 cat confdefs.h >>conftest.$ac_ext
15788 cat >>conftest.$ac_ext <<_ACEOF
15789 /* end confdefs.h. */
15791 /* Override any GCC internal prototype to avoid an error.
15792 Use char because int might match the return type of a GCC
15793 builtin and then its argument prototype would still apply. */
15806 rm -f conftest.$ac_objext conftest$ac_exeext
15807 if { (ac_try="$ac_link"
15808 case "(($ac_try" in
15809 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15810 *) ac_try_echo
=$ac_try;;
15812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15813 (eval "$ac_link") 2>conftest.er1
15815 grep -v '^ *+' conftest.er1
>conftest.err
15817 cat conftest.err
>&5
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); } && {
15820 test -z "$ac_c_werror_flag" ||
15821 test ! -s conftest.err
15822 } && test -s conftest
$ac_exeext &&
15823 $as_test_x conftest
$ac_exeext; then
15824 ac_cv_lib_dl_dlopen
=yes
15826 echo "$as_me: failed program was:" >&5
15827 sed 's/^/| /' conftest.
$ac_ext >&5
15829 ac_cv_lib_dl_dlopen
=no
15832 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15833 conftest
$ac_exeext conftest.
$ac_ext
15834 LIBS
=$ac_check_lib_save_LIBS
15836 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15837 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15838 if test $ac_cv_lib_dl_dlopen = yes; then
15839 cat >>confdefs.h
<<\_ACEOF
15840 #define HAVE_DLOPEN 1
15847 ac_wine_check_funcs_save_LIBS
="$LIBS"
15848 LIBS
="$LIBS $LIBDL"
15850 for ac_func
in dladdr
15852 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15853 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15855 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15856 echo $ECHO_N "(cached) $ECHO_C" >&6
15858 cat >conftest.
$ac_ext <<_ACEOF
15861 cat confdefs.h
>>conftest.
$ac_ext
15862 cat >>conftest.
$ac_ext <<_ACEOF
15863 /* end confdefs.h. */
15864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15866 #define $ac_func innocuous_$ac_func
15868 /* System header to define __stub macros and hopefully few prototypes,
15869 which can conflict with char $ac_func (); below.
15870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15871 <limits.h> exists even on freestanding compilers. */
15874 # include <limits.h>
15876 # include <assert.h>
15881 /* Override any GCC internal prototype to avoid an error.
15882 Use char because int might match the return type of a GCC
15883 builtin and then its argument prototype would still apply. */
15888 /* The GNU C library defines this for functions which it implements
15889 to always fail with ENOSYS. Some functions are actually named
15890 something starting with __ and the normal name is an alias. */
15891 #if defined __stub_$ac_func || defined __stub___$ac_func
15898 return $ac_func ();
15903 rm -f conftest.
$ac_objext conftest
$ac_exeext
15904 if { (ac_try
="$ac_link"
15905 case "(($ac_try" in
15906 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15907 *) ac_try_echo=$ac_try;;
15909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15910 (eval "$ac_link") 2>conftest.er1
15912 grep -v '^ *+' conftest.er1 >conftest.err
15914 cat conftest.err >&5
15915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15916 (exit $ac_status); } && {
15917 test -z "$ac_c_werror_flag" ||
15918 test ! -s conftest.err
15919 } && test -s conftest$ac_exeext &&
15920 $as_test_x conftest$ac_exeext; then
15921 eval "$as_ac_var=yes"
15923 echo "$as_me: failed program was:" >&5
15924 sed 's/^/| /' conftest.$ac_ext >&5
15926 eval "$as_ac_var=no"
15929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15930 conftest$ac_exeext conftest.$ac_ext
15932 ac_res=`eval echo '${'$as_ac_var'}'`
15933 { echo "$as_me:$LINENO: result: $ac_res" >&5
15934 echo "${ECHO_T}$ac_res" >&6; }
15935 if test `eval echo '${'$as_ac_var'}'` = yes; then
15936 cat >>confdefs.h <<_ACEOF
15937 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
15943 LIBS="$ac_wine_check_funcs_save_LIBS"
15945 if test "$ac_cv_func_poll" = no
15947 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
15948 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
15949 if test "${ac_cv_lib_poll_poll+set}" = set; then
15950 echo $ECHO_N "(cached) $ECHO_C" >&6
15952 ac_check_lib_save_LIBS=$LIBS
15953 LIBS="-lpoll $LIBS"
15954 cat >conftest.$ac_ext <<_ACEOF
15957 cat confdefs.h >>conftest.$ac_ext
15958 cat >>conftest.$ac_ext <<_ACEOF
15959 /* end confdefs.h. */
15961 /* Override any GCC internal prototype to avoid an error.
15962 Use char because int might match the return type of a GCC
15963 builtin and then its argument prototype would still apply. */
15976 rm -f conftest.$ac_objext conftest$ac_exeext
15977 if { (ac_try="$ac_link"
15978 case "(($ac_try" in
15979 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15980 *) ac_try_echo
=$ac_try;;
15982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15983 (eval "$ac_link") 2>conftest.er1
15985 grep -v '^ *+' conftest.er1
>conftest.err
15987 cat conftest.err
>&5
15988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15989 (exit $ac_status); } && {
15990 test -z "$ac_c_werror_flag" ||
15991 test ! -s conftest.err
15992 } && test -s conftest
$ac_exeext &&
15993 $as_test_x conftest
$ac_exeext; then
15994 ac_cv_lib_poll_poll
=yes
15996 echo "$as_me: failed program was:" >&5
15997 sed 's/^/| /' conftest.
$ac_ext >&5
15999 ac_cv_lib_poll_poll
=no
16002 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16003 conftest
$ac_exeext conftest.
$ac_ext
16004 LIBS
=$ac_check_lib_save_LIBS
16006 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16007 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16008 if test $ac_cv_lib_poll_poll = yes; then
16009 cat >>confdefs.h
<<\_ACEOF
16010 #define HAVE_POLL 1
16018 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16019 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16020 if test "${ac_cv_search_gethostbyname+set}" = set; then
16021 echo $ECHO_N "(cached) $ECHO_C" >&6
16023 ac_func_search_save_LIBS
=$LIBS
16024 cat >conftest.
$ac_ext <<_ACEOF
16027 cat confdefs.h
>>conftest.
$ac_ext
16028 cat >>conftest.
$ac_ext <<_ACEOF
16029 /* end confdefs.h. */
16031 /* Override any GCC internal prototype to avoid an error.
16032 Use char because int might match the return type of a GCC
16033 builtin and then its argument prototype would still apply. */
16037 char gethostbyname ();
16041 return gethostbyname ();
16046 for ac_lib
in '' nsl
; do
16047 if test -z "$ac_lib"; then
16048 ac_res
="none required"
16051 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16053 rm -f conftest.
$ac_objext conftest
$ac_exeext
16054 if { (ac_try
="$ac_link"
16055 case "(($ac_try" in
16056 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16057 *) ac_try_echo=$ac_try;;
16059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16060 (eval "$ac_link") 2>conftest.er1
16062 grep -v '^ *+' conftest.er1 >conftest.err
16064 cat conftest.err >&5
16065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066 (exit $ac_status); } && {
16067 test -z "$ac_c_werror_flag" ||
16068 test ! -s conftest.err
16069 } && test -s conftest$ac_exeext &&
16070 $as_test_x conftest$ac_exeext; then
16071 ac_cv_search_gethostbyname=$ac_res
16073 echo "$as_me: failed program was:" >&5
16074 sed 's/^/| /' conftest.$ac_ext >&5
16079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16081 if test "${ac_cv_search_gethostbyname+set}" = set; then
16085 if test "${ac_cv_search_gethostbyname+set}" = set; then
16088 ac_cv_search_gethostbyname=no
16090 rm conftest.$ac_ext
16091 LIBS=$ac_func_search_save_LIBS
16093 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16094 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16095 ac_res=$ac_cv_search_gethostbyname
16096 if test "$ac_res" != no; then
16097 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16102 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16103 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16104 if test "${ac_cv_search_connect+set}" = set; then
16105 echo $ECHO_N "(cached) $ECHO_C" >&6
16107 ac_func_search_save_LIBS=$LIBS
16108 cat >conftest.$ac_ext <<_ACEOF
16111 cat confdefs.h >>conftest.$ac_ext
16112 cat >>conftest.$ac_ext <<_ACEOF
16113 /* end confdefs.h. */
16115 /* Override any GCC internal prototype to avoid an error.
16116 Use char because int might match the return type of a GCC
16117 builtin and then its argument prototype would still apply. */
16130 for ac_lib in '' socket; do
16131 if test -z "$ac_lib"; then
16132 ac_res="none required"
16135 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16137 rm -f conftest.$ac_objext conftest$ac_exeext
16138 if { (ac_try="$ac_link"
16139 case "(($ac_try" in
16140 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16141 *) ac_try_echo
=$ac_try;;
16143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16144 (eval "$ac_link") 2>conftest.er1
16146 grep -v '^ *+' conftest.er1
>conftest.err
16148 cat conftest.err
>&5
16149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16150 (exit $ac_status); } && {
16151 test -z "$ac_c_werror_flag" ||
16152 test ! -s conftest.err
16153 } && test -s conftest
$ac_exeext &&
16154 $as_test_x conftest
$ac_exeext; then
16155 ac_cv_search_connect
=$ac_res
16157 echo "$as_me: failed program was:" >&5
16158 sed 's/^/| /' conftest.
$ac_ext >&5
16163 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16165 if test "${ac_cv_search_connect+set}" = set; then
16169 if test "${ac_cv_search_connect+set}" = set; then
16172 ac_cv_search_connect
=no
16174 rm conftest.
$ac_ext
16175 LIBS
=$ac_func_search_save_LIBS
16177 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16178 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16179 ac_res
=$ac_cv_search_connect
16180 if test "$ac_res" != no
; then
16181 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16186 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16187 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16188 if test "${ac_cv_search_inet_aton+set}" = set; then
16189 echo $ECHO_N "(cached) $ECHO_C" >&6
16191 ac_func_search_save_LIBS
=$LIBS
16192 cat >conftest.
$ac_ext <<_ACEOF
16195 cat confdefs.h
>>conftest.
$ac_ext
16196 cat >>conftest.
$ac_ext <<_ACEOF
16197 /* end confdefs.h. */
16199 /* Override any GCC internal prototype to avoid an error.
16200 Use char because int might match the return type of a GCC
16201 builtin and then its argument prototype would still apply. */
16209 return inet_aton ();
16214 for ac_lib
in '' resolv
; do
16215 if test -z "$ac_lib"; then
16216 ac_res
="none required"
16219 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16221 rm -f conftest.
$ac_objext conftest
$ac_exeext
16222 if { (ac_try
="$ac_link"
16223 case "(($ac_try" in
16224 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16225 *) ac_try_echo=$ac_try;;
16227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16228 (eval "$ac_link") 2>conftest.er1
16230 grep -v '^ *+' conftest.er1 >conftest.err
16232 cat conftest.err >&5
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); } && {
16235 test -z "$ac_c_werror_flag" ||
16236 test ! -s conftest.err
16237 } && test -s conftest$ac_exeext &&
16238 $as_test_x conftest$ac_exeext; then
16239 ac_cv_search_inet_aton=$ac_res
16241 echo "$as_me: failed program was:" >&5
16242 sed 's/^/| /' conftest.$ac_ext >&5
16247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16249 if test "${ac_cv_search_inet_aton+set}" = set; then
16253 if test "${ac_cv_search_inet_aton+set}" = set; then
16256 ac_cv_search_inet_aton=no
16258 rm conftest.$ac_ext
16259 LIBS=$ac_func_search_save_LIBS
16261 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16262 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16263 ac_res=$ac_cv_search_inet_aton
16264 if test "$ac_res" != no; then
16265 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16289 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16290 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16292 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16293 echo $ECHO_N "(cached) $ECHO_C" >&6
16295 cat >conftest.$ac_ext <<_ACEOF
16298 cat confdefs.h >>conftest.$ac_ext
16299 cat >>conftest.$ac_ext <<_ACEOF
16300 /* end confdefs.h. */
16301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16303 #define $ac_func innocuous_$ac_func
16305 /* System header to define __stub macros and hopefully few prototypes,
16306 which can conflict with char $ac_func (); below.
16307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16308 <limits.h> exists even on freestanding compilers. */
16311 # include <limits.h>
16313 # include <assert.h>
16318 /* Override any GCC internal prototype to avoid an error.
16319 Use char because int might match the return type of a GCC
16320 builtin and then its argument prototype would still apply. */
16325 /* The GNU C library defines this for functions which it implements
16326 to always fail with ENOSYS. Some functions are actually named
16327 something starting with __ and the normal name is an alias. */
16328 #if defined __stub_$ac_func || defined __stub___$ac_func
16335 return $ac_func ();
16340 rm -f conftest.$ac_objext conftest$ac_exeext
16341 if { (ac_try="$ac_link"
16342 case "(($ac_try" in
16343 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16344 *) ac_try_echo
=$ac_try;;
16346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16347 (eval "$ac_link") 2>conftest.er1
16349 grep -v '^ *+' conftest.er1
>conftest.err
16351 cat conftest.err
>&5
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); } && {
16354 test -z "$ac_c_werror_flag" ||
16355 test ! -s conftest.err
16356 } && test -s conftest
$ac_exeext &&
16357 $as_test_x conftest
$ac_exeext; then
16358 eval "$as_ac_var=yes"
16360 echo "$as_me: failed program was:" >&5
16361 sed 's/^/| /' conftest.
$ac_ext >&5
16363 eval "$as_ac_var=no"
16366 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16367 conftest
$ac_exeext conftest.
$ac_ext
16369 ac_res
=`eval echo '${'$as_ac_var'}'`
16370 { echo "$as_me:$LINENO: result: $ac_res" >&5
16371 echo "${ECHO_T}$ac_res" >&6; }
16372 if test `eval echo '${'$as_ac_var'}'` = yes; then
16373 cat >>confdefs.h
<<_ACEOF
16374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16382 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16383 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16384 if test "${ac_cv_c_const+set}" = set; then
16385 echo $ECHO_N "(cached) $ECHO_C" >&6
16387 cat >conftest.
$ac_ext <<_ACEOF
16390 cat confdefs.h
>>conftest.
$ac_ext
16391 cat >>conftest.
$ac_ext <<_ACEOF
16392 /* end confdefs.h. */
16397 /* FIXME: Include the comments suggested by Paul. */
16398 #ifndef __cplusplus
16399 /* Ultrix mips cc rejects this. */
16400 typedef int charset[2];
16402 /* SunOS 4.1.1 cc rejects this. */
16403 char const *const *pcpcc;
16405 /* NEC SVR4.0.2 mips cc rejects this. */
16406 struct point {int x, y;};
16407 static struct point const zero = {0,0};
16408 /* AIX XL C 1.02.0.0 rejects this.
16409 It does not let you subtract one const X* pointer from another in
16410 an arm of an if-expression whose if-part is not a constant
16412 const char *g = "string";
16413 pcpcc = &g + (g ? g-g : 0);
16414 /* HPUX 7.0 cc rejects these. */
16416 ppc = (char**) pcpcc;
16417 pcpcc = (char const *const *) ppc;
16418 { /* SCO 3.2v4 cc rejects this. */
16420 char const *s = 0 ? (char *) 0 : (char const *) 0;
16425 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16426 int x[] = {25, 17};
16427 const int *foo = &x[0];
16430 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16431 typedef const int *iptr;
16435 { /* AIX XL C 1.02.0.0 rejects this saying
16436 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16437 struct s { int j; const int *ap[3]; };
16438 struct s *b; b->j = 5;
16440 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16441 const int foo = 10;
16442 if (!foo) return 0;
16444 return !cs[0] && !zero.x;
16451 rm -f conftest.
$ac_objext
16452 if { (ac_try
="$ac_compile"
16453 case "(($ac_try" in
16454 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16455 *) ac_try_echo=$ac_try;;
16457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16458 (eval "$ac_compile") 2>conftest.er1
16460 grep -v '^ *+' conftest.er1 >conftest.err
16462 cat conftest.err >&5
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); } && {
16465 test -z "$ac_c_werror_flag" ||
16466 test ! -s conftest.err
16467 } && test -s conftest.$ac_objext; then
16470 echo "$as_me: failed program was:" >&5
16471 sed 's/^/| /' conftest.$ac_ext >&5
16476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16478 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16479 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16480 if test $ac_cv_c_const = no; then
16482 cat >>confdefs.h <<\_ACEOF
16488 { echo "$as_me:$LINENO: checking for inline" >&5
16489 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16490 if test "${ac_cv_c_inline+set}" = set; then
16491 echo $ECHO_N "(cached) $ECHO_C" >&6
16494 for ac_kw in inline __inline__ __inline; do
16495 cat >conftest.$ac_ext <<_ACEOF
16498 cat confdefs.h >>conftest.$ac_ext
16499 cat >>conftest.$ac_ext <<_ACEOF
16500 /* end confdefs.h. */
16501 #ifndef __cplusplus
16503 static $ac_kw foo_t static_foo () {return 0; }
16504 $ac_kw foo_t foo () {return 0; }
16508 rm -f conftest.$ac_objext
16509 if { (ac_try="$ac_compile"
16510 case "(($ac_try" in
16511 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16512 *) ac_try_echo
=$ac_try;;
16514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16515 (eval "$ac_compile") 2>conftest.er1
16517 grep -v '^ *+' conftest.er1
>conftest.err
16519 cat conftest.err
>&5
16520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16521 (exit $ac_status); } && {
16522 test -z "$ac_c_werror_flag" ||
16523 test ! -s conftest.err
16524 } && test -s conftest.
$ac_objext; then
16525 ac_cv_c_inline
=$ac_kw
16527 echo "$as_me: failed program was:" >&5
16528 sed 's/^/| /' conftest.
$ac_ext >&5
16533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16534 test "$ac_cv_c_inline" != no
&& break
16538 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16539 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16542 case $ac_cv_c_inline in
16545 case $ac_cv_c_inline in
16547 *) ac_val
=$ac_cv_c_inline;;
16549 cat >>confdefs.h
<<_ACEOF
16550 #ifndef __cplusplus
16551 #define inline $ac_val
16557 { echo "$as_me:$LINENO: checking for mode_t" >&5
16558 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16559 if test "${ac_cv_type_mode_t+set}" = set; then
16560 echo $ECHO_N "(cached) $ECHO_C" >&6
16562 cat >conftest.
$ac_ext <<_ACEOF
16565 cat confdefs.h
>>conftest.
$ac_ext
16566 cat >>conftest.
$ac_ext <<_ACEOF
16567 /* end confdefs.h. */
16568 $ac_includes_default
16569 typedef mode_t ac__type_new_;
16573 if ((ac__type_new_ *) 0)
16575 if (sizeof (ac__type_new_))
16581 rm -f conftest.
$ac_objext
16582 if { (ac_try
="$ac_compile"
16583 case "(($ac_try" in
16584 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16585 *) ac_try_echo=$ac_try;;
16587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16588 (eval "$ac_compile") 2>conftest.er1
16590 grep -v '^ *+' conftest.er1 >conftest.err
16592 cat conftest.err >&5
16593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16594 (exit $ac_status); } && {
16595 test -z "$ac_c_werror_flag" ||
16596 test ! -s conftest.err
16597 } && test -s conftest.$ac_objext; then
16598 ac_cv_type_mode_t=yes
16600 echo "$as_me: failed program was:" >&5
16601 sed 's/^/| /' conftest.$ac_ext >&5
16603 ac_cv_type_mode_t=no
16606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16608 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16609 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16610 if test $ac_cv_type_mode_t = yes; then
16612 cat >>confdefs.h <<_ACEOF
16613 #define HAVE_MODE_T 1
16618 { echo "$as_me:$LINENO: checking for off_t" >&5
16619 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16620 if test "${ac_cv_type_off_t+set}" = set; then
16621 echo $ECHO_N "(cached) $ECHO_C" >&6
16623 cat >conftest.$ac_ext <<_ACEOF
16626 cat confdefs.h >>conftest.$ac_ext
16627 cat >>conftest.$ac_ext <<_ACEOF
16628 /* end confdefs.h. */
16629 $ac_includes_default
16630 typedef off_t ac__type_new_;
16634 if ((ac__type_new_ *) 0)
16636 if (sizeof (ac__type_new_))
16642 rm -f conftest.$ac_objext
16643 if { (ac_try="$ac_compile"
16644 case "(($ac_try" in
16645 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16646 *) ac_try_echo
=$ac_try;;
16648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16649 (eval "$ac_compile") 2>conftest.er1
16651 grep -v '^ *+' conftest.er1
>conftest.err
16653 cat conftest.err
>&5
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); } && {
16656 test -z "$ac_c_werror_flag" ||
16657 test ! -s conftest.err
16658 } && test -s conftest.
$ac_objext; then
16659 ac_cv_type_off_t
=yes
16661 echo "$as_me: failed program was:" >&5
16662 sed 's/^/| /' conftest.
$ac_ext >&5
16664 ac_cv_type_off_t
=no
16667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16669 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16670 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16671 if test $ac_cv_type_off_t = yes; then
16673 cat >>confdefs.h
<<_ACEOF
16674 #define HAVE_OFF_T 1
16679 { echo "$as_me:$LINENO: checking for pid_t" >&5
16680 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16681 if test "${ac_cv_type_pid_t+set}" = set; then
16682 echo $ECHO_N "(cached) $ECHO_C" >&6
16684 cat >conftest.
$ac_ext <<_ACEOF
16687 cat confdefs.h
>>conftest.
$ac_ext
16688 cat >>conftest.
$ac_ext <<_ACEOF
16689 /* end confdefs.h. */
16690 $ac_includes_default
16691 typedef pid_t ac__type_new_;
16695 if ((ac__type_new_ *) 0)
16697 if (sizeof (ac__type_new_))
16703 rm -f conftest.
$ac_objext
16704 if { (ac_try
="$ac_compile"
16705 case "(($ac_try" in
16706 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16707 *) ac_try_echo=$ac_try;;
16709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16710 (eval "$ac_compile") 2>conftest.er1
16712 grep -v '^ *+' conftest.er1 >conftest.err
16714 cat conftest.err >&5
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); } && {
16717 test -z "$ac_c_werror_flag" ||
16718 test ! -s conftest.err
16719 } && test -s conftest.$ac_objext; then
16720 ac_cv_type_pid_t=yes
16722 echo "$as_me: failed program was:" >&5
16723 sed 's/^/| /' conftest.$ac_ext >&5
16725 ac_cv_type_pid_t=no
16728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16730 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16731 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16732 if test $ac_cv_type_pid_t = yes; then
16734 cat >>confdefs.h <<_ACEOF
16735 #define HAVE_PID_T 1
16740 { echo "$as_me:$LINENO: checking for size_t" >&5
16741 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16742 if test "${ac_cv_type_size_t+set}" = set; then
16743 echo $ECHO_N "(cached) $ECHO_C" >&6
16745 cat >conftest.$ac_ext <<_ACEOF
16748 cat confdefs.h >>conftest.$ac_ext
16749 cat >>conftest.$ac_ext <<_ACEOF
16750 /* end confdefs.h. */
16751 $ac_includes_default
16752 typedef size_t ac__type_new_;
16756 if ((ac__type_new_ *) 0)
16758 if (sizeof (ac__type_new_))
16764 rm -f conftest.$ac_objext
16765 if { (ac_try="$ac_compile"
16766 case "(($ac_try" in
16767 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16768 *) ac_try_echo
=$ac_try;;
16770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16771 (eval "$ac_compile") 2>conftest.er1
16773 grep -v '^ *+' conftest.er1
>conftest.err
16775 cat conftest.err
>&5
16776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16777 (exit $ac_status); } && {
16778 test -z "$ac_c_werror_flag" ||
16779 test ! -s conftest.err
16780 } && test -s conftest.
$ac_objext; then
16781 ac_cv_type_size_t
=yes
16783 echo "$as_me: failed program was:" >&5
16784 sed 's/^/| /' conftest.
$ac_ext >&5
16786 ac_cv_type_size_t
=no
16789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16791 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16792 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16793 if test $ac_cv_type_size_t = yes; then
16795 cat >>confdefs.h
<<_ACEOF
16796 #define HAVE_SIZE_T 1
16801 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16802 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16803 if test "${ac_cv_type_ssize_t+set}" = set; then
16804 echo $ECHO_N "(cached) $ECHO_C" >&6
16806 cat >conftest.
$ac_ext <<_ACEOF
16809 cat confdefs.h
>>conftest.
$ac_ext
16810 cat >>conftest.
$ac_ext <<_ACEOF
16811 /* end confdefs.h. */
16812 $ac_includes_default
16813 typedef ssize_t ac__type_new_;
16817 if ((ac__type_new_ *) 0)
16819 if (sizeof (ac__type_new_))
16825 rm -f conftest.
$ac_objext
16826 if { (ac_try
="$ac_compile"
16827 case "(($ac_try" in
16828 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16829 *) ac_try_echo=$ac_try;;
16831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16832 (eval "$ac_compile") 2>conftest.er1
16834 grep -v '^ *+' conftest.er1 >conftest.err
16836 cat conftest.err >&5
16837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16838 (exit $ac_status); } && {
16839 test -z "$ac_c_werror_flag" ||
16840 test ! -s conftest.err
16841 } && test -s conftest.$ac_objext; then
16842 ac_cv_type_ssize_t=yes
16844 echo "$as_me: failed program was:" >&5
16845 sed 's/^/| /' conftest.$ac_ext >&5
16847 ac_cv_type_ssize_t=no
16850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16852 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16853 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16854 if test $ac_cv_type_ssize_t = yes; then
16856 cat >>confdefs.h <<_ACEOF
16857 #define HAVE_SSIZE_T 1
16862 { echo "$as_me:$LINENO: checking for long long" >&5
16863 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16864 if test "${ac_cv_type_long_long+set}" = set; then
16865 echo $ECHO_N "(cached) $ECHO_C" >&6
16867 cat >conftest.$ac_ext <<_ACEOF
16870 cat confdefs.h >>conftest.$ac_ext
16871 cat >>conftest.$ac_ext <<_ACEOF
16872 /* end confdefs.h. */
16873 $ac_includes_default
16874 typedef long long ac__type_new_;
16878 if ((ac__type_new_ *) 0)
16880 if (sizeof (ac__type_new_))
16886 rm -f conftest.$ac_objext
16887 if { (ac_try="$ac_compile"
16888 case "(($ac_try" in
16889 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16890 *) ac_try_echo
=$ac_try;;
16892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16893 (eval "$ac_compile") 2>conftest.er1
16895 grep -v '^ *+' conftest.er1
>conftest.err
16897 cat conftest.err
>&5
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); } && {
16900 test -z "$ac_c_werror_flag" ||
16901 test ! -s conftest.err
16902 } && test -s conftest.
$ac_objext; then
16903 ac_cv_type_long_long
=yes
16905 echo "$as_me: failed program was:" >&5
16906 sed 's/^/| /' conftest.
$ac_ext >&5
16908 ac_cv_type_long_long
=no
16911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16913 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16914 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
16915 if test $ac_cv_type_long_long = yes; then
16917 cat >>confdefs.h
<<_ACEOF
16918 #define HAVE_LONG_LONG 1
16923 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
16924 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
16925 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
16926 echo $ECHO_N "(cached) $ECHO_C" >&6
16928 cat >conftest.
$ac_ext <<_ACEOF
16931 cat confdefs.h
>>conftest.
$ac_ext
16932 cat >>conftest.
$ac_ext <<_ACEOF
16933 /* end confdefs.h. */
16934 $ac_includes_default
16935 typedef fsblkcnt_t ac__type_new_;
16939 if ((ac__type_new_ *) 0)
16941 if (sizeof (ac__type_new_))
16947 rm -f conftest.
$ac_objext
16948 if { (ac_try
="$ac_compile"
16949 case "(($ac_try" in
16950 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16951 *) ac_try_echo=$ac_try;;
16953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16954 (eval "$ac_compile") 2>conftest.er1
16956 grep -v '^ *+' conftest.er1 >conftest.err
16958 cat conftest.err >&5
16959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16960 (exit $ac_status); } && {
16961 test -z "$ac_c_werror_flag" ||
16962 test ! -s conftest.err
16963 } && test -s conftest.$ac_objext; then
16964 ac_cv_type_fsblkcnt_t=yes
16966 echo "$as_me: failed program was:" >&5
16967 sed 's/^/| /' conftest.$ac_ext >&5
16969 ac_cv_type_fsblkcnt_t=no
16972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16974 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
16975 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
16976 if test $ac_cv_type_fsblkcnt_t = yes; then
16978 cat >>confdefs.h <<_ACEOF
16979 #define HAVE_FSBLKCNT_T 1
16984 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
16985 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
16986 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
16987 echo $ECHO_N "(cached) $ECHO_C" >&6
16989 cat >conftest.$ac_ext <<_ACEOF
16992 cat confdefs.h >>conftest.$ac_ext
16993 cat >>conftest.$ac_ext <<_ACEOF
16994 /* end confdefs.h. */
16995 $ac_includes_default
16996 typedef fsfilcnt_t ac__type_new_;
17000 if ((ac__type_new_ *) 0)
17002 if (sizeof (ac__type_new_))
17008 rm -f conftest.$ac_objext
17009 if { (ac_try="$ac_compile"
17010 case "(($ac_try" in
17011 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17012 *) ac_try_echo
=$ac_try;;
17014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17015 (eval "$ac_compile") 2>conftest.er1
17017 grep -v '^ *+' conftest.er1
>conftest.err
17019 cat conftest.err
>&5
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); } && {
17022 test -z "$ac_c_werror_flag" ||
17023 test ! -s conftest.err
17024 } && test -s conftest.
$ac_objext; then
17025 ac_cv_type_fsfilcnt_t
=yes
17027 echo "$as_me: failed program was:" >&5
17028 sed 's/^/| /' conftest.
$ac_ext >&5
17030 ac_cv_type_fsfilcnt_t
=no
17033 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17035 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17036 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17037 if test $ac_cv_type_fsfilcnt_t = yes; then
17039 cat >>confdefs.h
<<_ACEOF
17040 #define HAVE_FSFILCNT_T 1
17046 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17047 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17048 if test "${ac_cv_type_sigset_t+set}" = set; then
17049 echo $ECHO_N "(cached) $ECHO_C" >&6
17051 cat >conftest.
$ac_ext <<_ACEOF
17054 cat confdefs.h
>>conftest.
$ac_ext
17055 cat >>conftest.
$ac_ext <<_ACEOF
17056 /* end confdefs.h. */
17057 #include <signal.h>
17059 typedef sigset_t ac__type_new_;
17063 if ((ac__type_new_ *) 0)
17065 if (sizeof (ac__type_new_))
17071 rm -f conftest.
$ac_objext
17072 if { (ac_try
="$ac_compile"
17073 case "(($ac_try" in
17074 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17075 *) ac_try_echo=$ac_try;;
17077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17078 (eval "$ac_compile") 2>conftest.er1
17080 grep -v '^ *+' conftest.er1 >conftest.err
17082 cat conftest.err >&5
17083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084 (exit $ac_status); } && {
17085 test -z "$ac_c_werror_flag" ||
17086 test ! -s conftest.err
17087 } && test -s conftest.$ac_objext; then
17088 ac_cv_type_sigset_t=yes
17090 echo "$as_me: failed program was:" >&5
17091 sed 's/^/| /' conftest.$ac_ext >&5
17093 ac_cv_type_sigset_t=no
17096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17098 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17099 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17100 if test $ac_cv_type_sigset_t = yes; then
17102 cat >>confdefs.h <<_ACEOF
17103 #define HAVE_SIGSET_T 1
17109 { echo "$as_me:$LINENO: checking for request_sense" >&5
17110 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17111 if test "${ac_cv_type_request_sense+set}" = set; then
17112 echo $ECHO_N "(cached) $ECHO_C" >&6
17114 cat >conftest.$ac_ext <<_ACEOF
17117 cat confdefs.h >>conftest.$ac_ext
17118 cat >>conftest.$ac_ext <<_ACEOF
17119 /* end confdefs.h. */
17120 #include <linux/cdrom.h>
17122 typedef request_sense ac__type_new_;
17126 if ((ac__type_new_ *) 0)
17128 if (sizeof (ac__type_new_))
17134 rm -f conftest.$ac_objext
17135 if { (ac_try="$ac_compile"
17136 case "(($ac_try" in
17137 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17138 *) ac_try_echo
=$ac_try;;
17140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17141 (eval "$ac_compile") 2>conftest.er1
17143 grep -v '^ *+' conftest.er1
>conftest.err
17145 cat conftest.err
>&5
17146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17147 (exit $ac_status); } && {
17148 test -z "$ac_c_werror_flag" ||
17149 test ! -s conftest.err
17150 } && test -s conftest.
$ac_objext; then
17151 ac_cv_type_request_sense
=yes
17153 echo "$as_me: failed program was:" >&5
17154 sed 's/^/| /' conftest.
$ac_ext >&5
17156 ac_cv_type_request_sense
=no
17159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17161 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17162 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17163 if test $ac_cv_type_request_sense = yes; then
17165 cat >>confdefs.h
<<_ACEOF
17166 #define HAVE_REQUEST_SENSE 1
17173 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17174 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17175 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17176 echo $ECHO_N "(cached) $ECHO_C" >&6
17178 cat >conftest.
$ac_ext <<_ACEOF
17181 cat confdefs.h
>>conftest.
$ac_ext
17182 cat >>conftest.
$ac_ext <<_ACEOF
17183 /* end confdefs.h. */
17184 #ifdef HAVE_LINUX_INPUT_H
17185 #include <linux/input.h>
17191 static struct ff_effect ac_aggr;
17192 if (ac_aggr.direction)
17198 rm -f conftest.
$ac_objext
17199 if { (ac_try
="$ac_compile"
17200 case "(($ac_try" in
17201 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17202 *) ac_try_echo=$ac_try;;
17204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17205 (eval "$ac_compile") 2>conftest.er1
17207 grep -v '^ *+' conftest.er1 >conftest.err
17209 cat conftest.err >&5
17210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17211 (exit $ac_status); } && {
17212 test -z "$ac_c_werror_flag" ||
17213 test ! -s conftest.err
17214 } && test -s conftest.$ac_objext; then
17215 ac_cv_member_struct_ff_effect_direction=yes
17217 echo "$as_me: failed program was:" >&5
17218 sed 's/^/| /' conftest.$ac_ext >&5
17220 cat >conftest.$ac_ext <<_ACEOF
17223 cat confdefs.h >>conftest.$ac_ext
17224 cat >>conftest.$ac_ext <<_ACEOF
17225 /* end confdefs.h. */
17226 #ifdef HAVE_LINUX_INPUT_H
17227 #include <linux/input.h>
17233 static struct ff_effect ac_aggr;
17234 if (sizeof ac_aggr.direction)
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_member_struct_ff_effect_direction
=yes
17259 echo "$as_me: failed program was:" >&5
17260 sed 's/^/| /' conftest.
$ac_ext >&5
17262 ac_cv_member_struct_ff_effect_direction
=no
17265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17270 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17271 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17272 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17274 cat >>confdefs.h
<<_ACEOF
17275 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17282 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17283 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17284 if test "${wine_cv_have_sigaddset+set}" = set; then
17285 echo $ECHO_N "(cached) $ECHO_C" >&6
17287 cat >conftest.
$ac_ext <<_ACEOF
17290 cat confdefs.h
>>conftest.
$ac_ext
17291 cat >>conftest.
$ac_ext <<_ACEOF
17292 /* end confdefs.h. */
17293 #include <signal.h>
17297 sigset_t set; sigaddset(&set,SIGTERM);
17302 rm -f conftest.
$ac_objext conftest
$ac_exeext
17303 if { (ac_try
="$ac_link"
17304 case "(($ac_try" in
17305 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17306 *) ac_try_echo=$ac_try;;
17308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17309 (eval "$ac_link") 2>conftest.er1
17311 grep -v '^ *+' conftest.er1 >conftest.err
17313 cat conftest.err >&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); } && {
17316 test -z "$ac_c_werror_flag" ||
17317 test ! -s conftest.err
17318 } && test -s conftest$ac_exeext &&
17319 $as_test_x conftest$ac_exeext; then
17320 wine_cv_have_sigaddset=yes
17322 echo "$as_me: failed program was:" >&5
17323 sed 's/^/| /' conftest.$ac_ext >&5
17325 wine_cv_have_sigaddset=no
17328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17329 conftest$ac_exeext conftest.$ac_ext
17331 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17332 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17333 if test "$wine_cv_have_sigaddset" = "yes"
17336 cat >>confdefs.h <<\_ACEOF
17337 #define HAVE_SIGADDSET 1
17343 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17344 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17345 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17346 echo $ECHO_N "(cached) $ECHO_C" >&6
17348 cat >conftest.$ac_ext <<_ACEOF
17351 cat confdefs.h >>conftest.$ac_ext
17352 cat >>conftest.$ac_ext <<_ACEOF
17353 /* end confdefs.h. */
17361 struct hostent *result;
17368 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17369 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17375 rm -f conftest.$ac_objext conftest$ac_exeext
17376 if { (ac_try="$ac_link"
17377 case "(($ac_try" in
17378 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17379 *) ac_try_echo
=$ac_try;;
17381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17382 (eval "$ac_link") 2>conftest.er1
17384 grep -v '^ *+' conftest.er1
>conftest.err
17386 cat conftest.err
>&5
17387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388 (exit $ac_status); } && {
17389 test -z "$ac_c_werror_flag" ||
17390 test ! -s conftest.err
17391 } && test -s conftest
$ac_exeext &&
17392 $as_test_x conftest
$ac_exeext; then
17393 wine_cv_linux_gethostbyname_r_6
=yes
17395 echo "$as_me: failed program was:" >&5
17396 sed 's/^/| /' conftest.
$ac_ext >&5
17398 wine_cv_linux_gethostbyname_r_6
=no
17402 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17403 conftest
$ac_exeext conftest.
$ac_ext
17406 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17407 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17408 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17411 cat >>confdefs.h
<<\_ACEOF
17412 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17417 if test "$ac_cv_header_linux_joystick_h" = "yes"
17419 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17420 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17421 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17422 echo $ECHO_N "(cached) $ECHO_C" >&6
17424 cat >conftest.
$ac_ext <<_ACEOF
17427 cat confdefs.h
>>conftest.
$ac_ext
17428 cat >>conftest.
$ac_ext <<_ACEOF
17429 /* end confdefs.h. */
17431 #include <sys/ioctl.h>
17432 #include <sys/types.h>
17433 #include <linux/joystick.h>
17435 struct js_event blub;
17436 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17437 #error "no 2.2 header"
17448 rm -f conftest.
$ac_objext
17449 if { (ac_try
="$ac_compile"
17450 case "(($ac_try" in
17451 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17452 *) ac_try_echo=$ac_try;;
17454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17455 (eval "$ac_compile") 2>conftest.er1
17457 grep -v '^ *+' conftest.er1 >conftest.err
17459 cat conftest.err >&5
17460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461 (exit $ac_status); } && {
17462 test -z "$ac_c_werror_flag" ||
17463 test ! -s conftest.err
17464 } && test -s conftest.$ac_objext; then
17465 wine_cv_linux_joystick_22_api=yes
17467 echo "$as_me: failed program was:" >&5
17468 sed 's/^/| /' conftest.$ac_ext >&5
17470 wine_cv_linux_joystick_22_api=no
17473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17476 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17477 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17478 if test "$wine_cv_linux_joystick_22_api" = "yes"
17481 cat >>confdefs.h <<\_ACEOF
17482 #define HAVE_LINUX_22_JOYSTICK_API 1
17489 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17490 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17491 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17492 echo $ECHO_N "(cached) $ECHO_C" >&6
17494 cat >conftest.$ac_ext <<_ACEOF
17497 cat confdefs.h >>conftest.$ac_ext
17498 cat >>conftest.$ac_ext <<_ACEOF
17499 /* end confdefs.h. */
17500 #include <sys/types.h>
17501 #ifdef HAVE_SYS_PARAM_H
17502 # include <sys/param.h>
17504 #ifdef HAVE_SYS_MOUNT_H
17505 # include <sys/mount.h>
17507 #ifdef HAVE_SYS_VFS_H
17508 # include <sys/vfs.h>
17510 #ifdef HAVE_SYS_STATFS_H
17511 # include <sys/statfs.h>
17517 static struct statfs ac_aggr;
17518 if (ac_aggr.f_bfree)
17524 rm -f conftest.$ac_objext
17525 if { (ac_try="$ac_compile"
17526 case "(($ac_try" in
17527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17528 *) ac_try_echo
=$ac_try;;
17530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17531 (eval "$ac_compile") 2>conftest.er1
17533 grep -v '^ *+' conftest.er1
>conftest.err
17535 cat conftest.err
>&5
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); } && {
17538 test -z "$ac_c_werror_flag" ||
17539 test ! -s conftest.err
17540 } && test -s conftest.
$ac_objext; then
17541 ac_cv_member_struct_statfs_f_bfree
=yes
17543 echo "$as_me: failed program was:" >&5
17544 sed 's/^/| /' conftest.
$ac_ext >&5
17546 cat >conftest.
$ac_ext <<_ACEOF
17549 cat confdefs.h
>>conftest.
$ac_ext
17550 cat >>conftest.
$ac_ext <<_ACEOF
17551 /* end confdefs.h. */
17552 #include <sys/types.h>
17553 #ifdef HAVE_SYS_PARAM_H
17554 # include <sys/param.h>
17556 #ifdef HAVE_SYS_MOUNT_H
17557 # include <sys/mount.h>
17559 #ifdef HAVE_SYS_VFS_H
17560 # include <sys/vfs.h>
17562 #ifdef HAVE_SYS_STATFS_H
17563 # include <sys/statfs.h>
17569 static struct statfs ac_aggr;
17570 if (sizeof ac_aggr.f_bfree)
17576 rm -f conftest.
$ac_objext
17577 if { (ac_try
="$ac_compile"
17578 case "(($ac_try" in
17579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17580 *) ac_try_echo=$ac_try;;
17582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17583 (eval "$ac_compile") 2>conftest.er1
17585 grep -v '^ *+' conftest.er1 >conftest.err
17587 cat conftest.err >&5
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); } && {
17590 test -z "$ac_c_werror_flag" ||
17591 test ! -s conftest.err
17592 } && test -s conftest.$ac_objext; then
17593 ac_cv_member_struct_statfs_f_bfree=yes
17595 echo "$as_me: failed program was:" >&5
17596 sed 's/^/| /' conftest.$ac_ext >&5
17598 ac_cv_member_struct_statfs_f_bfree=no
17601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17606 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17607 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17608 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17610 cat >>confdefs.h <<_ACEOF
17611 #define HAVE_STRUCT_STATFS_F_BFREE 1
17616 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17617 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17618 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17619 echo $ECHO_N "(cached) $ECHO_C" >&6
17621 cat >conftest.$ac_ext <<_ACEOF
17624 cat confdefs.h >>conftest.$ac_ext
17625 cat >>conftest.$ac_ext <<_ACEOF
17626 /* end confdefs.h. */
17627 #include <sys/types.h>
17628 #ifdef HAVE_SYS_PARAM_H
17629 # include <sys/param.h>
17631 #ifdef HAVE_SYS_MOUNT_H
17632 # include <sys/mount.h>
17634 #ifdef HAVE_SYS_VFS_H
17635 # include <sys/vfs.h>
17637 #ifdef HAVE_SYS_STATFS_H
17638 # include <sys/statfs.h>
17644 static struct statfs ac_aggr;
17645 if (ac_aggr.f_bavail)
17651 rm -f conftest.$ac_objext
17652 if { (ac_try="$ac_compile"
17653 case "(($ac_try" in
17654 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17655 *) ac_try_echo
=$ac_try;;
17657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17658 (eval "$ac_compile") 2>conftest.er1
17660 grep -v '^ *+' conftest.er1
>conftest.err
17662 cat conftest.err
>&5
17663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17664 (exit $ac_status); } && {
17665 test -z "$ac_c_werror_flag" ||
17666 test ! -s conftest.err
17667 } && test -s conftest.
$ac_objext; then
17668 ac_cv_member_struct_statfs_f_bavail
=yes
17670 echo "$as_me: failed program was:" >&5
17671 sed 's/^/| /' conftest.
$ac_ext >&5
17673 cat >conftest.
$ac_ext <<_ACEOF
17676 cat confdefs.h
>>conftest.
$ac_ext
17677 cat >>conftest.
$ac_ext <<_ACEOF
17678 /* end confdefs.h. */
17679 #include <sys/types.h>
17680 #ifdef HAVE_SYS_PARAM_H
17681 # include <sys/param.h>
17683 #ifdef HAVE_SYS_MOUNT_H
17684 # include <sys/mount.h>
17686 #ifdef HAVE_SYS_VFS_H
17687 # include <sys/vfs.h>
17689 #ifdef HAVE_SYS_STATFS_H
17690 # include <sys/statfs.h>
17696 static struct statfs ac_aggr;
17697 if (sizeof ac_aggr.f_bavail)
17703 rm -f conftest.
$ac_objext
17704 if { (ac_try
="$ac_compile"
17705 case "(($ac_try" in
17706 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17707 *) ac_try_echo=$ac_try;;
17709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17710 (eval "$ac_compile") 2>conftest.er1
17712 grep -v '^ *+' conftest.er1 >conftest.err
17714 cat conftest.err >&5
17715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716 (exit $ac_status); } && {
17717 test -z "$ac_c_werror_flag" ||
17718 test ! -s conftest.err
17719 } && test -s conftest.$ac_objext; then
17720 ac_cv_member_struct_statfs_f_bavail=yes
17722 echo "$as_me: failed program was:" >&5
17723 sed 's/^/| /' conftest.$ac_ext >&5
17725 ac_cv_member_struct_statfs_f_bavail=no
17728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17733 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17734 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17735 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17737 cat >>confdefs.h <<_ACEOF
17738 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17743 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17744 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17745 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17746 echo $ECHO_N "(cached) $ECHO_C" >&6
17748 cat >conftest.$ac_ext <<_ACEOF
17751 cat confdefs.h >>conftest.$ac_ext
17752 cat >>conftest.$ac_ext <<_ACEOF
17753 /* end confdefs.h. */
17754 #include <sys/types.h>
17755 #ifdef HAVE_SYS_PARAM_H
17756 # include <sys/param.h>
17758 #ifdef HAVE_SYS_MOUNT_H
17759 # include <sys/mount.h>
17761 #ifdef HAVE_SYS_VFS_H
17762 # include <sys/vfs.h>
17764 #ifdef HAVE_SYS_STATFS_H
17765 # include <sys/statfs.h>
17771 static struct statfs ac_aggr;
17772 if (ac_aggr.f_frsize)
17778 rm -f conftest.$ac_objext
17779 if { (ac_try="$ac_compile"
17780 case "(($ac_try" in
17781 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17782 *) ac_try_echo
=$ac_try;;
17784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17785 (eval "$ac_compile") 2>conftest.er1
17787 grep -v '^ *+' conftest.er1
>conftest.err
17789 cat conftest.err
>&5
17790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17791 (exit $ac_status); } && {
17792 test -z "$ac_c_werror_flag" ||
17793 test ! -s conftest.err
17794 } && test -s conftest.
$ac_objext; then
17795 ac_cv_member_struct_statfs_f_frsize
=yes
17797 echo "$as_me: failed program was:" >&5
17798 sed 's/^/| /' conftest.
$ac_ext >&5
17800 cat >conftest.
$ac_ext <<_ACEOF
17803 cat confdefs.h
>>conftest.
$ac_ext
17804 cat >>conftest.
$ac_ext <<_ACEOF
17805 /* end confdefs.h. */
17806 #include <sys/types.h>
17807 #ifdef HAVE_SYS_PARAM_H
17808 # include <sys/param.h>
17810 #ifdef HAVE_SYS_MOUNT_H
17811 # include <sys/mount.h>
17813 #ifdef HAVE_SYS_VFS_H
17814 # include <sys/vfs.h>
17816 #ifdef HAVE_SYS_STATFS_H
17817 # include <sys/statfs.h>
17823 static struct statfs ac_aggr;
17824 if (sizeof ac_aggr.f_frsize)
17830 rm -f conftest.
$ac_objext
17831 if { (ac_try
="$ac_compile"
17832 case "(($ac_try" in
17833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17834 *) ac_try_echo=$ac_try;;
17836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17837 (eval "$ac_compile") 2>conftest.er1
17839 grep -v '^ *+' conftest.er1 >conftest.err
17841 cat conftest.err >&5
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843 (exit $ac_status); } && {
17844 test -z "$ac_c_werror_flag" ||
17845 test ! -s conftest.err
17846 } && test -s conftest.$ac_objext; then
17847 ac_cv_member_struct_statfs_f_frsize=yes
17849 echo "$as_me: failed program was:" >&5
17850 sed 's/^/| /' conftest.$ac_ext >&5
17852 ac_cv_member_struct_statfs_f_frsize=no
17855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17860 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17861 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17862 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17864 cat >>confdefs.h <<_ACEOF
17865 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17870 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17871 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17872 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17873 echo $ECHO_N "(cached) $ECHO_C" >&6
17875 cat >conftest.$ac_ext <<_ACEOF
17878 cat confdefs.h >>conftest.$ac_ext
17879 cat >>conftest.$ac_ext <<_ACEOF
17880 /* end confdefs.h. */
17881 #include <sys/types.h>
17882 #ifdef HAVE_SYS_PARAM_H
17883 # include <sys/param.h>
17885 #ifdef HAVE_SYS_MOUNT_H
17886 # include <sys/mount.h>
17888 #ifdef HAVE_SYS_VFS_H
17889 # include <sys/vfs.h>
17891 #ifdef HAVE_SYS_STATFS_H
17892 # include <sys/statfs.h>
17898 static struct statfs ac_aggr;
17899 if (ac_aggr.f_ffree)
17905 rm -f conftest.$ac_objext
17906 if { (ac_try="$ac_compile"
17907 case "(($ac_try" in
17908 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17909 *) ac_try_echo
=$ac_try;;
17911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17912 (eval "$ac_compile") 2>conftest.er1
17914 grep -v '^ *+' conftest.er1
>conftest.err
17916 cat conftest.err
>&5
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); } && {
17919 test -z "$ac_c_werror_flag" ||
17920 test ! -s conftest.err
17921 } && test -s conftest.
$ac_objext; then
17922 ac_cv_member_struct_statfs_f_ffree
=yes
17924 echo "$as_me: failed program was:" >&5
17925 sed 's/^/| /' conftest.
$ac_ext >&5
17927 cat >conftest.
$ac_ext <<_ACEOF
17930 cat confdefs.h
>>conftest.
$ac_ext
17931 cat >>conftest.
$ac_ext <<_ACEOF
17932 /* end confdefs.h. */
17933 #include <sys/types.h>
17934 #ifdef HAVE_SYS_PARAM_H
17935 # include <sys/param.h>
17937 #ifdef HAVE_SYS_MOUNT_H
17938 # include <sys/mount.h>
17940 #ifdef HAVE_SYS_VFS_H
17941 # include <sys/vfs.h>
17943 #ifdef HAVE_SYS_STATFS_H
17944 # include <sys/statfs.h>
17950 static struct statfs ac_aggr;
17951 if (sizeof ac_aggr.f_ffree)
17957 rm -f conftest.
$ac_objext
17958 if { (ac_try
="$ac_compile"
17959 case "(($ac_try" in
17960 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17961 *) ac_try_echo=$ac_try;;
17963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17964 (eval "$ac_compile") 2>conftest.er1
17966 grep -v '^ *+' conftest.er1 >conftest.err
17968 cat conftest.err >&5
17969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17970 (exit $ac_status); } && {
17971 test -z "$ac_c_werror_flag" ||
17972 test ! -s conftest.err
17973 } && test -s conftest.$ac_objext; then
17974 ac_cv_member_struct_statfs_f_ffree=yes
17976 echo "$as_me: failed program was:" >&5
17977 sed 's/^/| /' conftest.$ac_ext >&5
17979 ac_cv_member_struct_statfs_f_ffree=no
17982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17987 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
17988 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
17989 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
17991 cat >>confdefs.h <<_ACEOF
17992 #define HAVE_STRUCT_STATFS_F_FFREE 1
17997 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
17998 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
17999 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18000 echo $ECHO_N "(cached) $ECHO_C" >&6
18002 cat >conftest.$ac_ext <<_ACEOF
18005 cat confdefs.h >>conftest.$ac_ext
18006 cat >>conftest.$ac_ext <<_ACEOF
18007 /* end confdefs.h. */
18008 #include <sys/types.h>
18009 #ifdef HAVE_SYS_PARAM_H
18010 # include <sys/param.h>
18012 #ifdef HAVE_SYS_MOUNT_H
18013 # include <sys/mount.h>
18015 #ifdef HAVE_SYS_VFS_H
18016 # include <sys/vfs.h>
18018 #ifdef HAVE_SYS_STATFS_H
18019 # include <sys/statfs.h>
18025 static struct statfs ac_aggr;
18026 if (ac_aggr.f_favail)
18032 rm -f conftest.$ac_objext
18033 if { (ac_try="$ac_compile"
18034 case "(($ac_try" in
18035 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18036 *) ac_try_echo
=$ac_try;;
18038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18039 (eval "$ac_compile") 2>conftest.er1
18041 grep -v '^ *+' conftest.er1
>conftest.err
18043 cat conftest.err
>&5
18044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18045 (exit $ac_status); } && {
18046 test -z "$ac_c_werror_flag" ||
18047 test ! -s conftest.err
18048 } && test -s conftest.
$ac_objext; then
18049 ac_cv_member_struct_statfs_f_favail
=yes
18051 echo "$as_me: failed program was:" >&5
18052 sed 's/^/| /' conftest.
$ac_ext >&5
18054 cat >conftest.
$ac_ext <<_ACEOF
18057 cat confdefs.h
>>conftest.
$ac_ext
18058 cat >>conftest.
$ac_ext <<_ACEOF
18059 /* end confdefs.h. */
18060 #include <sys/types.h>
18061 #ifdef HAVE_SYS_PARAM_H
18062 # include <sys/param.h>
18064 #ifdef HAVE_SYS_MOUNT_H
18065 # include <sys/mount.h>
18067 #ifdef HAVE_SYS_VFS_H
18068 # include <sys/vfs.h>
18070 #ifdef HAVE_SYS_STATFS_H
18071 # include <sys/statfs.h>
18077 static struct statfs ac_aggr;
18078 if (sizeof ac_aggr.f_favail)
18084 rm -f conftest.
$ac_objext
18085 if { (ac_try
="$ac_compile"
18086 case "(($ac_try" in
18087 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18088 *) ac_try_echo=$ac_try;;
18090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18091 (eval "$ac_compile") 2>conftest.er1
18093 grep -v '^ *+' conftest.er1 >conftest.err
18095 cat conftest.err >&5
18096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097 (exit $ac_status); } && {
18098 test -z "$ac_c_werror_flag" ||
18099 test ! -s conftest.err
18100 } && test -s conftest.$ac_objext; then
18101 ac_cv_member_struct_statfs_f_favail=yes
18103 echo "$as_me: failed program was:" >&5
18104 sed 's/^/| /' conftest.$ac_ext >&5
18106 ac_cv_member_struct_statfs_f_favail=no
18109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18114 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18115 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18116 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18118 cat >>confdefs.h <<_ACEOF
18119 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18124 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18125 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18126 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18127 echo $ECHO_N "(cached) $ECHO_C" >&6
18129 cat >conftest.$ac_ext <<_ACEOF
18132 cat confdefs.h >>conftest.$ac_ext
18133 cat >>conftest.$ac_ext <<_ACEOF
18134 /* end confdefs.h. */
18135 #include <sys/types.h>
18136 #ifdef HAVE_SYS_PARAM_H
18137 # include <sys/param.h>
18139 #ifdef HAVE_SYS_MOUNT_H
18140 # include <sys/mount.h>
18142 #ifdef HAVE_SYS_VFS_H
18143 # include <sys/vfs.h>
18145 #ifdef HAVE_SYS_STATFS_H
18146 # include <sys/statfs.h>
18152 static struct statfs ac_aggr;
18153 if (ac_aggr.f_namelen)
18159 rm -f conftest.$ac_objext
18160 if { (ac_try="$ac_compile"
18161 case "(($ac_try" in
18162 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18163 *) ac_try_echo
=$ac_try;;
18165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18166 (eval "$ac_compile") 2>conftest.er1
18168 grep -v '^ *+' conftest.er1
>conftest.err
18170 cat conftest.err
>&5
18171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18172 (exit $ac_status); } && {
18173 test -z "$ac_c_werror_flag" ||
18174 test ! -s conftest.err
18175 } && test -s conftest.
$ac_objext; then
18176 ac_cv_member_struct_statfs_f_namelen
=yes
18178 echo "$as_me: failed program was:" >&5
18179 sed 's/^/| /' conftest.
$ac_ext >&5
18181 cat >conftest.
$ac_ext <<_ACEOF
18184 cat confdefs.h
>>conftest.
$ac_ext
18185 cat >>conftest.
$ac_ext <<_ACEOF
18186 /* end confdefs.h. */
18187 #include <sys/types.h>
18188 #ifdef HAVE_SYS_PARAM_H
18189 # include <sys/param.h>
18191 #ifdef HAVE_SYS_MOUNT_H
18192 # include <sys/mount.h>
18194 #ifdef HAVE_SYS_VFS_H
18195 # include <sys/vfs.h>
18197 #ifdef HAVE_SYS_STATFS_H
18198 # include <sys/statfs.h>
18204 static struct statfs ac_aggr;
18205 if (sizeof ac_aggr.f_namelen)
18211 rm -f conftest.
$ac_objext
18212 if { (ac_try
="$ac_compile"
18213 case "(($ac_try" in
18214 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18215 *) ac_try_echo=$ac_try;;
18217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18218 (eval "$ac_compile") 2>conftest.er1
18220 grep -v '^ *+' conftest.er1 >conftest.err
18222 cat conftest.err >&5
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); } && {
18225 test -z "$ac_c_werror_flag" ||
18226 test ! -s conftest.err
18227 } && test -s conftest.$ac_objext; then
18228 ac_cv_member_struct_statfs_f_namelen=yes
18230 echo "$as_me: failed program was:" >&5
18231 sed 's/^/| /' conftest.$ac_ext >&5
18233 ac_cv_member_struct_statfs_f_namelen=no
18236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18241 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18242 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18243 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18245 cat >>confdefs.h <<_ACEOF
18246 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18253 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18254 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18255 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18256 echo $ECHO_N "(cached) $ECHO_C" >&6
18258 cat >conftest.$ac_ext <<_ACEOF
18261 cat confdefs.h >>conftest.$ac_ext
18262 cat >>conftest.$ac_ext <<_ACEOF
18263 /* end confdefs.h. */
18264 #ifdef HAVE_SYS_STATVFS_H
18265 #include <sys/statvfs.h>
18271 static struct statvfs ac_aggr;
18272 if (ac_aggr.f_blocks)
18278 rm -f conftest.$ac_objext
18279 if { (ac_try="$ac_compile"
18280 case "(($ac_try" in
18281 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18282 *) ac_try_echo
=$ac_try;;
18284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18285 (eval "$ac_compile") 2>conftest.er1
18287 grep -v '^ *+' conftest.er1
>conftest.err
18289 cat conftest.err
>&5
18290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18291 (exit $ac_status); } && {
18292 test -z "$ac_c_werror_flag" ||
18293 test ! -s conftest.err
18294 } && test -s conftest.
$ac_objext; then
18295 ac_cv_member_struct_statvfs_f_blocks
=yes
18297 echo "$as_me: failed program was:" >&5
18298 sed 's/^/| /' conftest.
$ac_ext >&5
18300 cat >conftest.
$ac_ext <<_ACEOF
18303 cat confdefs.h
>>conftest.
$ac_ext
18304 cat >>conftest.
$ac_ext <<_ACEOF
18305 /* end confdefs.h. */
18306 #ifdef HAVE_SYS_STATVFS_H
18307 #include <sys/statvfs.h>
18313 static struct statvfs ac_aggr;
18314 if (sizeof ac_aggr.f_blocks)
18320 rm -f conftest.
$ac_objext
18321 if { (ac_try
="$ac_compile"
18322 case "(($ac_try" in
18323 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18324 *) ac_try_echo=$ac_try;;
18326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18327 (eval "$ac_compile") 2>conftest.er1
18329 grep -v '^ *+' conftest.er1 >conftest.err
18331 cat conftest.err >&5
18332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18333 (exit $ac_status); } && {
18334 test -z "$ac_c_werror_flag" ||
18335 test ! -s conftest.err
18336 } && test -s conftest.$ac_objext; then
18337 ac_cv_member_struct_statvfs_f_blocks=yes
18339 echo "$as_me: failed program was:" >&5
18340 sed 's/^/| /' conftest.$ac_ext >&5
18342 ac_cv_member_struct_statvfs_f_blocks=no
18345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18350 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18351 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18352 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18354 cat >>confdefs.h <<_ACEOF
18355 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18362 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18363 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18364 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18365 echo $ECHO_N "(cached) $ECHO_C" >&6
18367 cat >conftest.$ac_ext <<_ACEOF
18370 cat confdefs.h >>conftest.$ac_ext
18371 cat >>conftest.$ac_ext <<_ACEOF
18372 /* end confdefs.h. */
18373 #include <sys/types.h>
18374 #ifdef HAVE_SYS_SOCKET_H
18375 # include <sys/socket.h>
18377 #ifdef HAVE_SYS_UN_H
18378 # include <sys/un.h>
18384 static struct msghdr ac_aggr;
18385 if (ac_aggr.msg_accrights)
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_msghdr_msg_accrights
=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_SOCKET_H
18421 # include <sys/socket.h>
18423 #ifdef HAVE_SYS_UN_H
18424 # include <sys/un.h>
18430 static struct msghdr ac_aggr;
18431 if (sizeof ac_aggr.msg_accrights)
18437 rm -f conftest.
$ac_objext
18438 if { (ac_try
="$ac_compile"
18439 case "(($ac_try" in
18440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18441 *) ac_try_echo=$ac_try;;
18443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18444 (eval "$ac_compile") 2>conftest.er1
18446 grep -v '^ *+' conftest.er1 >conftest.err
18448 cat conftest.err >&5
18449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450 (exit $ac_status); } && {
18451 test -z "$ac_c_werror_flag" ||
18452 test ! -s conftest.err
18453 } && test -s conftest.$ac_objext; then
18454 ac_cv_member_struct_msghdr_msg_accrights=yes
18456 echo "$as_me: failed program was:" >&5
18457 sed 's/^/| /' conftest.$ac_ext >&5
18459 ac_cv_member_struct_msghdr_msg_accrights=no
18462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18467 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18468 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18469 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18471 cat >>confdefs.h <<_ACEOF
18472 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18477 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18478 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18479 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18480 echo $ECHO_N "(cached) $ECHO_C" >&6
18482 cat >conftest.$ac_ext <<_ACEOF
18485 cat confdefs.h >>conftest.$ac_ext
18486 cat >>conftest.$ac_ext <<_ACEOF
18487 /* end confdefs.h. */
18488 #include <sys/types.h>
18489 #ifdef HAVE_SYS_SOCKET_H
18490 # include <sys/socket.h>
18492 #ifdef HAVE_SYS_UN_H
18493 # include <sys/un.h>
18499 static struct sockaddr ac_aggr;
18500 if (ac_aggr.sa_len)
18506 rm -f conftest.$ac_objext
18507 if { (ac_try="$ac_compile"
18508 case "(($ac_try" in
18509 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18510 *) ac_try_echo
=$ac_try;;
18512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18513 (eval "$ac_compile") 2>conftest.er1
18515 grep -v '^ *+' conftest.er1
>conftest.err
18517 cat conftest.err
>&5
18518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18519 (exit $ac_status); } && {
18520 test -z "$ac_c_werror_flag" ||
18521 test ! -s conftest.err
18522 } && test -s conftest.
$ac_objext; then
18523 ac_cv_member_struct_sockaddr_sa_len
=yes
18525 echo "$as_me: failed program was:" >&5
18526 sed 's/^/| /' conftest.
$ac_ext >&5
18528 cat >conftest.
$ac_ext <<_ACEOF
18531 cat confdefs.h
>>conftest.
$ac_ext
18532 cat >>conftest.
$ac_ext <<_ACEOF
18533 /* end confdefs.h. */
18534 #include <sys/types.h>
18535 #ifdef HAVE_SYS_SOCKET_H
18536 # include <sys/socket.h>
18538 #ifdef HAVE_SYS_UN_H
18539 # include <sys/un.h>
18545 static struct sockaddr ac_aggr;
18546 if (sizeof ac_aggr.sa_len)
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_sockaddr_sa_len=yes
18571 echo "$as_me: failed program was:" >&5
18572 sed 's/^/| /' conftest.$ac_ext >&5
18574 ac_cv_member_struct_sockaddr_sa_len=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_sockaddr_sa_len" >&5
18583 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18584 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18586 cat >>confdefs.h <<_ACEOF
18587 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18592 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18593 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18594 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18595 echo $ECHO_N "(cached) $ECHO_C" >&6
18597 cat >conftest.$ac_ext <<_ACEOF
18600 cat confdefs.h >>conftest.$ac_ext
18601 cat >>conftest.$ac_ext <<_ACEOF
18602 /* end confdefs.h. */
18603 #include <sys/types.h>
18604 #ifdef HAVE_SYS_SOCKET_H
18605 # include <sys/socket.h>
18607 #ifdef HAVE_SYS_UN_H
18608 # include <sys/un.h>
18614 static struct sockaddr_un ac_aggr;
18615 if (ac_aggr.sun_len)
18621 rm -f conftest.$ac_objext
18622 if { (ac_try="$ac_compile"
18623 case "(($ac_try" in
18624 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18625 *) ac_try_echo
=$ac_try;;
18627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18628 (eval "$ac_compile") 2>conftest.er1
18630 grep -v '^ *+' conftest.er1
>conftest.err
18632 cat conftest.err
>&5
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 (exit $ac_status); } && {
18635 test -z "$ac_c_werror_flag" ||
18636 test ! -s conftest.err
18637 } && test -s conftest.
$ac_objext; then
18638 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18640 echo "$as_me: failed program was:" >&5
18641 sed 's/^/| /' conftest.
$ac_ext >&5
18643 cat >conftest.
$ac_ext <<_ACEOF
18646 cat confdefs.h
>>conftest.
$ac_ext
18647 cat >>conftest.
$ac_ext <<_ACEOF
18648 /* end confdefs.h. */
18649 #include <sys/types.h>
18650 #ifdef HAVE_SYS_SOCKET_H
18651 # include <sys/socket.h>
18653 #ifdef HAVE_SYS_UN_H
18654 # include <sys/un.h>
18660 static struct sockaddr_un ac_aggr;
18661 if (sizeof ac_aggr.sun_len)
18667 rm -f conftest.
$ac_objext
18668 if { (ac_try
="$ac_compile"
18669 case "(($ac_try" in
18670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18671 *) ac_try_echo=$ac_try;;
18673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18674 (eval "$ac_compile") 2>conftest.er1
18676 grep -v '^ *+' conftest.er1 >conftest.err
18678 cat conftest.err >&5
18679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680 (exit $ac_status); } && {
18681 test -z "$ac_c_werror_flag" ||
18682 test ! -s conftest.err
18683 } && test -s conftest.$ac_objext; then
18684 ac_cv_member_struct_sockaddr_un_sun_len=yes
18686 echo "$as_me: failed program was:" >&5
18687 sed 's/^/| /' conftest.$ac_ext >&5
18689 ac_cv_member_struct_sockaddr_un_sun_len=no
18692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18697 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18698 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18699 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18701 cat >>confdefs.h <<_ACEOF
18702 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18709 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18710 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18711 if test "${ac_cv_member_scsireq_t_cmd+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_SCSI_SG_H
18722 #include <scsi/sg.h>
18728 static scsireq_t ac_aggr;
18735 rm -f conftest.$ac_objext
18736 if { (ac_try="$ac_compile"
18737 case "(($ac_try" in
18738 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18739 *) ac_try_echo
=$ac_try;;
18741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18742 (eval "$ac_compile") 2>conftest.er1
18744 grep -v '^ *+' conftest.er1
>conftest.err
18746 cat conftest.err
>&5
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); } && {
18749 test -z "$ac_c_werror_flag" ||
18750 test ! -s conftest.err
18751 } && test -s conftest.
$ac_objext; then
18752 ac_cv_member_scsireq_t_cmd
=yes
18754 echo "$as_me: failed program was:" >&5
18755 sed 's/^/| /' conftest.
$ac_ext >&5
18757 cat >conftest.
$ac_ext <<_ACEOF
18760 cat confdefs.h
>>conftest.
$ac_ext
18761 cat >>conftest.
$ac_ext <<_ACEOF
18762 /* end confdefs.h. */
18763 #include <sys/types.h>
18764 #ifdef HAVE_SCSI_SG_H
18765 #include <scsi/sg.h>
18771 static scsireq_t ac_aggr;
18772 if (sizeof ac_aggr.cmd)
18778 rm -f conftest.
$ac_objext
18779 if { (ac_try
="$ac_compile"
18780 case "(($ac_try" in
18781 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18782 *) ac_try_echo=$ac_try;;
18784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18785 (eval "$ac_compile") 2>conftest.er1
18787 grep -v '^ *+' conftest.er1 >conftest.err
18789 cat conftest.err >&5
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); } && {
18792 test -z "$ac_c_werror_flag" ||
18793 test ! -s conftest.err
18794 } && test -s conftest.$ac_objext; then
18795 ac_cv_member_scsireq_t_cmd=yes
18797 echo "$as_me: failed program was:" >&5
18798 sed 's/^/| /' conftest.$ac_ext >&5
18800 ac_cv_member_scsireq_t_cmd=no
18803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18808 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18809 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18810 if test $ac_cv_member_scsireq_t_cmd = yes; then
18812 cat >>confdefs.h <<_ACEOF
18813 #define HAVE_SCSIREQ_T_CMD 1
18818 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18819 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18820 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18821 echo $ECHO_N "(cached) $ECHO_C" >&6
18823 cat >conftest.$ac_ext <<_ACEOF
18826 cat confdefs.h >>conftest.$ac_ext
18827 cat >>conftest.$ac_ext <<_ACEOF
18828 /* end confdefs.h. */
18829 #include <sys/types.h>
18830 #ifdef HAVE_SCSI_SG_H
18831 #include <scsi/sg.h>
18837 static sg_io_hdr_t ac_aggr;
18838 if (ac_aggr.interface_id)
18844 rm -f conftest.$ac_objext
18845 if { (ac_try="$ac_compile"
18846 case "(($ac_try" in
18847 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18848 *) ac_try_echo
=$ac_try;;
18850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18851 (eval "$ac_compile") 2>conftest.er1
18853 grep -v '^ *+' conftest.er1
>conftest.err
18855 cat conftest.err
>&5
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); } && {
18858 test -z "$ac_c_werror_flag" ||
18859 test ! -s conftest.err
18860 } && test -s conftest.
$ac_objext; then
18861 ac_cv_member_sg_io_hdr_t_interface_id
=yes
18863 echo "$as_me: failed program was:" >&5
18864 sed 's/^/| /' conftest.
$ac_ext >&5
18866 cat >conftest.
$ac_ext <<_ACEOF
18869 cat confdefs.h
>>conftest.
$ac_ext
18870 cat >>conftest.
$ac_ext <<_ACEOF
18871 /* end confdefs.h. */
18872 #include <sys/types.h>
18873 #ifdef HAVE_SCSI_SG_H
18874 #include <scsi/sg.h>
18880 static sg_io_hdr_t ac_aggr;
18881 if (sizeof ac_aggr.interface_id)
18887 rm -f conftest.
$ac_objext
18888 if { (ac_try
="$ac_compile"
18889 case "(($ac_try" in
18890 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18891 *) ac_try_echo=$ac_try;;
18893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18894 (eval "$ac_compile") 2>conftest.er1
18896 grep -v '^ *+' conftest.er1 >conftest.err
18898 cat conftest.err >&5
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); } && {
18901 test -z "$ac_c_werror_flag" ||
18902 test ! -s conftest.err
18903 } && test -s conftest.$ac_objext; then
18904 ac_cv_member_sg_io_hdr_t_interface_id=yes
18906 echo "$as_me: failed program was:" >&5
18907 sed 's/^/| /' conftest.$ac_ext >&5
18909 ac_cv_member_sg_io_hdr_t_interface_id=no
18912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18917 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
18918 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
18919 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
18921 cat >>confdefs.h <<_ACEOF
18922 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18929 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
18930 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
18931 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
18932 echo $ECHO_N "(cached) $ECHO_C" >&6
18934 cat >conftest.$ac_ext <<_ACEOF
18937 cat confdefs.h >>conftest.$ac_ext
18938 cat >>conftest.$ac_ext <<_ACEOF
18939 /* end confdefs.h. */
18940 #include <signal.h>
18945 static siginfo_t ac_aggr;
18952 rm -f conftest.$ac_objext
18953 if { (ac_try="$ac_compile"
18954 case "(($ac_try" in
18955 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18956 *) ac_try_echo
=$ac_try;;
18958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18959 (eval "$ac_compile") 2>conftest.er1
18961 grep -v '^ *+' conftest.er1
>conftest.err
18963 cat conftest.err
>&5
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); } && {
18966 test -z "$ac_c_werror_flag" ||
18967 test ! -s conftest.err
18968 } && test -s conftest.
$ac_objext; then
18969 ac_cv_member_siginfo_t_si_fd
=yes
18971 echo "$as_me: failed program was:" >&5
18972 sed 's/^/| /' conftest.
$ac_ext >&5
18974 cat >conftest.
$ac_ext <<_ACEOF
18977 cat confdefs.h
>>conftest.
$ac_ext
18978 cat >>conftest.
$ac_ext <<_ACEOF
18979 /* end confdefs.h. */
18980 #include <signal.h>
18985 static siginfo_t ac_aggr;
18986 if (sizeof ac_aggr.si_fd)
18992 rm -f conftest.
$ac_objext
18993 if { (ac_try
="$ac_compile"
18994 case "(($ac_try" in
18995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18996 *) ac_try_echo=$ac_try;;
18998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18999 (eval "$ac_compile") 2>conftest.er1
19001 grep -v '^ *+' conftest.er1 >conftest.err
19003 cat conftest.err >&5
19004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19005 (exit $ac_status); } && {
19006 test -z "$ac_c_werror_flag" ||
19007 test ! -s conftest.err
19008 } && test -s conftest.$ac_objext; then
19009 ac_cv_member_siginfo_t_si_fd=yes
19011 echo "$as_me: failed program was:" >&5
19012 sed 's/^/| /' conftest.$ac_ext >&5
19014 ac_cv_member_siginfo_t_si_fd=no
19017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19022 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19023 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19024 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19026 cat >>confdefs.h <<_ACEOF
19027 #define HAVE_SIGINFO_T_SI_FD 1
19034 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19035 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19036 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19037 echo $ECHO_N "(cached) $ECHO_C" >&6
19039 cat >conftest.$ac_ext <<_ACEOF
19042 cat confdefs.h >>conftest.$ac_ext
19043 cat >>conftest.$ac_ext <<_ACEOF
19044 /* end confdefs.h. */
19045 #include <sys/types.h>
19046 #ifdef HAVE_SYS_MTIO_H
19047 #include <sys/mtio.h>
19053 static struct mtget ac_aggr;
19054 if (ac_aggr.mt_blksiz)
19060 rm -f conftest.$ac_objext
19061 if { (ac_try="$ac_compile"
19062 case "(($ac_try" in
19063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19064 *) ac_try_echo
=$ac_try;;
19066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19067 (eval "$ac_compile") 2>conftest.er1
19069 grep -v '^ *+' conftest.er1
>conftest.err
19071 cat conftest.err
>&5
19072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073 (exit $ac_status); } && {
19074 test -z "$ac_c_werror_flag" ||
19075 test ! -s conftest.err
19076 } && test -s conftest.
$ac_objext; then
19077 ac_cv_member_struct_mtget_mt_blksiz
=yes
19079 echo "$as_me: failed program was:" >&5
19080 sed 's/^/| /' conftest.
$ac_ext >&5
19082 cat >conftest.
$ac_ext <<_ACEOF
19085 cat confdefs.h
>>conftest.
$ac_ext
19086 cat >>conftest.
$ac_ext <<_ACEOF
19087 /* end confdefs.h. */
19088 #include <sys/types.h>
19089 #ifdef HAVE_SYS_MTIO_H
19090 #include <sys/mtio.h>
19096 static struct mtget ac_aggr;
19097 if (sizeof ac_aggr.mt_blksiz)
19103 rm -f conftest.
$ac_objext
19104 if { (ac_try
="$ac_compile"
19105 case "(($ac_try" in
19106 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19107 *) ac_try_echo=$ac_try;;
19109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19110 (eval "$ac_compile") 2>conftest.er1
19112 grep -v '^ *+' conftest.er1 >conftest.err
19114 cat conftest.err >&5
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); } && {
19117 test -z "$ac_c_werror_flag" ||
19118 test ! -s conftest.err
19119 } && test -s conftest.$ac_objext; then
19120 ac_cv_member_struct_mtget_mt_blksiz=yes
19122 echo "$as_me: failed program was:" >&5
19123 sed 's/^/| /' conftest.$ac_ext >&5
19125 ac_cv_member_struct_mtget_mt_blksiz=no
19128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19133 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19134 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19135 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19137 cat >>confdefs.h <<_ACEOF
19138 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19143 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19144 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19145 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19146 echo $ECHO_N "(cached) $ECHO_C" >&6
19148 cat >conftest.$ac_ext <<_ACEOF
19151 cat confdefs.h >>conftest.$ac_ext
19152 cat >>conftest.$ac_ext <<_ACEOF
19153 /* end confdefs.h. */
19154 #include <sys/types.h>
19155 #ifdef HAVE_SYS_MTIO_H
19156 #include <sys/mtio.h>
19162 static struct mtget ac_aggr;
19163 if (ac_aggr.mt_gstat)
19169 rm -f conftest.$ac_objext
19170 if { (ac_try="$ac_compile"
19171 case "(($ac_try" in
19172 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19173 *) ac_try_echo
=$ac_try;;
19175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19176 (eval "$ac_compile") 2>conftest.er1
19178 grep -v '^ *+' conftest.er1
>conftest.err
19180 cat conftest.err
>&5
19181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19182 (exit $ac_status); } && {
19183 test -z "$ac_c_werror_flag" ||
19184 test ! -s conftest.err
19185 } && test -s conftest.
$ac_objext; then
19186 ac_cv_member_struct_mtget_mt_gstat
=yes
19188 echo "$as_me: failed program was:" >&5
19189 sed 's/^/| /' conftest.
$ac_ext >&5
19191 cat >conftest.
$ac_ext <<_ACEOF
19194 cat confdefs.h
>>conftest.
$ac_ext
19195 cat >>conftest.
$ac_ext <<_ACEOF
19196 /* end confdefs.h. */
19197 #include <sys/types.h>
19198 #ifdef HAVE_SYS_MTIO_H
19199 #include <sys/mtio.h>
19205 static struct mtget ac_aggr;
19206 if (sizeof ac_aggr.mt_gstat)
19212 rm -f conftest.
$ac_objext
19213 if { (ac_try
="$ac_compile"
19214 case "(($ac_try" in
19215 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19216 *) ac_try_echo=$ac_try;;
19218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19219 (eval "$ac_compile") 2>conftest.er1
19221 grep -v '^ *+' conftest.er1 >conftest.err
19223 cat conftest.err >&5
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); } && {
19226 test -z "$ac_c_werror_flag" ||
19227 test ! -s conftest.err
19228 } && test -s conftest.$ac_objext; then
19229 ac_cv_member_struct_mtget_mt_gstat=yes
19231 echo "$as_me: failed program was:" >&5
19232 sed 's/^/| /' conftest.$ac_ext >&5
19234 ac_cv_member_struct_mtget_mt_gstat=no
19237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19242 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19243 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19244 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19246 cat >>confdefs.h <<_ACEOF
19247 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19252 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19253 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19254 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19255 echo $ECHO_N "(cached) $ECHO_C" >&6
19257 cat >conftest.$ac_ext <<_ACEOF
19260 cat confdefs.h >>conftest.$ac_ext
19261 cat >>conftest.$ac_ext <<_ACEOF
19262 /* end confdefs.h. */
19263 #include <sys/types.h>
19264 #ifdef HAVE_SYS_MTIO_H
19265 #include <sys/mtio.h>
19271 static struct mtget ac_aggr;
19272 if (ac_aggr.mt_blkno)
19278 rm -f conftest.$ac_objext
19279 if { (ac_try="$ac_compile"
19280 case "(($ac_try" in
19281 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19282 *) ac_try_echo
=$ac_try;;
19284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19285 (eval "$ac_compile") 2>conftest.er1
19287 grep -v '^ *+' conftest.er1
>conftest.err
19289 cat conftest.err
>&5
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); } && {
19292 test -z "$ac_c_werror_flag" ||
19293 test ! -s conftest.err
19294 } && test -s conftest.
$ac_objext; then
19295 ac_cv_member_struct_mtget_mt_blkno
=yes
19297 echo "$as_me: failed program was:" >&5
19298 sed 's/^/| /' conftest.
$ac_ext >&5
19300 cat >conftest.
$ac_ext <<_ACEOF
19303 cat confdefs.h
>>conftest.
$ac_ext
19304 cat >>conftest.
$ac_ext <<_ACEOF
19305 /* end confdefs.h. */
19306 #include <sys/types.h>
19307 #ifdef HAVE_SYS_MTIO_H
19308 #include <sys/mtio.h>
19314 static struct mtget ac_aggr;
19315 if (sizeof ac_aggr.mt_blkno)
19321 rm -f conftest.
$ac_objext
19322 if { (ac_try
="$ac_compile"
19323 case "(($ac_try" in
19324 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19325 *) ac_try_echo=$ac_try;;
19327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19328 (eval "$ac_compile") 2>conftest.er1
19330 grep -v '^ *+' conftest.er1 >conftest.err
19332 cat conftest.err >&5
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); } && {
19335 test -z "$ac_c_werror_flag" ||
19336 test ! -s conftest.err
19337 } && test -s conftest.$ac_objext; then
19338 ac_cv_member_struct_mtget_mt_blkno=yes
19340 echo "$as_me: failed program was:" >&5
19341 sed 's/^/| /' conftest.$ac_ext >&5
19343 ac_cv_member_struct_mtget_mt_blkno=no
19346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19351 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19352 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19353 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19355 cat >>confdefs.h <<_ACEOF
19356 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19363 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19364 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19365 if test "${ac_cv_member_struct_option_name+set}" = set; then
19366 echo $ECHO_N "(cached) $ECHO_C" >&6
19368 cat >conftest.$ac_ext <<_ACEOF
19371 cat confdefs.h >>conftest.$ac_ext
19372 cat >>conftest.$ac_ext <<_ACEOF
19373 /* end confdefs.h. */
19374 #ifdef HAVE_GETOPT_H
19375 #include <getopt.h>
19381 static struct option ac_aggr;
19388 rm -f conftest.$ac_objext
19389 if { (ac_try="$ac_compile"
19390 case "(($ac_try" in
19391 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19392 *) ac_try_echo
=$ac_try;;
19394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19395 (eval "$ac_compile") 2>conftest.er1
19397 grep -v '^ *+' conftest.er1
>conftest.err
19399 cat conftest.err
>&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); } && {
19402 test -z "$ac_c_werror_flag" ||
19403 test ! -s conftest.err
19404 } && test -s conftest.
$ac_objext; then
19405 ac_cv_member_struct_option_name
=yes
19407 echo "$as_me: failed program was:" >&5
19408 sed 's/^/| /' conftest.
$ac_ext >&5
19410 cat >conftest.
$ac_ext <<_ACEOF
19413 cat confdefs.h
>>conftest.
$ac_ext
19414 cat >>conftest.
$ac_ext <<_ACEOF
19415 /* end confdefs.h. */
19416 #ifdef HAVE_GETOPT_H
19417 #include <getopt.h>
19423 static struct option ac_aggr;
19424 if (sizeof ac_aggr.name)
19430 rm -f conftest.
$ac_objext
19431 if { (ac_try
="$ac_compile"
19432 case "(($ac_try" in
19433 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19434 *) ac_try_echo=$ac_try;;
19436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19437 (eval "$ac_compile") 2>conftest.er1
19439 grep -v '^ *+' conftest.er1 >conftest.err
19441 cat conftest.err >&5
19442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19443 (exit $ac_status); } && {
19444 test -z "$ac_c_werror_flag" ||
19445 test ! -s conftest.err
19446 } && test -s conftest.$ac_objext; then
19447 ac_cv_member_struct_option_name=yes
19449 echo "$as_me: failed program was:" >&5
19450 sed 's/^/| /' conftest.$ac_ext >&5
19452 ac_cv_member_struct_option_name=no
19455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19460 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19461 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19462 if test $ac_cv_member_struct_option_name = yes; then
19464 cat >>confdefs.h <<_ACEOF
19465 #define HAVE_STRUCT_OPTION_NAME 1
19472 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19473 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19474 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19475 echo $ECHO_N "(cached) $ECHO_C" >&6
19477 cat >conftest.$ac_ext <<_ACEOF
19480 cat confdefs.h >>conftest.$ac_ext
19481 cat >>conftest.$ac_ext <<_ACEOF
19482 /* end confdefs.h. */
19483 $ac_includes_default
19487 static struct stat ac_aggr;
19488 if (ac_aggr.st_blocks)
19494 rm -f conftest.$ac_objext
19495 if { (ac_try="$ac_compile"
19496 case "(($ac_try" in
19497 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19498 *) ac_try_echo
=$ac_try;;
19500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19501 (eval "$ac_compile") 2>conftest.er1
19503 grep -v '^ *+' conftest.er1
>conftest.err
19505 cat conftest.err
>&5
19506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19507 (exit $ac_status); } && {
19508 test -z "$ac_c_werror_flag" ||
19509 test ! -s conftest.err
19510 } && test -s conftest.
$ac_objext; then
19511 ac_cv_member_struct_stat_st_blocks
=yes
19513 echo "$as_me: failed program was:" >&5
19514 sed 's/^/| /' conftest.
$ac_ext >&5
19516 cat >conftest.
$ac_ext <<_ACEOF
19519 cat confdefs.h
>>conftest.
$ac_ext
19520 cat >>conftest.
$ac_ext <<_ACEOF
19521 /* end confdefs.h. */
19522 $ac_includes_default
19526 static struct stat ac_aggr;
19527 if (sizeof ac_aggr.st_blocks)
19533 rm -f conftest.
$ac_objext
19534 if { (ac_try
="$ac_compile"
19535 case "(($ac_try" in
19536 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19537 *) ac_try_echo=$ac_try;;
19539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19540 (eval "$ac_compile") 2>conftest.er1
19542 grep -v '^ *+' conftest.er1 >conftest.err
19544 cat conftest.err >&5
19545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546 (exit $ac_status); } && {
19547 test -z "$ac_c_werror_flag" ||
19548 test ! -s conftest.err
19549 } && test -s conftest.$ac_objext; then
19550 ac_cv_member_struct_stat_st_blocks=yes
19552 echo "$as_me: failed program was:" >&5
19553 sed 's/^/| /' conftest.$ac_ext >&5
19555 ac_cv_member_struct_stat_st_blocks=no
19558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19563 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19564 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19565 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19567 cat >>confdefs.h <<_ACEOF
19568 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19575 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19576 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19577 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19578 echo $ECHO_N "(cached) $ECHO_C" >&6
19580 cat >conftest.$ac_ext <<_ACEOF
19583 cat confdefs.h >>conftest.$ac_ext
19584 cat >>conftest.$ac_ext <<_ACEOF
19585 /* end confdefs.h. */
19586 #ifdef HAVE_SYS_TYPES_H
19587 #include <sys/types.h>
19589 #ifdef HAVE_NETINET_IN_H
19590 #include <netinet/in.h>
19596 static struct sockaddr_in6 ac_aggr;
19597 if (ac_aggr.sin6_scope_id)
19603 rm -f conftest.$ac_objext
19604 if { (ac_try="$ac_compile"
19605 case "(($ac_try" in
19606 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19607 *) ac_try_echo
=$ac_try;;
19609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19610 (eval "$ac_compile") 2>conftest.er1
19612 grep -v '^ *+' conftest.er1
>conftest.err
19614 cat conftest.err
>&5
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); } && {
19617 test -z "$ac_c_werror_flag" ||
19618 test ! -s conftest.err
19619 } && test -s conftest.
$ac_objext; then
19620 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
19622 echo "$as_me: failed program was:" >&5
19623 sed 's/^/| /' conftest.
$ac_ext >&5
19625 cat >conftest.
$ac_ext <<_ACEOF
19628 cat confdefs.h
>>conftest.
$ac_ext
19629 cat >>conftest.
$ac_ext <<_ACEOF
19630 /* end confdefs.h. */
19631 #ifdef HAVE_SYS_TYPES_H
19632 #include <sys/types.h>
19634 #ifdef HAVE_NETINET_IN_H
19635 #include <netinet/in.h>
19641 static struct sockaddr_in6 ac_aggr;
19642 if (sizeof ac_aggr.sin6_scope_id)
19648 rm -f conftest.
$ac_objext
19649 if { (ac_try
="$ac_compile"
19650 case "(($ac_try" in
19651 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19652 *) ac_try_echo=$ac_try;;
19654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19655 (eval "$ac_compile") 2>conftest.er1
19657 grep -v '^ *+' conftest.er1 >conftest.err
19659 cat conftest.err >&5
19660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19661 (exit $ac_status); } && {
19662 test -z "$ac_c_werror_flag" ||
19663 test ! -s conftest.err
19664 } && test -s conftest.$ac_objext; then
19665 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19667 echo "$as_me: failed program was:" >&5
19668 sed 's/^/| /' conftest.$ac_ext >&5
19670 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19678 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19679 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19680 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19682 cat >>confdefs.h <<_ACEOF
19683 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19690 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19691 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19692 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19693 echo $ECHO_N "(cached) $ECHO_C" >&6
19695 cat >conftest.$ac_ext <<_ACEOF
19698 cat confdefs.h >>conftest.$ac_ext
19699 cat >>conftest.$ac_ext <<_ACEOF
19700 /* end confdefs.h. */
19701 #ifdef HAVE_SYS_TYPES_H
19702 #include <sys/types.h>
19704 #ifdef HAVE_NETINET_IN_H
19705 # include <netinet/in.h>
19707 #ifdef HAVE_ARPA_NAMESER_H
19708 # include <arpa/nameser.h>
19714 static ns_msg ac_aggr;
19715 if (ac_aggr._msg_ptr)
19721 rm -f conftest.$ac_objext
19722 if { (ac_try="$ac_compile"
19723 case "(($ac_try" in
19724 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19725 *) ac_try_echo
=$ac_try;;
19727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19728 (eval "$ac_compile") 2>conftest.er1
19730 grep -v '^ *+' conftest.er1
>conftest.err
19732 cat conftest.err
>&5
19733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19734 (exit $ac_status); } && {
19735 test -z "$ac_c_werror_flag" ||
19736 test ! -s conftest.err
19737 } && test -s conftest.
$ac_objext; then
19738 ac_cv_member_ns_msg__msg_ptr
=yes
19740 echo "$as_me: failed program was:" >&5
19741 sed 's/^/| /' conftest.
$ac_ext >&5
19743 cat >conftest.
$ac_ext <<_ACEOF
19746 cat confdefs.h
>>conftest.
$ac_ext
19747 cat >>conftest.
$ac_ext <<_ACEOF
19748 /* end confdefs.h. */
19749 #ifdef HAVE_SYS_TYPES_H
19750 #include <sys/types.h>
19752 #ifdef HAVE_NETINET_IN_H
19753 # include <netinet/in.h>
19755 #ifdef HAVE_ARPA_NAMESER_H
19756 # include <arpa/nameser.h>
19762 static ns_msg ac_aggr;
19763 if (sizeof ac_aggr._msg_ptr)
19769 rm -f conftest.
$ac_objext
19770 if { (ac_try
="$ac_compile"
19771 case "(($ac_try" in
19772 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19773 *) ac_try_echo=$ac_try;;
19775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19776 (eval "$ac_compile") 2>conftest.er1
19778 grep -v '^ *+' conftest.er1 >conftest.err
19780 cat conftest.err >&5
19781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782 (exit $ac_status); } && {
19783 test -z "$ac_c_werror_flag" ||
19784 test ! -s conftest.err
19785 } && test -s conftest.$ac_objext; then
19786 ac_cv_member_ns_msg__msg_ptr=yes
19788 echo "$as_me: failed program was:" >&5
19789 sed 's/^/| /' conftest.$ac_ext >&5
19791 ac_cv_member_ns_msg__msg_ptr=no
19794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19799 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19800 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19801 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19803 cat >>confdefs.h <<_ACEOF
19804 #define HAVE_NS_MSG__MSG_PTR 1
19811 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19812 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19813 if test "${ac_cv_have_timezone+set}" = set; then
19814 echo $ECHO_N "(cached) $ECHO_C" >&6
19816 cat >conftest.$ac_ext <<_ACEOF
19819 cat confdefs.h >>conftest.$ac_ext
19820 cat >>conftest.$ac_ext <<_ACEOF
19821 /* end confdefs.h. */
19831 rm -f conftest.$ac_objext conftest$ac_exeext
19832 if { (ac_try="$ac_link"
19833 case "(($ac_try" in
19834 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19835 *) ac_try_echo
=$ac_try;;
19837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19838 (eval "$ac_link") 2>conftest.er1
19840 grep -v '^ *+' conftest.er1
>conftest.err
19842 cat conftest.err
>&5
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); } && {
19845 test -z "$ac_c_werror_flag" ||
19846 test ! -s conftest.err
19847 } && test -s conftest
$ac_exeext &&
19848 $as_test_x conftest
$ac_exeext; then
19849 ac_cv_have_timezone
="yes"
19851 echo "$as_me: failed program was:" >&5
19852 sed 's/^/| /' conftest.
$ac_ext >&5
19854 ac_cv_have_timezone
="no"
19857 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19858 conftest
$ac_exeext conftest.
$ac_ext
19860 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19861 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19862 if test "$ac_cv_have_timezone" = "yes"
19865 cat >>confdefs.h
<<\_ACEOF
19866 #define HAVE_TIMEZONE 1
19870 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19871 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19872 if test "${ac_cv_have_daylight+set}" = set; then
19873 echo $ECHO_N "(cached) $ECHO_C" >&6
19875 cat >conftest.
$ac_ext <<_ACEOF
19878 cat confdefs.h
>>conftest.
$ac_ext
19879 cat >>conftest.
$ac_ext <<_ACEOF
19880 /* end confdefs.h. */
19890 rm -f conftest.
$ac_objext conftest
$ac_exeext
19891 if { (ac_try
="$ac_link"
19892 case "(($ac_try" in
19893 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19894 *) ac_try_echo=$ac_try;;
19896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19897 (eval "$ac_link") 2>conftest.er1
19899 grep -v '^ *+' conftest.er1 >conftest.err
19901 cat conftest.err >&5
19902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); } && {
19904 test -z "$ac_c_werror_flag" ||
19905 test ! -s conftest.err
19906 } && test -s conftest$ac_exeext &&
19907 $as_test_x conftest$ac_exeext; then
19908 ac_cv_have_daylight="yes"
19910 echo "$as_me: failed program was:" >&5
19911 sed 's/^/| /' conftest.$ac_ext >&5
19913 ac_cv_have_daylight="no"
19916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19917 conftest$ac_exeext conftest.$ac_ext
19919 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
19920 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
19921 if test "$ac_cv_have_daylight" = "yes"
19924 cat >>confdefs.h <<\_ACEOF
19925 #define HAVE_DAYLIGHT 1
19932 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19933 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
19934 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19935 echo $ECHO_N "(cached) $ECHO_C" >&6
19937 cat >conftest.$ac_ext <<_ACEOF
19940 cat confdefs.h >>conftest.$ac_ext
19941 cat >>conftest.$ac_ext <<_ACEOF
19942 /* end confdefs.h. */
19947 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19948 $EGREP "yes" >/dev/null 2>&1; then
19949 ac_cv_cpp_def___i386__=yes
19951 ac_cv_cpp_def___i386__=no
19956 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19957 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
19958 if test $ac_cv_cpp_def___i386__ = yes; then
19959 CFLAGS="$CFLAGS -D__i386__"
19960 LINTFLAGS="$LINTFLAGS -D__i386__"
19963 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
19964 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
19965 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
19966 echo $ECHO_N "(cached) $ECHO_C" >&6
19968 cat >conftest.$ac_ext <<_ACEOF
19971 cat confdefs.h >>conftest.$ac_ext
19972 cat >>conftest.$ac_ext <<_ACEOF
19973 /* end confdefs.h. */
19978 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19979 $EGREP "yes" >/dev/null 2>&1; then
19980 ac_cv_cpp_def___x86_64__=yes
19982 ac_cv_cpp_def___x86_64__=no
19987 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
19988 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
19989 if test $ac_cv_cpp_def___x86_64__ = yes; then
19990 CFLAGS="$CFLAGS -D__x86_64__"
19991 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19994 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
19995 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
19996 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
19997 echo $ECHO_N "(cached) $ECHO_C" >&6
19999 cat >conftest.$ac_ext <<_ACEOF
20002 cat confdefs.h >>conftest.$ac_ext
20003 cat >>conftest.$ac_ext <<_ACEOF
20004 /* end confdefs.h. */
20009 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20010 $EGREP "yes" >/dev/null 2>&1; then
20011 ac_cv_cpp_def___ALPHA__=yes
20013 ac_cv_cpp_def___ALPHA__=no
20018 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20019 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20020 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20021 CFLAGS="$CFLAGS -D__ALPHA__"
20022 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20025 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20026 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20027 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20028 echo $ECHO_N "(cached) $ECHO_C" >&6
20030 cat >conftest.$ac_ext <<_ACEOF
20033 cat confdefs.h >>conftest.$ac_ext
20034 cat >>conftest.$ac_ext <<_ACEOF
20035 /* end confdefs.h. */
20040 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20041 $EGREP "yes" >/dev/null 2>&1; then
20042 ac_cv_cpp_def___sparc__=yes
20044 ac_cv_cpp_def___sparc__=no
20049 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20050 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20051 if test $ac_cv_cpp_def___sparc__ = yes; then
20052 CFLAGS="$CFLAGS -D__sparc__"
20053 LINTFLAGS="$LINTFLAGS -D__sparc__"
20056 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20057 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20058 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20059 echo $ECHO_N "(cached) $ECHO_C" >&6
20061 cat >conftest.$ac_ext <<_ACEOF
20064 cat confdefs.h >>conftest.$ac_ext
20065 cat >>conftest.$ac_ext <<_ACEOF
20066 /* end confdefs.h. */
20067 #ifndef __powerpc__
20071 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20072 $EGREP "yes" >/dev/null 2>&1; then
20073 ac_cv_cpp_def___powerpc__=yes
20075 ac_cv_cpp_def___powerpc__=no
20080 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20081 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20082 if test $ac_cv_cpp_def___powerpc__ = yes; then
20083 CFLAGS="$CFLAGS -D__powerpc__"
20084 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20089 case $host_vendor in
20090 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20091 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20092 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20093 echo $ECHO_N "(cached) $ECHO_C" >&6
20095 cat >conftest.$ac_ext <<_ACEOF
20098 cat confdefs.h >>conftest.$ac_ext
20099 cat >>conftest.$ac_ext <<_ACEOF
20100 /* end confdefs.h. */
20105 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20106 $EGREP "yes" >/dev/null 2>&1; then
20107 ac_cv_cpp_def___sun__=yes
20109 ac_cv_cpp_def___sun__=no
20114 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20115 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20116 if test $ac_cv_cpp_def___sun__ = yes; then
20117 CFLAGS="$CFLAGS -D__sun__"
20118 LINTFLAGS="$LINTFLAGS -D__sun__"
20124 DEPENDENCIES="### Dependencies:
20129 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20131 \$(OBJS): \$(IDL_GEN_HEADERS)
20132 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20133 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20134 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20140 ac_config_commands="$ac_config_commands include/stamp-h"
20143 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20145 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20147 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20149 ac_config_commands="$ac_config_commands dlls/user32/resources"
20151 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20153 ac_config_commands="$ac_config_commands include/wine"
20156 MAKE_RULES=Make.rules
20159 MAKE_DLL_RULES=dlls/Makedll.rules
20162 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20165 MAKE_TEST_RULES=dlls/Maketest.rules
20168 MAKE_PROG_RULES=programs/Makeprog.rules
20171 ac_config_files="$ac_config_files Make.rules"
20173 ac_config_files="$ac_config_files dlls/Makedll.rules"
20175 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20177 ac_config_files="$ac_config_files dlls/Maketest.rules"
20179 ac_config_files="$ac_config_files programs/Makeprog.rules"
20181 ac_config_files="$ac_config_files Makefile"
20183 ac_config_files="$ac_config_files dlls/Makefile"
20185 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20187 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20189 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20191 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20193 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20195 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20197 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20199 ac_config_files="$ac_config_files dlls/atl/Makefile"
20201 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20203 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20205 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20207 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20209 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20211 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20213 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20215 ac_config_files="$ac_config_files dlls/cards/Makefile"
20217 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20219 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20221 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20223 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20225 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20227 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20229 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20231 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20233 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20235 ac_config_files="$ac_config_files dlls/credui/Makefile"
20237 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20239 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20241 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20243 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20245 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20247 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20249 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20251 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20253 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20255 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20257 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20259 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20261 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20263 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20265 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20267 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20269 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20271 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20273 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20275 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20277 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20279 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20281 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20283 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20285 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20287 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20289 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20291 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20293 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20295 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20297 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20299 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20301 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20303 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20305 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20307 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20309 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20311 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20313 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20315 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20317 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20319 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20321 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20323 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20325 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20327 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20329 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20331 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20333 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20335 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20337 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20339 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20341 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20343 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20345 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20347 ac_config_files="$ac_config_files dlls/hal/Makefile"
20349 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20351 ac_config_files="$ac_config_files dlls/hid/Makefile"
20353 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20355 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20357 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20359 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20361 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20363 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20365 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20367 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20369 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20371 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20373 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20375 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20377 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20379 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20381 ac_config_files="$ac_config_files dlls/itss/Makefile"
20383 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20385 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20387 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20389 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20391 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20393 ac_config_files="$ac_config_files dlls/localui/Makefile"
20395 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20397 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20399 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20401 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20403 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20405 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20407 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20409 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20411 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20413 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20415 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20417 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20419 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20421 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20423 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20425 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20427 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20429 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20431 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20433 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20435 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20437 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20439 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20441 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20443 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20445 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20447 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20449 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20451 ac_config_files="$ac_config_files dlls/msi/Makefile"
20453 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20455 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20457 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20459 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20461 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20463 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20465 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20467 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20469 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20471 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20473 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20475 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20477 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20479 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20481 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20483 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20485 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20487 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20489 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20491 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20493 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20495 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20497 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20499 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20501 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20503 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20505 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20507 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20509 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20511 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20513 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20515 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20517 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20519 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20521 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20523 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20525 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20527 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20529 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20531 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20533 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20535 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20537 ac_config_files="$ac_config_files dlls/printui/Makefile"
20539 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20541 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20543 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20545 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20547 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20549 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20551 ac_config_files="$ac_config_files dlls/query/Makefile"
20553 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20555 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20557 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20559 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20561 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20563 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20565 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20567 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20569 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20571 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20573 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20575 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20577 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20579 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20581 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20583 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20585 ac_config_files="$ac_config_files dlls/security/Makefile"
20587 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20589 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20591 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20593 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20595 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20597 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20599 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20601 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20603 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20605 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20607 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20609 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20611 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20613 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20615 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20617 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20619 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20621 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20623 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20625 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20627 ac_config_files="$ac_config_files dlls/sti/Makefile"
20629 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20631 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20633 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20635 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20637 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20639 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20641 ac_config_files="$ac_config_files dlls/url/Makefile"
20643 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20645 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20647 ac_config_files="$ac_config_files dlls/user32/Makefile"
20649 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20651 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20653 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20655 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20657 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20659 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20661 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20663 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20665 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20667 ac_config_files="$ac_config_files dlls/version/Makefile"
20669 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20671 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20673 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20675 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20677 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20679 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20681 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20683 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20685 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20687 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20689 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20691 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20693 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20695 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20697 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20699 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20701 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20703 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20705 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20707 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20709 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20711 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20713 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20715 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20717 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20719 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20721 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20723 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20725 ac_config_files="$ac_config_files dlls/winscard/Makefile"
20727 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20729 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20731 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20733 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20735 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20737 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20739 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20741 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20743 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20745 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20747 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20749 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20751 ac_config_files="$ac_config_files documentation/Makefile"
20753 ac_config_files="$ac_config_files fonts/Makefile"
20755 ac_config_files="$ac_config_files include/Makefile"
20757 ac_config_files="$ac_config_files libs/Makefile"
20759 ac_config_files="$ac_config_files libs/port/Makefile"
20761 ac_config_files="$ac_config_files libs/wine/Makefile"
20763 ac_config_files="$ac_config_files libs/wpp/Makefile"
20765 ac_config_files="$ac_config_files loader/Makefile"
20767 ac_config_files="$ac_config_files programs/Makefile"
20769 ac_config_files="$ac_config_files programs/clock/Makefile"
20771 ac_config_files="$ac_config_files programs/cmd/Makefile"
20773 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20775 ac_config_files="$ac_config_files programs/control/Makefile"
20777 ac_config_files="$ac_config_files programs/eject/Makefile"
20779 ac_config_files="$ac_config_files programs/expand/Makefile"
20781 ac_config_files="$ac_config_files programs/explorer/Makefile"
20783 ac_config_files="$ac_config_files programs/hh/Makefile"
20785 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20787 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20789 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20791 ac_config_files="$ac_config_files programs/net/Makefile"
20793 ac_config_files="$ac_config_files programs/notepad/Makefile"
20795 ac_config_files="$ac_config_files programs/oleview/Makefile"
20797 ac_config_files="$ac_config_files programs/progman/Makefile"
20799 ac_config_files="$ac_config_files programs/regedit/Makefile"
20801 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20803 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20805 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20807 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20809 ac_config_files="$ac_config_files programs/start/Makefile"
20811 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20813 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20815 ac_config_files="$ac_config_files programs/view/Makefile"
20817 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20819 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20821 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20823 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20825 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20827 ac_config_files="$ac_config_files programs/winedevice/Makefile"
20829 ac_config_files="$ac_config_files programs/winefile/Makefile"
20831 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20833 ac_config_files="$ac_config_files programs/winemine/Makefile"
20835 ac_config_files="$ac_config_files programs/winepath/Makefile"
20837 ac_config_files="$ac_config_files programs/winetest/Makefile"
20839 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20841 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20843 ac_config_files="$ac_config_files programs/winver/Makefile"
20845 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20847 ac_config_files="$ac_config_files programs/xcopy/Makefile"
20849 ac_config_files="$ac_config_files server/Makefile"
20851 ac_config_files="$ac_config_files tools/Makefile"
20853 ac_config_files="$ac_config_files tools/widl/Makefile"
20855 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20857 ac_config_files="$ac_config_files tools/winedump/Makefile"
20859 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20861 ac_config_files="$ac_config_files tools/wmc/Makefile"
20863 ac_config_files="$ac_config_files tools/wrc/Makefile"
20866 cat >confcache <<\_ACEOF
20867 # This file is a shell script that caches the results of configure
20868 # tests run on this system so they can be shared between configure
20869 # scripts and configure runs, see configure's option --config-cache.
20870 # It is not useful on other systems. If it contains results you don't
20871 # want to keep, you may remove or edit it.
20873 # config.status only pays attention to the cache file if you give it
20874 # the --recheck option to rerun configure.
20876 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
20877 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20878 # following values.
20882 # The following way of writing the cache mishandles newlines in values,
20883 # but we know of no workaround that is simple, portable, and efficient.
20884 # So, we kill variables containing newlines.
20885 # Ultrix sh set writes to stderr and can't be redirected directly,
20886 # and sets the high bit in the cache file unless we assign to the vars.
20888 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20889 eval ac_val
=\$
$ac_var
20893 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20894 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20897 _ | IFS | as_nl
) ;; #(
20898 *) $as_unset $ac_var ;;
20904 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20905 *${as_nl}ac_space
=\
*)
20906 # `set' does not quote correctly, so add quotes (double-quote
20907 # substitution turns \\\\ into \\, and sed turns \\ into \).
20910 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20913 # `set' quotes correctly as required by POSIX, so do not add quotes.
20914 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20923 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20925 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20927 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20928 if test -w "$cache_file"; then
20929 test "x$cache_file" != "x/dev/null" &&
20930 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20931 echo "$as_me: updating cache $cache_file" >&6;}
20932 cat confcache
>$cache_file
20934 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20935 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20940 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20941 # Let make expand exec_prefix.
20942 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20944 DEFS
=-DHAVE_CONFIG_H
20948 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20949 # 1. Remove the extension, and $U if already installed.
20950 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20951 ac_i
=`echo "$ac_i" | sed "$ac_script"`
20952 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20953 # will be set to the directory where LIBOBJS objects are built.
20954 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20955 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20957 LIBOBJS
=$ac_libobjs
20959 LTLIBOBJS
=$ac_ltlibobjs
20963 : ${CONFIG_STATUS=./config.status}
20964 ac_clean_files_save
=$ac_clean_files
20965 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20966 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20967 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20968 cat >$CONFIG_STATUS <<_ACEOF
20970 # Generated by $as_me.
20971 # Run this file to recreate the current configuration.
20972 # Compiler output produced by configure, useful for debugging
20973 # configure, is in config.log if it exists.
20976 ac_cs_recheck=false
20978 SHELL=\${CONFIG_SHELL-$SHELL}
20981 cat >>$CONFIG_STATUS <<\_ACEOF
20982 ## --------------------- ##
20983 ## M4sh Initialization. ##
20984 ## --------------------- ##
20986 # Be more Bourne compatible
20987 DUALCASE
=1; export DUALCASE
# for MKS sh
20988 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20991 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20992 # is contrary to our usage. Disable this feature.
20993 alias -g '${1+"$@"}'='"$@"'
20994 setopt NO_GLOB_SUBST
20996 case `(set -o) 2>/dev/null` in
20997 *posix
*) set -o posix
;;
21006 # Avoid depending upon Character Ranges.
21007 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21008 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21009 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21010 as_cr_digits
='0123456789'
21011 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21013 # The user is always right.
21014 if test "${PATH_SEPARATOR+set}" != set; then
21015 echo "#! /bin/sh" >conf$$.sh
21016 echo "exit 0" >>conf$$.sh
21018 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21026 # Support unset when possible.
21027 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21035 # We need space, tab and new line, in precisely that order. Quoting is
21036 # there to prevent editors from complaining about space-tab.
21037 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21038 # splitting by setting IFS to empty value.)
21043 # Find who we are. Look in the path if we contain no directory separator.
21045 *[\\/]* ) as_myself
=$0 ;;
21046 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21047 for as_dir
in $PATH
21050 test -z "$as_dir" && as_dir
=.
21051 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21057 # We did not find ourselves, most probably we were run as `sh COMMAND'
21058 # in which case we are not to be found in the path.
21059 if test "x$as_myself" = x
; then
21062 if test ! -f "$as_myself"; then
21063 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21064 { (exit 1); exit 1; }
21067 # Work around bugs in pre-3.0 UWIN ksh.
21068 for as_var
in ENV MAIL MAILPATH
21069 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21077 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21078 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21079 LC_TELEPHONE LC_TIME
21081 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21082 eval $as_var=C
; export $as_var
21084 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21088 # Required to use basename.
21089 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21090 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21096 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21097 as_basename
=basename
21103 # Name of the executable.
21104 as_me
=`$as_basename -- "$0" ||
21105 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21106 X"$0" : 'X\(//\)$' \| \
21107 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21109 sed '/^.*\/\([^/][^/]*\)\/*$/{
21128 as_lineno_1
=$LINENO
21129 as_lineno_2
=$LINENO
21130 test "x$as_lineno_1" != "x$as_lineno_2" &&
21131 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21133 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21134 # uniformly replaced by the line number. The first 'sed' inserts a
21135 # line-number line after each line using $LINENO; the second 'sed'
21136 # does the real work. The second script uses 'N' to pair each
21137 # line-number line with the line containing $LINENO, and appends
21138 # trailing '-' during substitution so that $LINENO is not a special
21139 # case at line end.
21140 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21141 # scripts with optimization help from Paolo Bonzini. Blame Lee
21142 # E. McMahon (1931-1989) for sed's syntax. :-)
21154 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21157 ' >$as_me.lineno
&&
21158 chmod +x
"$as_me.lineno" ||
21159 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21160 { (exit 1); exit 1; }; }
21162 # Don't try to exec as it changes $[0], causing all sort of problems
21163 # (the dirname of $[0] is not the place where we might find the
21164 # original and so on. Autoconf is especially sensitive to this).
21165 .
"./$as_me.lineno"
21166 # Exit status is that of the last command.
21171 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21177 ECHO_C
= ECHO_N
= ECHO_T
=
21178 case `echo -n x` in
21180 case `echo 'x\c'` in
21181 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21188 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21189 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21195 rm -f conf$$ conf$$.exe conf$$.
file
21196 if test -d conf$$.dir
; then
21197 rm -f conf$$.dir
/conf$$.
file
21203 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21205 # ... but there are two gotchas:
21206 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21207 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21208 # In both cases, we have to default to `cp -p'.
21209 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21216 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21217 rmdir conf$$.dir
2>/dev
/null
21219 if mkdir
-p .
2>/dev
/null
; then
21222 test -d .
/-p && rmdir .
/-p
21226 if test -x / >/dev
/null
2>&1; then
21227 as_test_x
='test -x'
21229 if ls -dL / >/dev
/null
2>&1; then
21236 if test -d "$1"; then
21242 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21243 ???[sx]*):;;*)false;;esac;fi
21247 as_executable_p
=$as_test_x
21249 # Sed expression to map a string onto a valid CPP name.
21250 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21252 # Sed expression to map a string onto a valid variable name.
21253 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21258 # Save the log message, to keep $[0] and so on meaningful, and to
21259 # report actual input values of CONFIG_FILES etc. instead of their
21260 # values after options handling.
21262 This file was extended by Wine $as_me 0.9.40, which was
21263 generated by GNU Autoconf 2.61. Invocation command line was
21265 CONFIG_FILES = $CONFIG_FILES
21266 CONFIG_HEADERS = $CONFIG_HEADERS
21267 CONFIG_LINKS = $CONFIG_LINKS
21268 CONFIG_COMMANDS = $CONFIG_COMMANDS
21271 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21276 cat >>$CONFIG_STATUS <<_ACEOF
21277 # Files that config.status was made for.
21278 config_files="$ac_config_files"
21279 config_headers="$ac_config_headers"
21280 config_commands="$ac_config_commands"
21284 cat >>$CONFIG_STATUS <<\_ACEOF
21286 \`$as_me' instantiates files from templates according to the
21287 current configuration.
21289 Usage: $0 [OPTIONS] [FILE]...
21291 -h, --help print this help, then exit
21292 -V, --version print version number and configuration settings, then exit
21293 -q, --quiet do not print progress messages
21294 -d, --debug don't remove temporary files
21295 --recheck update $as_me by reconfiguring in the same conditions
21296 --file=FILE[:TEMPLATE]
21297 instantiate the configuration file FILE
21298 --header=FILE[:TEMPLATE]
21299 instantiate the configuration header FILE
21301 Configuration files:
21304 Configuration headers:
21307 Configuration commands:
21310 Report bugs to <bug-autoconf@gnu.org>."
21313 cat >>$CONFIG_STATUS <<_ACEOF
21315 Wine config.status 0.9.40
21316 configured by $0, generated by GNU Autoconf 2.61,
21317 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21319 Copyright (C) 2006 Free Software Foundation, Inc.
21320 This config.status script is free software; the Free Software Foundation
21321 gives unlimited permission to copy, distribute and modify it."
21328 cat >>$CONFIG_STATUS <<\_ACEOF
21329 # If no file are specified by the user, then we need to provide default
21330 # value. By we need to know if files were specified by the user.
21336 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21337 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21348 # Handling of the options.
21349 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21351 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21352 echo "$ac_cs_version"; exit ;;
21353 --debug |
--debu |
--deb |
--de |
--d |
-d )
21355 --file |
--fil |
--fi |
--f )
21357 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21358 ac_need_defaults
=false
;;
21359 --header |
--heade |
--head |
--hea )
21361 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21362 ac_need_defaults
=false
;;
21364 # Conflict between --help and --header
21365 { echo "$as_me: error: ambiguous option: $1
21366 Try \`$0 --help' for more information." >&2
21367 { (exit 1); exit 1; }; };;
21368 --help |
--hel |
-h )
21369 echo "$ac_cs_usage"; exit ;;
21370 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21371 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21374 # This is an error.
21375 -*) { echo "$as_me: error: unrecognized option: $1
21376 Try \`$0 --help' for more information." >&2
21377 { (exit 1); exit 1; }; } ;;
21379 *) ac_config_targets
="$ac_config_targets $1"
21380 ac_need_defaults
=false
;;
21386 ac_configure_extra_args
=
21388 if $ac_cs_silent; then
21390 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21394 cat >>$CONFIG_STATUS <<_ACEOF
21395 if \$ac_cs_recheck; then
21396 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21397 CONFIG_SHELL=$SHELL
21398 export CONFIG_SHELL
21399 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21403 cat >>$CONFIG_STATUS <<\_ACEOF
21407 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21408 ## Running $as_me. ##
21414 cat >>$CONFIG_STATUS <<_ACEOF
21417 cat >>$CONFIG_STATUS <<\_ACEOF
21419 # Handling of arguments.
21420 for ac_config_target
in $ac_config_targets
21422 case $ac_config_target in
21423 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
21424 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
21425 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21426 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21427 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21428 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
21429 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21430 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
21431 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
21432 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
21433 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21434 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
21435 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
21436 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21437 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
21438 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
21439 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
21440 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21441 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21442 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
21443 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21444 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
21445 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
21446 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21447 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21448 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
21449 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21450 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21451 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21452 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21453 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
21454 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21455 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21456 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
21457 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21458 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21459 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21460 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21461 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21462 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
21463 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
21464 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21465 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21466 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21467 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21468 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21469 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21470 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21471 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21472 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21473 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21474 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21475 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21476 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21477 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21478 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21479 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21480 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21481 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21482 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21483 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21484 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
21485 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
21486 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21487 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21488 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
21489 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21490 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
21491 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21492 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21493 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21494 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21495 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21496 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21497 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21498 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21499 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
21500 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21501 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21502 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21503 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21504 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21505 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
21506 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21507 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
21508 "dlls/dwmapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21509 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21510 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21511 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21512 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21513 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21514 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21515 "dlls/gdiplus/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21516 "dlls/gdiplus/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21517 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
21518 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21519 "dlls/hal/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hal/Makefile" ;;
21520 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21521 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
21522 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
21523 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21524 "dlls/hnetcfg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21525 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21526 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
21527 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21528 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21529 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21530 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
21531 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21532 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21533 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
21534 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21535 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21536 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
21537 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21538 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21539 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21540 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
21541 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21542 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
21543 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21544 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
21545 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21546 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21547 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21548 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21549 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21550 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21551 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21552 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
21553 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
21554 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21555 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21556 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21557 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
21558 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21559 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21560 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21561 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21562 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21563 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
21564 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21565 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21566 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21567 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21568 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21569 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21570 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21571 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
21572 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21573 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21574 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21575 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21576 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21577 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21578 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21579 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21580 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21581 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21582 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21583 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21584 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21585 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21586 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21587 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21588 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21589 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21590 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21591 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
21592 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21593 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21594 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21595 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21596 "dlls/ntprint/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21597 "dlls/ntprint/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21598 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
21599 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21600 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21601 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21602 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
21603 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21604 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21605 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21606 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21607 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21608 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21609 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21610 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21611 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21612 "dlls/pdh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/Makefile" ;;
21613 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21614 "dlls/printui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/printui/Makefile" ;;
21615 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
21616 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21617 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21618 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
21619 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
21620 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21621 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
21622 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21623 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
21624 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
21625 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21626 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
21627 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21628 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21629 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21630 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21631 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21632 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21633 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21634 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
21635 "dlls/schannel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21636 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
21637 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21638 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
21639 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21640 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
21641 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21642 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21643 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21644 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
21645 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21646 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21647 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21648 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21649 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
21650 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21651 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21652 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21653 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21654 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21655 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21656 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21657 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21658 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21659 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
21660 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21661 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21662 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
21663 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21664 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21665 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
21666 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
21667 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21668 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21669 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
21670 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21671 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
21672 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
21673 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21674 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
21675 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21676 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21677 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21678 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21679 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
21680 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21681 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21682 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21683 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21684 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21685 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21686 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21687 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21688 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21689 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21690 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21691 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21692 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
21693 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21694 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21695 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21696 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21697 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21698 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21699 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21700 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21701 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21702 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
21703 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
21704 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21705 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
21706 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21707 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21708 "dlls/winscard/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winscard/Makefile" ;;
21709 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21710 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21711 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21712 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21713 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21714 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21715 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21716 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
21717 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21718 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21719 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21720 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21721 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
21722 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
21723 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
21724 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
21725 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
21726 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
21727 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
21728 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
21729 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
21730 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
21731 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
21732 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21733 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
21734 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
21735 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
21736 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
21737 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
21738 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
21739 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
21740 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
21741 "programs/net/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/net/Makefile" ;;
21742 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
21743 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
21744 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
21745 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
21746 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21747 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
21748 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
21749 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21750 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
21751 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21752 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21753 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
21754 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
21755 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21756 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
21757 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21758 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
21759 "programs/winedevice/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedevice/Makefile" ;;
21760 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
21761 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21762 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
21763 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
21764 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
21765 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
21766 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
21767 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
21768 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
21769 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
21770 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
21771 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
21772 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
21773 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
21774 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
21775 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
21776 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
21777 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
21779 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21780 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21781 { (exit 1); exit 1; }; };;
21786 # If the user did not use the arguments to specify the items to instantiate,
21787 # then the envvar interface is used. Set only those that are not.
21788 # We use the long form for the default assignment because of an extremely
21789 # bizarre bug on SunOS 4.1.3.
21790 if $ac_need_defaults; then
21791 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21792 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21793 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21796 # Have a temporary directory for convenience. Make it in the build tree
21797 # simply because there is no reason against having it here, and in addition,
21798 # creating and moving files from /tmp can sometimes cause problems.
21799 # Hook for its removal unless debugging.
21800 # Note that there is a small window in which the directory will not be cleaned:
21801 # after its creation but before its name has been assigned to `$tmp'.
21805 trap 'exit_status=$?
21806 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21808 trap '{ (exit 1); exit 1; }' 1 2 13 15
21810 # Create a (secure) tmp directory for tmp files.
21813 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21814 test -n "$tmp" && test -d "$tmp"
21817 tmp
=.
/conf$$
-$RANDOM
21818 (umask 077 && mkdir
"$tmp")
21821 echo "$me: cannot create a temporary directory in ." >&2
21822 { (exit 1); exit 1; }
21826 # Set up the sed scripts for CONFIG_FILES section.
21829 # No need to generate the scripts if there are no CONFIG_FILES.
21830 # This happens for instance when ./config.status config.h
21831 if test -n "$CONFIG_FILES"; then
21835 # Create sed commands to just substitute file output variables.
21837 # Remaining file output variables are in a fragment that also has non-file
21843 for ac_last_try
in false false false false false
:; do
21844 cat >conf$
$subs.
sed <<_ACEOF
21845 SHELL!$SHELL$ac_delim
21846 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21847 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21848 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21849 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21850 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21851 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21852 exec_prefix!$exec_prefix$ac_delim
21853 prefix!$prefix$ac_delim
21854 program_transform_name!$program_transform_name$ac_delim
21855 bindir!$bindir$ac_delim
21856 sbindir!$sbindir$ac_delim
21857 libexecdir!$libexecdir$ac_delim
21858 datarootdir!$datarootdir$ac_delim
21859 datadir!$datadir$ac_delim
21860 sysconfdir!$sysconfdir$ac_delim
21861 sharedstatedir!$sharedstatedir$ac_delim
21862 localstatedir!$localstatedir$ac_delim
21863 includedir!$includedir$ac_delim
21864 oldincludedir!$oldincludedir$ac_delim
21865 docdir!$docdir$ac_delim
21866 infodir!$infodir$ac_delim
21867 htmldir!$htmldir$ac_delim
21868 dvidir!$dvidir$ac_delim
21869 pdfdir!$pdfdir$ac_delim
21870 psdir!$psdir$ac_delim
21871 libdir!$libdir$ac_delim
21872 localedir!$localedir$ac_delim
21873 mandir!$mandir$ac_delim
21874 DEFS!$DEFS$ac_delim
21875 ECHO_C!$ECHO_C$ac_delim
21876 ECHO_N!$ECHO_N$ac_delim
21877 ECHO_T!$ECHO_T$ac_delim
21878 LIBS!$LIBS$ac_delim
21879 build_alias!$build_alias$ac_delim
21880 host_alias!$host_alias$ac_delim
21881 target_alias!$target_alias$ac_delim
21882 build!$build$ac_delim
21883 build_cpu!$build_cpu$ac_delim
21884 build_vendor!$build_vendor$ac_delim
21885 build_os!$build_os$ac_delim
21886 host!$host$ac_delim
21887 host_cpu!$host_cpu$ac_delim
21888 host_vendor!$host_vendor$ac_delim
21889 host_os!$host_os$ac_delim
21890 WIN16_FILES!$WIN16_FILES$ac_delim
21891 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21892 SET_MAKE!$SET_MAKE$ac_delim
21894 CFLAGS!$CFLAGS$ac_delim
21895 LDFLAGS!$LDFLAGS$ac_delim
21896 CPPFLAGS!$CPPFLAGS$ac_delim
21897 ac_ct_CC!$ac_ct_CC$ac_delim
21898 EXEEXT!$EXEEXT$ac_delim
21899 OBJEXT!$OBJEXT$ac_delim
21901 CXXFLAGS!$CXXFLAGS$ac_delim
21902 ac_ct_CXX!$ac_ct_CXX$ac_delim
21903 CPPBIN!$CPPBIN$ac_delim
21904 TOOLSDIR!$TOOLSDIR$ac_delim
21905 XMKMF!$XMKMF$ac_delim
21907 X_CFLAGS!$X_CFLAGS$ac_delim
21908 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
21909 X_LIBS!$X_LIBS$ac_delim
21910 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
21911 FLEX!$FLEX$ac_delim
21912 BISON!$BISON$ac_delim
21914 ac_ct_AS!$ac_ct_AS$ac_delim
21917 RANLIB!$RANLIB$ac_delim
21918 STRIP!$STRIP$ac_delim
21919 WINDRES!$WINDRES$ac_delim
21920 LN_S!$LN_S$ac_delim
21922 GREP!$GREP$ac_delim
21923 EGREP!$EGREP$ac_delim
21924 LDCONFIG!$LDCONFIG$ac_delim
21925 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21926 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21929 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
21931 elif $ac_last_try; then
21932 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21933 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21934 { (exit 1); exit 1; }; }
21936 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21940 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21941 if test -n "$ac_eof"; then
21942 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21943 ac_eof
=`expr $ac_eof + 1`
21946 cat >>$CONFIG_STATUS <<_ACEOF
21947 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21948 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21949 /^[ ]*@MAKE_RULES@[ ]*$/{
21953 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
21957 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
21958 r $MAKE_IMPLIB_RULES
21961 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
21965 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
21971 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21972 s/^/s,@/; s/!/@,|#_!!_#|/
21975 s/'"$ac_delim"'$/,g/; t
21977 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21978 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21979 rm -f conf$
$subs.
sed
21980 cat >>$CONFIG_STATUS <<_ACEOF
21986 for ac_last_try
in false false false false false
:; do
21987 cat >conf$
$subs.
sed <<_ACEOF
21988 INSTALL_DATA!$INSTALL_DATA$ac_delim
21989 LINT!$LINT$ac_delim
21990 LINTFLAGS!$LINTFLAGS$ac_delim
21991 FONTFORGE!$FONTFORGE$ac_delim
21992 PKG_CONFIG!$PKG_CONFIG$ac_delim
21993 PRELINK!$PRELINK$ac_delim
21994 LIBPTHREAD!$LIBPTHREAD$ac_delim
21995 XLIB!$XLIB$ac_delim
21996 XFILES!$XFILES$ac_delim
21997 OPENGLFILES!$OPENGLFILES$ac_delim
21998 GLU32FILES!$GLU32FILES$ac_delim
21999 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22000 QUARTZFILES!$QUARTZFILES$ac_delim
22001 DLLEXT!$DLLEXT$ac_delim
22002 DLLFLAGS!$DLLFLAGS$ac_delim
22003 LDSHARED!$LDSHARED$ac_delim
22004 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22005 LIBEXT!$LIBEXT$ac_delim
22006 IMPLIBEXT!$IMPLIBEXT$ac_delim
22007 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22008 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22010 DLLTOOL!$DLLTOOL$ac_delim
22011 DLLWRAP!$DLLWRAP$ac_delim
22012 MINGWAR!$MINGWAR$ac_delim
22013 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22014 IOKITLIB!$IOKITLIB$ac_delim
22015 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22016 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22017 COREAUDIO!$COREAUDIO$ac_delim
22018 CARBONLIB!$CARBONLIB$ac_delim
22019 CROSSTEST!$CROSSTEST$ac_delim
22020 CROSSCC!$CROSSCC$ac_delim
22021 CROSSWINDRES!$CROSSWINDRES$ac_delim
22022 NASLIBS!$NASLIBS$ac_delim
22023 XML2LIBS!$XML2LIBS$ac_delim
22024 XML2INCL!$XML2INCL$ac_delim
22025 XSLTLIBS!$XSLTLIBS$ac_delim
22026 XSLTINCL!$XSLTINCL$ac_delim
22027 HALINCL!$HALINCL$ac_delim
22028 sane_devel!$sane_devel$ac_delim
22029 SANEINCL!$SANEINCL$ac_delim
22030 gphoto2_devel!$gphoto2_devel$ac_delim
22031 gphoto2port_devel!$gphoto2port_devel$ac_delim
22032 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22033 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22034 ICULIBS!$ICULIBS$ac_delim
22035 RESOLVLIBS!$RESOLVLIBS$ac_delim
22036 LCMSLIBS!$LCMSLIBS$ac_delim
22037 LDAPLIBS!$LDAPLIBS$ac_delim
22038 FREETYPELIBS!$FREETYPELIBS$ac_delim
22039 FREETYPEINCL!$FREETYPEINCL$ac_delim
22040 ft_devel!$ft_devel$ac_delim
22041 ft_devel2!$ft_devel2$ac_delim
22042 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22043 ESDCONFIG!$ESDCONFIG$ac_delim
22044 ESDLIBS!$ESDLIBS$ac_delim
22045 ESDINCL!$ESDINCL$ac_delim
22046 ALSALIBS!$ALSALIBS$ac_delim
22047 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22048 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22049 BUILTINFLAG!$BUILTINFLAG$ac_delim
22050 LDPATH!$LDPATH$ac_delim
22051 CRTLIBS!$CRTLIBS$ac_delim
22052 SOCKETLIBS!$SOCKETLIBS$ac_delim
22053 MAIN_BINARY!$MAIN_BINARY$ac_delim
22054 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22055 LIBDL!$LIBDL$ac_delim
22056 LIBPOLL!$LIBPOLL$ac_delim
22057 DEPENDENCIES!$DEPENDENCIES$ac_delim
22058 LIBOBJS!$LIBOBJS$ac_delim
22059 LTLIBOBJS!$LTLIBOBJS$ac_delim
22062 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
22064 elif $ac_last_try; then
22065 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22066 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22067 { (exit 1); exit 1; }; }
22069 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22073 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22074 if test -n "$ac_eof"; then
22075 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22076 ac_eof
=`expr $ac_eof + 1`
22079 cat >>$CONFIG_STATUS <<_ACEOF
22080 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22081 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22084 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22085 s/^/s,@/; s/!/@,|#_!!_#|/
22088 s/'"$ac_delim"'$/,g/; t
22090 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22091 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22092 rm -f conf$
$subs.
sed
22093 cat >>$CONFIG_STATUS <<_ACEOF
22100 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22101 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22102 # trailing colons and then remove the whole line if VPATH becomes empty
22103 # (actually we leave an empty line to preserve line numbers).
22104 if test "x$srcdir" = x.
; then
22105 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22106 s/:*\$(srcdir):*/:/
22107 s/:*\${srcdir}:*/:/
22109 s/^\([^=]*=[ ]*\):*/\1/
22115 cat >>$CONFIG_STATUS <<\_ACEOF
22116 fi # test -n "$CONFIG_FILES"
22119 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22122 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22124 case $ac_mode$ac_tag in
22126 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22127 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22128 { (exit 1); exit 1; }; };;
22129 :[FH
]-) ac_tag
=-:-;;
22130 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22147 -) ac_f
="$tmp/stdin";;
22148 *) # Look for the file first in the build tree, then in the source tree
22149 # (if the path is not absolute). The absolute path cannot be DOS-style,
22150 # because $ac_f cannot contain `:'.
22154 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22156 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22157 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22158 { (exit 1); exit 1; }; };;
22160 ac_file_inputs
="$ac_file_inputs $ac_f"
22163 # Let's still pretend it is `configure' which instantiates (i.e., don't
22164 # use $as_me), people would be surprised to read:
22165 # /* config.h. Generated by config.status. */
22166 configure_input
="Generated from "`IFS=:
22167 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22168 if test x
"$ac_file" != x-
; then
22169 configure_input
="$ac_file. $configure_input"
22170 { echo "$as_me:$LINENO: creating $ac_file" >&5
22171 echo "$as_me: creating $ac_file" >&6;}
22175 *:-:* |
*:-) cat >"$tmp/stdin";;
22180 ac_dir
=`$as_dirname -- "$ac_file" ||
22181 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22182 X"$ac_file" : 'X\(//\)[^/]' \| \
22183 X"$ac_file" : 'X\(//\)$' \| \
22184 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22190 /^X\(\/\/\)[^/].*/{
22205 -*) as_dir
=.
/$as_dir;;
22207 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22211 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22212 *) as_qdir
=$as_dir;;
22214 as_dirs
="'$as_qdir' $as_dirs"
22215 as_dir
=`$as_dirname -- "$as_dir" ||
22216 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22217 X"$as_dir" : 'X\(//\)[^/]' \| \
22218 X"$as_dir" : 'X\(//\)$' \| \
22219 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22221 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22225 /^X\(\/\/\)[^/].*/{
22238 test -d "$as_dir" && break
22240 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22241 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22242 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22243 { (exit 1); exit 1; }; }; }
22247 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22249 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22250 # A ".." for each directory in $ac_dir_suffix.
22251 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22252 case $ac_top_builddir_sub in
22253 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22254 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22257 ac_abs_top_builddir
=$ac_pwd
22258 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22259 # for backward compatibility:
22260 ac_top_builddir
=$ac_top_build_prefix
22263 .
) # We are building in place.
22265 ac_top_srcdir
=$ac_top_builddir_sub
22266 ac_abs_top_srcdir
=$ac_pwd ;;
22267 [\\/]* | ?
:[\\/]* ) # Absolute name.
22268 ac_srcdir
=$srcdir$ac_dir_suffix;
22269 ac_top_srcdir
=$srcdir
22270 ac_abs_top_srcdir
=$srcdir ;;
22271 *) # Relative name.
22272 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22273 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22274 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22276 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22286 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22287 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22291 cat >>$CONFIG_STATUS <<\_ACEOF
22292 # If the template does not know about datarootdir, expand it.
22293 # FIXME: This hack should be removed a few years after 2.60.
22294 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22296 case `sed -n '/datarootdir/ {
22305 ' $ac_file_inputs` in
22306 *datarootdir
*) ac_datarootdir_seen
=yes;;
22307 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22308 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22309 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22311 cat >>$CONFIG_STATUS <<_ACEOF
22312 ac_datarootdir_hack='
22313 s&@datadir@&$datadir&g
22314 s&@docdir@&$docdir&g
22315 s&@infodir@&$infodir&g
22316 s&@localedir@&$localedir&g
22317 s&@mandir@&$mandir&g
22318 s&\\\${datarootdir}&$datarootdir&g' ;;
22322 # Neutralize VPATH when `$srcdir' = `.'.
22323 # Shell code in configure.ac might set extrasub.
22324 # FIXME: do we really want to maintain this feature?
22325 cat >>$CONFIG_STATUS <<_ACEOF
22329 cat >>$CONFIG_STATUS <<\_ACEOF
22331 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22332 s
&@configure_input@
&$configure_input&;t t
22333 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22334 s
&@srcdir@
&$ac_srcdir&;t t
22335 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22336 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22337 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22338 s
&@builddir@
&$ac_builddir&;t t
22339 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22340 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22341 s
&@INSTALL@
&$ac_INSTALL&;t t
22342 $ac_datarootdir_hack
22343 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22345 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22346 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22347 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22348 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22349 which seems to be undefined. Please make sure it is defined." >&5
22350 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22351 which seems to be undefined. Please make sure it is defined." >&2;}
22355 -) cat "$tmp/out"; rm -f "$tmp/out";;
22356 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22365 # Transform confdefs.h into a sed script `conftest.defines', that
22366 # substitutes the proper values into config.h.in to produce config.h.
22367 rm -f conftest.defines conftest.
tail
22368 # First, append a space to every undef/define line, to ease matching.
22369 echo 's/$/ /' >conftest.defines
22370 # Then, protect against being on the right side of a sed subst, or in
22371 # an unquoted here document, in config.status. If some macros were
22372 # called several times there might be several #defines for the same
22373 # symbol, which is useless. But do not sort them, since the last
22374 # AC_DEFINE must be honored.
22375 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
22376 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22377 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22378 # PARAMS is the parameter list in the macro definition--in most cases, it's
22379 # just an empty string.
22380 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22381 ac_dB
='\\)[ (].*,\\1define\\2'
22389 s/^[ ]*#[ ]*define[ ][ ]*//
22394 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22395 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22396 ' >>conftest.defines
22398 # Remove the space that was appended to ease matching.
22399 # Then replace #undef with comments. This is necessary, for
22400 # example, in the case of _POSIX_SOURCE, which is predefined and required
22401 # on some systems where configure will not decide to define it.
22402 # (The regexp can be short, since the line contains either #define or #undef.)
22404 s,^[ #]*u.*,/* & */,' >>conftest.defines
22406 # Break up conftest.defines:
22407 ac_max_sed_lines
=50
22409 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22410 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22411 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22413 ac_in
='$ac_file_inputs'
22414 ac_out
='"$tmp/out1"'
22415 ac_nxt
='"$tmp/out2"'
22419 # Write a here document:
22420 cat >>$CONFIG_STATUS <<_ACEOF
22421 # First, check the format of the line:
22422 cat >"\$tmp/defines.sed" <<\\CEOF
22423 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22424 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22428 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22430 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22431 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22432 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22433 grep . conftest.
tail >/dev
/null ||
break
22434 rm -f conftest.defines
22435 mv conftest.
tail conftest.defines
22437 rm -f conftest.defines conftest.
tail
22439 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22440 cat >>$CONFIG_STATUS <<\_ACEOF
22441 if test x
"$ac_file" != x-
; then
22442 echo "/* $configure_input */" >"$tmp/config.h"
22443 cat "$ac_result" >>"$tmp/config.h"
22444 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
22445 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22446 echo "$as_me: $ac_file is unchanged" >&6;}
22449 mv "$tmp/config.h" $ac_file
22452 echo "/* $configure_input */"
22458 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22459 echo "$as_me: executing $ac_file commands" >&6;}
22464 case $ac_file$ac_mode in
22465 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
22466 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22467 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
22468 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22469 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
22470 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22471 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
22472 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22473 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
22474 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22475 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
22476 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
22477 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
22483 { (exit 0); exit 0; }
22485 chmod +x
$CONFIG_STATUS
22486 ac_clean_files
=$ac_clean_files_save
22489 # configure is writing to config.log, and then calls config.status.
22490 # config.status does its own redirection, appending to config.log.
22491 # Unfortunately, on DOS this fails, as config.log is still kept open
22492 # by configure, so config.status won't be able to write to it; its
22493 # output is simply discarded. So we exec the FD to /dev/null,
22494 # effectively closing config.log, so it can be properly (re)opened and
22495 # appended to by config.status. When coming back to configure, we
22496 # need to make the FD available again.
22497 if test "$no_create" != yes; then
22499 ac_config_status_args
=
22500 test "$silent" = yes &&
22501 ac_config_status_args
="$ac_config_status_args --quiet"
22503 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22505 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22506 # would make configure fail if this is the last instruction.
22507 $ac_cs_success ||
{ (exit 1); exit 1; }
22512 if test "$no_create" = "yes"
22517 if test "$verbose" = "yes"
22519 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
22522 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
22523 echo "$as_me: libcapi20 development files not found." >&6;}
22524 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
22525 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
22528 if test "$ac_cv_header_cups_cups_h" != "yes"
22531 { echo "$as_me:$LINENO: libcups development files not found." >&5
22532 echo "$as_me: libcups development files not found." >&6;}
22533 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
22534 echo "$as_me: Wine will be built without CUPS support." >&6;}
22538 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
22541 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
22542 echo "$as_me: libgphoto2 development files not found." >&6;}
22543 if test "$ac_cv_header_sane_sane_h" = "yes"
22545 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
22546 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
22548 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
22549 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
22553 if test "$ac_cv_header_hal_libhal_h" != "yes"
22556 { echo "$as_me:$LINENO: libhal development files not found." >&5
22557 echo "$as_me: libhal development files not found." >&6;}
22558 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
22559 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
22562 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
22565 { echo "$as_me:$LINENO: libicu development files not found." >&5
22566 echo "$as_me: libicu development files not found." >&6;}
22567 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
22568 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
22571 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
22574 { echo "$as_me:$LINENO: liblcms development files not found." >&5
22575 echo "$as_me: liblcms development files not found." >&6;}
22576 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
22577 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
22580 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
22583 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
22584 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
22585 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
22586 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
22589 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
22592 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
22593 echo "$as_me: lib(n)curses development files not found." >&6;}
22594 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
22595 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
22598 if test "$ac_cv_header_sane_sane_h" != "yes"
22601 { echo "$as_me:$LINENO: libsane development files not found." >&5
22602 echo "$as_me: libsane development files not found." >&6;}
22603 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
22604 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
22607 if test "$have_x" = "yes"
22609 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
22612 { echo "$as_me:$LINENO: libxext development files not found." >&5
22613 echo "$as_me: libxext development files not found." >&6;}
22614 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22615 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22618 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22621 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22622 echo "$as_me: libXrandr development files not found." >&6;}
22623 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22624 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22627 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22630 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22631 echo "$as_me: libXrender development files not found." >&6;}
22632 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22633 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22636 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22639 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22640 echo "$as_me: libXxf86vm development files not found." >&6;}
22641 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22642 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22646 if test "$ac_cv_header_libxml_parser_h" != "yes"
22649 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22650 echo "$as_me: libxml2 development files not found." >&6;}
22651 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22652 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22655 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22658 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22659 echo "$as_me: libxslt development files not found." >&6;}
22660 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22661 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22666 if test "$have_x" = "no"
22669 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22670 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22671 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22672 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22673 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22674 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22675 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22676 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22679 if test -z "$OPENGLFILES"
22682 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22683 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22684 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22685 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22686 if test "$wine_cv_opengl_headers_found" = "no"
22688 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22689 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22691 if test "$wine_cv_opengl_header_version_OK" = "no"
22693 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22694 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22695 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22697 if test -f /usr
/X11R
6/lib
/libGL.a
22699 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22700 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22701 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22702 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22704 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22705 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22710 if test "$wine_cv_msg_freetype" = "yes"
22713 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22714 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22715 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22716 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22717 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22718 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22719 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22720 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22723 if test -z "$FONTSSUBDIRS"
22726 if test "$FONTFORGE" = "false"
22728 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22729 echo "$as_me: WARNING: FontForge is missing." >&2;}
22731 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22732 echo "$as_me: WARNING: FreeType is missing." >&2;}
22734 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22735 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22738 if test -z "$ALSALIBS" -a \
22739 -z "$AUDIOIOLIBS" -a \
22741 -z "$ESD_LIBS" -a \
22742 -z "$ac_cv_lib_soname_jack" -a \
22743 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22744 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22745 "$ac_cv_header_soundcard_h" != "yes"
22748 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22749 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22750 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22751 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22752 { echo "$as_me:$LINENO: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&5
22753 echo "$as_me: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22757 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."