2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.28.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev
/null
6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix
=/usr
/local
566 ac_config_libobj_dir
=.
572 SHELL
=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
576 PACKAGE_TARNAME
='wine'
577 PACKAGE_VERSION
='0.9.28'
578 PACKAGE_STRING
='Wine 0.9.28'
579 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
581 ac_unique_file
="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default
="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
627 program_transform_name
777 ac_subst_files
='MAKE_RULES
782 ac_precious_vars
='build_alias
797 # Initialize some variables set by options.
799 ac_init_version
=false
800 # The variables have the same names as the options, with
801 # dashes changed to underlines.
809 program_transform_name
=s
,x
,x
,
817 # Installation directory options.
818 # These are left unexpanded so users can "make install exec_prefix=/foo"
819 # and all the variables that are supposed to be based on exec_prefix
820 # by default will actually change.
821 # Use braces instead of parens because sh, perl, etc. also accept them.
822 # (The list follows the same order as the GNU Coding Standards.)
823 bindir
='${exec_prefix}/bin'
824 sbindir
='${exec_prefix}/sbin'
825 libexecdir
='${exec_prefix}/libexec'
826 datarootdir
='${prefix}/share'
827 datadir
='${datarootdir}'
828 sysconfdir
='${prefix}/etc'
829 sharedstatedir
='${prefix}/com'
830 localstatedir
='${prefix}/var'
831 includedir
='${prefix}/include'
832 oldincludedir
='/usr/include'
833 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
834 infodir
='${datarootdir}/info'
839 libdir
='${exec_prefix}/lib'
840 localedir
='${datarootdir}/locale'
841 mandir
='${datarootdir}/man'
847 # If the previous option needs an argument, assign it.
848 if test -n "$ac_prev"; then
849 eval $ac_prev=\
$ac_option
855 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
859 # Accept the important Cygnus configure options, so we can diagnose typos.
861 case $ac_dashdash$ac_option in
865 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
867 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
870 -build |
--build |
--buil |
--bui |
--bu)
871 ac_prev
=build_alias
;;
872 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
873 build_alias
=$ac_optarg ;;
875 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
876 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
877 ac_prev
=cache_file
;;
878 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
879 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
880 cache_file
=$ac_optarg ;;
883 cache_file
=config.cache
;;
885 -datadir |
--datadir |
--datadi |
--datad)
887 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
888 datadir
=$ac_optarg ;;
890 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
891 |
--dataroo |
--dataro |
--datar)
892 ac_prev
=datarootdir
;;
893 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
894 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
895 datarootdir
=$ac_optarg ;;
897 -disable-* |
--disable-*)
898 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
899 # Reject names that are not valid shell variable names.
900 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
901 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
902 { (exit 1); exit 1; }; }
903 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
904 eval enable_
$ac_feature=no
;;
906 -docdir |
--docdir |
--docdi |
--doc |
--do)
908 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
911 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
913 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
916 -enable-* |
--enable-*)
917 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
918 # Reject names that are not valid shell variable names.
919 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
920 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
921 { (exit 1); exit 1; }; }
922 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
923 eval enable_
$ac_feature=\
$ac_optarg ;;
925 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
926 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
927 |
--exec |
--exe |
--ex)
928 ac_prev
=exec_prefix
;;
929 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
930 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
931 |
--exec=* |
--exe=* |
--ex=*)
932 exec_prefix
=$ac_optarg ;;
934 -gas |
--gas |
--ga |
--g)
935 # Obsolete; use --with-gas.
938 -help |
--help |
--hel |
--he |
-h)
940 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
941 ac_init_help
=recursive
;;
942 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
943 ac_init_help
=short
;;
945 -host |
--host |
--hos |
--ho)
946 ac_prev
=host_alias
;;
947 -host=* |
--host=* |
--hos=* |
--ho=*)
948 host_alias
=$ac_optarg ;;
950 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
952 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
954 htmldir
=$ac_optarg ;;
956 -includedir |
--includedir |
--includedi |
--included |
--include \
957 |
--includ |
--inclu |
--incl |
--inc)
958 ac_prev
=includedir
;;
959 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
960 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
961 includedir
=$ac_optarg ;;
963 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
965 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
966 infodir
=$ac_optarg ;;
968 -libdir |
--libdir |
--libdi |
--libd)
970 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
973 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
974 |
--libexe |
--libex |
--libe)
975 ac_prev
=libexecdir
;;
976 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
977 |
--libexe=* |
--libex=* |
--libe=*)
978 libexecdir
=$ac_optarg ;;
980 -localedir |
--localedir |
--localedi |
--localed |
--locale)
982 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
983 localedir
=$ac_optarg ;;
985 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
986 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
987 ac_prev
=localstatedir
;;
988 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
989 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
990 localstatedir
=$ac_optarg ;;
992 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
994 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
998 # Obsolete; use --without-fp.
1001 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1002 |
--no-cr |
--no-c |
-n)
1005 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1006 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1009 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1010 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1011 |
--oldin |
--oldi |
--old |
--ol |
--o)
1012 ac_prev
=oldincludedir
;;
1013 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1014 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1015 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1016 oldincludedir
=$ac_optarg ;;
1018 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1020 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1021 prefix
=$ac_optarg ;;
1023 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1024 |
--program-pre |
--program-pr |
--program-p)
1025 ac_prev
=program_prefix
;;
1026 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1027 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1028 program_prefix
=$ac_optarg ;;
1030 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1031 |
--program-suf |
--program-su |
--program-s)
1032 ac_prev
=program_suffix
;;
1033 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1034 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1035 program_suffix
=$ac_optarg ;;
1037 -program-transform-name |
--program-transform-name \
1038 |
--program-transform-nam |
--program-transform-na \
1039 |
--program-transform-n |
--program-transform- \
1040 |
--program-transform |
--program-transfor \
1041 |
--program-transfo |
--program-transf \
1042 |
--program-trans |
--program-tran \
1043 |
--progr-tra |
--program-tr |
--program-t)
1044 ac_prev
=program_transform_name
;;
1045 -program-transform-name=* |
--program-transform-name=* \
1046 |
--program-transform-nam=* |
--program-transform-na=* \
1047 |
--program-transform-n=* |
--program-transform-=* \
1048 |
--program-transform=* |
--program-transfor=* \
1049 |
--program-transfo=* |
--program-transf=* \
1050 |
--program-trans=* |
--program-tran=* \
1051 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1052 program_transform_name
=$ac_optarg ;;
1054 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1056 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1057 pdfdir
=$ac_optarg ;;
1059 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1061 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1064 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1065 |
-silent |
--silent |
--silen |
--sile |
--sil)
1068 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1070 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1072 sbindir
=$ac_optarg ;;
1074 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1075 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1076 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1078 ac_prev
=sharedstatedir
;;
1079 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1080 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1081 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1083 sharedstatedir
=$ac_optarg ;;
1085 -site |
--site |
--sit)
1087 -site=* |
--site=* |
--sit=*)
1090 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1092 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1093 srcdir
=$ac_optarg ;;
1095 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1096 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1097 ac_prev
=sysconfdir
;;
1098 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1099 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1100 sysconfdir
=$ac_optarg ;;
1102 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1103 ac_prev
=target_alias
;;
1104 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1105 target_alias
=$ac_optarg ;;
1107 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1110 -version |
--version |
--versio |
--versi |
--vers |
-V)
1111 ac_init_version
=: ;;
1114 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1115 # Reject names that are not valid shell variable names.
1116 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1117 { echo "$as_me: error: invalid package name: $ac_package" >&2
1118 { (exit 1); exit 1; }; }
1119 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1120 eval with_
$ac_package=\
$ac_optarg ;;
1122 -without-* |
--without-*)
1123 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1124 # Reject names that are not valid shell variable names.
1125 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1126 { echo "$as_me: error: invalid package name: $ac_package" >&2
1127 { (exit 1); exit 1; }; }
1128 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1129 eval with_
$ac_package=no
;;
1132 # Obsolete; use --with-x.
1135 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1136 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1137 ac_prev
=x_includes
;;
1138 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1139 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1140 x_includes
=$ac_optarg ;;
1142 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1143 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1144 ac_prev
=x_libraries
;;
1145 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1146 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1147 x_libraries
=$ac_optarg ;;
1149 -*) { echo "$as_me: error: unrecognized option: $ac_option
1150 Try \`$0 --help' for more information." >&2
1151 { (exit 1); exit 1; }; }
1155 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1156 # Reject names that are not valid shell variable names.
1157 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1158 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1159 { (exit 1); exit 1; }; }
1160 eval $ac_envvar=\
$ac_optarg
1161 export $ac_envvar ;;
1164 # FIXME: should be removed in autoconf 3.0.
1165 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1166 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1167 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1168 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1174 if test -n "$ac_prev"; then
1175 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1176 { echo "$as_me: error: missing argument to $ac_option" >&2
1177 { (exit 1); exit 1; }; }
1180 # Be sure to have absolute directory names.
1181 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1182 datadir sysconfdir sharedstatedir localstatedir includedir \
1183 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1184 libdir localedir mandir
1186 eval ac_val
=\$
$ac_var
1188 [\\/$
]* | ?
:[\\/]* ) continue;;
1189 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1191 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1192 { (exit 1); exit 1; }; }
1195 # There might be people who depend on the old broken behavior: `$host'
1196 # used to hold the argument of --host etc.
1197 # FIXME: To remove some day.
1200 target
=$target_alias
1202 # FIXME: To remove some day.
1203 if test "x$host_alias" != x
; then
1204 if test "x$build_alias" = x
; then
1205 cross_compiling
=maybe
1206 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1207 If a cross compiler is detected then cross compile mode will be used." >&2
1208 elif test "x$build_alias" != "x$host_alias"; then
1214 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1216 test "$silent" = yes && exec 6>/dev
/null
1219 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1220 ac_ls_di
=`ls -di .` &&
1221 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1222 { echo "$as_me: error: Working directory cannot be determined" >&2
1223 { (exit 1); exit 1; }; }
1224 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1225 { echo "$as_me: error: pwd does not report name of working directory" >&2
1226 { (exit 1); exit 1; }; }
1229 # Find the source files, if location was not specified.
1230 if test -z "$srcdir"; then
1231 ac_srcdir_defaulted
=yes
1232 # Try the directory containing this script, then the parent directory.
1233 ac_confdir
=`$as_dirname -- "$0" ||
1234 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1235 X"$0" : 'X\(//\)[^/]' \| \
1236 X"$0" : 'X\(//\)$' \| \
1237 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1257 if test ! -r "$srcdir/$ac_unique_file"; then
1261 ac_srcdir_defaulted
=no
1263 if test ! -r "$srcdir/$ac_unique_file"; then
1264 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1265 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1266 { (exit 1); exit 1; }; }
1268 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1270 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1271 { (exit 1); exit 1; }; }
1273 # When building in place, set srcdir=.
1274 if test "$ac_abs_confdir" = "$ac_pwd"; then
1277 # Remove unnecessary trailing slashes from srcdir.
1278 # Double slashes in file names in object file debugging info
1279 # mess up M-x gdb in Emacs.
1281 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1283 for ac_var
in $ac_precious_vars; do
1284 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1285 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1286 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1287 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1291 # Report the --help message.
1293 if test "$ac_init_help" = "long"; then
1294 # Omit some internal or obsolete options to make the list less imposing.
1295 # This message is too long to be a string in the A/UX 3.1 sh.
1297 \`configure' configures Wine 0.9.28 to adapt to many kinds of systems.
1299 Usage: $0 [OPTION]... [VAR=VALUE]...
1301 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1302 VAR=VALUE. See below for descriptions of some of the useful variables.
1304 Defaults for the options are specified in brackets.
1307 -h, --help display this help and exit
1308 --help=short display options specific to this package
1309 --help=recursive display the short help of all the included packages
1310 -V, --version display version information and exit
1311 -q, --quiet, --silent do not print \`checking...' messages
1312 --cache-file=FILE cache test results in FILE [disabled]
1313 -C, --config-cache alias for \`--cache-file=config.cache'
1314 -n, --no-create do not create output files
1315 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1317 Installation directories:
1318 --prefix=PREFIX install architecture-independent files in PREFIX
1319 [$ac_default_prefix]
1320 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1323 By default, \`make install' will install all the files in
1324 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1325 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1326 for instance \`--prefix=\$HOME'.
1328 For better control, use the options below.
1330 Fine tuning of the installation directories:
1331 --bindir=DIR user executables [EPREFIX/bin]
1332 --sbindir=DIR system admin executables [EPREFIX/sbin]
1333 --libexecdir=DIR program executables [EPREFIX/libexec]
1334 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1335 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1336 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1337 --libdir=DIR object code libraries [EPREFIX/lib]
1338 --includedir=DIR C header files [PREFIX/include]
1339 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1340 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1341 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1342 --infodir=DIR info documentation [DATAROOTDIR/info]
1343 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1344 --mandir=DIR man documentation [DATAROOTDIR/man]
1345 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1346 --htmldir=DIR html documentation [DOCDIR]
1347 --dvidir=DIR dvi documentation [DOCDIR]
1348 --pdfdir=DIR pdf documentation [DOCDIR]
1349 --psdir=DIR ps documentation [DOCDIR]
1355 --x-includes=DIR X include files are
in DIR
1356 --x-libraries=DIR X library files are
in DIR
1359 --build=BUILD configure
for building on BUILD
[guessed
]
1360 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1364 if test -n "$ac_init_help"; then
1365 case $ac_init_help in
1366 short | recursive
) echo "Configuration of Wine 0.9.28:";;
1371 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1372 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1373 --disable-win16 do not include Win16 support
1374 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1378 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1379 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1380 --without-opengl do not use OpenGL
1381 --with-wine-tools=<dir> use Wine tools from directory <dir>
1382 --with-x use the X Window System
1384 Some influential environment variables:
1385 CC C compiler command
1386 CFLAGS C compiler flags
1387 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1388 nonstandard directory <lib dir>
1389 LIBS libraries to pass to the linker, e.g. -l<library>
1390 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1391 you have headers in a nonstandard directory <include dir>
1392 CXX C++ compiler command
1393 CXXFLAGS C++ compiler flags
1394 XMKMF Path to xmkmf, Makefile generator for X Window System
1397 Use these variables to override the choices made by `configure' or to
help
1398 it to
find libraries and programs with nonstandard names
/locations.
1400 Report bugs to
<wine-devel@winehq.org
>.
1405 if test "$ac_init_help" = "recursive"; then
1406 # If there are subdirs, report their specific --help.
1407 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1408 test -d "$ac_dir" ||
continue
1412 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1414 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1415 # A ".." for each directory in $ac_dir_suffix.
1416 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1417 case $ac_top_builddir_sub in
1418 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1419 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1422 ac_abs_top_builddir
=$ac_pwd
1423 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1424 # for backward compatibility:
1425 ac_top_builddir
=$ac_top_build_prefix
1428 .
) # We are building in place.
1430 ac_top_srcdir
=$ac_top_builddir_sub
1431 ac_abs_top_srcdir
=$ac_pwd ;;
1432 [\\/]* | ?
:[\\/]* ) # Absolute name.
1433 ac_srcdir
=$srcdir$ac_dir_suffix;
1434 ac_top_srcdir
=$srcdir
1435 ac_abs_top_srcdir
=$srcdir ;;
1437 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1438 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1439 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1441 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1443 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1444 # Check for guested configure.
1445 if test -f "$ac_srcdir/configure.gnu"; then
1447 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1448 elif test -f "$ac_srcdir/configure"; then
1450 $SHELL "$ac_srcdir/configure" --help=recursive
1452 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1454 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1458 test -n "$ac_init_help" && exit $ac_status
1459 if $ac_init_version; then
1461 Wine configure
0.9.28
1462 generated by GNU Autoconf
2.61
1464 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1465 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1466 This configure
script is free software
; the Free Software Foundation
1467 gives unlimited permission to copy
, distribute and modify it.
1471 cat >config.log
<<_ACEOF
1472 This file contains any messages produced by compilers while
1473 running configure, to aid debugging if configure makes a mistake.
1475 It was created by Wine $as_me 0.9.28, which was
1476 generated by GNU Autoconf 2.61. Invocation command line was
1488 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1489 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1490 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1491 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1492 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1494 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1495 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1497 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1498 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1499 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1500 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1501 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1502 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1503 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1511 test -z "$as_dir" && as_dir
=.
1512 echo "PATH: $as_dir"
1528 # Keep a trace of the command line.
1529 # Strip out --no-create and --no-recursion so they do not pile up.
1530 # Strip out --silent because we don't want to record it for future runs.
1531 # Also quote any args containing shell meta-characters.
1532 # Make two passes to allow for proper duplicate-argument suppression.
1536 ac_must_keep_next
=false
1542 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1543 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1544 |
-silent |
--silent |
--silen |
--sile |
--sil)
1547 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1550 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1552 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1553 if test $ac_must_keep_next = true
; then
1554 ac_must_keep_next
=false
# Got value, back to normal.
1557 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1558 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1559 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1560 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1561 case "$ac_configure_args0 " in
1562 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1565 -* ) ac_must_keep_next
=true
;;
1568 ac_configure_args
="$ac_configure_args '$ac_arg'"
1573 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1574 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1576 # When interrupted or exit'd, cleanup temporary files, and complete
1577 # config.log. We remove comments because anyway the quotes in there
1578 # would cause problems or look ugly.
1579 # WARNING: Use '\'' to represent an apostrophe within the trap.
1580 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1581 trap 'exit_status=$?
1582 # Save into config.log some information that might help in debugging.
1587 ## ---------------- ##
1588 ## Cache variables. ##
1589 ## ---------------- ##
1592 # The following way of writing the cache mishandles newlines in values,
1594 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1595 eval ac_val=\$$ac_var
1599 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1600 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1603 _ | IFS | as_nl) ;; #(
1604 *) $as_unset $ac_var ;;
1609 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1610 *${as_nl}ac_space=\ *)
1612 "s/'\''/'\''\\\\'\'''\''/g;
1613 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1616 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1624 ## ----------------- ##
1625 ## Output variables. ##
1626 ## ----------------- ##
1629 for ac_var in $ac_subst_vars
1631 eval ac_val=\$$ac_var
1633 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1635 echo "$ac_var='\''$ac_val'\''"
1639 if test -n "$ac_subst_files"; then
1641 ## ------------------- ##
1642 ## File substitutions. ##
1643 ## ------------------- ##
1646 for ac_var
in $ac_subst_files
1648 eval ac_val
=\$
$ac_var
1650 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1652 echo "$ac_var='\''$ac_val'\''"
1657 if test -s confdefs.h; then
1667 test "$ac_signal" != 0 &&
1668 echo "$as_me: caught signal $ac_signal"
1669 echo "$as_me: exit $exit_status"
1671 rm -f core *.core core.conftest.* &&
1672 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1675 for ac_signal
in 1 2 13 15; do
1676 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1680 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1681 rm -f -r conftest
* confdefs.h
1683 # Predefined preprocessor variables.
1685 cat >>confdefs.h
<<_ACEOF
1686 #define PACKAGE_NAME "$PACKAGE_NAME"
1690 cat >>confdefs.h
<<_ACEOF
1691 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1695 cat >>confdefs.h
<<_ACEOF
1696 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1700 cat >>confdefs.h
<<_ACEOF
1701 #define PACKAGE_STRING "$PACKAGE_STRING"
1705 cat >>confdefs.h
<<_ACEOF
1706 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1710 # Let the site file select an alternate cache file if it wants to.
1711 # Prefer explicitly selected file to automatically selected ones.
1712 if test -n "$CONFIG_SITE"; then
1713 set x
"$CONFIG_SITE"
1714 elif test "x$prefix" != xNONE
; then
1715 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1717 set x
"$ac_default_prefix/share/config.site" \
1718 "$ac_default_prefix/etc/config.site"
1723 if test -r "$ac_site_file"; then
1724 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1725 echo "$as_me: loading site script $ac_site_file" >&6;}
1726 sed 's/^/| /' "$ac_site_file" >&5
1731 if test -r "$cache_file"; then
1732 # Some versions of bash will fail to source /dev/null (special
1733 # files actually), so we avoid doing that.
1734 if test -f "$cache_file"; then
1735 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1736 echo "$as_me: loading cache $cache_file" >&6;}
1738 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1739 *) .
"./$cache_file";;
1743 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1744 echo "$as_me: creating cache $cache_file" >&6;}
1748 # Check that the precious variables saved in the cache have kept the same
1750 ac_cache_corrupted
=false
1751 for ac_var
in $ac_precious_vars; do
1752 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1753 eval ac_new_set
=\
$ac_env_${ac_var}_set
1754 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1755 eval ac_new_val
=\
$ac_env_${ac_var}_value
1756 case $ac_old_set,$ac_new_set in
1758 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1759 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1760 ac_cache_corrupted
=: ;;
1762 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1763 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1764 ac_cache_corrupted
=: ;;
1767 if test "x$ac_old_val" != "x$ac_new_val"; then
1768 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1769 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1770 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1771 echo "$as_me: former value: $ac_old_val" >&2;}
1772 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1773 echo "$as_me: current value: $ac_new_val" >&2;}
1774 ac_cache_corrupted
=:
1777 # Pass precious variables to config.status.
1778 if test "$ac_new_set" = set; then
1780 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1781 *) ac_arg
=$ac_var=$ac_new_val ;;
1783 case " $ac_configure_args " in
1784 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1785 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1789 if $ac_cache_corrupted; then
1790 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1791 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1792 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1793 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1794 { (exit 1); exit 1; }; }
1822 ac_cpp
='$CPP $CPPFLAGS'
1823 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1824 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1825 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1829 ac_config_headers
="$ac_config_headers include/config.h"
1832 for ac_dir
in tools
"$srcdir"/tools
; do
1833 if test -f "$ac_dir/install-sh"; then
1835 ac_install_sh
="$ac_aux_dir/install-sh -c"
1837 elif test -f "$ac_dir/install.sh"; then
1839 ac_install_sh
="$ac_aux_dir/install.sh -c"
1841 elif test -f "$ac_dir/shtool"; then
1843 ac_install_sh
="$ac_aux_dir/shtool install -c"
1847 if test -z "$ac_aux_dir"; then
1848 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1849 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1850 { (exit 1); exit 1; }; }
1853 # These three variables are undocumented and unsupported,
1854 # and are intended to be withdrawn in a future Autoconf release.
1855 # They can cause serious problems if a builder's source tree is in a directory
1856 # whose full name contains unusual characters.
1857 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1858 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1859 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1864 # Check whether --enable-win16 was given.
1865 if test "${enable_win16+set}" = set; then
1866 enableval
=$enable_win16;
1869 # Check whether --enable-win64 was given.
1870 if test "${enable_win64+set}" = set; then
1871 enableval
=$enable_win64;
1876 # Check whether --with-opengl was given.
1877 if test "${with_opengl+set}" = set; then
1878 withval
=$with_opengl;
1882 # Check whether --with-wine-tools was given.
1883 if test "${with_wine_tools+set}" = set; then
1884 withval
=$with_wine_tools;
1888 # Make sure we can run config.sub.
1889 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1890 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1891 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1892 { (exit 1); exit 1; }; }
1894 { echo "$as_me:$LINENO: checking build system type" >&5
1895 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1896 if test "${ac_cv_build+set}" = set; then
1897 echo $ECHO_N "(cached) $ECHO_C" >&6
1899 ac_build_alias
=$build_alias
1900 test "x$ac_build_alias" = x
&&
1901 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1902 test "x$ac_build_alias" = x
&&
1903 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1904 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1905 { (exit 1); exit 1; }; }
1906 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1907 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1908 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1909 { (exit 1); exit 1; }; }
1912 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1913 echo "${ECHO_T}$ac_cv_build" >&6; }
1914 case $ac_cv_build in
1916 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1917 echo "$as_me: error: invalid value of canonical build" >&2;}
1918 { (exit 1); exit 1; }; };;
1921 ac_save_IFS
=$IFS; IFS
='-'
1927 # Remember, the first character of IFS is used to create $*,
1928 # except with old shells:
1931 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1934 { echo "$as_me:$LINENO: checking host system type" >&5
1935 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1936 if test "${ac_cv_host+set}" = set; then
1937 echo $ECHO_N "(cached) $ECHO_C" >&6
1939 if test "x$host_alias" = x
; then
1940 ac_cv_host
=$ac_cv_build
1942 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1943 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1944 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1945 { (exit 1); exit 1; }; }
1949 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1950 echo "${ECHO_T}$ac_cv_host" >&6; }
1953 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1954 echo "$as_me: error: invalid value of canonical host" >&2;}
1955 { (exit 1); exit 1; }; };;
1958 ac_save_IFS
=$IFS; IFS
='-'
1964 # Remember, the first character of IFS is used to create $*,
1965 # except with old shells:
1968 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1973 if test "x$enable_win64" != "xyes"
1975 test -n "$CC" || CC
="gcc -m32"
1976 test -n "$LD" || LD
="ld -m elf_i386"
1977 test -n "$AS" || AS
="as --32"
1985 if test "x$enable_win16" != "xno"
1992 WIN16_FILES
="\$(WIN16_FILES)"
1994 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1996 if test "x$enable_win16" != "xyes"
2003 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2004 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2005 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2006 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2007 echo $ECHO_N "(cached) $ECHO_C" >&6
2009 cat >conftest.
make <<\_ACEOF
2012 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2014 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2015 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2017 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2019 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2023 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2024 { echo "$as_me:$LINENO: result: yes" >&5
2025 echo "${ECHO_T}yes" >&6; }
2028 { echo "$as_me:$LINENO: result: no" >&5
2029 echo "${ECHO_T}no" >&6; }
2030 SET_MAKE
="MAKE=${MAKE-make}"
2034 ac_cpp
='$CPP $CPPFLAGS'
2035 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2036 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2038 if test -n "$ac_tool_prefix"; then
2039 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2040 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2041 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2043 if test "${ac_cv_prog_CC+set}" = set; then
2044 echo $ECHO_N "(cached) $ECHO_C" >&6
2046 if test -n "$CC"; then
2047 ac_cv_prog_CC
="$CC" # Let the user override the test.
2049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2053 test -z "$as_dir" && as_dir
=.
2054 for ac_exec_ext
in '' $ac_executable_extensions; do
2055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2056 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2067 if test -n "$CC"; then
2068 { echo "$as_me:$LINENO: result: $CC" >&5
2069 echo "${ECHO_T}$CC" >&6; }
2071 { echo "$as_me:$LINENO: result: no" >&5
2072 echo "${ECHO_T}no" >&6; }
2077 if test -z "$ac_cv_prog_CC"; then
2079 # Extract the first word of "gcc", so it can be a program name with args.
2080 set dummy gcc
; ac_word
=$2
2081 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2083 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2084 echo $ECHO_N "(cached) $ECHO_C" >&6
2086 if test -n "$ac_ct_CC"; then
2087 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2093 test -z "$as_dir" && as_dir
=.
2094 for ac_exec_ext
in '' $ac_executable_extensions; do
2095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2096 ac_cv_prog_ac_ct_CC
="gcc"
2097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2106 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2107 if test -n "$ac_ct_CC"; then
2108 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2109 echo "${ECHO_T}$ac_ct_CC" >&6; }
2111 { echo "$as_me:$LINENO: result: no" >&5
2112 echo "${ECHO_T}no" >&6; }
2115 if test "x$ac_ct_CC" = x
; then
2118 case $cross_compiling:$ac_tool_warned in
2120 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2121 whose name does not start with the host triplet. If you think this
2122 configuration is useful to you, please write to autoconf@gnu.org." >&5
2123 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2124 whose name does not start with the host triplet. If you think this
2125 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2126 ac_tool_warned
=yes ;;
2134 if test -z "$CC"; then
2135 if test -n "$ac_tool_prefix"; then
2136 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2137 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2138 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2140 if test "${ac_cv_prog_CC+set}" = set; then
2141 echo $ECHO_N "(cached) $ECHO_C" >&6
2143 if test -n "$CC"; then
2144 ac_cv_prog_CC
="$CC" # Let the user override the test.
2146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2150 test -z "$as_dir" && as_dir
=.
2151 for ac_exec_ext
in '' $ac_executable_extensions; do
2152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2153 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2164 if test -n "$CC"; then
2165 { echo "$as_me:$LINENO: result: $CC" >&5
2166 echo "${ECHO_T}$CC" >&6; }
2168 { echo "$as_me:$LINENO: result: no" >&5
2169 echo "${ECHO_T}no" >&6; }
2175 if test -z "$CC"; then
2176 # Extract the first word of "cc", so it can be a program name with args.
2177 set dummy cc
; ac_word
=$2
2178 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2180 if test "${ac_cv_prog_CC+set}" = set; then
2181 echo $ECHO_N "(cached) $ECHO_C" >&6
2183 if test -n "$CC"; then
2184 ac_cv_prog_CC
="$CC" # Let the user override the test.
2187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2191 test -z "$as_dir" && as_dir
=.
2192 for ac_exec_ext
in '' $ac_executable_extensions; do
2193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2194 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2195 ac_prog_rejected
=yes
2199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2206 if test $ac_prog_rejected = yes; then
2207 # We found a bogon in the path, so make sure we never use it.
2208 set dummy
$ac_cv_prog_CC
2210 if test $# != 0; then
2211 # We chose a different compiler from the bogus one.
2212 # However, it has the same basename, so the bogon will be chosen
2213 # first if we set CC to just the basename; use the full file name.
2215 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2221 if test -n "$CC"; then
2222 { echo "$as_me:$LINENO: result: $CC" >&5
2223 echo "${ECHO_T}$CC" >&6; }
2225 { echo "$as_me:$LINENO: result: no" >&5
2226 echo "${ECHO_T}no" >&6; }
2231 if test -z "$CC"; then
2232 if test -n "$ac_tool_prefix"; then
2233 for ac_prog
in cl.exe
2235 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2236 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2239 if test "${ac_cv_prog_CC+set}" = set; then
2240 echo $ECHO_N "(cached) $ECHO_C" >&6
2242 if test -n "$CC"; then
2243 ac_cv_prog_CC
="$CC" # Let the user override the test.
2245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2249 test -z "$as_dir" && as_dir
=.
2250 for ac_exec_ext
in '' $ac_executable_extensions; do
2251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2252 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2263 if test -n "$CC"; then
2264 { echo "$as_me:$LINENO: result: $CC" >&5
2265 echo "${ECHO_T}$CC" >&6; }
2267 { echo "$as_me:$LINENO: result: no" >&5
2268 echo "${ECHO_T}no" >&6; }
2272 test -n "$CC" && break
2275 if test -z "$CC"; then
2277 for ac_prog
in cl.exe
2279 # Extract the first word of "$ac_prog", so it can be a program name with args.
2280 set dummy
$ac_prog; ac_word
=$2
2281 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2283 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2284 echo $ECHO_N "(cached) $ECHO_C" >&6
2286 if test -n "$ac_ct_CC"; then
2287 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2293 test -z "$as_dir" && as_dir
=.
2294 for ac_exec_ext
in '' $ac_executable_extensions; do
2295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2296 ac_cv_prog_ac_ct_CC
="$ac_prog"
2297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2306 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2307 if test -n "$ac_ct_CC"; then
2308 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2309 echo "${ECHO_T}$ac_ct_CC" >&6; }
2311 { echo "$as_me:$LINENO: result: no" >&5
2312 echo "${ECHO_T}no" >&6; }
2316 test -n "$ac_ct_CC" && break
2319 if test "x$ac_ct_CC" = x
; then
2322 case $cross_compiling:$ac_tool_warned in
2324 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2325 whose name does not start with the host triplet. If you think this
2326 configuration is useful to you, please write to autoconf@gnu.org." >&5
2327 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2328 whose name does not start with the host triplet. If you think this
2329 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2330 ac_tool_warned
=yes ;;
2339 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2340 See \`config.log' for more details." >&5
2341 echo "$as_me: error: no acceptable C compiler found in \$PATH
2342 See \`config.log' for more details." >&2;}
2343 { (exit 1); exit 1; }; }
2345 # Provide some information about the compiler.
2346 echo "$as_me:$LINENO: checking for C compiler version" >&5
2347 ac_compiler
=`set X $ac_compile; echo $2`
2348 { (ac_try
="$ac_compiler --version >&5"
2350 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2351 *) ac_try_echo=$ac_try;;
2353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2354 (eval "$ac_compiler --version >&5") 2>&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }
2358 { (ac_try="$ac_compiler -v >&5"
2360 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2361 *) ac_try_echo
=$ac_try;;
2363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2364 (eval "$ac_compiler -v >&5") 2>&5
2366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367 (exit $ac_status); }
2368 { (ac_try
="$ac_compiler -V >&5"
2370 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2371 *) ac_try_echo=$ac_try;;
2373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2374 (eval "$ac_compiler -V >&5") 2>&5
2376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2377 (exit $ac_status); }
2379 cat >conftest.$ac_ext <<_ACEOF
2382 cat confdefs.h >>conftest.$ac_ext
2383 cat >>conftest.$ac_ext <<_ACEOF
2384 /* end confdefs.h. */
2394 ac_clean_files_save=$ac_clean_files
2395 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2396 # Try to create an executable without -o first, disregard a.out.
2397 # It will help us diagnose broken compilers, and finding out an intuition
2399 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2400 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2401 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2403 # List of possible output files, starting from the most likely.
2404 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2405 # only as a last resort. b.out is created by i960 compilers.
2406 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2408 # The IRIX 6 linker writes into existing files which may not be
2409 # executable, retaining their permissions. Remove them first so a
2410 # subsequent execution test works.
2412 for ac_file in $ac_files
2415 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2416 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2421 if { (ac_try="$ac_link_default"
2423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2424 *) ac_try_echo=$ac_try;;
2426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2427 (eval "$ac_link_default") 2>&5
2429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430 (exit $ac_status); }; then
2431 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2432 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2433 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2434 # so that the user can short-circuit this test for compilers unknown to
2436 for ac_file
in $ac_files ''
2438 test -f "$ac_file" ||
continue
2440 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2443 # We found the default executable, but exeext='' is most
2447 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2449 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2451 # We set ac_cv_exeext here because the later test for it is not
2452 # safe: cross compilers may not add the suffix if given an `-o'
2453 # argument, so we may need to know it at that point already.
2454 # Even if this section looks crufty: it has the advantage of
2461 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2467 { echo "$as_me:$LINENO: result: $ac_file" >&5
2468 echo "${ECHO_T}$ac_file" >&6; }
2469 if test -z "$ac_file"; then
2470 echo "$as_me: failed program was:" >&5
2471 sed 's/^/| /' conftest.
$ac_ext >&5
2473 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2474 See \`config.log' for more details." >&5
2475 echo "$as_me: error: C compiler cannot create executables
2476 See \`config.log' for more details." >&2;}
2477 { (exit 77); exit 77; }; }
2480 ac_exeext
=$ac_cv_exeext
2482 # Check that the compiler produces executables we can run. If not, either
2483 # the compiler is broken, or we cross compile.
2484 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2485 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2486 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2487 # If not cross compiling, check that we can run a simple program.
2488 if test "$cross_compiling" != yes; then
2489 if { ac_try
='./$ac_file'
2490 { (case "(($ac_try" in
2491 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2492 *) ac_try_echo=$ac_try;;
2494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2495 (eval "$ac_try") 2>&5
2497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2498 (exit $ac_status); }; }; then
2501 if test "$cross_compiling" = maybe; then
2504 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2505 If you meant to cross compile, use \`--host'.
2506 See \`config.log' for more details.
" >&5
2507 echo "$as_me: error
: cannot run C compiled programs.
2508 If you meant to cross compile
, use \
`--host'.
2509 See \`config.log
' for more details." >&2;}
2510 { (exit 1); exit 1; }; }
2514 { echo "$as_me:$LINENO: result: yes" >&5
2515 echo "${ECHO_T}yes" >&6; }
2517 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2518 ac_clean_files=$ac_clean_files_save
2519 # Check that the compiler produces executables we can run. If not, either
2520 # the compiler is broken, or we cross compile.
2521 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2522 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2523 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2524 echo "${ECHO_T}$cross_compiling" >&6; }
2526 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2527 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2528 if { (ac_try="$ac_link"
2530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2531 *) ac_try_echo=$ac_try;;
2533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2534 (eval "$ac_link") 2>&5
2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537 (exit $ac_status); }; then
2538 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2539 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2540 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2542 for ac_file
in conftest.exe conftest conftest.
*; do
2543 test -f "$ac_file" ||
continue
2545 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2546 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2552 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2553 See \`config.log' for more details." >&5
2554 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2555 See \`config.log' for more details." >&2;}
2556 { (exit 1); exit 1; }; }
2559 rm -f conftest
$ac_cv_exeext
2560 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2561 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2563 rm -f conftest.
$ac_ext
2564 EXEEXT
=$ac_cv_exeext
2566 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2567 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2568 if test "${ac_cv_objext+set}" = set; then
2569 echo $ECHO_N "(cached) $ECHO_C" >&6
2571 cat >conftest.
$ac_ext <<_ACEOF
2574 cat confdefs.h
>>conftest.
$ac_ext
2575 cat >>conftest.
$ac_ext <<_ACEOF
2576 /* end confdefs.h. */
2586 rm -f conftest.o conftest.obj
2587 if { (ac_try
="$ac_compile"
2589 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2590 *) ac_try_echo=$ac_try;;
2592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2593 (eval "$ac_compile") 2>&5
2595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596 (exit $ac_status); }; then
2597 for ac_file in conftest.o conftest.obj conftest.*; do
2598 test -f "$ac_file" || continue;
2600 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2601 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2606 echo "$as_me: failed program was:" >&5
2607 sed 's/^/| /' conftest.$ac_ext >&5
2609 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2610 See \`config.log
' for more details." >&5
2611 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2612 See \`config.log' for more details.
" >&2;}
2613 { (exit 1); exit 1; }; }
2616 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2618 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2619 echo "${ECHO_T}$ac_cv_objext" >&6; }
2620 OBJEXT=$ac_cv_objext
2622 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2623 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2624 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2625 echo $ECHO_N "(cached
) $ECHO_C" >&6
2627 cat >conftest.$ac_ext <<_ACEOF
2630 cat confdefs.h >>conftest.$ac_ext
2631 cat >>conftest.$ac_ext <<_ACEOF
2632 /* end confdefs.h. */
2645 rm -f conftest.$ac_objext
2646 if { (ac_try="$ac_compile"
2648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2649 *) ac_try_echo=$ac_try;;
2651 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2652 (eval "$ac_compile") 2>conftest.er1
2654 grep -v '^ *+' conftest.er1 >conftest.err
2656 cat conftest.err >&5
2657 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2658 (exit $ac_status); } && {
2659 test -z "$ac_c_werror_flag" ||
2660 test ! -s conftest.err
2661 } && test -s conftest.$ac_objext; then
2664 echo "$as_me: failed program was
:" >&5
2665 sed 's/^/| /' conftest.$ac_ext >&5
2670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2671 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2674 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2675 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2676 GCC=`test $ac_compiler_gnu = yes && echo yes`
2677 ac_test_CFLAGS=${CFLAGS+set}
2678 ac_save_CFLAGS=$CFLAGS
2679 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2680 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2681 if test "${ac_cv_prog_cc_g+set}" = set; then
2682 echo $ECHO_N "(cached
) $ECHO_C" >&6
2684 ac_save_c_werror_flag=$ac_c_werror_flag
2685 ac_c_werror_flag=yes
2688 cat >conftest.$ac_ext <<_ACEOF
2691 cat confdefs.h >>conftest.$ac_ext
2692 cat >>conftest.$ac_ext <<_ACEOF
2693 /* end confdefs.h. */
2703 rm -f conftest.$ac_objext
2704 if { (ac_try="$ac_compile"
2706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2707 *) ac_try_echo=$ac_try;;
2709 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2710 (eval "$ac_compile") 2>conftest.er1
2712 grep -v '^ *+' conftest.er1 >conftest.err
2714 cat conftest.err >&5
2715 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2716 (exit $ac_status); } && {
2717 test -z "$ac_c_werror_flag" ||
2718 test ! -s conftest.err
2719 } && test -s conftest.$ac_objext; then
2722 echo "$as_me: failed program was
:" >&5
2723 sed 's/^/| /' conftest.$ac_ext >&5
2726 cat >conftest.$ac_ext <<_ACEOF
2729 cat confdefs.h >>conftest.$ac_ext
2730 cat >>conftest.$ac_ext <<_ACEOF
2731 /* end confdefs.h. */
2741 rm -f conftest.$ac_objext
2742 if { (ac_try="$ac_compile"
2744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2745 *) ac_try_echo=$ac_try;;
2747 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2748 (eval "$ac_compile") 2>conftest.er1
2750 grep -v '^ *+' conftest.er1 >conftest.err
2752 cat conftest.err >&5
2753 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2754 (exit $ac_status); } && {
2755 test -z "$ac_c_werror_flag" ||
2756 test ! -s conftest.err
2757 } && test -s conftest.$ac_objext; then
2760 echo "$as_me: failed program was
:" >&5
2761 sed 's/^/| /' conftest.$ac_ext >&5
2763 ac_c_werror_flag=$ac_save_c_werror_flag
2765 cat >conftest.$ac_ext <<_ACEOF
2768 cat confdefs.h >>conftest.$ac_ext
2769 cat >>conftest.$ac_ext <<_ACEOF
2770 /* end confdefs.h. */
2780 rm -f conftest.$ac_objext
2781 if { (ac_try="$ac_compile"
2783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2784 *) ac_try_echo=$ac_try;;
2786 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2787 (eval "$ac_compile") 2>conftest.er1
2789 grep -v '^ *+' conftest.er1 >conftest.err
2791 cat conftest.err >&5
2792 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2793 (exit $ac_status); } && {
2794 test -z "$ac_c_werror_flag" ||
2795 test ! -s conftest.err
2796 } && test -s conftest.$ac_objext; then
2799 echo "$as_me: failed program was
:" >&5
2800 sed 's/^/| /' conftest.$ac_ext >&5
2805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2812 ac_c_werror_flag=$ac_save_c_werror_flag
2814 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
2815 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2816 if test "$ac_test_CFLAGS" = set; then
2817 CFLAGS=$ac_save_CFLAGS
2818 elif test $ac_cv_prog_cc_g = yes; then
2819 if test "$GCC" = yes; then
2825 if test "$GCC" = yes; then
2831 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
2832 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
2833 if test "${ac_cv_prog_cc_c89+set}" = set; then
2834 echo $ECHO_N "(cached
) $ECHO_C" >&6
2836 ac_cv_prog_cc_c89=no
2838 cat >conftest.$ac_ext <<_ACEOF
2841 cat confdefs.h >>conftest.$ac_ext
2842 cat >>conftest.$ac_ext <<_ACEOF
2843 /* end confdefs.h. */
2846 #include <sys/types.h>
2847 #include <sys/stat.h>
2848 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2849 struct buf { int x; };
2850 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2851 static char *e (p, i)
2857 static char *f (char * (*g) (char **, int), char **p, ...)
2862 s = g (p, va_arg (v,int));
2867 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2868 function prototypes and stuff, but not '\xHH' hex character constants.
2869 These don't provoke an error unfortunately, instead are silently treated
2870 as 'x'. The following induces an error, until -std is added to get
2871 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2872 array size at least. It's necessary to write '\x00'==0 to get something
2873 that's true only with -std. */
2874 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2876 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2877 inside strings and character constants. */
2879 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2881 int test (int i, double x);
2882 struct s1 {int (*f) (int a);};
2883 struct s2 {int (*f) (double a);};
2884 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2890 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2895 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2896 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2898 CC="$ac_save_CC $ac_arg"
2899 rm -f conftest.$ac_objext
2900 if { (ac_try="$ac_compile"
2902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2903 *) ac_try_echo=$ac_try;;
2905 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2906 (eval "$ac_compile") 2>conftest.er1
2908 grep -v '^ *+' conftest.er1 >conftest.err
2910 cat conftest.err >&5
2911 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2912 (exit $ac_status); } && {
2913 test -z "$ac_c_werror_flag" ||
2914 test ! -s conftest.err
2915 } && test -s conftest.$ac_objext; then
2916 ac_cv_prog_cc_c89=$ac_arg
2918 echo "$as_me: failed program was
:" >&5
2919 sed 's/^/| /' conftest.$ac_ext >&5
2924 rm -f core conftest.err conftest.$ac_objext
2925 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
2927 rm -f conftest.$ac_ext
2932 case "x
$ac_cv_prog_cc_c89" in
2934 { echo "$as_me:$LINENO: result
: none needed
" >&5
2935 echo "${ECHO_T}none needed
" >&6; } ;;
2937 { echo "$as_me:$LINENO: result
: unsupported
" >&5
2938 echo "${ECHO_T}unsupported
" >&6; } ;;
2940 CC="$CC $ac_cv_prog_cc_c89"
2941 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
2942 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2947 ac_cpp='$CPP $CPPFLAGS'
2948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2953 ac_cpp='$CXXCPP $CPPFLAGS'
2954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2957 if test -z "$CXX"; then
2958 if test -n "$CCC"; then
2961 if test -n "$ac_tool_prefix"; then
2962 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2964 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2965 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2966 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
2967 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
2968 if test "${ac_cv_prog_CXX+set}" = set; then
2969 echo $ECHO_N "(cached
) $ECHO_C" >&6
2971 if test -n "$CXX"; then
2972 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2978 test -z "$as_dir" && as_dir=.
2979 for ac_exec_ext in '' $ac_executable_extensions; do
2980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2981 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2982 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2992 if test -n "$CXX"; then
2993 { echo "$as_me:$LINENO: result
: $CXX" >&5
2994 echo "${ECHO_T}$CXX" >&6; }
2996 { echo "$as_me:$LINENO: result
: no
" >&5
2997 echo "${ECHO_T}no
" >&6; }
3001 test -n "$CXX" && break
3004 if test -z "$CXX"; then
3006 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3008 # Extract the first word of "$ac_prog", so it can be a program name with args.
3009 set dummy $ac_prog; ac_word=$2
3010 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3011 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3012 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3013 echo $ECHO_N "(cached
) $ECHO_C" >&6
3015 if test -n "$ac_ct_CXX"; then
3016 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3022 test -z "$as_dir" && as_dir=.
3023 for ac_exec_ext in '' $ac_executable_extensions; do
3024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3025 ac_cv_prog_ac_ct_CXX="$ac_prog"
3026 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3035 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3036 if test -n "$ac_ct_CXX"; then
3037 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3038 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3040 { echo "$as_me:$LINENO: result
: no
" >&5
3041 echo "${ECHO_T}no
" >&6; }
3045 test -n "$ac_ct_CXX" && break
3048 if test "x
$ac_ct_CXX" = x; then
3051 case $cross_compiling:$ac_tool_warned in
3053 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3054 whose name does not start with the
host triplet. If you think this
3055 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3056 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3057 whose name does not start with the
host triplet. If you think this
3058 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3059 ac_tool_warned=yes ;;
3067 # Provide some information about the compiler.
3068 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3069 ac_compiler=`set X $ac_compile; echo $2`
3070 { (ac_try="$ac_compiler --version >&5"
3072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3073 *) ac_try_echo=$ac_try;;
3075 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3076 (eval "$ac_compiler --version >&5") 2>&5
3078 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3079 (exit $ac_status); }
3080 { (ac_try="$ac_compiler -v >&5"
3082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3083 *) ac_try_echo=$ac_try;;
3085 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3086 (eval "$ac_compiler -v >&5") 2>&5
3088 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3089 (exit $ac_status); }
3090 { (ac_try="$ac_compiler -V >&5"
3092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3093 *) ac_try_echo=$ac_try;;
3095 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3096 (eval "$ac_compiler -V >&5") 2>&5
3098 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3099 (exit $ac_status); }
3101 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3102 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3103 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3104 echo $ECHO_N "(cached
) $ECHO_C" >&6
3106 cat >conftest.$ac_ext <<_ACEOF
3109 cat confdefs.h >>conftest.$ac_ext
3110 cat >>conftest.$ac_ext <<_ACEOF
3111 /* end confdefs.h. */
3124 rm -f conftest.$ac_objext
3125 if { (ac_try="$ac_compile"
3127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3128 *) ac_try_echo=$ac_try;;
3130 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3131 (eval "$ac_compile") 2>conftest.er1
3133 grep -v '^ *+' conftest.er1 >conftest.err
3135 cat conftest.err >&5
3136 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3137 (exit $ac_status); } && {
3138 test -z "$ac_cxx_werror_flag" ||
3139 test ! -s conftest.err
3140 } && test -s conftest.$ac_objext; then
3143 echo "$as_me: failed program was
:" >&5
3144 sed 's/^/| /' conftest.$ac_ext >&5
3149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3150 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3153 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3154 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3155 GXX=`test $ac_compiler_gnu = yes && echo yes`
3156 ac_test_CXXFLAGS=${CXXFLAGS+set}
3157 ac_save_CXXFLAGS=$CXXFLAGS
3158 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3159 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3160 if test "${ac_cv_prog_cxx_g+set}" = set; then
3161 echo $ECHO_N "(cached
) $ECHO_C" >&6
3163 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3164 ac_cxx_werror_flag=yes
3167 cat >conftest.$ac_ext <<_ACEOF
3170 cat confdefs.h >>conftest.$ac_ext
3171 cat >>conftest.$ac_ext <<_ACEOF
3172 /* end confdefs.h. */
3182 rm -f conftest.$ac_objext
3183 if { (ac_try="$ac_compile"
3185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3186 *) ac_try_echo=$ac_try;;
3188 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3189 (eval "$ac_compile") 2>conftest.er1
3191 grep -v '^ *+' conftest.er1 >conftest.err
3193 cat conftest.err >&5
3194 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3195 (exit $ac_status); } && {
3196 test -z "$ac_cxx_werror_flag" ||
3197 test ! -s conftest.err
3198 } && test -s conftest.$ac_objext; then
3199 ac_cv_prog_cxx_g=yes
3201 echo "$as_me: failed program was
:" >&5
3202 sed 's/^/| /' conftest.$ac_ext >&5
3205 cat >conftest.$ac_ext <<_ACEOF
3208 cat confdefs.h >>conftest.$ac_ext
3209 cat >>conftest.$ac_ext <<_ACEOF
3210 /* end confdefs.h. */
3220 rm -f conftest.$ac_objext
3221 if { (ac_try="$ac_compile"
3223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3224 *) ac_try_echo=$ac_try;;
3226 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3227 (eval "$ac_compile") 2>conftest.er1
3229 grep -v '^ *+' conftest.er1 >conftest.err
3231 cat conftest.err >&5
3232 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3233 (exit $ac_status); } && {
3234 test -z "$ac_cxx_werror_flag" ||
3235 test ! -s conftest.err
3236 } && test -s conftest.$ac_objext; then
3239 echo "$as_me: failed program was
:" >&5
3240 sed 's/^/| /' conftest.$ac_ext >&5
3242 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3244 cat >conftest.$ac_ext <<_ACEOF
3247 cat confdefs.h >>conftest.$ac_ext
3248 cat >>conftest.$ac_ext <<_ACEOF
3249 /* end confdefs.h. */
3259 rm -f conftest.$ac_objext
3260 if { (ac_try="$ac_compile"
3262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3263 *) ac_try_echo=$ac_try;;
3265 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3266 (eval "$ac_compile") 2>conftest.er1
3268 grep -v '^ *+' conftest.er1 >conftest.err
3270 cat conftest.err >&5
3271 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3272 (exit $ac_status); } && {
3273 test -z "$ac_cxx_werror_flag" ||
3274 test ! -s conftest.err
3275 } && test -s conftest.$ac_objext; then
3276 ac_cv_prog_cxx_g=yes
3278 echo "$as_me: failed program was
:" >&5
3279 sed 's/^/| /' conftest.$ac_ext >&5
3284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3291 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3293 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3294 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3295 if test "$ac_test_CXXFLAGS" = set; then
3296 CXXFLAGS=$ac_save_CXXFLAGS
3297 elif test $ac_cv_prog_cxx_g = yes; then
3298 if test "$GXX" = yes; then
3304 if test "$GXX" = yes; then
3311 ac_cpp='$CPP $CPPFLAGS'
3312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3316 if test -n "$ac_tool_prefix"; then
3317 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3318 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3319 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3320 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3321 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3322 echo $ECHO_N "(cached
) $ECHO_C" >&6
3324 if test -n "$CPPBIN"; then
3325 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3331 test -z "$as_dir" && as_dir=.
3332 for ac_exec_ext in '' $ac_executable_extensions; do
3333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3334 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3335 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3344 CPPBIN=$ac_cv_prog_CPPBIN
3345 if test -n "$CPPBIN"; then
3346 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3347 echo "${ECHO_T}$CPPBIN" >&6; }
3349 { echo "$as_me:$LINENO: result
: no
" >&5
3350 echo "${ECHO_T}no
" >&6; }
3355 if test -z "$ac_cv_prog_CPPBIN"; then
3356 ac_ct_CPPBIN=$CPPBIN
3357 # Extract the first word of "cpp
", so it can be a program name with args.
3358 set dummy cpp; ac_word=$2
3359 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3360 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3361 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3362 echo $ECHO_N "(cached
) $ECHO_C" >&6
3364 if test -n "$ac_ct_CPPBIN"; then
3365 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3371 test -z "$as_dir" && as_dir=.
3372 for ac_exec_ext in '' $ac_executable_extensions; do
3373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3374 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3375 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3384 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3385 if test -n "$ac_ct_CPPBIN"; then
3386 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3387 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3389 { echo "$as_me:$LINENO: result
: no
" >&5
3390 echo "${ECHO_T}no
" >&6; }
3393 if test "x
$ac_ct_CPPBIN" = x; then
3396 case $cross_compiling:$ac_tool_warned in
3398 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3399 whose name does not start with the
host triplet. If you think this
3400 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3401 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3402 whose name does not start with the
host triplet. If you think this
3403 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3404 ac_tool_warned=yes ;;
3406 CPPBIN=$ac_ct_CPPBIN
3409 CPPBIN="$ac_cv_prog_CPPBIN"
3413 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3414 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3415 if test "${wine_cv_toolsdir+set}" = set; then
3416 echo $ECHO_N "(cached
) $ECHO_C" >&6
3418 if test -z "$with_wine_tools"; then
3419 if test "$cross_compiling" = "yes"; then
3420 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3421 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3422 { (exit 1); exit 1; }; }
3424 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3426 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3427 case $with_wine_tools in
3428 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3429 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3432 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3433 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3434 { (exit 1); exit 1; }; }
3437 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3438 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3439 TOOLSDIR=$wine_cv_toolsdir
3444 ac_cpp='$CPP $CPPFLAGS'
3445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3448 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3449 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3450 # On Suns, sometimes $CPP names a directory.
3451 if test -n "$CPP" && test -d "$CPP"; then
3454 if test -z "$CPP"; then
3455 if test "${ac_cv_prog_CPP+set}" = set; then
3456 echo $ECHO_N "(cached
) $ECHO_C" >&6
3458 # Double quotes because CPP needs to be expanded
3459 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3462 for ac_c_preproc_warn_flag in '' yes
3464 # Use a header file that comes with gcc, so configuring glibc
3465 # with a fresh cross-compiler works.
3466 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3467 # <limits.h> exists even on freestanding compilers.
3468 # On the NeXT, cc -E runs the code through the compiler's parser,
3469 # not just through cpp. "Syntax error
" is here to catch this case.
3470 cat >conftest.$ac_ext <<_ACEOF
3473 cat confdefs.h >>conftest.$ac_ext
3474 cat >>conftest.$ac_ext <<_ACEOF
3475 /* end confdefs.h. */
3477 # include <limits.h>
3479 # include <assert.h>
3483 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3486 *) ac_try_echo=$ac_try;;
3488 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3489 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3491 grep -v '^ *+' conftest.er1 >conftest.err
3493 cat conftest.err >&5
3494 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3495 (exit $ac_status); } >/dev/null && {
3496 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3497 test ! -s conftest.err
3501 echo "$as_me: failed program was
:" >&5
3502 sed 's/^/| /' conftest.$ac_ext >&5
3504 # Broken: fails on valid input.
3508 rm -f conftest.err conftest.$ac_ext
3510 # OK, works on sane cases. Now check whether nonexistent headers
3511 # can be detected and how.
3512 cat >conftest.$ac_ext <<_ACEOF
3515 cat confdefs.h >>conftest.$ac_ext
3516 cat >>conftest.$ac_ext <<_ACEOF
3517 /* end confdefs.h. */
3518 #include <ac_nonexistent.h>
3520 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3523 *) ac_try_echo=$ac_try;;
3525 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3526 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3528 grep -v '^ *+' conftest.er1 >conftest.err
3530 cat conftest.err >&5
3531 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3532 (exit $ac_status); } >/dev/null && {
3533 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3534 test ! -s conftest.err
3536 # Broken: success on invalid input.
3539 echo "$as_me: failed program was
:" >&5
3540 sed 's/^/| /' conftest.$ac_ext >&5
3542 # Passes both tests.
3547 rm -f conftest.err conftest.$ac_ext
3550 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3551 rm -f conftest.err conftest.$ac_ext
3552 if $ac_preproc_ok; then
3564 { echo "$as_me:$LINENO: result
: $CPP" >&5
3565 echo "${ECHO_T}$CPP" >&6; }
3567 for ac_c_preproc_warn_flag in '' yes
3569 # Use a header file that comes with gcc, so configuring glibc
3570 # with a fresh cross-compiler works.
3571 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3572 # <limits.h> exists even on freestanding compilers.
3573 # On the NeXT, cc -E runs the code through the compiler's parser,
3574 # not just through cpp. "Syntax error
" is here to catch this case.
3575 cat >conftest.$ac_ext <<_ACEOF
3578 cat confdefs.h >>conftest.$ac_ext
3579 cat >>conftest.$ac_ext <<_ACEOF
3580 /* end confdefs.h. */
3582 # include <limits.h>
3584 # include <assert.h>
3588 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3591 *) ac_try_echo=$ac_try;;
3593 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3594 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3596 grep -v '^ *+' conftest.er1 >conftest.err
3598 cat conftest.err >&5
3599 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3600 (exit $ac_status); } >/dev/null && {
3601 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3602 test ! -s conftest.err
3606 echo "$as_me: failed program was
:" >&5
3607 sed 's/^/| /' conftest.$ac_ext >&5
3609 # Broken: fails on valid input.
3613 rm -f conftest.err conftest.$ac_ext
3615 # OK, works on sane cases. Now check whether nonexistent headers
3616 # can be detected and how.
3617 cat >conftest.$ac_ext <<_ACEOF
3620 cat confdefs.h >>conftest.$ac_ext
3621 cat >>conftest.$ac_ext <<_ACEOF
3622 /* end confdefs.h. */
3623 #include <ac_nonexistent.h>
3625 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3628 *) ac_try_echo=$ac_try;;
3630 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3631 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3633 grep -v '^ *+' conftest.er1 >conftest.err
3635 cat conftest.err >&5
3636 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3637 (exit $ac_status); } >/dev/null && {
3638 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3639 test ! -s conftest.err
3641 # Broken: success on invalid input.
3644 echo "$as_me: failed program was
:" >&5
3645 sed 's/^/| /' conftest.$ac_ext >&5
3647 # Passes both tests.
3652 rm -f conftest.err conftest.$ac_ext
3655 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3656 rm -f conftest.err conftest.$ac_ext
3657 if $ac_preproc_ok; then
3660 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3661 See \
`config.log' for more details." >&5
3662 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3663 See \`config.log
' for more details." >&2;}
3664 { (exit 1); exit 1; }; }
3668 ac_cpp='$CPP $CPPFLAGS'
3669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3670 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3674 { echo "$as_me:$LINENO: checking for X" >&5
3675 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3678 # Check whether --with-x was given.
3679 if test "${with_x+set}" = set; then
3683 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3684 if test "x$with_x" = xno; then
3685 # The user explicitly disabled X.
3688 case $x_includes,$x_libraries in #(
3689 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3690 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3691 { (exit 1); exit 1; }; };; #(
3692 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3693 echo $ECHO_N "(cached) $ECHO_C" >&6
3695 # One or both of the vars are not set, and there is no cached value.
3696 ac_x_includes=no ac_x_libraries=no
3697 rm -f -r conftest.dir
3698 if mkdir conftest.dir; then
3700 cat >Imakefile <<'_ACEOF'
3702 @echo incroot='${INCROOT}'
3704 @echo usrlibdir='${USRLIBDIR}'
3706 @echo libdir='${LIBDIR}'
3708 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3709 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3710 for ac_var in incroot usrlibdir libdir; do
3711 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3713 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3714 for ac_extension in a so sl; do
3715 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3716 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3717 ac_im_usrlibdir=$ac_im_libdir; break
3720 # Screen out bogus values from the imake configuration. They are
3721 # bogus both because they are the default anyway, and because
3722 # using them would break gcc on systems where it needs fixed includes.
3723 case $ac_im_incroot in
3724 /usr/include) ac_x_includes= ;;
3725 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3727 case $ac_im_usrlibdir in
3729 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3733 rm -f -r conftest.dir
3736 # Standard set of common directories for X headers.
3737 # Check X11 before X11Rn because it is often a symlink to the current release.
3749 /usr
/local
/X11
/include
3750 /usr
/local
/X11R
6/include
3751 /usr
/local
/X11R
5/include
3752 /usr
/local
/X11R
4/include
3754 /usr
/local
/include
/X11
3755 /usr
/local
/include
/X11R6
3756 /usr
/local
/include
/X11R5
3757 /usr
/local
/include
/X11R4
3761 /usr
/XFree86
/include
/X11
3765 /usr
/unsupported
/include
3767 /usr
/local
/x11r
5/include
3768 /usr
/lpp
/Xamples
/include
3770 /usr
/openwin
/include
3771 /usr
/openwin
/share
/include
'
3773 if test "$ac_x_includes" = no; then
3774 # Guess where to find include files, by looking for Xlib.h.
3775 # First, try using that file with no special directory specified.
3776 cat >conftest.$ac_ext <<_ACEOF
3779 cat confdefs.h >>conftest.$ac_ext
3780 cat >>conftest.$ac_ext <<_ACEOF
3781 /* end confdefs.h. */
3782 #include <X11/Xlib.h>
3784 if { (ac_try="$ac_cpp conftest.$ac_ext"
3786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3787 *) ac_try_echo=$ac_try;;
3789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3790 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3792 grep -v '^
*+' conftest.er1 >conftest.err
3794 cat conftest.err >&5
3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796 (exit $ac_status); } >/dev/null && {
3797 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3798 test ! -s conftest.err
3800 # We can compile using X headers with no special include directory.
3803 echo "$as_me: failed program was:" >&5
3804 sed 's
/^
/|
/' conftest.$ac_ext >&5
3806 for ac_dir in $ac_x_header_dirs; do
3807 if test -r "$ac_dir/X11/Xlib.h"; then
3808 ac_x_includes=$ac_dir
3814 rm -f conftest.err conftest.$ac_ext
3815 fi # $ac_x_includes = no
3817 if test "$ac_x_libraries" = no; then
3818 # Check for the libraries.
3819 # See if we find them without any special options.
3820 # Don't add to
$LIBS permanently.
3823 cat >conftest.
$ac_ext <<_ACEOF
3826 cat confdefs.h
>>conftest.
$ac_ext
3827 cat >>conftest.
$ac_ext <<_ACEOF
3828 /* end confdefs.h. */
3829 #include <X11/Xlib.h>
3838 rm -f conftest.
$ac_objext conftest
$ac_exeext
3839 if { (ac_try
="$ac_link"
3841 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3842 *) ac_try_echo=$ac_try;;
3844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3845 (eval "$ac_link") 2>conftest.er1
3847 grep -v '^ *+' conftest.er1 >conftest.err
3849 cat conftest.err >&5
3850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3851 (exit $ac_status); } && {
3852 test -z "$ac_c_werror_flag" ||
3853 test ! -s conftest.err
3854 } && test -s conftest$ac_exeext &&
3855 $as_test_x conftest$ac_exeext; then
3857 # We can link X programs with no special library path.
3860 echo "$as_me: failed program was:" >&5
3861 sed 's/^/| /' conftest.$ac_ext >&5
3864 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
3866 # Don't even attempt the hair of trying to link an X program!
3867 for ac_extension in a so sl; do
3868 if test -r "$ac_dir/libX11.$ac_extension"; then
3869 ac_x_libraries=$ac_dir
3876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3877 conftest$ac_exeext conftest.$ac_ext
3878 fi # $ac_x_libraries = no
3880 case $ac_x_includes,$ac_x_libraries in #(
3882 # Didn't find X, or a directory has "'" in its name.
3883 ac_cv_have_x="have_x=no";; #(
3885 # Record where we found X for the cache.
3886 ac_cv_have_x="have_x=yes\
3887 ac_x_includes='$ac_x_includes'\
3888 ac_x_libraries='$ac_x_libraries'"
3894 eval "$ac_cv_have_x"
3897 if test "$have_x" != yes; then
3898 { echo "$as_me:$LINENO: result: $have_x" >&5
3899 echo "${ECHO_T}$have_x" >&6; }
3902 # If each of the values was on the command line, it overrides each guess.
3903 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3904 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3905 # Update the cache value to reflect the command line values.
3906 ac_cv_have_x="have_x=yes\
3907 ac_x_includes='$x_includes'\
3908 ac_x_libraries='$x_libraries'"
3909 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3910 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3913 if test "$no_x" = yes; then
3914 # Not all programs may use this symbol, but it does not hurt to define it.
3916 cat >>confdefs.h <<\_ACEOF
3917 #define X_DISPLAY_MISSING 1
3920 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3922 if test -n "$x_includes"; then
3923 X_CFLAGS="$X_CFLAGS -I$x_includes"
3926 # It would also be nice to do this for all -L options, not just this one.
3927 if test -n "$x_libraries"; then
3928 X_LIBS="$X_LIBS -L$x_libraries"
3929 # For Solaris; some versions of Sun CC require a space after -R and
3930 # others require no space. Words are not sufficient . . . .
3931 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3932 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3933 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3934 ac_xsave_c_werror_flag=$ac_c_werror_flag
3935 ac_c_werror_flag=yes
3936 cat >conftest.$ac_ext <<_ACEOF
3939 cat confdefs.h >>conftest.$ac_ext
3940 cat >>conftest.$ac_ext <<_ACEOF
3941 /* end confdefs.h. */
3951 rm -f conftest.$ac_objext conftest$ac_exeext
3952 if { (ac_try="$ac_link"
3954 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3955 *) ac_try_echo
=$ac_try;;
3957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3958 (eval "$ac_link") 2>conftest.er1
3960 grep -v '^ *+' conftest.er1
>conftest.err
3962 cat conftest.err
>&5
3963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3964 (exit $ac_status); } && {
3965 test -z "$ac_c_werror_flag" ||
3966 test ! -s conftest.err
3967 } && test -s conftest
$ac_exeext &&
3968 $as_test_x conftest
$ac_exeext; then
3969 { echo "$as_me:$LINENO: result: no" >&5
3970 echo "${ECHO_T}no" >&6; }
3971 X_LIBS
="$X_LIBS -R$x_libraries"
3973 echo "$as_me: failed program was:" >&5
3974 sed 's/^/| /' conftest.
$ac_ext >&5
3976 LIBS
="$ac_xsave_LIBS -R $x_libraries"
3977 cat >conftest.
$ac_ext <<_ACEOF
3980 cat confdefs.h
>>conftest.
$ac_ext
3981 cat >>conftest.
$ac_ext <<_ACEOF
3982 /* end confdefs.h. */
3992 rm -f conftest.
$ac_objext conftest
$ac_exeext
3993 if { (ac_try
="$ac_link"
3995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3996 *) ac_try_echo=$ac_try;;
3998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3999 (eval "$ac_link") 2>conftest.er1
4001 grep -v '^ *+' conftest.er1 >conftest.err
4003 cat conftest.err >&5
4004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4005 (exit $ac_status); } && {
4006 test -z "$ac_c_werror_flag" ||
4007 test ! -s conftest.err
4008 } && test -s conftest$ac_exeext &&
4009 $as_test_x conftest$ac_exeext; then
4010 { echo "$as_me:$LINENO: result: yes" >&5
4011 echo "${ECHO_T}yes" >&6; }
4012 X_LIBS="$X_LIBS -R $x_libraries"
4014 echo "$as_me: failed program was:" >&5
4015 sed 's/^/| /' conftest.$ac_ext >&5
4017 { echo "$as_me:$LINENO: result: neither works" >&5
4018 echo "${ECHO_T}neither works" >&6; }
4021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4022 conftest$ac_exeext conftest.$ac_ext
4025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4026 conftest$ac_exeext conftest.$ac_ext
4027 ac_c_werror_flag=$ac_xsave_c_werror_flag
4031 # Check for system-dependent libraries X programs must link with.
4032 # Do this before checking for the system-independent R6 libraries
4033 # (-lICE), since we may need -lsocket or whatever for X linking.
4035 if test "$ISC" = yes; then
4036 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4038 # Martyn Johnson says this is needed for Ultrix, if the X
4039 # libraries were built with DECnet support. And Karl Berry says
4040 # the Alpha needs dnet_stub (dnet does not exist).
4041 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4042 cat >conftest.$ac_ext <<_ACEOF
4045 cat confdefs.h >>conftest.$ac_ext
4046 cat >>conftest.$ac_ext <<_ACEOF
4047 /* end confdefs.h. */
4049 /* Override any GCC internal prototype to avoid an error.
4050 Use char because int might match the return type of a GCC
4051 builtin and then its argument prototype would still apply. */
4055 char XOpenDisplay ();
4059 return XOpenDisplay ();
4064 rm -f conftest.$ac_objext conftest$ac_exeext
4065 if { (ac_try="$ac_link"
4067 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4068 *) ac_try_echo
=$ac_try;;
4070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4071 (eval "$ac_link") 2>conftest.er1
4073 grep -v '^ *+' conftest.er1
>conftest.err
4075 cat conftest.err
>&5
4076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4077 (exit $ac_status); } && {
4078 test -z "$ac_c_werror_flag" ||
4079 test ! -s conftest.err
4080 } && test -s conftest
$ac_exeext &&
4081 $as_test_x conftest
$ac_exeext; then
4084 echo "$as_me: failed program was:" >&5
4085 sed 's/^/| /' conftest.
$ac_ext >&5
4087 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4088 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4089 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4090 echo $ECHO_N "(cached) $ECHO_C" >&6
4092 ac_check_lib_save_LIBS
=$LIBS
4094 cat >conftest.
$ac_ext <<_ACEOF
4097 cat confdefs.h
>>conftest.
$ac_ext
4098 cat >>conftest.
$ac_ext <<_ACEOF
4099 /* end confdefs.h. */
4101 /* Override any GCC internal prototype to avoid an error.
4102 Use char because int might match the return type of a GCC
4103 builtin and then its argument prototype would still apply. */
4111 return dnet_ntoa ();
4116 rm -f conftest.
$ac_objext conftest
$ac_exeext
4117 if { (ac_try
="$ac_link"
4119 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4120 *) ac_try_echo=$ac_try;;
4122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4123 (eval "$ac_link") 2>conftest.er1
4125 grep -v '^ *+' conftest.er1 >conftest.err
4127 cat conftest.err >&5
4128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4129 (exit $ac_status); } && {
4130 test -z "$ac_c_werror_flag" ||
4131 test ! -s conftest.err
4132 } && test -s conftest$ac_exeext &&
4133 $as_test_x conftest$ac_exeext; then
4134 ac_cv_lib_dnet_dnet_ntoa=yes
4136 echo "$as_me: failed program was:" >&5
4137 sed 's/^/| /' conftest.$ac_ext >&5
4139 ac_cv_lib_dnet_dnet_ntoa=no
4142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4143 conftest$ac_exeext conftest.$ac_ext
4144 LIBS=$ac_check_lib_save_LIBS
4146 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4147 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4148 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4149 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4152 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4153 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4154 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4155 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4156 echo $ECHO_N "(cached) $ECHO_C" >&6
4158 ac_check_lib_save_LIBS=$LIBS
4159 LIBS="-ldnet_stub $LIBS"
4160 cat >conftest.$ac_ext <<_ACEOF
4163 cat confdefs.h >>conftest.$ac_ext
4164 cat >>conftest.$ac_ext <<_ACEOF
4165 /* end confdefs.h. */
4167 /* Override any GCC internal prototype to avoid an error.
4168 Use char because int might match the return type of a GCC
4169 builtin and then its argument prototype would still apply. */
4177 return dnet_ntoa ();
4182 rm -f conftest.$ac_objext conftest$ac_exeext
4183 if { (ac_try="$ac_link"
4185 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4186 *) ac_try_echo
=$ac_try;;
4188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4189 (eval "$ac_link") 2>conftest.er1
4191 grep -v '^ *+' conftest.er1
>conftest.err
4193 cat conftest.err
>&5
4194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4195 (exit $ac_status); } && {
4196 test -z "$ac_c_werror_flag" ||
4197 test ! -s conftest.err
4198 } && test -s conftest
$ac_exeext &&
4199 $as_test_x conftest
$ac_exeext; then
4200 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4202 echo "$as_me: failed program was:" >&5
4203 sed 's/^/| /' conftest.
$ac_ext >&5
4205 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4208 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4209 conftest
$ac_exeext conftest.
$ac_ext
4210 LIBS
=$ac_check_lib_save_LIBS
4212 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4213 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4214 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4215 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4221 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4222 conftest
$ac_exeext conftest.
$ac_ext
4223 LIBS
="$ac_xsave_LIBS"
4225 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4226 # to get the SysV transport functions.
4227 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4229 # The nsl library prevents programs from opening the X display
4230 # on Irix 5.2, according to T.E. Dickey.
4231 # The functions gethostbyname, getservbyname, and inet_addr are
4232 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4233 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4234 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4235 if test "${ac_cv_func_gethostbyname+set}" = set; then
4236 echo $ECHO_N "(cached) $ECHO_C" >&6
4238 cat >conftest.
$ac_ext <<_ACEOF
4241 cat confdefs.h
>>conftest.
$ac_ext
4242 cat >>conftest.
$ac_ext <<_ACEOF
4243 /* end confdefs.h. */
4244 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4246 #define gethostbyname innocuous_gethostbyname
4248 /* System header to define __stub macros and hopefully few prototypes,
4249 which can conflict with char gethostbyname (); below.
4250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4251 <limits.h> exists even on freestanding compilers. */
4254 # include <limits.h>
4256 # include <assert.h>
4259 #undef gethostbyname
4261 /* Override any GCC internal prototype to avoid an error.
4262 Use char because int might match the return type of a GCC
4263 builtin and then its argument prototype would still apply. */
4267 char gethostbyname ();
4268 /* The GNU C library defines this for functions which it implements
4269 to always fail with ENOSYS. Some functions are actually named
4270 something starting with __ and the normal name is an alias. */
4271 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4278 return gethostbyname ();
4283 rm -f conftest.
$ac_objext conftest
$ac_exeext
4284 if { (ac_try
="$ac_link"
4286 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4287 *) ac_try_echo=$ac_try;;
4289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4290 (eval "$ac_link") 2>conftest.er1
4292 grep -v '^ *+' conftest.er1 >conftest.err
4294 cat conftest.err >&5
4295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4296 (exit $ac_status); } && {
4297 test -z "$ac_c_werror_flag" ||
4298 test ! -s conftest.err
4299 } && test -s conftest$ac_exeext &&
4300 $as_test_x conftest$ac_exeext; then
4301 ac_cv_func_gethostbyname=yes
4303 echo "$as_me: failed program was:" >&5
4304 sed 's/^/| /' conftest.$ac_ext >&5
4306 ac_cv_func_gethostbyname=no
4309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4310 conftest$ac_exeext conftest.$ac_ext
4312 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4313 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4315 if test $ac_cv_func_gethostbyname = no; then
4316 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4317 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4318 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4319 echo $ECHO_N "(cached) $ECHO_C" >&6
4321 ac_check_lib_save_LIBS=$LIBS
4323 cat >conftest.$ac_ext <<_ACEOF
4326 cat confdefs.h >>conftest.$ac_ext
4327 cat >>conftest.$ac_ext <<_ACEOF
4328 /* end confdefs.h. */
4330 /* Override any GCC internal prototype to avoid an error.
4331 Use char because int might match the return type of a GCC
4332 builtin and then its argument prototype would still apply. */
4336 char gethostbyname ();
4340 return gethostbyname ();
4345 rm -f conftest.$ac_objext conftest$ac_exeext
4346 if { (ac_try="$ac_link"
4348 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4349 *) ac_try_echo
=$ac_try;;
4351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4352 (eval "$ac_link") 2>conftest.er1
4354 grep -v '^ *+' conftest.er1
>conftest.err
4356 cat conftest.err
>&5
4357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4358 (exit $ac_status); } && {
4359 test -z "$ac_c_werror_flag" ||
4360 test ! -s conftest.err
4361 } && test -s conftest
$ac_exeext &&
4362 $as_test_x conftest
$ac_exeext; then
4363 ac_cv_lib_nsl_gethostbyname
=yes
4365 echo "$as_me: failed program was:" >&5
4366 sed 's/^/| /' conftest.
$ac_ext >&5
4368 ac_cv_lib_nsl_gethostbyname
=no
4371 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4372 conftest
$ac_exeext conftest.
$ac_ext
4373 LIBS
=$ac_check_lib_save_LIBS
4375 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4376 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4377 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4378 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4381 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4382 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4383 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4384 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4385 echo $ECHO_N "(cached) $ECHO_C" >&6
4387 ac_check_lib_save_LIBS
=$LIBS
4389 cat >conftest.
$ac_ext <<_ACEOF
4392 cat confdefs.h
>>conftest.
$ac_ext
4393 cat >>conftest.
$ac_ext <<_ACEOF
4394 /* end confdefs.h. */
4396 /* Override any GCC internal prototype to avoid an error.
4397 Use char because int might match the return type of a GCC
4398 builtin and then its argument prototype would still apply. */
4402 char gethostbyname ();
4406 return gethostbyname ();
4411 rm -f conftest.
$ac_objext conftest
$ac_exeext
4412 if { (ac_try
="$ac_link"
4414 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4415 *) ac_try_echo=$ac_try;;
4417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4418 (eval "$ac_link") 2>conftest.er1
4420 grep -v '^ *+' conftest.er1 >conftest.err
4422 cat conftest.err >&5
4423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424 (exit $ac_status); } && {
4425 test -z "$ac_c_werror_flag" ||
4426 test ! -s conftest.err
4427 } && test -s conftest$ac_exeext &&
4428 $as_test_x conftest$ac_exeext; then
4429 ac_cv_lib_bsd_gethostbyname=yes
4431 echo "$as_me: failed program was:" >&5
4432 sed 's/^/| /' conftest.$ac_ext >&5
4434 ac_cv_lib_bsd_gethostbyname=no
4437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4438 conftest$ac_exeext conftest.$ac_ext
4439 LIBS=$ac_check_lib_save_LIBS
4441 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4442 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4443 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4444 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4450 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4451 # socket/setsockopt and other routines are undefined under SCO ODT
4452 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4453 # on later versions), says Simon Leinen: it contains gethostby*
4454 # variants that don't use the name server (or something). -lsocket
4455 # must be given before -lnsl if both are needed. We assume that
4456 # if connect needs -lnsl, so does gethostbyname.
4457 { echo "$as_me:$LINENO: checking for connect" >&5
4458 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4459 if test "${ac_cv_func_connect+set}" = set; then
4460 echo $ECHO_N "(cached) $ECHO_C" >&6
4462 cat >conftest.$ac_ext <<_ACEOF
4465 cat confdefs.h >>conftest.$ac_ext
4466 cat >>conftest.$ac_ext <<_ACEOF
4467 /* end confdefs.h. */
4468 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4470 #define connect innocuous_connect
4472 /* System header to define __stub macros and hopefully few prototypes,
4473 which can conflict with char connect (); below.
4474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4475 <limits.h> exists even on freestanding compilers. */
4478 # include <limits.h>
4480 # include <assert.h>
4485 /* Override any GCC internal prototype to avoid an error.
4486 Use char because int might match the return type of a GCC
4487 builtin and then its argument prototype would still apply. */
4492 /* The GNU C library defines this for functions which it implements
4493 to always fail with ENOSYS. Some functions are actually named
4494 something starting with __ and the normal name is an alias. */
4495 #if defined __stub_connect || defined __stub___connect
4507 rm -f conftest.$ac_objext conftest$ac_exeext
4508 if { (ac_try="$ac_link"
4510 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4511 *) ac_try_echo
=$ac_try;;
4513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4514 (eval "$ac_link") 2>conftest.er1
4516 grep -v '^ *+' conftest.er1
>conftest.err
4518 cat conftest.err
>&5
4519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4520 (exit $ac_status); } && {
4521 test -z "$ac_c_werror_flag" ||
4522 test ! -s conftest.err
4523 } && test -s conftest
$ac_exeext &&
4524 $as_test_x conftest
$ac_exeext; then
4525 ac_cv_func_connect
=yes
4527 echo "$as_me: failed program was:" >&5
4528 sed 's/^/| /' conftest.
$ac_ext >&5
4530 ac_cv_func_connect
=no
4533 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4534 conftest
$ac_exeext conftest.
$ac_ext
4536 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4537 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4539 if test $ac_cv_func_connect = no
; then
4540 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4541 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4542 if test "${ac_cv_lib_socket_connect+set}" = set; then
4543 echo $ECHO_N "(cached) $ECHO_C" >&6
4545 ac_check_lib_save_LIBS
=$LIBS
4546 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4547 cat >conftest.
$ac_ext <<_ACEOF
4550 cat confdefs.h
>>conftest.
$ac_ext
4551 cat >>conftest.
$ac_ext <<_ACEOF
4552 /* end confdefs.h. */
4554 /* Override any GCC internal prototype to avoid an error.
4555 Use char because int might match the return type of a GCC
4556 builtin and then its argument prototype would still apply. */
4569 rm -f conftest.
$ac_objext conftest
$ac_exeext
4570 if { (ac_try
="$ac_link"
4572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4573 *) ac_try_echo=$ac_try;;
4575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4576 (eval "$ac_link") 2>conftest.er1
4578 grep -v '^ *+' conftest.er1 >conftest.err
4580 cat conftest.err >&5
4581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4582 (exit $ac_status); } && {
4583 test -z "$ac_c_werror_flag" ||
4584 test ! -s conftest.err
4585 } && test -s conftest$ac_exeext &&
4586 $as_test_x conftest$ac_exeext; then
4587 ac_cv_lib_socket_connect=yes
4589 echo "$as_me: failed program was:" >&5
4590 sed 's/^/| /' conftest.$ac_ext >&5
4592 ac_cv_lib_socket_connect=no
4595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4596 conftest$ac_exeext conftest.$ac_ext
4597 LIBS=$ac_check_lib_save_LIBS
4599 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4600 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4601 if test $ac_cv_lib_socket_connect = yes; then
4602 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4607 # Guillermo Gomez says -lposix is necessary on A/UX.
4608 { echo "$as_me:$LINENO: checking for remove" >&5
4609 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4610 if test "${ac_cv_func_remove+set}" = set; then
4611 echo $ECHO_N "(cached) $ECHO_C" >&6
4613 cat >conftest.$ac_ext <<_ACEOF
4616 cat confdefs.h >>conftest.$ac_ext
4617 cat >>conftest.$ac_ext <<_ACEOF
4618 /* end confdefs.h. */
4619 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4621 #define remove innocuous_remove
4623 /* System header to define __stub macros and hopefully few prototypes,
4624 which can conflict with char remove (); below.
4625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4626 <limits.h> exists even on freestanding compilers. */
4629 # include <limits.h>
4631 # include <assert.h>
4636 /* Override any GCC internal prototype to avoid an error.
4637 Use char because int might match the return type of a GCC
4638 builtin and then its argument prototype would still apply. */
4643 /* The GNU C library defines this for functions which it implements
4644 to always fail with ENOSYS. Some functions are actually named
4645 something starting with __ and the normal name is an alias. */
4646 #if defined __stub_remove || defined __stub___remove
4658 rm -f conftest.$ac_objext conftest$ac_exeext
4659 if { (ac_try="$ac_link"
4661 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4662 *) ac_try_echo
=$ac_try;;
4664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4665 (eval "$ac_link") 2>conftest.er1
4667 grep -v '^ *+' conftest.er1
>conftest.err
4669 cat conftest.err
>&5
4670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4671 (exit $ac_status); } && {
4672 test -z "$ac_c_werror_flag" ||
4673 test ! -s conftest.err
4674 } && test -s conftest
$ac_exeext &&
4675 $as_test_x conftest
$ac_exeext; then
4676 ac_cv_func_remove
=yes
4678 echo "$as_me: failed program was:" >&5
4679 sed 's/^/| /' conftest.
$ac_ext >&5
4681 ac_cv_func_remove
=no
4684 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4685 conftest
$ac_exeext conftest.
$ac_ext
4687 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4688 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4690 if test $ac_cv_func_remove = no
; then
4691 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4692 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4693 if test "${ac_cv_lib_posix_remove+set}" = set; then
4694 echo $ECHO_N "(cached) $ECHO_C" >&6
4696 ac_check_lib_save_LIBS
=$LIBS
4697 LIBS
="-lposix $LIBS"
4698 cat >conftest.
$ac_ext <<_ACEOF
4701 cat confdefs.h
>>conftest.
$ac_ext
4702 cat >>conftest.
$ac_ext <<_ACEOF
4703 /* end confdefs.h. */
4705 /* Override any GCC internal prototype to avoid an error.
4706 Use char because int might match the return type of a GCC
4707 builtin and then its argument prototype would still apply. */
4720 rm -f conftest.
$ac_objext conftest
$ac_exeext
4721 if { (ac_try
="$ac_link"
4723 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4724 *) ac_try_echo=$ac_try;;
4726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4727 (eval "$ac_link") 2>conftest.er1
4729 grep -v '^ *+' conftest.er1 >conftest.err
4731 cat conftest.err >&5
4732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733 (exit $ac_status); } && {
4734 test -z "$ac_c_werror_flag" ||
4735 test ! -s conftest.err
4736 } && test -s conftest$ac_exeext &&
4737 $as_test_x conftest$ac_exeext; then
4738 ac_cv_lib_posix_remove=yes
4740 echo "$as_me: failed program was:" >&5
4741 sed 's/^/| /' conftest.$ac_ext >&5
4743 ac_cv_lib_posix_remove=no
4746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4747 conftest$ac_exeext conftest.$ac_ext
4748 LIBS=$ac_check_lib_save_LIBS
4750 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4751 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4752 if test $ac_cv_lib_posix_remove = yes; then
4753 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4758 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4759 { echo "$as_me:$LINENO: checking for shmat" >&5
4760 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4761 if test "${ac_cv_func_shmat+set}" = set; then
4762 echo $ECHO_N "(cached) $ECHO_C" >&6
4764 cat >conftest.$ac_ext <<_ACEOF
4767 cat confdefs.h >>conftest.$ac_ext
4768 cat >>conftest.$ac_ext <<_ACEOF
4769 /* end confdefs.h. */
4770 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4772 #define shmat innocuous_shmat
4774 /* System header to define __stub macros and hopefully few prototypes,
4775 which can conflict with char shmat (); below.
4776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4777 <limits.h> exists even on freestanding compilers. */
4780 # include <limits.h>
4782 # include <assert.h>
4787 /* Override any GCC internal prototype to avoid an error.
4788 Use char because int might match the return type of a GCC
4789 builtin and then its argument prototype would still apply. */
4794 /* The GNU C library defines this for functions which it implements
4795 to always fail with ENOSYS. Some functions are actually named
4796 something starting with __ and the normal name is an alias. */
4797 #if defined __stub_shmat || defined __stub___shmat
4809 rm -f conftest.$ac_objext conftest$ac_exeext
4810 if { (ac_try="$ac_link"
4812 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4813 *) ac_try_echo
=$ac_try;;
4815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4816 (eval "$ac_link") 2>conftest.er1
4818 grep -v '^ *+' conftest.er1
>conftest.err
4820 cat conftest.err
>&5
4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822 (exit $ac_status); } && {
4823 test -z "$ac_c_werror_flag" ||
4824 test ! -s conftest.err
4825 } && test -s conftest
$ac_exeext &&
4826 $as_test_x conftest
$ac_exeext; then
4827 ac_cv_func_shmat
=yes
4829 echo "$as_me: failed program was:" >&5
4830 sed 's/^/| /' conftest.
$ac_ext >&5
4835 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4836 conftest
$ac_exeext conftest.
$ac_ext
4838 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4839 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4841 if test $ac_cv_func_shmat = no
; then
4842 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4843 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4844 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4845 echo $ECHO_N "(cached) $ECHO_C" >&6
4847 ac_check_lib_save_LIBS
=$LIBS
4849 cat >conftest.
$ac_ext <<_ACEOF
4852 cat confdefs.h
>>conftest.
$ac_ext
4853 cat >>conftest.
$ac_ext <<_ACEOF
4854 /* end confdefs.h. */
4856 /* Override any GCC internal prototype to avoid an error.
4857 Use char because int might match the return type of a GCC
4858 builtin and then its argument prototype would still apply. */
4871 rm -f conftest.
$ac_objext conftest
$ac_exeext
4872 if { (ac_try
="$ac_link"
4874 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4875 *) ac_try_echo=$ac_try;;
4877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4878 (eval "$ac_link") 2>conftest.er1
4880 grep -v '^ *+' conftest.er1 >conftest.err
4882 cat conftest.err >&5
4883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4884 (exit $ac_status); } && {
4885 test -z "$ac_c_werror_flag" ||
4886 test ! -s conftest.err
4887 } && test -s conftest$ac_exeext &&
4888 $as_test_x conftest$ac_exeext; then
4889 ac_cv_lib_ipc_shmat=yes
4891 echo "$as_me: failed program was:" >&5
4892 sed 's/^/| /' conftest.$ac_ext >&5
4894 ac_cv_lib_ipc_shmat=no
4897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4898 conftest$ac_exeext conftest.$ac_ext
4899 LIBS=$ac_check_lib_save_LIBS
4901 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4902 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4903 if test $ac_cv_lib_ipc_shmat = yes; then
4904 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4910 # Check for libraries that X11R6 Xt/Xaw programs need.
4911 ac_save_LDFLAGS=$LDFLAGS
4912 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4913 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4914 # check for ICE first), but we must link in the order -lSM -lICE or
4915 # we get undefined symbols. So assume we have SM if we have ICE.
4916 # These have to be linked with before -lX11, unlike the other
4917 # libraries we check for below, so use a different variable.
4918 # John Interrante, Karl Berry
4919 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4920 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4921 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4922 echo $ECHO_N "(cached) $ECHO_C" >&6
4924 ac_check_lib_save_LIBS=$LIBS
4925 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4926 cat >conftest.$ac_ext <<_ACEOF
4929 cat confdefs.h >>conftest.$ac_ext
4930 cat >>conftest.$ac_ext <<_ACEOF
4931 /* end confdefs.h. */
4933 /* Override any GCC internal prototype to avoid an error.
4934 Use char because int might match the return type of a GCC
4935 builtin and then its argument prototype would still apply. */
4939 char IceConnectionNumber ();
4943 return IceConnectionNumber ();
4948 rm -f conftest.$ac_objext conftest$ac_exeext
4949 if { (ac_try="$ac_link"
4951 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4952 *) ac_try_echo
=$ac_try;;
4954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4955 (eval "$ac_link") 2>conftest.er1
4957 grep -v '^ *+' conftest.er1
>conftest.err
4959 cat conftest.err
>&5
4960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4961 (exit $ac_status); } && {
4962 test -z "$ac_c_werror_flag" ||
4963 test ! -s conftest.err
4964 } && test -s conftest
$ac_exeext &&
4965 $as_test_x conftest
$ac_exeext; then
4966 ac_cv_lib_ICE_IceConnectionNumber
=yes
4968 echo "$as_me: failed program was:" >&5
4969 sed 's/^/| /' conftest.
$ac_ext >&5
4971 ac_cv_lib_ICE_IceConnectionNumber
=no
4974 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4975 conftest
$ac_exeext conftest.
$ac_ext
4976 LIBS
=$ac_check_lib_save_LIBS
4978 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4979 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4980 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4981 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
4984 LDFLAGS
=$ac_save_LDFLAGS
4988 for ac_prog
in flex
lex
4990 # Extract the first word of "$ac_prog", so it can be a program name with args.
4991 set dummy
$ac_prog; ac_word
=$2
4992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4994 if test "${ac_cv_prog_LEX+set}" = set; then
4995 echo $ECHO_N "(cached) $ECHO_C" >&6
4997 if test -n "$LEX"; then
4998 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
5000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5004 test -z "$as_dir" && as_dir
=.
5005 for ac_exec_ext
in '' $ac_executable_extensions; do
5006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5007 ac_cv_prog_LEX
="$ac_prog"
5008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5018 if test -n "$LEX"; then
5019 { echo "$as_me:$LINENO: result: $LEX" >&5
5020 echo "${ECHO_T}$LEX" >&6; }
5022 { echo "$as_me:$LINENO: result: no" >&5
5023 echo "${ECHO_T}no" >&6; }
5027 test -n "$LEX" && break
5029 test -n "$LEX" || LEX
=":"
5031 if test "x$LEX" != "x:"; then
5032 cat >conftest.l
<<_ACEOF
5038 e { yyless (input () != 0); }
5039 f { unput (yytext[0]); }
5040 . { BEGIN INITIAL; }
5042 #ifdef YYTEXT_POINTER
5043 extern char *yytext;
5048 return ! yylex () + ! yywrap ();
5051 { (ac_try
="$LEX conftest.l"
5053 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5054 *) ac_try_echo=$ac_try;;
5056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5057 (eval "$LEX conftest.l") 2>&5
5059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5060 (exit $ac_status); }
5061 { echo "$as_me:$LINENO: checking lex output file root" >&5
5062 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5063 if test "${ac_cv_prog_lex_root+set}" = set; then
5064 echo $ECHO_N "(cached) $ECHO_C" >&6
5067 if test -f lex.yy.c; then
5068 ac_cv_prog_lex_root=lex.yy
5069 elif test -f lexyy.c; then
5070 ac_cv_prog_lex_root=lexyy
5072 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5073 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5074 { (exit 1); exit 1; }; }
5077 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5078 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5079 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5081 if test -z "${LEXLIB+set}"; then
5082 { echo "$as_me:$LINENO: checking lex library" >&5
5083 echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
5084 if test "${ac_cv_lib_lex+set}" = set; then
5085 echo $ECHO_N "(cached) $ECHO_C" >&6
5089 ac_cv_lib_lex='none needed'
5090 for ac_lib in '' -lfl -ll; do
5091 LIBS="$ac_lib $ac_save_LIBS"
5092 cat >conftest.$ac_ext <<_ACEOF
5093 `cat $LEX_OUTPUT_ROOT.c
`
5095 rm -f conftest.$ac_objext conftest$ac_exeext
5096 if { (ac_try="$ac_link"
5098 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5099 *) ac_try_echo
=$ac_try;;
5101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5102 (eval "$ac_link") 2>conftest.er1
5104 grep -v '^ *+' conftest.er1
>conftest.err
5106 cat conftest.err
>&5
5107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108 (exit $ac_status); } && {
5109 test -z "$ac_c_werror_flag" ||
5110 test ! -s conftest.err
5111 } && test -s conftest
$ac_exeext &&
5112 $as_test_x conftest
$ac_exeext; then
5113 ac_cv_lib_lex
=$ac_lib
5115 echo "$as_me: failed program was:" >&5
5116 sed 's/^/| /' conftest.
$ac_ext >&5
5121 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5122 conftest
$ac_exeext conftest.
$ac_ext
5123 test "$ac_cv_lib_lex" != 'none needed' && break
5128 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
5129 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
5130 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB
=$ac_cv_lib_lex
5134 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5135 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5136 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5137 echo $ECHO_N "(cached) $ECHO_C" >&6
5139 # POSIX says lex can declare yytext either as a pointer or an array; the
5140 # default is implementation-dependent. Figure out which it is, since
5141 # not all implementations provide the %pointer and %array declarations.
5142 ac_cv_prog_lex_yytext_pointer
=no
5144 LIBS
="$LEXLIB $ac_save_LIBS"
5145 cat >conftest.
$ac_ext <<_ACEOF
5146 #define YYTEXT_POINTER 1
5147 `cat $LEX_OUTPUT_ROOT.c`
5149 rm -f conftest.
$ac_objext conftest
$ac_exeext
5150 if { (ac_try
="$ac_link"
5152 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5153 *) ac_try_echo=$ac_try;;
5155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5156 (eval "$ac_link") 2>conftest.er1
5158 grep -v '^ *+' conftest.er1 >conftest.err
5160 cat conftest.err >&5
5161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5162 (exit $ac_status); } && {
5163 test -z "$ac_c_werror_flag" ||
5164 test ! -s conftest.err
5165 } && test -s conftest$ac_exeext &&
5166 $as_test_x conftest$ac_exeext; then
5167 ac_cv_prog_lex_yytext_pointer=yes
5169 echo "$as_me: failed program was:" >&5
5170 sed 's/^/| /' conftest.$ac_ext >&5
5175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5176 conftest$ac_exeext conftest.$ac_ext
5180 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5181 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5182 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5184 cat >>confdefs.h <<\_ACEOF
5185 #define YYTEXT_POINTER 1
5189 rm -f conftest.l $LEX_OUTPUT_ROOT.c
5193 for ac_prog in $LEX flex lex
5195 # Extract the first word of "$ac_prog", so it can be a program name with args.
5196 set dummy $ac_prog; ac_word=$2
5197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5199 if test "${ac_cv_prog_XLEX+set}" = set; then
5200 echo $ECHO_N "(cached) $ECHO_C" >&6
5202 if test -n "$XLEX"; then
5203 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
5205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5209 test -z "$as_dir" && as_dir=.
5210 for ac_exec_ext in '' $ac_executable_extensions; do
5211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5212 ac_cv_prog_XLEX="$ac_prog"
5213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5222 XLEX=$ac_cv_prog_XLEX
5223 if test -n "$XLEX"; then
5224 { echo "$as_me:$LINENO: result: $XLEX" >&5
5225 echo "${ECHO_T}$XLEX" >&6; }
5227 { echo "$as_me:$LINENO: result: no" >&5
5228 echo "${ECHO_T}no" >&6; }
5232 test -n "$XLEX" && break
5234 test -n "$XLEX" || XLEX="none"
5236 if test "$XLEX" = "none"
5238 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5239 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5240 { (exit 1); exit 1; }; }
5243 for ac_prog in bison
5245 # Extract the first word of "$ac_prog", so it can be a program name with args.
5246 set dummy $ac_prog; ac_word=$2
5247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5249 if test "${ac_cv_prog_BISON+set}" = set; then
5250 echo $ECHO_N "(cached) $ECHO_C" >&6
5252 if test -n "$BISON"; then
5253 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5259 test -z "$as_dir" && as_dir=.
5260 for ac_exec_ext in '' $ac_executable_extensions; do
5261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5262 ac_cv_prog_BISON="$ac_prog"
5263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5272 BISON=$ac_cv_prog_BISON
5273 if test -n "$BISON"; then
5274 { echo "$as_me:$LINENO: result: $BISON" >&5
5275 echo "${ECHO_T}$BISON" >&6; }
5277 { echo "$as_me:$LINENO: result: no" >&5
5278 echo "${ECHO_T}no" >&6; }
5282 test -n "$BISON" && break
5284 test -n "$BISON" || BISON="none"
5286 if test "$BISON" = "none"
5288 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5289 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5290 { (exit 1); exit 1; }; }
5293 if test -n "$ac_tool_prefix"; then
5294 for ac_prog in gas as
5296 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5297 set dummy $ac_tool_prefix$ac_prog; 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_AS+set}" = set; then
5301 echo $ECHO_N "(cached) $ECHO_C" >&6
5303 if test -n "$AS"; then
5304 ac_cv_prog_AS="$AS" # 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_AS="$ac_tool_prefix$ac_prog"
5314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5324 if test -n "$AS"; then
5325 { echo "$as_me:$LINENO: result: $AS" >&5
5326 echo "${ECHO_T}$AS" >&6; }
5328 { echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6; }
5333 test -n "$AS" && break
5336 if test -z "$AS"; then
5338 for ac_prog in gas as
5340 # Extract the first word of "$ac_prog", so it can be a program name with args.
5341 set dummy $ac_prog; ac_word=$2
5342 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5344 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5345 echo $ECHO_N "(cached) $ECHO_C" >&6
5347 if test -n "$ac_ct_AS"; then
5348 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5354 test -z "$as_dir" && as_dir=.
5355 for ac_exec_ext in '' $ac_executable_extensions; do
5356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5357 ac_cv_prog_ac_ct_AS="$ac_prog"
5358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5367 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5368 if test -n "$ac_ct_AS"; then
5369 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5370 echo "${ECHO_T}$ac_ct_AS" >&6; }
5372 { echo "$as_me:$LINENO: result: no" >&5
5373 echo "${ECHO_T}no" >&6; }
5377 test -n "$ac_ct_AS" && break
5380 if test "x$ac_ct_AS" = x; then
5383 case $cross_compiling:$ac_tool_warned in
5385 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5386 whose name does not start with the host triplet. If you think this
5387 configuration is useful to you, please write to autoconf@gnu.org." >&5
5388 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5389 whose name does not start with the host triplet. If you think this
5390 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5391 ac_tool_warned=yes ;;
5397 if test -n "$ac_tool_prefix"; then
5398 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5399 set dummy ${ac_tool_prefix}ld; ac_word=$2
5400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5402 if test "${ac_cv_prog_LD+set}" = set; then
5403 echo $ECHO_N "(cached) $ECHO_C" >&6
5405 if test -n "$LD"; then
5406 ac_cv_prog_LD="$LD" # Let the user override the test.
5408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5412 test -z "$as_dir" && as_dir=.
5413 for ac_exec_ext in '' $ac_executable_extensions; do
5414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5415 ac_cv_prog_LD="${ac_tool_prefix}ld"
5416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5426 if test -n "$LD"; then
5427 { echo "$as_me:$LINENO: result: $LD" >&5
5428 echo "${ECHO_T}$LD" >&6; }
5430 { echo "$as_me:$LINENO: result: no" >&5
5431 echo "${ECHO_T}no" >&6; }
5436 if test -z "$ac_cv_prog_LD"; then
5438 # Extract the first word of "ld", so it can be a program name with args.
5439 set dummy ld; ac_word=$2
5440 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5442 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5443 echo $ECHO_N "(cached) $ECHO_C" >&6
5445 if test -n "$ac_ct_LD"; then
5446 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5452 test -z "$as_dir" && as_dir=.
5453 for ac_exec_ext in '' $ac_executable_extensions; do
5454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5455 ac_cv_prog_ac_ct_LD="ld"
5456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5465 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5466 if test -n "$ac_ct_LD"; then
5467 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5468 echo "${ECHO_T}$ac_ct_LD" >&6; }
5470 { echo "$as_me:$LINENO: result: no" >&5
5471 echo "${ECHO_T}no" >&6; }
5474 if test "x$ac_ct_LD" = x; then
5477 case $cross_compiling:$ac_tool_warned in
5479 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5480 whose name does not start with the host triplet. If you think this
5481 configuration is useful to you, please write to autoconf@gnu.org." >&5
5482 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5483 whose name does not start with the host triplet. If you think this
5484 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5485 ac_tool_warned=yes ;;
5493 if test -n "$ac_tool_prefix"; then
5494 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5495 set dummy ${ac_tool_prefix}ar; ac_word=$2
5496 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5498 if test "${ac_cv_prog_AR+set}" = set; then
5499 echo $ECHO_N "(cached) $ECHO_C" >&6
5501 if test -n "$AR"; then
5502 ac_cv_prog_AR="$AR" # Let the user override the test.
5504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5508 test -z "$as_dir" && as_dir=.
5509 for ac_exec_ext in '' $ac_executable_extensions; do
5510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5511 ac_cv_prog_AR="${ac_tool_prefix}ar"
5512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5522 if test -n "$AR"; then
5523 { echo "$as_me:$LINENO: result: $AR" >&5
5524 echo "${ECHO_T}$AR" >&6; }
5526 { echo "$as_me:$LINENO: result: no" >&5
5527 echo "${ECHO_T}no" >&6; }
5532 if test -z "$ac_cv_prog_AR"; then
5534 # Extract the first word of "ar", so it can be a program name with args.
5535 set dummy ar; ac_word=$2
5536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5538 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5539 echo $ECHO_N "(cached) $ECHO_C" >&6
5541 if test -n "$ac_ct_AR"; then
5542 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5548 test -z "$as_dir" && as_dir=.
5549 for ac_exec_ext in '' $ac_executable_extensions; do
5550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5551 ac_cv_prog_ac_ct_AR="ar"
5552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5561 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5562 if test -n "$ac_ct_AR"; then
5563 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5564 echo "${ECHO_T}$ac_ct_AR" >&6; }
5566 { echo "$as_me:$LINENO: result: no" >&5
5567 echo "${ECHO_T}no" >&6; }
5570 if test "x$ac_ct_AR" = x; then
5573 case $cross_compiling:$ac_tool_warned in
5575 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5576 whose name does not start with the host triplet. If you think this
5577 configuration is useful to you, please write to autoconf@gnu.org." >&5
5578 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5579 whose name does not start with the host triplet. If you think this
5580 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5581 ac_tool_warned=yes ;;
5589 if test -n "$ac_tool_prefix"; then
5590 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5591 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5592 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5594 if test "${ac_cv_prog_RANLIB+set}" = set; then
5595 echo $ECHO_N "(cached) $ECHO_C" >&6
5597 if test -n "$RANLIB"; then
5598 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5604 test -z "$as_dir" && as_dir=.
5605 for ac_exec_ext in '' $ac_executable_extensions; do
5606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5607 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5617 RANLIB=$ac_cv_prog_RANLIB
5618 if test -n "$RANLIB"; then
5619 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5620 echo "${ECHO_T}$RANLIB" >&6; }
5622 { echo "$as_me:$LINENO: result: no" >&5
5623 echo "${ECHO_T}no" >&6; }
5628 if test -z "$ac_cv_prog_RANLIB"; then
5629 ac_ct_RANLIB=$RANLIB
5630 # Extract the first word of "ranlib", so it can be a program name with args.
5631 set dummy ranlib; ac_word=$2
5632 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5634 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5635 echo $ECHO_N "(cached) $ECHO_C" >&6
5637 if test -n "$ac_ct_RANLIB"; then
5638 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5644 test -z "$as_dir" && as_dir=.
5645 for ac_exec_ext in '' $ac_executable_extensions; do
5646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5647 ac_cv_prog_ac_ct_RANLIB="ranlib"
5648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5657 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5658 if test -n "$ac_ct_RANLIB"; then
5659 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5660 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5662 { echo "$as_me:$LINENO: result: no" >&5
5663 echo "${ECHO_T}no" >&6; }
5666 if test "x$ac_ct_RANLIB" = x; then
5669 case $cross_compiling:$ac_tool_warned in
5671 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5672 whose name does not start with the host triplet. If you think this
5673 configuration is useful to you, please write to autoconf@gnu.org." >&5
5674 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5675 whose name does not start with the host triplet. If you think this
5676 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5677 ac_tool_warned=yes ;;
5679 RANLIB=$ac_ct_RANLIB
5682 RANLIB="$ac_cv_prog_RANLIB"
5685 if test -n "$ac_tool_prefix"; then
5686 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5687 set dummy ${ac_tool_prefix}strip; ac_word=$2
5688 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5690 if test "${ac_cv_prog_STRIP+set}" = set; then
5691 echo $ECHO_N "(cached) $ECHO_C" >&6
5693 if test -n "$STRIP"; then
5694 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5700 test -z "$as_dir" && as_dir=.
5701 for ac_exec_ext in '' $ac_executable_extensions; do
5702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5703 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5713 STRIP=$ac_cv_prog_STRIP
5714 if test -n "$STRIP"; then
5715 { echo "$as_me:$LINENO: result: $STRIP" >&5
5716 echo "${ECHO_T}$STRIP" >&6; }
5718 { echo "$as_me:$LINENO: result: no" >&5
5719 echo "${ECHO_T}no" >&6; }
5724 if test -z "$ac_cv_prog_STRIP"; then
5726 # Extract the first word of "strip", so it can be a program name with args.
5727 set dummy strip; ac_word=$2
5728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5730 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5731 echo $ECHO_N "(cached) $ECHO_C" >&6
5733 if test -n "$ac_ct_STRIP"; then
5734 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5740 test -z "$as_dir" && as_dir=.
5741 for ac_exec_ext in '' $ac_executable_extensions; do
5742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5743 ac_cv_prog_ac_ct_STRIP="strip"
5744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5753 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5754 if test -n "$ac_ct_STRIP"; then
5755 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5756 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5758 { echo "$as_me:$LINENO: result: no" >&5
5759 echo "${ECHO_T}no" >&6; }
5762 if test "x$ac_ct_STRIP" = x; then
5765 case $cross_compiling:$ac_tool_warned in
5767 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5768 whose name does not start with the host triplet. If you think this
5769 configuration is useful to you, please write to autoconf@gnu.org." >&5
5770 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5771 whose name does not start with the host triplet. If you think this
5772 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5773 ac_tool_warned=yes ;;
5778 STRIP="$ac_cv_prog_STRIP"
5781 if test -n "$ac_tool_prefix"; then
5782 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5783 set dummy ${ac_tool_prefix}windres; ac_word=$2
5784 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5786 if test "${ac_cv_prog_WINDRES+set}" = set; then
5787 echo $ECHO_N "(cached) $ECHO_C" >&6
5789 if test -n "$WINDRES"; then
5790 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5796 test -z "$as_dir" && as_dir=.
5797 for ac_exec_ext in '' $ac_executable_extensions; do
5798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5799 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5809 WINDRES=$ac_cv_prog_WINDRES
5810 if test -n "$WINDRES"; then
5811 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5812 echo "${ECHO_T}$WINDRES" >&6; }
5814 { echo "$as_me:$LINENO: result: no" >&5
5815 echo "${ECHO_T}no" >&6; }
5820 if test -z "$ac_cv_prog_WINDRES"; then
5821 ac_ct_WINDRES=$WINDRES
5822 # Extract the first word of "windres", so it can be a program name with args.
5823 set dummy windres; ac_word=$2
5824 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5826 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5827 echo $ECHO_N "(cached) $ECHO_C" >&6
5829 if test -n "$ac_ct_WINDRES"; then
5830 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5836 test -z "$as_dir" && as_dir=.
5837 for ac_exec_ext in '' $ac_executable_extensions; do
5838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5839 ac_cv_prog_ac_ct_WINDRES="windres"
5840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5849 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5850 if test -n "$ac_ct_WINDRES"; then
5851 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5852 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5854 { echo "$as_me:$LINENO: result: no" >&5
5855 echo "${ECHO_T}no" >&6; }
5858 if test "x$ac_ct_WINDRES" = x; then
5861 case $cross_compiling:$ac_tool_warned in
5863 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5864 whose name does not start with the host triplet. If you think this
5865 configuration is useful to you, please write to autoconf@gnu.org." >&5
5866 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5867 whose name does not start with the host triplet. If you think this
5868 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5869 ac_tool_warned=yes ;;
5871 WINDRES=$ac_ct_WINDRES
5874 WINDRES="$ac_cv_prog_WINDRES"
5877 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5878 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5880 if test "$LN_S" = "ln -s"; then
5881 { echo "$as_me:$LINENO: result: yes" >&5
5882 echo "${ECHO_T}yes" >&6; }
5884 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5885 echo "${ECHO_T}no, using $LN_S" >&6; }
5888 { echo "$as_me:$LINENO: checking whether ln works" >&5
5889 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5890 rm -f conf$$ conf$$.file
5892 if ln conf$$.file conf$$ 2>/dev/null; then
5895 { echo "$as_me:$LINENO: result: yes" >&5
5896 echo "${ECHO_T}yes" >&6; }
5900 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5901 echo "${ECHO_T}no, using $LN" >&6; }
5903 rm -f conf$$ conf$$.file
5904 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5905 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5906 if test "${ac_cv_path_GREP+set}" = set; then
5907 echo $ECHO_N "(cached) $ECHO_C" >&6
5909 # Extract the first word of "grep ggrep" to use in msg output
5910 if test -z "$GREP"; then
5911 set dummy grep ggrep; ac_prog_name=$2
5912 if test "${ac_cv_path_GREP+set}" = set; then
5913 echo $ECHO_N "(cached) $ECHO_C" >&6
5915 ac_path_GREP_found=false
5916 # Loop through the user's path and test for each of PROGNAME-LIST
5917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5918 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5921 test -z "$as_dir" && as_dir=.
5922 for ac_prog in grep ggrep; do
5923 for ac_exec_ext in '' $ac_executable_extensions; do
5924 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5925 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5926 # Check for GNU ac_path_GREP and select it if it is found.
5927 # Check for GNU $ac_path_GREP
5928 case `"$ac_path_GREP" --version 2>&1` in
5930 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5933 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5936 cat "conftest.in" "conftest.in" >"conftest.tmp"
5937 mv "conftest.tmp" "conftest.in"
5938 cp "conftest.in" "conftest.nl"
5939 echo 'GREP' >> "conftest.nl"
5940 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5941 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5942 ac_count=`expr $ac_count + 1`
5943 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5944 # Best one so far, save it but keep looking for a better one
5945 ac_cv_path_GREP="$ac_path_GREP"
5946 ac_path_GREP_max=$ac_count
5948 # 10*(2^10) chars as input seems more than enough
5949 test $ac_count -gt 10 && break
5951 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5955 $ac_path_GREP_found && break 3
5965 GREP="$ac_cv_path_GREP"
5966 if test -z "$GREP"; then
5967 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5968 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5969 { (exit 1); exit 1; }; }
5973 ac_cv_path_GREP=$GREP
5978 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5979 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5980 GREP="$ac_cv_path_GREP"
5983 { echo "$as_me:$LINENO: checking for egrep" >&5
5984 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5985 if test "${ac_cv_path_EGREP+set}" = set; then
5986 echo $ECHO_N "(cached) $ECHO_C" >&6
5988 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5989 then ac_cv_path_EGREP="$GREP -E"
5991 # Extract the first word of "egrep" to use in msg output
5992 if test -z "$EGREP"; then
5993 set dummy egrep; ac_prog_name=$2
5994 if test "${ac_cv_path_EGREP+set}" = set; then
5995 echo $ECHO_N "(cached) $ECHO_C" >&6
5997 ac_path_EGREP_found=false
5998 # Loop through the user's path and test for each of PROGNAME-LIST
5999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6000 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6003 test -z "$as_dir" && as_dir=.
6004 for ac_prog in egrep; do
6005 for ac_exec_ext in '' $ac_executable_extensions; do
6006 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6007 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6008 # Check for GNU ac_path_EGREP and select it if it is found.
6009 # Check for GNU $ac_path_EGREP
6010 case `"$ac_path_EGREP" --version 2>&1` in
6012 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6015 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6018 cat "conftest.in" "conftest.in" >"conftest.tmp"
6019 mv "conftest.tmp" "conftest.in"
6020 cp "conftest.in" "conftest.nl"
6021 echo 'EGREP' >> "conftest.nl"
6022 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6023 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6024 ac_count=`expr $ac_count + 1`
6025 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6026 # Best one so far, save it but keep looking for a better one
6027 ac_cv_path_EGREP="$ac_path_EGREP"
6028 ac_path_EGREP_max=$ac_count
6030 # 10*(2^10) chars as input seems more than enough
6031 test $ac_count -gt 10 && break
6033 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6037 $ac_path_EGREP_found && break 3
6047 EGREP="$ac_cv_path_EGREP"
6048 if test -z "$EGREP"; then
6049 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6050 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6051 { (exit 1); exit 1; }; }
6055 ac_cv_path_EGREP=$EGREP
6061 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6062 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6063 EGREP="$ac_cv_path_EGREP"
6066 # Extract the first word of "ldconfig", so it can be a program name with args.
6067 set dummy ldconfig; ac_word=$2
6068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6070 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6071 echo $ECHO_N "(cached) $ECHO_C" >&6
6075 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6079 for as_dir in /sbin /usr/sbin $PATH
6082 test -z "$as_dir" && as_dir=.
6083 for ac_exec_ext in '' $ac_executable_extensions; do
6084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6085 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6093 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6097 LDCONFIG=$ac_cv_path_LDCONFIG
6098 if test -n "$LDCONFIG"; then
6099 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6100 echo "${ECHO_T}$LDCONFIG" >&6; }
6102 { echo "$as_me:$LINENO: result: no" >&5
6103 echo "${ECHO_T}no" >&6; }
6107 # Find a good install program. We prefer a C program (faster),
6108 # so one script is as good as another. But avoid the broken or
6109 # incompatible versions:
6110 # SysV /etc/install, /usr/sbin/install
6111 # SunOS /usr/etc/install
6112 # IRIX /sbin/install
6114 # AmigaOS /C/install, which installs bootblocks on floppy discs
6115 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6116 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6117 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6118 # OS/2's system install, which has a completely different semantic
6119 # ./install, which can be erroneously created by make from ./install.sh.
6120 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6121 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6122 if test -z "$INSTALL"; then
6123 if test "${ac_cv_path_install+set}" = set; then
6124 echo $ECHO_N "(cached) $ECHO_C" >&6
6126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6130 test -z "$as_dir" && as_dir=.
6131 # Account for people who put trailing slashes in PATH elements.
6133 ./ | .// | /cC/* | \
6134 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6135 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6138 # OSF1 and SCO ODT 3.0 have their own names for install.
6139 # Don't use installbsd from OSF since it installs stuff as root
6141 for ac_prog in ginstall scoinst install; do
6142 for ac_exec_ext in '' $ac_executable_extensions; do
6143 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6144 if test $ac_prog = install &&
6145 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6146 # AIX install. It has an incompatible calling convention.
6148 elif test $ac_prog = install &&
6149 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6150 # program-specific install script used by HP pwplus--don't use.
6153 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6166 if test "${ac_cv_path_install+set}" = set; then
6167 INSTALL=$ac_cv_path_install
6169 # As a last resort, use the slow shell script. Don't cache a
6170 # value for INSTALL within a source directory, because that will
6171 # break other packages using the cache if that directory is
6172 # removed, or if the value is a relative name.
6173 INSTALL=$ac_install_sh
6176 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6177 echo "${ECHO_T}$INSTALL" >&6; }
6179 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6180 # It thinks the first close brace ends the variable substitution.
6181 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6183 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6185 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6188 [\\/$]* | ?:[\\/]* ) ;;
6189 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6192 for ac_prog in lclint lint
6194 # Extract the first word of "$ac_prog", so it can be a program name with args.
6195 set dummy $ac_prog; ac_word=$2
6196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6198 if test "${ac_cv_prog_LINT+set}" = set; then
6199 echo $ECHO_N "(cached) $ECHO_C" >&6
6201 if test -n "$LINT"; then
6202 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6208 test -z "$as_dir" && as_dir=.
6209 for ac_exec_ext in '' $ac_executable_extensions; do
6210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6211 ac_cv_prog_LINT="$ac_prog"
6212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6221 LINT=$ac_cv_prog_LINT
6222 if test -n "$LINT"; then
6223 { echo "$as_me:$LINENO: result: $LINT" >&5
6224 echo "${ECHO_T}$LINT" >&6; }
6226 { echo "$as_me:$LINENO: result: no" >&5
6227 echo "${ECHO_T}no" >&6; }
6231 test -n "$LINT" && break
6234 if test "$LINT" = "lint"
6236 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6241 for ac_prog in fontforge
6243 # Extract the first word of "$ac_prog", so it can be a program name with args.
6244 set dummy $ac_prog; ac_word=$2
6245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6247 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6248 echo $ECHO_N "(cached) $ECHO_C" >&6
6250 if test -n "$FONTFORGE"; then
6251 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6257 test -z "$as_dir" && as_dir=.
6258 for ac_exec_ext in '' $ac_executable_extensions; do
6259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6260 ac_cv_prog_FONTFORGE="$ac_prog"
6261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6270 FONTFORGE=$ac_cv_prog_FONTFORGE
6271 if test -n "$FONTFORGE"; then
6272 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6273 echo "${ECHO_T}$FONTFORGE" >&6; }
6275 { echo "$as_me:$LINENO: result: no" >&5
6276 echo "${ECHO_T}no" >&6; }
6280 test -n "$FONTFORGE" && break
6282 test -n "$FONTFORGE" || FONTFORGE="false"
6284 for ac_prog in pkg-config
6286 # Extract the first word of "$ac_prog", so it can be a program name with args.
6287 set dummy $ac_prog; ac_word=$2
6288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6290 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6291 echo $ECHO_N "(cached) $ECHO_C" >&6
6293 if test -n "$PKG_CONFIG"; then
6294 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6300 test -z "$as_dir" && as_dir=.
6301 for ac_exec_ext in '' $ac_executable_extensions; do
6302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6303 ac_cv_prog_PKG_CONFIG="$ac_prog"
6304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6313 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6314 if test -n "$PKG_CONFIG"; then
6315 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6316 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6318 { echo "$as_me:$LINENO: result: no" >&5
6319 echo "${ECHO_T}no" >&6; }
6323 test -n "$PKG_CONFIG" && break
6325 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6330 # Extract the first word of "prelink", so it can be a program name with args.
6331 set dummy prelink; ac_word=$2
6332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6334 if test "${ac_cv_path_PRELINK+set}" = set; then
6335 echo $ECHO_N "(cached) $ECHO_C" >&6
6339 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6343 for as_dir in /sbin /usr/sbin $PATH
6346 test -z "$as_dir" && as_dir=.
6347 for ac_exec_ext in '' $ac_executable_extensions; do
6348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6349 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6357 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6361 PRELINK=$ac_cv_path_PRELINK
6362 if test -n "$PRELINK"; then
6363 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6364 echo "${ECHO_T}$PRELINK" >&6; }
6366 { echo "$as_me:$LINENO: result: no" >&5
6367 echo "${ECHO_T}no" >&6; }
6376 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6377 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6378 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6379 echo $ECHO_N "(cached) $ECHO_C" >&6
6381 ac_check_lib_save_LIBS=$LIBS
6383 cat >conftest.$ac_ext <<_ACEOF
6386 cat confdefs.h >>conftest.$ac_ext
6387 cat >>conftest.$ac_ext <<_ACEOF
6388 /* end confdefs.h. */
6390 /* Override any GCC internal prototype to avoid an error.
6391 Use char because int might match the return type of a GCC
6392 builtin and then its argument prototype would still apply. */
6396 char i386_set_ldt ();
6400 return i386_set_ldt ();
6405 rm -f conftest.$ac_objext conftest$ac_exeext
6406 if { (ac_try="$ac_link"
6408 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6409 *) ac_try_echo
=$ac_try;;
6411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6412 (eval "$ac_link") 2>conftest.er1
6414 grep -v '^ *+' conftest.er1
>conftest.err
6416 cat conftest.err
>&5
6417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418 (exit $ac_status); } && {
6419 test -z "$ac_c_werror_flag" ||
6420 test ! -s conftest.err
6421 } && test -s conftest
$ac_exeext &&
6422 $as_test_x conftest
$ac_exeext; then
6423 ac_cv_lib_i386_i386_set_ldt
=yes
6425 echo "$as_me: failed program was:" >&5
6426 sed 's/^/| /' conftest.
$ac_ext >&5
6428 ac_cv_lib_i386_i386_set_ldt
=no
6431 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6432 conftest
$ac_exeext conftest.
$ac_ext
6433 LIBS
=$ac_check_lib_save_LIBS
6435 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6436 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6437 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6438 cat >>confdefs.h
<<_ACEOF
6439 #define HAVE_LIBI386 1
6447 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6448 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6449 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6450 echo $ECHO_N "(cached) $ECHO_C" >&6
6452 ac_check_lib_save_LIBS
=$LIBS
6453 LIBS
="-lossaudio $LIBS"
6454 cat >conftest.
$ac_ext <<_ACEOF
6457 cat confdefs.h
>>conftest.
$ac_ext
6458 cat >>conftest.
$ac_ext <<_ACEOF
6459 /* end confdefs.h. */
6461 /* Override any GCC internal prototype to avoid an error.
6462 Use char because int might match the return type of a GCC
6463 builtin and then its argument prototype would still apply. */
6471 return _oss_ioctl ();
6476 rm -f conftest.
$ac_objext conftest
$ac_exeext
6477 if { (ac_try
="$ac_link"
6479 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6480 *) ac_try_echo=$ac_try;;
6482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6483 (eval "$ac_link") 2>conftest.er1
6485 grep -v '^ *+' conftest.er1 >conftest.err
6487 cat conftest.err >&5
6488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6489 (exit $ac_status); } && {
6490 test -z "$ac_c_werror_flag" ||
6491 test ! -s conftest.err
6492 } && test -s conftest$ac_exeext &&
6493 $as_test_x conftest$ac_exeext; then
6494 ac_cv_lib_ossaudio__oss_ioctl=yes
6496 echo "$as_me: failed program was:" >&5
6497 sed 's/^/| /' conftest.$ac_ext >&5
6499 ac_cv_lib_ossaudio__oss_ioctl=no
6502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6503 conftest$ac_exeext conftest.$ac_ext
6504 LIBS=$ac_check_lib_save_LIBS
6506 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6507 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6508 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6509 cat >>confdefs.h <<_ACEOF
6510 #define HAVE_LIBOSSAUDIO 1
6513 LIBS="-lossaudio $LIBS"
6518 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6519 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6520 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6521 echo $ECHO_N "(cached) $ECHO_C" >&6
6523 ac_check_lib_save_LIBS=$LIBS
6525 cat >conftest.$ac_ext <<_ACEOF
6528 cat confdefs.h >>conftest.$ac_ext
6529 cat >>conftest.$ac_ext <<_ACEOF
6530 /* end confdefs.h. */
6532 /* Override any GCC internal prototype to avoid an error.
6533 Use char because int might match the return type of a GCC
6534 builtin and then its argument prototype would still apply. */
6538 char _xpg4_setrunelocale ();
6542 return _xpg4_setrunelocale ();
6547 rm -f conftest.$ac_objext conftest$ac_exeext
6548 if { (ac_try="$ac_link"
6550 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6551 *) ac_try_echo
=$ac_try;;
6553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6554 (eval "$ac_link") 2>conftest.er1
6556 grep -v '^ *+' conftest.er1
>conftest.err
6558 cat conftest.err
>&5
6559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6560 (exit $ac_status); } && {
6561 test -z "$ac_c_werror_flag" ||
6562 test ! -s conftest.err
6563 } && test -s conftest
$ac_exeext &&
6564 $as_test_x conftest
$ac_exeext; then
6565 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
6567 echo "$as_me: failed program was:" >&5
6568 sed 's/^/| /' conftest.
$ac_ext >&5
6570 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
6573 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6574 conftest
$ac_exeext conftest.
$ac_ext
6575 LIBS
=$ac_check_lib_save_LIBS
6577 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6578 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6579 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6580 cat >>confdefs.h
<<_ACEOF
6581 #define HAVE_LIBXPG4 1
6588 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6589 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6590 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6591 echo $ECHO_N "(cached) $ECHO_C" >&6
6593 ac_check_lib_save_LIBS
=$LIBS
6594 LIBS
="-lpthread $LIBS"
6595 cat >conftest.
$ac_ext <<_ACEOF
6598 cat confdefs.h
>>conftest.
$ac_ext
6599 cat >>conftest.
$ac_ext <<_ACEOF
6600 /* end confdefs.h. */
6602 /* Override any GCC internal prototype to avoid an error.
6603 Use char because int might match the return type of a GCC
6604 builtin and then its argument prototype would still apply. */
6608 char pthread_create ();
6612 return pthread_create ();
6617 rm -f conftest.
$ac_objext conftest
$ac_exeext
6618 if { (ac_try
="$ac_link"
6620 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6621 *) ac_try_echo=$ac_try;;
6623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6624 (eval "$ac_link") 2>conftest.er1
6626 grep -v '^ *+' conftest.er1 >conftest.err
6628 cat conftest.err >&5
6629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6630 (exit $ac_status); } && {
6631 test -z "$ac_c_werror_flag" ||
6632 test ! -s conftest.err
6633 } && test -s conftest$ac_exeext &&
6634 $as_test_x conftest$ac_exeext; then
6635 ac_cv_lib_pthread_pthread_create=yes
6637 echo "$as_me: failed program was:" >&5
6638 sed 's/^/| /' conftest.$ac_ext >&5
6640 ac_cv_lib_pthread_pthread_create=no
6643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6644 conftest$ac_exeext conftest.$ac_ext
6645 LIBS=$ac_check_lib_save_LIBS
6647 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6648 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6649 if test $ac_cv_lib_pthread_pthread_create = yes; then
6650 LIBPTHREAD="-lpthread"
6669 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6670 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6671 if test "${ac_cv_header_stdc+set}" = set; then
6672 echo $ECHO_N "(cached) $ECHO_C" >&6
6674 cat >conftest.$ac_ext <<_ACEOF
6677 cat confdefs.h >>conftest.$ac_ext
6678 cat >>conftest.$ac_ext <<_ACEOF
6679 /* end confdefs.h. */
6693 rm -f conftest.$ac_objext
6694 if { (ac_try="$ac_compile"
6696 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6697 *) ac_try_echo
=$ac_try;;
6699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6700 (eval "$ac_compile") 2>conftest.er1
6702 grep -v '^ *+' conftest.er1
>conftest.err
6704 cat conftest.err
>&5
6705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6706 (exit $ac_status); } && {
6707 test -z "$ac_c_werror_flag" ||
6708 test ! -s conftest.err
6709 } && test -s conftest.
$ac_objext; then
6710 ac_cv_header_stdc
=yes
6712 echo "$as_me: failed program was:" >&5
6713 sed 's/^/| /' conftest.
$ac_ext >&5
6715 ac_cv_header_stdc
=no
6718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6720 if test $ac_cv_header_stdc = yes; then
6721 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6722 cat >conftest.
$ac_ext <<_ACEOF
6725 cat confdefs.h
>>conftest.
$ac_ext
6726 cat >>conftest.
$ac_ext <<_ACEOF
6727 /* end confdefs.h. */
6731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6732 $EGREP "memchr" >/dev
/null
2>&1; then
6735 ac_cv_header_stdc
=no
6741 if test $ac_cv_header_stdc = yes; then
6742 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6743 cat >conftest.
$ac_ext <<_ACEOF
6746 cat confdefs.h
>>conftest.
$ac_ext
6747 cat >>conftest.
$ac_ext <<_ACEOF
6748 /* end confdefs.h. */
6752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6753 $EGREP "free" >/dev
/null
2>&1; then
6756 ac_cv_header_stdc
=no
6762 if test $ac_cv_header_stdc = yes; then
6763 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6764 if test "$cross_compiling" = yes; then
6767 cat >conftest.
$ac_ext <<_ACEOF
6770 cat confdefs.h
>>conftest.
$ac_ext
6771 cat >>conftest.
$ac_ext <<_ACEOF
6772 /* end confdefs.h. */
6775 #if ((' ' & 0x0FF) == 0x020)
6776 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6777 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6779 # define ISLOWER(c) \
6780 (('a' <= (c) && (c) <= 'i') \
6781 || ('j' <= (c) && (c) <= 'r') \
6782 || ('s' <= (c) && (c) <= 'z'))
6783 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6786 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6791 for (i = 0; i < 256; i++)
6792 if (XOR (islower (i), ISLOWER (i))
6793 || toupper (i) != TOUPPER (i))
6798 rm -f conftest
$ac_exeext
6799 if { (ac_try
="$ac_link"
6801 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6802 *) ac_try_echo=$ac_try;;
6804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6805 (eval "$ac_link") 2>&5
6807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6808 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6809 { (case "(($ac_try" in
6810 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6811 *) ac_try_echo
=$ac_try;;
6813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6814 (eval "$ac_try") 2>&5
6816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6817 (exit $ac_status); }; }; then
6820 echo "$as_me: program exited with status $ac_status" >&5
6821 echo "$as_me: failed program was:" >&5
6822 sed 's/^/| /' conftest.
$ac_ext >&5
6825 ac_cv_header_stdc
=no
6827 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6833 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6834 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6835 if test $ac_cv_header_stdc = yes; then
6837 cat >>confdefs.h
<<\_ACEOF
6838 #define STDC_HEADERS 1
6843 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6853 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6854 inttypes.h stdint.h unistd.h
6856 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6857 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6858 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6859 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6860 echo $ECHO_N "(cached) $ECHO_C" >&6
6862 cat >conftest.
$ac_ext <<_ACEOF
6865 cat confdefs.h
>>conftest.
$ac_ext
6866 cat >>conftest.
$ac_ext <<_ACEOF
6867 /* end confdefs.h. */
6868 $ac_includes_default
6870 #include <$ac_header>
6872 rm -f conftest.
$ac_objext
6873 if { (ac_try
="$ac_compile"
6875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6876 *) ac_try_echo=$ac_try;;
6878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6879 (eval "$ac_compile") 2>conftest.er1
6881 grep -v '^ *+' conftest.er1 >conftest.err
6883 cat conftest.err >&5
6884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6885 (exit $ac_status); } && {
6886 test -z "$ac_c_werror_flag" ||
6887 test ! -s conftest.err
6888 } && test -s conftest.$ac_objext; then
6889 eval "$as_ac_Header=yes"
6891 echo "$as_me: failed program was:" >&5
6892 sed 's/^/| /' conftest.$ac_ext >&5
6894 eval "$as_ac_Header=no"
6897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6899 ac_res=`eval echo '${'$as_ac_Header'}'`
6900 { echo "$as_me:$LINENO: result: $ac_res" >&5
6901 echo "${ECHO_T}$ac_res" >&6; }
6902 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6903 cat >>confdefs.h <<_ACEOF
6904 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7021 AudioUnit/AudioUnit.h \
7023 CoreAudio/CoreAudio.h \
7024 DiskArbitration/DiskArbitration.h \
7037 fontconfig/fontconfig.h \
7062 machine/soundcard.h \
7067 netinet/in_systm.h \
7131 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7132 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7133 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7135 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7136 echo $ECHO_N "(cached) $ECHO_C" >&6
7138 ac_res=`eval echo '${'$as_ac_Header'}'`
7139 { echo "$as_me:$LINENO: result: $ac_res" >&5
7140 echo "${ECHO_T}$ac_res" >&6; }
7142 # Is the header compilable?
7143 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7144 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7145 cat >conftest.$ac_ext <<_ACEOF
7148 cat confdefs.h >>conftest.$ac_ext
7149 cat >>conftest.$ac_ext <<_ACEOF
7150 /* end confdefs.h. */
7151 $ac_includes_default
7152 #include <$ac_header>
7154 rm -f conftest.$ac_objext
7155 if { (ac_try="$ac_compile"
7157 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7158 *) ac_try_echo
=$ac_try;;
7160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7161 (eval "$ac_compile") 2>conftest.er1
7163 grep -v '^ *+' conftest.er1
>conftest.err
7165 cat conftest.err
>&5
7166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7167 (exit $ac_status); } && {
7168 test -z "$ac_c_werror_flag" ||
7169 test ! -s conftest.err
7170 } && test -s conftest.
$ac_objext; then
7171 ac_header_compiler
=yes
7173 echo "$as_me: failed program was:" >&5
7174 sed 's/^/| /' conftest.
$ac_ext >&5
7176 ac_header_compiler
=no
7179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7180 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7181 echo "${ECHO_T}$ac_header_compiler" >&6; }
7183 # Is the header present?
7184 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7185 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7186 cat >conftest.
$ac_ext <<_ACEOF
7189 cat confdefs.h
>>conftest.
$ac_ext
7190 cat >>conftest.
$ac_ext <<_ACEOF
7191 /* end confdefs.h. */
7192 #include <$ac_header>
7194 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7196 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7197 *) ac_try_echo=$ac_try;;
7199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7200 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7202 grep -v '^ *+' conftest.er1 >conftest.err
7204 cat conftest.err >&5
7205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7206 (exit $ac_status); } >/dev/null && {
7207 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7208 test ! -s conftest.err
7210 ac_header_preproc=yes
7212 echo "$as_me: failed program was:" >&5
7213 sed 's/^/| /' conftest.$ac_ext >&5
7215 ac_header_preproc=no
7218 rm -f conftest.err conftest.$ac_ext
7219 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7220 echo "${ECHO_T}$ac_header_preproc" >&6; }
7222 # So? What about this header?
7223 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7225 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7226 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7227 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7228 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7229 ac_header_preproc=yes
7232 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7233 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7234 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7235 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7236 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7237 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7238 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7239 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7240 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7241 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7242 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7243 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7245 ## ------------------------------------ ##
7246 ## Report this to wine-devel@winehq.org ##
7247 ## ------------------------------------ ##
7249 ) | sed "s/^/$as_me: WARNING: /" >&2
7252 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7254 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7255 echo $ECHO_N "(cached) $ECHO_C" >&6
7257 eval "$as_ac_Header=\$ac_header_preproc"
7259 ac_res=`eval echo '${'$as_ac_Header'}'`
7260 { echo "$as_me:$LINENO: result: $ac_res" >&5
7261 echo "${ECHO_T}$ac_res" >&6; }
7264 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7265 cat >>confdefs.h <<_ACEOF
7266 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7273 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7274 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7275 if test "${ac_cv_header_stat_broken+set}" = set; then
7276 echo $ECHO_N "(cached) $ECHO_C" >&6
7278 cat >conftest.$ac_ext <<_ACEOF
7281 cat confdefs.h >>conftest.$ac_ext
7282 cat >>conftest.$ac_ext <<_ACEOF
7283 /* end confdefs.h. */
7284 #include <sys/types.h>
7285 #include <sys/stat.h>
7287 #if defined S_ISBLK && defined S_IFDIR
7288 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7291 #if defined S_ISBLK && defined S_IFCHR
7292 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7295 #if defined S_ISLNK && defined S_IFREG
7296 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7299 #if defined S_ISSOCK && defined S_IFREG
7300 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
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 ac_cv_header_stat_broken
=no
7323 echo "$as_me: failed program was:" >&5
7324 sed 's/^/| /' conftest.
$ac_ext >&5
7326 ac_cv_header_stat_broken
=yes
7329 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7331 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7332 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7333 if test $ac_cv_header_stat_broken = yes; then
7335 cat >>confdefs.h
<<\_ACEOF
7336 #define STAT_MACROS_BROKEN 1
7347 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
7349 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7350 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7352 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7353 echo $ECHO_N "(cached) $ECHO_C" >&6
7355 cat >conftest.
$ac_ext <<_ACEOF
7358 cat confdefs.h
>>conftest.
$ac_ext
7359 cat >>conftest.
$ac_ext <<_ACEOF
7360 /* end confdefs.h. */
7361 #include <sys/types.h>
7362 #if HAVE_SYS_PARAM_H
7363 # include <sys/param.h>
7366 #include <$ac_header>
7368 rm -f conftest.
$ac_objext
7369 if { (ac_try
="$ac_compile"
7371 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7372 *) ac_try_echo=$ac_try;;
7374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7375 (eval "$ac_compile") 2>conftest.er1
7377 grep -v '^ *+' conftest.er1 >conftest.err
7379 cat conftest.err >&5
7380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7381 (exit $ac_status); } && {
7382 test -z "$ac_c_werror_flag" ||
7383 test ! -s conftest.err
7384 } && test -s conftest.$ac_objext; then
7385 eval "$as_ac_Header=yes"
7387 echo "$as_me: failed program was:" >&5
7388 sed 's/^/| /' conftest.$ac_ext >&5
7390 eval "$as_ac_Header=no"
7393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7395 ac_res=`eval echo '${'$as_ac_Header'}'`
7396 { echo "$as_me:$LINENO: result: $ac_res" >&5
7397 echo "${ECHO_T}$ac_res" >&6; }
7398 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7399 cat >>confdefs.h <<_ACEOF
7400 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7414 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
7416 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7417 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7419 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7420 echo $ECHO_N "(cached) $ECHO_C" >&6
7422 cat >conftest.$ac_ext <<_ACEOF
7425 cat confdefs.h >>conftest.$ac_ext
7426 cat >>conftest.$ac_ext <<_ACEOF
7427 /* end confdefs.h. */
7428 #include <sys/types.h>
7429 #if HAVE_SYS_SOCKET_H
7430 # include <sys/socket.h>
7433 #include <$ac_header>
7435 rm -f conftest.$ac_objext
7436 if { (ac_try="$ac_compile"
7438 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7439 *) ac_try_echo
=$ac_try;;
7441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7442 (eval "$ac_compile") 2>conftest.er1
7444 grep -v '^ *+' conftest.er1
>conftest.err
7446 cat conftest.err
>&5
7447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448 (exit $ac_status); } && {
7449 test -z "$ac_c_werror_flag" ||
7450 test ! -s conftest.err
7451 } && test -s conftest.
$ac_objext; then
7452 eval "$as_ac_Header=yes"
7454 echo "$as_me: failed program was:" >&5
7455 sed 's/^/| /' conftest.
$ac_ext >&5
7457 eval "$as_ac_Header=no"
7460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7462 ac_res
=`eval echo '${'$as_ac_Header'}'`
7463 { echo "$as_me:$LINENO: result: $ac_res" >&5
7464 echo "${ECHO_T}$ac_res" >&6; }
7465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7466 cat >>confdefs.h
<<_ACEOF
7467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7476 for ac_header
in linux
/ipx.h
7478 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7479 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7481 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7482 echo $ECHO_N "(cached) $ECHO_C" >&6
7484 cat >conftest.
$ac_ext <<_ACEOF
7487 cat confdefs.h
>>conftest.
$ac_ext
7488 cat >>conftest.
$ac_ext <<_ACEOF
7489 /* end confdefs.h. */
7490 #include <sys/types.h>
7491 #ifdef HAVE_ASM_TYPES_H
7492 # include <asm/types.h>
7494 #if HAVE_SYS_SOCKET_H
7495 # include <sys/socket.h>
7498 #include <$ac_header>
7500 rm -f conftest.
$ac_objext
7501 if { (ac_try
="$ac_compile"
7503 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7504 *) ac_try_echo=$ac_try;;
7506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7507 (eval "$ac_compile") 2>conftest.er1
7509 grep -v '^ *+' conftest.er1 >conftest.err
7511 cat conftest.err >&5
7512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7513 (exit $ac_status); } && {
7514 test -z "$ac_c_werror_flag" ||
7515 test ! -s conftest.err
7516 } && test -s conftest.$ac_objext; then
7517 eval "$as_ac_Header=yes"
7519 echo "$as_me: failed program was:" >&5
7520 sed 's/^/| /' conftest.$ac_ext >&5
7522 eval "$as_ac_Header=no"
7525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7527 ac_res=`eval echo '${'$as_ac_Header'}'`
7528 { echo "$as_me:$LINENO: result: $ac_res" >&5
7529 echo "${ECHO_T}$ac_res" >&6; }
7530 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7531 cat >>confdefs.h <<_ACEOF
7532 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7541 for ac_header in resolv.h
7543 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7544 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7545 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7546 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7547 echo $ECHO_N "(cached) $ECHO_C" >&6
7549 cat >conftest.$ac_ext <<_ACEOF
7552 cat confdefs.h >>conftest.$ac_ext
7553 cat >>conftest.$ac_ext <<_ACEOF
7554 /* end confdefs.h. */
7555 #include <sys/types.h>
7556 #if HAVE_SYS_SOCKET_H
7557 # include <sys/socket.h>
7559 #if HAVE_NETINET_IN_H
7560 # include <netinet/in.h>
7562 #if HAVE_ARPA_NAMESER_H
7563 # include <arpa/nameser.h>
7566 #include <$ac_header>
7568 rm -f conftest.$ac_objext
7569 if { (ac_try="$ac_compile"
7571 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7572 *) ac_try_echo
=$ac_try;;
7574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7575 (eval "$ac_compile") 2>conftest.er1
7577 grep -v '^ *+' conftest.er1
>conftest.err
7579 cat conftest.err
>&5
7580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7581 (exit $ac_status); } && {
7582 test -z "$ac_c_werror_flag" ||
7583 test ! -s conftest.err
7584 } && test -s conftest.
$ac_objext; then
7585 eval "$as_ac_Header=yes"
7587 echo "$as_me: failed program was:" >&5
7588 sed 's/^/| /' conftest.
$ac_ext >&5
7590 eval "$as_ac_Header=no"
7593 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7595 ac_res
=`eval echo '${'$as_ac_Header'}'`
7596 { echo "$as_me:$LINENO: result: $ac_res" >&5
7597 echo "${ECHO_T}$ac_res" >&6; }
7598 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7599 cat >>confdefs.h
<<_ACEOF
7600 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7609 for ac_header
in ucontext.h
7611 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7612 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7614 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7615 echo $ECHO_N "(cached) $ECHO_C" >&6
7617 cat >conftest.
$ac_ext <<_ACEOF
7620 cat confdefs.h
>>conftest.
$ac_ext
7621 cat >>conftest.
$ac_ext <<_ACEOF
7622 /* end confdefs.h. */
7625 #include <$ac_header>
7627 rm -f conftest.
$ac_objext
7628 if { (ac_try
="$ac_compile"
7630 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7631 *) ac_try_echo=$ac_try;;
7633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7634 (eval "$ac_compile") 2>conftest.er1
7636 grep -v '^ *+' conftest.er1 >conftest.err
7638 cat conftest.err >&5
7639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640 (exit $ac_status); } && {
7641 test -z "$ac_c_werror_flag" ||
7642 test ! -s conftest.err
7643 } && test -s conftest.$ac_objext; then
7644 eval "$as_ac_Header=yes"
7646 echo "$as_me: failed program was:" >&5
7647 sed 's/^/| /' conftest.$ac_ext >&5
7649 eval "$as_ac_Header=no"
7652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7654 ac_res=`eval echo '${'$as_ac_Header'}'`
7655 { echo "$as_me:$LINENO: result: $ac_res" >&5
7656 echo "${ECHO_T}$ac_res" >&6; }
7657 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7658 cat >>confdefs.h <<_ACEOF
7659 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7668 for ac_header in pthread_np.h
7670 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7671 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7672 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7673 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7674 echo $ECHO_N "(cached) $ECHO_C" >&6
7676 cat >conftest.$ac_ext <<_ACEOF
7679 cat confdefs.h >>conftest.$ac_ext
7680 cat >>conftest.$ac_ext <<_ACEOF
7681 /* end confdefs.h. */
7682 #ifdef HAVE_PTHREAD_H
7683 #include <pthread.h>
7686 #include <$ac_header>
7688 rm -f conftest.$ac_objext
7689 if { (ac_try="$ac_compile"
7691 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7692 *) ac_try_echo
=$ac_try;;
7694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7695 (eval "$ac_compile") 2>conftest.er1
7697 grep -v '^ *+' conftest.er1
>conftest.err
7699 cat conftest.err
>&5
7700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7701 (exit $ac_status); } && {
7702 test -z "$ac_c_werror_flag" ||
7703 test ! -s conftest.err
7704 } && test -s conftest.
$ac_objext; then
7705 eval "$as_ac_Header=yes"
7707 echo "$as_me: failed program was:" >&5
7708 sed 's/^/| /' conftest.
$ac_ext >&5
7710 eval "$as_ac_Header=no"
7713 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7715 ac_res
=`eval echo '${'$as_ac_Header'}'`
7716 { echo "$as_me:$LINENO: result: $ac_res" >&5
7717 echo "${ECHO_T}$ac_res" >&6; }
7718 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7719 cat >>confdefs.h
<<_ACEOF
7720 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7729 for ac_header
in linux
/videodev.h
7731 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7732 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7734 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7735 echo $ECHO_N "(cached) $ECHO_C" >&6
7737 cat >conftest.
$ac_ext <<_ACEOF
7740 cat confdefs.h
>>conftest.
$ac_ext
7741 cat >>conftest.
$ac_ext <<_ACEOF
7742 /* end confdefs.h. */
7743 #ifdef HAVE_SYS_TIME_H
7744 #include <sys/time.h>
7746 #include <sys/types.h>
7747 #ifdef HAVE_ASM_TYPES_H
7748 #include <asm/types.h>
7751 #include <$ac_header>
7753 rm -f conftest.
$ac_objext
7754 if { (ac_try
="$ac_compile"
7756 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7757 *) ac_try_echo=$ac_try;;
7759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7760 (eval "$ac_compile") 2>conftest.er1
7762 grep -v '^ *+' conftest.er1 >conftest.err
7764 cat conftest.err >&5
7765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7766 (exit $ac_status); } && {
7767 test -z "$ac_c_werror_flag" ||
7768 test ! -s conftest.err
7769 } && test -s conftest.$ac_objext; then
7770 eval "$as_ac_Header=yes"
7772 echo "$as_me: failed program was:" >&5
7773 sed 's/^/| /' conftest.$ac_ext >&5
7775 eval "$as_ac_Header=no"
7778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7780 ac_res=`eval echo '${'$as_ac_Header'}'`
7781 { echo "$as_me:$LINENO: result: $ac_res" >&5
7782 echo "${ECHO_T}$ac_res" >&6; }
7783 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7784 cat >>confdefs.h <<_ACEOF
7785 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7794 for ac_header in linux/capi.h
7796 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7797 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7799 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7800 echo $ECHO_N "(cached) $ECHO_C" >&6
7802 cat >conftest.$ac_ext <<_ACEOF
7805 cat confdefs.h >>conftest.$ac_ext
7806 cat >>conftest.$ac_ext <<_ACEOF
7807 /* end confdefs.h. */
7810 #include <$ac_header>
7812 rm -f conftest.$ac_objext
7813 if { (ac_try="$ac_compile"
7815 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7816 *) ac_try_echo
=$ac_try;;
7818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7819 (eval "$ac_compile") 2>conftest.er1
7821 grep -v '^ *+' conftest.er1
>conftest.err
7823 cat conftest.err
>&5
7824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7825 (exit $ac_status); } && {
7826 test -z "$ac_c_werror_flag" ||
7827 test ! -s conftest.err
7828 } && test -s conftest.
$ac_objext; then
7829 eval "$as_ac_Header=yes"
7831 echo "$as_me: failed program was:" >&5
7832 sed 's/^/| /' conftest.
$ac_ext >&5
7834 eval "$as_ac_Header=no"
7837 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7839 ac_res
=`eval echo '${'$as_ac_Header'}'`
7840 { echo "$as_me:$LINENO: result: $ac_res" >&5
7841 echo "${ECHO_T}$ac_res" >&6; }
7842 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7843 cat >>confdefs.h
<<_ACEOF
7844 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7853 if test "$have_x" = "yes"
7856 ac_save_CPPFLAGS
="$CPPFLAGS"
7857 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7869 for ac_header
in X11
/Xlib.h \
7872 X11
/extensions
/shape.h \
7873 X11
/extensions
/XInput.h \
7874 X11
/extensions
/XShm.h \
7875 X11
/extensions
/Xinerama.h \
7876 X11
/extensions
/Xrandr.h \
7877 X11
/extensions
/Xrender.h \
7878 X11
/extensions
/xf86vmode.h
7880 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7881 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7882 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7883 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7884 echo $ECHO_N "(cached) $ECHO_C" >&6
7886 cat >conftest.
$ac_ext <<_ACEOF
7889 cat confdefs.h
>>conftest.
$ac_ext
7890 cat >>conftest.
$ac_ext <<_ACEOF
7891 /* end confdefs.h. */
7892 #ifdef HAVE_X11_XLIB_H
7893 # include <X11/Xlib.h>
7895 #ifdef HAVE_X11_XUTIL_H
7896 # include <X11/Xutil.h>
7899 #include <$ac_header>
7901 rm -f conftest.
$ac_objext
7902 if { (ac_try
="$ac_compile"
7904 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7905 *) ac_try_echo=$ac_try;;
7907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7908 (eval "$ac_compile") 2>conftest.er1
7910 grep -v '^ *+' conftest.er1 >conftest.err
7912 cat conftest.err >&5
7913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7914 (exit $ac_status); } && {
7915 test -z "$ac_c_werror_flag" ||
7916 test ! -s conftest.err
7917 } && test -s conftest.$ac_objext; then
7918 eval "$as_ac_Header=yes"
7920 echo "$as_me: failed program was:" >&5
7921 sed 's/^/| /' conftest.$ac_ext >&5
7923 eval "$as_ac_Header=no"
7926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7928 ac_res=`eval echo '${'$as_ac_Header'}'`
7929 { echo "$as_me:$LINENO: result: $ac_res" >&5
7930 echo "${ECHO_T}$ac_res" >&6; }
7931 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7932 cat >>confdefs.h <<_ACEOF
7933 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7941 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7943 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7944 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
7945 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7946 echo $ECHO_N "(cached) $ECHO_C" >&6
7948 ac_check_lib_save_LIBS=$LIBS
7949 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7950 cat >conftest.$ac_ext <<_ACEOF
7953 cat confdefs.h >>conftest.$ac_ext
7954 cat >>conftest.$ac_ext <<_ACEOF
7955 /* end confdefs.h. */
7957 /* Override any GCC internal prototype to avoid an error.
7958 Use char because int might match the return type of a GCC
7959 builtin and then its argument prototype would still apply. */
7963 char XkbQueryExtension ();
7967 return XkbQueryExtension ();
7972 rm -f conftest.$ac_objext conftest$ac_exeext
7973 if { (ac_try="$ac_link"
7975 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7976 *) ac_try_echo
=$ac_try;;
7978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7979 (eval "$ac_link") 2>conftest.er1
7981 grep -v '^ *+' conftest.er1
>conftest.err
7983 cat conftest.err
>&5
7984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7985 (exit $ac_status); } && {
7986 test -z "$ac_c_werror_flag" ||
7987 test ! -s conftest.err
7988 } && test -s conftest
$ac_exeext &&
7989 $as_test_x conftest
$ac_exeext; then
7990 ac_cv_lib_X11_XkbQueryExtension
=yes
7992 echo "$as_me: failed program was:" >&5
7993 sed 's/^/| /' conftest.
$ac_ext >&5
7995 ac_cv_lib_X11_XkbQueryExtension
=no
7998 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7999 conftest
$ac_exeext conftest.
$ac_ext
8000 LIBS
=$ac_check_lib_save_LIBS
8002 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8003 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8004 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
8006 cat >>confdefs.h
<<\_ACEOF
8014 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8016 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
8017 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
8018 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
8019 echo $ECHO_N "(cached) $ECHO_C" >&6
8021 ac_check_lib_save_LIBS
=$LIBS
8022 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8023 cat >conftest.
$ac_ext <<_ACEOF
8026 cat confdefs.h
>>conftest.
$ac_ext
8027 cat >>conftest.
$ac_ext <<_ACEOF
8028 /* end confdefs.h. */
8030 /* Override any GCC internal prototype to avoid an error.
8031 Use char because int might match the return type of a GCC
8032 builtin and then its argument prototype would still apply. */
8036 char XShmQueryExtension ();
8040 return XShmQueryExtension ();
8045 rm -f conftest.
$ac_objext conftest
$ac_exeext
8046 if { (ac_try
="$ac_link"
8048 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8049 *) ac_try_echo=$ac_try;;
8051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8052 (eval "$ac_link") 2>conftest.er1
8054 grep -v '^ *+' conftest.er1 >conftest.err
8056 cat conftest.err >&5
8057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8058 (exit $ac_status); } && {
8059 test -z "$ac_c_werror_flag" ||
8060 test ! -s conftest.err
8061 } && test -s conftest$ac_exeext &&
8062 $as_test_x conftest$ac_exeext; then
8063 ac_cv_lib_Xext_XShmQueryExtension=yes
8065 echo "$as_me: failed program was:" >&5
8066 sed 's/^/| /' conftest.$ac_ext >&5
8068 ac_cv_lib_Xext_XShmQueryExtension=no
8071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8072 conftest$ac_exeext conftest.$ac_ext
8073 LIBS=$ac_check_lib_save_LIBS
8075 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8076 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8077 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8079 cat >>confdefs.h <<\_ACEOF
8080 #define HAVE_LIBXXSHM 1
8087 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8089 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8090 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
8091 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8092 echo $ECHO_N "(cached) $ECHO_C" >&6
8094 ac_check_lib_save_LIBS=$LIBS
8095 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8096 cat >conftest.$ac_ext <<_ACEOF
8099 cat confdefs.h >>conftest.$ac_ext
8100 cat >>conftest.$ac_ext <<_ACEOF
8101 /* end confdefs.h. */
8103 /* Override any GCC internal prototype to avoid an error.
8104 Use char because int might match the return type of a GCC
8105 builtin and then its argument prototype would still apply. */
8109 char XShapeQueryExtension ();
8113 return XShapeQueryExtension ();
8118 rm -f conftest.$ac_objext conftest$ac_exeext
8119 if { (ac_try="$ac_link"
8121 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8122 *) ac_try_echo
=$ac_try;;
8124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8125 (eval "$ac_link") 2>conftest.er1
8127 grep -v '^ *+' conftest.er1
>conftest.err
8129 cat conftest.err
>&5
8130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8131 (exit $ac_status); } && {
8132 test -z "$ac_c_werror_flag" ||
8133 test ! -s conftest.err
8134 } && test -s conftest
$ac_exeext &&
8135 $as_test_x conftest
$ac_exeext; then
8136 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8138 echo "$as_me: failed program was:" >&5
8139 sed 's/^/| /' conftest.
$ac_ext >&5
8141 ac_cv_lib_Xext_XShapeQueryExtension
=no
8144 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8145 conftest
$ac_exeext conftest.
$ac_ext
8146 LIBS
=$ac_check_lib_save_LIBS
8148 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8149 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8150 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8152 cat >>confdefs.h
<<\_ACEOF
8153 #define HAVE_LIBXSHAPE 1
8160 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8162 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8163 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
8164 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8165 echo $ECHO_N "(cached) $ECHO_C" >&6
8167 ac_check_lib_save_LIBS
=$LIBS
8168 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8169 cat >conftest.
$ac_ext <<_ACEOF
8172 cat confdefs.h
>>conftest.
$ac_ext
8173 cat >>conftest.
$ac_ext <<_ACEOF
8174 /* end confdefs.h. */
8176 /* Override any GCC internal prototype to avoid an error.
8177 Use char because int might match the return type of a GCC
8178 builtin and then its argument prototype would still apply. */
8182 char XF86VidModeQueryExtension ();
8186 return XF86VidModeQueryExtension ();
8191 rm -f conftest.
$ac_objext conftest
$ac_exeext
8192 if { (ac_try
="$ac_link"
8194 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8195 *) ac_try_echo=$ac_try;;
8197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8198 (eval "$ac_link") 2>conftest.er1
8200 grep -v '^ *+' conftest.er1 >conftest.err
8202 cat conftest.err >&5
8203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8204 (exit $ac_status); } && {
8205 test -z "$ac_c_werror_flag" ||
8206 test ! -s conftest.err
8207 } && test -s conftest$ac_exeext &&
8208 $as_test_x conftest$ac_exeext; then
8209 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
8211 echo "$as_me: failed program was:" >&5
8212 sed 's/^/| /' conftest.$ac_ext >&5
8214 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
8217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8218 conftest$ac_exeext conftest.$ac_ext
8219 LIBS=$ac_check_lib_save_LIBS
8221 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8222 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
8223 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8225 cat >>confdefs.h <<\_ACEOF
8226 #define HAVE_LIBXXF86VM 1
8229 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
8235 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8237 cat >conftest.$ac_ext <<_ACEOF
8240 cat confdefs.h >>conftest.$ac_ext
8241 cat >>conftest.$ac_ext <<_ACEOF
8242 /* end confdefs.h. */
8243 #include <X11/Xlib.h>
8244 #include <X11/extensions/Xrandr.h>
8248 static typeof(XRRSetScreenConfigAndRate) * func;
8253 rm -f conftest.$ac_objext
8254 if { (ac_try="$ac_compile"
8256 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8257 *) ac_try_echo
=$ac_try;;
8259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8260 (eval "$ac_compile") 2>conftest.er1
8262 grep -v '^ *+' conftest.er1
>conftest.err
8264 cat conftest.err
>&5
8265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8266 (exit $ac_status); } && {
8267 test -z "$ac_c_werror_flag" ||
8268 test ! -s conftest.err
8269 } && test -s conftest.
$ac_objext; then
8271 cat >>confdefs.h
<<\_ACEOF
8272 #define HAVE_LIBXRANDR 1
8276 echo "$as_me: failed program was:" >&5
8277 sed 's/^/| /' conftest.
$ac_ext >&5
8282 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8285 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8287 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8288 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
8289 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8290 echo $ECHO_N "(cached) $ECHO_C" >&6
8292 ac_check_lib_save_LIBS
=$LIBS
8293 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8294 cat >conftest.
$ac_ext <<_ACEOF
8297 cat confdefs.h
>>conftest.
$ac_ext
8298 cat >>conftest.
$ac_ext <<_ACEOF
8299 /* end confdefs.h. */
8301 /* Override any GCC internal prototype to avoid an error.
8302 Use char because int might match the return type of a GCC
8303 builtin and then its argument prototype would still apply. */
8307 char XRenderSetPictureTransform ();
8311 return XRenderSetPictureTransform ();
8316 rm -f conftest.
$ac_objext conftest
$ac_exeext
8317 if { (ac_try
="$ac_link"
8319 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8320 *) ac_try_echo=$ac_try;;
8322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8323 (eval "$ac_link") 2>conftest.er1
8325 grep -v '^ *+' conftest.er1 >conftest.err
8327 cat conftest.err >&5
8328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8329 (exit $ac_status); } && {
8330 test -z "$ac_c_werror_flag" ||
8331 test ! -s conftest.err
8332 } && test -s conftest$ac_exeext &&
8333 $as_test_x conftest$ac_exeext; then
8334 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8336 echo "$as_me: failed program was:" >&5
8337 sed 's/^/| /' conftest.$ac_ext >&5
8339 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8343 conftest$ac_exeext conftest.$ac_ext
8344 LIBS=$ac_check_lib_save_LIBS
8346 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8347 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8348 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8350 cat >>confdefs.h <<\_ACEOF
8351 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8358 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8360 cat >conftest.$ac_ext <<_ACEOF
8363 cat confdefs.h >>conftest.$ac_ext
8364 cat >>conftest.$ac_ext <<_ACEOF
8365 /* end confdefs.h. */
8366 #include <X11/Xlib.h>
8367 #include <X11/extensions/Xinerama.h>
8371 static typeof(XineramaQueryScreens) * func;
8376 rm -f conftest.$ac_objext
8377 if { (ac_try="$ac_compile"
8379 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8380 *) ac_try_echo
=$ac_try;;
8382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8383 (eval "$ac_compile") 2>conftest.er1
8385 grep -v '^ *+' conftest.er1
>conftest.err
8387 cat conftest.err
>&5
8388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8389 (exit $ac_status); } && {
8390 test -z "$ac_c_werror_flag" ||
8391 test ! -s conftest.err
8392 } && test -s conftest.
$ac_objext; then
8394 cat >>confdefs.h
<<\_ACEOF
8395 #define HAVE_LIBXINERAMA 1
8399 echo "$as_me: failed program was:" >&5
8400 sed 's/^/| /' conftest.
$ac_ext >&5
8405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8409 if test "x$with_opengl" != "xno"
8415 for ac_header
in GL
/gl.h GL
/glx.h GL
/glext.h GL
/glu.h
8417 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8418 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8420 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8421 echo $ECHO_N "(cached) $ECHO_C" >&6
8423 cat >conftest.
$ac_ext <<_ACEOF
8426 cat confdefs.h
>>conftest.
$ac_ext
8427 cat >>conftest.
$ac_ext <<_ACEOF
8428 /* end confdefs.h. */
8429 #ifdef HAVE_GL_GLX_H
8430 # include <GL/glx.h>
8433 #include <$ac_header>
8435 rm -f conftest.
$ac_objext
8436 if { (ac_try
="$ac_compile"
8438 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8439 *) ac_try_echo=$ac_try;;
8441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8442 (eval "$ac_compile") 2>conftest.er1
8444 grep -v '^ *+' conftest.er1 >conftest.err
8446 cat conftest.err >&5
8447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8448 (exit $ac_status); } && {
8449 test -z "$ac_c_werror_flag" ||
8450 test ! -s conftest.err
8451 } && test -s conftest.$ac_objext; then
8452 eval "$as_ac_Header=yes"
8454 echo "$as_me: failed program was:" >&5
8455 sed 's/^/| /' conftest.$ac_ext >&5
8457 eval "$as_ac_Header=no"
8460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8462 ac_res=`eval echo '${'$as_ac_Header'}'`
8463 { echo "$as_me:$LINENO: result: $ac_res" >&5
8464 echo "${ECHO_T}$ac_res" >&6; }
8465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8466 cat >>confdefs.h <<_ACEOF
8467 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8474 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8476 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8477 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
8478 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
8479 echo $ECHO_N "(cached) $ECHO_C" >&6
8481 cat >conftest.$ac_ext <<_ACEOF
8484 cat confdefs.h >>conftest.$ac_ext
8485 cat >>conftest.$ac_ext <<_ACEOF
8486 /* end confdefs.h. */
8491 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8496 rm -f conftest.$ac_objext
8497 if { (ac_try="$ac_compile"
8499 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8500 *) ac_try_echo
=$ac_try;;
8502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8503 (eval "$ac_compile") 2>conftest.er1
8505 grep -v '^ *+' conftest.er1
>conftest.err
8507 cat conftest.err
>&5
8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 (exit $ac_status); } && {
8510 test -z "$ac_c_werror_flag" ||
8511 test ! -s conftest.err
8512 } && test -s conftest.
$ac_objext; then
8513 wine_cv_opengl_header_version_OK
="yes"
8515 echo "$as_me: failed program was:" >&5
8516 sed 's/^/| /' conftest.
$ac_ext >&5
8518 wine_cv_opengl_header_version_OK
="no"
8522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8525 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
8526 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
8528 if test "$wine_cv_opengl_header_version_OK" = "yes"
8530 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8531 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
8532 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8533 echo $ECHO_N "(cached) $ECHO_C" >&6
8535 ac_check_lib_save_LIBS
=$LIBS
8536 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8537 cat >conftest.
$ac_ext <<_ACEOF
8540 cat confdefs.h
>>conftest.
$ac_ext
8541 cat >>conftest.
$ac_ext <<_ACEOF
8542 /* end confdefs.h. */
8544 /* Override any GCC internal prototype to avoid an error.
8545 Use char because int might match the return type of a GCC
8546 builtin and then its argument prototype would still apply. */
8550 char glXCreateContext ();
8554 return glXCreateContext ();
8559 rm -f conftest.
$ac_objext conftest
$ac_exeext
8560 if { (ac_try
="$ac_link"
8562 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8563 *) ac_try_echo=$ac_try;;
8565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8566 (eval "$ac_link") 2>conftest.er1
8568 grep -v '^ *+' conftest.er1 >conftest.err
8570 cat conftest.err >&5
8571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572 (exit $ac_status); } && {
8573 test -z "$ac_c_werror_flag" ||
8574 test ! -s conftest.err
8575 } && test -s conftest$ac_exeext &&
8576 $as_test_x conftest$ac_exeext; then
8577 ac_cv_lib_GL_glXCreateContext=yes
8579 echo "$as_me: failed program was:" >&5
8580 sed 's/^/| /' conftest.$ac_ext >&5
8582 ac_cv_lib_GL_glXCreateContext=no
8585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8586 conftest$ac_exeext conftest.$ac_ext
8587 LIBS=$ac_check_lib_save_LIBS
8589 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8590 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
8591 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8593 OPENGLFILES='$(OPENGLFILES)'
8595 cat >>confdefs.h <<\_ACEOF
8596 #define HAVE_OPENGL 1
8603 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8604 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
8605 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8606 echo $ECHO_N "(cached) $ECHO_C" >&6
8608 ac_check_lib_save_LIBS=$LIBS
8609 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8611 cat >conftest.$ac_ext <<_ACEOF
8614 cat confdefs.h >>conftest.$ac_ext
8615 cat >>conftest.$ac_ext <<_ACEOF
8616 /* end confdefs.h. */
8618 /* Override any GCC internal prototype to avoid an error.
8619 Use char because int might match the return type of a GCC
8620 builtin and then its argument prototype would still apply. */
8628 return gluLookAt ();
8633 rm -f conftest.$ac_objext conftest$ac_exeext
8634 if { (ac_try="$ac_link"
8636 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8637 *) ac_try_echo
=$ac_try;;
8639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8640 (eval "$ac_link") 2>conftest.er1
8642 grep -v '^ *+' conftest.er1
>conftest.err
8644 cat conftest.err
>&5
8645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8646 (exit $ac_status); } && {
8647 test -z "$ac_c_werror_flag" ||
8648 test ! -s conftest.err
8649 } && test -s conftest
$ac_exeext &&
8650 $as_test_x conftest
$ac_exeext; then
8651 ac_cv_lib_GLU_gluLookAt
=yes
8653 echo "$as_me: failed program was:" >&5
8654 sed 's/^/| /' conftest.
$ac_ext >&5
8656 ac_cv_lib_GLU_gluLookAt
=no
8659 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8660 conftest
$ac_exeext conftest.
$ac_ext
8661 LIBS
=$ac_check_lib_save_LIBS
8663 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8664 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
8665 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8666 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
8667 GLU32FILES
='$(GLU32FILES)'
8673 wine_cv_opengl_headers_found
="no"
8679 for ac_header
in audio
/audiolib.h
8681 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8682 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8683 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8685 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8686 echo $ECHO_N "(cached) $ECHO_C" >&6
8688 ac_res
=`eval echo '${'$as_ac_Header'}'`
8689 { echo "$as_me:$LINENO: result: $ac_res" >&5
8690 echo "${ECHO_T}$ac_res" >&6; }
8692 # Is the header compilable?
8693 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8694 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8695 cat >conftest.
$ac_ext <<_ACEOF
8698 cat confdefs.h
>>conftest.
$ac_ext
8699 cat >>conftest.
$ac_ext <<_ACEOF
8700 /* end confdefs.h. */
8701 $ac_includes_default
8702 #include <$ac_header>
8704 rm -f conftest.
$ac_objext
8705 if { (ac_try
="$ac_compile"
8707 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8708 *) ac_try_echo=$ac_try;;
8710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8711 (eval "$ac_compile") 2>conftest.er1
8713 grep -v '^ *+' conftest.er1 >conftest.err
8715 cat conftest.err >&5
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); } && {
8718 test -z "$ac_c_werror_flag" ||
8719 test ! -s conftest.err
8720 } && test -s conftest.$ac_objext; then
8721 ac_header_compiler=yes
8723 echo "$as_me: failed program was:" >&5
8724 sed 's/^/| /' conftest.$ac_ext >&5
8726 ac_header_compiler=no
8729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8730 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8731 echo "${ECHO_T}$ac_header_compiler" >&6; }
8733 # Is the header present?
8734 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8735 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8736 cat >conftest.$ac_ext <<_ACEOF
8739 cat confdefs.h >>conftest.$ac_ext
8740 cat >>conftest.$ac_ext <<_ACEOF
8741 /* end confdefs.h. */
8742 #include <$ac_header>
8744 if { (ac_try="$ac_cpp conftest.$ac_ext"
8746 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8747 *) ac_try_echo
=$ac_try;;
8749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8750 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8752 grep -v '^ *+' conftest.er1
>conftest.err
8754 cat conftest.err
>&5
8755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8756 (exit $ac_status); } >/dev
/null
&& {
8757 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8758 test ! -s conftest.err
8760 ac_header_preproc
=yes
8762 echo "$as_me: failed program was:" >&5
8763 sed 's/^/| /' conftest.
$ac_ext >&5
8765 ac_header_preproc
=no
8768 rm -f conftest.err conftest.
$ac_ext
8769 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8770 echo "${ECHO_T}$ac_header_preproc" >&6; }
8772 # So? What about this header?
8773 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8775 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8776 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8778 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8779 ac_header_preproc
=yes
8782 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8783 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8784 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8785 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8786 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8787 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8788 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8789 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8791 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8792 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8793 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8795 ## ------------------------------------ ##
8796 ## Report this to wine-devel@winehq.org ##
8797 ## ------------------------------------ ##
8799 ) |
sed "s/^/$as_me: WARNING: /" >&2
8802 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8804 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8805 echo $ECHO_N "(cached) $ECHO_C" >&6
8807 eval "$as_ac_Header=\$ac_header_preproc"
8809 ac_res
=`eval echo '${'$as_ac_Header'}'`
8810 { echo "$as_me:$LINENO: result: $ac_res" >&5
8811 echo "${ECHO_T}$ac_res" >&6; }
8814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8815 cat >>confdefs.h
<<_ACEOF
8816 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8819 for ac_header
in audio
/soundlib.h
8821 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8822 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8824 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8825 echo $ECHO_N "(cached) $ECHO_C" >&6
8827 cat >conftest.
$ac_ext <<_ACEOF
8830 cat confdefs.h
>>conftest.
$ac_ext
8831 cat >>conftest.
$ac_ext <<_ACEOF
8832 /* end confdefs.h. */
8833 #include <audio/audiolib.h>
8835 #include <$ac_header>
8837 rm -f conftest.
$ac_objext
8838 if { (ac_try
="$ac_compile"
8840 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8841 *) ac_try_echo=$ac_try;;
8843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8844 (eval "$ac_compile") 2>conftest.er1
8846 grep -v '^ *+' conftest.er1 >conftest.err
8848 cat conftest.err >&5
8849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8850 (exit $ac_status); } && {
8851 test -z "$ac_c_werror_flag" ||
8852 test ! -s conftest.err
8853 } && test -s conftest.$ac_objext; then
8854 eval "$as_ac_Header=yes"
8856 echo "$as_me: failed program was:" >&5
8857 sed 's/^/| /' conftest.$ac_ext >&5
8859 eval "$as_ac_Header=no"
8862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8864 ac_res=`eval echo '${'$as_ac_Header'}'`
8865 { echo "$as_me:$LINENO: result: $ac_res" >&5
8866 echo "${ECHO_T}$ac_res" >&6; }
8867 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8868 cat >>confdefs.h <<_ACEOF
8869 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8876 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8877 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
8878 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8879 echo $ECHO_N "(cached) $ECHO_C" >&6
8881 ac_check_lib_save_LIBS=$LIBS
8882 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8883 cat >conftest.$ac_ext <<_ACEOF
8886 cat confdefs.h >>conftest.$ac_ext
8887 cat >>conftest.$ac_ext <<_ACEOF
8888 /* end confdefs.h. */
8890 /* Override any GCC internal prototype to avoid an error.
8891 Use char because int might match the return type of a GCC
8892 builtin and then its argument prototype would still apply. */
8896 char AuCreateFlow ();
8900 return AuCreateFlow ();
8905 rm -f conftest.$ac_objext conftest$ac_exeext
8906 if { (ac_try="$ac_link"
8908 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8909 *) ac_try_echo
=$ac_try;;
8911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8912 (eval "$ac_link") 2>conftest.er1
8914 grep -v '^ *+' conftest.er1
>conftest.err
8916 cat conftest.err
>&5
8917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8918 (exit $ac_status); } && {
8919 test -z "$ac_c_werror_flag" ||
8920 test ! -s conftest.err
8921 } && test -s conftest
$ac_exeext &&
8922 $as_test_x conftest
$ac_exeext; then
8923 ac_cv_lib_audio_AuCreateFlow
=yes
8925 echo "$as_me: failed program was:" >&5
8926 sed 's/^/| /' conftest.
$ac_ext >&5
8928 ac_cv_lib_audio_AuCreateFlow
=no
8931 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8932 conftest
$ac_exeext conftest.
$ac_ext
8933 LIBS
=$ac_check_lib_save_LIBS
8935 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8936 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
8937 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8939 cat >>confdefs.h
<<\_ACEOF
8943 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8951 CPPFLAGS
="$ac_save_CPPFLAGS"
8968 if test "$PKG_CONFIG" != "false"
8970 ac_save_CPPFLAGS
="$CPPFLAGS"
8971 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
8972 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
8973 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
8975 for ac_header
in libxml
/parser.h
8977 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8978 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8979 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8980 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8981 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8982 echo $ECHO_N "(cached) $ECHO_C" >&6
8984 ac_res
=`eval echo '${'$as_ac_Header'}'`
8985 { echo "$as_me:$LINENO: result: $ac_res" >&5
8986 echo "${ECHO_T}$ac_res" >&6; }
8988 # Is the header compilable?
8989 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8990 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8991 cat >conftest.
$ac_ext <<_ACEOF
8994 cat confdefs.h
>>conftest.
$ac_ext
8995 cat >>conftest.
$ac_ext <<_ACEOF
8996 /* end confdefs.h. */
8997 $ac_includes_default
8998 #include <$ac_header>
9000 rm -f conftest.
$ac_objext
9001 if { (ac_try
="$ac_compile"
9003 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9004 *) ac_try_echo=$ac_try;;
9006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9007 (eval "$ac_compile") 2>conftest.er1
9009 grep -v '^ *+' conftest.er1 >conftest.err
9011 cat conftest.err >&5
9012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9013 (exit $ac_status); } && {
9014 test -z "$ac_c_werror_flag" ||
9015 test ! -s conftest.err
9016 } && test -s conftest.$ac_objext; then
9017 ac_header_compiler=yes
9019 echo "$as_me: failed program was:" >&5
9020 sed 's/^/| /' conftest.$ac_ext >&5
9022 ac_header_compiler=no
9025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9026 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9027 echo "${ECHO_T}$ac_header_compiler" >&6; }
9029 # Is the header present?
9030 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9031 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9032 cat >conftest.$ac_ext <<_ACEOF
9035 cat confdefs.h >>conftest.$ac_ext
9036 cat >>conftest.$ac_ext <<_ACEOF
9037 /* end confdefs.h. */
9038 #include <$ac_header>
9040 if { (ac_try="$ac_cpp conftest.$ac_ext"
9042 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9043 *) ac_try_echo
=$ac_try;;
9045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9046 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9048 grep -v '^ *+' conftest.er1
>conftest.err
9050 cat conftest.err
>&5
9051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9052 (exit $ac_status); } >/dev
/null
&& {
9053 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9054 test ! -s conftest.err
9056 ac_header_preproc
=yes
9058 echo "$as_me: failed program was:" >&5
9059 sed 's/^/| /' conftest.
$ac_ext >&5
9061 ac_header_preproc
=no
9064 rm -f conftest.err conftest.
$ac_ext
9065 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9066 echo "${ECHO_T}$ac_header_preproc" >&6; }
9068 # So? What about this header?
9069 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9071 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9072 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9073 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9074 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9075 ac_header_preproc
=yes
9078 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9079 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9080 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9081 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9082 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9083 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9084 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9085 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9086 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9087 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9088 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9089 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9091 ## ------------------------------------ ##
9092 ## Report this to wine-devel@winehq.org ##
9093 ## ------------------------------------ ##
9095 ) |
sed "s/^/$as_me: WARNING: /" >&2
9098 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9099 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9100 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9101 echo $ECHO_N "(cached) $ECHO_C" >&6
9103 eval "$as_ac_Header=\$ac_header_preproc"
9105 ac_res
=`eval echo '${'$as_ac_Header'}'`
9106 { echo "$as_me:$LINENO: result: $ac_res" >&5
9107 echo "${ECHO_T}$ac_res" >&6; }
9110 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9111 cat >>confdefs.h
<<_ACEOF
9112 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9114 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
9115 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
9116 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
9117 echo $ECHO_N "(cached) $ECHO_C" >&6
9119 ac_check_lib_save_LIBS
=$LIBS
9120 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9121 cat >conftest.
$ac_ext <<_ACEOF
9124 cat confdefs.h
>>conftest.
$ac_ext
9125 cat >>conftest.
$ac_ext <<_ACEOF
9126 /* end confdefs.h. */
9128 /* Override any GCC internal prototype to avoid an error.
9129 Use char because int might match the return type of a GCC
9130 builtin and then its argument prototype would still apply. */
9134 char xmlParseMemory ();
9138 return xmlParseMemory ();
9143 rm -f conftest.
$ac_objext conftest
$ac_exeext
9144 if { (ac_try
="$ac_link"
9146 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9147 *) ac_try_echo=$ac_try;;
9149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9150 (eval "$ac_link") 2>conftest.er1
9152 grep -v '^ *+' conftest.er1 >conftest.err
9154 cat conftest.err >&5
9155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9156 (exit $ac_status); } && {
9157 test -z "$ac_c_werror_flag" ||
9158 test ! -s conftest.err
9159 } && test -s conftest$ac_exeext &&
9160 $as_test_x conftest$ac_exeext; then
9161 ac_cv_lib_xml2_xmlParseMemory=yes
9163 echo "$as_me: failed program was:" >&5
9164 sed 's/^/| /' conftest.$ac_ext >&5
9166 ac_cv_lib_xml2_xmlParseMemory=no
9169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9170 conftest$ac_exeext conftest.$ac_ext
9171 LIBS=$ac_check_lib_save_LIBS
9173 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9174 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9175 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
9177 cat >>confdefs.h <<\_ACEOF
9178 #define HAVE_LIBXML2 1
9181 XML2LIBS="$ac_xml_libs"
9182 XML2INCL="$ac_xml_cflags"
9185 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
9186 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
9187 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
9188 echo $ECHO_N "(cached) $ECHO_C" >&6
9190 ac_check_lib_save_LIBS=$LIBS
9191 LIBS="-lxml2 $ac_xml_libs $LIBS"
9192 cat >conftest.$ac_ext <<_ACEOF
9195 cat confdefs.h >>conftest.$ac_ext
9196 cat >>conftest.$ac_ext <<_ACEOF
9197 /* end confdefs.h. */
9199 /* Override any GCC internal prototype to avoid an error.
9200 Use char because int might match the return type of a GCC
9201 builtin and then its argument prototype would still apply. */
9205 char xmlReadMemory ();
9209 return xmlReadMemory ();
9214 rm -f conftest.$ac_objext conftest$ac_exeext
9215 if { (ac_try="$ac_link"
9217 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9218 *) ac_try_echo
=$ac_try;;
9220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9221 (eval "$ac_link") 2>conftest.er1
9223 grep -v '^ *+' conftest.er1
>conftest.err
9225 cat conftest.err
>&5
9226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9227 (exit $ac_status); } && {
9228 test -z "$ac_c_werror_flag" ||
9229 test ! -s conftest.err
9230 } && test -s conftest
$ac_exeext &&
9231 $as_test_x conftest
$ac_exeext; then
9232 ac_cv_lib_xml2_xmlReadMemory
=yes
9234 echo "$as_me: failed program was:" >&5
9235 sed 's/^/| /' conftest.
$ac_ext >&5
9237 ac_cv_lib_xml2_xmlReadMemory
=no
9240 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9241 conftest
$ac_exeext conftest.
$ac_ext
9242 LIBS
=$ac_check_lib_save_LIBS
9244 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9245 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9246 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
9248 cat >>confdefs.h
<<\_ACEOF
9249 #define HAVE_XMLREADMEMORY 1
9254 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
9255 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
9256 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
9257 echo $ECHO_N "(cached) $ECHO_C" >&6
9259 ac_check_lib_save_LIBS
=$LIBS
9260 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9261 cat >conftest.
$ac_ext <<_ACEOF
9264 cat confdefs.h
>>conftest.
$ac_ext
9265 cat >>conftest.
$ac_ext <<_ACEOF
9266 /* end confdefs.h. */
9268 /* Override any GCC internal prototype to avoid an error.
9269 Use char because int might match the return type of a GCC
9270 builtin and then its argument prototype would still apply. */
9274 char xmlNewDocPI ();
9278 return xmlNewDocPI ();
9283 rm -f conftest.
$ac_objext conftest
$ac_exeext
9284 if { (ac_try
="$ac_link"
9286 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9287 *) ac_try_echo=$ac_try;;
9289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9290 (eval "$ac_link") 2>conftest.er1
9292 grep -v '^ *+' conftest.er1 >conftest.err
9294 cat conftest.err >&5
9295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9296 (exit $ac_status); } && {
9297 test -z "$ac_c_werror_flag" ||
9298 test ! -s conftest.err
9299 } && test -s conftest$ac_exeext &&
9300 $as_test_x conftest$ac_exeext; then
9301 ac_cv_lib_xml2_xmlNewDocPI=yes
9303 echo "$as_me: failed program was:" >&5
9304 sed 's/^/| /' conftest.$ac_ext >&5
9306 ac_cv_lib_xml2_xmlNewDocPI=no
9309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9310 conftest$ac_exeext conftest.$ac_ext
9311 LIBS=$ac_check_lib_save_LIBS
9313 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9314 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9315 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
9317 cat >>confdefs.h <<\_ACEOF
9318 #define HAVE_XMLNEWDOCPI 1
9328 CPPFLAGS="$ac_save_CPPFLAGS"
9329 ac_xslt_libs="`$PKG_CONFIG --libs libxslt
2>/dev
/null
`"
9330 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt
2>/dev
/null
`"
9331 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9334 for ac_header in libxslt/pattern.h libxslt/transform.h
9336 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9337 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9339 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9340 echo $ECHO_N "(cached) $ECHO_C" >&6
9342 cat >conftest.$ac_ext <<_ACEOF
9345 cat confdefs.h >>conftest.$ac_ext
9346 cat >>conftest.$ac_ext <<_ACEOF
9347 /* end confdefs.h. */
9348 #ifdef HAVE_LIBXSLT_PATTERN_H
9349 # include <libxslt/pattern.h>
9352 #include <$ac_header>
9354 rm -f conftest.$ac_objext
9355 if { (ac_try="$ac_compile"
9357 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9358 *) ac_try_echo
=$ac_try;;
9360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9361 (eval "$ac_compile") 2>conftest.er1
9363 grep -v '^ *+' conftest.er1
>conftest.err
9365 cat conftest.err
>&5
9366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9367 (exit $ac_status); } && {
9368 test -z "$ac_c_werror_flag" ||
9369 test ! -s conftest.err
9370 } && test -s conftest.
$ac_objext; then
9371 eval "$as_ac_Header=yes"
9373 echo "$as_me: failed program was:" >&5
9374 sed 's/^/| /' conftest.
$ac_ext >&5
9376 eval "$as_ac_Header=no"
9379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9381 ac_res
=`eval echo '${'$as_ac_Header'}'`
9382 { echo "$as_me:$LINENO: result: $ac_res" >&5
9383 echo "${ECHO_T}$ac_res" >&6; }
9384 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9385 cat >>confdefs.h
<<_ACEOF
9386 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9388 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
9389 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
9390 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
9391 echo $ECHO_N "(cached) $ECHO_C" >&6
9393 ac_check_lib_save_LIBS
=$LIBS
9394 LIBS
="-lxslt $ac_xslt_libs $LIBS"
9395 cat >conftest.
$ac_ext <<_ACEOF
9398 cat confdefs.h
>>conftest.
$ac_ext
9399 cat >>conftest.
$ac_ext <<_ACEOF
9400 /* end confdefs.h. */
9402 /* Override any GCC internal prototype to avoid an error.
9403 Use char because int might match the return type of a GCC
9404 builtin and then its argument prototype would still apply. */
9408 char xsltCompilePattern ();
9412 return xsltCompilePattern ();
9417 rm -f conftest.
$ac_objext conftest
$ac_exeext
9418 if { (ac_try
="$ac_link"
9420 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9421 *) ac_try_echo=$ac_try;;
9423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9424 (eval "$ac_link") 2>conftest.er1
9426 grep -v '^ *+' conftest.er1 >conftest.err
9428 cat conftest.err >&5
9429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9430 (exit $ac_status); } && {
9431 test -z "$ac_c_werror_flag" ||
9432 test ! -s conftest.err
9433 } && test -s conftest$ac_exeext &&
9434 $as_test_x conftest$ac_exeext; then
9435 ac_cv_lib_xslt_xsltCompilePattern=yes
9437 echo "$as_me: failed program was:" >&5
9438 sed 's/^/| /' conftest.$ac_ext >&5
9440 ac_cv_lib_xslt_xsltCompilePattern=no
9443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9444 conftest$ac_exeext conftest.$ac_ext
9445 LIBS=$ac_check_lib_save_LIBS
9447 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
9448 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
9449 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
9451 cat >>confdefs.h <<\_ACEOF
9452 #define HAVE_LIBXSLT 1
9455 XSLTLIBS="$ac_xslt_libs"
9456 XSLTINCL="$ac_xslt_cflags"
9464 CPPFLAGS="$ac_save_CPPFLAGS"
9469 if test "$PKG_CONFIG" != "false"
9471 ac_save_CPPFLAGS="$CPPFLAGS"
9472 ac_hal_libs="`$PKG_CONFIG --libs hal
2>/dev
/null
`"
9473 ac_hal_cflags="`$PKG_CONFIG --cflags hal
2>/dev
/null
`"
9474 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9477 for ac_header in dbus/dbus.h hal/libhal.h
9479 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9480 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9481 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9483 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9484 echo $ECHO_N "(cached) $ECHO_C" >&6
9486 ac_res=`eval echo '${'$as_ac_Header'}'`
9487 { echo "$as_me:$LINENO: result: $ac_res" >&5
9488 echo "${ECHO_T}$ac_res" >&6; }
9490 # Is the header compilable?
9491 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9492 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9493 cat >conftest.$ac_ext <<_ACEOF
9496 cat confdefs.h >>conftest.$ac_ext
9497 cat >>conftest.$ac_ext <<_ACEOF
9498 /* end confdefs.h. */
9499 $ac_includes_default
9500 #include <$ac_header>
9502 rm -f conftest.$ac_objext
9503 if { (ac_try="$ac_compile"
9505 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9506 *) ac_try_echo
=$ac_try;;
9508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9509 (eval "$ac_compile") 2>conftest.er1
9511 grep -v '^ *+' conftest.er1
>conftest.err
9513 cat conftest.err
>&5
9514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9515 (exit $ac_status); } && {
9516 test -z "$ac_c_werror_flag" ||
9517 test ! -s conftest.err
9518 } && test -s conftest.
$ac_objext; then
9519 ac_header_compiler
=yes
9521 echo "$as_me: failed program was:" >&5
9522 sed 's/^/| /' conftest.
$ac_ext >&5
9524 ac_header_compiler
=no
9527 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9528 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9529 echo "${ECHO_T}$ac_header_compiler" >&6; }
9531 # Is the header present?
9532 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9533 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9534 cat >conftest.
$ac_ext <<_ACEOF
9537 cat confdefs.h
>>conftest.
$ac_ext
9538 cat >>conftest.
$ac_ext <<_ACEOF
9539 /* end confdefs.h. */
9540 #include <$ac_header>
9542 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9545 *) ac_try_echo=$ac_try;;
9547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9548 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9550 grep -v '^ *+' conftest.er1 >conftest.err
9552 cat conftest.err >&5
9553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9554 (exit $ac_status); } >/dev/null && {
9555 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9556 test ! -s conftest.err
9558 ac_header_preproc=yes
9560 echo "$as_me: failed program was:" >&5
9561 sed 's/^/| /' conftest.$ac_ext >&5
9563 ac_header_preproc=no
9566 rm -f conftest.err conftest.$ac_ext
9567 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9568 echo "${ECHO_T}$ac_header_preproc" >&6; }
9570 # So? What about this header?
9571 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9573 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9574 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9575 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9576 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9577 ac_header_preproc=yes
9580 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9581 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9582 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9583 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9584 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9585 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9586 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9587 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9589 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9590 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9591 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9593 ## ------------------------------------ ##
9594 ## Report this to wine-devel@winehq.org ##
9595 ## ------------------------------------ ##
9597 ) | sed "s/^/$as_me: WARNING: /" >&2
9600 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9602 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9603 echo $ECHO_N "(cached) $ECHO_C" >&6
9605 eval "$as_ac_Header=\$ac_header_preproc"
9607 ac_res=`eval echo '${'$as_ac_Header'}'`
9608 { echo "$as_me:$LINENO: result: $ac_res" >&5
9609 echo "${ECHO_T}$ac_res" >&6; }
9612 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9613 cat >>confdefs.h <<_ACEOF
9614 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9621 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9623 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
9624 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
9625 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
9626 echo $ECHO_N "(cached) $ECHO_C" >&6
9628 ac_check_lib_save_LIBS=$LIBS
9630 cat >conftest.$ac_ext <<_ACEOF
9633 cat confdefs.h >>conftest.$ac_ext
9634 cat >>conftest.$ac_ext <<_ACEOF
9635 /* end confdefs.h. */
9637 /* Override any GCC internal prototype to avoid an error.
9638 Use char because int might match the return type of a GCC
9639 builtin and then its argument prototype would still apply. */
9643 char libhal_ctx_new ();
9647 return libhal_ctx_new ();
9652 rm -f conftest.$ac_objext conftest$ac_exeext
9653 if { (ac_try="$ac_link"
9655 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9656 *) ac_try_echo
=$ac_try;;
9658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9659 (eval "$ac_link") 2>conftest.er1
9661 grep -v '^ *+' conftest.er1
>conftest.err
9663 cat conftest.err
>&5
9664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9665 (exit $ac_status); } && {
9666 test -z "$ac_c_werror_flag" ||
9667 test ! -s conftest.err
9668 } && test -s conftest
$ac_exeext &&
9669 $as_test_x conftest
$ac_exeext; then
9670 ac_cv_lib_hal_libhal_ctx_new
=yes
9672 echo "$as_me: failed program was:" >&5
9673 sed 's/^/| /' conftest.
$ac_ext >&5
9675 ac_cv_lib_hal_libhal_ctx_new
=no
9678 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9679 conftest
$ac_exeext conftest.
$ac_ext
9680 LIBS
=$ac_check_lib_save_LIBS
9682 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
9683 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
9684 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
9685 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
9686 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
9687 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
9688 echo $ECHO_N "(cached) $ECHO_C" >&6
9690 ac_check_lib_save_LIBS
=$LIBS
9691 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
9692 cat >conftest.
$ac_ext <<_ACEOF
9695 cat confdefs.h
>>conftest.
$ac_ext
9696 cat >>conftest.
$ac_ext <<_ACEOF
9697 /* end confdefs.h. */
9699 /* Override any GCC internal prototype to avoid an error.
9700 Use char because int might match the return type of a GCC
9701 builtin and then its argument prototype would still apply. */
9705 char dbus_connection_close ();
9709 return dbus_connection_close ();
9714 rm -f conftest.
$ac_objext conftest
$ac_exeext
9715 if { (ac_try
="$ac_link"
9717 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9718 *) ac_try_echo=$ac_try;;
9720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9721 (eval "$ac_link") 2>conftest.er1
9723 grep -v '^ *+' conftest.er1 >conftest.err
9725 cat conftest.err >&5
9726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9727 (exit $ac_status); } && {
9728 test -z "$ac_c_werror_flag" ||
9729 test ! -s conftest.err
9730 } && test -s conftest$ac_exeext &&
9731 $as_test_x conftest$ac_exeext; then
9732 ac_cv_lib_dbus_1_dbus_connection_close=yes
9734 echo "$as_me: failed program was:" >&5
9735 sed 's/^/| /' conftest.$ac_ext >&5
9737 ac_cv_lib_dbus_1_dbus_connection_close=no
9740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9741 conftest$ac_exeext conftest.$ac_ext
9742 LIBS=$ac_check_lib_save_LIBS
9744 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9745 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9746 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
9748 cat >>confdefs.h <<\_ACEOF
9749 #define HAVE_LIBHAL 1
9752 HALINCL="$ac_hal_cflags"
9758 CPPFLAGS="$ac_save_CPPFLAGS"
9762 if test "$ac_cv_header_ncurses_h" = "yes"
9764 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9765 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
9766 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9767 echo $ECHO_N "(cached) $ECHO_C" >&6
9769 ac_check_lib_save_LIBS=$LIBS
9770 LIBS="-lncurses $LIBS"
9771 cat >conftest.$ac_ext <<_ACEOF
9774 cat confdefs.h >>conftest.$ac_ext
9775 cat >>conftest.$ac_ext <<_ACEOF
9776 /* end confdefs.h. */
9778 /* Override any GCC internal prototype to avoid an error.
9779 Use char because int might match the return type of a GCC
9780 builtin and then its argument prototype would still apply. */
9793 rm -f conftest.$ac_objext conftest$ac_exeext
9794 if { (ac_try="$ac_link"
9796 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9797 *) ac_try_echo
=$ac_try;;
9799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9800 (eval "$ac_link") 2>conftest.er1
9802 grep -v '^ *+' conftest.er1
>conftest.err
9804 cat conftest.err
>&5
9805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9806 (exit $ac_status); } && {
9807 test -z "$ac_c_werror_flag" ||
9808 test ! -s conftest.err
9809 } && test -s conftest
$ac_exeext &&
9810 $as_test_x conftest
$ac_exeext; then
9811 ac_cv_lib_ncurses_waddch
=yes
9813 echo "$as_me: failed program was:" >&5
9814 sed 's/^/| /' conftest.
$ac_ext >&5
9816 ac_cv_lib_ncurses_waddch
=no
9819 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9820 conftest
$ac_exeext conftest.
$ac_ext
9821 LIBS
=$ac_check_lib_save_LIBS
9823 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9824 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
9825 if test $ac_cv_lib_ncurses_waddch = yes; then
9826 CURSESLIBS
="-lncurses"
9829 elif test "$ac_cv_header_curses_h" = "yes"
9831 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9832 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
9833 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9834 echo $ECHO_N "(cached) $ECHO_C" >&6
9836 ac_check_lib_save_LIBS
=$LIBS
9837 LIBS
="-lcurses $LIBS"
9838 cat >conftest.
$ac_ext <<_ACEOF
9841 cat confdefs.h
>>conftest.
$ac_ext
9842 cat >>conftest.
$ac_ext <<_ACEOF
9843 /* end confdefs.h. */
9845 /* Override any GCC internal prototype to avoid an error.
9846 Use char because int might match the return type of a GCC
9847 builtin and then its argument prototype would still apply. */
9860 rm -f conftest.
$ac_objext conftest
$ac_exeext
9861 if { (ac_try
="$ac_link"
9863 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9864 *) ac_try_echo=$ac_try;;
9866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9867 (eval "$ac_link") 2>conftest.er1
9869 grep -v '^ *+' conftest.er1 >conftest.err
9871 cat conftest.err >&5
9872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9873 (exit $ac_status); } && {
9874 test -z "$ac_c_werror_flag" ||
9875 test ! -s conftest.err
9876 } && test -s conftest$ac_exeext &&
9877 $as_test_x conftest$ac_exeext; then
9878 ac_cv_lib_curses_waddch=yes
9880 echo "$as_me: failed program was:" >&5
9881 sed 's/^/| /' conftest.$ac_ext >&5
9883 ac_cv_lib_curses_waddch=no
9886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9887 conftest$ac_exeext conftest.$ac_ext
9888 LIBS=$ac_check_lib_save_LIBS
9890 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9891 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
9892 if test $ac_cv_lib_curses_waddch = yes; then
9893 CURSESLIBS="-lcurses"
9897 ac_save_LIBS="$LIBS"
9898 LIBS="$LIBS $CURSESLIBS"
9900 for ac_func in mousemask
9902 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
9903 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9905 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9906 echo $ECHO_N "(cached) $ECHO_C" >&6
9908 cat >conftest.$ac_ext <<_ACEOF
9911 cat confdefs.h >>conftest.$ac_ext
9912 cat >>conftest.$ac_ext <<_ACEOF
9913 /* end confdefs.h. */
9914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9916 #define $ac_func innocuous_$ac_func
9918 /* System header to define __stub macros and hopefully few prototypes,
9919 which can conflict with char $ac_func (); below.
9920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9921 <limits.h> exists even on freestanding compilers. */
9924 # include <limits.h>
9926 # include <assert.h>
9931 /* Override any GCC internal prototype to avoid an error.
9932 Use char because int might match the return type of a GCC
9933 builtin and then its argument prototype would still apply. */
9938 /* The GNU C library defines this for functions which it implements
9939 to always fail with ENOSYS. Some functions are actually named
9940 something starting with __ and the normal name is an alias. */
9941 #if defined __stub_$ac_func || defined __stub___$ac_func
9953 rm -f conftest.$ac_objext conftest$ac_exeext
9954 if { (ac_try="$ac_link"
9956 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9957 *) ac_try_echo
=$ac_try;;
9959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9960 (eval "$ac_link") 2>conftest.er1
9962 grep -v '^ *+' conftest.er1
>conftest.err
9964 cat conftest.err
>&5
9965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9966 (exit $ac_status); } && {
9967 test -z "$ac_c_werror_flag" ||
9968 test ! -s conftest.err
9969 } && test -s conftest
$ac_exeext &&
9970 $as_test_x conftest
$ac_exeext; then
9971 eval "$as_ac_var=yes"
9973 echo "$as_me: failed program was:" >&5
9974 sed 's/^/| /' conftest.
$ac_ext >&5
9976 eval "$as_ac_var=no"
9979 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9980 conftest
$ac_exeext conftest.
$ac_ext
9982 ac_res
=`eval echo '${'$as_ac_var'}'`
9983 { echo "$as_me:$LINENO: result: $ac_res" >&5
9984 echo "${ECHO_T}$ac_res" >&6; }
9985 if test `eval echo '${'$as_ac_var'}'` = yes; then
9986 cat >>confdefs.h
<<_ACEOF
9987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9993 LIBS
="$ac_save_LIBS"
9995 # Extract the first word of "sane-config", so it can be a program name with args.
9996 set dummy sane-config
; ac_word
=$2
9997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9999 if test "${ac_cv_prog_sane_devel+set}" = set; then
10000 echo $ECHO_N "(cached) $ECHO_C" >&6
10002 if test -n "$sane_devel"; then
10003 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
10005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10006 for as_dir
in $PATH
10009 test -z "$as_dir" && as_dir
=.
10010 for ac_exec_ext
in '' $ac_executable_extensions; do
10011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10012 ac_cv_prog_sane_devel
="sane-config"
10013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10020 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
10023 sane_devel
=$ac_cv_prog_sane_devel
10024 if test -n "$sane_devel"; then
10025 { echo "$as_me:$LINENO: result: $sane_devel" >&5
10026 echo "${ECHO_T}$sane_devel" >&6; }
10028 { echo "$as_me:$LINENO: result: no" >&5
10029 echo "${ECHO_T}no" >&6; }
10037 if test "$sane_devel" != "no"
10039 SANELIBS
="`$sane_devel --libs`"
10040 SANEINCL
="`$sane_devel --cflags`"
10041 ac_save_CPPFLAGS
="$CPPFLAGS"
10042 ac_save_LIBS
="$LIBS"
10043 CPPFLAGS
="$CPPFLAGS $SANEINCL"
10044 LIBS
="$LIBS $SANELIBS"
10045 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10046 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10047 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10048 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10049 echo $ECHO_N "(cached) $ECHO_C" >&6
10051 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10052 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10054 # Is the header compilable?
10055 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
10056 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
10057 cat >conftest.
$ac_ext <<_ACEOF
10060 cat confdefs.h
>>conftest.
$ac_ext
10061 cat >>conftest.
$ac_ext <<_ACEOF
10062 /* end confdefs.h. */
10063 $ac_includes_default
10064 #include <sane/sane.h>
10066 rm -f conftest.
$ac_objext
10067 if { (ac_try
="$ac_compile"
10068 case "(($ac_try" in
10069 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10070 *) ac_try_echo=$ac_try;;
10072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10073 (eval "$ac_compile") 2>conftest.er1
10075 grep -v '^ *+' conftest.er1 >conftest.err
10077 cat conftest.err >&5
10078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10079 (exit $ac_status); } && {
10080 test -z "$ac_c_werror_flag" ||
10081 test ! -s conftest.err
10082 } && test -s conftest.$ac_objext; then
10083 ac_header_compiler=yes
10085 echo "$as_me: failed program was:" >&5
10086 sed 's/^/| /' conftest.$ac_ext >&5
10088 ac_header_compiler=no
10091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10092 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10093 echo "${ECHO_T}$ac_header_compiler" >&6; }
10095 # Is the header present?
10096 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
10097 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
10098 cat >conftest.$ac_ext <<_ACEOF
10101 cat confdefs.h >>conftest.$ac_ext
10102 cat >>conftest.$ac_ext <<_ACEOF
10103 /* end confdefs.h. */
10104 #include <sane/sane.h>
10106 if { (ac_try="$ac_cpp conftest.$ac_ext"
10107 case "(($ac_try" in
10108 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10109 *) ac_try_echo
=$ac_try;;
10111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10112 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10114 grep -v '^ *+' conftest.er1
>conftest.err
10116 cat conftest.err
>&5
10117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10118 (exit $ac_status); } >/dev
/null
&& {
10119 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10120 test ! -s conftest.err
10122 ac_header_preproc
=yes
10124 echo "$as_me: failed program was:" >&5
10125 sed 's/^/| /' conftest.
$ac_ext >&5
10127 ac_header_preproc
=no
10130 rm -f conftest.err conftest.
$ac_ext
10131 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10132 echo "${ECHO_T}$ac_header_preproc" >&6; }
10134 # So? What about this header?
10135 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10137 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10138 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10139 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10140 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10141 ac_header_preproc
=yes
10144 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10145 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10146 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10147 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10148 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10149 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10150 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10151 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10152 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10153 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10154 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10155 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10157 ## ------------------------------------ ##
10158 ## Report this to wine-devel@winehq.org ##
10159 ## ------------------------------------ ##
10161 ) |
sed "s/^/$as_me: WARNING: /" >&2
10164 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10165 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10166 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10167 echo $ECHO_N "(cached) $ECHO_C" >&6
10169 ac_cv_header_sane_sane_h
=$ac_header_preproc
10171 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10172 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10175 if test $ac_cv_header_sane_sane_h = yes; then
10176 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
10177 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
10178 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
10179 echo $ECHO_N "(cached) $ECHO_C" >&6
10181 ac_check_lib_save_LIBS
=$LIBS
10182 LIBS
="-lsane $LIBS"
10183 cat >conftest.
$ac_ext <<_ACEOF
10186 cat confdefs.h
>>conftest.
$ac_ext
10187 cat >>conftest.
$ac_ext <<_ACEOF
10188 /* end confdefs.h. */
10190 /* Override any GCC internal prototype to avoid an error.
10191 Use char because int might match the return type of a GCC
10192 builtin and then its argument prototype would still apply. */
10200 return sane_open ();
10205 rm -f conftest.
$ac_objext conftest
$ac_exeext
10206 if { (ac_try
="$ac_link"
10207 case "(($ac_try" in
10208 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10209 *) ac_try_echo=$ac_try;;
10211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10212 (eval "$ac_link") 2>conftest.er1
10214 grep -v '^ *+' conftest.er1 >conftest.err
10216 cat conftest.err >&5
10217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10218 (exit $ac_status); } && {
10219 test -z "$ac_c_werror_flag" ||
10220 test ! -s conftest.err
10221 } && test -s conftest$ac_exeext &&
10222 $as_test_x conftest$ac_exeext; then
10223 ac_cv_lib_sane_sane_open=yes
10225 echo "$as_me: failed program was:" >&5
10226 sed 's/^/| /' conftest.$ac_ext >&5
10228 ac_cv_lib_sane_sane_open=no
10231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10232 conftest$ac_exeext conftest.$ac_ext
10233 LIBS=$ac_check_lib_save_LIBS
10235 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
10236 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
10237 if test $ac_cv_lib_sane_sane_open = yes; then
10239 cat >>confdefs.h <<\_ACEOF
10240 #define HAVE_SANE 1
10254 LIBS="$ac_save_LIBS"
10255 CPPFLAGS="$ac_save_CPPFLAGS"
10258 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10259 set dummy gphoto2-config; ac_word=$2
10260 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10262 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
10263 echo $ECHO_N "(cached) $ECHO_C" >&6
10265 if test -n "$gphoto2_devel"; then
10266 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10269 for as_dir in $PATH
10272 test -z "$as_dir" && as_dir=.
10273 for ac_exec_ext in '' $ac_executable_extensions; do
10274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10275 ac_cv_prog_gphoto2_devel="gphoto2-config"
10276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10283 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10286 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10287 if test -n "$gphoto2_devel"; then
10288 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10289 echo "${ECHO_T}$gphoto2_devel" >&6; }
10291 { echo "$as_me:$LINENO: result: no" >&5
10292 echo "${ECHO_T}no" >&6; }
10296 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10297 set dummy gphoto2-port-config; ac_word=$2
10298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10300 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
10301 echo $ECHO_N "(cached) $ECHO_C" >&6
10303 if test -n "$gphoto2port_devel"; then
10304 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10307 for as_dir in $PATH
10310 test -z "$as_dir" && as_dir=.
10311 for ac_exec_ext in '' $ac_executable_extensions; do
10312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10313 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10321 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10324 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10325 if test -n "$gphoto2port_devel"; then
10326 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
10327 echo "${ECHO_T}$gphoto2port_devel" >&6; }
10329 { echo "$as_me:$LINENO: result: no" >&5
10330 echo "${ECHO_T}no" >&6; }
10338 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10340 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10342 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10345 -L/usr/lib|-L/usr/lib64) ;;
10346 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
10349 ac_save_CPPFLAGS="$CPPFLAGS"
10350 ac_save_LIBS="$LIBS"
10351 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
10352 LIBS="$LIBS $GPHOTO2LIBS"
10353 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10354 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10355 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10356 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10357 echo $ECHO_N "(cached) $ECHO_C" >&6
10359 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10360 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10362 # Is the header compilable?
10363 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
10364 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
10365 cat >conftest.$ac_ext <<_ACEOF
10368 cat confdefs.h >>conftest.$ac_ext
10369 cat >>conftest.$ac_ext <<_ACEOF
10370 /* end confdefs.h. */
10371 $ac_includes_default
10372 #include <gphoto2-camera.h>
10374 rm -f conftest.$ac_objext
10375 if { (ac_try="$ac_compile"
10376 case "(($ac_try" in
10377 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10378 *) ac_try_echo
=$ac_try;;
10380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10381 (eval "$ac_compile") 2>conftest.er1
10383 grep -v '^ *+' conftest.er1
>conftest.err
10385 cat conftest.err
>&5
10386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10387 (exit $ac_status); } && {
10388 test -z "$ac_c_werror_flag" ||
10389 test ! -s conftest.err
10390 } && test -s conftest.
$ac_objext; then
10391 ac_header_compiler
=yes
10393 echo "$as_me: failed program was:" >&5
10394 sed 's/^/| /' conftest.
$ac_ext >&5
10396 ac_header_compiler
=no
10399 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10400 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10401 echo "${ECHO_T}$ac_header_compiler" >&6; }
10403 # Is the header present?
10404 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
10405 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
10406 cat >conftest.
$ac_ext <<_ACEOF
10409 cat confdefs.h
>>conftest.
$ac_ext
10410 cat >>conftest.
$ac_ext <<_ACEOF
10411 /* end confdefs.h. */
10412 #include <gphoto2-camera.h>
10414 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10415 case "(($ac_try" in
10416 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10417 *) ac_try_echo=$ac_try;;
10419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10420 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10422 grep -v '^ *+' conftest.er1 >conftest.err
10424 cat conftest.err >&5
10425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10426 (exit $ac_status); } >/dev/null && {
10427 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10428 test ! -s conftest.err
10430 ac_header_preproc=yes
10432 echo "$as_me: failed program was:" >&5
10433 sed 's/^/| /' conftest.$ac_ext >&5
10435 ac_header_preproc=no
10438 rm -f conftest.err conftest.$ac_ext
10439 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10440 echo "${ECHO_T}$ac_header_preproc" >&6; }
10442 # So? What about this header?
10443 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10445 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
10446 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10447 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
10448 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
10449 ac_header_preproc=yes
10452 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
10453 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
10454 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
10455 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
10456 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
10457 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
10458 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
10459 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
10460 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
10461 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
10462 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
10463 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
10465 ## ------------------------------------ ##
10466 ## Report this to wine-devel@winehq.org ##
10467 ## ------------------------------------ ##
10469 ) | sed "s/^/$as_me: WARNING: /" >&2
10472 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10473 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10474 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10475 echo $ECHO_N "(cached) $ECHO_C" >&6
10477 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
10479 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10480 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10483 if test $ac_cv_header_gphoto2_camera_h = yes; then
10484 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
10485 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
10486 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
10487 echo $ECHO_N "(cached) $ECHO_C" >&6
10489 ac_check_lib_save_LIBS=$LIBS
10490 LIBS="-lgphoto2 $LIBS"
10491 cat >conftest.$ac_ext <<_ACEOF
10494 cat confdefs.h >>conftest.$ac_ext
10495 cat >>conftest.$ac_ext <<_ACEOF
10496 /* end confdefs.h. */
10498 /* Override any GCC internal prototype to avoid an error.
10499 Use char because int might match the return type of a GCC
10500 builtin and then its argument prototype would still apply. */
10504 char gp_camera_new ();
10508 return gp_camera_new ();
10513 rm -f conftest.$ac_objext conftest$ac_exeext
10514 if { (ac_try="$ac_link"
10515 case "(($ac_try" in
10516 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10517 *) ac_try_echo
=$ac_try;;
10519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10520 (eval "$ac_link") 2>conftest.er1
10522 grep -v '^ *+' conftest.er1
>conftest.err
10524 cat conftest.err
>&5
10525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10526 (exit $ac_status); } && {
10527 test -z "$ac_c_werror_flag" ||
10528 test ! -s conftest.err
10529 } && test -s conftest
$ac_exeext &&
10530 $as_test_x conftest
$ac_exeext; then
10531 ac_cv_lib_gphoto2_gp_camera_new
=yes
10533 echo "$as_me: failed program was:" >&5
10534 sed 's/^/| /' conftest.
$ac_ext >&5
10536 ac_cv_lib_gphoto2_gp_camera_new
=no
10539 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10540 conftest
$ac_exeext conftest.
$ac_ext
10541 LIBS
=$ac_check_lib_save_LIBS
10543 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10544 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10545 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
10547 cat >>confdefs.h
<<\_ACEOF
10548 #define HAVE_GPHOTO2 1
10562 LIBS
="$ac_save_LIBS"
10563 CPPFLAGS
="$ac_save_CPPFLAGS"
10566 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10569 for i
in ${ICU_LIB_DIR-/usr/lib}/libsicu
${ICU_LIB_DIR-/usr/lib}/libicu
10571 TEST_ICUUC_LIB
="${ICUUC_LIB-${i}uc.a}"
10572 TEST_ICUDATA_LIB
="${ICUDATA_LIB-${i}data.a}"
10573 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
10574 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
10575 LIBS
="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10576 cat >conftest.
$ac_ext <<_ACEOF
10579 cat confdefs.h
>>conftest.
$ac_ext
10580 cat >>conftest.
$ac_ext <<_ACEOF
10581 /* end confdefs.h. */
10582 #include <unicode/ubidi.h>
10591 rm -f conftest.
$ac_objext conftest
$ac_exeext
10592 if { (ac_try
="$ac_link"
10593 case "(($ac_try" in
10594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10595 *) ac_try_echo=$ac_try;;
10597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10598 (eval "$ac_link") 2>conftest.er1
10600 grep -v '^ *+' conftest.er1 >conftest.err
10602 cat conftest.err >&5
10603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10604 (exit $ac_status); } && {
10605 test -z "$ac_c_werror_flag" ||
10606 test ! -s conftest.err
10607 } && test -s conftest$ac_exeext &&
10608 $as_test_x conftest$ac_exeext; then
10610 cat >>confdefs.h <<\_ACEOF
10614 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10616 { echo "$as_me:$LINENO: result: yes" >&5
10617 echo "${ECHO_T}yes" >&6; }
10619 echo "$as_me: failed program was:" >&5
10620 sed 's/^/| /' conftest.$ac_ext >&5
10622 { echo "$as_me:$LINENO: result: no" >&5
10623 echo "${ECHO_T}no" >&6; }
10626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10627 conftest$ac_exeext conftest.$ac_ext
10634 if test "$ac_cv_header_resolv_h" = "yes"
10636 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
10637 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
10638 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
10639 echo $ECHO_N "(cached) $ECHO_C" >&6
10641 ac_check_lib_save_LIBS=$LIBS
10642 LIBS="-lresolv $LIBS"
10643 cat >conftest.$ac_ext <<_ACEOF
10646 cat confdefs.h >>conftest.$ac_ext
10647 cat >>conftest.$ac_ext <<_ACEOF
10648 /* end confdefs.h. */
10650 /* Override any GCC internal prototype to avoid an error.
10651 Use char because int might match the return type of a GCC
10652 builtin and then its argument prototype would still apply. */
10660 return res_query ();
10665 rm -f conftest.$ac_objext conftest$ac_exeext
10666 if { (ac_try="$ac_link"
10667 case "(($ac_try" in
10668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10669 *) ac_try_echo
=$ac_try;;
10671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10672 (eval "$ac_link") 2>conftest.er1
10674 grep -v '^ *+' conftest.er1
>conftest.err
10676 cat conftest.err
>&5
10677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10678 (exit $ac_status); } && {
10679 test -z "$ac_c_werror_flag" ||
10680 test ! -s conftest.err
10681 } && test -s conftest
$ac_exeext &&
10682 $as_test_x conftest
$ac_exeext; then
10683 ac_cv_lib_resolv_res_query
=yes
10685 echo "$as_me: failed program was:" >&5
10686 sed 's/^/| /' conftest.
$ac_ext >&5
10688 ac_cv_lib_resolv_res_query
=no
10691 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10692 conftest
$ac_exeext conftest.
$ac_ext
10693 LIBS
=$ac_check_lib_save_LIBS
10695 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
10696 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
10697 if test $ac_cv_lib_resolv_res_query = yes; then
10699 cat >>confdefs.h
<<\_ACEOF
10700 #define HAVE_RESOLV 1
10703 RESOLVLIBS
="-lresolv"
10710 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10712 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
10713 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
10714 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
10715 echo $ECHO_N "(cached) $ECHO_C" >&6
10717 ac_check_lib_save_LIBS
=$LIBS
10718 LIBS
="-llcms $LIBS"
10719 cat >conftest.
$ac_ext <<_ACEOF
10722 cat confdefs.h
>>conftest.
$ac_ext
10723 cat >>conftest.
$ac_ext <<_ACEOF
10724 /* end confdefs.h. */
10726 /* Override any GCC internal prototype to avoid an error.
10727 Use char because int might match the return type of a GCC
10728 builtin and then its argument prototype would still apply. */
10732 char cmsOpenProfileFromFile ();
10736 return cmsOpenProfileFromFile ();
10741 rm -f conftest.
$ac_objext conftest
$ac_exeext
10742 if { (ac_try
="$ac_link"
10743 case "(($ac_try" in
10744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10745 *) ac_try_echo=$ac_try;;
10747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10748 (eval "$ac_link") 2>conftest.er1
10750 grep -v '^ *+' conftest.er1 >conftest.err
10752 cat conftest.err >&5
10753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10754 (exit $ac_status); } && {
10755 test -z "$ac_c_werror_flag" ||
10756 test ! -s conftest.err
10757 } && test -s conftest$ac_exeext &&
10758 $as_test_x conftest$ac_exeext; then
10759 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10761 echo "$as_me: failed program was:" >&5
10762 sed 's/^/| /' conftest.$ac_ext >&5
10764 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10768 conftest$ac_exeext conftest.$ac_ext
10769 LIBS=$ac_check_lib_save_LIBS
10771 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10772 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10773 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
10775 cat >>confdefs.h <<\_ACEOF
10776 #define HAVE_LCMS 1
10786 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
10788 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
10789 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
10790 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
10791 echo $ECHO_N "(cached) $ECHO_C" >&6
10793 ac_check_lib_save_LIBS=$LIBS
10794 LIBS="-lldap_r $LIBPTHREAD $LIBS"
10795 cat >conftest.$ac_ext <<_ACEOF
10798 cat confdefs.h >>conftest.$ac_ext
10799 cat >>conftest.$ac_ext <<_ACEOF
10800 /* end confdefs.h. */
10802 /* Override any GCC internal prototype to avoid an error.
10803 Use char because int might match the return type of a GCC
10804 builtin and then its argument prototype would still apply. */
10808 char ldap_initialize ();
10812 return ldap_initialize ();
10817 rm -f conftest.$ac_objext conftest$ac_exeext
10818 if { (ac_try="$ac_link"
10819 case "(($ac_try" in
10820 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10821 *) ac_try_echo
=$ac_try;;
10823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10824 (eval "$ac_link") 2>conftest.er1
10826 grep -v '^ *+' conftest.er1
>conftest.err
10828 cat conftest.err
>&5
10829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10830 (exit $ac_status); } && {
10831 test -z "$ac_c_werror_flag" ||
10832 test ! -s conftest.err
10833 } && test -s conftest
$ac_exeext &&
10834 $as_test_x conftest
$ac_exeext; then
10835 ac_cv_lib_ldap_r_ldap_initialize
=yes
10837 echo "$as_me: failed program was:" >&5
10838 sed 's/^/| /' conftest.
$ac_ext >&5
10840 ac_cv_lib_ldap_r_ldap_initialize
=no
10843 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10844 conftest
$ac_exeext conftest.
$ac_ext
10845 LIBS
=$ac_check_lib_save_LIBS
10847 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
10848 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
10849 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
10850 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
10851 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
10852 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
10853 echo $ECHO_N "(cached) $ECHO_C" >&6
10855 ac_check_lib_save_LIBS
=$LIBS
10856 LIBS
="-llber $LIBPTHREAD $LIBS"
10857 cat >conftest.
$ac_ext <<_ACEOF
10860 cat confdefs.h
>>conftest.
$ac_ext
10861 cat >>conftest.
$ac_ext <<_ACEOF
10862 /* end confdefs.h. */
10864 /* Override any GCC internal prototype to avoid an error.
10865 Use char because int might match the return type of a GCC
10866 builtin and then its argument prototype would still apply. */
10874 return ber_init ();
10879 rm -f conftest.
$ac_objext conftest
$ac_exeext
10880 if { (ac_try
="$ac_link"
10881 case "(($ac_try" in
10882 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10883 *) ac_try_echo=$ac_try;;
10885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10886 (eval "$ac_link") 2>conftest.er1
10888 grep -v '^ *+' conftest.er1 >conftest.err
10890 cat conftest.err >&5
10891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10892 (exit $ac_status); } && {
10893 test -z "$ac_c_werror_flag" ||
10894 test ! -s conftest.err
10895 } && test -s conftest$ac_exeext &&
10896 $as_test_x conftest$ac_exeext; then
10897 ac_cv_lib_lber_ber_init=yes
10899 echo "$as_me: failed program was:" >&5
10900 sed 's/^/| /' conftest.$ac_ext >&5
10902 ac_cv_lib_lber_ber_init=no
10905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10906 conftest$ac_exeext conftest.$ac_ext
10907 LIBS=$ac_check_lib_save_LIBS
10909 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
10910 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
10911 if test $ac_cv_lib_lber_ber_init = yes; then
10913 cat >>confdefs.h <<\_ACEOF
10914 #define HAVE_LDAP 1
10917 LDAPLIBS="-lldap_r -llber"
10922 ac_wine_check_funcs_save_LIBS="$LIBS"
10923 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
10929 ldap_count_references \
10930 ldap_first_reference \
10931 ldap_next_reference \
10932 ldap_parse_reference
10934 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
10935 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10937 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10938 echo $ECHO_N "(cached) $ECHO_C" >&6
10940 cat >conftest.$ac_ext <<_ACEOF
10943 cat confdefs.h >>conftest.$ac_ext
10944 cat >>conftest.$ac_ext <<_ACEOF
10945 /* end confdefs.h. */
10946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10948 #define $ac_func innocuous_$ac_func
10950 /* System header to define __stub macros and hopefully few prototypes,
10951 which can conflict with char $ac_func (); below.
10952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10953 <limits.h> exists even on freestanding compilers. */
10956 # include <limits.h>
10958 # include <assert.h>
10963 /* Override any GCC internal prototype to avoid an error.
10964 Use char because int might match the return type of a GCC
10965 builtin and then its argument prototype would still apply. */
10970 /* The GNU C library defines this for functions which it implements
10971 to always fail with ENOSYS. Some functions are actually named
10972 something starting with __ and the normal name is an alias. */
10973 #if defined __stub_$ac_func || defined __stub___$ac_func
10980 return $ac_func ();
10985 rm -f conftest.$ac_objext conftest$ac_exeext
10986 if { (ac_try="$ac_link"
10987 case "(($ac_try" in
10988 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10989 *) ac_try_echo
=$ac_try;;
10991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10992 (eval "$ac_link") 2>conftest.er1
10994 grep -v '^ *+' conftest.er1
>conftest.err
10996 cat conftest.err
>&5
10997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10998 (exit $ac_status); } && {
10999 test -z "$ac_c_werror_flag" ||
11000 test ! -s conftest.err
11001 } && test -s conftest
$ac_exeext &&
11002 $as_test_x conftest
$ac_exeext; then
11003 eval "$as_ac_var=yes"
11005 echo "$as_me: failed program was:" >&5
11006 sed 's/^/| /' conftest.
$ac_ext >&5
11008 eval "$as_ac_var=no"
11011 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11012 conftest
$ac_exeext conftest.
$ac_ext
11014 ac_res
=`eval echo '${'$as_ac_var'}'`
11015 { echo "$as_me:$LINENO: result: $ac_res" >&5
11016 echo "${ECHO_T}$ac_res" >&6; }
11017 if test `eval echo '${'$as_ac_var'}'` = yes; then
11018 cat >>confdefs.h
<<_ACEOF
11019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11025 LIBS
="$ac_wine_check_funcs_save_LIBS"
11032 # Extract the first word of "freetype-config", so it can be a program name with args.
11033 set dummy freetype-config
; ac_word
=$2
11034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11036 if test "${ac_cv_prog_ft_devel+set}" = set; then
11037 echo $ECHO_N "(cached) $ECHO_C" >&6
11039 if test -n "$ft_devel"; then
11040 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
11042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11043 for as_dir
in $PATH
11046 test -z "$as_dir" && as_dir
=.
11047 for ac_exec_ext
in '' $ac_executable_extensions; do
11048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11049 ac_cv_prog_ft_devel
="freetype-config"
11050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11057 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
11060 ft_devel
=$ac_cv_prog_ft_devel
11061 if test -n "$ft_devel"; then
11062 { echo "$as_me:$LINENO: result: $ft_devel" >&5
11063 echo "${ECHO_T}$ft_devel" >&6; }
11065 { echo "$as_me:$LINENO: result: no" >&5
11066 echo "${ECHO_T}no" >&6; }
11070 if test "$ft_devel" = "no"
11072 # Extract the first word of "freetype2-config", so it can be a program name with args.
11073 set dummy freetype2-config
; ac_word
=$2
11074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11076 if test "${ac_cv_prog_ft_devel2+set}" = set; then
11077 echo $ECHO_N "(cached) $ECHO_C" >&6
11079 if test -n "$ft_devel2"; then
11080 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
11082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11083 for as_dir
in $PATH
11086 test -z "$as_dir" && as_dir
=.
11087 for ac_exec_ext
in '' $ac_executable_extensions; do
11088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11089 ac_cv_prog_ft_devel2
="freetype2-config"
11090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11097 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
11100 ft_devel2
=$ac_cv_prog_ft_devel2
11101 if test -n "$ft_devel2"; then
11102 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
11103 echo "${ECHO_T}$ft_devel2" >&6; }
11105 { echo "$as_me:$LINENO: result: no" >&5
11106 echo "${ECHO_T}no" >&6; }
11110 if test "$ft_devel2" = "freetype2-config"
11112 ft_devel
=$ft_devel2
11116 if test "$ft_devel" = "no"
11118 wine_cv_msg_freetype
=yes
11120 FREETYPELIBS
=`$ft_devel --libs`
11121 FREETYPEINCL
=`$ft_devel --cflags`
11122 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
11123 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
11124 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
11125 echo $ECHO_N "(cached) $ECHO_C" >&6
11127 ac_check_lib_save_LIBS
=$LIBS
11128 LIBS
="-lfreetype $FREETYPELIBS $LIBS"
11129 cat >conftest.
$ac_ext <<_ACEOF
11132 cat confdefs.h
>>conftest.
$ac_ext
11133 cat >>conftest.
$ac_ext <<_ACEOF
11134 /* end confdefs.h. */
11136 /* Override any GCC internal prototype to avoid an error.
11137 Use char because int might match the return type of a GCC
11138 builtin and then its argument prototype would still apply. */
11142 char FT_Init_FreeType ();
11146 return FT_Init_FreeType ();
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 ac_cv_lib_freetype_FT_Init_FreeType=yes
11171 echo "$as_me: failed program was:" >&5
11172 sed 's/^/| /' conftest.$ac_ext >&5
11174 ac_cv_lib_freetype_FT_Init_FreeType=no
11177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11178 conftest$ac_exeext conftest.$ac_ext
11179 LIBS=$ac_check_lib_save_LIBS
11181 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
11182 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
11183 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
11189 if test "$ft_lib" = "no"
11191 wine_cv_msg_freetype=yes
11195 ac_save_CPPFLAGS="$CPPFLAGS"
11196 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
11208 for ac_header in ft2build.h \
11209 freetype/freetype.h \
11210 freetype/ftglyph.h \
11211 freetype/tttables.h \
11212 freetype/ftnames.h \
11213 freetype/ftsnames.h \
11214 freetype/ttnameid.h \
11215 freetype/ftoutln.h \
11216 freetype/ftwinfnt.h \
11217 freetype/ftmodapi.h \
11218 freetype/internal/sfnt.h
11220 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11221 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11223 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11224 echo $ECHO_N "(cached) $ECHO_C" >&6
11226 cat >conftest.$ac_ext <<_ACEOF
11229 cat confdefs.h >>conftest.$ac_ext
11230 cat >>conftest.$ac_ext <<_ACEOF
11231 /* end confdefs.h. */
11232 #if HAVE_FT2BUILD_H
11233 #include <ft2build.h>
11236 #include <$ac_header>
11238 rm -f conftest.$ac_objext
11239 if { (ac_try="$ac_compile"
11240 case "(($ac_try" in
11241 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11242 *) ac_try_echo
=$ac_try;;
11244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11245 (eval "$ac_compile") 2>conftest.er1
11247 grep -v '^ *+' conftest.er1
>conftest.err
11249 cat conftest.err
>&5
11250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11251 (exit $ac_status); } && {
11252 test -z "$ac_c_werror_flag" ||
11253 test ! -s conftest.err
11254 } && test -s conftest.
$ac_objext; then
11255 eval "$as_ac_Header=yes"
11257 echo "$as_me: failed program was:" >&5
11258 sed 's/^/| /' conftest.
$ac_ext >&5
11260 eval "$as_ac_Header=no"
11263 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11265 ac_res
=`eval echo '${'$as_ac_Header'}'`
11266 { echo "$as_me:$LINENO: result: $ac_res" >&5
11267 echo "${ECHO_T}$ac_res" >&6; }
11268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11269 cat >>confdefs.h
<<_ACEOF
11270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11277 cat >conftest.
$ac_ext <<_ACEOF
11280 cat confdefs.h
>>conftest.
$ac_ext
11281 cat >>conftest.
$ac_ext <<_ACEOF
11282 /* end confdefs.h. */
11283 #include <ft2build.h>
11284 #include <freetype/fttrigon.h>
11286 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11287 case "(($ac_try" in
11288 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11289 *) ac_try_echo=$ac_try;;
11291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11292 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11294 grep -v '^ *+' conftest.er1 >conftest.err
11296 cat conftest.err >&5
11297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11298 (exit $ac_status); } >/dev/null && {
11299 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11300 test ! -s conftest.err
11303 cat >>confdefs.h <<\_ACEOF
11304 #define HAVE_FREETYPE_FTTRIGON_H 1
11307 wine_cv_fttrigon=yes
11309 echo "$as_me: failed program was:" >&5
11310 sed 's/^/| /' conftest.$ac_ext >&5
11312 wine_cv_fttrigon=no
11315 rm -f conftest.err conftest.$ac_ext
11316 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
11317 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
11318 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
11319 echo $ECHO_N "(cached) $ECHO_C" >&6
11321 cat >conftest.$ac_ext <<_ACEOF
11324 cat confdefs.h >>conftest.$ac_ext
11325 cat >>conftest.$ac_ext <<_ACEOF
11326 /* end confdefs.h. */
11327 #include <freetype/ftmodapi.h>
11329 typedef FT_TrueTypeEngineType ac__type_new_;
11333 if ((ac__type_new_ *) 0)
11335 if (sizeof (ac__type_new_))
11341 rm -f conftest.$ac_objext
11342 if { (ac_try="$ac_compile"
11343 case "(($ac_try" in
11344 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11345 *) ac_try_echo
=$ac_try;;
11347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11348 (eval "$ac_compile") 2>conftest.er1
11350 grep -v '^ *+' conftest.er1
>conftest.err
11352 cat conftest.err
>&5
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); } && {
11355 test -z "$ac_c_werror_flag" ||
11356 test ! -s conftest.err
11357 } && test -s conftest.
$ac_objext; then
11358 ac_cv_type_FT_TrueTypeEngineType
=yes
11360 echo "$as_me: failed program was:" >&5
11361 sed 's/^/| /' conftest.
$ac_ext >&5
11363 ac_cv_type_FT_TrueTypeEngineType
=no
11366 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11368 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
11369 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
11370 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
11372 cat >>confdefs.h
<<_ACEOF
11373 #define HAVE_FT_TRUETYPEENGINETYPE 1
11379 ac_save_CFLAGS
="$CFLAGS"
11380 CFLAGS
="$CFLAGS $FREETYPELIBS"
11382 for ac_func
in FT_Load_Sfnt_Table
11384 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11385 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11387 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11388 echo $ECHO_N "(cached) $ECHO_C" >&6
11390 cat >conftest.
$ac_ext <<_ACEOF
11393 cat confdefs.h
>>conftest.
$ac_ext
11394 cat >>conftest.
$ac_ext <<_ACEOF
11395 /* end confdefs.h. */
11396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11398 #define $ac_func innocuous_$ac_func
11400 /* System header to define __stub macros and hopefully few prototypes,
11401 which can conflict with char $ac_func (); below.
11402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11403 <limits.h> exists even on freestanding compilers. */
11406 # include <limits.h>
11408 # include <assert.h>
11413 /* Override any GCC internal prototype to avoid an error.
11414 Use char because int might match the return type of a GCC
11415 builtin and then its argument prototype would still apply. */
11420 /* The GNU C library defines this for functions which it implements
11421 to always fail with ENOSYS. Some functions are actually named
11422 something starting with __ and the normal name is an alias. */
11423 #if defined __stub_$ac_func || defined __stub___$ac_func
11430 return $ac_func ();
11435 rm -f conftest.
$ac_objext conftest
$ac_exeext
11436 if { (ac_try
="$ac_link"
11437 case "(($ac_try" in
11438 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11439 *) ac_try_echo=$ac_try;;
11441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11442 (eval "$ac_link") 2>conftest.er1
11444 grep -v '^ *+' conftest.er1 >conftest.err
11446 cat conftest.err >&5
11447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11448 (exit $ac_status); } && {
11449 test -z "$ac_c_werror_flag" ||
11450 test ! -s conftest.err
11451 } && test -s conftest$ac_exeext &&
11452 $as_test_x conftest$ac_exeext; then
11453 eval "$as_ac_var=yes"
11455 echo "$as_me: failed program was:" >&5
11456 sed 's/^/| /' conftest.$ac_ext >&5
11458 eval "$as_ac_var=no"
11461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11462 conftest$ac_exeext conftest.$ac_ext
11464 ac_res=`eval echo '${'$as_ac_var'}'`
11465 { echo "$as_me:$LINENO: result: $ac_res" >&5
11466 echo "${ECHO_T}$ac_res" >&6; }
11467 if test `eval echo '${'$as_ac_var'}'` = yes; then
11468 cat >>confdefs.h <<_ACEOF
11469 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
11475 CFLAGS="$ac_save_CFLAGS"
11476 CPPFLAGS="$ac_save_CPPFLAGS"
11477 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11480 cat >>confdefs.h <<\_ACEOF
11481 #define HAVE_FREETYPE 1
11484 wine_cv_msg_freetype=no
11488 wine_cv_msg_freetype=yes
11493 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
11495 FONTSSUBDIRS="fonts"
11499 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
11500 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
11501 if test "${ac_cv_c_ppdev+set}" = set; then
11502 echo $ECHO_N "(cached) $ECHO_C" >&6
11504 cat >conftest.$ac_ext <<_ACEOF
11507 cat confdefs.h >>conftest.$ac_ext
11508 cat >>conftest.$ac_ext <<_ACEOF
11509 /* end confdefs.h. */
11510 #include <linux/ppdev.h>
11514 ioctl (1,PPCLAIM,0)
11519 rm -f conftest.$ac_objext
11520 if { (ac_try="$ac_compile"
11521 case "(($ac_try" in
11522 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11523 *) ac_try_echo
=$ac_try;;
11525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11526 (eval "$ac_compile") 2>conftest.er1
11528 grep -v '^ *+' conftest.er1
>conftest.err
11530 cat conftest.err
>&5
11531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11532 (exit $ac_status); } && {
11533 test -z "$ac_c_werror_flag" ||
11534 test ! -s conftest.err
11535 } && test -s conftest.
$ac_objext; then
11536 ac_cv_c_ppdev
="yes"
11538 echo "$as_me: failed program was:" >&5
11539 sed 's/^/| /' conftest.
$ac_ext >&5
11544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11547 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
11548 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
11549 if test "$ac_cv_c_ppdev" = "yes"
11552 cat >>confdefs.h
<<\_ACEOF
11553 #define HAVE_PPDEV 1
11558 { echo "$as_me:$LINENO: checking for va_copy" >&5
11559 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
11560 if test "${ac_cv_c_va_copy+set}" = set; then
11561 echo $ECHO_N "(cached) $ECHO_C" >&6
11563 cat >conftest.
$ac_ext <<_ACEOF
11566 cat confdefs.h
>>conftest.
$ac_ext
11567 cat >>conftest.
$ac_ext <<_ACEOF
11568 /* end confdefs.h. */
11569 #include <stdarg.h>
11580 rm -f conftest.
$ac_objext conftest
$ac_exeext
11581 if { (ac_try
="$ac_link"
11582 case "(($ac_try" in
11583 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11584 *) ac_try_echo=$ac_try;;
11586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11587 (eval "$ac_link") 2>conftest.er1
11589 grep -v '^ *+' conftest.er1 >conftest.err
11591 cat conftest.err >&5
11592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11593 (exit $ac_status); } && {
11594 test -z "$ac_c_werror_flag" ||
11595 test ! -s conftest.err
11596 } && test -s conftest$ac_exeext &&
11597 $as_test_x conftest$ac_exeext; then
11598 ac_cv_c_va_copy="yes"
11600 echo "$as_me: failed program was:" >&5
11601 sed 's/^/| /' conftest.$ac_ext >&5
11603 ac_cv_c_va_copy="no"
11606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11607 conftest$ac_exeext conftest.$ac_ext
11610 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
11611 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
11612 if test "$ac_cv_c_va_copy" = "yes"
11615 cat >>confdefs.h <<\_ACEOF
11616 #define HAVE_VA_COPY 1
11620 { echo "$as_me:$LINENO: checking for __va_copy" >&5
11621 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
11622 if test "${ac_cv_c___va_copy+set}" = set; then
11623 echo $ECHO_N "(cached) $ECHO_C" >&6
11625 cat >conftest.$ac_ext <<_ACEOF
11628 cat confdefs.h >>conftest.$ac_ext
11629 cat >>conftest.$ac_ext <<_ACEOF
11630 /* end confdefs.h. */
11631 #include <stdarg.h>
11636 __va_copy(ap1,ap2);
11642 rm -f conftest.$ac_objext conftest$ac_exeext
11643 if { (ac_try="$ac_link"
11644 case "(($ac_try" in
11645 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11646 *) ac_try_echo
=$ac_try;;
11648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11649 (eval "$ac_link") 2>conftest.er1
11651 grep -v '^ *+' conftest.er1
>conftest.err
11653 cat conftest.err
>&5
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); } && {
11656 test -z "$ac_c_werror_flag" ||
11657 test ! -s conftest.err
11658 } && test -s conftest
$ac_exeext &&
11659 $as_test_x conftest
$ac_exeext; then
11660 ac_cv_c___va_copy
="yes"
11662 echo "$as_me: failed program was:" >&5
11663 sed 's/^/| /' conftest.
$ac_ext >&5
11665 ac_cv_c___va_copy
="no"
11668 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11669 conftest
$ac_exeext conftest.
$ac_ext
11672 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
11673 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
11674 if test "$ac_cv_c___va_copy" = "yes"
11677 cat >>confdefs.h
<<\_ACEOF
11678 #define HAVE___VA_COPY 1
11683 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
11684 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
11685 if test "${ac_cv_c_sigsetjmp+set}" = set; then
11686 echo $ECHO_N "(cached) $ECHO_C" >&6
11688 cat >conftest.
$ac_ext <<_ACEOF
11691 cat confdefs.h
>>conftest.
$ac_ext
11692 cat >>conftest.
$ac_ext <<_ACEOF
11693 /* end confdefs.h. */
11694 #include <setjmp.h>
11699 sigsetjmp( buf, 1 );
11700 siglongjmp( buf, 1 );
11705 rm -f conftest.
$ac_objext conftest
$ac_exeext
11706 if { (ac_try
="$ac_link"
11707 case "(($ac_try" in
11708 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11709 *) ac_try_echo=$ac_try;;
11711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11712 (eval "$ac_link") 2>conftest.er1
11714 grep -v '^ *+' conftest.er1 >conftest.err
11716 cat conftest.err >&5
11717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11718 (exit $ac_status); } && {
11719 test -z "$ac_c_werror_flag" ||
11720 test ! -s conftest.err
11721 } && test -s conftest$ac_exeext &&
11722 $as_test_x conftest$ac_exeext; then
11723 ac_cv_c_sigsetjmp="yes"
11725 echo "$as_me: failed program was:" >&5
11726 sed 's/^/| /' conftest.$ac_ext >&5
11728 ac_cv_c_sigsetjmp="no"
11731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11732 conftest$ac_exeext conftest.$ac_ext
11735 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11736 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
11737 if test "$ac_cv_c_sigsetjmp" = "yes"
11740 cat >>confdefs.h <<\_ACEOF
11741 #define HAVE_SIGSETJMP 1
11746 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11747 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
11748 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11749 echo $ECHO_N "(cached) $ECHO_C" >&6
11751 cat >conftest.$ac_ext <<_ACEOF
11754 cat confdefs.h >>conftest.$ac_ext
11755 cat >>conftest.$ac_ext <<_ACEOF
11756 /* end confdefs.h. */
11757 #define _GNU_SOURCE
11758 #include <pthread.h>
11760 typedef pthread_rwlock_t ac__type_new_;
11764 if ((ac__type_new_ *) 0)
11766 if (sizeof (ac__type_new_))
11772 rm -f conftest.$ac_objext
11773 if { (ac_try="$ac_compile"
11774 case "(($ac_try" in
11775 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11776 *) ac_try_echo
=$ac_try;;
11778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11779 (eval "$ac_compile") 2>conftest.er1
11781 grep -v '^ *+' conftest.er1
>conftest.err
11783 cat conftest.err
>&5
11784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11785 (exit $ac_status); } && {
11786 test -z "$ac_c_werror_flag" ||
11787 test ! -s conftest.err
11788 } && test -s conftest.
$ac_objext; then
11789 ac_cv_type_pthread_rwlock_t
=yes
11791 echo "$as_me: failed program was:" >&5
11792 sed 's/^/| /' conftest.
$ac_ext >&5
11794 ac_cv_type_pthread_rwlock_t
=no
11797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11799 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11800 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
11801 if test $ac_cv_type_pthread_rwlock_t = yes; then
11803 cat >>confdefs.h
<<_ACEOF
11804 #define HAVE_PTHREAD_RWLOCK_T 1
11809 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11810 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
11811 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11812 echo $ECHO_N "(cached) $ECHO_C" >&6
11814 cat >conftest.
$ac_ext <<_ACEOF
11817 cat confdefs.h
>>conftest.
$ac_ext
11818 cat >>conftest.
$ac_ext <<_ACEOF
11819 /* end confdefs.h. */
11820 #define _GNU_SOURCE
11821 #include <pthread.h>
11823 typedef pthread_rwlockattr_t ac__type_new_;
11827 if ((ac__type_new_ *) 0)
11829 if (sizeof (ac__type_new_))
11835 rm -f conftest.
$ac_objext
11836 if { (ac_try
="$ac_compile"
11837 case "(($ac_try" in
11838 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11839 *) ac_try_echo=$ac_try;;
11841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11842 (eval "$ac_compile") 2>conftest.er1
11844 grep -v '^ *+' conftest.er1 >conftest.err
11846 cat conftest.err >&5
11847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11848 (exit $ac_status); } && {
11849 test -z "$ac_c_werror_flag" ||
11850 test ! -s conftest.err
11851 } && test -s conftest.$ac_objext; then
11852 ac_cv_type_pthread_rwlockattr_t=yes
11854 echo "$as_me: failed program was:" >&5
11855 sed 's/^/| /' conftest.$ac_ext >&5
11857 ac_cv_type_pthread_rwlockattr_t=no
11860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11862 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11863 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
11864 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11866 cat >>confdefs.h <<_ACEOF
11867 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11874 ac_wine_check_funcs_save_LIBS="$LIBS"
11875 LIBS="$LIBS $LIBPTHREAD"
11881 pthread_attr_get_np \
11882 pthread_getattr_np \
11883 pthread_get_stackaddr_np \
11884 pthread_get_stacksize_np
11886 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11887 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11889 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11890 echo $ECHO_N "(cached) $ECHO_C" >&6
11892 cat >conftest.$ac_ext <<_ACEOF
11895 cat confdefs.h >>conftest.$ac_ext
11896 cat >>conftest.$ac_ext <<_ACEOF
11897 /* end confdefs.h. */
11898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11900 #define $ac_func innocuous_$ac_func
11902 /* System header to define __stub macros and hopefully few prototypes,
11903 which can conflict with char $ac_func (); below.
11904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11905 <limits.h> exists even on freestanding compilers. */
11908 # include <limits.h>
11910 # include <assert.h>
11915 /* Override any GCC internal prototype to avoid an error.
11916 Use char because int might match the return type of a GCC
11917 builtin and then its argument prototype would still apply. */
11922 /* The GNU C library defines this for functions which it implements
11923 to always fail with ENOSYS. Some functions are actually named
11924 something starting with __ and the normal name is an alias. */
11925 #if defined __stub_$ac_func || defined __stub___$ac_func
11932 return $ac_func ();
11937 rm -f conftest.$ac_objext conftest$ac_exeext
11938 if { (ac_try="$ac_link"
11939 case "(($ac_try" in
11940 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11941 *) ac_try_echo
=$ac_try;;
11943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11944 (eval "$ac_link") 2>conftest.er1
11946 grep -v '^ *+' conftest.er1
>conftest.err
11948 cat conftest.err
>&5
11949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11950 (exit $ac_status); } && {
11951 test -z "$ac_c_werror_flag" ||
11952 test ! -s conftest.err
11953 } && test -s conftest
$ac_exeext &&
11954 $as_test_x conftest
$ac_exeext; then
11955 eval "$as_ac_var=yes"
11957 echo "$as_me: failed program was:" >&5
11958 sed 's/^/| /' conftest.
$ac_ext >&5
11960 eval "$as_ac_var=no"
11963 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11964 conftest
$ac_exeext conftest.
$ac_ext
11966 ac_res
=`eval echo '${'$as_ac_var'}'`
11967 { echo "$as_me:$LINENO: result: $ac_res" >&5
11968 echo "${ECHO_T}$ac_res" >&6; }
11969 if test `eval echo '${'$as_ac_var'}'` = yes; then
11970 cat >>confdefs.h
<<_ACEOF
11971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11977 LIBS
="$ac_wine_check_funcs_save_LIBS"
11979 # Extract the first word of "artsc-config", so it can be a program name with args.
11980 set dummy artsc-config
; ac_word
=$2
11981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11983 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11984 echo $ECHO_N "(cached) $ECHO_C" >&6
11986 case $ARTSCCONFIG in
11988 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
11991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11992 for as_dir
in $PATH
11995 test -z "$as_dir" && as_dir
=.
11996 for ac_exec_ext
in '' $ac_executable_extensions; do
11997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11998 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
11999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12009 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
12010 if test -n "$ARTSCCONFIG"; then
12011 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
12012 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
12014 { echo "$as_me:$LINENO: result: no" >&5
12015 echo "${ECHO_T}no" >&6; }
12019 if test x
$ARTSCCONFIG != x
-a x
$ARTSCCONFIG != x
'"$ARTSCCONFIG"';
12022 for i
in `$ARTSCCONFIG --cflags`
12025 -I*) ARTSC_CFLAGS
="$ARTSC_CFLAGS $i";;
12029 for i
in `$ARTSCCONFIG --libs`
12032 -L/usr
/lib|
-L/usr
/lib64
) ;;
12033 -L*|
-l*) ARTSC_LIBS
="$ARTSC_LIBS $i";;
12036 save_CFLAGS
="$CFLAGS"
12037 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
12038 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
12039 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
12040 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
12041 echo $ECHO_N "(cached) $ECHO_C" >&6
12043 ac_check_lib_save_LIBS
=$LIBS
12044 LIBS
="-lartsc $ARTSC_LIBS $LIBS"
12045 cat >conftest.
$ac_ext <<_ACEOF
12048 cat confdefs.h
>>conftest.
$ac_ext
12049 cat >>conftest.
$ac_ext <<_ACEOF
12050 /* end confdefs.h. */
12052 /* Override any GCC internal prototype to avoid an error.
12053 Use char because int might match the return type of a GCC
12054 builtin and then its argument prototype would still apply. */
12062 return arts_init ();
12067 rm -f conftest.
$ac_objext conftest
$ac_exeext
12068 if { (ac_try
="$ac_link"
12069 case "(($ac_try" in
12070 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12071 *) ac_try_echo=$ac_try;;
12073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12074 (eval "$ac_link") 2>conftest.er1
12076 grep -v '^ *+' conftest.er1 >conftest.err
12078 cat conftest.err >&5
12079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12080 (exit $ac_status); } && {
12081 test -z "$ac_c_werror_flag" ||
12082 test ! -s conftest.err
12083 } && test -s conftest$ac_exeext &&
12084 $as_test_x conftest$ac_exeext; then
12085 ac_cv_lib_artsc_arts_init=yes
12087 echo "$as_me: failed program was:" >&5
12088 sed 's/^/| /' conftest.$ac_ext >&5
12090 ac_cv_lib_artsc_arts_init=no
12093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12094 conftest$ac_exeext conftest.$ac_ext
12095 LIBS=$ac_check_lib_save_LIBS
12097 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
12098 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
12099 if test $ac_cv_lib_artsc_arts_init = yes; then
12100 cat >conftest.$ac_ext <<_ACEOF
12103 cat confdefs.h >>conftest.$ac_ext
12104 cat >>conftest.$ac_ext <<_ACEOF
12105 /* end confdefs.h. */
12110 arts_stream_t stream;
12115 rm -f conftest.$ac_objext
12116 if { (ac_try="$ac_compile"
12117 case "(($ac_try" in
12118 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12119 *) ac_try_echo
=$ac_try;;
12121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12122 (eval "$ac_compile") 2>conftest.er1
12124 grep -v '^ *+' conftest.er1
>conftest.err
12126 cat conftest.err
>&5
12127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12128 (exit $ac_status); } && {
12129 test -z "$ac_c_werror_flag" ||
12130 test ! -s conftest.err
12131 } && test -s conftest.
$ac_objext; then
12132 ARTSLIBS
=$ARTSC_LIBS
12134 ARTSINCL
=$ARTSC_CFLAGS
12137 cat >>confdefs.h
<<\_ACEOF
12138 #define HAVE_ARTS 1
12142 echo "$as_me: failed program was:" >&5
12143 sed 's/^/| /' conftest.
$ac_ext >&5
12148 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12151 CFLAGS
="$save_CFLAGS"
12154 # Extract the first word of "esd-config", so it can be a program name with args.
12155 set dummy esd-config
; ac_word
=$2
12156 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12158 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
12159 echo $ECHO_N "(cached) $ECHO_C" >&6
12163 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
12166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12167 for as_dir
in $PATH
12170 test -z "$as_dir" && as_dir
=.
12171 for ac_exec_ext
in '' $ac_executable_extensions; do
12172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12173 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
12174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12184 ESDCONFIG
=$ac_cv_path_ESDCONFIG
12185 if test -n "$ESDCONFIG"; then
12186 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
12187 echo "${ECHO_T}$ESDCONFIG" >&6; }
12189 { echo "$as_me:$LINENO: result: no" >&5
12190 echo "${ECHO_T}no" >&6; }
12194 if test x
$ESDCONFIG != x
-a x
$ESDCONFIG != x
'"$ESDCONFIG"';
12197 for i
in `$ESDCONFIG --cflags`
12200 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
12203 ESD_LIBS
=`$ESDCONFIG --libs`
12204 save_CFLAGS
="$CFLAGS"
12205 CFLAGS
="$CFLAGS $ESD_CFLAGS"
12206 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
12207 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
12208 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
12209 echo $ECHO_N "(cached) $ECHO_C" >&6
12211 ac_check_lib_save_LIBS
=$LIBS
12213 cat >conftest.
$ac_ext <<_ACEOF
12216 cat confdefs.h
>>conftest.
$ac_ext
12217 cat >>conftest.
$ac_ext <<_ACEOF
12218 /* end confdefs.h. */
12220 /* Override any GCC internal prototype to avoid an error.
12221 Use char because int might match the return type of a GCC
12222 builtin and then its argument prototype would still apply. */
12226 char esd_open_sound ();
12230 return esd_open_sound ();
12235 rm -f conftest.
$ac_objext conftest
$ac_exeext
12236 if { (ac_try
="$ac_link"
12237 case "(($ac_try" in
12238 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12239 *) ac_try_echo=$ac_try;;
12241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12242 (eval "$ac_link") 2>conftest.er1
12244 grep -v '^ *+' conftest.er1 >conftest.err
12246 cat conftest.err >&5
12247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12248 (exit $ac_status); } && {
12249 test -z "$ac_c_werror_flag" ||
12250 test ! -s conftest.err
12251 } && test -s conftest$ac_exeext &&
12252 $as_test_x conftest$ac_exeext; then
12253 ac_cv_lib_esd_esd_open_sound=yes
12255 echo "$as_me: failed program was:" >&5
12256 sed 's/^/| /' conftest.$ac_ext >&5
12258 ac_cv_lib_esd_esd_open_sound=no
12261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12262 conftest$ac_exeext conftest.$ac_ext
12263 LIBS=$ac_check_lib_save_LIBS
12265 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
12266 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
12267 if test $ac_cv_lib_esd_esd_open_sound = yes; then
12270 ESDINCL=$ESD_CFLAGS
12273 cat >>confdefs.h <<\_ACEOF
12279 CFLAGS="$save_CFLAGS"
12284 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12286 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
12287 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
12288 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
12289 echo $ECHO_N "(cached) $ECHO_C" >&6
12291 ac_check_lib_save_LIBS=$LIBS
12292 LIBS="-lasound $LIBS"
12293 cat >conftest.$ac_ext <<_ACEOF
12296 cat confdefs.h >>conftest.$ac_ext
12297 cat >>conftest.$ac_ext <<_ACEOF
12298 /* end confdefs.h. */
12300 /* Override any GCC internal prototype to avoid an error.
12301 Use char because int might match the return type of a GCC
12302 builtin and then its argument prototype would still apply. */
12306 char snd_pcm_hw_params_get_access ();
12310 return snd_pcm_hw_params_get_access ();
12315 rm -f conftest.$ac_objext conftest$ac_exeext
12316 if { (ac_try="$ac_link"
12317 case "(($ac_try" in
12318 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12319 *) ac_try_echo
=$ac_try;;
12321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12322 (eval "$ac_link") 2>conftest.er1
12324 grep -v '^ *+' conftest.er1
>conftest.err
12326 cat conftest.err
>&5
12327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328 (exit $ac_status); } && {
12329 test -z "$ac_c_werror_flag" ||
12330 test ! -s conftest.err
12331 } && test -s conftest
$ac_exeext &&
12332 $as_test_x conftest
$ac_exeext; then
12333 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
12335 echo "$as_me: failed program was:" >&5
12336 sed 's/^/| /' conftest.
$ac_ext >&5
12338 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
12341 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12342 conftest
$ac_exeext conftest.
$ac_ext
12343 LIBS
=$ac_check_lib_save_LIBS
12345 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
12346 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
12347 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
12348 cat >conftest.
$ac_ext <<_ACEOF
12351 cat confdefs.h
>>conftest.
$ac_ext
12352 cat >>conftest.
$ac_ext <<_ACEOF
12353 /* end confdefs.h. */
12354 #ifdef HAVE_ALSA_ASOUNDLIB_H
12355 #include <alsa/asoundlib.h>
12356 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12357 #include <sys/asoundlib.h>
12362 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
12367 rm -f conftest.
$ac_objext
12368 if { (ac_try
="$ac_compile"
12369 case "(($ac_try" in
12370 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12371 *) ac_try_echo=$ac_try;;
12373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12374 (eval "$ac_compile") 2>conftest.er1
12376 grep -v '^ *+' conftest.er1 >conftest.err
12378 cat conftest.err >&5
12379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12380 (exit $ac_status); } && {
12381 test -z "$ac_c_werror_flag" ||
12382 test ! -s conftest.err
12383 } && test -s conftest.$ac_objext; then
12385 cat >>confdefs.h <<\_ACEOF
12386 #define HAVE_ALSA 1
12389 ALSALIBS="-lasound"
12391 echo "$as_me: failed program was:" >&5
12392 sed 's/^/| /' conftest.$ac_ext >&5
12397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12405 if test "$ac_cv_header_libaudioio_h" = "yes"
12407 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12408 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
12409 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12410 echo $ECHO_N "(cached) $ECHO_C" >&6
12412 ac_check_lib_save_LIBS=$LIBS
12413 LIBS="-laudioio $LIBS"
12414 cat >conftest.$ac_ext <<_ACEOF
12417 cat confdefs.h >>conftest.$ac_ext
12418 cat >>conftest.$ac_ext <<_ACEOF
12419 /* end confdefs.h. */
12421 /* Override any GCC internal prototype to avoid an error.
12422 Use char because int might match the return type of a GCC
12423 builtin and then its argument prototype would still apply. */
12427 char AudioIOGetVersion ();
12431 return AudioIOGetVersion ();
12436 rm -f conftest.$ac_objext conftest$ac_exeext
12437 if { (ac_try="$ac_link"
12438 case "(($ac_try" in
12439 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12440 *) ac_try_echo
=$ac_try;;
12442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12443 (eval "$ac_link") 2>conftest.er1
12445 grep -v '^ *+' conftest.er1
>conftest.err
12447 cat conftest.err
>&5
12448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12449 (exit $ac_status); } && {
12450 test -z "$ac_c_werror_flag" ||
12451 test ! -s conftest.err
12452 } && test -s conftest
$ac_exeext &&
12453 $as_test_x conftest
$ac_exeext; then
12454 ac_cv_lib_audioio_AudioIOGetVersion
=yes
12456 echo "$as_me: failed program was:" >&5
12457 sed 's/^/| /' conftest.
$ac_ext >&5
12459 ac_cv_lib_audioio_AudioIOGetVersion
=no
12462 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12463 conftest
$ac_exeext conftest.
$ac_ext
12464 LIBS
=$ac_check_lib_save_LIBS
12466 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12467 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
12468 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12469 AUDIOIOLIBS
="-laudioio"
12471 cat >>confdefs.h
<<\_ACEOF
12472 #define HAVE_LIBAUDIOIO 1
12480 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12482 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12483 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
12484 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12485 echo $ECHO_N "(cached) $ECHO_C" >&6
12487 ac_check_lib_save_LIBS
=$LIBS
12488 LIBS
="-lcapi20 $LIBS"
12489 cat >conftest.
$ac_ext <<_ACEOF
12492 cat confdefs.h
>>conftest.
$ac_ext
12493 cat >>conftest.
$ac_ext <<_ACEOF
12494 /* end confdefs.h. */
12496 /* Override any GCC internal prototype to avoid an error.
12497 Use char because int might match the return type of a GCC
12498 builtin and then its argument prototype would still apply. */
12502 char capi20_register ();
12506 return capi20_register ();
12511 rm -f conftest.
$ac_objext conftest
$ac_exeext
12512 if { (ac_try
="$ac_link"
12513 case "(($ac_try" in
12514 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12515 *) ac_try_echo=$ac_try;;
12517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12518 (eval "$ac_link") 2>conftest.er1
12520 grep -v '^ *+' conftest.er1 >conftest.err
12522 cat conftest.err >&5
12523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12524 (exit $ac_status); } && {
12525 test -z "$ac_c_werror_flag" ||
12526 test ! -s conftest.err
12527 } && test -s conftest$ac_exeext &&
12528 $as_test_x conftest$ac_exeext; then
12529 ac_cv_lib_capi20_capi20_register=yes
12531 echo "$as_me: failed program was:" >&5
12532 sed 's/^/| /' conftest.$ac_ext >&5
12534 ac_cv_lib_capi20_capi20_register=no
12537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12538 conftest$ac_exeext conftest.$ac_ext
12539 LIBS=$ac_check_lib_save_LIBS
12541 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12542 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
12543 if test $ac_cv_lib_capi20_capi20_register = yes; then
12545 cat >>confdefs.h <<\_ACEOF
12546 #define HAVE_CAPI4LINUX 1
12556 if test "x${GCC}" = "xyes"
12558 EXTRACFLAGS="-Wall -pipe"
12560 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12561 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
12562 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12563 echo $ECHO_N "(cached) $ECHO_C" >&6
12565 if test "$cross_compiling" = yes; then
12566 ac_cv_c_gcc_strength_bug="yes"
12568 cat >conftest.$ac_ext <<_ACEOF
12571 cat confdefs.h >>conftest.$ac_ext
12572 cat >>conftest.$ac_ext <<_ACEOF
12573 /* end confdefs.h. */
12575 int L[4] = {0,1,2,3};
12577 static int Array[3];
12578 unsigned int B = 3;
12580 for(i=0; i<B; i++) Array[i] = i - 3;
12581 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12584 exit( Array[1] != -2 || L[2] != 3);
12587 rm -f conftest$ac_exeext
12588 if { (ac_try="$ac_link"
12589 case "(($ac_try" in
12590 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12591 *) ac_try_echo
=$ac_try;;
12593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12594 (eval "$ac_link") 2>&5
12596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12597 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12598 { (case "(($ac_try" in
12599 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12600 *) ac_try_echo=$ac_try;;
12602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12603 (eval "$ac_try") 2>&5
12605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12606 (exit $ac_status); }; }; then
12607 ac_cv_c_gcc_strength_bug="no"
12609 echo "$as_me: program exited with status $ac_status" >&5
12610 echo "$as_me: failed program was:" >&5
12611 sed 's/^/| /' conftest.$ac_ext >&5
12613 ( exit $ac_status )
12614 ac_cv_c_gcc_strength_bug="yes"
12616 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12621 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12622 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
12623 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12625 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12629 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
12630 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
12631 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
12632 echo $ECHO_N "(cached) $ECHO_C" >&6
12634 ac_wine_try_cflags_saved=$CFLAGS
12635 CFLAGS="$CFLAGS -fshort-wchar"
12636 cat >conftest.$ac_ext <<_ACEOF
12639 cat confdefs.h >>conftest.$ac_ext
12640 cat >>conftest.$ac_ext <<_ACEOF
12641 /* end confdefs.h. */
12651 rm -f conftest.$ac_objext conftest$ac_exeext
12652 if { (ac_try="$ac_link"
12653 case "(($ac_try" in
12654 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12655 *) ac_try_echo
=$ac_try;;
12657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12658 (eval "$ac_link") 2>conftest.er1
12660 grep -v '^ *+' conftest.er1
>conftest.err
12662 cat conftest.err
>&5
12663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12664 (exit $ac_status); } && {
12665 test -z "$ac_c_werror_flag" ||
12666 test ! -s conftest.err
12667 } && test -s conftest
$ac_exeext &&
12668 $as_test_x conftest
$ac_exeext; then
12669 ac_cv_cflags__fshort_wchar
=yes
12671 echo "$as_me: failed program was:" >&5
12672 sed 's/^/| /' conftest.
$ac_ext >&5
12674 ac_cv_cflags__fshort_wchar
=no
12677 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12678 conftest
$ac_exeext conftest.
$ac_ext
12679 CFLAGS
=$ac_wine_try_cflags_saved
12681 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
12682 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
12683 if test $ac_cv_cflags__fshort_wchar = yes; then
12685 cat >>confdefs.h
<<\_ACEOF
12686 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12691 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
12692 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
12693 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
12694 echo $ECHO_N "(cached) $ECHO_C" >&6
12696 ac_wine_try_cflags_saved
=$CFLAGS
12697 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12698 cat >conftest.
$ac_ext <<_ACEOF
12701 cat confdefs.h
>>conftest.
$ac_ext
12702 cat >>conftest.
$ac_ext <<_ACEOF
12703 /* end confdefs.h. */
12713 rm -f conftest.
$ac_objext conftest
$ac_exeext
12714 if { (ac_try
="$ac_link"
12715 case "(($ac_try" in
12716 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12717 *) ac_try_echo=$ac_try;;
12719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12720 (eval "$ac_link") 2>conftest.er1
12722 grep -v '^ *+' conftest.er1 >conftest.err
12724 cat conftest.err >&5
12725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12726 (exit $ac_status); } && {
12727 test -z "$ac_c_werror_flag" ||
12728 test ! -s conftest.err
12729 } && test -s conftest$ac_exeext &&
12730 $as_test_x conftest$ac_exeext; then
12731 ac_cv_cflags__fno_strict_aliasing=yes
12733 echo "$as_me: failed program was:" >&5
12734 sed 's/^/| /' conftest.$ac_ext >&5
12736 ac_cv_cflags__fno_strict_aliasing=no
12739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12740 conftest$ac_exeext conftest.$ac_ext
12741 CFLAGS=$ac_wine_try_cflags_saved
12743 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12744 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
12745 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
12746 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12749 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12750 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
12751 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
12752 echo $ECHO_N "(cached) $ECHO_C" >&6
12754 ac_wine_try_cflags_saved=$CFLAGS
12755 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12756 cat >conftest.$ac_ext <<_ACEOF
12759 cat confdefs.h >>conftest.$ac_ext
12760 cat >>conftest.$ac_ext <<_ACEOF
12761 /* end confdefs.h. */
12771 rm -f conftest.$ac_objext conftest$ac_exeext
12772 if { (ac_try="$ac_link"
12773 case "(($ac_try" in
12774 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12775 *) ac_try_echo
=$ac_try;;
12777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12778 (eval "$ac_link") 2>conftest.er1
12780 grep -v '^ *+' conftest.er1
>conftest.err
12782 cat conftest.err
>&5
12783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12784 (exit $ac_status); } && {
12785 test -z "$ac_c_werror_flag" ||
12786 test ! -s conftest.err
12787 } && test -s conftest
$ac_exeext &&
12788 $as_test_x conftest
$ac_exeext; then
12789 ac_cv_cflags__Wdeclaration_after_statement
=yes
12791 echo "$as_me: failed program was:" >&5
12792 sed 's/^/| /' conftest.
$ac_ext >&5
12794 ac_cv_cflags__Wdeclaration_after_statement
=no
12797 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12798 conftest
$ac_exeext conftest.
$ac_ext
12799 CFLAGS
=$ac_wine_try_cflags_saved
12801 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12802 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12803 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
12804 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
12807 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
12808 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
12809 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
12810 echo $ECHO_N "(cached) $ECHO_C" >&6
12812 ac_wine_try_cflags_saved
=$CFLAGS
12813 CFLAGS
="$CFLAGS -Wwrite-strings"
12814 cat >conftest.
$ac_ext <<_ACEOF
12817 cat confdefs.h
>>conftest.
$ac_ext
12818 cat >>conftest.
$ac_ext <<_ACEOF
12819 /* end confdefs.h. */
12829 rm -f conftest.
$ac_objext conftest
$ac_exeext
12830 if { (ac_try
="$ac_link"
12831 case "(($ac_try" in
12832 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12833 *) ac_try_echo=$ac_try;;
12835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12836 (eval "$ac_link") 2>conftest.er1
12838 grep -v '^ *+' conftest.er1 >conftest.err
12840 cat conftest.err >&5
12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842 (exit $ac_status); } && {
12843 test -z "$ac_c_werror_flag" ||
12844 test ! -s conftest.err
12845 } && test -s conftest$ac_exeext &&
12846 $as_test_x conftest$ac_exeext; then
12847 ac_cv_cflags__Wwrite_strings=yes
12849 echo "$as_me: failed program was:" >&5
12850 sed 's/^/| /' conftest.$ac_ext >&5
12852 ac_cv_cflags__Wwrite_strings=no
12855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12856 conftest$ac_exeext conftest.$ac_ext
12857 CFLAGS=$ac_wine_try_cflags_saved
12859 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
12860 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
12861 if test $ac_cv_cflags__Wwrite_strings = yes; then
12862 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12866 saved_CFLAGS="$CFLAGS"
12867 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12868 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12869 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
12870 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12871 echo $ECHO_N "(cached) $ECHO_C" >&6
12873 cat >conftest.$ac_ext <<_ACEOF
12876 cat confdefs.h >>conftest.$ac_ext
12877 cat >>conftest.$ac_ext <<_ACEOF
12878 /* end confdefs.h. */
12879 #include <string.h>
12888 rm -f conftest.$ac_objext
12889 if { (ac_try="$ac_compile"
12890 case "(($ac_try" in
12891 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12892 *) ac_try_echo
=$ac_try;;
12894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12895 (eval "$ac_compile") 2>conftest.er1
12897 grep -v '^ *+' conftest.er1
>conftest.err
12899 cat conftest.err
>&5
12900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901 (exit $ac_status); } && {
12902 test -z "$ac_c_werror_flag" ||
12903 test ! -s conftest.err
12904 } && test -s conftest.
$ac_objext; then
12905 ac_cv_c_string_h_warnings
=no
12907 echo "$as_me: failed program was:" >&5
12908 sed 's/^/| /' conftest.
$ac_ext >&5
12910 ac_cv_c_string_h_warnings
=yes
12913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12915 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12916 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
12917 CFLAGS
="$saved_CFLAGS"
12918 if test "$ac_cv_c_string_h_warnings" = "no"
12920 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12925 saved_CFLAGS
="$CFLAGS"
12926 CFLAGS
="$CFLAGS -Werror"
12927 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
12928 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
12929 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
12930 echo $ECHO_N "(cached) $ECHO_C" >&6
12932 cat >conftest.
$ac_ext <<_ACEOF
12935 cat confdefs.h
>>conftest.
$ac_ext
12936 cat >>conftest.
$ac_ext <<_ACEOF
12937 /* end confdefs.h. */
12942 int iswlower(unsigned short);
12947 rm -f conftest.
$ac_objext
12948 if { (ac_try
="$ac_compile"
12949 case "(($ac_try" in
12950 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12951 *) ac_try_echo=$ac_try;;
12953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12954 (eval "$ac_compile") 2>conftest.er1
12956 grep -v '^ *+' conftest.er1 >conftest.err
12958 cat conftest.err >&5
12959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12960 (exit $ac_status); } && {
12961 test -z "$ac_c_werror_flag" ||
12962 test ! -s conftest.err
12963 } && test -s conftest.$ac_objext; then
12964 ac_cv_c_builtin_wchar_ctype=no
12966 echo "$as_me: failed program was:" >&5
12967 sed 's/^/| /' conftest.$ac_ext >&5
12969 ac_cv_c_builtin_wchar_ctype=yes
12972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12974 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
12975 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
12976 CFLAGS="$saved_CFLAGS"
12977 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
12979 BUILTINFLAG="-fno-builtin"
12984 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12985 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
12986 if test "${ac_cv_asm_func_def+set}" = set; then
12987 echo $ECHO_N "(cached) $ECHO_C" >&6
12989 cat >conftest.$ac_ext <<_ACEOF
12992 cat confdefs.h >>conftest.$ac_ext
12993 cat >>conftest.$ac_ext <<_ACEOF
12994 /* end confdefs.h. */
12995 void ac_asm(void) { asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0"); }
13005 rm -f conftest.$ac_objext conftest$ac_exeext
13006 if { (ac_try="$ac_link"
13007 case "(($ac_try" in
13008 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13009 *) ac_try_echo
=$ac_try;;
13011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13012 (eval "$ac_link") 2>conftest.er1
13014 grep -v '^ *+' conftest.er1
>conftest.err
13016 cat conftest.err
>&5
13017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13018 (exit $ac_status); } && {
13019 test -z "$ac_c_werror_flag" ||
13020 test ! -s conftest.err
13021 } && test -s conftest
$ac_exeext &&
13022 $as_test_x conftest
$ac_exeext; then
13023 ac_cv_asm_func_def
=".def"
13025 echo "$as_me: failed program was:" >&5
13026 sed 's/^/| /' conftest.
$ac_ext >&5
13028 cat >conftest.
$ac_ext <<_ACEOF
13031 cat confdefs.h
>>conftest.
$ac_ext
13032 cat >>conftest.
$ac_ext <<_ACEOF
13033 /* end confdefs.h. */
13034 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
13044 rm -f conftest.
$ac_objext conftest
$ac_exeext
13045 if { (ac_try
="$ac_link"
13046 case "(($ac_try" in
13047 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13048 *) ac_try_echo=$ac_try;;
13050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13051 (eval "$ac_link") 2>conftest.er1
13053 grep -v '^ *+' conftest.er1 >conftest.err
13055 cat conftest.err >&5
13056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13057 (exit $ac_status); } && {
13058 test -z "$ac_c_werror_flag" ||
13059 test ! -s conftest.err
13060 } && test -s conftest$ac_exeext &&
13061 $as_test_x conftest$ac_exeext; then
13062 ac_cv_asm_func_def=".type @function"
13064 echo "$as_me: failed program was:" >&5
13065 sed 's/^/| /' conftest.$ac_ext >&5
13067 cat >conftest.$ac_ext <<_ACEOF
13070 cat confdefs.h >>conftest.$ac_ext
13071 cat >>conftest.$ac_ext <<_ACEOF
13072 /* end confdefs.h. */
13073 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
13083 rm -f conftest.$ac_objext conftest$ac_exeext
13084 if { (ac_try="$ac_link"
13085 case "(($ac_try" in
13086 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13087 *) ac_try_echo
=$ac_try;;
13089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13090 (eval "$ac_link") 2>conftest.er1
13092 grep -v '^ *+' conftest.er1
>conftest.err
13094 cat conftest.err
>&5
13095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13096 (exit $ac_status); } && {
13097 test -z "$ac_c_werror_flag" ||
13098 test ! -s conftest.err
13099 } && test -s conftest
$ac_exeext &&
13100 $as_test_x conftest
$ac_exeext; then
13101 ac_cv_asm_func_def
=".type 2"
13103 echo "$as_me: failed program was:" >&5
13104 sed 's/^/| /' conftest.
$ac_ext >&5
13106 ac_cv_asm_func_def
="unknown"
13109 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13110 conftest
$ac_exeext conftest.
$ac_ext
13113 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13114 conftest
$ac_exeext conftest.
$ac_ext
13117 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13118 conftest
$ac_exeext conftest.
$ac_ext
13120 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
13121 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
13125 case "$ac_cv_asm_func_def" in
13127 cat >>confdefs.h
<<\_ACEOF
13128 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
13132 cat >>confdefs.h
<<\_ACEOF
13133 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
13137 cat >>confdefs.h
<<\_ACEOF
13138 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
13142 cat >>confdefs.h
<<\_ACEOF
13143 #define __ASM_FUNC(name) ""
13149 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
13150 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
13151 if test "${ac_cv_c_extern_prefix+set}" = set; then
13152 echo $ECHO_N "(cached) $ECHO_C" >&6
13154 cat >conftest.
$ac_ext <<_ACEOF
13157 cat confdefs.h
>>conftest.
$ac_ext
13158 cat >>conftest.
$ac_ext <<_ACEOF
13159 /* end confdefs.h. */
13160 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
13161 extern int ac_test;
13165 if (ac_test) return 1
13170 rm -f conftest.
$ac_objext conftest
$ac_exeext
13171 if { (ac_try
="$ac_link"
13172 case "(($ac_try" in
13173 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13174 *) ac_try_echo=$ac_try;;
13176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13177 (eval "$ac_link") 2>conftest.er1
13179 grep -v '^ *+' conftest.er1 >conftest.err
13181 cat conftest.err >&5
13182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13183 (exit $ac_status); } && {
13184 test -z "$ac_c_werror_flag" ||
13185 test ! -s conftest.err
13186 } && test -s conftest$ac_exeext &&
13187 $as_test_x conftest$ac_exeext; then
13188 ac_cv_c_extern_prefix="yes"
13190 echo "$as_me: failed program was:" >&5
13191 sed 's/^/| /' conftest.$ac_ext >&5
13193 ac_cv_c_extern_prefix="no"
13196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13197 conftest$ac_exeext conftest.$ac_ext
13199 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
13200 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
13204 if test "$ac_cv_c_extern_prefix" = "yes"
13206 cat >>confdefs.h <<\_ACEOF
13207 #define __ASM_NAME(name) "_" name
13211 cat >>confdefs.h <<\_ACEOF
13212 #define __ASM_NAME(name) name
13220 DLLFLAGS="-D_REENTRANT"
13235 if test -n "$ac_tool_prefix"; then
13236 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13237 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
13238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13240 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13241 echo $ECHO_N "(cached) $ECHO_C" >&6
13243 if test -n "$DLLTOOL"; then
13244 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13247 for as_dir in $PATH
13250 test -z "$as_dir" && as_dir=.
13251 for ac_exec_ext in '' $ac_executable_extensions; do
13252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13253 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
13254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13263 DLLTOOL=$ac_cv_prog_DLLTOOL
13264 if test -n "$DLLTOOL"; then
13265 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13266 echo "${ECHO_T}$DLLTOOL" >&6; }
13268 { echo "$as_me:$LINENO: result: no" >&5
13269 echo "${ECHO_T}no" >&6; }
13274 if test -z "$ac_cv_prog_DLLTOOL"; then
13275 ac_ct_DLLTOOL=$DLLTOOL
13276 # Extract the first word of "dlltool", so it can be a program name with args.
13277 set dummy dlltool; ac_word=$2
13278 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13280 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13281 echo $ECHO_N "(cached) $ECHO_C" >&6
13283 if test -n "$ac_ct_DLLTOOL"; then
13284 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
13286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13287 for as_dir in $PATH
13290 test -z "$as_dir" && as_dir=.
13291 for ac_exec_ext in '' $ac_executable_extensions; do
13292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13293 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
13294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13303 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
13304 if test -n "$ac_ct_DLLTOOL"; then
13305 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13306 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
13308 { echo "$as_me:$LINENO: result: no" >&5
13309 echo "${ECHO_T}no" >&6; }
13312 if test "x$ac_ct_DLLTOOL" = x; then
13315 case $cross_compiling:$ac_tool_warned in
13317 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13318 whose name does not start with the host triplet. If you think this
13319 configuration is useful to you, please write to autoconf@gnu.org." >&5
13320 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13321 whose name does not start with the host triplet. If you think this
13322 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13323 ac_tool_warned=yes ;;
13325 DLLTOOL=$ac_ct_DLLTOOL
13328 DLLTOOL="$ac_cv_prog_DLLTOOL"
13331 if test -n "$ac_tool_prefix"; then
13332 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13333 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
13334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13336 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13337 echo $ECHO_N "(cached) $ECHO_C" >&6
13339 if test -n "$DLLWRAP"; then
13340 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
13342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13343 for as_dir in $PATH
13346 test -z "$as_dir" && as_dir=.
13347 for ac_exec_ext in '' $ac_executable_extensions; do
13348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13349 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
13350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13359 DLLWRAP=$ac_cv_prog_DLLWRAP
13360 if test -n "$DLLWRAP"; then
13361 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13362 echo "${ECHO_T}$DLLWRAP" >&6; }
13364 { echo "$as_me:$LINENO: result: no" >&5
13365 echo "${ECHO_T}no" >&6; }
13370 if test -z "$ac_cv_prog_DLLWRAP"; then
13371 ac_ct_DLLWRAP=$DLLWRAP
13372 # Extract the first word of "dllwrap", so it can be a program name with args.
13373 set dummy dllwrap; ac_word=$2
13374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13376 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13377 echo $ECHO_N "(cached) $ECHO_C" >&6
13379 if test -n "$ac_ct_DLLWRAP"; then
13380 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13383 for as_dir in $PATH
13386 test -z "$as_dir" && as_dir=.
13387 for ac_exec_ext in '' $ac_executable_extensions; do
13388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13389 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13399 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13400 if test -n "$ac_ct_DLLWRAP"; then
13401 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13402 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
13404 { echo "$as_me:$LINENO: result: no" >&5
13405 echo "${ECHO_T}no" >&6; }
13408 if test "x$ac_ct_DLLWRAP" = x; then
13411 case $cross_compiling:$ac_tool_warned in
13413 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13414 whose name does not start with the host triplet. If you think this
13415 configuration is useful to you, please write to autoconf@gnu.org." >&5
13416 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13417 whose name does not start with the host triplet. If you think this
13418 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13419 ac_tool_warned=yes ;;
13421 DLLWRAP=$ac_ct_DLLWRAP
13424 DLLWRAP="$ac_cv_prog_DLLWRAP"
13427 if test "$DLLWRAP" = "false"; then
13439 DLLFLAGS="$DLLFLAGS -fPIC"
13440 LDDLLFLAGS="-bundle -multiply_defined suppress"
13441 LIBWINE_LDFLAGS="-multiply_defined suppress"
13442 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`/\$(DYNAME)"
13443 STRIP="$STRIP -u -r"
13444 COREFOUNDATIONLIB="-framework CoreFoundation"
13446 IOKITLIB="-framework IOKit -framework CoreFoundation"
13448 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
13450 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
13452 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
13455 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
13457 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
13462 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
13464 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
13466 CARBONLIB="-framework Carbon"
13468 QUARTZFILES='$(QUARTZFILES)'
13472 DLLFLAGS="$DLLFLAGS -fPIC"
13474 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13475 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
13476 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13477 echo $ECHO_N "(cached) $ECHO_C" >&6
13479 ac_wine_try_cflags_saved=$CFLAGS
13480 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
13481 cat >conftest.$ac_ext <<_ACEOF
13484 rm -f conftest.$ac_objext conftest$ac_exeext
13485 if { (ac_try="$ac_link"
13486 case "(($ac_try" in
13487 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13488 *) ac_try_echo
=$ac_try;;
13490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13491 (eval "$ac_link") 2>conftest.er1
13493 grep -v '^ *+' conftest.er1
>conftest.err
13495 cat conftest.err
>&5
13496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13497 (exit $ac_status); } && {
13498 test -z "$ac_c_werror_flag" ||
13499 test ! -s conftest.err
13500 } && test -s conftest
$ac_exeext &&
13501 $as_test_x conftest
$ac_exeext; then
13502 ac_cv_c_dll_gnuelf
="yes"
13504 echo "$as_me: failed program was:" >&5
13505 sed 's/^/| /' conftest.
$ac_ext >&5
13507 ac_cv_c_dll_gnuelf
="no"
13510 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13511 conftest
$ac_exeext conftest.
$ac_ext
13512 CFLAGS
=$ac_wine_try_cflags_saved
13514 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13515 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
13516 if test "$ac_cv_c_dll_gnuelf" = "yes"
13518 LDSHARED
="\$(CC) -shared"
13519 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
13520 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
13521 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
13522 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
13523 echo $ECHO_N "(cached) $ECHO_C" >&6
13525 ac_wine_try_cflags_saved
=$CFLAGS
13526 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
13527 cat >conftest.
$ac_ext <<_ACEOF
13530 cat confdefs.h
>>conftest.
$ac_ext
13531 cat >>conftest.
$ac_ext <<_ACEOF
13532 /* end confdefs.h. */
13542 rm -f conftest.
$ac_objext conftest
$ac_exeext
13543 if { (ac_try
="$ac_link"
13544 case "(($ac_try" in
13545 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13546 *) ac_try_echo=$ac_try;;
13548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13549 (eval "$ac_link") 2>conftest.er1
13551 grep -v '^ *+' conftest.er1 >conftest.err
13553 cat conftest.err >&5
13554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13555 (exit $ac_status); } && {
13556 test -z "$ac_c_werror_flag" ||
13557 test ! -s conftest.err
13558 } && test -s conftest$ac_exeext &&
13559 $as_test_x conftest$ac_exeext; then
13560 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
13562 echo "$as_me: failed program was:" >&5
13563 sed 's/^/| /' conftest.$ac_ext >&5
13565 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
13568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13569 conftest$ac_exeext conftest.$ac_ext
13570 CFLAGS=$ac_wine_try_cflags_saved
13572 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
13573 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
13574 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
13575 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13577 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
13578 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
13579 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
13580 echo $ECHO_N "(cached) $ECHO_C" >&6
13582 ac_wine_try_cflags_saved=$CFLAGS
13583 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
13584 cat >conftest.$ac_ext <<_ACEOF
13587 cat confdefs.h >>conftest.$ac_ext
13588 cat >>conftest.$ac_ext <<_ACEOF
13589 /* end confdefs.h. */
13599 rm -f conftest.$ac_objext conftest$ac_exeext
13600 if { (ac_try="$ac_link"
13601 case "(($ac_try" in
13602 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13603 *) ac_try_echo
=$ac_try;;
13605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13606 (eval "$ac_link") 2>conftest.er1
13608 grep -v '^ *+' conftest.er1
>conftest.err
13610 cat conftest.err
>&5
13611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13612 (exit $ac_status); } && {
13613 test -z "$ac_c_werror_flag" ||
13614 test ! -s conftest.err
13615 } && test -s conftest
$ac_exeext &&
13616 $as_test_x conftest
$ac_exeext; then
13617 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
13619 echo "$as_me: failed program was:" >&5
13620 sed 's/^/| /' conftest.
$ac_ext >&5
13622 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
13625 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13626 conftest
$ac_exeext conftest.
$ac_ext
13627 CFLAGS
=$ac_wine_try_cflags_saved
13629 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
13630 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
13631 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
13632 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
13638 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
13639 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
13640 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
13641 echo $ECHO_N "(cached) $ECHO_C" >&6
13643 ac_wine_try_cflags_saved
=$CFLAGS
13644 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13645 cat >conftest.
$ac_ext <<_ACEOF
13648 cat confdefs.h
>>conftest.
$ac_ext
13649 cat >>conftest.
$ac_ext <<_ACEOF
13650 /* end confdefs.h. */
13660 rm -f conftest.
$ac_objext conftest
$ac_exeext
13661 if { (ac_try
="$ac_link"
13662 case "(($ac_try" in
13663 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13664 *) ac_try_echo=$ac_try;;
13666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13667 (eval "$ac_link") 2>conftest.er1
13669 grep -v '^ *+' conftest.er1 >conftest.err
13671 cat conftest.err >&5
13672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13673 (exit $ac_status); } && {
13674 test -z "$ac_c_werror_flag" ||
13675 test ! -s conftest.err
13676 } && test -s conftest$ac_exeext &&
13677 $as_test_x conftest$ac_exeext; then
13678 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
13680 echo "$as_me: failed program was:" >&5
13681 sed 's/^/| /' conftest.$ac_ext >&5
13683 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
13686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13687 conftest$ac_exeext conftest.$ac_ext
13688 CFLAGS=$ac_wine_try_cflags_saved
13690 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
13691 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
13692 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
13693 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
13697 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
13698 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
13699 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
13700 echo $ECHO_N "(cached) $ECHO_C" >&6
13702 ac_wine_try_cflags_saved=$CFLAGS
13703 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13704 cat >conftest.$ac_ext <<_ACEOF
13707 cat confdefs.h >>conftest.$ac_ext
13708 cat >>conftest.$ac_ext <<_ACEOF
13709 /* end confdefs.h. */
13719 rm -f conftest.$ac_objext conftest$ac_exeext
13720 if { (ac_try="$ac_link"
13721 case "(($ac_try" in
13722 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13723 *) ac_try_echo
=$ac_try;;
13725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13726 (eval "$ac_link") 2>conftest.er1
13728 grep -v '^ *+' conftest.er1
>conftest.err
13730 cat conftest.err
>&5
13731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13732 (exit $ac_status); } && {
13733 test -z "$ac_c_werror_flag" ||
13734 test ! -s conftest.err
13735 } && test -s conftest
$ac_exeext &&
13736 $as_test_x conftest
$ac_exeext; then
13737 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
13739 echo "$as_me: failed program was:" >&5
13740 sed 's/^/| /' conftest.
$ac_ext >&5
13742 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
13745 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13746 conftest
$ac_exeext conftest.
$ac_ext
13747 CFLAGS
=$ac_wine_try_cflags_saved
13749 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
13750 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
13751 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
13752 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13756 echo '{ global: *; };' >conftest.map
13757 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
13758 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
13759 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
13760 echo $ECHO_N "(cached) $ECHO_C" >&6
13762 ac_wine_try_cflags_saved
=$CFLAGS
13763 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13764 cat >conftest.
$ac_ext <<_ACEOF
13767 cat confdefs.h
>>conftest.
$ac_ext
13768 cat >>conftest.
$ac_ext <<_ACEOF
13769 /* end confdefs.h. */
13779 rm -f conftest.
$ac_objext conftest
$ac_exeext
13780 if { (ac_try
="$ac_link"
13781 case "(($ac_try" in
13782 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13783 *) ac_try_echo=$ac_try;;
13785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13786 (eval "$ac_link") 2>conftest.er1
13788 grep -v '^ *+' conftest.er1 >conftest.err
13790 cat conftest.err >&5
13791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792 (exit $ac_status); } && {
13793 test -z "$ac_c_werror_flag" ||
13794 test ! -s conftest.err
13795 } && test -s conftest$ac_exeext &&
13796 $as_test_x conftest$ac_exeext; then
13797 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
13799 echo "$as_me: failed program was:" >&5
13800 sed 's/^/| /' conftest.$ac_ext >&5
13802 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
13805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13806 conftest$ac_exeext conftest.$ac_ext
13807 CFLAGS=$ac_wine_try_cflags_saved
13809 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
13810 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
13811 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
13812 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13817 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
13818 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
13819 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
13820 echo $ECHO_N "(cached) $ECHO_C" >&6
13822 ac_wine_try_cflags_saved=$CFLAGS
13823 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13824 cat >conftest.$ac_ext <<_ACEOF
13827 cat confdefs.h >>conftest.$ac_ext
13828 cat >>conftest.$ac_ext <<_ACEOF
13829 /* end confdefs.h. */
13839 rm -f conftest.$ac_objext conftest$ac_exeext
13840 if { (ac_try="$ac_link"
13841 case "(($ac_try" in
13842 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13843 *) ac_try_echo
=$ac_try;;
13845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13846 (eval "$ac_link") 2>conftest.er1
13848 grep -v '^ *+' conftest.er1
>conftest.err
13850 cat conftest.err
>&5
13851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13852 (exit $ac_status); } && {
13853 test -z "$ac_c_werror_flag" ||
13854 test ! -s conftest.err
13855 } && test -s conftest
$ac_exeext &&
13856 $as_test_x conftest
$ac_exeext; then
13857 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
13859 echo "$as_me: failed program was:" >&5
13860 sed 's/^/| /' conftest.
$ac_ext >&5
13862 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
13865 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13866 conftest
$ac_exeext conftest.
$ac_ext
13867 CFLAGS
=$ac_wine_try_cflags_saved
13869 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
13870 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
13871 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
13872 LDEXECFLAGS
="-Wl,--export-dynamic"
13877 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
13878 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
13879 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
13880 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13881 echo $ECHO_N "(cached) $ECHO_C" >&6
13883 ac_wine_try_cflags_saved
=$CFLAGS
13884 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
13885 cat >conftest.
$ac_ext <<_ACEOF
13888 cat confdefs.h
>>conftest.
$ac_ext
13889 cat >>conftest.
$ac_ext <<_ACEOF
13890 /* end confdefs.h. */
13900 rm -f conftest.
$ac_objext conftest
$ac_exeext
13901 if { (ac_try
="$ac_link"
13902 case "(($ac_try" in
13903 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13904 *) ac_try_echo=$ac_try;;
13906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13907 (eval "$ac_link") 2>conftest.er1
13909 grep -v '^ *+' conftest.er1 >conftest.err
13911 cat conftest.err >&5
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); } && {
13914 test -z "$ac_c_werror_flag" ||
13915 test ! -s conftest.err
13916 } && test -s conftest$ac_exeext &&
13917 $as_test_x conftest$ac_exeext; then
13918 eval "$as_ac_var=yes"
13920 echo "$as_me: failed program was:" >&5
13921 sed 's/^/| /' conftest.$ac_ext >&5
13923 eval "$as_ac_var=no"
13926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13927 conftest$ac_exeext conftest.$ac_ext
13928 CFLAGS=$ac_wine_try_cflags_saved
13930 ac_res=`eval echo '${'$as_ac_var'}'`
13931 { echo "$as_me:$LINENO: result: $ac_res" >&5
13932 echo "${ECHO_T}$ac_res" >&6; }
13933 if test `eval echo '${'$as_ac_var'}'` = yes; then
13934 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
13939 *i[3456789]86* | x86_64)
13940 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
13941 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
13942 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
13943 echo $ECHO_N "(cached) $ECHO_C" >&6
13945 ac_wine_try_cflags_saved=$CFLAGS
13946 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
13947 cat >conftest.$ac_ext <<_ACEOF
13950 cat confdefs.h >>conftest.$ac_ext
13951 cat >>conftest.$ac_ext <<_ACEOF
13952 /* end confdefs.h. */
13962 rm -f conftest.$ac_objext conftest$ac_exeext
13963 if { (ac_try="$ac_link"
13964 case "(($ac_try" in
13965 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13966 *) ac_try_echo
=$ac_try;;
13968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13969 (eval "$ac_link") 2>conftest.er1
13971 grep -v '^ *+' conftest.er1
>conftest.err
13973 cat conftest.err
>&5
13974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13975 (exit $ac_status); } && {
13976 test -z "$ac_c_werror_flag" ||
13977 test ! -s conftest.err
13978 } && test -s conftest
$ac_exeext &&
13979 $as_test_x conftest
$ac_exeext; then
13980 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
13982 echo "$as_me: failed program was:" >&5
13983 sed 's/^/| /' conftest.
$ac_ext >&5
13985 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
13988 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13989 conftest
$ac_exeext conftest.
$ac_ext
13990 CFLAGS
=$ac_wine_try_cflags_saved
13992 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
13993 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
13994 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
13995 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
14002 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
14003 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
14004 if test "${ac_cv_c_dll_unixware+set}" = set; then
14005 echo $ECHO_N "(cached) $ECHO_C" >&6
14007 ac_wine_try_cflags_saved
=$CFLAGS
14008 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
14009 cat >conftest.
$ac_ext <<_ACEOF
14012 rm -f conftest.
$ac_objext conftest
$ac_exeext
14013 if { (ac_try
="$ac_link"
14014 case "(($ac_try" in
14015 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14016 *) ac_try_echo=$ac_try;;
14018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14019 (eval "$ac_link") 2>conftest.er1
14021 grep -v '^ *+' conftest.er1 >conftest.err
14023 cat conftest.err >&5
14024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14025 (exit $ac_status); } && {
14026 test -z "$ac_c_werror_flag" ||
14027 test ! -s conftest.err
14028 } && test -s conftest$ac_exeext &&
14029 $as_test_x conftest$ac_exeext; then
14030 ac_cv_c_dll_unixware="yes"
14032 echo "$as_me: failed program was:" >&5
14033 sed 's/^/| /' conftest.$ac_ext >&5
14035 ac_cv_c_dll_unixware="no"
14038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14039 conftest$ac_exeext conftest.$ac_ext
14040 CFLAGS=$ac_wine_try_cflags_saved
14042 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
14043 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
14044 if test "$ac_cv_c_dll_unixware" = "yes"
14046 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
14047 LDDLLFLAGS="-Wl,-G,-B,symbolic"
14050 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
14051 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
14052 if test "${ac_cv_c_dll_hpux+set}" = set; then
14053 echo $ECHO_N "(cached) $ECHO_C" >&6
14055 ac_wine_try_cflags_saved=$CFLAGS
14056 CFLAGS="$CFLAGS -shared"
14057 cat >conftest.$ac_ext <<_ACEOF
14060 rm -f conftest.$ac_objext conftest$ac_exeext
14061 if { (ac_try="$ac_link"
14062 case "(($ac_try" in
14063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14064 *) ac_try_echo
=$ac_try;;
14066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14067 (eval "$ac_link") 2>conftest.er1
14069 grep -v '^ *+' conftest.er1
>conftest.err
14071 cat conftest.err
>&5
14072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14073 (exit $ac_status); } && {
14074 test -z "$ac_c_werror_flag" ||
14075 test ! -s conftest.err
14076 } && test -s conftest
$ac_exeext &&
14077 $as_test_x conftest
$ac_exeext; then
14078 ac_cv_c_dll_hpux
="yes"
14080 echo "$as_me: failed program was:" >&5
14081 sed 's/^/| /' conftest.
$ac_ext >&5
14083 ac_cv_c_dll_hpux
="no"
14086 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14087 conftest
$ac_exeext conftest.
$ac_ext
14088 CFLAGS
=$ac_wine_try_cflags_saved
14090 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
14091 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
14092 if test "$ac_cv_c_dll_hpux" = "yes"
14096 LDDLLFLAGS
="-shared -fPIC"
14097 LDSHARED
="\$(CC) -shared"
14104 if test "$cross_compiling" = "no"
14106 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
14108 # Extract the first word of "$ac_prog", so it can be a program name with args.
14109 set dummy
$ac_prog; ac_word
=$2
14110 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14112 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14113 echo $ECHO_N "(cached) $ECHO_C" >&6
14115 if test -n "$CROSSCC"; then
14116 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
14118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14119 for as_dir
in $PATH
14122 test -z "$as_dir" && as_dir
=.
14123 for ac_exec_ext
in '' $ac_executable_extensions; do
14124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14125 ac_cv_prog_CROSSCC
="$ac_prog"
14126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14135 CROSSCC
=$ac_cv_prog_CROSSCC
14136 if test -n "$CROSSCC"; then
14137 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
14138 echo "${ECHO_T}$CROSSCC" >&6; }
14140 { echo "$as_me:$LINENO: result: no" >&5
14141 echo "${ECHO_T}no" >&6; }
14145 test -n "$CROSSCC" && break
14147 test -n "$CROSSCC" || CROSSCC
="false"
14149 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
14151 # Extract the first word of "$ac_prog", so it can be a program name with args.
14152 set dummy
$ac_prog; ac_word
=$2
14153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14155 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14156 echo $ECHO_N "(cached) $ECHO_C" >&6
14158 if test -n "$DLLTOOL"; then
14159 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14162 for as_dir
in $PATH
14165 test -z "$as_dir" && as_dir
=.
14166 for ac_exec_ext
in '' $ac_executable_extensions; do
14167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14168 ac_cv_prog_DLLTOOL
="$ac_prog"
14169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14178 DLLTOOL
=$ac_cv_prog_DLLTOOL
14179 if test -n "$DLLTOOL"; then
14180 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14181 echo "${ECHO_T}$DLLTOOL" >&6; }
14183 { echo "$as_me:$LINENO: result: no" >&5
14184 echo "${ECHO_T}no" >&6; }
14188 test -n "$DLLTOOL" && break
14190 test -n "$DLLTOOL" || DLLTOOL
="false"
14192 for ac_prog
in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
14194 # Extract the first word of "$ac_prog", so it can be a program name with args.
14195 set dummy
$ac_prog; ac_word
=$2
14196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14198 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14199 echo $ECHO_N "(cached) $ECHO_C" >&6
14201 if test -n "$CROSSWINDRES"; then
14202 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
14204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14205 for as_dir
in $PATH
14208 test -z "$as_dir" && as_dir
=.
14209 for ac_exec_ext
in '' $ac_executable_extensions; do
14210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14211 ac_cv_prog_CROSSWINDRES
="$ac_prog"
14212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14221 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
14222 if test -n "$CROSSWINDRES"; then
14223 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14224 echo "${ECHO_T}$CROSSWINDRES" >&6; }
14226 { echo "$as_me:$LINENO: result: no" >&5
14227 echo "${ECHO_T}no" >&6; }
14231 test -n "$CROSSWINDRES" && break
14233 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
14235 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
14240 if test "$LIBEXT" = "a"; then
14241 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14242 It is currently not possible to build Wine without shared library
14243 (.so) support to allow transparent switch between .so and .dll files.
14244 If you are using Linux, you will need a newer binutils.
14246 echo "$as_me: error: could not find a way to build shared libraries.
14247 It is currently not possible to build Wine without shared library
14248 (.so) support to allow transparent switch between .so and .dll files.
14249 If you are using Linux, you will need a newer binutils.
14251 { (exit 1); exit 1; }; }
14256 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14259 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
14262 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14270 SOCKETLIBS
="-lws2_32"
14275 MAIN_BINARY
="wine-pthread"
14279 linux
* | k
*bsd
*-gnu)
14280 MAIN_BINARY
="wine-glibc"
14282 EXTRA_BINARIES
="wine-kthread wine-pthread wine-preloader"
14289 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14291 # Extract the first word of "ldd", so it can be a program name with args.
14292 set dummy ldd
; ac_word
=$2
14293 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14295 if test "${ac_cv_path_LDD+set}" = set; then
14296 echo $ECHO_N "(cached) $ECHO_C" >&6
14300 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
14303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14304 as_dummy
="/sbin:/usr/sbin:$PATH"
14305 for as_dir
in $as_dummy
14308 test -z "$as_dir" && as_dir
=.
14309 for ac_exec_ext
in '' $ac_executable_extensions; do
14310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14311 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
14312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14319 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
14323 LDD
=$ac_cv_path_LDD
14324 if test -n "$LDD"; then
14325 { echo "$as_me:$LINENO: result: $LDD" >&5
14326 echo "${ECHO_T}$LDD" >&6; }
14328 { echo "$as_me:$LINENO: result: no" >&5
14329 echo "${ECHO_T}no" >&6; }
14333 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14334 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
14335 if test "${ac_cv_lib_soname_X11+set}" = set; then
14336 echo $ECHO_N "(cached) $ECHO_C" >&6
14338 ac_get_soname_save_LIBS
=$LIBS
14339 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14340 cat >conftest.
$ac_ext <<_ACEOF
14343 cat confdefs.h
>>conftest.
$ac_ext
14344 cat >>conftest.
$ac_ext <<_ACEOF
14345 /* end confdefs.h. */
14347 /* Override any GCC internal prototype to avoid an error.
14348 Use char because int might match the return type of a GCC
14349 builtin and then its argument prototype would still apply. */
14353 char XCreateWindow ();
14357 return XCreateWindow ();
14362 rm -f conftest.
$ac_objext conftest
$ac_exeext
14363 if { (ac_try
="$ac_link"
14364 case "(($ac_try" in
14365 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14366 *) ac_try_echo=$ac_try;;
14368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14369 (eval "$ac_link") 2>conftest.er1
14371 grep -v '^ *+' conftest.er1 >conftest.err
14373 cat conftest.err >&5
14374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14375 (exit $ac_status); } && {
14376 test -z "$ac_c_werror_flag" ||
14377 test ! -s conftest.err
14378 } && test -s conftest$ac_exeext &&
14379 $as_test_x conftest$ac_exeext; then
14381 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'` ;;
14382 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libX11
\\.so |
sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14384 if test "x$ac_cv_lib_soname_X11" = "x"
14386 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14389 echo "$as_me: failed program was:" >&5
14390 sed 's/^/| /' conftest.$ac_ext >&5
14392 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14396 conftest$ac_exeext conftest.$ac_ext
14397 LIBS=$ac_get_soname_save_LIBS
14399 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14400 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
14401 if test "${ac_cv_lib_soname_X11+set}" = set; then
14403 cat >>confdefs.h <<_ACEOF
14404 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14409 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
14410 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
14411 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14412 echo $ECHO_N "(cached) $ECHO_C" >&6
14414 ac_get_soname_save_LIBS=$LIBS
14415 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14416 cat >conftest.$ac_ext <<_ACEOF
14419 cat confdefs.h >>conftest.$ac_ext
14420 cat >>conftest.$ac_ext <<_ACEOF
14421 /* end confdefs.h. */
14423 /* Override any GCC internal prototype to avoid an error.
14424 Use char because int might match the return type of a GCC
14425 builtin and then its argument prototype would still apply. */
14429 char XextCreateExtension ();
14433 return XextCreateExtension ();
14438 rm -f conftest.$ac_objext conftest$ac_exeext
14439 if { (ac_try="$ac_link"
14440 case "(($ac_try" in
14441 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14442 *) ac_try_echo
=$ac_try;;
14444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14445 (eval "$ac_link") 2>conftest.er1
14447 grep -v '^ *+' conftest.er1
>conftest.err
14449 cat conftest.err
>&5
14450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14451 (exit $ac_status); } && {
14452 test -z "$ac_c_werror_flag" ||
14453 test ! -s conftest.err
14454 } && test -s conftest
$ac_exeext &&
14455 $as_test_x conftest
$ac_exeext; then
14457 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'` ;;
14458 so
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14460 if test "x$ac_cv_lib_soname_Xext" = "x"
14462 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
14465 echo "$as_me: failed program was:" >&5
14466 sed 's/^/| /' conftest.
$ac_ext >&5
14468 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
14471 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14472 conftest
$ac_exeext conftest.
$ac_ext
14473 LIBS
=$ac_get_soname_save_LIBS
14475 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14476 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
14477 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14479 cat >>confdefs.h
<<_ACEOF
14480 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14485 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
14486 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
14487 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14488 echo $ECHO_N "(cached) $ECHO_C" >&6
14490 ac_get_soname_save_LIBS
=$LIBS
14491 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14492 cat >conftest.
$ac_ext <<_ACEOF
14495 cat confdefs.h
>>conftest.
$ac_ext
14496 cat >>conftest.
$ac_ext <<_ACEOF
14497 /* end confdefs.h. */
14499 /* Override any GCC internal prototype to avoid an error.
14500 Use char because int might match the return type of a GCC
14501 builtin and then its argument prototype would still apply. */
14505 char XOpenDevice ();
14509 return XOpenDevice ();
14514 rm -f conftest.
$ac_objext conftest
$ac_exeext
14515 if { (ac_try
="$ac_link"
14516 case "(($ac_try" in
14517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14518 *) ac_try_echo=$ac_try;;
14520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14521 (eval "$ac_link") 2>conftest.er1
14523 grep -v '^ *+' conftest.er1 >conftest.err
14525 cat conftest.err >&5
14526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14527 (exit $ac_status); } && {
14528 test -z "$ac_c_werror_flag" ||
14529 test ! -s conftest.err
14530 } && test -s conftest$ac_exeext &&
14531 $as_test_x conftest$ac_exeext; then
14533 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'` ;;
14534 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXi
\\.so |
sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14536 if test "x$ac_cv_lib_soname_Xi" = "x"
14538 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14541 echo "$as_me: failed program was:" >&5
14542 sed 's/^/| /' conftest.$ac_ext >&5
14544 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14548 conftest$ac_exeext conftest.$ac_ext
14549 LIBS=$ac_get_soname_save_LIBS
14551 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14552 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
14553 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14555 cat >>confdefs.h <<_ACEOF
14556 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14561 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
14562 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
14563 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14564 echo $ECHO_N "(cached) $ECHO_C" >&6
14566 ac_get_soname_save_LIBS=$LIBS
14567 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14568 cat >conftest.$ac_ext <<_ACEOF
14571 cat confdefs.h >>conftest.$ac_ext
14572 cat >>conftest.$ac_ext <<_ACEOF
14573 /* end confdefs.h. */
14575 /* Override any GCC internal prototype to avoid an error.
14576 Use char because int might match the return type of a GCC
14577 builtin and then its argument prototype would still apply. */
14581 char XineramaQueryScreens ();
14585 return XineramaQueryScreens ();
14590 rm -f conftest.$ac_objext conftest$ac_exeext
14591 if { (ac_try="$ac_link"
14592 case "(($ac_try" in
14593 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14594 *) ac_try_echo
=$ac_try;;
14596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14597 (eval "$ac_link") 2>conftest.er1
14599 grep -v '^ *+' conftest.er1
>conftest.err
14601 cat conftest.err
>&5
14602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 (exit $ac_status); } && {
14604 test -z "$ac_c_werror_flag" ||
14605 test ! -s conftest.err
14606 } && test -s conftest
$ac_exeext &&
14607 $as_test_x conftest
$ac_exeext; then
14609 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'` ;;
14610 so
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXinerama\\.so | sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14612 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14614 ac_cv_lib_soname_Xinerama
="libXinerama.$LIBEXT"
14617 echo "$as_me: failed program was:" >&5
14618 sed 's/^/| /' conftest.
$ac_ext >&5
14620 ac_cv_lib_soname_Xinerama
="libXinerama.$LIBEXT"
14623 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14624 conftest
$ac_exeext conftest.
$ac_ext
14625 LIBS
=$ac_get_soname_save_LIBS
14627 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
14628 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
14629 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14631 cat >>confdefs.h
<<_ACEOF
14632 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
14637 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14638 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
14639 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14640 echo $ECHO_N "(cached) $ECHO_C" >&6
14642 ac_get_soname_save_LIBS
=$LIBS
14643 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14644 cat >conftest.
$ac_ext <<_ACEOF
14647 cat confdefs.h
>>conftest.
$ac_ext
14648 cat >>conftest.
$ac_ext <<_ACEOF
14649 /* end confdefs.h. */
14651 /* Override any GCC internal prototype to avoid an error.
14652 Use char because int might match the return type of a GCC
14653 builtin and then its argument prototype would still apply. */
14657 char XRenderQueryExtension ();
14661 return XRenderQueryExtension ();
14666 rm -f conftest.
$ac_objext conftest
$ac_exeext
14667 if { (ac_try
="$ac_link"
14668 case "(($ac_try" in
14669 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14670 *) ac_try_echo=$ac_try;;
14672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14673 (eval "$ac_link") 2>conftest.er1
14675 grep -v '^ *+' conftest.er1 >conftest.err
14677 cat conftest.err >&5
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); } && {
14680 test -z "$ac_c_werror_flag" ||
14681 test ! -s conftest.err
14682 } && test -s conftest$ac_exeext &&
14683 $as_test_x conftest$ac_exeext; then
14685 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'` ;;
14686 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXrender
\\.so |
sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14688 if test "x$ac_cv_lib_soname_Xrender" = "x"
14690 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14693 echo "$as_me: failed program was:" >&5
14694 sed 's/^/| /' conftest.$ac_ext >&5
14696 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14700 conftest$ac_exeext conftest.$ac_ext
14701 LIBS=$ac_get_soname_save_LIBS
14703 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14704 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
14705 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14707 cat >>confdefs.h <<_ACEOF
14708 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14713 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14714 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
14715 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14716 echo $ECHO_N "(cached) $ECHO_C" >&6
14718 ac_get_soname_save_LIBS=$LIBS
14719 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14720 cat >conftest.$ac_ext <<_ACEOF
14723 cat confdefs.h >>conftest.$ac_ext
14724 cat >>conftest.$ac_ext <<_ACEOF
14725 /* end confdefs.h. */
14727 /* Override any GCC internal prototype to avoid an error.
14728 Use char because int might match the return type of a GCC
14729 builtin and then its argument prototype would still apply. */
14733 char XRRQueryExtension ();
14737 return XRRQueryExtension ();
14742 rm -f conftest.$ac_objext conftest$ac_exeext
14743 if { (ac_try="$ac_link"
14744 case "(($ac_try" in
14745 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14746 *) ac_try_echo
=$ac_try;;
14748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14749 (eval "$ac_link") 2>conftest.er1
14751 grep -v '^ *+' conftest.er1
>conftest.err
14753 cat conftest.err
>&5
14754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14755 (exit $ac_status); } && {
14756 test -z "$ac_c_werror_flag" ||
14757 test ! -s conftest.err
14758 } && test -s conftest
$ac_exeext &&
14759 $as_test_x conftest
$ac_exeext; then
14761 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'` ;;
14762 so
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14764 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14766 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
14769 echo "$as_me: failed program was:" >&5
14770 sed 's/^/| /' conftest.
$ac_ext >&5
14772 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
14775 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14776 conftest
$ac_exeext conftest.
$ac_ext
14777 LIBS
=$ac_get_soname_save_LIBS
14779 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14780 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
14781 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14783 cat >>confdefs.h
<<_ACEOF
14784 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14789 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14790 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
14791 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14792 echo $ECHO_N "(cached) $ECHO_C" >&6
14794 ac_get_soname_save_LIBS
=$LIBS
14795 LIBS
="-lfreetype $X_LIBS $LIBS"
14796 cat >conftest.
$ac_ext <<_ACEOF
14799 cat confdefs.h
>>conftest.
$ac_ext
14800 cat >>conftest.
$ac_ext <<_ACEOF
14801 /* end confdefs.h. */
14803 /* Override any GCC internal prototype to avoid an error.
14804 Use char because int might match the return type of a GCC
14805 builtin and then its argument prototype would still apply. */
14809 char FT_Init_FreeType ();
14813 return FT_Init_FreeType ();
14818 rm -f conftest.
$ac_objext conftest
$ac_exeext
14819 if { (ac_try
="$ac_link"
14820 case "(($ac_try" in
14821 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14822 *) ac_try_echo=$ac_try;;
14824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14825 (eval "$ac_link") 2>conftest.er1
14827 grep -v '^ *+' conftest.er1 >conftest.err
14829 cat conftest.err >&5
14830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14831 (exit $ac_status); } && {
14832 test -z "$ac_c_werror_flag" ||
14833 test ! -s conftest.err
14834 } && test -s conftest$ac_exeext &&
14835 $as_test_x conftest$ac_exeext; then
14837 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'` ;;
14838 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libfreetype
\\.so |
sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14840 if test "x$ac_cv_lib_soname_freetype" = "x"
14842 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14845 echo "$as_me: failed program was:" >&5
14846 sed 's/^/| /' conftest.$ac_ext >&5
14848 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14852 conftest$ac_exeext conftest.$ac_ext
14853 LIBS=$ac_get_soname_save_LIBS
14855 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14856 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
14857 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14859 cat >>confdefs.h <<_ACEOF
14860 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14865 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
14866 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
14867 if test "${ac_cv_lib_soname_GL+set}" = set; then
14868 echo $ECHO_N "(cached) $ECHO_C" >&6
14870 ac_get_soname_save_LIBS=$LIBS
14871 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14872 cat >conftest.$ac_ext <<_ACEOF
14875 cat confdefs.h >>conftest.$ac_ext
14876 cat >>conftest.$ac_ext <<_ACEOF
14877 /* end confdefs.h. */
14879 /* Override any GCC internal prototype to avoid an error.
14880 Use char because int might match the return type of a GCC
14881 builtin and then its argument prototype would still apply. */
14885 char glXQueryExtension ();
14889 return glXQueryExtension ();
14894 rm -f conftest.$ac_objext conftest$ac_exeext
14895 if { (ac_try="$ac_link"
14896 case "(($ac_try" in
14897 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14898 *) ac_try_echo
=$ac_try;;
14900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14901 (eval "$ac_link") 2>conftest.er1
14903 grep -v '^ *+' conftest.er1
>conftest.err
14905 cat conftest.err
>&5
14906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907 (exit $ac_status); } && {
14908 test -z "$ac_c_werror_flag" ||
14909 test ! -s conftest.err
14910 } && test -s conftest
$ac_exeext &&
14911 $as_test_x conftest
$ac_exeext; then
14913 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'` ;;
14914 so
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14916 if test "x$ac_cv_lib_soname_GL" = "x"
14918 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
14921 echo "$as_me: failed program was:" >&5
14922 sed 's/^/| /' conftest.
$ac_ext >&5
14924 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
14927 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14928 conftest
$ac_exeext conftest.
$ac_ext
14929 LIBS
=$ac_get_soname_save_LIBS
14931 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14932 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
14933 if test "${ac_cv_lib_soname_GL+set}" = set; then
14935 cat >>confdefs.h
<<_ACEOF
14936 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14941 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
14942 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
14943 if test "${ac_cv_lib_soname_hal+set}" = set; then
14944 echo $ECHO_N "(cached) $ECHO_C" >&6
14946 ac_get_soname_save_LIBS
=$LIBS
14948 cat >conftest.
$ac_ext <<_ACEOF
14951 cat confdefs.h
>>conftest.
$ac_ext
14952 cat >>conftest.
$ac_ext <<_ACEOF
14953 /* end confdefs.h. */
14955 /* Override any GCC internal prototype to avoid an error.
14956 Use char because int might match the return type of a GCC
14957 builtin and then its argument prototype would still apply. */
14961 char libhal_ctx_new ();
14965 return libhal_ctx_new ();
14970 rm -f conftest.
$ac_objext conftest
$ac_exeext
14971 if { (ac_try
="$ac_link"
14972 case "(($ac_try" in
14973 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14974 *) ac_try_echo=$ac_try;;
14976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14977 (eval "$ac_link") 2>conftest.er1
14979 grep -v '^ *+' conftest.er1 >conftest.err
14981 cat conftest.err >&5
14982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14983 (exit $ac_status); } && {
14984 test -z "$ac_c_werror_flag" ||
14985 test ! -s conftest.err
14986 } && test -s conftest$ac_exeext &&
14987 $as_test_x conftest$ac_exeext; then
14989 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'` ;;
14990 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libhal
\\.so |
sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14992 if test "x$ac_cv_lib_soname_hal" = "x"
14994 ac_cv_lib_soname_hal="libhal.$LIBEXT"
14997 echo "$as_me: failed program was:" >&5
14998 sed 's/^/| /' conftest.$ac_ext >&5
15000 ac_cv_lib_soname_hal="libhal.$LIBEXT"
15003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15004 conftest$ac_exeext conftest.$ac_ext
15005 LIBS=$ac_get_soname_save_LIBS
15007 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
15008 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
15009 if test "${ac_cv_lib_soname_hal+set}" = set; then
15011 cat >>confdefs.h <<_ACEOF
15012 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
15017 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
15018 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
15019 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15020 echo $ECHO_N "(cached) $ECHO_C" >&6
15022 ac_get_soname_save_LIBS=$LIBS
15023 LIBS="-ltxc_dxtn $LIBS"
15024 cat >conftest.$ac_ext <<_ACEOF
15027 cat confdefs.h >>conftest.$ac_ext
15028 cat >>conftest.$ac_ext <<_ACEOF
15029 /* end confdefs.h. */
15031 /* Override any GCC internal prototype to avoid an error.
15032 Use char because int might match the return type of a GCC
15033 builtin and then its argument prototype would still apply. */
15037 char fetch_2d_texel_rgba_dxt1 ();
15041 return fetch_2d_texel_rgba_dxt1 ();
15046 rm -f conftest.$ac_objext conftest$ac_exeext
15047 if { (ac_try="$ac_link"
15048 case "(($ac_try" in
15049 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15050 *) ac_try_echo
=$ac_try;;
15052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15053 (eval "$ac_link") 2>conftest.er1
15055 grep -v '^ *+' conftest.er1
>conftest.err
15057 cat conftest.err
>&5
15058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059 (exit $ac_status); } && {
15060 test -z "$ac_c_werror_flag" ||
15061 test ! -s conftest.err
15062 } && test -s conftest
$ac_exeext &&
15063 $as_test_x conftest
$ac_exeext; then
15065 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'` ;;
15066 so
) ac_cv_lib_soname_txc_dxtn
=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.so | sed -e "s/^.*\(libtxc_dxtn\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15068 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
15070 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
15073 echo "$as_me: failed program was:" >&5
15074 sed 's/^/| /' conftest.
$ac_ext >&5
15076 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
15079 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15080 conftest
$ac_exeext conftest.
$ac_ext
15081 LIBS
=$ac_get_soname_save_LIBS
15083 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
15084 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
15085 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15087 cat >>confdefs.h
<<_ACEOF
15088 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15093 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
15094 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
15095 if test "${ac_cv_lib_soname_cups+set}" = set; then
15096 echo $ECHO_N "(cached) $ECHO_C" >&6
15098 ac_get_soname_save_LIBS
=$LIBS
15099 LIBS
="-lcups $LIBS"
15100 cat >conftest.
$ac_ext <<_ACEOF
15103 cat confdefs.h
>>conftest.
$ac_ext
15104 cat >>conftest.
$ac_ext <<_ACEOF
15105 /* end confdefs.h. */
15107 /* Override any GCC internal prototype to avoid an error.
15108 Use char because int might match the return type of a GCC
15109 builtin and then its argument prototype would still apply. */
15113 char cupsGetDefault ();
15117 return cupsGetDefault ();
15122 rm -f conftest.
$ac_objext conftest
$ac_exeext
15123 if { (ac_try
="$ac_link"
15124 case "(($ac_try" in
15125 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15126 *) ac_try_echo=$ac_try;;
15128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15129 (eval "$ac_link") 2>conftest.er1
15131 grep -v '^ *+' conftest.er1 >conftest.err
15133 cat conftest.err >&5
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); } && {
15136 test -z "$ac_c_werror_flag" ||
15137 test ! -s conftest.err
15138 } && test -s conftest$ac_exeext &&
15139 $as_test_x conftest$ac_exeext; then
15141 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'` ;;
15142 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcups
\\.so |
sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15144 if test "x$ac_cv_lib_soname_cups" = "x"
15146 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15149 echo "$as_me: failed program was:" >&5
15150 sed 's/^/| /' conftest.$ac_ext >&5
15152 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15156 conftest$ac_exeext conftest.$ac_ext
15157 LIBS=$ac_get_soname_save_LIBS
15159 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15160 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15161 if test "${ac_cv_lib_soname_cups+set}" = set; then
15163 cat >>confdefs.h <<_ACEOF
15164 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15169 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
15170 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
15171 if test "${ac_cv_lib_soname_jack+set}" = set; then
15172 echo $ECHO_N "(cached) $ECHO_C" >&6
15174 ac_get_soname_save_LIBS=$LIBS
15175 LIBS="-ljack $LIBS"
15176 cat >conftest.$ac_ext <<_ACEOF
15179 cat confdefs.h >>conftest.$ac_ext
15180 cat >>conftest.$ac_ext <<_ACEOF
15181 /* end confdefs.h. */
15183 /* Override any GCC internal prototype to avoid an error.
15184 Use char because int might match the return type of a GCC
15185 builtin and then its argument prototype would still apply. */
15189 char jack_client_new ();
15193 return jack_client_new ();
15198 rm -f conftest.$ac_objext conftest$ac_exeext
15199 if { (ac_try="$ac_link"
15200 case "(($ac_try" in
15201 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15202 *) ac_try_echo
=$ac_try;;
15204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15205 (eval "$ac_link") 2>conftest.er1
15207 grep -v '^ *+' conftest.er1
>conftest.err
15209 cat conftest.err
>&5
15210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15211 (exit $ac_status); } && {
15212 test -z "$ac_c_werror_flag" ||
15213 test ! -s conftest.err
15214 } && test -s conftest
$ac_exeext &&
15215 $as_test_x conftest
$ac_exeext; then
15217 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'` ;;
15218 so
) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15220 if test "x$ac_cv_lib_soname_jack" = "x"
15222 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15225 echo "$as_me: failed program was:" >&5
15226 sed 's/^/| /' conftest.
$ac_ext >&5
15228 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15231 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15232 conftest
$ac_exeext conftest.
$ac_ext
15233 LIBS
=$ac_get_soname_save_LIBS
15235 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15236 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15237 if test "${ac_cv_lib_soname_jack+set}" = set; then
15239 cat >>confdefs.h
<<_ACEOF
15240 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15245 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15246 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
15247 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15248 echo $ECHO_N "(cached) $ECHO_C" >&6
15250 ac_get_soname_save_LIBS
=$LIBS
15251 LIBS
="-lfontconfig $LIBS"
15252 cat >conftest.
$ac_ext <<_ACEOF
15255 cat confdefs.h
>>conftest.
$ac_ext
15256 cat >>conftest.
$ac_ext <<_ACEOF
15257 /* end confdefs.h. */
15259 /* Override any GCC internal prototype to avoid an error.
15260 Use char because int might match the return type of a GCC
15261 builtin and then its argument prototype would still apply. */
15274 rm -f conftest.
$ac_objext conftest
$ac_exeext
15275 if { (ac_try
="$ac_link"
15276 case "(($ac_try" in
15277 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15278 *) ac_try_echo=$ac_try;;
15280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15281 (eval "$ac_link") 2>conftest.er1
15283 grep -v '^ *+' conftest.er1 >conftest.err
15285 cat conftest.err >&5
15286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15287 (exit $ac_status); } && {
15288 test -z "$ac_c_werror_flag" ||
15289 test ! -s conftest.err
15290 } && test -s conftest$ac_exeext &&
15291 $as_test_x conftest$ac_exeext; then
15293 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'` ;;
15294 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libfontconfig
\\.so |
sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15296 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15298 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15301 echo "$as_me: failed program was:" >&5
15302 sed 's/^/| /' conftest.$ac_ext >&5
15304 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15308 conftest$ac_exeext conftest.$ac_ext
15309 LIBS=$ac_get_soname_save_LIBS
15311 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15312 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15313 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15315 cat >>confdefs.h <<_ACEOF
15316 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15321 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
15322 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
15323 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15324 echo $ECHO_N "(cached) $ECHO_C" >&6
15326 ac_get_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
15369 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'` ;;
15370 so
) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15372 if test "x$ac_cv_lib_soname_ssl" = "x"
15374 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15377 echo "$as_me: failed program was:" >&5
15378 sed 's/^/| /' conftest.
$ac_ext >&5
15380 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15383 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15384 conftest
$ac_exeext conftest.
$ac_ext
15385 LIBS
=$ac_get_soname_save_LIBS
15387 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15388 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15389 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15391 cat >>confdefs.h
<<_ACEOF
15392 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15397 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15398 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
15399 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15400 echo $ECHO_N "(cached) $ECHO_C" >&6
15402 ac_get_soname_save_LIBS
=$LIBS
15403 LIBS
="-lcrypto $LIBS"
15404 cat >conftest.
$ac_ext <<_ACEOF
15407 cat confdefs.h
>>conftest.
$ac_ext
15408 cat >>conftest.
$ac_ext <<_ACEOF
15409 /* end confdefs.h. */
15411 /* Override any GCC internal prototype to avoid an error.
15412 Use char because int might match the return type of a GCC
15413 builtin and then its argument prototype would still apply. */
15417 char BIO_new_socket ();
15421 return BIO_new_socket ();
15426 rm -f conftest.
$ac_objext conftest
$ac_exeext
15427 if { (ac_try
="$ac_link"
15428 case "(($ac_try" in
15429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15430 *) ac_try_echo=$ac_try;;
15432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15433 (eval "$ac_link") 2>conftest.er1
15435 grep -v '^ *+' conftest.er1 >conftest.err
15437 cat conftest.err >&5
15438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15439 (exit $ac_status); } && {
15440 test -z "$ac_c_werror_flag" ||
15441 test ! -s conftest.err
15442 } && test -s conftest$ac_exeext &&
15443 $as_test_x conftest$ac_exeext; then
15445 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'` ;;
15446 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcrypto
\\.so |
sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15448 if test "x$ac_cv_lib_soname_crypto" = "x"
15450 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15453 echo "$as_me: failed program was:" >&5
15454 sed 's/^/| /' conftest.$ac_ext >&5
15456 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15460 conftest$ac_exeext conftest.$ac_ext
15461 LIBS=$ac_get_soname_save_LIBS
15463 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15464 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15465 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15467 cat >>confdefs.h <<_ACEOF
15468 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15473 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15474 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
15475 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15476 echo $ECHO_N "(cached) $ECHO_C" >&6
15478 ac_get_soname_save_LIBS=$LIBS
15479 LIBS="-lncurses $LIBS"
15480 cat >conftest.$ac_ext <<_ACEOF
15483 cat confdefs.h >>conftest.$ac_ext
15484 cat >>conftest.$ac_ext <<_ACEOF
15485 /* end confdefs.h. */
15487 /* Override any GCC internal prototype to avoid an error.
15488 Use char because int might match the return type of a GCC
15489 builtin and then its argument prototype would still apply. */
15502 rm -f conftest.$ac_objext conftest$ac_exeext
15503 if { (ac_try="$ac_link"
15504 case "(($ac_try" in
15505 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15506 *) ac_try_echo
=$ac_try;;
15508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15509 (eval "$ac_link") 2>conftest.er1
15511 grep -v '^ *+' conftest.er1
>conftest.err
15513 cat conftest.err
>&5
15514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15515 (exit $ac_status); } && {
15516 test -z "$ac_c_werror_flag" ||
15517 test ! -s conftest.err
15518 } && test -s conftest
$ac_exeext &&
15519 $as_test_x conftest
$ac_exeext; then
15521 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'` ;;
15522 so
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15524 if test "x$ac_cv_lib_soname_ncurses" = "x"
15526 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15529 echo "$as_me: failed program was:" >&5
15530 sed 's/^/| /' conftest.
$ac_ext >&5
15532 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15535 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15536 conftest
$ac_exeext conftest.
$ac_ext
15537 LIBS
=$ac_get_soname_save_LIBS
15539 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15540 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
15541 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15543 cat >>confdefs.h
<<_ACEOF
15544 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15549 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15550 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
15551 if test "${ac_cv_lib_soname_curses+set}" = set; then
15552 echo $ECHO_N "(cached) $ECHO_C" >&6
15554 ac_get_soname_save_LIBS
=$LIBS
15555 LIBS
="-lcurses $LIBS"
15556 cat >conftest.
$ac_ext <<_ACEOF
15559 cat confdefs.h
>>conftest.
$ac_ext
15560 cat >>conftest.
$ac_ext <<_ACEOF
15561 /* end confdefs.h. */
15563 /* Override any GCC internal prototype to avoid an error.
15564 Use char because int might match the return type of a GCC
15565 builtin and then its argument prototype would still apply. */
15578 rm -f conftest.
$ac_objext conftest
$ac_exeext
15579 if { (ac_try
="$ac_link"
15580 case "(($ac_try" in
15581 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15582 *) ac_try_echo=$ac_try;;
15584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15585 (eval "$ac_link") 2>conftest.er1
15587 grep -v '^ *+' conftest.er1 >conftest.err
15589 cat conftest.err >&5
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); } && {
15592 test -z "$ac_c_werror_flag" ||
15593 test ! -s conftest.err
15594 } && test -s conftest$ac_exeext &&
15595 $as_test_x conftest$ac_exeext; then
15597 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'` ;;
15598 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcurses
\\.so |
sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15600 if test "x$ac_cv_lib_soname_curses" = "x"
15602 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15605 echo "$as_me: failed program was:" >&5
15606 sed 's/^/| /' conftest.$ac_ext >&5
15608 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15612 conftest$ac_exeext conftest.$ac_ext
15613 LIBS=$ac_get_soname_save_LIBS
15615 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15616 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
15617 if test "${ac_cv_lib_soname_curses+set}" = set; then
15619 cat >>confdefs.h <<_ACEOF
15620 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15625 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15626 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
15627 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15628 echo $ECHO_N "(cached) $ECHO_C" >&6
15630 ac_get_soname_save_LIBS=$LIBS
15631 LIBS="-ljpeg $LIBS"
15632 cat >conftest.$ac_ext <<_ACEOF
15635 cat confdefs.h >>conftest.$ac_ext
15636 cat >>conftest.$ac_ext <<_ACEOF
15637 /* end confdefs.h. */
15639 /* Override any GCC internal prototype to avoid an error.
15640 Use char because int might match the return type of a GCC
15641 builtin and then its argument prototype would still apply. */
15645 char jpeg_start_decompress ();
15649 return jpeg_start_decompress ();
15654 rm -f conftest.$ac_objext conftest$ac_exeext
15655 if { (ac_try="$ac_link"
15656 case "(($ac_try" in
15657 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15658 *) ac_try_echo
=$ac_try;;
15660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15661 (eval "$ac_link") 2>conftest.er1
15663 grep -v '^ *+' conftest.er1
>conftest.err
15665 cat conftest.err
>&5
15666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15667 (exit $ac_status); } && {
15668 test -z "$ac_c_werror_flag" ||
15669 test ! -s conftest.err
15670 } && test -s conftest
$ac_exeext &&
15671 $as_test_x conftest
$ac_exeext; then
15673 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'` ;;
15674 so
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15676 if test "x$ac_cv_lib_soname_jpeg" = "x"
15678 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15681 echo "$as_me: failed program was:" >&5
15682 sed 's/^/| /' conftest.
$ac_ext >&5
15684 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15687 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15688 conftest
$ac_exeext conftest.
$ac_ext
15689 LIBS
=$ac_get_soname_save_LIBS
15691 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15692 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15693 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15695 cat >>confdefs.h
<<_ACEOF
15696 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15701 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15702 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
15703 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15704 echo $ECHO_N "(cached) $ECHO_C" >&6
15706 ac_get_soname_save_LIBS
=$LIBS
15707 LIBS
="-lcapi20 $LIBS"
15708 cat >conftest.
$ac_ext <<_ACEOF
15711 cat confdefs.h
>>conftest.
$ac_ext
15712 cat >>conftest.
$ac_ext <<_ACEOF
15713 /* end confdefs.h. */
15715 /* Override any GCC internal prototype to avoid an error.
15716 Use char because int might match the return type of a GCC
15717 builtin and then its argument prototype would still apply. */
15721 char capi20_isinstalled ();
15725 return capi20_isinstalled ();
15730 rm -f conftest.
$ac_objext conftest
$ac_exeext
15731 if { (ac_try
="$ac_link"
15732 case "(($ac_try" in
15733 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15734 *) ac_try_echo=$ac_try;;
15736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15737 (eval "$ac_link") 2>conftest.er1
15739 grep -v '^ *+' conftest.er1 >conftest.err
15741 cat conftest.err >&5
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); } && {
15744 test -z "$ac_c_werror_flag" ||
15745 test ! -s conftest.err
15746 } && test -s conftest$ac_exeext &&
15747 $as_test_x conftest$ac_exeext; then
15749 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'` ;;
15750 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcapi20
\\.so |
sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15752 if test "x$ac_cv_lib_soname_capi20" = "x"
15754 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15757 echo "$as_me: failed program was:" >&5
15758 sed 's/^/| /' conftest.$ac_ext >&5
15760 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15764 conftest$ac_exeext conftest.$ac_ext
15765 LIBS=$ac_get_soname_save_LIBS
15767 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15768 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15769 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15771 cat >>confdefs.h <<_ACEOF
15772 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15926 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
15927 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15929 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15930 echo $ECHO_N "(cached) $ECHO_C" >&6
15932 cat >conftest.$ac_ext <<_ACEOF
15935 cat confdefs.h >>conftest.$ac_ext
15936 cat >>conftest.$ac_ext <<_ACEOF
15937 /* end confdefs.h. */
15938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15940 #define $ac_func innocuous_$ac_func
15942 /* System header to define __stub macros and hopefully few prototypes,
15943 which can conflict with char $ac_func (); below.
15944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15945 <limits.h> exists even on freestanding compilers. */
15948 # include <limits.h>
15950 # include <assert.h>
15955 /* Override any GCC internal prototype to avoid an error.
15956 Use char because int might match the return type of a GCC
15957 builtin and then its argument prototype would still apply. */
15962 /* The GNU C library defines this for functions which it implements
15963 to always fail with ENOSYS. Some functions are actually named
15964 something starting with __ and the normal name is an alias. */
15965 #if defined __stub_$ac_func || defined __stub___$ac_func
15972 return $ac_func ();
15977 rm -f conftest.$ac_objext conftest$ac_exeext
15978 if { (ac_try="$ac_link"
15979 case "(($ac_try" in
15980 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15981 *) ac_try_echo
=$ac_try;;
15983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15984 (eval "$ac_link") 2>conftest.er1
15986 grep -v '^ *+' conftest.er1
>conftest.err
15988 cat conftest.err
>&5
15989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15990 (exit $ac_status); } && {
15991 test -z "$ac_c_werror_flag" ||
15992 test ! -s conftest.err
15993 } && test -s conftest
$ac_exeext &&
15994 $as_test_x conftest
$ac_exeext; then
15995 eval "$as_ac_var=yes"
15997 echo "$as_me: failed program was:" >&5
15998 sed 's/^/| /' conftest.
$ac_ext >&5
16000 eval "$as_ac_var=no"
16003 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16004 conftest
$ac_exeext conftest.
$ac_ext
16006 ac_res
=`eval echo '${'$as_ac_var'}'`
16007 { echo "$as_me:$LINENO: result: $ac_res" >&5
16008 echo "${ECHO_T}$ac_res" >&6; }
16009 if test `eval echo '${'$as_ac_var'}'` = yes; then
16010 cat >>confdefs.h
<<_ACEOF
16011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16018 if test "$ac_cv_func_dlopen" = no
16020 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16021 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16022 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16023 echo $ECHO_N "(cached) $ECHO_C" >&6
16025 ac_check_lib_save_LIBS
=$LIBS
16027 cat >conftest.
$ac_ext <<_ACEOF
16030 cat confdefs.h
>>conftest.
$ac_ext
16031 cat >>conftest.
$ac_ext <<_ACEOF
16032 /* end confdefs.h. */
16034 /* Override any GCC internal prototype to avoid an error.
16035 Use char because int might match the return type of a GCC
16036 builtin and then its argument prototype would still apply. */
16049 rm -f conftest.
$ac_objext conftest
$ac_exeext
16050 if { (ac_try
="$ac_link"
16051 case "(($ac_try" in
16052 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16053 *) ac_try_echo=$ac_try;;
16055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16056 (eval "$ac_link") 2>conftest.er1
16058 grep -v '^ *+' conftest.er1 >conftest.err
16060 cat conftest.err >&5
16061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16062 (exit $ac_status); } && {
16063 test -z "$ac_c_werror_flag" ||
16064 test ! -s conftest.err
16065 } && test -s conftest$ac_exeext &&
16066 $as_test_x conftest$ac_exeext; then
16067 ac_cv_lib_dl_dlopen=yes
16069 echo "$as_me: failed program was:" >&5
16070 sed 's/^/| /' conftest.$ac_ext >&5
16072 ac_cv_lib_dl_dlopen=no
16075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16076 conftest$ac_exeext conftest.$ac_ext
16077 LIBS=$ac_check_lib_save_LIBS
16079 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16080 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16081 if test $ac_cv_lib_dl_dlopen = yes; then
16082 cat >>confdefs.h <<\_ACEOF
16083 #define HAVE_DLOPEN 1
16090 ac_wine_check_funcs_save_LIBS="$LIBS"
16091 LIBS="$LIBS $LIBDL"
16093 for ac_func in dladdr
16095 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16096 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16098 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16099 echo $ECHO_N "(cached) $ECHO_C" >&6
16101 cat >conftest.$ac_ext <<_ACEOF
16104 cat confdefs.h >>conftest.$ac_ext
16105 cat >>conftest.$ac_ext <<_ACEOF
16106 /* end confdefs.h. */
16107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16109 #define $ac_func innocuous_$ac_func
16111 /* System header to define __stub macros and hopefully few prototypes,
16112 which can conflict with char $ac_func (); below.
16113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16114 <limits.h> exists even on freestanding compilers. */
16117 # include <limits.h>
16119 # include <assert.h>
16124 /* Override any GCC internal prototype to avoid an error.
16125 Use char because int might match the return type of a GCC
16126 builtin and then its argument prototype would still apply. */
16131 /* The GNU C library defines this for functions which it implements
16132 to always fail with ENOSYS. Some functions are actually named
16133 something starting with __ and the normal name is an alias. */
16134 #if defined __stub_$ac_func || defined __stub___$ac_func
16141 return $ac_func ();
16146 rm -f conftest.$ac_objext conftest$ac_exeext
16147 if { (ac_try="$ac_link"
16148 case "(($ac_try" in
16149 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16150 *) ac_try_echo
=$ac_try;;
16152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16153 (eval "$ac_link") 2>conftest.er1
16155 grep -v '^ *+' conftest.er1
>conftest.err
16157 cat conftest.err
>&5
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); } && {
16160 test -z "$ac_c_werror_flag" ||
16161 test ! -s conftest.err
16162 } && test -s conftest
$ac_exeext &&
16163 $as_test_x conftest
$ac_exeext; then
16164 eval "$as_ac_var=yes"
16166 echo "$as_me: failed program was:" >&5
16167 sed 's/^/| /' conftest.
$ac_ext >&5
16169 eval "$as_ac_var=no"
16172 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16173 conftest
$ac_exeext conftest.
$ac_ext
16175 ac_res
=`eval echo '${'$as_ac_var'}'`
16176 { echo "$as_me:$LINENO: result: $ac_res" >&5
16177 echo "${ECHO_T}$ac_res" >&6; }
16178 if test `eval echo '${'$as_ac_var'}'` = yes; then
16179 cat >>confdefs.h
<<_ACEOF
16180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16186 LIBS
="$ac_wine_check_funcs_save_LIBS"
16188 if test "$ac_cv_func_poll" = no
16190 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16191 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16192 if test "${ac_cv_lib_poll_poll+set}" = set; then
16193 echo $ECHO_N "(cached) $ECHO_C" >&6
16195 ac_check_lib_save_LIBS
=$LIBS
16196 LIBS
="-lpoll $LIBS"
16197 cat >conftest.
$ac_ext <<_ACEOF
16200 cat confdefs.h
>>conftest.
$ac_ext
16201 cat >>conftest.
$ac_ext <<_ACEOF
16202 /* end confdefs.h. */
16204 /* Override any GCC internal prototype to avoid an error.
16205 Use char because int might match the return type of a GCC
16206 builtin and then its argument prototype would still apply. */
16219 rm -f conftest.
$ac_objext conftest
$ac_exeext
16220 if { (ac_try
="$ac_link"
16221 case "(($ac_try" in
16222 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16223 *) ac_try_echo=$ac_try;;
16225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16226 (eval "$ac_link") 2>conftest.er1
16228 grep -v '^ *+' conftest.er1 >conftest.err
16230 cat conftest.err >&5
16231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16232 (exit $ac_status); } && {
16233 test -z "$ac_c_werror_flag" ||
16234 test ! -s conftest.err
16235 } && test -s conftest$ac_exeext &&
16236 $as_test_x conftest$ac_exeext; then
16237 ac_cv_lib_poll_poll=yes
16239 echo "$as_me: failed program was:" >&5
16240 sed 's/^/| /' conftest.$ac_ext >&5
16242 ac_cv_lib_poll_poll=no
16245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16246 conftest$ac_exeext conftest.$ac_ext
16247 LIBS=$ac_check_lib_save_LIBS
16249 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16250 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16251 if test $ac_cv_lib_poll_poll = yes; then
16252 cat >>confdefs.h <<\_ACEOF
16253 #define HAVE_POLL 1
16261 if test "$ac_cv_func_gethostbyname" = no
16264 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
16265 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
16266 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
16267 echo $ECHO_N "(cached) $ECHO_C" >&6
16269 ac_check_lib_save_LIBS=$LIBS
16271 cat >conftest.$ac_ext <<_ACEOF
16274 cat confdefs.h >>conftest.$ac_ext
16275 cat >>conftest.$ac_ext <<_ACEOF
16276 /* end confdefs.h. */
16278 /* Override any GCC internal prototype to avoid an error.
16279 Use char because int might match the return type of a GCC
16280 builtin and then its argument prototype would still apply. */
16284 char gethostbyname ();
16288 return gethostbyname ();
16293 rm -f conftest.$ac_objext conftest$ac_exeext
16294 if { (ac_try="$ac_link"
16295 case "(($ac_try" in
16296 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16297 *) ac_try_echo
=$ac_try;;
16299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16300 (eval "$ac_link") 2>conftest.er1
16302 grep -v '^ *+' conftest.er1
>conftest.err
16304 cat conftest.err
>&5
16305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16306 (exit $ac_status); } && {
16307 test -z "$ac_c_werror_flag" ||
16308 test ! -s conftest.err
16309 } && test -s conftest
$ac_exeext &&
16310 $as_test_x conftest
$ac_exeext; then
16311 ac_cv_lib_nsl_gethostbyname
=yes
16313 echo "$as_me: failed program was:" >&5
16314 sed 's/^/| /' conftest.
$ac_ext >&5
16316 ac_cv_lib_nsl_gethostbyname
=no
16319 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16320 conftest
$ac_exeext conftest.
$ac_ext
16321 LIBS
=$ac_check_lib_save_LIBS
16323 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
16324 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
16325 if test $ac_cv_lib_nsl_gethostbyname = yes; then
16326 cat >>confdefs.h
<<_ACEOF
16327 #define HAVE_LIBNSL 1
16336 if test "$ac_cv_func_connect" = no
16339 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
16340 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
16341 if test "${ac_cv_lib_socket_connect+set}" = set; then
16342 echo $ECHO_N "(cached) $ECHO_C" >&6
16344 ac_check_lib_save_LIBS
=$LIBS
16345 LIBS
="-lsocket $LIBS"
16346 cat >conftest.
$ac_ext <<_ACEOF
16349 cat confdefs.h
>>conftest.
$ac_ext
16350 cat >>conftest.
$ac_ext <<_ACEOF
16351 /* end confdefs.h. */
16353 /* Override any GCC internal prototype to avoid an error.
16354 Use char because int might match the return type of a GCC
16355 builtin and then its argument prototype would still apply. */
16368 rm -f conftest.
$ac_objext conftest
$ac_exeext
16369 if { (ac_try
="$ac_link"
16370 case "(($ac_try" in
16371 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16372 *) ac_try_echo=$ac_try;;
16374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16375 (eval "$ac_link") 2>conftest.er1
16377 grep -v '^ *+' conftest.er1 >conftest.err
16379 cat conftest.err >&5
16380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381 (exit $ac_status); } && {
16382 test -z "$ac_c_werror_flag" ||
16383 test ! -s conftest.err
16384 } && test -s conftest$ac_exeext &&
16385 $as_test_x conftest$ac_exeext; then
16386 ac_cv_lib_socket_connect=yes
16388 echo "$as_me: failed program was:" >&5
16389 sed 's/^/| /' conftest.$ac_ext >&5
16391 ac_cv_lib_socket_connect=no
16394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16395 conftest$ac_exeext conftest.$ac_ext
16396 LIBS=$ac_check_lib_save_LIBS
16398 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
16399 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
16400 if test $ac_cv_lib_socket_connect = yes; then
16401 cat >>confdefs.h <<_ACEOF
16402 #define HAVE_LIBSOCKET 1
16405 LIBS="-lsocket $LIBS"
16411 if test "$ac_cv_func_inet_aton" = no
16414 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
16415 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
16416 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
16417 echo $ECHO_N "(cached) $ECHO_C" >&6
16419 ac_check_lib_save_LIBS=$LIBS
16420 LIBS="-lresolv $LIBS"
16421 cat >conftest.$ac_ext <<_ACEOF
16424 cat confdefs.h >>conftest.$ac_ext
16425 cat >>conftest.$ac_ext <<_ACEOF
16426 /* end confdefs.h. */
16428 /* Override any GCC internal prototype to avoid an error.
16429 Use char because int might match the return type of a GCC
16430 builtin and then its argument prototype would still apply. */
16438 return inet_aton ();
16443 rm -f conftest.$ac_objext conftest$ac_exeext
16444 if { (ac_try="$ac_link"
16445 case "(($ac_try" in
16446 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16447 *) ac_try_echo
=$ac_try;;
16449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16450 (eval "$ac_link") 2>conftest.er1
16452 grep -v '^ *+' conftest.er1
>conftest.err
16454 cat conftest.err
>&5
16455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16456 (exit $ac_status); } && {
16457 test -z "$ac_c_werror_flag" ||
16458 test ! -s conftest.err
16459 } && test -s conftest
$ac_exeext &&
16460 $as_test_x conftest
$ac_exeext; then
16461 ac_cv_lib_resolv_inet_aton
=yes
16463 echo "$as_me: failed program was:" >&5
16464 sed 's/^/| /' conftest.
$ac_ext >&5
16466 ac_cv_lib_resolv_inet_aton
=no
16469 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16470 conftest
$ac_exeext conftest.
$ac_ext
16471 LIBS
=$ac_check_lib_save_LIBS
16473 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
16474 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
16475 if test $ac_cv_lib_resolv_inet_aton = yes; then
16476 cat >>confdefs.h
<<_ACEOF
16477 #define HAVE_LIBRESOLV 1
16480 LIBS
="-lresolv $LIBS"
16487 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16488 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16489 if test "${ac_cv_c_const+set}" = set; then
16490 echo $ECHO_N "(cached) $ECHO_C" >&6
16492 cat >conftest.
$ac_ext <<_ACEOF
16495 cat confdefs.h
>>conftest.
$ac_ext
16496 cat >>conftest.
$ac_ext <<_ACEOF
16497 /* end confdefs.h. */
16502 /* FIXME: Include the comments suggested by Paul. */
16503 #ifndef __cplusplus
16504 /* Ultrix mips cc rejects this. */
16505 typedef int charset[2];
16507 /* SunOS 4.1.1 cc rejects this. */
16508 char const *const *pcpcc;
16510 /* NEC SVR4.0.2 mips cc rejects this. */
16511 struct point {int x, y;};
16512 static struct point const zero = {0,0};
16513 /* AIX XL C 1.02.0.0 rejects this.
16514 It does not let you subtract one const X* pointer from another in
16515 an arm of an if-expression whose if-part is not a constant
16517 const char *g = "string";
16518 pcpcc = &g + (g ? g-g : 0);
16519 /* HPUX 7.0 cc rejects these. */
16521 ppc = (char**) pcpcc;
16522 pcpcc = (char const *const *) ppc;
16523 { /* SCO 3.2v4 cc rejects this. */
16525 char const *s = 0 ? (char *) 0 : (char const *) 0;
16530 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16531 int x[] = {25, 17};
16532 const int *foo = &x[0];
16535 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16536 typedef const int *iptr;
16540 { /* AIX XL C 1.02.0.0 rejects this saying
16541 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16542 struct s { int j; const int *ap[3]; };
16543 struct s *b; b->j = 5;
16545 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16546 const int foo = 10;
16547 if (!foo) return 0;
16549 return !cs[0] && !zero.x;
16556 rm -f conftest.
$ac_objext
16557 if { (ac_try
="$ac_compile"
16558 case "(($ac_try" in
16559 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16560 *) ac_try_echo=$ac_try;;
16562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16563 (eval "$ac_compile") 2>conftest.er1
16565 grep -v '^ *+' conftest.er1 >conftest.err
16567 cat conftest.err >&5
16568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569 (exit $ac_status); } && {
16570 test -z "$ac_c_werror_flag" ||
16571 test ! -s conftest.err
16572 } && test -s conftest.$ac_objext; then
16575 echo "$as_me: failed program was:" >&5
16576 sed 's/^/| /' conftest.$ac_ext >&5
16581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16583 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16584 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16585 if test $ac_cv_c_const = no; then
16587 cat >>confdefs.h <<\_ACEOF
16593 { echo "$as_me:$LINENO: checking for inline" >&5
16594 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16595 if test "${ac_cv_c_inline+set}" = set; then
16596 echo $ECHO_N "(cached) $ECHO_C" >&6
16599 for ac_kw in inline __inline__ __inline; do
16600 cat >conftest.$ac_ext <<_ACEOF
16603 cat confdefs.h >>conftest.$ac_ext
16604 cat >>conftest.$ac_ext <<_ACEOF
16605 /* end confdefs.h. */
16606 #ifndef __cplusplus
16608 static $ac_kw foo_t static_foo () {return 0; }
16609 $ac_kw foo_t foo () {return 0; }
16613 rm -f conftest.$ac_objext
16614 if { (ac_try="$ac_compile"
16615 case "(($ac_try" in
16616 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16617 *) ac_try_echo
=$ac_try;;
16619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16620 (eval "$ac_compile") 2>conftest.er1
16622 grep -v '^ *+' conftest.er1
>conftest.err
16624 cat conftest.err
>&5
16625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626 (exit $ac_status); } && {
16627 test -z "$ac_c_werror_flag" ||
16628 test ! -s conftest.err
16629 } && test -s conftest.
$ac_objext; then
16630 ac_cv_c_inline
=$ac_kw
16632 echo "$as_me: failed program was:" >&5
16633 sed 's/^/| /' conftest.
$ac_ext >&5
16638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16639 test "$ac_cv_c_inline" != no
&& break
16643 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16644 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16647 case $ac_cv_c_inline in
16650 case $ac_cv_c_inline in
16652 *) ac_val
=$ac_cv_c_inline;;
16654 cat >>confdefs.h
<<_ACEOF
16655 #ifndef __cplusplus
16656 #define inline $ac_val
16662 { echo "$as_me:$LINENO: checking for mode_t" >&5
16663 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16664 if test "${ac_cv_type_mode_t+set}" = set; then
16665 echo $ECHO_N "(cached) $ECHO_C" >&6
16667 cat >conftest.
$ac_ext <<_ACEOF
16670 cat confdefs.h
>>conftest.
$ac_ext
16671 cat >>conftest.
$ac_ext <<_ACEOF
16672 /* end confdefs.h. */
16673 $ac_includes_default
16674 typedef mode_t ac__type_new_;
16678 if ((ac__type_new_ *) 0)
16680 if (sizeof (ac__type_new_))
16686 rm -f conftest.
$ac_objext
16687 if { (ac_try
="$ac_compile"
16688 case "(($ac_try" in
16689 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16690 *) ac_try_echo=$ac_try;;
16692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16693 (eval "$ac_compile") 2>conftest.er1
16695 grep -v '^ *+' conftest.er1 >conftest.err
16697 cat conftest.err >&5
16698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16699 (exit $ac_status); } && {
16700 test -z "$ac_c_werror_flag" ||
16701 test ! -s conftest.err
16702 } && test -s conftest.$ac_objext; then
16703 ac_cv_type_mode_t=yes
16705 echo "$as_me: failed program was:" >&5
16706 sed 's/^/| /' conftest.$ac_ext >&5
16708 ac_cv_type_mode_t=no
16711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16713 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16714 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16715 if test $ac_cv_type_mode_t = yes; then
16717 cat >>confdefs.h <<_ACEOF
16718 #define HAVE_MODE_T 1
16723 { echo "$as_me:$LINENO: checking for off_t" >&5
16724 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16725 if test "${ac_cv_type_off_t+set}" = set; then
16726 echo $ECHO_N "(cached) $ECHO_C" >&6
16728 cat >conftest.$ac_ext <<_ACEOF
16731 cat confdefs.h >>conftest.$ac_ext
16732 cat >>conftest.$ac_ext <<_ACEOF
16733 /* end confdefs.h. */
16734 $ac_includes_default
16735 typedef off_t ac__type_new_;
16739 if ((ac__type_new_ *) 0)
16741 if (sizeof (ac__type_new_))
16747 rm -f conftest.$ac_objext
16748 if { (ac_try="$ac_compile"
16749 case "(($ac_try" in
16750 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16751 *) ac_try_echo
=$ac_try;;
16753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16754 (eval "$ac_compile") 2>conftest.er1
16756 grep -v '^ *+' conftest.er1
>conftest.err
16758 cat conftest.err
>&5
16759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16760 (exit $ac_status); } && {
16761 test -z "$ac_c_werror_flag" ||
16762 test ! -s conftest.err
16763 } && test -s conftest.
$ac_objext; then
16764 ac_cv_type_off_t
=yes
16766 echo "$as_me: failed program was:" >&5
16767 sed 's/^/| /' conftest.
$ac_ext >&5
16769 ac_cv_type_off_t
=no
16772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16774 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16775 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16776 if test $ac_cv_type_off_t = yes; then
16778 cat >>confdefs.h
<<_ACEOF
16779 #define HAVE_OFF_T 1
16784 { echo "$as_me:$LINENO: checking for pid_t" >&5
16785 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16786 if test "${ac_cv_type_pid_t+set}" = set; then
16787 echo $ECHO_N "(cached) $ECHO_C" >&6
16789 cat >conftest.
$ac_ext <<_ACEOF
16792 cat confdefs.h
>>conftest.
$ac_ext
16793 cat >>conftest.
$ac_ext <<_ACEOF
16794 /* end confdefs.h. */
16795 $ac_includes_default
16796 typedef pid_t ac__type_new_;
16800 if ((ac__type_new_ *) 0)
16802 if (sizeof (ac__type_new_))
16808 rm -f conftest.
$ac_objext
16809 if { (ac_try
="$ac_compile"
16810 case "(($ac_try" in
16811 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16812 *) ac_try_echo=$ac_try;;
16814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16815 (eval "$ac_compile") 2>conftest.er1
16817 grep -v '^ *+' conftest.er1 >conftest.err
16819 cat conftest.err >&5
16820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16821 (exit $ac_status); } && {
16822 test -z "$ac_c_werror_flag" ||
16823 test ! -s conftest.err
16824 } && test -s conftest.$ac_objext; then
16825 ac_cv_type_pid_t=yes
16827 echo "$as_me: failed program was:" >&5
16828 sed 's/^/| /' conftest.$ac_ext >&5
16830 ac_cv_type_pid_t=no
16833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16835 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16836 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16837 if test $ac_cv_type_pid_t = yes; then
16839 cat >>confdefs.h <<_ACEOF
16840 #define HAVE_PID_T 1
16845 { echo "$as_me:$LINENO: checking for size_t" >&5
16846 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16847 if test "${ac_cv_type_size_t+set}" = set; then
16848 echo $ECHO_N "(cached) $ECHO_C" >&6
16850 cat >conftest.$ac_ext <<_ACEOF
16853 cat confdefs.h >>conftest.$ac_ext
16854 cat >>conftest.$ac_ext <<_ACEOF
16855 /* end confdefs.h. */
16856 $ac_includes_default
16857 typedef size_t ac__type_new_;
16861 if ((ac__type_new_ *) 0)
16863 if (sizeof (ac__type_new_))
16869 rm -f conftest.$ac_objext
16870 if { (ac_try="$ac_compile"
16871 case "(($ac_try" in
16872 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16873 *) ac_try_echo
=$ac_try;;
16875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16876 (eval "$ac_compile") 2>conftest.er1
16878 grep -v '^ *+' conftest.er1
>conftest.err
16880 cat conftest.err
>&5
16881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16882 (exit $ac_status); } && {
16883 test -z "$ac_c_werror_flag" ||
16884 test ! -s conftest.err
16885 } && test -s conftest.
$ac_objext; then
16886 ac_cv_type_size_t
=yes
16888 echo "$as_me: failed program was:" >&5
16889 sed 's/^/| /' conftest.
$ac_ext >&5
16891 ac_cv_type_size_t
=no
16894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16896 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16897 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16898 if test $ac_cv_type_size_t = yes; then
16900 cat >>confdefs.h
<<_ACEOF
16901 #define HAVE_SIZE_T 1
16906 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16907 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16908 if test "${ac_cv_type_ssize_t+set}" = set; then
16909 echo $ECHO_N "(cached) $ECHO_C" >&6
16911 cat >conftest.
$ac_ext <<_ACEOF
16914 cat confdefs.h
>>conftest.
$ac_ext
16915 cat >>conftest.
$ac_ext <<_ACEOF
16916 /* end confdefs.h. */
16917 $ac_includes_default
16918 typedef ssize_t ac__type_new_;
16922 if ((ac__type_new_ *) 0)
16924 if (sizeof (ac__type_new_))
16930 rm -f conftest.
$ac_objext
16931 if { (ac_try
="$ac_compile"
16932 case "(($ac_try" in
16933 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16934 *) ac_try_echo=$ac_try;;
16936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16937 (eval "$ac_compile") 2>conftest.er1
16939 grep -v '^ *+' conftest.er1 >conftest.err
16941 cat conftest.err >&5
16942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16943 (exit $ac_status); } && {
16944 test -z "$ac_c_werror_flag" ||
16945 test ! -s conftest.err
16946 } && test -s conftest.$ac_objext; then
16947 ac_cv_type_ssize_t=yes
16949 echo "$as_me: failed program was:" >&5
16950 sed 's/^/| /' conftest.$ac_ext >&5
16952 ac_cv_type_ssize_t=no
16955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16957 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16958 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16959 if test $ac_cv_type_ssize_t = yes; then
16961 cat >>confdefs.h <<_ACEOF
16962 #define HAVE_SSIZE_T 1
16967 { echo "$as_me:$LINENO: checking for long long" >&5
16968 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16969 if test "${ac_cv_type_long_long+set}" = set; then
16970 echo $ECHO_N "(cached) $ECHO_C" >&6
16972 cat >conftest.$ac_ext <<_ACEOF
16975 cat confdefs.h >>conftest.$ac_ext
16976 cat >>conftest.$ac_ext <<_ACEOF
16977 /* end confdefs.h. */
16978 $ac_includes_default
16979 typedef long long ac__type_new_;
16983 if ((ac__type_new_ *) 0)
16985 if (sizeof (ac__type_new_))
16991 rm -f conftest.$ac_objext
16992 if { (ac_try="$ac_compile"
16993 case "(($ac_try" in
16994 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16995 *) ac_try_echo
=$ac_try;;
16997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16998 (eval "$ac_compile") 2>conftest.er1
17000 grep -v '^ *+' conftest.er1
>conftest.err
17002 cat conftest.err
>&5
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); } && {
17005 test -z "$ac_c_werror_flag" ||
17006 test ! -s conftest.err
17007 } && test -s conftest.
$ac_objext; then
17008 ac_cv_type_long_long
=yes
17010 echo "$as_me: failed program was:" >&5
17011 sed 's/^/| /' conftest.
$ac_ext >&5
17013 ac_cv_type_long_long
=no
17016 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17018 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17019 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17020 if test $ac_cv_type_long_long = yes; then
17022 cat >>confdefs.h
<<_ACEOF
17023 #define HAVE_LONG_LONG 1
17028 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17029 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17030 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17031 echo $ECHO_N "(cached) $ECHO_C" >&6
17033 cat >conftest.
$ac_ext <<_ACEOF
17036 cat confdefs.h
>>conftest.
$ac_ext
17037 cat >>conftest.
$ac_ext <<_ACEOF
17038 /* end confdefs.h. */
17039 $ac_includes_default
17040 typedef fsblkcnt_t ac__type_new_;
17044 if ((ac__type_new_ *) 0)
17046 if (sizeof (ac__type_new_))
17052 rm -f conftest.
$ac_objext
17053 if { (ac_try
="$ac_compile"
17054 case "(($ac_try" in
17055 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17056 *) ac_try_echo=$ac_try;;
17058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17059 (eval "$ac_compile") 2>conftest.er1
17061 grep -v '^ *+' conftest.er1 >conftest.err
17063 cat conftest.err >&5
17064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17065 (exit $ac_status); } && {
17066 test -z "$ac_c_werror_flag" ||
17067 test ! -s conftest.err
17068 } && test -s conftest.$ac_objext; then
17069 ac_cv_type_fsblkcnt_t=yes
17071 echo "$as_me: failed program was:" >&5
17072 sed 's/^/| /' conftest.$ac_ext >&5
17074 ac_cv_type_fsblkcnt_t=no
17077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17079 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17080 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17081 if test $ac_cv_type_fsblkcnt_t = yes; then
17083 cat >>confdefs.h <<_ACEOF
17084 #define HAVE_FSBLKCNT_T 1
17089 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17090 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17091 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17092 echo $ECHO_N "(cached) $ECHO_C" >&6
17094 cat >conftest.$ac_ext <<_ACEOF
17097 cat confdefs.h >>conftest.$ac_ext
17098 cat >>conftest.$ac_ext <<_ACEOF
17099 /* end confdefs.h. */
17100 $ac_includes_default
17101 typedef fsfilcnt_t ac__type_new_;
17105 if ((ac__type_new_ *) 0)
17107 if (sizeof (ac__type_new_))
17113 rm -f conftest.$ac_objext
17114 if { (ac_try="$ac_compile"
17115 case "(($ac_try" in
17116 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17117 *) ac_try_echo
=$ac_try;;
17119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17120 (eval "$ac_compile") 2>conftest.er1
17122 grep -v '^ *+' conftest.er1
>conftest.err
17124 cat conftest.err
>&5
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); } && {
17127 test -z "$ac_c_werror_flag" ||
17128 test ! -s conftest.err
17129 } && test -s conftest.
$ac_objext; then
17130 ac_cv_type_fsfilcnt_t
=yes
17132 echo "$as_me: failed program was:" >&5
17133 sed 's/^/| /' conftest.
$ac_ext >&5
17135 ac_cv_type_fsfilcnt_t
=no
17138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17140 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17141 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17142 if test $ac_cv_type_fsfilcnt_t = yes; then
17144 cat >>confdefs.h
<<_ACEOF
17145 #define HAVE_FSFILCNT_T 1
17151 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17152 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17153 if test "${ac_cv_type_sigset_t+set}" = set; then
17154 echo $ECHO_N "(cached) $ECHO_C" >&6
17156 cat >conftest.
$ac_ext <<_ACEOF
17159 cat confdefs.h
>>conftest.
$ac_ext
17160 cat >>conftest.
$ac_ext <<_ACEOF
17161 /* end confdefs.h. */
17162 #include <signal.h>
17164 typedef sigset_t ac__type_new_;
17168 if ((ac__type_new_ *) 0)
17170 if (sizeof (ac__type_new_))
17176 rm -f conftest.
$ac_objext
17177 if { (ac_try
="$ac_compile"
17178 case "(($ac_try" in
17179 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17180 *) ac_try_echo=$ac_try;;
17182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17183 (eval "$ac_compile") 2>conftest.er1
17185 grep -v '^ *+' conftest.er1 >conftest.err
17187 cat conftest.err >&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); } && {
17190 test -z "$ac_c_werror_flag" ||
17191 test ! -s conftest.err
17192 } && test -s conftest.$ac_objext; then
17193 ac_cv_type_sigset_t=yes
17195 echo "$as_me: failed program was:" >&5
17196 sed 's/^/| /' conftest.$ac_ext >&5
17198 ac_cv_type_sigset_t=no
17201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17203 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17204 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17205 if test $ac_cv_type_sigset_t = yes; then
17207 cat >>confdefs.h <<_ACEOF
17208 #define HAVE_SIGSET_T 1
17214 { echo "$as_me:$LINENO: checking for request_sense" >&5
17215 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17216 if test "${ac_cv_type_request_sense+set}" = set; then
17217 echo $ECHO_N "(cached) $ECHO_C" >&6
17219 cat >conftest.$ac_ext <<_ACEOF
17222 cat confdefs.h >>conftest.$ac_ext
17223 cat >>conftest.$ac_ext <<_ACEOF
17224 /* end confdefs.h. */
17225 #include <linux/cdrom.h>
17227 typedef request_sense ac__type_new_;
17231 if ((ac__type_new_ *) 0)
17233 if (sizeof (ac__type_new_))
17239 rm -f conftest.$ac_objext
17240 if { (ac_try="$ac_compile"
17241 case "(($ac_try" in
17242 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17243 *) ac_try_echo
=$ac_try;;
17245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17246 (eval "$ac_compile") 2>conftest.er1
17248 grep -v '^ *+' conftest.er1
>conftest.err
17250 cat conftest.err
>&5
17251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17252 (exit $ac_status); } && {
17253 test -z "$ac_c_werror_flag" ||
17254 test ! -s conftest.err
17255 } && test -s conftest.
$ac_objext; then
17256 ac_cv_type_request_sense
=yes
17258 echo "$as_me: failed program was:" >&5
17259 sed 's/^/| /' conftest.
$ac_ext >&5
17261 ac_cv_type_request_sense
=no
17264 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17266 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17267 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17268 if test $ac_cv_type_request_sense = yes; then
17270 cat >>confdefs.h
<<_ACEOF
17271 #define HAVE_REQUEST_SENSE 1
17278 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17279 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17280 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17281 echo $ECHO_N "(cached) $ECHO_C" >&6
17283 cat >conftest.
$ac_ext <<_ACEOF
17286 cat confdefs.h
>>conftest.
$ac_ext
17287 cat >>conftest.
$ac_ext <<_ACEOF
17288 /* end confdefs.h. */
17289 #ifdef HAVE_LINUX_INPUT_H
17290 #include <linux/input.h>
17296 static struct ff_effect ac_aggr;
17297 if (ac_aggr.direction)
17303 rm -f conftest.
$ac_objext
17304 if { (ac_try
="$ac_compile"
17305 case "(($ac_try" in
17306 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17307 *) ac_try_echo=$ac_try;;
17309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17310 (eval "$ac_compile") 2>conftest.er1
17312 grep -v '^ *+' conftest.er1 >conftest.err
17314 cat conftest.err >&5
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); } && {
17317 test -z "$ac_c_werror_flag" ||
17318 test ! -s conftest.err
17319 } && test -s conftest.$ac_objext; then
17320 ac_cv_member_struct_ff_effect_direction=yes
17322 echo "$as_me: failed program was:" >&5
17323 sed 's/^/| /' conftest.$ac_ext >&5
17325 cat >conftest.$ac_ext <<_ACEOF
17328 cat confdefs.h >>conftest.$ac_ext
17329 cat >>conftest.$ac_ext <<_ACEOF
17330 /* end confdefs.h. */
17331 #ifdef HAVE_LINUX_INPUT_H
17332 #include <linux/input.h>
17338 static struct ff_effect ac_aggr;
17339 if (sizeof ac_aggr.direction)
17345 rm -f conftest.$ac_objext
17346 if { (ac_try="$ac_compile"
17347 case "(($ac_try" in
17348 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17349 *) ac_try_echo
=$ac_try;;
17351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17352 (eval "$ac_compile") 2>conftest.er1
17354 grep -v '^ *+' conftest.er1
>conftest.err
17356 cat conftest.err
>&5
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); } && {
17359 test -z "$ac_c_werror_flag" ||
17360 test ! -s conftest.err
17361 } && test -s conftest.
$ac_objext; then
17362 ac_cv_member_struct_ff_effect_direction
=yes
17364 echo "$as_me: failed program was:" >&5
17365 sed 's/^/| /' conftest.
$ac_ext >&5
17367 ac_cv_member_struct_ff_effect_direction
=no
17370 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17375 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17376 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17377 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17379 cat >>confdefs.h
<<_ACEOF
17380 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17387 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17388 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17389 if test "${wine_cv_have_sigaddset+set}" = set; then
17390 echo $ECHO_N "(cached) $ECHO_C" >&6
17392 cat >conftest.
$ac_ext <<_ACEOF
17395 cat confdefs.h
>>conftest.
$ac_ext
17396 cat >>conftest.
$ac_ext <<_ACEOF
17397 /* end confdefs.h. */
17398 #include <signal.h>
17402 sigset_t set; sigaddset(&set,SIGTERM);
17407 rm -f conftest.
$ac_objext conftest
$ac_exeext
17408 if { (ac_try
="$ac_link"
17409 case "(($ac_try" in
17410 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17411 *) ac_try_echo=$ac_try;;
17413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17414 (eval "$ac_link") 2>conftest.er1
17416 grep -v '^ *+' conftest.er1 >conftest.err
17418 cat conftest.err >&5
17419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17420 (exit $ac_status); } && {
17421 test -z "$ac_c_werror_flag" ||
17422 test ! -s conftest.err
17423 } && test -s conftest$ac_exeext &&
17424 $as_test_x conftest$ac_exeext; then
17425 wine_cv_have_sigaddset=yes
17427 echo "$as_me: failed program was:" >&5
17428 sed 's/^/| /' conftest.$ac_ext >&5
17430 wine_cv_have_sigaddset=no
17433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17434 conftest$ac_exeext conftest.$ac_ext
17436 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17437 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17438 if test "$wine_cv_have_sigaddset" = "yes"
17441 cat >>confdefs.h <<\_ACEOF
17442 #define HAVE_SIGADDSET 1
17448 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17449 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17450 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17451 echo $ECHO_N "(cached) $ECHO_C" >&6
17453 cat >conftest.$ac_ext <<_ACEOF
17456 cat confdefs.h >>conftest.$ac_ext
17457 cat >>conftest.$ac_ext <<_ACEOF
17458 /* end confdefs.h. */
17468 struct hostent *result;
17475 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17476 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17482 rm -f conftest.$ac_objext conftest$ac_exeext
17483 if { (ac_try="$ac_link"
17484 case "(($ac_try" in
17485 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17486 *) ac_try_echo
=$ac_try;;
17488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17489 (eval "$ac_link") 2>conftest.er1
17491 grep -v '^ *+' conftest.er1
>conftest.err
17493 cat conftest.err
>&5
17494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17495 (exit $ac_status); } && {
17496 test -z "$ac_c_werror_flag" ||
17497 test ! -s conftest.err
17498 } && test -s conftest
$ac_exeext &&
17499 $as_test_x conftest
$ac_exeext; then
17500 wine_cv_linux_gethostbyname_r_6
=yes
17502 echo "$as_me: failed program was:" >&5
17503 sed 's/^/| /' conftest.
$ac_ext >&5
17505 wine_cv_linux_gethostbyname_r_6
=no
17509 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17510 conftest
$ac_exeext conftest.
$ac_ext
17513 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17514 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17515 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17518 cat >>confdefs.h
<<\_ACEOF
17519 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17524 if test "$ac_cv_header_linux_joystick_h" = "yes"
17526 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17527 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17528 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17529 echo $ECHO_N "(cached) $ECHO_C" >&6
17531 cat >conftest.
$ac_ext <<_ACEOF
17534 cat confdefs.h
>>conftest.
$ac_ext
17535 cat >>conftest.
$ac_ext <<_ACEOF
17536 /* end confdefs.h. */
17538 #include <sys/ioctl.h>
17539 #include <linux/joystick.h>
17541 struct js_event blub;
17542 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17543 #error "no 2.2 header"
17554 rm -f conftest.
$ac_objext
17555 if { (ac_try
="$ac_compile"
17556 case "(($ac_try" in
17557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17558 *) ac_try_echo=$ac_try;;
17560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17561 (eval "$ac_compile") 2>conftest.er1
17563 grep -v '^ *+' conftest.er1 >conftest.err
17565 cat conftest.err >&5
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); } && {
17568 test -z "$ac_c_werror_flag" ||
17569 test ! -s conftest.err
17570 } && test -s conftest.$ac_objext; then
17571 wine_cv_linux_joystick_22_api=yes
17573 echo "$as_me: failed program was:" >&5
17574 sed 's/^/| /' conftest.$ac_ext >&5
17576 wine_cv_linux_joystick_22_api=no
17579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17582 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17583 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17584 if test "$wine_cv_linux_joystick_22_api" = "yes"
17587 cat >>confdefs.h <<\_ACEOF
17588 #define HAVE_LINUX_22_JOYSTICK_API 1
17595 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17596 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17597 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17598 echo $ECHO_N "(cached) $ECHO_C" >&6
17600 cat >conftest.$ac_ext <<_ACEOF
17603 cat confdefs.h >>conftest.$ac_ext
17604 cat >>conftest.$ac_ext <<_ACEOF
17605 /* end confdefs.h. */
17606 #include <sys/types.h>
17607 #ifdef HAVE_SYS_PARAM_H
17608 # include <sys/param.h>
17610 #ifdef HAVE_SYS_MOUNT_H
17611 # include <sys/mount.h>
17613 #ifdef HAVE_SYS_VFS_H
17614 # include <sys/vfs.h>
17616 #ifdef HAVE_SYS_STATFS_H
17617 # include <sys/statfs.h>
17623 static struct statfs ac_aggr;
17624 if (ac_aggr.f_bfree)
17630 rm -f conftest.$ac_objext
17631 if { (ac_try="$ac_compile"
17632 case "(($ac_try" in
17633 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17634 *) ac_try_echo
=$ac_try;;
17636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17637 (eval "$ac_compile") 2>conftest.er1
17639 grep -v '^ *+' conftest.er1
>conftest.err
17641 cat conftest.err
>&5
17642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643 (exit $ac_status); } && {
17644 test -z "$ac_c_werror_flag" ||
17645 test ! -s conftest.err
17646 } && test -s conftest.
$ac_objext; then
17647 ac_cv_member_struct_statfs_f_bfree
=yes
17649 echo "$as_me: failed program was:" >&5
17650 sed 's/^/| /' conftest.
$ac_ext >&5
17652 cat >conftest.
$ac_ext <<_ACEOF
17655 cat confdefs.h
>>conftest.
$ac_ext
17656 cat >>conftest.
$ac_ext <<_ACEOF
17657 /* end confdefs.h. */
17658 #include <sys/types.h>
17659 #ifdef HAVE_SYS_PARAM_H
17660 # include <sys/param.h>
17662 #ifdef HAVE_SYS_MOUNT_H
17663 # include <sys/mount.h>
17665 #ifdef HAVE_SYS_VFS_H
17666 # include <sys/vfs.h>
17668 #ifdef HAVE_SYS_STATFS_H
17669 # include <sys/statfs.h>
17675 static struct statfs ac_aggr;
17676 if (sizeof ac_aggr.f_bfree)
17682 rm -f conftest.
$ac_objext
17683 if { (ac_try
="$ac_compile"
17684 case "(($ac_try" in
17685 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17686 *) ac_try_echo=$ac_try;;
17688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17689 (eval "$ac_compile") 2>conftest.er1
17691 grep -v '^ *+' conftest.er1 >conftest.err
17693 cat conftest.err >&5
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); } && {
17696 test -z "$ac_c_werror_flag" ||
17697 test ! -s conftest.err
17698 } && test -s conftest.$ac_objext; then
17699 ac_cv_member_struct_statfs_f_bfree=yes
17701 echo "$as_me: failed program was:" >&5
17702 sed 's/^/| /' conftest.$ac_ext >&5
17704 ac_cv_member_struct_statfs_f_bfree=no
17707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17712 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17713 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17714 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17716 cat >>confdefs.h <<_ACEOF
17717 #define HAVE_STRUCT_STATFS_F_BFREE 1
17722 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17723 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17724 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17725 echo $ECHO_N "(cached) $ECHO_C" >&6
17727 cat >conftest.$ac_ext <<_ACEOF
17730 cat confdefs.h >>conftest.$ac_ext
17731 cat >>conftest.$ac_ext <<_ACEOF
17732 /* end confdefs.h. */
17733 #include <sys/types.h>
17734 #ifdef HAVE_SYS_PARAM_H
17735 # include <sys/param.h>
17737 #ifdef HAVE_SYS_MOUNT_H
17738 # include <sys/mount.h>
17740 #ifdef HAVE_SYS_VFS_H
17741 # include <sys/vfs.h>
17743 #ifdef HAVE_SYS_STATFS_H
17744 # include <sys/statfs.h>
17750 static struct statfs ac_aggr;
17751 if (ac_aggr.f_bavail)
17757 rm -f conftest.$ac_objext
17758 if { (ac_try="$ac_compile"
17759 case "(($ac_try" in
17760 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17761 *) ac_try_echo
=$ac_try;;
17763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17764 (eval "$ac_compile") 2>conftest.er1
17766 grep -v '^ *+' conftest.er1
>conftest.err
17768 cat conftest.err
>&5
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); } && {
17771 test -z "$ac_c_werror_flag" ||
17772 test ! -s conftest.err
17773 } && test -s conftest.
$ac_objext; then
17774 ac_cv_member_struct_statfs_f_bavail
=yes
17776 echo "$as_me: failed program was:" >&5
17777 sed 's/^/| /' conftest.
$ac_ext >&5
17779 cat >conftest.
$ac_ext <<_ACEOF
17782 cat confdefs.h
>>conftest.
$ac_ext
17783 cat >>conftest.
$ac_ext <<_ACEOF
17784 /* end confdefs.h. */
17785 #include <sys/types.h>
17786 #ifdef HAVE_SYS_PARAM_H
17787 # include <sys/param.h>
17789 #ifdef HAVE_SYS_MOUNT_H
17790 # include <sys/mount.h>
17792 #ifdef HAVE_SYS_VFS_H
17793 # include <sys/vfs.h>
17795 #ifdef HAVE_SYS_STATFS_H
17796 # include <sys/statfs.h>
17802 static struct statfs ac_aggr;
17803 if (sizeof ac_aggr.f_bavail)
17809 rm -f conftest.
$ac_objext
17810 if { (ac_try
="$ac_compile"
17811 case "(($ac_try" in
17812 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17813 *) ac_try_echo=$ac_try;;
17815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17816 (eval "$ac_compile") 2>conftest.er1
17818 grep -v '^ *+' conftest.er1 >conftest.err
17820 cat conftest.err >&5
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); } && {
17823 test -z "$ac_c_werror_flag" ||
17824 test ! -s conftest.err
17825 } && test -s conftest.$ac_objext; then
17826 ac_cv_member_struct_statfs_f_bavail=yes
17828 echo "$as_me: failed program was:" >&5
17829 sed 's/^/| /' conftest.$ac_ext >&5
17831 ac_cv_member_struct_statfs_f_bavail=no
17834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17839 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17840 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17841 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17843 cat >>confdefs.h <<_ACEOF
17844 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17849 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17850 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17851 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17852 echo $ECHO_N "(cached) $ECHO_C" >&6
17854 cat >conftest.$ac_ext <<_ACEOF
17857 cat confdefs.h >>conftest.$ac_ext
17858 cat >>conftest.$ac_ext <<_ACEOF
17859 /* end confdefs.h. */
17860 #include <sys/types.h>
17861 #ifdef HAVE_SYS_PARAM_H
17862 # include <sys/param.h>
17864 #ifdef HAVE_SYS_MOUNT_H
17865 # include <sys/mount.h>
17867 #ifdef HAVE_SYS_VFS_H
17868 # include <sys/vfs.h>
17870 #ifdef HAVE_SYS_STATFS_H
17871 # include <sys/statfs.h>
17877 static struct statfs ac_aggr;
17878 if (ac_aggr.f_frsize)
17884 rm -f conftest.$ac_objext
17885 if { (ac_try="$ac_compile"
17886 case "(($ac_try" in
17887 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17888 *) ac_try_echo
=$ac_try;;
17890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17891 (eval "$ac_compile") 2>conftest.er1
17893 grep -v '^ *+' conftest.er1
>conftest.err
17895 cat conftest.err
>&5
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); } && {
17898 test -z "$ac_c_werror_flag" ||
17899 test ! -s conftest.err
17900 } && test -s conftest.
$ac_objext; then
17901 ac_cv_member_struct_statfs_f_frsize
=yes
17903 echo "$as_me: failed program was:" >&5
17904 sed 's/^/| /' conftest.
$ac_ext >&5
17906 cat >conftest.
$ac_ext <<_ACEOF
17909 cat confdefs.h
>>conftest.
$ac_ext
17910 cat >>conftest.
$ac_ext <<_ACEOF
17911 /* end confdefs.h. */
17912 #include <sys/types.h>
17913 #ifdef HAVE_SYS_PARAM_H
17914 # include <sys/param.h>
17916 #ifdef HAVE_SYS_MOUNT_H
17917 # include <sys/mount.h>
17919 #ifdef HAVE_SYS_VFS_H
17920 # include <sys/vfs.h>
17922 #ifdef HAVE_SYS_STATFS_H
17923 # include <sys/statfs.h>
17929 static struct statfs ac_aggr;
17930 if (sizeof ac_aggr.f_frsize)
17936 rm -f conftest.
$ac_objext
17937 if { (ac_try
="$ac_compile"
17938 case "(($ac_try" in
17939 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17940 *) ac_try_echo=$ac_try;;
17942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17943 (eval "$ac_compile") 2>conftest.er1
17945 grep -v '^ *+' conftest.er1 >conftest.err
17947 cat conftest.err >&5
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); } && {
17950 test -z "$ac_c_werror_flag" ||
17951 test ! -s conftest.err
17952 } && test -s conftest.$ac_objext; then
17953 ac_cv_member_struct_statfs_f_frsize=yes
17955 echo "$as_me: failed program was:" >&5
17956 sed 's/^/| /' conftest.$ac_ext >&5
17958 ac_cv_member_struct_statfs_f_frsize=no
17961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17966 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17967 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17968 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17970 cat >>confdefs.h <<_ACEOF
17971 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17976 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17977 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17978 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17979 echo $ECHO_N "(cached) $ECHO_C" >&6
17981 cat >conftest.$ac_ext <<_ACEOF
17984 cat confdefs.h >>conftest.$ac_ext
17985 cat >>conftest.$ac_ext <<_ACEOF
17986 /* end confdefs.h. */
17987 #include <sys/types.h>
17988 #ifdef HAVE_SYS_PARAM_H
17989 # include <sys/param.h>
17991 #ifdef HAVE_SYS_MOUNT_H
17992 # include <sys/mount.h>
17994 #ifdef HAVE_SYS_VFS_H
17995 # include <sys/vfs.h>
17997 #ifdef HAVE_SYS_STATFS_H
17998 # include <sys/statfs.h>
18004 static struct statfs ac_aggr;
18005 if (ac_aggr.f_ffree)
18011 rm -f conftest.$ac_objext
18012 if { (ac_try="$ac_compile"
18013 case "(($ac_try" in
18014 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18015 *) ac_try_echo
=$ac_try;;
18017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18018 (eval "$ac_compile") 2>conftest.er1
18020 grep -v '^ *+' conftest.er1
>conftest.err
18022 cat conftest.err
>&5
18023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18024 (exit $ac_status); } && {
18025 test -z "$ac_c_werror_flag" ||
18026 test ! -s conftest.err
18027 } && test -s conftest.
$ac_objext; then
18028 ac_cv_member_struct_statfs_f_ffree
=yes
18030 echo "$as_me: failed program was:" >&5
18031 sed 's/^/| /' conftest.
$ac_ext >&5
18033 cat >conftest.
$ac_ext <<_ACEOF
18036 cat confdefs.h
>>conftest.
$ac_ext
18037 cat >>conftest.
$ac_ext <<_ACEOF
18038 /* end confdefs.h. */
18039 #include <sys/types.h>
18040 #ifdef HAVE_SYS_PARAM_H
18041 # include <sys/param.h>
18043 #ifdef HAVE_SYS_MOUNT_H
18044 # include <sys/mount.h>
18046 #ifdef HAVE_SYS_VFS_H
18047 # include <sys/vfs.h>
18049 #ifdef HAVE_SYS_STATFS_H
18050 # include <sys/statfs.h>
18056 static struct statfs ac_aggr;
18057 if (sizeof ac_aggr.f_ffree)
18063 rm -f conftest.
$ac_objext
18064 if { (ac_try
="$ac_compile"
18065 case "(($ac_try" in
18066 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18067 *) ac_try_echo=$ac_try;;
18069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18070 (eval "$ac_compile") 2>conftest.er1
18072 grep -v '^ *+' conftest.er1 >conftest.err
18074 cat conftest.err >&5
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 (exit $ac_status); } && {
18077 test -z "$ac_c_werror_flag" ||
18078 test ! -s conftest.err
18079 } && test -s conftest.$ac_objext; then
18080 ac_cv_member_struct_statfs_f_ffree=yes
18082 echo "$as_me: failed program was:" >&5
18083 sed 's/^/| /' conftest.$ac_ext >&5
18085 ac_cv_member_struct_statfs_f_ffree=no
18088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18093 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18094 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18095 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18097 cat >>confdefs.h <<_ACEOF
18098 #define HAVE_STRUCT_STATFS_F_FFREE 1
18103 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18104 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18105 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18106 echo $ECHO_N "(cached) $ECHO_C" >&6
18108 cat >conftest.$ac_ext <<_ACEOF
18111 cat confdefs.h >>conftest.$ac_ext
18112 cat >>conftest.$ac_ext <<_ACEOF
18113 /* end confdefs.h. */
18114 #include <sys/types.h>
18115 #ifdef HAVE_SYS_PARAM_H
18116 # include <sys/param.h>
18118 #ifdef HAVE_SYS_MOUNT_H
18119 # include <sys/mount.h>
18121 #ifdef HAVE_SYS_VFS_H
18122 # include <sys/vfs.h>
18124 #ifdef HAVE_SYS_STATFS_H
18125 # include <sys/statfs.h>
18131 static struct statfs ac_aggr;
18132 if (ac_aggr.f_favail)
18138 rm -f conftest.$ac_objext
18139 if { (ac_try="$ac_compile"
18140 case "(($ac_try" in
18141 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18142 *) ac_try_echo
=$ac_try;;
18144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18145 (eval "$ac_compile") 2>conftest.er1
18147 grep -v '^ *+' conftest.er1
>conftest.err
18149 cat conftest.err
>&5
18150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18151 (exit $ac_status); } && {
18152 test -z "$ac_c_werror_flag" ||
18153 test ! -s conftest.err
18154 } && test -s conftest.
$ac_objext; then
18155 ac_cv_member_struct_statfs_f_favail
=yes
18157 echo "$as_me: failed program was:" >&5
18158 sed 's/^/| /' conftest.
$ac_ext >&5
18160 cat >conftest.
$ac_ext <<_ACEOF
18163 cat confdefs.h
>>conftest.
$ac_ext
18164 cat >>conftest.
$ac_ext <<_ACEOF
18165 /* end confdefs.h. */
18166 #include <sys/types.h>
18167 #ifdef HAVE_SYS_PARAM_H
18168 # include <sys/param.h>
18170 #ifdef HAVE_SYS_MOUNT_H
18171 # include <sys/mount.h>
18173 #ifdef HAVE_SYS_VFS_H
18174 # include <sys/vfs.h>
18176 #ifdef HAVE_SYS_STATFS_H
18177 # include <sys/statfs.h>
18183 static struct statfs ac_aggr;
18184 if (sizeof ac_aggr.f_favail)
18190 rm -f conftest.
$ac_objext
18191 if { (ac_try
="$ac_compile"
18192 case "(($ac_try" in
18193 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18194 *) ac_try_echo=$ac_try;;
18196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18197 (eval "$ac_compile") 2>conftest.er1
18199 grep -v '^ *+' conftest.er1 >conftest.err
18201 cat conftest.err >&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); } && {
18204 test -z "$ac_c_werror_flag" ||
18205 test ! -s conftest.err
18206 } && test -s conftest.$ac_objext; then
18207 ac_cv_member_struct_statfs_f_favail=yes
18209 echo "$as_me: failed program was:" >&5
18210 sed 's/^/| /' conftest.$ac_ext >&5
18212 ac_cv_member_struct_statfs_f_favail=no
18215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18220 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18221 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18222 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18224 cat >>confdefs.h <<_ACEOF
18225 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18230 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18231 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18232 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18233 echo $ECHO_N "(cached) $ECHO_C" >&6
18235 cat >conftest.$ac_ext <<_ACEOF
18238 cat confdefs.h >>conftest.$ac_ext
18239 cat >>conftest.$ac_ext <<_ACEOF
18240 /* end confdefs.h. */
18241 #include <sys/types.h>
18242 #ifdef HAVE_SYS_PARAM_H
18243 # include <sys/param.h>
18245 #ifdef HAVE_SYS_MOUNT_H
18246 # include <sys/mount.h>
18248 #ifdef HAVE_SYS_VFS_H
18249 # include <sys/vfs.h>
18251 #ifdef HAVE_SYS_STATFS_H
18252 # include <sys/statfs.h>
18258 static struct statfs ac_aggr;
18259 if (ac_aggr.f_namelen)
18265 rm -f conftest.$ac_objext
18266 if { (ac_try="$ac_compile"
18267 case "(($ac_try" in
18268 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18269 *) ac_try_echo
=$ac_try;;
18271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18272 (eval "$ac_compile") 2>conftest.er1
18274 grep -v '^ *+' conftest.er1
>conftest.err
18276 cat conftest.err
>&5
18277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18278 (exit $ac_status); } && {
18279 test -z "$ac_c_werror_flag" ||
18280 test ! -s conftest.err
18281 } && test -s conftest.
$ac_objext; then
18282 ac_cv_member_struct_statfs_f_namelen
=yes
18284 echo "$as_me: failed program was:" >&5
18285 sed 's/^/| /' conftest.
$ac_ext >&5
18287 cat >conftest.
$ac_ext <<_ACEOF
18290 cat confdefs.h
>>conftest.
$ac_ext
18291 cat >>conftest.
$ac_ext <<_ACEOF
18292 /* end confdefs.h. */
18293 #include <sys/types.h>
18294 #ifdef HAVE_SYS_PARAM_H
18295 # include <sys/param.h>
18297 #ifdef HAVE_SYS_MOUNT_H
18298 # include <sys/mount.h>
18300 #ifdef HAVE_SYS_VFS_H
18301 # include <sys/vfs.h>
18303 #ifdef HAVE_SYS_STATFS_H
18304 # include <sys/statfs.h>
18310 static struct statfs ac_aggr;
18311 if (sizeof ac_aggr.f_namelen)
18317 rm -f conftest.
$ac_objext
18318 if { (ac_try
="$ac_compile"
18319 case "(($ac_try" in
18320 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18321 *) ac_try_echo=$ac_try;;
18323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18324 (eval "$ac_compile") 2>conftest.er1
18326 grep -v '^ *+' conftest.er1 >conftest.err
18328 cat conftest.err >&5
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); } && {
18331 test -z "$ac_c_werror_flag" ||
18332 test ! -s conftest.err
18333 } && test -s conftest.$ac_objext; then
18334 ac_cv_member_struct_statfs_f_namelen=yes
18336 echo "$as_me: failed program was:" >&5
18337 sed 's/^/| /' conftest.$ac_ext >&5
18339 ac_cv_member_struct_statfs_f_namelen=no
18342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18347 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18348 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18349 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18351 cat >>confdefs.h <<_ACEOF
18352 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18359 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18360 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18361 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18362 echo $ECHO_N "(cached) $ECHO_C" >&6
18364 cat >conftest.$ac_ext <<_ACEOF
18367 cat confdefs.h >>conftest.$ac_ext
18368 cat >>conftest.$ac_ext <<_ACEOF
18369 /* end confdefs.h. */
18370 #ifdef HAVE_SYS_STATVFS_H
18371 #include <sys/statvfs.h>
18377 static struct statvfs ac_aggr;
18378 if (ac_aggr.f_blocks)
18384 rm -f conftest.$ac_objext
18385 if { (ac_try="$ac_compile"
18386 case "(($ac_try" in
18387 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18388 *) ac_try_echo
=$ac_try;;
18390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18391 (eval "$ac_compile") 2>conftest.er1
18393 grep -v '^ *+' conftest.er1
>conftest.err
18395 cat conftest.err
>&5
18396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18397 (exit $ac_status); } && {
18398 test -z "$ac_c_werror_flag" ||
18399 test ! -s conftest.err
18400 } && test -s conftest.
$ac_objext; then
18401 ac_cv_member_struct_statvfs_f_blocks
=yes
18403 echo "$as_me: failed program was:" >&5
18404 sed 's/^/| /' conftest.
$ac_ext >&5
18406 cat >conftest.
$ac_ext <<_ACEOF
18409 cat confdefs.h
>>conftest.
$ac_ext
18410 cat >>conftest.
$ac_ext <<_ACEOF
18411 /* end confdefs.h. */
18412 #ifdef HAVE_SYS_STATVFS_H
18413 #include <sys/statvfs.h>
18419 static struct statvfs ac_aggr;
18420 if (sizeof ac_aggr.f_blocks)
18426 rm -f conftest.
$ac_objext
18427 if { (ac_try
="$ac_compile"
18428 case "(($ac_try" in
18429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18430 *) ac_try_echo=$ac_try;;
18432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18433 (eval "$ac_compile") 2>conftest.er1
18435 grep -v '^ *+' conftest.er1 >conftest.err
18437 cat conftest.err >&5
18438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18439 (exit $ac_status); } && {
18440 test -z "$ac_c_werror_flag" ||
18441 test ! -s conftest.err
18442 } && test -s conftest.$ac_objext; then
18443 ac_cv_member_struct_statvfs_f_blocks=yes
18445 echo "$as_me: failed program was:" >&5
18446 sed 's/^/| /' conftest.$ac_ext >&5
18448 ac_cv_member_struct_statvfs_f_blocks=no
18451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18456 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18457 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18458 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18460 cat >>confdefs.h <<_ACEOF
18461 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18468 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18469 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18470 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18471 echo $ECHO_N "(cached) $ECHO_C" >&6
18473 cat >conftest.$ac_ext <<_ACEOF
18476 cat confdefs.h >>conftest.$ac_ext
18477 cat >>conftest.$ac_ext <<_ACEOF
18478 /* end confdefs.h. */
18479 #include <sys/types.h>
18480 #ifdef HAVE_SYS_SOCKET_H
18481 # include <sys/socket.h>
18483 #ifdef HAVE_SYS_UN_H
18484 # include <sys/un.h>
18490 static struct msghdr ac_aggr;
18491 if (ac_aggr.msg_accrights)
18497 rm -f conftest.$ac_objext
18498 if { (ac_try="$ac_compile"
18499 case "(($ac_try" in
18500 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18501 *) ac_try_echo
=$ac_try;;
18503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18504 (eval "$ac_compile") 2>conftest.er1
18506 grep -v '^ *+' conftest.er1
>conftest.err
18508 cat conftest.err
>&5
18509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18510 (exit $ac_status); } && {
18511 test -z "$ac_c_werror_flag" ||
18512 test ! -s conftest.err
18513 } && test -s conftest.
$ac_objext; then
18514 ac_cv_member_struct_msghdr_msg_accrights
=yes
18516 echo "$as_me: failed program was:" >&5
18517 sed 's/^/| /' conftest.
$ac_ext >&5
18519 cat >conftest.
$ac_ext <<_ACEOF
18522 cat confdefs.h
>>conftest.
$ac_ext
18523 cat >>conftest.
$ac_ext <<_ACEOF
18524 /* end confdefs.h. */
18525 #include <sys/types.h>
18526 #ifdef HAVE_SYS_SOCKET_H
18527 # include <sys/socket.h>
18529 #ifdef HAVE_SYS_UN_H
18530 # include <sys/un.h>
18536 static struct msghdr ac_aggr;
18537 if (sizeof ac_aggr.msg_accrights)
18543 rm -f conftest.
$ac_objext
18544 if { (ac_try
="$ac_compile"
18545 case "(($ac_try" in
18546 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18547 *) ac_try_echo=$ac_try;;
18549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18550 (eval "$ac_compile") 2>conftest.er1
18552 grep -v '^ *+' conftest.er1 >conftest.err
18554 cat conftest.err >&5
18555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18556 (exit $ac_status); } && {
18557 test -z "$ac_c_werror_flag" ||
18558 test ! -s conftest.err
18559 } && test -s conftest.$ac_objext; then
18560 ac_cv_member_struct_msghdr_msg_accrights=yes
18562 echo "$as_me: failed program was:" >&5
18563 sed 's/^/| /' conftest.$ac_ext >&5
18565 ac_cv_member_struct_msghdr_msg_accrights=no
18568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18573 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18574 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18575 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18577 cat >>confdefs.h <<_ACEOF
18578 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18583 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18584 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18585 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18586 echo $ECHO_N "(cached) $ECHO_C" >&6
18588 cat >conftest.$ac_ext <<_ACEOF
18591 cat confdefs.h >>conftest.$ac_ext
18592 cat >>conftest.$ac_ext <<_ACEOF
18593 /* end confdefs.h. */
18594 #include <sys/types.h>
18595 #ifdef HAVE_SYS_SOCKET_H
18596 # include <sys/socket.h>
18598 #ifdef HAVE_SYS_UN_H
18599 # include <sys/un.h>
18605 static struct sockaddr ac_aggr;
18606 if (ac_aggr.sa_len)
18612 rm -f conftest.$ac_objext
18613 if { (ac_try="$ac_compile"
18614 case "(($ac_try" in
18615 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18616 *) ac_try_echo
=$ac_try;;
18618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18619 (eval "$ac_compile") 2>conftest.er1
18621 grep -v '^ *+' conftest.er1
>conftest.err
18623 cat conftest.err
>&5
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); } && {
18626 test -z "$ac_c_werror_flag" ||
18627 test ! -s conftest.err
18628 } && test -s conftest.
$ac_objext; then
18629 ac_cv_member_struct_sockaddr_sa_len
=yes
18631 echo "$as_me: failed program was:" >&5
18632 sed 's/^/| /' conftest.
$ac_ext >&5
18634 cat >conftest.
$ac_ext <<_ACEOF
18637 cat confdefs.h
>>conftest.
$ac_ext
18638 cat >>conftest.
$ac_ext <<_ACEOF
18639 /* end confdefs.h. */
18640 #include <sys/types.h>
18641 #ifdef HAVE_SYS_SOCKET_H
18642 # include <sys/socket.h>
18644 #ifdef HAVE_SYS_UN_H
18645 # include <sys/un.h>
18651 static struct sockaddr ac_aggr;
18652 if (sizeof ac_aggr.sa_len)
18658 rm -f conftest.
$ac_objext
18659 if { (ac_try
="$ac_compile"
18660 case "(($ac_try" in
18661 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18662 *) ac_try_echo=$ac_try;;
18664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18665 (eval "$ac_compile") 2>conftest.er1
18667 grep -v '^ *+' conftest.er1 >conftest.err
18669 cat conftest.err >&5
18670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18671 (exit $ac_status); } && {
18672 test -z "$ac_c_werror_flag" ||
18673 test ! -s conftest.err
18674 } && test -s conftest.$ac_objext; then
18675 ac_cv_member_struct_sockaddr_sa_len=yes
18677 echo "$as_me: failed program was:" >&5
18678 sed 's/^/| /' conftest.$ac_ext >&5
18680 ac_cv_member_struct_sockaddr_sa_len=no
18683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18688 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18689 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18690 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18692 cat >>confdefs.h <<_ACEOF
18693 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18698 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18699 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18700 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18701 echo $ECHO_N "(cached) $ECHO_C" >&6
18703 cat >conftest.$ac_ext <<_ACEOF
18706 cat confdefs.h >>conftest.$ac_ext
18707 cat >>conftest.$ac_ext <<_ACEOF
18708 /* end confdefs.h. */
18709 #include <sys/types.h>
18710 #ifdef HAVE_SYS_SOCKET_H
18711 # include <sys/socket.h>
18713 #ifdef HAVE_SYS_UN_H
18714 # include <sys/un.h>
18720 static struct sockaddr_un ac_aggr;
18721 if (ac_aggr.sun_len)
18727 rm -f conftest.$ac_objext
18728 if { (ac_try="$ac_compile"
18729 case "(($ac_try" in
18730 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18731 *) ac_try_echo
=$ac_try;;
18733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18734 (eval "$ac_compile") 2>conftest.er1
18736 grep -v '^ *+' conftest.er1
>conftest.err
18738 cat conftest.err
>&5
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); } && {
18741 test -z "$ac_c_werror_flag" ||
18742 test ! -s conftest.err
18743 } && test -s conftest.
$ac_objext; then
18744 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18746 echo "$as_me: failed program was:" >&5
18747 sed 's/^/| /' conftest.
$ac_ext >&5
18749 cat >conftest.
$ac_ext <<_ACEOF
18752 cat confdefs.h
>>conftest.
$ac_ext
18753 cat >>conftest.
$ac_ext <<_ACEOF
18754 /* end confdefs.h. */
18755 #include <sys/types.h>
18756 #ifdef HAVE_SYS_SOCKET_H
18757 # include <sys/socket.h>
18759 #ifdef HAVE_SYS_UN_H
18760 # include <sys/un.h>
18766 static struct sockaddr_un ac_aggr;
18767 if (sizeof ac_aggr.sun_len)
18773 rm -f conftest.
$ac_objext
18774 if { (ac_try
="$ac_compile"
18775 case "(($ac_try" in
18776 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18777 *) ac_try_echo=$ac_try;;
18779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18780 (eval "$ac_compile") 2>conftest.er1
18782 grep -v '^ *+' conftest.er1 >conftest.err
18784 cat conftest.err >&5
18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786 (exit $ac_status); } && {
18787 test -z "$ac_c_werror_flag" ||
18788 test ! -s conftest.err
18789 } && test -s conftest.$ac_objext; then
18790 ac_cv_member_struct_sockaddr_un_sun_len=yes
18792 echo "$as_me: failed program was:" >&5
18793 sed 's/^/| /' conftest.$ac_ext >&5
18795 ac_cv_member_struct_sockaddr_un_sun_len=no
18798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18803 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18804 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18805 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18807 cat >>confdefs.h <<_ACEOF
18808 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18815 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18816 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18817 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18818 echo $ECHO_N "(cached) $ECHO_C" >&6
18820 cat >conftest.$ac_ext <<_ACEOF
18823 cat confdefs.h >>conftest.$ac_ext
18824 cat >>conftest.$ac_ext <<_ACEOF
18825 /* end confdefs.h. */
18826 #include <sys/types.h>
18827 #ifdef HAVE_SCSI_SG_H
18828 #include <scsi/sg.h>
18834 static scsireq_t ac_aggr;
18841 rm -f conftest.$ac_objext
18842 if { (ac_try="$ac_compile"
18843 case "(($ac_try" in
18844 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18845 *) ac_try_echo
=$ac_try;;
18847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18848 (eval "$ac_compile") 2>conftest.er1
18850 grep -v '^ *+' conftest.er1
>conftest.err
18852 cat conftest.err
>&5
18853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18854 (exit $ac_status); } && {
18855 test -z "$ac_c_werror_flag" ||
18856 test ! -s conftest.err
18857 } && test -s conftest.
$ac_objext; then
18858 ac_cv_member_scsireq_t_cmd
=yes
18860 echo "$as_me: failed program was:" >&5
18861 sed 's/^/| /' conftest.
$ac_ext >&5
18863 cat >conftest.
$ac_ext <<_ACEOF
18866 cat confdefs.h
>>conftest.
$ac_ext
18867 cat >>conftest.
$ac_ext <<_ACEOF
18868 /* end confdefs.h. */
18869 #include <sys/types.h>
18870 #ifdef HAVE_SCSI_SG_H
18871 #include <scsi/sg.h>
18877 static scsireq_t ac_aggr;
18878 if (sizeof ac_aggr.cmd)
18884 rm -f conftest.
$ac_objext
18885 if { (ac_try
="$ac_compile"
18886 case "(($ac_try" in
18887 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18888 *) ac_try_echo=$ac_try;;
18890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18891 (eval "$ac_compile") 2>conftest.er1
18893 grep -v '^ *+' conftest.er1 >conftest.err
18895 cat conftest.err >&5
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); } && {
18898 test -z "$ac_c_werror_flag" ||
18899 test ! -s conftest.err
18900 } && test -s conftest.$ac_objext; then
18901 ac_cv_member_scsireq_t_cmd=yes
18903 echo "$as_me: failed program was:" >&5
18904 sed 's/^/| /' conftest.$ac_ext >&5
18906 ac_cv_member_scsireq_t_cmd=no
18909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18914 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18915 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18916 if test $ac_cv_member_scsireq_t_cmd = yes; then
18918 cat >>confdefs.h <<_ACEOF
18919 #define HAVE_SCSIREQ_T_CMD 1
18924 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18925 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18926 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18927 echo $ECHO_N "(cached) $ECHO_C" >&6
18929 cat >conftest.$ac_ext <<_ACEOF
18932 cat confdefs.h >>conftest.$ac_ext
18933 cat >>conftest.$ac_ext <<_ACEOF
18934 /* end confdefs.h. */
18935 #include <sys/types.h>
18936 #ifdef HAVE_SCSI_SG_H
18937 #include <scsi/sg.h>
18943 static sg_io_hdr_t ac_aggr;
18944 if (ac_aggr.interface_id)
18950 rm -f conftest.$ac_objext
18951 if { (ac_try="$ac_compile"
18952 case "(($ac_try" in
18953 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18954 *) ac_try_echo
=$ac_try;;
18956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18957 (eval "$ac_compile") 2>conftest.er1
18959 grep -v '^ *+' conftest.er1
>conftest.err
18961 cat conftest.err
>&5
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); } && {
18964 test -z "$ac_c_werror_flag" ||
18965 test ! -s conftest.err
18966 } && test -s conftest.
$ac_objext; then
18967 ac_cv_member_sg_io_hdr_t_interface_id
=yes
18969 echo "$as_me: failed program was:" >&5
18970 sed 's/^/| /' conftest.
$ac_ext >&5
18972 cat >conftest.
$ac_ext <<_ACEOF
18975 cat confdefs.h
>>conftest.
$ac_ext
18976 cat >>conftest.
$ac_ext <<_ACEOF
18977 /* end confdefs.h. */
18978 #include <sys/types.h>
18979 #ifdef HAVE_SCSI_SG_H
18980 #include <scsi/sg.h>
18986 static sg_io_hdr_t ac_aggr;
18987 if (sizeof ac_aggr.interface_id)
18993 rm -f conftest.
$ac_objext
18994 if { (ac_try
="$ac_compile"
18995 case "(($ac_try" in
18996 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18997 *) ac_try_echo=$ac_try;;
18999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19000 (eval "$ac_compile") 2>conftest.er1
19002 grep -v '^ *+' conftest.er1 >conftest.err
19004 cat conftest.err >&5
19005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19006 (exit $ac_status); } && {
19007 test -z "$ac_c_werror_flag" ||
19008 test ! -s conftest.err
19009 } && test -s conftest.$ac_objext; then
19010 ac_cv_member_sg_io_hdr_t_interface_id=yes
19012 echo "$as_me: failed program was:" >&5
19013 sed 's/^/| /' conftest.$ac_ext >&5
19015 ac_cv_member_sg_io_hdr_t_interface_id=no
19018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19023 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19024 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19025 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19027 cat >>confdefs.h <<_ACEOF
19028 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19035 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19036 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19037 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19038 echo $ECHO_N "(cached) $ECHO_C" >&6
19040 cat >conftest.$ac_ext <<_ACEOF
19043 cat confdefs.h >>conftest.$ac_ext
19044 cat >>conftest.$ac_ext <<_ACEOF
19045 /* end confdefs.h. */
19046 #include <signal.h>
19051 static siginfo_t ac_aggr;
19058 rm -f conftest.$ac_objext
19059 if { (ac_try="$ac_compile"
19060 case "(($ac_try" in
19061 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19062 *) ac_try_echo
=$ac_try;;
19064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19065 (eval "$ac_compile") 2>conftest.er1
19067 grep -v '^ *+' conftest.er1
>conftest.err
19069 cat conftest.err
>&5
19070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19071 (exit $ac_status); } && {
19072 test -z "$ac_c_werror_flag" ||
19073 test ! -s conftest.err
19074 } && test -s conftest.
$ac_objext; then
19075 ac_cv_member_siginfo_t_si_fd
=yes
19077 echo "$as_me: failed program was:" >&5
19078 sed 's/^/| /' conftest.
$ac_ext >&5
19080 cat >conftest.
$ac_ext <<_ACEOF
19083 cat confdefs.h
>>conftest.
$ac_ext
19084 cat >>conftest.
$ac_ext <<_ACEOF
19085 /* end confdefs.h. */
19086 #include <signal.h>
19091 static siginfo_t ac_aggr;
19092 if (sizeof ac_aggr.si_fd)
19098 rm -f conftest.
$ac_objext
19099 if { (ac_try
="$ac_compile"
19100 case "(($ac_try" in
19101 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19102 *) ac_try_echo=$ac_try;;
19104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19105 (eval "$ac_compile") 2>conftest.er1
19107 grep -v '^ *+' conftest.er1 >conftest.err
19109 cat conftest.err >&5
19110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19111 (exit $ac_status); } && {
19112 test -z "$ac_c_werror_flag" ||
19113 test ! -s conftest.err
19114 } && test -s conftest.$ac_objext; then
19115 ac_cv_member_siginfo_t_si_fd=yes
19117 echo "$as_me: failed program was:" >&5
19118 sed 's/^/| /' conftest.$ac_ext >&5
19120 ac_cv_member_siginfo_t_si_fd=no
19123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19128 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19129 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19130 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19132 cat >>confdefs.h <<_ACEOF
19133 #define HAVE_SIGINFO_T_SI_FD 1
19140 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19141 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19142 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19143 echo $ECHO_N "(cached) $ECHO_C" >&6
19145 cat >conftest.$ac_ext <<_ACEOF
19148 cat confdefs.h >>conftest.$ac_ext
19149 cat >>conftest.$ac_ext <<_ACEOF
19150 /* end confdefs.h. */
19151 #include <sys/types.h>
19152 #ifdef HAVE_SYS_MTIO_H
19153 #include <sys/mtio.h>
19159 static struct mtget ac_aggr;
19160 if (ac_aggr.mt_blksiz)
19166 rm -f conftest.$ac_objext
19167 if { (ac_try="$ac_compile"
19168 case "(($ac_try" in
19169 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19170 *) ac_try_echo
=$ac_try;;
19172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19173 (eval "$ac_compile") 2>conftest.er1
19175 grep -v '^ *+' conftest.er1
>conftest.err
19177 cat conftest.err
>&5
19178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19179 (exit $ac_status); } && {
19180 test -z "$ac_c_werror_flag" ||
19181 test ! -s conftest.err
19182 } && test -s conftest.
$ac_objext; then
19183 ac_cv_member_struct_mtget_mt_blksiz
=yes
19185 echo "$as_me: failed program was:" >&5
19186 sed 's/^/| /' conftest.
$ac_ext >&5
19188 cat >conftest.
$ac_ext <<_ACEOF
19191 cat confdefs.h
>>conftest.
$ac_ext
19192 cat >>conftest.
$ac_ext <<_ACEOF
19193 /* end confdefs.h. */
19194 #include <sys/types.h>
19195 #ifdef HAVE_SYS_MTIO_H
19196 #include <sys/mtio.h>
19202 static struct mtget ac_aggr;
19203 if (sizeof ac_aggr.mt_blksiz)
19209 rm -f conftest.
$ac_objext
19210 if { (ac_try
="$ac_compile"
19211 case "(($ac_try" in
19212 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19213 *) ac_try_echo=$ac_try;;
19215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19216 (eval "$ac_compile") 2>conftest.er1
19218 grep -v '^ *+' conftest.er1 >conftest.err
19220 cat conftest.err >&5
19221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19222 (exit $ac_status); } && {
19223 test -z "$ac_c_werror_flag" ||
19224 test ! -s conftest.err
19225 } && test -s conftest.$ac_objext; then
19226 ac_cv_member_struct_mtget_mt_blksiz=yes
19228 echo "$as_me: failed program was:" >&5
19229 sed 's/^/| /' conftest.$ac_ext >&5
19231 ac_cv_member_struct_mtget_mt_blksiz=no
19234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19239 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19240 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19241 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19243 cat >>confdefs.h <<_ACEOF
19244 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19249 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19250 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19251 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19252 echo $ECHO_N "(cached) $ECHO_C" >&6
19254 cat >conftest.$ac_ext <<_ACEOF
19257 cat confdefs.h >>conftest.$ac_ext
19258 cat >>conftest.$ac_ext <<_ACEOF
19259 /* end confdefs.h. */
19260 #include <sys/types.h>
19261 #ifdef HAVE_SYS_MTIO_H
19262 #include <sys/mtio.h>
19268 static struct mtget ac_aggr;
19269 if (ac_aggr.mt_gstat)
19275 rm -f conftest.$ac_objext
19276 if { (ac_try="$ac_compile"
19277 case "(($ac_try" in
19278 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19279 *) ac_try_echo
=$ac_try;;
19281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19282 (eval "$ac_compile") 2>conftest.er1
19284 grep -v '^ *+' conftest.er1
>conftest.err
19286 cat conftest.err
>&5
19287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19288 (exit $ac_status); } && {
19289 test -z "$ac_c_werror_flag" ||
19290 test ! -s conftest.err
19291 } && test -s conftest.
$ac_objext; then
19292 ac_cv_member_struct_mtget_mt_gstat
=yes
19294 echo "$as_me: failed program was:" >&5
19295 sed 's/^/| /' conftest.
$ac_ext >&5
19297 cat >conftest.
$ac_ext <<_ACEOF
19300 cat confdefs.h
>>conftest.
$ac_ext
19301 cat >>conftest.
$ac_ext <<_ACEOF
19302 /* end confdefs.h. */
19303 #include <sys/types.h>
19304 #ifdef HAVE_SYS_MTIO_H
19305 #include <sys/mtio.h>
19311 static struct mtget ac_aggr;
19312 if (sizeof ac_aggr.mt_gstat)
19318 rm -f conftest.
$ac_objext
19319 if { (ac_try
="$ac_compile"
19320 case "(($ac_try" in
19321 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19322 *) ac_try_echo=$ac_try;;
19324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19325 (eval "$ac_compile") 2>conftest.er1
19327 grep -v '^ *+' conftest.er1 >conftest.err
19329 cat conftest.err >&5
19330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331 (exit $ac_status); } && {
19332 test -z "$ac_c_werror_flag" ||
19333 test ! -s conftest.err
19334 } && test -s conftest.$ac_objext; then
19335 ac_cv_member_struct_mtget_mt_gstat=yes
19337 echo "$as_me: failed program was:" >&5
19338 sed 's/^/| /' conftest.$ac_ext >&5
19340 ac_cv_member_struct_mtget_mt_gstat=no
19343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19348 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19349 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19350 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19352 cat >>confdefs.h <<_ACEOF
19353 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19358 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19359 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19360 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19361 echo $ECHO_N "(cached) $ECHO_C" >&6
19363 cat >conftest.$ac_ext <<_ACEOF
19366 cat confdefs.h >>conftest.$ac_ext
19367 cat >>conftest.$ac_ext <<_ACEOF
19368 /* end confdefs.h. */
19369 #include <sys/types.h>
19370 #ifdef HAVE_SYS_MTIO_H
19371 #include <sys/mtio.h>
19377 static struct mtget ac_aggr;
19378 if (ac_aggr.mt_blkno)
19384 rm -f conftest.$ac_objext
19385 if { (ac_try="$ac_compile"
19386 case "(($ac_try" in
19387 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19388 *) ac_try_echo
=$ac_try;;
19390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19391 (eval "$ac_compile") 2>conftest.er1
19393 grep -v '^ *+' conftest.er1
>conftest.err
19395 cat conftest.err
>&5
19396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19397 (exit $ac_status); } && {
19398 test -z "$ac_c_werror_flag" ||
19399 test ! -s conftest.err
19400 } && test -s conftest.
$ac_objext; then
19401 ac_cv_member_struct_mtget_mt_blkno
=yes
19403 echo "$as_me: failed program was:" >&5
19404 sed 's/^/| /' conftest.
$ac_ext >&5
19406 cat >conftest.
$ac_ext <<_ACEOF
19409 cat confdefs.h
>>conftest.
$ac_ext
19410 cat >>conftest.
$ac_ext <<_ACEOF
19411 /* end confdefs.h. */
19412 #include <sys/types.h>
19413 #ifdef HAVE_SYS_MTIO_H
19414 #include <sys/mtio.h>
19420 static struct mtget ac_aggr;
19421 if (sizeof ac_aggr.mt_blkno)
19427 rm -f conftest.
$ac_objext
19428 if { (ac_try
="$ac_compile"
19429 case "(($ac_try" in
19430 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19431 *) ac_try_echo=$ac_try;;
19433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19434 (eval "$ac_compile") 2>conftest.er1
19436 grep -v '^ *+' conftest.er1 >conftest.err
19438 cat conftest.err >&5
19439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19440 (exit $ac_status); } && {
19441 test -z "$ac_c_werror_flag" ||
19442 test ! -s conftest.err
19443 } && test -s conftest.$ac_objext; then
19444 ac_cv_member_struct_mtget_mt_blkno=yes
19446 echo "$as_me: failed program was:" >&5
19447 sed 's/^/| /' conftest.$ac_ext >&5
19449 ac_cv_member_struct_mtget_mt_blkno=no
19452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19457 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19458 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19459 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19461 cat >>confdefs.h <<_ACEOF
19462 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19469 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19470 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19471 if test "${ac_cv_member_struct_option_name+set}" = set; then
19472 echo $ECHO_N "(cached) $ECHO_C" >&6
19474 cat >conftest.$ac_ext <<_ACEOF
19477 cat confdefs.h >>conftest.$ac_ext
19478 cat >>conftest.$ac_ext <<_ACEOF
19479 /* end confdefs.h. */
19480 #ifdef HAVE_GETOPT_H
19481 #include <getopt.h>
19487 static struct option ac_aggr;
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_option_name
=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 #ifdef HAVE_GETOPT_H
19523 #include <getopt.h>
19529 static struct option ac_aggr;
19530 if (sizeof ac_aggr.name)
19536 rm -f conftest.
$ac_objext
19537 if { (ac_try
="$ac_compile"
19538 case "(($ac_try" in
19539 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19540 *) ac_try_echo=$ac_try;;
19542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19543 (eval "$ac_compile") 2>conftest.er1
19545 grep -v '^ *+' conftest.er1 >conftest.err
19547 cat conftest.err >&5
19548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19549 (exit $ac_status); } && {
19550 test -z "$ac_c_werror_flag" ||
19551 test ! -s conftest.err
19552 } && test -s conftest.$ac_objext; then
19553 ac_cv_member_struct_option_name=yes
19555 echo "$as_me: failed program was:" >&5
19556 sed 's/^/| /' conftest.$ac_ext >&5
19558 ac_cv_member_struct_option_name=no
19561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19566 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19567 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19568 if test $ac_cv_member_struct_option_name = yes; then
19570 cat >>confdefs.h <<_ACEOF
19571 #define HAVE_STRUCT_OPTION_NAME 1
19578 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19579 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19580 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19581 echo $ECHO_N "(cached) $ECHO_C" >&6
19583 cat >conftest.$ac_ext <<_ACEOF
19586 cat confdefs.h >>conftest.$ac_ext
19587 cat >>conftest.$ac_ext <<_ACEOF
19588 /* end confdefs.h. */
19589 $ac_includes_default
19593 static struct stat ac_aggr;
19594 if (ac_aggr.st_blocks)
19600 rm -f conftest.$ac_objext
19601 if { (ac_try="$ac_compile"
19602 case "(($ac_try" in
19603 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19604 *) ac_try_echo
=$ac_try;;
19606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19607 (eval "$ac_compile") 2>conftest.er1
19609 grep -v '^ *+' conftest.er1
>conftest.err
19611 cat conftest.err
>&5
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); } && {
19614 test -z "$ac_c_werror_flag" ||
19615 test ! -s conftest.err
19616 } && test -s conftest.
$ac_objext; then
19617 ac_cv_member_struct_stat_st_blocks
=yes
19619 echo "$as_me: failed program was:" >&5
19620 sed 's/^/| /' conftest.
$ac_ext >&5
19622 cat >conftest.
$ac_ext <<_ACEOF
19625 cat confdefs.h
>>conftest.
$ac_ext
19626 cat >>conftest.
$ac_ext <<_ACEOF
19627 /* end confdefs.h. */
19628 $ac_includes_default
19632 static struct stat ac_aggr;
19633 if (sizeof ac_aggr.st_blocks)
19639 rm -f conftest.
$ac_objext
19640 if { (ac_try
="$ac_compile"
19641 case "(($ac_try" in
19642 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19643 *) ac_try_echo=$ac_try;;
19645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19646 (eval "$ac_compile") 2>conftest.er1
19648 grep -v '^ *+' conftest.er1 >conftest.err
19650 cat conftest.err >&5
19651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19652 (exit $ac_status); } && {
19653 test -z "$ac_c_werror_flag" ||
19654 test ! -s conftest.err
19655 } && test -s conftest.$ac_objext; then
19656 ac_cv_member_struct_stat_st_blocks=yes
19658 echo "$as_me: failed program was:" >&5
19659 sed 's/^/| /' conftest.$ac_ext >&5
19661 ac_cv_member_struct_stat_st_blocks=no
19664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19669 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19670 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19671 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19673 cat >>confdefs.h <<_ACEOF
19674 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19681 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19682 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19683 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19684 echo $ECHO_N "(cached) $ECHO_C" >&6
19686 cat >conftest.$ac_ext <<_ACEOF
19689 cat confdefs.h >>conftest.$ac_ext
19690 cat >>conftest.$ac_ext <<_ACEOF
19691 /* end confdefs.h. */
19692 #ifdef HAVE_SYS_TYPES_H
19693 #include <sys/types.h>
19695 #ifdef HAVE_NETINET_IN_H
19696 #include <netinet/in.h>
19702 static struct sockaddr_in6 ac_aggr;
19703 if (ac_aggr.sin6_scope_id)
19709 rm -f conftest.$ac_objext
19710 if { (ac_try="$ac_compile"
19711 case "(($ac_try" in
19712 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19713 *) ac_try_echo
=$ac_try;;
19715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19716 (eval "$ac_compile") 2>conftest.er1
19718 grep -v '^ *+' conftest.er1
>conftest.err
19720 cat conftest.err
>&5
19721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19722 (exit $ac_status); } && {
19723 test -z "$ac_c_werror_flag" ||
19724 test ! -s conftest.err
19725 } && test -s conftest.
$ac_objext; then
19726 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
19728 echo "$as_me: failed program was:" >&5
19729 sed 's/^/| /' conftest.
$ac_ext >&5
19731 cat >conftest.
$ac_ext <<_ACEOF
19734 cat confdefs.h
>>conftest.
$ac_ext
19735 cat >>conftest.
$ac_ext <<_ACEOF
19736 /* end confdefs.h. */
19737 #ifdef HAVE_SYS_TYPES_H
19738 #include <sys/types.h>
19740 #ifdef HAVE_NETINET_IN_H
19741 #include <netinet/in.h>
19747 static struct sockaddr_in6 ac_aggr;
19748 if (sizeof ac_aggr.sin6_scope_id)
19754 rm -f conftest.
$ac_objext
19755 if { (ac_try
="$ac_compile"
19756 case "(($ac_try" in
19757 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19758 *) ac_try_echo=$ac_try;;
19760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19761 (eval "$ac_compile") 2>conftest.er1
19763 grep -v '^ *+' conftest.er1 >conftest.err
19765 cat conftest.err >&5
19766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767 (exit $ac_status); } && {
19768 test -z "$ac_c_werror_flag" ||
19769 test ! -s conftest.err
19770 } && test -s conftest.$ac_objext; then
19771 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19773 echo "$as_me: failed program was:" >&5
19774 sed 's/^/| /' conftest.$ac_ext >&5
19776 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19784 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19785 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19786 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19788 cat >>confdefs.h <<_ACEOF
19789 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19796 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19797 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19798 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19799 echo $ECHO_N "(cached) $ECHO_C" >&6
19801 cat >conftest.$ac_ext <<_ACEOF
19804 cat confdefs.h >>conftest.$ac_ext
19805 cat >>conftest.$ac_ext <<_ACEOF
19806 /* end confdefs.h. */
19807 #ifdef HAVE_SYS_TYPES_H
19808 #include <sys/types.h>
19810 #ifdef HAVE_NETINET_IN_H
19811 # include <netinet/in.h>
19813 #ifdef HAVE_ARPA_NAMESER_H
19814 # include <arpa/nameser.h>
19820 static ns_msg ac_aggr;
19821 if (ac_aggr._msg_ptr)
19827 rm -f conftest.$ac_objext
19828 if { (ac_try="$ac_compile"
19829 case "(($ac_try" in
19830 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19831 *) ac_try_echo
=$ac_try;;
19833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19834 (eval "$ac_compile") 2>conftest.er1
19836 grep -v '^ *+' conftest.er1
>conftest.err
19838 cat conftest.err
>&5
19839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840 (exit $ac_status); } && {
19841 test -z "$ac_c_werror_flag" ||
19842 test ! -s conftest.err
19843 } && test -s conftest.
$ac_objext; then
19844 ac_cv_member_ns_msg__msg_ptr
=yes
19846 echo "$as_me: failed program was:" >&5
19847 sed 's/^/| /' conftest.
$ac_ext >&5
19849 cat >conftest.
$ac_ext <<_ACEOF
19852 cat confdefs.h
>>conftest.
$ac_ext
19853 cat >>conftest.
$ac_ext <<_ACEOF
19854 /* end confdefs.h. */
19855 #ifdef HAVE_SYS_TYPES_H
19856 #include <sys/types.h>
19858 #ifdef HAVE_NETINET_IN_H
19859 # include <netinet/in.h>
19861 #ifdef HAVE_ARPA_NAMESER_H
19862 # include <arpa/nameser.h>
19868 static ns_msg ac_aggr;
19869 if (sizeof ac_aggr._msg_ptr)
19875 rm -f conftest.
$ac_objext
19876 if { (ac_try
="$ac_compile"
19877 case "(($ac_try" in
19878 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19879 *) ac_try_echo=$ac_try;;
19881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19882 (eval "$ac_compile") 2>conftest.er1
19884 grep -v '^ *+' conftest.er1 >conftest.err
19886 cat conftest.err >&5
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); } && {
19889 test -z "$ac_c_werror_flag" ||
19890 test ! -s conftest.err
19891 } && test -s conftest.$ac_objext; then
19892 ac_cv_member_ns_msg__msg_ptr=yes
19894 echo "$as_me: failed program was:" >&5
19895 sed 's/^/| /' conftest.$ac_ext >&5
19897 ac_cv_member_ns_msg__msg_ptr=no
19900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19905 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19906 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19907 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19909 cat >>confdefs.h <<_ACEOF
19910 #define HAVE_NS_MSG__MSG_PTR 1
19917 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19918 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19919 if test "${ac_cv_have_timezone+set}" = set; then
19920 echo $ECHO_N "(cached) $ECHO_C" >&6
19922 cat >conftest.$ac_ext <<_ACEOF
19925 cat confdefs.h >>conftest.$ac_ext
19926 cat >>conftest.$ac_ext <<_ACEOF
19927 /* end confdefs.h. */
19937 rm -f conftest.$ac_objext conftest$ac_exeext
19938 if { (ac_try="$ac_link"
19939 case "(($ac_try" in
19940 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19941 *) ac_try_echo
=$ac_try;;
19943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19944 (eval "$ac_link") 2>conftest.er1
19946 grep -v '^ *+' conftest.er1
>conftest.err
19948 cat conftest.err
>&5
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); } && {
19951 test -z "$ac_c_werror_flag" ||
19952 test ! -s conftest.err
19953 } && test -s conftest
$ac_exeext &&
19954 $as_test_x conftest
$ac_exeext; then
19955 ac_cv_have_timezone
="yes"
19957 echo "$as_me: failed program was:" >&5
19958 sed 's/^/| /' conftest.
$ac_ext >&5
19960 ac_cv_have_timezone
="no"
19963 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19964 conftest
$ac_exeext conftest.
$ac_ext
19966 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19967 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19968 if test "$ac_cv_have_timezone" = "yes"
19971 cat >>confdefs.h
<<\_ACEOF
19972 #define HAVE_TIMEZONE 1
19976 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19977 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19978 if test "${ac_cv_have_daylight+set}" = set; then
19979 echo $ECHO_N "(cached) $ECHO_C" >&6
19981 cat >conftest.
$ac_ext <<_ACEOF
19984 cat confdefs.h
>>conftest.
$ac_ext
19985 cat >>conftest.
$ac_ext <<_ACEOF
19986 /* end confdefs.h. */
19996 rm -f conftest.
$ac_objext conftest
$ac_exeext
19997 if { (ac_try
="$ac_link"
19998 case "(($ac_try" in
19999 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20000 *) ac_try_echo=$ac_try;;
20002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20003 (eval "$ac_link") 2>conftest.er1
20005 grep -v '^ *+' conftest.er1 >conftest.err
20007 cat conftest.err >&5
20008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20009 (exit $ac_status); } && {
20010 test -z "$ac_c_werror_flag" ||
20011 test ! -s conftest.err
20012 } && test -s conftest$ac_exeext &&
20013 $as_test_x conftest$ac_exeext; then
20014 ac_cv_have_daylight="yes"
20016 echo "$as_me: failed program was:" >&5
20017 sed 's/^/| /' conftest.$ac_ext >&5
20019 ac_cv_have_daylight="no"
20022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20023 conftest$ac_exeext conftest.$ac_ext
20025 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20026 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20027 if test "$ac_cv_have_daylight" = "yes"
20030 cat >>confdefs.h <<\_ACEOF
20031 #define HAVE_DAYLIGHT 1
20038 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20039 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20040 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20041 echo $ECHO_N "(cached) $ECHO_C" >&6
20043 cat >conftest.$ac_ext <<_ACEOF
20046 cat confdefs.h >>conftest.$ac_ext
20047 cat >>conftest.$ac_ext <<_ACEOF
20048 /* end confdefs.h. */
20053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20054 $EGREP "yes" >/dev/null 2>&1; then
20055 ac_cv_cpp_def___i386__=yes
20057 ac_cv_cpp_def___i386__=no
20062 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20063 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20064 if test $ac_cv_cpp_def___i386__ = yes; then
20065 CFLAGS="$CFLAGS -D__i386__"
20066 LINTFLAGS="$LINTFLAGS -D__i386__"
20069 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20070 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20071 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20072 echo $ECHO_N "(cached) $ECHO_C" >&6
20074 cat >conftest.$ac_ext <<_ACEOF
20077 cat confdefs.h >>conftest.$ac_ext
20078 cat >>conftest.$ac_ext <<_ACEOF
20079 /* end confdefs.h. */
20084 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20085 $EGREP "yes" >/dev/null 2>&1; then
20086 ac_cv_cpp_def___x86_64__=yes
20088 ac_cv_cpp_def___x86_64__=no
20093 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20094 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20095 if test $ac_cv_cpp_def___x86_64__ = yes; then
20096 CFLAGS="$CFLAGS -D__x86_64__"
20097 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20100 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20101 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20102 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20103 echo $ECHO_N "(cached) $ECHO_C" >&6
20105 cat >conftest.$ac_ext <<_ACEOF
20108 cat confdefs.h >>conftest.$ac_ext
20109 cat >>conftest.$ac_ext <<_ACEOF
20110 /* end confdefs.h. */
20115 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20116 $EGREP "yes" >/dev/null 2>&1; then
20117 ac_cv_cpp_def___ALPHA__=yes
20119 ac_cv_cpp_def___ALPHA__=no
20124 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20125 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20126 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20127 CFLAGS="$CFLAGS -D__ALPHA__"
20128 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20131 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20132 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20133 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20134 echo $ECHO_N "(cached) $ECHO_C" >&6
20136 cat >conftest.$ac_ext <<_ACEOF
20139 cat confdefs.h >>conftest.$ac_ext
20140 cat >>conftest.$ac_ext <<_ACEOF
20141 /* end confdefs.h. */
20146 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20147 $EGREP "yes" >/dev/null 2>&1; then
20148 ac_cv_cpp_def___sparc__=yes
20150 ac_cv_cpp_def___sparc__=no
20155 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20156 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20157 if test $ac_cv_cpp_def___sparc__ = yes; then
20158 CFLAGS="$CFLAGS -D__sparc__"
20159 LINTFLAGS="$LINTFLAGS -D__sparc__"
20162 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20163 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20164 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20165 echo $ECHO_N "(cached) $ECHO_C" >&6
20167 cat >conftest.$ac_ext <<_ACEOF
20170 cat confdefs.h >>conftest.$ac_ext
20171 cat >>conftest.$ac_ext <<_ACEOF
20172 /* end confdefs.h. */
20173 #ifndef __powerpc__
20177 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20178 $EGREP "yes" >/dev/null 2>&1; then
20179 ac_cv_cpp_def___powerpc__=yes
20181 ac_cv_cpp_def___powerpc__=no
20186 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20187 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20188 if test $ac_cv_cpp_def___powerpc__ = yes; then
20189 CFLAGS="$CFLAGS -D__powerpc__"
20190 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20195 case $host_vendor in
20196 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20197 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20198 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20199 echo $ECHO_N "(cached) $ECHO_C" >&6
20201 cat >conftest.$ac_ext <<_ACEOF
20204 cat confdefs.h >>conftest.$ac_ext
20205 cat >>conftest.$ac_ext <<_ACEOF
20206 /* end confdefs.h. */
20211 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20212 $EGREP "yes" >/dev/null 2>&1; then
20213 ac_cv_cpp_def___sun__=yes
20215 ac_cv_cpp_def___sun__=no
20220 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20221 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20222 if test $ac_cv_cpp_def___sun__ = yes; then
20223 CFLAGS="$CFLAGS -D__sun__"
20224 LINTFLAGS="$LINTFLAGS -D__sun__"
20230 DEPENDENCIES="### Dependencies:
20235 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20237 \$(ALL_OBJS): \$(IDL_H_SRCS:.idl=.h)
20238 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20239 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20240 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20246 ac_config_commands="$ac_config_commands include/stamp-h"
20249 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20251 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20253 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20255 ac_config_commands="$ac_config_commands dlls/user32/resources"
20257 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20259 ac_config_commands="$ac_config_commands include/wine"
20262 MAKE_RULES=Make.rules
20265 MAKE_DLL_RULES=dlls/Makedll.rules
20268 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20271 MAKE_TEST_RULES=dlls/Maketest.rules
20274 MAKE_PROG_RULES=programs/Makeprog.rules
20277 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Makeimplib.rules dlls/Maketest.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/activeds/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/cabinet/tests/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/clusapi/Makefile dlls/comcat/Makefile dlls/comcat/tests/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/comdlg32/Makefile dlls/comdlg32/tests/Makefile dlls/compstui/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/cryptnet/Makefile dlls/ctl3d32/Makefile dlls/d3d8/Makefile dlls/d3d8/tests/Makefile dlls/d3d9/Makefile dlls/d3d9/tests/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/ddrawex/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput/tests/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dnsapi/Makefile dlls/dnsapi/tests/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi32/Makefile dlls/gdi32/tests/Makefile dlls/glu32/Makefile dlls/gphoto2.ds/Makefile dlls/hhctrl.ocx/Makefile dlls/hid/Makefile dlls/hlink/Makefile dlls/hlink/tests/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imaadp32.acm/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/infosoft/Makefile dlls/infosoft/tests/Makefile dlls/inseng/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel32/Makefile dlls/kernel32/tests/Makefile dlls/localspl/Makefile dlls/localspl/tests/Makefile dlls/lz32/Makefile dlls/lz32/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mciavi32/Makefile dlls/mcicda/Makefile dlls/mciseq/Makefile dlls/mciwave/Makefile dlls/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/mprapi/Makefile dlls/msacm32.drv/Makefile dlls/msacm32/Makefile dlls/msacm32/tests/Makefile dlls/msadp32.acm/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/mscoree/Makefile dlls/msdmo/Makefile dlls/msftedit/Makefile dlls/msg711.acm/Makefile dlls/mshtml/Makefile dlls/mshtml/tests/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys.ocx/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvfw32/Makefile dlls/msvidc32/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/msxml3/tests/Makefile dlls/nddeapi/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/ntdsapi/Makefile dlls/objsel/Makefile dlls/odbc32/Makefile dlls/odbccp32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli32/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr32/Makefile dlls/opengl32/Makefile dlls/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/pstorec/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/query/Makefile dlls/rasapi32/Makefile dlls/resutils/Makefile dlls/riched20/Makefile dlls/riched20/tests/Makefile dlls/riched32/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/sane.ds/Makefile dlls/secur32/Makefile dlls/secur32/tests/Makefile dlls/security/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/setupapi/tests/Makefile dlls/sfc/Makefile dlls/shdoclc/Makefile dlls/shdocvw/Makefile dlls/shdocvw/tests/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/spoolss/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/svrapi/Makefile dlls/tapi32/Makefile dlls/twain_32/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user32/Makefile dlls/user32/tests/Makefile dlls/userenv/Makefile dlls/usp10/Makefile dlls/usp10/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/uxtheme/tests/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/w32skrnl/Makefile dlls/winecrt0/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/winemp3.acm/Makefile dlls/wineps.drv/Makefile dlls/winequartz.drv/Makefile dlls/winex11.drv/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/tests/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winecoreaudio/Makefile dlls/winmm/wineesd/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls32/Makefile dlls/winspool.drv/Makefile dlls/winspool.drv/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wintrust/tests/Makefile dlls/wldap32/Makefile dlls/wnaspi32/Makefile dlls/wow32/Makefile dlls/ws2_32/Makefile dlls/ws2_32/tests/Makefile dlls/wsock32/Makefile dlls/wtsapi32/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/clock/Makefile programs/cmd/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/eject/Makefile programs/expand/Makefile programs/explorer/Makefile programs/hh/Makefile programs/icinfo/Makefile programs/iexplore/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/oleview/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile programs/wordpad/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
20280 cat >confcache <<\_ACEOF
20281 # This file is a shell script that caches the results of configure
20282 # tests run on this system so they can be shared between configure
20283 # scripts and configure runs, see configure's option --config-cache.
20284 # It is not useful on other systems. If it contains results you don't
20285 # want to keep, you may remove or edit it.
20287 # config.status only pays attention to the cache file if you give it
20288 # the --recheck option to rerun configure.
20290 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
20291 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20292 # following values.
20296 # The following way of writing the cache mishandles newlines in values,
20297 # but we know of no workaround that is simple, portable, and efficient.
20298 # So, we kill variables containing newlines.
20299 # Ultrix sh set writes to stderr and can't be redirected directly,
20300 # and sets the high bit in the cache file unless we assign to the vars.
20302 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20303 eval ac_val
=\$
$ac_var
20307 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20308 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20311 _ | IFS | as_nl
) ;; #(
20312 *) $as_unset $ac_var ;;
20318 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20319 *${as_nl}ac_space
=\
*)
20320 # `set' does not quote correctly, so add quotes (double-quote
20321 # substitution turns \\\\ into \\, and sed turns \\ into \).
20324 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20327 # `set' quotes correctly as required by POSIX, so do not add quotes.
20328 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20337 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20339 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20341 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20342 if test -w "$cache_file"; then
20343 test "x$cache_file" != "x/dev/null" &&
20344 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20345 echo "$as_me: updating cache $cache_file" >&6;}
20346 cat confcache
>$cache_file
20348 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20349 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20354 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20355 # Let make expand exec_prefix.
20356 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20358 DEFS
=-DHAVE_CONFIG_H
20362 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20363 # 1. Remove the extension, and $U if already installed.
20364 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20365 ac_i
=`echo "$ac_i" | sed "$ac_script"`
20366 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20367 # will be set to the directory where LIBOBJS objects are built.
20368 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20369 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20371 LIBOBJS
=$ac_libobjs
20373 LTLIBOBJS
=$ac_ltlibobjs
20377 : ${CONFIG_STATUS=./config.status}
20378 ac_clean_files_save
=$ac_clean_files
20379 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20380 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20381 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20382 cat >$CONFIG_STATUS <<_ACEOF
20384 # Generated by $as_me.
20385 # Run this file to recreate the current configuration.
20386 # Compiler output produced by configure, useful for debugging
20387 # configure, is in config.log if it exists.
20390 ac_cs_recheck=false
20392 SHELL=\${CONFIG_SHELL-$SHELL}
20395 cat >>$CONFIG_STATUS <<\_ACEOF
20396 ## --------------------- ##
20397 ## M4sh Initialization. ##
20398 ## --------------------- ##
20400 # Be more Bourne compatible
20401 DUALCASE
=1; export DUALCASE
# for MKS sh
20402 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20405 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20406 # is contrary to our usage. Disable this feature.
20407 alias -g '${1+"$@"}'='"$@"'
20408 setopt NO_GLOB_SUBST
20410 case `(set -o) 2>/dev/null` in
20411 *posix
*) set -o posix
;;
20420 # Avoid depending upon Character Ranges.
20421 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20422 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20423 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20424 as_cr_digits
='0123456789'
20425 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20427 # The user is always right.
20428 if test "${PATH_SEPARATOR+set}" != set; then
20429 echo "#! /bin/sh" >conf$$.sh
20430 echo "exit 0" >>conf$$.sh
20432 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20440 # Support unset when possible.
20441 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20449 # We need space, tab and new line, in precisely that order. Quoting is
20450 # there to prevent editors from complaining about space-tab.
20451 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20452 # splitting by setting IFS to empty value.)
20457 # Find who we are. Look in the path if we contain no directory separator.
20459 *[\\/]* ) as_myself
=$0 ;;
20460 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20461 for as_dir
in $PATH
20464 test -z "$as_dir" && as_dir
=.
20465 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20471 # We did not find ourselves, most probably we were run as `sh COMMAND'
20472 # in which case we are not to be found in the path.
20473 if test "x$as_myself" = x
; then
20476 if test ! -f "$as_myself"; then
20477 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20478 { (exit 1); exit 1; }
20481 # Work around bugs in pre-3.0 UWIN ksh.
20482 for as_var
in ENV MAIL MAILPATH
20483 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20491 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20492 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20493 LC_TELEPHONE LC_TIME
20495 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20496 eval $as_var=C
; export $as_var
20498 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20502 # Required to use basename.
20503 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20504 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20510 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20511 as_basename
=basename
20517 # Name of the executable.
20518 as_me
=`$as_basename -- "$0" ||
20519 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20520 X"$0" : 'X\(//\)$' \| \
20521 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20523 sed '/^.*\/\([^/][^/]*\)\/*$/{
20542 as_lineno_1
=$LINENO
20543 as_lineno_2
=$LINENO
20544 test "x$as_lineno_1" != "x$as_lineno_2" &&
20545 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
20547 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20548 # uniformly replaced by the line number. The first 'sed' inserts a
20549 # line-number line after each line using $LINENO; the second 'sed'
20550 # does the real work. The second script uses 'N' to pair each
20551 # line-number line with the line containing $LINENO, and appends
20552 # trailing '-' during substitution so that $LINENO is not a special
20553 # case at line end.
20554 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20555 # scripts with optimization help from Paolo Bonzini. Blame Lee
20556 # E. McMahon (1931-1989) for sed's syntax. :-)
20568 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20571 ' >$as_me.lineno
&&
20572 chmod +x
"$as_me.lineno" ||
20573 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20574 { (exit 1); exit 1; }; }
20576 # Don't try to exec as it changes $[0], causing all sort of problems
20577 # (the dirname of $[0] is not the place where we might find the
20578 # original and so on. Autoconf is especially sensitive to this).
20579 .
"./$as_me.lineno"
20580 # Exit status is that of the last command.
20585 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20591 ECHO_C
= ECHO_N
= ECHO_T
=
20592 case `echo -n x` in
20594 case `echo 'x\c'` in
20595 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20602 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20603 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20609 rm -f conf$$ conf$$.exe conf$$.
file
20610 if test -d conf$$.dir
; then
20611 rm -f conf$$.dir
/conf$$.
file
20617 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20619 # ... but there are two gotchas:
20620 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20621 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20622 # In both cases, we have to default to `cp -p'.
20623 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20625 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20630 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20631 rmdir conf$$.dir
2>/dev
/null
20633 if mkdir
-p .
2>/dev
/null
; then
20636 test -d .
/-p && rmdir .
/-p
20640 if test -x / >/dev
/null
2>&1; then
20641 as_test_x
='test -x'
20643 if ls -dL / >/dev
/null
2>&1; then
20650 if test -d "$1"; then
20656 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20657 ???[sx]*):;;*)false;;esac;fi
20661 as_executable_p
=$as_test_x
20663 # Sed expression to map a string onto a valid CPP name.
20664 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20666 # Sed expression to map a string onto a valid variable name.
20667 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20672 # Save the log message, to keep $[0] and so on meaningful, and to
20673 # report actual input values of CONFIG_FILES etc. instead of their
20674 # values after options handling.
20676 This file was extended by Wine $as_me 0.9.28, which was
20677 generated by GNU Autoconf 2.61. Invocation command line was
20679 CONFIG_FILES = $CONFIG_FILES
20680 CONFIG_HEADERS = $CONFIG_HEADERS
20681 CONFIG_LINKS = $CONFIG_LINKS
20682 CONFIG_COMMANDS = $CONFIG_COMMANDS
20685 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20690 cat >>$CONFIG_STATUS <<_ACEOF
20691 # Files that config.status was made for.
20692 config_files="$ac_config_files"
20693 config_headers="$ac_config_headers"
20694 config_commands="$ac_config_commands"
20698 cat >>$CONFIG_STATUS <<\_ACEOF
20700 \`$as_me' instantiates files from templates according to the
20701 current configuration.
20703 Usage: $0 [OPTIONS] [FILE]...
20705 -h, --help print this help, then exit
20706 -V, --version print version number and configuration settings, then exit
20707 -q, --quiet do not print progress messages
20708 -d, --debug don't remove temporary files
20709 --recheck update $as_me by reconfiguring in the same conditions
20710 --file=FILE[:TEMPLATE]
20711 instantiate the configuration file FILE
20712 --header=FILE[:TEMPLATE]
20713 instantiate the configuration header FILE
20715 Configuration files:
20718 Configuration headers:
20721 Configuration commands:
20724 Report bugs to <bug-autoconf@gnu.org>."
20727 cat >>$CONFIG_STATUS <<_ACEOF
20729 Wine config.status 0.9.28
20730 configured by $0, generated by GNU Autoconf 2.61,
20731 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20733 Copyright (C) 2006 Free Software Foundation, Inc.
20734 This config.status script is free software; the Free Software Foundation
20735 gives unlimited permission to copy, distribute and modify it."
20742 cat >>$CONFIG_STATUS <<\_ACEOF
20743 # If no file are specified by the user, then we need to provide default
20744 # value. By we need to know if files were specified by the user.
20750 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20751 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20762 # Handling of the options.
20763 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20765 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20766 echo "$ac_cs_version"; exit ;;
20767 --debug |
--debu |
--deb |
--de |
--d |
-d )
20769 --file |
--fil |
--fi |
--f )
20771 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20772 ac_need_defaults
=false
;;
20773 --header |
--heade |
--head |
--hea )
20775 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20776 ac_need_defaults
=false
;;
20778 # Conflict between --help and --header
20779 { echo "$as_me: error: ambiguous option: $1
20780 Try \`$0 --help' for more information." >&2
20781 { (exit 1); exit 1; }; };;
20782 --help |
--hel |
-h )
20783 echo "$ac_cs_usage"; exit ;;
20784 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20785 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20788 # This is an error.
20789 -*) { echo "$as_me: error: unrecognized option: $1
20790 Try \`$0 --help' for more information." >&2
20791 { (exit 1); exit 1; }; } ;;
20793 *) ac_config_targets
="$ac_config_targets $1"
20794 ac_need_defaults
=false
;;
20800 ac_configure_extra_args
=
20802 if $ac_cs_silent; then
20804 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20808 cat >>$CONFIG_STATUS <<_ACEOF
20809 if \$ac_cs_recheck; then
20810 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20811 CONFIG_SHELL=$SHELL
20812 export CONFIG_SHELL
20813 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20817 cat >>$CONFIG_STATUS <<\_ACEOF
20821 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20822 ## Running $as_me. ##
20828 cat >>$CONFIG_STATUS <<_ACEOF
20831 cat >>$CONFIG_STATUS <<\_ACEOF
20833 # Handling of arguments.
20834 for ac_config_target
in $ac_config_targets
20836 case $ac_config_target in
20837 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
20838 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
20839 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
20840 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
20841 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
20842 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
20843 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
20844 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
20845 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
20846 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
20847 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
20848 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
20849 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
20850 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20851 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
20852 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
20853 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20854 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20855 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
20856 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
20857 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
20858 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
20859 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20860 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20861 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20862 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
20863 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20864 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
20865 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20866 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
20867 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
20868 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
20869 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20870 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20871 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
20872 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
20873 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
20874 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20875 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20876 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
20877 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
20878 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
20879 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
20880 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20881 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
20882 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20883 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
20884 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20885 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
20886 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20887 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
20888 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
20889 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20890 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20891 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20892 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
20893 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
20894 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
20895 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
20896 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20897 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
20898 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20899 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
20900 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20901 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20902 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20903 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20904 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20905 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20906 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
20907 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
20908 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
20909 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20910 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
20911 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20912 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
20913 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20914 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
20915 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
20916 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
20917 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
20918 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20919 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
20920 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
20921 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
20922 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
20923 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
20924 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
20925 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
20926 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
20927 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20928 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
20929 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20930 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
20931 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20932 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
20933 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
20934 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
20935 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
20936 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20937 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20938 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
20939 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
20940 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
20941 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
20942 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
20943 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
20944 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
20945 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20946 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
20947 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
20948 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
20949 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
20950 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
20951 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
20952 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
20953 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
20954 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20955 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20956 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
20957 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
20958 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
20959 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
20960 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
20961 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
20962 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
20963 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
20964 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
20965 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20966 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
20967 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
20968 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20969 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
20970 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
20971 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
20972 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20973 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
20974 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20975 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20976 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20977 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20978 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20979 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20980 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20981 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
20982 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
20983 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20984 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20985 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
20986 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
20987 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
20988 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
20989 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
20990 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
20991 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
20992 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
20993 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
20994 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
20995 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
20996 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
20997 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
20998 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
20999 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21000 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21001 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21002 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21003 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21004 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21005 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21006 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21007 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21008 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
21009 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21010 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21011 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
21012 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
21013 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21014 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
21015 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21016 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
21017 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
21018 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21019 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
21020 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21021 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21022 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21023 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21024 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21025 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21026 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21027 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
21028 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21029 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
21030 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21031 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
21032 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21033 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21034 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
21035 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21036 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21037 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21038 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
21039 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21040 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21041 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21042 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21043 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21044 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21045 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21046 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21047 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
21048 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21049 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21050 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21051 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21052 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
21053 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
21054 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21055 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21056 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
21057 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21058 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
21059 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
21060 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21061 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
21062 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21063 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21064 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21065 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21066 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
21067 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21068 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21069 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21070 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21071 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21072 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21073 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21074 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21075 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21076 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
21077 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21078 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21079 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21080 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21081 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
21082 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21083 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
21084 "dlls/winmm/joystick/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
21085 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21086 "dlls/winmm/winealsa/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
21087 "dlls/winmm/winearts/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
21088 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
21089 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
21090 "dlls/winmm/wineesd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
21091 "dlls/winmm/winejack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
21092 "dlls/winmm/winenas/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
21093 "dlls/winmm/wineoss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
21094 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21095 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21096 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21097 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21098 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21099 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21100 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21101 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21102 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
21103 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21104 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21105 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21106 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21107 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
21108 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
21109 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
21110 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
21111 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
21112 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
21113 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
21114 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
21115 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
21116 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
21117 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
21118 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21119 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
21120 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
21121 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
21122 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
21123 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
21124 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
21125 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
21126 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
21127 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
21128 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
21129 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
21130 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
21131 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21132 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
21133 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
21134 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
21135 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21136 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21137 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
21138 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
21139 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21140 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
21141 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21142 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
21143 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
21144 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21145 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
21146 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
21147 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
21148 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
21149 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
21150 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
21151 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
21152 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
21153 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
21154 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
21155 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
21156 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
21157 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
21158 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
21159 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
21161 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21162 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21163 { (exit 1); exit 1; }; };;
21168 # If the user did not use the arguments to specify the items to instantiate,
21169 # then the envvar interface is used. Set only those that are not.
21170 # We use the long form for the default assignment because of an extremely
21171 # bizarre bug on SunOS 4.1.3.
21172 if $ac_need_defaults; then
21173 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21174 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21175 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21178 # Have a temporary directory for convenience. Make it in the build tree
21179 # simply because there is no reason against having it here, and in addition,
21180 # creating and moving files from /tmp can sometimes cause problems.
21181 # Hook for its removal unless debugging.
21182 # Note that there is a small window in which the directory will not be cleaned:
21183 # after its creation but before its name has been assigned to `$tmp'.
21187 trap 'exit_status=$?
21188 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21190 trap '{ (exit 1); exit 1; }' 1 2 13 15
21192 # Create a (secure) tmp directory for tmp files.
21195 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21196 test -n "$tmp" && test -d "$tmp"
21199 tmp
=.
/conf$$
-$RANDOM
21200 (umask 077 && mkdir
"$tmp")
21203 echo "$me: cannot create a temporary directory in ." >&2
21204 { (exit 1); exit 1; }
21208 # Set up the sed scripts for CONFIG_FILES section.
21211 # No need to generate the scripts if there are no CONFIG_FILES.
21212 # This happens for instance when ./config.status config.h
21213 if test -n "$CONFIG_FILES"; then
21217 # Create sed commands to just substitute file output variables.
21219 # Remaining file output variables are in a fragment that also has non-file
21225 for ac_last_try
in false false false false false
:; do
21226 cat >conf$
$subs.
sed <<_ACEOF
21227 SHELL!$SHELL$ac_delim
21228 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21229 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21230 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21231 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21232 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21233 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21234 exec_prefix!$exec_prefix$ac_delim
21235 prefix!$prefix$ac_delim
21236 program_transform_name!$program_transform_name$ac_delim
21237 bindir!$bindir$ac_delim
21238 sbindir!$sbindir$ac_delim
21239 libexecdir!$libexecdir$ac_delim
21240 datarootdir!$datarootdir$ac_delim
21241 datadir!$datadir$ac_delim
21242 sysconfdir!$sysconfdir$ac_delim
21243 sharedstatedir!$sharedstatedir$ac_delim
21244 localstatedir!$localstatedir$ac_delim
21245 includedir!$includedir$ac_delim
21246 oldincludedir!$oldincludedir$ac_delim
21247 docdir!$docdir$ac_delim
21248 infodir!$infodir$ac_delim
21249 htmldir!$htmldir$ac_delim
21250 dvidir!$dvidir$ac_delim
21251 pdfdir!$pdfdir$ac_delim
21252 psdir!$psdir$ac_delim
21253 libdir!$libdir$ac_delim
21254 localedir!$localedir$ac_delim
21255 mandir!$mandir$ac_delim
21256 DEFS!$DEFS$ac_delim
21257 ECHO_C!$ECHO_C$ac_delim
21258 ECHO_N!$ECHO_N$ac_delim
21259 ECHO_T!$ECHO_T$ac_delim
21260 LIBS!$LIBS$ac_delim
21261 build_alias!$build_alias$ac_delim
21262 host_alias!$host_alias$ac_delim
21263 target_alias!$target_alias$ac_delim
21264 build!$build$ac_delim
21265 build_cpu!$build_cpu$ac_delim
21266 build_vendor!$build_vendor$ac_delim
21267 build_os!$build_os$ac_delim
21268 host!$host$ac_delim
21269 host_cpu!$host_cpu$ac_delim
21270 host_vendor!$host_vendor$ac_delim
21271 host_os!$host_os$ac_delim
21272 WIN16_FILES!$WIN16_FILES$ac_delim
21273 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21274 SET_MAKE!$SET_MAKE$ac_delim
21276 CFLAGS!$CFLAGS$ac_delim
21277 LDFLAGS!$LDFLAGS$ac_delim
21278 CPPFLAGS!$CPPFLAGS$ac_delim
21279 ac_ct_CC!$ac_ct_CC$ac_delim
21280 EXEEXT!$EXEEXT$ac_delim
21281 OBJEXT!$OBJEXT$ac_delim
21283 CXXFLAGS!$CXXFLAGS$ac_delim
21284 ac_ct_CXX!$ac_ct_CXX$ac_delim
21285 CPPBIN!$CPPBIN$ac_delim
21286 TOOLSDIR!$TOOLSDIR$ac_delim
21287 XMKMF!$XMKMF$ac_delim
21289 X_CFLAGS!$X_CFLAGS$ac_delim
21290 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
21291 X_LIBS!$X_LIBS$ac_delim
21292 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
21294 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
21295 LEXLIB!$LEXLIB$ac_delim
21296 XLEX!$XLEX$ac_delim
21297 BISON!$BISON$ac_delim
21299 ac_ct_AS!$ac_ct_AS$ac_delim
21302 RANLIB!$RANLIB$ac_delim
21303 STRIP!$STRIP$ac_delim
21304 WINDRES!$WINDRES$ac_delim
21305 LN_S!$LN_S$ac_delim
21307 GREP!$GREP$ac_delim
21308 EGREP!$EGREP$ac_delim
21311 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
21313 elif $ac_last_try; then
21314 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21315 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21316 { (exit 1); exit 1; }; }
21318 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21322 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21323 if test -n "$ac_eof"; then
21324 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21325 ac_eof
=`expr $ac_eof + 1`
21328 cat >>$CONFIG_STATUS <<_ACEOF
21329 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21330 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21331 /^[ ]*@MAKE_RULES@[ ]*$/{
21335 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
21339 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
21340 r $MAKE_IMPLIB_RULES
21343 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
21347 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
21353 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21354 s/^/s,@/; s/!/@,|#_!!_#|/
21357 s/'"$ac_delim"'$/,g/; t
21359 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21360 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21361 rm -f conf$
$subs.
sed
21362 cat >>$CONFIG_STATUS <<_ACEOF
21368 for ac_last_try
in false false false false false
:; do
21369 cat >conf$
$subs.
sed <<_ACEOF
21370 LDCONFIG!$LDCONFIG$ac_delim
21371 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21372 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21373 INSTALL_DATA!$INSTALL_DATA$ac_delim
21374 LINT!$LINT$ac_delim
21375 LINTFLAGS!$LINTFLAGS$ac_delim
21376 FONTFORGE!$FONTFORGE$ac_delim
21377 PKG_CONFIG!$PKG_CONFIG$ac_delim
21378 PRELINK!$PRELINK$ac_delim
21379 LIBPTHREAD!$LIBPTHREAD$ac_delim
21380 XLIB!$XLIB$ac_delim
21381 XFILES!$XFILES$ac_delim
21382 OPENGLFILES!$OPENGLFILES$ac_delim
21383 GLU32FILES!$GLU32FILES$ac_delim
21384 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
21385 QUARTZFILES!$QUARTZFILES$ac_delim
21386 NASLIBS!$NASLIBS$ac_delim
21387 XML2LIBS!$XML2LIBS$ac_delim
21388 XML2INCL!$XML2INCL$ac_delim
21389 XSLTLIBS!$XSLTLIBS$ac_delim
21390 XSLTINCL!$XSLTINCL$ac_delim
21391 HALINCL!$HALINCL$ac_delim
21392 sane_devel!$sane_devel$ac_delim
21393 SANELIBS!$SANELIBS$ac_delim
21394 SANEINCL!$SANEINCL$ac_delim
21395 gphoto2_devel!$gphoto2_devel$ac_delim
21396 gphoto2port_devel!$gphoto2port_devel$ac_delim
21397 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
21398 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
21399 ICULIBS!$ICULIBS$ac_delim
21400 RESOLVLIBS!$RESOLVLIBS$ac_delim
21401 LCMSLIBS!$LCMSLIBS$ac_delim
21402 LDAPLIBS!$LDAPLIBS$ac_delim
21403 FREETYPELIBS!$FREETYPELIBS$ac_delim
21404 FREETYPEINCL!$FREETYPEINCL$ac_delim
21405 ft_devel!$ft_devel$ac_delim
21406 ft_devel2!$ft_devel2$ac_delim
21407 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
21408 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
21409 ARTSLIBS!$ARTSLIBS$ac_delim
21410 ARTSINCL!$ARTSINCL$ac_delim
21411 ESDCONFIG!$ESDCONFIG$ac_delim
21412 ESDLIBS!$ESDLIBS$ac_delim
21413 ESDINCL!$ESDINCL$ac_delim
21414 ALSALIBS!$ALSALIBS$ac_delim
21415 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
21416 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
21417 BUILTINFLAG!$BUILTINFLAG$ac_delim
21418 DLLEXT!$DLLEXT$ac_delim
21419 DLLFLAGS!$DLLFLAGS$ac_delim
21420 LDSHARED!$LDSHARED$ac_delim
21421 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
21422 LIBEXT!$LIBEXT$ac_delim
21423 IMPLIBEXT!$IMPLIBEXT$ac_delim
21424 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
21425 DLLTOOL!$DLLTOOL$ac_delim
21426 DLLWRAP!$DLLWRAP$ac_delim
21427 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
21428 IOKITLIB!$IOKITLIB$ac_delim
21429 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
21430 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
21431 COREAUDIO!$COREAUDIO$ac_delim
21432 CARBONLIB!$CARBONLIB$ac_delim
21433 CROSSTEST!$CROSSTEST$ac_delim
21434 CROSSCC!$CROSSCC$ac_delim
21435 CROSSWINDRES!$CROSSWINDRES$ac_delim
21436 LDPATH!$LDPATH$ac_delim
21437 CRTLIBS!$CRTLIBS$ac_delim
21438 SOCKETLIBS!$SOCKETLIBS$ac_delim
21439 MAIN_BINARY!$MAIN_BINARY$ac_delim
21440 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
21442 LIBDL!$LIBDL$ac_delim
21443 LIBPOLL!$LIBPOLL$ac_delim
21444 DEPENDENCIES!$DEPENDENCIES$ac_delim
21445 LIBOBJS!$LIBOBJS$ac_delim
21446 LTLIBOBJS!$LTLIBOBJS$ac_delim
21449 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 77; then
21451 elif $ac_last_try; then
21452 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21453 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21454 { (exit 1); exit 1; }; }
21456 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21460 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21461 if test -n "$ac_eof"; then
21462 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21463 ac_eof
=`expr $ac_eof + 1`
21466 cat >>$CONFIG_STATUS <<_ACEOF
21467 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21468 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21471 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21472 s/^/s,@/; s/!/@,|#_!!_#|/
21475 s/'"$ac_delim"'$/,g/; t
21477 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21478 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21479 rm -f conf$
$subs.
sed
21480 cat >>$CONFIG_STATUS <<_ACEOF
21487 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21488 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21489 # trailing colons and then remove the whole line if VPATH becomes empty
21490 # (actually we leave an empty line to preserve line numbers).
21491 if test "x$srcdir" = x.
; then
21492 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
21493 s/:*\$(srcdir):*/:/
21494 s/:*\${srcdir}:*/:/
21496 s/^\([^=]*=[ ]*\):*/\1/
21502 cat >>$CONFIG_STATUS <<\_ACEOF
21503 fi # test -n "$CONFIG_FILES"
21506 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
21509 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21511 case $ac_mode$ac_tag in
21513 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21514 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
21515 { (exit 1); exit 1; }; };;
21516 :[FH
]-) ac_tag
=-:-;;
21517 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21534 -) ac_f
="$tmp/stdin";;
21535 *) # Look for the file first in the build tree, then in the source tree
21536 # (if the path is not absolute). The absolute path cannot be DOS-style,
21537 # because $ac_f cannot contain `:'.
21541 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21543 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21544 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21545 { (exit 1); exit 1; }; };;
21547 ac_file_inputs
="$ac_file_inputs $ac_f"
21550 # Let's still pretend it is `configure' which instantiates (i.e., don't
21551 # use $as_me), people would be surprised to read:
21552 # /* config.h. Generated by config.status. */
21553 configure_input
="Generated from "`IFS=:
21554 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
21555 if test x
"$ac_file" != x-
; then
21556 configure_input
="$ac_file. $configure_input"
21557 { echo "$as_me:$LINENO: creating $ac_file" >&5
21558 echo "$as_me: creating $ac_file" >&6;}
21562 *:-:* |
*:-) cat >"$tmp/stdin";;
21567 ac_dir
=`$as_dirname -- "$ac_file" ||
21568 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21569 X"$ac_file" : 'X\(//\)[^/]' \| \
21570 X"$ac_file" : 'X\(//\)$' \| \
21571 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21573 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21577 /^X\(\/\/\)[^/].*/{
21592 -*) as_dir
=.
/$as_dir;;
21594 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21598 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21599 *) as_qdir
=$as_dir;;
21601 as_dirs
="'$as_qdir' $as_dirs"
21602 as_dir
=`$as_dirname -- "$as_dir" ||
21603 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21604 X"$as_dir" : 'X\(//\)[^/]' \| \
21605 X"$as_dir" : 'X\(//\)$' \| \
21606 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21608 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21612 /^X\(\/\/\)[^/].*/{
21625 test -d "$as_dir" && break
21627 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21628 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21629 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21630 { (exit 1); exit 1; }; }; }
21634 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21636 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21637 # A ".." for each directory in $ac_dir_suffix.
21638 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
21639 case $ac_top_builddir_sub in
21640 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21641 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21644 ac_abs_top_builddir
=$ac_pwd
21645 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21646 # for backward compatibility:
21647 ac_top_builddir
=$ac_top_build_prefix
21650 .
) # We are building in place.
21652 ac_top_srcdir
=$ac_top_builddir_sub
21653 ac_abs_top_srcdir
=$ac_pwd ;;
21654 [\\/]* | ?
:[\\/]* ) # Absolute name.
21655 ac_srcdir
=$srcdir$ac_dir_suffix;
21656 ac_top_srcdir
=$srcdir
21657 ac_abs_top_srcdir
=$srcdir ;;
21658 *) # Relative name.
21659 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21660 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21661 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21663 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21673 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21674 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21678 cat >>$CONFIG_STATUS <<\_ACEOF
21679 # If the template does not know about datarootdir, expand it.
21680 # FIXME: This hack should be removed a few years after 2.60.
21681 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21683 case `sed -n '/datarootdir/ {
21692 ' $ac_file_inputs` in
21693 *datarootdir
*) ac_datarootdir_seen
=yes;;
21694 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21695 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21696 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21698 cat >>$CONFIG_STATUS <<_ACEOF
21699 ac_datarootdir_hack='
21700 s&@datadir@&$datadir&g
21701 s&@docdir@&$docdir&g
21702 s&@infodir@&$infodir&g
21703 s&@localedir@&$localedir&g
21704 s&@mandir@&$mandir&g
21705 s&\\\${datarootdir}&$datarootdir&g' ;;
21709 # Neutralize VPATH when `$srcdir' = `.'.
21710 # Shell code in configure.ac might set extrasub.
21711 # FIXME: do we really want to maintain this feature?
21712 cat >>$CONFIG_STATUS <<_ACEOF
21716 cat >>$CONFIG_STATUS <<\_ACEOF
21718 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21719 s
&@configure_input@
&$configure_input&;t t
21720 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21721 s
&@srcdir@
&$ac_srcdir&;t t
21722 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21723 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21724 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21725 s
&@builddir@
&$ac_builddir&;t t
21726 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21727 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21728 s
&@INSTALL@
&$ac_INSTALL&;t t
21729 $ac_datarootdir_hack
21730 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
21732 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21733 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
21734 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
21735 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21736 which seems to be undefined. Please make sure it is defined." >&5
21737 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21738 which seems to be undefined. Please make sure it is defined." >&2;}
21742 -) cat "$tmp/out"; rm -f "$tmp/out";;
21743 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21752 # Transform confdefs.h into a sed script `conftest.defines', that
21753 # substitutes the proper values into config.h.in to produce config.h.
21754 rm -f conftest.defines conftest.
tail
21755 # First, append a space to every undef/define line, to ease matching.
21756 echo 's/$/ /' >conftest.defines
21757 # Then, protect against being on the right side of a sed subst, or in
21758 # an unquoted here document, in config.status. If some macros were
21759 # called several times there might be several #defines for the same
21760 # symbol, which is useless. But do not sort them, since the last
21761 # AC_DEFINE must be honored.
21762 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
21763 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
21764 # NAME is the cpp macro being defined, VALUE is the value it is being given.
21765 # PARAMS is the parameter list in the macro definition--in most cases, it's
21766 # just an empty string.
21767 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
21768 ac_dB
='\\)[ (].*,\\1define\\2'
21776 s/^[ ]*#[ ]*define[ ][ ]*//
21781 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
21782 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
21783 ' >>conftest.defines
21785 # Remove the space that was appended to ease matching.
21786 # Then replace #undef with comments. This is necessary, for
21787 # example, in the case of _POSIX_SOURCE, which is predefined and required
21788 # on some systems where configure will not decide to define it.
21789 # (The regexp can be short, since the line contains either #define or #undef.)
21791 s,^[ #]*u.*,/* & */,' >>conftest.defines
21793 # Break up conftest.defines:
21794 ac_max_sed_lines
=50
21796 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
21797 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
21798 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
21800 ac_in
='$ac_file_inputs'
21801 ac_out
='"$tmp/out1"'
21802 ac_nxt
='"$tmp/out2"'
21806 # Write a here document:
21807 cat >>$CONFIG_STATUS <<_ACEOF
21808 # First, check the format of the line:
21809 cat >"\$tmp/defines.sed" <<\\CEOF
21810 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
21811 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21815 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
21817 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21818 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
21819 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
21820 grep . conftest.
tail >/dev
/null ||
break
21821 rm -f conftest.defines
21822 mv conftest.
tail conftest.defines
21824 rm -f conftest.defines conftest.
tail
21826 echo "ac_result=$ac_in" >>$CONFIG_STATUS
21827 cat >>$CONFIG_STATUS <<\_ACEOF
21828 if test x
"$ac_file" != x-
; then
21829 echo "/* $configure_input */" >"$tmp/config.h"
21830 cat "$ac_result" >>"$tmp/config.h"
21831 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
21832 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21833 echo "$as_me: $ac_file is unchanged" >&6;}
21836 mv "$tmp/config.h" $ac_file
21839 echo "/* $configure_input */"
21845 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
21846 echo "$as_me: executing $ac_file commands" >&6;}
21851 case $ac_file$ac_mode in
21852 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
21853 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
21854 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
21855 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
21856 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
21857 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
21858 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
21859 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
21860 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
21861 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
21862 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
21863 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
21864 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
21870 { (exit 0); exit 0; }
21872 chmod +x
$CONFIG_STATUS
21873 ac_clean_files
=$ac_clean_files_save
21876 # configure is writing to config.log, and then calls config.status.
21877 # config.status does its own redirection, appending to config.log.
21878 # Unfortunately, on DOS this fails, as config.log is still kept open
21879 # by configure, so config.status won't be able to write to it; its
21880 # output is simply discarded. So we exec the FD to /dev/null,
21881 # effectively closing config.log, so it can be properly (re)opened and
21882 # appended to by config.status. When coming back to configure, we
21883 # need to make the FD available again.
21884 if test "$no_create" != yes; then
21886 ac_config_status_args
=
21887 test "$silent" = yes &&
21888 ac_config_status_args
="$ac_config_status_args --quiet"
21890 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21892 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21893 # would make configure fail if this is the last instruction.
21894 $ac_cs_success ||
{ (exit 1); exit 1; }
21899 if test "$no_create" = "yes"
21904 if test "$verbose" = "yes"
21906 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
21909 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
21910 echo "$as_me: libcapi20 development files not found." >&6;}
21911 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
21912 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
21915 if test "$ac_cv_header_cups_cups_h" != "yes"
21918 { echo "$as_me:$LINENO: libcups development files not found." >&5
21919 echo "$as_me: libcups development files not found." >&6;}
21920 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
21921 echo "$as_me: Wine will be built without CUPS support." >&6;}
21925 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
21928 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
21929 echo "$as_me: libgphoto2 development files not found." >&6;}
21930 if test "$ac_cv_header_sane_sane_h" = "yes"
21932 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
21933 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
21935 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
21936 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
21940 if test "$ac_cv_header_hal_libhal_h" != "yes"
21943 { echo "$as_me:$LINENO: libhal development files not found." >&5
21944 echo "$as_me: libhal development files not found." >&6;}
21945 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
21946 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
21949 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
21952 { echo "$as_me:$LINENO: libicu development files not found." >&5
21953 echo "$as_me: libicu development files not found." >&6;}
21954 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
21955 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
21958 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
21961 { echo "$as_me:$LINENO: liblcms development files not found." >&5
21962 echo "$as_me: liblcms development files not found." >&6;}
21963 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
21964 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
21967 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
21970 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
21971 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
21972 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
21973 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
21976 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
21979 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
21980 echo "$as_me: lib(n)curses development files not found." >&6;}
21981 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
21982 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
21985 if test "$ac_cv_header_sane_sane_h" != "yes"
21988 { echo "$as_me:$LINENO: libsane development files not found." >&5
21989 echo "$as_me: libsane development files not found." >&6;}
21990 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
21991 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
21994 if test "$have_x" = "yes"
21996 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
21999 { echo "$as_me:$LINENO: libxext development files not found." >&5
22000 echo "$as_me: libxext development files not found." >&6;}
22001 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22002 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22005 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22008 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22009 echo "$as_me: libXrandr development files not found." >&6;}
22010 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22011 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22014 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22017 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22018 echo "$as_me: libXrender development files not found." >&6;}
22019 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22020 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22023 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22026 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22027 echo "$as_me: libXxf86vm development files not found." >&6;}
22028 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22029 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22033 if test "$ac_cv_header_libxml_parser_h" != "yes"
22036 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22037 echo "$as_me: libxml2 development files not found." >&6;}
22038 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22039 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22042 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22045 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22046 echo "$as_me: libxslt development files not found." >&6;}
22047 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22048 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22053 if test "$have_x" = "no"
22056 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22057 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22058 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22059 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22060 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22061 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22062 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22063 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22066 if test -z "$OPENGLFILES"
22069 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22070 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22071 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22072 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22073 if test "$wine_cv_opengl_headers_found" = "no"
22075 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22076 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22078 if test "$wine_cv_opengl_header_version_OK" = "no"
22080 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22081 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22082 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22084 if test -f /usr
/X11R
6/lib
/libGL.a
22086 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22087 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22088 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22089 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22091 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22092 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22097 if test "$wine_cv_msg_freetype" = "yes"
22100 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22101 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22102 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22103 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22104 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22105 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22106 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22107 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22110 if test -z "$FONTSSUBDIRS"
22113 if test "$FONTFORGE" = "false"
22115 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22116 echo "$as_me: WARNING: FontForge is missing." >&2;}
22118 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22119 echo "$as_me: WARNING: FreeType is missing." >&2;}
22121 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22122 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22125 if test -z "$ALSALIBS" -a \
22126 -z "$ARTSC_LIBS" -a \
22127 -z "$AUDIOIOLIBS" -a \
22129 -z "$ESD_LIBS" -a \
22130 -z "$ac_cv_lib_soname_jack" -a \
22131 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22132 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22133 "$ac_cv_header_soundcard_h" != "yes"
22136 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22137 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22138 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22139 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22140 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
22141 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22145 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."