2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60a for Wine 0.9.24.
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 Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
24 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
26 BIN_SH=xpg4; export BIN_SH # for Tru64
27 DUALCASE=1; export DUALCASE # for MKS sh
31 # Avoid depending upon Character Ranges.
32 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits='0123456789'
36 as_cr_alnum=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
43 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51 # Support unset when possible.
52 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
60 # We need space, tab and new line, in precisely that order. Quoting is
61 # there to prevent editors from complaining about space-tab.
62 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
63 # splitting by setting IFS to empty value.)
68 # Find who we are. Look in the path if we contain no directory separator.
70 *[\\/]* ) as_myself=$0 ;;
71 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
75 test -z "$as_dir" && as_dir=.
76 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 # We did not find ourselves, most probably we were run as `sh COMMAND'
83 # in which case we are not to be found in the path.
84 if test "x$as_myself" = x; then
87 if test ! -f "$as_myself"; then
88 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
92 # Work around bugs in pre-3.0 UWIN ksh.
93 for as_var in ENV MAIL MAILPATH
94 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
107 eval $as_var=C; export $as_var
109 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
113 # Required to use basename.
114 if expr a : '\(a\)' >/dev/null 2>&1 &&
115 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
128 # Name of the executable.
129 as_me=`$as_basename -- "$0" ||
130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
131 X"$0" : 'X\(//\)$' \| \
132 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
134 sed '/^.*\/\([^/][^/]*\)\/*$/{
152 if test "x$CONFIG_SHELL" = x; then
153 if (eval ":") 2>/dev/null; then
159 if test $as_have_required = yes && (eval ":
169 as_func_ret_success () {
172 as_func_ret_failure () {
177 if as_func_success; then
181 echo as_func_success failed.
184 if as_func_failure; then
186 echo as_func_failure succeeded.
189 if as_func_ret_success; then
193 echo as_func_ret_success failed.
196 if as_func_ret_failure; then
198 echo as_func_ret_failure succeeded.
201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 echo positional parameters were not saved.
208 test \$exitcode = 0) || { (exit 1); exit 1; }
213 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215 ") 2> /dev/null; then
219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
226 for as_base in sh bash ksh sh5; do
227 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
234 for as_shell in $as_candidate_shells $SHELL; do
235 # Try only shells that exist, to save several forks.
236 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
237 { ("$as_shell") 2> /dev/null <<\_ASEOF
238 # Be Bourne compatible
239 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
247 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
249 BIN_SH=xpg4; export BIN_SH # for Tru64
250 DUALCASE=1; export DUALCASE # for MKS sh
255 CONFIG_SHELL=$as_shell
257 if { "$as_shell" 2> /dev/null <<\_ASEOF
258 # Be Bourne compatible
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
269 BIN_SH=xpg4; export BIN_SH # for Tru64
270 DUALCASE=1; export DUALCASE # for MKS sh
282 as_func_ret_success () {
285 as_func_ret_failure () {
290 if as_func_success; then
294 echo as_func_success failed.
297 if as_func_failure; then
299 echo as_func_failure succeeded.
302 if as_func_ret_success; then
306 echo as_func_ret_success failed.
309 if as_func_ret_failure; then
311 echo as_func_ret_failure succeeded.
314 if ( set x; as_func_ret_success y && test x = "$1" ); then
318 echo positional parameters were not saved.
321 test $exitcode = 0) || { (exit 1); exit 1; }
326 test "x$as_lineno_1" != "x$as_lineno_2" &&
327 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
338 if test "x$CONFIG_SHELL" != x; then
339 for as_var in BASH_ENV ENV
340 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
343 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347 if test $as_have_required = no; then
348 echo This script requires a shell more modern than all the
349 echo shells that I found on your system. Please install a
350 echo modern shell, or manually run the script under such a
351 echo shell if you do have one.
352 { (exit 1); exit 1; }
362 (eval "as_func_return () {
371 as_func_ret_success () {
374 as_func_ret_failure () {
379 if as_func_success; then
383 echo as_func_success failed.
386 if as_func_failure; then
388 echo as_func_failure succeeded.
391 if as_func_ret_success; then
395 echo as_func_ret_success failed.
398 if as_func_ret_failure; then
400 echo as_func_ret_failure succeeded.
403 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
407 echo positional parameters were not saved.
410 test \$exitcode = 0") || {
411 echo No shell found that supports shell functions.
412 echo Please tell autoconf@gnu.org about your system,
413 echo including any error possibly output before this
421 test "x$as_lineno_1" != "x$as_lineno_2" &&
422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
424 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
425 # uniformly replaced by the line number. The first 'sed' inserts a
426 # line-number line after each line using $LINENO; the second 'sed'
427 # does the real work. The second script uses 'N' to pair each
428 # line-number line with the line containing $LINENO, and appends
429 # trailing '-' during substitution so that $LINENO is not a special
431 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
432 # scripts with optimization help from Paolo Bonzini. Blame Lee
433 # E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x "$as_me.lineno" ||
450 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
451 { (exit 1); exit 1; }; }
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
457 # Exit status is that of the last command.
462 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
468 ECHO_C= ECHO_N= ECHO_T=
472 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 if expr a : '\(a\)' >/dev/null 2>&1 &&
480 test "X`expr 00001 : '.*\(...\)'`" = X001; then
486 rm -f conf$$ conf$$.exe conf$$.file
487 if test -d conf$$.dir; then
488 rm -f conf$$.dir/conf$$.file
494 if ln -s conf$$.file conf$$ 2>/dev/null; then
496 # ... but there are two gotchas:
497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499 # In both cases, we have to default to `cp -p'.
500 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
502 elif ln conf$$.file conf$$ 2>/dev/null; then
507 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
508 rmdir conf$$.dir 2>/dev/null
510 if mkdir -p . 2>/dev/null; then
513 test -d ./-p && rmdir ./-p
517 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
518 # systems may use methods other than mode bits to determine executability.
519 cat >conf$$.file <<_ASEOF
524 if test -x conf$$.file >/dev/null 2>&1; then
525 as_executable_p="test -x"
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 exec 7<&0 </dev/null 6>&1
542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543 # so uname gets run too.
544 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
549 ac_default_prefix=/usr/local
551 ac_config_libobj_dir=.
557 SHELL=${CONFIG_SHELL-/bin/sh}
559 # Identity of this package.
561 PACKAGE_TARNAME='wine'
562 PACKAGE_VERSION='0.9.24'
563 PACKAGE_STRING='Wine 0.9.24'
564 PACKAGE_BUGREPORT='wine-devel@winehq.org'
566 ac_unique_file="server/atom.c"
567 # Factoring default headers for most tests.
568 ac_includes_default="\
571 # include <sys/types.h>
574 # include <sys/stat.h>
585 # if !STDC_HEADERS && HAVE_MEMORY_H
591 # include <strings.h>
594 # include <inttypes.h>
612 program_transform_name
764 ac_subst_files='MAKE_RULES
769 ac_precious_vars='build_alias
783 # Initialize some variables set by options.
785 ac_init_version=false
786 # The variables have the same names as the options, with
787 # dashes changed to underlines.
795 program_transform_name=s,x,x,
803 # Installation directory options.
804 # These are left unexpanded so users can "make install exec_prefix=/foo"
805 # and all the variables that are supposed to be based on exec_prefix
806 # by default will actually change.
807 # Use braces instead of parens because sh, perl, etc. also accept them.
808 # (The list follows the same order as the GNU Coding Standards.)
809 bindir='${exec_prefix}/bin'
810 sbindir='${exec_prefix}/sbin'
811 libexecdir='${exec_prefix}/libexec'
812 datarootdir='${prefix}/share'
813 datadir='${datarootdir}'
814 sysconfdir='${prefix}/etc'
815 sharedstatedir='${prefix}/com'
816 localstatedir='${prefix}/var'
817 includedir='${prefix}/include'
818 oldincludedir='/usr/include'
819 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
820 infodir='${datarootdir}/info'
825 libdir='${exec_prefix}/lib'
826 localedir='${datarootdir}/locale'
827 mandir='${datarootdir}/man'
833 # If the previous option needs an argument, assign it.
834 if test -n "$ac_prev"; then
835 eval $ac_prev=\$ac_option
841 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
845 # Accept the important Cygnus configure options, so we can diagnose typos.
847 case $ac_dashdash$ac_option in
851 -bindir | --bindir | --bindi | --bind | --bin | --bi)
853 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
856 -build | --build | --buil | --bui | --bu)
857 ac_prev=build_alias ;;
858 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
859 build_alias=$ac_optarg ;;
861 -cache-file | --cache-file | --cache-fil | --cache-fi \
862 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
863 ac_prev=cache_file ;;
864 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
865 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
866 cache_file=$ac_optarg ;;
869 cache_file=config.cache ;;
871 -datadir | --datadir | --datadi | --datad)
873 -datadir=* | --datadir=* | --datadi=* | --datad=*)
874 datadir=$ac_optarg ;;
876 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
877 | --dataroo | --dataro | --datar)
878 ac_prev=datarootdir ;;
879 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
880 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
881 datarootdir=$ac_optarg ;;
883 -disable-* | --disable-*)
884 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
885 # Reject names that are not valid shell variable names.
886 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
887 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
888 { (exit 1); exit 1; }; }
889 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
890 eval enable_$ac_feature=no ;;
892 -docdir | --docdir | --docdi | --doc | --do)
894 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
897 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
899 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
902 -enable-* | --enable-*)
903 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
904 # Reject names that are not valid shell variable names.
905 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
906 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
907 { (exit 1); exit 1; }; }
908 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
909 eval enable_$ac_feature=\$ac_optarg ;;
911 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
912 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
913 | --exec | --exe | --ex)
914 ac_prev=exec_prefix ;;
915 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
916 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
917 | --exec=* | --exe=* | --ex=*)
918 exec_prefix=$ac_optarg ;;
920 -gas | --gas | --ga | --g)
921 # Obsolete; use --with-gas.
924 -help | --help | --hel | --he | -h)
926 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
927 ac_init_help=recursive ;;
928 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
929 ac_init_help=short ;;
931 -host | --host | --hos | --ho)
932 ac_prev=host_alias ;;
933 -host=* | --host=* | --hos=* | --ho=*)
934 host_alias=$ac_optarg ;;
936 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
938 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
940 htmldir=$ac_optarg ;;
942 -includedir | --includedir | --includedi | --included | --include \
943 | --includ | --inclu | --incl | --inc)
944 ac_prev=includedir ;;
945 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
946 | --includ=* | --inclu=* | --incl=* | --inc=*)
947 includedir=$ac_optarg ;;
949 -infodir | --infodir | --infodi | --infod | --info | --inf)
951 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
952 infodir=$ac_optarg ;;
954 -libdir | --libdir | --libdi | --libd)
956 -libdir=* | --libdir=* | --libdi=* | --libd=*)
959 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
960 | --libexe | --libex | --libe)
961 ac_prev=libexecdir ;;
962 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
963 | --libexe=* | --libex=* | --libe=*)
964 libexecdir=$ac_optarg ;;
966 -localedir | --localedir | --localedi | --localed | --locale)
968 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
969 localedir=$ac_optarg ;;
971 -localstatedir | --localstatedir | --localstatedi | --localstated \
972 | --localstate | --localstat | --localsta | --localst | --locals)
973 ac_prev=localstatedir ;;
974 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
975 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
976 localstatedir=$ac_optarg ;;
978 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
980 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
984 # Obsolete; use --without-fp.
987 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
988 | --no-cr | --no-c | -n)
991 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
992 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
995 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
996 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
997 | --oldin | --oldi | --old | --ol | --o)
998 ac_prev=oldincludedir ;;
999 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1000 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1001 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1002 oldincludedir=$ac_optarg ;;
1004 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1006 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1007 prefix=$ac_optarg ;;
1009 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1010 | --program-pre | --program-pr | --program-p)
1011 ac_prev=program_prefix ;;
1012 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1013 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1014 program_prefix=$ac_optarg ;;
1016 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1017 | --program-suf | --program-su | --program-s)
1018 ac_prev=program_suffix ;;
1019 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1020 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1021 program_suffix=$ac_optarg ;;
1023 -program-transform-name | --program-transform-name \
1024 | --program-transform-nam | --program-transform-na \
1025 | --program-transform-n | --program-transform- \
1026 | --program-transform | --program-transfor \
1027 | --program-transfo | --program-transf \
1028 | --program-trans | --program-tran \
1029 | --progr-tra | --program-tr | --program-t)
1030 ac_prev=program_transform_name ;;
1031 -program-transform-name=* | --program-transform-name=* \
1032 | --program-transform-nam=* | --program-transform-na=* \
1033 | --program-transform-n=* | --program-transform-=* \
1034 | --program-transform=* | --program-transfor=* \
1035 | --program-transfo=* | --program-transf=* \
1036 | --program-trans=* | --program-tran=* \
1037 | --progr-tra=* | --program-tr=* | --program-t=*)
1038 program_transform_name=$ac_optarg ;;
1040 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1042 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1043 pdfdir=$ac_optarg ;;
1045 -psdir | --psdir | --psdi | --psd | --ps)
1047 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1050 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1051 | -silent | --silent | --silen | --sile | --sil)
1054 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1056 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1058 sbindir=$ac_optarg ;;
1060 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1061 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1062 | --sharedst | --shareds | --shared | --share | --shar \
1064 ac_prev=sharedstatedir ;;
1065 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1066 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1067 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1069 sharedstatedir=$ac_optarg ;;
1071 -site | --site | --sit)
1073 -site=* | --site=* | --sit=*)
1076 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1078 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1079 srcdir=$ac_optarg ;;
1081 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1082 | --syscon | --sysco | --sysc | --sys | --sy)
1083 ac_prev=sysconfdir ;;
1084 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1085 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1086 sysconfdir=$ac_optarg ;;
1088 -target | --target | --targe | --targ | --tar | --ta | --t)
1089 ac_prev=target_alias ;;
1090 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1091 target_alias=$ac_optarg ;;
1093 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1096 -version | --version | --versio | --versi | --vers | -V)
1097 ac_init_version=: ;;
1100 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1101 # Reject names that are not valid shell variable names.
1102 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1103 { echo "$as_me: error: invalid package name: $ac_package" >&2
1104 { (exit 1); exit 1; }; }
1105 ac_package=`echo $ac_package| sed 's/-/_/g'`
1106 eval with_$ac_package=\$ac_optarg ;;
1108 -without-* | --without-*)
1109 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1112 { echo "$as_me: error: invalid package name: $ac_package" >&2
1113 { (exit 1); exit 1; }; }
1114 ac_package=`echo $ac_package | sed 's/-/_/g'`
1115 eval with_$ac_package=no ;;
1118 # Obsolete; use --with-x.
1121 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1122 | --x-incl | --x-inc | --x-in | --x-i)
1123 ac_prev=x_includes ;;
1124 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1125 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1126 x_includes=$ac_optarg ;;
1128 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1129 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1130 ac_prev=x_libraries ;;
1131 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1132 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1133 x_libraries=$ac_optarg ;;
1135 -*) { echo "$as_me: error: unrecognized option: $ac_option
1136 Try \`$0 --help' for more information." >&2
1137 { (exit 1); exit 1; }; }
1141 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1142 # Reject names that are not valid shell variable names.
1143 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1144 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1145 { (exit 1); exit 1; }; }
1146 eval $ac_envvar=\$ac_optarg
1147 export $ac_envvar ;;
1150 # FIXME: should be removed in autoconf 3.0.
1151 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1152 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1153 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1154 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1160 if test -n "$ac_prev"; then
1161 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1162 { echo "$as_me: error: missing argument to $ac_option" >&2
1163 { (exit 1); exit 1; }; }
1166 # Be sure to have absolute directory names.
1167 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1168 datadir sysconfdir sharedstatedir localstatedir includedir \
1169 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1170 libdir localedir mandir
1172 eval ac_val=\$$ac_var
1174 [\\/$]* | ?:[\\/]* ) continue;;
1175 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1177 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1178 { (exit 1); exit 1; }; }
1181 # There might be people who depend on the old broken behavior: `$host'
1182 # used to hold the argument of --host etc.
1183 # FIXME: To remove some day.
1186 target=$target_alias
1188 # FIXME: To remove some day.
1189 if test "x$host_alias" != x; then
1190 if test "x$build_alias" = x; then
1191 cross_compiling=maybe
1192 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1193 If a cross compiler is detected then cross compile mode will be used." >&2
1194 elif test "x$build_alias" != "x$host_alias"; then
1200 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1202 test "$silent" = yes && exec 6>/dev/null
1205 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1206 ac_ls_di=`ls -di .` &&
1207 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1208 { echo "$as_me: error: Working directory cannot be determined" >&2
1209 { (exit 1); exit 1; }; }
1210 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1211 { echo "$as_me: error: pwd does not report name of working directory" >&2
1212 { (exit 1); exit 1; }; }
1215 # Find the source files, if location was not specified.
1216 if test -z "$srcdir"; then
1217 ac_srcdir_defaulted=yes
1218 # Try the directory containing this script, then the parent directory.
1219 ac_confdir=`$as_dirname -- "$0" ||
1220 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1221 X"$0" : 'X\(//\)[^/]' \| \
1222 X"$0" : 'X\(//\)$' \| \
1223 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1243 if test ! -r "$srcdir/$ac_unique_file"; then
1247 ac_srcdir_defaulted=no
1249 if test ! -r "$srcdir/$ac_unique_file"; then
1250 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1251 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1252 { (exit 1); exit 1; }; }
1254 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1256 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1257 { (exit 1); exit 1; }; }
1259 # When building in place, set srcdir=.
1260 if test "$ac_abs_confdir" = "$ac_pwd"; then
1263 # Remove unnecessary trailing slashes from srcdir.
1264 # Double slashes in file names in object file debugging info
1265 # mess up M-x gdb in Emacs.
1267 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1269 for ac_var in $ac_precious_vars; do
1270 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1271 eval ac_env_${ac_var}_value=\$${ac_var}
1272 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1273 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1277 # Report the --help message.
1279 if test "$ac_init_help" = "long"; then
1280 # Omit some internal or obsolete options to make the list less imposing.
1281 # This message is too long to be a string in the A/UX 3.1 sh.
1283 \`configure' configures Wine 0.9.24 to adapt to many kinds of systems.
1285 Usage: $0 [OPTION]... [VAR=VALUE]...
1287 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1288 VAR=VALUE. See below for descriptions of some of the useful variables.
1290 Defaults for the options are specified in brackets.
1293 -h, --help display this help and exit
1294 --help=short display options specific to this package
1295 --help=recursive display the short help of all the included packages
1296 -V, --version display version information and exit
1297 -q, --quiet, --silent do not print \`checking...' messages
1298 --cache-file=FILE cache test results in FILE [disabled]
1299 -C, --config-cache alias for \`--cache-file=config.cache'
1300 -n, --no-create do not create output files
1301 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1303 Installation directories:
1304 --prefix=PREFIX install architecture-independent files in PREFIX
1305 [$ac_default_prefix]
1306 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1309 By default, \`make install' will install all the files in
1310 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1311 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1312 for instance \`--prefix=\$HOME'.
1314 For better control, use the options below.
1316 Fine tuning of the installation directories:
1317 --bindir=DIR user executables [EPREFIX/bin]
1318 --sbindir=DIR system admin executables [EPREFIX/sbin]
1319 --libexecdir=DIR program executables [EPREFIX/libexec]
1320 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1321 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1322 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1323 --libdir=DIR object code libraries [EPREFIX/lib]
1324 --includedir=DIR C header files [PREFIX/include]
1325 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1326 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1327 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1328 --infodir=DIR info documentation [DATAROOTDIR/info]
1329 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1330 --mandir=DIR man documentation [DATAROOTDIR/man]
1331 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1332 --htmldir=DIR html documentation [DOCDIR]
1333 --dvidir=DIR dvi documentation [DOCDIR]
1334 --pdfdir=DIR pdf documentation [DOCDIR]
1335 --psdir=DIR ps documentation [DOCDIR]
1341 --x-includes=DIR X include files are in DIR
1342 --x-libraries=DIR X library files are in DIR
1345 --build=BUILD configure for building on BUILD [guessed]
1346 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1350 if test -n "$ac_init_help"; then
1351 case $ac_init_help in
1352 short | recursive ) echo "Configuration of Wine 0.9.24:";;
1357 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1358 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1359 --disable-win16 do not include Win16 support
1360 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1364 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1365 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1366 --without-opengl do not use OpenGL
1367 --without-curses do not use curses
1368 --with-wine-tools=<dir> use Wine tools from directory <dir>
1369 --with-x use the X Window System
1371 Some influential environment variables:
1372 CC C compiler command
1373 CFLAGS C compiler flags
1374 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1375 nonstandard directory <lib dir>
1376 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1377 you have headers in a nonstandard directory <include dir>
1378 CXX C++ compiler command
1379 CXXFLAGS C++ compiler flags
1380 XMKMF Path to xmkmf, Makefile generator for X Window System
1383 Use these variables to override the choices made by `configure' or to help
1384 it to find libraries and programs with nonstandard names/locations.
1386 Report bugs to <wine-devel@winehq.org>.
1391 if test "$ac_init_help" = "recursive"; then
1392 # If there are subdirs, report their specific --help.
1393 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1394 test -d "$ac_dir" || continue
1398 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1400 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1401 # A ".." for each directory in $ac_dir_suffix.
1402 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1403 case $ac_top_builddir_sub in
1404 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1405 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1408 ac_abs_top_builddir=$ac_pwd
1409 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1410 # for backward compatibility:
1411 ac_top_builddir=$ac_top_build_prefix
1414 .) # We are building in place.
1416 ac_top_srcdir=$ac_top_builddir_sub
1417 ac_abs_top_srcdir=$ac_pwd ;;
1418 [\\/]* | ?:[\\/]* ) # Absolute name.
1419 ac_srcdir=$srcdir$ac_dir_suffix;
1420 ac_top_srcdir=$srcdir
1421 ac_abs_top_srcdir=$srcdir ;;
1423 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1424 ac_top_srcdir=$ac_top_build_prefix$srcdir
1425 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1427 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1429 cd "$ac_dir" || { ac_status=$?; continue; }
1430 # Check for guested configure.
1431 if test -f "$ac_srcdir/configure.gnu"; then
1433 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1434 elif test -f "$ac_srcdir/configure"; then
1436 $SHELL "$ac_srcdir/configure" --help=recursive
1438 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1440 cd "$ac_pwd" || { ac_status=$?; break; }
1444 test -n "$ac_init_help" && exit $ac_status
1445 if $ac_init_version; then
1447 Wine configure 0.9.24
1448 generated by GNU Autoconf 2.60a
1450 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1451 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1452 This configure script is free software; the Free Software Foundation
1453 gives unlimited permission to copy, distribute and modify it.
1457 cat >config.log <<_ACEOF
1458 This file contains any messages produced by compilers while
1459 running configure, to aid debugging if configure makes a mistake.
1461 It was created by Wine $as_me 0.9.24, which was
1462 generated by GNU Autoconf 2.60a. Invocation command line was
1474 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1475 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1476 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1477 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1478 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1480 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1481 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1483 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1484 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1485 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1486 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1487 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1488 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1489 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1497 test -z "$as_dir" && as_dir=.
1498 echo "PATH: $as_dir"
1514 # Keep a trace of the command line.
1515 # Strip out --no-create and --no-recursion so they do not pile up.
1516 # Strip out --silent because we don't want to record it for future runs.
1517 # Also quote any args containing shell meta-characters.
1518 # Make two passes to allow for proper duplicate-argument suppression.
1522 ac_must_keep_next=false
1528 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1529 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1530 | -silent | --silent | --silen | --sile | --sil)
1533 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1536 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1538 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1539 if test $ac_must_keep_next = true; then
1540 ac_must_keep_next=false # Got value, back to normal.
1543 *=* | --config-cache | -C | -disable-* | --disable-* \
1544 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1545 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1546 | -with-* | --with-* | -without-* | --without-* | --x)
1547 case "$ac_configure_args0 " in
1548 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1551 -* ) ac_must_keep_next=true ;;
1554 ac_configure_args="$ac_configure_args '$ac_arg'"
1559 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1560 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1562 # When interrupted or exit'd, cleanup temporary files, and complete
1563 # config.log. We remove comments because anyway the quotes in there
1564 # would cause problems or look ugly.
1565 # WARNING: Use '\'' to represent an apostrophe within the trap.
1566 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1567 trap 'exit_status=$?
1568 # Save into config.log some information that might help in debugging.
1573 ## ---------------- ##
1574 ## Cache variables. ##
1575 ## ---------------- ##
1578 # The following way of writing the cache mishandles newlines in values,
1580 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1581 eval ac_val=\$$ac_var
1585 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1586 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1589 _ | IFS | as_nl) ;; #(
1590 *) $as_unset $ac_var ;;
1595 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1596 *${as_nl}ac_space=\ *)
1598 "s/'\''/'\''\\\\'\'''\''/g;
1599 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1602 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1610 ## ----------------- ##
1611 ## Output variables. ##
1612 ## ----------------- ##
1615 for ac_var in $ac_subst_vars
1617 eval ac_val=\$$ac_var
1619 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1621 echo "$ac_var='\''$ac_val'\''"
1625 if test -n "$ac_subst_files"; then
1627 ## ------------------- ##
1628 ## File substitutions. ##
1629 ## ------------------- ##
1632 for ac_var in $ac_subst_files
1634 eval ac_val=\$$ac_var
1636 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1638 echo "$ac_var='\''$ac_val'\''"
1643 if test -s confdefs.h; then
1653 test "$ac_signal" != 0 &&
1654 echo "$as_me: caught signal $ac_signal"
1655 echo "$as_me: exit $exit_status"
1657 rm -f core *.core core.conftest.* &&
1658 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1661 for ac_signal in 1 2 13 15; do
1662 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1666 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1667 rm -f -r conftest* confdefs.h
1669 # Predefined preprocessor variables.
1671 cat >>confdefs.h <<_ACEOF
1672 #define PACKAGE_NAME "$PACKAGE_NAME"
1676 cat >>confdefs.h <<_ACEOF
1677 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1681 cat >>confdefs.h <<_ACEOF
1682 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1686 cat >>confdefs.h <<_ACEOF
1687 #define PACKAGE_STRING "$PACKAGE_STRING"
1691 cat >>confdefs.h <<_ACEOF
1692 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1696 # Let the site file select an alternate cache file if it wants to.
1697 # Prefer explicitly selected file to automatically selected ones.
1698 if test -n "$CONFIG_SITE"; then
1699 set x "$CONFIG_SITE"
1700 elif test "x$prefix" != xNONE; then
1701 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1703 set x "$ac_default_prefix/share/config.site" \
1704 "$ac_default_prefix/etc/config.site"
1709 if test -r "$ac_site_file"; then
1710 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1711 echo "$as_me: loading site script $ac_site_file" >&6;}
1712 sed 's/^/| /' "$ac_site_file" >&5
1717 if test -r "$cache_file"; then
1718 # Some versions of bash will fail to source /dev/null (special
1719 # files actually), so we avoid doing that.
1720 if test -f "$cache_file"; then
1721 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1722 echo "$as_me: loading cache $cache_file" >&6;}
1724 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1725 *) . "./$cache_file";;
1729 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1730 echo "$as_me: creating cache $cache_file" >&6;}
1734 # Check that the precious variables saved in the cache have kept the same
1736 ac_cache_corrupted=false
1737 for ac_var in $ac_precious_vars; do
1738 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1739 eval ac_new_set=\$ac_env_${ac_var}_set
1740 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1741 eval ac_new_val=\$ac_env_${ac_var}_value
1742 case $ac_old_set,$ac_new_set in
1744 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1745 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1746 ac_cache_corrupted=: ;;
1748 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1749 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1750 ac_cache_corrupted=: ;;
1753 if test "x$ac_old_val" != "x$ac_new_val"; then
1754 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1755 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1756 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1757 echo "$as_me: former value: $ac_old_val" >&2;}
1758 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1759 echo "$as_me: current value: $ac_new_val" >&2;}
1760 ac_cache_corrupted=:
1763 # Pass precious variables to config.status.
1764 if test "$ac_new_set" = set; then
1766 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1767 *) ac_arg=$ac_var=$ac_new_val ;;
1769 case " $ac_configure_args " in
1770 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1771 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1775 if $ac_cache_corrupted; then
1776 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1777 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1778 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1779 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1780 { (exit 1); exit 1; }; }
1808 ac_cpp='$CPP $CPPFLAGS'
1809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1815 ac_config_headers="$ac_config_headers include/config.h"
1818 for ac_dir in tools "$srcdir"/tools; do
1819 if test -f "$ac_dir/install-sh"; then
1821 ac_install_sh="$ac_aux_dir/install-sh -c"
1823 elif test -f "$ac_dir/install.sh"; then
1825 ac_install_sh="$ac_aux_dir/install.sh -c"
1827 elif test -f "$ac_dir/shtool"; then
1829 ac_install_sh="$ac_aux_dir/shtool install -c"
1833 if test -z "$ac_aux_dir"; then
1834 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1835 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1836 { (exit 1); exit 1; }; }
1839 # These three variables are undocumented and unsupported,
1840 # and are intended to be withdrawn in a future Autoconf release.
1841 # They can cause serious problems if a builder's source tree is in a directory
1842 # whose full name contains unusual characters.
1843 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1844 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1845 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1850 # Check whether --enable-win16 was given.
1851 if test "${enable_win16+set}" = set; then
1852 enableval=$enable_win16;
1855 # Check whether --enable-win64 was given.
1856 if test "${enable_win64+set}" = set; then
1857 enableval=$enable_win64;
1862 # Check whether --with-opengl was given.
1863 if test "${with_opengl+set}" = set; then
1864 withval=$with_opengl;
1868 # Check whether --with-curses was given.
1869 if test "${with_curses+set}" = set; then
1870 withval=$with_curses;
1874 # Check whether --with-wine-tools was given.
1875 if test "${with_wine_tools+set}" = set; then
1876 withval=$with_wine_tools;
1880 # Make sure we can run config.sub.
1881 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1882 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1883 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1884 { (exit 1); exit 1; }; }
1886 { echo "$as_me:$LINENO: checking build system type" >&5
1887 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1888 if test "${ac_cv_build+set}" = set; then
1889 echo $ECHO_N "(cached) $ECHO_C" >&6
1891 ac_build_alias=$build_alias
1892 test "x$ac_build_alias" = x &&
1893 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1894 test "x$ac_build_alias" = x &&
1895 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1896 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1897 { (exit 1); exit 1; }; }
1898 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1899 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1900 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1901 { (exit 1); exit 1; }; }
1904 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1905 echo "${ECHO_T}$ac_cv_build" >&6; }
1906 case $ac_cv_build in
1908 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1909 echo "$as_me: error: invalid value of canonical build" >&2;}
1910 { (exit 1); exit 1; }; };;
1913 ac_save_IFS=$IFS; IFS='-'
1919 # Remember, the first character of IFS is used to create $*,
1920 # except with old shells:
1923 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1926 { echo "$as_me:$LINENO: checking host system type" >&5
1927 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1928 if test "${ac_cv_host+set}" = set; then
1929 echo $ECHO_N "(cached) $ECHO_C" >&6
1931 if test "x$host_alias" = x; then
1932 ac_cv_host=$ac_cv_build
1934 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1935 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1936 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1937 { (exit 1); exit 1; }; }
1941 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1942 echo "${ECHO_T}$ac_cv_host" >&6; }
1945 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1946 echo "$as_me: error: invalid value of canonical host" >&2;}
1947 { (exit 1); exit 1; }; };;
1950 ac_save_IFS=$IFS; IFS='-'
1956 # Remember, the first character of IFS is used to create $*,
1957 # except with old shells:
1960 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1965 if test "x$enable_win64" != "xyes"
1967 test -n "$CC" || CC="gcc -m32"
1968 test -n "$LD" || LD="ld -m elf_i386"
1969 test -n "$AS" || AS="as --32"
1977 if test "x$enable_win16" != "xno"
1984 WIN16_FILES="\$(WIN16_FILES)"
1986 WIN16_INSTALL="\$(WIN16_INSTALL)"
1988 if test "x$enable_win16" != "xyes"
1995 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1996 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1997 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1998 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1999 echo $ECHO_N "(cached) $ECHO_C" >&6
2001 cat >conftest.make <<\_ACEOF
2004 @echo '@@@%%%=$(MAKE)=@@@%%%'
2006 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2007 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2009 eval ac_cv_prog_make_${ac_make}_set=yes;;
2011 eval ac_cv_prog_make_${ac_make}_set=no;;
2015 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2016 { echo "$as_me:$LINENO: result: yes" >&5
2017 echo "${ECHO_T}yes" >&6; }
2020 { echo "$as_me:$LINENO: result: no" >&5
2021 echo "${ECHO_T}no" >&6; }
2022 SET_MAKE="MAKE=${MAKE-make}"
2026 ac_cpp='$CPP $CPPFLAGS'
2027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2030 if test -n "$ac_tool_prefix"; then
2031 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2032 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2035 if test "${ac_cv_prog_CC+set}" = set; then
2036 echo $ECHO_N "(cached) $ECHO_C" >&6
2038 if test -n "$CC"; then
2039 ac_cv_prog_CC="$CC" # Let the user override the test.
2041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2045 test -z "$as_dir" && as_dir=.
2046 for ac_exec_ext in '' $ac_executable_extensions; do
2047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2048 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2059 if test -n "$CC"; then
2060 { echo "$as_me:$LINENO: result: $CC" >&5
2061 echo "${ECHO_T}$CC" >&6; }
2063 { echo "$as_me:$LINENO: result: no" >&5
2064 echo "${ECHO_T}no" >&6; }
2069 if test -z "$ac_cv_prog_CC"; then
2071 # Extract the first word of "gcc", so it can be a program name with args.
2072 set dummy gcc; ac_word=$2
2073 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2075 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2076 echo $ECHO_N "(cached) $ECHO_C" >&6
2078 if test -n "$ac_ct_CC"; then
2079 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2085 test -z "$as_dir" && as_dir=.
2086 for ac_exec_ext in '' $ac_executable_extensions; do
2087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2088 ac_cv_prog_ac_ct_CC="gcc"
2089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2098 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2099 if test -n "$ac_ct_CC"; then
2100 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2101 echo "${ECHO_T}$ac_ct_CC" >&6; }
2103 { echo "$as_me:$LINENO: result: no" >&5
2104 echo "${ECHO_T}no" >&6; }
2107 if test "x$ac_ct_CC" = x; then
2110 case $cross_compiling:$ac_tool_warned in
2112 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2113 whose name does not start with the host triplet. If you think this
2114 configuration is useful to you, please write to autoconf@gnu.org." >&5
2115 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2116 whose name does not start with the host triplet. If you think this
2117 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2118 ac_tool_warned=yes ;;
2126 if test -z "$CC"; then
2127 if test -n "$ac_tool_prefix"; then
2128 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2129 set dummy ${ac_tool_prefix}cc; ac_word=$2
2130 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2132 if test "${ac_cv_prog_CC+set}" = set; then
2133 echo $ECHO_N "(cached) $ECHO_C" >&6
2135 if test -n "$CC"; then
2136 ac_cv_prog_CC="$CC" # Let the user override the test.
2138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2142 test -z "$as_dir" && as_dir=.
2143 for ac_exec_ext in '' $ac_executable_extensions; do
2144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2145 ac_cv_prog_CC="${ac_tool_prefix}cc"
2146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2156 if test -n "$CC"; then
2157 { echo "$as_me:$LINENO: result: $CC" >&5
2158 echo "${ECHO_T}$CC" >&6; }
2160 { echo "$as_me:$LINENO: result: no" >&5
2161 echo "${ECHO_T}no" >&6; }
2167 if test -z "$CC"; then
2168 # Extract the first word of "cc", so it can be a program name with args.
2169 set dummy cc; ac_word=$2
2170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2172 if test "${ac_cv_prog_CC+set}" = set; then
2173 echo $ECHO_N "(cached) $ECHO_C" >&6
2175 if test -n "$CC"; then
2176 ac_cv_prog_CC="$CC" # Let the user override the test.
2179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2183 test -z "$as_dir" && as_dir=.
2184 for ac_exec_ext in '' $ac_executable_extensions; do
2185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2186 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2187 ac_prog_rejected=yes
2191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2198 if test $ac_prog_rejected = yes; then
2199 # We found a bogon in the path, so make sure we never use it.
2200 set dummy $ac_cv_prog_CC
2202 if test $# != 0; then
2203 # We chose a different compiler from the bogus one.
2204 # However, it has the same basename, so the bogon will be chosen
2205 # first if we set CC to just the basename; use the full file name.
2207 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2213 if test -n "$CC"; then
2214 { echo "$as_me:$LINENO: result: $CC" >&5
2215 echo "${ECHO_T}$CC" >&6; }
2217 { echo "$as_me:$LINENO: result: no" >&5
2218 echo "${ECHO_T}no" >&6; }
2223 if test -z "$CC"; then
2224 if test -n "$ac_tool_prefix"; then
2225 for ac_prog in cl.exe
2227 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2228 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2229 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2231 if test "${ac_cv_prog_CC+set}" = set; then
2232 echo $ECHO_N "(cached) $ECHO_C" >&6
2234 if test -n "$CC"; then
2235 ac_cv_prog_CC="$CC" # Let the user override the test.
2237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2241 test -z "$as_dir" && as_dir=.
2242 for ac_exec_ext in '' $ac_executable_extensions; do
2243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2244 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2255 if test -n "$CC"; then
2256 { echo "$as_me:$LINENO: result: $CC" >&5
2257 echo "${ECHO_T}$CC" >&6; }
2259 { echo "$as_me:$LINENO: result: no" >&5
2260 echo "${ECHO_T}no" >&6; }
2264 test -n "$CC" && break
2267 if test -z "$CC"; then
2269 for ac_prog in cl.exe
2271 # Extract the first word of "$ac_prog", so it can be a program name with args.
2272 set dummy $ac_prog; ac_word=$2
2273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2275 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2276 echo $ECHO_N "(cached) $ECHO_C" >&6
2278 if test -n "$ac_ct_CC"; then
2279 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2285 test -z "$as_dir" && as_dir=.
2286 for ac_exec_ext in '' $ac_executable_extensions; do
2287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2288 ac_cv_prog_ac_ct_CC="$ac_prog"
2289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2298 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2299 if test -n "$ac_ct_CC"; then
2300 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2301 echo "${ECHO_T}$ac_ct_CC" >&6; }
2303 { echo "$as_me:$LINENO: result: no" >&5
2304 echo "${ECHO_T}no" >&6; }
2308 test -n "$ac_ct_CC" && break
2311 if test "x$ac_ct_CC" = x; then
2314 case $cross_compiling:$ac_tool_warned in
2316 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2317 whose name does not start with the host triplet. If you think this
2318 configuration is useful to you, please write to autoconf@gnu.org." >&5
2319 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2320 whose name does not start with the host triplet. If you think this
2321 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2322 ac_tool_warned=yes ;;
2331 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2332 See \`config.log' for more details." >&5
2333 echo "$as_me: error: no acceptable C compiler found in \$PATH
2334 See \`config.log' for more details." >&2;}
2335 { (exit 1); exit 1; }; }
2337 # Provide some information about the compiler.
2338 echo "$as_me:$LINENO: checking for C compiler version" >&5
2339 ac_compiler=`set X $ac_compile; echo $2`
2340 { (ac_try="$ac_compiler --version >&5"
2342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2343 *) ac_try_echo=$ac_try;;
2345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2346 (eval "$ac_compiler --version >&5") 2>&5
2348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2349 (exit $ac_status); }
2350 { (ac_try="$ac_compiler -v >&5"
2352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2353 *) ac_try_echo=$ac_try;;
2355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2356 (eval "$ac_compiler -v >&5") 2>&5
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); }
2360 { (ac_try="$ac_compiler -V >&5"
2362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2363 *) ac_try_echo=$ac_try;;
2365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2366 (eval "$ac_compiler -V >&5") 2>&5
2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369 (exit $ac_status); }
2371 cat >conftest.$ac_ext <<_ACEOF
2374 cat confdefs.h >>conftest.$ac_ext
2375 cat >>conftest.$ac_ext <<_ACEOF
2376 /* end confdefs.h. */
2386 ac_clean_files_save=$ac_clean_files
2387 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2388 # Try to create an executable without -o first, disregard a.out.
2389 # It will help us diagnose broken compilers, and finding out an intuition
2391 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2392 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2393 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2395 # List of possible output files, starting from the most likely.
2396 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2397 # only as a last resort. b.out is created by i960 compilers.
2398 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2400 # The IRIX 6 linker writes into existing files which may not be
2401 # executable, retaining their permissions. Remove them first so a
2402 # subsequent execution test works.
2404 for ac_file in $ac_files
2407 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2408 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2413 if { (ac_try="$ac_link_default"
2415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2416 *) ac_try_echo=$ac_try;;
2418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2419 (eval "$ac_link_default") 2>&5
2421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422 (exit $ac_status); }; then
2423 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2424 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2425 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2426 # so that the user can short-circuit this test for compilers unknown to
2428 for ac_file in $ac_files ''
2430 test -f "$ac_file" || continue
2432 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2435 # We found the default executable, but exeext='' is most
2439 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2441 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2443 # We set ac_cv_exeext here because the later test for it is not
2444 # safe: cross compilers may not add the suffix if given an `-o'
2445 # argument, so we may need to know it at that point already.
2446 # Even if this section looks crufty: it has the advantage of
2453 test "$ac_cv_exeext" = no && ac_cv_exeext=
2459 { echo "$as_me:$LINENO: result: $ac_file" >&5
2460 echo "${ECHO_T}$ac_file" >&6; }
2461 if test -z "$ac_file"; then
2462 echo "$as_me: failed program was:" >&5
2463 sed 's/^/| /' conftest.$ac_ext >&5
2465 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2466 See \`config.log' for more details." >&5
2467 echo "$as_me: error: C compiler cannot create executables
2468 See \`config.log' for more details." >&2;}
2469 { (exit 77); exit 77; }; }
2472 ac_exeext=$ac_cv_exeext
2474 # Check that the compiler produces executables we can run. If not, either
2475 # the compiler is broken, or we cross compile.
2476 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2477 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2478 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2479 # If not cross compiling, check that we can run a simple program.
2480 if test "$cross_compiling" != yes; then
2481 if { ac_try='./$ac_file'
2482 { (case "(($ac_try" in
2483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2484 *) ac_try_echo=$ac_try;;
2486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2487 (eval "$ac_try") 2>&5
2489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490 (exit $ac_status); }; }; then
2493 if test "$cross_compiling" = maybe; then
2496 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2497 If you meant to cross compile, use \`--host'.
2498 See \`config.log' for more details." >&5
2499 echo "$as_me: error: cannot run C compiled programs.
2500 If you meant to cross compile, use \`--host'.
2501 See \`config.log' for more details." >&2;}
2502 { (exit 1); exit 1; }; }
2506 { echo "$as_me:$LINENO: result: yes" >&5
2507 echo "${ECHO_T}yes" >&6; }
2509 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2510 ac_clean_files=$ac_clean_files_save
2511 # Check that the compiler produces executables we can run. If not, either
2512 # the compiler is broken, or we cross compile.
2513 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2514 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2515 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2516 echo "${ECHO_T}$cross_compiling" >&6; }
2518 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2519 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2520 if { (ac_try="$ac_link"
2522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2523 *) ac_try_echo=$ac_try;;
2525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2526 (eval "$ac_link") 2>&5
2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529 (exit $ac_status); }; then
2530 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2531 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2532 # work properly (i.e., refer to `conftest.exe'), while it won't with
2534 for ac_file in conftest.exe conftest conftest.*; do
2535 test -f "$ac_file" || continue
2537 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2538 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2544 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2545 See \`config.log' for more details." >&5
2546 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2547 See \`config.log' for more details." >&2;}
2548 { (exit 1); exit 1; }; }
2551 rm -f conftest$ac_cv_exeext
2552 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2553 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2555 rm -f conftest.$ac_ext
2556 EXEEXT=$ac_cv_exeext
2558 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2559 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2560 if test "${ac_cv_objext+set}" = set; then
2561 echo $ECHO_N "(cached) $ECHO_C" >&6
2563 cat >conftest.$ac_ext <<_ACEOF
2566 cat confdefs.h >>conftest.$ac_ext
2567 cat >>conftest.$ac_ext <<_ACEOF
2568 /* end confdefs.h. */
2578 rm -f conftest.o conftest.obj
2579 if { (ac_try="$ac_compile"
2581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2582 *) ac_try_echo=$ac_try;;
2584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2585 (eval "$ac_compile") 2>&5
2587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588 (exit $ac_status); }; then
2589 for ac_file in conftest.o conftest.obj conftest.*; do
2590 test -f "$ac_file" || continue;
2592 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2593 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2598 echo "$as_me: failed program was:" >&5
2599 sed 's/^/| /' conftest.$ac_ext >&5
2601 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2602 See \`config.log' for more details." >&5
2603 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2604 See \`config.log' for more details." >&2;}
2605 { (exit 1); exit 1; }; }
2608 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2610 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2611 echo "${ECHO_T}$ac_cv_objext" >&6; }
2612 OBJEXT=$ac_cv_objext
2614 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2615 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2616 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2617 echo $ECHO_N "(cached) $ECHO_C" >&6
2619 cat >conftest.$ac_ext <<_ACEOF
2622 cat confdefs.h >>conftest.$ac_ext
2623 cat >>conftest.$ac_ext <<_ACEOF
2624 /* end confdefs.h. */
2637 rm -f conftest.$ac_objext
2638 if { (ac_try="$ac_compile"
2640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2641 *) ac_try_echo=$ac_try;;
2643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2644 (eval "$ac_compile") 2>conftest.er1
2646 grep -v '^ *+' conftest.er1 >conftest.err
2648 cat conftest.err >&5
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); } &&
2651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2652 { (case "(($ac_try" in
2653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2654 *) ac_try_echo=$ac_try;;
2656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2657 (eval "$ac_try") 2>&5
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); }; } &&
2661 { ac_try='test -s conftest.$ac_objext'
2662 { (case "(($ac_try" in
2663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2664 *) ac_try_echo=$ac_try;;
2666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2667 (eval "$ac_try") 2>&5
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); }; }; then
2673 echo "$as_me: failed program was:" >&5
2674 sed 's/^/| /' conftest.$ac_ext >&5
2679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2680 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2683 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2684 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2685 GCC=`test $ac_compiler_gnu = yes && echo yes`
2686 ac_test_CFLAGS=${CFLAGS+set}
2687 ac_save_CFLAGS=$CFLAGS
2688 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2689 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2690 if test "${ac_cv_prog_cc_g+set}" = set; then
2691 echo $ECHO_N "(cached) $ECHO_C" >&6
2693 ac_save_c_werror_flag=$ac_c_werror_flag
2694 ac_c_werror_flag=yes
2697 cat >conftest.$ac_ext <<_ACEOF
2700 cat confdefs.h >>conftest.$ac_ext
2701 cat >>conftest.$ac_ext <<_ACEOF
2702 /* end confdefs.h. */
2712 rm -f conftest.$ac_objext
2713 if { (ac_try="$ac_compile"
2715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2716 *) ac_try_echo=$ac_try;;
2718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2719 (eval "$ac_compile") 2>conftest.er1
2721 grep -v '^ *+' conftest.er1 >conftest.err
2723 cat conftest.err >&5
2724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725 (exit $ac_status); } &&
2726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2727 { (case "(($ac_try" in
2728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2729 *) ac_try_echo=$ac_try;;
2731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2732 (eval "$ac_try") 2>&5
2734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735 (exit $ac_status); }; } &&
2736 { ac_try='test -s conftest.$ac_objext'
2737 { (case "(($ac_try" in
2738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2739 *) ac_try_echo=$ac_try;;
2741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2742 (eval "$ac_try") 2>&5
2744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745 (exit $ac_status); }; }; then
2748 echo "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.$ac_ext >&5
2752 cat >conftest.$ac_ext <<_ACEOF
2755 cat confdefs.h >>conftest.$ac_ext
2756 cat >>conftest.$ac_ext <<_ACEOF
2757 /* end confdefs.h. */
2767 rm -f conftest.$ac_objext
2768 if { (ac_try="$ac_compile"
2770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2771 *) ac_try_echo=$ac_try;;
2773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2774 (eval "$ac_compile") 2>conftest.er1
2776 grep -v '^ *+' conftest.er1 >conftest.err
2778 cat conftest.err >&5
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); } &&
2781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2782 { (case "(($ac_try" in
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_try") 2>&5
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); }; } &&
2791 { ac_try='test -s conftest.$ac_objext'
2792 { (case "(($ac_try" in
2793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2794 *) ac_try_echo=$ac_try;;
2796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2797 (eval "$ac_try") 2>&5
2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); }; }; then
2803 echo "$as_me: failed program was:" >&5
2804 sed 's/^/| /' conftest.$ac_ext >&5
2806 ac_c_werror_flag=$ac_save_c_werror_flag
2808 cat >conftest.$ac_ext <<_ACEOF
2811 cat confdefs.h >>conftest.$ac_ext
2812 cat >>conftest.$ac_ext <<_ACEOF
2813 /* end confdefs.h. */
2823 rm -f conftest.$ac_objext
2824 if { (ac_try="$ac_compile"
2826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2827 *) ac_try_echo=$ac_try;;
2829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2830 (eval "$ac_compile") 2>conftest.er1
2832 grep -v '^ *+' conftest.er1 >conftest.err
2834 cat conftest.err >&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); } &&
2837 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2838 { (case "(($ac_try" in
2839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2840 *) ac_try_echo=$ac_try;;
2842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2843 (eval "$ac_try") 2>&5
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }; } &&
2847 { ac_try='test -s conftest.$ac_objext'
2848 { (case "(($ac_try" in
2849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2850 *) ac_try_echo=$ac_try;;
2852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2853 (eval "$ac_try") 2>&5
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); }; }; then
2859 echo "$as_me: failed program was:" >&5
2860 sed 's/^/| /' conftest.$ac_ext >&5
2865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2872 ac_c_werror_flag=$ac_save_c_werror_flag
2874 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2875 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2876 if test "$ac_test_CFLAGS" = set; then
2877 CFLAGS=$ac_save_CFLAGS
2878 elif test $ac_cv_prog_cc_g = yes; then
2879 if test "$GCC" = yes; then
2885 if test "$GCC" = yes; then
2891 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2892 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2893 if test "${ac_cv_prog_cc_c89+set}" = set; then
2894 echo $ECHO_N "(cached) $ECHO_C" >&6
2896 ac_cv_prog_cc_c89=no
2898 cat >conftest.$ac_ext <<_ACEOF
2901 cat confdefs.h >>conftest.$ac_ext
2902 cat >>conftest.$ac_ext <<_ACEOF
2903 /* end confdefs.h. */
2906 #include <sys/types.h>
2907 #include <sys/stat.h>
2908 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2909 struct buf { int x; };
2910 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2911 static char *e (p, i)
2917 static char *f (char * (*g) (char **, int), char **p, ...)
2922 s = g (p, va_arg (v,int));
2927 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2928 function prototypes and stuff, but not '\xHH' hex character constants.
2929 These don't provoke an error unfortunately, instead are silently treated
2930 as 'x'. The following induces an error, until -std is added to get
2931 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2932 array size at least. It's necessary to write '\x00'==0 to get something
2933 that's true only with -std. */
2934 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2936 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2937 inside strings and character constants. */
2939 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2941 int test (int i, double x);
2942 struct s1 {int (*f) (int a);};
2943 struct s2 {int (*f) (double a);};
2944 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2950 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2955 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2956 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2958 CC="$ac_save_CC $ac_arg"
2959 rm -f conftest.$ac_objext
2960 if { (ac_try="$ac_compile"
2962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2963 *) ac_try_echo=$ac_try;;
2965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2966 (eval "$ac_compile") 2>conftest.er1
2968 grep -v '^ *+' conftest.er1 >conftest.err
2970 cat conftest.err >&5
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); } &&
2973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2974 { (case "(($ac_try" in
2975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2976 *) ac_try_echo=$ac_try;;
2978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2979 (eval "$ac_try") 2>&5
2981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982 (exit $ac_status); }; } &&
2983 { ac_try='test -s conftest.$ac_objext'
2984 { (case "(($ac_try" in
2985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2986 *) ac_try_echo=$ac_try;;
2988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2989 (eval "$ac_try") 2>&5
2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992 (exit $ac_status); }; }; then
2993 ac_cv_prog_cc_c89=$ac_arg
2995 echo "$as_me: failed program was:" >&5
2996 sed 's/^/| /' conftest.$ac_ext >&5
3001 rm -f core conftest.err conftest.$ac_objext
3002 test "x$ac_cv_prog_cc_c89" != "xno" && break
3004 rm -f conftest.$ac_ext
3009 case "x$ac_cv_prog_cc_c89" in
3011 { echo "$as_me:$LINENO: result: none needed" >&5
3012 echo "${ECHO_T}none needed" >&6; } ;;
3014 { echo "$as_me:$LINENO: result: unsupported" >&5
3015 echo "${ECHO_T}unsupported" >&6; } ;;
3017 CC="$CC $ac_cv_prog_cc_c89"
3018 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3019 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3024 ac_cpp='$CPP $CPPFLAGS'
3025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3030 ac_cpp='$CXXCPP $CPPFLAGS'
3031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3034 if test -z "$CXX"; then
3035 if test -n "$CCC"; then
3038 if test -n "$ac_tool_prefix"; then
3039 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3041 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3042 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3043 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3045 if test "${ac_cv_prog_CXX+set}" = set; then
3046 echo $ECHO_N "(cached) $ECHO_C" >&6
3048 if test -n "$CXX"; then
3049 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3055 test -z "$as_dir" && as_dir=.
3056 for ac_exec_ext in '' $ac_executable_extensions; do
3057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3058 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3069 if test -n "$CXX"; then
3070 { echo "$as_me:$LINENO: result: $CXX" >&5
3071 echo "${ECHO_T}$CXX" >&6; }
3073 { echo "$as_me:$LINENO: result: no" >&5
3074 echo "${ECHO_T}no" >&6; }
3078 test -n "$CXX" && break
3081 if test -z "$CXX"; then
3083 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3085 # Extract the first word of "$ac_prog", so it can be a program name with args.
3086 set dummy $ac_prog; ac_word=$2
3087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3089 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3090 echo $ECHO_N "(cached) $ECHO_C" >&6
3092 if test -n "$ac_ct_CXX"; then
3093 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3099 test -z "$as_dir" && as_dir=.
3100 for ac_exec_ext in '' $ac_executable_extensions; do
3101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3102 ac_cv_prog_ac_ct_CXX="$ac_prog"
3103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3112 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3113 if test -n "$ac_ct_CXX"; then
3114 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3115 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3117 { echo "$as_me:$LINENO: result: no" >&5
3118 echo "${ECHO_T}no" >&6; }
3122 test -n "$ac_ct_CXX" && break
3125 if test "x$ac_ct_CXX" = x; then
3128 case $cross_compiling:$ac_tool_warned in
3130 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3131 whose name does not start with the host triplet. If you think this
3132 configuration is useful to you, please write to autoconf@gnu.org." >&5
3133 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3134 whose name does not start with the host triplet. If you think this
3135 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3136 ac_tool_warned=yes ;;
3144 # Provide some information about the compiler.
3145 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3146 ac_compiler=`set X $ac_compile; echo $2`
3147 { (ac_try="$ac_compiler --version >&5"
3149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3150 *) ac_try_echo=$ac_try;;
3152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3153 (eval "$ac_compiler --version >&5") 2>&5
3155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156 (exit $ac_status); }
3157 { (ac_try="$ac_compiler -v >&5"
3159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3160 *) ac_try_echo=$ac_try;;
3162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3163 (eval "$ac_compiler -v >&5") 2>&5
3165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3166 (exit $ac_status); }
3167 { (ac_try="$ac_compiler -V >&5"
3169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3170 *) ac_try_echo=$ac_try;;
3172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3173 (eval "$ac_compiler -V >&5") 2>&5
3175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176 (exit $ac_status); }
3178 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3179 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3180 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3181 echo $ECHO_N "(cached) $ECHO_C" >&6
3183 cat >conftest.$ac_ext <<_ACEOF
3186 cat confdefs.h >>conftest.$ac_ext
3187 cat >>conftest.$ac_ext <<_ACEOF
3188 /* end confdefs.h. */
3201 rm -f conftest.$ac_objext
3202 if { (ac_try="$ac_compile"
3204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3205 *) ac_try_echo=$ac_try;;
3207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3208 (eval "$ac_compile") 2>conftest.er1
3210 grep -v '^ *+' conftest.er1 >conftest.err
3212 cat conftest.err >&5
3213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214 (exit $ac_status); } &&
3215 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3216 { (case "(($ac_try" in
3217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3218 *) ac_try_echo=$ac_try;;
3220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3221 (eval "$ac_try") 2>&5
3223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3224 (exit $ac_status); }; } &&
3225 { ac_try='test -s conftest.$ac_objext'
3226 { (case "(($ac_try" in
3227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3228 *) ac_try_echo=$ac_try;;
3230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3231 (eval "$ac_try") 2>&5
3233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3234 (exit $ac_status); }; }; then
3237 echo "$as_me: failed program was:" >&5
3238 sed 's/^/| /' conftest.$ac_ext >&5
3243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3244 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3247 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3248 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3249 GXX=`test $ac_compiler_gnu = yes && echo yes`
3250 ac_test_CXXFLAGS=${CXXFLAGS+set}
3251 ac_save_CXXFLAGS=$CXXFLAGS
3252 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3253 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3254 if test "${ac_cv_prog_cxx_g+set}" = set; then
3255 echo $ECHO_N "(cached) $ECHO_C" >&6
3257 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3258 ac_cxx_werror_flag=yes
3261 cat >conftest.$ac_ext <<_ACEOF
3264 cat confdefs.h >>conftest.$ac_ext
3265 cat >>conftest.$ac_ext <<_ACEOF
3266 /* end confdefs.h. */
3276 rm -f conftest.$ac_objext
3277 if { (ac_try="$ac_compile"
3279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3280 *) ac_try_echo=$ac_try;;
3282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3283 (eval "$ac_compile") 2>conftest.er1
3285 grep -v '^ *+' conftest.er1 >conftest.err
3287 cat conftest.err >&5
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); } &&
3290 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3291 { (case "(($ac_try" in
3292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3293 *) ac_try_echo=$ac_try;;
3295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3296 (eval "$ac_try") 2>&5
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); }; } &&
3300 { ac_try='test -s conftest.$ac_objext'
3301 { (case "(($ac_try" in
3302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3303 *) ac_try_echo=$ac_try;;
3305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3306 (eval "$ac_try") 2>&5
3308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3309 (exit $ac_status); }; }; then
3310 ac_cv_prog_cxx_g=yes
3312 echo "$as_me: failed program was:" >&5
3313 sed 's/^/| /' conftest.$ac_ext >&5
3316 cat >conftest.$ac_ext <<_ACEOF
3319 cat confdefs.h >>conftest.$ac_ext
3320 cat >>conftest.$ac_ext <<_ACEOF
3321 /* end confdefs.h. */
3331 rm -f conftest.$ac_objext
3332 if { (ac_try="$ac_compile"
3334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3335 *) ac_try_echo=$ac_try;;
3337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3338 (eval "$ac_compile") 2>conftest.er1
3340 grep -v '^ *+' conftest.er1 >conftest.err
3342 cat conftest.err >&5
3343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344 (exit $ac_status); } &&
3345 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3346 { (case "(($ac_try" in
3347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3348 *) ac_try_echo=$ac_try;;
3350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3351 (eval "$ac_try") 2>&5
3353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3354 (exit $ac_status); }; } &&
3355 { ac_try='test -s conftest.$ac_objext'
3356 { (case "(($ac_try" in
3357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3358 *) ac_try_echo=$ac_try;;
3360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3361 (eval "$ac_try") 2>&5
3363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364 (exit $ac_status); }; }; then
3367 echo "$as_me: failed program was:" >&5
3368 sed 's/^/| /' conftest.$ac_ext >&5
3370 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3372 cat >conftest.$ac_ext <<_ACEOF
3375 cat confdefs.h >>conftest.$ac_ext
3376 cat >>conftest.$ac_ext <<_ACEOF
3377 /* end confdefs.h. */
3387 rm -f conftest.$ac_objext
3388 if { (ac_try="$ac_compile"
3390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3391 *) ac_try_echo=$ac_try;;
3393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3394 (eval "$ac_compile") 2>conftest.er1
3396 grep -v '^ *+' conftest.er1 >conftest.err
3398 cat conftest.err >&5
3399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3400 (exit $ac_status); } &&
3401 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3402 { (case "(($ac_try" in
3403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3404 *) ac_try_echo=$ac_try;;
3406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3407 (eval "$ac_try") 2>&5
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); }; } &&
3411 { ac_try='test -s conftest.$ac_objext'
3412 { (case "(($ac_try" in
3413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3414 *) ac_try_echo=$ac_try;;
3416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3417 (eval "$ac_try") 2>&5
3419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420 (exit $ac_status); }; }; then
3421 ac_cv_prog_cxx_g=yes
3423 echo "$as_me: failed program was:" >&5
3424 sed 's/^/| /' conftest.$ac_ext >&5
3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3436 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3438 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3439 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3440 if test "$ac_test_CXXFLAGS" = set; then
3441 CXXFLAGS=$ac_save_CXXFLAGS
3442 elif test $ac_cv_prog_cxx_g = yes; then
3443 if test "$GXX" = yes; then
3449 if test "$GXX" = yes; then
3456 ac_cpp='$CPP $CPPFLAGS'
3457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3461 if test -n "$ac_tool_prefix"; then
3462 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3463 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3464 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3466 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3467 echo $ECHO_N "(cached) $ECHO_C" >&6
3469 if test -n "$CPPBIN"; then
3470 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3476 test -z "$as_dir" && as_dir=.
3477 for ac_exec_ext in '' $ac_executable_extensions; do
3478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3479 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3489 CPPBIN=$ac_cv_prog_CPPBIN
3490 if test -n "$CPPBIN"; then
3491 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3492 echo "${ECHO_T}$CPPBIN" >&6; }
3494 { echo "$as_me:$LINENO: result: no" >&5
3495 echo "${ECHO_T}no" >&6; }
3500 if test -z "$ac_cv_prog_CPPBIN"; then
3501 ac_ct_CPPBIN=$CPPBIN
3502 # Extract the first word of "cpp", so it can be a program name with args.
3503 set dummy cpp; ac_word=$2
3504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3506 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3507 echo $ECHO_N "(cached) $ECHO_C" >&6
3509 if test -n "$ac_ct_CPPBIN"; then
3510 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3516 test -z "$as_dir" && as_dir=.
3517 for ac_exec_ext in '' $ac_executable_extensions; do
3518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3519 ac_cv_prog_ac_ct_CPPBIN="cpp"
3520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3529 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3530 if test -n "$ac_ct_CPPBIN"; then
3531 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3532 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3534 { echo "$as_me:$LINENO: result: no" >&5
3535 echo "${ECHO_T}no" >&6; }
3538 if test "x$ac_ct_CPPBIN" = x; then
3541 case $cross_compiling:$ac_tool_warned in
3543 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3544 whose name does not start with the host triplet. If you think this
3545 configuration is useful to you, please write to autoconf@gnu.org." >&5
3546 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3547 whose name does not start with the host triplet. If you think this
3548 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3549 ac_tool_warned=yes ;;
3551 CPPBIN=$ac_ct_CPPBIN
3554 CPPBIN="$ac_cv_prog_CPPBIN"
3558 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3559 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3560 if test "${wine_cv_toolsdir+set}" = set; then
3561 echo $ECHO_N "(cached) $ECHO_C" >&6
3563 if test -z "$with_wine_tools"; then
3564 if test "$cross_compiling" = "yes"; then
3565 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3566 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3567 { (exit 1); exit 1; }; }
3569 wine_cv_toolsdir="\$(TOPOBJDIR)"
3571 elif test -d "$with_wine_tools/tools/winebuild"; then
3572 case $with_wine_tools in
3573 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3574 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3577 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3578 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3579 { (exit 1); exit 1; }; }
3582 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3583 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3584 TOOLSDIR=$wine_cv_toolsdir
3589 ac_cpp='$CPP $CPPFLAGS'
3590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3593 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3594 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3595 # On Suns, sometimes $CPP names a directory.
3596 if test -n "$CPP" && test -d "$CPP"; then
3599 if test -z "$CPP"; then
3600 if test "${ac_cv_prog_CPP+set}" = set; then
3601 echo $ECHO_N "(cached) $ECHO_C" >&6
3603 # Double quotes because CPP needs to be expanded
3604 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3607 for ac_c_preproc_warn_flag in '' yes
3609 # Use a header file that comes with gcc, so configuring glibc
3610 # with a fresh cross-compiler works.
3611 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3612 # <limits.h> exists even on freestanding compilers.
3613 # On the NeXT, cc -E runs the code through the compiler's parser,
3614 # not just through cpp. "Syntax error" is here to catch this case.
3615 cat >conftest.$ac_ext <<_ACEOF
3618 cat confdefs.h >>conftest.$ac_ext
3619 cat >>conftest.$ac_ext <<_ACEOF
3620 /* end confdefs.h. */
3622 # include <limits.h>
3624 # include <assert.h>
3628 if { (ac_try="$ac_cpp conftest.$ac_ext"
3630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3631 *) ac_try_echo=$ac_try;;
3633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3634 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3636 grep -v '^ *+' conftest.er1 >conftest.err
3638 cat conftest.err >&5
3639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3640 (exit $ac_status); } >/dev/null; then
3641 if test -s conftest.err; then
3642 ac_cpp_err=$ac_c_preproc_warn_flag
3643 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3650 if test -z "$ac_cpp_err"; then
3653 echo "$as_me: failed program was:" >&5
3654 sed 's/^/| /' conftest.$ac_ext >&5
3656 # Broken: fails on valid input.
3660 rm -f conftest.err conftest.$ac_ext
3662 # OK, works on sane cases. Now check whether nonexistent headers
3663 # can be detected and how.
3664 cat >conftest.$ac_ext <<_ACEOF
3667 cat confdefs.h >>conftest.$ac_ext
3668 cat >>conftest.$ac_ext <<_ACEOF
3669 /* end confdefs.h. */
3670 #include <ac_nonexistent.h>
3672 if { (ac_try="$ac_cpp conftest.$ac_ext"
3674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3675 *) ac_try_echo=$ac_try;;
3677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3678 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3680 grep -v '^ *+' conftest.er1 >conftest.err
3682 cat conftest.err >&5
3683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3684 (exit $ac_status); } >/dev/null; then
3685 if test -s conftest.err; then
3686 ac_cpp_err=$ac_c_preproc_warn_flag
3687 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3694 if test -z "$ac_cpp_err"; then
3695 # Broken: success on invalid input.
3698 echo "$as_me: failed program was:" >&5
3699 sed 's/^/| /' conftest.$ac_ext >&5
3701 # Passes both tests.
3706 rm -f conftest.err conftest.$ac_ext
3709 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3710 rm -f conftest.err conftest.$ac_ext
3711 if $ac_preproc_ok; then
3723 { echo "$as_me:$LINENO: result: $CPP" >&5
3724 echo "${ECHO_T}$CPP" >&6; }
3726 for ac_c_preproc_warn_flag in '' yes
3728 # Use a header file that comes with gcc, so configuring glibc
3729 # with a fresh cross-compiler works.
3730 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3731 # <limits.h> exists even on freestanding compilers.
3732 # On the NeXT, cc -E runs the code through the compiler's parser,
3733 # not just through cpp. "Syntax error" is here to catch this case.
3734 cat >conftest.$ac_ext <<_ACEOF
3737 cat confdefs.h >>conftest.$ac_ext
3738 cat >>conftest.$ac_ext <<_ACEOF
3739 /* end confdefs.h. */
3741 # include <limits.h>
3743 # include <assert.h>
3747 if { (ac_try="$ac_cpp conftest.$ac_ext"
3749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3750 *) ac_try_echo=$ac_try;;
3752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3753 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3755 grep -v '^ *+' conftest.er1 >conftest.err
3757 cat conftest.err >&5
3758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3759 (exit $ac_status); } >/dev/null; then
3760 if test -s conftest.err; then
3761 ac_cpp_err=$ac_c_preproc_warn_flag
3762 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3769 if test -z "$ac_cpp_err"; then
3772 echo "$as_me: failed program was:" >&5
3773 sed 's/^/| /' conftest.$ac_ext >&5
3775 # Broken: fails on valid input.
3779 rm -f conftest.err conftest.$ac_ext
3781 # OK, works on sane cases. Now check whether nonexistent headers
3782 # can be detected and how.
3783 cat >conftest.$ac_ext <<_ACEOF
3786 cat confdefs.h >>conftest.$ac_ext
3787 cat >>conftest.$ac_ext <<_ACEOF
3788 /* end confdefs.h. */
3789 #include <ac_nonexistent.h>
3791 if { (ac_try="$ac_cpp conftest.$ac_ext"
3793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3794 *) ac_try_echo=$ac_try;;
3796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3797 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3799 grep -v '^ *+' conftest.er1 >conftest.err
3801 cat conftest.err >&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); } >/dev/null; then
3804 if test -s conftest.err; then
3805 ac_cpp_err=$ac_c_preproc_warn_flag
3806 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3813 if test -z "$ac_cpp_err"; then
3814 # Broken: success on invalid input.
3817 echo "$as_me: failed program was:" >&5
3818 sed 's/^/| /' conftest.$ac_ext >&5
3820 # Passes both tests.
3825 rm -f conftest.err conftest.$ac_ext
3828 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3829 rm -f conftest.err conftest.$ac_ext
3830 if $ac_preproc_ok; then
3833 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3834 See \`config.log' for more details." >&5
3835 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3836 See \`config.log' for more details." >&2;}
3837 { (exit 1); exit 1; }; }
3841 ac_cpp='$CPP $CPPFLAGS'
3842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3847 { echo "$as_me:$LINENO: checking for X" >&5
3848 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3851 # Check whether --with-x was given.
3852 if test "${with_x+set}" = set; then
3856 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3857 if test "x$with_x" = xno; then
3858 # The user explicitly disabled X.
3861 case $x_includes,$x_libraries in #(
3862 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3863 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3864 { (exit 1); exit 1; }; };; #(
3865 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3866 echo $ECHO_N "(cached) $ECHO_C" >&6
3868 # One or both of the vars are not set, and there is no cached value.
3869 ac_x_includes=no ac_x_libraries=no
3870 rm -f -r conftest.dir
3871 if mkdir conftest.dir; then
3873 cat >Imakefile <<'_ACEOF'
3875 @echo incroot='${INCROOT}'
3877 @echo usrlibdir='${USRLIBDIR}'
3879 @echo libdir='${LIBDIR}'
3881 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3882 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3883 for ac_var in incroot usrlibdir libdir; do
3884 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3886 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3887 for ac_extension in a so sl; do
3888 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3889 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3890 ac_im_usrlibdir=$ac_im_libdir; break
3893 # Screen out bogus values from the imake configuration. They are
3894 # bogus both because they are the default anyway, and because
3895 # using them would break gcc on systems where it needs fixed includes.
3896 case $ac_im_incroot in
3897 /usr/include) ac_x_includes= ;;
3898 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3900 case $ac_im_usrlibdir in
3902 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3906 rm -f -r conftest.dir
3909 # Standard set of common directories for X headers.
3910 # Check X11 before X11Rn because it is often a symlink to the current release.
3922 /usr/local/X11/include
3923 /usr/local/X11R6/include
3924 /usr/local/X11R5/include
3925 /usr/local/X11R4/include
3927 /usr/local/include/X11
3928 /usr/local/include/X11R6
3929 /usr/local/include/X11R5
3930 /usr/local/include/X11R4
3934 /usr/XFree86/include/X11
3938 /usr/unsupported/include
3940 /usr/local/x11r5/include
3941 /usr/lpp/Xamples/include
3943 /usr/openwin/include
3944 /usr/openwin/share/include'
3946 if test "$ac_x_includes" = no; then
3947 # Guess where to find include files, by looking for Xlib.h.
3948 # First, try using that file with no special directory specified.
3949 cat >conftest.$ac_ext <<_ACEOF
3952 cat confdefs.h >>conftest.$ac_ext
3953 cat >>conftest.$ac_ext <<_ACEOF
3954 /* end confdefs.h. */
3955 #include <X11/Xlib.h>
3957 if { (ac_try="$ac_cpp conftest.$ac_ext"
3959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3960 *) ac_try_echo=$ac_try;;
3962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3963 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3965 grep -v '^ *+' conftest.er1 >conftest.err
3967 cat conftest.err >&5
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); } >/dev/null; then
3970 if test -s conftest.err; then
3971 ac_cpp_err=$ac_c_preproc_warn_flag
3972 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3979 if test -z "$ac_cpp_err"; then
3980 # We can compile using X headers with no special include directory.
3983 echo "$as_me: failed program was:" >&5
3984 sed 's/^/| /' conftest.$ac_ext >&5
3986 for ac_dir in $ac_x_header_dirs; do
3987 if test -r "$ac_dir/X11/Xlib.h"; then
3988 ac_x_includes=$ac_dir
3994 rm -f conftest.err conftest.$ac_ext
3995 fi # $ac_x_includes = no
3997 if test "$ac_x_libraries" = no; then
3998 # Check for the libraries.
3999 # See if we find them without any special options.
4000 # Don't add to $LIBS permanently.
4003 cat >conftest.$ac_ext <<_ACEOF
4006 cat confdefs.h >>conftest.$ac_ext
4007 cat >>conftest.$ac_ext <<_ACEOF
4008 /* end confdefs.h. */
4009 #include <X11/Xlib.h>
4018 rm -f conftest.$ac_objext conftest$ac_exeext
4019 if { (ac_try="$ac_link"
4021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4022 *) ac_try_echo=$ac_try;;
4024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4025 (eval "$ac_link") 2>conftest.er1
4027 grep -v '^ *+' conftest.er1 >conftest.err
4029 cat conftest.err >&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); } &&
4032 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4033 { (case "(($ac_try" in
4034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4035 *) ac_try_echo=$ac_try;;
4037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4038 (eval "$ac_try") 2>&5
4040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041 (exit $ac_status); }; } &&
4042 { ac_try='test -s conftest$ac_exeext'
4043 { (case "(($ac_try" in
4044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4045 *) ac_try_echo=$ac_try;;
4047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4048 (eval "$ac_try") 2>&5
4050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051 (exit $ac_status); }; }; then
4053 # We can link X programs with no special library path.
4056 echo "$as_me: failed program was:" >&5
4057 sed 's/^/| /' conftest.$ac_ext >&5
4060 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4062 # Don't even attempt the hair of trying to link an X program!
4063 for ac_extension in a so sl; do
4064 if test -r "$ac_dir/libX11.$ac_extension"; then
4065 ac_x_libraries=$ac_dir
4072 rm -f core conftest.err conftest.$ac_objext \
4073 conftest$ac_exeext conftest.$ac_ext
4074 fi # $ac_x_libraries = no
4076 case $ac_x_includes,$ac_x_libraries in #(
4078 # Didn't find X, or a directory has "'" in its name.
4079 ac_cv_have_x="have_x=no";; #(
4081 # Record where we found X for the cache.
4082 ac_cv_have_x="have_x=yes\
4083 ac_x_includes='$ac_x_includes'\
4084 ac_x_libraries='$ac_x_libraries'"
4090 eval "$ac_cv_have_x"
4093 if test "$have_x" != yes; then
4094 { echo "$as_me:$LINENO: result: $have_x" >&5
4095 echo "${ECHO_T}$have_x" >&6; }
4098 # If each of the values was on the command line, it overrides each guess.
4099 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4100 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4101 # Update the cache value to reflect the command line values.
4102 ac_cv_have_x="have_x=yes\
4103 ac_x_includes='$x_includes'\
4104 ac_x_libraries='$x_libraries'"
4105 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4106 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4109 if test "$no_x" = yes; then
4110 # Not all programs may use this symbol, but it does not hurt to define it.
4112 cat >>confdefs.h <<\_ACEOF
4113 #define X_DISPLAY_MISSING 1
4116 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4118 if test -n "$x_includes"; then
4119 X_CFLAGS="$X_CFLAGS -I$x_includes"
4122 # It would also be nice to do this for all -L options, not just this one.
4123 if test -n "$x_libraries"; then
4124 X_LIBS="$X_LIBS -L$x_libraries"
4125 # For Solaris; some versions of Sun CC require a space after -R and
4126 # others require no space. Words are not sufficient . . . .
4127 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4128 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4129 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4130 ac_xsave_c_werror_flag=$ac_c_werror_flag
4131 ac_c_werror_flag=yes
4132 cat >conftest.$ac_ext <<_ACEOF
4135 cat confdefs.h >>conftest.$ac_ext
4136 cat >>conftest.$ac_ext <<_ACEOF
4137 /* end confdefs.h. */
4147 rm -f conftest.$ac_objext conftest$ac_exeext
4148 if { (ac_try="$ac_link"
4150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4151 *) ac_try_echo=$ac_try;;
4153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4154 (eval "$ac_link") 2>conftest.er1
4156 grep -v '^ *+' conftest.er1 >conftest.err
4158 cat conftest.err >&5
4159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4160 (exit $ac_status); } &&
4161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4162 { (case "(($ac_try" in
4163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4164 *) ac_try_echo=$ac_try;;
4166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4167 (eval "$ac_try") 2>&5
4169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170 (exit $ac_status); }; } &&
4171 { ac_try='test -s conftest$ac_exeext'
4172 { (case "(($ac_try" in
4173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4174 *) ac_try_echo=$ac_try;;
4176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4177 (eval "$ac_try") 2>&5
4179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180 (exit $ac_status); }; }; then
4181 { echo "$as_me:$LINENO: result: no" >&5
4182 echo "${ECHO_T}no" >&6; }
4183 X_LIBS="$X_LIBS -R$x_libraries"
4185 echo "$as_me: failed program was:" >&5
4186 sed 's/^/| /' conftest.$ac_ext >&5
4188 LIBS="$ac_xsave_LIBS -R $x_libraries"
4189 cat >conftest.$ac_ext <<_ACEOF
4192 cat confdefs.h >>conftest.$ac_ext
4193 cat >>conftest.$ac_ext <<_ACEOF
4194 /* end confdefs.h. */
4204 rm -f conftest.$ac_objext conftest$ac_exeext
4205 if { (ac_try="$ac_link"
4207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4208 *) ac_try_echo=$ac_try;;
4210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4211 (eval "$ac_link") 2>conftest.er1
4213 grep -v '^ *+' conftest.er1 >conftest.err
4215 cat conftest.err >&5
4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217 (exit $ac_status); } &&
4218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4219 { (case "(($ac_try" in
4220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4221 *) ac_try_echo=$ac_try;;
4223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4224 (eval "$ac_try") 2>&5
4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227 (exit $ac_status); }; } &&
4228 { ac_try='test -s conftest$ac_exeext'
4229 { (case "(($ac_try" in
4230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4231 *) ac_try_echo=$ac_try;;
4233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4234 (eval "$ac_try") 2>&5
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); }; }; then
4238 { echo "$as_me:$LINENO: result: yes" >&5
4239 echo "${ECHO_T}yes" >&6; }
4240 X_LIBS="$X_LIBS -R $x_libraries"
4242 echo "$as_me: failed program was:" >&5
4243 sed 's/^/| /' conftest.$ac_ext >&5
4245 { echo "$as_me:$LINENO: result: neither works" >&5
4246 echo "${ECHO_T}neither works" >&6; }
4249 rm -f core conftest.err conftest.$ac_objext \
4250 conftest$ac_exeext conftest.$ac_ext
4253 rm -f core conftest.err conftest.$ac_objext \
4254 conftest$ac_exeext conftest.$ac_ext
4255 ac_c_werror_flag=$ac_xsave_c_werror_flag
4259 # Check for system-dependent libraries X programs must link with.
4260 # Do this before checking for the system-independent R6 libraries
4261 # (-lICE), since we may need -lsocket or whatever for X linking.
4263 if test "$ISC" = yes; then
4264 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4266 # Martyn Johnson says this is needed for Ultrix, if the X
4267 # libraries were built with DECnet support. And Karl Berry says
4268 # the Alpha needs dnet_stub (dnet does not exist).
4269 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4270 cat >conftest.$ac_ext <<_ACEOF
4273 cat confdefs.h >>conftest.$ac_ext
4274 cat >>conftest.$ac_ext <<_ACEOF
4275 /* end confdefs.h. */
4277 /* Override any GCC internal prototype to avoid an error.
4278 Use char because int might match the return type of a GCC
4279 builtin and then its argument prototype would still apply. */
4283 char XOpenDisplay ();
4287 return XOpenDisplay ();
4292 rm -f conftest.$ac_objext conftest$ac_exeext
4293 if { (ac_try="$ac_link"
4295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4296 *) ac_try_echo=$ac_try;;
4298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4299 (eval "$ac_link") 2>conftest.er1
4301 grep -v '^ *+' conftest.er1 >conftest.err
4303 cat conftest.err >&5
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); } &&
4306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4307 { (case "(($ac_try" in
4308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4309 *) ac_try_echo=$ac_try;;
4311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4312 (eval "$ac_try") 2>&5
4314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4315 (exit $ac_status); }; } &&
4316 { ac_try='test -s conftest$ac_exeext'
4317 { (case "(($ac_try" in
4318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4319 *) ac_try_echo=$ac_try;;
4321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4322 (eval "$ac_try") 2>&5
4324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4325 (exit $ac_status); }; }; then
4328 echo "$as_me: failed program was:" >&5
4329 sed 's/^/| /' conftest.$ac_ext >&5
4331 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4332 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4333 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4334 echo $ECHO_N "(cached) $ECHO_C" >&6
4336 ac_check_lib_save_LIBS=$LIBS
4338 cat >conftest.$ac_ext <<_ACEOF
4341 cat confdefs.h >>conftest.$ac_ext
4342 cat >>conftest.$ac_ext <<_ACEOF
4343 /* end confdefs.h. */
4345 /* Override any GCC internal prototype to avoid an error.
4346 Use char because int might match the return type of a GCC
4347 builtin and then its argument prototype would still apply. */
4355 return dnet_ntoa ();
4360 rm -f conftest.$ac_objext conftest$ac_exeext
4361 if { (ac_try="$ac_link"
4363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4364 *) ac_try_echo=$ac_try;;
4366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4367 (eval "$ac_link") 2>conftest.er1
4369 grep -v '^ *+' conftest.er1 >conftest.err
4371 cat conftest.err >&5
4372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4373 (exit $ac_status); } &&
4374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4375 { (case "(($ac_try" in
4376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4377 *) ac_try_echo=$ac_try;;
4379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4380 (eval "$ac_try") 2>&5
4382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4383 (exit $ac_status); }; } &&
4384 { ac_try='test -s conftest$ac_exeext'
4385 { (case "(($ac_try" in
4386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4387 *) ac_try_echo=$ac_try;;
4389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4390 (eval "$ac_try") 2>&5
4392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4393 (exit $ac_status); }; }; then
4394 ac_cv_lib_dnet_dnet_ntoa=yes
4396 echo "$as_me: failed program was:" >&5
4397 sed 's/^/| /' conftest.$ac_ext >&5
4399 ac_cv_lib_dnet_dnet_ntoa=no
4402 rm -f core conftest.err conftest.$ac_objext \
4403 conftest$ac_exeext conftest.$ac_ext
4404 LIBS=$ac_check_lib_save_LIBS
4406 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4407 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4408 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4409 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4412 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4413 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4414 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4415 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4416 echo $ECHO_N "(cached) $ECHO_C" >&6
4418 ac_check_lib_save_LIBS=$LIBS
4419 LIBS="-ldnet_stub $LIBS"
4420 cat >conftest.$ac_ext <<_ACEOF
4423 cat confdefs.h >>conftest.$ac_ext
4424 cat >>conftest.$ac_ext <<_ACEOF
4425 /* end confdefs.h. */
4427 /* Override any GCC internal prototype to avoid an error.
4428 Use char because int might match the return type of a GCC
4429 builtin and then its argument prototype would still apply. */
4437 return dnet_ntoa ();
4442 rm -f conftest.$ac_objext conftest$ac_exeext
4443 if { (ac_try="$ac_link"
4445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4446 *) ac_try_echo=$ac_try;;
4448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4449 (eval "$ac_link") 2>conftest.er1
4451 grep -v '^ *+' conftest.er1 >conftest.err
4453 cat conftest.err >&5
4454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4455 (exit $ac_status); } &&
4456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4457 { (case "(($ac_try" in
4458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4459 *) ac_try_echo=$ac_try;;
4461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4462 (eval "$ac_try") 2>&5
4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 (exit $ac_status); }; } &&
4466 { ac_try='test -s conftest$ac_exeext'
4467 { (case "(($ac_try" in
4468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4469 *) ac_try_echo=$ac_try;;
4471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4472 (eval "$ac_try") 2>&5
4474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4475 (exit $ac_status); }; }; then
4476 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4478 echo "$as_me: failed program was:" >&5
4479 sed 's/^/| /' conftest.$ac_ext >&5
4481 ac_cv_lib_dnet_stub_dnet_ntoa=no
4484 rm -f core conftest.err conftest.$ac_objext \
4485 conftest$ac_exeext conftest.$ac_ext
4486 LIBS=$ac_check_lib_save_LIBS
4488 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4489 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4490 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4491 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4497 rm -f core conftest.err conftest.$ac_objext \
4498 conftest$ac_exeext conftest.$ac_ext
4499 LIBS="$ac_xsave_LIBS"
4501 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4502 # to get the SysV transport functions.
4503 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4505 # The nsl library prevents programs from opening the X display
4506 # on Irix 5.2, according to T.E. Dickey.
4507 # The functions gethostbyname, getservbyname, and inet_addr are
4508 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4509 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4510 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4511 if test "${ac_cv_func_gethostbyname+set}" = set; then
4512 echo $ECHO_N "(cached) $ECHO_C" >&6
4514 cat >conftest.$ac_ext <<_ACEOF
4517 cat confdefs.h >>conftest.$ac_ext
4518 cat >>conftest.$ac_ext <<_ACEOF
4519 /* end confdefs.h. */
4520 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4522 #define gethostbyname innocuous_gethostbyname
4524 /* System header to define __stub macros and hopefully few prototypes,
4525 which can conflict with char gethostbyname (); below.
4526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4527 <limits.h> exists even on freestanding compilers. */
4530 # include <limits.h>
4532 # include <assert.h>
4535 #undef gethostbyname
4537 /* Override any GCC internal prototype to avoid an error.
4538 Use char because int might match the return type of a GCC
4539 builtin and then its argument prototype would still apply. */
4543 char gethostbyname ();
4544 /* The GNU C library defines this for functions which it implements
4545 to always fail with ENOSYS. Some functions are actually named
4546 something starting with __ and the normal name is an alias. */
4547 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4554 return gethostbyname ();
4559 rm -f conftest.$ac_objext conftest$ac_exeext
4560 if { (ac_try="$ac_link"
4562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4563 *) ac_try_echo=$ac_try;;
4565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4566 (eval "$ac_link") 2>conftest.er1
4568 grep -v '^ *+' conftest.er1 >conftest.err
4570 cat conftest.err >&5
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); } &&
4573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4574 { (case "(($ac_try" in
4575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4576 *) ac_try_echo=$ac_try;;
4578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4579 (eval "$ac_try") 2>&5
4581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4582 (exit $ac_status); }; } &&
4583 { ac_try='test -s conftest$ac_exeext'
4584 { (case "(($ac_try" in
4585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4586 *) ac_try_echo=$ac_try;;
4588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4589 (eval "$ac_try") 2>&5
4591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4592 (exit $ac_status); }; }; then
4593 ac_cv_func_gethostbyname=yes
4595 echo "$as_me: failed program was:" >&5
4596 sed 's/^/| /' conftest.$ac_ext >&5
4598 ac_cv_func_gethostbyname=no
4601 rm -f core conftest.err conftest.$ac_objext \
4602 conftest$ac_exeext conftest.$ac_ext
4604 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4605 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4607 if test $ac_cv_func_gethostbyname = no; then
4608 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4609 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4610 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4611 echo $ECHO_N "(cached) $ECHO_C" >&6
4613 ac_check_lib_save_LIBS=$LIBS
4615 cat >conftest.$ac_ext <<_ACEOF
4618 cat confdefs.h >>conftest.$ac_ext
4619 cat >>conftest.$ac_ext <<_ACEOF
4620 /* end confdefs.h. */
4622 /* Override any GCC internal prototype to avoid an error.
4623 Use char because int might match the return type of a GCC
4624 builtin and then its argument prototype would still apply. */
4628 char gethostbyname ();
4632 return gethostbyname ();
4637 rm -f conftest.$ac_objext conftest$ac_exeext
4638 if { (ac_try="$ac_link"
4640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4641 *) ac_try_echo=$ac_try;;
4643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4644 (eval "$ac_link") 2>conftest.er1
4646 grep -v '^ *+' conftest.er1 >conftest.err
4648 cat conftest.err >&5
4649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4650 (exit $ac_status); } &&
4651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4652 { (case "(($ac_try" in
4653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4654 *) ac_try_echo=$ac_try;;
4656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4657 (eval "$ac_try") 2>&5
4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660 (exit $ac_status); }; } &&
4661 { ac_try='test -s conftest$ac_exeext'
4662 { (case "(($ac_try" in
4663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4664 *) ac_try_echo=$ac_try;;
4666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4667 (eval "$ac_try") 2>&5
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); }; }; then
4671 ac_cv_lib_nsl_gethostbyname=yes
4673 echo "$as_me: failed program was:" >&5
4674 sed 's/^/| /' conftest.$ac_ext >&5
4676 ac_cv_lib_nsl_gethostbyname=no
4679 rm -f core conftest.err conftest.$ac_objext \
4680 conftest$ac_exeext conftest.$ac_ext
4681 LIBS=$ac_check_lib_save_LIBS
4683 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4684 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4685 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4686 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4689 if test $ac_cv_lib_nsl_gethostbyname = no; then
4690 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4691 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4692 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4693 echo $ECHO_N "(cached) $ECHO_C" >&6
4695 ac_check_lib_save_LIBS=$LIBS
4697 cat >conftest.$ac_ext <<_ACEOF
4700 cat confdefs.h >>conftest.$ac_ext
4701 cat >>conftest.$ac_ext <<_ACEOF
4702 /* end confdefs.h. */
4704 /* Override any GCC internal prototype to avoid an error.
4705 Use char because int might match the return type of a GCC
4706 builtin and then its argument prototype would still apply. */
4710 char gethostbyname ();
4714 return gethostbyname ();
4719 rm -f conftest.$ac_objext conftest$ac_exeext
4720 if { (ac_try="$ac_link"
4722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4723 *) ac_try_echo=$ac_try;;
4725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4726 (eval "$ac_link") 2>conftest.er1
4728 grep -v '^ *+' conftest.er1 >conftest.err
4730 cat conftest.err >&5
4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732 (exit $ac_status); } &&
4733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4734 { (case "(($ac_try" in
4735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4736 *) ac_try_echo=$ac_try;;
4738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4739 (eval "$ac_try") 2>&5
4741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 (exit $ac_status); }; } &&
4743 { ac_try='test -s conftest$ac_exeext'
4744 { (case "(($ac_try" in
4745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4746 *) ac_try_echo=$ac_try;;
4748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4749 (eval "$ac_try") 2>&5
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); }; }; then
4753 ac_cv_lib_bsd_gethostbyname=yes
4755 echo "$as_me: failed program was:" >&5
4756 sed 's/^/| /' conftest.$ac_ext >&5
4758 ac_cv_lib_bsd_gethostbyname=no
4761 rm -f core conftest.err conftest.$ac_objext \
4762 conftest$ac_exeext conftest.$ac_ext
4763 LIBS=$ac_check_lib_save_LIBS
4765 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4766 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4767 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4768 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4774 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4775 # socket/setsockopt and other routines are undefined under SCO ODT
4776 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4777 # on later versions), says Simon Leinen: it contains gethostby*
4778 # variants that don't use the name server (or something). -lsocket
4779 # must be given before -lnsl if both are needed. We assume that
4780 # if connect needs -lnsl, so does gethostbyname.
4781 { echo "$as_me:$LINENO: checking for connect" >&5
4782 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4783 if test "${ac_cv_func_connect+set}" = set; then
4784 echo $ECHO_N "(cached) $ECHO_C" >&6
4786 cat >conftest.$ac_ext <<_ACEOF
4789 cat confdefs.h >>conftest.$ac_ext
4790 cat >>conftest.$ac_ext <<_ACEOF
4791 /* end confdefs.h. */
4792 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4794 #define connect innocuous_connect
4796 /* System header to define __stub macros and hopefully few prototypes,
4797 which can conflict with char connect (); below.
4798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4799 <limits.h> exists even on freestanding compilers. */
4802 # include <limits.h>
4804 # include <assert.h>
4809 /* Override any GCC internal prototype to avoid an error.
4810 Use char because int might match the return type of a GCC
4811 builtin and then its argument prototype would still apply. */
4816 /* The GNU C library defines this for functions which it implements
4817 to always fail with ENOSYS. Some functions are actually named
4818 something starting with __ and the normal name is an alias. */
4819 #if defined __stub_connect || defined __stub___connect
4831 rm -f conftest.$ac_objext conftest$ac_exeext
4832 if { (ac_try="$ac_link"
4834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4835 *) ac_try_echo=$ac_try;;
4837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4838 (eval "$ac_link") 2>conftest.er1
4840 grep -v '^ *+' conftest.er1 >conftest.err
4842 cat conftest.err >&5
4843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4844 (exit $ac_status); } &&
4845 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4846 { (case "(($ac_try" in
4847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4848 *) ac_try_echo=$ac_try;;
4850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4851 (eval "$ac_try") 2>&5
4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); }; } &&
4855 { ac_try='test -s conftest$ac_exeext'
4856 { (case "(($ac_try" in
4857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4858 *) ac_try_echo=$ac_try;;
4860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4861 (eval "$ac_try") 2>&5
4863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4864 (exit $ac_status); }; }; then
4865 ac_cv_func_connect=yes
4867 echo "$as_me: failed program was:" >&5
4868 sed 's/^/| /' conftest.$ac_ext >&5
4870 ac_cv_func_connect=no
4873 rm -f core conftest.err conftest.$ac_objext \
4874 conftest$ac_exeext conftest.$ac_ext
4876 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4877 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4879 if test $ac_cv_func_connect = no; then
4880 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4881 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4882 if test "${ac_cv_lib_socket_connect+set}" = set; then
4883 echo $ECHO_N "(cached) $ECHO_C" >&6
4885 ac_check_lib_save_LIBS=$LIBS
4886 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4887 cat >conftest.$ac_ext <<_ACEOF
4890 cat confdefs.h >>conftest.$ac_ext
4891 cat >>conftest.$ac_ext <<_ACEOF
4892 /* end confdefs.h. */
4894 /* Override any GCC internal prototype to avoid an error.
4895 Use char because int might match the return type of a GCC
4896 builtin and then its argument prototype would still apply. */
4909 rm -f conftest.$ac_objext conftest$ac_exeext
4910 if { (ac_try="$ac_link"
4912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4913 *) ac_try_echo=$ac_try;;
4915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4916 (eval "$ac_link") 2>conftest.er1
4918 grep -v '^ *+' conftest.er1 >conftest.err
4920 cat conftest.err >&5
4921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4922 (exit $ac_status); } &&
4923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4924 { (case "(($ac_try" in
4925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4926 *) ac_try_echo=$ac_try;;
4928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4929 (eval "$ac_try") 2>&5
4931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932 (exit $ac_status); }; } &&
4933 { ac_try='test -s conftest$ac_exeext'
4934 { (case "(($ac_try" in
4935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4936 *) ac_try_echo=$ac_try;;
4938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4939 (eval "$ac_try") 2>&5
4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4942 (exit $ac_status); }; }; then
4943 ac_cv_lib_socket_connect=yes
4945 echo "$as_me: failed program was:" >&5
4946 sed 's/^/| /' conftest.$ac_ext >&5
4948 ac_cv_lib_socket_connect=no
4951 rm -f core conftest.err conftest.$ac_objext \
4952 conftest$ac_exeext conftest.$ac_ext
4953 LIBS=$ac_check_lib_save_LIBS
4955 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4956 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4957 if test $ac_cv_lib_socket_connect = yes; then
4958 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4963 # Guillermo Gomez says -lposix is necessary on A/UX.
4964 { echo "$as_me:$LINENO: checking for remove" >&5
4965 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4966 if test "${ac_cv_func_remove+set}" = set; then
4967 echo $ECHO_N "(cached) $ECHO_C" >&6
4969 cat >conftest.$ac_ext <<_ACEOF
4972 cat confdefs.h >>conftest.$ac_ext
4973 cat >>conftest.$ac_ext <<_ACEOF
4974 /* end confdefs.h. */
4975 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4977 #define remove innocuous_remove
4979 /* System header to define __stub macros and hopefully few prototypes,
4980 which can conflict with char remove (); below.
4981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4982 <limits.h> exists even on freestanding compilers. */
4985 # include <limits.h>
4987 # include <assert.h>
4992 /* Override any GCC internal prototype to avoid an error.
4993 Use char because int might match the return type of a GCC
4994 builtin and then its argument prototype would still apply. */
4999 /* The GNU C library defines this for functions which it implements
5000 to always fail with ENOSYS. Some functions are actually named
5001 something starting with __ and the normal name is an alias. */
5002 #if defined __stub_remove || defined __stub___remove
5014 rm -f conftest.$ac_objext conftest$ac_exeext
5015 if { (ac_try="$ac_link"
5017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5018 *) ac_try_echo=$ac_try;;
5020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5021 (eval "$ac_link") 2>conftest.er1
5023 grep -v '^ *+' conftest.er1 >conftest.err
5025 cat conftest.err >&5
5026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5027 (exit $ac_status); } &&
5028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5029 { (case "(($ac_try" in
5030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5031 *) ac_try_echo=$ac_try;;
5033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5034 (eval "$ac_try") 2>&5
5036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5037 (exit $ac_status); }; } &&
5038 { ac_try='test -s conftest$ac_exeext'
5039 { (case "(($ac_try" in
5040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5041 *) ac_try_echo=$ac_try;;
5043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5044 (eval "$ac_try") 2>&5
5046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5047 (exit $ac_status); }; }; then
5048 ac_cv_func_remove=yes
5050 echo "$as_me: failed program was:" >&5
5051 sed 's/^/| /' conftest.$ac_ext >&5
5053 ac_cv_func_remove=no
5056 rm -f core conftest.err conftest.$ac_objext \
5057 conftest$ac_exeext conftest.$ac_ext
5059 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5060 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
5062 if test $ac_cv_func_remove = no; then
5063 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5064 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
5065 if test "${ac_cv_lib_posix_remove+set}" = set; then
5066 echo $ECHO_N "(cached) $ECHO_C" >&6
5068 ac_check_lib_save_LIBS=$LIBS
5069 LIBS="-lposix $LIBS"
5070 cat >conftest.$ac_ext <<_ACEOF
5073 cat confdefs.h >>conftest.$ac_ext
5074 cat >>conftest.$ac_ext <<_ACEOF
5075 /* end confdefs.h. */
5077 /* Override any GCC internal prototype to avoid an error.
5078 Use char because int might match the return type of a GCC
5079 builtin and then its argument prototype would still apply. */
5092 rm -f conftest.$ac_objext conftest$ac_exeext
5093 if { (ac_try="$ac_link"
5095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5096 *) ac_try_echo=$ac_try;;
5098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5099 (eval "$ac_link") 2>conftest.er1
5101 grep -v '^ *+' conftest.er1 >conftest.err
5103 cat conftest.err >&5
5104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5105 (exit $ac_status); } &&
5106 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5107 { (case "(($ac_try" in
5108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5109 *) ac_try_echo=$ac_try;;
5111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5112 (eval "$ac_try") 2>&5
5114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 (exit $ac_status); }; } &&
5116 { ac_try='test -s conftest$ac_exeext'
5117 { (case "(($ac_try" in
5118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5119 *) ac_try_echo=$ac_try;;
5121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5122 (eval "$ac_try") 2>&5
5124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5125 (exit $ac_status); }; }; then
5126 ac_cv_lib_posix_remove=yes
5128 echo "$as_me: failed program was:" >&5
5129 sed 's/^/| /' conftest.$ac_ext >&5
5131 ac_cv_lib_posix_remove=no
5134 rm -f core conftest.err conftest.$ac_objext \
5135 conftest$ac_exeext conftest.$ac_ext
5136 LIBS=$ac_check_lib_save_LIBS
5138 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5139 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5140 if test $ac_cv_lib_posix_remove = yes; then
5141 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5146 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5147 { echo "$as_me:$LINENO: checking for shmat" >&5
5148 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5149 if test "${ac_cv_func_shmat+set}" = set; then
5150 echo $ECHO_N "(cached) $ECHO_C" >&6
5152 cat >conftest.$ac_ext <<_ACEOF
5155 cat confdefs.h >>conftest.$ac_ext
5156 cat >>conftest.$ac_ext <<_ACEOF
5157 /* end confdefs.h. */
5158 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5160 #define shmat innocuous_shmat
5162 /* System header to define __stub macros and hopefully few prototypes,
5163 which can conflict with char shmat (); below.
5164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5165 <limits.h> exists even on freestanding compilers. */
5168 # include <limits.h>
5170 # include <assert.h>
5175 /* Override any GCC internal prototype to avoid an error.
5176 Use char because int might match the return type of a GCC
5177 builtin and then its argument prototype would still apply. */
5182 /* The GNU C library defines this for functions which it implements
5183 to always fail with ENOSYS. Some functions are actually named
5184 something starting with __ and the normal name is an alias. */
5185 #if defined __stub_shmat || defined __stub___shmat
5197 rm -f conftest.$ac_objext conftest$ac_exeext
5198 if { (ac_try="$ac_link"
5200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5201 *) ac_try_echo=$ac_try;;
5203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5204 (eval "$ac_link") 2>conftest.er1
5206 grep -v '^ *+' conftest.er1 >conftest.err
5208 cat conftest.err >&5
5209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5210 (exit $ac_status); } &&
5211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5212 { (case "(($ac_try" in
5213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5214 *) ac_try_echo=$ac_try;;
5216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5217 (eval "$ac_try") 2>&5
5219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5220 (exit $ac_status); }; } &&
5221 { ac_try='test -s conftest$ac_exeext'
5222 { (case "(($ac_try" in
5223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5224 *) ac_try_echo=$ac_try;;
5226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5227 (eval "$ac_try") 2>&5
5229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5230 (exit $ac_status); }; }; then
5231 ac_cv_func_shmat=yes
5233 echo "$as_me: failed program was:" >&5
5234 sed 's/^/| /' conftest.$ac_ext >&5
5239 rm -f core conftest.err conftest.$ac_objext \
5240 conftest$ac_exeext conftest.$ac_ext
5242 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5243 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5245 if test $ac_cv_func_shmat = no; then
5246 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5247 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5248 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5249 echo $ECHO_N "(cached) $ECHO_C" >&6
5251 ac_check_lib_save_LIBS=$LIBS
5253 cat >conftest.$ac_ext <<_ACEOF
5256 cat confdefs.h >>conftest.$ac_ext
5257 cat >>conftest.$ac_ext <<_ACEOF
5258 /* end confdefs.h. */
5260 /* Override any GCC internal prototype to avoid an error.
5261 Use char because int might match the return type of a GCC
5262 builtin and then its argument prototype would still apply. */
5275 rm -f conftest.$ac_objext conftest$ac_exeext
5276 if { (ac_try="$ac_link"
5278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5279 *) ac_try_echo=$ac_try;;
5281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5282 (eval "$ac_link") 2>conftest.er1
5284 grep -v '^ *+' conftest.er1 >conftest.err
5286 cat conftest.err >&5
5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288 (exit $ac_status); } &&
5289 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5290 { (case "(($ac_try" in
5291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5292 *) ac_try_echo=$ac_try;;
5294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5295 (eval "$ac_try") 2>&5
5297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5298 (exit $ac_status); }; } &&
5299 { ac_try='test -s conftest$ac_exeext'
5300 { (case "(($ac_try" in
5301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5302 *) ac_try_echo=$ac_try;;
5304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5305 (eval "$ac_try") 2>&5
5307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5308 (exit $ac_status); }; }; then
5309 ac_cv_lib_ipc_shmat=yes
5311 echo "$as_me: failed program was:" >&5
5312 sed 's/^/| /' conftest.$ac_ext >&5
5314 ac_cv_lib_ipc_shmat=no
5317 rm -f core conftest.err conftest.$ac_objext \
5318 conftest$ac_exeext conftest.$ac_ext
5319 LIBS=$ac_check_lib_save_LIBS
5321 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5322 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5323 if test $ac_cv_lib_ipc_shmat = yes; then
5324 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5330 # Check for libraries that X11R6 Xt/Xaw programs need.
5331 ac_save_LDFLAGS=$LDFLAGS
5332 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5333 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5334 # check for ICE first), but we must link in the order -lSM -lICE or
5335 # we get undefined symbols. So assume we have SM if we have ICE.
5336 # These have to be linked with before -lX11, unlike the other
5337 # libraries we check for below, so use a different variable.
5338 # John Interrante, Karl Berry
5339 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5340 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5341 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5342 echo $ECHO_N "(cached) $ECHO_C" >&6
5344 ac_check_lib_save_LIBS=$LIBS
5345 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5346 cat >conftest.$ac_ext <<_ACEOF
5349 cat confdefs.h >>conftest.$ac_ext
5350 cat >>conftest.$ac_ext <<_ACEOF
5351 /* end confdefs.h. */
5353 /* Override any GCC internal prototype to avoid an error.
5354 Use char because int might match the return type of a GCC
5355 builtin and then its argument prototype would still apply. */
5359 char IceConnectionNumber ();
5363 return IceConnectionNumber ();
5368 rm -f conftest.$ac_objext conftest$ac_exeext
5369 if { (ac_try="$ac_link"
5371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5372 *) ac_try_echo=$ac_try;;
5374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5375 (eval "$ac_link") 2>conftest.er1
5377 grep -v '^ *+' conftest.er1 >conftest.err
5379 cat conftest.err >&5
5380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381 (exit $ac_status); } &&
5382 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5383 { (case "(($ac_try" in
5384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5385 *) ac_try_echo=$ac_try;;
5387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5388 (eval "$ac_try") 2>&5
5390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5391 (exit $ac_status); }; } &&
5392 { ac_try='test -s conftest$ac_exeext'
5393 { (case "(($ac_try" in
5394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5395 *) ac_try_echo=$ac_try;;
5397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5398 (eval "$ac_try") 2>&5
5400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5401 (exit $ac_status); }; }; then
5402 ac_cv_lib_ICE_IceConnectionNumber=yes
5404 echo "$as_me: failed program was:" >&5
5405 sed 's/^/| /' conftest.$ac_ext >&5
5407 ac_cv_lib_ICE_IceConnectionNumber=no
5410 rm -f core conftest.err conftest.$ac_objext \
5411 conftest$ac_exeext conftest.$ac_ext
5412 LIBS=$ac_check_lib_save_LIBS
5414 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5415 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5416 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5417 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5420 LDFLAGS=$ac_save_LDFLAGS
5424 for ac_prog in flex lex
5426 # Extract the first word of "$ac_prog", so it can be a program name with args.
5427 set dummy $ac_prog; ac_word=$2
5428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5430 if test "${ac_cv_prog_LEX+set}" = set; then
5431 echo $ECHO_N "(cached) $ECHO_C" >&6
5433 if test -n "$LEX"; then
5434 ac_cv_prog_LEX="$LEX" # Let the user override the test.
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5440 test -z "$as_dir" && as_dir=.
5441 for ac_exec_ext in '' $ac_executable_extensions; do
5442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5443 ac_cv_prog_LEX="$ac_prog"
5444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5454 if test -n "$LEX"; then
5455 { echo "$as_me:$LINENO: result: $LEX" >&5
5456 echo "${ECHO_T}$LEX" >&6; }
5458 { echo "$as_me:$LINENO: result: no" >&5
5459 echo "${ECHO_T}no" >&6; }
5463 test -n "$LEX" && break
5465 test -n "$LEX" || LEX=":"
5467 if test -z "$LEXLIB"
5469 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5470 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
5471 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5472 echo $ECHO_N "(cached) $ECHO_C" >&6
5474 ac_check_lib_save_LIBS=$LIBS
5476 cat >conftest.$ac_ext <<_ACEOF
5479 cat confdefs.h >>conftest.$ac_ext
5480 cat >>conftest.$ac_ext <<_ACEOF
5481 /* end confdefs.h. */
5483 /* Override any GCC internal prototype to avoid an error.
5484 Use char because int might match the return type of a GCC
5485 builtin and then its argument prototype would still apply. */
5498 rm -f conftest.$ac_objext conftest$ac_exeext
5499 if { (ac_try="$ac_link"
5501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5502 *) ac_try_echo=$ac_try;;
5504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5505 (eval "$ac_link") 2>conftest.er1
5507 grep -v '^ *+' conftest.er1 >conftest.err
5509 cat conftest.err >&5
5510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5511 (exit $ac_status); } &&
5512 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5513 { (case "(($ac_try" in
5514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5515 *) ac_try_echo=$ac_try;;
5517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5518 (eval "$ac_try") 2>&5
5520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5521 (exit $ac_status); }; } &&
5522 { ac_try='test -s conftest$ac_exeext'
5523 { (case "(($ac_try" in
5524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5525 *) ac_try_echo=$ac_try;;
5527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5528 (eval "$ac_try") 2>&5
5530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531 (exit $ac_status); }; }; then
5532 ac_cv_lib_fl_yywrap=yes
5534 echo "$as_me: failed program was:" >&5
5535 sed 's/^/| /' conftest.$ac_ext >&5
5537 ac_cv_lib_fl_yywrap=no
5540 rm -f core conftest.err conftest.$ac_objext \
5541 conftest$ac_exeext conftest.$ac_ext
5542 LIBS=$ac_check_lib_save_LIBS
5544 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5545 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
5546 if test $ac_cv_lib_fl_yywrap = yes; then
5549 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5550 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
5551 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5552 echo $ECHO_N "(cached) $ECHO_C" >&6
5554 ac_check_lib_save_LIBS=$LIBS
5556 cat >conftest.$ac_ext <<_ACEOF
5559 cat confdefs.h >>conftest.$ac_ext
5560 cat >>conftest.$ac_ext <<_ACEOF
5561 /* end confdefs.h. */
5563 /* Override any GCC internal prototype to avoid an error.
5564 Use char because int might match the return type of a GCC
5565 builtin and then its argument prototype would still apply. */
5578 rm -f conftest.$ac_objext conftest$ac_exeext
5579 if { (ac_try="$ac_link"
5581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5582 *) ac_try_echo=$ac_try;;
5584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5585 (eval "$ac_link") 2>conftest.er1
5587 grep -v '^ *+' conftest.er1 >conftest.err
5589 cat conftest.err >&5
5590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5591 (exit $ac_status); } &&
5592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5593 { (case "(($ac_try" in
5594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5595 *) ac_try_echo=$ac_try;;
5597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5598 (eval "$ac_try") 2>&5
5600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5601 (exit $ac_status); }; } &&
5602 { ac_try='test -s conftest$ac_exeext'
5603 { (case "(($ac_try" in
5604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5605 *) ac_try_echo=$ac_try;;
5607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5608 (eval "$ac_try") 2>&5
5610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5611 (exit $ac_status); }; }; then
5612 ac_cv_lib_l_yywrap=yes
5614 echo "$as_me: failed program was:" >&5
5615 sed 's/^/| /' conftest.$ac_ext >&5
5617 ac_cv_lib_l_yywrap=no
5620 rm -f core conftest.err conftest.$ac_objext \
5621 conftest$ac_exeext conftest.$ac_ext
5622 LIBS=$ac_check_lib_save_LIBS
5624 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5625 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
5626 if test $ac_cv_lib_l_yywrap = yes; then
5634 if test "x$LEX" != "x:"; then
5635 { echo "$as_me:$LINENO: checking lex output file root" >&5
5636 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5637 if test "${ac_cv_prog_lex_root+set}" = set; then
5638 echo $ECHO_N "(cached) $ECHO_C" >&6
5640 # The minimal lex program is just a single line: %%. But some broken lexes
5641 # (Solaris, I think it was) want two %% lines, so accommodate them.
5642 cat >conftest.l <<_ACEOF
5646 { (ac_try="$LEX conftest.l"
5648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5649 *) ac_try_echo=$ac_try;;
5651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5652 (eval "$LEX conftest.l") 2>&5
5654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5655 (exit $ac_status); }
5656 if test -f lex.yy.c; then
5657 ac_cv_prog_lex_root=lex.yy
5658 elif test -f lexyy.c; then
5659 ac_cv_prog_lex_root=lexyy
5661 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5662 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5663 { (exit 1); exit 1; }; }
5666 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5667 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5669 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5671 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5672 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5673 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5674 echo $ECHO_N "(cached) $ECHO_C" >&6
5676 # POSIX says lex can declare yytext either as a pointer or an array; the
5677 # default is implementation-dependent. Figure out which it is, since
5678 # not all implementations provide the %pointer and %array declarations.
5679 ac_cv_prog_lex_yytext_pointer=no
5680 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5682 LIBS="$LIBS $LEXLIB"
5683 cat >conftest.$ac_ext <<_ACEOF
5684 `cat $LEX_OUTPUT_ROOT.c`
5686 rm -f conftest.$ac_objext conftest$ac_exeext
5687 if { (ac_try="$ac_link"
5689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5690 *) ac_try_echo=$ac_try;;
5692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5693 (eval "$ac_link") 2>conftest.er1
5695 grep -v '^ *+' conftest.er1 >conftest.err
5697 cat conftest.err >&5
5698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5699 (exit $ac_status); } &&
5700 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5701 { (case "(($ac_try" in
5702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5703 *) ac_try_echo=$ac_try;;
5705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5706 (eval "$ac_try") 2>&5
5708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5709 (exit $ac_status); }; } &&
5710 { ac_try='test -s conftest$ac_exeext'
5711 { (case "(($ac_try" in
5712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5713 *) ac_try_echo=$ac_try;;
5715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5716 (eval "$ac_try") 2>&5
5718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5719 (exit $ac_status); }; }; then
5720 ac_cv_prog_lex_yytext_pointer=yes
5722 echo "$as_me: failed program was:" >&5
5723 sed 's/^/| /' conftest.$ac_ext >&5
5728 rm -f core conftest.err conftest.$ac_objext \
5729 conftest$ac_exeext conftest.$ac_ext
5731 rm -f "${LEX_OUTPUT_ROOT}.c"
5734 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5735 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5736 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5738 cat >>confdefs.h <<\_ACEOF
5739 #define YYTEXT_POINTER 1
5746 for ac_prog in $LEX flex lex
5748 # Extract the first word of "$ac_prog", so it can be a program name with args.
5749 set dummy $ac_prog; ac_word=$2
5750 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5752 if test "${ac_cv_prog_XLEX+set}" = set; then
5753 echo $ECHO_N "(cached) $ECHO_C" >&6
5755 if test -n "$XLEX"; then
5756 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
5758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5762 test -z "$as_dir" && as_dir=.
5763 for ac_exec_ext in '' $ac_executable_extensions; do
5764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5765 ac_cv_prog_XLEX="$ac_prog"
5766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5775 XLEX=$ac_cv_prog_XLEX
5776 if test -n "$XLEX"; then
5777 { echo "$as_me:$LINENO: result: $XLEX" >&5
5778 echo "${ECHO_T}$XLEX" >&6; }
5780 { echo "$as_me:$LINENO: result: no" >&5
5781 echo "${ECHO_T}no" >&6; }
5785 test -n "$XLEX" && break
5787 test -n "$XLEX" || XLEX="none"
5789 if test "$XLEX" = "none"
5791 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5792 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5793 { (exit 1); exit 1; }; }
5796 for ac_prog in bison
5798 # Extract the first word of "$ac_prog", so it can be a program name with args.
5799 set dummy $ac_prog; ac_word=$2
5800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5802 if test "${ac_cv_prog_BISON+set}" = set; then
5803 echo $ECHO_N "(cached) $ECHO_C" >&6
5805 if test -n "$BISON"; then
5806 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5812 test -z "$as_dir" && as_dir=.
5813 for ac_exec_ext in '' $ac_executable_extensions; do
5814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5815 ac_cv_prog_BISON="$ac_prog"
5816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5825 BISON=$ac_cv_prog_BISON
5826 if test -n "$BISON"; then
5827 { echo "$as_me:$LINENO: result: $BISON" >&5
5828 echo "${ECHO_T}$BISON" >&6; }
5830 { echo "$as_me:$LINENO: result: no" >&5
5831 echo "${ECHO_T}no" >&6; }
5835 test -n "$BISON" && break
5837 test -n "$BISON" || BISON="none"
5839 if test "$BISON" = "none"
5841 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5842 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5843 { (exit 1); exit 1; }; }
5846 if test -n "$ac_tool_prefix"; then
5847 for ac_prog in gas as
5849 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5850 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5851 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5853 if test "${ac_cv_prog_AS+set}" = set; then
5854 echo $ECHO_N "(cached) $ECHO_C" >&6
5856 if test -n "$AS"; then
5857 ac_cv_prog_AS="$AS" # Let the user override the test.
5859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5863 test -z "$as_dir" && as_dir=.
5864 for ac_exec_ext in '' $ac_executable_extensions; do
5865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5866 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5877 if test -n "$AS"; then
5878 { echo "$as_me:$LINENO: result: $AS" >&5
5879 echo "${ECHO_T}$AS" >&6; }
5881 { echo "$as_me:$LINENO: result: no" >&5
5882 echo "${ECHO_T}no" >&6; }
5886 test -n "$AS" && break
5889 if test -z "$AS"; then
5891 for ac_prog in gas as
5893 # Extract the first word of "$ac_prog", so it can be a program name with args.
5894 set dummy $ac_prog; ac_word=$2
5895 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5897 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5898 echo $ECHO_N "(cached) $ECHO_C" >&6
5900 if test -n "$ac_ct_AS"; then
5901 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5907 test -z "$as_dir" && as_dir=.
5908 for ac_exec_ext in '' $ac_executable_extensions; do
5909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5910 ac_cv_prog_ac_ct_AS="$ac_prog"
5911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5920 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5921 if test -n "$ac_ct_AS"; then
5922 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5923 echo "${ECHO_T}$ac_ct_AS" >&6; }
5925 { echo "$as_me:$LINENO: result: no" >&5
5926 echo "${ECHO_T}no" >&6; }
5930 test -n "$ac_ct_AS" && break
5933 if test "x$ac_ct_AS" = x; then
5936 case $cross_compiling:$ac_tool_warned in
5938 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5939 whose name does not start with the host triplet. If you think this
5940 configuration is useful to you, please write to autoconf@gnu.org." >&5
5941 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5942 whose name does not start with the host triplet. If you think this
5943 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5944 ac_tool_warned=yes ;;
5950 if test -n "$ac_tool_prefix"; then
5951 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5952 set dummy ${ac_tool_prefix}ld; ac_word=$2
5953 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5955 if test "${ac_cv_prog_LD+set}" = set; then
5956 echo $ECHO_N "(cached) $ECHO_C" >&6
5958 if test -n "$LD"; then
5959 ac_cv_prog_LD="$LD" # Let the user override the test.
5961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5965 test -z "$as_dir" && as_dir=.
5966 for ac_exec_ext in '' $ac_executable_extensions; do
5967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5968 ac_cv_prog_LD="${ac_tool_prefix}ld"
5969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5979 if test -n "$LD"; then
5980 { echo "$as_me:$LINENO: result: $LD" >&5
5981 echo "${ECHO_T}$LD" >&6; }
5983 { echo "$as_me:$LINENO: result: no" >&5
5984 echo "${ECHO_T}no" >&6; }
5989 if test -z "$ac_cv_prog_LD"; then
5991 # Extract the first word of "ld", so it can be a program name with args.
5992 set dummy ld; ac_word=$2
5993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5995 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5996 echo $ECHO_N "(cached) $ECHO_C" >&6
5998 if test -n "$ac_ct_LD"; then
5999 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6005 test -z "$as_dir" && as_dir=.
6006 for ac_exec_ext in '' $ac_executable_extensions; do
6007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6008 ac_cv_prog_ac_ct_LD="ld"
6009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6018 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6019 if test -n "$ac_ct_LD"; then
6020 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
6021 echo "${ECHO_T}$ac_ct_LD" >&6; }
6023 { echo "$as_me:$LINENO: result: no" >&5
6024 echo "${ECHO_T}no" >&6; }
6027 if test "x$ac_ct_LD" = x; then
6030 case $cross_compiling:$ac_tool_warned in
6032 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6033 whose name does not start with the host triplet. If you think this
6034 configuration is useful to you, please write to autoconf@gnu.org." >&5
6035 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6036 whose name does not start with the host triplet. If you think this
6037 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6038 ac_tool_warned=yes ;;
6046 if test -n "$ac_tool_prefix"; then
6047 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6048 set dummy ${ac_tool_prefix}ar; ac_word=$2
6049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6051 if test "${ac_cv_prog_AR+set}" = set; then
6052 echo $ECHO_N "(cached) $ECHO_C" >&6
6054 if test -n "$AR"; then
6055 ac_cv_prog_AR="$AR" # Let the user override the test.
6057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6061 test -z "$as_dir" && as_dir=.
6062 for ac_exec_ext in '' $ac_executable_extensions; do
6063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6064 ac_cv_prog_AR="${ac_tool_prefix}ar"
6065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6075 if test -n "$AR"; then
6076 { echo "$as_me:$LINENO: result: $AR" >&5
6077 echo "${ECHO_T}$AR" >&6; }
6079 { echo "$as_me:$LINENO: result: no" >&5
6080 echo "${ECHO_T}no" >&6; }
6085 if test -z "$ac_cv_prog_AR"; then
6087 # Extract the first word of "ar", so it can be a program name with args.
6088 set dummy ar; ac_word=$2
6089 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6091 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6092 echo $ECHO_N "(cached) $ECHO_C" >&6
6094 if test -n "$ac_ct_AR"; then
6095 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6101 test -z "$as_dir" && as_dir=.
6102 for ac_exec_ext in '' $ac_executable_extensions; do
6103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6104 ac_cv_prog_ac_ct_AR="ar"
6105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6114 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6115 if test -n "$ac_ct_AR"; then
6116 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6117 echo "${ECHO_T}$ac_ct_AR" >&6; }
6119 { echo "$as_me:$LINENO: result: no" >&5
6120 echo "${ECHO_T}no" >&6; }
6123 if test "x$ac_ct_AR" = x; then
6126 case $cross_compiling:$ac_tool_warned in
6128 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6129 whose name does not start with the host triplet. If you think this
6130 configuration is useful to you, please write to autoconf@gnu.org." >&5
6131 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6132 whose name does not start with the host triplet. If you think this
6133 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6134 ac_tool_warned=yes ;;
6142 if test -n "$ac_tool_prefix"; then
6143 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6144 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6147 if test "${ac_cv_prog_RANLIB+set}" = set; then
6148 echo $ECHO_N "(cached) $ECHO_C" >&6
6150 if test -n "$RANLIB"; then
6151 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6157 test -z "$as_dir" && as_dir=.
6158 for ac_exec_ext in '' $ac_executable_extensions; do
6159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6160 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6170 RANLIB=$ac_cv_prog_RANLIB
6171 if test -n "$RANLIB"; then
6172 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6173 echo "${ECHO_T}$RANLIB" >&6; }
6175 { echo "$as_me:$LINENO: result: no" >&5
6176 echo "${ECHO_T}no" >&6; }
6181 if test -z "$ac_cv_prog_RANLIB"; then
6182 ac_ct_RANLIB=$RANLIB
6183 # Extract the first word of "ranlib", so it can be a program name with args.
6184 set dummy ranlib; ac_word=$2
6185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6187 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6188 echo $ECHO_N "(cached) $ECHO_C" >&6
6190 if test -n "$ac_ct_RANLIB"; then
6191 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6197 test -z "$as_dir" && as_dir=.
6198 for ac_exec_ext in '' $ac_executable_extensions; do
6199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6200 ac_cv_prog_ac_ct_RANLIB="ranlib"
6201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6210 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6211 if test -n "$ac_ct_RANLIB"; then
6212 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6213 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6215 { echo "$as_me:$LINENO: result: no" >&5
6216 echo "${ECHO_T}no" >&6; }
6219 if test "x$ac_ct_RANLIB" = x; then
6222 case $cross_compiling:$ac_tool_warned in
6224 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6225 whose name does not start with the host triplet. If you think this
6226 configuration is useful to you, please write to autoconf@gnu.org." >&5
6227 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6228 whose name does not start with the host triplet. If you think this
6229 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6230 ac_tool_warned=yes ;;
6232 RANLIB=$ac_ct_RANLIB
6235 RANLIB="$ac_cv_prog_RANLIB"
6238 if test -n "$ac_tool_prefix"; then
6239 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6240 set dummy ${ac_tool_prefix}strip; ac_word=$2
6241 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6243 if test "${ac_cv_prog_STRIP+set}" = set; then
6244 echo $ECHO_N "(cached) $ECHO_C" >&6
6246 if test -n "$STRIP"; then
6247 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6253 test -z "$as_dir" && as_dir=.
6254 for ac_exec_ext in '' $ac_executable_extensions; do
6255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6256 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6266 STRIP=$ac_cv_prog_STRIP
6267 if test -n "$STRIP"; then
6268 { echo "$as_me:$LINENO: result: $STRIP" >&5
6269 echo "${ECHO_T}$STRIP" >&6; }
6271 { echo "$as_me:$LINENO: result: no" >&5
6272 echo "${ECHO_T}no" >&6; }
6277 if test -z "$ac_cv_prog_STRIP"; then
6279 # Extract the first word of "strip", so it can be a program name with args.
6280 set dummy strip; ac_word=$2
6281 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6283 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6284 echo $ECHO_N "(cached) $ECHO_C" >&6
6286 if test -n "$ac_ct_STRIP"; then
6287 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6293 test -z "$as_dir" && as_dir=.
6294 for ac_exec_ext in '' $ac_executable_extensions; do
6295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6296 ac_cv_prog_ac_ct_STRIP="strip"
6297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6306 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6307 if test -n "$ac_ct_STRIP"; then
6308 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6309 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6311 { echo "$as_me:$LINENO: result: no" >&5
6312 echo "${ECHO_T}no" >&6; }
6315 if test "x$ac_ct_STRIP" = x; then
6318 case $cross_compiling:$ac_tool_warned in
6320 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6321 whose name does not start with the host triplet. If you think this
6322 configuration is useful to you, please write to autoconf@gnu.org." >&5
6323 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6324 whose name does not start with the host triplet. If you think this
6325 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6326 ac_tool_warned=yes ;;
6331 STRIP="$ac_cv_prog_STRIP"
6334 if test -n "$ac_tool_prefix"; then
6335 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
6336 set dummy ${ac_tool_prefix}windres; ac_word=$2
6337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6339 if test "${ac_cv_prog_WINDRES+set}" = set; then
6340 echo $ECHO_N "(cached) $ECHO_C" >&6
6342 if test -n "$WINDRES"; then
6343 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
6345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6349 test -z "$as_dir" && as_dir=.
6350 for ac_exec_ext in '' $ac_executable_extensions; do
6351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6352 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
6353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6362 WINDRES=$ac_cv_prog_WINDRES
6363 if test -n "$WINDRES"; then
6364 { echo "$as_me:$LINENO: result: $WINDRES" >&5
6365 echo "${ECHO_T}$WINDRES" >&6; }
6367 { echo "$as_me:$LINENO: result: no" >&5
6368 echo "${ECHO_T}no" >&6; }
6373 if test -z "$ac_cv_prog_WINDRES"; then
6374 ac_ct_WINDRES=$WINDRES
6375 # Extract the first word of "windres", so it can be a program name with args.
6376 set dummy windres; ac_word=$2
6377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6379 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6380 echo $ECHO_N "(cached) $ECHO_C" >&6
6382 if test -n "$ac_ct_WINDRES"; then
6383 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
6385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6389 test -z "$as_dir" && as_dir=.
6390 for ac_exec_ext in '' $ac_executable_extensions; do
6391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6392 ac_cv_prog_ac_ct_WINDRES="windres"
6393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6402 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
6403 if test -n "$ac_ct_WINDRES"; then
6404 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6405 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6407 { echo "$as_me:$LINENO: result: no" >&5
6408 echo "${ECHO_T}no" >&6; }
6411 if test "x$ac_ct_WINDRES" = x; then
6414 case $cross_compiling:$ac_tool_warned in
6416 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6417 whose name does not start with the host triplet. If you think this
6418 configuration is useful to you, please write to autoconf@gnu.org." >&5
6419 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6420 whose name does not start with the host triplet. If you think this
6421 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6422 ac_tool_warned=yes ;;
6424 WINDRES=$ac_ct_WINDRES
6427 WINDRES="$ac_cv_prog_WINDRES"
6430 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6431 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6433 if test "$LN_S" = "ln -s"; then
6434 { echo "$as_me:$LINENO: result: yes" >&5
6435 echo "${ECHO_T}yes" >&6; }
6437 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6438 echo "${ECHO_T}no, using $LN_S" >&6; }
6441 { echo "$as_me:$LINENO: checking whether ln works" >&5
6442 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6443 rm -f conf$$ conf$$.file
6445 if ln conf$$.file conf$$ 2>/dev/null; then
6448 { echo "$as_me:$LINENO: result: yes" >&5
6449 echo "${ECHO_T}yes" >&6; }
6453 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6454 echo "${ECHO_T}no, using $LN" >&6; }
6456 rm -f conf$$ conf$$.file
6457 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6458 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6459 if test "${ac_cv_path_GREP+set}" = set; then
6460 echo $ECHO_N "(cached) $ECHO_C" >&6
6462 # Extract the first word of "grep ggrep" to use in msg output
6463 if test -z "$GREP"; then
6464 set dummy grep ggrep; ac_prog_name=$2
6465 if test "${ac_cv_path_GREP+set}" = set; then
6466 echo $ECHO_N "(cached) $ECHO_C" >&6
6468 ac_path_GREP_found=false
6469 # Loop through the user's path and test for each of PROGNAME-LIST
6470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6471 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6474 test -z "$as_dir" && as_dir=.
6475 for ac_prog in grep ggrep; do
6476 for ac_exec_ext in '' $ac_executable_extensions; do
6477 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6478 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
6479 # Check for GNU ac_path_GREP and select it if it is found.
6480 # Check for GNU $ac_path_GREP
6481 case `"$ac_path_GREP" --version 2>&1` in
6483 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6486 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6489 cat "conftest.in" "conftest.in" >"conftest.tmp"
6490 mv "conftest.tmp" "conftest.in"
6491 cp "conftest.in" "conftest.nl"
6492 echo 'GREP' >> "conftest.nl"
6493 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6494 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6495 ac_count=`expr $ac_count + 1`
6496 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6497 # Best one so far, save it but keep looking for a better one
6498 ac_cv_path_GREP="$ac_path_GREP"
6499 ac_path_GREP_max=$ac_count
6501 # 10*(2^10) chars as input seems more than enough
6502 test $ac_count -gt 10 && break
6504 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6508 $ac_path_GREP_found && break 3
6518 GREP="$ac_cv_path_GREP"
6519 if test -z "$GREP"; then
6520 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6521 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6522 { (exit 1); exit 1; }; }
6526 ac_cv_path_GREP=$GREP
6531 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6532 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6533 GREP="$ac_cv_path_GREP"
6536 { echo "$as_me:$LINENO: checking for egrep" >&5
6537 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6538 if test "${ac_cv_path_EGREP+set}" = set; then
6539 echo $ECHO_N "(cached) $ECHO_C" >&6
6541 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6542 then ac_cv_path_EGREP="$GREP -E"
6544 # Extract the first word of "egrep" to use in msg output
6545 if test -z "$EGREP"; then
6546 set dummy egrep; ac_prog_name=$2
6547 if test "${ac_cv_path_EGREP+set}" = set; then
6548 echo $ECHO_N "(cached) $ECHO_C" >&6
6550 ac_path_EGREP_found=false
6551 # Loop through the user's path and test for each of PROGNAME-LIST
6552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6553 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6556 test -z "$as_dir" && as_dir=.
6557 for ac_prog in egrep; do
6558 for ac_exec_ext in '' $ac_executable_extensions; do
6559 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6560 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
6561 # Check for GNU ac_path_EGREP and select it if it is found.
6562 # Check for GNU $ac_path_EGREP
6563 case `"$ac_path_EGREP" --version 2>&1` in
6565 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6568 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6571 cat "conftest.in" "conftest.in" >"conftest.tmp"
6572 mv "conftest.tmp" "conftest.in"
6573 cp "conftest.in" "conftest.nl"
6574 echo 'EGREP' >> "conftest.nl"
6575 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6576 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6577 ac_count=`expr $ac_count + 1`
6578 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6579 # Best one so far, save it but keep looking for a better one
6580 ac_cv_path_EGREP="$ac_path_EGREP"
6581 ac_path_EGREP_max=$ac_count
6583 # 10*(2^10) chars as input seems more than enough
6584 test $ac_count -gt 10 && break
6586 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6590 $ac_path_EGREP_found && break 3
6600 EGREP="$ac_cv_path_EGREP"
6601 if test -z "$EGREP"; then
6602 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6603 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6604 { (exit 1); exit 1; }; }
6608 ac_cv_path_EGREP=$EGREP
6614 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6615 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6616 EGREP="$ac_cv_path_EGREP"
6619 # Extract the first word of "ldconfig", so it can be a program name with args.
6620 set dummy ldconfig; ac_word=$2
6621 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6623 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6624 echo $ECHO_N "(cached) $ECHO_C" >&6
6628 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6632 for as_dir in /sbin /usr/sbin $PATH
6635 test -z "$as_dir" && as_dir=.
6636 for ac_exec_ext in '' $ac_executable_extensions; do
6637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6638 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6646 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6650 LDCONFIG=$ac_cv_path_LDCONFIG
6651 if test -n "$LDCONFIG"; then
6652 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6653 echo "${ECHO_T}$LDCONFIG" >&6; }
6655 { echo "$as_me:$LINENO: result: no" >&5
6656 echo "${ECHO_T}no" >&6; }
6660 # Find a good install program. We prefer a C program (faster),
6661 # so one script is as good as another. But avoid the broken or
6662 # incompatible versions:
6663 # SysV /etc/install, /usr/sbin/install
6664 # SunOS /usr/etc/install
6665 # IRIX /sbin/install
6667 # AmigaOS /C/install, which installs bootblocks on floppy discs
6668 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6669 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6670 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6671 # OS/2's system install, which has a completely different semantic
6672 # ./install, which can be erroneously created by make from ./install.sh.
6673 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6674 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6675 if test -z "$INSTALL"; then
6676 if test "${ac_cv_path_install+set}" = set; then
6677 echo $ECHO_N "(cached) $ECHO_C" >&6
6679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6683 test -z "$as_dir" && as_dir=.
6684 # Account for people who put trailing slashes in PATH elements.
6686 ./ | .// | /cC/* | \
6687 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6688 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6691 # OSF1 and SCO ODT 3.0 have their own names for install.
6692 # Don't use installbsd from OSF since it installs stuff as root
6694 for ac_prog in ginstall scoinst install; do
6695 for ac_exec_ext in '' $ac_executable_extensions; do
6696 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6697 if test $ac_prog = install &&
6698 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6699 # AIX install. It has an incompatible calling convention.
6701 elif test $ac_prog = install &&
6702 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6703 # program-specific install script used by HP pwplus--don't use.
6706 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6719 if test "${ac_cv_path_install+set}" = set; then
6720 INSTALL=$ac_cv_path_install
6722 # As a last resort, use the slow shell script. Don't cache a
6723 # value for INSTALL within a source directory, because that will
6724 # break other packages using the cache if that directory is
6725 # removed, or if the value is a relative name.
6726 INSTALL=$ac_install_sh
6729 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6730 echo "${ECHO_T}$INSTALL" >&6; }
6732 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6733 # It thinks the first close brace ends the variable substitution.
6734 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6736 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6738 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6741 [\\/$]* | ?:[\\/]* ) ;;
6742 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6745 for ac_prog in lclint lint
6747 # Extract the first word of "$ac_prog", so it can be a program name with args.
6748 set dummy $ac_prog; ac_word=$2
6749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6751 if test "${ac_cv_prog_LINT+set}" = set; then
6752 echo $ECHO_N "(cached) $ECHO_C" >&6
6754 if test -n "$LINT"; then
6755 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6761 test -z "$as_dir" && as_dir=.
6762 for ac_exec_ext in '' $ac_executable_extensions; do
6763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6764 ac_cv_prog_LINT="$ac_prog"
6765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6774 LINT=$ac_cv_prog_LINT
6775 if test -n "$LINT"; then
6776 { echo "$as_me:$LINENO: result: $LINT" >&5
6777 echo "${ECHO_T}$LINT" >&6; }
6779 { echo "$as_me:$LINENO: result: no" >&5
6780 echo "${ECHO_T}no" >&6; }
6784 test -n "$LINT" && break
6787 if test "$LINT" = "lint"
6789 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6794 for ac_prog in fontforge
6796 # Extract the first word of "$ac_prog", so it can be a program name with args.
6797 set dummy $ac_prog; ac_word=$2
6798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6800 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6801 echo $ECHO_N "(cached) $ECHO_C" >&6
6803 if test -n "$FONTFORGE"; then
6804 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6810 test -z "$as_dir" && as_dir=.
6811 for ac_exec_ext in '' $ac_executable_extensions; do
6812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6813 ac_cv_prog_FONTFORGE="$ac_prog"
6814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6823 FONTFORGE=$ac_cv_prog_FONTFORGE
6824 if test -n "$FONTFORGE"; then
6825 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6826 echo "${ECHO_T}$FONTFORGE" >&6; }
6828 { echo "$as_me:$LINENO: result: no" >&5
6829 echo "${ECHO_T}no" >&6; }
6833 test -n "$FONTFORGE" && break
6835 test -n "$FONTFORGE" || FONTFORGE="false"
6837 for ac_prog in pkg-config
6839 # Extract the first word of "$ac_prog", so it can be a program name with args.
6840 set dummy $ac_prog; ac_word=$2
6841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6843 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6844 echo $ECHO_N "(cached) $ECHO_C" >&6
6846 if test -n "$PKG_CONFIG"; then
6847 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6853 test -z "$as_dir" && as_dir=.
6854 for ac_exec_ext in '' $ac_executable_extensions; do
6855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6856 ac_cv_prog_PKG_CONFIG="$ac_prog"
6857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6866 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6867 if test -n "$PKG_CONFIG"; then
6868 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6869 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6871 { echo "$as_me:$LINENO: result: no" >&5
6872 echo "${ECHO_T}no" >&6; }
6876 test -n "$PKG_CONFIG" && break
6878 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6883 # Extract the first word of "prelink", so it can be a program name with args.
6884 set dummy prelink; ac_word=$2
6885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6887 if test "${ac_cv_path_PRELINK+set}" = set; then
6888 echo $ECHO_N "(cached) $ECHO_C" >&6
6892 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6896 for as_dir in /sbin /usr/sbin $PATH
6899 test -z "$as_dir" && as_dir=.
6900 for ac_exec_ext in '' $ac_executable_extensions; do
6901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6902 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6910 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6914 PRELINK=$ac_cv_path_PRELINK
6915 if test -n "$PRELINK"; then
6916 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6917 echo "${ECHO_T}$PRELINK" >&6; }
6919 { echo "$as_me:$LINENO: result: no" >&5
6920 echo "${ECHO_T}no" >&6; }
6929 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6930 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6931 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6932 echo $ECHO_N "(cached) $ECHO_C" >&6
6934 ac_check_lib_save_LIBS=$LIBS
6936 cat >conftest.$ac_ext <<_ACEOF
6939 cat confdefs.h >>conftest.$ac_ext
6940 cat >>conftest.$ac_ext <<_ACEOF
6941 /* end confdefs.h. */
6943 /* Override any GCC internal prototype to avoid an error.
6944 Use char because int might match the return type of a GCC
6945 builtin and then its argument prototype would still apply. */
6949 char i386_set_ldt ();
6953 return i386_set_ldt ();
6958 rm -f conftest.$ac_objext conftest$ac_exeext
6959 if { (ac_try="$ac_link"
6961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6962 *) ac_try_echo=$ac_try;;
6964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6965 (eval "$ac_link") 2>conftest.er1
6967 grep -v '^ *+' conftest.er1 >conftest.err
6969 cat conftest.err >&5
6970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6971 (exit $ac_status); } &&
6972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6973 { (case "(($ac_try" in
6974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6975 *) ac_try_echo=$ac_try;;
6977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6978 (eval "$ac_try") 2>&5
6980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6981 (exit $ac_status); }; } &&
6982 { ac_try='test -s conftest$ac_exeext'
6983 { (case "(($ac_try" in
6984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6985 *) ac_try_echo=$ac_try;;
6987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6988 (eval "$ac_try") 2>&5
6990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6991 (exit $ac_status); }; }; then
6992 ac_cv_lib_i386_i386_set_ldt=yes
6994 echo "$as_me: failed program was:" >&5
6995 sed 's/^/| /' conftest.$ac_ext >&5
6997 ac_cv_lib_i386_i386_set_ldt=no
7000 rm -f core conftest.err conftest.$ac_objext \
7001 conftest$ac_exeext conftest.$ac_ext
7002 LIBS=$ac_check_lib_save_LIBS
7004 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7005 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
7006 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
7007 cat >>confdefs.h <<_ACEOF
7008 #define HAVE_LIBI386 1
7016 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
7017 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
7018 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
7019 echo $ECHO_N "(cached) $ECHO_C" >&6
7021 ac_check_lib_save_LIBS=$LIBS
7022 LIBS="-lossaudio $LIBS"
7023 cat >conftest.$ac_ext <<_ACEOF
7026 cat confdefs.h >>conftest.$ac_ext
7027 cat >>conftest.$ac_ext <<_ACEOF
7028 /* end confdefs.h. */
7030 /* Override any GCC internal prototype to avoid an error.
7031 Use char because int might match the return type of a GCC
7032 builtin and then its argument prototype would still apply. */
7040 return _oss_ioctl ();
7045 rm -f conftest.$ac_objext conftest$ac_exeext
7046 if { (ac_try="$ac_link"
7048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7049 *) ac_try_echo=$ac_try;;
7051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7052 (eval "$ac_link") 2>conftest.er1
7054 grep -v '^ *+' conftest.er1 >conftest.err
7056 cat conftest.err >&5
7057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7058 (exit $ac_status); } &&
7059 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7060 { (case "(($ac_try" in
7061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7062 *) ac_try_echo=$ac_try;;
7064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7065 (eval "$ac_try") 2>&5
7067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7068 (exit $ac_status); }; } &&
7069 { ac_try='test -s conftest$ac_exeext'
7070 { (case "(($ac_try" in
7071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7072 *) ac_try_echo=$ac_try;;
7074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7075 (eval "$ac_try") 2>&5
7077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078 (exit $ac_status); }; }; then
7079 ac_cv_lib_ossaudio__oss_ioctl=yes
7081 echo "$as_me: failed program was:" >&5
7082 sed 's/^/| /' conftest.$ac_ext >&5
7084 ac_cv_lib_ossaudio__oss_ioctl=no
7087 rm -f core conftest.err conftest.$ac_objext \
7088 conftest$ac_exeext conftest.$ac_ext
7089 LIBS=$ac_check_lib_save_LIBS
7091 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
7092 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
7093 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
7094 cat >>confdefs.h <<_ACEOF
7095 #define HAVE_LIBOSSAUDIO 1
7098 LIBS="-lossaudio $LIBS"
7103 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
7104 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
7105 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
7106 echo $ECHO_N "(cached) $ECHO_C" >&6
7108 ac_check_lib_save_LIBS=$LIBS
7110 cat >conftest.$ac_ext <<_ACEOF
7113 cat confdefs.h >>conftest.$ac_ext
7114 cat >>conftest.$ac_ext <<_ACEOF
7115 /* end confdefs.h. */
7117 /* Override any GCC internal prototype to avoid an error.
7118 Use char because int might match the return type of a GCC
7119 builtin and then its argument prototype would still apply. */
7123 char _xpg4_setrunelocale ();
7127 return _xpg4_setrunelocale ();
7132 rm -f conftest.$ac_objext conftest$ac_exeext
7133 if { (ac_try="$ac_link"
7135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7136 *) ac_try_echo=$ac_try;;
7138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7139 (eval "$ac_link") 2>conftest.er1
7141 grep -v '^ *+' conftest.er1 >conftest.err
7143 cat conftest.err >&5
7144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7145 (exit $ac_status); } &&
7146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7147 { (case "(($ac_try" in
7148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7149 *) ac_try_echo=$ac_try;;
7151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7152 (eval "$ac_try") 2>&5
7154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7155 (exit $ac_status); }; } &&
7156 { ac_try='test -s conftest$ac_exeext'
7157 { (case "(($ac_try" in
7158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7159 *) ac_try_echo=$ac_try;;
7161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7162 (eval "$ac_try") 2>&5
7164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7165 (exit $ac_status); }; }; then
7166 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
7168 echo "$as_me: failed program was:" >&5
7169 sed 's/^/| /' conftest.$ac_ext >&5
7171 ac_cv_lib_xpg4__xpg4_setrunelocale=no
7174 rm -f core conftest.err conftest.$ac_objext \
7175 conftest$ac_exeext conftest.$ac_ext
7176 LIBS=$ac_check_lib_save_LIBS
7178 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
7179 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
7180 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
7181 cat >>confdefs.h <<_ACEOF
7182 #define HAVE_LIBXPG4 1
7189 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
7190 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
7191 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
7192 echo $ECHO_N "(cached) $ECHO_C" >&6
7194 ac_check_lib_save_LIBS=$LIBS
7195 LIBS="-lpthread $LIBS"
7196 cat >conftest.$ac_ext <<_ACEOF
7199 cat confdefs.h >>conftest.$ac_ext
7200 cat >>conftest.$ac_ext <<_ACEOF
7201 /* end confdefs.h. */
7203 /* Override any GCC internal prototype to avoid an error.
7204 Use char because int might match the return type of a GCC
7205 builtin and then its argument prototype would still apply. */
7209 char pthread_create ();
7213 return pthread_create ();
7218 rm -f conftest.$ac_objext conftest$ac_exeext
7219 if { (ac_try="$ac_link"
7221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7222 *) ac_try_echo=$ac_try;;
7224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7225 (eval "$ac_link") 2>conftest.er1
7227 grep -v '^ *+' conftest.er1 >conftest.err
7229 cat conftest.err >&5
7230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7231 (exit $ac_status); } &&
7232 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7233 { (case "(($ac_try" in
7234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7235 *) ac_try_echo=$ac_try;;
7237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7238 (eval "$ac_try") 2>&5
7240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7241 (exit $ac_status); }; } &&
7242 { ac_try='test -s conftest$ac_exeext'
7243 { (case "(($ac_try" in
7244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7245 *) ac_try_echo=$ac_try;;
7247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7248 (eval "$ac_try") 2>&5
7250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7251 (exit $ac_status); }; }; then
7252 ac_cv_lib_pthread_pthread_create=yes
7254 echo "$as_me: failed program was:" >&5
7255 sed 's/^/| /' conftest.$ac_ext >&5
7257 ac_cv_lib_pthread_pthread_create=no
7260 rm -f core conftest.err conftest.$ac_objext \
7261 conftest$ac_exeext conftest.$ac_ext
7262 LIBS=$ac_check_lib_save_LIBS
7264 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
7265 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
7266 if test $ac_cv_lib_pthread_pthread_create = yes; then
7267 LIBPTHREAD="-lpthread"
7286 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7287 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7288 if test "${ac_cv_header_stdc+set}" = set; then
7289 echo $ECHO_N "(cached) $ECHO_C" >&6
7291 cat >conftest.$ac_ext <<_ACEOF
7294 cat confdefs.h >>conftest.$ac_ext
7295 cat >>conftest.$ac_ext <<_ACEOF
7296 /* end confdefs.h. */
7310 rm -f conftest.$ac_objext
7311 if { (ac_try="$ac_compile"
7313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7314 *) ac_try_echo=$ac_try;;
7316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7317 (eval "$ac_compile") 2>conftest.er1
7319 grep -v '^ *+' conftest.er1 >conftest.err
7321 cat conftest.err >&5
7322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7323 (exit $ac_status); } &&
7324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7325 { (case "(($ac_try" in
7326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7327 *) ac_try_echo=$ac_try;;
7329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7330 (eval "$ac_try") 2>&5
7332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7333 (exit $ac_status); }; } &&
7334 { ac_try='test -s conftest.$ac_objext'
7335 { (case "(($ac_try" in
7336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7337 *) ac_try_echo=$ac_try;;
7339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7340 (eval "$ac_try") 2>&5
7342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7343 (exit $ac_status); }; }; then
7344 ac_cv_header_stdc=yes
7346 echo "$as_me: failed program was:" >&5
7347 sed 's/^/| /' conftest.$ac_ext >&5
7349 ac_cv_header_stdc=no
7352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7354 if test $ac_cv_header_stdc = yes; then
7355 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7356 cat >conftest.$ac_ext <<_ACEOF
7359 cat confdefs.h >>conftest.$ac_ext
7360 cat >>conftest.$ac_ext <<_ACEOF
7361 /* end confdefs.h. */
7365 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7366 $EGREP "memchr" >/dev/null 2>&1; then
7369 ac_cv_header_stdc=no
7375 if test $ac_cv_header_stdc = yes; then
7376 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7377 cat >conftest.$ac_ext <<_ACEOF
7380 cat confdefs.h >>conftest.$ac_ext
7381 cat >>conftest.$ac_ext <<_ACEOF
7382 /* end confdefs.h. */
7386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7387 $EGREP "free" >/dev/null 2>&1; then
7390 ac_cv_header_stdc=no
7396 if test $ac_cv_header_stdc = yes; then
7397 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7398 if test "$cross_compiling" = yes; then
7401 cat >conftest.$ac_ext <<_ACEOF
7404 cat confdefs.h >>conftest.$ac_ext
7405 cat >>conftest.$ac_ext <<_ACEOF
7406 /* end confdefs.h. */
7409 #if ((' ' & 0x0FF) == 0x020)
7410 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7411 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7413 # define ISLOWER(c) \
7414 (('a' <= (c) && (c) <= 'i') \
7415 || ('j' <= (c) && (c) <= 'r') \
7416 || ('s' <= (c) && (c) <= 'z'))
7417 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7420 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7425 for (i = 0; i < 256; i++)
7426 if (XOR (islower (i), ISLOWER (i))
7427 || toupper (i) != TOUPPER (i))
7432 rm -f conftest$ac_exeext
7433 if { (ac_try="$ac_link"
7435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7436 *) ac_try_echo=$ac_try;;
7438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7439 (eval "$ac_link") 2>&5
7441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7442 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7443 { (case "(($ac_try" in
7444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7445 *) ac_try_echo=$ac_try;;
7447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7448 (eval "$ac_try") 2>&5
7450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7451 (exit $ac_status); }; }; then
7454 echo "$as_me: program exited with status $ac_status" >&5
7455 echo "$as_me: failed program was:" >&5
7456 sed 's/^/| /' conftest.$ac_ext >&5
7459 ac_cv_header_stdc=no
7461 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7467 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7468 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7469 if test $ac_cv_header_stdc = yes; then
7471 cat >>confdefs.h <<\_ACEOF
7472 #define STDC_HEADERS 1
7477 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7487 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7488 inttypes.h stdint.h unistd.h
7490 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7491 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7493 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7494 echo $ECHO_N "(cached) $ECHO_C" >&6
7496 cat >conftest.$ac_ext <<_ACEOF
7499 cat confdefs.h >>conftest.$ac_ext
7500 cat >>conftest.$ac_ext <<_ACEOF
7501 /* end confdefs.h. */
7502 $ac_includes_default
7504 #include <$ac_header>
7506 rm -f conftest.$ac_objext
7507 if { (ac_try="$ac_compile"
7509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7510 *) ac_try_echo=$ac_try;;
7512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7513 (eval "$ac_compile") 2>conftest.er1
7515 grep -v '^ *+' conftest.er1 >conftest.err
7517 cat conftest.err >&5
7518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7519 (exit $ac_status); } &&
7520 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7521 { (case "(($ac_try" in
7522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7523 *) ac_try_echo=$ac_try;;
7525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7526 (eval "$ac_try") 2>&5
7528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7529 (exit $ac_status); }; } &&
7530 { ac_try='test -s conftest.$ac_objext'
7531 { (case "(($ac_try" in
7532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7533 *) ac_try_echo=$ac_try;;
7535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7536 (eval "$ac_try") 2>&5
7538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7539 (exit $ac_status); }; }; then
7540 eval "$as_ac_Header=yes"
7542 echo "$as_me: failed program was:" >&5
7543 sed 's/^/| /' conftest.$ac_ext >&5
7545 eval "$as_ac_Header=no"
7548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7550 ac_res=`eval echo '${'$as_ac_Header'}'`
7551 { echo "$as_me:$LINENO: result: $ac_res" >&5
7552 echo "${ECHO_T}$ac_res" >&6; }
7553 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7554 cat >>confdefs.h <<_ACEOF
7555 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7671 AudioUnit/AudioUnit.h \
7673 CoreAudio/CoreAudio.h \
7686 fontconfig/fontconfig.h \
7711 machine/soundcard.h \
7716 netinet/in_systm.h \
7780 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7781 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7782 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7784 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7785 echo $ECHO_N "(cached) $ECHO_C" >&6
7787 ac_res=`eval echo '${'$as_ac_Header'}'`
7788 { echo "$as_me:$LINENO: result: $ac_res" >&5
7789 echo "${ECHO_T}$ac_res" >&6; }
7791 # Is the header compilable?
7792 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7793 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7794 cat >conftest.$ac_ext <<_ACEOF
7797 cat confdefs.h >>conftest.$ac_ext
7798 cat >>conftest.$ac_ext <<_ACEOF
7799 /* end confdefs.h. */
7800 $ac_includes_default
7801 #include <$ac_header>
7803 rm -f conftest.$ac_objext
7804 if { (ac_try="$ac_compile"
7806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7807 *) ac_try_echo=$ac_try;;
7809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7810 (eval "$ac_compile") 2>conftest.er1
7812 grep -v '^ *+' conftest.er1 >conftest.err
7814 cat conftest.err >&5
7815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7816 (exit $ac_status); } &&
7817 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7818 { (case "(($ac_try" in
7819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7820 *) ac_try_echo=$ac_try;;
7822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7823 (eval "$ac_try") 2>&5
7825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826 (exit $ac_status); }; } &&
7827 { ac_try='test -s conftest.$ac_objext'
7828 { (case "(($ac_try" in
7829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7830 *) ac_try_echo=$ac_try;;
7832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7833 (eval "$ac_try") 2>&5
7835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7836 (exit $ac_status); }; }; then
7837 ac_header_compiler=yes
7839 echo "$as_me: failed program was:" >&5
7840 sed 's/^/| /' conftest.$ac_ext >&5
7842 ac_header_compiler=no
7845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7846 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7847 echo "${ECHO_T}$ac_header_compiler" >&6; }
7849 # Is the header present?
7850 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7851 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7852 cat >conftest.$ac_ext <<_ACEOF
7855 cat confdefs.h >>conftest.$ac_ext
7856 cat >>conftest.$ac_ext <<_ACEOF
7857 /* end confdefs.h. */
7858 #include <$ac_header>
7860 if { (ac_try="$ac_cpp conftest.$ac_ext"
7862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7863 *) ac_try_echo=$ac_try;;
7865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7866 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7868 grep -v '^ *+' conftest.er1 >conftest.err
7870 cat conftest.err >&5
7871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7872 (exit $ac_status); } >/dev/null; then
7873 if test -s conftest.err; then
7874 ac_cpp_err=$ac_c_preproc_warn_flag
7875 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7882 if test -z "$ac_cpp_err"; then
7883 ac_header_preproc=yes
7885 echo "$as_me: failed program was:" >&5
7886 sed 's/^/| /' conftest.$ac_ext >&5
7888 ac_header_preproc=no
7891 rm -f conftest.err conftest.$ac_ext
7892 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7893 echo "${ECHO_T}$ac_header_preproc" >&6; }
7895 # So? What about this header?
7896 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7898 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7899 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7900 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7901 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7902 ac_header_preproc=yes
7905 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7906 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7907 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7908 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7909 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7910 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7911 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7912 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7913 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7914 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7915 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7916 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7918 ## ------------------------------------ ##
7919 ## Report this to wine-devel@winehq.org ##
7920 ## ------------------------------------ ##
7922 ) | sed "s/^/$as_me: WARNING: /" >&2
7925 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7927 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7928 echo $ECHO_N "(cached) $ECHO_C" >&6
7930 eval "$as_ac_Header=\$ac_header_preproc"
7932 ac_res=`eval echo '${'$as_ac_Header'}'`
7933 { echo "$as_me:$LINENO: result: $ac_res" >&5
7934 echo "${ECHO_T}$ac_res" >&6; }
7937 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7938 cat >>confdefs.h <<_ACEOF
7939 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7946 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7947 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7948 if test "${ac_cv_header_stat_broken+set}" = set; then
7949 echo $ECHO_N "(cached) $ECHO_C" >&6
7951 cat >conftest.$ac_ext <<_ACEOF
7954 cat confdefs.h >>conftest.$ac_ext
7955 cat >>conftest.$ac_ext <<_ACEOF
7956 /* end confdefs.h. */
7957 #include <sys/types.h>
7958 #include <sys/stat.h>
7960 #if defined S_ISBLK && defined S_IFDIR
7961 # if S_ISBLK (S_IFDIR)
7966 #if defined S_ISBLK && defined S_IFCHR
7967 # if S_ISBLK (S_IFCHR)
7972 #if defined S_ISLNK && defined S_IFREG
7973 # if S_ISLNK (S_IFREG)
7978 #if defined S_ISSOCK && defined S_IFREG
7979 # if S_ISSOCK (S_IFREG)
7985 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7986 $EGREP "You lose" >/dev/null 2>&1; then
7987 ac_cv_header_stat_broken=yes
7989 ac_cv_header_stat_broken=no
7994 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7995 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7996 if test $ac_cv_header_stat_broken = yes; then
7998 cat >>confdefs.h <<\_ACEOF
7999 #define STAT_MACROS_BROKEN 1
8010 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
8012 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8013 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8015 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8016 echo $ECHO_N "(cached) $ECHO_C" >&6
8018 cat >conftest.$ac_ext <<_ACEOF
8021 cat confdefs.h >>conftest.$ac_ext
8022 cat >>conftest.$ac_ext <<_ACEOF
8023 /* end confdefs.h. */
8024 #include <sys/types.h>
8025 #if HAVE_SYS_PARAM_H
8026 # include <sys/param.h>
8029 #include <$ac_header>
8031 rm -f conftest.$ac_objext
8032 if { (ac_try="$ac_compile"
8034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8035 *) ac_try_echo=$ac_try;;
8037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8038 (eval "$ac_compile") 2>conftest.er1
8040 grep -v '^ *+' conftest.er1 >conftest.err
8042 cat conftest.err >&5
8043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8044 (exit $ac_status); } &&
8045 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8046 { (case "(($ac_try" in
8047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8048 *) ac_try_echo=$ac_try;;
8050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8051 (eval "$ac_try") 2>&5
8053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8054 (exit $ac_status); }; } &&
8055 { ac_try='test -s conftest.$ac_objext'
8056 { (case "(($ac_try" in
8057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8058 *) ac_try_echo=$ac_try;;
8060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8061 (eval "$ac_try") 2>&5
8063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8064 (exit $ac_status); }; }; then
8065 eval "$as_ac_Header=yes"
8067 echo "$as_me: failed program was:" >&5
8068 sed 's/^/| /' conftest.$ac_ext >&5
8070 eval "$as_ac_Header=no"
8073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8075 ac_res=`eval echo '${'$as_ac_Header'}'`
8076 { echo "$as_me:$LINENO: result: $ac_res" >&5
8077 echo "${ECHO_T}$ac_res" >&6; }
8078 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8079 cat >>confdefs.h <<_ACEOF
8080 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8094 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
8096 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8097 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8099 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8100 echo $ECHO_N "(cached) $ECHO_C" >&6
8102 cat >conftest.$ac_ext <<_ACEOF
8105 cat confdefs.h >>conftest.$ac_ext
8106 cat >>conftest.$ac_ext <<_ACEOF
8107 /* end confdefs.h. */
8108 #include <sys/types.h>
8109 #if HAVE_SYS_SOCKET_H
8110 # include <sys/socket.h>
8113 #include <$ac_header>
8115 rm -f conftest.$ac_objext
8116 if { (ac_try="$ac_compile"
8118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8119 *) ac_try_echo=$ac_try;;
8121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8122 (eval "$ac_compile") 2>conftest.er1
8124 grep -v '^ *+' conftest.er1 >conftest.err
8126 cat conftest.err >&5
8127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8128 (exit $ac_status); } &&
8129 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8130 { (case "(($ac_try" in
8131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8132 *) ac_try_echo=$ac_try;;
8134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8135 (eval "$ac_try") 2>&5
8137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8138 (exit $ac_status); }; } &&
8139 { ac_try='test -s conftest.$ac_objext'
8140 { (case "(($ac_try" in
8141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8142 *) ac_try_echo=$ac_try;;
8144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8145 (eval "$ac_try") 2>&5
8147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8148 (exit $ac_status); }; }; then
8149 eval "$as_ac_Header=yes"
8151 echo "$as_me: failed program was:" >&5
8152 sed 's/^/| /' conftest.$ac_ext >&5
8154 eval "$as_ac_Header=no"
8157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8159 ac_res=`eval echo '${'$as_ac_Header'}'`
8160 { echo "$as_me:$LINENO: result: $ac_res" >&5
8161 echo "${ECHO_T}$ac_res" >&6; }
8162 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8163 cat >>confdefs.h <<_ACEOF
8164 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8173 for ac_header in linux/ipx.h
8175 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8176 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8178 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8179 echo $ECHO_N "(cached) $ECHO_C" >&6
8181 cat >conftest.$ac_ext <<_ACEOF
8184 cat confdefs.h >>conftest.$ac_ext
8185 cat >>conftest.$ac_ext <<_ACEOF
8186 /* end confdefs.h. */
8187 #include <sys/types.h>
8188 #ifdef HAVE_ASM_TYPES_H
8189 # include <asm/types.h>
8191 #if HAVE_SYS_SOCKET_H
8192 # include <sys/socket.h>
8195 #include <$ac_header>
8197 rm -f conftest.$ac_objext
8198 if { (ac_try="$ac_compile"
8200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8201 *) ac_try_echo=$ac_try;;
8203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8204 (eval "$ac_compile") 2>conftest.er1
8206 grep -v '^ *+' conftest.er1 >conftest.err
8208 cat conftest.err >&5
8209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8210 (exit $ac_status); } &&
8211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8212 { (case "(($ac_try" in
8213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8214 *) ac_try_echo=$ac_try;;
8216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8217 (eval "$ac_try") 2>&5
8219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8220 (exit $ac_status); }; } &&
8221 { ac_try='test -s conftest.$ac_objext'
8222 { (case "(($ac_try" in
8223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8224 *) ac_try_echo=$ac_try;;
8226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8227 (eval "$ac_try") 2>&5
8229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8230 (exit $ac_status); }; }; then
8231 eval "$as_ac_Header=yes"
8233 echo "$as_me: failed program was:" >&5
8234 sed 's/^/| /' conftest.$ac_ext >&5
8236 eval "$as_ac_Header=no"
8239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8241 ac_res=`eval echo '${'$as_ac_Header'}'`
8242 { echo "$as_me:$LINENO: result: $ac_res" >&5
8243 echo "${ECHO_T}$ac_res" >&6; }
8244 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8245 cat >>confdefs.h <<_ACEOF
8246 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8255 for ac_header in resolv.h
8257 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8258 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8260 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8261 echo $ECHO_N "(cached) $ECHO_C" >&6
8263 cat >conftest.$ac_ext <<_ACEOF
8266 cat confdefs.h >>conftest.$ac_ext
8267 cat >>conftest.$ac_ext <<_ACEOF
8268 /* end confdefs.h. */
8269 #include <sys/types.h>
8270 #if HAVE_SYS_SOCKET_H
8271 # include <sys/socket.h>
8273 #if HAVE_NETINET_IN_H
8274 # include <netinet/in.h>
8276 #if HAVE_ARPA_NAMESER_H
8277 # include <arpa/nameser.h>
8280 #include <$ac_header>
8282 rm -f conftest.$ac_objext
8283 if { (ac_try="$ac_compile"
8285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8286 *) ac_try_echo=$ac_try;;
8288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8289 (eval "$ac_compile") 2>conftest.er1
8291 grep -v '^ *+' conftest.er1 >conftest.err
8293 cat conftest.err >&5
8294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8295 (exit $ac_status); } &&
8296 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8297 { (case "(($ac_try" in
8298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8299 *) ac_try_echo=$ac_try;;
8301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8302 (eval "$ac_try") 2>&5
8304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8305 (exit $ac_status); }; } &&
8306 { ac_try='test -s conftest.$ac_objext'
8307 { (case "(($ac_try" in
8308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8309 *) ac_try_echo=$ac_try;;
8311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8312 (eval "$ac_try") 2>&5
8314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8315 (exit $ac_status); }; }; then
8316 eval "$as_ac_Header=yes"
8318 echo "$as_me: failed program was:" >&5
8319 sed 's/^/| /' conftest.$ac_ext >&5
8321 eval "$as_ac_Header=no"
8324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8326 ac_res=`eval echo '${'$as_ac_Header'}'`
8327 { echo "$as_me:$LINENO: result: $ac_res" >&5
8328 echo "${ECHO_T}$ac_res" >&6; }
8329 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8330 cat >>confdefs.h <<_ACEOF
8331 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8340 for ac_header in ucontext.h
8342 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8343 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8345 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8346 echo $ECHO_N "(cached) $ECHO_C" >&6
8348 cat >conftest.$ac_ext <<_ACEOF
8351 cat confdefs.h >>conftest.$ac_ext
8352 cat >>conftest.$ac_ext <<_ACEOF
8353 /* end confdefs.h. */
8356 #include <$ac_header>
8358 rm -f conftest.$ac_objext
8359 if { (ac_try="$ac_compile"
8361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8362 *) ac_try_echo=$ac_try;;
8364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8365 (eval "$ac_compile") 2>conftest.er1
8367 grep -v '^ *+' conftest.er1 >conftest.err
8369 cat conftest.err >&5
8370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8371 (exit $ac_status); } &&
8372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8373 { (case "(($ac_try" in
8374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8375 *) ac_try_echo=$ac_try;;
8377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8378 (eval "$ac_try") 2>&5
8380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8381 (exit $ac_status); }; } &&
8382 { ac_try='test -s conftest.$ac_objext'
8383 { (case "(($ac_try" in
8384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8385 *) ac_try_echo=$ac_try;;
8387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8388 (eval "$ac_try") 2>&5
8390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8391 (exit $ac_status); }; }; then
8392 eval "$as_ac_Header=yes"
8394 echo "$as_me: failed program was:" >&5
8395 sed 's/^/| /' conftest.$ac_ext >&5
8397 eval "$as_ac_Header=no"
8400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8402 ac_res=`eval echo '${'$as_ac_Header'}'`
8403 { echo "$as_me:$LINENO: result: $ac_res" >&5
8404 echo "${ECHO_T}$ac_res" >&6; }
8405 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8406 cat >>confdefs.h <<_ACEOF
8407 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8416 for ac_header in pthread_np.h
8418 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8419 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8421 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8422 echo $ECHO_N "(cached) $ECHO_C" >&6
8424 cat >conftest.$ac_ext <<_ACEOF
8427 cat confdefs.h >>conftest.$ac_ext
8428 cat >>conftest.$ac_ext <<_ACEOF
8429 /* end confdefs.h. */
8430 #ifdef HAVE_PTHREAD_H
8431 #include <pthread.h>
8434 #include <$ac_header>
8436 rm -f conftest.$ac_objext
8437 if { (ac_try="$ac_compile"
8439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8440 *) ac_try_echo=$ac_try;;
8442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8443 (eval "$ac_compile") 2>conftest.er1
8445 grep -v '^ *+' conftest.er1 >conftest.err
8447 cat conftest.err >&5
8448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8449 (exit $ac_status); } &&
8450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8451 { (case "(($ac_try" in
8452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8453 *) ac_try_echo=$ac_try;;
8455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8456 (eval "$ac_try") 2>&5
8458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8459 (exit $ac_status); }; } &&
8460 { ac_try='test -s conftest.$ac_objext'
8461 { (case "(($ac_try" in
8462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8463 *) ac_try_echo=$ac_try;;
8465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8466 (eval "$ac_try") 2>&5
8468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8469 (exit $ac_status); }; }; then
8470 eval "$as_ac_Header=yes"
8472 echo "$as_me: failed program was:" >&5
8473 sed 's/^/| /' conftest.$ac_ext >&5
8475 eval "$as_ac_Header=no"
8478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8480 ac_res=`eval echo '${'$as_ac_Header'}'`
8481 { echo "$as_me:$LINENO: result: $ac_res" >&5
8482 echo "${ECHO_T}$ac_res" >&6; }
8483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8484 cat >>confdefs.h <<_ACEOF
8485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8494 for ac_header in linux/videodev.h
8496 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8497 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8499 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8500 echo $ECHO_N "(cached) $ECHO_C" >&6
8502 cat >conftest.$ac_ext <<_ACEOF
8505 cat confdefs.h >>conftest.$ac_ext
8506 cat >>conftest.$ac_ext <<_ACEOF
8507 /* end confdefs.h. */
8508 #ifdef HAVE_SYS_TIME_H
8509 #include <sys/time.h>
8511 #include <sys/types.h>
8512 #ifdef HAVE_ASM_TYPES_H
8513 #include <asm/types.h>
8516 #include <$ac_header>
8518 rm -f conftest.$ac_objext
8519 if { (ac_try="$ac_compile"
8521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8522 *) ac_try_echo=$ac_try;;
8524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8525 (eval "$ac_compile") 2>conftest.er1
8527 grep -v '^ *+' conftest.er1 >conftest.err
8529 cat conftest.err >&5
8530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8531 (exit $ac_status); } &&
8532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8533 { (case "(($ac_try" in
8534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8535 *) ac_try_echo=$ac_try;;
8537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8538 (eval "$ac_try") 2>&5
8540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8541 (exit $ac_status); }; } &&
8542 { ac_try='test -s conftest.$ac_objext'
8543 { (case "(($ac_try" in
8544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8545 *) ac_try_echo=$ac_try;;
8547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8548 (eval "$ac_try") 2>&5
8550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8551 (exit $ac_status); }; }; then
8552 eval "$as_ac_Header=yes"
8554 echo "$as_me: failed program was:" >&5
8555 sed 's/^/| /' conftest.$ac_ext >&5
8557 eval "$as_ac_Header=no"
8560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8562 ac_res=`eval echo '${'$as_ac_Header'}'`
8563 { echo "$as_me:$LINENO: result: $ac_res" >&5
8564 echo "${ECHO_T}$ac_res" >&6; }
8565 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8566 cat >>confdefs.h <<_ACEOF
8567 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8576 for ac_header in linux/capi.h
8578 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8579 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8580 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8581 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8582 echo $ECHO_N "(cached) $ECHO_C" >&6
8584 cat >conftest.$ac_ext <<_ACEOF
8587 cat confdefs.h >>conftest.$ac_ext
8588 cat >>conftest.$ac_ext <<_ACEOF
8589 /* end confdefs.h. */
8592 #include <$ac_header>
8594 rm -f conftest.$ac_objext
8595 if { (ac_try="$ac_compile"
8597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8598 *) ac_try_echo=$ac_try;;
8600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8601 (eval "$ac_compile") 2>conftest.er1
8603 grep -v '^ *+' conftest.er1 >conftest.err
8605 cat conftest.err >&5
8606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8607 (exit $ac_status); } &&
8608 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8609 { (case "(($ac_try" in
8610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8611 *) ac_try_echo=$ac_try;;
8613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8614 (eval "$ac_try") 2>&5
8616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8617 (exit $ac_status); }; } &&
8618 { ac_try='test -s conftest.$ac_objext'
8619 { (case "(($ac_try" in
8620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8621 *) ac_try_echo=$ac_try;;
8623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8624 (eval "$ac_try") 2>&5
8626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8627 (exit $ac_status); }; }; then
8628 eval "$as_ac_Header=yes"
8630 echo "$as_me: failed program was:" >&5
8631 sed 's/^/| /' conftest.$ac_ext >&5
8633 eval "$as_ac_Header=no"
8636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8638 ac_res=`eval echo '${'$as_ac_Header'}'`
8639 { echo "$as_me:$LINENO: result: $ac_res" >&5
8640 echo "${ECHO_T}$ac_res" >&6; }
8641 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8642 cat >>confdefs.h <<_ACEOF
8643 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8652 if test "$have_x" = "yes"
8655 ac_save_CPPFLAGS="$CPPFLAGS"
8656 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8668 for ac_header in X11/Xlib.h \
8671 X11/extensions/shape.h \
8672 X11/extensions/XInput.h \
8673 X11/extensions/XShm.h \
8674 X11/extensions/Xinerama.h \
8675 X11/extensions/Xrandr.h \
8676 X11/extensions/Xrender.h \
8677 X11/extensions/xf86vmode.h
8679 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8680 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8682 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8683 echo $ECHO_N "(cached) $ECHO_C" >&6
8685 cat >conftest.$ac_ext <<_ACEOF
8688 cat confdefs.h >>conftest.$ac_ext
8689 cat >>conftest.$ac_ext <<_ACEOF
8690 /* end confdefs.h. */
8691 #ifdef HAVE_X11_XLIB_H
8692 # include <X11/Xlib.h>
8694 #ifdef HAVE_X11_XUTIL_H
8695 # include <X11/Xutil.h>
8698 #include <$ac_header>
8700 rm -f conftest.$ac_objext
8701 if { (ac_try="$ac_compile"
8703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8704 *) ac_try_echo=$ac_try;;
8706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8707 (eval "$ac_compile") 2>conftest.er1
8709 grep -v '^ *+' conftest.er1 >conftest.err
8711 cat conftest.err >&5
8712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8713 (exit $ac_status); } &&
8714 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8715 { (case "(($ac_try" in
8716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8717 *) ac_try_echo=$ac_try;;
8719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8720 (eval "$ac_try") 2>&5
8722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8723 (exit $ac_status); }; } &&
8724 { ac_try='test -s conftest.$ac_objext'
8725 { (case "(($ac_try" in
8726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8727 *) ac_try_echo=$ac_try;;
8729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8730 (eval "$ac_try") 2>&5
8732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8733 (exit $ac_status); }; }; then
8734 eval "$as_ac_Header=yes"
8736 echo "$as_me: failed program was:" >&5
8737 sed 's/^/| /' conftest.$ac_ext >&5
8739 eval "$as_ac_Header=no"
8742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8744 ac_res=`eval echo '${'$as_ac_Header'}'`
8745 { echo "$as_me:$LINENO: result: $ac_res" >&5
8746 echo "${ECHO_T}$ac_res" >&6; }
8747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8748 cat >>confdefs.h <<_ACEOF
8749 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8757 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8759 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
8760 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
8761 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
8762 echo $ECHO_N "(cached) $ECHO_C" >&6
8764 ac_check_lib_save_LIBS=$LIBS
8765 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8766 cat >conftest.$ac_ext <<_ACEOF
8769 cat confdefs.h >>conftest.$ac_ext
8770 cat >>conftest.$ac_ext <<_ACEOF
8771 /* end confdefs.h. */
8773 /* Override any GCC internal prototype to avoid an error.
8774 Use char because int might match the return type of a GCC
8775 builtin and then its argument prototype would still apply. */
8779 char XkbQueryExtension ();
8783 return XkbQueryExtension ();
8788 rm -f conftest.$ac_objext conftest$ac_exeext
8789 if { (ac_try="$ac_link"
8791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8792 *) ac_try_echo=$ac_try;;
8794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8795 (eval "$ac_link") 2>conftest.er1
8797 grep -v '^ *+' conftest.er1 >conftest.err
8799 cat conftest.err >&5
8800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8801 (exit $ac_status); } &&
8802 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8803 { (case "(($ac_try" in
8804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8805 *) ac_try_echo=$ac_try;;
8807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8808 (eval "$ac_try") 2>&5
8810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8811 (exit $ac_status); }; } &&
8812 { ac_try='test -s conftest$ac_exeext'
8813 { (case "(($ac_try" in
8814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8815 *) ac_try_echo=$ac_try;;
8817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8818 (eval "$ac_try") 2>&5
8820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821 (exit $ac_status); }; }; then
8822 ac_cv_lib_X11_XkbQueryExtension=yes
8824 echo "$as_me: failed program was:" >&5
8825 sed 's/^/| /' conftest.$ac_ext >&5
8827 ac_cv_lib_X11_XkbQueryExtension=no
8830 rm -f core conftest.err conftest.$ac_objext \
8831 conftest$ac_exeext conftest.$ac_ext
8832 LIBS=$ac_check_lib_save_LIBS
8834 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8835 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8836 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
8838 cat >>confdefs.h <<\_ACEOF
8846 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8848 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
8849 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
8850 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
8851 echo $ECHO_N "(cached) $ECHO_C" >&6
8853 ac_check_lib_save_LIBS=$LIBS
8854 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8855 cat >conftest.$ac_ext <<_ACEOF
8858 cat confdefs.h >>conftest.$ac_ext
8859 cat >>conftest.$ac_ext <<_ACEOF
8860 /* end confdefs.h. */
8862 /* Override any GCC internal prototype to avoid an error.
8863 Use char because int might match the return type of a GCC
8864 builtin and then its argument prototype would still apply. */
8868 char XShmQueryExtension ();
8872 return XShmQueryExtension ();
8877 rm -f conftest.$ac_objext conftest$ac_exeext
8878 if { (ac_try="$ac_link"
8880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8881 *) ac_try_echo=$ac_try;;
8883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8884 (eval "$ac_link") 2>conftest.er1
8886 grep -v '^ *+' conftest.er1 >conftest.err
8888 cat conftest.err >&5
8889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8890 (exit $ac_status); } &&
8891 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8892 { (case "(($ac_try" in
8893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8894 *) ac_try_echo=$ac_try;;
8896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8897 (eval "$ac_try") 2>&5
8899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8900 (exit $ac_status); }; } &&
8901 { ac_try='test -s conftest$ac_exeext'
8902 { (case "(($ac_try" in
8903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8904 *) ac_try_echo=$ac_try;;
8906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8907 (eval "$ac_try") 2>&5
8909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8910 (exit $ac_status); }; }; then
8911 ac_cv_lib_Xext_XShmQueryExtension=yes
8913 echo "$as_me: failed program was:" >&5
8914 sed 's/^/| /' conftest.$ac_ext >&5
8916 ac_cv_lib_Xext_XShmQueryExtension=no
8919 rm -f core conftest.err conftest.$ac_objext \
8920 conftest$ac_exeext conftest.$ac_ext
8921 LIBS=$ac_check_lib_save_LIBS
8923 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8924 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8925 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8927 cat >>confdefs.h <<\_ACEOF
8928 #define HAVE_LIBXXSHM 1
8935 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8937 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8938 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
8939 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8940 echo $ECHO_N "(cached) $ECHO_C" >&6
8942 ac_check_lib_save_LIBS=$LIBS
8943 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8944 cat >conftest.$ac_ext <<_ACEOF
8947 cat confdefs.h >>conftest.$ac_ext
8948 cat >>conftest.$ac_ext <<_ACEOF
8949 /* end confdefs.h. */
8951 /* Override any GCC internal prototype to avoid an error.
8952 Use char because int might match the return type of a GCC
8953 builtin and then its argument prototype would still apply. */
8957 char XShapeQueryExtension ();
8961 return XShapeQueryExtension ();
8966 rm -f conftest.$ac_objext conftest$ac_exeext
8967 if { (ac_try="$ac_link"
8969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8970 *) ac_try_echo=$ac_try;;
8972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8973 (eval "$ac_link") 2>conftest.er1
8975 grep -v '^ *+' conftest.er1 >conftest.err
8977 cat conftest.err >&5
8978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8979 (exit $ac_status); } &&
8980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8981 { (case "(($ac_try" in
8982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8983 *) ac_try_echo=$ac_try;;
8985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8986 (eval "$ac_try") 2>&5
8988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989 (exit $ac_status); }; } &&
8990 { ac_try='test -s conftest$ac_exeext'
8991 { (case "(($ac_try" in
8992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8993 *) ac_try_echo=$ac_try;;
8995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8996 (eval "$ac_try") 2>&5
8998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8999 (exit $ac_status); }; }; then
9000 ac_cv_lib_Xext_XShapeQueryExtension=yes
9002 echo "$as_me: failed program was:" >&5
9003 sed 's/^/| /' conftest.$ac_ext >&5
9005 ac_cv_lib_Xext_XShapeQueryExtension=no
9008 rm -f core conftest.err conftest.$ac_objext \
9009 conftest$ac_exeext conftest.$ac_ext
9010 LIBS=$ac_check_lib_save_LIBS
9012 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9013 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9014 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9016 cat >>confdefs.h <<\_ACEOF
9017 #define HAVE_LIBXSHAPE 1
9024 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9026 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9027 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9028 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9029 echo $ECHO_N "(cached) $ECHO_C" >&6
9031 ac_check_lib_save_LIBS=$LIBS
9032 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9033 cat >conftest.$ac_ext <<_ACEOF
9036 cat confdefs.h >>conftest.$ac_ext
9037 cat >>conftest.$ac_ext <<_ACEOF
9038 /* end confdefs.h. */
9040 /* Override any GCC internal prototype to avoid an error.
9041 Use char because int might match the return type of a GCC
9042 builtin and then its argument prototype would still apply. */
9046 char XF86VidModeQueryExtension ();
9050 return XF86VidModeQueryExtension ();
9055 rm -f conftest.$ac_objext conftest$ac_exeext
9056 if { (ac_try="$ac_link"
9058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9059 *) ac_try_echo=$ac_try;;
9061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9062 (eval "$ac_link") 2>conftest.er1
9064 grep -v '^ *+' conftest.er1 >conftest.err
9066 cat conftest.err >&5
9067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068 (exit $ac_status); } &&
9069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9070 { (case "(($ac_try" in
9071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9072 *) ac_try_echo=$ac_try;;
9074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9075 (eval "$ac_try") 2>&5
9077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9078 (exit $ac_status); }; } &&
9079 { ac_try='test -s conftest$ac_exeext'
9080 { (case "(($ac_try" in
9081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9082 *) ac_try_echo=$ac_try;;
9084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9085 (eval "$ac_try") 2>&5
9087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9088 (exit $ac_status); }; }; then
9089 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9091 echo "$as_me: failed program was:" >&5
9092 sed 's/^/| /' conftest.$ac_ext >&5
9094 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9097 rm -f core conftest.err conftest.$ac_objext \
9098 conftest$ac_exeext conftest.$ac_ext
9099 LIBS=$ac_check_lib_save_LIBS
9101 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9102 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9103 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9105 cat >>confdefs.h <<\_ACEOF
9106 #define HAVE_LIBXXF86VM 1
9109 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9115 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9117 cat >conftest.$ac_ext <<_ACEOF
9120 cat confdefs.h >>conftest.$ac_ext
9121 cat >>conftest.$ac_ext <<_ACEOF
9122 /* end confdefs.h. */
9123 #include <X11/Xlib.h>
9124 #include <X11/extensions/Xrandr.h>
9128 static typeof(XRRSetScreenConfigAndRate) * func;
9133 rm -f conftest.$ac_objext
9134 if { (ac_try="$ac_compile"
9136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9137 *) ac_try_echo=$ac_try;;
9139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9140 (eval "$ac_compile") 2>conftest.er1
9142 grep -v '^ *+' conftest.er1 >conftest.err
9144 cat conftest.err >&5
9145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9146 (exit $ac_status); } &&
9147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9148 { (case "(($ac_try" in
9149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9150 *) ac_try_echo=$ac_try;;
9152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9153 (eval "$ac_try") 2>&5
9155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9156 (exit $ac_status); }; } &&
9157 { ac_try='test -s conftest.$ac_objext'
9158 { (case "(($ac_try" in
9159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9160 *) ac_try_echo=$ac_try;;
9162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9163 (eval "$ac_try") 2>&5
9165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9166 (exit $ac_status); }; }; then
9168 cat >>confdefs.h <<\_ACEOF
9169 #define HAVE_LIBXRANDR 1
9173 echo "$as_me: failed program was:" >&5
9174 sed 's/^/| /' conftest.$ac_ext >&5
9179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9182 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9184 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9185 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9186 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9187 echo $ECHO_N "(cached) $ECHO_C" >&6
9189 ac_check_lib_save_LIBS=$LIBS
9190 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9191 cat >conftest.$ac_ext <<_ACEOF
9194 cat confdefs.h >>conftest.$ac_ext
9195 cat >>conftest.$ac_ext <<_ACEOF
9196 /* end confdefs.h. */
9198 /* Override any GCC internal prototype to avoid an error.
9199 Use char because int might match the return type of a GCC
9200 builtin and then its argument prototype would still apply. */
9204 char XRenderSetPictureTransform ();
9208 return XRenderSetPictureTransform ();
9213 rm -f conftest.$ac_objext conftest$ac_exeext
9214 if { (ac_try="$ac_link"
9216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9217 *) ac_try_echo=$ac_try;;
9219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9220 (eval "$ac_link") 2>conftest.er1
9222 grep -v '^ *+' conftest.er1 >conftest.err
9224 cat conftest.err >&5
9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 (exit $ac_status); } &&
9227 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9228 { (case "(($ac_try" in
9229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9230 *) ac_try_echo=$ac_try;;
9232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9233 (eval "$ac_try") 2>&5
9235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9236 (exit $ac_status); }; } &&
9237 { ac_try='test -s conftest$ac_exeext'
9238 { (case "(($ac_try" in
9239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9240 *) ac_try_echo=$ac_try;;
9242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9243 (eval "$ac_try") 2>&5
9245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9246 (exit $ac_status); }; }; then
9247 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9249 echo "$as_me: failed program was:" >&5
9250 sed 's/^/| /' conftest.$ac_ext >&5
9252 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9255 rm -f core conftest.err conftest.$ac_objext \
9256 conftest$ac_exeext conftest.$ac_ext
9257 LIBS=$ac_check_lib_save_LIBS
9259 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9260 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9261 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9263 cat >>confdefs.h <<\_ACEOF
9264 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9271 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9273 cat >conftest.$ac_ext <<_ACEOF
9276 cat confdefs.h >>conftest.$ac_ext
9277 cat >>conftest.$ac_ext <<_ACEOF
9278 /* end confdefs.h. */
9279 #include <X11/Xlib.h>
9280 #include <X11/extensions/Xinerama.h>
9284 static typeof(XineramaQueryScreens) * func;
9289 rm -f conftest.$ac_objext
9290 if { (ac_try="$ac_compile"
9292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9293 *) ac_try_echo=$ac_try;;
9295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9296 (eval "$ac_compile") 2>conftest.er1
9298 grep -v '^ *+' conftest.er1 >conftest.err
9300 cat conftest.err >&5
9301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9302 (exit $ac_status); } &&
9303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9304 { (case "(($ac_try" in
9305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9306 *) ac_try_echo=$ac_try;;
9308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9309 (eval "$ac_try") 2>&5
9311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 (exit $ac_status); }; } &&
9313 { ac_try='test -s conftest.$ac_objext'
9314 { (case "(($ac_try" in
9315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9316 *) ac_try_echo=$ac_try;;
9318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9319 (eval "$ac_try") 2>&5
9321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322 (exit $ac_status); }; }; then
9324 cat >>confdefs.h <<\_ACEOF
9325 #define HAVE_LIBXINERAMA 1
9329 echo "$as_me: failed program was:" >&5
9330 sed 's/^/| /' conftest.$ac_ext >&5
9335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9339 if test "x$with_opengl" != "xno"
9345 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9347 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9348 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9350 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9351 echo $ECHO_N "(cached) $ECHO_C" >&6
9353 cat >conftest.$ac_ext <<_ACEOF
9356 cat confdefs.h >>conftest.$ac_ext
9357 cat >>conftest.$ac_ext <<_ACEOF
9358 /* end confdefs.h. */
9359 #ifdef HAVE_GL_GLX_H
9360 # include <GL/glx.h>
9363 #include <$ac_header>
9365 rm -f conftest.$ac_objext
9366 if { (ac_try="$ac_compile"
9368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9369 *) ac_try_echo=$ac_try;;
9371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9372 (eval "$ac_compile") 2>conftest.er1
9374 grep -v '^ *+' conftest.er1 >conftest.err
9376 cat conftest.err >&5
9377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9378 (exit $ac_status); } &&
9379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9380 { (case "(($ac_try" in
9381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9382 *) ac_try_echo=$ac_try;;
9384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9385 (eval "$ac_try") 2>&5
9387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9388 (exit $ac_status); }; } &&
9389 { ac_try='test -s conftest.$ac_objext'
9390 { (case "(($ac_try" in
9391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9392 *) ac_try_echo=$ac_try;;
9394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9395 (eval "$ac_try") 2>&5
9397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9398 (exit $ac_status); }; }; then
9399 eval "$as_ac_Header=yes"
9401 echo "$as_me: failed program was:" >&5
9402 sed 's/^/| /' conftest.$ac_ext >&5
9404 eval "$as_ac_Header=no"
9407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9409 ac_res=`eval echo '${'$as_ac_Header'}'`
9410 { echo "$as_me:$LINENO: result: $ac_res" >&5
9411 echo "${ECHO_T}$ac_res" >&6; }
9412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9413 cat >>confdefs.h <<_ACEOF
9414 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9421 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9423 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9424 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9425 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
9426 echo $ECHO_N "(cached) $ECHO_C" >&6
9428 cat >conftest.$ac_ext <<_ACEOF
9431 cat confdefs.h >>conftest.$ac_ext
9432 cat >>conftest.$ac_ext <<_ACEOF
9433 /* end confdefs.h. */
9438 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9443 rm -f conftest.$ac_objext
9444 if { (ac_try="$ac_compile"
9446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9447 *) ac_try_echo=$ac_try;;
9449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9450 (eval "$ac_compile") 2>conftest.er1
9452 grep -v '^ *+' conftest.er1 >conftest.err
9454 cat conftest.err >&5
9455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9456 (exit $ac_status); } &&
9457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9458 { (case "(($ac_try" in
9459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9460 *) ac_try_echo=$ac_try;;
9462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9463 (eval "$ac_try") 2>&5
9465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9466 (exit $ac_status); }; } &&
9467 { ac_try='test -s conftest.$ac_objext'
9468 { (case "(($ac_try" in
9469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9470 *) ac_try_echo=$ac_try;;
9472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9473 (eval "$ac_try") 2>&5
9475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9476 (exit $ac_status); }; }; then
9477 wine_cv_opengl_header_version_OK="yes"
9479 echo "$as_me: failed program was:" >&5
9480 sed 's/^/| /' conftest.$ac_ext >&5
9482 wine_cv_opengl_header_version_OK="no"
9486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9489 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
9490 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
9492 if test "$wine_cv_opengl_header_version_OK" = "yes"
9494 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
9495 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
9496 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
9497 echo $ECHO_N "(cached) $ECHO_C" >&6
9499 ac_check_lib_save_LIBS=$LIBS
9500 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
9501 cat >conftest.$ac_ext <<_ACEOF
9504 cat confdefs.h >>conftest.$ac_ext
9505 cat >>conftest.$ac_ext <<_ACEOF
9506 /* end confdefs.h. */
9508 /* Override any GCC internal prototype to avoid an error.
9509 Use char because int might match the return type of a GCC
9510 builtin and then its argument prototype would still apply. */
9514 char glXCreateContext ();
9518 return glXCreateContext ();
9523 rm -f conftest.$ac_objext conftest$ac_exeext
9524 if { (ac_try="$ac_link"
9526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9527 *) ac_try_echo=$ac_try;;
9529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9530 (eval "$ac_link") 2>conftest.er1
9532 grep -v '^ *+' conftest.er1 >conftest.err
9534 cat conftest.err >&5
9535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9536 (exit $ac_status); } &&
9537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9538 { (case "(($ac_try" in
9539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9540 *) ac_try_echo=$ac_try;;
9542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9543 (eval "$ac_try") 2>&5
9545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9546 (exit $ac_status); }; } &&
9547 { ac_try='test -s conftest$ac_exeext'
9548 { (case "(($ac_try" in
9549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9550 *) ac_try_echo=$ac_try;;
9552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9553 (eval "$ac_try") 2>&5
9555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9556 (exit $ac_status); }; }; then
9557 ac_cv_lib_GL_glXCreateContext=yes
9559 echo "$as_me: failed program was:" >&5
9560 sed 's/^/| /' conftest.$ac_ext >&5
9562 ac_cv_lib_GL_glXCreateContext=no
9565 rm -f core conftest.err conftest.$ac_objext \
9566 conftest$ac_exeext conftest.$ac_ext
9567 LIBS=$ac_check_lib_save_LIBS
9569 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
9570 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
9571 if test $ac_cv_lib_GL_glXCreateContext = yes; then
9573 OPENGLFILES='$(OPENGLFILES)'
9575 cat >>confdefs.h <<\_ACEOF
9576 #define HAVE_OPENGL 1
9583 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
9584 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
9585 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
9586 echo $ECHO_N "(cached) $ECHO_C" >&6
9588 ac_check_lib_save_LIBS=$LIBS
9589 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
9591 cat >conftest.$ac_ext <<_ACEOF
9594 cat confdefs.h >>conftest.$ac_ext
9595 cat >>conftest.$ac_ext <<_ACEOF
9596 /* end confdefs.h. */
9598 /* Override any GCC internal prototype to avoid an error.
9599 Use char because int might match the return type of a GCC
9600 builtin and then its argument prototype would still apply. */
9608 return gluLookAt ();
9613 rm -f conftest.$ac_objext conftest$ac_exeext
9614 if { (ac_try="$ac_link"
9616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9617 *) ac_try_echo=$ac_try;;
9619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9620 (eval "$ac_link") 2>conftest.er1
9622 grep -v '^ *+' conftest.er1 >conftest.err
9624 cat conftest.err >&5
9625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9626 (exit $ac_status); } &&
9627 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9628 { (case "(($ac_try" in
9629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9630 *) ac_try_echo=$ac_try;;
9632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9633 (eval "$ac_try") 2>&5
9635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9636 (exit $ac_status); }; } &&
9637 { ac_try='test -s conftest$ac_exeext'
9638 { (case "(($ac_try" in
9639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9640 *) ac_try_echo=$ac_try;;
9642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9643 (eval "$ac_try") 2>&5
9645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9646 (exit $ac_status); }; }; then
9647 ac_cv_lib_GLU_gluLookAt=yes
9649 echo "$as_me: failed program was:" >&5
9650 sed 's/^/| /' conftest.$ac_ext >&5
9652 ac_cv_lib_GLU_gluLookAt=no
9655 rm -f core conftest.err conftest.$ac_objext \
9656 conftest$ac_exeext conftest.$ac_ext
9657 LIBS=$ac_check_lib_save_LIBS
9659 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
9660 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
9661 if test $ac_cv_lib_GLU_gluLookAt = yes; then
9662 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
9663 GLU32FILES='$(GLU32FILES)'
9669 { echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
9670 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6; }
9671 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
9672 echo $ECHO_N "(cached) $ECHO_C" >&6
9674 ac_check_lib_save_LIBS=$LIBS
9675 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
9676 cat >conftest.$ac_ext <<_ACEOF
9679 cat confdefs.h >>conftest.$ac_ext
9680 cat >>conftest.$ac_ext <<_ACEOF
9681 /* end confdefs.h. */
9683 /* Override any GCC internal prototype to avoid an error.
9684 Use char because int might match the return type of a GCC
9685 builtin and then its argument prototype would still apply. */
9689 char glutMainLoop ();
9693 return glutMainLoop ();
9698 rm -f conftest.$ac_objext conftest$ac_exeext
9699 if { (ac_try="$ac_link"
9701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9702 *) ac_try_echo=$ac_try;;
9704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9705 (eval "$ac_link") 2>conftest.er1
9707 grep -v '^ *+' conftest.er1 >conftest.err
9709 cat conftest.err >&5
9710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9711 (exit $ac_status); } &&
9712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9713 { (case "(($ac_try" in
9714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9715 *) ac_try_echo=$ac_try;;
9717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9718 (eval "$ac_try") 2>&5
9720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9721 (exit $ac_status); }; } &&
9722 { ac_try='test -s conftest$ac_exeext'
9723 { (case "(($ac_try" in
9724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9725 *) ac_try_echo=$ac_try;;
9727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9728 (eval "$ac_try") 2>&5
9730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9731 (exit $ac_status); }; }; then
9732 ac_cv_lib_glut_glutMainLoop=yes
9734 echo "$as_me: failed program was:" >&5
9735 sed 's/^/| /' conftest.$ac_ext >&5
9737 ac_cv_lib_glut_glutMainLoop=no
9740 rm -f core conftest.err conftest.$ac_objext \
9741 conftest$ac_exeext conftest.$ac_ext
9742 LIBS=$ac_check_lib_save_LIBS
9744 { echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
9745 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6; }
9746 if test $ac_cv_lib_glut_glutMainLoop = yes; then
9747 GLUT_LIBS="-lglut -lXmu -lXi"
9749 GLUT32FILES='$(GLUT32FILES)'
9754 wine_cv_opengl_headers_found="no"
9760 for ac_header in audio/audiolib.h
9762 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9763 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9764 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9766 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9767 echo $ECHO_N "(cached) $ECHO_C" >&6
9769 ac_res=`eval echo '${'$as_ac_Header'}'`
9770 { echo "$as_me:$LINENO: result: $ac_res" >&5
9771 echo "${ECHO_T}$ac_res" >&6; }
9773 # Is the header compilable?
9774 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9775 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9776 cat >conftest.$ac_ext <<_ACEOF
9779 cat confdefs.h >>conftest.$ac_ext
9780 cat >>conftest.$ac_ext <<_ACEOF
9781 /* end confdefs.h. */
9782 $ac_includes_default
9783 #include <$ac_header>
9785 rm -f conftest.$ac_objext
9786 if { (ac_try="$ac_compile"
9788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9789 *) ac_try_echo=$ac_try;;
9791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9792 (eval "$ac_compile") 2>conftest.er1
9794 grep -v '^ *+' conftest.er1 >conftest.err
9796 cat conftest.err >&5
9797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9798 (exit $ac_status); } &&
9799 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9800 { (case "(($ac_try" in
9801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9802 *) ac_try_echo=$ac_try;;
9804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9805 (eval "$ac_try") 2>&5
9807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9808 (exit $ac_status); }; } &&
9809 { ac_try='test -s conftest.$ac_objext'
9810 { (case "(($ac_try" in
9811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9812 *) ac_try_echo=$ac_try;;
9814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9815 (eval "$ac_try") 2>&5
9817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9818 (exit $ac_status); }; }; then
9819 ac_header_compiler=yes
9821 echo "$as_me: failed program was:" >&5
9822 sed 's/^/| /' conftest.$ac_ext >&5
9824 ac_header_compiler=no
9827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9828 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9829 echo "${ECHO_T}$ac_header_compiler" >&6; }
9831 # Is the header present?
9832 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9833 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9834 cat >conftest.$ac_ext <<_ACEOF
9837 cat confdefs.h >>conftest.$ac_ext
9838 cat >>conftest.$ac_ext <<_ACEOF
9839 /* end confdefs.h. */
9840 #include <$ac_header>
9842 if { (ac_try="$ac_cpp conftest.$ac_ext"
9844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9845 *) ac_try_echo=$ac_try;;
9847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9848 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9850 grep -v '^ *+' conftest.er1 >conftest.err
9852 cat conftest.err >&5
9853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854 (exit $ac_status); } >/dev/null; then
9855 if test -s conftest.err; then
9856 ac_cpp_err=$ac_c_preproc_warn_flag
9857 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9864 if test -z "$ac_cpp_err"; then
9865 ac_header_preproc=yes
9867 echo "$as_me: failed program was:" >&5
9868 sed 's/^/| /' conftest.$ac_ext >&5
9870 ac_header_preproc=no
9873 rm -f conftest.err conftest.$ac_ext
9874 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9875 echo "${ECHO_T}$ac_header_preproc" >&6; }
9877 # So? What about this header?
9878 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9880 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9881 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9883 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9884 ac_header_preproc=yes
9887 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9888 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9889 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9890 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9891 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9892 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9893 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9894 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9896 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9897 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9898 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9900 ## ------------------------------------ ##
9901 ## Report this to wine-devel@winehq.org ##
9902 ## ------------------------------------ ##
9904 ) | sed "s/^/$as_me: WARNING: /" >&2
9907 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9909 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9910 echo $ECHO_N "(cached) $ECHO_C" >&6
9912 eval "$as_ac_Header=\$ac_header_preproc"
9914 ac_res=`eval echo '${'$as_ac_Header'}'`
9915 { echo "$as_me:$LINENO: result: $ac_res" >&5
9916 echo "${ECHO_T}$ac_res" >&6; }
9919 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9920 cat >>confdefs.h <<_ACEOF
9921 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9924 for ac_header in audio/soundlib.h
9926 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9927 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9929 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9930 echo $ECHO_N "(cached) $ECHO_C" >&6
9932 cat >conftest.$ac_ext <<_ACEOF
9935 cat confdefs.h >>conftest.$ac_ext
9936 cat >>conftest.$ac_ext <<_ACEOF
9937 /* end confdefs.h. */
9938 #include <audio/audiolib.h>
9940 #include <$ac_header>
9942 rm -f conftest.$ac_objext
9943 if { (ac_try="$ac_compile"
9945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9946 *) ac_try_echo=$ac_try;;
9948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9949 (eval "$ac_compile") 2>conftest.er1
9951 grep -v '^ *+' conftest.er1 >conftest.err
9953 cat conftest.err >&5
9954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9955 (exit $ac_status); } &&
9956 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9957 { (case "(($ac_try" in
9958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9959 *) ac_try_echo=$ac_try;;
9961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9962 (eval "$ac_try") 2>&5
9964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9965 (exit $ac_status); }; } &&
9966 { ac_try='test -s conftest.$ac_objext'
9967 { (case "(($ac_try" in
9968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9969 *) ac_try_echo=$ac_try;;
9971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9972 (eval "$ac_try") 2>&5
9974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9975 (exit $ac_status); }; }; then
9976 eval "$as_ac_Header=yes"
9978 echo "$as_me: failed program was:" >&5
9979 sed 's/^/| /' conftest.$ac_ext >&5
9981 eval "$as_ac_Header=no"
9984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9986 ac_res=`eval echo '${'$as_ac_Header'}'`
9987 { echo "$as_me:$LINENO: result: $ac_res" >&5
9988 echo "${ECHO_T}$ac_res" >&6; }
9989 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9990 cat >>confdefs.h <<_ACEOF
9991 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9998 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9999 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10000 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10001 echo $ECHO_N "(cached) $ECHO_C" >&6
10003 ac_check_lib_save_LIBS=$LIBS
10004 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10005 cat >conftest.$ac_ext <<_ACEOF
10008 cat confdefs.h >>conftest.$ac_ext
10009 cat >>conftest.$ac_ext <<_ACEOF
10010 /* end confdefs.h. */
10012 /* Override any GCC internal prototype to avoid an error.
10013 Use char because int might match the return type of a GCC
10014 builtin and then its argument prototype would still apply. */
10018 char AuCreateFlow ();
10022 return AuCreateFlow ();
10027 rm -f conftest.$ac_objext conftest$ac_exeext
10028 if { (ac_try="$ac_link"
10029 case "(($ac_try" in
10030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10031 *) ac_try_echo=$ac_try;;
10033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10034 (eval "$ac_link") 2>conftest.er1
10036 grep -v '^ *+' conftest.er1 >conftest.err
10038 cat conftest.err >&5
10039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10040 (exit $ac_status); } &&
10041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10042 { (case "(($ac_try" in
10043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10044 *) ac_try_echo=$ac_try;;
10046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10047 (eval "$ac_try") 2>&5
10049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050 (exit $ac_status); }; } &&
10051 { ac_try='test -s conftest$ac_exeext'
10052 { (case "(($ac_try" in
10053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10054 *) ac_try_echo=$ac_try;;
10056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10057 (eval "$ac_try") 2>&5
10059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060 (exit $ac_status); }; }; then
10061 ac_cv_lib_audio_AuCreateFlow=yes
10063 echo "$as_me: failed program was:" >&5
10064 sed 's/^/| /' conftest.$ac_ext >&5
10066 ac_cv_lib_audio_AuCreateFlow=no
10069 rm -f core conftest.err conftest.$ac_objext \
10070 conftest$ac_exeext conftest.$ac_ext
10071 LIBS=$ac_check_lib_save_LIBS
10073 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10074 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10075 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10077 cat >>confdefs.h <<\_ACEOF
10081 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10089 CPPFLAGS="$ac_save_CPPFLAGS"
10106 if test "$PKG_CONFIG" != "false"
10108 ac_save_CPPFLAGS="$CPPFLAGS"
10109 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10110 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10111 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10113 for ac_header in libxml/parser.h
10115 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10116 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10117 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10118 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10119 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10120 echo $ECHO_N "(cached) $ECHO_C" >&6
10122 ac_res=`eval echo '${'$as_ac_Header'}'`
10123 { echo "$as_me:$LINENO: result: $ac_res" >&5
10124 echo "${ECHO_T}$ac_res" >&6; }
10126 # Is the header compilable?
10127 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10128 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10129 cat >conftest.$ac_ext <<_ACEOF
10132 cat confdefs.h >>conftest.$ac_ext
10133 cat >>conftest.$ac_ext <<_ACEOF
10134 /* end confdefs.h. */
10135 $ac_includes_default
10136 #include <$ac_header>
10138 rm -f conftest.$ac_objext
10139 if { (ac_try="$ac_compile"
10140 case "(($ac_try" in
10141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10142 *) ac_try_echo=$ac_try;;
10144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10145 (eval "$ac_compile") 2>conftest.er1
10147 grep -v '^ *+' conftest.er1 >conftest.err
10149 cat conftest.err >&5
10150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10151 (exit $ac_status); } &&
10152 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10153 { (case "(($ac_try" in
10154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10155 *) ac_try_echo=$ac_try;;
10157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10158 (eval "$ac_try") 2>&5
10160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10161 (exit $ac_status); }; } &&
10162 { ac_try='test -s conftest.$ac_objext'
10163 { (case "(($ac_try" in
10164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10165 *) ac_try_echo=$ac_try;;
10167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10168 (eval "$ac_try") 2>&5
10170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10171 (exit $ac_status); }; }; then
10172 ac_header_compiler=yes
10174 echo "$as_me: failed program was:" >&5
10175 sed 's/^/| /' conftest.$ac_ext >&5
10177 ac_header_compiler=no
10180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10181 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10182 echo "${ECHO_T}$ac_header_compiler" >&6; }
10184 # Is the header present?
10185 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10186 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10187 cat >conftest.$ac_ext <<_ACEOF
10190 cat confdefs.h >>conftest.$ac_ext
10191 cat >>conftest.$ac_ext <<_ACEOF
10192 /* end confdefs.h. */
10193 #include <$ac_header>
10195 if { (ac_try="$ac_cpp conftest.$ac_ext"
10196 case "(($ac_try" in
10197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10198 *) ac_try_echo=$ac_try;;
10200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10201 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10203 grep -v '^ *+' conftest.er1 >conftest.err
10205 cat conftest.err >&5
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); } >/dev/null; then
10208 if test -s conftest.err; then
10209 ac_cpp_err=$ac_c_preproc_warn_flag
10210 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10217 if test -z "$ac_cpp_err"; then
10218 ac_header_preproc=yes
10220 echo "$as_me: failed program was:" >&5
10221 sed 's/^/| /' conftest.$ac_ext >&5
10223 ac_header_preproc=no
10226 rm -f conftest.err conftest.$ac_ext
10227 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10228 echo "${ECHO_T}$ac_header_preproc" >&6; }
10230 # So? What about this header?
10231 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10233 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10234 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10235 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10236 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10237 ac_header_preproc=yes
10240 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10241 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10242 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10243 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10244 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10245 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10246 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10247 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10249 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10250 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10251 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10253 ## ------------------------------------ ##
10254 ## Report this to wine-devel@winehq.org ##
10255 ## ------------------------------------ ##
10257 ) | sed "s/^/$as_me: WARNING: /" >&2
10260 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10262 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10263 echo $ECHO_N "(cached) $ECHO_C" >&6
10265 eval "$as_ac_Header=\$ac_header_preproc"
10267 ac_res=`eval echo '${'$as_ac_Header'}'`
10268 { echo "$as_me:$LINENO: result: $ac_res" >&5
10269 echo "${ECHO_T}$ac_res" >&6; }
10272 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10273 cat >>confdefs.h <<_ACEOF
10274 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10276 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10277 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10278 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10279 echo $ECHO_N "(cached) $ECHO_C" >&6
10281 ac_check_lib_save_LIBS=$LIBS
10282 LIBS="-lxml2 $ac_xml_libs $LIBS"
10283 cat >conftest.$ac_ext <<_ACEOF
10286 cat confdefs.h >>conftest.$ac_ext
10287 cat >>conftest.$ac_ext <<_ACEOF
10288 /* end confdefs.h. */
10290 /* Override any GCC internal prototype to avoid an error.
10291 Use char because int might match the return type of a GCC
10292 builtin and then its argument prototype would still apply. */
10296 char xmlParseMemory ();
10300 return xmlParseMemory ();
10305 rm -f conftest.$ac_objext conftest$ac_exeext
10306 if { (ac_try="$ac_link"
10307 case "(($ac_try" in
10308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10309 *) ac_try_echo=$ac_try;;
10311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10312 (eval "$ac_link") 2>conftest.er1
10314 grep -v '^ *+' conftest.er1 >conftest.err
10316 cat conftest.err >&5
10317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10318 (exit $ac_status); } &&
10319 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10320 { (case "(($ac_try" in
10321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10322 *) ac_try_echo=$ac_try;;
10324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10325 (eval "$ac_try") 2>&5
10327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10328 (exit $ac_status); }; } &&
10329 { ac_try='test -s conftest$ac_exeext'
10330 { (case "(($ac_try" in
10331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10332 *) ac_try_echo=$ac_try;;
10334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10335 (eval "$ac_try") 2>&5
10337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10338 (exit $ac_status); }; }; then
10339 ac_cv_lib_xml2_xmlParseMemory=yes
10341 echo "$as_me: failed program was:" >&5
10342 sed 's/^/| /' conftest.$ac_ext >&5
10344 ac_cv_lib_xml2_xmlParseMemory=no
10347 rm -f core conftest.err conftest.$ac_objext \
10348 conftest$ac_exeext conftest.$ac_ext
10349 LIBS=$ac_check_lib_save_LIBS
10351 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10352 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10353 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10355 cat >>confdefs.h <<\_ACEOF
10356 #define HAVE_LIBXML2 1
10359 XML2LIBS="$ac_xml_libs"
10360 XML2INCL="$ac_xml_cflags"
10363 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10364 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10365 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10366 echo $ECHO_N "(cached) $ECHO_C" >&6
10368 ac_check_lib_save_LIBS=$LIBS
10369 LIBS="-lxml2 $ac_xml_libs $LIBS"
10370 cat >conftest.$ac_ext <<_ACEOF
10373 cat confdefs.h >>conftest.$ac_ext
10374 cat >>conftest.$ac_ext <<_ACEOF
10375 /* end confdefs.h. */
10377 /* Override any GCC internal prototype to avoid an error.
10378 Use char because int might match the return type of a GCC
10379 builtin and then its argument prototype would still apply. */
10383 char xmlReadMemory ();
10387 return xmlReadMemory ();
10392 rm -f conftest.$ac_objext conftest$ac_exeext
10393 if { (ac_try="$ac_link"
10394 case "(($ac_try" in
10395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10396 *) ac_try_echo=$ac_try;;
10398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10399 (eval "$ac_link") 2>conftest.er1
10401 grep -v '^ *+' conftest.er1 >conftest.err
10403 cat conftest.err >&5
10404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10405 (exit $ac_status); } &&
10406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10407 { (case "(($ac_try" in
10408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10409 *) ac_try_echo=$ac_try;;
10411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10412 (eval "$ac_try") 2>&5
10414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10415 (exit $ac_status); }; } &&
10416 { ac_try='test -s conftest$ac_exeext'
10417 { (case "(($ac_try" in
10418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10419 *) ac_try_echo=$ac_try;;
10421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10422 (eval "$ac_try") 2>&5
10424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10425 (exit $ac_status); }; }; then
10426 ac_cv_lib_xml2_xmlReadMemory=yes
10428 echo "$as_me: failed program was:" >&5
10429 sed 's/^/| /' conftest.$ac_ext >&5
10431 ac_cv_lib_xml2_xmlReadMemory=no
10434 rm -f core conftest.err conftest.$ac_objext \
10435 conftest$ac_exeext conftest.$ac_ext
10436 LIBS=$ac_check_lib_save_LIBS
10438 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10439 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10440 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10442 cat >>confdefs.h <<\_ACEOF
10443 #define HAVE_XMLREADMEMORY 1
10453 CPPFLAGS="$ac_save_CPPFLAGS"
10454 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
10455 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
10456 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
10459 for ac_header in libxslt/pattern.h libxslt/transform.h
10461 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10462 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10463 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10464 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10465 echo $ECHO_N "(cached) $ECHO_C" >&6
10467 cat >conftest.$ac_ext <<_ACEOF
10470 cat confdefs.h >>conftest.$ac_ext
10471 cat >>conftest.$ac_ext <<_ACEOF
10472 /* end confdefs.h. */
10473 #ifdef HAVE_LIBXSLT_PATTERN_H
10474 # include <libxslt/pattern.h>
10477 #include <$ac_header>
10479 rm -f conftest.$ac_objext
10480 if { (ac_try="$ac_compile"
10481 case "(($ac_try" in
10482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10483 *) ac_try_echo=$ac_try;;
10485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10486 (eval "$ac_compile") 2>conftest.er1
10488 grep -v '^ *+' conftest.er1 >conftest.err
10490 cat conftest.err >&5
10491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10492 (exit $ac_status); } &&
10493 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10494 { (case "(($ac_try" in
10495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10496 *) ac_try_echo=$ac_try;;
10498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10499 (eval "$ac_try") 2>&5
10501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10502 (exit $ac_status); }; } &&
10503 { ac_try='test -s conftest.$ac_objext'
10504 { (case "(($ac_try" in
10505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10506 *) ac_try_echo=$ac_try;;
10508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10509 (eval "$ac_try") 2>&5
10511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10512 (exit $ac_status); }; }; then
10513 eval "$as_ac_Header=yes"
10515 echo "$as_me: failed program was:" >&5
10516 sed 's/^/| /' conftest.$ac_ext >&5
10518 eval "$as_ac_Header=no"
10521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10523 ac_res=`eval echo '${'$as_ac_Header'}'`
10524 { echo "$as_me:$LINENO: result: $ac_res" >&5
10525 echo "${ECHO_T}$ac_res" >&6; }
10526 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10527 cat >>confdefs.h <<_ACEOF
10528 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10530 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10531 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10532 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10533 echo $ECHO_N "(cached) $ECHO_C" >&6
10535 ac_check_lib_save_LIBS=$LIBS
10536 LIBS="-lxslt $ac_xslt_libs $LIBS"
10537 cat >conftest.$ac_ext <<_ACEOF
10540 cat confdefs.h >>conftest.$ac_ext
10541 cat >>conftest.$ac_ext <<_ACEOF
10542 /* end confdefs.h. */
10544 /* Override any GCC internal prototype to avoid an error.
10545 Use char because int might match the return type of a GCC
10546 builtin and then its argument prototype would still apply. */
10550 char xsltCompilePattern ();
10554 return xsltCompilePattern ();
10559 rm -f conftest.$ac_objext conftest$ac_exeext
10560 if { (ac_try="$ac_link"
10561 case "(($ac_try" in
10562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10563 *) ac_try_echo=$ac_try;;
10565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10566 (eval "$ac_link") 2>conftest.er1
10568 grep -v '^ *+' conftest.er1 >conftest.err
10570 cat conftest.err >&5
10571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10572 (exit $ac_status); } &&
10573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10574 { (case "(($ac_try" in
10575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10576 *) ac_try_echo=$ac_try;;
10578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10579 (eval "$ac_try") 2>&5
10581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10582 (exit $ac_status); }; } &&
10583 { ac_try='test -s conftest$ac_exeext'
10584 { (case "(($ac_try" in
10585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10586 *) ac_try_echo=$ac_try;;
10588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10589 (eval "$ac_try") 2>&5
10591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10592 (exit $ac_status); }; }; then
10593 ac_cv_lib_xslt_xsltCompilePattern=yes
10595 echo "$as_me: failed program was:" >&5
10596 sed 's/^/| /' conftest.$ac_ext >&5
10598 ac_cv_lib_xslt_xsltCompilePattern=no
10601 rm -f core conftest.err conftest.$ac_objext \
10602 conftest$ac_exeext conftest.$ac_ext
10603 LIBS=$ac_check_lib_save_LIBS
10605 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
10606 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
10607 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
10609 cat >>confdefs.h <<\_ACEOF
10610 #define HAVE_LIBXSLT 1
10613 XSLTLIBS="$ac_xslt_libs"
10614 XSLTINCL="$ac_xslt_cflags"
10622 CPPFLAGS="$ac_save_CPPFLAGS"
10627 if test "$PKG_CONFIG" != "false"
10629 ac_save_CPPFLAGS="$CPPFLAGS"
10630 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
10631 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
10632 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
10635 for ac_header in dbus/dbus.h hal/libhal.h
10637 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10638 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10639 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10641 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10642 echo $ECHO_N "(cached) $ECHO_C" >&6
10644 ac_res=`eval echo '${'$as_ac_Header'}'`
10645 { echo "$as_me:$LINENO: result: $ac_res" >&5
10646 echo "${ECHO_T}$ac_res" >&6; }
10648 # Is the header compilable?
10649 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10650 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10651 cat >conftest.$ac_ext <<_ACEOF
10654 cat confdefs.h >>conftest.$ac_ext
10655 cat >>conftest.$ac_ext <<_ACEOF
10656 /* end confdefs.h. */
10657 $ac_includes_default
10658 #include <$ac_header>
10660 rm -f conftest.$ac_objext
10661 if { (ac_try="$ac_compile"
10662 case "(($ac_try" in
10663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10664 *) ac_try_echo=$ac_try;;
10666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10667 (eval "$ac_compile") 2>conftest.er1
10669 grep -v '^ *+' conftest.er1 >conftest.err
10671 cat conftest.err >&5
10672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10673 (exit $ac_status); } &&
10674 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10675 { (case "(($ac_try" in
10676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10677 *) ac_try_echo=$ac_try;;
10679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10680 (eval "$ac_try") 2>&5
10682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10683 (exit $ac_status); }; } &&
10684 { ac_try='test -s conftest.$ac_objext'
10685 { (case "(($ac_try" in
10686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10687 *) ac_try_echo=$ac_try;;
10689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10690 (eval "$ac_try") 2>&5
10692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10693 (exit $ac_status); }; }; then
10694 ac_header_compiler=yes
10696 echo "$as_me: failed program was:" >&5
10697 sed 's/^/| /' conftest.$ac_ext >&5
10699 ac_header_compiler=no
10702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10703 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10704 echo "${ECHO_T}$ac_header_compiler" >&6; }
10706 # Is the header present?
10707 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10708 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10709 cat >conftest.$ac_ext <<_ACEOF
10712 cat confdefs.h >>conftest.$ac_ext
10713 cat >>conftest.$ac_ext <<_ACEOF
10714 /* end confdefs.h. */
10715 #include <$ac_header>
10717 if { (ac_try="$ac_cpp conftest.$ac_ext"
10718 case "(($ac_try" in
10719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10720 *) ac_try_echo=$ac_try;;
10722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10723 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10725 grep -v '^ *+' conftest.er1 >conftest.err
10727 cat conftest.err >&5
10728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10729 (exit $ac_status); } >/dev/null; then
10730 if test -s conftest.err; then
10731 ac_cpp_err=$ac_c_preproc_warn_flag
10732 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10739 if test -z "$ac_cpp_err"; then
10740 ac_header_preproc=yes
10742 echo "$as_me: failed program was:" >&5
10743 sed 's/^/| /' conftest.$ac_ext >&5
10745 ac_header_preproc=no
10748 rm -f conftest.err conftest.$ac_ext
10749 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10750 echo "${ECHO_T}$ac_header_preproc" >&6; }
10752 # So? What about this header?
10753 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10755 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10756 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10757 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10758 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10759 ac_header_preproc=yes
10762 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10763 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10764 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10765 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10766 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10767 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10768 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10769 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10770 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10771 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10772 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10773 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10775 ## ------------------------------------ ##
10776 ## Report this to wine-devel@winehq.org ##
10777 ## ------------------------------------ ##
10779 ) | sed "s/^/$as_me: WARNING: /" >&2
10782 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10784 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10785 echo $ECHO_N "(cached) $ECHO_C" >&6
10787 eval "$as_ac_Header=\$ac_header_preproc"
10789 ac_res=`eval echo '${'$as_ac_Header'}'`
10790 { echo "$as_me:$LINENO: result: $ac_res" >&5
10791 echo "${ECHO_T}$ac_res" >&6; }
10794 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10795 cat >>confdefs.h <<_ACEOF
10796 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10803 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
10805 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
10806 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
10807 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
10808 echo $ECHO_N "(cached) $ECHO_C" >&6
10810 ac_check_lib_save_LIBS=$LIBS
10812 cat >conftest.$ac_ext <<_ACEOF
10815 cat confdefs.h >>conftest.$ac_ext
10816 cat >>conftest.$ac_ext <<_ACEOF
10817 /* end confdefs.h. */
10819 /* Override any GCC internal prototype to avoid an error.
10820 Use char because int might match the return type of a GCC
10821 builtin and then its argument prototype would still apply. */
10825 char libhal_ctx_new ();
10829 return libhal_ctx_new ();
10834 rm -f conftest.$ac_objext conftest$ac_exeext
10835 if { (ac_try="$ac_link"
10836 case "(($ac_try" in
10837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10838 *) ac_try_echo=$ac_try;;
10840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10841 (eval "$ac_link") 2>conftest.er1
10843 grep -v '^ *+' conftest.er1 >conftest.err
10845 cat conftest.err >&5
10846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10847 (exit $ac_status); } &&
10848 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10849 { (case "(($ac_try" in
10850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10851 *) ac_try_echo=$ac_try;;
10853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10854 (eval "$ac_try") 2>&5
10856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10857 (exit $ac_status); }; } &&
10858 { ac_try='test -s conftest$ac_exeext'
10859 { (case "(($ac_try" in
10860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10861 *) ac_try_echo=$ac_try;;
10863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10864 (eval "$ac_try") 2>&5
10866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10867 (exit $ac_status); }; }; then
10868 ac_cv_lib_hal_libhal_ctx_new=yes
10870 echo "$as_me: failed program was:" >&5
10871 sed 's/^/| /' conftest.$ac_ext >&5
10873 ac_cv_lib_hal_libhal_ctx_new=no
10876 rm -f core conftest.err conftest.$ac_objext \
10877 conftest$ac_exeext conftest.$ac_ext
10878 LIBS=$ac_check_lib_save_LIBS
10880 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
10881 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
10882 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
10883 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
10884 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
10885 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
10886 echo $ECHO_N "(cached) $ECHO_C" >&6
10888 ac_check_lib_save_LIBS=$LIBS
10889 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
10890 cat >conftest.$ac_ext <<_ACEOF
10893 cat confdefs.h >>conftest.$ac_ext
10894 cat >>conftest.$ac_ext <<_ACEOF
10895 /* end confdefs.h. */
10897 /* Override any GCC internal prototype to avoid an error.
10898 Use char because int might match the return type of a GCC
10899 builtin and then its argument prototype would still apply. */
10903 char dbus_connection_close ();
10907 return dbus_connection_close ();
10912 rm -f conftest.$ac_objext conftest$ac_exeext
10913 if { (ac_try="$ac_link"
10914 case "(($ac_try" in
10915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10916 *) ac_try_echo=$ac_try;;
10918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10919 (eval "$ac_link") 2>conftest.er1
10921 grep -v '^ *+' conftest.er1 >conftest.err
10923 cat conftest.err >&5
10924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10925 (exit $ac_status); } &&
10926 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10927 { (case "(($ac_try" in
10928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10929 *) ac_try_echo=$ac_try;;
10931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10932 (eval "$ac_try") 2>&5
10934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10935 (exit $ac_status); }; } &&
10936 { ac_try='test -s conftest$ac_exeext'
10937 { (case "(($ac_try" in
10938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10939 *) ac_try_echo=$ac_try;;
10941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10942 (eval "$ac_try") 2>&5
10944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10945 (exit $ac_status); }; }; then
10946 ac_cv_lib_dbus_1_dbus_connection_close=yes
10948 echo "$as_me: failed program was:" >&5
10949 sed 's/^/| /' conftest.$ac_ext >&5
10951 ac_cv_lib_dbus_1_dbus_connection_close=no
10954 rm -f core conftest.err conftest.$ac_objext \
10955 conftest$ac_exeext conftest.$ac_ext
10956 LIBS=$ac_check_lib_save_LIBS
10958 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
10959 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
10960 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
10962 cat >>confdefs.h <<\_ACEOF
10963 #define HAVE_LIBHAL 1
10966 HALINCL="$ac_hal_cflags"
10972 CPPFLAGS="$ac_save_CPPFLAGS"
10976 if test "x$with_curses" != "xno"
10978 if test "$ac_cv_header_ncurses_h" = "yes"
10980 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
10981 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
10982 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
10983 echo $ECHO_N "(cached) $ECHO_C" >&6
10985 ac_check_lib_save_LIBS=$LIBS
10986 LIBS="-lncurses $LIBS"
10987 cat >conftest.$ac_ext <<_ACEOF
10990 cat confdefs.h >>conftest.$ac_ext
10991 cat >>conftest.$ac_ext <<_ACEOF
10992 /* end confdefs.h. */
10994 /* Override any GCC internal prototype to avoid an error.
10995 Use char because int might match the return type of a GCC
10996 builtin and then its argument prototype would still apply. */
11009 rm -f conftest.$ac_objext conftest$ac_exeext
11010 if { (ac_try="$ac_link"
11011 case "(($ac_try" in
11012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11013 *) ac_try_echo=$ac_try;;
11015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11016 (eval "$ac_link") 2>conftest.er1
11018 grep -v '^ *+' conftest.er1 >conftest.err
11020 cat conftest.err >&5
11021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11022 (exit $ac_status); } &&
11023 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11024 { (case "(($ac_try" in
11025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11026 *) ac_try_echo=$ac_try;;
11028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11029 (eval "$ac_try") 2>&5
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); }; } &&
11033 { ac_try='test -s conftest$ac_exeext'
11034 { (case "(($ac_try" in
11035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11036 *) ac_try_echo=$ac_try;;
11038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11039 (eval "$ac_try") 2>&5
11041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11042 (exit $ac_status); }; }; then
11043 ac_cv_lib_ncurses_waddch=yes
11045 echo "$as_me: failed program was:" >&5
11046 sed 's/^/| /' conftest.$ac_ext >&5
11048 ac_cv_lib_ncurses_waddch=no
11051 rm -f core conftest.err conftest.$ac_objext \
11052 conftest$ac_exeext conftest.$ac_ext
11053 LIBS=$ac_check_lib_save_LIBS
11055 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
11056 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
11057 if test $ac_cv_lib_ncurses_waddch = yes; then
11059 cat >>confdefs.h <<\_ACEOF
11060 #define HAVE_LIBNCURSES 1
11063 CURSESLIBS="-lncurses"
11066 elif test "$ac_cv_header_curses_h" = "yes"
11068 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
11069 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
11070 if test "${ac_cv_lib_curses_waddch+set}" = set; then
11071 echo $ECHO_N "(cached) $ECHO_C" >&6
11073 ac_check_lib_save_LIBS=$LIBS
11074 LIBS="-lcurses $LIBS"
11075 cat >conftest.$ac_ext <<_ACEOF
11078 cat confdefs.h >>conftest.$ac_ext
11079 cat >>conftest.$ac_ext <<_ACEOF
11080 /* end confdefs.h. */
11082 /* Override any GCC internal prototype to avoid an error.
11083 Use char because int might match the return type of a GCC
11084 builtin and then its argument prototype would still apply. */
11097 rm -f conftest.$ac_objext conftest$ac_exeext
11098 if { (ac_try="$ac_link"
11099 case "(($ac_try" in
11100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11101 *) ac_try_echo=$ac_try;;
11103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11104 (eval "$ac_link") 2>conftest.er1
11106 grep -v '^ *+' conftest.er1 >conftest.err
11108 cat conftest.err >&5
11109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11110 (exit $ac_status); } &&
11111 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11112 { (case "(($ac_try" in
11113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11114 *) ac_try_echo=$ac_try;;
11116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11117 (eval "$ac_try") 2>&5
11119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11120 (exit $ac_status); }; } &&
11121 { ac_try='test -s conftest$ac_exeext'
11122 { (case "(($ac_try" in
11123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11124 *) ac_try_echo=$ac_try;;
11126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11127 (eval "$ac_try") 2>&5
11129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11130 (exit $ac_status); }; }; then
11131 ac_cv_lib_curses_waddch=yes
11133 echo "$as_me: failed program was:" >&5
11134 sed 's/^/| /' conftest.$ac_ext >&5
11136 ac_cv_lib_curses_waddch=no
11139 rm -f core conftest.err conftest.$ac_objext \
11140 conftest$ac_exeext conftest.$ac_ext
11141 LIBS=$ac_check_lib_save_LIBS
11143 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
11144 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
11145 if test $ac_cv_lib_curses_waddch = yes; then
11147 cat >>confdefs.h <<\_ACEOF
11148 #define HAVE_LIBCURSES 1
11151 CURSESLIBS="-lcurses"
11155 ac_save_LIBS="$LIBS"
11156 LIBS="$LIBS $CURSESLIBS"
11158 for ac_func in mousemask
11160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11161 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11163 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11164 echo $ECHO_N "(cached) $ECHO_C" >&6
11166 cat >conftest.$ac_ext <<_ACEOF
11169 cat confdefs.h >>conftest.$ac_ext
11170 cat >>conftest.$ac_ext <<_ACEOF
11171 /* end confdefs.h. */
11172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11174 #define $ac_func innocuous_$ac_func
11176 /* System header to define __stub macros and hopefully few prototypes,
11177 which can conflict with char $ac_func (); below.
11178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11179 <limits.h> exists even on freestanding compilers. */
11182 # include <limits.h>
11184 # include <assert.h>
11189 /* Override any GCC internal prototype to avoid an error.
11190 Use char because int might match the return type of a GCC
11191 builtin and then its argument prototype would still apply. */
11196 /* The GNU C library defines this for functions which it implements
11197 to always fail with ENOSYS. Some functions are actually named
11198 something starting with __ and the normal name is an alias. */
11199 #if defined __stub_$ac_func || defined __stub___$ac_func
11206 return $ac_func ();
11211 rm -f conftest.$ac_objext conftest$ac_exeext
11212 if { (ac_try="$ac_link"
11213 case "(($ac_try" in
11214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11215 *) ac_try_echo=$ac_try;;
11217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11218 (eval "$ac_link") 2>conftest.er1
11220 grep -v '^ *+' conftest.er1 >conftest.err
11222 cat conftest.err >&5
11223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11224 (exit $ac_status); } &&
11225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11226 { (case "(($ac_try" in
11227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11228 *) ac_try_echo=$ac_try;;
11230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11231 (eval "$ac_try") 2>&5
11233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11234 (exit $ac_status); }; } &&
11235 { ac_try='test -s conftest$ac_exeext'
11236 { (case "(($ac_try" in
11237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11238 *) ac_try_echo=$ac_try;;
11240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11241 (eval "$ac_try") 2>&5
11243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11244 (exit $ac_status); }; }; then
11245 eval "$as_ac_var=yes"
11247 echo "$as_me: failed program was:" >&5
11248 sed 's/^/| /' conftest.$ac_ext >&5
11250 eval "$as_ac_var=no"
11253 rm -f core conftest.err conftest.$ac_objext \
11254 conftest$ac_exeext conftest.$ac_ext
11256 ac_res=`eval echo '${'$as_ac_var'}'`
11257 { echo "$as_me:$LINENO: result: $ac_res" >&5
11258 echo "${ECHO_T}$ac_res" >&6; }
11259 if test `eval echo '${'$as_ac_var'}'` = yes; then
11260 cat >>confdefs.h <<_ACEOF
11261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11267 LIBS="$ac_save_LIBS"
11271 # Extract the first word of "sane-config", so it can be a program name with args.
11272 set dummy sane-config; ac_word=$2
11273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11275 if test "${ac_cv_prog_sane_devel+set}" = set; then
11276 echo $ECHO_N "(cached) $ECHO_C" >&6
11278 if test -n "$sane_devel"; then
11279 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11282 for as_dir in $PATH
11285 test -z "$as_dir" && as_dir=.
11286 for ac_exec_ext in '' $ac_executable_extensions; do
11287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11288 ac_cv_prog_sane_devel="sane-config"
11289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11296 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11299 sane_devel=$ac_cv_prog_sane_devel
11300 if test -n "$sane_devel"; then
11301 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11302 echo "${ECHO_T}$sane_devel" >&6; }
11304 { echo "$as_me:$LINENO: result: no" >&5
11305 echo "${ECHO_T}no" >&6; }
11313 if test "$sane_devel" != "no"
11315 SANELIBS="`$sane_devel --libs`"
11316 SANEINCL="`$sane_devel --cflags`"
11317 ac_save_CPPFLAGS="$CPPFLAGS"
11318 ac_save_LIBS="$LIBS"
11319 CPPFLAGS="$CPPFLAGS $SANEINCL"
11320 LIBS="$LIBS $SANELIBS"
11321 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11322 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11323 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11324 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11325 echo $ECHO_N "(cached) $ECHO_C" >&6
11327 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11328 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11330 # Is the header compilable?
11331 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11332 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11333 cat >conftest.$ac_ext <<_ACEOF
11336 cat confdefs.h >>conftest.$ac_ext
11337 cat >>conftest.$ac_ext <<_ACEOF
11338 /* end confdefs.h. */
11339 $ac_includes_default
11340 #include <sane/sane.h>
11342 rm -f conftest.$ac_objext
11343 if { (ac_try="$ac_compile"
11344 case "(($ac_try" in
11345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11346 *) ac_try_echo=$ac_try;;
11348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11349 (eval "$ac_compile") 2>conftest.er1
11351 grep -v '^ *+' conftest.er1 >conftest.err
11353 cat conftest.err >&5
11354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11355 (exit $ac_status); } &&
11356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11357 { (case "(($ac_try" in
11358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11359 *) ac_try_echo=$ac_try;;
11361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11362 (eval "$ac_try") 2>&5
11364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11365 (exit $ac_status); }; } &&
11366 { ac_try='test -s conftest.$ac_objext'
11367 { (case "(($ac_try" in
11368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11369 *) ac_try_echo=$ac_try;;
11371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11372 (eval "$ac_try") 2>&5
11374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11375 (exit $ac_status); }; }; then
11376 ac_header_compiler=yes
11378 echo "$as_me: failed program was:" >&5
11379 sed 's/^/| /' conftest.$ac_ext >&5
11381 ac_header_compiler=no
11384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11385 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11386 echo "${ECHO_T}$ac_header_compiler" >&6; }
11388 # Is the header present?
11389 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11390 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11391 cat >conftest.$ac_ext <<_ACEOF
11394 cat confdefs.h >>conftest.$ac_ext
11395 cat >>conftest.$ac_ext <<_ACEOF
11396 /* end confdefs.h. */
11397 #include <sane/sane.h>
11399 if { (ac_try="$ac_cpp conftest.$ac_ext"
11400 case "(($ac_try" in
11401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11402 *) ac_try_echo=$ac_try;;
11404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11405 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11407 grep -v '^ *+' conftest.er1 >conftest.err
11409 cat conftest.err >&5
11410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11411 (exit $ac_status); } >/dev/null; then
11412 if test -s conftest.err; then
11413 ac_cpp_err=$ac_c_preproc_warn_flag
11414 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11421 if test -z "$ac_cpp_err"; then
11422 ac_header_preproc=yes
11424 echo "$as_me: failed program was:" >&5
11425 sed 's/^/| /' conftest.$ac_ext >&5
11427 ac_header_preproc=no
11430 rm -f conftest.err conftest.$ac_ext
11431 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11432 echo "${ECHO_T}$ac_header_preproc" >&6; }
11434 # So? What about this header?
11435 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11437 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11438 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11439 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11440 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11441 ac_header_preproc=yes
11444 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11445 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11446 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11447 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11448 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11449 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11450 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11451 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11452 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11453 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11454 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11455 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11457 ## ------------------------------------ ##
11458 ## Report this to wine-devel@winehq.org ##
11459 ## ------------------------------------ ##
11461 ) | sed "s/^/$as_me: WARNING: /" >&2
11464 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11465 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11466 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11467 echo $ECHO_N "(cached) $ECHO_C" >&6
11469 ac_cv_header_sane_sane_h=$ac_header_preproc
11471 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11472 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11475 if test $ac_cv_header_sane_sane_h = yes; then
11476 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
11477 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
11478 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
11479 echo $ECHO_N "(cached) $ECHO_C" >&6
11481 ac_check_lib_save_LIBS=$LIBS
11482 LIBS="-lsane $LIBS"
11483 cat >conftest.$ac_ext <<_ACEOF
11486 cat confdefs.h >>conftest.$ac_ext
11487 cat >>conftest.$ac_ext <<_ACEOF
11488 /* end confdefs.h. */
11490 /* Override any GCC internal prototype to avoid an error.
11491 Use char because int might match the return type of a GCC
11492 builtin and then its argument prototype would still apply. */
11500 return sane_open ();
11505 rm -f conftest.$ac_objext conftest$ac_exeext
11506 if { (ac_try="$ac_link"
11507 case "(($ac_try" in
11508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11509 *) ac_try_echo=$ac_try;;
11511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11512 (eval "$ac_link") 2>conftest.er1
11514 grep -v '^ *+' conftest.er1 >conftest.err
11516 cat conftest.err >&5
11517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11518 (exit $ac_status); } &&
11519 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11520 { (case "(($ac_try" in
11521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11522 *) ac_try_echo=$ac_try;;
11524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11525 (eval "$ac_try") 2>&5
11527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11528 (exit $ac_status); }; } &&
11529 { ac_try='test -s conftest$ac_exeext'
11530 { (case "(($ac_try" in
11531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11532 *) ac_try_echo=$ac_try;;
11534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11535 (eval "$ac_try") 2>&5
11537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11538 (exit $ac_status); }; }; then
11539 ac_cv_lib_sane_sane_open=yes
11541 echo "$as_me: failed program was:" >&5
11542 sed 's/^/| /' conftest.$ac_ext >&5
11544 ac_cv_lib_sane_sane_open=no
11547 rm -f core conftest.err conftest.$ac_objext \
11548 conftest$ac_exeext conftest.$ac_ext
11549 LIBS=$ac_check_lib_save_LIBS
11551 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
11552 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
11553 if test $ac_cv_lib_sane_sane_open = yes; then
11555 cat >>confdefs.h <<\_ACEOF
11556 #define HAVE_SANE 1
11570 LIBS="$ac_save_LIBS"
11571 CPPFLAGS="$ac_save_CPPFLAGS"
11574 # Extract the first word of "gphoto2-config", so it can be a program name with args.
11575 set dummy gphoto2-config; ac_word=$2
11576 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11578 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
11579 echo $ECHO_N "(cached) $ECHO_C" >&6
11581 if test -n "$gphoto2_devel"; then
11582 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
11584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11585 for as_dir in $PATH
11588 test -z "$as_dir" && as_dir=.
11589 for ac_exec_ext in '' $ac_executable_extensions; do
11590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11591 ac_cv_prog_gphoto2_devel="gphoto2-config"
11592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11599 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
11602 gphoto2_devel=$ac_cv_prog_gphoto2_devel
11603 if test -n "$gphoto2_devel"; then
11604 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
11605 echo "${ECHO_T}$gphoto2_devel" >&6; }
11607 { echo "$as_me:$LINENO: result: no" >&5
11608 echo "${ECHO_T}no" >&6; }
11612 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
11613 set dummy gphoto2-port-config; ac_word=$2
11614 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11616 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
11617 echo $ECHO_N "(cached) $ECHO_C" >&6
11619 if test -n "$gphoto2port_devel"; then
11620 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
11622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11623 for as_dir in $PATH
11626 test -z "$as_dir" && as_dir=.
11627 for ac_exec_ext in '' $ac_executable_extensions; do
11628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11629 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
11630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11637 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
11640 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
11641 if test -n "$gphoto2port_devel"; then
11642 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
11643 echo "${ECHO_T}$gphoto2port_devel" >&6; }
11645 { echo "$as_me:$LINENO: result: no" >&5
11646 echo "${ECHO_T}no" >&6; }
11654 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
11656 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
11658 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
11661 -L/usr/lib|-L/usr/lib64) ;;
11662 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
11665 ac_save_CPPFLAGS="$CPPFLAGS"
11666 ac_save_LIBS="$LIBS"
11667 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
11668 LIBS="$LIBS $GPHOTO2LIBS"
11669 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11670 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11671 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11672 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11673 echo $ECHO_N "(cached) $ECHO_C" >&6
11675 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11676 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11678 # Is the header compilable?
11679 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
11680 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
11681 cat >conftest.$ac_ext <<_ACEOF
11684 cat confdefs.h >>conftest.$ac_ext
11685 cat >>conftest.$ac_ext <<_ACEOF
11686 /* end confdefs.h. */
11687 $ac_includes_default
11688 #include <gphoto2-camera.h>
11690 rm -f conftest.$ac_objext
11691 if { (ac_try="$ac_compile"
11692 case "(($ac_try" in
11693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11694 *) ac_try_echo=$ac_try;;
11696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11697 (eval "$ac_compile") 2>conftest.er1
11699 grep -v '^ *+' conftest.er1 >conftest.err
11701 cat conftest.err >&5
11702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11703 (exit $ac_status); } &&
11704 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11705 { (case "(($ac_try" in
11706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11707 *) ac_try_echo=$ac_try;;
11709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11710 (eval "$ac_try") 2>&5
11712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11713 (exit $ac_status); }; } &&
11714 { ac_try='test -s conftest.$ac_objext'
11715 { (case "(($ac_try" in
11716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11717 *) ac_try_echo=$ac_try;;
11719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11720 (eval "$ac_try") 2>&5
11722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11723 (exit $ac_status); }; }; then
11724 ac_header_compiler=yes
11726 echo "$as_me: failed program was:" >&5
11727 sed 's/^/| /' conftest.$ac_ext >&5
11729 ac_header_compiler=no
11732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11733 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11734 echo "${ECHO_T}$ac_header_compiler" >&6; }
11736 # Is the header present?
11737 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
11738 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
11739 cat >conftest.$ac_ext <<_ACEOF
11742 cat confdefs.h >>conftest.$ac_ext
11743 cat >>conftest.$ac_ext <<_ACEOF
11744 /* end confdefs.h. */
11745 #include <gphoto2-camera.h>
11747 if { (ac_try="$ac_cpp conftest.$ac_ext"
11748 case "(($ac_try" in
11749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11750 *) ac_try_echo=$ac_try;;
11752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11753 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11755 grep -v '^ *+' conftest.er1 >conftest.err
11757 cat conftest.err >&5
11758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11759 (exit $ac_status); } >/dev/null; then
11760 if test -s conftest.err; then
11761 ac_cpp_err=$ac_c_preproc_warn_flag
11762 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11769 if test -z "$ac_cpp_err"; then
11770 ac_header_preproc=yes
11772 echo "$as_me: failed program was:" >&5
11773 sed 's/^/| /' conftest.$ac_ext >&5
11775 ac_header_preproc=no
11778 rm -f conftest.err conftest.$ac_ext
11779 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11780 echo "${ECHO_T}$ac_header_preproc" >&6; }
11782 # So? What about this header?
11783 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11785 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
11786 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11787 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
11788 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
11789 ac_header_preproc=yes
11792 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
11793 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
11794 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
11795 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
11796 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
11797 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
11798 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
11799 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
11800 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
11801 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
11802 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
11803 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
11805 ## ------------------------------------ ##
11806 ## Report this to wine-devel@winehq.org ##
11807 ## ------------------------------------ ##
11809 ) | sed "s/^/$as_me: WARNING: /" >&2
11812 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11813 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11814 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11815 echo $ECHO_N "(cached) $ECHO_C" >&6
11817 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
11819 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11820 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11823 if test $ac_cv_header_gphoto2_camera_h = yes; then
11824 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
11825 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
11826 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
11827 echo $ECHO_N "(cached) $ECHO_C" >&6
11829 ac_check_lib_save_LIBS=$LIBS
11830 LIBS="-lgphoto2 $LIBS"
11831 cat >conftest.$ac_ext <<_ACEOF
11834 cat confdefs.h >>conftest.$ac_ext
11835 cat >>conftest.$ac_ext <<_ACEOF
11836 /* end confdefs.h. */
11838 /* Override any GCC internal prototype to avoid an error.
11839 Use char because int might match the return type of a GCC
11840 builtin and then its argument prototype would still apply. */
11844 char gp_camera_new ();
11848 return gp_camera_new ();
11853 rm -f conftest.$ac_objext conftest$ac_exeext
11854 if { (ac_try="$ac_link"
11855 case "(($ac_try" in
11856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11857 *) ac_try_echo=$ac_try;;
11859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11860 (eval "$ac_link") 2>conftest.er1
11862 grep -v '^ *+' conftest.er1 >conftest.err
11864 cat conftest.err >&5
11865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11866 (exit $ac_status); } &&
11867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11868 { (case "(($ac_try" in
11869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11870 *) ac_try_echo=$ac_try;;
11872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11873 (eval "$ac_try") 2>&5
11875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11876 (exit $ac_status); }; } &&
11877 { ac_try='test -s conftest$ac_exeext'
11878 { (case "(($ac_try" in
11879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11880 *) ac_try_echo=$ac_try;;
11882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11883 (eval "$ac_try") 2>&5
11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 (exit $ac_status); }; }; then
11887 ac_cv_lib_gphoto2_gp_camera_new=yes
11889 echo "$as_me: failed program was:" >&5
11890 sed 's/^/| /' conftest.$ac_ext >&5
11892 ac_cv_lib_gphoto2_gp_camera_new=no
11895 rm -f core conftest.err conftest.$ac_objext \
11896 conftest$ac_exeext conftest.$ac_ext
11897 LIBS=$ac_check_lib_save_LIBS
11899 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11900 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11901 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
11903 cat >>confdefs.h <<\_ACEOF
11904 #define HAVE_GPHOTO2 1
11918 LIBS="$ac_save_LIBS"
11919 CPPFLAGS="$ac_save_CPPFLAGS"
11922 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
11925 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
11927 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
11928 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
11929 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
11930 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
11931 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11932 cat >conftest.$ac_ext <<_ACEOF
11935 cat confdefs.h >>conftest.$ac_ext
11936 cat >>conftest.$ac_ext <<_ACEOF
11937 /* end confdefs.h. */
11938 #include <unicode/ubidi.h>
11947 rm -f conftest.$ac_objext conftest$ac_exeext
11948 if { (ac_try="$ac_link"
11949 case "(($ac_try" in
11950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11951 *) ac_try_echo=$ac_try;;
11953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11954 (eval "$ac_link") 2>conftest.er1
11956 grep -v '^ *+' conftest.er1 >conftest.err
11958 cat conftest.err >&5
11959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11960 (exit $ac_status); } &&
11961 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11962 { (case "(($ac_try" in
11963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11964 *) ac_try_echo=$ac_try;;
11966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11967 (eval "$ac_try") 2>&5
11969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11970 (exit $ac_status); }; } &&
11971 { ac_try='test -s conftest$ac_exeext'
11972 { (case "(($ac_try" in
11973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11974 *) ac_try_echo=$ac_try;;
11976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11977 (eval "$ac_try") 2>&5
11979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11980 (exit $ac_status); }; }; then
11982 cat >>confdefs.h <<\_ACEOF
11986 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11988 { echo "$as_me:$LINENO: result: yes" >&5
11989 echo "${ECHO_T}yes" >&6; }
11991 echo "$as_me: failed program was:" >&5
11992 sed 's/^/| /' conftest.$ac_ext >&5
11994 { echo "$as_me:$LINENO: result: no" >&5
11995 echo "${ECHO_T}no" >&6; }
11998 rm -f core conftest.err conftest.$ac_objext \
11999 conftest$ac_exeext conftest.$ac_ext
12006 if test "$ac_cv_header_resolv_h" = "yes"
12008 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12009 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12010 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12011 echo $ECHO_N "(cached) $ECHO_C" >&6
12013 ac_check_lib_save_LIBS=$LIBS
12014 LIBS="-lresolv $LIBS"
12015 cat >conftest.$ac_ext <<_ACEOF
12018 cat confdefs.h >>conftest.$ac_ext
12019 cat >>conftest.$ac_ext <<_ACEOF
12020 /* end confdefs.h. */
12022 /* Override any GCC internal prototype to avoid an error.
12023 Use char because int might match the return type of a GCC
12024 builtin and then its argument prototype would still apply. */
12032 return res_query ();
12037 rm -f conftest.$ac_objext conftest$ac_exeext
12038 if { (ac_try="$ac_link"
12039 case "(($ac_try" in
12040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12041 *) ac_try_echo=$ac_try;;
12043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12044 (eval "$ac_link") 2>conftest.er1
12046 grep -v '^ *+' conftest.er1 >conftest.err
12048 cat conftest.err >&5
12049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12050 (exit $ac_status); } &&
12051 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12052 { (case "(($ac_try" in
12053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12054 *) ac_try_echo=$ac_try;;
12056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12057 (eval "$ac_try") 2>&5
12059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12060 (exit $ac_status); }; } &&
12061 { ac_try='test -s conftest$ac_exeext'
12062 { (case "(($ac_try" in
12063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12064 *) ac_try_echo=$ac_try;;
12066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12067 (eval "$ac_try") 2>&5
12069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12070 (exit $ac_status); }; }; then
12071 ac_cv_lib_resolv_res_query=yes
12073 echo "$as_me: failed program was:" >&5
12074 sed 's/^/| /' conftest.$ac_ext >&5
12076 ac_cv_lib_resolv_res_query=no
12079 rm -f core conftest.err conftest.$ac_objext \
12080 conftest$ac_exeext conftest.$ac_ext
12081 LIBS=$ac_check_lib_save_LIBS
12083 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12084 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12085 if test $ac_cv_lib_resolv_res_query = yes; then
12087 cat >>confdefs.h <<\_ACEOF
12088 #define HAVE_RESOLV 1
12091 RESOLVLIBS="-lresolv"
12098 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12100 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12101 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12102 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12103 echo $ECHO_N "(cached) $ECHO_C" >&6
12105 ac_check_lib_save_LIBS=$LIBS
12106 LIBS="-llcms $LIBS"
12107 cat >conftest.$ac_ext <<_ACEOF
12110 cat confdefs.h >>conftest.$ac_ext
12111 cat >>conftest.$ac_ext <<_ACEOF
12112 /* end confdefs.h. */
12114 /* Override any GCC internal prototype to avoid an error.
12115 Use char because int might match the return type of a GCC
12116 builtin and then its argument prototype would still apply. */
12120 char cmsOpenProfileFromFile ();
12124 return cmsOpenProfileFromFile ();
12129 rm -f conftest.$ac_objext conftest$ac_exeext
12130 if { (ac_try="$ac_link"
12131 case "(($ac_try" in
12132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12133 *) ac_try_echo=$ac_try;;
12135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12136 (eval "$ac_link") 2>conftest.er1
12138 grep -v '^ *+' conftest.er1 >conftest.err
12140 cat conftest.err >&5
12141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12142 (exit $ac_status); } &&
12143 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12144 { (case "(($ac_try" in
12145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12146 *) ac_try_echo=$ac_try;;
12148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12149 (eval "$ac_try") 2>&5
12151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12152 (exit $ac_status); }; } &&
12153 { ac_try='test -s conftest$ac_exeext'
12154 { (case "(($ac_try" in
12155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12156 *) ac_try_echo=$ac_try;;
12158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12159 (eval "$ac_try") 2>&5
12161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12162 (exit $ac_status); }; }; then
12163 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12165 echo "$as_me: failed program was:" >&5
12166 sed 's/^/| /' conftest.$ac_ext >&5
12168 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12171 rm -f core conftest.err conftest.$ac_objext \
12172 conftest$ac_exeext conftest.$ac_ext
12173 LIBS=$ac_check_lib_save_LIBS
12175 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12176 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12177 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12179 cat >>confdefs.h <<\_ACEOF
12180 #define HAVE_LCMS 1
12190 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12192 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12193 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12194 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12195 echo $ECHO_N "(cached) $ECHO_C" >&6
12197 ac_check_lib_save_LIBS=$LIBS
12198 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12199 cat >conftest.$ac_ext <<_ACEOF
12202 cat confdefs.h >>conftest.$ac_ext
12203 cat >>conftest.$ac_ext <<_ACEOF
12204 /* end confdefs.h. */
12206 /* Override any GCC internal prototype to avoid an error.
12207 Use char because int might match the return type of a GCC
12208 builtin and then its argument prototype would still apply. */
12212 char ldap_initialize ();
12216 return ldap_initialize ();
12221 rm -f conftest.$ac_objext conftest$ac_exeext
12222 if { (ac_try="$ac_link"
12223 case "(($ac_try" in
12224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12225 *) ac_try_echo=$ac_try;;
12227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12228 (eval "$ac_link") 2>conftest.er1
12230 grep -v '^ *+' conftest.er1 >conftest.err
12232 cat conftest.err >&5
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); } &&
12235 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12236 { (case "(($ac_try" in
12237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12238 *) ac_try_echo=$ac_try;;
12240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12241 (eval "$ac_try") 2>&5
12243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12244 (exit $ac_status); }; } &&
12245 { ac_try='test -s conftest$ac_exeext'
12246 { (case "(($ac_try" in
12247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12248 *) ac_try_echo=$ac_try;;
12250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12251 (eval "$ac_try") 2>&5
12253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12254 (exit $ac_status); }; }; then
12255 ac_cv_lib_ldap_r_ldap_initialize=yes
12257 echo "$as_me: failed program was:" >&5
12258 sed 's/^/| /' conftest.$ac_ext >&5
12260 ac_cv_lib_ldap_r_ldap_initialize=no
12263 rm -f core conftest.err conftest.$ac_objext \
12264 conftest$ac_exeext conftest.$ac_ext
12265 LIBS=$ac_check_lib_save_LIBS
12267 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12268 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12269 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12270 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12271 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12272 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12273 echo $ECHO_N "(cached) $ECHO_C" >&6
12275 ac_check_lib_save_LIBS=$LIBS
12276 LIBS="-llber $LIBPTHREAD $LIBS"
12277 cat >conftest.$ac_ext <<_ACEOF
12280 cat confdefs.h >>conftest.$ac_ext
12281 cat >>conftest.$ac_ext <<_ACEOF
12282 /* end confdefs.h. */
12284 /* Override any GCC internal prototype to avoid an error.
12285 Use char because int might match the return type of a GCC
12286 builtin and then its argument prototype would still apply. */
12294 return ber_init ();
12299 rm -f conftest.$ac_objext conftest$ac_exeext
12300 if { (ac_try="$ac_link"
12301 case "(($ac_try" in
12302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12303 *) ac_try_echo=$ac_try;;
12305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12306 (eval "$ac_link") 2>conftest.er1
12308 grep -v '^ *+' conftest.er1 >conftest.err
12310 cat conftest.err >&5
12311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12312 (exit $ac_status); } &&
12313 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12314 { (case "(($ac_try" in
12315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12316 *) ac_try_echo=$ac_try;;
12318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12319 (eval "$ac_try") 2>&5
12321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12322 (exit $ac_status); }; } &&
12323 { ac_try='test -s conftest$ac_exeext'
12324 { (case "(($ac_try" in
12325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12326 *) ac_try_echo=$ac_try;;
12328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12329 (eval "$ac_try") 2>&5
12331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12332 (exit $ac_status); }; }; then
12333 ac_cv_lib_lber_ber_init=yes
12335 echo "$as_me: failed program was:" >&5
12336 sed 's/^/| /' conftest.$ac_ext >&5
12338 ac_cv_lib_lber_ber_init=no
12341 rm -f core conftest.err conftest.$ac_objext \
12342 conftest$ac_exeext conftest.$ac_ext
12343 LIBS=$ac_check_lib_save_LIBS
12345 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12346 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12347 if test $ac_cv_lib_lber_ber_init = yes; then
12349 cat >>confdefs.h <<\_ACEOF
12350 #define HAVE_LDAP 1
12353 LDAPLIBS="-lldap_r -llber"
12358 ac_wine_check_funcs_save_LIBS="$LIBS"
12359 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12365 ldap_count_references \
12366 ldap_first_reference \
12367 ldap_next_reference \
12368 ldap_parse_reference
12370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12371 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12373 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12374 echo $ECHO_N "(cached) $ECHO_C" >&6
12376 cat >conftest.$ac_ext <<_ACEOF
12379 cat confdefs.h >>conftest.$ac_ext
12380 cat >>conftest.$ac_ext <<_ACEOF
12381 /* end confdefs.h. */
12382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12384 #define $ac_func innocuous_$ac_func
12386 /* System header to define __stub macros and hopefully few prototypes,
12387 which can conflict with char $ac_func (); below.
12388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12389 <limits.h> exists even on freestanding compilers. */
12392 # include <limits.h>
12394 # include <assert.h>
12399 /* Override any GCC internal prototype to avoid an error.
12400 Use char because int might match the return type of a GCC
12401 builtin and then its argument prototype would still apply. */
12406 /* The GNU C library defines this for functions which it implements
12407 to always fail with ENOSYS. Some functions are actually named
12408 something starting with __ and the normal name is an alias. */
12409 #if defined __stub_$ac_func || defined __stub___$ac_func
12416 return $ac_func ();
12421 rm -f conftest.$ac_objext conftest$ac_exeext
12422 if { (ac_try="$ac_link"
12423 case "(($ac_try" in
12424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12425 *) ac_try_echo=$ac_try;;
12427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12428 (eval "$ac_link") 2>conftest.er1
12430 grep -v '^ *+' conftest.er1 >conftest.err
12432 cat conftest.err >&5
12433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12434 (exit $ac_status); } &&
12435 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12436 { (case "(($ac_try" in
12437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12438 *) ac_try_echo=$ac_try;;
12440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12441 (eval "$ac_try") 2>&5
12443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12444 (exit $ac_status); }; } &&
12445 { ac_try='test -s conftest$ac_exeext'
12446 { (case "(($ac_try" in
12447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12448 *) ac_try_echo=$ac_try;;
12450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12451 (eval "$ac_try") 2>&5
12453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12454 (exit $ac_status); }; }; then
12455 eval "$as_ac_var=yes"
12457 echo "$as_me: failed program was:" >&5
12458 sed 's/^/| /' conftest.$ac_ext >&5
12460 eval "$as_ac_var=no"
12463 rm -f core conftest.err conftest.$ac_objext \
12464 conftest$ac_exeext conftest.$ac_ext
12466 ac_res=`eval echo '${'$as_ac_var'}'`
12467 { echo "$as_me:$LINENO: result: $ac_res" >&5
12468 echo "${ECHO_T}$ac_res" >&6; }
12469 if test `eval echo '${'$as_ac_var'}'` = yes; then
12470 cat >>confdefs.h <<_ACEOF
12471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12477 LIBS="$ac_wine_check_funcs_save_LIBS"
12484 # Extract the first word of "freetype-config", so it can be a program name with args.
12485 set dummy freetype-config; ac_word=$2
12486 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12488 if test "${ac_cv_prog_ft_devel+set}" = set; then
12489 echo $ECHO_N "(cached) $ECHO_C" >&6
12491 if test -n "$ft_devel"; then
12492 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12495 for as_dir in $PATH
12498 test -z "$as_dir" && as_dir=.
12499 for ac_exec_ext in '' $ac_executable_extensions; do
12500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12501 ac_cv_prog_ft_devel="freetype-config"
12502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12509 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
12512 ft_devel=$ac_cv_prog_ft_devel
12513 if test -n "$ft_devel"; then
12514 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12515 echo "${ECHO_T}$ft_devel" >&6; }
12517 { echo "$as_me:$LINENO: result: no" >&5
12518 echo "${ECHO_T}no" >&6; }
12522 if test "$ft_devel" = "no"
12524 # Extract the first word of "freetype2-config", so it can be a program name with args.
12525 set dummy freetype2-config; ac_word=$2
12526 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12528 if test "${ac_cv_prog_ft_devel2+set}" = set; then
12529 echo $ECHO_N "(cached) $ECHO_C" >&6
12531 if test -n "$ft_devel2"; then
12532 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
12534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12535 for as_dir in $PATH
12538 test -z "$as_dir" && as_dir=.
12539 for ac_exec_ext in '' $ac_executable_extensions; do
12540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12541 ac_cv_prog_ft_devel2="freetype2-config"
12542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12549 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
12552 ft_devel2=$ac_cv_prog_ft_devel2
12553 if test -n "$ft_devel2"; then
12554 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
12555 echo "${ECHO_T}$ft_devel2" >&6; }
12557 { echo "$as_me:$LINENO: result: no" >&5
12558 echo "${ECHO_T}no" >&6; }
12562 if test "$ft_devel2" = "freetype2-config"
12564 ft_devel=$ft_devel2
12568 if test "$ft_devel" = "no"
12570 wine_cv_msg_freetype=yes
12572 FREETYPELIBS=`$ft_devel --libs`
12573 FREETYPEINCL=`$ft_devel --cflags`
12574 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
12575 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
12576 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
12577 echo $ECHO_N "(cached) $ECHO_C" >&6
12579 ac_check_lib_save_LIBS=$LIBS
12580 LIBS="-lfreetype $FREETYPELIBS $LIBS"
12581 cat >conftest.$ac_ext <<_ACEOF
12584 cat confdefs.h >>conftest.$ac_ext
12585 cat >>conftest.$ac_ext <<_ACEOF
12586 /* end confdefs.h. */
12588 /* Override any GCC internal prototype to avoid an error.
12589 Use char because int might match the return type of a GCC
12590 builtin and then its argument prototype would still apply. */
12594 char FT_Init_FreeType ();
12598 return FT_Init_FreeType ();
12603 rm -f conftest.$ac_objext conftest$ac_exeext
12604 if { (ac_try="$ac_link"
12605 case "(($ac_try" in
12606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12607 *) ac_try_echo=$ac_try;;
12609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12610 (eval "$ac_link") 2>conftest.er1
12612 grep -v '^ *+' conftest.er1 >conftest.err
12614 cat conftest.err >&5
12615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12616 (exit $ac_status); } &&
12617 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12618 { (case "(($ac_try" in
12619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12620 *) ac_try_echo=$ac_try;;
12622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12623 (eval "$ac_try") 2>&5
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); }; } &&
12627 { ac_try='test -s conftest$ac_exeext'
12628 { (case "(($ac_try" in
12629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12630 *) ac_try_echo=$ac_try;;
12632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12633 (eval "$ac_try") 2>&5
12635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12636 (exit $ac_status); }; }; then
12637 ac_cv_lib_freetype_FT_Init_FreeType=yes
12639 echo "$as_me: failed program was:" >&5
12640 sed 's/^/| /' conftest.$ac_ext >&5
12642 ac_cv_lib_freetype_FT_Init_FreeType=no
12645 rm -f core conftest.err conftest.$ac_objext \
12646 conftest$ac_exeext conftest.$ac_ext
12647 LIBS=$ac_check_lib_save_LIBS
12649 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
12650 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
12651 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
12657 if test "$ft_lib" = "no"
12659 wine_cv_msg_freetype=yes
12663 ac_save_CPPFLAGS="$CPPFLAGS"
12664 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
12676 for ac_header in ft2build.h \
12677 freetype/freetype.h \
12678 freetype/ftglyph.h \
12679 freetype/tttables.h \
12680 freetype/ftnames.h \
12681 freetype/ftsnames.h \
12682 freetype/ttnameid.h \
12683 freetype/ftoutln.h \
12684 freetype/ftwinfnt.h \
12685 freetype/ftmodapi.h \
12686 freetype/internal/sfnt.h
12688 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12689 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12690 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12691 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12692 echo $ECHO_N "(cached) $ECHO_C" >&6
12694 cat >conftest.$ac_ext <<_ACEOF
12697 cat confdefs.h >>conftest.$ac_ext
12698 cat >>conftest.$ac_ext <<_ACEOF
12699 /* end confdefs.h. */
12700 #if HAVE_FT2BUILD_H
12701 #include <ft2build.h>
12704 #include <$ac_header>
12706 rm -f conftest.$ac_objext
12707 if { (ac_try="$ac_compile"
12708 case "(($ac_try" in
12709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12710 *) ac_try_echo=$ac_try;;
12712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12713 (eval "$ac_compile") 2>conftest.er1
12715 grep -v '^ *+' conftest.er1 >conftest.err
12717 cat conftest.err >&5
12718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12719 (exit $ac_status); } &&
12720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12721 { (case "(($ac_try" in
12722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12723 *) ac_try_echo=$ac_try;;
12725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12726 (eval "$ac_try") 2>&5
12728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12729 (exit $ac_status); }; } &&
12730 { ac_try='test -s conftest.$ac_objext'
12731 { (case "(($ac_try" in
12732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12733 *) ac_try_echo=$ac_try;;
12735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12736 (eval "$ac_try") 2>&5
12738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12739 (exit $ac_status); }; }; then
12740 eval "$as_ac_Header=yes"
12742 echo "$as_me: failed program was:" >&5
12743 sed 's/^/| /' conftest.$ac_ext >&5
12745 eval "$as_ac_Header=no"
12748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12750 ac_res=`eval echo '${'$as_ac_Header'}'`
12751 { echo "$as_me:$LINENO: result: $ac_res" >&5
12752 echo "${ECHO_T}$ac_res" >&6; }
12753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12754 cat >>confdefs.h <<_ACEOF
12755 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12762 cat >conftest.$ac_ext <<_ACEOF
12765 cat confdefs.h >>conftest.$ac_ext
12766 cat >>conftest.$ac_ext <<_ACEOF
12767 /* end confdefs.h. */
12768 #include <ft2build.h>
12769 #include <freetype/fttrigon.h>
12771 if { (ac_try="$ac_cpp conftest.$ac_ext"
12772 case "(($ac_try" in
12773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12774 *) ac_try_echo=$ac_try;;
12776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12777 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12779 grep -v '^ *+' conftest.er1 >conftest.err
12781 cat conftest.err >&5
12782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12783 (exit $ac_status); } >/dev/null; then
12784 if test -s conftest.err; then
12785 ac_cpp_err=$ac_c_preproc_warn_flag
12786 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12793 if test -z "$ac_cpp_err"; then
12795 cat >>confdefs.h <<\_ACEOF
12796 #define HAVE_FREETYPE_FTTRIGON_H 1
12799 wine_cv_fttrigon=yes
12801 echo "$as_me: failed program was:" >&5
12802 sed 's/^/| /' conftest.$ac_ext >&5
12804 wine_cv_fttrigon=no
12807 rm -f conftest.err conftest.$ac_ext
12808 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
12809 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
12810 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
12811 echo $ECHO_N "(cached) $ECHO_C" >&6
12813 cat >conftest.$ac_ext <<_ACEOF
12816 cat confdefs.h >>conftest.$ac_ext
12817 cat >>conftest.$ac_ext <<_ACEOF
12818 /* end confdefs.h. */
12819 #include <freetype/ftmodapi.h>
12821 typedef FT_TrueTypeEngineType ac__type_new_;
12825 if ((ac__type_new_ *) 0)
12827 if (sizeof (ac__type_new_))
12833 rm -f conftest.$ac_objext
12834 if { (ac_try="$ac_compile"
12835 case "(($ac_try" in
12836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12837 *) ac_try_echo=$ac_try;;
12839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12840 (eval "$ac_compile") 2>conftest.er1
12842 grep -v '^ *+' conftest.er1 >conftest.err
12844 cat conftest.err >&5
12845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12846 (exit $ac_status); } &&
12847 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12848 { (case "(($ac_try" in
12849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12850 *) ac_try_echo=$ac_try;;
12852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12853 (eval "$ac_try") 2>&5
12855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12856 (exit $ac_status); }; } &&
12857 { ac_try='test -s conftest.$ac_objext'
12858 { (case "(($ac_try" in
12859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12860 *) ac_try_echo=$ac_try;;
12862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12863 (eval "$ac_try") 2>&5
12865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12866 (exit $ac_status); }; }; then
12867 ac_cv_type_FT_TrueTypeEngineType=yes
12869 echo "$as_me: failed program was:" >&5
12870 sed 's/^/| /' conftest.$ac_ext >&5
12872 ac_cv_type_FT_TrueTypeEngineType=no
12875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12877 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
12878 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
12879 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
12881 cat >>confdefs.h <<_ACEOF
12882 #define HAVE_FT_TRUETYPEENGINETYPE 1
12888 ac_save_CFLAGS="$CFLAGS"
12889 CFLAGS="$CFLAGS $FREETYPELIBS"
12891 for ac_func in FT_Load_Sfnt_Table
12893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12894 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12896 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12897 echo $ECHO_N "(cached) $ECHO_C" >&6
12899 cat >conftest.$ac_ext <<_ACEOF
12902 cat confdefs.h >>conftest.$ac_ext
12903 cat >>conftest.$ac_ext <<_ACEOF
12904 /* end confdefs.h. */
12905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12907 #define $ac_func innocuous_$ac_func
12909 /* System header to define __stub macros and hopefully few prototypes,
12910 which can conflict with char $ac_func (); below.
12911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12912 <limits.h> exists even on freestanding compilers. */
12915 # include <limits.h>
12917 # include <assert.h>
12922 /* Override any GCC internal prototype to avoid an error.
12923 Use char because int might match the return type of a GCC
12924 builtin and then its argument prototype would still apply. */
12929 /* The GNU C library defines this for functions which it implements
12930 to always fail with ENOSYS. Some functions are actually named
12931 something starting with __ and the normal name is an alias. */
12932 #if defined __stub_$ac_func || defined __stub___$ac_func
12939 return $ac_func ();
12944 rm -f conftest.$ac_objext conftest$ac_exeext
12945 if { (ac_try="$ac_link"
12946 case "(($ac_try" in
12947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12948 *) ac_try_echo=$ac_try;;
12950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12951 (eval "$ac_link") 2>conftest.er1
12953 grep -v '^ *+' conftest.er1 >conftest.err
12955 cat conftest.err >&5
12956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12957 (exit $ac_status); } &&
12958 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12959 { (case "(($ac_try" in
12960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12961 *) ac_try_echo=$ac_try;;
12963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12964 (eval "$ac_try") 2>&5
12966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12967 (exit $ac_status); }; } &&
12968 { ac_try='test -s conftest$ac_exeext'
12969 { (case "(($ac_try" in
12970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12971 *) ac_try_echo=$ac_try;;
12973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12974 (eval "$ac_try") 2>&5
12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 (exit $ac_status); }; }; then
12978 eval "$as_ac_var=yes"
12980 echo "$as_me: failed program was:" >&5
12981 sed 's/^/| /' conftest.$ac_ext >&5
12983 eval "$as_ac_var=no"
12986 rm -f core conftest.err conftest.$ac_objext \
12987 conftest$ac_exeext conftest.$ac_ext
12989 ac_res=`eval echo '${'$as_ac_var'}'`
12990 { echo "$as_me:$LINENO: result: $ac_res" >&5
12991 echo "${ECHO_T}$ac_res" >&6; }
12992 if test `eval echo '${'$as_ac_var'}'` = yes; then
12993 cat >>confdefs.h <<_ACEOF
12994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13000 CFLAGS="$ac_save_CFLAGS"
13001 CPPFLAGS="$ac_save_CPPFLAGS"
13002 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13005 cat >>confdefs.h <<\_ACEOF
13006 #define HAVE_FREETYPE 1
13009 wine_cv_msg_freetype=no
13013 wine_cv_msg_freetype=yes
13018 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
13020 FONTSSUBDIRS="fonts"
13024 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13025 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13026 if test "${ac_cv_c_ppdev+set}" = set; then
13027 echo $ECHO_N "(cached) $ECHO_C" >&6
13029 cat >conftest.$ac_ext <<_ACEOF
13032 cat confdefs.h >>conftest.$ac_ext
13033 cat >>conftest.$ac_ext <<_ACEOF
13034 /* end confdefs.h. */
13035 #include <linux/ppdev.h>
13039 ioctl (1,PPCLAIM,0)
13044 rm -f conftest.$ac_objext
13045 if { (ac_try="$ac_compile"
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_compile") 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 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13059 { (case "(($ac_try" in
13060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13061 *) ac_try_echo=$ac_try;;
13063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13064 (eval "$ac_try") 2>&5
13066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13067 (exit $ac_status); }; } &&
13068 { ac_try='test -s conftest.$ac_objext'
13069 { (case "(($ac_try" in
13070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13071 *) ac_try_echo=$ac_try;;
13073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13074 (eval "$ac_try") 2>&5
13076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13077 (exit $ac_status); }; }; then
13078 ac_cv_c_ppdev="yes"
13080 echo "$as_me: failed program was:" >&5
13081 sed 's/^/| /' conftest.$ac_ext >&5
13086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13089 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13090 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13091 if test "$ac_cv_c_ppdev" = "yes"
13094 cat >>confdefs.h <<\_ACEOF
13095 #define HAVE_PPDEV 1
13100 { echo "$as_me:$LINENO: checking for va_copy" >&5
13101 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13102 if test "${ac_cv_c_va_copy+set}" = set; then
13103 echo $ECHO_N "(cached) $ECHO_C" >&6
13105 cat >conftest.$ac_ext <<_ACEOF
13108 cat confdefs.h >>conftest.$ac_ext
13109 cat >>conftest.$ac_ext <<_ACEOF
13110 /* end confdefs.h. */
13111 #include <stdarg.h>
13122 rm -f conftest.$ac_objext conftest$ac_exeext
13123 if { (ac_try="$ac_link"
13124 case "(($ac_try" in
13125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13126 *) ac_try_echo=$ac_try;;
13128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13129 (eval "$ac_link") 2>conftest.er1
13131 grep -v '^ *+' conftest.er1 >conftest.err
13133 cat conftest.err >&5
13134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13135 (exit $ac_status); } &&
13136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13137 { (case "(($ac_try" in
13138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13139 *) ac_try_echo=$ac_try;;
13141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13142 (eval "$ac_try") 2>&5
13144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145 (exit $ac_status); }; } &&
13146 { ac_try='test -s conftest$ac_exeext'
13147 { (case "(($ac_try" in
13148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13149 *) ac_try_echo=$ac_try;;
13151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13152 (eval "$ac_try") 2>&5
13154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13155 (exit $ac_status); }; }; then
13156 ac_cv_c_va_copy="yes"
13158 echo "$as_me: failed program was:" >&5
13159 sed 's/^/| /' conftest.$ac_ext >&5
13161 ac_cv_c_va_copy="no"
13164 rm -f core conftest.err conftest.$ac_objext \
13165 conftest$ac_exeext conftest.$ac_ext
13168 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13169 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13170 if test "$ac_cv_c_va_copy" = "yes"
13173 cat >>confdefs.h <<\_ACEOF
13174 #define HAVE_VA_COPY 1
13178 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13179 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13180 if test "${ac_cv_c___va_copy+set}" = set; then
13181 echo $ECHO_N "(cached) $ECHO_C" >&6
13183 cat >conftest.$ac_ext <<_ACEOF
13186 cat confdefs.h >>conftest.$ac_ext
13187 cat >>conftest.$ac_ext <<_ACEOF
13188 /* end confdefs.h. */
13189 #include <stdarg.h>
13194 __va_copy(ap1,ap2);
13200 rm -f conftest.$ac_objext conftest$ac_exeext
13201 if { (ac_try="$ac_link"
13202 case "(($ac_try" in
13203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13204 *) ac_try_echo=$ac_try;;
13206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13207 (eval "$ac_link") 2>conftest.er1
13209 grep -v '^ *+' conftest.er1 >conftest.err
13211 cat conftest.err >&5
13212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13213 (exit $ac_status); } &&
13214 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13215 { (case "(($ac_try" in
13216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13217 *) ac_try_echo=$ac_try;;
13219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13220 (eval "$ac_try") 2>&5
13222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13223 (exit $ac_status); }; } &&
13224 { ac_try='test -s conftest$ac_exeext'
13225 { (case "(($ac_try" in
13226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13227 *) ac_try_echo=$ac_try;;
13229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13230 (eval "$ac_try") 2>&5
13232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13233 (exit $ac_status); }; }; then
13234 ac_cv_c___va_copy="yes"
13236 echo "$as_me: failed program was:" >&5
13237 sed 's/^/| /' conftest.$ac_ext >&5
13239 ac_cv_c___va_copy="no"
13242 rm -f core conftest.err conftest.$ac_objext \
13243 conftest$ac_exeext conftest.$ac_ext
13246 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13247 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13248 if test "$ac_cv_c___va_copy" = "yes"
13251 cat >>confdefs.h <<\_ACEOF
13252 #define HAVE___VA_COPY 1
13257 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13258 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13259 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13260 echo $ECHO_N "(cached) $ECHO_C" >&6
13262 cat >conftest.$ac_ext <<_ACEOF
13265 cat confdefs.h >>conftest.$ac_ext
13266 cat >>conftest.$ac_ext <<_ACEOF
13267 /* end confdefs.h. */
13268 #include <setjmp.h>
13273 sigsetjmp( buf, 1 );
13274 siglongjmp( buf, 1 );
13279 rm -f conftest.$ac_objext conftest$ac_exeext
13280 if { (ac_try="$ac_link"
13281 case "(($ac_try" in
13282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13283 *) ac_try_echo=$ac_try;;
13285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13286 (eval "$ac_link") 2>conftest.er1
13288 grep -v '^ *+' conftest.er1 >conftest.err
13290 cat conftest.err >&5
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); } &&
13293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13294 { (case "(($ac_try" in
13295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13296 *) ac_try_echo=$ac_try;;
13298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13299 (eval "$ac_try") 2>&5
13301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13302 (exit $ac_status); }; } &&
13303 { ac_try='test -s conftest$ac_exeext'
13304 { (case "(($ac_try" in
13305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13306 *) ac_try_echo=$ac_try;;
13308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13309 (eval "$ac_try") 2>&5
13311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312 (exit $ac_status); }; }; then
13313 ac_cv_c_sigsetjmp="yes"
13315 echo "$as_me: failed program was:" >&5
13316 sed 's/^/| /' conftest.$ac_ext >&5
13318 ac_cv_c_sigsetjmp="no"
13321 rm -f core conftest.err conftest.$ac_objext \
13322 conftest$ac_exeext conftest.$ac_ext
13325 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13326 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13327 if test "$ac_cv_c_sigsetjmp" = "yes"
13330 cat >>confdefs.h <<\_ACEOF
13331 #define HAVE_SIGSETJMP 1
13336 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13337 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13338 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13339 echo $ECHO_N "(cached) $ECHO_C" >&6
13341 cat >conftest.$ac_ext <<_ACEOF
13344 cat confdefs.h >>conftest.$ac_ext
13345 cat >>conftest.$ac_ext <<_ACEOF
13346 /* end confdefs.h. */
13347 #define _GNU_SOURCE
13348 #include <pthread.h>
13350 typedef pthread_rwlock_t ac__type_new_;
13354 if ((ac__type_new_ *) 0)
13356 if (sizeof (ac__type_new_))
13362 rm -f conftest.$ac_objext
13363 if { (ac_try="$ac_compile"
13364 case "(($ac_try" in
13365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13366 *) ac_try_echo=$ac_try;;
13368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13369 (eval "$ac_compile") 2>conftest.er1
13371 grep -v '^ *+' conftest.er1 >conftest.err
13373 cat conftest.err >&5
13374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13375 (exit $ac_status); } &&
13376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13377 { (case "(($ac_try" in
13378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13379 *) ac_try_echo=$ac_try;;
13381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13382 (eval "$ac_try") 2>&5
13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385 (exit $ac_status); }; } &&
13386 { ac_try='test -s conftest.$ac_objext'
13387 { (case "(($ac_try" in
13388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13389 *) ac_try_echo=$ac_try;;
13391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13392 (eval "$ac_try") 2>&5
13394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13395 (exit $ac_status); }; }; then
13396 ac_cv_type_pthread_rwlock_t=yes
13398 echo "$as_me: failed program was:" >&5
13399 sed 's/^/| /' conftest.$ac_ext >&5
13401 ac_cv_type_pthread_rwlock_t=no
13404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13406 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13407 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13408 if test $ac_cv_type_pthread_rwlock_t = yes; then
13410 cat >>confdefs.h <<_ACEOF
13411 #define HAVE_PTHREAD_RWLOCK_T 1
13416 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13417 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13418 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13419 echo $ECHO_N "(cached) $ECHO_C" >&6
13421 cat >conftest.$ac_ext <<_ACEOF
13424 cat confdefs.h >>conftest.$ac_ext
13425 cat >>conftest.$ac_ext <<_ACEOF
13426 /* end confdefs.h. */
13427 #define _GNU_SOURCE
13428 #include <pthread.h>
13430 typedef pthread_rwlockattr_t ac__type_new_;
13434 if ((ac__type_new_ *) 0)
13436 if (sizeof (ac__type_new_))
13442 rm -f conftest.$ac_objext
13443 if { (ac_try="$ac_compile"
13444 case "(($ac_try" in
13445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13446 *) ac_try_echo=$ac_try;;
13448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13449 (eval "$ac_compile") 2>conftest.er1
13451 grep -v '^ *+' conftest.er1 >conftest.err
13453 cat conftest.err >&5
13454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13455 (exit $ac_status); } &&
13456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13457 { (case "(($ac_try" in
13458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13459 *) ac_try_echo=$ac_try;;
13461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13462 (eval "$ac_try") 2>&5
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); }; } &&
13466 { ac_try='test -s conftest.$ac_objext'
13467 { (case "(($ac_try" in
13468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13469 *) ac_try_echo=$ac_try;;
13471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13472 (eval "$ac_try") 2>&5
13474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13475 (exit $ac_status); }; }; then
13476 ac_cv_type_pthread_rwlockattr_t=yes
13478 echo "$as_me: failed program was:" >&5
13479 sed 's/^/| /' conftest.$ac_ext >&5
13481 ac_cv_type_pthread_rwlockattr_t=no
13484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13486 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13487 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13488 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13490 cat >>confdefs.h <<_ACEOF
13491 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13498 ac_wine_check_funcs_save_LIBS="$LIBS"
13499 LIBS="$LIBS $LIBPTHREAD"
13505 pthread_attr_get_np \
13506 pthread_getattr_np \
13507 pthread_get_stackaddr_np \
13508 pthread_get_stacksize_np
13510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13511 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13513 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13514 echo $ECHO_N "(cached) $ECHO_C" >&6
13516 cat >conftest.$ac_ext <<_ACEOF
13519 cat confdefs.h >>conftest.$ac_ext
13520 cat >>conftest.$ac_ext <<_ACEOF
13521 /* end confdefs.h. */
13522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13524 #define $ac_func innocuous_$ac_func
13526 /* System header to define __stub macros and hopefully few prototypes,
13527 which can conflict with char $ac_func (); below.
13528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13529 <limits.h> exists even on freestanding compilers. */
13532 # include <limits.h>
13534 # include <assert.h>
13539 /* Override any GCC internal prototype to avoid an error.
13540 Use char because int might match the return type of a GCC
13541 builtin and then its argument prototype would still apply. */
13546 /* The GNU C library defines this for functions which it implements
13547 to always fail with ENOSYS. Some functions are actually named
13548 something starting with __ and the normal name is an alias. */
13549 #if defined __stub_$ac_func || defined __stub___$ac_func
13556 return $ac_func ();
13561 rm -f conftest.$ac_objext conftest$ac_exeext
13562 if { (ac_try="$ac_link"
13563 case "(($ac_try" in
13564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13565 *) ac_try_echo=$ac_try;;
13567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13568 (eval "$ac_link") 2>conftest.er1
13570 grep -v '^ *+' conftest.er1 >conftest.err
13572 cat conftest.err >&5
13573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13574 (exit $ac_status); } &&
13575 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13576 { (case "(($ac_try" in
13577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13578 *) ac_try_echo=$ac_try;;
13580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13581 (eval "$ac_try") 2>&5
13583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13584 (exit $ac_status); }; } &&
13585 { ac_try='test -s conftest$ac_exeext'
13586 { (case "(($ac_try" in
13587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13588 *) ac_try_echo=$ac_try;;
13590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13591 (eval "$ac_try") 2>&5
13593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13594 (exit $ac_status); }; }; then
13595 eval "$as_ac_var=yes"
13597 echo "$as_me: failed program was:" >&5
13598 sed 's/^/| /' conftest.$ac_ext >&5
13600 eval "$as_ac_var=no"
13603 rm -f core conftest.err conftest.$ac_objext \
13604 conftest$ac_exeext conftest.$ac_ext
13606 ac_res=`eval echo '${'$as_ac_var'}'`
13607 { echo "$as_me:$LINENO: result: $ac_res" >&5
13608 echo "${ECHO_T}$ac_res" >&6; }
13609 if test `eval echo '${'$as_ac_var'}'` = yes; then
13610 cat >>confdefs.h <<_ACEOF
13611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13617 LIBS="$ac_wine_check_funcs_save_LIBS"
13619 # Extract the first word of "artsc-config", so it can be a program name with args.
13620 set dummy artsc-config; ac_word=$2
13621 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13623 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
13624 echo $ECHO_N "(cached) $ECHO_C" >&6
13626 case $ARTSCCONFIG in
13628 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
13631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13632 for as_dir in $PATH
13635 test -z "$as_dir" && as_dir=.
13636 for ac_exec_ext in '' $ac_executable_extensions; do
13637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13638 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
13639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13649 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
13650 if test -n "$ARTSCCONFIG"; then
13651 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
13652 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
13654 { echo "$as_me:$LINENO: result: no" >&5
13655 echo "${ECHO_T}no" >&6; }
13659 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
13662 for i in `$ARTSCCONFIG --cflags`
13665 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
13669 for i in `$ARTSCCONFIG --libs`
13672 -L/usr/lib|-L/usr/lib64) ;;
13673 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
13676 save_CFLAGS="$CFLAGS"
13677 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
13678 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
13679 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
13680 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
13681 echo $ECHO_N "(cached) $ECHO_C" >&6
13683 ac_check_lib_save_LIBS=$LIBS
13684 LIBS="-lartsc $ARTSC_LIBS $LIBS"
13685 cat >conftest.$ac_ext <<_ACEOF
13688 cat confdefs.h >>conftest.$ac_ext
13689 cat >>conftest.$ac_ext <<_ACEOF
13690 /* end confdefs.h. */
13692 /* Override any GCC internal prototype to avoid an error.
13693 Use char because int might match the return type of a GCC
13694 builtin and then its argument prototype would still apply. */
13702 return arts_init ();
13707 rm -f conftest.$ac_objext conftest$ac_exeext
13708 if { (ac_try="$ac_link"
13709 case "(($ac_try" in
13710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13711 *) ac_try_echo=$ac_try;;
13713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13714 (eval "$ac_link") 2>conftest.er1
13716 grep -v '^ *+' conftest.er1 >conftest.err
13718 cat conftest.err >&5
13719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13720 (exit $ac_status); } &&
13721 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13722 { (case "(($ac_try" in
13723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13724 *) ac_try_echo=$ac_try;;
13726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13727 (eval "$ac_try") 2>&5
13729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13730 (exit $ac_status); }; } &&
13731 { ac_try='test -s conftest$ac_exeext'
13732 { (case "(($ac_try" in
13733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13734 *) ac_try_echo=$ac_try;;
13736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13737 (eval "$ac_try") 2>&5
13739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13740 (exit $ac_status); }; }; then
13741 ac_cv_lib_artsc_arts_init=yes
13743 echo "$as_me: failed program was:" >&5
13744 sed 's/^/| /' conftest.$ac_ext >&5
13746 ac_cv_lib_artsc_arts_init=no
13749 rm -f core conftest.err conftest.$ac_objext \
13750 conftest$ac_exeext conftest.$ac_ext
13751 LIBS=$ac_check_lib_save_LIBS
13753 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
13754 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
13755 if test $ac_cv_lib_artsc_arts_init = yes; then
13756 cat >conftest.$ac_ext <<_ACEOF
13759 cat confdefs.h >>conftest.$ac_ext
13760 cat >>conftest.$ac_ext <<_ACEOF
13761 /* end confdefs.h. */
13766 arts_stream_t stream;
13771 rm -f conftest.$ac_objext
13772 if { (ac_try="$ac_compile"
13773 case "(($ac_try" in
13774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13775 *) ac_try_echo=$ac_try;;
13777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13778 (eval "$ac_compile") 2>conftest.er1
13780 grep -v '^ *+' conftest.er1 >conftest.err
13782 cat conftest.err >&5
13783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13784 (exit $ac_status); } &&
13785 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13786 { (case "(($ac_try" in
13787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13788 *) ac_try_echo=$ac_try;;
13790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13791 (eval "$ac_try") 2>&5
13793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13794 (exit $ac_status); }; } &&
13795 { ac_try='test -s conftest.$ac_objext'
13796 { (case "(($ac_try" in
13797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13798 *) ac_try_echo=$ac_try;;
13800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13801 (eval "$ac_try") 2>&5
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 (exit $ac_status); }; }; then
13805 ARTSLIBS=$ARTSC_LIBS
13807 ARTSINCL=$ARTSC_CFLAGS
13810 cat >>confdefs.h <<\_ACEOF
13811 #define HAVE_ARTS 1
13815 echo "$as_me: failed program was:" >&5
13816 sed 's/^/| /' conftest.$ac_ext >&5
13821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13824 CFLAGS="$save_CFLAGS"
13827 # Extract the first word of "esd-config", so it can be a program name with args.
13828 set dummy esd-config; ac_word=$2
13829 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13831 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13832 echo $ECHO_N "(cached) $ECHO_C" >&6
13836 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13840 for as_dir in $PATH
13843 test -z "$as_dir" && as_dir=.
13844 for ac_exec_ext in '' $ac_executable_extensions; do
13845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13846 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13857 ESDCONFIG=$ac_cv_path_ESDCONFIG
13858 if test -n "$ESDCONFIG"; then
13859 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13860 echo "${ECHO_T}$ESDCONFIG" >&6; }
13862 { echo "$as_me:$LINENO: result: no" >&5
13863 echo "${ECHO_T}no" >&6; }
13867 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13870 for i in `$ESDCONFIG --cflags`
13873 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13876 ESD_LIBS=`$ESDCONFIG --libs`
13877 save_CFLAGS="$CFLAGS"
13878 CFLAGS="$CFLAGS $ESD_CFLAGS"
13879 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13880 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13881 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13882 echo $ECHO_N "(cached) $ECHO_C" >&6
13884 ac_check_lib_save_LIBS=$LIBS
13886 cat >conftest.$ac_ext <<_ACEOF
13889 cat confdefs.h >>conftest.$ac_ext
13890 cat >>conftest.$ac_ext <<_ACEOF
13891 /* end confdefs.h. */
13893 /* Override any GCC internal prototype to avoid an error.
13894 Use char because int might match the return type of a GCC
13895 builtin and then its argument prototype would still apply. */
13899 char esd_open_sound ();
13903 return esd_open_sound ();
13908 rm -f conftest.$ac_objext conftest$ac_exeext
13909 if { (ac_try="$ac_link"
13910 case "(($ac_try" in
13911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13912 *) ac_try_echo=$ac_try;;
13914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13915 (eval "$ac_link") 2>conftest.er1
13917 grep -v '^ *+' conftest.er1 >conftest.err
13919 cat conftest.err >&5
13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 (exit $ac_status); } &&
13922 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13923 { (case "(($ac_try" in
13924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13925 *) ac_try_echo=$ac_try;;
13927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13928 (eval "$ac_try") 2>&5
13930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13931 (exit $ac_status); }; } &&
13932 { ac_try='test -s conftest$ac_exeext'
13933 { (case "(($ac_try" in
13934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13935 *) ac_try_echo=$ac_try;;
13937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13938 (eval "$ac_try") 2>&5
13940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13941 (exit $ac_status); }; }; then
13942 ac_cv_lib_esd_esd_open_sound=yes
13944 echo "$as_me: failed program was:" >&5
13945 sed 's/^/| /' conftest.$ac_ext >&5
13947 ac_cv_lib_esd_esd_open_sound=no
13950 rm -f core conftest.err conftest.$ac_objext \
13951 conftest$ac_exeext conftest.$ac_ext
13952 LIBS=$ac_check_lib_save_LIBS
13954 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13955 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13956 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13959 ESDINCL=$ESD_CFLAGS
13962 cat >>confdefs.h <<\_ACEOF
13968 CFLAGS="$save_CFLAGS"
13973 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13975 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13976 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13977 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13978 echo $ECHO_N "(cached) $ECHO_C" >&6
13980 ac_check_lib_save_LIBS=$LIBS
13981 LIBS="-lasound $LIBS"
13982 cat >conftest.$ac_ext <<_ACEOF
13985 cat confdefs.h >>conftest.$ac_ext
13986 cat >>conftest.$ac_ext <<_ACEOF
13987 /* end confdefs.h. */
13989 /* Override any GCC internal prototype to avoid an error.
13990 Use char because int might match the return type of a GCC
13991 builtin and then its argument prototype would still apply. */
13995 char snd_pcm_hw_params_get_access ();
13999 return snd_pcm_hw_params_get_access ();
14004 rm -f conftest.$ac_objext conftest$ac_exeext
14005 if { (ac_try="$ac_link"
14006 case "(($ac_try" in
14007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14008 *) ac_try_echo=$ac_try;;
14010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14011 (eval "$ac_link") 2>conftest.er1
14013 grep -v '^ *+' conftest.er1 >conftest.err
14015 cat conftest.err >&5
14016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017 (exit $ac_status); } &&
14018 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14019 { (case "(($ac_try" in
14020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14021 *) ac_try_echo=$ac_try;;
14023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14024 (eval "$ac_try") 2>&5
14026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14027 (exit $ac_status); }; } &&
14028 { ac_try='test -s conftest$ac_exeext'
14029 { (case "(($ac_try" in
14030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14031 *) ac_try_echo=$ac_try;;
14033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14034 (eval "$ac_try") 2>&5
14036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14037 (exit $ac_status); }; }; then
14038 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14040 echo "$as_me: failed program was:" >&5
14041 sed 's/^/| /' conftest.$ac_ext >&5
14043 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14046 rm -f core conftest.err conftest.$ac_objext \
14047 conftest$ac_exeext conftest.$ac_ext
14048 LIBS=$ac_check_lib_save_LIBS
14050 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14051 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14052 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14053 cat >conftest.$ac_ext <<_ACEOF
14056 cat confdefs.h >>conftest.$ac_ext
14057 cat >>conftest.$ac_ext <<_ACEOF
14058 /* end confdefs.h. */
14059 #ifdef HAVE_ALSA_ASOUNDLIB_H
14060 #include <alsa/asoundlib.h>
14061 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14062 #include <sys/asoundlib.h>
14067 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14072 rm -f conftest.$ac_objext
14073 if { (ac_try="$ac_compile"
14074 case "(($ac_try" in
14075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14076 *) ac_try_echo=$ac_try;;
14078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14079 (eval "$ac_compile") 2>conftest.er1
14081 grep -v '^ *+' conftest.er1 >conftest.err
14083 cat conftest.err >&5
14084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085 (exit $ac_status); } &&
14086 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14087 { (case "(($ac_try" in
14088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14089 *) ac_try_echo=$ac_try;;
14091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14092 (eval "$ac_try") 2>&5
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); }; } &&
14096 { ac_try='test -s conftest.$ac_objext'
14097 { (case "(($ac_try" in
14098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14099 *) ac_try_echo=$ac_try;;
14101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14102 (eval "$ac_try") 2>&5
14104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14105 (exit $ac_status); }; }; then
14107 cat >>confdefs.h <<\_ACEOF
14108 #define HAVE_ALSA 1
14111 ALSALIBS="-lasound"
14113 echo "$as_me: failed program was:" >&5
14114 sed 's/^/| /' conftest.$ac_ext >&5
14119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14127 if test "$ac_cv_header_libaudioio_h" = "yes"
14129 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14130 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14131 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14132 echo $ECHO_N "(cached) $ECHO_C" >&6
14134 ac_check_lib_save_LIBS=$LIBS
14135 LIBS="-laudioio $LIBS"
14136 cat >conftest.$ac_ext <<_ACEOF
14139 cat confdefs.h >>conftest.$ac_ext
14140 cat >>conftest.$ac_ext <<_ACEOF
14141 /* end confdefs.h. */
14143 /* Override any GCC internal prototype to avoid an error.
14144 Use char because int might match the return type of a GCC
14145 builtin and then its argument prototype would still apply. */
14149 char AudioIOGetVersion ();
14153 return AudioIOGetVersion ();
14158 rm -f conftest.$ac_objext conftest$ac_exeext
14159 if { (ac_try="$ac_link"
14160 case "(($ac_try" in
14161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14162 *) ac_try_echo=$ac_try;;
14164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14165 (eval "$ac_link") 2>conftest.er1
14167 grep -v '^ *+' conftest.er1 >conftest.err
14169 cat conftest.err >&5
14170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171 (exit $ac_status); } &&
14172 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14173 { (case "(($ac_try" in
14174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14175 *) ac_try_echo=$ac_try;;
14177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14178 (eval "$ac_try") 2>&5
14180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14181 (exit $ac_status); }; } &&
14182 { ac_try='test -s conftest$ac_exeext'
14183 { (case "(($ac_try" in
14184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14185 *) ac_try_echo=$ac_try;;
14187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14188 (eval "$ac_try") 2>&5
14190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14191 (exit $ac_status); }; }; then
14192 ac_cv_lib_audioio_AudioIOGetVersion=yes
14194 echo "$as_me: failed program was:" >&5
14195 sed 's/^/| /' conftest.$ac_ext >&5
14197 ac_cv_lib_audioio_AudioIOGetVersion=no
14200 rm -f core conftest.err conftest.$ac_objext \
14201 conftest$ac_exeext conftest.$ac_ext
14202 LIBS=$ac_check_lib_save_LIBS
14204 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14205 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14206 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14207 AUDIOIOLIBS="-laudioio"
14209 cat >>confdefs.h <<\_ACEOF
14210 #define HAVE_LIBAUDIOIO 1
14218 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14220 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
14221 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
14222 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
14223 echo $ECHO_N "(cached) $ECHO_C" >&6
14225 ac_check_lib_save_LIBS=$LIBS
14226 LIBS="-lcapi20 $LIBS"
14227 cat >conftest.$ac_ext <<_ACEOF
14230 cat confdefs.h >>conftest.$ac_ext
14231 cat >>conftest.$ac_ext <<_ACEOF
14232 /* end confdefs.h. */
14234 /* Override any GCC internal prototype to avoid an error.
14235 Use char because int might match the return type of a GCC
14236 builtin and then its argument prototype would still apply. */
14240 char capi20_register ();
14244 return capi20_register ();
14249 rm -f conftest.$ac_objext conftest$ac_exeext
14250 if { (ac_try="$ac_link"
14251 case "(($ac_try" in
14252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14253 *) ac_try_echo=$ac_try;;
14255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14256 (eval "$ac_link") 2>conftest.er1
14258 grep -v '^ *+' conftest.er1 >conftest.err
14260 cat conftest.err >&5
14261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14262 (exit $ac_status); } &&
14263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14264 { (case "(($ac_try" in
14265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14266 *) ac_try_echo=$ac_try;;
14268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14269 (eval "$ac_try") 2>&5
14271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272 (exit $ac_status); }; } &&
14273 { ac_try='test -s conftest$ac_exeext'
14274 { (case "(($ac_try" in
14275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14276 *) ac_try_echo=$ac_try;;
14278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14279 (eval "$ac_try") 2>&5
14281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14282 (exit $ac_status); }; }; then
14283 ac_cv_lib_capi20_capi20_register=yes
14285 echo "$as_me: failed program was:" >&5
14286 sed 's/^/| /' conftest.$ac_ext >&5
14288 ac_cv_lib_capi20_capi20_register=no
14291 rm -f core conftest.err conftest.$ac_objext \
14292 conftest$ac_exeext conftest.$ac_ext
14293 LIBS=$ac_check_lib_save_LIBS
14295 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
14296 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
14297 if test $ac_cv_lib_capi20_capi20_register = yes; then
14299 cat >>confdefs.h <<\_ACEOF
14300 #define HAVE_CAPI4LINUX 1
14310 if test "x${GCC}" = "xyes"
14312 EXTRACFLAGS="-Wall -pipe"
14314 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14315 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14316 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14317 echo $ECHO_N "(cached) $ECHO_C" >&6
14319 if test "$cross_compiling" = yes; then
14320 ac_cv_c_gcc_strength_bug="yes"
14322 cat >conftest.$ac_ext <<_ACEOF
14325 cat confdefs.h >>conftest.$ac_ext
14326 cat >>conftest.$ac_ext <<_ACEOF
14327 /* end confdefs.h. */
14329 int L[4] = {0,1,2,3};
14331 static int Array[3];
14332 unsigned int B = 3;
14334 for(i=0; i<B; i++) Array[i] = i - 3;
14335 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14338 exit( Array[1] != -2 || L[2] != 3);
14341 rm -f conftest$ac_exeext
14342 if { (ac_try="$ac_link"
14343 case "(($ac_try" in
14344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14345 *) ac_try_echo=$ac_try;;
14347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14348 (eval "$ac_link") 2>&5
14350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14351 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14352 { (case "(($ac_try" in
14353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14354 *) ac_try_echo=$ac_try;;
14356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14357 (eval "$ac_try") 2>&5
14359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14360 (exit $ac_status); }; }; then
14361 ac_cv_c_gcc_strength_bug="no"
14363 echo "$as_me: program exited with status $ac_status" >&5
14364 echo "$as_me: failed program was:" >&5
14365 sed 's/^/| /' conftest.$ac_ext >&5
14367 ( exit $ac_status )
14368 ac_cv_c_gcc_strength_bug="yes"
14370 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14375 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14376 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14377 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14379 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14383 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
14384 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
14385 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
14386 echo $ECHO_N "(cached) $ECHO_C" >&6
14388 ac_wine_try_cflags_saved=$CFLAGS
14389 CFLAGS="$CFLAGS -fshort-wchar"
14390 cat >conftest.$ac_ext <<_ACEOF
14393 cat confdefs.h >>conftest.$ac_ext
14394 cat >>conftest.$ac_ext <<_ACEOF
14395 /* end confdefs.h. */
14405 rm -f conftest.$ac_objext conftest$ac_exeext
14406 if { (ac_try="$ac_link"
14407 case "(($ac_try" in
14408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14409 *) ac_try_echo=$ac_try;;
14411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14412 (eval "$ac_link") 2>conftest.er1
14414 grep -v '^ *+' conftest.er1 >conftest.err
14416 cat conftest.err >&5
14417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14418 (exit $ac_status); } &&
14419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14420 { (case "(($ac_try" in
14421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14422 *) ac_try_echo=$ac_try;;
14424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14425 (eval "$ac_try") 2>&5
14427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14428 (exit $ac_status); }; } &&
14429 { ac_try='test -s conftest$ac_exeext'
14430 { (case "(($ac_try" in
14431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14432 *) ac_try_echo=$ac_try;;
14434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14435 (eval "$ac_try") 2>&5
14437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14438 (exit $ac_status); }; }; then
14439 ac_cv_cflags__fshort_wchar=yes
14441 echo "$as_me: failed program was:" >&5
14442 sed 's/^/| /' conftest.$ac_ext >&5
14444 ac_cv_cflags__fshort_wchar=no
14447 rm -f core conftest.err conftest.$ac_objext \
14448 conftest$ac_exeext conftest.$ac_ext
14449 CFLAGS=$ac_wine_try_cflags_saved
14451 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
14452 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
14453 if test $ac_cv_cflags__fshort_wchar = yes; then
14455 cat >>confdefs.h <<\_ACEOF
14456 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14461 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
14462 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
14463 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
14464 echo $ECHO_N "(cached) $ECHO_C" >&6
14466 ac_wine_try_cflags_saved=$CFLAGS
14467 CFLAGS="$CFLAGS -fno-strict-aliasing"
14468 cat >conftest.$ac_ext <<_ACEOF
14471 cat confdefs.h >>conftest.$ac_ext
14472 cat >>conftest.$ac_ext <<_ACEOF
14473 /* end confdefs.h. */
14483 rm -f conftest.$ac_objext conftest$ac_exeext
14484 if { (ac_try="$ac_link"
14485 case "(($ac_try" in
14486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14487 *) ac_try_echo=$ac_try;;
14489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14490 (eval "$ac_link") 2>conftest.er1
14492 grep -v '^ *+' conftest.er1 >conftest.err
14494 cat conftest.err >&5
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14496 (exit $ac_status); } &&
14497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14498 { (case "(($ac_try" in
14499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14500 *) ac_try_echo=$ac_try;;
14502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14503 (eval "$ac_try") 2>&5
14505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14506 (exit $ac_status); }; } &&
14507 { ac_try='test -s conftest$ac_exeext'
14508 { (case "(($ac_try" in
14509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14510 *) ac_try_echo=$ac_try;;
14512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14513 (eval "$ac_try") 2>&5
14515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14516 (exit $ac_status); }; }; then
14517 ac_cv_cflags__fno_strict_aliasing=yes
14519 echo "$as_me: failed program was:" >&5
14520 sed 's/^/| /' conftest.$ac_ext >&5
14522 ac_cv_cflags__fno_strict_aliasing=no
14525 rm -f core conftest.err conftest.$ac_objext \
14526 conftest$ac_exeext conftest.$ac_ext
14527 CFLAGS=$ac_wine_try_cflags_saved
14529 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14530 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
14531 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
14532 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14535 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14536 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
14537 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
14538 echo $ECHO_N "(cached) $ECHO_C" >&6
14540 ac_wine_try_cflags_saved=$CFLAGS
14541 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14542 cat >conftest.$ac_ext <<_ACEOF
14545 cat confdefs.h >>conftest.$ac_ext
14546 cat >>conftest.$ac_ext <<_ACEOF
14547 /* end confdefs.h. */
14557 rm -f conftest.$ac_objext conftest$ac_exeext
14558 if { (ac_try="$ac_link"
14559 case "(($ac_try" in
14560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14561 *) ac_try_echo=$ac_try;;
14563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14564 (eval "$ac_link") 2>conftest.er1
14566 grep -v '^ *+' conftest.er1 >conftest.err
14568 cat conftest.err >&5
14569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14570 (exit $ac_status); } &&
14571 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14572 { (case "(($ac_try" in
14573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14574 *) ac_try_echo=$ac_try;;
14576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14577 (eval "$ac_try") 2>&5
14579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14580 (exit $ac_status); }; } &&
14581 { ac_try='test -s conftest$ac_exeext'
14582 { (case "(($ac_try" in
14583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14584 *) ac_try_echo=$ac_try;;
14586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14587 (eval "$ac_try") 2>&5
14589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14590 (exit $ac_status); }; }; then
14591 ac_cv_cflags__Wdeclaration_after_statement=yes
14593 echo "$as_me: failed program was:" >&5
14594 sed 's/^/| /' conftest.$ac_ext >&5
14596 ac_cv_cflags__Wdeclaration_after_statement=no
14599 rm -f core conftest.err conftest.$ac_objext \
14600 conftest$ac_exeext conftest.$ac_ext
14601 CFLAGS=$ac_wine_try_cflags_saved
14603 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14604 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14605 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
14606 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14609 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
14610 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
14611 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
14612 echo $ECHO_N "(cached) $ECHO_C" >&6
14614 ac_wine_try_cflags_saved=$CFLAGS
14615 CFLAGS="$CFLAGS -Wwrite-strings"
14616 cat >conftest.$ac_ext <<_ACEOF
14619 cat confdefs.h >>conftest.$ac_ext
14620 cat >>conftest.$ac_ext <<_ACEOF
14621 /* end confdefs.h. */
14631 rm -f conftest.$ac_objext conftest$ac_exeext
14632 if { (ac_try="$ac_link"
14633 case "(($ac_try" in
14634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14635 *) ac_try_echo=$ac_try;;
14637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14638 (eval "$ac_link") 2>conftest.er1
14640 grep -v '^ *+' conftest.er1 >conftest.err
14642 cat conftest.err >&5
14643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 (exit $ac_status); } &&
14645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14646 { (case "(($ac_try" in
14647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14648 *) ac_try_echo=$ac_try;;
14650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14651 (eval "$ac_try") 2>&5
14653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14654 (exit $ac_status); }; } &&
14655 { ac_try='test -s conftest$ac_exeext'
14656 { (case "(($ac_try" in
14657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14658 *) ac_try_echo=$ac_try;;
14660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14661 (eval "$ac_try") 2>&5
14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664 (exit $ac_status); }; }; then
14665 ac_cv_cflags__Wwrite_strings=yes
14667 echo "$as_me: failed program was:" >&5
14668 sed 's/^/| /' conftest.$ac_ext >&5
14670 ac_cv_cflags__Wwrite_strings=no
14673 rm -f core conftest.err conftest.$ac_objext \
14674 conftest$ac_exeext conftest.$ac_ext
14675 CFLAGS=$ac_wine_try_cflags_saved
14677 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
14678 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
14679 if test $ac_cv_cflags__Wwrite_strings = yes; then
14680 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14684 saved_CFLAGS="$CFLAGS"
14685 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14686 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
14687 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
14688 if test "${ac_cv_c_string_h_warnings+set}" = set; then
14689 echo $ECHO_N "(cached) $ECHO_C" >&6
14691 cat >conftest.$ac_ext <<_ACEOF
14694 cat confdefs.h >>conftest.$ac_ext
14695 cat >>conftest.$ac_ext <<_ACEOF
14696 /* end confdefs.h. */
14697 #include <string.h>
14706 rm -f conftest.$ac_objext
14707 if { (ac_try="$ac_compile"
14708 case "(($ac_try" in
14709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14710 *) ac_try_echo=$ac_try;;
14712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14713 (eval "$ac_compile") 2>conftest.er1
14715 grep -v '^ *+' conftest.er1 >conftest.err
14717 cat conftest.err >&5
14718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14719 (exit $ac_status); } &&
14720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14721 { (case "(($ac_try" in
14722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14723 *) ac_try_echo=$ac_try;;
14725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14726 (eval "$ac_try") 2>&5
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); }; } &&
14730 { ac_try='test -s conftest.$ac_objext'
14731 { (case "(($ac_try" in
14732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14733 *) ac_try_echo=$ac_try;;
14735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14736 (eval "$ac_try") 2>&5
14738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14739 (exit $ac_status); }; }; then
14740 ac_cv_c_string_h_warnings=no
14742 echo "$as_me: failed program was:" >&5
14743 sed 's/^/| /' conftest.$ac_ext >&5
14745 ac_cv_c_string_h_warnings=yes
14748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14750 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
14751 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
14752 CFLAGS="$saved_CFLAGS"
14753 if test "$ac_cv_c_string_h_warnings" = "no"
14755 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14760 saved_CFLAGS="$CFLAGS"
14761 CFLAGS="$CFLAGS -Werror"
14762 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
14763 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
14764 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
14765 echo $ECHO_N "(cached) $ECHO_C" >&6
14767 cat >conftest.$ac_ext <<_ACEOF
14770 cat confdefs.h >>conftest.$ac_ext
14771 cat >>conftest.$ac_ext <<_ACEOF
14772 /* end confdefs.h. */
14777 int iswlower(unsigned short);
14782 rm -f conftest.$ac_objext
14783 if { (ac_try="$ac_compile"
14784 case "(($ac_try" in
14785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14786 *) ac_try_echo=$ac_try;;
14788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14789 (eval "$ac_compile") 2>conftest.er1
14791 grep -v '^ *+' conftest.er1 >conftest.err
14793 cat conftest.err >&5
14794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14795 (exit $ac_status); } &&
14796 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14797 { (case "(($ac_try" in
14798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14799 *) ac_try_echo=$ac_try;;
14801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14802 (eval "$ac_try") 2>&5
14804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805 (exit $ac_status); }; } &&
14806 { ac_try='test -s conftest.$ac_objext'
14807 { (case "(($ac_try" in
14808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14809 *) ac_try_echo=$ac_try;;
14811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14812 (eval "$ac_try") 2>&5
14814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14815 (exit $ac_status); }; }; then
14816 ac_cv_c_builtin_wchar_ctype=no
14818 echo "$as_me: failed program was:" >&5
14819 sed 's/^/| /' conftest.$ac_ext >&5
14821 ac_cv_c_builtin_wchar_ctype=yes
14824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14826 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
14827 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
14828 CFLAGS="$saved_CFLAGS"
14829 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
14831 BUILTINFLAG="-fno-builtin"
14836 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
14837 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
14838 if test "${ac_cv_asm_func_def+set}" = set; then
14839 echo $ECHO_N "(cached) $ECHO_C" >&6
14841 cat >conftest.$ac_ext <<_ACEOF
14844 cat confdefs.h >>conftest.$ac_ext
14845 cat >>conftest.$ac_ext <<_ACEOF
14846 /* end confdefs.h. */
14847 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"); }
14857 rm -f conftest.$ac_objext conftest$ac_exeext
14858 if { (ac_try="$ac_link"
14859 case "(($ac_try" in
14860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14861 *) ac_try_echo=$ac_try;;
14863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14864 (eval "$ac_link") 2>conftest.er1
14866 grep -v '^ *+' conftest.er1 >conftest.err
14868 cat conftest.err >&5
14869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14870 (exit $ac_status); } &&
14871 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14872 { (case "(($ac_try" in
14873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14874 *) ac_try_echo=$ac_try;;
14876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14877 (eval "$ac_try") 2>&5
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); }; } &&
14881 { ac_try='test -s conftest$ac_exeext'
14882 { (case "(($ac_try" in
14883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14884 *) ac_try_echo=$ac_try;;
14886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14887 (eval "$ac_try") 2>&5
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); }; }; then
14891 ac_cv_asm_func_def=".def"
14893 echo "$as_me: failed program was:" >&5
14894 sed 's/^/| /' conftest.$ac_ext >&5
14896 cat >conftest.$ac_ext <<_ACEOF
14899 cat confdefs.h >>conftest.$ac_ext
14900 cat >>conftest.$ac_ext <<_ACEOF
14901 /* end confdefs.h. */
14902 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
14912 rm -f conftest.$ac_objext conftest$ac_exeext
14913 if { (ac_try="$ac_link"
14914 case "(($ac_try" in
14915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14916 *) ac_try_echo=$ac_try;;
14918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14919 (eval "$ac_link") 2>conftest.er1
14921 grep -v '^ *+' conftest.er1 >conftest.err
14923 cat conftest.err >&5
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); } &&
14926 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14927 { (case "(($ac_try" in
14928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14929 *) ac_try_echo=$ac_try;;
14931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14932 (eval "$ac_try") 2>&5
14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935 (exit $ac_status); }; } &&
14936 { ac_try='test -s conftest$ac_exeext'
14937 { (case "(($ac_try" in
14938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14939 *) ac_try_echo=$ac_try;;
14941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14942 (eval "$ac_try") 2>&5
14944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945 (exit $ac_status); }; }; then
14946 ac_cv_asm_func_def=".type @function"
14948 echo "$as_me: failed program was:" >&5
14949 sed 's/^/| /' conftest.$ac_ext >&5
14951 cat >conftest.$ac_ext <<_ACEOF
14954 cat confdefs.h >>conftest.$ac_ext
14955 cat >>conftest.$ac_ext <<_ACEOF
14956 /* end confdefs.h. */
14957 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
14967 rm -f conftest.$ac_objext conftest$ac_exeext
14968 if { (ac_try="$ac_link"
14969 case "(($ac_try" in
14970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14971 *) ac_try_echo=$ac_try;;
14973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14974 (eval "$ac_link") 2>conftest.er1
14976 grep -v '^ *+' conftest.er1 >conftest.err
14978 cat conftest.err >&5
14979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14980 (exit $ac_status); } &&
14981 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14982 { (case "(($ac_try" in
14983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14984 *) ac_try_echo=$ac_try;;
14986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14987 (eval "$ac_try") 2>&5
14989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14990 (exit $ac_status); }; } &&
14991 { ac_try='test -s conftest$ac_exeext'
14992 { (case "(($ac_try" in
14993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14994 *) ac_try_echo=$ac_try;;
14996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14997 (eval "$ac_try") 2>&5
14999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15000 (exit $ac_status); }; }; then
15001 ac_cv_asm_func_def=".type 2"
15003 echo "$as_me: failed program was:" >&5
15004 sed 's/^/| /' conftest.$ac_ext >&5
15006 ac_cv_asm_func_def="unknown"
15009 rm -f core conftest.err conftest.$ac_objext \
15010 conftest$ac_exeext conftest.$ac_ext
15013 rm -f core conftest.err conftest.$ac_objext \
15014 conftest$ac_exeext conftest.$ac_ext
15017 rm -f core conftest.err conftest.$ac_objext \
15018 conftest$ac_exeext conftest.$ac_ext
15020 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15021 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15025 case "$ac_cv_asm_func_def" in
15027 cat >>confdefs.h <<\_ACEOF
15028 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15032 cat >>confdefs.h <<\_ACEOF
15033 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15037 cat >>confdefs.h <<\_ACEOF
15038 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15042 cat >>confdefs.h <<\_ACEOF
15043 #define __ASM_FUNC(name) ""
15049 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15050 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15051 if test "${ac_cv_c_extern_prefix+set}" = set; then
15052 echo $ECHO_N "(cached) $ECHO_C" >&6
15054 cat >conftest.$ac_ext <<_ACEOF
15057 cat confdefs.h >>conftest.$ac_ext
15058 cat >>conftest.$ac_ext <<_ACEOF
15059 /* end confdefs.h. */
15060 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
15061 extern int ac_test;
15065 if (ac_test) return 1
15070 rm -f conftest.$ac_objext conftest$ac_exeext
15071 if { (ac_try="$ac_link"
15072 case "(($ac_try" in
15073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15074 *) ac_try_echo=$ac_try;;
15076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15077 (eval "$ac_link") 2>conftest.er1
15079 grep -v '^ *+' conftest.er1 >conftest.err
15081 cat conftest.err >&5
15082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15083 (exit $ac_status); } &&
15084 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15085 { (case "(($ac_try" in
15086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15087 *) ac_try_echo=$ac_try;;
15089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15090 (eval "$ac_try") 2>&5
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 (exit $ac_status); }; } &&
15094 { ac_try='test -s conftest$ac_exeext'
15095 { (case "(($ac_try" in
15096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15097 *) ac_try_echo=$ac_try;;
15099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15100 (eval "$ac_try") 2>&5
15102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15103 (exit $ac_status); }; }; then
15104 ac_cv_c_extern_prefix="yes"
15106 echo "$as_me: failed program was:" >&5
15107 sed 's/^/| /' conftest.$ac_ext >&5
15109 ac_cv_c_extern_prefix="no"
15112 rm -f core conftest.err conftest.$ac_objext \
15113 conftest$ac_exeext conftest.$ac_ext
15115 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15116 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15120 if test "$ac_cv_c_extern_prefix" = "yes"
15122 cat >>confdefs.h <<\_ACEOF
15123 #define __ASM_NAME(name) "_" name
15127 cat >>confdefs.h <<\_ACEOF
15128 #define __ASM_NAME(name) name
15136 DLLFLAGS="-D_REENTRANT"
15151 if test -n "$ac_tool_prefix"; then
15152 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15153 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15156 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15157 echo $ECHO_N "(cached) $ECHO_C" >&6
15159 if test -n "$DLLTOOL"; then
15160 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15163 for as_dir in $PATH
15166 test -z "$as_dir" && as_dir=.
15167 for ac_exec_ext in '' $ac_executable_extensions; do
15168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15169 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15179 DLLTOOL=$ac_cv_prog_DLLTOOL
15180 if test -n "$DLLTOOL"; then
15181 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15182 echo "${ECHO_T}$DLLTOOL" >&6; }
15184 { echo "$as_me:$LINENO: result: no" >&5
15185 echo "${ECHO_T}no" >&6; }
15190 if test -z "$ac_cv_prog_DLLTOOL"; then
15191 ac_ct_DLLTOOL=$DLLTOOL
15192 # Extract the first word of "dlltool", so it can be a program name with args.
15193 set dummy dlltool; ac_word=$2
15194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15196 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15197 echo $ECHO_N "(cached) $ECHO_C" >&6
15199 if test -n "$ac_ct_DLLTOOL"; then
15200 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15203 for as_dir in $PATH
15206 test -z "$as_dir" && as_dir=.
15207 for ac_exec_ext in '' $ac_executable_extensions; do
15208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15209 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15219 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15220 if test -n "$ac_ct_DLLTOOL"; then
15221 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15222 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
15224 { echo "$as_me:$LINENO: result: no" >&5
15225 echo "${ECHO_T}no" >&6; }
15228 if test "x$ac_ct_DLLTOOL" = x; then
15231 case $cross_compiling:$ac_tool_warned in
15233 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15234 whose name does not start with the host triplet. If you think this
15235 configuration is useful to you, please write to autoconf@gnu.org." >&5
15236 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15237 whose name does not start with the host triplet. If you think this
15238 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15239 ac_tool_warned=yes ;;
15241 DLLTOOL=$ac_ct_DLLTOOL
15244 DLLTOOL="$ac_cv_prog_DLLTOOL"
15247 if test -n "$ac_tool_prefix"; then
15248 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
15249 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
15250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15252 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
15253 echo $ECHO_N "(cached) $ECHO_C" >&6
15255 if test -n "$DLLWRAP"; then
15256 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
15258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15259 for as_dir in $PATH
15262 test -z "$as_dir" && as_dir=.
15263 for ac_exec_ext in '' $ac_executable_extensions; do
15264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15265 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
15266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15275 DLLWRAP=$ac_cv_prog_DLLWRAP
15276 if test -n "$DLLWRAP"; then
15277 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
15278 echo "${ECHO_T}$DLLWRAP" >&6; }
15280 { echo "$as_me:$LINENO: result: no" >&5
15281 echo "${ECHO_T}no" >&6; }
15286 if test -z "$ac_cv_prog_DLLWRAP"; then
15287 ac_ct_DLLWRAP=$DLLWRAP
15288 # Extract the first word of "dllwrap", so it can be a program name with args.
15289 set dummy dllwrap; ac_word=$2
15290 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15292 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
15293 echo $ECHO_N "(cached) $ECHO_C" >&6
15295 if test -n "$ac_ct_DLLWRAP"; then
15296 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
15298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15299 for as_dir in $PATH
15302 test -z "$as_dir" && as_dir=.
15303 for ac_exec_ext in '' $ac_executable_extensions; do
15304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15305 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
15306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15315 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
15316 if test -n "$ac_ct_DLLWRAP"; then
15317 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
15318 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
15320 { echo "$as_me:$LINENO: result: no" >&5
15321 echo "${ECHO_T}no" >&6; }
15324 if test "x$ac_ct_DLLWRAP" = x; then
15327 case $cross_compiling:$ac_tool_warned in
15329 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15330 whose name does not start with the host triplet. If you think this
15331 configuration is useful to you, please write to autoconf@gnu.org." >&5
15332 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15333 whose name does not start with the host triplet. If you think this
15334 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15335 ac_tool_warned=yes ;;
15337 DLLWRAP=$ac_ct_DLLWRAP
15340 DLLWRAP="$ac_cv_prog_DLLWRAP"
15343 if test "$DLLWRAP" = "false"; then
15355 DLLFLAGS="$DLLFLAGS -fPIC"
15356 LDDLLFLAGS="-bundle -multiply_defined suppress"
15357 LIBWINE_LDFLAGS="-multiply_defined suppress"
15358 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
15359 STRIP="$STRIP -u -r"
15360 COREFOUNDATIONLIB="-framework CoreFoundation"
15362 IOKITLIB="-framework IOKit -framework CoreFoundation"
15364 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
15366 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
15368 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
15370 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
15375 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
15377 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
15379 QUARTZFILES='$(QUARTZFILES)'
15383 DLLFLAGS="$DLLFLAGS -fPIC"
15385 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
15386 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
15387 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
15388 echo $ECHO_N "(cached) $ECHO_C" >&6
15390 ac_wine_try_cflags_saved=$CFLAGS
15391 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
15392 cat >conftest.$ac_ext <<_ACEOF
15395 rm -f conftest.$ac_objext conftest$ac_exeext
15396 if { (ac_try="$ac_link"
15397 case "(($ac_try" in
15398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15399 *) ac_try_echo=$ac_try;;
15401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15402 (eval "$ac_link") 2>conftest.er1
15404 grep -v '^ *+' conftest.er1 >conftest.err
15406 cat conftest.err >&5
15407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15408 (exit $ac_status); } &&
15409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15410 { (case "(($ac_try" in
15411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15412 *) ac_try_echo=$ac_try;;
15414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15415 (eval "$ac_try") 2>&5
15417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15418 (exit $ac_status); }; } &&
15419 { ac_try='test -s conftest$ac_exeext'
15420 { (case "(($ac_try" in
15421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15422 *) ac_try_echo=$ac_try;;
15424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15425 (eval "$ac_try") 2>&5
15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428 (exit $ac_status); }; }; then
15429 ac_cv_c_dll_gnuelf="yes"
15431 echo "$as_me: failed program was:" >&5
15432 sed 's/^/| /' conftest.$ac_ext >&5
15434 ac_cv_c_dll_gnuelf="no"
15437 rm -f core conftest.err conftest.$ac_objext \
15438 conftest$ac_exeext conftest.$ac_ext
15439 CFLAGS=$ac_wine_try_cflags_saved
15441 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
15442 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
15443 if test "$ac_cv_c_dll_gnuelf" = "yes"
15445 LDSHARED="\$(CC) -shared"
15446 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
15447 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
15448 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
15449 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
15450 echo $ECHO_N "(cached) $ECHO_C" >&6
15452 ac_wine_try_cflags_saved=$CFLAGS
15453 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
15454 cat >conftest.$ac_ext <<_ACEOF
15457 cat confdefs.h >>conftest.$ac_ext
15458 cat >>conftest.$ac_ext <<_ACEOF
15459 /* end confdefs.h. */
15469 rm -f conftest.$ac_objext conftest$ac_exeext
15470 if { (ac_try="$ac_link"
15471 case "(($ac_try" in
15472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15473 *) ac_try_echo=$ac_try;;
15475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15476 (eval "$ac_link") 2>conftest.er1
15478 grep -v '^ *+' conftest.er1 >conftest.err
15480 cat conftest.err >&5
15481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15482 (exit $ac_status); } &&
15483 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15484 { (case "(($ac_try" in
15485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15486 *) ac_try_echo=$ac_try;;
15488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15489 (eval "$ac_try") 2>&5
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); }; } &&
15493 { ac_try='test -s conftest$ac_exeext'
15494 { (case "(($ac_try" in
15495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15496 *) ac_try_echo=$ac_try;;
15498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15499 (eval "$ac_try") 2>&5
15501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15502 (exit $ac_status); }; }; then
15503 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
15505 echo "$as_me: failed program was:" >&5
15506 sed 's/^/| /' conftest.$ac_ext >&5
15508 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
15511 rm -f core conftest.err conftest.$ac_objext \
15512 conftest$ac_exeext conftest.$ac_ext
15513 CFLAGS=$ac_wine_try_cflags_saved
15515 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
15516 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
15517 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
15518 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
15520 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
15521 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
15522 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
15523 echo $ECHO_N "(cached) $ECHO_C" >&6
15525 ac_wine_try_cflags_saved=$CFLAGS
15526 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
15527 cat >conftest.$ac_ext <<_ACEOF
15530 cat confdefs.h >>conftest.$ac_ext
15531 cat >>conftest.$ac_ext <<_ACEOF
15532 /* end confdefs.h. */
15542 rm -f conftest.$ac_objext conftest$ac_exeext
15543 if { (ac_try="$ac_link"
15544 case "(($ac_try" in
15545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15546 *) ac_try_echo=$ac_try;;
15548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15549 (eval "$ac_link") 2>conftest.er1
15551 grep -v '^ *+' conftest.er1 >conftest.err
15553 cat conftest.err >&5
15554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); } &&
15556 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15557 { (case "(($ac_try" in
15558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15559 *) ac_try_echo=$ac_try;;
15561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15562 (eval "$ac_try") 2>&5
15564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565 (exit $ac_status); }; } &&
15566 { ac_try='test -s conftest$ac_exeext'
15567 { (case "(($ac_try" in
15568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15569 *) ac_try_echo=$ac_try;;
15571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15572 (eval "$ac_try") 2>&5
15574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15575 (exit $ac_status); }; }; then
15576 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
15578 echo "$as_me: failed program was:" >&5
15579 sed 's/^/| /' conftest.$ac_ext >&5
15581 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
15584 rm -f core conftest.err conftest.$ac_objext \
15585 conftest$ac_exeext conftest.$ac_ext
15586 CFLAGS=$ac_wine_try_cflags_saved
15588 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
15589 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
15590 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
15591 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
15597 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
15598 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
15599 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
15600 echo $ECHO_N "(cached) $ECHO_C" >&6
15602 ac_wine_try_cflags_saved=$CFLAGS
15603 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
15604 cat >conftest.$ac_ext <<_ACEOF
15607 cat confdefs.h >>conftest.$ac_ext
15608 cat >>conftest.$ac_ext <<_ACEOF
15609 /* end confdefs.h. */
15619 rm -f conftest.$ac_objext conftest$ac_exeext
15620 if { (ac_try="$ac_link"
15621 case "(($ac_try" in
15622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15623 *) ac_try_echo=$ac_try;;
15625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15626 (eval "$ac_link") 2>conftest.er1
15628 grep -v '^ *+' conftest.er1 >conftest.err
15630 cat conftest.err >&5
15631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15632 (exit $ac_status); } &&
15633 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15634 { (case "(($ac_try" in
15635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15636 *) ac_try_echo=$ac_try;;
15638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15639 (eval "$ac_try") 2>&5
15641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15642 (exit $ac_status); }; } &&
15643 { ac_try='test -s conftest$ac_exeext'
15644 { (case "(($ac_try" in
15645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15646 *) ac_try_echo=$ac_try;;
15648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15649 (eval "$ac_try") 2>&5
15651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15652 (exit $ac_status); }; }; then
15653 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
15655 echo "$as_me: failed program was:" >&5
15656 sed 's/^/| /' conftest.$ac_ext >&5
15658 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
15661 rm -f core conftest.err conftest.$ac_objext \
15662 conftest$ac_exeext conftest.$ac_ext
15663 CFLAGS=$ac_wine_try_cflags_saved
15665 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
15666 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
15667 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
15668 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
15672 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
15673 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
15674 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
15675 echo $ECHO_N "(cached) $ECHO_C" >&6
15677 ac_wine_try_cflags_saved=$CFLAGS
15678 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
15679 cat >conftest.$ac_ext <<_ACEOF
15682 cat confdefs.h >>conftest.$ac_ext
15683 cat >>conftest.$ac_ext <<_ACEOF
15684 /* end confdefs.h. */
15694 rm -f conftest.$ac_objext conftest$ac_exeext
15695 if { (ac_try="$ac_link"
15696 case "(($ac_try" in
15697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15698 *) ac_try_echo=$ac_try;;
15700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15701 (eval "$ac_link") 2>conftest.er1
15703 grep -v '^ *+' conftest.er1 >conftest.err
15705 cat conftest.err >&5
15706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707 (exit $ac_status); } &&
15708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15709 { (case "(($ac_try" in
15710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15711 *) ac_try_echo=$ac_try;;
15713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15714 (eval "$ac_try") 2>&5
15716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15717 (exit $ac_status); }; } &&
15718 { ac_try='test -s conftest$ac_exeext'
15719 { (case "(($ac_try" in
15720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15721 *) ac_try_echo=$ac_try;;
15723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15724 (eval "$ac_try") 2>&5
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); }; }; then
15728 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
15730 echo "$as_me: failed program was:" >&5
15731 sed 's/^/| /' conftest.$ac_ext >&5
15733 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
15736 rm -f core conftest.err conftest.$ac_objext \
15737 conftest$ac_exeext conftest.$ac_ext
15738 CFLAGS=$ac_wine_try_cflags_saved
15740 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
15741 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
15742 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
15743 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
15747 echo '{ global: *; };' >conftest.map
15748 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
15749 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
15750 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
15751 echo $ECHO_N "(cached) $ECHO_C" >&6
15753 ac_wine_try_cflags_saved=$CFLAGS
15754 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
15755 cat >conftest.$ac_ext <<_ACEOF
15758 cat confdefs.h >>conftest.$ac_ext
15759 cat >>conftest.$ac_ext <<_ACEOF
15760 /* end confdefs.h. */
15770 rm -f conftest.$ac_objext conftest$ac_exeext
15771 if { (ac_try="$ac_link"
15772 case "(($ac_try" in
15773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15774 *) ac_try_echo=$ac_try;;
15776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15777 (eval "$ac_link") 2>conftest.er1
15779 grep -v '^ *+' conftest.er1 >conftest.err
15781 cat conftest.err >&5
15782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15783 (exit $ac_status); } &&
15784 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15785 { (case "(($ac_try" in
15786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15787 *) ac_try_echo=$ac_try;;
15789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15790 (eval "$ac_try") 2>&5
15792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15793 (exit $ac_status); }; } &&
15794 { ac_try='test -s conftest$ac_exeext'
15795 { (case "(($ac_try" in
15796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15797 *) ac_try_echo=$ac_try;;
15799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15800 (eval "$ac_try") 2>&5
15802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15803 (exit $ac_status); }; }; then
15804 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
15806 echo "$as_me: failed program was:" >&5
15807 sed 's/^/| /' conftest.$ac_ext >&5
15809 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
15812 rm -f core conftest.err conftest.$ac_objext \
15813 conftest$ac_exeext conftest.$ac_ext
15814 CFLAGS=$ac_wine_try_cflags_saved
15816 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
15817 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
15818 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
15819 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
15824 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
15825 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
15826 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
15827 echo $ECHO_N "(cached) $ECHO_C" >&6
15829 ac_wine_try_cflags_saved=$CFLAGS
15830 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
15831 cat >conftest.$ac_ext <<_ACEOF
15834 cat confdefs.h >>conftest.$ac_ext
15835 cat >>conftest.$ac_ext <<_ACEOF
15836 /* end confdefs.h. */
15846 rm -f conftest.$ac_objext conftest$ac_exeext
15847 if { (ac_try="$ac_link"
15848 case "(($ac_try" in
15849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15850 *) ac_try_echo=$ac_try;;
15852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15853 (eval "$ac_link") 2>conftest.er1
15855 grep -v '^ *+' conftest.er1 >conftest.err
15857 cat conftest.err >&5
15858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15859 (exit $ac_status); } &&
15860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15861 { (case "(($ac_try" in
15862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15863 *) ac_try_echo=$ac_try;;
15865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15866 (eval "$ac_try") 2>&5
15868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869 (exit $ac_status); }; } &&
15870 { ac_try='test -s conftest$ac_exeext'
15871 { (case "(($ac_try" in
15872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15873 *) ac_try_echo=$ac_try;;
15875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15876 (eval "$ac_try") 2>&5
15878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15879 (exit $ac_status); }; }; then
15880 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
15882 echo "$as_me: failed program was:" >&5
15883 sed 's/^/| /' conftest.$ac_ext >&5
15885 ac_cv_cflags__fPIC__Wl___export_dynamic=no
15888 rm -f core conftest.err conftest.$ac_objext \
15889 conftest$ac_exeext conftest.$ac_ext
15890 CFLAGS=$ac_wine_try_cflags_saved
15892 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
15893 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
15894 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
15895 LDEXECFLAGS="-Wl,--export-dynamic"
15900 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
15901 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
15902 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
15903 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15904 echo $ECHO_N "(cached) $ECHO_C" >&6
15906 ac_wine_try_cflags_saved=$CFLAGS
15907 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
15908 cat >conftest.$ac_ext <<_ACEOF
15911 cat confdefs.h >>conftest.$ac_ext
15912 cat >>conftest.$ac_ext <<_ACEOF
15913 /* end confdefs.h. */
15923 rm -f conftest.$ac_objext conftest$ac_exeext
15924 if { (ac_try="$ac_link"
15925 case "(($ac_try" in
15926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15927 *) ac_try_echo=$ac_try;;
15929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15930 (eval "$ac_link") 2>conftest.er1
15932 grep -v '^ *+' conftest.er1 >conftest.err
15934 cat conftest.err >&5
15935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15936 (exit $ac_status); } &&
15937 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15938 { (case "(($ac_try" in
15939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15940 *) ac_try_echo=$ac_try;;
15942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15943 (eval "$ac_try") 2>&5
15945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15946 (exit $ac_status); }; } &&
15947 { ac_try='test -s conftest$ac_exeext'
15948 { (case "(($ac_try" in
15949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15950 *) ac_try_echo=$ac_try;;
15952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15953 (eval "$ac_try") 2>&5
15955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15956 (exit $ac_status); }; }; then
15957 eval "$as_ac_var=yes"
15959 echo "$as_me: failed program was:" >&5
15960 sed 's/^/| /' conftest.$ac_ext >&5
15962 eval "$as_ac_var=no"
15965 rm -f core conftest.err conftest.$ac_objext \
15966 conftest$ac_exeext conftest.$ac_ext
15967 CFLAGS=$ac_wine_try_cflags_saved
15969 ac_res=`eval echo '${'$as_ac_var'}'`
15970 { echo "$as_me:$LINENO: result: $ac_res" >&5
15971 echo "${ECHO_T}$ac_res" >&6; }
15972 if test `eval echo '${'$as_ac_var'}'` = yes; then
15973 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
15978 *i[3456789]86* | x86_64)
15979 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
15980 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
15981 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
15982 echo $ECHO_N "(cached) $ECHO_C" >&6
15984 ac_wine_try_cflags_saved=$CFLAGS
15985 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
15986 cat >conftest.$ac_ext <<_ACEOF
15989 cat confdefs.h >>conftest.$ac_ext
15990 cat >>conftest.$ac_ext <<_ACEOF
15991 /* end confdefs.h. */
16001 rm -f conftest.$ac_objext conftest$ac_exeext
16002 if { (ac_try="$ac_link"
16003 case "(($ac_try" in
16004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16005 *) ac_try_echo=$ac_try;;
16007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16008 (eval "$ac_link") 2>conftest.er1
16010 grep -v '^ *+' conftest.er1 >conftest.err
16012 cat conftest.err >&5
16013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16014 (exit $ac_status); } &&
16015 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16016 { (case "(($ac_try" in
16017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16018 *) ac_try_echo=$ac_try;;
16020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16021 (eval "$ac_try") 2>&5
16023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16024 (exit $ac_status); }; } &&
16025 { ac_try='test -s conftest$ac_exeext'
16026 { (case "(($ac_try" in
16027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16028 *) ac_try_echo=$ac_try;;
16030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16031 (eval "$ac_try") 2>&5
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); }; }; then
16035 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
16037 echo "$as_me: failed program was:" >&5
16038 sed 's/^/| /' conftest.$ac_ext >&5
16040 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
16043 rm -f core conftest.err conftest.$ac_objext \
16044 conftest$ac_exeext conftest.$ac_ext
16045 CFLAGS=$ac_wine_try_cflags_saved
16047 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
16048 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
16049 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
16050 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
16057 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
16058 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
16059 if test "${ac_cv_c_dll_unixware+set}" = set; then
16060 echo $ECHO_N "(cached) $ECHO_C" >&6
16062 ac_wine_try_cflags_saved=$CFLAGS
16063 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
16064 cat >conftest.$ac_ext <<_ACEOF
16067 rm -f conftest.$ac_objext conftest$ac_exeext
16068 if { (ac_try="$ac_link"
16069 case "(($ac_try" in
16070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16071 *) ac_try_echo=$ac_try;;
16073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16074 (eval "$ac_link") 2>conftest.er1
16076 grep -v '^ *+' conftest.er1 >conftest.err
16078 cat conftest.err >&5
16079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16080 (exit $ac_status); } &&
16081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16082 { (case "(($ac_try" in
16083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16084 *) ac_try_echo=$ac_try;;
16086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16087 (eval "$ac_try") 2>&5
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); }; } &&
16091 { ac_try='test -s conftest$ac_exeext'
16092 { (case "(($ac_try" in
16093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16094 *) ac_try_echo=$ac_try;;
16096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16097 (eval "$ac_try") 2>&5
16099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16100 (exit $ac_status); }; }; then
16101 ac_cv_c_dll_unixware="yes"
16103 echo "$as_me: failed program was:" >&5
16104 sed 's/^/| /' conftest.$ac_ext >&5
16106 ac_cv_c_dll_unixware="no"
16109 rm -f core conftest.err conftest.$ac_objext \
16110 conftest$ac_exeext conftest.$ac_ext
16111 CFLAGS=$ac_wine_try_cflags_saved
16113 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
16114 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
16115 if test "$ac_cv_c_dll_unixware" = "yes"
16117 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
16118 LDDLLFLAGS="-Wl,-G,-B,symbolic"
16121 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
16122 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
16123 if test "${ac_cv_c_dll_hpux+set}" = set; then
16124 echo $ECHO_N "(cached) $ECHO_C" >&6
16126 ac_wine_try_cflags_saved=$CFLAGS
16127 CFLAGS="$CFLAGS -shared"
16128 cat >conftest.$ac_ext <<_ACEOF
16131 rm -f conftest.$ac_objext conftest$ac_exeext
16132 if { (ac_try="$ac_link"
16133 case "(($ac_try" in
16134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16135 *) ac_try_echo=$ac_try;;
16137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16138 (eval "$ac_link") 2>conftest.er1
16140 grep -v '^ *+' conftest.er1 >conftest.err
16142 cat conftest.err >&5
16143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16144 (exit $ac_status); } &&
16145 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16146 { (case "(($ac_try" in
16147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16148 *) ac_try_echo=$ac_try;;
16150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16151 (eval "$ac_try") 2>&5
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); }; } &&
16155 { ac_try='test -s conftest$ac_exeext'
16156 { (case "(($ac_try" in
16157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16158 *) ac_try_echo=$ac_try;;
16160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16161 (eval "$ac_try") 2>&5
16163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16164 (exit $ac_status); }; }; then
16165 ac_cv_c_dll_hpux="yes"
16167 echo "$as_me: failed program was:" >&5
16168 sed 's/^/| /' conftest.$ac_ext >&5
16170 ac_cv_c_dll_hpux="no"
16173 rm -f core conftest.err conftest.$ac_objext \
16174 conftest$ac_exeext conftest.$ac_ext
16175 CFLAGS=$ac_wine_try_cflags_saved
16177 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
16178 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
16179 if test "$ac_cv_c_dll_hpux" = "yes"
16183 LDDLLFLAGS="-shared -fPIC"
16184 LDSHARED="\$(CC) -shared"
16191 if test "$cross_compiling" = "no"
16193 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
16195 # Extract the first word of "$ac_prog", so it can be a program name with args.
16196 set dummy $ac_prog; ac_word=$2
16197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16199 if test "${ac_cv_prog_CROSSCC+set}" = set; then
16200 echo $ECHO_N "(cached) $ECHO_C" >&6
16202 if test -n "$CROSSCC"; then
16203 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
16205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16206 for as_dir in $PATH
16209 test -z "$as_dir" && as_dir=.
16210 for ac_exec_ext in '' $ac_executable_extensions; do
16211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16212 ac_cv_prog_CROSSCC="$ac_prog"
16213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16222 CROSSCC=$ac_cv_prog_CROSSCC
16223 if test -n "$CROSSCC"; then
16224 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
16225 echo "${ECHO_T}$CROSSCC" >&6; }
16227 { echo "$as_me:$LINENO: result: no" >&5
16228 echo "${ECHO_T}no" >&6; }
16232 test -n "$CROSSCC" && break
16234 test -n "$CROSSCC" || CROSSCC="false"
16236 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
16238 # Extract the first word of "$ac_prog", so it can be a program name with args.
16239 set dummy $ac_prog; ac_word=$2
16240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16242 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16243 echo $ECHO_N "(cached) $ECHO_C" >&6
16245 if test -n "$DLLTOOL"; then
16246 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16249 for as_dir in $PATH
16252 test -z "$as_dir" && as_dir=.
16253 for ac_exec_ext in '' $ac_executable_extensions; do
16254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16255 ac_cv_prog_DLLTOOL="$ac_prog"
16256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16265 DLLTOOL=$ac_cv_prog_DLLTOOL
16266 if test -n "$DLLTOOL"; then
16267 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16268 echo "${ECHO_T}$DLLTOOL" >&6; }
16270 { echo "$as_me:$LINENO: result: no" >&5
16271 echo "${ECHO_T}no" >&6; }
16275 test -n "$DLLTOOL" && break
16277 test -n "$DLLTOOL" || DLLTOOL="false"
16279 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
16281 # Extract the first word of "$ac_prog", so it can be a program name with args.
16282 set dummy $ac_prog; ac_word=$2
16283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16285 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
16286 echo $ECHO_N "(cached) $ECHO_C" >&6
16288 if test -n "$CROSSWINDRES"; then
16289 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
16291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16292 for as_dir in $PATH
16295 test -z "$as_dir" && as_dir=.
16296 for ac_exec_ext in '' $ac_executable_extensions; do
16297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16298 ac_cv_prog_CROSSWINDRES="$ac_prog"
16299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16308 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
16309 if test -n "$CROSSWINDRES"; then
16310 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
16311 echo "${ECHO_T}$CROSSWINDRES" >&6; }
16313 { echo "$as_me:$LINENO: result: no" >&5
16314 echo "${ECHO_T}no" >&6; }
16318 test -n "$CROSSWINDRES" && break
16320 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
16322 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
16327 if test "$LIBEXT" = "a"; then
16328 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
16329 It is currently not possible to build Wine without shared library
16330 (.so) support to allow transparent switch between .so and .dll files.
16331 If you are using Linux, you will need a newer binutils.
16333 echo "$as_me: error: could not find a way to build shared libraries.
16334 It is currently not possible to build Wine without shared library
16335 (.so) support to allow transparent switch between .so and .dll files.
16336 If you are using Linux, you will need a newer binutils.
16338 { (exit 1); exit 1; }; }
16343 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16346 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
16349 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16357 SOCKETLIBS="-lws2_32"
16362 MAIN_BINARY="wine-pthread"
16366 linux* | k*bsd*-gnu)
16367 MAIN_BINARY="wine-glibc"
16369 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16376 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
16378 # Extract the first word of "ldd", so it can be a program name with args.
16379 set dummy ldd; ac_word=$2
16380 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16382 if test "${ac_cv_path_LDD+set}" = set; then
16383 echo $ECHO_N "(cached) $ECHO_C" >&6
16387 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
16390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16391 as_dummy="/sbin:/usr/sbin:$PATH"
16392 for as_dir in $as_dummy
16395 test -z "$as_dir" && as_dir=.
16396 for ac_exec_ext in '' $ac_executable_extensions; do
16397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16398 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
16399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16406 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
16410 LDD=$ac_cv_path_LDD
16411 if test -n "$LDD"; then
16412 { echo "$as_me:$LINENO: result: $LDD" >&5
16413 echo "${ECHO_T}$LDD" >&6; }
16415 { echo "$as_me:$LINENO: result: no" >&5
16416 echo "${ECHO_T}no" >&6; }
16420 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
16421 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
16422 if test "${ac_cv_lib_soname_X11+set}" = set; then
16423 echo $ECHO_N "(cached) $ECHO_C" >&6
16425 ac_get_soname_save_LIBS=$LIBS
16426 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
16427 cat >conftest.$ac_ext <<_ACEOF
16430 cat confdefs.h >>conftest.$ac_ext
16431 cat >>conftest.$ac_ext <<_ACEOF
16432 /* end confdefs.h. */
16434 /* Override any GCC internal prototype to avoid an error.
16435 Use char because int might match the return type of a GCC
16436 builtin and then its argument prototype would still apply. */
16440 char XCreateWindow ();
16444 return XCreateWindow ();
16449 rm -f conftest.$ac_objext conftest$ac_exeext
16450 if { (ac_try="$ac_link"
16451 case "(($ac_try" in
16452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16453 *) ac_try_echo=$ac_try;;
16455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16456 (eval "$ac_link") 2>conftest.er1
16458 grep -v '^ *+' conftest.er1 >conftest.err
16460 cat conftest.err >&5
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); } &&
16463 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16464 { (case "(($ac_try" in
16465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16466 *) ac_try_echo=$ac_try;;
16468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16469 (eval "$ac_try") 2>&5
16471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16472 (exit $ac_status); }; } &&
16473 { ac_try='test -s conftest$ac_exeext'
16474 { (case "(($ac_try" in
16475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16476 *) ac_try_echo=$ac_try;;
16478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16479 (eval "$ac_try") 2>&5
16481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16482 (exit $ac_status); }; }; then
16484 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'` ;;
16485 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16487 if test "x$ac_cv_lib_soname_X11" = "x"
16489 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16492 echo "$as_me: failed program was:" >&5
16493 sed 's/^/| /' conftest.$ac_ext >&5
16495 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16498 rm -f core conftest.err conftest.$ac_objext \
16499 conftest$ac_exeext conftest.$ac_ext
16500 LIBS=$ac_get_soname_save_LIBS
16502 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
16503 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
16504 if test "${ac_cv_lib_soname_X11+set}" = set; then
16506 cat >>confdefs.h <<_ACEOF
16507 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
16512 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
16513 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
16514 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16515 echo $ECHO_N "(cached) $ECHO_C" >&6
16517 ac_get_soname_save_LIBS=$LIBS
16518 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
16519 cat >conftest.$ac_ext <<_ACEOF
16522 cat confdefs.h >>conftest.$ac_ext
16523 cat >>conftest.$ac_ext <<_ACEOF
16524 /* end confdefs.h. */
16526 /* Override any GCC internal prototype to avoid an error.
16527 Use char because int might match the return type of a GCC
16528 builtin and then its argument prototype would still apply. */
16532 char XextCreateExtension ();
16536 return XextCreateExtension ();
16541 rm -f conftest.$ac_objext conftest$ac_exeext
16542 if { (ac_try="$ac_link"
16543 case "(($ac_try" in
16544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16545 *) ac_try_echo=$ac_try;;
16547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16548 (eval "$ac_link") 2>conftest.er1
16550 grep -v '^ *+' conftest.er1 >conftest.err
16552 cat conftest.err >&5
16553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16554 (exit $ac_status); } &&
16555 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16556 { (case "(($ac_try" in
16557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16558 *) ac_try_echo=$ac_try;;
16560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16561 (eval "$ac_try") 2>&5
16563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16564 (exit $ac_status); }; } &&
16565 { ac_try='test -s conftest$ac_exeext'
16566 { (case "(($ac_try" in
16567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16568 *) ac_try_echo=$ac_try;;
16570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16571 (eval "$ac_try") 2>&5
16573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16574 (exit $ac_status); }; }; then
16576 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'` ;;
16577 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16579 if test "x$ac_cv_lib_soname_Xext" = "x"
16581 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
16584 echo "$as_me: failed program was:" >&5
16585 sed 's/^/| /' conftest.$ac_ext >&5
16587 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
16590 rm -f core conftest.err conftest.$ac_objext \
16591 conftest$ac_exeext conftest.$ac_ext
16592 LIBS=$ac_get_soname_save_LIBS
16594 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
16595 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
16596 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16598 cat >>confdefs.h <<_ACEOF
16599 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
16604 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
16605 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
16606 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16607 echo $ECHO_N "(cached) $ECHO_C" >&6
16609 ac_get_soname_save_LIBS=$LIBS
16610 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16611 cat >conftest.$ac_ext <<_ACEOF
16614 cat confdefs.h >>conftest.$ac_ext
16615 cat >>conftest.$ac_ext <<_ACEOF
16616 /* end confdefs.h. */
16618 /* Override any GCC internal prototype to avoid an error.
16619 Use char because int might match the return type of a GCC
16620 builtin and then its argument prototype would still apply. */
16624 char XOpenDevice ();
16628 return XOpenDevice ();
16633 rm -f conftest.$ac_objext conftest$ac_exeext
16634 if { (ac_try="$ac_link"
16635 case "(($ac_try" in
16636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16637 *) ac_try_echo=$ac_try;;
16639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16640 (eval "$ac_link") 2>conftest.er1
16642 grep -v '^ *+' conftest.er1 >conftest.err
16644 cat conftest.err >&5
16645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16646 (exit $ac_status); } &&
16647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16648 { (case "(($ac_try" in
16649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16650 *) ac_try_echo=$ac_try;;
16652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16653 (eval "$ac_try") 2>&5
16655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16656 (exit $ac_status); }; } &&
16657 { ac_try='test -s conftest$ac_exeext'
16658 { (case "(($ac_try" in
16659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16660 *) ac_try_echo=$ac_try;;
16662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16663 (eval "$ac_try") 2>&5
16665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666 (exit $ac_status); }; }; then
16668 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'` ;;
16669 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16671 if test "x$ac_cv_lib_soname_Xi" = "x"
16673 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16676 echo "$as_me: failed program was:" >&5
16677 sed 's/^/| /' conftest.$ac_ext >&5
16679 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16682 rm -f core conftest.err conftest.$ac_objext \
16683 conftest$ac_exeext conftest.$ac_ext
16684 LIBS=$ac_get_soname_save_LIBS
16686 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
16687 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
16688 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16690 cat >>confdefs.h <<_ACEOF
16691 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
16696 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
16697 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
16698 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
16699 echo $ECHO_N "(cached) $ECHO_C" >&6
16701 ac_get_soname_save_LIBS=$LIBS
16702 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16703 cat >conftest.$ac_ext <<_ACEOF
16706 cat confdefs.h >>conftest.$ac_ext
16707 cat >>conftest.$ac_ext <<_ACEOF
16708 /* end confdefs.h. */
16710 /* Override any GCC internal prototype to avoid an error.
16711 Use char because int might match the return type of a GCC
16712 builtin and then its argument prototype would still apply. */
16716 char XineramaQueryScreens ();
16720 return XineramaQueryScreens ();
16725 rm -f conftest.$ac_objext conftest$ac_exeext
16726 if { (ac_try="$ac_link"
16727 case "(($ac_try" in
16728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16729 *) ac_try_echo=$ac_try;;
16731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16732 (eval "$ac_link") 2>conftest.er1
16734 grep -v '^ *+' conftest.er1 >conftest.err
16736 cat conftest.err >&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); } &&
16739 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16740 { (case "(($ac_try" in
16741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16742 *) ac_try_echo=$ac_try;;
16744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16745 (eval "$ac_try") 2>&5
16747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16748 (exit $ac_status); }; } &&
16749 { ac_try='test -s conftest$ac_exeext'
16750 { (case "(($ac_try" in
16751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16752 *) ac_try_echo=$ac_try;;
16754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16755 (eval "$ac_try") 2>&5
16757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758 (exit $ac_status); }; }; then
16760 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'` ;;
16761 so) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep libXinerama\\.so | sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16763 if test "x$ac_cv_lib_soname_Xinerama" = "x"
16765 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
16768 echo "$as_me: failed program was:" >&5
16769 sed 's/^/| /' conftest.$ac_ext >&5
16771 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
16774 rm -f core conftest.err conftest.$ac_objext \
16775 conftest$ac_exeext conftest.$ac_ext
16776 LIBS=$ac_get_soname_save_LIBS
16778 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
16779 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
16780 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
16782 cat >>confdefs.h <<_ACEOF
16783 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
16788 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
16789 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
16790 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16791 echo $ECHO_N "(cached) $ECHO_C" >&6
16793 ac_get_soname_save_LIBS=$LIBS
16794 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16795 cat >conftest.$ac_ext <<_ACEOF
16798 cat confdefs.h >>conftest.$ac_ext
16799 cat >>conftest.$ac_ext <<_ACEOF
16800 /* end confdefs.h. */
16802 /* Override any GCC internal prototype to avoid an error.
16803 Use char because int might match the return type of a GCC
16804 builtin and then its argument prototype would still apply. */
16808 char XRenderQueryExtension ();
16812 return XRenderQueryExtension ();
16817 rm -f conftest.$ac_objext conftest$ac_exeext
16818 if { (ac_try="$ac_link"
16819 case "(($ac_try" in
16820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16821 *) ac_try_echo=$ac_try;;
16823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16824 (eval "$ac_link") 2>conftest.er1
16826 grep -v '^ *+' conftest.er1 >conftest.err
16828 cat conftest.err >&5
16829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16830 (exit $ac_status); } &&
16831 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16832 { (case "(($ac_try" in
16833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16834 *) ac_try_echo=$ac_try;;
16836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16837 (eval "$ac_try") 2>&5
16839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16840 (exit $ac_status); }; } &&
16841 { ac_try='test -s conftest$ac_exeext'
16842 { (case "(($ac_try" in
16843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16844 *) ac_try_echo=$ac_try;;
16846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16847 (eval "$ac_try") 2>&5
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); }; }; then
16852 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'` ;;
16853 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16855 if test "x$ac_cv_lib_soname_Xrender" = "x"
16857 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16860 echo "$as_me: failed program was:" >&5
16861 sed 's/^/| /' conftest.$ac_ext >&5
16863 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16866 rm -f core conftest.err conftest.$ac_objext \
16867 conftest$ac_exeext conftest.$ac_ext
16868 LIBS=$ac_get_soname_save_LIBS
16870 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
16871 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
16872 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16874 cat >>confdefs.h <<_ACEOF
16875 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
16880 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
16881 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
16882 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16883 echo $ECHO_N "(cached) $ECHO_C" >&6
16885 ac_get_soname_save_LIBS=$LIBS
16886 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16887 cat >conftest.$ac_ext <<_ACEOF
16890 cat confdefs.h >>conftest.$ac_ext
16891 cat >>conftest.$ac_ext <<_ACEOF
16892 /* end confdefs.h. */
16894 /* Override any GCC internal prototype to avoid an error.
16895 Use char because int might match the return type of a GCC
16896 builtin and then its argument prototype would still apply. */
16900 char XRRQueryExtension ();
16904 return XRRQueryExtension ();
16909 rm -f conftest.$ac_objext conftest$ac_exeext
16910 if { (ac_try="$ac_link"
16911 case "(($ac_try" in
16912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16913 *) ac_try_echo=$ac_try;;
16915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16916 (eval "$ac_link") 2>conftest.er1
16918 grep -v '^ *+' conftest.er1 >conftest.err
16920 cat conftest.err >&5
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); } &&
16923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16924 { (case "(($ac_try" in
16925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16926 *) ac_try_echo=$ac_try;;
16928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16929 (eval "$ac_try") 2>&5
16931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932 (exit $ac_status); }; } &&
16933 { ac_try='test -s conftest$ac_exeext'
16934 { (case "(($ac_try" in
16935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16936 *) ac_try_echo=$ac_try;;
16938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16939 (eval "$ac_try") 2>&5
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); }; }; then
16944 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'` ;;
16945 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16947 if test "x$ac_cv_lib_soname_Xrandr" = "x"
16949 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
16952 echo "$as_me: failed program was:" >&5
16953 sed 's/^/| /' conftest.$ac_ext >&5
16955 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
16958 rm -f core conftest.err conftest.$ac_objext \
16959 conftest$ac_exeext conftest.$ac_ext
16960 LIBS=$ac_get_soname_save_LIBS
16962 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
16963 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
16964 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16966 cat >>confdefs.h <<_ACEOF
16967 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
16972 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
16973 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
16974 if test "${ac_cv_lib_soname_freetype+set}" = set; then
16975 echo $ECHO_N "(cached) $ECHO_C" >&6
16977 ac_get_soname_save_LIBS=$LIBS
16978 LIBS="-lfreetype $X_LIBS $LIBS"
16979 cat >conftest.$ac_ext <<_ACEOF
16982 cat confdefs.h >>conftest.$ac_ext
16983 cat >>conftest.$ac_ext <<_ACEOF
16984 /* end confdefs.h. */
16986 /* Override any GCC internal prototype to avoid an error.
16987 Use char because int might match the return type of a GCC
16988 builtin and then its argument prototype would still apply. */
16992 char FT_Init_FreeType ();
16996 return FT_Init_FreeType ();
17001 rm -f conftest.$ac_objext conftest$ac_exeext
17002 if { (ac_try="$ac_link"
17003 case "(($ac_try" in
17004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17005 *) ac_try_echo=$ac_try;;
17007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17008 (eval "$ac_link") 2>conftest.er1
17010 grep -v '^ *+' conftest.er1 >conftest.err
17012 cat conftest.err >&5
17013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17014 (exit $ac_status); } &&
17015 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17016 { (case "(($ac_try" in
17017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17018 *) ac_try_echo=$ac_try;;
17020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17021 (eval "$ac_try") 2>&5
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); }; } &&
17025 { ac_try='test -s conftest$ac_exeext'
17026 { (case "(($ac_try" in
17027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17028 *) ac_try_echo=$ac_try;;
17030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17031 (eval "$ac_try") 2>&5
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); }; }; then
17036 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'` ;;
17037 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17039 if test "x$ac_cv_lib_soname_freetype" = "x"
17041 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
17044 echo "$as_me: failed program was:" >&5
17045 sed 's/^/| /' conftest.$ac_ext >&5
17047 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
17050 rm -f core conftest.err conftest.$ac_objext \
17051 conftest$ac_exeext conftest.$ac_ext
17052 LIBS=$ac_get_soname_save_LIBS
17054 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
17055 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
17056 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17058 cat >>confdefs.h <<_ACEOF
17059 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
17064 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
17065 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
17066 if test "${ac_cv_lib_soname_GL+set}" = set; then
17067 echo $ECHO_N "(cached) $ECHO_C" >&6
17069 ac_get_soname_save_LIBS=$LIBS
17070 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
17071 cat >conftest.$ac_ext <<_ACEOF
17074 cat confdefs.h >>conftest.$ac_ext
17075 cat >>conftest.$ac_ext <<_ACEOF
17076 /* end confdefs.h. */
17078 /* Override any GCC internal prototype to avoid an error.
17079 Use char because int might match the return type of a GCC
17080 builtin and then its argument prototype would still apply. */
17084 char glXQueryExtension ();
17088 return glXQueryExtension ();
17093 rm -f conftest.$ac_objext conftest$ac_exeext
17094 if { (ac_try="$ac_link"
17095 case "(($ac_try" in
17096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17097 *) ac_try_echo=$ac_try;;
17099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17100 (eval "$ac_link") 2>conftest.er1
17102 grep -v '^ *+' conftest.er1 >conftest.err
17104 cat conftest.err >&5
17105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17106 (exit $ac_status); } &&
17107 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17108 { (case "(($ac_try" in
17109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17110 *) ac_try_echo=$ac_try;;
17112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17113 (eval "$ac_try") 2>&5
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); }; } &&
17117 { ac_try='test -s conftest$ac_exeext'
17118 { (case "(($ac_try" in
17119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17120 *) ac_try_echo=$ac_try;;
17122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17123 (eval "$ac_try") 2>&5
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); }; }; then
17128 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'` ;;
17129 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17131 if test "x$ac_cv_lib_soname_GL" = "x"
17133 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17136 echo "$as_me: failed program was:" >&5
17137 sed 's/^/| /' conftest.$ac_ext >&5
17139 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17142 rm -f core conftest.err conftest.$ac_objext \
17143 conftest$ac_exeext conftest.$ac_ext
17144 LIBS=$ac_get_soname_save_LIBS
17146 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
17147 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
17148 if test "${ac_cv_lib_soname_GL+set}" = set; then
17150 cat >>confdefs.h <<_ACEOF
17151 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
17156 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
17157 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
17158 if test "${ac_cv_lib_soname_hal+set}" = set; then
17159 echo $ECHO_N "(cached) $ECHO_C" >&6
17161 ac_get_soname_save_LIBS=$LIBS
17163 cat >conftest.$ac_ext <<_ACEOF
17166 cat confdefs.h >>conftest.$ac_ext
17167 cat >>conftest.$ac_ext <<_ACEOF
17168 /* end confdefs.h. */
17170 /* Override any GCC internal prototype to avoid an error.
17171 Use char because int might match the return type of a GCC
17172 builtin and then its argument prototype would still apply. */
17176 char libhal_ctx_new ();
17180 return libhal_ctx_new ();
17185 rm -f conftest.$ac_objext conftest$ac_exeext
17186 if { (ac_try="$ac_link"
17187 case "(($ac_try" in
17188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17189 *) ac_try_echo=$ac_try;;
17191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17192 (eval "$ac_link") 2>conftest.er1
17194 grep -v '^ *+' conftest.er1 >conftest.err
17196 cat conftest.err >&5
17197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17198 (exit $ac_status); } &&
17199 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17200 { (case "(($ac_try" in
17201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17202 *) ac_try_echo=$ac_try;;
17204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17205 (eval "$ac_try") 2>&5
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); }; } &&
17209 { ac_try='test -s conftest$ac_exeext'
17210 { (case "(($ac_try" in
17211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17212 *) ac_try_echo=$ac_try;;
17214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17215 (eval "$ac_try") 2>&5
17217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17218 (exit $ac_status); }; }; then
17220 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'` ;;
17221 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17223 if test "x$ac_cv_lib_soname_hal" = "x"
17225 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17228 echo "$as_me: failed program was:" >&5
17229 sed 's/^/| /' conftest.$ac_ext >&5
17231 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17234 rm -f core conftest.err conftest.$ac_objext \
17235 conftest$ac_exeext conftest.$ac_ext
17236 LIBS=$ac_get_soname_save_LIBS
17238 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
17239 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
17240 if test "${ac_cv_lib_soname_hal+set}" = set; then
17242 cat >>confdefs.h <<_ACEOF
17243 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
17248 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
17249 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
17250 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17251 echo $ECHO_N "(cached) $ECHO_C" >&6
17253 ac_get_soname_save_LIBS=$LIBS
17254 LIBS="-ltxc_dxtn $LIBS"
17255 cat >conftest.$ac_ext <<_ACEOF
17258 cat confdefs.h >>conftest.$ac_ext
17259 cat >>conftest.$ac_ext <<_ACEOF
17260 /* end confdefs.h. */
17262 /* Override any GCC internal prototype to avoid an error.
17263 Use char because int might match the return type of a GCC
17264 builtin and then its argument prototype would still apply. */
17268 char fetch_2d_texel_rgba_dxt1 ();
17272 return fetch_2d_texel_rgba_dxt1 ();
17277 rm -f conftest.$ac_objext conftest$ac_exeext
17278 if { (ac_try="$ac_link"
17279 case "(($ac_try" in
17280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17281 *) ac_try_echo=$ac_try;;
17283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17284 (eval "$ac_link") 2>conftest.er1
17286 grep -v '^ *+' conftest.er1 >conftest.err
17288 cat conftest.err >&5
17289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290 (exit $ac_status); } &&
17291 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17292 { (case "(($ac_try" in
17293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17294 *) ac_try_echo=$ac_try;;
17296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17297 (eval "$ac_try") 2>&5
17299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17300 (exit $ac_status); }; } &&
17301 { ac_try='test -s conftest$ac_exeext'
17302 { (case "(($ac_try" in
17303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17304 *) ac_try_echo=$ac_try;;
17306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17307 (eval "$ac_try") 2>&5
17309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17310 (exit $ac_status); }; }; then
17312 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'` ;;
17313 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'` ;;
17315 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
17317 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
17320 echo "$as_me: failed program was:" >&5
17321 sed 's/^/| /' conftest.$ac_ext >&5
17323 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
17326 rm -f core conftest.err conftest.$ac_objext \
17327 conftest$ac_exeext conftest.$ac_ext
17328 LIBS=$ac_get_soname_save_LIBS
17330 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
17331 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
17332 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17334 cat >>confdefs.h <<_ACEOF
17335 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
17340 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
17341 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
17342 if test "${ac_cv_lib_soname_cups+set}" = set; then
17343 echo $ECHO_N "(cached) $ECHO_C" >&6
17345 ac_get_soname_save_LIBS=$LIBS
17346 LIBS="-lcups $LIBS"
17347 cat >conftest.$ac_ext <<_ACEOF
17350 cat confdefs.h >>conftest.$ac_ext
17351 cat >>conftest.$ac_ext <<_ACEOF
17352 /* end confdefs.h. */
17354 /* Override any GCC internal prototype to avoid an error.
17355 Use char because int might match the return type of a GCC
17356 builtin and then its argument prototype would still apply. */
17360 char cupsGetDefault ();
17364 return cupsGetDefault ();
17369 rm -f conftest.$ac_objext conftest$ac_exeext
17370 if { (ac_try="$ac_link"
17371 case "(($ac_try" in
17372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17373 *) ac_try_echo=$ac_try;;
17375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17376 (eval "$ac_link") 2>conftest.er1
17378 grep -v '^ *+' conftest.er1 >conftest.err
17380 cat conftest.err >&5
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); } &&
17383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17384 { (case "(($ac_try" in
17385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17386 *) ac_try_echo=$ac_try;;
17388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17389 (eval "$ac_try") 2>&5
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); }; } &&
17393 { ac_try='test -s conftest$ac_exeext'
17394 { (case "(($ac_try" in
17395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17396 *) ac_try_echo=$ac_try;;
17398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17399 (eval "$ac_try") 2>&5
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); }; }; then
17404 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'` ;;
17405 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17407 if test "x$ac_cv_lib_soname_cups" = "x"
17409 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17412 echo "$as_me: failed program was:" >&5
17413 sed 's/^/| /' conftest.$ac_ext >&5
17415 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17418 rm -f core conftest.err conftest.$ac_objext \
17419 conftest$ac_exeext conftest.$ac_ext
17420 LIBS=$ac_get_soname_save_LIBS
17422 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
17423 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
17424 if test "${ac_cv_lib_soname_cups+set}" = set; then
17426 cat >>confdefs.h <<_ACEOF
17427 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
17432 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
17433 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
17434 if test "${ac_cv_lib_soname_jack+set}" = set; then
17435 echo $ECHO_N "(cached) $ECHO_C" >&6
17437 ac_get_soname_save_LIBS=$LIBS
17438 LIBS="-ljack $LIBS"
17439 cat >conftest.$ac_ext <<_ACEOF
17442 cat confdefs.h >>conftest.$ac_ext
17443 cat >>conftest.$ac_ext <<_ACEOF
17444 /* end confdefs.h. */
17446 /* Override any GCC internal prototype to avoid an error.
17447 Use char because int might match the return type of a GCC
17448 builtin and then its argument prototype would still apply. */
17452 char jack_client_new ();
17456 return jack_client_new ();
17461 rm -f conftest.$ac_objext conftest$ac_exeext
17462 if { (ac_try="$ac_link"
17463 case "(($ac_try" in
17464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17465 *) ac_try_echo=$ac_try;;
17467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17468 (eval "$ac_link") 2>conftest.er1
17470 grep -v '^ *+' conftest.er1 >conftest.err
17472 cat conftest.err >&5
17473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17474 (exit $ac_status); } &&
17475 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17476 { (case "(($ac_try" in
17477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17478 *) ac_try_echo=$ac_try;;
17480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17481 (eval "$ac_try") 2>&5
17483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17484 (exit $ac_status); }; } &&
17485 { ac_try='test -s conftest$ac_exeext'
17486 { (case "(($ac_try" in
17487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17488 *) ac_try_echo=$ac_try;;
17490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17491 (eval "$ac_try") 2>&5
17493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17494 (exit $ac_status); }; }; then
17496 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'` ;;
17497 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17499 if test "x$ac_cv_lib_soname_jack" = "x"
17501 ac_cv_lib_soname_jack="libjack.$LIBEXT"
17504 echo "$as_me: failed program was:" >&5
17505 sed 's/^/| /' conftest.$ac_ext >&5
17507 ac_cv_lib_soname_jack="libjack.$LIBEXT"
17510 rm -f core conftest.err conftest.$ac_objext \
17511 conftest$ac_exeext conftest.$ac_ext
17512 LIBS=$ac_get_soname_save_LIBS
17514 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
17515 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
17516 if test "${ac_cv_lib_soname_jack+set}" = set; then
17518 cat >>confdefs.h <<_ACEOF
17519 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
17524 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
17525 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
17526 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17527 echo $ECHO_N "(cached) $ECHO_C" >&6
17529 ac_get_soname_save_LIBS=$LIBS
17530 LIBS="-lfontconfig $LIBS"
17531 cat >conftest.$ac_ext <<_ACEOF
17534 cat confdefs.h >>conftest.$ac_ext
17535 cat >>conftest.$ac_ext <<_ACEOF
17536 /* end confdefs.h. */
17538 /* Override any GCC internal prototype to avoid an error.
17539 Use char because int might match the return type of a GCC
17540 builtin and then its argument prototype would still apply. */
17553 rm -f conftest.$ac_objext conftest$ac_exeext
17554 if { (ac_try="$ac_link"
17555 case "(($ac_try" in
17556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17557 *) ac_try_echo=$ac_try;;
17559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17560 (eval "$ac_link") 2>conftest.er1
17562 grep -v '^ *+' conftest.er1 >conftest.err
17564 cat conftest.err >&5
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); } &&
17567 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17568 { (case "(($ac_try" in
17569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17570 *) ac_try_echo=$ac_try;;
17572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17573 (eval "$ac_try") 2>&5
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); }; } &&
17577 { ac_try='test -s conftest$ac_exeext'
17578 { (case "(($ac_try" in
17579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17580 *) ac_try_echo=$ac_try;;
17582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17583 (eval "$ac_try") 2>&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); }; }; then
17588 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'` ;;
17589 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17591 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17593 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17596 echo "$as_me: failed program was:" >&5
17597 sed 's/^/| /' conftest.$ac_ext >&5
17599 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17602 rm -f core conftest.err conftest.$ac_objext \
17603 conftest$ac_exeext conftest.$ac_ext
17604 LIBS=$ac_get_soname_save_LIBS
17606 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
17607 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
17608 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17610 cat >>confdefs.h <<_ACEOF
17611 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
17616 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
17617 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
17618 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17619 echo $ECHO_N "(cached) $ECHO_C" >&6
17621 ac_get_soname_save_LIBS=$LIBS
17623 cat >conftest.$ac_ext <<_ACEOF
17626 cat confdefs.h >>conftest.$ac_ext
17627 cat >>conftest.$ac_ext <<_ACEOF
17628 /* end confdefs.h. */
17630 /* Override any GCC internal prototype to avoid an error.
17631 Use char because int might match the return type of a GCC
17632 builtin and then its argument prototype would still apply. */
17636 char SSL_library_init ();
17640 return SSL_library_init ();
17645 rm -f conftest.$ac_objext conftest$ac_exeext
17646 if { (ac_try="$ac_link"
17647 case "(($ac_try" in
17648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17649 *) ac_try_echo=$ac_try;;
17651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17652 (eval "$ac_link") 2>conftest.er1
17654 grep -v '^ *+' conftest.er1 >conftest.err
17656 cat conftest.err >&5
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); } &&
17659 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17660 { (case "(($ac_try" in
17661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17662 *) ac_try_echo=$ac_try;;
17664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17665 (eval "$ac_try") 2>&5
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); }; } &&
17669 { ac_try='test -s conftest$ac_exeext'
17670 { (case "(($ac_try" in
17671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17672 *) ac_try_echo=$ac_try;;
17674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17675 (eval "$ac_try") 2>&5
17677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17678 (exit $ac_status); }; }; then
17680 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'` ;;
17681 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17683 if test "x$ac_cv_lib_soname_ssl" = "x"
17685 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
17688 echo "$as_me: failed program was:" >&5
17689 sed 's/^/| /' conftest.$ac_ext >&5
17691 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
17694 rm -f core conftest.err conftest.$ac_objext \
17695 conftest$ac_exeext conftest.$ac_ext
17696 LIBS=$ac_get_soname_save_LIBS
17698 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
17699 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
17700 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17702 cat >>confdefs.h <<_ACEOF
17703 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
17708 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
17709 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
17710 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17711 echo $ECHO_N "(cached) $ECHO_C" >&6
17713 ac_get_soname_save_LIBS=$LIBS
17714 LIBS="-lcrypto $LIBS"
17715 cat >conftest.$ac_ext <<_ACEOF
17718 cat confdefs.h >>conftest.$ac_ext
17719 cat >>conftest.$ac_ext <<_ACEOF
17720 /* end confdefs.h. */
17722 /* Override any GCC internal prototype to avoid an error.
17723 Use char because int might match the return type of a GCC
17724 builtin and then its argument prototype would still apply. */
17728 char BIO_new_socket ();
17732 return BIO_new_socket ();
17737 rm -f conftest.$ac_objext conftest$ac_exeext
17738 if { (ac_try="$ac_link"
17739 case "(($ac_try" in
17740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17741 *) ac_try_echo=$ac_try;;
17743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17744 (eval "$ac_link") 2>conftest.er1
17746 grep -v '^ *+' conftest.er1 >conftest.err
17748 cat conftest.err >&5
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); } &&
17751 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17752 { (case "(($ac_try" in
17753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17754 *) ac_try_echo=$ac_try;;
17756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17757 (eval "$ac_try") 2>&5
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); }; } &&
17761 { ac_try='test -s conftest$ac_exeext'
17762 { (case "(($ac_try" in
17763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17764 *) ac_try_echo=$ac_try;;
17766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17767 (eval "$ac_try") 2>&5
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); }; }; then
17772 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'` ;;
17773 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17775 if test "x$ac_cv_lib_soname_crypto" = "x"
17777 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17780 echo "$as_me: failed program was:" >&5
17781 sed 's/^/| /' conftest.$ac_ext >&5
17783 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17786 rm -f core conftest.err conftest.$ac_objext \
17787 conftest$ac_exeext conftest.$ac_ext
17788 LIBS=$ac_get_soname_save_LIBS
17790 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
17791 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
17792 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17794 cat >>confdefs.h <<_ACEOF
17795 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
17800 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
17801 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
17802 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17803 echo $ECHO_N "(cached) $ECHO_C" >&6
17805 ac_get_soname_save_LIBS=$LIBS
17806 LIBS="-lncurses $LIBS"
17807 cat >conftest.$ac_ext <<_ACEOF
17810 cat confdefs.h >>conftest.$ac_ext
17811 cat >>conftest.$ac_ext <<_ACEOF
17812 /* end confdefs.h. */
17814 /* Override any GCC internal prototype to avoid an error.
17815 Use char because int might match the return type of a GCC
17816 builtin and then its argument prototype would still apply. */
17829 rm -f conftest.$ac_objext conftest$ac_exeext
17830 if { (ac_try="$ac_link"
17831 case "(($ac_try" in
17832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17833 *) ac_try_echo=$ac_try;;
17835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17836 (eval "$ac_link") 2>conftest.er1
17838 grep -v '^ *+' conftest.er1 >conftest.err
17840 cat conftest.err >&5
17841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17842 (exit $ac_status); } &&
17843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17844 { (case "(($ac_try" in
17845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17846 *) ac_try_echo=$ac_try;;
17848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17849 (eval "$ac_try") 2>&5
17851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17852 (exit $ac_status); }; } &&
17853 { ac_try='test -s conftest$ac_exeext'
17854 { (case "(($ac_try" in
17855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17856 *) ac_try_echo=$ac_try;;
17858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17859 (eval "$ac_try") 2>&5
17861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17862 (exit $ac_status); }; }; then
17864 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'` ;;
17865 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17867 if test "x$ac_cv_lib_soname_ncurses" = "x"
17869 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
17872 echo "$as_me: failed program was:" >&5
17873 sed 's/^/| /' conftest.$ac_ext >&5
17875 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
17878 rm -f core conftest.err conftest.$ac_objext \
17879 conftest$ac_exeext conftest.$ac_ext
17880 LIBS=$ac_get_soname_save_LIBS
17882 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
17883 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
17884 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17886 cat >>confdefs.h <<_ACEOF
17887 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
17892 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
17893 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
17894 if test "${ac_cv_lib_soname_curses+set}" = set; then
17895 echo $ECHO_N "(cached) $ECHO_C" >&6
17897 ac_get_soname_save_LIBS=$LIBS
17898 LIBS="-lcurses $LIBS"
17899 cat >conftest.$ac_ext <<_ACEOF
17902 cat confdefs.h >>conftest.$ac_ext
17903 cat >>conftest.$ac_ext <<_ACEOF
17904 /* end confdefs.h. */
17906 /* Override any GCC internal prototype to avoid an error.
17907 Use char because int might match the return type of a GCC
17908 builtin and then its argument prototype would still apply. */
17921 rm -f conftest.$ac_objext conftest$ac_exeext
17922 if { (ac_try="$ac_link"
17923 case "(($ac_try" in
17924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17925 *) ac_try_echo=$ac_try;;
17927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17928 (eval "$ac_link") 2>conftest.er1
17930 grep -v '^ *+' conftest.er1 >conftest.err
17932 cat conftest.err >&5
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); } &&
17935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17936 { (case "(($ac_try" in
17937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17938 *) ac_try_echo=$ac_try;;
17940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17941 (eval "$ac_try") 2>&5
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); }; } &&
17945 { ac_try='test -s conftest$ac_exeext'
17946 { (case "(($ac_try" in
17947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17948 *) ac_try_echo=$ac_try;;
17950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17951 (eval "$ac_try") 2>&5
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); }; }; then
17956 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'` ;;
17957 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17959 if test "x$ac_cv_lib_soname_curses" = "x"
17961 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17964 echo "$as_me: failed program was:" >&5
17965 sed 's/^/| /' conftest.$ac_ext >&5
17967 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17970 rm -f core conftest.err conftest.$ac_objext \
17971 conftest$ac_exeext conftest.$ac_ext
17972 LIBS=$ac_get_soname_save_LIBS
17974 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
17975 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
17976 if test "${ac_cv_lib_soname_curses+set}" = set; then
17978 cat >>confdefs.h <<_ACEOF
17979 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
17984 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
17985 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
17986 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
17987 echo $ECHO_N "(cached) $ECHO_C" >&6
17989 ac_get_soname_save_LIBS=$LIBS
17990 LIBS="-ljpeg $LIBS"
17991 cat >conftest.$ac_ext <<_ACEOF
17994 cat confdefs.h >>conftest.$ac_ext
17995 cat >>conftest.$ac_ext <<_ACEOF
17996 /* end confdefs.h. */
17998 /* Override any GCC internal prototype to avoid an error.
17999 Use char because int might match the return type of a GCC
18000 builtin and then its argument prototype would still apply. */
18004 char jpeg_start_decompress ();
18008 return jpeg_start_decompress ();
18013 rm -f conftest.$ac_objext conftest$ac_exeext
18014 if { (ac_try="$ac_link"
18015 case "(($ac_try" in
18016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18017 *) ac_try_echo=$ac_try;;
18019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18020 (eval "$ac_link") 2>conftest.er1
18022 grep -v '^ *+' conftest.er1 >conftest.err
18024 cat conftest.err >&5
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); } &&
18027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18028 { (case "(($ac_try" in
18029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18030 *) ac_try_echo=$ac_try;;
18032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18033 (eval "$ac_try") 2>&5
18035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18036 (exit $ac_status); }; } &&
18037 { ac_try='test -s conftest$ac_exeext'
18038 { (case "(($ac_try" in
18039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18040 *) ac_try_echo=$ac_try;;
18042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18043 (eval "$ac_try") 2>&5
18045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18046 (exit $ac_status); }; }; then
18048 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'` ;;
18049 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18051 if test "x$ac_cv_lib_soname_jpeg" = "x"
18053 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
18056 echo "$as_me: failed program was:" >&5
18057 sed 's/^/| /' conftest.$ac_ext >&5
18059 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
18062 rm -f core conftest.err conftest.$ac_objext \
18063 conftest$ac_exeext conftest.$ac_ext
18064 LIBS=$ac_get_soname_save_LIBS
18066 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
18067 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
18068 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
18070 cat >>confdefs.h <<_ACEOF
18071 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
18076 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
18077 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
18078 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18079 echo $ECHO_N "(cached) $ECHO_C" >&6
18081 ac_get_soname_save_LIBS=$LIBS
18082 LIBS="-lcapi20 $LIBS"
18083 cat >conftest.$ac_ext <<_ACEOF
18086 cat confdefs.h >>conftest.$ac_ext
18087 cat >>conftest.$ac_ext <<_ACEOF
18088 /* end confdefs.h. */
18090 /* Override any GCC internal prototype to avoid an error.
18091 Use char because int might match the return type of a GCC
18092 builtin and then its argument prototype would still apply. */
18096 char capi20_isinstalled ();
18100 return capi20_isinstalled ();
18105 rm -f conftest.$ac_objext conftest$ac_exeext
18106 if { (ac_try="$ac_link"
18107 case "(($ac_try" in
18108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18109 *) ac_try_echo=$ac_try;;
18111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18112 (eval "$ac_link") 2>conftest.er1
18114 grep -v '^ *+' conftest.er1 >conftest.err
18116 cat conftest.err >&5
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); } &&
18119 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18120 { (case "(($ac_try" in
18121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18122 *) ac_try_echo=$ac_try;;
18124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18125 (eval "$ac_try") 2>&5
18127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18128 (exit $ac_status); }; } &&
18129 { ac_try='test -s conftest$ac_exeext'
18130 { (case "(($ac_try" in
18131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18132 *) ac_try_echo=$ac_try;;
18134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18135 (eval "$ac_try") 2>&5
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); }; }; then
18140 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'` ;;
18141 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18143 if test "x$ac_cv_lib_soname_capi20" = "x"
18145 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18148 echo "$as_me: failed program was:" >&5
18149 sed 's/^/| /' conftest.$ac_ext >&5
18151 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18154 rm -f core conftest.err conftest.$ac_objext \
18155 conftest$ac_exeext conftest.$ac_ext
18156 LIBS=$ac_get_soname_save_LIBS
18158 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
18159 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
18160 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18162 cat >>confdefs.h <<_ACEOF
18163 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
18313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18314 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18316 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18317 echo $ECHO_N "(cached) $ECHO_C" >&6
18319 cat >conftest.$ac_ext <<_ACEOF
18322 cat confdefs.h >>conftest.$ac_ext
18323 cat >>conftest.$ac_ext <<_ACEOF
18324 /* end confdefs.h. */
18325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18327 #define $ac_func innocuous_$ac_func
18329 /* System header to define __stub macros and hopefully few prototypes,
18330 which can conflict with char $ac_func (); below.
18331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18332 <limits.h> exists even on freestanding compilers. */
18335 # include <limits.h>
18337 # include <assert.h>
18342 /* Override any GCC internal prototype to avoid an error.
18343 Use char because int might match the return type of a GCC
18344 builtin and then its argument prototype would still apply. */
18349 /* The GNU C library defines this for functions which it implements
18350 to always fail with ENOSYS. Some functions are actually named
18351 something starting with __ and the normal name is an alias. */
18352 #if defined __stub_$ac_func || defined __stub___$ac_func
18359 return $ac_func ();
18364 rm -f conftest.$ac_objext conftest$ac_exeext
18365 if { (ac_try="$ac_link"
18366 case "(($ac_try" in
18367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18368 *) ac_try_echo=$ac_try;;
18370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18371 (eval "$ac_link") 2>conftest.er1
18373 grep -v '^ *+' conftest.er1 >conftest.err
18375 cat conftest.err >&5
18376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377 (exit $ac_status); } &&
18378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18379 { (case "(($ac_try" in
18380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18381 *) ac_try_echo=$ac_try;;
18383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18384 (eval "$ac_try") 2>&5
18386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18387 (exit $ac_status); }; } &&
18388 { ac_try='test -s conftest$ac_exeext'
18389 { (case "(($ac_try" in
18390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18391 *) ac_try_echo=$ac_try;;
18393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18394 (eval "$ac_try") 2>&5
18396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18397 (exit $ac_status); }; }; then
18398 eval "$as_ac_var=yes"
18400 echo "$as_me: failed program was:" >&5
18401 sed 's/^/| /' conftest.$ac_ext >&5
18403 eval "$as_ac_var=no"
18406 rm -f core conftest.err conftest.$ac_objext \
18407 conftest$ac_exeext conftest.$ac_ext
18409 ac_res=`eval echo '${'$as_ac_var'}'`
18410 { echo "$as_me:$LINENO: result: $ac_res" >&5
18411 echo "${ECHO_T}$ac_res" >&6; }
18412 if test `eval echo '${'$as_ac_var'}'` = yes; then
18413 cat >>confdefs.h <<_ACEOF
18414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18421 if test "$ac_cv_func_dlopen" = no
18423 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18424 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18425 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18426 echo $ECHO_N "(cached) $ECHO_C" >&6
18428 ac_check_lib_save_LIBS=$LIBS
18430 cat >conftest.$ac_ext <<_ACEOF
18433 cat confdefs.h >>conftest.$ac_ext
18434 cat >>conftest.$ac_ext <<_ACEOF
18435 /* end confdefs.h. */
18437 /* Override any GCC internal prototype to avoid an error.
18438 Use char because int might match the return type of a GCC
18439 builtin and then its argument prototype would still apply. */
18452 rm -f conftest.$ac_objext conftest$ac_exeext
18453 if { (ac_try="$ac_link"
18454 case "(($ac_try" in
18455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18456 *) ac_try_echo=$ac_try;;
18458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18459 (eval "$ac_link") 2>conftest.er1
18461 grep -v '^ *+' conftest.er1 >conftest.err
18463 cat conftest.err >&5
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); } &&
18466 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18467 { (case "(($ac_try" in
18468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18469 *) ac_try_echo=$ac_try;;
18471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18472 (eval "$ac_try") 2>&5
18474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18475 (exit $ac_status); }; } &&
18476 { ac_try='test -s conftest$ac_exeext'
18477 { (case "(($ac_try" in
18478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18479 *) ac_try_echo=$ac_try;;
18481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18482 (eval "$ac_try") 2>&5
18484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18485 (exit $ac_status); }; }; then
18486 ac_cv_lib_dl_dlopen=yes
18488 echo "$as_me: failed program was:" >&5
18489 sed 's/^/| /' conftest.$ac_ext >&5
18491 ac_cv_lib_dl_dlopen=no
18494 rm -f core conftest.err conftest.$ac_objext \
18495 conftest$ac_exeext conftest.$ac_ext
18496 LIBS=$ac_check_lib_save_LIBS
18498 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18499 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
18500 if test $ac_cv_lib_dl_dlopen = yes; then
18501 cat >>confdefs.h <<\_ACEOF
18502 #define HAVE_DLOPEN 1
18509 ac_wine_check_funcs_save_LIBS="$LIBS"
18510 LIBS="$LIBS $LIBDL"
18512 for ac_func in dladdr
18514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18515 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18517 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18518 echo $ECHO_N "(cached) $ECHO_C" >&6
18520 cat >conftest.$ac_ext <<_ACEOF
18523 cat confdefs.h >>conftest.$ac_ext
18524 cat >>conftest.$ac_ext <<_ACEOF
18525 /* end confdefs.h. */
18526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18528 #define $ac_func innocuous_$ac_func
18530 /* System header to define __stub macros and hopefully few prototypes,
18531 which can conflict with char $ac_func (); below.
18532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18533 <limits.h> exists even on freestanding compilers. */
18536 # include <limits.h>
18538 # include <assert.h>
18543 /* Override any GCC internal prototype to avoid an error.
18544 Use char because int might match the return type of a GCC
18545 builtin and then its argument prototype would still apply. */
18550 /* The GNU C library defines this for functions which it implements
18551 to always fail with ENOSYS. Some functions are actually named
18552 something starting with __ and the normal name is an alias. */
18553 #if defined __stub_$ac_func || defined __stub___$ac_func
18560 return $ac_func ();
18565 rm -f conftest.$ac_objext conftest$ac_exeext
18566 if { (ac_try="$ac_link"
18567 case "(($ac_try" in
18568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18569 *) ac_try_echo=$ac_try;;
18571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18572 (eval "$ac_link") 2>conftest.er1
18574 grep -v '^ *+' conftest.er1 >conftest.err
18576 cat conftest.err >&5
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); } &&
18579 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18580 { (case "(($ac_try" in
18581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18582 *) ac_try_echo=$ac_try;;
18584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18585 (eval "$ac_try") 2>&5
18587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18588 (exit $ac_status); }; } &&
18589 { ac_try='test -s conftest$ac_exeext'
18590 { (case "(($ac_try" in
18591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18592 *) ac_try_echo=$ac_try;;
18594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18595 (eval "$ac_try") 2>&5
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); }; }; then
18599 eval "$as_ac_var=yes"
18601 echo "$as_me: failed program was:" >&5
18602 sed 's/^/| /' conftest.$ac_ext >&5
18604 eval "$as_ac_var=no"
18607 rm -f core conftest.err conftest.$ac_objext \
18608 conftest$ac_exeext conftest.$ac_ext
18610 ac_res=`eval echo '${'$as_ac_var'}'`
18611 { echo "$as_me:$LINENO: result: $ac_res" >&5
18612 echo "${ECHO_T}$ac_res" >&6; }
18613 if test `eval echo '${'$as_ac_var'}'` = yes; then
18614 cat >>confdefs.h <<_ACEOF
18615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18621 LIBS="$ac_wine_check_funcs_save_LIBS"
18623 if test "$ac_cv_func_poll" = no
18625 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
18626 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
18627 if test "${ac_cv_lib_poll_poll+set}" = set; then
18628 echo $ECHO_N "(cached) $ECHO_C" >&6
18630 ac_check_lib_save_LIBS=$LIBS
18631 LIBS="-lpoll $LIBS"
18632 cat >conftest.$ac_ext <<_ACEOF
18635 cat confdefs.h >>conftest.$ac_ext
18636 cat >>conftest.$ac_ext <<_ACEOF
18637 /* end confdefs.h. */
18639 /* Override any GCC internal prototype to avoid an error.
18640 Use char because int might match the return type of a GCC
18641 builtin and then its argument prototype would still apply. */
18654 rm -f conftest.$ac_objext conftest$ac_exeext
18655 if { (ac_try="$ac_link"
18656 case "(($ac_try" in
18657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18658 *) ac_try_echo=$ac_try;;
18660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18661 (eval "$ac_link") 2>conftest.er1
18663 grep -v '^ *+' conftest.er1 >conftest.err
18665 cat conftest.err >&5
18666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18667 (exit $ac_status); } &&
18668 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18669 { (case "(($ac_try" in
18670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18671 *) ac_try_echo=$ac_try;;
18673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18674 (eval "$ac_try") 2>&5
18676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18677 (exit $ac_status); }; } &&
18678 { ac_try='test -s conftest$ac_exeext'
18679 { (case "(($ac_try" in
18680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18681 *) ac_try_echo=$ac_try;;
18683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18684 (eval "$ac_try") 2>&5
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); }; }; then
18688 ac_cv_lib_poll_poll=yes
18690 echo "$as_me: failed program was:" >&5
18691 sed 's/^/| /' conftest.$ac_ext >&5
18693 ac_cv_lib_poll_poll=no
18696 rm -f core conftest.err conftest.$ac_objext \
18697 conftest$ac_exeext conftest.$ac_ext
18698 LIBS=$ac_check_lib_save_LIBS
18700 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
18701 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
18702 if test $ac_cv_lib_poll_poll = yes; then
18703 cat >>confdefs.h <<\_ACEOF
18704 #define HAVE_POLL 1
18712 if test "$ac_cv_func_gethostbyname" = no
18715 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
18716 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
18717 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
18718 echo $ECHO_N "(cached) $ECHO_C" >&6
18720 ac_check_lib_save_LIBS=$LIBS
18722 cat >conftest.$ac_ext <<_ACEOF
18725 cat confdefs.h >>conftest.$ac_ext
18726 cat >>conftest.$ac_ext <<_ACEOF
18727 /* end confdefs.h. */
18729 /* Override any GCC internal prototype to avoid an error.
18730 Use char because int might match the return type of a GCC
18731 builtin and then its argument prototype would still apply. */
18735 char gethostbyname ();
18739 return gethostbyname ();
18744 rm -f conftest.$ac_objext conftest$ac_exeext
18745 if { (ac_try="$ac_link"
18746 case "(($ac_try" in
18747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18748 *) ac_try_echo=$ac_try;;
18750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18751 (eval "$ac_link") 2>conftest.er1
18753 grep -v '^ *+' conftest.er1 >conftest.err
18755 cat conftest.err >&5
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); } &&
18758 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18759 { (case "(($ac_try" in
18760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18761 *) ac_try_echo=$ac_try;;
18763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18764 (eval "$ac_try") 2>&5
18766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18767 (exit $ac_status); }; } &&
18768 { ac_try='test -s conftest$ac_exeext'
18769 { (case "(($ac_try" in
18770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18771 *) ac_try_echo=$ac_try;;
18773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18774 (eval "$ac_try") 2>&5
18776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18777 (exit $ac_status); }; }; then
18778 ac_cv_lib_nsl_gethostbyname=yes
18780 echo "$as_me: failed program was:" >&5
18781 sed 's/^/| /' conftest.$ac_ext >&5
18783 ac_cv_lib_nsl_gethostbyname=no
18786 rm -f core conftest.err conftest.$ac_objext \
18787 conftest$ac_exeext conftest.$ac_ext
18788 LIBS=$ac_check_lib_save_LIBS
18790 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
18791 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
18792 if test $ac_cv_lib_nsl_gethostbyname = yes; then
18793 cat >>confdefs.h <<_ACEOF
18794 #define HAVE_LIBNSL 1
18803 if test "$ac_cv_func_connect" = no
18806 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
18807 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
18808 if test "${ac_cv_lib_socket_connect+set}" = set; then
18809 echo $ECHO_N "(cached) $ECHO_C" >&6
18811 ac_check_lib_save_LIBS=$LIBS
18812 LIBS="-lsocket $LIBS"
18813 cat >conftest.$ac_ext <<_ACEOF
18816 cat confdefs.h >>conftest.$ac_ext
18817 cat >>conftest.$ac_ext <<_ACEOF
18818 /* end confdefs.h. */
18820 /* Override any GCC internal prototype to avoid an error.
18821 Use char because int might match the return type of a GCC
18822 builtin and then its argument prototype would still apply. */
18835 rm -f conftest.$ac_objext conftest$ac_exeext
18836 if { (ac_try="$ac_link"
18837 case "(($ac_try" in
18838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18839 *) ac_try_echo=$ac_try;;
18841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18842 (eval "$ac_link") 2>conftest.er1
18844 grep -v '^ *+' conftest.er1 >conftest.err
18846 cat conftest.err >&5
18847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18848 (exit $ac_status); } &&
18849 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18850 { (case "(($ac_try" in
18851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18852 *) ac_try_echo=$ac_try;;
18854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18855 (eval "$ac_try") 2>&5
18857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18858 (exit $ac_status); }; } &&
18859 { ac_try='test -s conftest$ac_exeext'
18860 { (case "(($ac_try" in
18861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18862 *) ac_try_echo=$ac_try;;
18864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18865 (eval "$ac_try") 2>&5
18867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18868 (exit $ac_status); }; }; then
18869 ac_cv_lib_socket_connect=yes
18871 echo "$as_me: failed program was:" >&5
18872 sed 's/^/| /' conftest.$ac_ext >&5
18874 ac_cv_lib_socket_connect=no
18877 rm -f core conftest.err conftest.$ac_objext \
18878 conftest$ac_exeext conftest.$ac_ext
18879 LIBS=$ac_check_lib_save_LIBS
18881 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
18882 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
18883 if test $ac_cv_lib_socket_connect = yes; then
18884 cat >>confdefs.h <<_ACEOF
18885 #define HAVE_LIBSOCKET 1
18888 LIBS="-lsocket $LIBS"
18894 if test "$ac_cv_func_inet_aton" = no
18897 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
18898 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
18899 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
18900 echo $ECHO_N "(cached) $ECHO_C" >&6
18902 ac_check_lib_save_LIBS=$LIBS
18903 LIBS="-lresolv $LIBS"
18904 cat >conftest.$ac_ext <<_ACEOF
18907 cat confdefs.h >>conftest.$ac_ext
18908 cat >>conftest.$ac_ext <<_ACEOF
18909 /* end confdefs.h. */
18911 /* Override any GCC internal prototype to avoid an error.
18912 Use char because int might match the return type of a GCC
18913 builtin and then its argument prototype would still apply. */
18921 return inet_aton ();
18926 rm -f conftest.$ac_objext conftest$ac_exeext
18927 if { (ac_try="$ac_link"
18928 case "(($ac_try" in
18929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18930 *) ac_try_echo=$ac_try;;
18932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18933 (eval "$ac_link") 2>conftest.er1
18935 grep -v '^ *+' conftest.er1 >conftest.err
18937 cat conftest.err >&5
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); } &&
18940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18941 { (case "(($ac_try" in
18942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18943 *) ac_try_echo=$ac_try;;
18945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18946 (eval "$ac_try") 2>&5
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); }; } &&
18950 { ac_try='test -s conftest$ac_exeext'
18951 { (case "(($ac_try" in
18952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18953 *) ac_try_echo=$ac_try;;
18955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18956 (eval "$ac_try") 2>&5
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); }; }; then
18960 ac_cv_lib_resolv_inet_aton=yes
18962 echo "$as_me: failed program was:" >&5
18963 sed 's/^/| /' conftest.$ac_ext >&5
18965 ac_cv_lib_resolv_inet_aton=no
18968 rm -f core conftest.err conftest.$ac_objext \
18969 conftest$ac_exeext conftest.$ac_ext
18970 LIBS=$ac_check_lib_save_LIBS
18972 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
18973 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
18974 if test $ac_cv_lib_resolv_inet_aton = yes; then
18975 cat >>confdefs.h <<_ACEOF
18976 #define HAVE_LIBRESOLV 1
18979 LIBS="-lresolv $LIBS"
18986 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18987 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18988 if test "${ac_cv_c_const+set}" = set; then
18989 echo $ECHO_N "(cached) $ECHO_C" >&6
18991 cat >conftest.$ac_ext <<_ACEOF
18994 cat confdefs.h >>conftest.$ac_ext
18995 cat >>conftest.$ac_ext <<_ACEOF
18996 /* end confdefs.h. */
19001 /* FIXME: Include the comments suggested by Paul. */
19002 #ifndef __cplusplus
19003 /* Ultrix mips cc rejects this. */
19004 typedef int charset[2];
19006 /* SunOS 4.1.1 cc rejects this. */
19007 char const *const *ccp;
19009 /* NEC SVR4.0.2 mips cc rejects this. */
19010 struct point {int x, y;};
19011 static struct point const zero = {0,0};
19012 /* AIX XL C 1.02.0.0 rejects this.
19013 It does not let you subtract one const X* pointer from another in
19014 an arm of an if-expression whose if-part is not a constant
19016 const char *g = "string";
19017 ccp = &g + (g ? g-g : 0);
19018 /* HPUX 7.0 cc rejects these. */
19021 ccp = (char const *const *) p;
19022 { /* SCO 3.2v4 cc rejects this. */
19024 char const *s = 0 ? (char *) 0 : (char const *) 0;
19029 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19030 int x[] = {25, 17};
19031 const int *foo = &x[0];
19034 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19035 typedef const int *iptr;
19039 { /* AIX XL C 1.02.0.0 rejects this saying
19040 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19041 struct s { int j; const int *ap[3]; };
19042 struct s *b; b->j = 5;
19044 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19045 const int foo = 10;
19046 if (!foo) return 0;
19048 return !x[0] && !zero.x;
19055 rm -f conftest.$ac_objext
19056 if { (ac_try="$ac_compile"
19057 case "(($ac_try" in
19058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19059 *) ac_try_echo=$ac_try;;
19061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19062 (eval "$ac_compile") 2>conftest.er1
19064 grep -v '^ *+' conftest.er1 >conftest.err
19066 cat conftest.err >&5
19067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); } &&
19069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19070 { (case "(($ac_try" in
19071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19072 *) ac_try_echo=$ac_try;;
19074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19075 (eval "$ac_try") 2>&5
19077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19078 (exit $ac_status); }; } &&
19079 { ac_try='test -s conftest.$ac_objext'
19080 { (case "(($ac_try" in
19081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19082 *) ac_try_echo=$ac_try;;
19084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19085 (eval "$ac_try") 2>&5
19087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19088 (exit $ac_status); }; }; then
19091 echo "$as_me: failed program was:" >&5
19092 sed 's/^/| /' conftest.$ac_ext >&5
19097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19099 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19100 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19101 if test $ac_cv_c_const = no; then
19103 cat >>confdefs.h <<\_ACEOF
19109 { echo "$as_me:$LINENO: checking for inline" >&5
19110 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19111 if test "${ac_cv_c_inline+set}" = set; then
19112 echo $ECHO_N "(cached) $ECHO_C" >&6
19115 for ac_kw in inline __inline__ __inline; do
19116 cat >conftest.$ac_ext <<_ACEOF
19119 cat confdefs.h >>conftest.$ac_ext
19120 cat >>conftest.$ac_ext <<_ACEOF
19121 /* end confdefs.h. */
19122 #ifndef __cplusplus
19124 static $ac_kw foo_t static_foo () {return 0; }
19125 $ac_kw foo_t foo () {return 0; }
19129 rm -f conftest.$ac_objext
19130 if { (ac_try="$ac_compile"
19131 case "(($ac_try" in
19132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19133 *) ac_try_echo=$ac_try;;
19135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19136 (eval "$ac_compile") 2>conftest.er1
19138 grep -v '^ *+' conftest.er1 >conftest.err
19140 cat conftest.err >&5
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); } &&
19143 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19144 { (case "(($ac_try" in
19145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19146 *) ac_try_echo=$ac_try;;
19148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19149 (eval "$ac_try") 2>&5
19151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19152 (exit $ac_status); }; } &&
19153 { ac_try='test -s conftest.$ac_objext'
19154 { (case "(($ac_try" in
19155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19156 *) ac_try_echo=$ac_try;;
19158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19159 (eval "$ac_try") 2>&5
19161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162 (exit $ac_status); }; }; then
19163 ac_cv_c_inline=$ac_kw
19165 echo "$as_me: failed program was:" >&5
19166 sed 's/^/| /' conftest.$ac_ext >&5
19171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19172 test "$ac_cv_c_inline" != no && break
19176 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19177 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19180 case $ac_cv_c_inline in
19183 case $ac_cv_c_inline in
19185 *) ac_val=$ac_cv_c_inline;;
19187 cat >>confdefs.h <<_ACEOF
19188 #ifndef __cplusplus
19189 #define inline $ac_val
19195 { echo "$as_me:$LINENO: checking for mode_t" >&5
19196 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
19197 if test "${ac_cv_type_mode_t+set}" = set; then
19198 echo $ECHO_N "(cached) $ECHO_C" >&6
19200 cat >conftest.$ac_ext <<_ACEOF
19203 cat confdefs.h >>conftest.$ac_ext
19204 cat >>conftest.$ac_ext <<_ACEOF
19205 /* end confdefs.h. */
19206 $ac_includes_default
19207 typedef mode_t ac__type_new_;
19211 if ((ac__type_new_ *) 0)
19213 if (sizeof (ac__type_new_))
19219 rm -f conftest.$ac_objext
19220 if { (ac_try="$ac_compile"
19221 case "(($ac_try" in
19222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19223 *) ac_try_echo=$ac_try;;
19225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19226 (eval "$ac_compile") 2>conftest.er1
19228 grep -v '^ *+' conftest.er1 >conftest.err
19230 cat conftest.err >&5
19231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19232 (exit $ac_status); } &&
19233 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19234 { (case "(($ac_try" in
19235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19236 *) ac_try_echo=$ac_try;;
19238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19239 (eval "$ac_try") 2>&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); }; } &&
19243 { ac_try='test -s conftest.$ac_objext'
19244 { (case "(($ac_try" in
19245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19246 *) ac_try_echo=$ac_try;;
19248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19249 (eval "$ac_try") 2>&5
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); }; }; then
19253 ac_cv_type_mode_t=yes
19255 echo "$as_me: failed program was:" >&5
19256 sed 's/^/| /' conftest.$ac_ext >&5
19258 ac_cv_type_mode_t=no
19261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19263 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19264 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
19265 if test $ac_cv_type_mode_t = yes; then
19267 cat >>confdefs.h <<_ACEOF
19268 #define HAVE_MODE_T 1
19273 { echo "$as_me:$LINENO: checking for off_t" >&5
19274 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19275 if test "${ac_cv_type_off_t+set}" = set; then
19276 echo $ECHO_N "(cached) $ECHO_C" >&6
19278 cat >conftest.$ac_ext <<_ACEOF
19281 cat confdefs.h >>conftest.$ac_ext
19282 cat >>conftest.$ac_ext <<_ACEOF
19283 /* end confdefs.h. */
19284 $ac_includes_default
19285 typedef off_t ac__type_new_;
19289 if ((ac__type_new_ *) 0)
19291 if (sizeof (ac__type_new_))
19297 rm -f conftest.$ac_objext
19298 if { (ac_try="$ac_compile"
19299 case "(($ac_try" in
19300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19301 *) ac_try_echo=$ac_try;;
19303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19304 (eval "$ac_compile") 2>conftest.er1
19306 grep -v '^ *+' conftest.er1 >conftest.err
19308 cat conftest.err >&5
19309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19310 (exit $ac_status); } &&
19311 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19312 { (case "(($ac_try" in
19313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19314 *) ac_try_echo=$ac_try;;
19316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19317 (eval "$ac_try") 2>&5
19319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19320 (exit $ac_status); }; } &&
19321 { ac_try='test -s conftest.$ac_objext'
19322 { (case "(($ac_try" in
19323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19324 *) ac_try_echo=$ac_try;;
19326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19327 (eval "$ac_try") 2>&5
19329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19330 (exit $ac_status); }; }; then
19331 ac_cv_type_off_t=yes
19333 echo "$as_me: failed program was:" >&5
19334 sed 's/^/| /' conftest.$ac_ext >&5
19336 ac_cv_type_off_t=no
19339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19341 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19342 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19343 if test $ac_cv_type_off_t = yes; then
19345 cat >>confdefs.h <<_ACEOF
19346 #define HAVE_OFF_T 1
19351 { echo "$as_me:$LINENO: checking for pid_t" >&5
19352 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19353 if test "${ac_cv_type_pid_t+set}" = set; then
19354 echo $ECHO_N "(cached) $ECHO_C" >&6
19356 cat >conftest.$ac_ext <<_ACEOF
19359 cat confdefs.h >>conftest.$ac_ext
19360 cat >>conftest.$ac_ext <<_ACEOF
19361 /* end confdefs.h. */
19362 $ac_includes_default
19363 typedef pid_t ac__type_new_;
19367 if ((ac__type_new_ *) 0)
19369 if (sizeof (ac__type_new_))
19375 rm -f conftest.$ac_objext
19376 if { (ac_try="$ac_compile"
19377 case "(($ac_try" in
19378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19379 *) ac_try_echo=$ac_try;;
19381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19382 (eval "$ac_compile") 2>conftest.er1
19384 grep -v '^ *+' conftest.er1 >conftest.err
19386 cat conftest.err >&5
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); } &&
19389 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19390 { (case "(($ac_try" in
19391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19392 *) ac_try_echo=$ac_try;;
19394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19395 (eval "$ac_try") 2>&5
19397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398 (exit $ac_status); }; } &&
19399 { ac_try='test -s conftest.$ac_objext'
19400 { (case "(($ac_try" in
19401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19402 *) ac_try_echo=$ac_try;;
19404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19405 (eval "$ac_try") 2>&5
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); }; }; then
19409 ac_cv_type_pid_t=yes
19411 echo "$as_me: failed program was:" >&5
19412 sed 's/^/| /' conftest.$ac_ext >&5
19414 ac_cv_type_pid_t=no
19417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19419 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19420 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19421 if test $ac_cv_type_pid_t = yes; then
19423 cat >>confdefs.h <<_ACEOF
19424 #define HAVE_PID_T 1
19429 { echo "$as_me:$LINENO: checking for size_t" >&5
19430 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19431 if test "${ac_cv_type_size_t+set}" = set; then
19432 echo $ECHO_N "(cached) $ECHO_C" >&6
19434 cat >conftest.$ac_ext <<_ACEOF
19437 cat confdefs.h >>conftest.$ac_ext
19438 cat >>conftest.$ac_ext <<_ACEOF
19439 /* end confdefs.h. */
19440 $ac_includes_default
19441 typedef size_t ac__type_new_;
19445 if ((ac__type_new_ *) 0)
19447 if (sizeof (ac__type_new_))
19453 rm -f conftest.$ac_objext
19454 if { (ac_try="$ac_compile"
19455 case "(($ac_try" in
19456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19457 *) ac_try_echo=$ac_try;;
19459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19460 (eval "$ac_compile") 2>conftest.er1
19462 grep -v '^ *+' conftest.er1 >conftest.err
19464 cat conftest.err >&5
19465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19466 (exit $ac_status); } &&
19467 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19468 { (case "(($ac_try" in
19469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19470 *) ac_try_echo=$ac_try;;
19472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19473 (eval "$ac_try") 2>&5
19475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476 (exit $ac_status); }; } &&
19477 { ac_try='test -s conftest.$ac_objext'
19478 { (case "(($ac_try" in
19479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19480 *) ac_try_echo=$ac_try;;
19482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19483 (eval "$ac_try") 2>&5
19485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19486 (exit $ac_status); }; }; then
19487 ac_cv_type_size_t=yes
19489 echo "$as_me: failed program was:" >&5
19490 sed 's/^/| /' conftest.$ac_ext >&5
19492 ac_cv_type_size_t=no
19495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19497 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19498 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19499 if test $ac_cv_type_size_t = yes; then
19501 cat >>confdefs.h <<_ACEOF
19502 #define HAVE_SIZE_T 1
19507 { echo "$as_me:$LINENO: checking for ssize_t" >&5
19508 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
19509 if test "${ac_cv_type_ssize_t+set}" = set; then
19510 echo $ECHO_N "(cached) $ECHO_C" >&6
19512 cat >conftest.$ac_ext <<_ACEOF
19515 cat confdefs.h >>conftest.$ac_ext
19516 cat >>conftest.$ac_ext <<_ACEOF
19517 /* end confdefs.h. */
19518 $ac_includes_default
19519 typedef ssize_t ac__type_new_;
19523 if ((ac__type_new_ *) 0)
19525 if (sizeof (ac__type_new_))
19531 rm -f conftest.$ac_objext
19532 if { (ac_try="$ac_compile"
19533 case "(($ac_try" in
19534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19535 *) ac_try_echo=$ac_try;;
19537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19538 (eval "$ac_compile") 2>conftest.er1
19540 grep -v '^ *+' conftest.er1 >conftest.err
19542 cat conftest.err >&5
19543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544 (exit $ac_status); } &&
19545 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19546 { (case "(($ac_try" in
19547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19548 *) ac_try_echo=$ac_try;;
19550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19551 (eval "$ac_try") 2>&5
19553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19554 (exit $ac_status); }; } &&
19555 { ac_try='test -s conftest.$ac_objext'
19556 { (case "(($ac_try" in
19557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19558 *) ac_try_echo=$ac_try;;
19560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19561 (eval "$ac_try") 2>&5
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); }; }; then
19565 ac_cv_type_ssize_t=yes
19567 echo "$as_me: failed program was:" >&5
19568 sed 's/^/| /' conftest.$ac_ext >&5
19570 ac_cv_type_ssize_t=no
19573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19575 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
19576 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
19577 if test $ac_cv_type_ssize_t = yes; then
19579 cat >>confdefs.h <<_ACEOF
19580 #define HAVE_SSIZE_T 1
19585 { echo "$as_me:$LINENO: checking for long long" >&5
19586 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
19587 if test "${ac_cv_type_long_long+set}" = set; then
19588 echo $ECHO_N "(cached) $ECHO_C" >&6
19590 cat >conftest.$ac_ext <<_ACEOF
19593 cat confdefs.h >>conftest.$ac_ext
19594 cat >>conftest.$ac_ext <<_ACEOF
19595 /* end confdefs.h. */
19596 $ac_includes_default
19597 typedef long long ac__type_new_;
19601 if ((ac__type_new_ *) 0)
19603 if (sizeof (ac__type_new_))
19609 rm -f conftest.$ac_objext
19610 if { (ac_try="$ac_compile"
19611 case "(($ac_try" in
19612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19613 *) ac_try_echo=$ac_try;;
19615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19616 (eval "$ac_compile") 2>conftest.er1
19618 grep -v '^ *+' conftest.er1 >conftest.err
19620 cat conftest.err >&5
19621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19622 (exit $ac_status); } &&
19623 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19624 { (case "(($ac_try" in
19625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19626 *) ac_try_echo=$ac_try;;
19628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19629 (eval "$ac_try") 2>&5
19631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19632 (exit $ac_status); }; } &&
19633 { ac_try='test -s conftest.$ac_objext'
19634 { (case "(($ac_try" in
19635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19636 *) ac_try_echo=$ac_try;;
19638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19639 (eval "$ac_try") 2>&5
19641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19642 (exit $ac_status); }; }; then
19643 ac_cv_type_long_long=yes
19645 echo "$as_me: failed program was:" >&5
19646 sed 's/^/| /' conftest.$ac_ext >&5
19648 ac_cv_type_long_long=no
19651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19653 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19654 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
19655 if test $ac_cv_type_long_long = yes; then
19657 cat >>confdefs.h <<_ACEOF
19658 #define HAVE_LONG_LONG 1
19663 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
19664 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
19665 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
19666 echo $ECHO_N "(cached) $ECHO_C" >&6
19668 cat >conftest.$ac_ext <<_ACEOF
19671 cat confdefs.h >>conftest.$ac_ext
19672 cat >>conftest.$ac_ext <<_ACEOF
19673 /* end confdefs.h. */
19674 $ac_includes_default
19675 typedef fsblkcnt_t ac__type_new_;
19679 if ((ac__type_new_ *) 0)
19681 if (sizeof (ac__type_new_))
19687 rm -f conftest.$ac_objext
19688 if { (ac_try="$ac_compile"
19689 case "(($ac_try" in
19690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19691 *) ac_try_echo=$ac_try;;
19693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19694 (eval "$ac_compile") 2>conftest.er1
19696 grep -v '^ *+' conftest.er1 >conftest.err
19698 cat conftest.err >&5
19699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700 (exit $ac_status); } &&
19701 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19702 { (case "(($ac_try" in
19703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19704 *) ac_try_echo=$ac_try;;
19706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19707 (eval "$ac_try") 2>&5
19709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19710 (exit $ac_status); }; } &&
19711 { ac_try='test -s conftest.$ac_objext'
19712 { (case "(($ac_try" in
19713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19714 *) ac_try_echo=$ac_try;;
19716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19717 (eval "$ac_try") 2>&5
19719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720 (exit $ac_status); }; }; then
19721 ac_cv_type_fsblkcnt_t=yes
19723 echo "$as_me: failed program was:" >&5
19724 sed 's/^/| /' conftest.$ac_ext >&5
19726 ac_cv_type_fsblkcnt_t=no
19729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19731 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
19732 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
19733 if test $ac_cv_type_fsblkcnt_t = yes; then
19735 cat >>confdefs.h <<_ACEOF
19736 #define HAVE_FSBLKCNT_T 1
19741 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
19742 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
19743 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
19744 echo $ECHO_N "(cached) $ECHO_C" >&6
19746 cat >conftest.$ac_ext <<_ACEOF
19749 cat confdefs.h >>conftest.$ac_ext
19750 cat >>conftest.$ac_ext <<_ACEOF
19751 /* end confdefs.h. */
19752 $ac_includes_default
19753 typedef fsfilcnt_t ac__type_new_;
19757 if ((ac__type_new_ *) 0)
19759 if (sizeof (ac__type_new_))
19765 rm -f conftest.$ac_objext
19766 if { (ac_try="$ac_compile"
19767 case "(($ac_try" in
19768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19769 *) ac_try_echo=$ac_try;;
19771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19772 (eval "$ac_compile") 2>conftest.er1
19774 grep -v '^ *+' conftest.er1 >conftest.err
19776 cat conftest.err >&5
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); } &&
19779 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19780 { (case "(($ac_try" in
19781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19782 *) ac_try_echo=$ac_try;;
19784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19785 (eval "$ac_try") 2>&5
19787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19788 (exit $ac_status); }; } &&
19789 { ac_try='test -s conftest.$ac_objext'
19790 { (case "(($ac_try" in
19791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19792 *) ac_try_echo=$ac_try;;
19794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19795 (eval "$ac_try") 2>&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); }; }; then
19799 ac_cv_type_fsfilcnt_t=yes
19801 echo "$as_me: failed program was:" >&5
19802 sed 's/^/| /' conftest.$ac_ext >&5
19804 ac_cv_type_fsfilcnt_t=no
19807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19809 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
19810 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
19811 if test $ac_cv_type_fsfilcnt_t = yes; then
19813 cat >>confdefs.h <<_ACEOF
19814 #define HAVE_FSFILCNT_T 1
19820 { echo "$as_me:$LINENO: checking for sigset_t" >&5
19821 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
19822 if test "${ac_cv_type_sigset_t+set}" = set; then
19823 echo $ECHO_N "(cached) $ECHO_C" >&6
19825 cat >conftest.$ac_ext <<_ACEOF
19828 cat confdefs.h >>conftest.$ac_ext
19829 cat >>conftest.$ac_ext <<_ACEOF
19830 /* end confdefs.h. */
19831 #include <signal.h>
19833 typedef sigset_t ac__type_new_;
19837 if ((ac__type_new_ *) 0)
19839 if (sizeof (ac__type_new_))
19845 rm -f conftest.$ac_objext
19846 if { (ac_try="$ac_compile"
19847 case "(($ac_try" in
19848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19849 *) ac_try_echo=$ac_try;;
19851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19852 (eval "$ac_compile") 2>conftest.er1
19854 grep -v '^ *+' conftest.er1 >conftest.err
19856 cat conftest.err >&5
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); } &&
19859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19860 { (case "(($ac_try" in
19861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19862 *) ac_try_echo=$ac_try;;
19864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19865 (eval "$ac_try") 2>&5
19867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19868 (exit $ac_status); }; } &&
19869 { ac_try='test -s conftest.$ac_objext'
19870 { (case "(($ac_try" in
19871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19872 *) ac_try_echo=$ac_try;;
19874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19875 (eval "$ac_try") 2>&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); }; }; then
19879 ac_cv_type_sigset_t=yes
19881 echo "$as_me: failed program was:" >&5
19882 sed 's/^/| /' conftest.$ac_ext >&5
19884 ac_cv_type_sigset_t=no
19887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19889 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
19890 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
19891 if test $ac_cv_type_sigset_t = yes; then
19893 cat >>confdefs.h <<_ACEOF
19894 #define HAVE_SIGSET_T 1
19900 { echo "$as_me:$LINENO: checking for request_sense" >&5
19901 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
19902 if test "${ac_cv_type_request_sense+set}" = set; then
19903 echo $ECHO_N "(cached) $ECHO_C" >&6
19905 cat >conftest.$ac_ext <<_ACEOF
19908 cat confdefs.h >>conftest.$ac_ext
19909 cat >>conftest.$ac_ext <<_ACEOF
19910 /* end confdefs.h. */
19911 #include <linux/cdrom.h>
19913 typedef request_sense ac__type_new_;
19917 if ((ac__type_new_ *) 0)
19919 if (sizeof (ac__type_new_))
19925 rm -f conftest.$ac_objext
19926 if { (ac_try="$ac_compile"
19927 case "(($ac_try" in
19928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19929 *) ac_try_echo=$ac_try;;
19931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19932 (eval "$ac_compile") 2>conftest.er1
19934 grep -v '^ *+' conftest.er1 >conftest.err
19936 cat conftest.err >&5
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); } &&
19939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19940 { (case "(($ac_try" in
19941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19942 *) ac_try_echo=$ac_try;;
19944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19945 (eval "$ac_try") 2>&5
19947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948 (exit $ac_status); }; } &&
19949 { ac_try='test -s conftest.$ac_objext'
19950 { (case "(($ac_try" in
19951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19952 *) ac_try_echo=$ac_try;;
19954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19955 (eval "$ac_try") 2>&5
19957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19958 (exit $ac_status); }; }; then
19959 ac_cv_type_request_sense=yes
19961 echo "$as_me: failed program was:" >&5
19962 sed 's/^/| /' conftest.$ac_ext >&5
19964 ac_cv_type_request_sense=no
19967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19969 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
19970 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
19971 if test $ac_cv_type_request_sense = yes; then
19973 cat >>confdefs.h <<_ACEOF
19974 #define HAVE_REQUEST_SENSE 1
19981 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
19982 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
19983 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
19984 echo $ECHO_N "(cached) $ECHO_C" >&6
19986 cat >conftest.$ac_ext <<_ACEOF
19989 cat confdefs.h >>conftest.$ac_ext
19990 cat >>conftest.$ac_ext <<_ACEOF
19991 /* end confdefs.h. */
19992 #ifdef HAVE_LINUX_INPUT_H
19993 #include <linux/input.h>
19999 static struct ff_effect ac_aggr;
20000 if (ac_aggr.direction)
20006 rm -f conftest.$ac_objext
20007 if { (ac_try="$ac_compile"
20008 case "(($ac_try" in
20009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20010 *) ac_try_echo=$ac_try;;
20012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20013 (eval "$ac_compile") 2>conftest.er1
20015 grep -v '^ *+' conftest.er1 >conftest.err
20017 cat conftest.err >&5
20018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20019 (exit $ac_status); } &&
20020 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20021 { (case "(($ac_try" in
20022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20023 *) ac_try_echo=$ac_try;;
20025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20026 (eval "$ac_try") 2>&5
20028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20029 (exit $ac_status); }; } &&
20030 { ac_try='test -s conftest.$ac_objext'
20031 { (case "(($ac_try" in
20032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20033 *) ac_try_echo=$ac_try;;
20035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20036 (eval "$ac_try") 2>&5
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); }; }; then
20040 ac_cv_member_struct_ff_effect_direction=yes
20042 echo "$as_me: failed program was:" >&5
20043 sed 's/^/| /' conftest.$ac_ext >&5
20045 cat >conftest.$ac_ext <<_ACEOF
20048 cat confdefs.h >>conftest.$ac_ext
20049 cat >>conftest.$ac_ext <<_ACEOF
20050 /* end confdefs.h. */
20051 #ifdef HAVE_LINUX_INPUT_H
20052 #include <linux/input.h>
20058 static struct ff_effect ac_aggr;
20059 if (sizeof ac_aggr.direction)
20065 rm -f conftest.$ac_objext
20066 if { (ac_try="$ac_compile"
20067 case "(($ac_try" in
20068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20069 *) ac_try_echo=$ac_try;;
20071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20072 (eval "$ac_compile") 2>conftest.er1
20074 grep -v '^ *+' conftest.er1 >conftest.err
20076 cat conftest.err >&5
20077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20078 (exit $ac_status); } &&
20079 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20080 { (case "(($ac_try" in
20081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20082 *) ac_try_echo=$ac_try;;
20084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20085 (eval "$ac_try") 2>&5
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); }; } &&
20089 { ac_try='test -s conftest.$ac_objext'
20090 { (case "(($ac_try" in
20091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20092 *) ac_try_echo=$ac_try;;
20094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20095 (eval "$ac_try") 2>&5
20097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20098 (exit $ac_status); }; }; then
20099 ac_cv_member_struct_ff_effect_direction=yes
20101 echo "$as_me: failed program was:" >&5
20102 sed 's/^/| /' conftest.$ac_ext >&5
20104 ac_cv_member_struct_ff_effect_direction=no
20107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20112 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
20113 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
20114 if test $ac_cv_member_struct_ff_effect_direction = yes; then
20116 cat >>confdefs.h <<_ACEOF
20117 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
20124 { echo "$as_me:$LINENO: checking for sigaddset" >&5
20125 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
20126 if test "${wine_cv_have_sigaddset+set}" = set; then
20127 echo $ECHO_N "(cached) $ECHO_C" >&6
20129 cat >conftest.$ac_ext <<_ACEOF
20132 cat confdefs.h >>conftest.$ac_ext
20133 cat >>conftest.$ac_ext <<_ACEOF
20134 /* end confdefs.h. */
20135 #include <signal.h>
20139 sigset_t set; sigaddset(&set,SIGTERM);
20144 rm -f conftest.$ac_objext conftest$ac_exeext
20145 if { (ac_try="$ac_link"
20146 case "(($ac_try" in
20147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20148 *) ac_try_echo=$ac_try;;
20150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20151 (eval "$ac_link") 2>conftest.er1
20153 grep -v '^ *+' conftest.er1 >conftest.err
20155 cat conftest.err >&5
20156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157 (exit $ac_status); } &&
20158 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20159 { (case "(($ac_try" in
20160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20161 *) ac_try_echo=$ac_try;;
20163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20164 (eval "$ac_try") 2>&5
20166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167 (exit $ac_status); }; } &&
20168 { ac_try='test -s conftest$ac_exeext'
20169 { (case "(($ac_try" in
20170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20171 *) ac_try_echo=$ac_try;;
20173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20174 (eval "$ac_try") 2>&5
20176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20177 (exit $ac_status); }; }; then
20178 wine_cv_have_sigaddset=yes
20180 echo "$as_me: failed program was:" >&5
20181 sed 's/^/| /' conftest.$ac_ext >&5
20183 wine_cv_have_sigaddset=no
20186 rm -f core conftest.err conftest.$ac_objext \
20187 conftest$ac_exeext conftest.$ac_ext
20189 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20190 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
20191 if test "$wine_cv_have_sigaddset" = "yes"
20194 cat >>confdefs.h <<\_ACEOF
20195 #define HAVE_SIGADDSET 1
20201 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20202 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
20203 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
20204 echo $ECHO_N "(cached) $ECHO_C" >&6
20206 cat >conftest.$ac_ext <<_ACEOF
20209 cat confdefs.h >>conftest.$ac_ext
20210 cat >>conftest.$ac_ext <<_ACEOF
20211 /* end confdefs.h. */
20221 struct hostent *result;
20228 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20229 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20235 rm -f conftest.$ac_objext conftest$ac_exeext
20236 if { (ac_try="$ac_link"
20237 case "(($ac_try" in
20238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20239 *) ac_try_echo=$ac_try;;
20241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20242 (eval "$ac_link") 2>conftest.er1
20244 grep -v '^ *+' conftest.er1 >conftest.err
20246 cat conftest.err >&5
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); } &&
20249 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20250 { (case "(($ac_try" in
20251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20252 *) ac_try_echo=$ac_try;;
20254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20255 (eval "$ac_try") 2>&5
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); }; } &&
20259 { ac_try='test -s conftest$ac_exeext'
20260 { (case "(($ac_try" in
20261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20262 *) ac_try_echo=$ac_try;;
20264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20265 (eval "$ac_try") 2>&5
20267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20268 (exit $ac_status); }; }; then
20269 wine_cv_linux_gethostbyname_r_6=yes
20271 echo "$as_me: failed program was:" >&5
20272 sed 's/^/| /' conftest.$ac_ext >&5
20274 wine_cv_linux_gethostbyname_r_6=no
20278 rm -f core conftest.err conftest.$ac_objext \
20279 conftest$ac_exeext conftest.$ac_ext
20282 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
20283 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
20284 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20287 cat >>confdefs.h <<\_ACEOF
20288 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
20293 if test "$ac_cv_header_linux_joystick_h" = "yes"
20295 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20296 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
20297 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
20298 echo $ECHO_N "(cached) $ECHO_C" >&6
20300 cat >conftest.$ac_ext <<_ACEOF
20303 cat confdefs.h >>conftest.$ac_ext
20304 cat >>conftest.$ac_ext <<_ACEOF
20305 /* end confdefs.h. */
20307 #include <sys/ioctl.h>
20308 #include <linux/joystick.h>
20310 struct js_event blub;
20311 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20312 #error "no 2.2 header"
20323 rm -f conftest.$ac_objext
20324 if { (ac_try="$ac_compile"
20325 case "(($ac_try" in
20326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20327 *) ac_try_echo=$ac_try;;
20329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20330 (eval "$ac_compile") 2>conftest.er1
20332 grep -v '^ *+' conftest.er1 >conftest.err
20334 cat conftest.err >&5
20335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20336 (exit $ac_status); } &&
20337 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20338 { (case "(($ac_try" in
20339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20340 *) ac_try_echo=$ac_try;;
20342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20343 (eval "$ac_try") 2>&5
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); }; } &&
20347 { ac_try='test -s conftest.$ac_objext'
20348 { (case "(($ac_try" in
20349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20350 *) ac_try_echo=$ac_try;;
20352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20353 (eval "$ac_try") 2>&5
20355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20356 (exit $ac_status); }; }; then
20357 wine_cv_linux_joystick_22_api=yes
20359 echo "$as_me: failed program was:" >&5
20360 sed 's/^/| /' conftest.$ac_ext >&5
20362 wine_cv_linux_joystick_22_api=no
20365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20368 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
20369 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
20370 if test "$wine_cv_linux_joystick_22_api" = "yes"
20373 cat >>confdefs.h <<\_ACEOF
20374 #define HAVE_LINUX_22_JOYSTICK_API 1
20381 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
20382 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
20383 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
20384 echo $ECHO_N "(cached) $ECHO_C" >&6
20386 cat >conftest.$ac_ext <<_ACEOF
20389 cat confdefs.h >>conftest.$ac_ext
20390 cat >>conftest.$ac_ext <<_ACEOF
20391 /* end confdefs.h. */
20392 #include <sys/types.h>
20393 #ifdef HAVE_SYS_PARAM_H
20394 # include <sys/param.h>
20396 #ifdef HAVE_SYS_MOUNT_H
20397 # include <sys/mount.h>
20399 #ifdef HAVE_SYS_VFS_H
20400 # include <sys/vfs.h>
20402 #ifdef HAVE_SYS_STATFS_H
20403 # include <sys/statfs.h>
20409 static struct statfs ac_aggr;
20410 if (ac_aggr.f_bfree)
20416 rm -f conftest.$ac_objext
20417 if { (ac_try="$ac_compile"
20418 case "(($ac_try" in
20419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20420 *) ac_try_echo=$ac_try;;
20422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20423 (eval "$ac_compile") 2>conftest.er1
20425 grep -v '^ *+' conftest.er1 >conftest.err
20427 cat conftest.err >&5
20428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20429 (exit $ac_status); } &&
20430 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20431 { (case "(($ac_try" in
20432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20433 *) ac_try_echo=$ac_try;;
20435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20436 (eval "$ac_try") 2>&5
20438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20439 (exit $ac_status); }; } &&
20440 { ac_try='test -s conftest.$ac_objext'
20441 { (case "(($ac_try" in
20442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20443 *) ac_try_echo=$ac_try;;
20445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20446 (eval "$ac_try") 2>&5
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); }; }; then
20450 ac_cv_member_struct_statfs_f_bfree=yes
20452 echo "$as_me: failed program was:" >&5
20453 sed 's/^/| /' conftest.$ac_ext >&5
20455 cat >conftest.$ac_ext <<_ACEOF
20458 cat confdefs.h >>conftest.$ac_ext
20459 cat >>conftest.$ac_ext <<_ACEOF
20460 /* end confdefs.h. */
20461 #include <sys/types.h>
20462 #ifdef HAVE_SYS_PARAM_H
20463 # include <sys/param.h>
20465 #ifdef HAVE_SYS_MOUNT_H
20466 # include <sys/mount.h>
20468 #ifdef HAVE_SYS_VFS_H
20469 # include <sys/vfs.h>
20471 #ifdef HAVE_SYS_STATFS_H
20472 # include <sys/statfs.h>
20478 static struct statfs ac_aggr;
20479 if (sizeof ac_aggr.f_bfree)
20485 rm -f conftest.$ac_objext
20486 if { (ac_try="$ac_compile"
20487 case "(($ac_try" in
20488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20489 *) ac_try_echo=$ac_try;;
20491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20492 (eval "$ac_compile") 2>conftest.er1
20494 grep -v '^ *+' conftest.er1 >conftest.err
20496 cat conftest.err >&5
20497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20498 (exit $ac_status); } &&
20499 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20500 { (case "(($ac_try" in
20501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20502 *) ac_try_echo=$ac_try;;
20504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20505 (eval "$ac_try") 2>&5
20507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20508 (exit $ac_status); }; } &&
20509 { ac_try='test -s conftest.$ac_objext'
20510 { (case "(($ac_try" in
20511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20512 *) ac_try_echo=$ac_try;;
20514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20515 (eval "$ac_try") 2>&5
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); }; }; then
20519 ac_cv_member_struct_statfs_f_bfree=yes
20521 echo "$as_me: failed program was:" >&5
20522 sed 's/^/| /' conftest.$ac_ext >&5
20524 ac_cv_member_struct_statfs_f_bfree=no
20527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20532 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
20533 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
20534 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
20536 cat >>confdefs.h <<_ACEOF
20537 #define HAVE_STRUCT_STATFS_F_BFREE 1
20542 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
20543 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
20544 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
20545 echo $ECHO_N "(cached) $ECHO_C" >&6
20547 cat >conftest.$ac_ext <<_ACEOF
20550 cat confdefs.h >>conftest.$ac_ext
20551 cat >>conftest.$ac_ext <<_ACEOF
20552 /* end confdefs.h. */
20553 #include <sys/types.h>
20554 #ifdef HAVE_SYS_PARAM_H
20555 # include <sys/param.h>
20557 #ifdef HAVE_SYS_MOUNT_H
20558 # include <sys/mount.h>
20560 #ifdef HAVE_SYS_VFS_H
20561 # include <sys/vfs.h>
20563 #ifdef HAVE_SYS_STATFS_H
20564 # include <sys/statfs.h>
20570 static struct statfs ac_aggr;
20571 if (ac_aggr.f_bavail)
20577 rm -f conftest.$ac_objext
20578 if { (ac_try="$ac_compile"
20579 case "(($ac_try" in
20580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20581 *) ac_try_echo=$ac_try;;
20583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20584 (eval "$ac_compile") 2>conftest.er1
20586 grep -v '^ *+' conftest.er1 >conftest.err
20588 cat conftest.err >&5
20589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20590 (exit $ac_status); } &&
20591 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20592 { (case "(($ac_try" in
20593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20594 *) ac_try_echo=$ac_try;;
20596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20597 (eval "$ac_try") 2>&5
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); }; } &&
20601 { ac_try='test -s conftest.$ac_objext'
20602 { (case "(($ac_try" in
20603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20604 *) ac_try_echo=$ac_try;;
20606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20607 (eval "$ac_try") 2>&5
20609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 (exit $ac_status); }; }; then
20611 ac_cv_member_struct_statfs_f_bavail=yes
20613 echo "$as_me: failed program was:" >&5
20614 sed 's/^/| /' conftest.$ac_ext >&5
20616 cat >conftest.$ac_ext <<_ACEOF
20619 cat confdefs.h >>conftest.$ac_ext
20620 cat >>conftest.$ac_ext <<_ACEOF
20621 /* end confdefs.h. */
20622 #include <sys/types.h>
20623 #ifdef HAVE_SYS_PARAM_H
20624 # include <sys/param.h>
20626 #ifdef HAVE_SYS_MOUNT_H
20627 # include <sys/mount.h>
20629 #ifdef HAVE_SYS_VFS_H
20630 # include <sys/vfs.h>
20632 #ifdef HAVE_SYS_STATFS_H
20633 # include <sys/statfs.h>
20639 static struct statfs ac_aggr;
20640 if (sizeof ac_aggr.f_bavail)
20646 rm -f conftest.$ac_objext
20647 if { (ac_try="$ac_compile"
20648 case "(($ac_try" in
20649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20650 *) ac_try_echo=$ac_try;;
20652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20653 (eval "$ac_compile") 2>conftest.er1
20655 grep -v '^ *+' conftest.er1 >conftest.err
20657 cat conftest.err >&5
20658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20659 (exit $ac_status); } &&
20660 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20661 { (case "(($ac_try" in
20662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20663 *) ac_try_echo=$ac_try;;
20665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20666 (eval "$ac_try") 2>&5
20668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20669 (exit $ac_status); }; } &&
20670 { ac_try='test -s conftest.$ac_objext'
20671 { (case "(($ac_try" in
20672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20673 *) ac_try_echo=$ac_try;;
20675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20676 (eval "$ac_try") 2>&5
20678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20679 (exit $ac_status); }; }; then
20680 ac_cv_member_struct_statfs_f_bavail=yes
20682 echo "$as_me: failed program was:" >&5
20683 sed 's/^/| /' conftest.$ac_ext >&5
20685 ac_cv_member_struct_statfs_f_bavail=no
20688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20693 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
20694 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
20695 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
20697 cat >>confdefs.h <<_ACEOF
20698 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
20703 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
20704 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
20705 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
20706 echo $ECHO_N "(cached) $ECHO_C" >&6
20708 cat >conftest.$ac_ext <<_ACEOF
20711 cat confdefs.h >>conftest.$ac_ext
20712 cat >>conftest.$ac_ext <<_ACEOF
20713 /* end confdefs.h. */
20714 #include <sys/types.h>
20715 #ifdef HAVE_SYS_PARAM_H
20716 # include <sys/param.h>
20718 #ifdef HAVE_SYS_MOUNT_H
20719 # include <sys/mount.h>
20721 #ifdef HAVE_SYS_VFS_H
20722 # include <sys/vfs.h>
20724 #ifdef HAVE_SYS_STATFS_H
20725 # include <sys/statfs.h>
20731 static struct statfs ac_aggr;
20732 if (ac_aggr.f_frsize)
20738 rm -f conftest.$ac_objext
20739 if { (ac_try="$ac_compile"
20740 case "(($ac_try" in
20741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20742 *) ac_try_echo=$ac_try;;
20744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20745 (eval "$ac_compile") 2>conftest.er1
20747 grep -v '^ *+' conftest.er1 >conftest.err
20749 cat conftest.err >&5
20750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20751 (exit $ac_status); } &&
20752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20753 { (case "(($ac_try" in
20754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20755 *) ac_try_echo=$ac_try;;
20757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20758 (eval "$ac_try") 2>&5
20760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20761 (exit $ac_status); }; } &&
20762 { ac_try='test -s conftest.$ac_objext'
20763 { (case "(($ac_try" in
20764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20765 *) ac_try_echo=$ac_try;;
20767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20768 (eval "$ac_try") 2>&5
20770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20771 (exit $ac_status); }; }; then
20772 ac_cv_member_struct_statfs_f_frsize=yes
20774 echo "$as_me: failed program was:" >&5
20775 sed 's/^/| /' conftest.$ac_ext >&5
20777 cat >conftest.$ac_ext <<_ACEOF
20780 cat confdefs.h >>conftest.$ac_ext
20781 cat >>conftest.$ac_ext <<_ACEOF
20782 /* end confdefs.h. */
20783 #include <sys/types.h>
20784 #ifdef HAVE_SYS_PARAM_H
20785 # include <sys/param.h>
20787 #ifdef HAVE_SYS_MOUNT_H
20788 # include <sys/mount.h>
20790 #ifdef HAVE_SYS_VFS_H
20791 # include <sys/vfs.h>
20793 #ifdef HAVE_SYS_STATFS_H
20794 # include <sys/statfs.h>
20800 static struct statfs ac_aggr;
20801 if (sizeof ac_aggr.f_frsize)
20807 rm -f conftest.$ac_objext
20808 if { (ac_try="$ac_compile"
20809 case "(($ac_try" in
20810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20811 *) ac_try_echo=$ac_try;;
20813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20814 (eval "$ac_compile") 2>conftest.er1
20816 grep -v '^ *+' conftest.er1 >conftest.err
20818 cat conftest.err >&5
20819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20820 (exit $ac_status); } &&
20821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20822 { (case "(($ac_try" in
20823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20824 *) ac_try_echo=$ac_try;;
20826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20827 (eval "$ac_try") 2>&5
20829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20830 (exit $ac_status); }; } &&
20831 { ac_try='test -s conftest.$ac_objext'
20832 { (case "(($ac_try" in
20833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20834 *) ac_try_echo=$ac_try;;
20836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20837 (eval "$ac_try") 2>&5
20839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20840 (exit $ac_status); }; }; then
20841 ac_cv_member_struct_statfs_f_frsize=yes
20843 echo "$as_me: failed program was:" >&5
20844 sed 's/^/| /' conftest.$ac_ext >&5
20846 ac_cv_member_struct_statfs_f_frsize=no
20849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20854 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
20855 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
20856 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
20858 cat >>confdefs.h <<_ACEOF
20859 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
20864 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
20865 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
20866 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
20867 echo $ECHO_N "(cached) $ECHO_C" >&6
20869 cat >conftest.$ac_ext <<_ACEOF
20872 cat confdefs.h >>conftest.$ac_ext
20873 cat >>conftest.$ac_ext <<_ACEOF
20874 /* end confdefs.h. */
20875 #include <sys/types.h>
20876 #ifdef HAVE_SYS_PARAM_H
20877 # include <sys/param.h>
20879 #ifdef HAVE_SYS_MOUNT_H
20880 # include <sys/mount.h>
20882 #ifdef HAVE_SYS_VFS_H
20883 # include <sys/vfs.h>
20885 #ifdef HAVE_SYS_STATFS_H
20886 # include <sys/statfs.h>
20892 static struct statfs ac_aggr;
20893 if (ac_aggr.f_ffree)
20899 rm -f conftest.$ac_objext
20900 if { (ac_try="$ac_compile"
20901 case "(($ac_try" in
20902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20903 *) ac_try_echo=$ac_try;;
20905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20906 (eval "$ac_compile") 2>conftest.er1
20908 grep -v '^ *+' conftest.er1 >conftest.err
20910 cat conftest.err >&5
20911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20912 (exit $ac_status); } &&
20913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20914 { (case "(($ac_try" in
20915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20916 *) ac_try_echo=$ac_try;;
20918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20919 (eval "$ac_try") 2>&5
20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922 (exit $ac_status); }; } &&
20923 { ac_try='test -s conftest.$ac_objext'
20924 { (case "(($ac_try" in
20925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20926 *) ac_try_echo=$ac_try;;
20928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20929 (eval "$ac_try") 2>&5
20931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20932 (exit $ac_status); }; }; then
20933 ac_cv_member_struct_statfs_f_ffree=yes
20935 echo "$as_me: failed program was:" >&5
20936 sed 's/^/| /' conftest.$ac_ext >&5
20938 cat >conftest.$ac_ext <<_ACEOF
20941 cat confdefs.h >>conftest.$ac_ext
20942 cat >>conftest.$ac_ext <<_ACEOF
20943 /* end confdefs.h. */
20944 #include <sys/types.h>
20945 #ifdef HAVE_SYS_PARAM_H
20946 # include <sys/param.h>
20948 #ifdef HAVE_SYS_MOUNT_H
20949 # include <sys/mount.h>
20951 #ifdef HAVE_SYS_VFS_H
20952 # include <sys/vfs.h>
20954 #ifdef HAVE_SYS_STATFS_H
20955 # include <sys/statfs.h>
20961 static struct statfs ac_aggr;
20962 if (sizeof ac_aggr.f_ffree)
20968 rm -f conftest.$ac_objext
20969 if { (ac_try="$ac_compile"
20970 case "(($ac_try" in
20971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20972 *) ac_try_echo=$ac_try;;
20974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20975 (eval "$ac_compile") 2>conftest.er1
20977 grep -v '^ *+' conftest.er1 >conftest.err
20979 cat conftest.err >&5
20980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20981 (exit $ac_status); } &&
20982 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20983 { (case "(($ac_try" in
20984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20985 *) ac_try_echo=$ac_try;;
20987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20988 (eval "$ac_try") 2>&5
20990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20991 (exit $ac_status); }; } &&
20992 { ac_try='test -s conftest.$ac_objext'
20993 { (case "(($ac_try" in
20994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20995 *) ac_try_echo=$ac_try;;
20997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20998 (eval "$ac_try") 2>&5
21000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21001 (exit $ac_status); }; }; then
21002 ac_cv_member_struct_statfs_f_ffree=yes
21004 echo "$as_me: failed program was:" >&5
21005 sed 's/^/| /' conftest.$ac_ext >&5
21007 ac_cv_member_struct_statfs_f_ffree=no
21010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21015 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
21016 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
21017 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
21019 cat >>confdefs.h <<_ACEOF
21020 #define HAVE_STRUCT_STATFS_F_FFREE 1
21025 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
21026 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
21027 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
21028 echo $ECHO_N "(cached) $ECHO_C" >&6
21030 cat >conftest.$ac_ext <<_ACEOF
21033 cat confdefs.h >>conftest.$ac_ext
21034 cat >>conftest.$ac_ext <<_ACEOF
21035 /* end confdefs.h. */
21036 #include <sys/types.h>
21037 #ifdef HAVE_SYS_PARAM_H
21038 # include <sys/param.h>
21040 #ifdef HAVE_SYS_MOUNT_H
21041 # include <sys/mount.h>
21043 #ifdef HAVE_SYS_VFS_H
21044 # include <sys/vfs.h>
21046 #ifdef HAVE_SYS_STATFS_H
21047 # include <sys/statfs.h>
21053 static struct statfs ac_aggr;
21054 if (ac_aggr.f_favail)
21060 rm -f conftest.$ac_objext
21061 if { (ac_try="$ac_compile"
21062 case "(($ac_try" in
21063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21064 *) ac_try_echo=$ac_try;;
21066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21067 (eval "$ac_compile") 2>conftest.er1
21069 grep -v '^ *+' conftest.er1 >conftest.err
21071 cat conftest.err >&5
21072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21073 (exit $ac_status); } &&
21074 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21075 { (case "(($ac_try" in
21076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21077 *) ac_try_echo=$ac_try;;
21079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21080 (eval "$ac_try") 2>&5
21082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083 (exit $ac_status); }; } &&
21084 { ac_try='test -s conftest.$ac_objext'
21085 { (case "(($ac_try" in
21086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21087 *) ac_try_echo=$ac_try;;
21089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21090 (eval "$ac_try") 2>&5
21092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21093 (exit $ac_status); }; }; then
21094 ac_cv_member_struct_statfs_f_favail=yes
21096 echo "$as_me: failed program was:" >&5
21097 sed 's/^/| /' conftest.$ac_ext >&5
21099 cat >conftest.$ac_ext <<_ACEOF
21102 cat confdefs.h >>conftest.$ac_ext
21103 cat >>conftest.$ac_ext <<_ACEOF
21104 /* end confdefs.h. */
21105 #include <sys/types.h>
21106 #ifdef HAVE_SYS_PARAM_H
21107 # include <sys/param.h>
21109 #ifdef HAVE_SYS_MOUNT_H
21110 # include <sys/mount.h>
21112 #ifdef HAVE_SYS_VFS_H
21113 # include <sys/vfs.h>
21115 #ifdef HAVE_SYS_STATFS_H
21116 # include <sys/statfs.h>
21122 static struct statfs ac_aggr;
21123 if (sizeof ac_aggr.f_favail)
21129 rm -f conftest.$ac_objext
21130 if { (ac_try="$ac_compile"
21131 case "(($ac_try" in
21132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21133 *) ac_try_echo=$ac_try;;
21135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21136 (eval "$ac_compile") 2>conftest.er1
21138 grep -v '^ *+' conftest.er1 >conftest.err
21140 cat conftest.err >&5
21141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142 (exit $ac_status); } &&
21143 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21144 { (case "(($ac_try" in
21145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21146 *) ac_try_echo=$ac_try;;
21148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21149 (eval "$ac_try") 2>&5
21151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21152 (exit $ac_status); }; } &&
21153 { ac_try='test -s conftest.$ac_objext'
21154 { (case "(($ac_try" in
21155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21156 *) ac_try_echo=$ac_try;;
21158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21159 (eval "$ac_try") 2>&5
21161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21162 (exit $ac_status); }; }; then
21163 ac_cv_member_struct_statfs_f_favail=yes
21165 echo "$as_me: failed program was:" >&5
21166 sed 's/^/| /' conftest.$ac_ext >&5
21168 ac_cv_member_struct_statfs_f_favail=no
21171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21176 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
21177 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
21178 if test $ac_cv_member_struct_statfs_f_favail = yes; then
21180 cat >>confdefs.h <<_ACEOF
21181 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
21186 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
21187 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
21188 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
21189 echo $ECHO_N "(cached) $ECHO_C" >&6
21191 cat >conftest.$ac_ext <<_ACEOF
21194 cat confdefs.h >>conftest.$ac_ext
21195 cat >>conftest.$ac_ext <<_ACEOF
21196 /* end confdefs.h. */
21197 #include <sys/types.h>
21198 #ifdef HAVE_SYS_PARAM_H
21199 # include <sys/param.h>
21201 #ifdef HAVE_SYS_MOUNT_H
21202 # include <sys/mount.h>
21204 #ifdef HAVE_SYS_VFS_H
21205 # include <sys/vfs.h>
21207 #ifdef HAVE_SYS_STATFS_H
21208 # include <sys/statfs.h>
21214 static struct statfs ac_aggr;
21215 if (ac_aggr.f_namelen)
21221 rm -f conftest.$ac_objext
21222 if { (ac_try="$ac_compile"
21223 case "(($ac_try" in
21224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21225 *) ac_try_echo=$ac_try;;
21227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21228 (eval "$ac_compile") 2>conftest.er1
21230 grep -v '^ *+' conftest.er1 >conftest.err
21232 cat conftest.err >&5
21233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21234 (exit $ac_status); } &&
21235 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21236 { (case "(($ac_try" in
21237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21238 *) ac_try_echo=$ac_try;;
21240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21241 (eval "$ac_try") 2>&5
21243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244 (exit $ac_status); }; } &&
21245 { ac_try='test -s conftest.$ac_objext'
21246 { (case "(($ac_try" in
21247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21248 *) ac_try_echo=$ac_try;;
21250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21251 (eval "$ac_try") 2>&5
21253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21254 (exit $ac_status); }; }; then
21255 ac_cv_member_struct_statfs_f_namelen=yes
21257 echo "$as_me: failed program was:" >&5
21258 sed 's/^/| /' conftest.$ac_ext >&5
21260 cat >conftest.$ac_ext <<_ACEOF
21263 cat confdefs.h >>conftest.$ac_ext
21264 cat >>conftest.$ac_ext <<_ACEOF
21265 /* end confdefs.h. */
21266 #include <sys/types.h>
21267 #ifdef HAVE_SYS_PARAM_H
21268 # include <sys/param.h>
21270 #ifdef HAVE_SYS_MOUNT_H
21271 # include <sys/mount.h>
21273 #ifdef HAVE_SYS_VFS_H
21274 # include <sys/vfs.h>
21276 #ifdef HAVE_SYS_STATFS_H
21277 # include <sys/statfs.h>
21283 static struct statfs ac_aggr;
21284 if (sizeof ac_aggr.f_namelen)
21290 rm -f conftest.$ac_objext
21291 if { (ac_try="$ac_compile"
21292 case "(($ac_try" in
21293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21294 *) ac_try_echo=$ac_try;;
21296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21297 (eval "$ac_compile") 2>conftest.er1
21299 grep -v '^ *+' conftest.er1 >conftest.err
21301 cat conftest.err >&5
21302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21303 (exit $ac_status); } &&
21304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21305 { (case "(($ac_try" in
21306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21307 *) ac_try_echo=$ac_try;;
21309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21310 (eval "$ac_try") 2>&5
21312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21313 (exit $ac_status); }; } &&
21314 { ac_try='test -s conftest.$ac_objext'
21315 { (case "(($ac_try" in
21316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21317 *) ac_try_echo=$ac_try;;
21319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21320 (eval "$ac_try") 2>&5
21322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21323 (exit $ac_status); }; }; then
21324 ac_cv_member_struct_statfs_f_namelen=yes
21326 echo "$as_me: failed program was:" >&5
21327 sed 's/^/| /' conftest.$ac_ext >&5
21329 ac_cv_member_struct_statfs_f_namelen=no
21332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21337 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
21338 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
21339 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
21341 cat >>confdefs.h <<_ACEOF
21342 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
21349 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
21350 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
21351 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
21352 echo $ECHO_N "(cached) $ECHO_C" >&6
21354 cat >conftest.$ac_ext <<_ACEOF
21357 cat confdefs.h >>conftest.$ac_ext
21358 cat >>conftest.$ac_ext <<_ACEOF
21359 /* end confdefs.h. */
21360 #ifdef HAVE_SYS_STATVFS_H
21361 #include <sys/statvfs.h>
21367 static struct statvfs ac_aggr;
21368 if (ac_aggr.f_blocks)
21374 rm -f conftest.$ac_objext
21375 if { (ac_try="$ac_compile"
21376 case "(($ac_try" in
21377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21378 *) ac_try_echo=$ac_try;;
21380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21381 (eval "$ac_compile") 2>conftest.er1
21383 grep -v '^ *+' conftest.er1 >conftest.err
21385 cat conftest.err >&5
21386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21387 (exit $ac_status); } &&
21388 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21389 { (case "(($ac_try" in
21390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21391 *) ac_try_echo=$ac_try;;
21393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21394 (eval "$ac_try") 2>&5
21396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21397 (exit $ac_status); }; } &&
21398 { ac_try='test -s conftest.$ac_objext'
21399 { (case "(($ac_try" in
21400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21401 *) ac_try_echo=$ac_try;;
21403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21404 (eval "$ac_try") 2>&5
21406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21407 (exit $ac_status); }; }; then
21408 ac_cv_member_struct_statvfs_f_blocks=yes
21410 echo "$as_me: failed program was:" >&5
21411 sed 's/^/| /' conftest.$ac_ext >&5
21413 cat >conftest.$ac_ext <<_ACEOF
21416 cat confdefs.h >>conftest.$ac_ext
21417 cat >>conftest.$ac_ext <<_ACEOF
21418 /* end confdefs.h. */
21419 #ifdef HAVE_SYS_STATVFS_H
21420 #include <sys/statvfs.h>
21426 static struct statvfs ac_aggr;
21427 if (sizeof ac_aggr.f_blocks)
21433 rm -f conftest.$ac_objext
21434 if { (ac_try="$ac_compile"
21435 case "(($ac_try" in
21436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21437 *) ac_try_echo=$ac_try;;
21439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21440 (eval "$ac_compile") 2>conftest.er1
21442 grep -v '^ *+' conftest.er1 >conftest.err
21444 cat conftest.err >&5
21445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21446 (exit $ac_status); } &&
21447 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21448 { (case "(($ac_try" in
21449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21450 *) ac_try_echo=$ac_try;;
21452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21453 (eval "$ac_try") 2>&5
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); }; } &&
21457 { ac_try='test -s conftest.$ac_objext'
21458 { (case "(($ac_try" in
21459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21460 *) ac_try_echo=$ac_try;;
21462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21463 (eval "$ac_try") 2>&5
21465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21466 (exit $ac_status); }; }; then
21467 ac_cv_member_struct_statvfs_f_blocks=yes
21469 echo "$as_me: failed program was:" >&5
21470 sed 's/^/| /' conftest.$ac_ext >&5
21472 ac_cv_member_struct_statvfs_f_blocks=no
21475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21480 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
21481 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
21482 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
21484 cat >>confdefs.h <<_ACEOF
21485 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
21492 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
21493 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
21494 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
21495 echo $ECHO_N "(cached) $ECHO_C" >&6
21497 cat >conftest.$ac_ext <<_ACEOF
21500 cat confdefs.h >>conftest.$ac_ext
21501 cat >>conftest.$ac_ext <<_ACEOF
21502 /* end confdefs.h. */
21503 #include <sys/types.h>
21504 #ifdef HAVE_SYS_SOCKET_H
21505 # include <sys/socket.h>
21507 #ifdef HAVE_SYS_UN_H
21508 # include <sys/un.h>
21514 static struct msghdr ac_aggr;
21515 if (ac_aggr.msg_accrights)
21521 rm -f conftest.$ac_objext
21522 if { (ac_try="$ac_compile"
21523 case "(($ac_try" in
21524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21525 *) ac_try_echo=$ac_try;;
21527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21528 (eval "$ac_compile") 2>conftest.er1
21530 grep -v '^ *+' conftest.er1 >conftest.err
21532 cat conftest.err >&5
21533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21534 (exit $ac_status); } &&
21535 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21536 { (case "(($ac_try" in
21537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21538 *) ac_try_echo=$ac_try;;
21540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21541 (eval "$ac_try") 2>&5
21543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544 (exit $ac_status); }; } &&
21545 { ac_try='test -s conftest.$ac_objext'
21546 { (case "(($ac_try" in
21547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21548 *) ac_try_echo=$ac_try;;
21550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21551 (eval "$ac_try") 2>&5
21553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21554 (exit $ac_status); }; }; then
21555 ac_cv_member_struct_msghdr_msg_accrights=yes
21557 echo "$as_me: failed program was:" >&5
21558 sed 's/^/| /' conftest.$ac_ext >&5
21560 cat >conftest.$ac_ext <<_ACEOF
21563 cat confdefs.h >>conftest.$ac_ext
21564 cat >>conftest.$ac_ext <<_ACEOF
21565 /* end confdefs.h. */
21566 #include <sys/types.h>
21567 #ifdef HAVE_SYS_SOCKET_H
21568 # include <sys/socket.h>
21570 #ifdef HAVE_SYS_UN_H
21571 # include <sys/un.h>
21577 static struct msghdr ac_aggr;
21578 if (sizeof ac_aggr.msg_accrights)
21584 rm -f conftest.$ac_objext
21585 if { (ac_try="$ac_compile"
21586 case "(($ac_try" in
21587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21588 *) ac_try_echo=$ac_try;;
21590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21591 (eval "$ac_compile") 2>conftest.er1
21593 grep -v '^ *+' conftest.er1 >conftest.err
21595 cat conftest.err >&5
21596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21597 (exit $ac_status); } &&
21598 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21599 { (case "(($ac_try" in
21600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21601 *) ac_try_echo=$ac_try;;
21603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21604 (eval "$ac_try") 2>&5
21606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21607 (exit $ac_status); }; } &&
21608 { ac_try='test -s conftest.$ac_objext'
21609 { (case "(($ac_try" in
21610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21611 *) ac_try_echo=$ac_try;;
21613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21614 (eval "$ac_try") 2>&5
21616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21617 (exit $ac_status); }; }; then
21618 ac_cv_member_struct_msghdr_msg_accrights=yes
21620 echo "$as_me: failed program was:" >&5
21621 sed 's/^/| /' conftest.$ac_ext >&5
21623 ac_cv_member_struct_msghdr_msg_accrights=no
21626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21631 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
21632 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
21633 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
21635 cat >>confdefs.h <<_ACEOF
21636 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
21641 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
21642 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
21643 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
21644 echo $ECHO_N "(cached) $ECHO_C" >&6
21646 cat >conftest.$ac_ext <<_ACEOF
21649 cat confdefs.h >>conftest.$ac_ext
21650 cat >>conftest.$ac_ext <<_ACEOF
21651 /* end confdefs.h. */
21652 #include <sys/types.h>
21653 #ifdef HAVE_SYS_SOCKET_H
21654 # include <sys/socket.h>
21656 #ifdef HAVE_SYS_UN_H
21657 # include <sys/un.h>
21663 static struct sockaddr ac_aggr;
21664 if (ac_aggr.sa_len)
21670 rm -f conftest.$ac_objext
21671 if { (ac_try="$ac_compile"
21672 case "(($ac_try" in
21673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21674 *) ac_try_echo=$ac_try;;
21676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21677 (eval "$ac_compile") 2>conftest.er1
21679 grep -v '^ *+' conftest.er1 >conftest.err
21681 cat conftest.err >&5
21682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21683 (exit $ac_status); } &&
21684 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21685 { (case "(($ac_try" in
21686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21687 *) ac_try_echo=$ac_try;;
21689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21690 (eval "$ac_try") 2>&5
21692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21693 (exit $ac_status); }; } &&
21694 { ac_try='test -s conftest.$ac_objext'
21695 { (case "(($ac_try" in
21696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21697 *) ac_try_echo=$ac_try;;
21699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21700 (eval "$ac_try") 2>&5
21702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21703 (exit $ac_status); }; }; then
21704 ac_cv_member_struct_sockaddr_sa_len=yes
21706 echo "$as_me: failed program was:" >&5
21707 sed 's/^/| /' conftest.$ac_ext >&5
21709 cat >conftest.$ac_ext <<_ACEOF
21712 cat confdefs.h >>conftest.$ac_ext
21713 cat >>conftest.$ac_ext <<_ACEOF
21714 /* end confdefs.h. */
21715 #include <sys/types.h>
21716 #ifdef HAVE_SYS_SOCKET_H
21717 # include <sys/socket.h>
21719 #ifdef HAVE_SYS_UN_H
21720 # include <sys/un.h>
21726 static struct sockaddr ac_aggr;
21727 if (sizeof ac_aggr.sa_len)
21733 rm -f conftest.$ac_objext
21734 if { (ac_try="$ac_compile"
21735 case "(($ac_try" in
21736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21737 *) ac_try_echo=$ac_try;;
21739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21740 (eval "$ac_compile") 2>conftest.er1
21742 grep -v '^ *+' conftest.er1 >conftest.err
21744 cat conftest.err >&5
21745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21746 (exit $ac_status); } &&
21747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21748 { (case "(($ac_try" in
21749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21750 *) ac_try_echo=$ac_try;;
21752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21753 (eval "$ac_try") 2>&5
21755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21756 (exit $ac_status); }; } &&
21757 { ac_try='test -s conftest.$ac_objext'
21758 { (case "(($ac_try" in
21759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21760 *) ac_try_echo=$ac_try;;
21762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21763 (eval "$ac_try") 2>&5
21765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21766 (exit $ac_status); }; }; then
21767 ac_cv_member_struct_sockaddr_sa_len=yes
21769 echo "$as_me: failed program was:" >&5
21770 sed 's/^/| /' conftest.$ac_ext >&5
21772 ac_cv_member_struct_sockaddr_sa_len=no
21775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21780 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
21781 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
21782 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
21784 cat >>confdefs.h <<_ACEOF
21785 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
21790 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
21791 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
21792 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
21793 echo $ECHO_N "(cached) $ECHO_C" >&6
21795 cat >conftest.$ac_ext <<_ACEOF
21798 cat confdefs.h >>conftest.$ac_ext
21799 cat >>conftest.$ac_ext <<_ACEOF
21800 /* end confdefs.h. */
21801 #include <sys/types.h>
21802 #ifdef HAVE_SYS_SOCKET_H
21803 # include <sys/socket.h>
21805 #ifdef HAVE_SYS_UN_H
21806 # include <sys/un.h>
21812 static struct sockaddr_un ac_aggr;
21813 if (ac_aggr.sun_len)
21819 rm -f conftest.$ac_objext
21820 if { (ac_try="$ac_compile"
21821 case "(($ac_try" in
21822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21823 *) ac_try_echo=$ac_try;;
21825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21826 (eval "$ac_compile") 2>conftest.er1
21828 grep -v '^ *+' conftest.er1 >conftest.err
21830 cat conftest.err >&5
21831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832 (exit $ac_status); } &&
21833 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21834 { (case "(($ac_try" in
21835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21836 *) ac_try_echo=$ac_try;;
21838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21839 (eval "$ac_try") 2>&5
21841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21842 (exit $ac_status); }; } &&
21843 { ac_try='test -s conftest.$ac_objext'
21844 { (case "(($ac_try" in
21845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21846 *) ac_try_echo=$ac_try;;
21848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21849 (eval "$ac_try") 2>&5
21851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21852 (exit $ac_status); }; }; then
21853 ac_cv_member_struct_sockaddr_un_sun_len=yes
21855 echo "$as_me: failed program was:" >&5
21856 sed 's/^/| /' conftest.$ac_ext >&5
21858 cat >conftest.$ac_ext <<_ACEOF
21861 cat confdefs.h >>conftest.$ac_ext
21862 cat >>conftest.$ac_ext <<_ACEOF
21863 /* end confdefs.h. */
21864 #include <sys/types.h>
21865 #ifdef HAVE_SYS_SOCKET_H
21866 # include <sys/socket.h>
21868 #ifdef HAVE_SYS_UN_H
21869 # include <sys/un.h>
21875 static struct sockaddr_un ac_aggr;
21876 if (sizeof ac_aggr.sun_len)
21882 rm -f conftest.$ac_objext
21883 if { (ac_try="$ac_compile"
21884 case "(($ac_try" in
21885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21886 *) ac_try_echo=$ac_try;;
21888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21889 (eval "$ac_compile") 2>conftest.er1
21891 grep -v '^ *+' conftest.er1 >conftest.err
21893 cat conftest.err >&5
21894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21895 (exit $ac_status); } &&
21896 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21897 { (case "(($ac_try" in
21898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21899 *) ac_try_echo=$ac_try;;
21901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21902 (eval "$ac_try") 2>&5
21904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21905 (exit $ac_status); }; } &&
21906 { ac_try='test -s conftest.$ac_objext'
21907 { (case "(($ac_try" in
21908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21909 *) ac_try_echo=$ac_try;;
21911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21912 (eval "$ac_try") 2>&5
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); }; }; then
21916 ac_cv_member_struct_sockaddr_un_sun_len=yes
21918 echo "$as_me: failed program was:" >&5
21919 sed 's/^/| /' conftest.$ac_ext >&5
21921 ac_cv_member_struct_sockaddr_un_sun_len=no
21924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21929 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
21930 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
21931 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
21933 cat >>confdefs.h <<_ACEOF
21934 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
21941 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
21942 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
21943 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
21944 echo $ECHO_N "(cached) $ECHO_C" >&6
21946 cat >conftest.$ac_ext <<_ACEOF
21949 cat confdefs.h >>conftest.$ac_ext
21950 cat >>conftest.$ac_ext <<_ACEOF
21951 /* end confdefs.h. */
21952 #include <sys/types.h>
21953 #ifdef HAVE_SCSI_SG_H
21954 #include <scsi/sg.h>
21960 static scsireq_t ac_aggr;
21967 rm -f conftest.$ac_objext
21968 if { (ac_try="$ac_compile"
21969 case "(($ac_try" in
21970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21971 *) ac_try_echo=$ac_try;;
21973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21974 (eval "$ac_compile") 2>conftest.er1
21976 grep -v '^ *+' conftest.er1 >conftest.err
21978 cat conftest.err >&5
21979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21980 (exit $ac_status); } &&
21981 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21982 { (case "(($ac_try" in
21983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21984 *) ac_try_echo=$ac_try;;
21986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21987 (eval "$ac_try") 2>&5
21989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21990 (exit $ac_status); }; } &&
21991 { ac_try='test -s conftest.$ac_objext'
21992 { (case "(($ac_try" in
21993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21994 *) ac_try_echo=$ac_try;;
21996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21997 (eval "$ac_try") 2>&5
21999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22000 (exit $ac_status); }; }; then
22001 ac_cv_member_scsireq_t_cmd=yes
22003 echo "$as_me: failed program was:" >&5
22004 sed 's/^/| /' conftest.$ac_ext >&5
22006 cat >conftest.$ac_ext <<_ACEOF
22009 cat confdefs.h >>conftest.$ac_ext
22010 cat >>conftest.$ac_ext <<_ACEOF
22011 /* end confdefs.h. */
22012 #include <sys/types.h>
22013 #ifdef HAVE_SCSI_SG_H
22014 #include <scsi/sg.h>
22020 static scsireq_t ac_aggr;
22021 if (sizeof ac_aggr.cmd)
22027 rm -f conftest.$ac_objext
22028 if { (ac_try="$ac_compile"
22029 case "(($ac_try" in
22030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22031 *) ac_try_echo=$ac_try;;
22033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22034 (eval "$ac_compile") 2>conftest.er1
22036 grep -v '^ *+' conftest.er1 >conftest.err
22038 cat conftest.err >&5
22039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22040 (exit $ac_status); } &&
22041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22042 { (case "(($ac_try" in
22043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22044 *) ac_try_echo=$ac_try;;
22046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22047 (eval "$ac_try") 2>&5
22049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22050 (exit $ac_status); }; } &&
22051 { ac_try='test -s conftest.$ac_objext'
22052 { (case "(($ac_try" in
22053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22054 *) ac_try_echo=$ac_try;;
22056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22057 (eval "$ac_try") 2>&5
22059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22060 (exit $ac_status); }; }; then
22061 ac_cv_member_scsireq_t_cmd=yes
22063 echo "$as_me: failed program was:" >&5
22064 sed 's/^/| /' conftest.$ac_ext >&5
22066 ac_cv_member_scsireq_t_cmd=no
22069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22074 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
22075 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
22076 if test $ac_cv_member_scsireq_t_cmd = yes; then
22078 cat >>confdefs.h <<_ACEOF
22079 #define HAVE_SCSIREQ_T_CMD 1
22084 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
22085 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
22086 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
22087 echo $ECHO_N "(cached) $ECHO_C" >&6
22089 cat >conftest.$ac_ext <<_ACEOF
22092 cat confdefs.h >>conftest.$ac_ext
22093 cat >>conftest.$ac_ext <<_ACEOF
22094 /* end confdefs.h. */
22095 #include <sys/types.h>
22096 #ifdef HAVE_SCSI_SG_H
22097 #include <scsi/sg.h>
22103 static sg_io_hdr_t ac_aggr;
22104 if (ac_aggr.interface_id)
22110 rm -f conftest.$ac_objext
22111 if { (ac_try="$ac_compile"
22112 case "(($ac_try" in
22113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22114 *) ac_try_echo=$ac_try;;
22116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22117 (eval "$ac_compile") 2>conftest.er1
22119 grep -v '^ *+' conftest.er1 >conftest.err
22121 cat conftest.err >&5
22122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123 (exit $ac_status); } &&
22124 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22125 { (case "(($ac_try" in
22126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22127 *) ac_try_echo=$ac_try;;
22129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22130 (eval "$ac_try") 2>&5
22132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133 (exit $ac_status); }; } &&
22134 { ac_try='test -s conftest.$ac_objext'
22135 { (case "(($ac_try" in
22136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22137 *) ac_try_echo=$ac_try;;
22139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22140 (eval "$ac_try") 2>&5
22142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22143 (exit $ac_status); }; }; then
22144 ac_cv_member_sg_io_hdr_t_interface_id=yes
22146 echo "$as_me: failed program was:" >&5
22147 sed 's/^/| /' conftest.$ac_ext >&5
22149 cat >conftest.$ac_ext <<_ACEOF
22152 cat confdefs.h >>conftest.$ac_ext
22153 cat >>conftest.$ac_ext <<_ACEOF
22154 /* end confdefs.h. */
22155 #include <sys/types.h>
22156 #ifdef HAVE_SCSI_SG_H
22157 #include <scsi/sg.h>
22163 static sg_io_hdr_t ac_aggr;
22164 if (sizeof ac_aggr.interface_id)
22170 rm -f conftest.$ac_objext
22171 if { (ac_try="$ac_compile"
22172 case "(($ac_try" in
22173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22174 *) ac_try_echo=$ac_try;;
22176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22177 (eval "$ac_compile") 2>conftest.er1
22179 grep -v '^ *+' conftest.er1 >conftest.err
22181 cat conftest.err >&5
22182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22183 (exit $ac_status); } &&
22184 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22185 { (case "(($ac_try" in
22186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22187 *) ac_try_echo=$ac_try;;
22189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22190 (eval "$ac_try") 2>&5
22192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22193 (exit $ac_status); }; } &&
22194 { ac_try='test -s conftest.$ac_objext'
22195 { (case "(($ac_try" in
22196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22197 *) ac_try_echo=$ac_try;;
22199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22200 (eval "$ac_try") 2>&5
22202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22203 (exit $ac_status); }; }; then
22204 ac_cv_member_sg_io_hdr_t_interface_id=yes
22206 echo "$as_me: failed program was:" >&5
22207 sed 's/^/| /' conftest.$ac_ext >&5
22209 ac_cv_member_sg_io_hdr_t_interface_id=no
22212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22217 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
22218 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
22219 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
22221 cat >>confdefs.h <<_ACEOF
22222 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22229 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
22230 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
22231 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
22232 echo $ECHO_N "(cached) $ECHO_C" >&6
22234 cat >conftest.$ac_ext <<_ACEOF
22237 cat confdefs.h >>conftest.$ac_ext
22238 cat >>conftest.$ac_ext <<_ACEOF
22239 /* end confdefs.h. */
22240 #include <signal.h>
22245 static siginfo_t ac_aggr;
22252 rm -f conftest.$ac_objext
22253 if { (ac_try="$ac_compile"
22254 case "(($ac_try" in
22255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22256 *) ac_try_echo=$ac_try;;
22258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22259 (eval "$ac_compile") 2>conftest.er1
22261 grep -v '^ *+' conftest.er1 >conftest.err
22263 cat conftest.err >&5
22264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22265 (exit $ac_status); } &&
22266 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22267 { (case "(($ac_try" in
22268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22269 *) ac_try_echo=$ac_try;;
22271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22272 (eval "$ac_try") 2>&5
22274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22275 (exit $ac_status); }; } &&
22276 { ac_try='test -s conftest.$ac_objext'
22277 { (case "(($ac_try" in
22278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22279 *) ac_try_echo=$ac_try;;
22281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22282 (eval "$ac_try") 2>&5
22284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22285 (exit $ac_status); }; }; then
22286 ac_cv_member_siginfo_t_si_fd=yes
22288 echo "$as_me: failed program was:" >&5
22289 sed 's/^/| /' conftest.$ac_ext >&5
22291 cat >conftest.$ac_ext <<_ACEOF
22294 cat confdefs.h >>conftest.$ac_ext
22295 cat >>conftest.$ac_ext <<_ACEOF
22296 /* end confdefs.h. */
22297 #include <signal.h>
22302 static siginfo_t ac_aggr;
22303 if (sizeof ac_aggr.si_fd)
22309 rm -f conftest.$ac_objext
22310 if { (ac_try="$ac_compile"
22311 case "(($ac_try" in
22312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22313 *) ac_try_echo=$ac_try;;
22315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22316 (eval "$ac_compile") 2>conftest.er1
22318 grep -v '^ *+' conftest.er1 >conftest.err
22320 cat conftest.err >&5
22321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22322 (exit $ac_status); } &&
22323 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22324 { (case "(($ac_try" in
22325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22326 *) ac_try_echo=$ac_try;;
22328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22329 (eval "$ac_try") 2>&5
22331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332 (exit $ac_status); }; } &&
22333 { ac_try='test -s conftest.$ac_objext'
22334 { (case "(($ac_try" in
22335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22336 *) ac_try_echo=$ac_try;;
22338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22339 (eval "$ac_try") 2>&5
22341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22342 (exit $ac_status); }; }; then
22343 ac_cv_member_siginfo_t_si_fd=yes
22345 echo "$as_me: failed program was:" >&5
22346 sed 's/^/| /' conftest.$ac_ext >&5
22348 ac_cv_member_siginfo_t_si_fd=no
22351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22356 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
22357 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
22358 if test $ac_cv_member_siginfo_t_si_fd = yes; then
22360 cat >>confdefs.h <<_ACEOF
22361 #define HAVE_SIGINFO_T_SI_FD 1
22368 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
22369 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
22370 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
22371 echo $ECHO_N "(cached) $ECHO_C" >&6
22373 cat >conftest.$ac_ext <<_ACEOF
22376 cat confdefs.h >>conftest.$ac_ext
22377 cat >>conftest.$ac_ext <<_ACEOF
22378 /* end confdefs.h. */
22379 #include <sys/types.h>
22380 #ifdef HAVE_SYS_MTIO_H
22381 #include <sys/mtio.h>
22387 static struct mtget ac_aggr;
22388 if (ac_aggr.mt_blksiz)
22394 rm -f conftest.$ac_objext
22395 if { (ac_try="$ac_compile"
22396 case "(($ac_try" in
22397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22398 *) ac_try_echo=$ac_try;;
22400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22401 (eval "$ac_compile") 2>conftest.er1
22403 grep -v '^ *+' conftest.er1 >conftest.err
22405 cat conftest.err >&5
22406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22407 (exit $ac_status); } &&
22408 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22409 { (case "(($ac_try" in
22410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22411 *) ac_try_echo=$ac_try;;
22413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22414 (eval "$ac_try") 2>&5
22416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22417 (exit $ac_status); }; } &&
22418 { ac_try='test -s conftest.$ac_objext'
22419 { (case "(($ac_try" in
22420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22421 *) ac_try_echo=$ac_try;;
22423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22424 (eval "$ac_try") 2>&5
22426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22427 (exit $ac_status); }; }; then
22428 ac_cv_member_struct_mtget_mt_blksiz=yes
22430 echo "$as_me: failed program was:" >&5
22431 sed 's/^/| /' conftest.$ac_ext >&5
22433 cat >conftest.$ac_ext <<_ACEOF
22436 cat confdefs.h >>conftest.$ac_ext
22437 cat >>conftest.$ac_ext <<_ACEOF
22438 /* end confdefs.h. */
22439 #include <sys/types.h>
22440 #ifdef HAVE_SYS_MTIO_H
22441 #include <sys/mtio.h>
22447 static struct mtget ac_aggr;
22448 if (sizeof ac_aggr.mt_blksiz)
22454 rm -f conftest.$ac_objext
22455 if { (ac_try="$ac_compile"
22456 case "(($ac_try" in
22457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22458 *) ac_try_echo=$ac_try;;
22460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22461 (eval "$ac_compile") 2>conftest.er1
22463 grep -v '^ *+' conftest.er1 >conftest.err
22465 cat conftest.err >&5
22466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22467 (exit $ac_status); } &&
22468 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22469 { (case "(($ac_try" in
22470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22471 *) ac_try_echo=$ac_try;;
22473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22474 (eval "$ac_try") 2>&5
22476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22477 (exit $ac_status); }; } &&
22478 { ac_try='test -s conftest.$ac_objext'
22479 { (case "(($ac_try" in
22480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22481 *) ac_try_echo=$ac_try;;
22483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22484 (eval "$ac_try") 2>&5
22486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22487 (exit $ac_status); }; }; then
22488 ac_cv_member_struct_mtget_mt_blksiz=yes
22490 echo "$as_me: failed program was:" >&5
22491 sed 's/^/| /' conftest.$ac_ext >&5
22493 ac_cv_member_struct_mtget_mt_blksiz=no
22496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22501 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
22502 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
22503 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
22505 cat >>confdefs.h <<_ACEOF
22506 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
22511 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
22512 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
22513 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
22514 echo $ECHO_N "(cached) $ECHO_C" >&6
22516 cat >conftest.$ac_ext <<_ACEOF
22519 cat confdefs.h >>conftest.$ac_ext
22520 cat >>conftest.$ac_ext <<_ACEOF
22521 /* end confdefs.h. */
22522 #include <sys/types.h>
22523 #ifdef HAVE_SYS_MTIO_H
22524 #include <sys/mtio.h>
22530 static struct mtget ac_aggr;
22531 if (ac_aggr.mt_gstat)
22537 rm -f conftest.$ac_objext
22538 if { (ac_try="$ac_compile"
22539 case "(($ac_try" in
22540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22541 *) ac_try_echo=$ac_try;;
22543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22544 (eval "$ac_compile") 2>conftest.er1
22546 grep -v '^ *+' conftest.er1 >conftest.err
22548 cat conftest.err >&5
22549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22550 (exit $ac_status); } &&
22551 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22552 { (case "(($ac_try" in
22553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22554 *) ac_try_echo=$ac_try;;
22556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22557 (eval "$ac_try") 2>&5
22559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22560 (exit $ac_status); }; } &&
22561 { ac_try='test -s conftest.$ac_objext'
22562 { (case "(($ac_try" in
22563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22564 *) ac_try_echo=$ac_try;;
22566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22567 (eval "$ac_try") 2>&5
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); }; }; then
22571 ac_cv_member_struct_mtget_mt_gstat=yes
22573 echo "$as_me: failed program was:" >&5
22574 sed 's/^/| /' conftest.$ac_ext >&5
22576 cat >conftest.$ac_ext <<_ACEOF
22579 cat confdefs.h >>conftest.$ac_ext
22580 cat >>conftest.$ac_ext <<_ACEOF
22581 /* end confdefs.h. */
22582 #include <sys/types.h>
22583 #ifdef HAVE_SYS_MTIO_H
22584 #include <sys/mtio.h>
22590 static struct mtget ac_aggr;
22591 if (sizeof ac_aggr.mt_gstat)
22597 rm -f conftest.$ac_objext
22598 if { (ac_try="$ac_compile"
22599 case "(($ac_try" in
22600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22601 *) ac_try_echo=$ac_try;;
22603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22604 (eval "$ac_compile") 2>conftest.er1
22606 grep -v '^ *+' conftest.er1 >conftest.err
22608 cat conftest.err >&5
22609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22610 (exit $ac_status); } &&
22611 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22612 { (case "(($ac_try" in
22613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22614 *) ac_try_echo=$ac_try;;
22616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22617 (eval "$ac_try") 2>&5
22619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22620 (exit $ac_status); }; } &&
22621 { ac_try='test -s conftest.$ac_objext'
22622 { (case "(($ac_try" in
22623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22624 *) ac_try_echo=$ac_try;;
22626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22627 (eval "$ac_try") 2>&5
22629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630 (exit $ac_status); }; }; then
22631 ac_cv_member_struct_mtget_mt_gstat=yes
22633 echo "$as_me: failed program was:" >&5
22634 sed 's/^/| /' conftest.$ac_ext >&5
22636 ac_cv_member_struct_mtget_mt_gstat=no
22639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22644 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
22645 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
22646 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
22648 cat >>confdefs.h <<_ACEOF
22649 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
22654 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
22655 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
22656 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
22657 echo $ECHO_N "(cached) $ECHO_C" >&6
22659 cat >conftest.$ac_ext <<_ACEOF
22662 cat confdefs.h >>conftest.$ac_ext
22663 cat >>conftest.$ac_ext <<_ACEOF
22664 /* end confdefs.h. */
22665 #include <sys/types.h>
22666 #ifdef HAVE_SYS_MTIO_H
22667 #include <sys/mtio.h>
22673 static struct mtget ac_aggr;
22674 if (ac_aggr.mt_blkno)
22680 rm -f conftest.$ac_objext
22681 if { (ac_try="$ac_compile"
22682 case "(($ac_try" in
22683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22684 *) ac_try_echo=$ac_try;;
22686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22687 (eval "$ac_compile") 2>conftest.er1
22689 grep -v '^ *+' conftest.er1 >conftest.err
22691 cat conftest.err >&5
22692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22693 (exit $ac_status); } &&
22694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22695 { (case "(($ac_try" in
22696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22697 *) ac_try_echo=$ac_try;;
22699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22700 (eval "$ac_try") 2>&5
22702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22703 (exit $ac_status); }; } &&
22704 { ac_try='test -s conftest.$ac_objext'
22705 { (case "(($ac_try" in
22706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22707 *) ac_try_echo=$ac_try;;
22709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22710 (eval "$ac_try") 2>&5
22712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22713 (exit $ac_status); }; }; then
22714 ac_cv_member_struct_mtget_mt_blkno=yes
22716 echo "$as_me: failed program was:" >&5
22717 sed 's/^/| /' conftest.$ac_ext >&5
22719 cat >conftest.$ac_ext <<_ACEOF
22722 cat confdefs.h >>conftest.$ac_ext
22723 cat >>conftest.$ac_ext <<_ACEOF
22724 /* end confdefs.h. */
22725 #include <sys/types.h>
22726 #ifdef HAVE_SYS_MTIO_H
22727 #include <sys/mtio.h>
22733 static struct mtget ac_aggr;
22734 if (sizeof ac_aggr.mt_blkno)
22740 rm -f conftest.$ac_objext
22741 if { (ac_try="$ac_compile"
22742 case "(($ac_try" in
22743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22744 *) ac_try_echo=$ac_try;;
22746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22747 (eval "$ac_compile") 2>conftest.er1
22749 grep -v '^ *+' conftest.er1 >conftest.err
22751 cat conftest.err >&5
22752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22753 (exit $ac_status); } &&
22754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22755 { (case "(($ac_try" in
22756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22757 *) ac_try_echo=$ac_try;;
22759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22760 (eval "$ac_try") 2>&5
22762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22763 (exit $ac_status); }; } &&
22764 { ac_try='test -s conftest.$ac_objext'
22765 { (case "(($ac_try" in
22766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22767 *) ac_try_echo=$ac_try;;
22769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22770 (eval "$ac_try") 2>&5
22772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22773 (exit $ac_status); }; }; then
22774 ac_cv_member_struct_mtget_mt_blkno=yes
22776 echo "$as_me: failed program was:" >&5
22777 sed 's/^/| /' conftest.$ac_ext >&5
22779 ac_cv_member_struct_mtget_mt_blkno=no
22782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22787 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
22788 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
22789 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
22791 cat >>confdefs.h <<_ACEOF
22792 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
22799 { echo "$as_me:$LINENO: checking for struct option.name" >&5
22800 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
22801 if test "${ac_cv_member_struct_option_name+set}" = set; then
22802 echo $ECHO_N "(cached) $ECHO_C" >&6
22804 cat >conftest.$ac_ext <<_ACEOF
22807 cat confdefs.h >>conftest.$ac_ext
22808 cat >>conftest.$ac_ext <<_ACEOF
22809 /* end confdefs.h. */
22810 #ifdef HAVE_GETOPT_H
22811 #include <getopt.h>
22817 static struct option ac_aggr;
22824 rm -f conftest.$ac_objext
22825 if { (ac_try="$ac_compile"
22826 case "(($ac_try" in
22827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22828 *) ac_try_echo=$ac_try;;
22830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22831 (eval "$ac_compile") 2>conftest.er1
22833 grep -v '^ *+' conftest.er1 >conftest.err
22835 cat conftest.err >&5
22836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22837 (exit $ac_status); } &&
22838 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22839 { (case "(($ac_try" in
22840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22841 *) ac_try_echo=$ac_try;;
22843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22844 (eval "$ac_try") 2>&5
22846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22847 (exit $ac_status); }; } &&
22848 { ac_try='test -s conftest.$ac_objext'
22849 { (case "(($ac_try" in
22850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22851 *) ac_try_echo=$ac_try;;
22853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22854 (eval "$ac_try") 2>&5
22856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22857 (exit $ac_status); }; }; then
22858 ac_cv_member_struct_option_name=yes
22860 echo "$as_me: failed program was:" >&5
22861 sed 's/^/| /' conftest.$ac_ext >&5
22863 cat >conftest.$ac_ext <<_ACEOF
22866 cat confdefs.h >>conftest.$ac_ext
22867 cat >>conftest.$ac_ext <<_ACEOF
22868 /* end confdefs.h. */
22869 #ifdef HAVE_GETOPT_H
22870 #include <getopt.h>
22876 static struct option ac_aggr;
22877 if (sizeof ac_aggr.name)
22883 rm -f conftest.$ac_objext
22884 if { (ac_try="$ac_compile"
22885 case "(($ac_try" in
22886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22887 *) ac_try_echo=$ac_try;;
22889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22890 (eval "$ac_compile") 2>conftest.er1
22892 grep -v '^ *+' conftest.er1 >conftest.err
22894 cat conftest.err >&5
22895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22896 (exit $ac_status); } &&
22897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22898 { (case "(($ac_try" in
22899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22900 *) ac_try_echo=$ac_try;;
22902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22903 (eval "$ac_try") 2>&5
22905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22906 (exit $ac_status); }; } &&
22907 { ac_try='test -s conftest.$ac_objext'
22908 { (case "(($ac_try" in
22909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22910 *) ac_try_echo=$ac_try;;
22912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22913 (eval "$ac_try") 2>&5
22915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22916 (exit $ac_status); }; }; then
22917 ac_cv_member_struct_option_name=yes
22919 echo "$as_me: failed program was:" >&5
22920 sed 's/^/| /' conftest.$ac_ext >&5
22922 ac_cv_member_struct_option_name=no
22925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22930 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
22931 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
22932 if test $ac_cv_member_struct_option_name = yes; then
22934 cat >>confdefs.h <<_ACEOF
22935 #define HAVE_STRUCT_OPTION_NAME 1
22942 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
22943 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
22944 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
22945 echo $ECHO_N "(cached) $ECHO_C" >&6
22947 cat >conftest.$ac_ext <<_ACEOF
22950 cat confdefs.h >>conftest.$ac_ext
22951 cat >>conftest.$ac_ext <<_ACEOF
22952 /* end confdefs.h. */
22953 $ac_includes_default
22957 static struct stat ac_aggr;
22958 if (ac_aggr.st_blocks)
22964 rm -f conftest.$ac_objext
22965 if { (ac_try="$ac_compile"
22966 case "(($ac_try" in
22967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22968 *) ac_try_echo=$ac_try;;
22970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22971 (eval "$ac_compile") 2>conftest.er1
22973 grep -v '^ *+' conftest.er1 >conftest.err
22975 cat conftest.err >&5
22976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22977 (exit $ac_status); } &&
22978 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22979 { (case "(($ac_try" in
22980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22981 *) ac_try_echo=$ac_try;;
22983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22984 (eval "$ac_try") 2>&5
22986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22987 (exit $ac_status); }; } &&
22988 { ac_try='test -s conftest.$ac_objext'
22989 { (case "(($ac_try" in
22990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22991 *) ac_try_echo=$ac_try;;
22993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22994 (eval "$ac_try") 2>&5
22996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22997 (exit $ac_status); }; }; then
22998 ac_cv_member_struct_stat_st_blocks=yes
23000 echo "$as_me: failed program was:" >&5
23001 sed 's/^/| /' conftest.$ac_ext >&5
23003 cat >conftest.$ac_ext <<_ACEOF
23006 cat confdefs.h >>conftest.$ac_ext
23007 cat >>conftest.$ac_ext <<_ACEOF
23008 /* end confdefs.h. */
23009 $ac_includes_default
23013 static struct stat ac_aggr;
23014 if (sizeof ac_aggr.st_blocks)
23020 rm -f conftest.$ac_objext
23021 if { (ac_try="$ac_compile"
23022 case "(($ac_try" in
23023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23024 *) ac_try_echo=$ac_try;;
23026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23027 (eval "$ac_compile") 2>conftest.er1
23029 grep -v '^ *+' conftest.er1 >conftest.err
23031 cat conftest.err >&5
23032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23033 (exit $ac_status); } &&
23034 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23035 { (case "(($ac_try" in
23036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23037 *) ac_try_echo=$ac_try;;
23039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23040 (eval "$ac_try") 2>&5
23042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23043 (exit $ac_status); }; } &&
23044 { ac_try='test -s conftest.$ac_objext'
23045 { (case "(($ac_try" in
23046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23047 *) ac_try_echo=$ac_try;;
23049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23050 (eval "$ac_try") 2>&5
23052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23053 (exit $ac_status); }; }; then
23054 ac_cv_member_struct_stat_st_blocks=yes
23056 echo "$as_me: failed program was:" >&5
23057 sed 's/^/| /' conftest.$ac_ext >&5
23059 ac_cv_member_struct_stat_st_blocks=no
23062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23067 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
23068 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
23069 if test $ac_cv_member_struct_stat_st_blocks = yes; then
23071 cat >>confdefs.h <<_ACEOF
23072 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
23079 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
23080 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
23081 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
23082 echo $ECHO_N "(cached) $ECHO_C" >&6
23084 cat >conftest.$ac_ext <<_ACEOF
23087 cat confdefs.h >>conftest.$ac_ext
23088 cat >>conftest.$ac_ext <<_ACEOF
23089 /* end confdefs.h. */
23090 #ifdef HAVE_SYS_TYPES_H
23091 #include <sys/types.h>
23093 #ifdef HAVE_NETINET_IN_H
23094 #include <netinet/in.h>
23100 static struct sockaddr_in6 ac_aggr;
23101 if (ac_aggr.sin6_scope_id)
23107 rm -f conftest.$ac_objext
23108 if { (ac_try="$ac_compile"
23109 case "(($ac_try" in
23110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23111 *) ac_try_echo=$ac_try;;
23113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23114 (eval "$ac_compile") 2>conftest.er1
23116 grep -v '^ *+' conftest.er1 >conftest.err
23118 cat conftest.err >&5
23119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23120 (exit $ac_status); } &&
23121 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23122 { (case "(($ac_try" in
23123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23124 *) ac_try_echo=$ac_try;;
23126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23127 (eval "$ac_try") 2>&5
23129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23130 (exit $ac_status); }; } &&
23131 { ac_try='test -s conftest.$ac_objext'
23132 { (case "(($ac_try" in
23133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23134 *) ac_try_echo=$ac_try;;
23136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23137 (eval "$ac_try") 2>&5
23139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23140 (exit $ac_status); }; }; then
23141 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23143 echo "$as_me: failed program was:" >&5
23144 sed 's/^/| /' conftest.$ac_ext >&5
23146 cat >conftest.$ac_ext <<_ACEOF
23149 cat confdefs.h >>conftest.$ac_ext
23150 cat >>conftest.$ac_ext <<_ACEOF
23151 /* end confdefs.h. */
23152 #ifdef HAVE_SYS_TYPES_H
23153 #include <sys/types.h>
23155 #ifdef HAVE_NETINET_IN_H
23156 #include <netinet/in.h>
23162 static struct sockaddr_in6 ac_aggr;
23163 if (sizeof ac_aggr.sin6_scope_id)
23169 rm -f conftest.$ac_objext
23170 if { (ac_try="$ac_compile"
23171 case "(($ac_try" in
23172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23173 *) ac_try_echo=$ac_try;;
23175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23176 (eval "$ac_compile") 2>conftest.er1
23178 grep -v '^ *+' conftest.er1 >conftest.err
23180 cat conftest.err >&5
23181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23182 (exit $ac_status); } &&
23183 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23184 { (case "(($ac_try" in
23185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23186 *) ac_try_echo=$ac_try;;
23188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23189 (eval "$ac_try") 2>&5
23191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23192 (exit $ac_status); }; } &&
23193 { ac_try='test -s conftest.$ac_objext'
23194 { (case "(($ac_try" in
23195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23196 *) ac_try_echo=$ac_try;;
23198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23199 (eval "$ac_try") 2>&5
23201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23202 (exit $ac_status); }; }; then
23203 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23205 echo "$as_me: failed program was:" >&5
23206 sed 's/^/| /' conftest.$ac_ext >&5
23208 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
23211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23216 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23217 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23218 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23220 cat >>confdefs.h <<_ACEOF
23221 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23228 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
23229 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
23230 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
23231 echo $ECHO_N "(cached) $ECHO_C" >&6
23233 cat >conftest.$ac_ext <<_ACEOF
23236 cat confdefs.h >>conftest.$ac_ext
23237 cat >>conftest.$ac_ext <<_ACEOF
23238 /* end confdefs.h. */
23239 #ifdef HAVE_SYS_TYPES_H
23240 #include <sys/types.h>
23242 #ifdef HAVE_NETINET_IN_H
23243 # include <netinet/in.h>
23245 #ifdef HAVE_ARPA_NAMESER_H
23246 # include <arpa/nameser.h>
23252 static ns_msg ac_aggr;
23253 if (ac_aggr._msg_ptr)
23259 rm -f conftest.$ac_objext
23260 if { (ac_try="$ac_compile"
23261 case "(($ac_try" in
23262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23263 *) ac_try_echo=$ac_try;;
23265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23266 (eval "$ac_compile") 2>conftest.er1
23268 grep -v '^ *+' conftest.er1 >conftest.err
23270 cat conftest.err >&5
23271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23272 (exit $ac_status); } &&
23273 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23274 { (case "(($ac_try" in
23275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23276 *) ac_try_echo=$ac_try;;
23278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23279 (eval "$ac_try") 2>&5
23281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23282 (exit $ac_status); }; } &&
23283 { ac_try='test -s conftest.$ac_objext'
23284 { (case "(($ac_try" in
23285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23286 *) ac_try_echo=$ac_try;;
23288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23289 (eval "$ac_try") 2>&5
23291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23292 (exit $ac_status); }; }; then
23293 ac_cv_member_ns_msg__msg_ptr=yes
23295 echo "$as_me: failed program was:" >&5
23296 sed 's/^/| /' conftest.$ac_ext >&5
23298 cat >conftest.$ac_ext <<_ACEOF
23301 cat confdefs.h >>conftest.$ac_ext
23302 cat >>conftest.$ac_ext <<_ACEOF
23303 /* end confdefs.h. */
23304 #ifdef HAVE_SYS_TYPES_H
23305 #include <sys/types.h>
23307 #ifdef HAVE_NETINET_IN_H
23308 # include <netinet/in.h>
23310 #ifdef HAVE_ARPA_NAMESER_H
23311 # include <arpa/nameser.h>
23317 static ns_msg ac_aggr;
23318 if (sizeof ac_aggr._msg_ptr)
23324 rm -f conftest.$ac_objext
23325 if { (ac_try="$ac_compile"
23326 case "(($ac_try" in
23327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23328 *) ac_try_echo=$ac_try;;
23330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23331 (eval "$ac_compile") 2>conftest.er1
23333 grep -v '^ *+' conftest.er1 >conftest.err
23335 cat conftest.err >&5
23336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23337 (exit $ac_status); } &&
23338 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23339 { (case "(($ac_try" in
23340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23341 *) ac_try_echo=$ac_try;;
23343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23344 (eval "$ac_try") 2>&5
23346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23347 (exit $ac_status); }; } &&
23348 { ac_try='test -s conftest.$ac_objext'
23349 { (case "(($ac_try" in
23350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23351 *) ac_try_echo=$ac_try;;
23353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23354 (eval "$ac_try") 2>&5
23356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23357 (exit $ac_status); }; }; then
23358 ac_cv_member_ns_msg__msg_ptr=yes
23360 echo "$as_me: failed program was:" >&5
23361 sed 's/^/| /' conftest.$ac_ext >&5
23363 ac_cv_member_ns_msg__msg_ptr=no
23366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23371 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
23372 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
23373 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
23375 cat >>confdefs.h <<_ACEOF
23376 #define HAVE_NS_MSG__MSG_PTR 1
23383 { echo "$as_me:$LINENO: checking for timezone variable" >&5
23384 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
23385 if test "${ac_cv_have_timezone+set}" = set; then
23386 echo $ECHO_N "(cached) $ECHO_C" >&6
23388 cat >conftest.$ac_ext <<_ACEOF
23391 cat confdefs.h >>conftest.$ac_ext
23392 cat >>conftest.$ac_ext <<_ACEOF
23393 /* end confdefs.h. */
23403 rm -f conftest.$ac_objext conftest$ac_exeext
23404 if { (ac_try="$ac_link"
23405 case "(($ac_try" in
23406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23407 *) ac_try_echo=$ac_try;;
23409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23410 (eval "$ac_link") 2>conftest.er1
23412 grep -v '^ *+' conftest.er1 >conftest.err
23414 cat conftest.err >&5
23415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416 (exit $ac_status); } &&
23417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23418 { (case "(($ac_try" in
23419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23420 *) ac_try_echo=$ac_try;;
23422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23423 (eval "$ac_try") 2>&5
23425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23426 (exit $ac_status); }; } &&
23427 { ac_try='test -s conftest$ac_exeext'
23428 { (case "(($ac_try" in
23429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23430 *) ac_try_echo=$ac_try;;
23432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23433 (eval "$ac_try") 2>&5
23435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23436 (exit $ac_status); }; }; then
23437 ac_cv_have_timezone="yes"
23439 echo "$as_me: failed program was:" >&5
23440 sed 's/^/| /' conftest.$ac_ext >&5
23442 ac_cv_have_timezone="no"
23445 rm -f core conftest.err conftest.$ac_objext \
23446 conftest$ac_exeext conftest.$ac_ext
23448 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
23449 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
23450 if test "$ac_cv_have_timezone" = "yes"
23453 cat >>confdefs.h <<\_ACEOF
23454 #define HAVE_TIMEZONE 1
23458 { echo "$as_me:$LINENO: checking for daylight variable" >&5
23459 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
23460 if test "${ac_cv_have_daylight+set}" = set; then
23461 echo $ECHO_N "(cached) $ECHO_C" >&6
23463 cat >conftest.$ac_ext <<_ACEOF
23466 cat confdefs.h >>conftest.$ac_ext
23467 cat >>conftest.$ac_ext <<_ACEOF
23468 /* end confdefs.h. */
23478 rm -f conftest.$ac_objext conftest$ac_exeext
23479 if { (ac_try="$ac_link"
23480 case "(($ac_try" in
23481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23482 *) ac_try_echo=$ac_try;;
23484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23485 (eval "$ac_link") 2>conftest.er1
23487 grep -v '^ *+' conftest.er1 >conftest.err
23489 cat conftest.err >&5
23490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23491 (exit $ac_status); } &&
23492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23493 { (case "(($ac_try" in
23494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23495 *) ac_try_echo=$ac_try;;
23497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23498 (eval "$ac_try") 2>&5
23500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23501 (exit $ac_status); }; } &&
23502 { ac_try='test -s conftest$ac_exeext'
23503 { (case "(($ac_try" in
23504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23505 *) ac_try_echo=$ac_try;;
23507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23508 (eval "$ac_try") 2>&5
23510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23511 (exit $ac_status); }; }; then
23512 ac_cv_have_daylight="yes"
23514 echo "$as_me: failed program was:" >&5
23515 sed 's/^/| /' conftest.$ac_ext >&5
23517 ac_cv_have_daylight="no"
23520 rm -f core conftest.err conftest.$ac_objext \
23521 conftest$ac_exeext conftest.$ac_ext
23523 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
23524 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
23525 if test "$ac_cv_have_daylight" = "yes"
23528 cat >>confdefs.h <<\_ACEOF
23529 #define HAVE_DAYLIGHT 1
23536 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
23537 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
23538 if test "${ac_cv_cpp_def___i386__+set}" = set; then
23539 echo $ECHO_N "(cached) $ECHO_C" >&6
23541 cat >conftest.$ac_ext <<_ACEOF
23544 cat confdefs.h >>conftest.$ac_ext
23545 cat >>conftest.$ac_ext <<_ACEOF
23546 /* end confdefs.h. */
23551 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23552 $EGREP "yes" >/dev/null 2>&1; then
23553 ac_cv_cpp_def___i386__=yes
23555 ac_cv_cpp_def___i386__=no
23560 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
23561 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
23562 if test $ac_cv_cpp_def___i386__ = yes; then
23563 CFLAGS="$CFLAGS -D__i386__"
23564 LINTFLAGS="$LINTFLAGS -D__i386__"
23567 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
23568 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
23569 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
23570 echo $ECHO_N "(cached) $ECHO_C" >&6
23572 cat >conftest.$ac_ext <<_ACEOF
23575 cat confdefs.h >>conftest.$ac_ext
23576 cat >>conftest.$ac_ext <<_ACEOF
23577 /* end confdefs.h. */
23582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23583 $EGREP "yes" >/dev/null 2>&1; then
23584 ac_cv_cpp_def___x86_64__=yes
23586 ac_cv_cpp_def___x86_64__=no
23591 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
23592 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
23593 if test $ac_cv_cpp_def___x86_64__ = yes; then
23594 CFLAGS="$CFLAGS -D__x86_64__"
23595 LINTFLAGS="$LINTFLAGS -D__x86_64__"
23598 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
23599 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
23600 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
23601 echo $ECHO_N "(cached) $ECHO_C" >&6
23603 cat >conftest.$ac_ext <<_ACEOF
23606 cat confdefs.h >>conftest.$ac_ext
23607 cat >>conftest.$ac_ext <<_ACEOF
23608 /* end confdefs.h. */
23613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23614 $EGREP "yes" >/dev/null 2>&1; then
23615 ac_cv_cpp_def___ALPHA__=yes
23617 ac_cv_cpp_def___ALPHA__=no
23622 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
23623 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
23624 if test $ac_cv_cpp_def___ALPHA__ = yes; then
23625 CFLAGS="$CFLAGS -D__ALPHA__"
23626 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
23629 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
23630 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
23631 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
23632 echo $ECHO_N "(cached) $ECHO_C" >&6
23634 cat >conftest.$ac_ext <<_ACEOF
23637 cat confdefs.h >>conftest.$ac_ext
23638 cat >>conftest.$ac_ext <<_ACEOF
23639 /* end confdefs.h. */
23644 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23645 $EGREP "yes" >/dev/null 2>&1; then
23646 ac_cv_cpp_def___sparc__=yes
23648 ac_cv_cpp_def___sparc__=no
23653 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
23654 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
23655 if test $ac_cv_cpp_def___sparc__ = yes; then
23656 CFLAGS="$CFLAGS -D__sparc__"
23657 LINTFLAGS="$LINTFLAGS -D__sparc__"
23660 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
23661 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
23662 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
23663 echo $ECHO_N "(cached) $ECHO_C" >&6
23665 cat >conftest.$ac_ext <<_ACEOF
23668 cat confdefs.h >>conftest.$ac_ext
23669 cat >>conftest.$ac_ext <<_ACEOF
23670 /* end confdefs.h. */
23671 #ifndef __powerpc__
23675 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23676 $EGREP "yes" >/dev/null 2>&1; then
23677 ac_cv_cpp_def___powerpc__=yes
23679 ac_cv_cpp_def___powerpc__=no
23684 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
23685 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
23686 if test $ac_cv_cpp_def___powerpc__ = yes; then
23687 CFLAGS="$CFLAGS -D__powerpc__"
23688 LINTFLAGS="$LINTFLAGS -D__powerpc__"
23693 case $host_vendor in
23694 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
23695 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
23696 if test "${ac_cv_cpp_def___sun__+set}" = set; then
23697 echo $ECHO_N "(cached) $ECHO_C" >&6
23699 cat >conftest.$ac_ext <<_ACEOF
23702 cat confdefs.h >>conftest.$ac_ext
23703 cat >>conftest.$ac_ext <<_ACEOF
23704 /* end confdefs.h. */
23709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23710 $EGREP "yes" >/dev/null 2>&1; then
23711 ac_cv_cpp_def___sun__=yes
23713 ac_cv_cpp_def___sun__=no
23718 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
23719 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
23720 if test $ac_cv_cpp_def___sun__ = yes; then
23721 CFLAGS="$CFLAGS -D__sun__"
23722 LINTFLAGS="$LINTFLAGS -D__sun__"
23728 DEPENDENCIES="### Dependencies:
23733 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
23735 \$(ALL_OBJS): \$(IDL_H_SRCS:.idl=.h)
23736 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
23737 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
23738 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
23744 ac_config_commands="$ac_config_commands include/stamp-h"
23747 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
23749 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
23751 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
23753 ac_config_commands="$ac_config_commands dlls/user/resources"
23755 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
23757 ac_config_commands="$ac_config_commands include/wine"
23760 MAKE_RULES=Make.rules
23763 MAKE_DLL_RULES=dlls/Makedll.rules
23766 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
23769 MAKE_TEST_RULES=dlls/Maketest.rules
23772 MAKE_PROG_RULES=programs/Makeprog.rules
23775 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/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/glut32/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/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/user/Makefile dlls/user/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"
23778 cat >confcache <<\_ACEOF
23779 # This file is a shell script that caches the results of configure
23780 # tests run on this system so they can be shared between configure
23781 # scripts and configure runs, see configure's option --config-cache.
23782 # It is not useful on other systems. If it contains results you don't
23783 # want to keep, you may remove or edit it.
23785 # config.status only pays attention to the cache file if you give it
23786 # the --recheck option to rerun configure.
23788 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23789 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23790 # following values.
23794 # The following way of writing the cache mishandles newlines in values,
23795 # but we know of no workaround that is simple, portable, and efficient.
23796 # So, we kill variables containing newlines.
23797 # Ultrix sh set writes to stderr and can't be redirected directly,
23798 # and sets the high bit in the cache file unless we assign to the vars.
23800 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23801 eval ac_val=\$$ac_var
23805 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
23806 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
23809 _ | IFS | as_nl) ;; #(
23810 *) $as_unset $ac_var ;;
23816 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23817 *${as_nl}ac_space=\ *)
23818 # `set' does not quote correctly, so add quotes (double-quote
23819 # substitution turns \\\\ into \\, and sed turns \\ into \).
23822 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23825 # `set' quotes correctly as required by POSIX, so do not add quotes.
23826 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23835 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23837 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23839 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23840 if test -w "$cache_file"; then
23841 test "x$cache_file" != "x/dev/null" &&
23842 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
23843 echo "$as_me: updating cache $cache_file" >&6;}
23844 cat confcache >$cache_file
23846 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
23847 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23852 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23853 # Let make expand exec_prefix.
23854 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23856 DEFS=-DHAVE_CONFIG_H
23860 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23861 # 1. Remove the extension, and $U if already installed.
23862 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23863 ac_i=`echo "$ac_i" | sed "$ac_script"`
23864 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23865 # will be set to the directory where LIBOBJS objects are built.
23866 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23867 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
23869 LIBOBJS=$ac_libobjs
23871 LTLIBOBJS=$ac_ltlibobjs
23875 : ${CONFIG_STATUS=./config.status}
23876 ac_clean_files_save=$ac_clean_files
23877 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23878 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23879 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23880 cat >$CONFIG_STATUS <<_ACEOF
23882 # Generated by $as_me.
23883 # Run this file to recreate the current configuration.
23884 # Compiler output produced by configure, useful for debugging
23885 # configure, is in config.log if it exists.
23888 ac_cs_recheck=false
23890 SHELL=\${CONFIG_SHELL-$SHELL}
23893 cat >>$CONFIG_STATUS <<\_ACEOF
23894 ## --------------------- ##
23895 ## M4sh Initialization. ##
23896 ## --------------------- ##
23898 # Be Bourne compatible
23899 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23902 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23903 # is contrary to our usage. Disable this feature.
23904 alias -g '${1+"$@"}'='"$@"'
23905 setopt NO_GLOB_SUBST
23907 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
23909 BIN_SH=xpg4; export BIN_SH # for Tru64
23910 DUALCASE=1; export DUALCASE # for MKS sh
23914 # Avoid depending upon Character Ranges.
23915 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23916 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23917 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23918 as_cr_digits='0123456789'
23919 as_cr_alnum=$as_cr_Letters$as_cr_digits
23921 # The user is always right.
23922 if test "${PATH_SEPARATOR+set}" != set; then
23923 echo "#! /bin/sh" >conf$$.sh
23924 echo "exit 0" >>conf$$.sh
23926 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23934 # Support unset when possible.
23935 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
23943 # We need space, tab and new line, in precisely that order. Quoting is
23944 # there to prevent editors from complaining about space-tab.
23945 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23946 # splitting by setting IFS to empty value.)
23951 # Find who we are. Look in the path if we contain no directory separator.
23953 *[\\/]* ) as_myself=$0 ;;
23954 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23955 for as_dir in $PATH
23958 test -z "$as_dir" && as_dir=.
23959 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23965 # We did not find ourselves, most probably we were run as `sh COMMAND'
23966 # in which case we are not to be found in the path.
23967 if test "x$as_myself" = x; then
23970 if test ! -f "$as_myself"; then
23971 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23972 { (exit 1); exit 1; }
23975 # Work around bugs in pre-3.0 UWIN ksh.
23976 for as_var in ENV MAIL MAILPATH
23977 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23985 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23986 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23987 LC_TELEPHONE LC_TIME
23989 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23990 eval $as_var=C; export $as_var
23992 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23996 # Required to use basename.
23997 if expr a : '\(a\)' >/dev/null 2>&1 &&
23998 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24004 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24005 as_basename=basename
24011 # Name of the executable.
24012 as_me=`$as_basename -- "$0" ||
24013 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24014 X"$0" : 'X\(//\)$' \| \
24015 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24017 sed '/^.*\/\([^/][^/]*\)\/*$/{
24036 as_lineno_1=$LINENO
24037 as_lineno_2=$LINENO
24038 test "x$as_lineno_1" != "x$as_lineno_2" &&
24039 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
24041 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24042 # uniformly replaced by the line number. The first 'sed' inserts a
24043 # line-number line after each line using $LINENO; the second 'sed'
24044 # does the real work. The second script uses 'N' to pair each
24045 # line-number line with the line containing $LINENO, and appends
24046 # trailing '-' during substitution so that $LINENO is not a special
24047 # case at line end.
24048 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24049 # scripts with optimization help from Paolo Bonzini. Blame Lee
24050 # E. McMahon (1931-1989) for sed's syntax. :-)
24062 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24065 ' >$as_me.lineno &&
24066 chmod +x "$as_me.lineno" ||
24067 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24068 { (exit 1); exit 1; }; }
24070 # Don't try to exec as it changes $[0], causing all sort of problems
24071 # (the dirname of $[0] is not the place where we might find the
24072 # original and so on. Autoconf is especially sensitive to this).
24073 . "./$as_me.lineno"
24074 # Exit status is that of the last command.
24079 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
24085 ECHO_C= ECHO_N= ECHO_T=
24086 case `echo -n x` in
24088 case `echo 'x\c'` in
24089 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
24096 if expr a : '\(a\)' >/dev/null 2>&1 &&
24097 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24103 rm -f conf$$ conf$$.exe conf$$.file
24104 if test -d conf$$.dir; then
24105 rm -f conf$$.dir/conf$$.file
24111 if ln -s conf$$.file conf$$ 2>/dev/null; then
24113 # ... but there are two gotchas:
24114 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24115 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24116 # In both cases, we have to default to `cp -p'.
24117 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
24119 elif ln conf$$.file conf$$ 2>/dev/null; then
24124 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
24125 rmdir conf$$.dir 2>/dev/null
24127 if mkdir -p . 2>/dev/null; then
24130 test -d ./-p && rmdir ./-p
24134 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
24135 # systems may use methods other than mode bits to determine executability.
24136 cat >conf$$.file <<_ASEOF
24140 chmod +x conf$$.file
24141 if test -x conf$$.file >/dev/null 2>&1; then
24142 as_executable_p="test -x"
24148 # Sed expression to map a string onto a valid CPP name.
24149 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24151 # Sed expression to map a string onto a valid variable name.
24152 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24157 # Save the log message, to keep $[0] and so on meaningful, and to
24158 # report actual input values of CONFIG_FILES etc. instead of their
24159 # values after options handling.
24161 This file was extended by Wine $as_me 0.9.24, which was
24162 generated by GNU Autoconf 2.60a. Invocation command line was
24164 CONFIG_FILES = $CONFIG_FILES
24165 CONFIG_HEADERS = $CONFIG_HEADERS
24166 CONFIG_LINKS = $CONFIG_LINKS
24167 CONFIG_COMMANDS = $CONFIG_COMMANDS
24170 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24175 cat >>$CONFIG_STATUS <<_ACEOF
24176 # Files that config.status was made for.
24177 config_files="$ac_config_files"
24178 config_headers="$ac_config_headers"
24179 config_commands="$ac_config_commands"
24183 cat >>$CONFIG_STATUS <<\_ACEOF
24185 \`$as_me' instantiates files from templates according to the
24186 current configuration.
24188 Usage: $0 [OPTIONS] [FILE]...
24190 -h, --help print this help, then exit
24191 -V, --version print version number and configuration settings, then exit
24192 -q, --quiet do not print progress messages
24193 -d, --debug don't remove temporary files
24194 --recheck update $as_me by reconfiguring in the same conditions
24195 --file=FILE[:TEMPLATE]
24196 instantiate the configuration file FILE
24197 --header=FILE[:TEMPLATE]
24198 instantiate the configuration header FILE
24200 Configuration files:
24203 Configuration headers:
24206 Configuration commands:
24209 Report bugs to <bug-autoconf@gnu.org>."
24212 cat >>$CONFIG_STATUS <<_ACEOF
24214 Wine config.status 0.9.24
24215 configured by $0, generated by GNU Autoconf 2.60a,
24216 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24218 Copyright (C) 2006 Free Software Foundation, Inc.
24219 This config.status script is free software; the Free Software Foundation
24220 gives unlimited permission to copy, distribute and modify it."
24227 cat >>$CONFIG_STATUS <<\_ACEOF
24228 # If no file are specified by the user, then we need to provide default
24229 # value. By we need to know if files were specified by the user.
24235 ac_option=`expr "X$1" : 'X\([^=]*\)='`
24236 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24247 # Handling of the options.
24248 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24250 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24251 echo "$ac_cs_version"; exit ;;
24252 --debug | --debu | --deb | --de | --d | -d )
24254 --file | --fil | --fi | --f )
24256 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24257 ac_need_defaults=false;;
24258 --header | --heade | --head | --hea )
24260 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24261 ac_need_defaults=false;;
24263 # Conflict between --help and --header
24264 { echo "$as_me: error: ambiguous option: $1
24265 Try \`$0 --help' for more information." >&2
24266 { (exit 1); exit 1; }; };;
24267 --help | --hel | -h )
24268 echo "$ac_cs_usage"; exit ;;
24269 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24270 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24273 # This is an error.
24274 -*) { echo "$as_me: error: unrecognized option: $1
24275 Try \`$0 --help' for more information." >&2
24276 { (exit 1); exit 1; }; } ;;
24278 *) ac_config_targets="$ac_config_targets $1"
24279 ac_need_defaults=false ;;
24285 ac_configure_extra_args=
24287 if $ac_cs_silent; then
24289 ac_configure_extra_args="$ac_configure_extra_args --silent"
24293 cat >>$CONFIG_STATUS <<_ACEOF
24294 if \$ac_cs_recheck; then
24295 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24296 CONFIG_SHELL=$SHELL
24297 export CONFIG_SHELL
24298 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24302 cat >>$CONFIG_STATUS <<\_ACEOF
24306 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24307 ## Running $as_me. ##
24313 cat >>$CONFIG_STATUS <<_ACEOF
24316 cat >>$CONFIG_STATUS <<\_ACEOF
24318 # Handling of arguments.
24319 for ac_config_target in $ac_config_targets
24321 case $ac_config_target in
24322 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
24323 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
24324 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
24325 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
24326 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
24327 "dlls/user/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
24328 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
24329 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
24330 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
24331 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
24332 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
24333 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
24334 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
24335 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24336 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
24337 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
24338 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
24339 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
24340 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
24341 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
24342 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
24343 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
24344 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
24345 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
24346 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
24347 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
24348 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
24349 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
24350 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
24351 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
24352 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
24353 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
24354 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
24355 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
24356 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
24357 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
24358 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
24359 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
24360 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
24361 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
24362 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
24363 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
24364 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
24365 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
24366 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
24367 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
24368 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
24369 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
24370 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
24371 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
24372 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
24373 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
24374 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
24375 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
24376 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
24377 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
24378 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
24379 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
24380 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
24381 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
24382 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
24383 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
24384 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
24385 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
24386 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
24387 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
24388 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
24389 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
24390 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
24391 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
24392 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
24393 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
24394 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
24395 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
24396 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
24397 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
24398 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
24399 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
24400 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
24401 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
24402 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
24403 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
24404 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
24405 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
24406 "dlls/glut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
24407 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
24408 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
24409 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
24410 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
24411 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
24412 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
24413 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
24414 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
24415 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
24416 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
24417 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
24418 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
24419 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
24420 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
24421 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
24422 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
24423 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
24424 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
24425 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
24426 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
24427 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
24428 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
24429 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
24430 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
24431 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
24432 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
24433 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
24434 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
24435 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
24436 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
24437 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
24438 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
24439 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
24440 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
24441 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
24442 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
24443 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
24444 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
24445 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
24446 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
24447 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
24448 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
24449 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
24450 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
24451 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
24452 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
24453 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
24454 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
24455 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
24456 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
24457 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
24458 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
24459 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
24460 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
24461 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
24462 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
24463 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
24464 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
24465 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
24466 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
24467 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
24468 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
24469 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
24470 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
24471 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
24472 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
24473 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
24474 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
24475 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
24476 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
24477 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
24478 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
24479 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
24480 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
24481 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
24482 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
24483 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
24484 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
24485 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
24486 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
24487 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
24488 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
24489 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
24490 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
24491 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
24492 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
24493 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
24494 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
24495 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
24496 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
24497 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
24498 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
24499 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
24500 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
24501 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
24502 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
24503 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
24504 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
24505 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
24506 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
24507 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
24508 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
24509 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
24510 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
24511 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
24512 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
24513 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
24514 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
24515 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
24516 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
24517 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
24518 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
24519 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
24520 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
24521 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
24522 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
24523 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
24524 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
24525 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
24526 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
24527 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
24528 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
24529 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
24530 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
24531 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
24532 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
24533 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
24534 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
24535 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
24536 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
24537 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
24538 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
24539 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
24540 "dlls/user/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
24541 "dlls/user/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
24542 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
24543 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
24544 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
24545 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
24546 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
24547 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
24548 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
24549 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
24550 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
24551 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
24552 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
24553 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
24554 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
24555 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
24556 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
24557 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
24558 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
24559 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
24560 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
24561 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
24562 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
24563 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
24564 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
24565 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
24566 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
24567 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
24568 "dlls/winmm/joystick/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
24569 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
24570 "dlls/winmm/winealsa/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
24571 "dlls/winmm/winearts/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
24572 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
24573 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
24574 "dlls/winmm/wineesd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
24575 "dlls/winmm/winejack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
24576 "dlls/winmm/winenas/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
24577 "dlls/winmm/wineoss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
24578 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
24579 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
24580 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
24581 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
24582 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
24583 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
24584 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
24585 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
24586 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
24587 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
24588 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
24589 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
24590 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
24591 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
24592 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
24593 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
24594 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
24595 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
24596 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
24597 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
24598 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
24599 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
24600 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
24601 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
24602 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
24603 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
24604 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
24605 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
24606 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
24607 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
24608 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
24609 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
24610 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
24611 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
24612 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
24613 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
24614 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
24615 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
24616 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
24617 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
24618 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
24619 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
24620 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
24621 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
24622 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
24623 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
24624 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
24625 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
24626 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
24627 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
24628 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
24629 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
24630 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
24631 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
24632 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
24633 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
24634 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
24635 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
24636 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
24637 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
24638 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
24639 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
24640 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
24641 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
24642 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
24643 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
24645 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24646 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24647 { (exit 1); exit 1; }; };;
24652 # If the user did not use the arguments to specify the items to instantiate,
24653 # then the envvar interface is used. Set only those that are not.
24654 # We use the long form for the default assignment because of an extremely
24655 # bizarre bug on SunOS 4.1.3.
24656 if $ac_need_defaults; then
24657 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24658 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24659 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24662 # Have a temporary directory for convenience. Make it in the build tree
24663 # simply because there is no reason against having it here, and in addition,
24664 # creating and moving files from /tmp can sometimes cause problems.
24665 # Hook for its removal unless debugging.
24666 # Note that there is a small window in which the directory will not be cleaned:
24667 # after its creation but before its name has been assigned to `$tmp'.
24671 trap 'exit_status=$?
24672 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
24674 trap '{ (exit 1); exit 1; }' 1 2 13 15
24676 # Create a (secure) tmp directory for tmp files.
24679 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24680 test -n "$tmp" && test -d "$tmp"
24683 tmp=./conf$$-$RANDOM
24684 (umask 077 && mkdir "$tmp")
24687 echo "$me: cannot create a temporary directory in ." >&2
24688 { (exit 1); exit 1; }
24692 # Set up the sed scripts for CONFIG_FILES section.
24695 # No need to generate the scripts if there are no CONFIG_FILES.
24696 # This happens for instance when ./config.status config.h
24697 if test -n "$CONFIG_FILES"; then
24701 # Create sed commands to just substitute file output variables.
24703 # Remaining file output variables are in a fragment that also has non-file
24709 for ac_last_try in false false false false false :; do
24710 cat >conf$$subs.sed <<_ACEOF
24711 SHELL!$SHELL$ac_delim
24712 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
24713 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
24714 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
24715 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
24716 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
24717 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
24718 exec_prefix!$exec_prefix$ac_delim
24719 prefix!$prefix$ac_delim
24720 program_transform_name!$program_transform_name$ac_delim
24721 bindir!$bindir$ac_delim
24722 sbindir!$sbindir$ac_delim
24723 libexecdir!$libexecdir$ac_delim
24724 datarootdir!$datarootdir$ac_delim
24725 datadir!$datadir$ac_delim
24726 sysconfdir!$sysconfdir$ac_delim
24727 sharedstatedir!$sharedstatedir$ac_delim
24728 localstatedir!$localstatedir$ac_delim
24729 includedir!$includedir$ac_delim
24730 oldincludedir!$oldincludedir$ac_delim
24731 docdir!$docdir$ac_delim
24732 infodir!$infodir$ac_delim
24733 htmldir!$htmldir$ac_delim
24734 dvidir!$dvidir$ac_delim
24735 pdfdir!$pdfdir$ac_delim
24736 psdir!$psdir$ac_delim
24737 libdir!$libdir$ac_delim
24738 localedir!$localedir$ac_delim
24739 mandir!$mandir$ac_delim
24740 DEFS!$DEFS$ac_delim
24741 ECHO_C!$ECHO_C$ac_delim
24742 ECHO_N!$ECHO_N$ac_delim
24743 ECHO_T!$ECHO_T$ac_delim
24744 LIBS!$LIBS$ac_delim
24745 build_alias!$build_alias$ac_delim
24746 host_alias!$host_alias$ac_delim
24747 target_alias!$target_alias$ac_delim
24748 build!$build$ac_delim
24749 build_cpu!$build_cpu$ac_delim
24750 build_vendor!$build_vendor$ac_delim
24751 build_os!$build_os$ac_delim
24752 host!$host$ac_delim
24753 host_cpu!$host_cpu$ac_delim
24754 host_vendor!$host_vendor$ac_delim
24755 host_os!$host_os$ac_delim
24756 WIN16_FILES!$WIN16_FILES$ac_delim
24757 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
24758 SET_MAKE!$SET_MAKE$ac_delim
24760 CFLAGS!$CFLAGS$ac_delim
24761 LDFLAGS!$LDFLAGS$ac_delim
24762 CPPFLAGS!$CPPFLAGS$ac_delim
24763 ac_ct_CC!$ac_ct_CC$ac_delim
24764 EXEEXT!$EXEEXT$ac_delim
24765 OBJEXT!$OBJEXT$ac_delim
24767 CXXFLAGS!$CXXFLAGS$ac_delim
24768 ac_ct_CXX!$ac_ct_CXX$ac_delim
24769 CPPBIN!$CPPBIN$ac_delim
24770 TOOLSDIR!$TOOLSDIR$ac_delim
24771 XMKMF!$XMKMF$ac_delim
24773 X_CFLAGS!$X_CFLAGS$ac_delim
24774 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
24775 X_LIBS!$X_LIBS$ac_delim
24776 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
24778 LEXLIB!$LEXLIB$ac_delim
24779 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
24780 XLEX!$XLEX$ac_delim
24781 BISON!$BISON$ac_delim
24783 ac_ct_AS!$ac_ct_AS$ac_delim
24786 RANLIB!$RANLIB$ac_delim
24787 STRIP!$STRIP$ac_delim
24788 WINDRES!$WINDRES$ac_delim
24789 LN_S!$LN_S$ac_delim
24791 GREP!$GREP$ac_delim
24792 EGREP!$EGREP$ac_delim
24795 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
24797 elif $ac_last_try; then
24798 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24799 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24800 { (exit 1); exit 1; }; }
24802 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24806 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24807 if test -n "$ac_eof"; then
24808 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24809 ac_eof=`expr $ac_eof + 1`
24812 cat >>$CONFIG_STATUS <<_ACEOF
24813 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24814 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24815 /^[ ]*@MAKE_RULES@[ ]*$/{
24819 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
24823 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
24824 r $MAKE_IMPLIB_RULES
24827 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
24831 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
24837 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24838 s/^/s,@/; s/!/@,|#_!!_#|/
24841 s/'"$ac_delim"'$/,g/; t
24843 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24844 ' >>$CONFIG_STATUS <conf$$subs.sed
24845 rm -f conf$$subs.sed
24846 cat >>$CONFIG_STATUS <<_ACEOF
24852 for ac_last_try in false false false false false :; do
24853 cat >conf$$subs.sed <<_ACEOF
24854 LDCONFIG!$LDCONFIG$ac_delim
24855 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
24856 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
24857 INSTALL_DATA!$INSTALL_DATA$ac_delim
24858 LINT!$LINT$ac_delim
24859 LINTFLAGS!$LINTFLAGS$ac_delim
24860 FONTFORGE!$FONTFORGE$ac_delim
24861 PKG_CONFIG!$PKG_CONFIG$ac_delim
24862 PRELINK!$PRELINK$ac_delim
24863 LIBPTHREAD!$LIBPTHREAD$ac_delim
24864 XLIB!$XLIB$ac_delim
24865 XFILES!$XFILES$ac_delim
24866 OPENGLFILES!$OPENGLFILES$ac_delim
24867 GLU32FILES!$GLU32FILES$ac_delim
24868 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
24869 QUARTZFILES!$QUARTZFILES$ac_delim
24870 GLUT_LIBS!$GLUT_LIBS$ac_delim
24871 GLUT32FILES!$GLUT32FILES$ac_delim
24872 NASLIBS!$NASLIBS$ac_delim
24873 XML2LIBS!$XML2LIBS$ac_delim
24874 XML2INCL!$XML2INCL$ac_delim
24875 XSLTLIBS!$XSLTLIBS$ac_delim
24876 XSLTINCL!$XSLTINCL$ac_delim
24877 HALINCL!$HALINCL$ac_delim
24878 CURSESLIBS!$CURSESLIBS$ac_delim
24879 sane_devel!$sane_devel$ac_delim
24880 SANELIBS!$SANELIBS$ac_delim
24881 SANEINCL!$SANEINCL$ac_delim
24882 gphoto2_devel!$gphoto2_devel$ac_delim
24883 gphoto2port_devel!$gphoto2port_devel$ac_delim
24884 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
24885 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
24886 ICULIBS!$ICULIBS$ac_delim
24887 RESOLVLIBS!$RESOLVLIBS$ac_delim
24888 LCMSLIBS!$LCMSLIBS$ac_delim
24889 LDAPLIBS!$LDAPLIBS$ac_delim
24890 FREETYPELIBS!$FREETYPELIBS$ac_delim
24891 FREETYPEINCL!$FREETYPEINCL$ac_delim
24892 ft_devel!$ft_devel$ac_delim
24893 ft_devel2!$ft_devel2$ac_delim
24894 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
24895 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
24896 ARTSLIBS!$ARTSLIBS$ac_delim
24897 ARTSINCL!$ARTSINCL$ac_delim
24898 ESDCONFIG!$ESDCONFIG$ac_delim
24899 ESDLIBS!$ESDLIBS$ac_delim
24900 ESDINCL!$ESDINCL$ac_delim
24901 ALSALIBS!$ALSALIBS$ac_delim
24902 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
24903 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
24904 BUILTINFLAG!$BUILTINFLAG$ac_delim
24905 DLLEXT!$DLLEXT$ac_delim
24906 DLLFLAGS!$DLLFLAGS$ac_delim
24907 LDSHARED!$LDSHARED$ac_delim
24908 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
24909 LIBEXT!$LIBEXT$ac_delim
24910 IMPLIBEXT!$IMPLIBEXT$ac_delim
24911 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
24912 DLLTOOL!$DLLTOOL$ac_delim
24913 DLLWRAP!$DLLWRAP$ac_delim
24914 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
24915 IOKITLIB!$IOKITLIB$ac_delim
24916 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
24917 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
24918 COREAUDIO!$COREAUDIO$ac_delim
24919 CROSSTEST!$CROSSTEST$ac_delim
24920 CROSSCC!$CROSSCC$ac_delim
24921 CROSSWINDRES!$CROSSWINDRES$ac_delim
24922 LDPATH!$LDPATH$ac_delim
24923 CRTLIBS!$CRTLIBS$ac_delim
24924 SOCKETLIBS!$SOCKETLIBS$ac_delim
24925 MAIN_BINARY!$MAIN_BINARY$ac_delim
24926 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
24928 LIBDL!$LIBDL$ac_delim
24929 LIBPOLL!$LIBPOLL$ac_delim
24930 DEPENDENCIES!$DEPENDENCIES$ac_delim
24931 LIBOBJS!$LIBOBJS$ac_delim
24932 LTLIBOBJS!$LTLIBOBJS$ac_delim
24935 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 79; then
24937 elif $ac_last_try; then
24938 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24939 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24940 { (exit 1); exit 1; }; }
24942 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24946 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24947 if test -n "$ac_eof"; then
24948 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24949 ac_eof=`expr $ac_eof + 1`
24952 cat >>$CONFIG_STATUS <<_ACEOF
24953 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24954 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24957 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24958 s/^/s,@/; s/!/@,|#_!!_#|/
24961 s/'"$ac_delim"'$/,g/; t
24963 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24964 ' >>$CONFIG_STATUS <conf$$subs.sed
24965 rm -f conf$$subs.sed
24966 cat >>$CONFIG_STATUS <<_ACEOF
24973 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24974 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24975 # trailing colons and then remove the whole line if VPATH becomes empty
24976 # (actually we leave an empty line to preserve line numbers).
24977 if test "x$srcdir" = x.; then
24978 ac_vpsub='/^[ ]*VPATH[ ]*=/{
24979 s/:*\$(srcdir):*/:/
24980 s/:*\${srcdir}:*/:/
24982 s/^\([^=]*=[ ]*\):*/\1/
24988 cat >>$CONFIG_STATUS <<\_ACEOF
24989 fi # test -n "$CONFIG_FILES"
24992 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
24995 :[FHLC]) ac_mode=$ac_tag; continue;;
24997 case $ac_mode$ac_tag in
24999 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
25000 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
25001 { (exit 1); exit 1; }; };;
25002 :[FH]-) ac_tag=-:-;;
25003 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
25020 -) ac_f="$tmp/stdin";;
25021 *) # Look for the file first in the build tree, then in the source tree
25022 # (if the path is not absolute). The absolute path cannot be DOS-style,
25023 # because $ac_f cannot contain `:'.
25027 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
25029 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25030 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25031 { (exit 1); exit 1; }; };;
25033 ac_file_inputs="$ac_file_inputs $ac_f"
25036 # Let's still pretend it is `configure' which instantiates (i.e., don't
25037 # use $as_me), people would be surprised to read:
25038 # /* config.h. Generated by config.status. */
25039 configure_input="Generated from "`IFS=:
25040 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
25041 if test x"$ac_file" != x-; then
25042 configure_input="$ac_file. $configure_input"
25043 { echo "$as_me:$LINENO: creating $ac_file" >&5
25044 echo "$as_me: creating $ac_file" >&6;}
25048 *:-:* | *:-) cat >"$tmp/stdin";;
25053 ac_dir=`$as_dirname -- "$ac_file" ||
25054 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25055 X"$ac_file" : 'X\(//\)[^/]' \| \
25056 X"$ac_file" : 'X\(//\)$' \| \
25057 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25063 /^X\(\/\/\)[^/].*/{
25078 -*) as_dir=./$as_dir;;
25080 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25084 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25085 *) as_qdir=$as_dir;;
25087 as_dirs="'$as_qdir' $as_dirs"
25088 as_dir=`$as_dirname -- "$as_dir" ||
25089 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25090 X"$as_dir" : 'X\(//\)[^/]' \| \
25091 X"$as_dir" : 'X\(//\)$' \| \
25092 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25098 /^X\(\/\/\)[^/].*/{
25111 test -d "$as_dir" && break
25113 test -z "$as_dirs" || eval "mkdir $as_dirs"
25114 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25115 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25116 { (exit 1); exit 1; }; }; }
25120 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25122 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25123 # A ".." for each directory in $ac_dir_suffix.
25124 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25125 case $ac_top_builddir_sub in
25126 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25127 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25130 ac_abs_top_builddir=$ac_pwd
25131 ac_abs_builddir=$ac_pwd$ac_dir_suffix
25132 # for backward compatibility:
25133 ac_top_builddir=$ac_top_build_prefix
25136 .) # We are building in place.
25138 ac_top_srcdir=$ac_top_builddir_sub
25139 ac_abs_top_srcdir=$ac_pwd ;;
25140 [\\/]* | ?:[\\/]* ) # Absolute name.
25141 ac_srcdir=$srcdir$ac_dir_suffix;
25142 ac_top_srcdir=$srcdir
25143 ac_abs_top_srcdir=$srcdir ;;
25144 *) # Relative name.
25145 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
25146 ac_top_srcdir=$ac_top_build_prefix$srcdir
25147 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
25149 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
25159 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25160 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
25164 cat >>$CONFIG_STATUS <<\_ACEOF
25165 # If the template does not know about datarootdir, expand it.
25166 # FIXME: This hack should be removed a few years after 2.60.
25167 ac_datarootdir_hack=; ac_datarootdir_seen=
25169 case `sed -n '/datarootdir/ {
25178 ' $ac_file_inputs` in
25179 *datarootdir*) ac_datarootdir_seen=yes;;
25180 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25181 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25182 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25184 cat >>$CONFIG_STATUS <<_ACEOF
25185 ac_datarootdir_hack='
25186 s&@datadir@&$datadir&g
25187 s&@docdir@&$docdir&g
25188 s&@infodir@&$infodir&g
25189 s&@localedir@&$localedir&g
25190 s&@mandir@&$mandir&g
25191 s&\\\${datarootdir}&$datarootdir&g' ;;
25195 # Neutralize VPATH when `$srcdir' = `.'.
25196 # Shell code in configure.ac might set extrasub.
25197 # FIXME: do we really want to maintain this feature?
25198 cat >>$CONFIG_STATUS <<_ACEOF
25202 cat >>$CONFIG_STATUS <<\_ACEOF
25204 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25205 s&@configure_input@&$configure_input&;t t
25206 s&@top_builddir@&$ac_top_builddir_sub&;t t
25207 s&@srcdir@&$ac_srcdir&;t t
25208 s&@abs_srcdir@&$ac_abs_srcdir&;t t
25209 s&@top_srcdir@&$ac_top_srcdir&;t t
25210 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
25211 s&@builddir@&$ac_builddir&;t t
25212 s&@abs_builddir@&$ac_abs_builddir&;t t
25213 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25214 s&@INSTALL@&$ac_INSTALL&;t t
25215 $ac_datarootdir_hack
25216 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
25218 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25219 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
25220 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
25221 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25222 which seems to be undefined. Please make sure it is defined." >&5
25223 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25224 which seems to be undefined. Please make sure it is defined." >&2;}
25228 -) cat "$tmp/out"; rm -f "$tmp/out";;
25229 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25238 # Transform confdefs.h into a sed script `conftest.defines', that
25239 # substitutes the proper values into config.h.in to produce config.h.
25240 rm -f conftest.defines conftest.tail
25241 # First, append a space to every undef/define line, to ease matching.
25242 echo 's/$/ /' >conftest.defines
25243 # Then, protect against being on the right side of a sed subst, or in
25244 # an unquoted here document, in config.status. If some macros were
25245 # called several times there might be several #defines for the same
25246 # symbol, which is useless. But do not sort them, since the last
25247 # AC_DEFINE must be honored.
25248 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25249 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25250 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25251 # PARAMS is the parameter list in the macro definition--in most cases, it's
25252 # just an empty string.
25253 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25254 ac_dB='\\)[ (].*,\\1define\\2'
25262 s/^[ ]*#[ ]*define[ ][ ]*//
25267 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25268 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25269 ' >>conftest.defines
25271 # Remove the space that was appended to ease matching.
25272 # Then replace #undef with comments. This is necessary, for
25273 # example, in the case of _POSIX_SOURCE, which is predefined and required
25274 # on some systems where configure will not decide to define it.
25275 # (The regexp can be short, since the line contains either #define or #undef.)
25277 s,^[ #]*u.*,/* & */,' >>conftest.defines
25279 # Break up conftest.defines:
25280 ac_max_sed_lines=50
25282 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25283 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25284 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25286 ac_in='$ac_file_inputs'
25287 ac_out='"$tmp/out1"'
25288 ac_nxt='"$tmp/out2"'
25292 # Write a here document:
25293 cat >>$CONFIG_STATUS <<_ACEOF
25294 # First, check the format of the line:
25295 cat >"\$tmp/defines.sed" <<\\CEOF
25296 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25297 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25301 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25303 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25304 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
25305 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
25306 grep . conftest.tail >/dev/null || break
25307 rm -f conftest.defines
25308 mv conftest.tail conftest.defines
25310 rm -f conftest.defines conftest.tail
25312 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25313 cat >>$CONFIG_STATUS <<\_ACEOF
25314 if test x"$ac_file" != x-; then
25315 echo "/* $configure_input */" >"$tmp/config.h"
25316 cat "$ac_result" >>"$tmp/config.h"
25317 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
25318 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25319 echo "$as_me: $ac_file is unchanged" >&6;}
25322 mv "$tmp/config.h" $ac_file
25325 echo "/* $configure_input */"
25331 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25332 echo "$as_me: executing $ac_file commands" >&6;}
25337 case $ac_file$ac_mode in
25338 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
25339 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
25340 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
25341 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
25342 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
25343 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
25344 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
25345 "dlls/user/resources":C) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
25346 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
25347 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
25348 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
25349 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
25350 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
25356 { (exit 0); exit 0; }
25358 chmod +x $CONFIG_STATUS
25359 ac_clean_files=$ac_clean_files_save
25362 # configure is writing to config.log, and then calls config.status.
25363 # config.status does its own redirection, appending to config.log.
25364 # Unfortunately, on DOS this fails, as config.log is still kept open
25365 # by configure, so config.status won't be able to write to it; its
25366 # output is simply discarded. So we exec the FD to /dev/null,
25367 # effectively closing config.log, so it can be properly (re)opened and
25368 # appended to by config.status. When coming back to configure, we
25369 # need to make the FD available again.
25370 if test "$no_create" != yes; then
25372 ac_config_status_args=
25373 test "$silent" = yes &&
25374 ac_config_status_args="$ac_config_status_args --quiet"
25376 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25378 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25379 # would make configure fail if this is the last instruction.
25380 $ac_cs_success || { (exit 1); exit 1; }
25385 if test "$no_create" = "yes"
25390 if test "$verbose" = "yes"
25392 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
25395 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
25396 echo "$as_me: libcapi20 development files not found." >&6;}
25397 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
25398 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
25401 if test "$ac_cv_header_cups_cups_h" != "yes"
25404 { echo "$as_me:$LINENO: libcups development files not found." >&5
25405 echo "$as_me: libcups development files not found." >&6;}
25406 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
25407 echo "$as_me: Wine will be built without CUPS support." >&6;}
25411 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
25414 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
25415 echo "$as_me: libgphoto2 development files not found." >&6;}
25416 if test "$ac_cv_header_sane_sane_h" = "yes"
25418 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
25419 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
25421 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
25422 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
25426 if test "$ac_cv_header_hal_libhal_h" != "yes"
25429 { echo "$as_me:$LINENO: libhal development files not found." >&5
25430 echo "$as_me: libhal development files not found." >&6;}
25431 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
25432 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
25435 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
25438 { echo "$as_me:$LINENO: libicu development files not found." >&5
25439 echo "$as_me: libicu development files not found." >&6;}
25440 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
25441 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
25444 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
25447 { echo "$as_me:$LINENO: liblcms development files not found." >&5
25448 echo "$as_me: liblcms development files not found." >&6;}
25449 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
25450 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
25453 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
25456 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
25457 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
25458 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
25459 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
25462 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
25465 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
25466 echo "$as_me: lib(n)curses development files not found." >&6;}
25467 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
25468 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
25471 if test "$ac_cv_header_sane_sane_h" != "yes"
25474 { echo "$as_me:$LINENO: libsane development files not found." >&5
25475 echo "$as_me: libsane development files not found." >&6;}
25476 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
25477 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
25480 if test "$have_x" = "yes"
25482 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
25485 { echo "$as_me:$LINENO: libxext development files not found." >&5
25486 echo "$as_me: libxext development files not found." >&6;}
25487 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
25488 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
25491 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
25494 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
25495 echo "$as_me: libXrandr development files not found." >&6;}
25496 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
25497 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
25500 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
25503 { echo "$as_me:$LINENO: libXrender development files not found." >&5
25504 echo "$as_me: libXrender development files not found." >&6;}
25505 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
25506 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
25509 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
25512 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
25513 echo "$as_me: libXxf86vm development files not found." >&6;}
25514 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
25515 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
25519 if test "$ac_cv_header_libxml_parser_h" != "yes"
25522 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
25523 echo "$as_me: libxml2 development files not found." >&6;}
25524 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
25525 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
25528 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
25531 { echo "$as_me:$LINENO: libxslt development files not found." >&5
25532 echo "$as_me: libxslt development files not found." >&6;}
25533 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
25534 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
25539 if test "$have_x" = "no"
25542 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
25543 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
25544 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
25545 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
25546 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
25547 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
25548 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
25549 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
25552 if test -z "$OPENGLFILES"
25555 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
25556 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
25557 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
25558 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
25559 if test "$wine_cv_opengl_headers_found" = "no"
25561 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
25562 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
25564 if test "$wine_cv_opengl_header_version_OK" = "no"
25566 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
25567 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
25568 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
25570 if test -f /usr/X11R6/lib/libGL.a
25572 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
25573 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
25574 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
25575 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
25577 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
25578 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
25583 if test "$wine_cv_msg_freetype" = "yes"
25586 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
25587 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
25588 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
25589 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
25590 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
25591 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
25592 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
25593 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
25596 if test -z "$FONTSSUBDIRS"
25599 if test "$FONTFORGE" = "false"
25601 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
25602 echo "$as_me: WARNING: FontForge is missing." >&2;}
25604 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
25605 echo "$as_me: WARNING: FreeType is missing." >&2;}
25607 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
25608 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
25611 if test -z "$ALSALIBS" -a \
25612 -z "$ARTSC_LIBS" -a \
25613 -z "$AUDIOIOLIBS" -a \
25615 -z "$ESD_LIBS" -a \
25616 -z "$ac_cv_lib_soname_jack" -a \
25617 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
25618 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
25619 "$ac_cv_header_soundcard_h" != "yes"
25622 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
25623 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
25624 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
25625 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
25626 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
25627 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
25631 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."