2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59e for Wine 0.9.15.
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.15'
563 PACKAGE_STRING='Wine 0.9.15'
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
761 ac_subst_files='MAKE_RULES
767 ac_precious_vars='build_alias
781 # Initialize some variables set by options.
783 ac_init_version=false
784 # The variables have the same names as the options, with
785 # dashes changed to underlines.
793 program_transform_name=s,x,x,
801 # Installation directory options.
802 # These are left unexpanded so users can "make install exec_prefix=/foo"
803 # and all the variables that are supposed to be based on exec_prefix
804 # by default will actually change.
805 # Use braces instead of parens because sh, perl, etc. also accept them.
806 # (The list follows the same order as the GNU Coding Standards.)
807 bindir='${exec_prefix}/bin'
808 sbindir='${exec_prefix}/sbin'
809 libexecdir='${exec_prefix}/libexec'
810 datarootdir='${prefix}/share'
811 datadir='${datarootdir}'
812 sysconfdir='${prefix}/etc'
813 sharedstatedir='${prefix}/com'
814 localstatedir='${prefix}/var'
815 includedir='${prefix}/include'
816 oldincludedir='/usr/include'
817 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
818 infodir='${datarootdir}/info'
823 libdir='${exec_prefix}/lib'
824 localedir='${datarootdir}/locale'
825 mandir='${datarootdir}/man'
831 # If the previous option needs an argument, assign it.
832 if test -n "$ac_prev"; then
833 eval $ac_prev=\$ac_option
839 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
843 # Accept the important Cygnus configure options, so we can diagnose typos.
845 case $ac_dashdash$ac_option in
849 -bindir | --bindir | --bindi | --bind | --bin | --bi)
851 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
854 -build | --build | --buil | --bui | --bu)
855 ac_prev=build_alias ;;
856 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
857 build_alias=$ac_optarg ;;
859 -cache-file | --cache-file | --cache-fil | --cache-fi \
860 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
861 ac_prev=cache_file ;;
862 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
863 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
864 cache_file=$ac_optarg ;;
867 cache_file=config.cache ;;
869 -datadir | --datadir | --datadi | --datad)
871 -datadir=* | --datadir=* | --datadi=* | --datad=*)
872 datadir=$ac_optarg ;;
874 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
875 | --dataroo | --dataro | --datar)
876 ac_prev=datarootdir ;;
877 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
878 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
879 datarootdir=$ac_optarg ;;
881 -disable-* | --disable-*)
882 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
883 # Reject names that are not valid shell variable names.
884 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
885 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
886 { (exit 1); exit 1; }; }
887 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
888 eval enable_$ac_feature=no ;;
890 -docdir | --docdir | --docdi | --doc | --do)
892 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
895 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
897 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
900 -enable-* | --enable-*)
901 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
902 # Reject names that are not valid shell variable names.
903 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
904 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
905 { (exit 1); exit 1; }; }
906 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
907 eval enable_$ac_feature=\$ac_optarg ;;
909 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
910 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
911 | --exec | --exe | --ex)
912 ac_prev=exec_prefix ;;
913 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
914 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
915 | --exec=* | --exe=* | --ex=*)
916 exec_prefix=$ac_optarg ;;
918 -gas | --gas | --ga | --g)
919 # Obsolete; use --with-gas.
922 -help | --help | --hel | --he | -h)
924 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
925 ac_init_help=recursive ;;
926 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
927 ac_init_help=short ;;
929 -host | --host | --hos | --ho)
930 ac_prev=host_alias ;;
931 -host=* | --host=* | --hos=* | --ho=*)
932 host_alias=$ac_optarg ;;
934 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
936 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
938 htmldir=$ac_optarg ;;
940 -includedir | --includedir | --includedi | --included | --include \
941 | --includ | --inclu | --incl | --inc)
942 ac_prev=includedir ;;
943 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
944 | --includ=* | --inclu=* | --incl=* | --inc=*)
945 includedir=$ac_optarg ;;
947 -infodir | --infodir | --infodi | --infod | --info | --inf)
949 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
950 infodir=$ac_optarg ;;
952 -libdir | --libdir | --libdi | --libd)
954 -libdir=* | --libdir=* | --libdi=* | --libd=*)
957 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
958 | --libexe | --libex | --libe)
959 ac_prev=libexecdir ;;
960 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
961 | --libexe=* | --libex=* | --libe=*)
962 libexecdir=$ac_optarg ;;
964 -localedir | --localedir | --localedi | --localed | --locale)
966 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
967 localedir=$ac_optarg ;;
969 -localstatedir | --localstatedir | --localstatedi | --localstated \
970 | --localstate | --localstat | --localsta | --localst | --locals)
971 ac_prev=localstatedir ;;
972 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
973 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
974 localstatedir=$ac_optarg ;;
976 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
978 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
982 # Obsolete; use --without-fp.
985 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
986 | --no-cr | --no-c | -n)
989 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
990 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
993 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
994 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
995 | --oldin | --oldi | --old | --ol | --o)
996 ac_prev=oldincludedir ;;
997 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
998 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
999 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1000 oldincludedir=$ac_optarg ;;
1002 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1004 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1005 prefix=$ac_optarg ;;
1007 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1008 | --program-pre | --program-pr | --program-p)
1009 ac_prev=program_prefix ;;
1010 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1011 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1012 program_prefix=$ac_optarg ;;
1014 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1015 | --program-suf | --program-su | --program-s)
1016 ac_prev=program_suffix ;;
1017 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1018 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1019 program_suffix=$ac_optarg ;;
1021 -program-transform-name | --program-transform-name \
1022 | --program-transform-nam | --program-transform-na \
1023 | --program-transform-n | --program-transform- \
1024 | --program-transform | --program-transfor \
1025 | --program-transfo | --program-transf \
1026 | --program-trans | --program-tran \
1027 | --progr-tra | --program-tr | --program-t)
1028 ac_prev=program_transform_name ;;
1029 -program-transform-name=* | --program-transform-name=* \
1030 | --program-transform-nam=* | --program-transform-na=* \
1031 | --program-transform-n=* | --program-transform-=* \
1032 | --program-transform=* | --program-transfor=* \
1033 | --program-transfo=* | --program-transf=* \
1034 | --program-trans=* | --program-tran=* \
1035 | --progr-tra=* | --program-tr=* | --program-t=*)
1036 program_transform_name=$ac_optarg ;;
1038 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1040 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1041 pdfdir=$ac_optarg ;;
1043 -psdir | --psdir | --psdi | --psd | --ps)
1045 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1048 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1049 | -silent | --silent | --silen | --sile | --sil)
1052 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1054 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1056 sbindir=$ac_optarg ;;
1058 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1059 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1060 | --sharedst | --shareds | --shared | --share | --shar \
1062 ac_prev=sharedstatedir ;;
1063 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1064 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1065 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1067 sharedstatedir=$ac_optarg ;;
1069 -site | --site | --sit)
1071 -site=* | --site=* | --sit=*)
1074 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1076 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1077 srcdir=$ac_optarg ;;
1079 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1080 | --syscon | --sysco | --sysc | --sys | --sy)
1081 ac_prev=sysconfdir ;;
1082 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1083 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1084 sysconfdir=$ac_optarg ;;
1086 -target | --target | --targe | --targ | --tar | --ta | --t)
1087 ac_prev=target_alias ;;
1088 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1089 target_alias=$ac_optarg ;;
1091 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1094 -version | --version | --versio | --versi | --vers | -V)
1095 ac_init_version=: ;;
1098 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1099 # Reject names that are not valid shell variable names.
1100 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1101 { echo "$as_me: error: invalid package name: $ac_package" >&2
1102 { (exit 1); exit 1; }; }
1103 ac_package=`echo $ac_package| sed 's/-/_/g'`
1104 eval with_$ac_package=\$ac_optarg ;;
1106 -without-* | --without-*)
1107 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1108 # Reject names that are not valid shell variable names.
1109 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1110 { echo "$as_me: error: invalid package name: $ac_package" >&2
1111 { (exit 1); exit 1; }; }
1112 ac_package=`echo $ac_package | sed 's/-/_/g'`
1113 eval with_$ac_package=no ;;
1116 # Obsolete; use --with-x.
1119 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1120 | --x-incl | --x-inc | --x-in | --x-i)
1121 ac_prev=x_includes ;;
1122 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1123 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1124 x_includes=$ac_optarg ;;
1126 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1127 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1128 ac_prev=x_libraries ;;
1129 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1130 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1131 x_libraries=$ac_optarg ;;
1133 -*) { echo "$as_me: error: unrecognized option: $ac_option
1134 Try \`$0 --help' for more information." >&2
1135 { (exit 1); exit 1; }; }
1139 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1140 # Reject names that are not valid shell variable names.
1141 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1142 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1143 { (exit 1); exit 1; }; }
1144 eval $ac_envvar=\$ac_optarg
1145 export $ac_envvar ;;
1148 # FIXME: should be removed in autoconf 3.0.
1149 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1150 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1151 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1152 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1158 if test -n "$ac_prev"; then
1159 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1160 { echo "$as_me: error: missing argument to $ac_option" >&2
1161 { (exit 1); exit 1; }; }
1164 # Be sure to have absolute directory names.
1165 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1166 datadir sysconfdir sharedstatedir localstatedir includedir \
1167 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1168 libdir localedir mandir
1170 eval ac_val=\$$ac_var
1172 [\\/$]* | ?:[\\/]* ) continue;;
1173 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1175 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1176 { (exit 1); exit 1; }; }
1179 # There might be people who depend on the old broken behavior: `$host'
1180 # used to hold the argument of --host etc.
1181 # FIXME: To remove some day.
1184 target=$target_alias
1186 # FIXME: To remove some day.
1187 if test "x$host_alias" != x; then
1188 if test "x$build_alias" = x; then
1189 cross_compiling=maybe
1190 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1191 If a cross compiler is detected then cross compile mode will be used." >&2
1192 elif test "x$build_alias" != "x$host_alias"; then
1198 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1200 test "$silent" = yes && exec 6>/dev/null
1203 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1204 ac_ls_di=`ls -di .` &&
1205 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1206 { echo "$as_me: error: Working directory cannot be determined" >&2
1207 { (exit 1); exit 1; }; }
1208 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1209 { echo "$as_me: error: pwd does not report name of working directory" >&2
1210 { (exit 1); exit 1; }; }
1213 # Find the source files, if location was not specified.
1214 if test -z "$srcdir"; then
1215 ac_srcdir_defaulted=yes
1216 # Try the directory containing this script, then the parent directory.
1217 ac_confdir=`$as_dirname -- "$0" ||
1218 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1219 X"$0" : 'X\(//\)[^/]' \| \
1220 X"$0" : 'X\(//\)$' \| \
1221 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1241 if test ! -r "$srcdir/$ac_unique_file"; then
1245 ac_srcdir_defaulted=no
1247 if test ! -r "$srcdir/$ac_unique_file"; then
1248 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1249 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1250 { (exit 1); exit 1; }; }
1252 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1254 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1255 { (exit 1); exit 1; }; }
1257 # When building in place, set srcdir=.
1258 if test "$ac_abs_confdir" = "$ac_pwd"; then
1261 # Remove unnecessary trailing slashes from srcdir.
1262 # Double slashes in file names in object file debugging info
1263 # mess up M-x gdb in Emacs.
1265 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1267 for ac_var in $ac_precious_vars; do
1268 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1269 eval ac_env_${ac_var}_value=\$${ac_var}
1270 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1271 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1275 # Report the --help message.
1277 if test "$ac_init_help" = "long"; then
1278 # Omit some internal or obsolete options to make the list less imposing.
1279 # This message is too long to be a string in the A/UX 3.1 sh.
1281 \`configure' configures Wine 0.9.15 to adapt to many kinds of systems.
1283 Usage: $0 [OPTION]... [VAR=VALUE]...
1285 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1286 VAR=VALUE. See below for descriptions of some of the useful variables.
1288 Defaults for the options are specified in brackets.
1291 -h, --help display this help and exit
1292 --help=short display options specific to this package
1293 --help=recursive display the short help of all the included packages
1294 -V, --version display version information and exit
1295 -q, --quiet, --silent do not print \`checking...' messages
1296 --cache-file=FILE cache test results in FILE [disabled]
1297 -C, --config-cache alias for \`--cache-file=config.cache'
1298 -n, --no-create do not create output files
1299 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1301 Installation directories:
1302 --prefix=PREFIX install architecture-independent files in PREFIX
1303 [$ac_default_prefix]
1304 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1307 By default, \`make install' will install all the files in
1308 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1309 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1310 for instance \`--prefix=\$HOME'.
1312 For better control, use the options below.
1314 Fine tuning of the installation directories:
1315 --bindir=DIR user executables [EPREFIX/bin]
1316 --sbindir=DIR system admin executables [EPREFIX/sbin]
1317 --libexecdir=DIR program executables [EPREFIX/libexec]
1318 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1319 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1320 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1321 --libdir=DIR object code libraries [EPREFIX/lib]
1322 --includedir=DIR C header files [PREFIX/include]
1323 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1324 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1325 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1326 --infodir=DIR info documentation [DATAROOTDIR/info]
1327 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1328 --mandir=DIR man documentation [DATAROOTDIR/man]
1329 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1330 --htmldir=DIR html documentation [DOCDIR]
1331 --dvidir=DIR dvi documentation [DOCDIR]
1332 --pdfdir=DIR pdf documentation [DOCDIR]
1333 --psdir=DIR ps documentation [DOCDIR]
1339 --x-includes=DIR X include files are in DIR
1340 --x-libraries=DIR X library files are in DIR
1343 --build=BUILD configure for building on BUILD [guessed]
1344 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1348 if test -n "$ac_init_help"; then
1349 case $ac_init_help in
1350 short | recursive ) echo "Configuration of Wine 0.9.15:";;
1355 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1356 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1357 --disable-win16 do not include Win16 support
1358 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1362 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1363 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1364 --without-opengl do not use OpenGL
1365 --without-curses do not use curses
1366 --with-wine-tools=<dir> use Wine tools from directory <dir>
1367 --with-x use the X Window System
1369 Some influential environment variables:
1370 CC C compiler command
1371 CFLAGS C compiler flags
1372 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1373 nonstandard directory <lib dir>
1374 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1375 you have headers in a nonstandard directory <include dir>
1376 CXX C++ compiler command
1377 CXXFLAGS C++ compiler flags
1378 XMKMF Path to xmkmf, Makefile generator for X Window System
1381 Use these variables to override the choices made by `configure' or to help
1382 it to find libraries and programs with nonstandard names/locations.
1384 Report bugs to <wine-devel@winehq.org>.
1389 if test "$ac_init_help" = "recursive"; then
1390 # If there are subdirs, report their specific --help.
1391 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1392 test -d "$ac_dir" || continue
1396 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1398 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1399 # A ".." for each directory in $ac_dir_suffix.
1400 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1401 case $ac_top_builddir_sub in
1402 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1403 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1406 ac_abs_top_builddir=$ac_pwd
1407 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1408 # for backward compatibility:
1409 ac_top_builddir=$ac_top_build_prefix
1412 .) # We are building in place.
1414 ac_top_srcdir=$ac_top_builddir_sub
1415 ac_abs_top_srcdir=$ac_pwd ;;
1416 [\\/]* | ?:[\\/]* ) # Absolute name.
1417 ac_srcdir=$srcdir$ac_dir_suffix;
1418 ac_top_srcdir=$srcdir
1419 ac_abs_top_srcdir=$srcdir ;;
1421 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1422 ac_top_srcdir=$ac_top_build_prefix$srcdir
1423 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1425 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1427 cd "$ac_dir" || { ac_status=$?; continue; }
1428 # Check for guested configure.
1429 if test -f "$ac_srcdir/configure.gnu"; then
1431 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1432 elif test -f "$ac_srcdir/configure"; then
1434 $SHELL "$ac_srcdir/configure" --help=recursive
1436 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1438 cd "$ac_pwd" || { ac_status=$?; break; }
1442 test -n "$ac_init_help" && exit $ac_status
1443 if $ac_init_version; then
1445 Wine configure 0.9.15
1446 generated by GNU Autoconf 2.59e
1448 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1449 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1450 This configure script is free software; the Free Software Foundation
1451 gives unlimited permission to copy, distribute and modify it.
1455 cat >config.log <<_ACEOF
1456 This file contains any messages produced by compilers while
1457 running configure, to aid debugging if configure makes a mistake.
1459 It was created by Wine $as_me 0.9.15, which was
1460 generated by GNU Autoconf 2.59e. Invocation command line was
1472 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1473 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1474 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1475 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1476 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1478 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1479 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1481 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1482 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1483 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1484 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1485 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1486 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1487 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1495 test -z "$as_dir" && as_dir=.
1496 echo "PATH: $as_dir"
1512 # Keep a trace of the command line.
1513 # Strip out --no-create and --no-recursion so they do not pile up.
1514 # Strip out --silent because we don't want to record it for future runs.
1515 # Also quote any args containing shell meta-characters.
1516 # Make two passes to allow for proper duplicate-argument suppression.
1520 ac_must_keep_next=false
1526 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1527 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1528 | -silent | --silent | --silen | --sile | --sil)
1531 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1534 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1536 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1537 if test $ac_must_keep_next = true; then
1538 ac_must_keep_next=false # Got value, back to normal.
1541 *=* | --config-cache | -C | -disable-* | --disable-* \
1542 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1543 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1544 | -with-* | --with-* | -without-* | --without-* | --x)
1545 case "$ac_configure_args0 " in
1546 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1549 -* ) ac_must_keep_next=true ;;
1552 ac_configure_args="$ac_configure_args '$ac_arg'"
1557 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1558 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1560 # When interrupted or exit'd, cleanup temporary files, and complete
1561 # config.log. We remove comments because anyway the quotes in there
1562 # would cause problems or look ugly.
1563 # WARNING: Use '\'' to represent an apostrophe within the trap.
1564 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1565 trap 'exit_status=$?
1566 # Save into config.log some information that might help in debugging.
1571 ## ---------------- ##
1572 ## Cache variables. ##
1573 ## ---------------- ##
1576 # The following way of writing the cache mishandles newlines in values,
1578 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1579 eval ac_val=\$$ac_var
1583 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1584 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1587 _ | IFS | as_nl) ;; #(
1588 *) $as_unset $ac_var ;;
1593 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1594 *${as_nl}ac_space=\ *)
1596 "s/'\''/'\''\\\\'\'''\''/g;
1597 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1600 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1608 ## ----------------- ##
1609 ## Output variables. ##
1610 ## ----------------- ##
1613 for ac_var in $ac_subst_vars
1615 eval ac_val=\$$ac_var
1617 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1619 echo "$ac_var='\''$ac_val'\''"
1623 if test -n "$ac_subst_files"; then
1625 ## ------------------- ##
1626 ## File substitutions. ##
1627 ## ------------------- ##
1630 for ac_var in $ac_subst_files
1632 eval ac_val=\$$ac_var
1634 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1636 echo "$ac_var='\''$ac_val'\''"
1641 if test -s confdefs.h; then
1651 test "$ac_signal" != 0 &&
1652 echo "$as_me: caught signal $ac_signal"
1653 echo "$as_me: exit $exit_status"
1655 rm -f core *.core core.conftest.* &&
1656 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1659 for ac_signal in 1 2 13 15; do
1660 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1664 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1665 rm -f -r conftest* confdefs.h
1667 # Predefined preprocessor variables.
1669 cat >>confdefs.h <<_ACEOF
1670 #define PACKAGE_NAME "$PACKAGE_NAME"
1674 cat >>confdefs.h <<_ACEOF
1675 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1679 cat >>confdefs.h <<_ACEOF
1680 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1684 cat >>confdefs.h <<_ACEOF
1685 #define PACKAGE_STRING "$PACKAGE_STRING"
1689 cat >>confdefs.h <<_ACEOF
1690 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1694 # Let the site file select an alternate cache file if it wants to.
1695 # Prefer explicitly selected file to automatically selected ones.
1696 if test -n "$CONFIG_SITE"; then
1697 set x "$CONFIG_SITE"
1698 elif test "x$prefix" != xNONE; then
1699 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1701 set x "$ac_default_prefix/share/config.site" \
1702 "$ac_default_prefix/etc/config.site"
1707 if test -r "$ac_site_file"; then
1708 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1709 echo "$as_me: loading site script $ac_site_file" >&6;}
1710 sed 's/^/| /' "$ac_site_file" >&5
1715 if test -r "$cache_file"; then
1716 # Some versions of bash will fail to source /dev/null (special
1717 # files actually), so we avoid doing that.
1718 if test -f "$cache_file"; then
1719 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1720 echo "$as_me: loading cache $cache_file" >&6;}
1722 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1723 *) . "./$cache_file";;
1727 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1728 echo "$as_me: creating cache $cache_file" >&6;}
1732 # Check that the precious variables saved in the cache have kept the same
1734 ac_cache_corrupted=false
1735 for ac_var in $ac_precious_vars; do
1736 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1737 eval ac_new_set=\$ac_env_${ac_var}_set
1738 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1739 eval ac_new_val=\$ac_env_${ac_var}_value
1740 case $ac_old_set,$ac_new_set in
1742 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1743 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1744 ac_cache_corrupted=: ;;
1746 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1747 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1748 ac_cache_corrupted=: ;;
1751 if test "x$ac_old_val" != "x$ac_new_val"; then
1752 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1753 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1754 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1755 echo "$as_me: former value: $ac_old_val" >&2;}
1756 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1757 echo "$as_me: current value: $ac_new_val" >&2;}
1758 ac_cache_corrupted=:
1761 # Pass precious variables to config.status.
1762 if test "$ac_new_set" = set; then
1764 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1765 *) ac_arg=$ac_var=$ac_new_val ;;
1767 case " $ac_configure_args " in
1768 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1769 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1773 if $ac_cache_corrupted; then
1774 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1775 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1776 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1777 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1778 { (exit 1); exit 1; }; }
1806 ac_cpp='$CPP $CPPFLAGS'
1807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1813 ac_config_headers="$ac_config_headers include/config.h"
1816 for ac_dir in tools "$srcdir"/tools; do
1817 if test -f "$ac_dir/install-sh"; then
1819 ac_install_sh="$ac_aux_dir/install-sh -c"
1821 elif test -f "$ac_dir/install.sh"; then
1823 ac_install_sh="$ac_aux_dir/install.sh -c"
1825 elif test -f "$ac_dir/shtool"; then
1827 ac_install_sh="$ac_aux_dir/shtool install -c"
1831 if test -z "$ac_aux_dir"; then
1832 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1833 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1834 { (exit 1); exit 1; }; }
1837 # These three variables are undocumented and unsupported,
1838 # and are intended to be withdrawn in a future Autoconf release.
1839 # They can cause serious problems if a builder's source tree is in a directory
1840 # whose full name contains unusual characters.
1841 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1842 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1843 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1848 # Check whether --enable-win16 was given.
1849 if test "${enable_win16+set}" = set; then
1850 enableval=$enable_win16;
1853 # Check whether --enable-win64 was given.
1854 if test "${enable_win64+set}" = set; then
1855 enableval=$enable_win64;
1860 # Check whether --with-opengl was given.
1861 if test "${with_opengl+set}" = set; then
1862 withval=$with_opengl;
1866 # Check whether --with-curses was given.
1867 if test "${with_curses+set}" = set; then
1868 withval=$with_curses;
1872 # Check whether --with-wine-tools was given.
1873 if test "${with_wine_tools+set}" = set; then
1874 withval=$with_wine_tools;
1878 # Make sure we can run config.sub.
1879 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1880 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1881 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1882 { (exit 1); exit 1; }; }
1884 { echo "$as_me:$LINENO: checking build system type" >&5
1885 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1886 if test "${ac_cv_build+set}" = set; then
1887 echo $ECHO_N "(cached) $ECHO_C" >&6
1889 ac_build_alias=$build_alias
1890 test "x$ac_build_alias" = x &&
1891 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1892 test "x$ac_build_alias" = x &&
1893 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1894 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1895 { (exit 1); exit 1; }; }
1896 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1897 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1898 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1899 { (exit 1); exit 1; }; }
1902 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1903 echo "${ECHO_T}$ac_cv_build" >&6; }
1904 case $ac_cv_build in
1906 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1907 echo "$as_me: error: invalid value of canonical build" >&2;}
1908 { (exit 1); exit 1; }; };;
1911 ac_save_IFS=$IFS; IFS='-'
1917 # Remember, the first character of IFS is used to create $*,
1918 # except with old shells:
1921 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1924 { echo "$as_me:$LINENO: checking host system type" >&5
1925 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1926 if test "${ac_cv_host+set}" = set; then
1927 echo $ECHO_N "(cached) $ECHO_C" >&6
1929 if test "x$host_alias" = x; then
1930 ac_cv_host=$ac_cv_build
1932 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1933 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1934 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1935 { (exit 1); exit 1; }; }
1939 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1940 echo "${ECHO_T}$ac_cv_host" >&6; }
1943 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1944 echo "$as_me: error: invalid value of canonical host" >&2;}
1945 { (exit 1); exit 1; }; };;
1948 ac_save_IFS=$IFS; IFS='-'
1954 # Remember, the first character of IFS is used to create $*,
1955 # except with old shells:
1958 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1963 if test "x$enable_win64" != "xyes"
1965 test -n "$CC" || CC="gcc -m32"
1966 test -n "$LD" || LD="ld -m elf_i386"
1967 test -n "$AS" || AS="as --32"
1975 if test "x$enable_win16" != "xno"
1982 WIN16_FILES="\$(WIN16_FILES)"
1984 WIN16_INSTALL="\$(WIN16_INSTALL)"
1986 if test "x$enable_win16" != "xyes"
1993 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1994 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1995 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1996 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1997 echo $ECHO_N "(cached) $ECHO_C" >&6
1999 cat >conftest.make <<\_ACEOF
2002 @echo '@@@%%%=$(MAKE)=@@@%%%'
2004 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2005 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2007 eval ac_cv_prog_make_${ac_make}_set=yes;;
2009 eval ac_cv_prog_make_${ac_make}_set=no;;
2013 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2014 { echo "$as_me:$LINENO: result: yes" >&5
2015 echo "${ECHO_T}yes" >&6; }
2018 { echo "$as_me:$LINENO: result: no" >&5
2019 echo "${ECHO_T}no" >&6; }
2020 SET_MAKE="MAKE=${MAKE-make}"
2024 ac_cpp='$CPP $CPPFLAGS'
2025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2028 if test -n "$ac_tool_prefix"; then
2029 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2030 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2031 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2033 if test "${ac_cv_prog_CC+set}" = set; then
2034 echo $ECHO_N "(cached) $ECHO_C" >&6
2036 if test -n "$CC"; then
2037 ac_cv_prog_CC="$CC" # Let the user override the test.
2039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2043 test -z "$as_dir" && as_dir=.
2044 for ac_exec_ext in '' $ac_executable_extensions; do
2045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2046 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2057 if test -n "$CC"; then
2058 { echo "$as_me:$LINENO: result: $CC" >&5
2059 echo "${ECHO_T}$CC" >&6; }
2061 { echo "$as_me:$LINENO: result: no" >&5
2062 echo "${ECHO_T}no" >&6; }
2067 if test -z "$ac_cv_prog_CC"; then
2069 # Extract the first word of "gcc", so it can be a program name with args.
2070 set dummy gcc; ac_word=$2
2071 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2073 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2074 echo $ECHO_N "(cached) $ECHO_C" >&6
2076 if test -n "$ac_ct_CC"; then
2077 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2083 test -z "$as_dir" && as_dir=.
2084 for ac_exec_ext in '' $ac_executable_extensions; do
2085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2086 ac_cv_prog_ac_ct_CC="gcc"
2087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2096 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2097 if test -n "$ac_ct_CC"; then
2098 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2099 echo "${ECHO_T}$ac_ct_CC" >&6; }
2101 { echo "$as_me:$LINENO: result: no" >&5
2102 echo "${ECHO_T}no" >&6; }
2105 if test "x$ac_ct_CC" = x; then
2108 case $cross_compiling:$ac_tool_warned in
2110 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2111 whose name does not start with the host triplet. If you think this
2112 configuration is useful to you, please write to autoconf@gnu.org." >&5
2113 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2114 whose name does not start with the host triplet. If you think this
2115 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2116 ac_tool_warned=yes ;;
2124 if test -z "$CC"; then
2125 if test -n "$ac_tool_prefix"; then
2126 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2127 set dummy ${ac_tool_prefix}cc; ac_word=$2
2128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2130 if test "${ac_cv_prog_CC+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2133 if test -n "$CC"; then
2134 ac_cv_prog_CC="$CC" # Let the user override the test.
2136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2140 test -z "$as_dir" && as_dir=.
2141 for ac_exec_ext in '' $ac_executable_extensions; do
2142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2143 ac_cv_prog_CC="${ac_tool_prefix}cc"
2144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2154 if test -n "$CC"; then
2155 { echo "$as_me:$LINENO: result: $CC" >&5
2156 echo "${ECHO_T}$CC" >&6; }
2158 { echo "$as_me:$LINENO: result: no" >&5
2159 echo "${ECHO_T}no" >&6; }
2165 if test -z "$CC"; then
2166 # Extract the first word of "cc", so it can be a program name with args.
2167 set dummy cc; ac_word=$2
2168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2170 if test "${ac_cv_prog_CC+set}" = set; then
2171 echo $ECHO_N "(cached) $ECHO_C" >&6
2173 if test -n "$CC"; then
2174 ac_cv_prog_CC="$CC" # Let the user override the test.
2177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2181 test -z "$as_dir" && as_dir=.
2182 for ac_exec_ext in '' $ac_executable_extensions; do
2183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2184 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2185 ac_prog_rejected=yes
2189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2196 if test $ac_prog_rejected = yes; then
2197 # We found a bogon in the path, so make sure we never use it.
2198 set dummy $ac_cv_prog_CC
2200 if test $# != 0; then
2201 # We chose a different compiler from the bogus one.
2202 # However, it has the same basename, so the bogon will be chosen
2203 # first if we set CC to just the basename; use the full file name.
2205 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2211 if test -n "$CC"; then
2212 { echo "$as_me:$LINENO: result: $CC" >&5
2213 echo "${ECHO_T}$CC" >&6; }
2215 { echo "$as_me:$LINENO: result: no" >&5
2216 echo "${ECHO_T}no" >&6; }
2221 if test -z "$CC"; then
2222 if test -n "$ac_tool_prefix"; then
2223 for ac_prog in cl.exe
2225 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2226 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2227 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2229 if test "${ac_cv_prog_CC+set}" = set; then
2230 echo $ECHO_N "(cached) $ECHO_C" >&6
2232 if test -n "$CC"; then
2233 ac_cv_prog_CC="$CC" # Let the user override the test.
2235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2239 test -z "$as_dir" && as_dir=.
2240 for ac_exec_ext in '' $ac_executable_extensions; do
2241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2242 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2253 if test -n "$CC"; then
2254 { echo "$as_me:$LINENO: result: $CC" >&5
2255 echo "${ECHO_T}$CC" >&6; }
2257 { echo "$as_me:$LINENO: result: no" >&5
2258 echo "${ECHO_T}no" >&6; }
2262 test -n "$CC" && break
2265 if test -z "$CC"; then
2267 for ac_prog in cl.exe
2269 # Extract the first word of "$ac_prog", so it can be a program name with args.
2270 set dummy $ac_prog; ac_word=$2
2271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2273 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2274 echo $ECHO_N "(cached) $ECHO_C" >&6
2276 if test -n "$ac_ct_CC"; then
2277 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2283 test -z "$as_dir" && as_dir=.
2284 for ac_exec_ext in '' $ac_executable_extensions; do
2285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2286 ac_cv_prog_ac_ct_CC="$ac_prog"
2287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2296 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2297 if test -n "$ac_ct_CC"; then
2298 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2299 echo "${ECHO_T}$ac_ct_CC" >&6; }
2301 { echo "$as_me:$LINENO: result: no" >&5
2302 echo "${ECHO_T}no" >&6; }
2306 test -n "$ac_ct_CC" && break
2309 if test "x$ac_ct_CC" = x; then
2312 case $cross_compiling:$ac_tool_warned in
2314 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2315 whose name does not start with the host triplet. If you think this
2316 configuration is useful to you, please write to autoconf@gnu.org." >&5
2317 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2318 whose name does not start with the host triplet. If you think this
2319 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2320 ac_tool_warned=yes ;;
2329 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2330 See \`config.log' for more details." >&5
2331 echo "$as_me: error: no acceptable C compiler found in \$PATH
2332 See \`config.log' for more details." >&2;}
2333 { (exit 1); exit 1; }; }
2335 # Provide some information about the compiler.
2336 echo "$as_me:$LINENO: checking for C compiler version" >&5
2337 ac_compiler=`set X $ac_compile; echo $2`
2338 { (ac_try="$ac_compiler --version >&5"
2340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2341 *) ac_try_echo=$ac_try;;
2343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2344 (eval "$ac_compiler --version >&5") 2>&5
2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); }
2348 { (ac_try="$ac_compiler -v >&5"
2350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2351 *) ac_try_echo=$ac_try;;
2353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2354 (eval "$ac_compiler -v >&5") 2>&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }
2358 { (ac_try="$ac_compiler -V >&5"
2360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2361 *) ac_try_echo=$ac_try;;
2363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2364 (eval "$ac_compiler -V >&5") 2>&5
2366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367 (exit $ac_status); }
2369 cat >conftest.$ac_ext <<_ACEOF
2372 cat confdefs.h >>conftest.$ac_ext
2373 cat >>conftest.$ac_ext <<_ACEOF
2374 /* end confdefs.h. */
2384 ac_clean_files_save=$ac_clean_files
2385 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2386 # Try to create an executable without -o first, disregard a.out.
2387 # It will help us diagnose broken compilers, and finding out an intuition
2389 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2390 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2391 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2393 # List of possible output files, starting from the most likely.
2394 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2395 # only as a last resort. b.out is created by i960 compilers.
2396 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2398 # The IRIX 6 linker writes into existing files which may not be
2399 # executable, retaining their permissions. Remove them first so a
2400 # subsequent execution test works.
2402 for ac_file in $ac_files
2405 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2406 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2411 if { (ac_try="$ac_link_default"
2413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2414 *) ac_try_echo=$ac_try;;
2416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2417 (eval "$ac_link_default") 2>&5
2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420 (exit $ac_status); }; then
2421 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2422 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2423 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2424 # so that the user can short-circuit this test for compilers unknown to
2426 for ac_file in $ac_files
2428 test -f "$ac_file" || continue
2430 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2433 # We found the default executable, but exeext='' is most
2437 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2439 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2441 # We set ac_cv_exeext here because the later test for it is not
2442 # safe: cross compilers may not add the suffix if given an `-o'
2443 # argument, so we may need to know it at that point already.
2444 # Even if this section looks crufty: it has the advantage of
2451 test "$ac_cv_exeext" = no && ac_cv_exeext=
2454 echo "$as_me: failed program was:" >&5
2455 sed 's/^/| /' conftest.$ac_ext >&5
2457 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2458 See \`config.log' for more details." >&5
2459 echo "$as_me: error: C compiler cannot create executables
2460 See \`config.log' for more details." >&2;}
2461 { (exit 77); exit 77; }; }
2464 ac_exeext=$ac_cv_exeext
2465 { echo "$as_me:$LINENO: result: $ac_file" >&5
2466 echo "${ECHO_T}$ac_file" >&6; }
2468 # Check that the compiler produces executables we can run. If not, either
2469 # the compiler is broken, or we cross compile.
2470 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2471 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2472 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2473 # If not cross compiling, check that we can run a simple program.
2474 if test "$cross_compiling" != yes; then
2475 if { ac_try='./$ac_file'
2476 { (case "(($ac_try" in
2477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2478 *) ac_try_echo=$ac_try;;
2480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2481 (eval "$ac_try") 2>&5
2483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484 (exit $ac_status); }; }; then
2487 if test "$cross_compiling" = maybe; then
2490 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2491 If you meant to cross compile, use \`--host'.
2492 See \`config.log' for more details." >&5
2493 echo "$as_me: error: cannot run C compiled programs.
2494 If you meant to cross compile, use \`--host'.
2495 See \`config.log' for more details." >&2;}
2496 { (exit 1); exit 1; }; }
2500 { echo "$as_me:$LINENO: result: yes" >&5
2501 echo "${ECHO_T}yes" >&6; }
2503 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2504 ac_clean_files=$ac_clean_files_save
2505 # Check that the compiler produces executables we can run. If not, either
2506 # the compiler is broken, or we cross compile.
2507 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2508 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2509 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2510 echo "${ECHO_T}$cross_compiling" >&6; }
2512 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2513 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2514 if { (ac_try="$ac_link"
2516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2517 *) ac_try_echo=$ac_try;;
2519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2520 (eval "$ac_link") 2>&5
2522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2523 (exit $ac_status); }; then
2524 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2525 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2526 # work properly (i.e., refer to `conftest.exe'), while it won't with
2528 for ac_file in conftest.exe conftest conftest.*; do
2529 test -f "$ac_file" || continue
2531 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2532 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2538 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2539 See \`config.log' for more details." >&5
2540 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2541 See \`config.log' for more details." >&2;}
2542 { (exit 1); exit 1; }; }
2545 rm -f conftest$ac_cv_exeext
2546 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2547 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2549 rm -f conftest.$ac_ext
2550 EXEEXT=$ac_cv_exeext
2552 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2553 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2554 if test "${ac_cv_objext+set}" = set; then
2555 echo $ECHO_N "(cached) $ECHO_C" >&6
2557 cat >conftest.$ac_ext <<_ACEOF
2560 cat confdefs.h >>conftest.$ac_ext
2561 cat >>conftest.$ac_ext <<_ACEOF
2562 /* end confdefs.h. */
2572 rm -f conftest.o conftest.obj
2573 if { (ac_try="$ac_compile"
2575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2576 *) ac_try_echo=$ac_try;;
2578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2579 (eval "$ac_compile") 2>&5
2581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2582 (exit $ac_status); }; then
2583 for ac_file in conftest.o conftest.obj conftest.*; do
2584 test -f "$ac_file" || continue;
2586 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2587 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2592 echo "$as_me: failed program was:" >&5
2593 sed 's/^/| /' conftest.$ac_ext >&5
2595 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2596 See \`config.log' for more details." >&5
2597 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2598 See \`config.log' for more details." >&2;}
2599 { (exit 1); exit 1; }; }
2602 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2604 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2605 echo "${ECHO_T}$ac_cv_objext" >&6; }
2606 OBJEXT=$ac_cv_objext
2608 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2609 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2610 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2611 echo $ECHO_N "(cached) $ECHO_C" >&6
2613 cat >conftest.$ac_ext <<_ACEOF
2616 cat confdefs.h >>conftest.$ac_ext
2617 cat >>conftest.$ac_ext <<_ACEOF
2618 /* end confdefs.h. */
2631 rm -f conftest.$ac_objext
2632 if { (ac_try="$ac_compile"
2634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2635 *) ac_try_echo=$ac_try;;
2637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2638 (eval "$ac_compile") 2>conftest.er1
2640 grep -v '^ *+' conftest.er1 >conftest.err
2642 cat conftest.err >&5
2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 (exit $ac_status); } &&
2645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2646 { (case "(($ac_try" in
2647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2648 *) ac_try_echo=$ac_try;;
2650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2651 (eval "$ac_try") 2>&5
2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654 (exit $ac_status); }; } &&
2655 { ac_try='test -s conftest.$ac_objext'
2656 { (case "(($ac_try" in
2657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2658 *) ac_try_echo=$ac_try;;
2660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2661 (eval "$ac_try") 2>&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); }; }; then
2667 echo "$as_me: failed program was:" >&5
2668 sed 's/^/| /' conftest.$ac_ext >&5
2673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2674 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2677 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2678 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2679 GCC=`test $ac_compiler_gnu = yes && echo yes`
2680 ac_test_CFLAGS=${CFLAGS+set}
2681 ac_save_CFLAGS=$CFLAGS
2682 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2683 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2684 if test "${ac_cv_prog_cc_g+set}" = set; then
2685 echo $ECHO_N "(cached) $ECHO_C" >&6
2687 ac_save_c_werror_flag=$ac_c_werror_flag
2688 ac_c_werror_flag=yes
2691 cat >conftest.$ac_ext <<_ACEOF
2694 cat confdefs.h >>conftest.$ac_ext
2695 cat >>conftest.$ac_ext <<_ACEOF
2696 /* end confdefs.h. */
2706 rm -f conftest.$ac_objext
2707 if { (ac_try="$ac_compile"
2709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2710 *) ac_try_echo=$ac_try;;
2712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2713 (eval "$ac_compile") 2>conftest.er1
2715 grep -v '^ *+' conftest.er1 >conftest.err
2717 cat conftest.err >&5
2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); } &&
2720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2721 { (case "(($ac_try" in
2722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2723 *) ac_try_echo=$ac_try;;
2725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2726 (eval "$ac_try") 2>&5
2728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2729 (exit $ac_status); }; } &&
2730 { ac_try='test -s conftest.$ac_objext'
2731 { (case "(($ac_try" in
2732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2733 *) ac_try_echo=$ac_try;;
2735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2736 (eval "$ac_try") 2>&5
2738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2739 (exit $ac_status); }; }; then
2742 echo "$as_me: failed program was:" >&5
2743 sed 's/^/| /' conftest.$ac_ext >&5
2746 cat >conftest.$ac_ext <<_ACEOF
2749 cat confdefs.h >>conftest.$ac_ext
2750 cat >>conftest.$ac_ext <<_ACEOF
2751 /* end confdefs.h. */
2761 rm -f conftest.$ac_objext
2762 if { (ac_try="$ac_compile"
2764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2765 *) ac_try_echo=$ac_try;;
2767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2768 (eval "$ac_compile") 2>conftest.er1
2770 grep -v '^ *+' conftest.er1 >conftest.err
2772 cat conftest.err >&5
2773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774 (exit $ac_status); } &&
2775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2776 { (case "(($ac_try" in
2777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2778 *) ac_try_echo=$ac_try;;
2780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2781 (eval "$ac_try") 2>&5
2783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784 (exit $ac_status); }; } &&
2785 { ac_try='test -s conftest.$ac_objext'
2786 { (case "(($ac_try" in
2787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2788 *) ac_try_echo=$ac_try;;
2790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2791 (eval "$ac_try") 2>&5
2793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794 (exit $ac_status); }; }; then
2797 echo "$as_me: failed program was:" >&5
2798 sed 's/^/| /' conftest.$ac_ext >&5
2800 ac_c_werror_flag=$ac_save_c_werror_flag
2802 cat >conftest.$ac_ext <<_ACEOF
2805 cat confdefs.h >>conftest.$ac_ext
2806 cat >>conftest.$ac_ext <<_ACEOF
2807 /* end confdefs.h. */
2817 rm -f conftest.$ac_objext
2818 if { (ac_try="$ac_compile"
2820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2821 *) ac_try_echo=$ac_try;;
2823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2824 (eval "$ac_compile") 2>conftest.er1
2826 grep -v '^ *+' conftest.er1 >conftest.err
2828 cat conftest.err >&5
2829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2830 (exit $ac_status); } &&
2831 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2832 { (case "(($ac_try" in
2833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2834 *) ac_try_echo=$ac_try;;
2836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2837 (eval "$ac_try") 2>&5
2839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); }; } &&
2841 { ac_try='test -s conftest.$ac_objext'
2842 { (case "(($ac_try" in
2843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844 *) ac_try_echo=$ac_try;;
2846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2847 (eval "$ac_try") 2>&5
2849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); }; }; then
2853 echo "$as_me: failed program was:" >&5
2854 sed 's/^/| /' conftest.$ac_ext >&5
2859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2866 ac_c_werror_flag=$ac_save_c_werror_flag
2868 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2869 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2870 if test "$ac_test_CFLAGS" = set; then
2871 CFLAGS=$ac_save_CFLAGS
2872 elif test $ac_cv_prog_cc_g = yes; then
2873 if test "$GCC" = yes; then
2879 if test "$GCC" = yes; then
2885 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2886 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2887 if test "${ac_cv_prog_cc_c89+set}" = set; then
2888 echo $ECHO_N "(cached) $ECHO_C" >&6
2890 ac_cv_prog_cc_c89=no
2892 cat >conftest.$ac_ext <<_ACEOF
2895 cat confdefs.h >>conftest.$ac_ext
2896 cat >>conftest.$ac_ext <<_ACEOF
2897 /* end confdefs.h. */
2900 #include <sys/types.h>
2901 #include <sys/stat.h>
2902 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2903 struct buf { int x; };
2904 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2905 static char *e (p, i)
2911 static char *f (char * (*g) (char **, int), char **p, ...)
2916 s = g (p, va_arg (v,int));
2921 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2922 function prototypes and stuff, but not '\xHH' hex character constants.
2923 These don't provoke an error unfortunately, instead are silently treated
2924 as 'x'. The following induces an error, until -std is added to get
2925 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2926 array size at least. It's necessary to write '\x00'==0 to get something
2927 that's true only with -std. */
2928 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2930 int test (int i, double x);
2931 struct s1 {int (*f) (int a);};
2932 struct s2 {int (*f) (double a);};
2933 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2939 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2944 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2945 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2947 CC="$ac_save_CC $ac_arg"
2948 rm -f conftest.$ac_objext
2949 if { (ac_try="$ac_compile"
2951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2952 *) ac_try_echo=$ac_try;;
2954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2955 (eval "$ac_compile") 2>conftest.er1
2957 grep -v '^ *+' conftest.er1 >conftest.err
2959 cat conftest.err >&5
2960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2961 (exit $ac_status); } &&
2962 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2963 { (case "(($ac_try" in
2964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2965 *) ac_try_echo=$ac_try;;
2967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2968 (eval "$ac_try") 2>&5
2970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971 (exit $ac_status); }; } &&
2972 { ac_try='test -s conftest.$ac_objext'
2973 { (case "(($ac_try" in
2974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2975 *) ac_try_echo=$ac_try;;
2977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2978 (eval "$ac_try") 2>&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); }; }; then
2982 ac_cv_prog_cc_c89=$ac_arg
2984 echo "$as_me: failed program was:" >&5
2985 sed 's/^/| /' conftest.$ac_ext >&5
2990 rm -f core conftest.err conftest.$ac_objext
2991 test "x$ac_cv_prog_cc_c89" != "xno" && break
2993 rm -f conftest.$ac_ext
2998 case "x$ac_cv_prog_cc_c89" in
3000 { echo "$as_me:$LINENO: result: none needed" >&5
3001 echo "${ECHO_T}none needed" >&6; } ;;
3003 { echo "$as_me:$LINENO: result: unsupported" >&5
3004 echo "${ECHO_T}unsupported" >&6; } ;;
3006 CC="$CC $ac_cv_prog_cc_c89"
3007 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3008 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3013 ac_cpp='$CPP $CPPFLAGS'
3014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3019 ac_cpp='$CXXCPP $CPPFLAGS'
3020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3023 if test -z "$CXX"; then
3024 if test -n "$CCC"; then
3027 if test -n "$ac_tool_prefix"; then
3028 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3030 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3031 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3032 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3034 if test "${ac_cv_prog_CXX+set}" = set; then
3035 echo $ECHO_N "(cached) $ECHO_C" >&6
3037 if test -n "$CXX"; then
3038 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3044 test -z "$as_dir" && as_dir=.
3045 for ac_exec_ext in '' $ac_executable_extensions; do
3046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3047 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3058 if test -n "$CXX"; then
3059 { echo "$as_me:$LINENO: result: $CXX" >&5
3060 echo "${ECHO_T}$CXX" >&6; }
3062 { echo "$as_me:$LINENO: result: no" >&5
3063 echo "${ECHO_T}no" >&6; }
3067 test -n "$CXX" && break
3070 if test -z "$CXX"; then
3072 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3074 # Extract the first word of "$ac_prog", so it can be a program name with args.
3075 set dummy $ac_prog; ac_word=$2
3076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3078 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3079 echo $ECHO_N "(cached) $ECHO_C" >&6
3081 if test -n "$ac_ct_CXX"; then
3082 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3088 test -z "$as_dir" && as_dir=.
3089 for ac_exec_ext in '' $ac_executable_extensions; do
3090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3091 ac_cv_prog_ac_ct_CXX="$ac_prog"
3092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3101 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3102 if test -n "$ac_ct_CXX"; then
3103 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3104 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3106 { echo "$as_me:$LINENO: result: no" >&5
3107 echo "${ECHO_T}no" >&6; }
3111 test -n "$ac_ct_CXX" && break
3114 if test "x$ac_ct_CXX" = x; then
3117 case $cross_compiling:$ac_tool_warned in
3119 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3120 whose name does not start with the host triplet. If you think this
3121 configuration is useful to you, please write to autoconf@gnu.org." >&5
3122 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3123 whose name does not start with the host triplet. If you think this
3124 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3125 ac_tool_warned=yes ;;
3133 # Provide some information about the compiler.
3134 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3135 ac_compiler=`set X $ac_compile; echo $2`
3136 { (ac_try="$ac_compiler --version >&5"
3138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3139 *) ac_try_echo=$ac_try;;
3141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3142 (eval "$ac_compiler --version >&5") 2>&5
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); }
3146 { (ac_try="$ac_compiler -v >&5"
3148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3149 *) ac_try_echo=$ac_try;;
3151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3152 (eval "$ac_compiler -v >&5") 2>&5
3154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155 (exit $ac_status); }
3156 { (ac_try="$ac_compiler -V >&5"
3158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3159 *) ac_try_echo=$ac_try;;
3161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3162 (eval "$ac_compiler -V >&5") 2>&5
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); }
3167 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3168 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3169 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3170 echo $ECHO_N "(cached) $ECHO_C" >&6
3172 cat >conftest.$ac_ext <<_ACEOF
3175 cat confdefs.h >>conftest.$ac_ext
3176 cat >>conftest.$ac_ext <<_ACEOF
3177 /* end confdefs.h. */
3190 rm -f conftest.$ac_objext
3191 if { (ac_try="$ac_compile"
3193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3194 *) ac_try_echo=$ac_try;;
3196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3197 (eval "$ac_compile") 2>conftest.er1
3199 grep -v '^ *+' conftest.er1 >conftest.err
3201 cat conftest.err >&5
3202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); } &&
3204 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3205 { (case "(($ac_try" in
3206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3207 *) ac_try_echo=$ac_try;;
3209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3210 (eval "$ac_try") 2>&5
3212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3213 (exit $ac_status); }; } &&
3214 { ac_try='test -s conftest.$ac_objext'
3215 { (case "(($ac_try" in
3216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3217 *) ac_try_echo=$ac_try;;
3219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3220 (eval "$ac_try") 2>&5
3222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223 (exit $ac_status); }; }; then
3226 echo "$as_me: failed program was:" >&5
3227 sed 's/^/| /' conftest.$ac_ext >&5
3232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3233 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3236 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3237 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3238 GXX=`test $ac_compiler_gnu = yes && echo yes`
3239 ac_test_CXXFLAGS=${CXXFLAGS+set}
3240 ac_save_CXXFLAGS=$CXXFLAGS
3241 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3242 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3243 if test "${ac_cv_prog_cxx_g+set}" = set; then
3244 echo $ECHO_N "(cached) $ECHO_C" >&6
3246 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3247 ac_cxx_werror_flag=yes
3250 cat >conftest.$ac_ext <<_ACEOF
3253 cat confdefs.h >>conftest.$ac_ext
3254 cat >>conftest.$ac_ext <<_ACEOF
3255 /* end confdefs.h. */
3265 rm -f conftest.$ac_objext
3266 if { (ac_try="$ac_compile"
3268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3269 *) ac_try_echo=$ac_try;;
3271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3272 (eval "$ac_compile") 2>conftest.er1
3274 grep -v '^ *+' conftest.er1 >conftest.err
3276 cat conftest.err >&5
3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); } &&
3279 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3280 { (case "(($ac_try" in
3281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3282 *) ac_try_echo=$ac_try;;
3284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3285 (eval "$ac_try") 2>&5
3287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288 (exit $ac_status); }; } &&
3289 { ac_try='test -s conftest.$ac_objext'
3290 { (case "(($ac_try" in
3291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3292 *) ac_try_echo=$ac_try;;
3294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3295 (eval "$ac_try") 2>&5
3297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 (exit $ac_status); }; }; then
3299 ac_cv_prog_cxx_g=yes
3301 echo "$as_me: failed program was:" >&5
3302 sed 's/^/| /' conftest.$ac_ext >&5
3305 cat >conftest.$ac_ext <<_ACEOF
3308 cat confdefs.h >>conftest.$ac_ext
3309 cat >>conftest.$ac_ext <<_ACEOF
3310 /* end confdefs.h. */
3320 rm -f conftest.$ac_objext
3321 if { (ac_try="$ac_compile"
3323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3324 *) ac_try_echo=$ac_try;;
3326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3327 (eval "$ac_compile") 2>conftest.er1
3329 grep -v '^ *+' conftest.er1 >conftest.err
3331 cat conftest.err >&5
3332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333 (exit $ac_status); } &&
3334 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3335 { (case "(($ac_try" in
3336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3337 *) ac_try_echo=$ac_try;;
3339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3340 (eval "$ac_try") 2>&5
3342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343 (exit $ac_status); }; } &&
3344 { ac_try='test -s conftest.$ac_objext'
3345 { (case "(($ac_try" in
3346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3347 *) ac_try_echo=$ac_try;;
3349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3350 (eval "$ac_try") 2>&5
3352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3353 (exit $ac_status); }; }; then
3356 echo "$as_me: failed program was:" >&5
3357 sed 's/^/| /' conftest.$ac_ext >&5
3359 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3361 cat >conftest.$ac_ext <<_ACEOF
3364 cat confdefs.h >>conftest.$ac_ext
3365 cat >>conftest.$ac_ext <<_ACEOF
3366 /* end confdefs.h. */
3376 rm -f conftest.$ac_objext
3377 if { (ac_try="$ac_compile"
3379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3380 *) ac_try_echo=$ac_try;;
3382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3383 (eval "$ac_compile") 2>conftest.er1
3385 grep -v '^ *+' conftest.er1 >conftest.err
3387 cat conftest.err >&5
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); } &&
3390 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3391 { (case "(($ac_try" in
3392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3393 *) ac_try_echo=$ac_try;;
3395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3396 (eval "$ac_try") 2>&5
3398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399 (exit $ac_status); }; } &&
3400 { ac_try='test -s conftest.$ac_objext'
3401 { (case "(($ac_try" in
3402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3403 *) ac_try_echo=$ac_try;;
3405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3406 (eval "$ac_try") 2>&5
3408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3409 (exit $ac_status); }; }; then
3410 ac_cv_prog_cxx_g=yes
3412 echo "$as_me: failed program was:" >&5
3413 sed 's/^/| /' conftest.$ac_ext >&5
3418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3425 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3427 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3428 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3429 if test "$ac_test_CXXFLAGS" = set; then
3430 CXXFLAGS=$ac_save_CXXFLAGS
3431 elif test $ac_cv_prog_cxx_g = yes; then
3432 if test "$GXX" = yes; then
3438 if test "$GXX" = yes; then
3445 ac_cpp='$CPP $CPPFLAGS'
3446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3450 if test -n "$ac_tool_prefix"; then
3451 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3452 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3453 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3455 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3456 echo $ECHO_N "(cached) $ECHO_C" >&6
3458 if test -n "$CPPBIN"; then
3459 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3465 test -z "$as_dir" && as_dir=.
3466 for ac_exec_ext in '' $ac_executable_extensions; do
3467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3468 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3478 CPPBIN=$ac_cv_prog_CPPBIN
3479 if test -n "$CPPBIN"; then
3480 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3481 echo "${ECHO_T}$CPPBIN" >&6; }
3483 { echo "$as_me:$LINENO: result: no" >&5
3484 echo "${ECHO_T}no" >&6; }
3489 if test -z "$ac_cv_prog_CPPBIN"; then
3490 ac_ct_CPPBIN=$CPPBIN
3491 # Extract the first word of "cpp", so it can be a program name with args.
3492 set dummy cpp; ac_word=$2
3493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3495 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3496 echo $ECHO_N "(cached) $ECHO_C" >&6
3498 if test -n "$ac_ct_CPPBIN"; then
3499 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3505 test -z "$as_dir" && as_dir=.
3506 for ac_exec_ext in '' $ac_executable_extensions; do
3507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3508 ac_cv_prog_ac_ct_CPPBIN="cpp"
3509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3518 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3519 if test -n "$ac_ct_CPPBIN"; then
3520 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3521 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3523 { echo "$as_me:$LINENO: result: no" >&5
3524 echo "${ECHO_T}no" >&6; }
3527 if test "x$ac_ct_CPPBIN" = x; then
3530 case $cross_compiling:$ac_tool_warned in
3532 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3533 whose name does not start with the host triplet. If you think this
3534 configuration is useful to you, please write to autoconf@gnu.org." >&5
3535 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3536 whose name does not start with the host triplet. If you think this
3537 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3538 ac_tool_warned=yes ;;
3540 CPPBIN=$ac_ct_CPPBIN
3543 CPPBIN="$ac_cv_prog_CPPBIN"
3547 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3548 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3549 if test "${wine_cv_toolsdir+set}" = set; then
3550 echo $ECHO_N "(cached) $ECHO_C" >&6
3552 if test -z "$with_wine_tools"; then
3553 if test "$cross_compiling" = "yes"; then
3554 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3555 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3556 { (exit 1); exit 1; }; }
3558 wine_cv_toolsdir="\$(TOPOBJDIR)"
3560 elif test -d "$with_wine_tools/tools/winebuild"; then
3561 case $with_wine_tools in
3562 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3563 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3566 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3567 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3568 { (exit 1); exit 1; }; }
3571 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3572 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3573 TOOLSDIR=$wine_cv_toolsdir
3578 ac_cpp='$CPP $CPPFLAGS'
3579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3582 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3583 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3584 # On Suns, sometimes $CPP names a directory.
3585 if test -n "$CPP" && test -d "$CPP"; then
3588 if test -z "$CPP"; then
3589 if test "${ac_cv_prog_CPP+set}" = set; then
3590 echo $ECHO_N "(cached) $ECHO_C" >&6
3592 # Double quotes because CPP needs to be expanded
3593 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3596 for ac_c_preproc_warn_flag in '' yes
3598 # Use a header file that comes with gcc, so configuring glibc
3599 # with a fresh cross-compiler works.
3600 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3601 # <limits.h> exists even on freestanding compilers.
3602 # On the NeXT, cc -E runs the code through the compiler's parser,
3603 # not just through cpp. "Syntax error" is here to catch this case.
3604 cat >conftest.$ac_ext <<_ACEOF
3607 cat confdefs.h >>conftest.$ac_ext
3608 cat >>conftest.$ac_ext <<_ACEOF
3609 /* end confdefs.h. */
3611 # include <limits.h>
3613 # include <assert.h>
3617 if { (ac_try="$ac_cpp conftest.$ac_ext"
3619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3620 *) ac_try_echo=$ac_try;;
3622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3623 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3625 grep -v '^ *+' conftest.er1 >conftest.err
3627 cat conftest.err >&5
3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3629 (exit $ac_status); } >/dev/null; then
3630 if test -s conftest.err; then
3631 ac_cpp_err=$ac_c_preproc_warn_flag
3632 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3639 if test -z "$ac_cpp_err"; then
3642 echo "$as_me: failed program was:" >&5
3643 sed 's/^/| /' conftest.$ac_ext >&5
3645 # Broken: fails on valid input.
3649 rm -f conftest.err conftest.$ac_ext
3651 # OK, works on sane cases. Now check whether nonexistent headers
3652 # can be detected and how.
3653 cat >conftest.$ac_ext <<_ACEOF
3656 cat confdefs.h >>conftest.$ac_ext
3657 cat >>conftest.$ac_ext <<_ACEOF
3658 /* end confdefs.h. */
3659 #include <ac_nonexistent.h>
3661 if { (ac_try="$ac_cpp conftest.$ac_ext"
3663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3664 *) ac_try_echo=$ac_try;;
3666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3667 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3669 grep -v '^ *+' conftest.er1 >conftest.err
3671 cat conftest.err >&5
3672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3673 (exit $ac_status); } >/dev/null; then
3674 if test -s conftest.err; then
3675 ac_cpp_err=$ac_c_preproc_warn_flag
3676 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3683 if test -z "$ac_cpp_err"; then
3684 # Broken: success on invalid input.
3687 echo "$as_me: failed program was:" >&5
3688 sed 's/^/| /' conftest.$ac_ext >&5
3690 # Passes both tests.
3695 rm -f conftest.err conftest.$ac_ext
3698 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3699 rm -f conftest.err conftest.$ac_ext
3700 if $ac_preproc_ok; then
3712 { echo "$as_me:$LINENO: result: $CPP" >&5
3713 echo "${ECHO_T}$CPP" >&6; }
3715 for ac_c_preproc_warn_flag in '' yes
3717 # Use a header file that comes with gcc, so configuring glibc
3718 # with a fresh cross-compiler works.
3719 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3720 # <limits.h> exists even on freestanding compilers.
3721 # On the NeXT, cc -E runs the code through the compiler's parser,
3722 # not just through cpp. "Syntax error" is here to catch this case.
3723 cat >conftest.$ac_ext <<_ACEOF
3726 cat confdefs.h >>conftest.$ac_ext
3727 cat >>conftest.$ac_ext <<_ACEOF
3728 /* end confdefs.h. */
3730 # include <limits.h>
3732 # include <assert.h>
3736 if { (ac_try="$ac_cpp conftest.$ac_ext"
3738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3739 *) ac_try_echo=$ac_try;;
3741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3742 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3744 grep -v '^ *+' conftest.er1 >conftest.err
3746 cat conftest.err >&5
3747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748 (exit $ac_status); } >/dev/null; then
3749 if test -s conftest.err; then
3750 ac_cpp_err=$ac_c_preproc_warn_flag
3751 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3758 if test -z "$ac_cpp_err"; then
3761 echo "$as_me: failed program was:" >&5
3762 sed 's/^/| /' conftest.$ac_ext >&5
3764 # Broken: fails on valid input.
3768 rm -f conftest.err conftest.$ac_ext
3770 # OK, works on sane cases. Now check whether nonexistent headers
3771 # can be detected and how.
3772 cat >conftest.$ac_ext <<_ACEOF
3775 cat confdefs.h >>conftest.$ac_ext
3776 cat >>conftest.$ac_ext <<_ACEOF
3777 /* end confdefs.h. */
3778 #include <ac_nonexistent.h>
3780 if { (ac_try="$ac_cpp conftest.$ac_ext"
3782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3783 *) ac_try_echo=$ac_try;;
3785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3786 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3788 grep -v '^ *+' conftest.er1 >conftest.err
3790 cat conftest.err >&5
3791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3792 (exit $ac_status); } >/dev/null; then
3793 if test -s conftest.err; then
3794 ac_cpp_err=$ac_c_preproc_warn_flag
3795 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3802 if test -z "$ac_cpp_err"; then
3803 # Broken: success on invalid input.
3806 echo "$as_me: failed program was:" >&5
3807 sed 's/^/| /' conftest.$ac_ext >&5
3809 # Passes both tests.
3814 rm -f conftest.err conftest.$ac_ext
3817 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3818 rm -f conftest.err conftest.$ac_ext
3819 if $ac_preproc_ok; then
3822 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3823 See \`config.log' for more details." >&5
3824 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3825 See \`config.log' for more details." >&2;}
3826 { (exit 1); exit 1; }; }
3830 ac_cpp='$CPP $CPPFLAGS'
3831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3836 { echo "$as_me:$LINENO: checking for X" >&5
3837 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3840 # Check whether --with-x was given.
3841 if test "${with_x+set}" = set; then
3845 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3846 if test "x$with_x" = xno; then
3847 # The user explicitly disabled X.
3850 case $x_includes,$x_libraries in #(
3851 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3852 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3853 { (exit 1); exit 1; }; };; #(
3854 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3855 echo $ECHO_N "(cached) $ECHO_C" >&6
3857 # One or both of the vars are not set, and there is no cached value.
3858 ac_x_includes=no ac_x_libraries=no
3859 rm -f -r conftest.dir
3860 if mkdir conftest.dir; then
3862 cat >Imakefile <<'_ACEOF'
3864 @echo incroot='${INCROOT}'
3866 @echo usrlibdir='${USRLIBDIR}'
3868 @echo libdir='${LIBDIR}'
3870 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3871 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3872 for ac_var in incroot usrlibdir libdir; do
3873 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3875 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3876 for ac_extension in a so sl; do
3877 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3878 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3879 ac_im_usrlibdir=$ac_im_libdir; break
3882 # Screen out bogus values from the imake configuration. They are
3883 # bogus both because they are the default anyway, and because
3884 # using them would break gcc on systems where it needs fixed includes.
3885 case $ac_im_incroot in
3886 /usr/include) ac_x_includes= ;;
3887 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3889 case $ac_im_usrlibdir in
3891 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3895 rm -f -r conftest.dir
3898 # Standard set of common directories for X headers.
3899 # Check X11 before X11Rn because it is often a symlink to the current release.
3911 /usr/local/X11/include
3912 /usr/local/X11R6/include
3913 /usr/local/X11R5/include
3914 /usr/local/X11R4/include
3916 /usr/local/include/X11
3917 /usr/local/include/X11R6
3918 /usr/local/include/X11R5
3919 /usr/local/include/X11R4
3923 /usr/XFree86/include/X11
3927 /usr/unsupported/include
3929 /usr/local/x11r5/include
3930 /usr/lpp/Xamples/include
3932 /usr/openwin/include
3933 /usr/openwin/share/include'
3935 if test "$ac_x_includes" = no; then
3936 # Guess where to find include files, by looking for Xlib.h.
3937 # First, try using that file with no special directory specified.
3938 cat >conftest.$ac_ext <<_ACEOF
3941 cat confdefs.h >>conftest.$ac_ext
3942 cat >>conftest.$ac_ext <<_ACEOF
3943 /* end confdefs.h. */
3944 #include <X11/Xlib.h>
3946 if { (ac_try="$ac_cpp conftest.$ac_ext"
3948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3949 *) ac_try_echo=$ac_try;;
3951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3952 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3954 grep -v '^ *+' conftest.er1 >conftest.err
3956 cat conftest.err >&5
3957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3958 (exit $ac_status); } >/dev/null; then
3959 if test -s conftest.err; then
3960 ac_cpp_err=$ac_c_preproc_warn_flag
3961 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3968 if test -z "$ac_cpp_err"; then
3969 # We can compile using X headers with no special include directory.
3972 echo "$as_me: failed program was:" >&5
3973 sed 's/^/| /' conftest.$ac_ext >&5
3975 for ac_dir in $ac_x_header_dirs; do
3976 if test -r "$ac_dir/X11/Xlib.h"; then
3977 ac_x_includes=$ac_dir
3983 rm -f conftest.err conftest.$ac_ext
3984 fi # $ac_x_includes = no
3986 if test "$ac_x_libraries" = no; then
3987 # Check for the libraries.
3988 # See if we find them without any special options.
3989 # Don't add to $LIBS permanently.
3992 cat >conftest.$ac_ext <<_ACEOF
3995 cat confdefs.h >>conftest.$ac_ext
3996 cat >>conftest.$ac_ext <<_ACEOF
3997 /* end confdefs.h. */
3998 #include <X11/Xlib.h>
4007 rm -f conftest.$ac_objext conftest$ac_exeext
4008 if { (ac_try="$ac_link"
4010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4011 *) ac_try_echo=$ac_try;;
4013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4014 (eval "$ac_link") 2>conftest.er1
4016 grep -v '^ *+' conftest.er1 >conftest.err
4018 cat conftest.err >&5
4019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4020 (exit $ac_status); } &&
4021 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4022 { (case "(($ac_try" in
4023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4024 *) ac_try_echo=$ac_try;;
4026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4027 (eval "$ac_try") 2>&5
4029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4030 (exit $ac_status); }; } &&
4031 { ac_try='test -s conftest$ac_exeext'
4032 { (case "(($ac_try" in
4033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4034 *) ac_try_echo=$ac_try;;
4036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4037 (eval "$ac_try") 2>&5
4039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4040 (exit $ac_status); }; }; then
4042 # We can link X programs with no special library path.
4045 echo "$as_me: failed program was:" >&5
4046 sed 's/^/| /' conftest.$ac_ext >&5
4049 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4051 # Don't even attempt the hair of trying to link an X program!
4052 for ac_extension in a so sl; do
4053 if test -r "$ac_dir/libXt.$ac_extension"; then
4054 ac_x_libraries=$ac_dir
4061 rm -f core conftest.err conftest.$ac_objext \
4062 conftest$ac_exeext conftest.$ac_ext
4063 fi # $ac_x_libraries = no
4065 case $ac_x_includes,$ac_x_libraries in #(
4067 # Didn't find X, or a directory has "'" in its name.
4068 ac_cv_have_x="have_x=no";; #(
4070 # Record where we found X for the cache.
4071 ac_cv_have_x="have_x=yes\
4072 ac_x_includes='$ac_x_includes'\
4073 ac_x_libraries='$ac_x_libraries'"
4079 eval "$ac_cv_have_x"
4082 if test "$have_x" != yes; then
4083 { echo "$as_me:$LINENO: result: $have_x" >&5
4084 echo "${ECHO_T}$have_x" >&6; }
4087 # If each of the values was on the command line, it overrides each guess.
4088 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4089 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4090 # Update the cache value to reflect the command line values.
4091 ac_cv_have_x="have_x=yes\
4092 ac_x_includes='$x_includes'\
4093 ac_x_libraries='$x_libraries'"
4094 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4095 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4098 if test "$no_x" = yes; then
4099 # Not all programs may use this symbol, but it does not hurt to define it.
4101 cat >>confdefs.h <<\_ACEOF
4102 #define X_DISPLAY_MISSING 1
4105 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4107 if test -n "$x_includes"; then
4108 X_CFLAGS="$X_CFLAGS -I$x_includes"
4111 # It would also be nice to do this for all -L options, not just this one.
4112 if test -n "$x_libraries"; then
4113 X_LIBS="$X_LIBS -L$x_libraries"
4114 # For Solaris; some versions of Sun CC require a space after -R and
4115 # others require no space. Words are not sufficient . . . .
4116 case `(uname -sr) 2>/dev/null` in
4118 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4119 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4120 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4121 cat >conftest.$ac_ext <<_ACEOF
4124 cat confdefs.h >>conftest.$ac_ext
4125 cat >>conftest.$ac_ext <<_ACEOF
4126 /* end confdefs.h. */
4136 rm -f conftest.$ac_objext conftest$ac_exeext
4137 if { (ac_try="$ac_link"
4139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4140 *) ac_try_echo=$ac_try;;
4142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4143 (eval "$ac_link") 2>conftest.er1
4145 grep -v '^ *+' conftest.er1 >conftest.err
4147 cat conftest.err >&5
4148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4149 (exit $ac_status); } &&
4150 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4151 { (case "(($ac_try" in
4152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4153 *) ac_try_echo=$ac_try;;
4155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4156 (eval "$ac_try") 2>&5
4158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4159 (exit $ac_status); }; } &&
4160 { ac_try='test -s conftest$ac_exeext'
4161 { (case "(($ac_try" in
4162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4163 *) ac_try_echo=$ac_try;;
4165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4166 (eval "$ac_try") 2>&5
4168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4169 (exit $ac_status); }; }; then
4172 echo "$as_me: failed program was:" >&5
4173 sed 's/^/| /' conftest.$ac_ext >&5
4178 rm -f core conftest.err conftest.$ac_objext \
4179 conftest$ac_exeext conftest.$ac_ext
4180 if test $ac_R_nospace = yes; then
4181 { echo "$as_me:$LINENO: result: no" >&5
4182 echo "${ECHO_T}no" >&6; }
4183 X_LIBS="$X_LIBS -R$x_libraries"
4185 LIBS="$ac_xsave_LIBS -R $x_libraries"
4186 cat >conftest.$ac_ext <<_ACEOF
4189 cat confdefs.h >>conftest.$ac_ext
4190 cat >>conftest.$ac_ext <<_ACEOF
4191 /* end confdefs.h. */
4201 rm -f conftest.$ac_objext conftest$ac_exeext
4202 if { (ac_try="$ac_link"
4204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4205 *) ac_try_echo=$ac_try;;
4207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4208 (eval "$ac_link") 2>conftest.er1
4210 grep -v '^ *+' conftest.er1 >conftest.err
4212 cat conftest.err >&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); } &&
4215 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4216 { (case "(($ac_try" in
4217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4218 *) ac_try_echo=$ac_try;;
4220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4221 (eval "$ac_try") 2>&5
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); }; } &&
4225 { ac_try='test -s conftest$ac_exeext'
4226 { (case "(($ac_try" in
4227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4228 *) ac_try_echo=$ac_try;;
4230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4231 (eval "$ac_try") 2>&5
4233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4234 (exit $ac_status); }; }; then
4237 echo "$as_me: failed program was:" >&5
4238 sed 's/^/| /' conftest.$ac_ext >&5
4243 rm -f core conftest.err conftest.$ac_objext \
4244 conftest$ac_exeext conftest.$ac_ext
4245 if test $ac_R_space = yes; then
4246 { echo "$as_me:$LINENO: result: yes" >&5
4247 echo "${ECHO_T}yes" >&6; }
4248 X_LIBS="$X_LIBS -R $x_libraries"
4250 { echo "$as_me:$LINENO: result: neither works" >&5
4251 echo "${ECHO_T}neither works" >&6; }
4258 # Check for system-dependent libraries X programs must link with.
4259 # Do this before checking for the system-independent R6 libraries
4260 # (-lICE), since we may need -lsocket or whatever for X linking.
4262 if test "$ISC" = yes; then
4263 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4265 # Martyn Johnson says this is needed for Ultrix, if the X
4266 # libraries were built with DECnet support. And Karl Berry says
4267 # the Alpha needs dnet_stub (dnet does not exist).
4268 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4269 cat >conftest.$ac_ext <<_ACEOF
4272 cat confdefs.h >>conftest.$ac_ext
4273 cat >>conftest.$ac_ext <<_ACEOF
4274 /* end confdefs.h. */
4276 /* Override any GCC internal prototype to avoid an error.
4277 Use char because int might match the return type of a GCC
4278 builtin and then its argument prototype would still apply. */
4282 char XOpenDisplay ();
4286 return XOpenDisplay ();
4291 rm -f conftest.$ac_objext conftest$ac_exeext
4292 if { (ac_try="$ac_link"
4294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4295 *) ac_try_echo=$ac_try;;
4297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4298 (eval "$ac_link") 2>conftest.er1
4300 grep -v '^ *+' conftest.er1 >conftest.err
4302 cat conftest.err >&5
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); } &&
4305 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4306 { (case "(($ac_try" in
4307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4308 *) ac_try_echo=$ac_try;;
4310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4311 (eval "$ac_try") 2>&5
4313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4314 (exit $ac_status); }; } &&
4315 { ac_try='test -s conftest$ac_exeext'
4316 { (case "(($ac_try" in
4317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4318 *) ac_try_echo=$ac_try;;
4320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4321 (eval "$ac_try") 2>&5
4323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324 (exit $ac_status); }; }; then
4327 echo "$as_me: failed program was:" >&5
4328 sed 's/^/| /' conftest.$ac_ext >&5
4330 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4331 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4332 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4333 echo $ECHO_N "(cached) $ECHO_C" >&6
4335 ac_check_lib_save_LIBS=$LIBS
4337 cat >conftest.$ac_ext <<_ACEOF
4340 cat confdefs.h >>conftest.$ac_ext
4341 cat >>conftest.$ac_ext <<_ACEOF
4342 /* end confdefs.h. */
4344 /* Override any GCC internal prototype to avoid an error.
4345 Use char because int might match the return type of a GCC
4346 builtin and then its argument prototype would still apply. */
4354 return dnet_ntoa ();
4359 rm -f conftest.$ac_objext conftest$ac_exeext
4360 if { (ac_try="$ac_link"
4362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4363 *) ac_try_echo=$ac_try;;
4365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4366 (eval "$ac_link") 2>conftest.er1
4368 grep -v '^ *+' conftest.er1 >conftest.err
4370 cat conftest.err >&5
4371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372 (exit $ac_status); } &&
4373 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4374 { (case "(($ac_try" in
4375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4376 *) ac_try_echo=$ac_try;;
4378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4379 (eval "$ac_try") 2>&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); }; } &&
4383 { ac_try='test -s conftest$ac_exeext'
4384 { (case "(($ac_try" in
4385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4386 *) ac_try_echo=$ac_try;;
4388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4389 (eval "$ac_try") 2>&5
4391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4392 (exit $ac_status); }; }; then
4393 ac_cv_lib_dnet_dnet_ntoa=yes
4395 echo "$as_me: failed program was:" >&5
4396 sed 's/^/| /' conftest.$ac_ext >&5
4398 ac_cv_lib_dnet_dnet_ntoa=no
4401 rm -f core conftest.err conftest.$ac_objext \
4402 conftest$ac_exeext conftest.$ac_ext
4403 LIBS=$ac_check_lib_save_LIBS
4405 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4406 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4407 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4408 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4411 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4412 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4413 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4414 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4415 echo $ECHO_N "(cached) $ECHO_C" >&6
4417 ac_check_lib_save_LIBS=$LIBS
4418 LIBS="-ldnet_stub $LIBS"
4419 cat >conftest.$ac_ext <<_ACEOF
4422 cat confdefs.h >>conftest.$ac_ext
4423 cat >>conftest.$ac_ext <<_ACEOF
4424 /* end confdefs.h. */
4426 /* Override any GCC internal prototype to avoid an error.
4427 Use char because int might match the return type of a GCC
4428 builtin and then its argument prototype would still apply. */
4436 return dnet_ntoa ();
4441 rm -f conftest.$ac_objext conftest$ac_exeext
4442 if { (ac_try="$ac_link"
4444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4445 *) ac_try_echo=$ac_try;;
4447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4448 (eval "$ac_link") 2>conftest.er1
4450 grep -v '^ *+' conftest.er1 >conftest.err
4452 cat conftest.err >&5
4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454 (exit $ac_status); } &&
4455 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4456 { (case "(($ac_try" in
4457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4458 *) ac_try_echo=$ac_try;;
4460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4461 (eval "$ac_try") 2>&5
4463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); }; } &&
4465 { ac_try='test -s conftest$ac_exeext'
4466 { (case "(($ac_try" in
4467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4468 *) ac_try_echo=$ac_try;;
4470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4471 (eval "$ac_try") 2>&5
4473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4474 (exit $ac_status); }; }; then
4475 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4477 echo "$as_me: failed program was:" >&5
4478 sed 's/^/| /' conftest.$ac_ext >&5
4480 ac_cv_lib_dnet_stub_dnet_ntoa=no
4483 rm -f core conftest.err conftest.$ac_objext \
4484 conftest$ac_exeext conftest.$ac_ext
4485 LIBS=$ac_check_lib_save_LIBS
4487 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4488 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4489 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4490 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4496 rm -f core conftest.err conftest.$ac_objext \
4497 conftest$ac_exeext conftest.$ac_ext
4498 LIBS="$ac_xsave_LIBS"
4500 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4501 # to get the SysV transport functions.
4502 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4504 # The nsl library prevents programs from opening the X display
4505 # on Irix 5.2, according to T.E. Dickey.
4506 # The functions gethostbyname, getservbyname, and inet_addr are
4507 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4508 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4509 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4510 if test "${ac_cv_func_gethostbyname+set}" = set; then
4511 echo $ECHO_N "(cached) $ECHO_C" >&6
4513 cat >conftest.$ac_ext <<_ACEOF
4516 cat confdefs.h >>conftest.$ac_ext
4517 cat >>conftest.$ac_ext <<_ACEOF
4518 /* end confdefs.h. */
4519 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4521 #define gethostbyname innocuous_gethostbyname
4523 /* System header to define __stub macros and hopefully few prototypes,
4524 which can conflict with char gethostbyname (); below.
4525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4526 <limits.h> exists even on freestanding compilers. */
4529 # include <limits.h>
4531 # include <assert.h>
4534 #undef gethostbyname
4536 /* Override any GCC internal prototype to avoid an error.
4537 Use char because int might match the return type of a GCC
4538 builtin and then its argument prototype would still apply. */
4542 char gethostbyname ();
4543 /* The GNU C library defines this for functions which it implements
4544 to always fail with ENOSYS. Some functions are actually named
4545 something starting with __ and the normal name is an alias. */
4546 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4553 return gethostbyname ();
4558 rm -f conftest.$ac_objext conftest$ac_exeext
4559 if { (ac_try="$ac_link"
4561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4562 *) ac_try_echo=$ac_try;;
4564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4565 (eval "$ac_link") 2>conftest.er1
4567 grep -v '^ *+' conftest.er1 >conftest.err
4569 cat conftest.err >&5
4570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4571 (exit $ac_status); } &&
4572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4573 { (case "(($ac_try" in
4574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4575 *) ac_try_echo=$ac_try;;
4577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4578 (eval "$ac_try") 2>&5
4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581 (exit $ac_status); }; } &&
4582 { ac_try='test -s conftest$ac_exeext'
4583 { (case "(($ac_try" in
4584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4585 *) ac_try_echo=$ac_try;;
4587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4588 (eval "$ac_try") 2>&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); }; }; then
4592 ac_cv_func_gethostbyname=yes
4594 echo "$as_me: failed program was:" >&5
4595 sed 's/^/| /' conftest.$ac_ext >&5
4597 ac_cv_func_gethostbyname=no
4600 rm -f core conftest.err conftest.$ac_objext \
4601 conftest$ac_exeext conftest.$ac_ext
4603 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4604 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4606 if test $ac_cv_func_gethostbyname = no; then
4607 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4608 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4609 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4610 echo $ECHO_N "(cached) $ECHO_C" >&6
4612 ac_check_lib_save_LIBS=$LIBS
4614 cat >conftest.$ac_ext <<_ACEOF
4617 cat confdefs.h >>conftest.$ac_ext
4618 cat >>conftest.$ac_ext <<_ACEOF
4619 /* end confdefs.h. */
4621 /* Override any GCC internal prototype to avoid an error.
4622 Use char because int might match the return type of a GCC
4623 builtin and then its argument prototype would still apply. */
4627 char gethostbyname ();
4631 return gethostbyname ();
4636 rm -f conftest.$ac_objext conftest$ac_exeext
4637 if { (ac_try="$ac_link"
4639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4640 *) ac_try_echo=$ac_try;;
4642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4643 (eval "$ac_link") 2>conftest.er1
4645 grep -v '^ *+' conftest.er1 >conftest.err
4647 cat conftest.err >&5
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); } &&
4650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4651 { (case "(($ac_try" in
4652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4653 *) ac_try_echo=$ac_try;;
4655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4656 (eval "$ac_try") 2>&5
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); }; } &&
4660 { ac_try='test -s conftest$ac_exeext'
4661 { (case "(($ac_try" in
4662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4663 *) ac_try_echo=$ac_try;;
4665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4666 (eval "$ac_try") 2>&5
4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 (exit $ac_status); }; }; then
4670 ac_cv_lib_nsl_gethostbyname=yes
4672 echo "$as_me: failed program was:" >&5
4673 sed 's/^/| /' conftest.$ac_ext >&5
4675 ac_cv_lib_nsl_gethostbyname=no
4678 rm -f core conftest.err conftest.$ac_objext \
4679 conftest$ac_exeext conftest.$ac_ext
4680 LIBS=$ac_check_lib_save_LIBS
4682 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4683 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4684 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4685 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4688 if test $ac_cv_lib_nsl_gethostbyname = no; then
4689 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4690 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4691 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4692 echo $ECHO_N "(cached) $ECHO_C" >&6
4694 ac_check_lib_save_LIBS=$LIBS
4696 cat >conftest.$ac_ext <<_ACEOF
4699 cat confdefs.h >>conftest.$ac_ext
4700 cat >>conftest.$ac_ext <<_ACEOF
4701 /* end confdefs.h. */
4703 /* Override any GCC internal prototype to avoid an error.
4704 Use char because int might match the return type of a GCC
4705 builtin and then its argument prototype would still apply. */
4709 char gethostbyname ();
4713 return gethostbyname ();
4718 rm -f conftest.$ac_objext conftest$ac_exeext
4719 if { (ac_try="$ac_link"
4721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4722 *) ac_try_echo=$ac_try;;
4724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4725 (eval "$ac_link") 2>conftest.er1
4727 grep -v '^ *+' conftest.er1 >conftest.err
4729 cat conftest.err >&5
4730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731 (exit $ac_status); } &&
4732 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4733 { (case "(($ac_try" in
4734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4735 *) ac_try_echo=$ac_try;;
4737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4738 (eval "$ac_try") 2>&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); }; } &&
4742 { ac_try='test -s conftest$ac_exeext'
4743 { (case "(($ac_try" in
4744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4745 *) ac_try_echo=$ac_try;;
4747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4748 (eval "$ac_try") 2>&5
4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751 (exit $ac_status); }; }; then
4752 ac_cv_lib_bsd_gethostbyname=yes
4754 echo "$as_me: failed program was:" >&5
4755 sed 's/^/| /' conftest.$ac_ext >&5
4757 ac_cv_lib_bsd_gethostbyname=no
4760 rm -f core conftest.err conftest.$ac_objext \
4761 conftest$ac_exeext conftest.$ac_ext
4762 LIBS=$ac_check_lib_save_LIBS
4764 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4765 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4766 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4767 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4773 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4774 # socket/setsockopt and other routines are undefined under SCO ODT
4775 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4776 # on later versions), says Simon Leinen: it contains gethostby*
4777 # variants that don't use the name server (or something). -lsocket
4778 # must be given before -lnsl if both are needed. We assume that
4779 # if connect needs -lnsl, so does gethostbyname.
4780 { echo "$as_me:$LINENO: checking for connect" >&5
4781 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4782 if test "${ac_cv_func_connect+set}" = set; then
4783 echo $ECHO_N "(cached) $ECHO_C" >&6
4785 cat >conftest.$ac_ext <<_ACEOF
4788 cat confdefs.h >>conftest.$ac_ext
4789 cat >>conftest.$ac_ext <<_ACEOF
4790 /* end confdefs.h. */
4791 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4793 #define connect innocuous_connect
4795 /* System header to define __stub macros and hopefully few prototypes,
4796 which can conflict with char connect (); below.
4797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4798 <limits.h> exists even on freestanding compilers. */
4801 # include <limits.h>
4803 # include <assert.h>
4808 /* Override any GCC internal prototype to avoid an error.
4809 Use char because int might match the return type of a GCC
4810 builtin and then its argument prototype would still apply. */
4815 /* The GNU C library defines this for functions which it implements
4816 to always fail with ENOSYS. Some functions are actually named
4817 something starting with __ and the normal name is an alias. */
4818 #if defined __stub_connect || defined __stub___connect
4830 rm -f conftest.$ac_objext conftest$ac_exeext
4831 if { (ac_try="$ac_link"
4833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4834 *) ac_try_echo=$ac_try;;
4836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4837 (eval "$ac_link") 2>conftest.er1
4839 grep -v '^ *+' conftest.er1 >conftest.err
4841 cat conftest.err >&5
4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); } &&
4844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4845 { (case "(($ac_try" in
4846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4847 *) ac_try_echo=$ac_try;;
4849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4850 (eval "$ac_try") 2>&5
4852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4853 (exit $ac_status); }; } &&
4854 { ac_try='test -s conftest$ac_exeext'
4855 { (case "(($ac_try" in
4856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4857 *) ac_try_echo=$ac_try;;
4859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4860 (eval "$ac_try") 2>&5
4862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863 (exit $ac_status); }; }; then
4864 ac_cv_func_connect=yes
4866 echo "$as_me: failed program was:" >&5
4867 sed 's/^/| /' conftest.$ac_ext >&5
4869 ac_cv_func_connect=no
4872 rm -f core conftest.err conftest.$ac_objext \
4873 conftest$ac_exeext conftest.$ac_ext
4875 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4876 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4878 if test $ac_cv_func_connect = no; then
4879 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4880 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4881 if test "${ac_cv_lib_socket_connect+set}" = set; then
4882 echo $ECHO_N "(cached) $ECHO_C" >&6
4884 ac_check_lib_save_LIBS=$LIBS
4885 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4886 cat >conftest.$ac_ext <<_ACEOF
4889 cat confdefs.h >>conftest.$ac_ext
4890 cat >>conftest.$ac_ext <<_ACEOF
4891 /* end confdefs.h. */
4893 /* Override any GCC internal prototype to avoid an error.
4894 Use char because int might match the return type of a GCC
4895 builtin and then its argument prototype would still apply. */
4908 rm -f conftest.$ac_objext conftest$ac_exeext
4909 if { (ac_try="$ac_link"
4911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4912 *) ac_try_echo=$ac_try;;
4914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4915 (eval "$ac_link") 2>conftest.er1
4917 grep -v '^ *+' conftest.er1 >conftest.err
4919 cat conftest.err >&5
4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921 (exit $ac_status); } &&
4922 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4923 { (case "(($ac_try" in
4924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4925 *) ac_try_echo=$ac_try;;
4927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4928 (eval "$ac_try") 2>&5
4930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4931 (exit $ac_status); }; } &&
4932 { ac_try='test -s conftest$ac_exeext'
4933 { (case "(($ac_try" in
4934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4935 *) ac_try_echo=$ac_try;;
4937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4938 (eval "$ac_try") 2>&5
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); }; }; then
4942 ac_cv_lib_socket_connect=yes
4944 echo "$as_me: failed program was:" >&5
4945 sed 's/^/| /' conftest.$ac_ext >&5
4947 ac_cv_lib_socket_connect=no
4950 rm -f core conftest.err conftest.$ac_objext \
4951 conftest$ac_exeext conftest.$ac_ext
4952 LIBS=$ac_check_lib_save_LIBS
4954 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4955 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4956 if test $ac_cv_lib_socket_connect = yes; then
4957 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4962 # Guillermo Gomez says -lposix is necessary on A/UX.
4963 { echo "$as_me:$LINENO: checking for remove" >&5
4964 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4965 if test "${ac_cv_func_remove+set}" = set; then
4966 echo $ECHO_N "(cached) $ECHO_C" >&6
4968 cat >conftest.$ac_ext <<_ACEOF
4971 cat confdefs.h >>conftest.$ac_ext
4972 cat >>conftest.$ac_ext <<_ACEOF
4973 /* end confdefs.h. */
4974 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4976 #define remove innocuous_remove
4978 /* System header to define __stub macros and hopefully few prototypes,
4979 which can conflict with char remove (); below.
4980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4981 <limits.h> exists even on freestanding compilers. */
4984 # include <limits.h>
4986 # include <assert.h>
4991 /* Override any GCC internal prototype to avoid an error.
4992 Use char because int might match the return type of a GCC
4993 builtin and then its argument prototype would still apply. */
4998 /* The GNU C library defines this for functions which it implements
4999 to always fail with ENOSYS. Some functions are actually named
5000 something starting with __ and the normal name is an alias. */
5001 #if defined __stub_remove || defined __stub___remove
5013 rm -f conftest.$ac_objext conftest$ac_exeext
5014 if { (ac_try="$ac_link"
5016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5017 *) ac_try_echo=$ac_try;;
5019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5020 (eval "$ac_link") 2>conftest.er1
5022 grep -v '^ *+' conftest.er1 >conftest.err
5024 cat conftest.err >&5
5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026 (exit $ac_status); } &&
5027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5028 { (case "(($ac_try" in
5029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5030 *) ac_try_echo=$ac_try;;
5032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5033 (eval "$ac_try") 2>&5
5035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036 (exit $ac_status); }; } &&
5037 { ac_try='test -s conftest$ac_exeext'
5038 { (case "(($ac_try" in
5039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5040 *) ac_try_echo=$ac_try;;
5042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5043 (eval "$ac_try") 2>&5
5045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046 (exit $ac_status); }; }; then
5047 ac_cv_func_remove=yes
5049 echo "$as_me: failed program was:" >&5
5050 sed 's/^/| /' conftest.$ac_ext >&5
5052 ac_cv_func_remove=no
5055 rm -f core conftest.err conftest.$ac_objext \
5056 conftest$ac_exeext conftest.$ac_ext
5058 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5059 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
5061 if test $ac_cv_func_remove = no; then
5062 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5063 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
5064 if test "${ac_cv_lib_posix_remove+set}" = set; then
5065 echo $ECHO_N "(cached) $ECHO_C" >&6
5067 ac_check_lib_save_LIBS=$LIBS
5068 LIBS="-lposix $LIBS"
5069 cat >conftest.$ac_ext <<_ACEOF
5072 cat confdefs.h >>conftest.$ac_ext
5073 cat >>conftest.$ac_ext <<_ACEOF
5074 /* end confdefs.h. */
5076 /* Override any GCC internal prototype to avoid an error.
5077 Use char because int might match the return type of a GCC
5078 builtin and then its argument prototype would still apply. */
5091 rm -f conftest.$ac_objext conftest$ac_exeext
5092 if { (ac_try="$ac_link"
5094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5095 *) ac_try_echo=$ac_try;;
5097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5098 (eval "$ac_link") 2>conftest.er1
5100 grep -v '^ *+' conftest.er1 >conftest.err
5102 cat conftest.err >&5
5103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5104 (exit $ac_status); } &&
5105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5106 { (case "(($ac_try" in
5107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5108 *) ac_try_echo=$ac_try;;
5110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5111 (eval "$ac_try") 2>&5
5113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5114 (exit $ac_status); }; } &&
5115 { ac_try='test -s conftest$ac_exeext'
5116 { (case "(($ac_try" in
5117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5118 *) ac_try_echo=$ac_try;;
5120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5121 (eval "$ac_try") 2>&5
5123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124 (exit $ac_status); }; }; then
5125 ac_cv_lib_posix_remove=yes
5127 echo "$as_me: failed program was:" >&5
5128 sed 's/^/| /' conftest.$ac_ext >&5
5130 ac_cv_lib_posix_remove=no
5133 rm -f core conftest.err conftest.$ac_objext \
5134 conftest$ac_exeext conftest.$ac_ext
5135 LIBS=$ac_check_lib_save_LIBS
5137 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5138 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5139 if test $ac_cv_lib_posix_remove = yes; then
5140 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5145 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5146 { echo "$as_me:$LINENO: checking for shmat" >&5
5147 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5148 if test "${ac_cv_func_shmat+set}" = set; then
5149 echo $ECHO_N "(cached) $ECHO_C" >&6
5151 cat >conftest.$ac_ext <<_ACEOF
5154 cat confdefs.h >>conftest.$ac_ext
5155 cat >>conftest.$ac_ext <<_ACEOF
5156 /* end confdefs.h. */
5157 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5159 #define shmat innocuous_shmat
5161 /* System header to define __stub macros and hopefully few prototypes,
5162 which can conflict with char shmat (); below.
5163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5164 <limits.h> exists even on freestanding compilers. */
5167 # include <limits.h>
5169 # include <assert.h>
5174 /* Override any GCC internal prototype to avoid an error.
5175 Use char because int might match the return type of a GCC
5176 builtin and then its argument prototype would still apply. */
5181 /* The GNU C library defines this for functions which it implements
5182 to always fail with ENOSYS. Some functions are actually named
5183 something starting with __ and the normal name is an alias. */
5184 #if defined __stub_shmat || defined __stub___shmat
5196 rm -f conftest.$ac_objext conftest$ac_exeext
5197 if { (ac_try="$ac_link"
5199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5200 *) ac_try_echo=$ac_try;;
5202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5203 (eval "$ac_link") 2>conftest.er1
5205 grep -v '^ *+' conftest.er1 >conftest.err
5207 cat conftest.err >&5
5208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5209 (exit $ac_status); } &&
5210 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5211 { (case "(($ac_try" in
5212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5213 *) ac_try_echo=$ac_try;;
5215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5216 (eval "$ac_try") 2>&5
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); }; } &&
5220 { ac_try='test -s conftest$ac_exeext'
5221 { (case "(($ac_try" in
5222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5223 *) ac_try_echo=$ac_try;;
5225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5226 (eval "$ac_try") 2>&5
5228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5229 (exit $ac_status); }; }; then
5230 ac_cv_func_shmat=yes
5232 echo "$as_me: failed program was:" >&5
5233 sed 's/^/| /' conftest.$ac_ext >&5
5238 rm -f core conftest.err conftest.$ac_objext \
5239 conftest$ac_exeext conftest.$ac_ext
5241 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5242 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5244 if test $ac_cv_func_shmat = no; then
5245 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5246 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5247 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5248 echo $ECHO_N "(cached) $ECHO_C" >&6
5250 ac_check_lib_save_LIBS=$LIBS
5252 cat >conftest.$ac_ext <<_ACEOF
5255 cat confdefs.h >>conftest.$ac_ext
5256 cat >>conftest.$ac_ext <<_ACEOF
5257 /* end confdefs.h. */
5259 /* Override any GCC internal prototype to avoid an error.
5260 Use char because int might match the return type of a GCC
5261 builtin and then its argument prototype would still apply. */
5274 rm -f conftest.$ac_objext conftest$ac_exeext
5275 if { (ac_try="$ac_link"
5277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5278 *) ac_try_echo=$ac_try;;
5280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5281 (eval "$ac_link") 2>conftest.er1
5283 grep -v '^ *+' conftest.er1 >conftest.err
5285 cat conftest.err >&5
5286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5287 (exit $ac_status); } &&
5288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5289 { (case "(($ac_try" in
5290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5291 *) ac_try_echo=$ac_try;;
5293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5294 (eval "$ac_try") 2>&5
5296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5297 (exit $ac_status); }; } &&
5298 { ac_try='test -s conftest$ac_exeext'
5299 { (case "(($ac_try" in
5300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5301 *) ac_try_echo=$ac_try;;
5303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5304 (eval "$ac_try") 2>&5
5306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5307 (exit $ac_status); }; }; then
5308 ac_cv_lib_ipc_shmat=yes
5310 echo "$as_me: failed program was:" >&5
5311 sed 's/^/| /' conftest.$ac_ext >&5
5313 ac_cv_lib_ipc_shmat=no
5316 rm -f core conftest.err conftest.$ac_objext \
5317 conftest$ac_exeext conftest.$ac_ext
5318 LIBS=$ac_check_lib_save_LIBS
5320 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5321 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5322 if test $ac_cv_lib_ipc_shmat = yes; then
5323 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5329 # Check for libraries that X11R6 Xt/Xaw programs need.
5330 ac_save_LDFLAGS=$LDFLAGS
5331 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5332 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5333 # check for ICE first), but we must link in the order -lSM -lICE or
5334 # we get undefined symbols. So assume we have SM if we have ICE.
5335 # These have to be linked with before -lX11, unlike the other
5336 # libraries we check for below, so use a different variable.
5337 # John Interrante, Karl Berry
5338 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5339 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5340 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5341 echo $ECHO_N "(cached) $ECHO_C" >&6
5343 ac_check_lib_save_LIBS=$LIBS
5344 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5345 cat >conftest.$ac_ext <<_ACEOF
5348 cat confdefs.h >>conftest.$ac_ext
5349 cat >>conftest.$ac_ext <<_ACEOF
5350 /* end confdefs.h. */
5352 /* Override any GCC internal prototype to avoid an error.
5353 Use char because int might match the return type of a GCC
5354 builtin and then its argument prototype would still apply. */
5358 char IceConnectionNumber ();
5362 return IceConnectionNumber ();
5367 rm -f conftest.$ac_objext conftest$ac_exeext
5368 if { (ac_try="$ac_link"
5370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5371 *) ac_try_echo=$ac_try;;
5373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5374 (eval "$ac_link") 2>conftest.er1
5376 grep -v '^ *+' conftest.er1 >conftest.err
5378 cat conftest.err >&5
5379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380 (exit $ac_status); } &&
5381 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5382 { (case "(($ac_try" in
5383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5384 *) ac_try_echo=$ac_try;;
5386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5387 (eval "$ac_try") 2>&5
5389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5390 (exit $ac_status); }; } &&
5391 { ac_try='test -s conftest$ac_exeext'
5392 { (case "(($ac_try" in
5393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5394 *) ac_try_echo=$ac_try;;
5396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5397 (eval "$ac_try") 2>&5
5399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5400 (exit $ac_status); }; }; then
5401 ac_cv_lib_ICE_IceConnectionNumber=yes
5403 echo "$as_me: failed program was:" >&5
5404 sed 's/^/| /' conftest.$ac_ext >&5
5406 ac_cv_lib_ICE_IceConnectionNumber=no
5409 rm -f core conftest.err conftest.$ac_objext \
5410 conftest$ac_exeext conftest.$ac_ext
5411 LIBS=$ac_check_lib_save_LIBS
5413 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5414 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5415 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5416 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5419 LDFLAGS=$ac_save_LDFLAGS
5423 for ac_prog in flex lex
5425 # Extract the first word of "$ac_prog", so it can be a program name with args.
5426 set dummy $ac_prog; ac_word=$2
5427 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5429 if test "${ac_cv_prog_LEX+set}" = set; then
5430 echo $ECHO_N "(cached) $ECHO_C" >&6
5432 if test -n "$LEX"; then
5433 ac_cv_prog_LEX="$LEX" # Let the user override the test.
5435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5439 test -z "$as_dir" && as_dir=.
5440 for ac_exec_ext in '' $ac_executable_extensions; do
5441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5442 ac_cv_prog_LEX="$ac_prog"
5443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5453 if test -n "$LEX"; then
5454 { echo "$as_me:$LINENO: result: $LEX" >&5
5455 echo "${ECHO_T}$LEX" >&6; }
5457 { echo "$as_me:$LINENO: result: no" >&5
5458 echo "${ECHO_T}no" >&6; }
5462 test -n "$LEX" && break
5464 test -n "$LEX" || LEX=":"
5466 if test -z "$LEXLIB"
5468 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5469 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
5470 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5471 echo $ECHO_N "(cached) $ECHO_C" >&6
5473 ac_check_lib_save_LIBS=$LIBS
5475 cat >conftest.$ac_ext <<_ACEOF
5478 cat confdefs.h >>conftest.$ac_ext
5479 cat >>conftest.$ac_ext <<_ACEOF
5480 /* end confdefs.h. */
5482 /* Override any GCC internal prototype to avoid an error.
5483 Use char because int might match the return type of a GCC
5484 builtin and then its argument prototype would still apply. */
5497 rm -f conftest.$ac_objext conftest$ac_exeext
5498 if { (ac_try="$ac_link"
5500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5501 *) ac_try_echo=$ac_try;;
5503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5504 (eval "$ac_link") 2>conftest.er1
5506 grep -v '^ *+' conftest.er1 >conftest.err
5508 cat conftest.err >&5
5509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510 (exit $ac_status); } &&
5511 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5512 { (case "(($ac_try" in
5513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5514 *) ac_try_echo=$ac_try;;
5516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5517 (eval "$ac_try") 2>&5
5519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5520 (exit $ac_status); }; } &&
5521 { ac_try='test -s conftest$ac_exeext'
5522 { (case "(($ac_try" in
5523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5524 *) ac_try_echo=$ac_try;;
5526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5527 (eval "$ac_try") 2>&5
5529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5530 (exit $ac_status); }; }; then
5531 ac_cv_lib_fl_yywrap=yes
5533 echo "$as_me: failed program was:" >&5
5534 sed 's/^/| /' conftest.$ac_ext >&5
5536 ac_cv_lib_fl_yywrap=no
5539 rm -f core conftest.err conftest.$ac_objext \
5540 conftest$ac_exeext conftest.$ac_ext
5541 LIBS=$ac_check_lib_save_LIBS
5543 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5544 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
5545 if test $ac_cv_lib_fl_yywrap = yes; then
5548 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5549 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
5550 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5551 echo $ECHO_N "(cached) $ECHO_C" >&6
5553 ac_check_lib_save_LIBS=$LIBS
5555 cat >conftest.$ac_ext <<_ACEOF
5558 cat confdefs.h >>conftest.$ac_ext
5559 cat >>conftest.$ac_ext <<_ACEOF
5560 /* end confdefs.h. */
5562 /* Override any GCC internal prototype to avoid an error.
5563 Use char because int might match the return type of a GCC
5564 builtin and then its argument prototype would still apply. */
5577 rm -f conftest.$ac_objext conftest$ac_exeext
5578 if { (ac_try="$ac_link"
5580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5581 *) ac_try_echo=$ac_try;;
5583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5584 (eval "$ac_link") 2>conftest.er1
5586 grep -v '^ *+' conftest.er1 >conftest.err
5588 cat conftest.err >&5
5589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5590 (exit $ac_status); } &&
5591 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5592 { (case "(($ac_try" in
5593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5594 *) ac_try_echo=$ac_try;;
5596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5597 (eval "$ac_try") 2>&5
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); }; } &&
5601 { ac_try='test -s conftest$ac_exeext'
5602 { (case "(($ac_try" in
5603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5604 *) ac_try_echo=$ac_try;;
5606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5607 (eval "$ac_try") 2>&5
5609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5610 (exit $ac_status); }; }; then
5611 ac_cv_lib_l_yywrap=yes
5613 echo "$as_me: failed program was:" >&5
5614 sed 's/^/| /' conftest.$ac_ext >&5
5616 ac_cv_lib_l_yywrap=no
5619 rm -f core conftest.err conftest.$ac_objext \
5620 conftest$ac_exeext conftest.$ac_ext
5621 LIBS=$ac_check_lib_save_LIBS
5623 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5624 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
5625 if test $ac_cv_lib_l_yywrap = yes; then
5633 if test "x$LEX" != "x:"; then
5634 { echo "$as_me:$LINENO: checking lex output file root" >&5
5635 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5636 if test "${ac_cv_prog_lex_root+set}" = set; then
5637 echo $ECHO_N "(cached) $ECHO_C" >&6
5639 # The minimal lex program is just a single line: %%. But some broken lexes
5640 # (Solaris, I think it was) want two %% lines, so accommodate them.
5641 cat >conftest.l <<_ACEOF
5645 { (ac_try="$LEX conftest.l"
5647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5648 *) ac_try_echo=$ac_try;;
5650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5651 (eval "$LEX conftest.l") 2>&5
5653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5654 (exit $ac_status); }
5655 if test -f lex.yy.c; then
5656 ac_cv_prog_lex_root=lex.yy
5657 elif test -f lexyy.c; then
5658 ac_cv_prog_lex_root=lexyy
5660 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5661 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5662 { (exit 1); exit 1; }; }
5665 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5666 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5668 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5670 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5671 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5672 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5673 echo $ECHO_N "(cached) $ECHO_C" >&6
5675 # POSIX says lex can declare yytext either as a pointer or an array; the
5676 # default is implementation-dependent. Figure out which it is, since
5677 # not all implementations provide the %pointer and %array declarations.
5678 ac_cv_prog_lex_yytext_pointer=no
5679 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5681 LIBS="$LIBS $LEXLIB"
5682 cat >conftest.$ac_ext <<_ACEOF
5683 `cat $LEX_OUTPUT_ROOT.c`
5685 rm -f conftest.$ac_objext conftest$ac_exeext
5686 if { (ac_try="$ac_link"
5688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5689 *) ac_try_echo=$ac_try;;
5691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5692 (eval "$ac_link") 2>conftest.er1
5694 grep -v '^ *+' conftest.er1 >conftest.err
5696 cat conftest.err >&5
5697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5698 (exit $ac_status); } &&
5699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5700 { (case "(($ac_try" in
5701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5702 *) ac_try_echo=$ac_try;;
5704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5705 (eval "$ac_try") 2>&5
5707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5708 (exit $ac_status); }; } &&
5709 { ac_try='test -s conftest$ac_exeext'
5710 { (case "(($ac_try" in
5711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5712 *) ac_try_echo=$ac_try;;
5714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5715 (eval "$ac_try") 2>&5
5717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5718 (exit $ac_status); }; }; then
5719 ac_cv_prog_lex_yytext_pointer=yes
5721 echo "$as_me: failed program was:" >&5
5722 sed 's/^/| /' conftest.$ac_ext >&5
5727 rm -f core conftest.err conftest.$ac_objext \
5728 conftest$ac_exeext conftest.$ac_ext
5730 rm -f "${LEX_OUTPUT_ROOT}.c"
5733 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5734 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5735 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5737 cat >>confdefs.h <<\_ACEOF
5738 #define YYTEXT_POINTER 1
5745 for ac_prog in $LEX flex lex
5747 # Extract the first word of "$ac_prog", so it can be a program name with args.
5748 set dummy $ac_prog; ac_word=$2
5749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5751 if test "${ac_cv_prog_XLEX+set}" = set; then
5752 echo $ECHO_N "(cached) $ECHO_C" >&6
5754 if test -n "$XLEX"; then
5755 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
5757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5761 test -z "$as_dir" && as_dir=.
5762 for ac_exec_ext in '' $ac_executable_extensions; do
5763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5764 ac_cv_prog_XLEX="$ac_prog"
5765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5774 XLEX=$ac_cv_prog_XLEX
5775 if test -n "$XLEX"; then
5776 { echo "$as_me:$LINENO: result: $XLEX" >&5
5777 echo "${ECHO_T}$XLEX" >&6; }
5779 { echo "$as_me:$LINENO: result: no" >&5
5780 echo "${ECHO_T}no" >&6; }
5784 test -n "$XLEX" && break
5786 test -n "$XLEX" || XLEX="none"
5788 if test "$XLEX" = "none"
5790 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5791 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5792 { (exit 1); exit 1; }; }
5795 for ac_prog in bison
5797 # Extract the first word of "$ac_prog", so it can be a program name with args.
5798 set dummy $ac_prog; ac_word=$2
5799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5801 if test "${ac_cv_prog_BISON+set}" = set; then
5802 echo $ECHO_N "(cached) $ECHO_C" >&6
5804 if test -n "$BISON"; then
5805 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5811 test -z "$as_dir" && as_dir=.
5812 for ac_exec_ext in '' $ac_executable_extensions; do
5813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5814 ac_cv_prog_BISON="$ac_prog"
5815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5824 BISON=$ac_cv_prog_BISON
5825 if test -n "$BISON"; then
5826 { echo "$as_me:$LINENO: result: $BISON" >&5
5827 echo "${ECHO_T}$BISON" >&6; }
5829 { echo "$as_me:$LINENO: result: no" >&5
5830 echo "${ECHO_T}no" >&6; }
5834 test -n "$BISON" && break
5836 test -n "$BISON" || BISON="none"
5838 if test "$BISON" = "none"
5840 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5841 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5842 { (exit 1); exit 1; }; }
5845 if test -n "$ac_tool_prefix"; then
5846 for ac_prog in gas as
5848 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5849 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5850 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5852 if test "${ac_cv_prog_AS+set}" = set; then
5853 echo $ECHO_N "(cached) $ECHO_C" >&6
5855 if test -n "$AS"; then
5856 ac_cv_prog_AS="$AS" # Let the user override the test.
5858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 test -z "$as_dir" && as_dir=.
5863 for ac_exec_ext in '' $ac_executable_extensions; do
5864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5865 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5876 if test -n "$AS"; then
5877 { echo "$as_me:$LINENO: result: $AS" >&5
5878 echo "${ECHO_T}$AS" >&6; }
5880 { echo "$as_me:$LINENO: result: no" >&5
5881 echo "${ECHO_T}no" >&6; }
5885 test -n "$AS" && break
5888 if test -z "$AS"; then
5890 for ac_prog in gas as
5892 # Extract the first word of "$ac_prog", so it can be a program name with args.
5893 set dummy $ac_prog; ac_word=$2
5894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5896 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5897 echo $ECHO_N "(cached) $ECHO_C" >&6
5899 if test -n "$ac_ct_AS"; then
5900 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5906 test -z "$as_dir" && as_dir=.
5907 for ac_exec_ext in '' $ac_executable_extensions; do
5908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5909 ac_cv_prog_ac_ct_AS="$ac_prog"
5910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5919 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5920 if test -n "$ac_ct_AS"; then
5921 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5922 echo "${ECHO_T}$ac_ct_AS" >&6; }
5924 { echo "$as_me:$LINENO: result: no" >&5
5925 echo "${ECHO_T}no" >&6; }
5929 test -n "$ac_ct_AS" && break
5932 if test "x$ac_ct_AS" = x; then
5935 case $cross_compiling:$ac_tool_warned in
5937 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5938 whose name does not start with the host triplet. If you think this
5939 configuration is useful to you, please write to autoconf@gnu.org." >&5
5940 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5941 whose name does not start with the host triplet. If you think this
5942 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5943 ac_tool_warned=yes ;;
5949 if test -n "$ac_tool_prefix"; then
5950 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5951 set dummy ${ac_tool_prefix}ld; ac_word=$2
5952 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5954 if test "${ac_cv_prog_LD+set}" = set; then
5955 echo $ECHO_N "(cached) $ECHO_C" >&6
5957 if test -n "$LD"; then
5958 ac_cv_prog_LD="$LD" # Let the user override the test.
5960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5964 test -z "$as_dir" && as_dir=.
5965 for ac_exec_ext in '' $ac_executable_extensions; do
5966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5967 ac_cv_prog_LD="${ac_tool_prefix}ld"
5968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5978 if test -n "$LD"; then
5979 { echo "$as_me:$LINENO: result: $LD" >&5
5980 echo "${ECHO_T}$LD" >&6; }
5982 { echo "$as_me:$LINENO: result: no" >&5
5983 echo "${ECHO_T}no" >&6; }
5988 if test -z "$ac_cv_prog_LD"; then
5990 # Extract the first word of "ld", so it can be a program name with args.
5991 set dummy ld; ac_word=$2
5992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5994 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5995 echo $ECHO_N "(cached) $ECHO_C" >&6
5997 if test -n "$ac_ct_LD"; then
5998 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6004 test -z "$as_dir" && as_dir=.
6005 for ac_exec_ext in '' $ac_executable_extensions; do
6006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6007 ac_cv_prog_ac_ct_LD="ld"
6008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6017 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6018 if test -n "$ac_ct_LD"; then
6019 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
6020 echo "${ECHO_T}$ac_ct_LD" >&6; }
6022 { echo "$as_me:$LINENO: result: no" >&5
6023 echo "${ECHO_T}no" >&6; }
6026 if test "x$ac_ct_LD" = x; then
6029 case $cross_compiling:$ac_tool_warned in
6031 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6032 whose name does not start with the host triplet. If you think this
6033 configuration is useful to you, please write to autoconf@gnu.org." >&5
6034 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6035 whose name does not start with the host triplet. If you think this
6036 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6037 ac_tool_warned=yes ;;
6045 if test -n "$ac_tool_prefix"; then
6046 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6047 set dummy ${ac_tool_prefix}ar; ac_word=$2
6048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6050 if test "${ac_cv_prog_AR+set}" = set; then
6051 echo $ECHO_N "(cached) $ECHO_C" >&6
6053 if test -n "$AR"; then
6054 ac_cv_prog_AR="$AR" # Let the user override the test.
6056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6060 test -z "$as_dir" && as_dir=.
6061 for ac_exec_ext in '' $ac_executable_extensions; do
6062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6063 ac_cv_prog_AR="${ac_tool_prefix}ar"
6064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6074 if test -n "$AR"; then
6075 { echo "$as_me:$LINENO: result: $AR" >&5
6076 echo "${ECHO_T}$AR" >&6; }
6078 { echo "$as_me:$LINENO: result: no" >&5
6079 echo "${ECHO_T}no" >&6; }
6084 if test -z "$ac_cv_prog_AR"; then
6086 # Extract the first word of "ar", so it can be a program name with args.
6087 set dummy ar; ac_word=$2
6088 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6090 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6091 echo $ECHO_N "(cached) $ECHO_C" >&6
6093 if test -n "$ac_ct_AR"; then
6094 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6100 test -z "$as_dir" && as_dir=.
6101 for ac_exec_ext in '' $ac_executable_extensions; do
6102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6103 ac_cv_prog_ac_ct_AR="ar"
6104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6113 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6114 if test -n "$ac_ct_AR"; then
6115 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6116 echo "${ECHO_T}$ac_ct_AR" >&6; }
6118 { echo "$as_me:$LINENO: result: no" >&5
6119 echo "${ECHO_T}no" >&6; }
6122 if test "x$ac_ct_AR" = x; then
6125 case $cross_compiling:$ac_tool_warned in
6127 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6128 whose name does not start with the host triplet. If you think this
6129 configuration is useful to you, please write to autoconf@gnu.org." >&5
6130 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6131 whose name does not start with the host triplet. If you think this
6132 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6133 ac_tool_warned=yes ;;
6141 if test -n "$ac_tool_prefix"; then
6142 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6143 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6146 if test "${ac_cv_prog_RANLIB+set}" = set; then
6147 echo $ECHO_N "(cached) $ECHO_C" >&6
6149 if test -n "$RANLIB"; then
6150 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 test -z "$as_dir" && as_dir=.
6157 for ac_exec_ext in '' $ac_executable_extensions; do
6158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6159 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6169 RANLIB=$ac_cv_prog_RANLIB
6170 if test -n "$RANLIB"; then
6171 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6172 echo "${ECHO_T}$RANLIB" >&6; }
6174 { echo "$as_me:$LINENO: result: no" >&5
6175 echo "${ECHO_T}no" >&6; }
6180 if test -z "$ac_cv_prog_RANLIB"; then
6181 ac_ct_RANLIB=$RANLIB
6182 # Extract the first word of "ranlib", so it can be a program name with args.
6183 set dummy ranlib; ac_word=$2
6184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6186 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6187 echo $ECHO_N "(cached) $ECHO_C" >&6
6189 if test -n "$ac_ct_RANLIB"; then
6190 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6196 test -z "$as_dir" && as_dir=.
6197 for ac_exec_ext in '' $ac_executable_extensions; do
6198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6199 ac_cv_prog_ac_ct_RANLIB="ranlib"
6200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6209 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6210 if test -n "$ac_ct_RANLIB"; then
6211 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6212 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6214 { echo "$as_me:$LINENO: result: no" >&5
6215 echo "${ECHO_T}no" >&6; }
6218 if test "x$ac_ct_RANLIB" = x; then
6221 case $cross_compiling:$ac_tool_warned in
6223 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6224 whose name does not start with the host triplet. If you think this
6225 configuration is useful to you, please write to autoconf@gnu.org." >&5
6226 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6227 whose name does not start with the host triplet. If you think this
6228 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6229 ac_tool_warned=yes ;;
6231 RANLIB=$ac_ct_RANLIB
6234 RANLIB="$ac_cv_prog_RANLIB"
6237 if test -n "$ac_tool_prefix"; then
6238 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6239 set dummy ${ac_tool_prefix}strip; ac_word=$2
6240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6242 if test "${ac_cv_prog_STRIP+set}" = set; then
6243 echo $ECHO_N "(cached) $ECHO_C" >&6
6245 if test -n "$STRIP"; then
6246 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6252 test -z "$as_dir" && as_dir=.
6253 for ac_exec_ext in '' $ac_executable_extensions; do
6254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6255 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6265 STRIP=$ac_cv_prog_STRIP
6266 if test -n "$STRIP"; then
6267 { echo "$as_me:$LINENO: result: $STRIP" >&5
6268 echo "${ECHO_T}$STRIP" >&6; }
6270 { echo "$as_me:$LINENO: result: no" >&5
6271 echo "${ECHO_T}no" >&6; }
6276 if test -z "$ac_cv_prog_STRIP"; then
6278 # Extract the first word of "strip", so it can be a program name with args.
6279 set dummy strip; ac_word=$2
6280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6282 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6283 echo $ECHO_N "(cached) $ECHO_C" >&6
6285 if test -n "$ac_ct_STRIP"; then
6286 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6292 test -z "$as_dir" && as_dir=.
6293 for ac_exec_ext in '' $ac_executable_extensions; do
6294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6295 ac_cv_prog_ac_ct_STRIP="strip"
6296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6305 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6306 if test -n "$ac_ct_STRIP"; then
6307 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6308 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6310 { echo "$as_me:$LINENO: result: no" >&5
6311 echo "${ECHO_T}no" >&6; }
6314 if test "x$ac_ct_STRIP" = x; then
6317 case $cross_compiling:$ac_tool_warned in
6319 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6320 whose name does not start with the host triplet. If you think this
6321 configuration is useful to you, please write to autoconf@gnu.org." >&5
6322 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6323 whose name does not start with the host triplet. If you think this
6324 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6325 ac_tool_warned=yes ;;
6330 STRIP="$ac_cv_prog_STRIP"
6333 if test -n "$ac_tool_prefix"; then
6334 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
6335 set dummy ${ac_tool_prefix}windres; ac_word=$2
6336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6338 if test "${ac_cv_prog_WINDRES+set}" = set; then
6339 echo $ECHO_N "(cached) $ECHO_C" >&6
6341 if test -n "$WINDRES"; then
6342 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
6344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6348 test -z "$as_dir" && as_dir=.
6349 for ac_exec_ext in '' $ac_executable_extensions; do
6350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6351 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
6352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6361 WINDRES=$ac_cv_prog_WINDRES
6362 if test -n "$WINDRES"; then
6363 { echo "$as_me:$LINENO: result: $WINDRES" >&5
6364 echo "${ECHO_T}$WINDRES" >&6; }
6366 { echo "$as_me:$LINENO: result: no" >&5
6367 echo "${ECHO_T}no" >&6; }
6372 if test -z "$ac_cv_prog_WINDRES"; then
6373 ac_ct_WINDRES=$WINDRES
6374 # Extract the first word of "windres", so it can be a program name with args.
6375 set dummy windres; ac_word=$2
6376 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6378 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6379 echo $ECHO_N "(cached) $ECHO_C" >&6
6381 if test -n "$ac_ct_WINDRES"; then
6382 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
6384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6388 test -z "$as_dir" && as_dir=.
6389 for ac_exec_ext in '' $ac_executable_extensions; do
6390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6391 ac_cv_prog_ac_ct_WINDRES="windres"
6392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6401 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
6402 if test -n "$ac_ct_WINDRES"; then
6403 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6404 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6406 { echo "$as_me:$LINENO: result: no" >&5
6407 echo "${ECHO_T}no" >&6; }
6410 if test "x$ac_ct_WINDRES" = x; then
6413 case $cross_compiling:$ac_tool_warned in
6415 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6416 whose name does not start with the host triplet. If you think this
6417 configuration is useful to you, please write to autoconf@gnu.org." >&5
6418 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6419 whose name does not start with the host triplet. If you think this
6420 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6421 ac_tool_warned=yes ;;
6423 WINDRES=$ac_ct_WINDRES
6426 WINDRES="$ac_cv_prog_WINDRES"
6429 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6430 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6432 if test "$LN_S" = "ln -s"; then
6433 { echo "$as_me:$LINENO: result: yes" >&5
6434 echo "${ECHO_T}yes" >&6; }
6436 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6437 echo "${ECHO_T}no, using $LN_S" >&6; }
6440 { echo "$as_me:$LINENO: checking whether ln works" >&5
6441 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6442 rm -f conf$$ conf$$.file
6444 if ln conf$$.file conf$$ 2>/dev/null; then
6447 { echo "$as_me:$LINENO: result: yes" >&5
6448 echo "${ECHO_T}yes" >&6; }
6452 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6453 echo "${ECHO_T}no, using $LN" >&6; }
6455 rm -f conf$$ conf$$.file
6456 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6457 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6458 if test "${ac_cv_path_GREP+set}" = set; then
6459 echo $ECHO_N "(cached) $ECHO_C" >&6
6461 # Extract the first word of "grep ggrep" to use in msg output
6462 if test -z "$GREP"; then
6463 set dummy grep ggrep; ac_prog_name=$2
6464 if test "${ac_cv_path_GREP+set}" = set; then
6465 echo $ECHO_N "(cached) $ECHO_C" >&6
6467 ac_path_GREP_found=false
6468 # Loop through the user's path and test for each of PROGNAME-LIST
6469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6470 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6473 test -z "$as_dir" && as_dir=.
6474 for ac_prog in grep ggrep; do
6475 for ac_exec_ext in '' $ac_executable_extensions; do
6476 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6477 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
6478 # Check for GNU ac_path_GREP and select it if it is found.
6479 # Check for GNU $ac_path_GREP
6480 case `"$ac_path_GREP" --version 2>&1` in
6482 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6485 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6488 cat "conftest.in" "conftest.in" >"conftest.tmp"
6489 mv "conftest.tmp" "conftest.in"
6490 cp "conftest.in" "conftest.nl"
6491 echo 'GREP' >> "conftest.nl"
6492 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6493 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6494 ac_count=`expr $ac_count + 1`
6495 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6496 # Best one so far, save it but keep looking for a better one
6497 ac_cv_path_GREP="$ac_path_GREP"
6498 ac_path_GREP_max=$ac_count
6500 # 10*(2^10) chars as input seems more than enough
6501 test $ac_count -gt 10 && break
6503 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6507 $ac_path_GREP_found && break 3
6517 GREP="$ac_cv_path_GREP"
6518 if test -z "$GREP"; then
6519 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6520 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6521 { (exit 1); exit 1; }; }
6525 ac_cv_path_GREP=$GREP
6530 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6531 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6532 GREP="$ac_cv_path_GREP"
6535 { echo "$as_me:$LINENO: checking for egrep" >&5
6536 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6537 if test "${ac_cv_path_EGREP+set}" = set; then
6538 echo $ECHO_N "(cached) $ECHO_C" >&6
6540 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6541 then ac_cv_path_EGREP="$GREP -E"
6543 # Extract the first word of "egrep" to use in msg output
6544 if test -z "$EGREP"; then
6545 set dummy egrep; ac_prog_name=$2
6546 if test "${ac_cv_path_EGREP+set}" = set; then
6547 echo $ECHO_N "(cached) $ECHO_C" >&6
6549 ac_path_EGREP_found=false
6550 # Loop through the user's path and test for each of PROGNAME-LIST
6551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6552 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6555 test -z "$as_dir" && as_dir=.
6556 for ac_prog in egrep; do
6557 for ac_exec_ext in '' $ac_executable_extensions; do
6558 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6559 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
6560 # Check for GNU ac_path_EGREP and select it if it is found.
6561 # Check for GNU $ac_path_EGREP
6562 case `"$ac_path_EGREP" --version 2>&1` in
6564 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6567 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6570 cat "conftest.in" "conftest.in" >"conftest.tmp"
6571 mv "conftest.tmp" "conftest.in"
6572 cp "conftest.in" "conftest.nl"
6573 echo 'EGREP' >> "conftest.nl"
6574 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6575 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6576 ac_count=`expr $ac_count + 1`
6577 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6578 # Best one so far, save it but keep looking for a better one
6579 ac_cv_path_EGREP="$ac_path_EGREP"
6580 ac_path_EGREP_max=$ac_count
6582 # 10*(2^10) chars as input seems more than enough
6583 test $ac_count -gt 10 && break
6585 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6589 $ac_path_EGREP_found && break 3
6599 EGREP="$ac_cv_path_EGREP"
6600 if test -z "$EGREP"; then
6601 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6602 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6603 { (exit 1); exit 1; }; }
6607 ac_cv_path_EGREP=$EGREP
6613 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6614 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6615 EGREP="$ac_cv_path_EGREP"
6618 # Extract the first word of "ldconfig", so it can be a program name with args.
6619 set dummy ldconfig; ac_word=$2
6620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6622 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6623 echo $ECHO_N "(cached) $ECHO_C" >&6
6627 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6631 for as_dir in /sbin /usr/sbin $PATH
6634 test -z "$as_dir" && as_dir=.
6635 for ac_exec_ext in '' $ac_executable_extensions; do
6636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6637 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6645 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6649 LDCONFIG=$ac_cv_path_LDCONFIG
6650 if test -n "$LDCONFIG"; then
6651 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6652 echo "${ECHO_T}$LDCONFIG" >&6; }
6654 { echo "$as_me:$LINENO: result: no" >&5
6655 echo "${ECHO_T}no" >&6; }
6659 # Find a good install program. We prefer a C program (faster),
6660 # so one script is as good as another. But avoid the broken or
6661 # incompatible versions:
6662 # SysV /etc/install, /usr/sbin/install
6663 # SunOS /usr/etc/install
6664 # IRIX /sbin/install
6666 # AmigaOS /C/install, which installs bootblocks on floppy discs
6667 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6668 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6669 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6670 # OS/2's system install, which has a completely different semantic
6671 # ./install, which can be erroneously created by make from ./install.sh.
6672 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6673 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6674 if test -z "$INSTALL"; then
6675 if test "${ac_cv_path_install+set}" = set; then
6676 echo $ECHO_N "(cached) $ECHO_C" >&6
6678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6682 test -z "$as_dir" && as_dir=.
6683 # Account for people who put trailing slashes in PATH elements.
6685 ./ | .// | /cC/* | \
6686 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6687 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6690 # OSF1 and SCO ODT 3.0 have their own names for install.
6691 # Don't use installbsd from OSF since it installs stuff as root
6693 for ac_prog in ginstall scoinst install; do
6694 for ac_exec_ext in '' $ac_executable_extensions; do
6695 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6696 if test $ac_prog = install &&
6697 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6698 # AIX install. It has an incompatible calling convention.
6700 elif test $ac_prog = install &&
6701 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6702 # program-specific install script used by HP pwplus--don't use.
6705 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6718 if test "${ac_cv_path_install+set}" = set; then
6719 INSTALL=$ac_cv_path_install
6721 # As a last resort, use the slow shell script. Don't cache a
6722 # value for INSTALL within a source directory, because that will
6723 # break other packages using the cache if that directory is
6724 # removed, or if the value is a relative name.
6725 INSTALL=$ac_install_sh
6728 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6729 echo "${ECHO_T}$INSTALL" >&6; }
6731 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6732 # It thinks the first close brace ends the variable substitution.
6733 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6735 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6737 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6740 [\\/$]* | ?:[\\/]* ) ;;
6741 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6744 for ac_prog in lclint lint
6746 # Extract the first word of "$ac_prog", so it can be a program name with args.
6747 set dummy $ac_prog; ac_word=$2
6748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6750 if test "${ac_cv_prog_LINT+set}" = set; then
6751 echo $ECHO_N "(cached) $ECHO_C" >&6
6753 if test -n "$LINT"; then
6754 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6760 test -z "$as_dir" && as_dir=.
6761 for ac_exec_ext in '' $ac_executable_extensions; do
6762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6763 ac_cv_prog_LINT="$ac_prog"
6764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6773 LINT=$ac_cv_prog_LINT
6774 if test -n "$LINT"; then
6775 { echo "$as_me:$LINENO: result: $LINT" >&5
6776 echo "${ECHO_T}$LINT" >&6; }
6778 { echo "$as_me:$LINENO: result: no" >&5
6779 echo "${ECHO_T}no" >&6; }
6783 test -n "$LINT" && break
6786 if test "$LINT" = "lint"
6788 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6793 for ac_prog in fontforge
6795 # Extract the first word of "$ac_prog", so it can be a program name with args.
6796 set dummy $ac_prog; ac_word=$2
6797 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6799 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6800 echo $ECHO_N "(cached) $ECHO_C" >&6
6802 if test -n "$FONTFORGE"; then
6803 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6809 test -z "$as_dir" && as_dir=.
6810 for ac_exec_ext in '' $ac_executable_extensions; do
6811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6812 ac_cv_prog_FONTFORGE="$ac_prog"
6813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6822 FONTFORGE=$ac_cv_prog_FONTFORGE
6823 if test -n "$FONTFORGE"; then
6824 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6825 echo "${ECHO_T}$FONTFORGE" >&6; }
6827 { echo "$as_me:$LINENO: result: no" >&5
6828 echo "${ECHO_T}no" >&6; }
6832 test -n "$FONTFORGE" && break
6834 test -n "$FONTFORGE" || FONTFORGE="false"
6836 for ac_prog in pkg-config
6838 # Extract the first word of "$ac_prog", so it can be a program name with args.
6839 set dummy $ac_prog; ac_word=$2
6840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6842 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6843 echo $ECHO_N "(cached) $ECHO_C" >&6
6845 if test -n "$PKG_CONFIG"; then
6846 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6852 test -z "$as_dir" && as_dir=.
6853 for ac_exec_ext in '' $ac_executable_extensions; do
6854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6855 ac_cv_prog_PKG_CONFIG="$ac_prog"
6856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6865 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6866 if test -n "$PKG_CONFIG"; then
6867 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6868 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6870 { echo "$as_me:$LINENO: result: no" >&5
6871 echo "${ECHO_T}no" >&6; }
6875 test -n "$PKG_CONFIG" && break
6877 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6882 for ac_prog in prelink
6884 # Extract the first word of "$ac_prog", so it can be a program name with args.
6885 set dummy $ac_prog; ac_word=$2
6886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6888 if test "${ac_cv_prog_PRELINK+set}" = set; then
6889 echo $ECHO_N "(cached) $ECHO_C" >&6
6891 if test -n "$PRELINK"; then
6892 ac_cv_prog_PRELINK="$PRELINK" # Let the user override the test.
6894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6895 for as_dir in /sbin /usr/sbin $PATH
6898 test -z "$as_dir" && as_dir=.
6899 for ac_exec_ext in '' $ac_executable_extensions; do
6900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6901 ac_cv_prog_PRELINK="$ac_prog"
6902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6911 PRELINK=$ac_cv_prog_PRELINK
6912 if test -n "$PRELINK"; then
6913 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6914 echo "${ECHO_T}$PRELINK" >&6; }
6916 { echo "$as_me:$LINENO: result: no" >&5
6917 echo "${ECHO_T}no" >&6; }
6921 test -n "$PRELINK" && break
6923 test -n "$PRELINK" || PRELINK="false"
6930 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6931 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6932 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6933 echo $ECHO_N "(cached) $ECHO_C" >&6
6935 ac_check_lib_save_LIBS=$LIBS
6937 cat >conftest.$ac_ext <<_ACEOF
6940 cat confdefs.h >>conftest.$ac_ext
6941 cat >>conftest.$ac_ext <<_ACEOF
6942 /* end confdefs.h. */
6944 /* Override any GCC internal prototype to avoid an error.
6945 Use char because int might match the return type of a GCC
6946 builtin and then its argument prototype would still apply. */
6950 char i386_set_ldt ();
6954 return i386_set_ldt ();
6959 rm -f conftest.$ac_objext conftest$ac_exeext
6960 if { (ac_try="$ac_link"
6962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6963 *) ac_try_echo=$ac_try;;
6965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6966 (eval "$ac_link") 2>conftest.er1
6968 grep -v '^ *+' conftest.er1 >conftest.err
6970 cat conftest.err >&5
6971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6972 (exit $ac_status); } &&
6973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6974 { (case "(($ac_try" in
6975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6976 *) ac_try_echo=$ac_try;;
6978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6979 (eval "$ac_try") 2>&5
6981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 (exit $ac_status); }; } &&
6983 { ac_try='test -s conftest$ac_exeext'
6984 { (case "(($ac_try" in
6985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6986 *) ac_try_echo=$ac_try;;
6988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6989 (eval "$ac_try") 2>&5
6991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6992 (exit $ac_status); }; }; then
6993 ac_cv_lib_i386_i386_set_ldt=yes
6995 echo "$as_me: failed program was:" >&5
6996 sed 's/^/| /' conftest.$ac_ext >&5
6998 ac_cv_lib_i386_i386_set_ldt=no
7001 rm -f core conftest.err conftest.$ac_objext \
7002 conftest$ac_exeext conftest.$ac_ext
7003 LIBS=$ac_check_lib_save_LIBS
7005 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7006 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
7007 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
7008 cat >>confdefs.h <<_ACEOF
7009 #define HAVE_LIBI386 1
7017 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
7018 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
7019 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
7020 echo $ECHO_N "(cached) $ECHO_C" >&6
7022 ac_check_lib_save_LIBS=$LIBS
7023 LIBS="-lossaudio $LIBS"
7024 cat >conftest.$ac_ext <<_ACEOF
7027 cat confdefs.h >>conftest.$ac_ext
7028 cat >>conftest.$ac_ext <<_ACEOF
7029 /* end confdefs.h. */
7031 /* Override any GCC internal prototype to avoid an error.
7032 Use char because int might match the return type of a GCC
7033 builtin and then its argument prototype would still apply. */
7041 return _oss_ioctl ();
7046 rm -f conftest.$ac_objext conftest$ac_exeext
7047 if { (ac_try="$ac_link"
7049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7050 *) ac_try_echo=$ac_try;;
7052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7053 (eval "$ac_link") 2>conftest.er1
7055 grep -v '^ *+' conftest.er1 >conftest.err
7057 cat conftest.err >&5
7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7059 (exit $ac_status); } &&
7060 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7061 { (case "(($ac_try" in
7062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7063 *) ac_try_echo=$ac_try;;
7065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7066 (eval "$ac_try") 2>&5
7068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7069 (exit $ac_status); }; } &&
7070 { ac_try='test -s conftest$ac_exeext'
7071 { (case "(($ac_try" in
7072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7073 *) ac_try_echo=$ac_try;;
7075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7076 (eval "$ac_try") 2>&5
7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079 (exit $ac_status); }; }; then
7080 ac_cv_lib_ossaudio__oss_ioctl=yes
7082 echo "$as_me: failed program was:" >&5
7083 sed 's/^/| /' conftest.$ac_ext >&5
7085 ac_cv_lib_ossaudio__oss_ioctl=no
7088 rm -f core conftest.err conftest.$ac_objext \
7089 conftest$ac_exeext conftest.$ac_ext
7090 LIBS=$ac_check_lib_save_LIBS
7092 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
7093 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
7094 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
7095 cat >>confdefs.h <<_ACEOF
7096 #define HAVE_LIBOSSAUDIO 1
7099 LIBS="-lossaudio $LIBS"
7104 for ac_func in gethostbyname
7106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7107 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7109 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7110 echo $ECHO_N "(cached) $ECHO_C" >&6
7112 cat >conftest.$ac_ext <<_ACEOF
7115 cat confdefs.h >>conftest.$ac_ext
7116 cat >>conftest.$ac_ext <<_ACEOF
7117 /* end confdefs.h. */
7118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7120 #define $ac_func innocuous_$ac_func
7122 /* System header to define __stub macros and hopefully few prototypes,
7123 which can conflict with char $ac_func (); below.
7124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7125 <limits.h> exists even on freestanding compilers. */
7128 # include <limits.h>
7130 # include <assert.h>
7135 /* Override any GCC internal prototype to avoid an error.
7136 Use char because int might match the return type of a GCC
7137 builtin and then its argument prototype would still apply. */
7142 /* The GNU C library defines this for functions which it implements
7143 to always fail with ENOSYS. Some functions are actually named
7144 something starting with __ and the normal name is an alias. */
7145 #if defined __stub_$ac_func || defined __stub___$ac_func
7157 rm -f conftest.$ac_objext conftest$ac_exeext
7158 if { (ac_try="$ac_link"
7160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7161 *) ac_try_echo=$ac_try;;
7163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7164 (eval "$ac_link") 2>conftest.er1
7166 grep -v '^ *+' conftest.er1 >conftest.err
7168 cat conftest.err >&5
7169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7170 (exit $ac_status); } &&
7171 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7172 { (case "(($ac_try" in
7173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7174 *) ac_try_echo=$ac_try;;
7176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7177 (eval "$ac_try") 2>&5
7179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7180 (exit $ac_status); }; } &&
7181 { ac_try='test -s conftest$ac_exeext'
7182 { (case "(($ac_try" in
7183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7184 *) ac_try_echo=$ac_try;;
7186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7187 (eval "$ac_try") 2>&5
7189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7190 (exit $ac_status); }; }; then
7191 eval "$as_ac_var=yes"
7193 echo "$as_me: failed program was:" >&5
7194 sed 's/^/| /' conftest.$ac_ext >&5
7196 eval "$as_ac_var=no"
7199 rm -f core conftest.err conftest.$ac_objext \
7200 conftest$ac_exeext conftest.$ac_ext
7202 ac_res=`eval echo '${'$as_ac_var'}'`
7203 { echo "$as_me:$LINENO: result: $ac_res" >&5
7204 echo "${ECHO_T}$ac_res" >&6; }
7205 if test `eval echo '${'$as_ac_var'}'` = yes; then
7206 cat >>confdefs.h <<_ACEOF
7207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7212 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
7213 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
7214 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
7215 echo $ECHO_N "(cached) $ECHO_C" >&6
7217 ac_check_lib_save_LIBS=$LIBS
7219 cat >conftest.$ac_ext <<_ACEOF
7222 cat confdefs.h >>conftest.$ac_ext
7223 cat >>conftest.$ac_ext <<_ACEOF
7224 /* end confdefs.h. */
7226 /* Override any GCC internal prototype to avoid an error.
7227 Use char because int might match the return type of a GCC
7228 builtin and then its argument prototype would still apply. */
7232 char gethostbyname ();
7236 return gethostbyname ();
7241 rm -f conftest.$ac_objext conftest$ac_exeext
7242 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
7250 grep -v '^ *+' conftest.er1 >conftest.err
7252 cat conftest.err >&5
7253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7254 (exit $ac_status); } &&
7255 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7256 { (case "(($ac_try" in
7257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7258 *) ac_try_echo=$ac_try;;
7260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7261 (eval "$ac_try") 2>&5
7263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7264 (exit $ac_status); }; } &&
7265 { ac_try='test -s conftest$ac_exeext'
7266 { (case "(($ac_try" in
7267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7268 *) ac_try_echo=$ac_try;;
7270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7271 (eval "$ac_try") 2>&5
7273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7274 (exit $ac_status); }; }; then
7275 ac_cv_lib_nsl_gethostbyname=yes
7277 echo "$as_me: failed program was:" >&5
7278 sed 's/^/| /' conftest.$ac_ext >&5
7280 ac_cv_lib_nsl_gethostbyname=no
7283 rm -f core conftest.err conftest.$ac_objext \
7284 conftest$ac_exeext conftest.$ac_ext
7285 LIBS=$ac_check_lib_save_LIBS
7287 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
7288 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
7289 if test $ac_cv_lib_nsl_gethostbyname = yes; then
7290 cat >>confdefs.h <<_ACEOF
7291 #define HAVE_LIBNSL 1
7302 for ac_func in connect
7304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7305 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7307 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7308 echo $ECHO_N "(cached) $ECHO_C" >&6
7310 cat >conftest.$ac_ext <<_ACEOF
7313 cat confdefs.h >>conftest.$ac_ext
7314 cat >>conftest.$ac_ext <<_ACEOF
7315 /* end confdefs.h. */
7316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7318 #define $ac_func innocuous_$ac_func
7320 /* System header to define __stub macros and hopefully few prototypes,
7321 which can conflict with char $ac_func (); below.
7322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7323 <limits.h> exists even on freestanding compilers. */
7326 # include <limits.h>
7328 # include <assert.h>
7333 /* Override any GCC internal prototype to avoid an error.
7334 Use char because int might match the return type of a GCC
7335 builtin and then its argument prototype would still apply. */
7340 /* The GNU C library defines this for functions which it implements
7341 to always fail with ENOSYS. Some functions are actually named
7342 something starting with __ and the normal name is an alias. */
7343 #if defined __stub_$ac_func || defined __stub___$ac_func
7355 rm -f conftest.$ac_objext conftest$ac_exeext
7356 if { (ac_try="$ac_link"
7358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7359 *) ac_try_echo=$ac_try;;
7361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7362 (eval "$ac_link") 2>conftest.er1
7364 grep -v '^ *+' conftest.er1 >conftest.err
7366 cat conftest.err >&5
7367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7368 (exit $ac_status); } &&
7369 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7370 { (case "(($ac_try" in
7371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7372 *) ac_try_echo=$ac_try;;
7374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7375 (eval "$ac_try") 2>&5
7377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7378 (exit $ac_status); }; } &&
7379 { ac_try='test -s conftest$ac_exeext'
7380 { (case "(($ac_try" in
7381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7382 *) ac_try_echo=$ac_try;;
7384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7385 (eval "$ac_try") 2>&5
7387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7388 (exit $ac_status); }; }; then
7389 eval "$as_ac_var=yes"
7391 echo "$as_me: failed program was:" >&5
7392 sed 's/^/| /' conftest.$ac_ext >&5
7394 eval "$as_ac_var=no"
7397 rm -f core conftest.err conftest.$ac_objext \
7398 conftest$ac_exeext conftest.$ac_ext
7400 ac_res=`eval echo '${'$as_ac_var'}'`
7401 { echo "$as_me:$LINENO: result: $ac_res" >&5
7402 echo "${ECHO_T}$ac_res" >&6; }
7403 if test `eval echo '${'$as_ac_var'}'` = yes; then
7404 cat >>confdefs.h <<_ACEOF
7405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7410 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
7411 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
7412 if test "${ac_cv_lib_socket_connect+set}" = set; then
7413 echo $ECHO_N "(cached) $ECHO_C" >&6
7415 ac_check_lib_save_LIBS=$LIBS
7416 LIBS="-lsocket $LIBS"
7417 cat >conftest.$ac_ext <<_ACEOF
7420 cat confdefs.h >>conftest.$ac_ext
7421 cat >>conftest.$ac_ext <<_ACEOF
7422 /* end confdefs.h. */
7424 /* Override any GCC internal prototype to avoid an error.
7425 Use char because int might match the return type of a GCC
7426 builtin and then its argument prototype would still apply. */
7439 rm -f conftest.$ac_objext conftest$ac_exeext
7440 if { (ac_try="$ac_link"
7442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7443 *) ac_try_echo=$ac_try;;
7445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7446 (eval "$ac_link") 2>conftest.er1
7448 grep -v '^ *+' conftest.er1 >conftest.err
7450 cat conftest.err >&5
7451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7452 (exit $ac_status); } &&
7453 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7454 { (case "(($ac_try" in
7455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7456 *) ac_try_echo=$ac_try;;
7458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7459 (eval "$ac_try") 2>&5
7461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462 (exit $ac_status); }; } &&
7463 { ac_try='test -s conftest$ac_exeext'
7464 { (case "(($ac_try" in
7465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7466 *) ac_try_echo=$ac_try;;
7468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7469 (eval "$ac_try") 2>&5
7471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7472 (exit $ac_status); }; }; then
7473 ac_cv_lib_socket_connect=yes
7475 echo "$as_me: failed program was:" >&5
7476 sed 's/^/| /' conftest.$ac_ext >&5
7478 ac_cv_lib_socket_connect=no
7481 rm -f core conftest.err conftest.$ac_objext \
7482 conftest$ac_exeext conftest.$ac_ext
7483 LIBS=$ac_check_lib_save_LIBS
7485 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
7486 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
7487 if test $ac_cv_lib_socket_connect = yes; then
7488 cat >>confdefs.h <<_ACEOF
7489 #define HAVE_LIBSOCKET 1
7492 LIBS="-lsocket $LIBS"
7500 for ac_func in inet_aton
7502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7503 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7505 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7506 echo $ECHO_N "(cached) $ECHO_C" >&6
7508 cat >conftest.$ac_ext <<_ACEOF
7511 cat confdefs.h >>conftest.$ac_ext
7512 cat >>conftest.$ac_ext <<_ACEOF
7513 /* end confdefs.h. */
7514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7516 #define $ac_func innocuous_$ac_func
7518 /* System header to define __stub macros and hopefully few prototypes,
7519 which can conflict with char $ac_func (); below.
7520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7521 <limits.h> exists even on freestanding compilers. */
7524 # include <limits.h>
7526 # include <assert.h>
7531 /* Override any GCC internal prototype to avoid an error.
7532 Use char because int might match the return type of a GCC
7533 builtin and then its argument prototype would still apply. */
7538 /* The GNU C library defines this for functions which it implements
7539 to always fail with ENOSYS. Some functions are actually named
7540 something starting with __ and the normal name is an alias. */
7541 #if defined __stub_$ac_func || defined __stub___$ac_func
7553 rm -f conftest.$ac_objext conftest$ac_exeext
7554 if { (ac_try="$ac_link"
7556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7557 *) ac_try_echo=$ac_try;;
7559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7560 (eval "$ac_link") 2>conftest.er1
7562 grep -v '^ *+' conftest.er1 >conftest.err
7564 cat conftest.err >&5
7565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7566 (exit $ac_status); } &&
7567 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7568 { (case "(($ac_try" in
7569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7570 *) ac_try_echo=$ac_try;;
7572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7573 (eval "$ac_try") 2>&5
7575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7576 (exit $ac_status); }; } &&
7577 { ac_try='test -s conftest$ac_exeext'
7578 { (case "(($ac_try" in
7579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7580 *) ac_try_echo=$ac_try;;
7582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7583 (eval "$ac_try") 2>&5
7585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7586 (exit $ac_status); }; }; then
7587 eval "$as_ac_var=yes"
7589 echo "$as_me: failed program was:" >&5
7590 sed 's/^/| /' conftest.$ac_ext >&5
7592 eval "$as_ac_var=no"
7595 rm -f core conftest.err conftest.$ac_objext \
7596 conftest$ac_exeext conftest.$ac_ext
7598 ac_res=`eval echo '${'$as_ac_var'}'`
7599 { echo "$as_me:$LINENO: result: $ac_res" >&5
7600 echo "${ECHO_T}$ac_res" >&6; }
7601 if test `eval echo '${'$as_ac_var'}'` = yes; then
7602 cat >>confdefs.h <<_ACEOF
7603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7608 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
7609 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
7610 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
7611 echo $ECHO_N "(cached) $ECHO_C" >&6
7613 ac_check_lib_save_LIBS=$LIBS
7614 LIBS="-lresolv $LIBS"
7615 cat >conftest.$ac_ext <<_ACEOF
7618 cat confdefs.h >>conftest.$ac_ext
7619 cat >>conftest.$ac_ext <<_ACEOF
7620 /* end confdefs.h. */
7622 /* Override any GCC internal prototype to avoid an error.
7623 Use char because int might match the return type of a GCC
7624 builtin and then its argument prototype would still apply. */
7632 return inet_aton ();
7637 rm -f conftest.$ac_objext conftest$ac_exeext
7638 if { (ac_try="$ac_link"
7640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7641 *) ac_try_echo=$ac_try;;
7643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7644 (eval "$ac_link") 2>conftest.er1
7646 grep -v '^ *+' conftest.er1 >conftest.err
7648 cat conftest.err >&5
7649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7650 (exit $ac_status); } &&
7651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7652 { (case "(($ac_try" in
7653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7654 *) ac_try_echo=$ac_try;;
7656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7657 (eval "$ac_try") 2>&5
7659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7660 (exit $ac_status); }; } &&
7661 { ac_try='test -s conftest$ac_exeext'
7662 { (case "(($ac_try" in
7663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7664 *) ac_try_echo=$ac_try;;
7666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7667 (eval "$ac_try") 2>&5
7669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7670 (exit $ac_status); }; }; then
7671 ac_cv_lib_resolv_inet_aton=yes
7673 echo "$as_me: failed program was:" >&5
7674 sed 's/^/| /' conftest.$ac_ext >&5
7676 ac_cv_lib_resolv_inet_aton=no
7679 rm -f core conftest.err conftest.$ac_objext \
7680 conftest$ac_exeext conftest.$ac_ext
7681 LIBS=$ac_check_lib_save_LIBS
7683 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
7684 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
7685 if test $ac_cv_lib_resolv_inet_aton = yes; then
7686 cat >>confdefs.h <<_ACEOF
7687 #define HAVE_LIBRESOLV 1
7690 LIBS="-lresolv $LIBS"
7698 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
7699 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
7700 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
7701 echo $ECHO_N "(cached) $ECHO_C" >&6
7703 ac_check_lib_save_LIBS=$LIBS
7705 cat >conftest.$ac_ext <<_ACEOF
7708 cat confdefs.h >>conftest.$ac_ext
7709 cat >>conftest.$ac_ext <<_ACEOF
7710 /* end confdefs.h. */
7712 /* Override any GCC internal prototype to avoid an error.
7713 Use char because int might match the return type of a GCC
7714 builtin and then its argument prototype would still apply. */
7718 char _xpg4_setrunelocale ();
7722 return _xpg4_setrunelocale ();
7727 rm -f conftest.$ac_objext conftest$ac_exeext
7728 if { (ac_try="$ac_link"
7730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7731 *) ac_try_echo=$ac_try;;
7733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7734 (eval "$ac_link") 2>conftest.er1
7736 grep -v '^ *+' conftest.er1 >conftest.err
7738 cat conftest.err >&5
7739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7740 (exit $ac_status); } &&
7741 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7742 { (case "(($ac_try" in
7743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7744 *) ac_try_echo=$ac_try;;
7746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7747 (eval "$ac_try") 2>&5
7749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7750 (exit $ac_status); }; } &&
7751 { ac_try='test -s conftest$ac_exeext'
7752 { (case "(($ac_try" in
7753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7754 *) ac_try_echo=$ac_try;;
7756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7757 (eval "$ac_try") 2>&5
7759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7760 (exit $ac_status); }; }; then
7761 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
7763 echo "$as_me: failed program was:" >&5
7764 sed 's/^/| /' conftest.$ac_ext >&5
7766 ac_cv_lib_xpg4__xpg4_setrunelocale=no
7769 rm -f core conftest.err conftest.$ac_objext \
7770 conftest$ac_exeext conftest.$ac_ext
7771 LIBS=$ac_check_lib_save_LIBS
7773 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
7774 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
7775 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
7776 cat >>confdefs.h <<_ACEOF
7777 #define HAVE_LIBXPG4 1
7785 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
7786 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
7787 if test "${ac_cv_lib_poll_poll+set}" = set; then
7788 echo $ECHO_N "(cached) $ECHO_C" >&6
7790 ac_check_lib_save_LIBS=$LIBS
7792 cat >conftest.$ac_ext <<_ACEOF
7795 cat confdefs.h >>conftest.$ac_ext
7796 cat >>conftest.$ac_ext <<_ACEOF
7797 /* end confdefs.h. */
7799 /* Override any GCC internal prototype to avoid an error.
7800 Use char because int might match the return type of a GCC
7801 builtin and then its argument prototype would still apply. */
7814 rm -f conftest.$ac_objext conftest$ac_exeext
7815 if { (ac_try="$ac_link"
7817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7818 *) ac_try_echo=$ac_try;;
7820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7821 (eval "$ac_link") 2>conftest.er1
7823 grep -v '^ *+' conftest.er1 >conftest.err
7825 cat conftest.err >&5
7826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7827 (exit $ac_status); } &&
7828 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7829 { (case "(($ac_try" in
7830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7831 *) ac_try_echo=$ac_try;;
7833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7834 (eval "$ac_try") 2>&5
7836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7837 (exit $ac_status); }; } &&
7838 { ac_try='test -s conftest$ac_exeext'
7839 { (case "(($ac_try" in
7840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7841 *) ac_try_echo=$ac_try;;
7843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7844 (eval "$ac_try") 2>&5
7846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7847 (exit $ac_status); }; }; then
7848 ac_cv_lib_poll_poll=yes
7850 echo "$as_me: failed program was:" >&5
7851 sed 's/^/| /' conftest.$ac_ext >&5
7853 ac_cv_lib_poll_poll=no
7856 rm -f core conftest.err conftest.$ac_objext \
7857 conftest$ac_exeext conftest.$ac_ext
7858 LIBS=$ac_check_lib_save_LIBS
7860 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
7861 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
7862 if test $ac_cv_lib_poll_poll = yes; then
7863 cat >>confdefs.h <<_ACEOF
7864 #define HAVE_LIBPOLL 1
7872 { echo "$as_me:$LINENO: checking for res_9_init in -lresolv" >&5
7873 echo $ECHO_N "checking for res_9_init in -lresolv... $ECHO_C" >&6; }
7874 if test "${ac_cv_lib_resolv_res_9_init+set}" = set; then
7875 echo $ECHO_N "(cached) $ECHO_C" >&6
7877 ac_check_lib_save_LIBS=$LIBS
7878 LIBS="-lresolv $LIBS"
7879 cat >conftest.$ac_ext <<_ACEOF
7882 cat confdefs.h >>conftest.$ac_ext
7883 cat >>conftest.$ac_ext <<_ACEOF
7884 /* end confdefs.h. */
7886 /* Override any GCC internal prototype to avoid an error.
7887 Use char because int might match the return type of a GCC
7888 builtin and then its argument prototype would still apply. */
7896 return res_9_init ();
7901 rm -f conftest.$ac_objext conftest$ac_exeext
7902 if { (ac_try="$ac_link"
7904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7905 *) ac_try_echo=$ac_try;;
7907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7908 (eval "$ac_link") 2>conftest.er1
7910 grep -v '^ *+' conftest.er1 >conftest.err
7912 cat conftest.err >&5
7913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7914 (exit $ac_status); } &&
7915 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7916 { (case "(($ac_try" in
7917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7918 *) ac_try_echo=$ac_try;;
7920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7921 (eval "$ac_try") 2>&5
7923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7924 (exit $ac_status); }; } &&
7925 { ac_try='test -s conftest$ac_exeext'
7926 { (case "(($ac_try" in
7927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7928 *) ac_try_echo=$ac_try;;
7930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7931 (eval "$ac_try") 2>&5
7933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934 (exit $ac_status); }; }; then
7935 ac_cv_lib_resolv_res_9_init=yes
7937 echo "$as_me: failed program was:" >&5
7938 sed 's/^/| /' conftest.$ac_ext >&5
7940 ac_cv_lib_resolv_res_9_init=no
7943 rm -f core conftest.err conftest.$ac_objext \
7944 conftest$ac_exeext conftest.$ac_ext
7945 LIBS=$ac_check_lib_save_LIBS
7947 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_9_init" >&5
7948 echo "${ECHO_T}$ac_cv_lib_resolv_res_9_init" >&6; }
7949 if test $ac_cv_lib_resolv_res_9_init = yes; then
7950 cat >>confdefs.h <<_ACEOF
7951 #define HAVE_LIBRESOLV 1
7954 LIBS="-lresolv $LIBS"
7958 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
7959 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
7960 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
7961 echo $ECHO_N "(cached) $ECHO_C" >&6
7963 ac_check_lib_save_LIBS=$LIBS
7964 LIBS="-lpthread $LIBS"
7965 cat >conftest.$ac_ext <<_ACEOF
7968 cat confdefs.h >>conftest.$ac_ext
7969 cat >>conftest.$ac_ext <<_ACEOF
7970 /* end confdefs.h. */
7972 /* Override any GCC internal prototype to avoid an error.
7973 Use char because int might match the return type of a GCC
7974 builtin and then its argument prototype would still apply. */
7978 char pthread_create ();
7982 return pthread_create ();
7987 rm -f conftest.$ac_objext conftest$ac_exeext
7988 if { (ac_try="$ac_link"
7990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7991 *) ac_try_echo=$ac_try;;
7993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7994 (eval "$ac_link") 2>conftest.er1
7996 grep -v '^ *+' conftest.er1 >conftest.err
7998 cat conftest.err >&5
7999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8000 (exit $ac_status); } &&
8001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8002 { (case "(($ac_try" in
8003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8004 *) ac_try_echo=$ac_try;;
8006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8007 (eval "$ac_try") 2>&5
8009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010 (exit $ac_status); }; } &&
8011 { ac_try='test -s conftest$ac_exeext'
8012 { (case "(($ac_try" in
8013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8014 *) ac_try_echo=$ac_try;;
8016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8017 (eval "$ac_try") 2>&5
8019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8020 (exit $ac_status); }; }; then
8021 ac_cv_lib_pthread_pthread_create=yes
8023 echo "$as_me: failed program was:" >&5
8024 sed 's/^/| /' conftest.$ac_ext >&5
8026 ac_cv_lib_pthread_pthread_create=no
8029 rm -f core conftest.err conftest.$ac_objext \
8030 conftest$ac_exeext conftest.$ac_ext
8031 LIBS=$ac_check_lib_save_LIBS
8033 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
8034 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
8035 if test $ac_cv_lib_pthread_pthread_create = yes; then
8036 LIBPTHREAD="-lpthread"
8053 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8054 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
8055 if test "${ac_cv_header_stdc+set}" = set; then
8056 echo $ECHO_N "(cached) $ECHO_C" >&6
8058 cat >conftest.$ac_ext <<_ACEOF
8061 cat confdefs.h >>conftest.$ac_ext
8062 cat >>conftest.$ac_ext <<_ACEOF
8063 /* end confdefs.h. */
8077 rm -f conftest.$ac_objext
8078 if { (ac_try="$ac_compile"
8080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8081 *) ac_try_echo=$ac_try;;
8083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8084 (eval "$ac_compile") 2>conftest.er1
8086 grep -v '^ *+' conftest.er1 >conftest.err
8088 cat conftest.err >&5
8089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8090 (exit $ac_status); } &&
8091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8092 { (case "(($ac_try" in
8093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8094 *) ac_try_echo=$ac_try;;
8096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8097 (eval "$ac_try") 2>&5
8099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8100 (exit $ac_status); }; } &&
8101 { ac_try='test -s conftest.$ac_objext'
8102 { (case "(($ac_try" in
8103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8104 *) ac_try_echo=$ac_try;;
8106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8107 (eval "$ac_try") 2>&5
8109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8110 (exit $ac_status); }; }; then
8111 ac_cv_header_stdc=yes
8113 echo "$as_me: failed program was:" >&5
8114 sed 's/^/| /' conftest.$ac_ext >&5
8116 ac_cv_header_stdc=no
8119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8121 if test $ac_cv_header_stdc = yes; then
8122 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8123 cat >conftest.$ac_ext <<_ACEOF
8126 cat confdefs.h >>conftest.$ac_ext
8127 cat >>conftest.$ac_ext <<_ACEOF
8128 /* end confdefs.h. */
8132 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8133 $EGREP "memchr" >/dev/null 2>&1; then
8136 ac_cv_header_stdc=no
8142 if test $ac_cv_header_stdc = yes; then
8143 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8144 cat >conftest.$ac_ext <<_ACEOF
8147 cat confdefs.h >>conftest.$ac_ext
8148 cat >>conftest.$ac_ext <<_ACEOF
8149 /* end confdefs.h. */
8153 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8154 $EGREP "free" >/dev/null 2>&1; then
8157 ac_cv_header_stdc=no
8163 if test $ac_cv_header_stdc = yes; then
8164 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8165 if test "$cross_compiling" = yes; then
8168 cat >conftest.$ac_ext <<_ACEOF
8171 cat confdefs.h >>conftest.$ac_ext
8172 cat >>conftest.$ac_ext <<_ACEOF
8173 /* end confdefs.h. */
8176 #if ((' ' & 0x0FF) == 0x020)
8177 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8178 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8180 # define ISLOWER(c) \
8181 (('a' <= (c) && (c) <= 'i') \
8182 || ('j' <= (c) && (c) <= 'r') \
8183 || ('s' <= (c) && (c) <= 'z'))
8184 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8187 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8192 for (i = 0; i < 256; i++)
8193 if (XOR (islower (i), ISLOWER (i))
8194 || toupper (i) != TOUPPER (i))
8199 rm -f conftest$ac_exeext
8200 if { (ac_try="$ac_link"
8202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8203 *) ac_try_echo=$ac_try;;
8205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8206 (eval "$ac_link") 2>&5
8208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8209 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8210 { (case "(($ac_try" in
8211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8212 *) ac_try_echo=$ac_try;;
8214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8215 (eval "$ac_try") 2>&5
8217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8218 (exit $ac_status); }; }; then
8221 echo "$as_me: program exited with status $ac_status" >&5
8222 echo "$as_me: failed program was:" >&5
8223 sed 's/^/| /' conftest.$ac_ext >&5
8226 ac_cv_header_stdc=no
8228 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8234 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8235 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
8236 if test $ac_cv_header_stdc = yes; then
8238 cat >>confdefs.h <<\_ACEOF
8239 #define STDC_HEADERS 1
8244 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8254 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8255 inttypes.h stdint.h unistd.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 $ac_includes_default
8271 #include <$ac_header>
8273 rm -f conftest.$ac_objext
8274 if { (ac_try="$ac_compile"
8276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8277 *) ac_try_echo=$ac_try;;
8279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8280 (eval "$ac_compile") 2>conftest.er1
8282 grep -v '^ *+' conftest.er1 >conftest.err
8284 cat conftest.err >&5
8285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8286 (exit $ac_status); } &&
8287 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8288 { (case "(($ac_try" in
8289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8290 *) ac_try_echo=$ac_try;;
8292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8293 (eval "$ac_try") 2>&5
8295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8296 (exit $ac_status); }; } &&
8297 { ac_try='test -s conftest.$ac_objext'
8298 { (case "(($ac_try" in
8299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8300 *) ac_try_echo=$ac_try;;
8302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8303 (eval "$ac_try") 2>&5
8305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8306 (exit $ac_status); }; }; then
8307 eval "$as_ac_Header=yes"
8309 echo "$as_me: failed program was:" >&5
8310 sed 's/^/| /' conftest.$ac_ext >&5
8312 eval "$as_ac_Header=no"
8315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8317 ac_res=`eval echo '${'$as_ac_Header'}'`
8318 { echo "$as_me:$LINENO: result: $ac_res" >&5
8319 echo "${ECHO_T}$ac_res" >&6; }
8320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8321 cat >>confdefs.h <<_ACEOF
8322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8437 AudioUnit/AudioUnit.h \
8438 CoreAudio/CoreAudio.h \
8451 fontconfig/fontconfig.h \
8477 machine/soundcard.h \
8482 netinet/in_systm.h \
8545 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8546 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8547 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8548 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8549 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8550 echo $ECHO_N "(cached) $ECHO_C" >&6
8552 ac_res=`eval echo '${'$as_ac_Header'}'`
8553 { echo "$as_me:$LINENO: result: $ac_res" >&5
8554 echo "${ECHO_T}$ac_res" >&6; }
8556 # Is the header compilable?
8557 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8558 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8559 cat >conftest.$ac_ext <<_ACEOF
8562 cat confdefs.h >>conftest.$ac_ext
8563 cat >>conftest.$ac_ext <<_ACEOF
8564 /* end confdefs.h. */
8565 $ac_includes_default
8566 #include <$ac_header>
8568 rm -f conftest.$ac_objext
8569 if { (ac_try="$ac_compile"
8571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8572 *) ac_try_echo=$ac_try;;
8574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8575 (eval "$ac_compile") 2>conftest.er1
8577 grep -v '^ *+' conftest.er1 >conftest.err
8579 cat conftest.err >&5
8580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8581 (exit $ac_status); } &&
8582 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8583 { (case "(($ac_try" in
8584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8585 *) ac_try_echo=$ac_try;;
8587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8588 (eval "$ac_try") 2>&5
8590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8591 (exit $ac_status); }; } &&
8592 { ac_try='test -s conftest.$ac_objext'
8593 { (case "(($ac_try" in
8594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8595 *) ac_try_echo=$ac_try;;
8597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8598 (eval "$ac_try") 2>&5
8600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8601 (exit $ac_status); }; }; then
8602 ac_header_compiler=yes
8604 echo "$as_me: failed program was:" >&5
8605 sed 's/^/| /' conftest.$ac_ext >&5
8607 ac_header_compiler=no
8610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8611 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8612 echo "${ECHO_T}$ac_header_compiler" >&6; }
8614 # Is the header present?
8615 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8616 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8617 cat >conftest.$ac_ext <<_ACEOF
8620 cat confdefs.h >>conftest.$ac_ext
8621 cat >>conftest.$ac_ext <<_ACEOF
8622 /* end confdefs.h. */
8623 #include <$ac_header>
8625 if { (ac_try="$ac_cpp conftest.$ac_ext"
8627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8628 *) ac_try_echo=$ac_try;;
8630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8631 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8633 grep -v '^ *+' conftest.er1 >conftest.err
8635 cat conftest.err >&5
8636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8637 (exit $ac_status); } >/dev/null; then
8638 if test -s conftest.err; then
8639 ac_cpp_err=$ac_c_preproc_warn_flag
8640 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8647 if test -z "$ac_cpp_err"; then
8648 ac_header_preproc=yes
8650 echo "$as_me: failed program was:" >&5
8651 sed 's/^/| /' conftest.$ac_ext >&5
8653 ac_header_preproc=no
8656 rm -f conftest.err conftest.$ac_ext
8657 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8658 echo "${ECHO_T}$ac_header_preproc" >&6; }
8660 # So? What about this header?
8661 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8663 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8664 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8665 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8666 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8667 ac_header_preproc=yes
8670 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8671 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8672 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8673 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8674 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8675 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8676 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8677 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8678 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8679 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8680 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8681 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8683 ## ------------------------------------ ##
8684 ## Report this to wine-devel@winehq.org ##
8685 ## ------------------------------------ ##
8687 ) | sed "s/^/$as_me: WARNING: /" >&2
8690 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8692 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8693 echo $ECHO_N "(cached) $ECHO_C" >&6
8695 eval "$as_ac_Header=\$ac_header_preproc"
8697 ac_res=`eval echo '${'$as_ac_Header'}'`
8698 { echo "$as_me:$LINENO: result: $ac_res" >&5
8699 echo "${ECHO_T}$ac_res" >&6; }
8702 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8703 cat >>confdefs.h <<_ACEOF
8704 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8711 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
8712 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
8713 if test "${ac_cv_header_stat_broken+set}" = set; then
8714 echo $ECHO_N "(cached) $ECHO_C" >&6
8716 cat >conftest.$ac_ext <<_ACEOF
8719 cat confdefs.h >>conftest.$ac_ext
8720 cat >>conftest.$ac_ext <<_ACEOF
8721 /* end confdefs.h. */
8722 #include <sys/types.h>
8723 #include <sys/stat.h>
8725 #if defined S_ISBLK && defined S_IFDIR
8726 # if S_ISBLK (S_IFDIR)
8731 #if defined S_ISBLK && defined S_IFCHR
8732 # if S_ISBLK (S_IFCHR)
8737 #if defined S_ISLNK && defined S_IFREG
8738 # if S_ISLNK (S_IFREG)
8743 #if defined S_ISSOCK && defined S_IFREG
8744 # if S_ISSOCK (S_IFREG)
8750 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8751 $EGREP "You lose" >/dev/null 2>&1; then
8752 ac_cv_header_stat_broken=yes
8754 ac_cv_header_stat_broken=no
8759 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
8760 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
8761 if test $ac_cv_header_stat_broken = yes; then
8763 cat >>confdefs.h <<\_ACEOF
8764 #define STAT_MACROS_BROKEN 1
8775 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
8777 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8778 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8780 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8781 echo $ECHO_N "(cached) $ECHO_C" >&6
8783 cat >conftest.$ac_ext <<_ACEOF
8786 cat confdefs.h >>conftest.$ac_ext
8787 cat >>conftest.$ac_ext <<_ACEOF
8788 /* end confdefs.h. */
8789 #include <sys/types.h>
8790 #if HAVE_SYS_PARAM_H
8791 # include <sys/param.h>
8794 #include <$ac_header>
8796 rm -f conftest.$ac_objext
8797 if { (ac_try="$ac_compile"
8799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8800 *) ac_try_echo=$ac_try;;
8802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8803 (eval "$ac_compile") 2>conftest.er1
8805 grep -v '^ *+' conftest.er1 >conftest.err
8807 cat conftest.err >&5
8808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8809 (exit $ac_status); } &&
8810 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8811 { (case "(($ac_try" in
8812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8813 *) ac_try_echo=$ac_try;;
8815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8816 (eval "$ac_try") 2>&5
8818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8819 (exit $ac_status); }; } &&
8820 { ac_try='test -s conftest.$ac_objext'
8821 { (case "(($ac_try" in
8822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8823 *) ac_try_echo=$ac_try;;
8825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8826 (eval "$ac_try") 2>&5
8828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8829 (exit $ac_status); }; }; then
8830 eval "$as_ac_Header=yes"
8832 echo "$as_me: failed program was:" >&5
8833 sed 's/^/| /' conftest.$ac_ext >&5
8835 eval "$as_ac_Header=no"
8838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8840 ac_res=`eval echo '${'$as_ac_Header'}'`
8841 { echo "$as_me:$LINENO: result: $ac_res" >&5
8842 echo "${ECHO_T}$ac_res" >&6; }
8843 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8844 cat >>confdefs.h <<_ACEOF
8845 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8859 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
8861 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8862 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8863 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8864 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8865 echo $ECHO_N "(cached) $ECHO_C" >&6
8867 cat >conftest.$ac_ext <<_ACEOF
8870 cat confdefs.h >>conftest.$ac_ext
8871 cat >>conftest.$ac_ext <<_ACEOF
8872 /* end confdefs.h. */
8873 #include <sys/types.h>
8874 #if HAVE_SYS_SOCKET_H
8875 # include <sys/socket.h>
8878 #include <$ac_header>
8880 rm -f conftest.$ac_objext
8881 if { (ac_try="$ac_compile"
8883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8884 *) ac_try_echo=$ac_try;;
8886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8887 (eval "$ac_compile") 2>conftest.er1
8889 grep -v '^ *+' conftest.er1 >conftest.err
8891 cat conftest.err >&5
8892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8893 (exit $ac_status); } &&
8894 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8895 { (case "(($ac_try" in
8896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8897 *) ac_try_echo=$ac_try;;
8899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8900 (eval "$ac_try") 2>&5
8902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903 (exit $ac_status); }; } &&
8904 { ac_try='test -s conftest.$ac_objext'
8905 { (case "(($ac_try" in
8906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8907 *) ac_try_echo=$ac_try;;
8909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8910 (eval "$ac_try") 2>&5
8912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8913 (exit $ac_status); }; }; then
8914 eval "$as_ac_Header=yes"
8916 echo "$as_me: failed program was:" >&5
8917 sed 's/^/| /' conftest.$ac_ext >&5
8919 eval "$as_ac_Header=no"
8922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8924 ac_res=`eval echo '${'$as_ac_Header'}'`
8925 { echo "$as_me:$LINENO: result: $ac_res" >&5
8926 echo "${ECHO_T}$ac_res" >&6; }
8927 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8928 cat >>confdefs.h <<_ACEOF
8929 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8938 for ac_header in resolv.h
8940 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8941 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8943 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8944 echo $ECHO_N "(cached) $ECHO_C" >&6
8946 cat >conftest.$ac_ext <<_ACEOF
8949 cat confdefs.h >>conftest.$ac_ext
8950 cat >>conftest.$ac_ext <<_ACEOF
8951 /* end confdefs.h. */
8952 #include <sys/types.h>
8953 #if HAVE_SYS_SOCKET_H
8954 # include <sys/socket.h>
8956 #if HAVE_NETINET_IN_H
8957 # include <netinet/in.h>
8959 #if HAVE_ARPA_NAMESER_H
8960 # include <arpa/nameser.h>
8963 #include <$ac_header>
8965 rm -f conftest.$ac_objext
8966 if { (ac_try="$ac_compile"
8968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8969 *) ac_try_echo=$ac_try;;
8971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8972 (eval "$ac_compile") 2>conftest.er1
8974 grep -v '^ *+' conftest.er1 >conftest.err
8976 cat conftest.err >&5
8977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978 (exit $ac_status); } &&
8979 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8980 { (case "(($ac_try" in
8981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8982 *) ac_try_echo=$ac_try;;
8984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8985 (eval "$ac_try") 2>&5
8987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8988 (exit $ac_status); }; } &&
8989 { ac_try='test -s conftest.$ac_objext'
8990 { (case "(($ac_try" in
8991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8992 *) ac_try_echo=$ac_try;;
8994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8995 (eval "$ac_try") 2>&5
8997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8998 (exit $ac_status); }; }; then
8999 eval "$as_ac_Header=yes"
9001 echo "$as_me: failed program was:" >&5
9002 sed 's/^/| /' conftest.$ac_ext >&5
9004 eval "$as_ac_Header=no"
9007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9009 ac_res=`eval echo '${'$as_ac_Header'}'`
9010 { echo "$as_me:$LINENO: result: $ac_res" >&5
9011 echo "${ECHO_T}$ac_res" >&6; }
9012 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9013 cat >>confdefs.h <<_ACEOF
9014 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9023 for ac_header in ucontext.h
9025 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9026 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9027 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9028 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9029 echo $ECHO_N "(cached) $ECHO_C" >&6
9031 cat >conftest.$ac_ext <<_ACEOF
9034 cat confdefs.h >>conftest.$ac_ext
9035 cat >>conftest.$ac_ext <<_ACEOF
9036 /* end confdefs.h. */
9039 #include <$ac_header>
9041 rm -f conftest.$ac_objext
9042 if { (ac_try="$ac_compile"
9044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9045 *) ac_try_echo=$ac_try;;
9047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9048 (eval "$ac_compile") 2>conftest.er1
9050 grep -v '^ *+' conftest.er1 >conftest.err
9052 cat conftest.err >&5
9053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9054 (exit $ac_status); } &&
9055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9056 { (case "(($ac_try" in
9057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9058 *) ac_try_echo=$ac_try;;
9060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9061 (eval "$ac_try") 2>&5
9063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9064 (exit $ac_status); }; } &&
9065 { ac_try='test -s conftest.$ac_objext'
9066 { (case "(($ac_try" in
9067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9068 *) ac_try_echo=$ac_try;;
9070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9071 (eval "$ac_try") 2>&5
9073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074 (exit $ac_status); }; }; then
9075 eval "$as_ac_Header=yes"
9077 echo "$as_me: failed program was:" >&5
9078 sed 's/^/| /' conftest.$ac_ext >&5
9080 eval "$as_ac_Header=no"
9083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9085 ac_res=`eval echo '${'$as_ac_Header'}'`
9086 { echo "$as_me:$LINENO: result: $ac_res" >&5
9087 echo "${ECHO_T}$ac_res" >&6; }
9088 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9089 cat >>confdefs.h <<_ACEOF
9090 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9100 for ac_header in linux/ipx.h linux/videodev.h
9102 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9103 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9105 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9106 echo $ECHO_N "(cached) $ECHO_C" >&6
9108 cat >conftest.$ac_ext <<_ACEOF
9111 cat confdefs.h >>conftest.$ac_ext
9112 cat >>conftest.$ac_ext <<_ACEOF
9113 /* end confdefs.h. */
9114 #ifdef HAVE_SYS_TIME_H
9115 #include <sys/time.h>
9117 #include <sys/types.h>
9118 #ifdef HAVE_ASM_TYPES_H
9119 #include <asm/types.h>
9122 #include <$ac_header>
9124 rm -f conftest.$ac_objext
9125 if { (ac_try="$ac_compile"
9127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9128 *) ac_try_echo=$ac_try;;
9130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9131 (eval "$ac_compile") 2>conftest.er1
9133 grep -v '^ *+' conftest.er1 >conftest.err
9135 cat conftest.err >&5
9136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9137 (exit $ac_status); } &&
9138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9139 { (case "(($ac_try" in
9140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9141 *) ac_try_echo=$ac_try;;
9143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9144 (eval "$ac_try") 2>&5
9146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147 (exit $ac_status); }; } &&
9148 { ac_try='test -s conftest.$ac_objext'
9149 { (case "(($ac_try" in
9150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9151 *) ac_try_echo=$ac_try;;
9153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9154 (eval "$ac_try") 2>&5
9156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9157 (exit $ac_status); }; }; then
9158 eval "$as_ac_Header=yes"
9160 echo "$as_me: failed program was:" >&5
9161 sed 's/^/| /' conftest.$ac_ext >&5
9163 eval "$as_ac_Header=no"
9166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9168 ac_res=`eval echo '${'$as_ac_Header'}'`
9169 { echo "$as_me:$LINENO: result: $ac_res" >&5
9170 echo "${ECHO_T}$ac_res" >&6; }
9171 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9172 cat >>confdefs.h <<_ACEOF
9173 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9182 for ac_header in linux/capi.h
9184 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9185 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9187 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9188 echo $ECHO_N "(cached) $ECHO_C" >&6
9190 cat >conftest.$ac_ext <<_ACEOF
9193 cat confdefs.h >>conftest.$ac_ext
9194 cat >>conftest.$ac_ext <<_ACEOF
9195 /* end confdefs.h. */
9198 #include <$ac_header>
9200 rm -f conftest.$ac_objext
9201 if { (ac_try="$ac_compile"
9203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9204 *) ac_try_echo=$ac_try;;
9206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9207 (eval "$ac_compile") 2>conftest.er1
9209 grep -v '^ *+' conftest.er1 >conftest.err
9211 cat conftest.err >&5
9212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9213 (exit $ac_status); } &&
9214 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9215 { (case "(($ac_try" in
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_try") 2>&5
9222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9223 (exit $ac_status); }; } &&
9224 { ac_try='test -s conftest.$ac_objext'
9225 { (case "(($ac_try" in
9226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9227 *) ac_try_echo=$ac_try;;
9229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9230 (eval "$ac_try") 2>&5
9232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9233 (exit $ac_status); }; }; then
9234 eval "$as_ac_Header=yes"
9236 echo "$as_me: failed program was:" >&5
9237 sed 's/^/| /' conftest.$ac_ext >&5
9239 eval "$as_ac_Header=no"
9242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9244 ac_res=`eval echo '${'$as_ac_Header'}'`
9245 { echo "$as_me:$LINENO: result: $ac_res" >&5
9246 echo "${ECHO_T}$ac_res" >&6; }
9247 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9248 cat >>confdefs.h <<_ACEOF
9249 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9258 if test "$have_x" = "yes"
9261 ac_save_CPPFLAGS="$CPPFLAGS"
9262 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9274 for ac_header in X11/Xlib.h \
9277 X11/extensions/shape.h \
9278 X11/extensions/XInput.h \
9279 X11/extensions/XShm.h \
9280 X11/extensions/Xrandr.h \
9281 X11/extensions/Xrender.h \
9282 X11/extensions/xf86dga.h \
9283 X11/extensions/xf86vmode.h
9285 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9286 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9287 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9288 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9289 echo $ECHO_N "(cached) $ECHO_C" >&6
9291 cat >conftest.$ac_ext <<_ACEOF
9294 cat confdefs.h >>conftest.$ac_ext
9295 cat >>conftest.$ac_ext <<_ACEOF
9296 /* end confdefs.h. */
9297 #ifdef HAVE_X11_XLIB_H
9298 # include <X11/Xlib.h>
9300 #ifdef HAVE_X11_XUTIL_H
9301 # include <X11/Xutil.h>
9304 #include <$ac_header>
9306 rm -f conftest.$ac_objext
9307 if { (ac_try="$ac_compile"
9309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9310 *) ac_try_echo=$ac_try;;
9312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9313 (eval "$ac_compile") 2>conftest.er1
9315 grep -v '^ *+' conftest.er1 >conftest.err
9317 cat conftest.err >&5
9318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9319 (exit $ac_status); } &&
9320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9321 { (case "(($ac_try" in
9322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9323 *) ac_try_echo=$ac_try;;
9325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9326 (eval "$ac_try") 2>&5
9328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9329 (exit $ac_status); }; } &&
9330 { ac_try='test -s conftest.$ac_objext'
9331 { (case "(($ac_try" in
9332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9333 *) ac_try_echo=$ac_try;;
9335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9336 (eval "$ac_try") 2>&5
9338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9339 (exit $ac_status); }; }; then
9340 eval "$as_ac_Header=yes"
9342 echo "$as_me: failed program was:" >&5
9343 sed 's/^/| /' conftest.$ac_ext >&5
9345 eval "$as_ac_Header=no"
9348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9350 ac_res=`eval echo '${'$as_ac_Header'}'`
9351 { echo "$as_me:$LINENO: result: $ac_res" >&5
9352 echo "${ECHO_T}$ac_res" >&6; }
9353 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9354 cat >>confdefs.h <<_ACEOF
9355 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9363 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9365 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9366 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9367 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9368 echo $ECHO_N "(cached) $ECHO_C" >&6
9370 ac_check_lib_save_LIBS=$LIBS
9371 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9372 cat >conftest.$ac_ext <<_ACEOF
9375 cat confdefs.h >>conftest.$ac_ext
9376 cat >>conftest.$ac_ext <<_ACEOF
9377 /* end confdefs.h. */
9379 /* Override any GCC internal prototype to avoid an error.
9380 Use char because int might match the return type of a GCC
9381 builtin and then its argument prototype would still apply. */
9385 char XkbQueryExtension ();
9389 return XkbQueryExtension ();
9394 rm -f conftest.$ac_objext conftest$ac_exeext
9395 if { (ac_try="$ac_link"
9397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9398 *) ac_try_echo=$ac_try;;
9400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9401 (eval "$ac_link") 2>conftest.er1
9403 grep -v '^ *+' conftest.er1 >conftest.err
9405 cat conftest.err >&5
9406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9407 (exit $ac_status); } &&
9408 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9409 { (case "(($ac_try" in
9410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9411 *) ac_try_echo=$ac_try;;
9413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9414 (eval "$ac_try") 2>&5
9416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9417 (exit $ac_status); }; } &&
9418 { ac_try='test -s conftest$ac_exeext'
9419 { (case "(($ac_try" in
9420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9421 *) ac_try_echo=$ac_try;;
9423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9424 (eval "$ac_try") 2>&5
9426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9427 (exit $ac_status); }; }; then
9428 ac_cv_lib_X11_XkbQueryExtension=yes
9430 echo "$as_me: failed program was:" >&5
9431 sed 's/^/| /' conftest.$ac_ext >&5
9433 ac_cv_lib_X11_XkbQueryExtension=no
9436 rm -f core conftest.err conftest.$ac_objext \
9437 conftest$ac_exeext conftest.$ac_ext
9438 LIBS=$ac_check_lib_save_LIBS
9440 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9441 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9442 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9444 cat >>confdefs.h <<\_ACEOF
9452 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9454 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9455 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9456 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9457 echo $ECHO_N "(cached) $ECHO_C" >&6
9459 ac_check_lib_save_LIBS=$LIBS
9460 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9461 cat >conftest.$ac_ext <<_ACEOF
9464 cat confdefs.h >>conftest.$ac_ext
9465 cat >>conftest.$ac_ext <<_ACEOF
9466 /* end confdefs.h. */
9468 /* Override any GCC internal prototype to avoid an error.
9469 Use char because int might match the return type of a GCC
9470 builtin and then its argument prototype would still apply. */
9474 char XShmQueryExtension ();
9478 return XShmQueryExtension ();
9483 rm -f conftest.$ac_objext conftest$ac_exeext
9484 if { (ac_try="$ac_link"
9486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9487 *) ac_try_echo=$ac_try;;
9489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9490 (eval "$ac_link") 2>conftest.er1
9492 grep -v '^ *+' conftest.er1 >conftest.err
9494 cat conftest.err >&5
9495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9496 (exit $ac_status); } &&
9497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9498 { (case "(($ac_try" in
9499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9500 *) ac_try_echo=$ac_try;;
9502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9503 (eval "$ac_try") 2>&5
9505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9506 (exit $ac_status); }; } &&
9507 { ac_try='test -s conftest$ac_exeext'
9508 { (case "(($ac_try" in
9509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9510 *) ac_try_echo=$ac_try;;
9512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9513 (eval "$ac_try") 2>&5
9515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9516 (exit $ac_status); }; }; then
9517 ac_cv_lib_Xext_XShmQueryExtension=yes
9519 echo "$as_me: failed program was:" >&5
9520 sed 's/^/| /' conftest.$ac_ext >&5
9522 ac_cv_lib_Xext_XShmQueryExtension=no
9525 rm -f core conftest.err conftest.$ac_objext \
9526 conftest$ac_exeext conftest.$ac_ext
9527 LIBS=$ac_check_lib_save_LIBS
9529 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9530 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9531 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9533 cat >>confdefs.h <<\_ACEOF
9534 #define HAVE_LIBXXSHM 1
9541 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9543 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9544 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9545 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9546 echo $ECHO_N "(cached) $ECHO_C" >&6
9548 ac_check_lib_save_LIBS=$LIBS
9549 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9550 cat >conftest.$ac_ext <<_ACEOF
9553 cat confdefs.h >>conftest.$ac_ext
9554 cat >>conftest.$ac_ext <<_ACEOF
9555 /* end confdefs.h. */
9557 /* Override any GCC internal prototype to avoid an error.
9558 Use char because int might match the return type of a GCC
9559 builtin and then its argument prototype would still apply. */
9563 char XShapeQueryExtension ();
9567 return XShapeQueryExtension ();
9572 rm -f conftest.$ac_objext conftest$ac_exeext
9573 if { (ac_try="$ac_link"
9575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9576 *) ac_try_echo=$ac_try;;
9578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9579 (eval "$ac_link") 2>conftest.er1
9581 grep -v '^ *+' conftest.er1 >conftest.err
9583 cat conftest.err >&5
9584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9585 (exit $ac_status); } &&
9586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9587 { (case "(($ac_try" in
9588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9589 *) ac_try_echo=$ac_try;;
9591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9592 (eval "$ac_try") 2>&5
9594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9595 (exit $ac_status); }; } &&
9596 { ac_try='test -s conftest$ac_exeext'
9597 { (case "(($ac_try" in
9598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9599 *) ac_try_echo=$ac_try;;
9601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9602 (eval "$ac_try") 2>&5
9604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9605 (exit $ac_status); }; }; then
9606 ac_cv_lib_Xext_XShapeQueryExtension=yes
9608 echo "$as_me: failed program was:" >&5
9609 sed 's/^/| /' conftest.$ac_ext >&5
9611 ac_cv_lib_Xext_XShapeQueryExtension=no
9614 rm -f core conftest.err conftest.$ac_objext \
9615 conftest$ac_exeext conftest.$ac_ext
9616 LIBS=$ac_check_lib_save_LIBS
9618 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9619 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9620 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9622 cat >>confdefs.h <<\_ACEOF
9623 #define HAVE_LIBXSHAPE 1
9630 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
9632 { echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
9633 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6; }
9634 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
9635 echo $ECHO_N "(cached) $ECHO_C" >&6
9637 ac_check_lib_save_LIBS=$LIBS
9638 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9639 cat >conftest.$ac_ext <<_ACEOF
9642 cat confdefs.h >>conftest.$ac_ext
9643 cat >>conftest.$ac_ext <<_ACEOF
9644 /* end confdefs.h. */
9646 /* Override any GCC internal prototype to avoid an error.
9647 Use char because int might match the return type of a GCC
9648 builtin and then its argument prototype would still apply. */
9652 char XDGAQueryExtension ();
9656 return XDGAQueryExtension ();
9661 rm -f conftest.$ac_objext conftest$ac_exeext
9662 if { (ac_try="$ac_link"
9664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9665 *) ac_try_echo=$ac_try;;
9667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9668 (eval "$ac_link") 2>conftest.er1
9670 grep -v '^ *+' conftest.er1 >conftest.err
9672 cat conftest.err >&5
9673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9674 (exit $ac_status); } &&
9675 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9676 { (case "(($ac_try" in
9677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9678 *) ac_try_echo=$ac_try;;
9680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9681 (eval "$ac_try") 2>&5
9683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9684 (exit $ac_status); }; } &&
9685 { ac_try='test -s conftest$ac_exeext'
9686 { (case "(($ac_try" in
9687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9688 *) ac_try_echo=$ac_try;;
9690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9691 (eval "$ac_try") 2>&5
9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9694 (exit $ac_status); }; }; then
9695 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
9697 echo "$as_me: failed program was:" >&5
9698 sed 's/^/| /' conftest.$ac_ext >&5
9700 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
9703 rm -f core conftest.err conftest.$ac_objext \
9704 conftest$ac_exeext conftest.$ac_ext
9705 LIBS=$ac_check_lib_save_LIBS
9707 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
9708 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6; }
9709 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
9711 cat >>confdefs.h <<\_ACEOF
9712 #define HAVE_LIBXXF86DGA2 1
9715 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
9721 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9723 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9724 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9725 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9726 echo $ECHO_N "(cached) $ECHO_C" >&6
9728 ac_check_lib_save_LIBS=$LIBS
9729 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9730 cat >conftest.$ac_ext <<_ACEOF
9733 cat confdefs.h >>conftest.$ac_ext
9734 cat >>conftest.$ac_ext <<_ACEOF
9735 /* end confdefs.h. */
9737 /* Override any GCC internal prototype to avoid an error.
9738 Use char because int might match the return type of a GCC
9739 builtin and then its argument prototype would still apply. */
9743 char XF86VidModeQueryExtension ();
9747 return XF86VidModeQueryExtension ();
9752 rm -f conftest.$ac_objext conftest$ac_exeext
9753 if { (ac_try="$ac_link"
9755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9756 *) ac_try_echo=$ac_try;;
9758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9759 (eval "$ac_link") 2>conftest.er1
9761 grep -v '^ *+' conftest.er1 >conftest.err
9763 cat conftest.err >&5
9764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9765 (exit $ac_status); } &&
9766 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9767 { (case "(($ac_try" in
9768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9769 *) ac_try_echo=$ac_try;;
9771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9772 (eval "$ac_try") 2>&5
9774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9775 (exit $ac_status); }; } &&
9776 { ac_try='test -s conftest$ac_exeext'
9777 { (case "(($ac_try" in
9778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9779 *) ac_try_echo=$ac_try;;
9781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9782 (eval "$ac_try") 2>&5
9784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9785 (exit $ac_status); }; }; then
9786 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9788 echo "$as_me: failed program was:" >&5
9789 sed 's/^/| /' conftest.$ac_ext >&5
9791 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9794 rm -f core conftest.err conftest.$ac_objext \
9795 conftest$ac_exeext conftest.$ac_ext
9796 LIBS=$ac_check_lib_save_LIBS
9798 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9799 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9800 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9802 cat >>confdefs.h <<\_ACEOF
9803 #define HAVE_LIBXXF86VM 1
9806 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9812 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9814 cat >conftest.$ac_ext <<_ACEOF
9817 cat confdefs.h >>conftest.$ac_ext
9818 cat >>conftest.$ac_ext <<_ACEOF
9819 /* end confdefs.h. */
9820 #include <X11/Xlib.h>
9821 #include <X11/extensions/Xrandr.h>
9825 static typeof(XRRSetScreenConfigAndRate) * func;
9830 rm -f conftest.$ac_objext
9831 if { (ac_try="$ac_compile"
9833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9834 *) ac_try_echo=$ac_try;;
9836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9837 (eval "$ac_compile") 2>conftest.er1
9839 grep -v '^ *+' conftest.er1 >conftest.err
9841 cat conftest.err >&5
9842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9843 (exit $ac_status); } &&
9844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9845 { (case "(($ac_try" in
9846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9847 *) ac_try_echo=$ac_try;;
9849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9850 (eval "$ac_try") 2>&5
9852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9853 (exit $ac_status); }; } &&
9854 { ac_try='test -s conftest.$ac_objext'
9855 { (case "(($ac_try" in
9856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9857 *) ac_try_echo=$ac_try;;
9859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9860 (eval "$ac_try") 2>&5
9862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9863 (exit $ac_status); }; }; then
9865 cat >>confdefs.h <<\_ACEOF
9866 #define HAVE_LIBXRANDR 1
9870 echo "$as_me: failed program was:" >&5
9871 sed 's/^/| /' conftest.$ac_ext >&5
9876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9879 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9881 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9882 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9883 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9884 echo $ECHO_N "(cached) $ECHO_C" >&6
9886 ac_check_lib_save_LIBS=$LIBS
9887 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9888 cat >conftest.$ac_ext <<_ACEOF
9891 cat confdefs.h >>conftest.$ac_ext
9892 cat >>conftest.$ac_ext <<_ACEOF
9893 /* end confdefs.h. */
9895 /* Override any GCC internal prototype to avoid an error.
9896 Use char because int might match the return type of a GCC
9897 builtin and then its argument prototype would still apply. */
9901 char XRenderSetPictureTransform ();
9905 return XRenderSetPictureTransform ();
9910 rm -f conftest.$ac_objext conftest$ac_exeext
9911 if { (ac_try="$ac_link"
9913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9914 *) ac_try_echo=$ac_try;;
9916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9917 (eval "$ac_link") 2>conftest.er1
9919 grep -v '^ *+' conftest.er1 >conftest.err
9921 cat conftest.err >&5
9922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9923 (exit $ac_status); } &&
9924 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9925 { (case "(($ac_try" in
9926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9927 *) ac_try_echo=$ac_try;;
9929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9930 (eval "$ac_try") 2>&5
9932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9933 (exit $ac_status); }; } &&
9934 { ac_try='test -s conftest$ac_exeext'
9935 { (case "(($ac_try" in
9936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9937 *) ac_try_echo=$ac_try;;
9939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9940 (eval "$ac_try") 2>&5
9942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9943 (exit $ac_status); }; }; then
9944 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9946 echo "$as_me: failed program was:" >&5
9947 sed 's/^/| /' conftest.$ac_ext >&5
9949 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9952 rm -f core conftest.err conftest.$ac_objext \
9953 conftest$ac_exeext conftest.$ac_ext
9954 LIBS=$ac_check_lib_save_LIBS
9956 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9957 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9958 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9960 cat >>confdefs.h <<\_ACEOF
9961 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9968 if test "x$with_opengl" != "xno"
9974 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9976 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9977 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9979 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9980 echo $ECHO_N "(cached) $ECHO_C" >&6
9982 cat >conftest.$ac_ext <<_ACEOF
9985 cat confdefs.h >>conftest.$ac_ext
9986 cat >>conftest.$ac_ext <<_ACEOF
9987 /* end confdefs.h. */
9988 #ifdef HAVE_GL_GLX_H
9989 # include <GL/glx.h>
9992 #include <$ac_header>
9994 rm -f conftest.$ac_objext
9995 if { (ac_try="$ac_compile"
9997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9998 *) ac_try_echo=$ac_try;;
10000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10001 (eval "$ac_compile") 2>conftest.er1
10003 grep -v '^ *+' conftest.er1 >conftest.err
10005 cat conftest.err >&5
10006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10007 (exit $ac_status); } &&
10008 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10009 { (case "(($ac_try" in
10010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10011 *) ac_try_echo=$ac_try;;
10013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10014 (eval "$ac_try") 2>&5
10016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10017 (exit $ac_status); }; } &&
10018 { ac_try='test -s conftest.$ac_objext'
10019 { (case "(($ac_try" in
10020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10021 *) ac_try_echo=$ac_try;;
10023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10024 (eval "$ac_try") 2>&5
10026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10027 (exit $ac_status); }; }; then
10028 eval "$as_ac_Header=yes"
10030 echo "$as_me: failed program was:" >&5
10031 sed 's/^/| /' conftest.$ac_ext >&5
10033 eval "$as_ac_Header=no"
10036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10038 ac_res=`eval echo '${'$as_ac_Header'}'`
10039 { echo "$as_me:$LINENO: result: $ac_res" >&5
10040 echo "${ECHO_T}$ac_res" >&6; }
10041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10042 cat >>confdefs.h <<_ACEOF
10043 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10050 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10052 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10053 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10054 if test "${wine_cv_opengl_version_OK+set}" = set; then
10055 echo $ECHO_N "(cached) $ECHO_C" >&6
10057 cat >conftest.$ac_ext <<_ACEOF
10060 cat confdefs.h >>conftest.$ac_ext
10061 cat >>conftest.$ac_ext <<_ACEOF
10062 /* end confdefs.h. */
10067 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10072 rm -f conftest.$ac_objext
10073 if { (ac_try="$ac_compile"
10074 case "(($ac_try" in
10075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10076 *) ac_try_echo=$ac_try;;
10078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10079 (eval "$ac_compile") 2>conftest.er1
10081 grep -v '^ *+' conftest.er1 >conftest.err
10083 cat conftest.err >&5
10084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10085 (exit $ac_status); } &&
10086 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10087 { (case "(($ac_try" in
10088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10089 *) ac_try_echo=$ac_try;;
10091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10092 (eval "$ac_try") 2>&5
10094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10095 (exit $ac_status); }; } &&
10096 { ac_try='test -s conftest.$ac_objext'
10097 { (case "(($ac_try" in
10098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10099 *) ac_try_echo=$ac_try;;
10101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10102 (eval "$ac_try") 2>&5
10104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10105 (exit $ac_status); }; }; then
10106 wine_cv_opengl_version_OK="yes"
10108 echo "$as_me: failed program was:" >&5
10109 sed 's/^/| /' conftest.$ac_ext >&5
10111 wine_cv_opengl_version_OK="no"
10115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10118 { echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
10119 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6; }
10121 if test "$wine_cv_opengl_version_OK" = "yes"
10123 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
10124 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
10125 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
10126 echo $ECHO_N "(cached) $ECHO_C" >&6
10128 ac_check_lib_save_LIBS=$LIBS
10129 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10130 cat >conftest.$ac_ext <<_ACEOF
10133 cat confdefs.h >>conftest.$ac_ext
10134 cat >>conftest.$ac_ext <<_ACEOF
10135 /* end confdefs.h. */
10137 /* Override any GCC internal prototype to avoid an error.
10138 Use char because int might match the return type of a GCC
10139 builtin and then its argument prototype would still apply. */
10143 char glXCreateContext ();
10147 return glXCreateContext ();
10152 rm -f conftest.$ac_objext conftest$ac_exeext
10153 if { (ac_try="$ac_link"
10154 case "(($ac_try" in
10155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10156 *) ac_try_echo=$ac_try;;
10158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10159 (eval "$ac_link") 2>conftest.er1
10161 grep -v '^ *+' conftest.er1 >conftest.err
10163 cat conftest.err >&5
10164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10165 (exit $ac_status); } &&
10166 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10167 { (case "(($ac_try" in
10168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10169 *) ac_try_echo=$ac_try;;
10171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10172 (eval "$ac_try") 2>&5
10174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10175 (exit $ac_status); }; } &&
10176 { ac_try='test -s conftest$ac_exeext'
10177 { (case "(($ac_try" in
10178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10179 *) ac_try_echo=$ac_try;;
10181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10182 (eval "$ac_try") 2>&5
10184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10185 (exit $ac_status); }; }; then
10186 ac_cv_lib_GL_glXCreateContext=yes
10188 echo "$as_me: failed program was:" >&5
10189 sed 's/^/| /' conftest.$ac_ext >&5
10191 ac_cv_lib_GL_glXCreateContext=no
10194 rm -f core conftest.err conftest.$ac_objext \
10195 conftest$ac_exeext conftest.$ac_ext
10196 LIBS=$ac_check_lib_save_LIBS
10198 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
10199 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
10200 if test $ac_cv_lib_GL_glXCreateContext = yes; then
10206 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
10208 OPENGLFILES='$(OPENGLFILES)'
10210 cat >>confdefs.h <<\_ACEOF
10211 #define HAVE_OPENGL 1
10215 if test -f /usr/X11R6/lib/libGL.a
10217 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
10218 This prevents linking to OpenGL. Delete the file and restart configure." >&5
10219 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
10220 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
10221 { (exit 1); exit 1; }; }
10225 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10226 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10227 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10228 echo $ECHO_N "(cached) $ECHO_C" >&6
10230 ac_check_lib_save_LIBS=$LIBS
10231 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
10233 cat >conftest.$ac_ext <<_ACEOF
10236 cat confdefs.h >>conftest.$ac_ext
10237 cat >>conftest.$ac_ext <<_ACEOF
10238 /* end confdefs.h. */
10240 /* Override any GCC internal prototype to avoid an error.
10241 Use char because int might match the return type of a GCC
10242 builtin and then its argument prototype would still apply. */
10250 return gluLookAt ();
10255 rm -f conftest.$ac_objext conftest$ac_exeext
10256 if { (ac_try="$ac_link"
10257 case "(($ac_try" in
10258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10259 *) ac_try_echo=$ac_try;;
10261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10262 (eval "$ac_link") 2>conftest.er1
10264 grep -v '^ *+' conftest.er1 >conftest.err
10266 cat conftest.err >&5
10267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10268 (exit $ac_status); } &&
10269 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10270 { (case "(($ac_try" in
10271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10272 *) ac_try_echo=$ac_try;;
10274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10275 (eval "$ac_try") 2>&5
10277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10278 (exit $ac_status); }; } &&
10279 { ac_try='test -s conftest$ac_exeext'
10280 { (case "(($ac_try" in
10281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10282 *) ac_try_echo=$ac_try;;
10284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10285 (eval "$ac_try") 2>&5
10287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10288 (exit $ac_status); }; }; then
10289 ac_cv_lib_GLU_gluLookAt=yes
10291 echo "$as_me: failed program was:" >&5
10292 sed 's/^/| /' conftest.$ac_ext >&5
10294 ac_cv_lib_GLU_gluLookAt=no
10297 rm -f core conftest.err conftest.$ac_objext \
10298 conftest$ac_exeext conftest.$ac_ext
10299 LIBS=$ac_check_lib_save_LIBS
10301 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10302 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10303 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10304 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10305 GLU32FILES='$(GLU32FILES)'
10311 { echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
10312 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6; }
10313 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
10314 echo $ECHO_N "(cached) $ECHO_C" >&6
10316 ac_check_lib_save_LIBS=$LIBS
10317 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
10318 cat >conftest.$ac_ext <<_ACEOF
10321 cat confdefs.h >>conftest.$ac_ext
10322 cat >>conftest.$ac_ext <<_ACEOF
10323 /* end confdefs.h. */
10325 /* Override any GCC internal prototype to avoid an error.
10326 Use char because int might match the return type of a GCC
10327 builtin and then its argument prototype would still apply. */
10331 char glutMainLoop ();
10335 return glutMainLoop ();
10340 rm -f conftest.$ac_objext conftest$ac_exeext
10341 if { (ac_try="$ac_link"
10342 case "(($ac_try" in
10343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10344 *) ac_try_echo=$ac_try;;
10346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10347 (eval "$ac_link") 2>conftest.er1
10349 grep -v '^ *+' conftest.er1 >conftest.err
10351 cat conftest.err >&5
10352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10353 (exit $ac_status); } &&
10354 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10355 { (case "(($ac_try" in
10356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10357 *) ac_try_echo=$ac_try;;
10359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10360 (eval "$ac_try") 2>&5
10362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10363 (exit $ac_status); }; } &&
10364 { ac_try='test -s conftest$ac_exeext'
10365 { (case "(($ac_try" in
10366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10367 *) ac_try_echo=$ac_try;;
10369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10370 (eval "$ac_try") 2>&5
10372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10373 (exit $ac_status); }; }; then
10374 ac_cv_lib_glut_glutMainLoop=yes
10376 echo "$as_me: failed program was:" >&5
10377 sed 's/^/| /' conftest.$ac_ext >&5
10379 ac_cv_lib_glut_glutMainLoop=no
10382 rm -f core conftest.err conftest.$ac_objext \
10383 conftest$ac_exeext conftest.$ac_ext
10384 LIBS=$ac_check_lib_save_LIBS
10386 { echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
10387 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6; }
10388 if test $ac_cv_lib_glut_glutMainLoop = yes; then
10389 GLUT_LIBS="-lglut -lXmu -lXi"
10391 GLUT32FILES='$(GLUT32FILES)'
10401 for ac_header in audio/audiolib.h
10403 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10404 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10405 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10407 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10408 echo $ECHO_N "(cached) $ECHO_C" >&6
10410 ac_res=`eval echo '${'$as_ac_Header'}'`
10411 { echo "$as_me:$LINENO: result: $ac_res" >&5
10412 echo "${ECHO_T}$ac_res" >&6; }
10414 # Is the header compilable?
10415 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10416 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10417 cat >conftest.$ac_ext <<_ACEOF
10420 cat confdefs.h >>conftest.$ac_ext
10421 cat >>conftest.$ac_ext <<_ACEOF
10422 /* end confdefs.h. */
10423 $ac_includes_default
10424 #include <$ac_header>
10426 rm -f conftest.$ac_objext
10427 if { (ac_try="$ac_compile"
10428 case "(($ac_try" in
10429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10430 *) ac_try_echo=$ac_try;;
10432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10433 (eval "$ac_compile") 2>conftest.er1
10435 grep -v '^ *+' conftest.er1 >conftest.err
10437 cat conftest.err >&5
10438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10439 (exit $ac_status); } &&
10440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10441 { (case "(($ac_try" in
10442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10443 *) ac_try_echo=$ac_try;;
10445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10446 (eval "$ac_try") 2>&5
10448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10449 (exit $ac_status); }; } &&
10450 { ac_try='test -s conftest.$ac_objext'
10451 { (case "(($ac_try" in
10452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10453 *) ac_try_echo=$ac_try;;
10455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10456 (eval "$ac_try") 2>&5
10458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10459 (exit $ac_status); }; }; then
10460 ac_header_compiler=yes
10462 echo "$as_me: failed program was:" >&5
10463 sed 's/^/| /' conftest.$ac_ext >&5
10465 ac_header_compiler=no
10468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10469 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10470 echo "${ECHO_T}$ac_header_compiler" >&6; }
10472 # Is the header present?
10473 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10474 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10475 cat >conftest.$ac_ext <<_ACEOF
10478 cat confdefs.h >>conftest.$ac_ext
10479 cat >>conftest.$ac_ext <<_ACEOF
10480 /* end confdefs.h. */
10481 #include <$ac_header>
10483 if { (ac_try="$ac_cpp conftest.$ac_ext"
10484 case "(($ac_try" in
10485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10486 *) ac_try_echo=$ac_try;;
10488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10489 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10491 grep -v '^ *+' conftest.er1 >conftest.err
10493 cat conftest.err >&5
10494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10495 (exit $ac_status); } >/dev/null; then
10496 if test -s conftest.err; then
10497 ac_cpp_err=$ac_c_preproc_warn_flag
10498 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10505 if test -z "$ac_cpp_err"; then
10506 ac_header_preproc=yes
10508 echo "$as_me: failed program was:" >&5
10509 sed 's/^/| /' conftest.$ac_ext >&5
10511 ac_header_preproc=no
10514 rm -f conftest.err conftest.$ac_ext
10515 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10516 echo "${ECHO_T}$ac_header_preproc" >&6; }
10518 # So? What about this header?
10519 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10521 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10522 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10523 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10524 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10525 ac_header_preproc=yes
10528 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10529 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10530 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10531 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10532 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10533 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10534 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10535 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10537 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10538 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10539 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10541 ## ------------------------------------ ##
10542 ## Report this to wine-devel@winehq.org ##
10543 ## ------------------------------------ ##
10545 ) | sed "s/^/$as_me: WARNING: /" >&2
10548 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10551 echo $ECHO_N "(cached) $ECHO_C" >&6
10553 eval "$as_ac_Header=\$ac_header_preproc"
10555 ac_res=`eval echo '${'$as_ac_Header'}'`
10556 { echo "$as_me:$LINENO: result: $ac_res" >&5
10557 echo "${ECHO_T}$ac_res" >&6; }
10560 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10561 cat >>confdefs.h <<_ACEOF
10562 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10565 for ac_header in audio/soundlib.h
10567 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10568 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10570 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10571 echo $ECHO_N "(cached) $ECHO_C" >&6
10573 cat >conftest.$ac_ext <<_ACEOF
10576 cat confdefs.h >>conftest.$ac_ext
10577 cat >>conftest.$ac_ext <<_ACEOF
10578 /* end confdefs.h. */
10579 #include <audio/audiolib.h>
10581 #include <$ac_header>
10583 rm -f conftest.$ac_objext
10584 if { (ac_try="$ac_compile"
10585 case "(($ac_try" in
10586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10587 *) ac_try_echo=$ac_try;;
10589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10590 (eval "$ac_compile") 2>conftest.er1
10592 grep -v '^ *+' conftest.er1 >conftest.err
10594 cat conftest.err >&5
10595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10596 (exit $ac_status); } &&
10597 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10598 { (case "(($ac_try" in
10599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10600 *) ac_try_echo=$ac_try;;
10602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10603 (eval "$ac_try") 2>&5
10605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10606 (exit $ac_status); }; } &&
10607 { ac_try='test -s conftest.$ac_objext'
10608 { (case "(($ac_try" in
10609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10610 *) ac_try_echo=$ac_try;;
10612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10613 (eval "$ac_try") 2>&5
10615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616 (exit $ac_status); }; }; then
10617 eval "$as_ac_Header=yes"
10619 echo "$as_me: failed program was:" >&5
10620 sed 's/^/| /' conftest.$ac_ext >&5
10622 eval "$as_ac_Header=no"
10625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10627 ac_res=`eval echo '${'$as_ac_Header'}'`
10628 { echo "$as_me:$LINENO: result: $ac_res" >&5
10629 echo "${ECHO_T}$ac_res" >&6; }
10630 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10631 cat >>confdefs.h <<_ACEOF
10632 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10639 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10640 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10641 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10642 echo $ECHO_N "(cached) $ECHO_C" >&6
10644 ac_check_lib_save_LIBS=$LIBS
10645 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10646 cat >conftest.$ac_ext <<_ACEOF
10649 cat confdefs.h >>conftest.$ac_ext
10650 cat >>conftest.$ac_ext <<_ACEOF
10651 /* end confdefs.h. */
10653 /* Override any GCC internal prototype to avoid an error.
10654 Use char because int might match the return type of a GCC
10655 builtin and then its argument prototype would still apply. */
10659 char AuCreateFlow ();
10663 return AuCreateFlow ();
10668 rm -f conftest.$ac_objext conftest$ac_exeext
10669 if { (ac_try="$ac_link"
10670 case "(($ac_try" in
10671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10672 *) ac_try_echo=$ac_try;;
10674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10675 (eval "$ac_link") 2>conftest.er1
10677 grep -v '^ *+' conftest.er1 >conftest.err
10679 cat conftest.err >&5
10680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10681 (exit $ac_status); } &&
10682 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10683 { (case "(($ac_try" in
10684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10685 *) ac_try_echo=$ac_try;;
10687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10688 (eval "$ac_try") 2>&5
10690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10691 (exit $ac_status); }; } &&
10692 { ac_try='test -s conftest$ac_exeext'
10693 { (case "(($ac_try" in
10694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10695 *) ac_try_echo=$ac_try;;
10697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10698 (eval "$ac_try") 2>&5
10700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10701 (exit $ac_status); }; }; then
10702 ac_cv_lib_audio_AuCreateFlow=yes
10704 echo "$as_me: failed program was:" >&5
10705 sed 's/^/| /' conftest.$ac_ext >&5
10707 ac_cv_lib_audio_AuCreateFlow=no
10710 rm -f core conftest.err conftest.$ac_objext \
10711 conftest$ac_exeext conftest.$ac_ext
10712 LIBS=$ac_check_lib_save_LIBS
10714 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10715 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10716 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10718 cat >>confdefs.h <<\_ACEOF
10722 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10730 CPPFLAGS="$ac_save_CPPFLAGS"
10747 if test "$PKG_CONFIG" != "false"
10749 ac_save_CPPFLAGS="$CPPFLAGS"
10750 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0`"
10751 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0`"
10752 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10754 for ac_header in libxml/parser.h
10756 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10757 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10758 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10760 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10761 echo $ECHO_N "(cached) $ECHO_C" >&6
10763 ac_res=`eval echo '${'$as_ac_Header'}'`
10764 { echo "$as_me:$LINENO: result: $ac_res" >&5
10765 echo "${ECHO_T}$ac_res" >&6; }
10767 # Is the header compilable?
10768 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10769 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10770 cat >conftest.$ac_ext <<_ACEOF
10773 cat confdefs.h >>conftest.$ac_ext
10774 cat >>conftest.$ac_ext <<_ACEOF
10775 /* end confdefs.h. */
10776 $ac_includes_default
10777 #include <$ac_header>
10779 rm -f conftest.$ac_objext
10780 if { (ac_try="$ac_compile"
10781 case "(($ac_try" in
10782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10783 *) ac_try_echo=$ac_try;;
10785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10786 (eval "$ac_compile") 2>conftest.er1
10788 grep -v '^ *+' conftest.er1 >conftest.err
10790 cat conftest.err >&5
10791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10792 (exit $ac_status); } &&
10793 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10794 { (case "(($ac_try" in
10795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10796 *) ac_try_echo=$ac_try;;
10798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10799 (eval "$ac_try") 2>&5
10801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10802 (exit $ac_status); }; } &&
10803 { ac_try='test -s conftest.$ac_objext'
10804 { (case "(($ac_try" in
10805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10806 *) ac_try_echo=$ac_try;;
10808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10809 (eval "$ac_try") 2>&5
10811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10812 (exit $ac_status); }; }; then
10813 ac_header_compiler=yes
10815 echo "$as_me: failed program was:" >&5
10816 sed 's/^/| /' conftest.$ac_ext >&5
10818 ac_header_compiler=no
10821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10822 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10823 echo "${ECHO_T}$ac_header_compiler" >&6; }
10825 # Is the header present?
10826 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10827 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10828 cat >conftest.$ac_ext <<_ACEOF
10831 cat confdefs.h >>conftest.$ac_ext
10832 cat >>conftest.$ac_ext <<_ACEOF
10833 /* end confdefs.h. */
10834 #include <$ac_header>
10836 if { (ac_try="$ac_cpp conftest.$ac_ext"
10837 case "(($ac_try" in
10838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10839 *) ac_try_echo=$ac_try;;
10841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10842 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10844 grep -v '^ *+' conftest.er1 >conftest.err
10846 cat conftest.err >&5
10847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10848 (exit $ac_status); } >/dev/null; then
10849 if test -s conftest.err; then
10850 ac_cpp_err=$ac_c_preproc_warn_flag
10851 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10858 if test -z "$ac_cpp_err"; then
10859 ac_header_preproc=yes
10861 echo "$as_me: failed program was:" >&5
10862 sed 's/^/| /' conftest.$ac_ext >&5
10864 ac_header_preproc=no
10867 rm -f conftest.err conftest.$ac_ext
10868 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10869 echo "${ECHO_T}$ac_header_preproc" >&6; }
10871 # So? What about this header?
10872 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10874 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10875 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10876 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10877 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10878 ac_header_preproc=yes
10881 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10882 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10883 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10884 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10885 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10886 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10887 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10888 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10889 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10890 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10891 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10892 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10894 ## ------------------------------------ ##
10895 ## Report this to wine-devel@winehq.org ##
10896 ## ------------------------------------ ##
10898 ) | sed "s/^/$as_me: WARNING: /" >&2
10901 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10903 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10904 echo $ECHO_N "(cached) $ECHO_C" >&6
10906 eval "$as_ac_Header=\$ac_header_preproc"
10908 ac_res=`eval echo '${'$as_ac_Header'}'`
10909 { echo "$as_me:$LINENO: result: $ac_res" >&5
10910 echo "${ECHO_T}$ac_res" >&6; }
10913 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10914 cat >>confdefs.h <<_ACEOF
10915 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10917 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10918 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10919 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10920 echo $ECHO_N "(cached) $ECHO_C" >&6
10922 ac_check_lib_save_LIBS=$LIBS
10923 LIBS="-lxml2 $ac_xml_libs $LIBS"
10924 cat >conftest.$ac_ext <<_ACEOF
10927 cat confdefs.h >>conftest.$ac_ext
10928 cat >>conftest.$ac_ext <<_ACEOF
10929 /* end confdefs.h. */
10931 /* Override any GCC internal prototype to avoid an error.
10932 Use char because int might match the return type of a GCC
10933 builtin and then its argument prototype would still apply. */
10937 char xmlParseMemory ();
10941 return xmlParseMemory ();
10946 rm -f conftest.$ac_objext conftest$ac_exeext
10947 if { (ac_try="$ac_link"
10948 case "(($ac_try" in
10949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10950 *) ac_try_echo=$ac_try;;
10952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10953 (eval "$ac_link") 2>conftest.er1
10955 grep -v '^ *+' conftest.er1 >conftest.err
10957 cat conftest.err >&5
10958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10959 (exit $ac_status); } &&
10960 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10961 { (case "(($ac_try" in
10962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10963 *) ac_try_echo=$ac_try;;
10965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10966 (eval "$ac_try") 2>&5
10968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10969 (exit $ac_status); }; } &&
10970 { ac_try='test -s conftest$ac_exeext'
10971 { (case "(($ac_try" in
10972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10973 *) ac_try_echo=$ac_try;;
10975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10976 (eval "$ac_try") 2>&5
10978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10979 (exit $ac_status); }; }; then
10980 ac_cv_lib_xml2_xmlParseMemory=yes
10982 echo "$as_me: failed program was:" >&5
10983 sed 's/^/| /' conftest.$ac_ext >&5
10985 ac_cv_lib_xml2_xmlParseMemory=no
10988 rm -f core conftest.err conftest.$ac_objext \
10989 conftest$ac_exeext conftest.$ac_ext
10990 LIBS=$ac_check_lib_save_LIBS
10992 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10993 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10994 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10996 cat >>confdefs.h <<\_ACEOF
10997 #define HAVE_LIBXML2 1
11000 XML2LIBS="$ac_xml_libs"
11001 XML2INCL="$ac_xml_cflags"
11004 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11005 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11006 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11007 echo $ECHO_N "(cached) $ECHO_C" >&6
11009 ac_check_lib_save_LIBS=$LIBS
11010 LIBS="-lxml2 $ac_xml_libs $LIBS"
11011 cat >conftest.$ac_ext <<_ACEOF
11014 cat confdefs.h >>conftest.$ac_ext
11015 cat >>conftest.$ac_ext <<_ACEOF
11016 /* end confdefs.h. */
11018 /* Override any GCC internal prototype to avoid an error.
11019 Use char because int might match the return type of a GCC
11020 builtin and then its argument prototype would still apply. */
11024 char xmlReadMemory ();
11028 return xmlReadMemory ();
11033 rm -f conftest.$ac_objext conftest$ac_exeext
11034 if { (ac_try="$ac_link"
11035 case "(($ac_try" in
11036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11037 *) ac_try_echo=$ac_try;;
11039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11040 (eval "$ac_link") 2>conftest.er1
11042 grep -v '^ *+' conftest.er1 >conftest.err
11044 cat conftest.err >&5
11045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11046 (exit $ac_status); } &&
11047 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11048 { (case "(($ac_try" in
11049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11050 *) ac_try_echo=$ac_try;;
11052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11053 (eval "$ac_try") 2>&5
11055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11056 (exit $ac_status); }; } &&
11057 { ac_try='test -s conftest$ac_exeext'
11058 { (case "(($ac_try" in
11059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11060 *) ac_try_echo=$ac_try;;
11062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11063 (eval "$ac_try") 2>&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); }; }; then
11067 ac_cv_lib_xml2_xmlReadMemory=yes
11069 echo "$as_me: failed program was:" >&5
11070 sed 's/^/| /' conftest.$ac_ext >&5
11072 ac_cv_lib_xml2_xmlReadMemory=no
11075 rm -f core conftest.err conftest.$ac_objext \
11076 conftest$ac_exeext conftest.$ac_ext
11077 LIBS=$ac_check_lib_save_LIBS
11079 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11080 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11081 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11083 cat >>confdefs.h <<\_ACEOF
11084 #define HAVE_XMLREADMEMORY 1
11094 CPPFLAGS="$ac_save_CPPFLAGS"
11095 ac_xslt_libs="`$PKG_CONFIG --libs libxslt`"
11096 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt`"
11097 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11100 for ac_header in libxslt/pattern.h libxslt/transform.h
11102 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11103 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11105 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11106 echo $ECHO_N "(cached) $ECHO_C" >&6
11108 cat >conftest.$ac_ext <<_ACEOF
11111 cat confdefs.h >>conftest.$ac_ext
11112 cat >>conftest.$ac_ext <<_ACEOF
11113 /* end confdefs.h. */
11114 #ifdef HAVE_LIBXSLT_PATTERN_H
11115 # include <libxslt/pattern.h>
11118 #include <$ac_header>
11120 rm -f conftest.$ac_objext
11121 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
11129 grep -v '^ *+' conftest.er1 >conftest.err
11131 cat conftest.err >&5
11132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11133 (exit $ac_status); } &&
11134 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11135 { (case "(($ac_try" in
11136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11137 *) ac_try_echo=$ac_try;;
11139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11140 (eval "$ac_try") 2>&5
11142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 (exit $ac_status); }; } &&
11144 { ac_try='test -s conftest.$ac_objext'
11145 { (case "(($ac_try" in
11146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11147 *) ac_try_echo=$ac_try;;
11149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11150 (eval "$ac_try") 2>&5
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); }; }; then
11154 eval "$as_ac_Header=yes"
11156 echo "$as_me: failed program was:" >&5
11157 sed 's/^/| /' conftest.$ac_ext >&5
11159 eval "$as_ac_Header=no"
11162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11164 ac_res=`eval echo '${'$as_ac_Header'}'`
11165 { echo "$as_me:$LINENO: result: $ac_res" >&5
11166 echo "${ECHO_T}$ac_res" >&6; }
11167 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11168 cat >>confdefs.h <<_ACEOF
11169 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11171 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11172 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11173 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11174 echo $ECHO_N "(cached) $ECHO_C" >&6
11176 ac_check_lib_save_LIBS=$LIBS
11177 LIBS="-lxslt $ac_xslt_libs $LIBS"
11178 cat >conftest.$ac_ext <<_ACEOF
11181 cat confdefs.h >>conftest.$ac_ext
11182 cat >>conftest.$ac_ext <<_ACEOF
11183 /* end confdefs.h. */
11185 /* Override any GCC internal prototype to avoid an error.
11186 Use char because int might match the return type of a GCC
11187 builtin and then its argument prototype would still apply. */
11191 char xsltCompilePattern ();
11195 return xsltCompilePattern ();
11200 rm -f conftest.$ac_objext conftest$ac_exeext
11201 if { (ac_try="$ac_link"
11202 case "(($ac_try" in
11203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11204 *) ac_try_echo=$ac_try;;
11206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11207 (eval "$ac_link") 2>conftest.er1
11209 grep -v '^ *+' conftest.er1 >conftest.err
11211 cat conftest.err >&5
11212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11213 (exit $ac_status); } &&
11214 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11215 { (case "(($ac_try" in
11216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11217 *) ac_try_echo=$ac_try;;
11219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11220 (eval "$ac_try") 2>&5
11222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11223 (exit $ac_status); }; } &&
11224 { ac_try='test -s conftest$ac_exeext'
11225 { (case "(($ac_try" in
11226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11227 *) ac_try_echo=$ac_try;;
11229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11230 (eval "$ac_try") 2>&5
11232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233 (exit $ac_status); }; }; then
11234 ac_cv_lib_xslt_xsltCompilePattern=yes
11236 echo "$as_me: failed program was:" >&5
11237 sed 's/^/| /' conftest.$ac_ext >&5
11239 ac_cv_lib_xslt_xsltCompilePattern=no
11242 rm -f core conftest.err conftest.$ac_objext \
11243 conftest$ac_exeext conftest.$ac_ext
11244 LIBS=$ac_check_lib_save_LIBS
11246 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11247 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11248 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11250 cat >>confdefs.h <<\_ACEOF
11251 #define HAVE_LIBXSLT 1
11254 XSLTLIBS="$ac_xslt_libs"
11255 XSLTINCL="$ac_xslt_cflags"
11263 CPPFLAGS="$ac_save_CPPFLAGS"
11268 if test "$PKG_CONFIG" != "false"
11270 ac_save_CPPFLAGS="$CPPFLAGS"
11271 ac_hal_libs="`$PKG_CONFIG --libs hal`"
11272 ac_hal_cflags="`$PKG_CONFIG --cflags hal`"
11273 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11276 for ac_header in dbus/dbus.h hal/libhal.h
11278 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11279 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11280 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11282 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11283 echo $ECHO_N "(cached) $ECHO_C" >&6
11285 ac_res=`eval echo '${'$as_ac_Header'}'`
11286 { echo "$as_me:$LINENO: result: $ac_res" >&5
11287 echo "${ECHO_T}$ac_res" >&6; }
11289 # Is the header compilable?
11290 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11291 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11292 cat >conftest.$ac_ext <<_ACEOF
11295 cat confdefs.h >>conftest.$ac_ext
11296 cat >>conftest.$ac_ext <<_ACEOF
11297 /* end confdefs.h. */
11298 $ac_includes_default
11299 #include <$ac_header>
11301 rm -f conftest.$ac_objext
11302 if { (ac_try="$ac_compile"
11303 case "(($ac_try" in
11304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11305 *) ac_try_echo=$ac_try;;
11307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11308 (eval "$ac_compile") 2>conftest.er1
11310 grep -v '^ *+' conftest.er1 >conftest.err
11312 cat conftest.err >&5
11313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11314 (exit $ac_status); } &&
11315 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11316 { (case "(($ac_try" in
11317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11318 *) ac_try_echo=$ac_try;;
11320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11321 (eval "$ac_try") 2>&5
11323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11324 (exit $ac_status); }; } &&
11325 { ac_try='test -s conftest.$ac_objext'
11326 { (case "(($ac_try" in
11327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11328 *) ac_try_echo=$ac_try;;
11330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11331 (eval "$ac_try") 2>&5
11333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11334 (exit $ac_status); }; }; then
11335 ac_header_compiler=yes
11337 echo "$as_me: failed program was:" >&5
11338 sed 's/^/| /' conftest.$ac_ext >&5
11340 ac_header_compiler=no
11343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11344 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11345 echo "${ECHO_T}$ac_header_compiler" >&6; }
11347 # Is the header present?
11348 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11349 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11350 cat >conftest.$ac_ext <<_ACEOF
11353 cat confdefs.h >>conftest.$ac_ext
11354 cat >>conftest.$ac_ext <<_ACEOF
11355 /* end confdefs.h. */
11356 #include <$ac_header>
11358 if { (ac_try="$ac_cpp conftest.$ac_ext"
11359 case "(($ac_try" in
11360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11361 *) ac_try_echo=$ac_try;;
11363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11364 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11366 grep -v '^ *+' conftest.er1 >conftest.err
11368 cat conftest.err >&5
11369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11370 (exit $ac_status); } >/dev/null; then
11371 if test -s conftest.err; then
11372 ac_cpp_err=$ac_c_preproc_warn_flag
11373 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11380 if test -z "$ac_cpp_err"; then
11381 ac_header_preproc=yes
11383 echo "$as_me: failed program was:" >&5
11384 sed 's/^/| /' conftest.$ac_ext >&5
11386 ac_header_preproc=no
11389 rm -f conftest.err conftest.$ac_ext
11390 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11391 echo "${ECHO_T}$ac_header_preproc" >&6; }
11393 # So? What about this header?
11394 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11396 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11397 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11399 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11400 ac_header_preproc=yes
11403 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11404 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11405 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11406 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11407 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11408 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11409 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11410 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11412 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11413 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11414 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11416 ## ------------------------------------ ##
11417 ## Report this to wine-devel@winehq.org ##
11418 ## ------------------------------------ ##
11420 ) | sed "s/^/$as_me: WARNING: /" >&2
11423 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11425 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11426 echo $ECHO_N "(cached) $ECHO_C" >&6
11428 eval "$as_ac_Header=\$ac_header_preproc"
11430 ac_res=`eval echo '${'$as_ac_Header'}'`
11431 { echo "$as_me:$LINENO: result: $ac_res" >&5
11432 echo "${ECHO_T}$ac_res" >&6; }
11435 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11436 cat >>confdefs.h <<_ACEOF
11437 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11444 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11446 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
11447 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
11448 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
11449 echo $ECHO_N "(cached) $ECHO_C" >&6
11451 ac_check_lib_save_LIBS=$LIBS
11453 cat >conftest.$ac_ext <<_ACEOF
11456 cat confdefs.h >>conftest.$ac_ext
11457 cat >>conftest.$ac_ext <<_ACEOF
11458 /* end confdefs.h. */
11460 /* Override any GCC internal prototype to avoid an error.
11461 Use char because int might match the return type of a GCC
11462 builtin and then its argument prototype would still apply. */
11466 char libhal_ctx_new ();
11470 return libhal_ctx_new ();
11475 rm -f conftest.$ac_objext conftest$ac_exeext
11476 if { (ac_try="$ac_link"
11477 case "(($ac_try" in
11478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11479 *) ac_try_echo=$ac_try;;
11481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11482 (eval "$ac_link") 2>conftest.er1
11484 grep -v '^ *+' conftest.er1 >conftest.err
11486 cat conftest.err >&5
11487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11488 (exit $ac_status); } &&
11489 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11490 { (case "(($ac_try" in
11491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11492 *) ac_try_echo=$ac_try;;
11494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11495 (eval "$ac_try") 2>&5
11497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11498 (exit $ac_status); }; } &&
11499 { ac_try='test -s conftest$ac_exeext'
11500 { (case "(($ac_try" in
11501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11502 *) ac_try_echo=$ac_try;;
11504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11505 (eval "$ac_try") 2>&5
11507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11508 (exit $ac_status); }; }; then
11509 ac_cv_lib_hal_libhal_ctx_new=yes
11511 echo "$as_me: failed program was:" >&5
11512 sed 's/^/| /' conftest.$ac_ext >&5
11514 ac_cv_lib_hal_libhal_ctx_new=no
11517 rm -f core conftest.err conftest.$ac_objext \
11518 conftest$ac_exeext conftest.$ac_ext
11519 LIBS=$ac_check_lib_save_LIBS
11521 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
11522 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
11523 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
11524 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11525 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11526 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11527 echo $ECHO_N "(cached) $ECHO_C" >&6
11529 ac_check_lib_save_LIBS=$LIBS
11530 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11531 cat >conftest.$ac_ext <<_ACEOF
11534 cat confdefs.h >>conftest.$ac_ext
11535 cat >>conftest.$ac_ext <<_ACEOF
11536 /* end confdefs.h. */
11538 /* Override any GCC internal prototype to avoid an error.
11539 Use char because int might match the return type of a GCC
11540 builtin and then its argument prototype would still apply. */
11544 char dbus_connection_close ();
11548 return dbus_connection_close ();
11553 rm -f conftest.$ac_objext conftest$ac_exeext
11554 if { (ac_try="$ac_link"
11555 case "(($ac_try" in
11556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11557 *) ac_try_echo=$ac_try;;
11559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11560 (eval "$ac_link") 2>conftest.er1
11562 grep -v '^ *+' conftest.er1 >conftest.err
11564 cat conftest.err >&5
11565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566 (exit $ac_status); } &&
11567 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11568 { (case "(($ac_try" in
11569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11570 *) ac_try_echo=$ac_try;;
11572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11573 (eval "$ac_try") 2>&5
11575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11576 (exit $ac_status); }; } &&
11577 { ac_try='test -s conftest$ac_exeext'
11578 { (case "(($ac_try" in
11579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11580 *) ac_try_echo=$ac_try;;
11582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11583 (eval "$ac_try") 2>&5
11585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11586 (exit $ac_status); }; }; then
11587 ac_cv_lib_dbus_1_dbus_connection_close=yes
11589 echo "$as_me: failed program was:" >&5
11590 sed 's/^/| /' conftest.$ac_ext >&5
11592 ac_cv_lib_dbus_1_dbus_connection_close=no
11595 rm -f core conftest.err conftest.$ac_objext \
11596 conftest$ac_exeext conftest.$ac_ext
11597 LIBS=$ac_check_lib_save_LIBS
11599 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11600 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11601 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11603 cat >>confdefs.h <<\_ACEOF
11604 #define HAVE_LIBHAL 1
11607 HALINCL="$ac_hal_cflags"
11613 CPPFLAGS="$ac_save_CPPFLAGS"
11617 if test "x$with_curses" != "xno"
11619 if test "$ac_cv_header_ncurses_h" = "yes"
11621 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
11622 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
11623 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
11624 echo $ECHO_N "(cached) $ECHO_C" >&6
11626 ac_check_lib_save_LIBS=$LIBS
11627 LIBS="-lncurses $LIBS"
11628 cat >conftest.$ac_ext <<_ACEOF
11631 cat confdefs.h >>conftest.$ac_ext
11632 cat >>conftest.$ac_ext <<_ACEOF
11633 /* end confdefs.h. */
11635 /* Override any GCC internal prototype to avoid an error.
11636 Use char because int might match the return type of a GCC
11637 builtin and then its argument prototype would still apply. */
11650 rm -f conftest.$ac_objext conftest$ac_exeext
11651 if { (ac_try="$ac_link"
11652 case "(($ac_try" in
11653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11654 *) ac_try_echo=$ac_try;;
11656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11657 (eval "$ac_link") 2>conftest.er1
11659 grep -v '^ *+' conftest.er1 >conftest.err
11661 cat conftest.err >&5
11662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11663 (exit $ac_status); } &&
11664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11665 { (case "(($ac_try" in
11666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11667 *) ac_try_echo=$ac_try;;
11669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11670 (eval "$ac_try") 2>&5
11672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11673 (exit $ac_status); }; } &&
11674 { ac_try='test -s conftest$ac_exeext'
11675 { (case "(($ac_try" in
11676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11677 *) ac_try_echo=$ac_try;;
11679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11680 (eval "$ac_try") 2>&5
11682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11683 (exit $ac_status); }; }; then
11684 ac_cv_lib_ncurses_waddch=yes
11686 echo "$as_me: failed program was:" >&5
11687 sed 's/^/| /' conftest.$ac_ext >&5
11689 ac_cv_lib_ncurses_waddch=no
11692 rm -f core conftest.err conftest.$ac_objext \
11693 conftest$ac_exeext conftest.$ac_ext
11694 LIBS=$ac_check_lib_save_LIBS
11696 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
11697 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
11698 if test $ac_cv_lib_ncurses_waddch = yes; then
11700 cat >>confdefs.h <<\_ACEOF
11701 #define HAVE_LIBNCURSES 1
11704 CURSESLIBS="-lncurses"
11707 elif test "$ac_cv_header_curses_h" = "yes"
11709 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
11710 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
11711 if test "${ac_cv_lib_curses_waddch+set}" = set; then
11712 echo $ECHO_N "(cached) $ECHO_C" >&6
11714 ac_check_lib_save_LIBS=$LIBS
11715 LIBS="-lcurses $LIBS"
11716 cat >conftest.$ac_ext <<_ACEOF
11719 cat confdefs.h >>conftest.$ac_ext
11720 cat >>conftest.$ac_ext <<_ACEOF
11721 /* end confdefs.h. */
11723 /* Override any GCC internal prototype to avoid an error.
11724 Use char because int might match the return type of a GCC
11725 builtin and then its argument prototype would still apply. */
11738 rm -f conftest.$ac_objext conftest$ac_exeext
11739 if { (ac_try="$ac_link"
11740 case "(($ac_try" in
11741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11742 *) ac_try_echo=$ac_try;;
11744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11745 (eval "$ac_link") 2>conftest.er1
11747 grep -v '^ *+' conftest.er1 >conftest.err
11749 cat conftest.err >&5
11750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11751 (exit $ac_status); } &&
11752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11753 { (case "(($ac_try" in
11754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11755 *) ac_try_echo=$ac_try;;
11757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11758 (eval "$ac_try") 2>&5
11760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11761 (exit $ac_status); }; } &&
11762 { ac_try='test -s conftest$ac_exeext'
11763 { (case "(($ac_try" in
11764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11765 *) ac_try_echo=$ac_try;;
11767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11768 (eval "$ac_try") 2>&5
11770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11771 (exit $ac_status); }; }; then
11772 ac_cv_lib_curses_waddch=yes
11774 echo "$as_me: failed program was:" >&5
11775 sed 's/^/| /' conftest.$ac_ext >&5
11777 ac_cv_lib_curses_waddch=no
11780 rm -f core conftest.err conftest.$ac_objext \
11781 conftest$ac_exeext conftest.$ac_ext
11782 LIBS=$ac_check_lib_save_LIBS
11784 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
11785 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
11786 if test $ac_cv_lib_curses_waddch = yes; then
11788 cat >>confdefs.h <<\_ACEOF
11789 #define HAVE_LIBCURSES 1
11792 CURSESLIBS="-lcurses"
11799 # Extract the first word of "sane-config", so it can be a program name with args.
11800 set dummy sane-config; ac_word=$2
11801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11803 if test "${ac_cv_prog_sane_devel+set}" = set; then
11804 echo $ECHO_N "(cached) $ECHO_C" >&6
11806 if test -n "$sane_devel"; then
11807 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11810 for as_dir in $PATH
11813 test -z "$as_dir" && as_dir=.
11814 for ac_exec_ext in '' $ac_executable_extensions; do
11815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11816 ac_cv_prog_sane_devel="sane-config"
11817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11824 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11827 sane_devel=$ac_cv_prog_sane_devel
11828 if test -n "$sane_devel"; then
11829 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11830 echo "${ECHO_T}$sane_devel" >&6; }
11832 { echo "$as_me:$LINENO: result: no" >&5
11833 echo "${ECHO_T}no" >&6; }
11841 if test "$sane_devel" != "no"
11843 SANELIBS="`$sane_devel --libs`"
11844 SANEINCL="`$sane_devel --cflags`"
11845 ac_save_CPPFLAGS="$CPPFLAGS"
11846 ac_save_LIBS="$LIBS"
11847 CPPFLAGS="$CPPFLAGS $SANEINCL"
11848 LIBS="$LIBS $SANELIBS"
11849 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11850 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11851 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11852 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11853 echo $ECHO_N "(cached) $ECHO_C" >&6
11855 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11856 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11858 # Is the header compilable?
11859 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11860 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11861 cat >conftest.$ac_ext <<_ACEOF
11864 cat confdefs.h >>conftest.$ac_ext
11865 cat >>conftest.$ac_ext <<_ACEOF
11866 /* end confdefs.h. */
11867 $ac_includes_default
11868 #include <sane/sane.h>
11870 rm -f conftest.$ac_objext
11871 if { (ac_try="$ac_compile"
11872 case "(($ac_try" in
11873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11874 *) ac_try_echo=$ac_try;;
11876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11877 (eval "$ac_compile") 2>conftest.er1
11879 grep -v '^ *+' conftest.er1 >conftest.err
11881 cat conftest.err >&5
11882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883 (exit $ac_status); } &&
11884 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11885 { (case "(($ac_try" in
11886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11887 *) ac_try_echo=$ac_try;;
11889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11890 (eval "$ac_try") 2>&5
11892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893 (exit $ac_status); }; } &&
11894 { ac_try='test -s conftest.$ac_objext'
11895 { (case "(($ac_try" in
11896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11897 *) ac_try_echo=$ac_try;;
11899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11900 (eval "$ac_try") 2>&5
11902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11903 (exit $ac_status); }; }; then
11904 ac_header_compiler=yes
11906 echo "$as_me: failed program was:" >&5
11907 sed 's/^/| /' conftest.$ac_ext >&5
11909 ac_header_compiler=no
11912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11913 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11914 echo "${ECHO_T}$ac_header_compiler" >&6; }
11916 # Is the header present?
11917 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11918 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11919 cat >conftest.$ac_ext <<_ACEOF
11922 cat confdefs.h >>conftest.$ac_ext
11923 cat >>conftest.$ac_ext <<_ACEOF
11924 /* end confdefs.h. */
11925 #include <sane/sane.h>
11927 if { (ac_try="$ac_cpp conftest.$ac_ext"
11928 case "(($ac_try" in
11929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11930 *) ac_try_echo=$ac_try;;
11932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11933 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11935 grep -v '^ *+' conftest.er1 >conftest.err
11937 cat conftest.err >&5
11938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11939 (exit $ac_status); } >/dev/null; then
11940 if test -s conftest.err; then
11941 ac_cpp_err=$ac_c_preproc_warn_flag
11942 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11949 if test -z "$ac_cpp_err"; then
11950 ac_header_preproc=yes
11952 echo "$as_me: failed program was:" >&5
11953 sed 's/^/| /' conftest.$ac_ext >&5
11955 ac_header_preproc=no
11958 rm -f conftest.err conftest.$ac_ext
11959 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11960 echo "${ECHO_T}$ac_header_preproc" >&6; }
11962 # So? What about this header?
11963 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11965 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11966 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11967 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11968 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11969 ac_header_preproc=yes
11972 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11973 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11974 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11975 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11976 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11977 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11978 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11979 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11980 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11981 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11982 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11983 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11985 ## ------------------------------------ ##
11986 ## Report this to wine-devel@winehq.org ##
11987 ## ------------------------------------ ##
11989 ) | sed "s/^/$as_me: WARNING: /" >&2
11992 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11993 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11994 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11995 echo $ECHO_N "(cached) $ECHO_C" >&6
11997 ac_cv_header_sane_sane_h=$ac_header_preproc
11999 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12000 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12003 if test $ac_cv_header_sane_sane_h = yes; then
12004 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
12005 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
12006 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
12007 echo $ECHO_N "(cached) $ECHO_C" >&6
12009 ac_check_lib_save_LIBS=$LIBS
12010 LIBS="-lsane $LIBS"
12011 cat >conftest.$ac_ext <<_ACEOF
12014 cat confdefs.h >>conftest.$ac_ext
12015 cat >>conftest.$ac_ext <<_ACEOF
12016 /* end confdefs.h. */
12018 /* Override any GCC internal prototype to avoid an error.
12019 Use char because int might match the return type of a GCC
12020 builtin and then its argument prototype would still apply. */
12028 return sane_open ();
12033 rm -f conftest.$ac_objext conftest$ac_exeext
12034 if { (ac_try="$ac_link"
12035 case "(($ac_try" in
12036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12037 *) ac_try_echo=$ac_try;;
12039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12040 (eval "$ac_link") 2>conftest.er1
12042 grep -v '^ *+' conftest.er1 >conftest.err
12044 cat conftest.err >&5
12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12046 (exit $ac_status); } &&
12047 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12048 { (case "(($ac_try" in
12049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12050 *) ac_try_echo=$ac_try;;
12052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12053 (eval "$ac_try") 2>&5
12055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12056 (exit $ac_status); }; } &&
12057 { ac_try='test -s conftest$ac_exeext'
12058 { (case "(($ac_try" in
12059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12060 *) ac_try_echo=$ac_try;;
12062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12063 (eval "$ac_try") 2>&5
12065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12066 (exit $ac_status); }; }; then
12067 ac_cv_lib_sane_sane_open=yes
12069 echo "$as_me: failed program was:" >&5
12070 sed 's/^/| /' conftest.$ac_ext >&5
12072 ac_cv_lib_sane_sane_open=no
12075 rm -f core conftest.err conftest.$ac_objext \
12076 conftest$ac_exeext conftest.$ac_ext
12077 LIBS=$ac_check_lib_save_LIBS
12079 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
12080 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
12081 if test $ac_cv_lib_sane_sane_open = yes; then
12083 cat >>confdefs.h <<\_ACEOF
12084 #define HAVE_SANE 1
12098 LIBS="$ac_save_LIBS"
12099 CPPFLAGS="$ac_save_CPPFLAGS"
12102 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12103 set dummy gphoto2-config; ac_word=$2
12104 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12106 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12107 echo $ECHO_N "(cached) $ECHO_C" >&6
12109 if test -n "$gphoto2_devel"; then
12110 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12113 for as_dir in $PATH
12116 test -z "$as_dir" && as_dir=.
12117 for ac_exec_ext in '' $ac_executable_extensions; do
12118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12119 ac_cv_prog_gphoto2_devel="gphoto2-config"
12120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12127 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12130 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12131 if test -n "$gphoto2_devel"; then
12132 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12133 echo "${ECHO_T}$gphoto2_devel" >&6; }
12135 { echo "$as_me:$LINENO: result: no" >&5
12136 echo "${ECHO_T}no" >&6; }
12140 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12141 set dummy gphoto2-port-config; ac_word=$2
12142 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12144 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12145 echo $ECHO_N "(cached) $ECHO_C" >&6
12147 if test -n "$gphoto2port_devel"; then
12148 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12151 for as_dir in $PATH
12154 test -z "$as_dir" && as_dir=.
12155 for ac_exec_ext in '' $ac_executable_extensions; do
12156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12157 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12165 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12168 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12169 if test -n "$gphoto2port_devel"; then
12170 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12171 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12173 { echo "$as_me:$LINENO: result: no" >&5
12174 echo "${ECHO_T}no" >&6; }
12182 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12184 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12186 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12189 -L/usr/lib|-L/usr/lib64) ;;
12190 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
12193 ac_save_CPPFLAGS="$CPPFLAGS"
12194 ac_save_LIBS="$LIBS"
12195 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
12196 LIBS="$LIBS $GPHOTO2LIBS"
12197 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12198 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12199 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12200 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12201 echo $ECHO_N "(cached) $ECHO_C" >&6
12203 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12204 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12206 # Is the header compilable?
12207 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12208 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12209 cat >conftest.$ac_ext <<_ACEOF
12212 cat confdefs.h >>conftest.$ac_ext
12213 cat >>conftest.$ac_ext <<_ACEOF
12214 /* end confdefs.h. */
12215 $ac_includes_default
12216 #include <gphoto2-camera.h>
12218 rm -f conftest.$ac_objext
12219 if { (ac_try="$ac_compile"
12220 case "(($ac_try" in
12221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12222 *) ac_try_echo=$ac_try;;
12224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12225 (eval "$ac_compile") 2>conftest.er1
12227 grep -v '^ *+' conftest.er1 >conftest.err
12229 cat conftest.err >&5
12230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12231 (exit $ac_status); } &&
12232 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12233 { (case "(($ac_try" in
12234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12235 *) ac_try_echo=$ac_try;;
12237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12238 (eval "$ac_try") 2>&5
12240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241 (exit $ac_status); }; } &&
12242 { ac_try='test -s conftest.$ac_objext'
12243 { (case "(($ac_try" in
12244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12245 *) ac_try_echo=$ac_try;;
12247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12248 (eval "$ac_try") 2>&5
12250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12251 (exit $ac_status); }; }; then
12252 ac_header_compiler=yes
12254 echo "$as_me: failed program was:" >&5
12255 sed 's/^/| /' conftest.$ac_ext >&5
12257 ac_header_compiler=no
12260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12261 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12262 echo "${ECHO_T}$ac_header_compiler" >&6; }
12264 # Is the header present?
12265 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12266 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12267 cat >conftest.$ac_ext <<_ACEOF
12270 cat confdefs.h >>conftest.$ac_ext
12271 cat >>conftest.$ac_ext <<_ACEOF
12272 /* end confdefs.h. */
12273 #include <gphoto2-camera.h>
12275 if { (ac_try="$ac_cpp conftest.$ac_ext"
12276 case "(($ac_try" in
12277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12278 *) ac_try_echo=$ac_try;;
12280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12281 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12283 grep -v '^ *+' conftest.er1 >conftest.err
12285 cat conftest.err >&5
12286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12287 (exit $ac_status); } >/dev/null; then
12288 if test -s conftest.err; then
12289 ac_cpp_err=$ac_c_preproc_warn_flag
12290 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12297 if test -z "$ac_cpp_err"; then
12298 ac_header_preproc=yes
12300 echo "$as_me: failed program was:" >&5
12301 sed 's/^/| /' conftest.$ac_ext >&5
12303 ac_header_preproc=no
12306 rm -f conftest.err conftest.$ac_ext
12307 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12308 echo "${ECHO_T}$ac_header_preproc" >&6; }
12310 # So? What about this header?
12311 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12313 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12314 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12315 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12316 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12317 ac_header_preproc=yes
12320 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12321 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12322 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12323 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12324 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12325 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12326 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12327 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12328 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12329 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12330 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12331 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12333 ## ------------------------------------ ##
12334 ## Report this to wine-devel@winehq.org ##
12335 ## ------------------------------------ ##
12337 ) | sed "s/^/$as_me: WARNING: /" >&2
12340 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12341 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12342 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12343 echo $ECHO_N "(cached) $ECHO_C" >&6
12345 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12347 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12348 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12351 if test $ac_cv_header_gphoto2_camera_h = yes; then
12352 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12353 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12354 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12355 echo $ECHO_N "(cached) $ECHO_C" >&6
12357 ac_check_lib_save_LIBS=$LIBS
12358 LIBS="-lgphoto2 $LIBS"
12359 cat >conftest.$ac_ext <<_ACEOF
12362 cat confdefs.h >>conftest.$ac_ext
12363 cat >>conftest.$ac_ext <<_ACEOF
12364 /* end confdefs.h. */
12366 /* Override any GCC internal prototype to avoid an error.
12367 Use char because int might match the return type of a GCC
12368 builtin and then its argument prototype would still apply. */
12372 char gp_camera_new ();
12376 return gp_camera_new ();
12381 rm -f conftest.$ac_objext conftest$ac_exeext
12382 if { (ac_try="$ac_link"
12383 case "(($ac_try" in
12384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12385 *) ac_try_echo=$ac_try;;
12387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12388 (eval "$ac_link") 2>conftest.er1
12390 grep -v '^ *+' conftest.er1 >conftest.err
12392 cat conftest.err >&5
12393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12394 (exit $ac_status); } &&
12395 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12396 { (case "(($ac_try" in
12397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12398 *) ac_try_echo=$ac_try;;
12400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12401 (eval "$ac_try") 2>&5
12403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12404 (exit $ac_status); }; } &&
12405 { ac_try='test -s conftest$ac_exeext'
12406 { (case "(($ac_try" in
12407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12408 *) ac_try_echo=$ac_try;;
12410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12411 (eval "$ac_try") 2>&5
12413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12414 (exit $ac_status); }; }; then
12415 ac_cv_lib_gphoto2_gp_camera_new=yes
12417 echo "$as_me: failed program was:" >&5
12418 sed 's/^/| /' conftest.$ac_ext >&5
12420 ac_cv_lib_gphoto2_gp_camera_new=no
12423 rm -f core conftest.err conftest.$ac_objext \
12424 conftest$ac_exeext conftest.$ac_ext
12425 LIBS=$ac_check_lib_save_LIBS
12427 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12428 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12429 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12431 cat >>confdefs.h <<\_ACEOF
12432 #define HAVE_GPHOTO2 1
12446 LIBS="$ac_save_LIBS"
12447 CPPFLAGS="$ac_save_CPPFLAGS"
12450 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
12453 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
12455 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
12456 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
12457 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
12458 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
12459 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
12460 cat >conftest.$ac_ext <<_ACEOF
12463 cat confdefs.h >>conftest.$ac_ext
12464 cat >>conftest.$ac_ext <<_ACEOF
12465 /* end confdefs.h. */
12466 #include <unicode/ubidi.h>
12475 rm -f conftest.$ac_objext conftest$ac_exeext
12476 if { (ac_try="$ac_link"
12477 case "(($ac_try" in
12478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12479 *) ac_try_echo=$ac_try;;
12481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12482 (eval "$ac_link") 2>conftest.er1
12484 grep -v '^ *+' conftest.er1 >conftest.err
12486 cat conftest.err >&5
12487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12488 (exit $ac_status); } &&
12489 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12490 { (case "(($ac_try" in
12491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12492 *) ac_try_echo=$ac_try;;
12494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12495 (eval "$ac_try") 2>&5
12497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12498 (exit $ac_status); }; } &&
12499 { ac_try='test -s conftest$ac_exeext'
12500 { (case "(($ac_try" in
12501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12502 *) ac_try_echo=$ac_try;;
12504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12505 (eval "$ac_try") 2>&5
12507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12508 (exit $ac_status); }; }; then
12510 cat >>confdefs.h <<\_ACEOF
12514 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
12516 { echo "$as_me:$LINENO: result: yes" >&5
12517 echo "${ECHO_T}yes" >&6; }
12519 echo "$as_me: failed program was:" >&5
12520 sed 's/^/| /' conftest.$ac_ext >&5
12522 { echo "$as_me:$LINENO: result: no" >&5
12523 echo "${ECHO_T}no" >&6; }
12526 rm -f core conftest.err conftest.$ac_objext \
12527 conftest$ac_exeext conftest.$ac_ext
12534 if test "$ac_cv_header_resolv_h" = "yes"
12536 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12537 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12538 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12539 echo $ECHO_N "(cached) $ECHO_C" >&6
12541 ac_check_lib_save_LIBS=$LIBS
12542 LIBS="-lresolv $LIBS"
12543 cat >conftest.$ac_ext <<_ACEOF
12546 cat confdefs.h >>conftest.$ac_ext
12547 cat >>conftest.$ac_ext <<_ACEOF
12548 /* end confdefs.h. */
12550 /* Override any GCC internal prototype to avoid an error.
12551 Use char because int might match the return type of a GCC
12552 builtin and then its argument prototype would still apply. */
12560 return res_query ();
12565 rm -f conftest.$ac_objext conftest$ac_exeext
12566 if { (ac_try="$ac_link"
12567 case "(($ac_try" in
12568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12569 *) ac_try_echo=$ac_try;;
12571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12572 (eval "$ac_link") 2>conftest.er1
12574 grep -v '^ *+' conftest.er1 >conftest.err
12576 cat conftest.err >&5
12577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12578 (exit $ac_status); } &&
12579 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12580 { (case "(($ac_try" in
12581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12582 *) ac_try_echo=$ac_try;;
12584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12585 (eval "$ac_try") 2>&5
12587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12588 (exit $ac_status); }; } &&
12589 { ac_try='test -s conftest$ac_exeext'
12590 { (case "(($ac_try" in
12591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12592 *) ac_try_echo=$ac_try;;
12594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12595 (eval "$ac_try") 2>&5
12597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598 (exit $ac_status); }; }; then
12599 ac_cv_lib_resolv_res_query=yes
12601 echo "$as_me: failed program was:" >&5
12602 sed 's/^/| /' conftest.$ac_ext >&5
12604 ac_cv_lib_resolv_res_query=no
12607 rm -f core conftest.err conftest.$ac_objext \
12608 conftest$ac_exeext conftest.$ac_ext
12609 LIBS=$ac_check_lib_save_LIBS
12611 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12612 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12613 if test $ac_cv_lib_resolv_res_query = yes; then
12615 cat >>confdefs.h <<\_ACEOF
12616 #define HAVE_RESOLV 1
12619 RESOLVLIBS="-lresolv"
12626 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12628 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12629 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12630 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12631 echo $ECHO_N "(cached) $ECHO_C" >&6
12633 ac_check_lib_save_LIBS=$LIBS
12634 LIBS="-llcms $LIBS"
12635 cat >conftest.$ac_ext <<_ACEOF
12638 cat confdefs.h >>conftest.$ac_ext
12639 cat >>conftest.$ac_ext <<_ACEOF
12640 /* end confdefs.h. */
12642 /* Override any GCC internal prototype to avoid an error.
12643 Use char because int might match the return type of a GCC
12644 builtin and then its argument prototype would still apply. */
12648 char cmsOpenProfileFromFile ();
12652 return cmsOpenProfileFromFile ();
12657 rm -f conftest.$ac_objext conftest$ac_exeext
12658 if { (ac_try="$ac_link"
12659 case "(($ac_try" in
12660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12661 *) ac_try_echo=$ac_try;;
12663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12664 (eval "$ac_link") 2>conftest.er1
12666 grep -v '^ *+' conftest.er1 >conftest.err
12668 cat conftest.err >&5
12669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12670 (exit $ac_status); } &&
12671 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12672 { (case "(($ac_try" in
12673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12674 *) ac_try_echo=$ac_try;;
12676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12677 (eval "$ac_try") 2>&5
12679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12680 (exit $ac_status); }; } &&
12681 { ac_try='test -s conftest$ac_exeext'
12682 { (case "(($ac_try" in
12683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12684 *) ac_try_echo=$ac_try;;
12686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12687 (eval "$ac_try") 2>&5
12689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12690 (exit $ac_status); }; }; then
12691 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12693 echo "$as_me: failed program was:" >&5
12694 sed 's/^/| /' conftest.$ac_ext >&5
12696 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12699 rm -f core conftest.err conftest.$ac_objext \
12700 conftest$ac_exeext conftest.$ac_ext
12701 LIBS=$ac_check_lib_save_LIBS
12703 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12704 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12705 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12707 cat >>confdefs.h <<\_ACEOF
12708 #define HAVE_LCMS 1
12718 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12720 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12721 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12722 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12723 echo $ECHO_N "(cached) $ECHO_C" >&6
12725 ac_check_lib_save_LIBS=$LIBS
12726 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12727 cat >conftest.$ac_ext <<_ACEOF
12730 cat confdefs.h >>conftest.$ac_ext
12731 cat >>conftest.$ac_ext <<_ACEOF
12732 /* end confdefs.h. */
12734 /* Override any GCC internal prototype to avoid an error.
12735 Use char because int might match the return type of a GCC
12736 builtin and then its argument prototype would still apply. */
12740 char ldap_initialize ();
12744 return ldap_initialize ();
12749 rm -f conftest.$ac_objext conftest$ac_exeext
12750 if { (ac_try="$ac_link"
12751 case "(($ac_try" in
12752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12753 *) ac_try_echo=$ac_try;;
12755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12756 (eval "$ac_link") 2>conftest.er1
12758 grep -v '^ *+' conftest.er1 >conftest.err
12760 cat conftest.err >&5
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); } &&
12763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12764 { (case "(($ac_try" in
12765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12766 *) ac_try_echo=$ac_try;;
12768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12769 (eval "$ac_try") 2>&5
12771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12772 (exit $ac_status); }; } &&
12773 { ac_try='test -s conftest$ac_exeext'
12774 { (case "(($ac_try" in
12775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12776 *) ac_try_echo=$ac_try;;
12778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12779 (eval "$ac_try") 2>&5
12781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12782 (exit $ac_status); }; }; then
12783 ac_cv_lib_ldap_r_ldap_initialize=yes
12785 echo "$as_me: failed program was:" >&5
12786 sed 's/^/| /' conftest.$ac_ext >&5
12788 ac_cv_lib_ldap_r_ldap_initialize=no
12791 rm -f core conftest.err conftest.$ac_objext \
12792 conftest$ac_exeext conftest.$ac_ext
12793 LIBS=$ac_check_lib_save_LIBS
12795 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12796 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12797 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12798 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12799 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12800 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12801 echo $ECHO_N "(cached) $ECHO_C" >&6
12803 ac_check_lib_save_LIBS=$LIBS
12804 LIBS="-llber $LIBPTHREAD $LIBS"
12805 cat >conftest.$ac_ext <<_ACEOF
12808 cat confdefs.h >>conftest.$ac_ext
12809 cat >>conftest.$ac_ext <<_ACEOF
12810 /* end confdefs.h. */
12812 /* Override any GCC internal prototype to avoid an error.
12813 Use char because int might match the return type of a GCC
12814 builtin and then its argument prototype would still apply. */
12822 return ber_init ();
12827 rm -f conftest.$ac_objext conftest$ac_exeext
12828 if { (ac_try="$ac_link"
12829 case "(($ac_try" in
12830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12831 *) ac_try_echo=$ac_try;;
12833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12834 (eval "$ac_link") 2>conftest.er1
12836 grep -v '^ *+' conftest.er1 >conftest.err
12838 cat conftest.err >&5
12839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12840 (exit $ac_status); } &&
12841 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12842 { (case "(($ac_try" in
12843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12844 *) ac_try_echo=$ac_try;;
12846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12847 (eval "$ac_try") 2>&5
12849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 (exit $ac_status); }; } &&
12851 { ac_try='test -s conftest$ac_exeext'
12852 { (case "(($ac_try" in
12853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12854 *) ac_try_echo=$ac_try;;
12856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12857 (eval "$ac_try") 2>&5
12859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12860 (exit $ac_status); }; }; then
12861 ac_cv_lib_lber_ber_init=yes
12863 echo "$as_me: failed program was:" >&5
12864 sed 's/^/| /' conftest.$ac_ext >&5
12866 ac_cv_lib_lber_ber_init=no
12869 rm -f core conftest.err conftest.$ac_objext \
12870 conftest$ac_exeext conftest.$ac_ext
12871 LIBS=$ac_check_lib_save_LIBS
12873 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12874 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12875 if test $ac_cv_lib_lber_ber_init = yes; then
12877 cat >>confdefs.h <<\_ACEOF
12878 #define HAVE_LDAP 1
12881 LDAPLIBS="-lldap_r -llber"
12886 ac_wine_check_funcs_save_LIBS="$LIBS"
12887 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12893 ldap_count_references \
12894 ldap_first_reference \
12895 ldap_next_reference \
12896 ldap_parse_reference
12898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12899 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12901 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12902 echo $ECHO_N "(cached) $ECHO_C" >&6
12904 cat >conftest.$ac_ext <<_ACEOF
12907 cat confdefs.h >>conftest.$ac_ext
12908 cat >>conftest.$ac_ext <<_ACEOF
12909 /* end confdefs.h. */
12910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12912 #define $ac_func innocuous_$ac_func
12914 /* System header to define __stub macros and hopefully few prototypes,
12915 which can conflict with char $ac_func (); below.
12916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12917 <limits.h> exists even on freestanding compilers. */
12920 # include <limits.h>
12922 # include <assert.h>
12927 /* Override any GCC internal prototype to avoid an error.
12928 Use char because int might match the return type of a GCC
12929 builtin and then its argument prototype would still apply. */
12934 /* The GNU C library defines this for functions which it implements
12935 to always fail with ENOSYS. Some functions are actually named
12936 something starting with __ and the normal name is an alias. */
12937 #if defined __stub_$ac_func || defined __stub___$ac_func
12944 return $ac_func ();
12949 rm -f conftest.$ac_objext conftest$ac_exeext
12950 if { (ac_try="$ac_link"
12951 case "(($ac_try" in
12952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12953 *) ac_try_echo=$ac_try;;
12955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12956 (eval "$ac_link") 2>conftest.er1
12958 grep -v '^ *+' conftest.er1 >conftest.err
12960 cat conftest.err >&5
12961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12962 (exit $ac_status); } &&
12963 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12964 { (case "(($ac_try" in
12965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12966 *) ac_try_echo=$ac_try;;
12968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12969 (eval "$ac_try") 2>&5
12971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12972 (exit $ac_status); }; } &&
12973 { ac_try='test -s conftest$ac_exeext'
12974 { (case "(($ac_try" in
12975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12976 *) ac_try_echo=$ac_try;;
12978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12979 (eval "$ac_try") 2>&5
12981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982 (exit $ac_status); }; }; then
12983 eval "$as_ac_var=yes"
12985 echo "$as_me: failed program was:" >&5
12986 sed 's/^/| /' conftest.$ac_ext >&5
12988 eval "$as_ac_var=no"
12991 rm -f core conftest.err conftest.$ac_objext \
12992 conftest$ac_exeext conftest.$ac_ext
12994 ac_res=`eval echo '${'$as_ac_var'}'`
12995 { echo "$as_me:$LINENO: result: $ac_res" >&5
12996 echo "${ECHO_T}$ac_res" >&6; }
12997 if test `eval echo '${'$as_ac_var'}'` = yes; then
12998 cat >>confdefs.h <<_ACEOF
12999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13005 LIBS="$ac_wine_check_funcs_save_LIBS"
13012 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
13013 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
13014 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
13015 echo $ECHO_N "(cached) $ECHO_C" >&6
13017 ac_check_lib_save_LIBS=$LIBS
13018 LIBS="-lfreetype $X_LIBS $LIBS"
13019 cat >conftest.$ac_ext <<_ACEOF
13022 cat confdefs.h >>conftest.$ac_ext
13023 cat >>conftest.$ac_ext <<_ACEOF
13024 /* end confdefs.h. */
13026 /* Override any GCC internal prototype to avoid an error.
13027 Use char because int might match the return type of a GCC
13028 builtin and then its argument prototype would still apply. */
13032 char FT_Init_FreeType ();
13036 return FT_Init_FreeType ();
13041 rm -f conftest.$ac_objext conftest$ac_exeext
13042 if { (ac_try="$ac_link"
13043 case "(($ac_try" in
13044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13045 *) ac_try_echo=$ac_try;;
13047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13048 (eval "$ac_link") 2>conftest.er1
13050 grep -v '^ *+' conftest.er1 >conftest.err
13052 cat conftest.err >&5
13053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054 (exit $ac_status); } &&
13055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13056 { (case "(($ac_try" in
13057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13058 *) ac_try_echo=$ac_try;;
13060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13061 (eval "$ac_try") 2>&5
13063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13064 (exit $ac_status); }; } &&
13065 { ac_try='test -s conftest$ac_exeext'
13066 { (case "(($ac_try" in
13067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13068 *) ac_try_echo=$ac_try;;
13070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13071 (eval "$ac_try") 2>&5
13073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13074 (exit $ac_status); }; }; then
13075 ac_cv_lib_freetype_FT_Init_FreeType=yes
13077 echo "$as_me: failed program was:" >&5
13078 sed 's/^/| /' conftest.$ac_ext >&5
13080 ac_cv_lib_freetype_FT_Init_FreeType=no
13083 rm -f core conftest.err conftest.$ac_objext \
13084 conftest$ac_exeext conftest.$ac_ext
13085 LIBS=$ac_check_lib_save_LIBS
13087 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
13088 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
13089 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
13095 if test "$ft_lib" = "no"
13097 wine_cv_msg_freetype=no
13099 # Extract the first word of "freetype-config", so it can be a program name with args.
13100 set dummy freetype-config; ac_word=$2
13101 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13103 if test "${ac_cv_prog_ft_devel+set}" = set; then
13104 echo $ECHO_N "(cached) $ECHO_C" >&6
13106 if test -n "$ft_devel"; then
13107 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13110 for as_dir in $PATH
13113 test -z "$as_dir" && as_dir=.
13114 for ac_exec_ext in '' $ac_executable_extensions; do
13115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13116 ac_cv_prog_ft_devel="freetype-config"
13117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13124 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
13127 ft_devel=$ac_cv_prog_ft_devel
13128 if test -n "$ft_devel"; then
13129 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13130 echo "${ECHO_T}$ft_devel" >&6; }
13132 { echo "$as_me:$LINENO: result: no" >&5
13133 echo "${ECHO_T}no" >&6; }
13137 if test "$ft_devel" = "no"
13139 # Extract the first word of "freetype2-config", so it can be a program name with args.
13140 set dummy freetype2-config; ac_word=$2
13141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13143 if test "${ac_cv_prog_ft_devel2+set}" = set; then
13144 echo $ECHO_N "(cached) $ECHO_C" >&6
13146 if test -n "$ft_devel2"; then
13147 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
13149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13150 for as_dir in $PATH
13153 test -z "$as_dir" && as_dir=.
13154 for ac_exec_ext in '' $ac_executable_extensions; do
13155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13156 ac_cv_prog_ft_devel2="freetype2-config"
13157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13164 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
13167 ft_devel2=$ac_cv_prog_ft_devel2
13168 if test -n "$ft_devel2"; then
13169 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
13170 echo "${ECHO_T}$ft_devel2" >&6; }
13172 { echo "$as_me:$LINENO: result: no" >&5
13173 echo "${ECHO_T}no" >&6; }
13177 if test "$ft_devel2" = "freetype2-config"
13179 ft_devel=$ft_devel2
13182 if test "$ft_devel" = "no"
13184 wine_cv_msg_freetype=yes
13186 FREETYPELIBS=`$ft_devel --libs`
13187 FREETYPEINCL=`$ft_devel --cflags`
13188 ac_save_CPPFLAGS="$CPPFLAGS"
13189 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
13201 for ac_header in ft2build.h \
13202 freetype/freetype.h \
13203 freetype/ftglyph.h \
13204 freetype/tttables.h \
13205 freetype/ftnames.h \
13206 freetype/ftsnames.h \
13207 freetype/ttnameid.h \
13208 freetype/ftoutln.h \
13209 freetype/ftwinfnt.h \
13210 freetype/ftmodapi.h \
13211 freetype/internal/sfnt.h
13213 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13214 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13216 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13217 echo $ECHO_N "(cached) $ECHO_C" >&6
13219 cat >conftest.$ac_ext <<_ACEOF
13222 cat confdefs.h >>conftest.$ac_ext
13223 cat >>conftest.$ac_ext <<_ACEOF
13224 /* end confdefs.h. */
13225 #if HAVE_FT2BUILD_H
13226 #include <ft2build.h>
13229 #include <$ac_header>
13231 rm -f conftest.$ac_objext
13232 if { (ac_try="$ac_compile"
13233 case "(($ac_try" in
13234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13235 *) ac_try_echo=$ac_try;;
13237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13238 (eval "$ac_compile") 2>conftest.er1
13240 grep -v '^ *+' conftest.er1 >conftest.err
13242 cat conftest.err >&5
13243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13244 (exit $ac_status); } &&
13245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13246 { (case "(($ac_try" in
13247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13248 *) ac_try_echo=$ac_try;;
13250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13251 (eval "$ac_try") 2>&5
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); }; } &&
13255 { ac_try='test -s conftest.$ac_objext'
13256 { (case "(($ac_try" in
13257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13258 *) ac_try_echo=$ac_try;;
13260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13261 (eval "$ac_try") 2>&5
13263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13264 (exit $ac_status); }; }; then
13265 eval "$as_ac_Header=yes"
13267 echo "$as_me: failed program was:" >&5
13268 sed 's/^/| /' conftest.$ac_ext >&5
13270 eval "$as_ac_Header=no"
13273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13275 ac_res=`eval echo '${'$as_ac_Header'}'`
13276 { echo "$as_me:$LINENO: result: $ac_res" >&5
13277 echo "${ECHO_T}$ac_res" >&6; }
13278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13279 cat >>confdefs.h <<_ACEOF
13280 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13287 cat >conftest.$ac_ext <<_ACEOF
13290 cat confdefs.h >>conftest.$ac_ext
13291 cat >>conftest.$ac_ext <<_ACEOF
13292 /* end confdefs.h. */
13293 #include <ft2build.h>
13294 #include <freetype/fttrigon.h>
13296 if { (ac_try="$ac_cpp conftest.$ac_ext"
13297 case "(($ac_try" in
13298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13299 *) ac_try_echo=$ac_try;;
13301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13302 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13304 grep -v '^ *+' conftest.er1 >conftest.err
13306 cat conftest.err >&5
13307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 (exit $ac_status); } >/dev/null; then
13309 if test -s conftest.err; then
13310 ac_cpp_err=$ac_c_preproc_warn_flag
13311 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13318 if test -z "$ac_cpp_err"; then
13320 cat >>confdefs.h <<\_ACEOF
13321 #define HAVE_FREETYPE_FTTRIGON_H 1
13324 wine_cv_fttrigon=yes
13326 echo "$as_me: failed program was:" >&5
13327 sed 's/^/| /' conftest.$ac_ext >&5
13329 wine_cv_fttrigon=no
13332 rm -f conftest.err conftest.$ac_ext
13333 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13334 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13335 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13336 echo $ECHO_N "(cached) $ECHO_C" >&6
13338 cat >conftest.$ac_ext <<_ACEOF
13341 cat confdefs.h >>conftest.$ac_ext
13342 cat >>conftest.$ac_ext <<_ACEOF
13343 /* end confdefs.h. */
13344 #include <freetype/ftmodapi.h>
13346 typedef FT_TrueTypeEngineType ac__type_new_;
13350 if ((ac__type_new_ *) 0)
13352 if (sizeof (ac__type_new_))
13358 rm -f conftest.$ac_objext
13359 if { (ac_try="$ac_compile"
13360 case "(($ac_try" in
13361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13362 *) ac_try_echo=$ac_try;;
13364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13365 (eval "$ac_compile") 2>conftest.er1
13367 grep -v '^ *+' conftest.er1 >conftest.err
13369 cat conftest.err >&5
13370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13371 (exit $ac_status); } &&
13372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13373 { (case "(($ac_try" in
13374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13375 *) ac_try_echo=$ac_try;;
13377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13378 (eval "$ac_try") 2>&5
13380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 (exit $ac_status); }; } &&
13382 { ac_try='test -s conftest.$ac_objext'
13383 { (case "(($ac_try" in
13384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13385 *) ac_try_echo=$ac_try;;
13387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13388 (eval "$ac_try") 2>&5
13390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13391 (exit $ac_status); }; }; then
13392 ac_cv_type_FT_TrueTypeEngineType=yes
13394 echo "$as_me: failed program was:" >&5
13395 sed 's/^/| /' conftest.$ac_ext >&5
13397 ac_cv_type_FT_TrueTypeEngineType=no
13400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13402 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13403 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13404 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13406 cat >>confdefs.h <<_ACEOF
13407 #define HAVE_FT_TRUETYPEENGINETYPE 1
13413 ac_save_CFLAGS="$CFLAGS"
13414 CFLAGS="$CFLAGS $FREETYPELIBS"
13416 for ac_func in FT_Load_Sfnt_Table
13418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13419 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13421 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13422 echo $ECHO_N "(cached) $ECHO_C" >&6
13424 cat >conftest.$ac_ext <<_ACEOF
13427 cat confdefs.h >>conftest.$ac_ext
13428 cat >>conftest.$ac_ext <<_ACEOF
13429 /* end confdefs.h. */
13430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13432 #define $ac_func innocuous_$ac_func
13434 /* System header to define __stub macros and hopefully few prototypes,
13435 which can conflict with char $ac_func (); below.
13436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13437 <limits.h> exists even on freestanding compilers. */
13440 # include <limits.h>
13442 # include <assert.h>
13447 /* Override any GCC internal prototype to avoid an error.
13448 Use char because int might match the return type of a GCC
13449 builtin and then its argument prototype would still apply. */
13454 /* The GNU C library defines this for functions which it implements
13455 to always fail with ENOSYS. Some functions are actually named
13456 something starting with __ and the normal name is an alias. */
13457 #if defined __stub_$ac_func || defined __stub___$ac_func
13464 return $ac_func ();
13469 rm -f conftest.$ac_objext conftest$ac_exeext
13470 if { (ac_try="$ac_link"
13471 case "(($ac_try" in
13472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13473 *) ac_try_echo=$ac_try;;
13475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13476 (eval "$ac_link") 2>conftest.er1
13478 grep -v '^ *+' conftest.er1 >conftest.err
13480 cat conftest.err >&5
13481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13482 (exit $ac_status); } &&
13483 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13484 { (case "(($ac_try" in
13485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13486 *) ac_try_echo=$ac_try;;
13488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13489 (eval "$ac_try") 2>&5
13491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13492 (exit $ac_status); }; } &&
13493 { ac_try='test -s conftest$ac_exeext'
13494 { (case "(($ac_try" in
13495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13496 *) ac_try_echo=$ac_try;;
13498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13499 (eval "$ac_try") 2>&5
13501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13502 (exit $ac_status); }; }; then
13503 eval "$as_ac_var=yes"
13505 echo "$as_me: failed program was:" >&5
13506 sed 's/^/| /' conftest.$ac_ext >&5
13508 eval "$as_ac_var=no"
13511 rm -f core conftest.err conftest.$ac_objext \
13512 conftest$ac_exeext conftest.$ac_ext
13514 ac_res=`eval echo '${'$as_ac_var'}'`
13515 { echo "$as_me:$LINENO: result: $ac_res" >&5
13516 echo "${ECHO_T}$ac_res" >&6; }
13517 if test `eval echo '${'$as_ac_var'}'` = yes; then
13518 cat >>confdefs.h <<_ACEOF
13519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13525 CFLAGS="$ac_save_CFLAGS"
13526 CPPFLAGS="$ac_save_CPPFLAGS"
13527 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13530 cat >>confdefs.h <<\_ACEOF
13531 #define HAVE_FREETYPE 1
13534 wine_cv_msg_freetype=no
13538 wine_cv_msg_freetype=yes
13543 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
13545 FONTSSUBDIRS="fonts"
13549 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13550 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13551 if test "${ac_cv_c_ppdev+set}" = set; then
13552 echo $ECHO_N "(cached) $ECHO_C" >&6
13554 cat >conftest.$ac_ext <<_ACEOF
13557 cat confdefs.h >>conftest.$ac_ext
13558 cat >>conftest.$ac_ext <<_ACEOF
13559 /* end confdefs.h. */
13560 #include <linux/ppdev.h>
13564 ioctl (1,PPCLAIM,0)
13569 rm -f conftest.$ac_objext
13570 if { (ac_try="$ac_compile"
13571 case "(($ac_try" in
13572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13573 *) ac_try_echo=$ac_try;;
13575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13576 (eval "$ac_compile") 2>conftest.er1
13578 grep -v '^ *+' conftest.er1 >conftest.err
13580 cat conftest.err >&5
13581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13582 (exit $ac_status); } &&
13583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13584 { (case "(($ac_try" in
13585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13586 *) ac_try_echo=$ac_try;;
13588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13589 (eval "$ac_try") 2>&5
13591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13592 (exit $ac_status); }; } &&
13593 { ac_try='test -s conftest.$ac_objext'
13594 { (case "(($ac_try" in
13595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13596 *) ac_try_echo=$ac_try;;
13598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13599 (eval "$ac_try") 2>&5
13601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13602 (exit $ac_status); }; }; then
13603 ac_cv_c_ppdev="yes"
13605 echo "$as_me: failed program was:" >&5
13606 sed 's/^/| /' conftest.$ac_ext >&5
13611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13614 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13615 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13616 if test "$ac_cv_c_ppdev" = "yes"
13619 cat >>confdefs.h <<\_ACEOF
13620 #define HAVE_PPDEV 1
13625 { echo "$as_me:$LINENO: checking for va_copy" >&5
13626 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13627 if test "${ac_cv_c_va_copy+set}" = set; then
13628 echo $ECHO_N "(cached) $ECHO_C" >&6
13630 cat >conftest.$ac_ext <<_ACEOF
13633 cat confdefs.h >>conftest.$ac_ext
13634 cat >>conftest.$ac_ext <<_ACEOF
13635 /* end confdefs.h. */
13636 #include <stdarg.h>
13647 rm -f conftest.$ac_objext conftest$ac_exeext
13648 if { (ac_try="$ac_link"
13649 case "(($ac_try" in
13650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13651 *) ac_try_echo=$ac_try;;
13653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13654 (eval "$ac_link") 2>conftest.er1
13656 grep -v '^ *+' conftest.er1 >conftest.err
13658 cat conftest.err >&5
13659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13660 (exit $ac_status); } &&
13661 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13662 { (case "(($ac_try" in
13663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13664 *) ac_try_echo=$ac_try;;
13666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13667 (eval "$ac_try") 2>&5
13669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670 (exit $ac_status); }; } &&
13671 { ac_try='test -s conftest$ac_exeext'
13672 { (case "(($ac_try" in
13673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13674 *) ac_try_echo=$ac_try;;
13676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13677 (eval "$ac_try") 2>&5
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); }; }; then
13681 ac_cv_c_va_copy="yes"
13683 echo "$as_me: failed program was:" >&5
13684 sed 's/^/| /' conftest.$ac_ext >&5
13686 ac_cv_c_va_copy="no"
13689 rm -f core conftest.err conftest.$ac_objext \
13690 conftest$ac_exeext conftest.$ac_ext
13693 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13694 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13695 if test "$ac_cv_c_va_copy" = "yes"
13698 cat >>confdefs.h <<\_ACEOF
13699 #define HAVE_VA_COPY 1
13703 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13704 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13705 if test "${ac_cv_c___va_copy+set}" = set; then
13706 echo $ECHO_N "(cached) $ECHO_C" >&6
13708 cat >conftest.$ac_ext <<_ACEOF
13711 cat confdefs.h >>conftest.$ac_ext
13712 cat >>conftest.$ac_ext <<_ACEOF
13713 /* end confdefs.h. */
13714 #include <stdarg.h>
13719 __va_copy(ap1,ap2);
13725 rm -f conftest.$ac_objext conftest$ac_exeext
13726 if { (ac_try="$ac_link"
13727 case "(($ac_try" in
13728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13729 *) ac_try_echo=$ac_try;;
13731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13732 (eval "$ac_link") 2>conftest.er1
13734 grep -v '^ *+' conftest.er1 >conftest.err
13736 cat conftest.err >&5
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); } &&
13739 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13740 { (case "(($ac_try" in
13741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13742 *) ac_try_echo=$ac_try;;
13744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13745 (eval "$ac_try") 2>&5
13747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13748 (exit $ac_status); }; } &&
13749 { ac_try='test -s conftest$ac_exeext'
13750 { (case "(($ac_try" in
13751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13752 *) ac_try_echo=$ac_try;;
13754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13755 (eval "$ac_try") 2>&5
13757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13758 (exit $ac_status); }; }; then
13759 ac_cv_c___va_copy="yes"
13761 echo "$as_me: failed program was:" >&5
13762 sed 's/^/| /' conftest.$ac_ext >&5
13764 ac_cv_c___va_copy="no"
13767 rm -f core conftest.err conftest.$ac_objext \
13768 conftest$ac_exeext conftest.$ac_ext
13771 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13772 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13773 if test "$ac_cv_c___va_copy" = "yes"
13776 cat >>confdefs.h <<\_ACEOF
13777 #define HAVE___VA_COPY 1
13782 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13783 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13784 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13785 echo $ECHO_N "(cached) $ECHO_C" >&6
13787 cat >conftest.$ac_ext <<_ACEOF
13790 cat confdefs.h >>conftest.$ac_ext
13791 cat >>conftest.$ac_ext <<_ACEOF
13792 /* end confdefs.h. */
13793 #include <setjmp.h>
13798 sigsetjmp( buf, 1 );
13799 siglongjmp( buf, 1 );
13804 rm -f conftest.$ac_objext conftest$ac_exeext
13805 if { (ac_try="$ac_link"
13806 case "(($ac_try" in
13807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13808 *) ac_try_echo=$ac_try;;
13810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13811 (eval "$ac_link") 2>conftest.er1
13813 grep -v '^ *+' conftest.er1 >conftest.err
13815 cat conftest.err >&5
13816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817 (exit $ac_status); } &&
13818 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13819 { (case "(($ac_try" in
13820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13821 *) ac_try_echo=$ac_try;;
13823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13824 (eval "$ac_try") 2>&5
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); }; } &&
13828 { ac_try='test -s conftest$ac_exeext'
13829 { (case "(($ac_try" in
13830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13831 *) ac_try_echo=$ac_try;;
13833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13834 (eval "$ac_try") 2>&5
13836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13837 (exit $ac_status); }; }; then
13838 ac_cv_c_sigsetjmp="yes"
13840 echo "$as_me: failed program was:" >&5
13841 sed 's/^/| /' conftest.$ac_ext >&5
13843 ac_cv_c_sigsetjmp="no"
13846 rm -f core conftest.err conftest.$ac_objext \
13847 conftest$ac_exeext conftest.$ac_ext
13850 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13851 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13852 if test "$ac_cv_c_sigsetjmp" = "yes"
13855 cat >>confdefs.h <<\_ACEOF
13856 #define HAVE_SIGSETJMP 1
13861 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13862 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13863 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13864 echo $ECHO_N "(cached) $ECHO_C" >&6
13866 cat >conftest.$ac_ext <<_ACEOF
13869 cat confdefs.h >>conftest.$ac_ext
13870 cat >>conftest.$ac_ext <<_ACEOF
13871 /* end confdefs.h. */
13872 #define _GNU_SOURCE
13873 #include <pthread.h>
13875 typedef pthread_rwlock_t ac__type_new_;
13879 if ((ac__type_new_ *) 0)
13881 if (sizeof (ac__type_new_))
13887 rm -f conftest.$ac_objext
13888 if { (ac_try="$ac_compile"
13889 case "(($ac_try" in
13890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13891 *) ac_try_echo=$ac_try;;
13893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13894 (eval "$ac_compile") 2>conftest.er1
13896 grep -v '^ *+' conftest.er1 >conftest.err
13898 cat conftest.err >&5
13899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13900 (exit $ac_status); } &&
13901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13902 { (case "(($ac_try" in
13903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13904 *) ac_try_echo=$ac_try;;
13906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13907 (eval "$ac_try") 2>&5
13909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13910 (exit $ac_status); }; } &&
13911 { ac_try='test -s conftest.$ac_objext'
13912 { (case "(($ac_try" in
13913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13914 *) ac_try_echo=$ac_try;;
13916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13917 (eval "$ac_try") 2>&5
13919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13920 (exit $ac_status); }; }; then
13921 ac_cv_type_pthread_rwlock_t=yes
13923 echo "$as_me: failed program was:" >&5
13924 sed 's/^/| /' conftest.$ac_ext >&5
13926 ac_cv_type_pthread_rwlock_t=no
13929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13931 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13932 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13933 if test $ac_cv_type_pthread_rwlock_t = yes; then
13935 cat >>confdefs.h <<_ACEOF
13936 #define HAVE_PTHREAD_RWLOCK_T 1
13941 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13942 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13943 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13944 echo $ECHO_N "(cached) $ECHO_C" >&6
13946 cat >conftest.$ac_ext <<_ACEOF
13949 cat confdefs.h >>conftest.$ac_ext
13950 cat >>conftest.$ac_ext <<_ACEOF
13951 /* end confdefs.h. */
13952 #define _GNU_SOURCE
13953 #include <pthread.h>
13955 typedef pthread_rwlockattr_t ac__type_new_;
13959 if ((ac__type_new_ *) 0)
13961 if (sizeof (ac__type_new_))
13967 rm -f conftest.$ac_objext
13968 if { (ac_try="$ac_compile"
13969 case "(($ac_try" in
13970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13971 *) ac_try_echo=$ac_try;;
13973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13974 (eval "$ac_compile") 2>conftest.er1
13976 grep -v '^ *+' conftest.er1 >conftest.err
13978 cat conftest.err >&5
13979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13980 (exit $ac_status); } &&
13981 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13982 { (case "(($ac_try" in
13983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13984 *) ac_try_echo=$ac_try;;
13986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13987 (eval "$ac_try") 2>&5
13989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990 (exit $ac_status); }; } &&
13991 { ac_try='test -s conftest.$ac_objext'
13992 { (case "(($ac_try" in
13993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13994 *) ac_try_echo=$ac_try;;
13996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13997 (eval "$ac_try") 2>&5
13999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 (exit $ac_status); }; }; then
14001 ac_cv_type_pthread_rwlockattr_t=yes
14003 echo "$as_me: failed program was:" >&5
14004 sed 's/^/| /' conftest.$ac_ext >&5
14006 ac_cv_type_pthread_rwlockattr_t=no
14009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14011 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14012 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14013 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14015 cat >>confdefs.h <<_ACEOF
14016 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14023 ac_wine_check_funcs_save_LIBS="$LIBS"
14024 LIBS="$LIBS $LIBPTHREAD"
14029 pthread_getattr_np \
14030 pthread_get_stackaddr_np \
14031 pthread_get_stacksize_np
14033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14034 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14036 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14037 echo $ECHO_N "(cached) $ECHO_C" >&6
14039 cat >conftest.$ac_ext <<_ACEOF
14042 cat confdefs.h >>conftest.$ac_ext
14043 cat >>conftest.$ac_ext <<_ACEOF
14044 /* end confdefs.h. */
14045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14047 #define $ac_func innocuous_$ac_func
14049 /* System header to define __stub macros and hopefully few prototypes,
14050 which can conflict with char $ac_func (); below.
14051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14052 <limits.h> exists even on freestanding compilers. */
14055 # include <limits.h>
14057 # include <assert.h>
14062 /* Override any GCC internal prototype to avoid an error.
14063 Use char because int might match the return type of a GCC
14064 builtin and then its argument prototype would still apply. */
14069 /* The GNU C library defines this for functions which it implements
14070 to always fail with ENOSYS. Some functions are actually named
14071 something starting with __ and the normal name is an alias. */
14072 #if defined __stub_$ac_func || defined __stub___$ac_func
14079 return $ac_func ();
14084 rm -f conftest.$ac_objext conftest$ac_exeext
14085 if { (ac_try="$ac_link"
14086 case "(($ac_try" in
14087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14088 *) ac_try_echo=$ac_try;;
14090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14091 (eval "$ac_link") 2>conftest.er1
14093 grep -v '^ *+' conftest.er1 >conftest.err
14095 cat conftest.err >&5
14096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14097 (exit $ac_status); } &&
14098 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14099 { (case "(($ac_try" in
14100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14101 *) ac_try_echo=$ac_try;;
14103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14104 (eval "$ac_try") 2>&5
14106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107 (exit $ac_status); }; } &&
14108 { ac_try='test -s conftest$ac_exeext'
14109 { (case "(($ac_try" in
14110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14111 *) ac_try_echo=$ac_try;;
14113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14114 (eval "$ac_try") 2>&5
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); }; }; then
14118 eval "$as_ac_var=yes"
14120 echo "$as_me: failed program was:" >&5
14121 sed 's/^/| /' conftest.$ac_ext >&5
14123 eval "$as_ac_var=no"
14126 rm -f core conftest.err conftest.$ac_objext \
14127 conftest$ac_exeext conftest.$ac_ext
14129 ac_res=`eval echo '${'$as_ac_var'}'`
14130 { echo "$as_me:$LINENO: result: $ac_res" >&5
14131 echo "${ECHO_T}$ac_res" >&6; }
14132 if test `eval echo '${'$as_ac_var'}'` = yes; then
14133 cat >>confdefs.h <<_ACEOF
14134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14140 LIBS="$ac_wine_check_funcs_save_LIBS"
14142 # Extract the first word of "artsc-config", so it can be a program name with args.
14143 set dummy artsc-config; ac_word=$2
14144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14146 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
14147 echo $ECHO_N "(cached) $ECHO_C" >&6
14149 case $ARTSCCONFIG in
14151 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
14154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14155 for as_dir in $PATH
14158 test -z "$as_dir" && as_dir=.
14159 for ac_exec_ext in '' $ac_executable_extensions; do
14160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14161 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
14162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14172 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
14173 if test -n "$ARTSCCONFIG"; then
14174 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
14175 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
14177 { echo "$as_me:$LINENO: result: no" >&5
14178 echo "${ECHO_T}no" >&6; }
14182 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
14185 for i in `$ARTSCCONFIG --cflags`
14188 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
14192 for i in `$ARTSCCONFIG --libs`
14195 -L/usr/lib|-L/usr/lib64) ;;
14196 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
14199 save_CFLAGS="$CFLAGS"
14200 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
14201 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
14202 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
14203 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
14204 echo $ECHO_N "(cached) $ECHO_C" >&6
14206 ac_check_lib_save_LIBS=$LIBS
14207 LIBS="-lartsc $ARTSC_LIBS $LIBS"
14208 cat >conftest.$ac_ext <<_ACEOF
14211 cat confdefs.h >>conftest.$ac_ext
14212 cat >>conftest.$ac_ext <<_ACEOF
14213 /* end confdefs.h. */
14215 /* Override any GCC internal prototype to avoid an error.
14216 Use char because int might match the return type of a GCC
14217 builtin and then its argument prototype would still apply. */
14225 return arts_init ();
14230 rm -f conftest.$ac_objext conftest$ac_exeext
14231 if { (ac_try="$ac_link"
14232 case "(($ac_try" in
14233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14234 *) ac_try_echo=$ac_try;;
14236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14237 (eval "$ac_link") 2>conftest.er1
14239 grep -v '^ *+' conftest.er1 >conftest.err
14241 cat conftest.err >&5
14242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14243 (exit $ac_status); } &&
14244 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14245 { (case "(($ac_try" in
14246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14247 *) ac_try_echo=$ac_try;;
14249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14250 (eval "$ac_try") 2>&5
14252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14253 (exit $ac_status); }; } &&
14254 { ac_try='test -s conftest$ac_exeext'
14255 { (case "(($ac_try" in
14256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14257 *) ac_try_echo=$ac_try;;
14259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14260 (eval "$ac_try") 2>&5
14262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14263 (exit $ac_status); }; }; then
14264 ac_cv_lib_artsc_arts_init=yes
14266 echo "$as_me: failed program was:" >&5
14267 sed 's/^/| /' conftest.$ac_ext >&5
14269 ac_cv_lib_artsc_arts_init=no
14272 rm -f core conftest.err conftest.$ac_objext \
14273 conftest$ac_exeext conftest.$ac_ext
14274 LIBS=$ac_check_lib_save_LIBS
14276 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
14277 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
14278 if test $ac_cv_lib_artsc_arts_init = yes; then
14279 cat >conftest.$ac_ext <<_ACEOF
14282 cat confdefs.h >>conftest.$ac_ext
14283 cat >>conftest.$ac_ext <<_ACEOF
14284 /* end confdefs.h. */
14289 arts_stream_t stream;
14294 rm -f conftest.$ac_objext
14295 if { (ac_try="$ac_compile"
14296 case "(($ac_try" in
14297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14298 *) ac_try_echo=$ac_try;;
14300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14301 (eval "$ac_compile") 2>conftest.er1
14303 grep -v '^ *+' conftest.er1 >conftest.err
14305 cat conftest.err >&5
14306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14307 (exit $ac_status); } &&
14308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14309 { (case "(($ac_try" in
14310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14311 *) ac_try_echo=$ac_try;;
14313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14314 (eval "$ac_try") 2>&5
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); }; } &&
14318 { ac_try='test -s conftest.$ac_objext'
14319 { (case "(($ac_try" in
14320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14321 *) ac_try_echo=$ac_try;;
14323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14324 (eval "$ac_try") 2>&5
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327 (exit $ac_status); }; }; then
14328 ARTSLIBS=$ARTSC_LIBS
14330 ARTSINCL=$ARTSC_CFLAGS
14333 cat >>confdefs.h <<\_ACEOF
14334 #define HAVE_ARTS 1
14338 echo "$as_me: failed program was:" >&5
14339 sed 's/^/| /' conftest.$ac_ext >&5
14344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14347 CFLAGS="$save_CFLAGS"
14350 # Extract the first word of "esd-config", so it can be a program name with args.
14351 set dummy esd-config; ac_word=$2
14352 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14354 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14355 echo $ECHO_N "(cached) $ECHO_C" >&6
14359 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14363 for as_dir in $PATH
14366 test -z "$as_dir" && as_dir=.
14367 for ac_exec_ext in '' $ac_executable_extensions; do
14368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14369 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14380 ESDCONFIG=$ac_cv_path_ESDCONFIG
14381 if test -n "$ESDCONFIG"; then
14382 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14383 echo "${ECHO_T}$ESDCONFIG" >&6; }
14385 { echo "$as_me:$LINENO: result: no" >&5
14386 echo "${ECHO_T}no" >&6; }
14390 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
14393 for i in `$ESDCONFIG --cflags`
14396 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14399 ESD_LIBS=`$ESDCONFIG --libs`
14400 save_CFLAGS="$CFLAGS"
14401 CFLAGS="$CFLAGS $ESD_CFLAGS"
14402 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14403 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14404 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14405 echo $ECHO_N "(cached) $ECHO_C" >&6
14407 ac_check_lib_save_LIBS=$LIBS
14409 cat >conftest.$ac_ext <<_ACEOF
14412 cat confdefs.h >>conftest.$ac_ext
14413 cat >>conftest.$ac_ext <<_ACEOF
14414 /* end confdefs.h. */
14416 /* Override any GCC internal prototype to avoid an error.
14417 Use char because int might match the return type of a GCC
14418 builtin and then its argument prototype would still apply. */
14422 char esd_open_sound ();
14426 return esd_open_sound ();
14431 rm -f conftest.$ac_objext conftest$ac_exeext
14432 if { (ac_try="$ac_link"
14433 case "(($ac_try" in
14434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14435 *) ac_try_echo=$ac_try;;
14437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14438 (eval "$ac_link") 2>conftest.er1
14440 grep -v '^ *+' conftest.er1 >conftest.err
14442 cat conftest.err >&5
14443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444 (exit $ac_status); } &&
14445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14446 { (case "(($ac_try" in
14447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14448 *) ac_try_echo=$ac_try;;
14450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14451 (eval "$ac_try") 2>&5
14453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14454 (exit $ac_status); }; } &&
14455 { ac_try='test -s conftest$ac_exeext'
14456 { (case "(($ac_try" in
14457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14458 *) ac_try_echo=$ac_try;;
14460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14461 (eval "$ac_try") 2>&5
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); }; }; then
14465 ac_cv_lib_esd_esd_open_sound=yes
14467 echo "$as_me: failed program was:" >&5
14468 sed 's/^/| /' conftest.$ac_ext >&5
14470 ac_cv_lib_esd_esd_open_sound=no
14473 rm -f core conftest.err conftest.$ac_objext \
14474 conftest$ac_exeext conftest.$ac_ext
14475 LIBS=$ac_check_lib_save_LIBS
14477 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14478 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14479 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14482 ESDINCL=$ESD_CFLAGS
14485 cat >>confdefs.h <<\_ACEOF
14491 CFLAGS="$save_CFLAGS"
14496 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14498 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14499 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14500 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14501 echo $ECHO_N "(cached) $ECHO_C" >&6
14503 ac_check_lib_save_LIBS=$LIBS
14504 LIBS="-lasound $LIBS"
14505 cat >conftest.$ac_ext <<_ACEOF
14508 cat confdefs.h >>conftest.$ac_ext
14509 cat >>conftest.$ac_ext <<_ACEOF
14510 /* end confdefs.h. */
14512 /* Override any GCC internal prototype to avoid an error.
14513 Use char because int might match the return type of a GCC
14514 builtin and then its argument prototype would still apply. */
14518 char snd_pcm_hw_params_get_access ();
14522 return snd_pcm_hw_params_get_access ();
14527 rm -f conftest.$ac_objext conftest$ac_exeext
14528 if { (ac_try="$ac_link"
14529 case "(($ac_try" in
14530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14531 *) ac_try_echo=$ac_try;;
14533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14534 (eval "$ac_link") 2>conftest.er1
14536 grep -v '^ *+' conftest.er1 >conftest.err
14538 cat conftest.err >&5
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); } &&
14541 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14542 { (case "(($ac_try" in
14543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14544 *) ac_try_echo=$ac_try;;
14546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14547 (eval "$ac_try") 2>&5
14549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14550 (exit $ac_status); }; } &&
14551 { ac_try='test -s conftest$ac_exeext'
14552 { (case "(($ac_try" in
14553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14554 *) ac_try_echo=$ac_try;;
14556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14557 (eval "$ac_try") 2>&5
14559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14560 (exit $ac_status); }; }; then
14561 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14563 echo "$as_me: failed program was:" >&5
14564 sed 's/^/| /' conftest.$ac_ext >&5
14566 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14569 rm -f core conftest.err conftest.$ac_objext \
14570 conftest$ac_exeext conftest.$ac_ext
14571 LIBS=$ac_check_lib_save_LIBS
14573 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14574 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14575 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14576 cat >conftest.$ac_ext <<_ACEOF
14579 cat confdefs.h >>conftest.$ac_ext
14580 cat >>conftest.$ac_ext <<_ACEOF
14581 /* end confdefs.h. */
14582 #ifdef HAVE_ALSA_ASOUNDLIB_H
14583 #include <alsa/asoundlib.h>
14584 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14585 #include <sys/asoundlib.h>
14590 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14595 rm -f conftest.$ac_objext
14596 if { (ac_try="$ac_compile"
14597 case "(($ac_try" in
14598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14599 *) ac_try_echo=$ac_try;;
14601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14602 (eval "$ac_compile") 2>conftest.er1
14604 grep -v '^ *+' conftest.er1 >conftest.err
14606 cat conftest.err >&5
14607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14608 (exit $ac_status); } &&
14609 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14610 { (case "(($ac_try" in
14611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14612 *) ac_try_echo=$ac_try;;
14614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14615 (eval "$ac_try") 2>&5
14617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14618 (exit $ac_status); }; } &&
14619 { ac_try='test -s conftest.$ac_objext'
14620 { (case "(($ac_try" in
14621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14622 *) ac_try_echo=$ac_try;;
14624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14625 (eval "$ac_try") 2>&5
14627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14628 (exit $ac_status); }; }; then
14630 cat >>confdefs.h <<\_ACEOF
14631 #define HAVE_ALSA 1
14634 ALSALIBS="-lasound"
14636 echo "$as_me: failed program was:" >&5
14637 sed 's/^/| /' conftest.$ac_ext >&5
14642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14650 if test "$ac_cv_header_libaudioio_h" = "yes"
14652 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14653 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14654 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14655 echo $ECHO_N "(cached) $ECHO_C" >&6
14657 ac_check_lib_save_LIBS=$LIBS
14658 LIBS="-laudioio $LIBS"
14659 cat >conftest.$ac_ext <<_ACEOF
14662 cat confdefs.h >>conftest.$ac_ext
14663 cat >>conftest.$ac_ext <<_ACEOF
14664 /* end confdefs.h. */
14666 /* Override any GCC internal prototype to avoid an error.
14667 Use char because int might match the return type of a GCC
14668 builtin and then its argument prototype would still apply. */
14672 char AudioIOGetVersion ();
14676 return AudioIOGetVersion ();
14681 rm -f conftest.$ac_objext conftest$ac_exeext
14682 if { (ac_try="$ac_link"
14683 case "(($ac_try" in
14684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14685 *) ac_try_echo=$ac_try;;
14687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14688 (eval "$ac_link") 2>conftest.er1
14690 grep -v '^ *+' conftest.er1 >conftest.err
14692 cat conftest.err >&5
14693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14694 (exit $ac_status); } &&
14695 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14696 { (case "(($ac_try" in
14697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14698 *) ac_try_echo=$ac_try;;
14700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14701 (eval "$ac_try") 2>&5
14703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704 (exit $ac_status); }; } &&
14705 { ac_try='test -s conftest$ac_exeext'
14706 { (case "(($ac_try" in
14707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14708 *) ac_try_echo=$ac_try;;
14710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14711 (eval "$ac_try") 2>&5
14713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14714 (exit $ac_status); }; }; then
14715 ac_cv_lib_audioio_AudioIOGetVersion=yes
14717 echo "$as_me: failed program was:" >&5
14718 sed 's/^/| /' conftest.$ac_ext >&5
14720 ac_cv_lib_audioio_AudioIOGetVersion=no
14723 rm -f core conftest.err conftest.$ac_objext \
14724 conftest$ac_exeext conftest.$ac_ext
14725 LIBS=$ac_check_lib_save_LIBS
14727 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14728 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14729 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14730 AUDIOIOLIBS="-laudioio"
14732 cat >>confdefs.h <<\_ACEOF
14733 #define HAVE_LIBAUDIOIO 1
14741 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14743 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
14744 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
14745 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
14746 echo $ECHO_N "(cached) $ECHO_C" >&6
14748 ac_check_lib_save_LIBS=$LIBS
14749 LIBS="-lcapi20 $LIBS"
14750 cat >conftest.$ac_ext <<_ACEOF
14753 cat confdefs.h >>conftest.$ac_ext
14754 cat >>conftest.$ac_ext <<_ACEOF
14755 /* end confdefs.h. */
14757 /* Override any GCC internal prototype to avoid an error.
14758 Use char because int might match the return type of a GCC
14759 builtin and then its argument prototype would still apply. */
14763 char capi20_register ();
14767 return capi20_register ();
14772 rm -f conftest.$ac_objext conftest$ac_exeext
14773 if { (ac_try="$ac_link"
14774 case "(($ac_try" in
14775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14776 *) ac_try_echo=$ac_try;;
14778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14779 (eval "$ac_link") 2>conftest.er1
14781 grep -v '^ *+' conftest.er1 >conftest.err
14783 cat conftest.err >&5
14784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14785 (exit $ac_status); } &&
14786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14787 { (case "(($ac_try" in
14788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14789 *) ac_try_echo=$ac_try;;
14791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14792 (eval "$ac_try") 2>&5
14794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14795 (exit $ac_status); }; } &&
14796 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
14806 ac_cv_lib_capi20_capi20_register=yes
14808 echo "$as_me: failed program was:" >&5
14809 sed 's/^/| /' conftest.$ac_ext >&5
14811 ac_cv_lib_capi20_capi20_register=no
14814 rm -f core conftest.err conftest.$ac_objext \
14815 conftest$ac_exeext conftest.$ac_ext
14816 LIBS=$ac_check_lib_save_LIBS
14818 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
14819 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
14820 if test $ac_cv_lib_capi20_capi20_register = yes; then
14822 cat >>confdefs.h <<\_ACEOF
14823 #define HAVE_CAPI4LINUX 1
14833 if test "x${GCC}" = "xyes"
14835 EXTRACFLAGS="-Wall -pipe"
14837 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14838 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14839 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14840 echo $ECHO_N "(cached) $ECHO_C" >&6
14842 if test "$cross_compiling" = yes; then
14843 ac_cv_c_gcc_strength_bug="yes"
14845 cat >conftest.$ac_ext <<_ACEOF
14848 cat confdefs.h >>conftest.$ac_ext
14849 cat >>conftest.$ac_ext <<_ACEOF
14850 /* end confdefs.h. */
14852 int L[4] = {0,1,2,3};
14854 static int Array[3];
14855 unsigned int B = 3;
14857 for(i=0; i<B; i++) Array[i] = i - 3;
14858 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14861 exit( Array[1] != -2 || L[2] != 3);
14864 rm -f conftest$ac_exeext
14865 if { (ac_try="$ac_link"
14866 case "(($ac_try" in
14867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14868 *) ac_try_echo=$ac_try;;
14870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14871 (eval "$ac_link") 2>&5
14873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14874 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14875 { (case "(($ac_try" in
14876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14877 *) ac_try_echo=$ac_try;;
14879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14880 (eval "$ac_try") 2>&5
14882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883 (exit $ac_status); }; }; then
14884 ac_cv_c_gcc_strength_bug="no"
14886 echo "$as_me: program exited with status $ac_status" >&5
14887 echo "$as_me: failed program was:" >&5
14888 sed 's/^/| /' conftest.$ac_ext >&5
14890 ( exit $ac_status )
14891 ac_cv_c_gcc_strength_bug="yes"
14893 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14898 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14899 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14900 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14902 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14905 { echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
14906 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6; }
14907 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
14908 echo $ECHO_N "(cached) $ECHO_C" >&6
14910 ac_wine_try_cflags_saved=$CFLAGS
14911 CFLAGS="$CFLAGS -fshort-wchar"
14912 cat >conftest.$ac_ext <<_ACEOF
14915 cat confdefs.h >>conftest.$ac_ext
14916 cat >>conftest.$ac_ext <<_ACEOF
14917 /* end confdefs.h. */
14927 rm -f conftest.$ac_objext conftest$ac_exeext
14928 if { (ac_try="$ac_link"
14929 case "(($ac_try" in
14930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14931 *) ac_try_echo=$ac_try;;
14933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14934 (eval "$ac_link") 2>conftest.er1
14936 grep -v '^ *+' conftest.er1 >conftest.err
14938 cat conftest.err >&5
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); } &&
14941 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14942 { (case "(($ac_try" in
14943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14944 *) ac_try_echo=$ac_try;;
14946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14947 (eval "$ac_try") 2>&5
14949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14950 (exit $ac_status); }; } &&
14951 { ac_try='test -s conftest$ac_exeext'
14952 { (case "(($ac_try" in
14953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14954 *) ac_try_echo=$ac_try;;
14956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14957 (eval "$ac_try") 2>&5
14959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960 (exit $ac_status); }; }; then
14961 ac_cv_c_gcc_fshort_wchar="yes"
14963 echo "$as_me: failed program was:" >&5
14964 sed 's/^/| /' conftest.$ac_ext >&5
14966 ac_cv_c_gcc_fshort_wchar="no"
14969 rm -f core conftest.err conftest.$ac_objext \
14970 conftest$ac_exeext conftest.$ac_ext
14971 CFLAGS=$ac_wine_try_cflags_saved
14973 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
14974 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6; }
14975 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
14978 cat >>confdefs.h <<\_ACEOF
14979 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14984 { echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
14985 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6; }
14986 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
14987 echo $ECHO_N "(cached) $ECHO_C" >&6
14989 ac_wine_try_cflags_saved=$CFLAGS
14990 CFLAGS="$CFLAGS -fno-strict-aliasing"
14991 cat >conftest.$ac_ext <<_ACEOF
14994 cat confdefs.h >>conftest.$ac_ext
14995 cat >>conftest.$ac_ext <<_ACEOF
14996 /* end confdefs.h. */
15006 rm -f conftest.$ac_objext conftest$ac_exeext
15007 if { (ac_try="$ac_link"
15008 case "(($ac_try" in
15009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15010 *) ac_try_echo=$ac_try;;
15012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15013 (eval "$ac_link") 2>conftest.er1
15015 grep -v '^ *+' conftest.er1 >conftest.err
15017 cat conftest.err >&5
15018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15019 (exit $ac_status); } &&
15020 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15021 { (case "(($ac_try" in
15022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15023 *) ac_try_echo=$ac_try;;
15025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15026 (eval "$ac_try") 2>&5
15028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15029 (exit $ac_status); }; } &&
15030 { ac_try='test -s conftest$ac_exeext'
15031 { (case "(($ac_try" in
15032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15033 *) ac_try_echo=$ac_try;;
15035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15036 (eval "$ac_try") 2>&5
15038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15039 (exit $ac_status); }; }; then
15040 ac_cv_c_gcc_no_strict_aliasing="yes"
15042 echo "$as_me: failed program was:" >&5
15043 sed 's/^/| /' conftest.$ac_ext >&5
15045 ac_cv_c_gcc_no_strict_aliasing="no"
15048 rm -f core conftest.err conftest.$ac_objext \
15049 conftest$ac_exeext conftest.$ac_ext
15050 CFLAGS=$ac_wine_try_cflags_saved
15052 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
15053 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6; }
15054 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
15056 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15059 { echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
15060 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6; }
15061 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
15062 echo $ECHO_N "(cached) $ECHO_C" >&6
15064 ac_wine_try_cflags_saved=$CFLAGS
15065 CFLAGS="$CFLAGS -gstabs+"
15066 cat >conftest.$ac_ext <<_ACEOF
15069 cat confdefs.h >>conftest.$ac_ext
15070 cat >>conftest.$ac_ext <<_ACEOF
15071 /* end confdefs.h. */
15081 rm -f conftest.$ac_objext conftest$ac_exeext
15082 if { (ac_try="$ac_link"
15083 case "(($ac_try" in
15084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15085 *) ac_try_echo=$ac_try;;
15087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15088 (eval "$ac_link") 2>conftest.er1
15090 grep -v '^ *+' conftest.er1 >conftest.err
15092 cat conftest.err >&5
15093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15094 (exit $ac_status); } &&
15095 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15096 { (case "(($ac_try" in
15097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15098 *) ac_try_echo=$ac_try;;
15100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15101 (eval "$ac_try") 2>&5
15103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15104 (exit $ac_status); }; } &&
15105 { ac_try='test -s conftest$ac_exeext'
15106 { (case "(($ac_try" in
15107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15108 *) ac_try_echo=$ac_try;;
15110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15111 (eval "$ac_try") 2>&5
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); }; }; then
15115 ac_cv_c_gcc_gstabs="yes"
15117 echo "$as_me: failed program was:" >&5
15118 sed 's/^/| /' conftest.$ac_ext >&5
15120 ac_cv_c_gcc_gstabs="no"
15123 rm -f core conftest.err conftest.$ac_objext \
15124 conftest$ac_exeext conftest.$ac_ext
15125 CFLAGS=$ac_wine_try_cflags_saved
15127 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
15128 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6; }
15129 if test "$ac_cv_c_gcc_gstabs" = "yes"
15131 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
15134 { echo "$as_me:$LINENO: checking for gcc -Wdeclaration-after-statement support" >&5
15135 echo $ECHO_N "checking for gcc -Wdeclaration-after-statement support... $ECHO_C" >&6; }
15136 if test "${ac_cv_c_gcc_decl_after_statement+set}" = set; then
15137 echo $ECHO_N "(cached) $ECHO_C" >&6
15139 ac_wine_try_cflags_saved=$CFLAGS
15140 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15141 cat >conftest.$ac_ext <<_ACEOF
15144 cat confdefs.h >>conftest.$ac_ext
15145 cat >>conftest.$ac_ext <<_ACEOF
15146 /* end confdefs.h. */
15156 rm -f conftest.$ac_objext conftest$ac_exeext
15157 if { (ac_try="$ac_link"
15158 case "(($ac_try" in
15159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15160 *) ac_try_echo=$ac_try;;
15162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15163 (eval "$ac_link") 2>conftest.er1
15165 grep -v '^ *+' conftest.er1 >conftest.err
15167 cat conftest.err >&5
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169 (exit $ac_status); } &&
15170 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15171 { (case "(($ac_try" in
15172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15173 *) ac_try_echo=$ac_try;;
15175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15176 (eval "$ac_try") 2>&5
15178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15179 (exit $ac_status); }; } &&
15180 { ac_try='test -s conftest$ac_exeext'
15181 { (case "(($ac_try" in
15182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15183 *) ac_try_echo=$ac_try;;
15185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15186 (eval "$ac_try") 2>&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); }; }; then
15190 ac_cv_c_gcc_decl_after_statement="yes"
15192 echo "$as_me: failed program was:" >&5
15193 sed 's/^/| /' conftest.$ac_ext >&5
15195 ac_cv_c_gcc_decl_after_statement="no"
15198 rm -f core conftest.err conftest.$ac_objext \
15199 conftest$ac_exeext conftest.$ac_ext
15200 CFLAGS=$ac_wine_try_cflags_saved
15202 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_decl_after_statement" >&5
15203 echo "${ECHO_T}$ac_cv_c_gcc_decl_after_statement" >&6; }
15204 if test "$ac_cv_c_gcc_decl_after_statement" = "yes"
15206 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15209 saved_CFLAGS="$CFLAGS"
15210 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15211 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15212 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15213 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15214 echo $ECHO_N "(cached) $ECHO_C" >&6
15216 cat >conftest.$ac_ext <<_ACEOF
15219 cat confdefs.h >>conftest.$ac_ext
15220 cat >>conftest.$ac_ext <<_ACEOF
15221 /* end confdefs.h. */
15222 #include <string.h>
15231 rm -f conftest.$ac_objext
15232 if { (ac_try="$ac_compile"
15233 case "(($ac_try" in
15234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15235 *) ac_try_echo=$ac_try;;
15237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15238 (eval "$ac_compile") 2>conftest.er1
15240 grep -v '^ *+' conftest.er1 >conftest.err
15242 cat conftest.err >&5
15243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15244 (exit $ac_status); } &&
15245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15246 { (case "(($ac_try" in
15247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15248 *) ac_try_echo=$ac_try;;
15250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15251 (eval "$ac_try") 2>&5
15253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254 (exit $ac_status); }; } &&
15255 { ac_try='test -s conftest.$ac_objext'
15256 { (case "(($ac_try" in
15257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15258 *) ac_try_echo=$ac_try;;
15260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15261 (eval "$ac_try") 2>&5
15263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15264 (exit $ac_status); }; }; then
15265 ac_cv_c_string_h_warnings=no
15267 echo "$as_me: failed program was:" >&5
15268 sed 's/^/| /' conftest.$ac_ext >&5
15270 ac_cv_c_string_h_warnings=yes
15273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15275 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15276 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15277 CFLAGS="$saved_CFLAGS"
15278 if test "$ac_cv_c_string_h_warnings" = "no"
15280 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15285 saved_CFLAGS="$CFLAGS"
15286 CFLAGS="$CFLAGS -Werror"
15287 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15288 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15289 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15290 echo $ECHO_N "(cached) $ECHO_C" >&6
15292 cat >conftest.$ac_ext <<_ACEOF
15295 cat confdefs.h >>conftest.$ac_ext
15296 cat >>conftest.$ac_ext <<_ACEOF
15297 /* end confdefs.h. */
15302 int iswlower(unsigned short);
15307 rm -f conftest.$ac_objext
15308 if { (ac_try="$ac_compile"
15309 case "(($ac_try" in
15310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15311 *) ac_try_echo=$ac_try;;
15313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15314 (eval "$ac_compile") 2>conftest.er1
15316 grep -v '^ *+' conftest.er1 >conftest.err
15318 cat conftest.err >&5
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); } &&
15321 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15322 { (case "(($ac_try" in
15323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15324 *) ac_try_echo=$ac_try;;
15326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15327 (eval "$ac_try") 2>&5
15329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15330 (exit $ac_status); }; } &&
15331 { ac_try='test -s conftest.$ac_objext'
15332 { (case "(($ac_try" in
15333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15334 *) ac_try_echo=$ac_try;;
15336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15337 (eval "$ac_try") 2>&5
15339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15340 (exit $ac_status); }; }; then
15341 ac_cv_c_builtin_wchar_ctype=no
15343 echo "$as_me: failed program was:" >&5
15344 sed 's/^/| /' conftest.$ac_ext >&5
15346 ac_cv_c_builtin_wchar_ctype=yes
15349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15351 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15352 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15353 CFLAGS="$saved_CFLAGS"
15354 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15358 iswalnum iswalpha iswcntrl iswdigit iswgraph iswlower \
15359 iswprint iswpunct iswspace iswupper iswxdigit towlower towupper
15361 BUILTINFLAG="$BUILTINFLAG -fno-builtin-$builtin"
15367 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15368 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15369 if test "${ac_cv_asm_func_def+set}" = set; then
15370 echo $ECHO_N "(cached) $ECHO_C" >&6
15372 cat >conftest.$ac_ext <<_ACEOF
15375 cat confdefs.h >>conftest.$ac_ext
15376 cat >>conftest.$ac_ext <<_ACEOF
15377 /* end confdefs.h. */
15378 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"); }
15388 rm -f conftest.$ac_objext conftest$ac_exeext
15389 if { (ac_try="$ac_link"
15390 case "(($ac_try" in
15391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15392 *) ac_try_echo=$ac_try;;
15394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15395 (eval "$ac_link") 2>conftest.er1
15397 grep -v '^ *+' conftest.er1 >conftest.err
15399 cat conftest.err >&5
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); } &&
15402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15403 { (case "(($ac_try" in
15404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15405 *) ac_try_echo=$ac_try;;
15407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15408 (eval "$ac_try") 2>&5
15410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15411 (exit $ac_status); }; } &&
15412 { ac_try='test -s conftest$ac_exeext'
15413 { (case "(($ac_try" in
15414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15415 *) ac_try_echo=$ac_try;;
15417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15418 (eval "$ac_try") 2>&5
15420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15421 (exit $ac_status); }; }; then
15422 ac_cv_asm_func_def=".def"
15424 echo "$as_me: failed program was:" >&5
15425 sed 's/^/| /' conftest.$ac_ext >&5
15427 cat >conftest.$ac_ext <<_ACEOF
15430 cat confdefs.h >>conftest.$ac_ext
15431 cat >>conftest.$ac_ext <<_ACEOF
15432 /* end confdefs.h. */
15433 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
15443 rm -f conftest.$ac_objext conftest$ac_exeext
15444 if { (ac_try="$ac_link"
15445 case "(($ac_try" in
15446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15447 *) ac_try_echo=$ac_try;;
15449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15450 (eval "$ac_link") 2>conftest.er1
15452 grep -v '^ *+' conftest.er1 >conftest.err
15454 cat conftest.err >&5
15455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456 (exit $ac_status); } &&
15457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15458 { (case "(($ac_try" in
15459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15460 *) ac_try_echo=$ac_try;;
15462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15463 (eval "$ac_try") 2>&5
15465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15466 (exit $ac_status); }; } &&
15467 { ac_try='test -s conftest$ac_exeext'
15468 { (case "(($ac_try" in
15469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15470 *) ac_try_echo=$ac_try;;
15472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15473 (eval "$ac_try") 2>&5
15475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15476 (exit $ac_status); }; }; then
15477 ac_cv_asm_func_def=".type @function"
15479 echo "$as_me: failed program was:" >&5
15480 sed 's/^/| /' conftest.$ac_ext >&5
15482 cat >conftest.$ac_ext <<_ACEOF
15485 cat confdefs.h >>conftest.$ac_ext
15486 cat >>conftest.$ac_ext <<_ACEOF
15487 /* end confdefs.h. */
15488 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
15498 rm -f conftest.$ac_objext conftest$ac_exeext
15499 if { (ac_try="$ac_link"
15500 case "(($ac_try" in
15501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15502 *) ac_try_echo=$ac_try;;
15504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15505 (eval "$ac_link") 2>conftest.er1
15507 grep -v '^ *+' conftest.er1 >conftest.err
15509 cat conftest.err >&5
15510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15511 (exit $ac_status); } &&
15512 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15513 { (case "(($ac_try" in
15514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15515 *) ac_try_echo=$ac_try;;
15517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15518 (eval "$ac_try") 2>&5
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); }; } &&
15522 { ac_try='test -s conftest$ac_exeext'
15523 { (case "(($ac_try" in
15524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15525 *) ac_try_echo=$ac_try;;
15527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15528 (eval "$ac_try") 2>&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); }; }; then
15532 ac_cv_asm_func_def=".type 2"
15534 echo "$as_me: failed program was:" >&5
15535 sed 's/^/| /' conftest.$ac_ext >&5
15537 ac_cv_asm_func_def="unknown"
15540 rm -f core conftest.err conftest.$ac_objext \
15541 conftest$ac_exeext conftest.$ac_ext
15544 rm -f core conftest.err conftest.$ac_objext \
15545 conftest$ac_exeext conftest.$ac_ext
15548 rm -f core conftest.err conftest.$ac_objext \
15549 conftest$ac_exeext conftest.$ac_ext
15551 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15552 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15556 case "$ac_cv_asm_func_def" in
15558 cat >>confdefs.h <<\_ACEOF
15559 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15563 cat >>confdefs.h <<\_ACEOF
15564 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15568 cat >>confdefs.h <<\_ACEOF
15569 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15573 cat >>confdefs.h <<\_ACEOF
15574 #define __ASM_FUNC(name) ""
15580 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15581 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15582 if test "${ac_cv_c_extern_prefix+set}" = set; then
15583 echo $ECHO_N "(cached) $ECHO_C" >&6
15585 cat >conftest.$ac_ext <<_ACEOF
15588 cat confdefs.h >>conftest.$ac_ext
15589 cat >>conftest.$ac_ext <<_ACEOF
15590 /* end confdefs.h. */
15591 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
15592 extern int ac_test;
15596 if (ac_test) return 1
15601 rm -f conftest.$ac_objext conftest$ac_exeext
15602 if { (ac_try="$ac_link"
15603 case "(($ac_try" in
15604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15605 *) ac_try_echo=$ac_try;;
15607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15608 (eval "$ac_link") 2>conftest.er1
15610 grep -v '^ *+' conftest.er1 >conftest.err
15612 cat conftest.err >&5
15613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15614 (exit $ac_status); } &&
15615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15616 { (case "(($ac_try" in
15617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15618 *) ac_try_echo=$ac_try;;
15620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15621 (eval "$ac_try") 2>&5
15623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15624 (exit $ac_status); }; } &&
15625 { ac_try='test -s conftest$ac_exeext'
15626 { (case "(($ac_try" in
15627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15628 *) ac_try_echo=$ac_try;;
15630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15631 (eval "$ac_try") 2>&5
15633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15634 (exit $ac_status); }; }; then
15635 ac_cv_c_extern_prefix="yes"
15637 echo "$as_me: failed program was:" >&5
15638 sed 's/^/| /' conftest.$ac_ext >&5
15640 ac_cv_c_extern_prefix="no"
15643 rm -f core conftest.err conftest.$ac_objext \
15644 conftest$ac_exeext conftest.$ac_ext
15646 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15647 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15651 if test "$ac_cv_c_extern_prefix" = "yes"
15653 cat >>confdefs.h <<\_ACEOF
15654 #define __ASM_NAME(name) "_" name
15658 cat >>confdefs.h <<\_ACEOF
15659 #define __ASM_NAME(name) name
15667 DLLFLAGS="-D_REENTRANT"
15682 if test -n "$ac_tool_prefix"; then
15683 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15684 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15685 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15687 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15688 echo $ECHO_N "(cached) $ECHO_C" >&6
15690 if test -n "$DLLTOOL"; then
15691 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15694 for as_dir in $PATH
15697 test -z "$as_dir" && as_dir=.
15698 for ac_exec_ext in '' $ac_executable_extensions; do
15699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15700 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15710 DLLTOOL=$ac_cv_prog_DLLTOOL
15711 if test -n "$DLLTOOL"; then
15712 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15713 echo "${ECHO_T}$DLLTOOL" >&6; }
15715 { echo "$as_me:$LINENO: result: no" >&5
15716 echo "${ECHO_T}no" >&6; }
15721 if test -z "$ac_cv_prog_DLLTOOL"; then
15722 ac_ct_DLLTOOL=$DLLTOOL
15723 # Extract the first word of "dlltool", so it can be a program name with args.
15724 set dummy dlltool; ac_word=$2
15725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15727 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15728 echo $ECHO_N "(cached) $ECHO_C" >&6
15730 if test -n "$ac_ct_DLLTOOL"; then
15731 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15734 for as_dir in $PATH
15737 test -z "$as_dir" && as_dir=.
15738 for ac_exec_ext in '' $ac_executable_extensions; do
15739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15740 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15750 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15751 if test -n "$ac_ct_DLLTOOL"; then
15752 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15753 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
15755 { echo "$as_me:$LINENO: result: no" >&5
15756 echo "${ECHO_T}no" >&6; }
15759 if test "x$ac_ct_DLLTOOL" = x; then
15762 case $cross_compiling:$ac_tool_warned in
15764 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15765 whose name does not start with the host triplet. If you think this
15766 configuration is useful to you, please write to autoconf@gnu.org." >&5
15767 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15768 whose name does not start with the host triplet. If you think this
15769 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15770 ac_tool_warned=yes ;;
15772 DLLTOOL=$ac_ct_DLLTOOL
15775 DLLTOOL="$ac_cv_prog_DLLTOOL"
15778 if test -n "$ac_tool_prefix"; then
15779 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
15780 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
15781 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15783 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
15784 echo $ECHO_N "(cached) $ECHO_C" >&6
15786 if test -n "$DLLWRAP"; then
15787 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
15789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15790 for as_dir in $PATH
15793 test -z "$as_dir" && as_dir=.
15794 for ac_exec_ext in '' $ac_executable_extensions; do
15795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15796 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
15797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15806 DLLWRAP=$ac_cv_prog_DLLWRAP
15807 if test -n "$DLLWRAP"; then
15808 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
15809 echo "${ECHO_T}$DLLWRAP" >&6; }
15811 { echo "$as_me:$LINENO: result: no" >&5
15812 echo "${ECHO_T}no" >&6; }
15817 if test -z "$ac_cv_prog_DLLWRAP"; then
15818 ac_ct_DLLWRAP=$DLLWRAP
15819 # Extract the first word of "dllwrap", so it can be a program name with args.
15820 set dummy dllwrap; ac_word=$2
15821 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15823 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
15824 echo $ECHO_N "(cached) $ECHO_C" >&6
15826 if test -n "$ac_ct_DLLWRAP"; then
15827 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
15829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15830 for as_dir in $PATH
15833 test -z "$as_dir" && as_dir=.
15834 for ac_exec_ext in '' $ac_executable_extensions; do
15835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15836 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
15837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15846 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
15847 if test -n "$ac_ct_DLLWRAP"; then
15848 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
15849 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
15851 { echo "$as_me:$LINENO: result: no" >&5
15852 echo "${ECHO_T}no" >&6; }
15855 if test "x$ac_ct_DLLWRAP" = x; then
15858 case $cross_compiling:$ac_tool_warned in
15860 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15861 whose name does not start with the host triplet. If you think this
15862 configuration is useful to you, please write to autoconf@gnu.org." >&5
15863 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15864 whose name does not start with the host triplet. If you think this
15865 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15866 ac_tool_warned=yes ;;
15868 DLLWRAP=$ac_ct_DLLWRAP
15871 DLLWRAP="$ac_cv_prog_DLLWRAP"
15874 if test "$DLLWRAP" = "false"; then
15884 if test "$ac_cv_header_dlfcn_h" = "yes"
15887 for ac_func in dlopen
15889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15890 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15892 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15893 echo $ECHO_N "(cached) $ECHO_C" >&6
15895 cat >conftest.$ac_ext <<_ACEOF
15898 cat confdefs.h >>conftest.$ac_ext
15899 cat >>conftest.$ac_ext <<_ACEOF
15900 /* end confdefs.h. */
15901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15903 #define $ac_func innocuous_$ac_func
15905 /* System header to define __stub macros and hopefully few prototypes,
15906 which can conflict with char $ac_func (); below.
15907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15908 <limits.h> exists even on freestanding compilers. */
15911 # include <limits.h>
15913 # include <assert.h>
15918 /* Override any GCC internal prototype to avoid an error.
15919 Use char because int might match the return type of a GCC
15920 builtin and then its argument prototype would still apply. */
15925 /* The GNU C library defines this for functions which it implements
15926 to always fail with ENOSYS. Some functions are actually named
15927 something starting with __ and the normal name is an alias. */
15928 #if defined __stub_$ac_func || defined __stub___$ac_func
15935 return $ac_func ();
15940 rm -f conftest.$ac_objext conftest$ac_exeext
15941 if { (ac_try="$ac_link"
15942 case "(($ac_try" in
15943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15944 *) ac_try_echo=$ac_try;;
15946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15947 (eval "$ac_link") 2>conftest.er1
15949 grep -v '^ *+' conftest.er1 >conftest.err
15951 cat conftest.err >&5
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); } &&
15954 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15955 { (case "(($ac_try" in
15956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15957 *) ac_try_echo=$ac_try;;
15959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15960 (eval "$ac_try") 2>&5
15962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15963 (exit $ac_status); }; } &&
15964 { ac_try='test -s conftest$ac_exeext'
15965 { (case "(($ac_try" in
15966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15967 *) ac_try_echo=$ac_try;;
15969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15970 (eval "$ac_try") 2>&5
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); }; }; then
15974 eval "$as_ac_var=yes"
15976 echo "$as_me: failed program was:" >&5
15977 sed 's/^/| /' conftest.$ac_ext >&5
15979 eval "$as_ac_var=no"
15982 rm -f core conftest.err conftest.$ac_objext \
15983 conftest$ac_exeext conftest.$ac_ext
15985 ac_res=`eval echo '${'$as_ac_var'}'`
15986 { echo "$as_me:$LINENO: result: $ac_res" >&5
15987 echo "${ECHO_T}$ac_res" >&6; }
15988 if test `eval echo '${'$as_ac_var'}'` = yes; then
15989 cat >>confdefs.h <<_ACEOF
15990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15994 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15995 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15996 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15997 echo $ECHO_N "(cached) $ECHO_C" >&6
15999 ac_check_lib_save_LIBS=$LIBS
16001 cat >conftest.$ac_ext <<_ACEOF
16004 cat confdefs.h >>conftest.$ac_ext
16005 cat >>conftest.$ac_ext <<_ACEOF
16006 /* end confdefs.h. */
16008 /* Override any GCC internal prototype to avoid an error.
16009 Use char because int might match the return type of a GCC
16010 builtin and then its argument prototype would still apply. */
16023 rm -f conftest.$ac_objext conftest$ac_exeext
16024 if { (ac_try="$ac_link"
16025 case "(($ac_try" in
16026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16027 *) ac_try_echo=$ac_try;;
16029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16030 (eval "$ac_link") 2>conftest.er1
16032 grep -v '^ *+' conftest.er1 >conftest.err
16034 cat conftest.err >&5
16035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16036 (exit $ac_status); } &&
16037 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16038 { (case "(($ac_try" in
16039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16040 *) ac_try_echo=$ac_try;;
16042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16043 (eval "$ac_try") 2>&5
16045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16046 (exit $ac_status); }; } &&
16047 { ac_try='test -s conftest$ac_exeext'
16048 { (case "(($ac_try" in
16049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16050 *) ac_try_echo=$ac_try;;
16052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16053 (eval "$ac_try") 2>&5
16055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16056 (exit $ac_status); }; }; then
16057 ac_cv_lib_dl_dlopen=yes
16059 echo "$as_me: failed program was:" >&5
16060 sed 's/^/| /' conftest.$ac_ext >&5
16062 ac_cv_lib_dl_dlopen=no
16065 rm -f core conftest.err conftest.$ac_objext \
16066 conftest$ac_exeext conftest.$ac_ext
16067 LIBS=$ac_check_lib_save_LIBS
16069 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16070 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16071 if test $ac_cv_lib_dl_dlopen = yes; then
16073 cat >>confdefs.h <<\_ACEOF
16074 #define HAVE_DLOPEN 1
16085 ac_wine_check_funcs_save_LIBS="$LIBS"
16086 LIBS="$LIBS $DLLIBS"
16088 for ac_func in dladdr
16090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16091 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16093 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16094 echo $ECHO_N "(cached) $ECHO_C" >&6
16096 cat >conftest.$ac_ext <<_ACEOF
16099 cat confdefs.h >>conftest.$ac_ext
16100 cat >>conftest.$ac_ext <<_ACEOF
16101 /* end confdefs.h. */
16102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16104 #define $ac_func innocuous_$ac_func
16106 /* System header to define __stub macros and hopefully few prototypes,
16107 which can conflict with char $ac_func (); below.
16108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16109 <limits.h> exists even on freestanding compilers. */
16112 # include <limits.h>
16114 # include <assert.h>
16119 /* Override any GCC internal prototype to avoid an error.
16120 Use char because int might match the return type of a GCC
16121 builtin and then its argument prototype would still apply. */
16126 /* The GNU C library defines this for functions which it implements
16127 to always fail with ENOSYS. Some functions are actually named
16128 something starting with __ and the normal name is an alias. */
16129 #if defined __stub_$ac_func || defined __stub___$ac_func
16136 return $ac_func ();
16141 rm -f conftest.$ac_objext conftest$ac_exeext
16142 if { (ac_try="$ac_link"
16143 case "(($ac_try" in
16144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16145 *) ac_try_echo=$ac_try;;
16147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16148 (eval "$ac_link") 2>conftest.er1
16150 grep -v '^ *+' conftest.er1 >conftest.err
16152 cat conftest.err >&5
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); } &&
16155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16165 { ac_try='test -s conftest$ac_exeext'
16166 { (case "(($ac_try" in
16167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16168 *) ac_try_echo=$ac_try;;
16170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16171 (eval "$ac_try") 2>&5
16173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174 (exit $ac_status); }; }; then
16175 eval "$as_ac_var=yes"
16177 echo "$as_me: failed program was:" >&5
16178 sed 's/^/| /' conftest.$ac_ext >&5
16180 eval "$as_ac_var=no"
16183 rm -f core conftest.err conftest.$ac_objext \
16184 conftest$ac_exeext conftest.$ac_ext
16186 ac_res=`eval echo '${'$as_ac_var'}'`
16187 { echo "$as_me:$LINENO: result: $ac_res" >&5
16188 echo "${ECHO_T}$ac_res" >&6; }
16189 if test `eval echo '${'$as_ac_var'}'` = yes; then
16190 cat >>confdefs.h <<_ACEOF
16191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16197 LIBS="$ac_wine_check_funcs_save_LIBS"
16202 if test "$LIBEXT" = "so"
16204 DLLFLAGS="$DLLFLAGS -fPIC"
16206 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
16207 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
16208 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
16209 echo $ECHO_N "(cached) $ECHO_C" >&6
16211 ac_wine_try_cflags_saved=$CFLAGS
16212 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
16213 cat >conftest.$ac_ext <<_ACEOF
16216 rm -f conftest.$ac_objext conftest$ac_exeext
16217 if { (ac_try="$ac_link"
16218 case "(($ac_try" in
16219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16220 *) ac_try_echo=$ac_try;;
16222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16223 (eval "$ac_link") 2>conftest.er1
16225 grep -v '^ *+' conftest.er1 >conftest.err
16227 cat conftest.err >&5
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); } &&
16230 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16231 { (case "(($ac_try" in
16232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16233 *) ac_try_echo=$ac_try;;
16235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16236 (eval "$ac_try") 2>&5
16238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16239 (exit $ac_status); }; } &&
16240 { ac_try='test -s conftest$ac_exeext'
16241 { (case "(($ac_try" in
16242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16243 *) ac_try_echo=$ac_try;;
16245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16246 (eval "$ac_try") 2>&5
16248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16249 (exit $ac_status); }; }; then
16250 ac_cv_c_dll_gnuelf="yes"
16252 echo "$as_me: failed program was:" >&5
16253 sed 's/^/| /' conftest.$ac_ext >&5
16255 ac_cv_c_dll_gnuelf="no"
16258 rm -f core conftest.err conftest.$ac_objext \
16259 conftest$ac_exeext conftest.$ac_ext
16260 CFLAGS=$ac_wine_try_cflags_saved
16262 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
16263 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
16264 if test "$ac_cv_c_dll_gnuelf" = "yes"
16266 LDSHARED="\$(CC) -shared"
16267 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
16268 { echo "$as_me:$LINENO: checking whether the linker accepts soname" >&5
16269 echo $ECHO_N "checking whether the linker accepts soname... $ECHO_C" >&6; }
16270 if test "${ac_cv_c_sonames+set}" = set; then
16271 echo $ECHO_N "(cached) $ECHO_C" >&6
16273 ac_wine_try_cflags_saved=$CFLAGS
16274 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
16275 cat >conftest.$ac_ext <<_ACEOF
16278 cat confdefs.h >>conftest.$ac_ext
16279 cat >>conftest.$ac_ext <<_ACEOF
16280 /* end confdefs.h. */
16290 rm -f conftest.$ac_objext conftest$ac_exeext
16291 if { (ac_try="$ac_link"
16292 case "(($ac_try" in
16293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16294 *) ac_try_echo=$ac_try;;
16296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16297 (eval "$ac_link") 2>conftest.er1
16299 grep -v '^ *+' conftest.er1 >conftest.err
16301 cat conftest.err >&5
16302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16303 (exit $ac_status); } &&
16304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16305 { (case "(($ac_try" in
16306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16307 *) ac_try_echo=$ac_try;;
16309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16310 (eval "$ac_try") 2>&5
16312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16313 (exit $ac_status); }; } &&
16314 { ac_try='test -s conftest$ac_exeext'
16315 { (case "(($ac_try" in
16316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16317 *) ac_try_echo=$ac_try;;
16319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16320 (eval "$ac_try") 2>&5
16322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16323 (exit $ac_status); }; }; then
16324 ac_cv_c_sonames="yes"
16326 echo "$as_me: failed program was:" >&5
16327 sed 's/^/| /' conftest.$ac_ext >&5
16329 ac_cv_c_sonames="no"
16332 rm -f core conftest.err conftest.$ac_objext \
16333 conftest$ac_exeext conftest.$ac_ext
16334 CFLAGS=$ac_wine_try_cflags_saved
16336 { echo "$as_me:$LINENO: result: $ac_cv_c_sonames" >&5
16337 echo "${ECHO_T}$ac_cv_c_sonames" >&6; }
16338 if test "$ac_cv_c_sonames" = "yes"
16340 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
16342 { echo "$as_me:$LINENO: checking check to see if -h soname is an alternate" >&5
16343 echo $ECHO_N "checking check to see if -h soname is an alternate... $ECHO_C" >&6; }
16344 if test "${ac_cv_c_h_sonames+set}" = set; then
16345 echo $ECHO_N "(cached) $ECHO_C" >&6
16347 ac_wine_try_cflags_saved=$CFLAGS
16348 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
16349 cat >conftest.$ac_ext <<_ACEOF
16352 cat confdefs.h >>conftest.$ac_ext
16353 cat >>conftest.$ac_ext <<_ACEOF
16354 /* end confdefs.h. */
16364 rm -f conftest.$ac_objext conftest$ac_exeext
16365 if { (ac_try="$ac_link"
16366 case "(($ac_try" in
16367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16368 *) ac_try_echo=$ac_try;;
16370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16371 (eval "$ac_link") 2>conftest.er1
16373 grep -v '^ *+' conftest.er1 >conftest.err
16375 cat conftest.err >&5
16376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377 (exit $ac_status); } &&
16378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16379 { (case "(($ac_try" in
16380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16381 *) ac_try_echo=$ac_try;;
16383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16384 (eval "$ac_try") 2>&5
16386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16387 (exit $ac_status); }; } &&
16388 { ac_try='test -s conftest$ac_exeext'
16389 { (case "(($ac_try" in
16390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16391 *) ac_try_echo=$ac_try;;
16393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16394 (eval "$ac_try") 2>&5
16396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397 (exit $ac_status); }; }; then
16398 ac_cv_c_h_sonames="yes"
16400 echo "$as_me: failed program was:" >&5
16401 sed 's/^/| /' conftest.$ac_ext >&5
16403 ac_cv_c_h_sonames="no"
16406 rm -f core conftest.err conftest.$ac_objext \
16407 conftest$ac_exeext conftest.$ac_ext
16408 CFLAGS=$ac_wine_try_cflags_saved
16410 { echo "$as_me:$LINENO: result: $ac_cv_c_h_sonames" >&5
16411 echo "${ECHO_T}$ac_cv_c_h_sonames" >&6; }
16412 if test "$ac_cv_c_h_sonames" = "yes"
16414 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
16418 { echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
16419 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6; }
16420 if test "${ac_cv_c_dll_zdefs+set}" = set; then
16421 echo $ECHO_N "(cached) $ECHO_C" >&6
16423 ac_wine_try_cflags_saved=$CFLAGS
16424 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
16425 cat >conftest.$ac_ext <<_ACEOF
16428 cat confdefs.h >>conftest.$ac_ext
16429 cat >>conftest.$ac_ext <<_ACEOF
16430 /* end confdefs.h. */
16440 rm -f conftest.$ac_objext conftest$ac_exeext
16441 if { (ac_try="$ac_link"
16442 case "(($ac_try" in
16443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16444 *) ac_try_echo=$ac_try;;
16446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16447 (eval "$ac_link") 2>conftest.er1
16449 grep -v '^ *+' conftest.er1 >conftest.err
16451 cat conftest.err >&5
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); } &&
16454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16455 { (case "(($ac_try" in
16456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16457 *) ac_try_echo=$ac_try;;
16459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16460 (eval "$ac_try") 2>&5
16462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463 (exit $ac_status); }; } &&
16464 { ac_try='test -s conftest$ac_exeext'
16465 { (case "(($ac_try" in
16466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16467 *) ac_try_echo=$ac_try;;
16469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16470 (eval "$ac_try") 2>&5
16472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16473 (exit $ac_status); }; }; then
16474 ac_cv_c_dll_zdefs="yes"
16476 echo "$as_me: failed program was:" >&5
16477 sed 's/^/| /' conftest.$ac_ext >&5
16479 ac_cv_c_dll_zdefs="no"
16482 rm -f core conftest.err conftest.$ac_objext \
16483 conftest$ac_exeext conftest.$ac_ext
16484 CFLAGS=$ac_wine_try_cflags_saved
16486 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
16487 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6; }
16488 if test "$ac_cv_c_dll_zdefs" = "yes"
16490 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
16493 { echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
16494 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6; }
16495 if test "${ac_cv_c_dll_init_fini+set}" = set; then
16496 echo $ECHO_N "(cached) $ECHO_C" >&6
16498 ac_wine_try_cflags_saved=$CFLAGS
16499 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
16500 cat >conftest.$ac_ext <<_ACEOF
16503 cat confdefs.h >>conftest.$ac_ext
16504 cat >>conftest.$ac_ext <<_ACEOF
16505 /* end confdefs.h. */
16515 rm -f conftest.$ac_objext conftest$ac_exeext
16516 if { (ac_try="$ac_link"
16517 case "(($ac_try" in
16518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16519 *) ac_try_echo=$ac_try;;
16521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16522 (eval "$ac_link") 2>conftest.er1
16524 grep -v '^ *+' conftest.er1 >conftest.err
16526 cat conftest.err >&5
16527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16528 (exit $ac_status); } &&
16529 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16530 { (case "(($ac_try" in
16531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16532 *) ac_try_echo=$ac_try;;
16534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16535 (eval "$ac_try") 2>&5
16537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16538 (exit $ac_status); }; } &&
16539 { ac_try='test -s conftest$ac_exeext'
16540 { (case "(($ac_try" in
16541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16542 *) ac_try_echo=$ac_try;;
16544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16545 (eval "$ac_try") 2>&5
16547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16548 (exit $ac_status); }; }; then
16549 ac_cv_c_dll_init_fini="yes"
16551 echo "$as_me: failed program was:" >&5
16552 sed 's/^/| /' conftest.$ac_ext >&5
16554 ac_cv_c_dll_init_fini="no"
16557 rm -f core conftest.err conftest.$ac_objext \
16558 conftest$ac_exeext conftest.$ac_ext
16559 CFLAGS=$ac_wine_try_cflags_saved
16561 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
16562 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6; }
16563 if test "$ac_cv_c_dll_init_fini" = "yes"
16565 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
16568 { echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
16569 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6; }
16570 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
16571 echo $ECHO_N "(cached) $ECHO_C" >&6
16573 echo '{ global: *; };' >conftest.map
16574 ac_wine_try_cflags_saved=$CFLAGS
16575 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
16576 cat >conftest.$ac_ext <<_ACEOF
16579 cat confdefs.h >>conftest.$ac_ext
16580 cat >>conftest.$ac_ext <<_ACEOF
16581 /* end confdefs.h. */
16591 rm -f conftest.$ac_objext conftest$ac_exeext
16592 if { (ac_try="$ac_link"
16593 case "(($ac_try" in
16594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16595 *) ac_try_echo=$ac_try;;
16597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16598 (eval "$ac_link") 2>conftest.er1
16600 grep -v '^ *+' conftest.er1 >conftest.err
16602 cat conftest.err >&5
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); } &&
16605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16606 { (case "(($ac_try" in
16607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16608 *) ac_try_echo=$ac_try;;
16610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16611 (eval "$ac_try") 2>&5
16613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614 (exit $ac_status); }; } &&
16615 { ac_try='test -s conftest$ac_exeext'
16616 { (case "(($ac_try" in
16617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16618 *) ac_try_echo=$ac_try;;
16620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16621 (eval "$ac_try") 2>&5
16623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16624 (exit $ac_status); }; }; then
16625 ac_cv_c_ld_version_scripts="yes"
16627 echo "$as_me: failed program was:" >&5
16628 sed 's/^/| /' conftest.$ac_ext >&5
16630 ac_cv_c_ld_version_scripts="no"
16633 rm -f core conftest.err conftest.$ac_objext \
16634 conftest$ac_exeext conftest.$ac_ext
16635 CFLAGS=$ac_wine_try_cflags_saved
16638 { echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
16639 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6; }
16640 if test "$ac_cv_c_ld_version_scripts" = "yes"
16642 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
16645 { echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
16646 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6; }
16647 if test "${ac_cv_c_export_dynamic+set}" = set; then
16648 echo $ECHO_N "(cached) $ECHO_C" >&6
16650 ac_wine_try_cflags_saved=$CFLAGS
16651 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
16652 cat >conftest.$ac_ext <<_ACEOF
16655 cat confdefs.h >>conftest.$ac_ext
16656 cat >>conftest.$ac_ext <<_ACEOF
16657 /* end confdefs.h. */
16667 rm -f conftest.$ac_objext conftest$ac_exeext
16668 if { (ac_try="$ac_link"
16669 case "(($ac_try" in
16670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16671 *) ac_try_echo=$ac_try;;
16673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16674 (eval "$ac_link") 2>conftest.er1
16676 grep -v '^ *+' conftest.er1 >conftest.err
16678 cat conftest.err >&5
16679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); } &&
16681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16682 { (case "(($ac_try" in
16683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16684 *) ac_try_echo=$ac_try;;
16686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16687 (eval "$ac_try") 2>&5
16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 (exit $ac_status); }; } &&
16691 { ac_try='test -s conftest$ac_exeext'
16692 { (case "(($ac_try" in
16693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16694 *) ac_try_echo=$ac_try;;
16696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16697 (eval "$ac_try") 2>&5
16699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700 (exit $ac_status); }; }; then
16701 ac_cv_c_export_dynamic="yes"
16703 echo "$as_me: failed program was:" >&5
16704 sed 's/^/| /' conftest.$ac_ext >&5
16706 ac_cv_c_export_dynamic="no"
16709 rm -f core conftest.err conftest.$ac_objext \
16710 conftest$ac_exeext conftest.$ac_ext
16711 CFLAGS=$ac_wine_try_cflags_saved
16713 { echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
16714 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6; }
16715 if test "$ac_cv_c_export_dynamic" = "yes"
16717 LDEXECFLAGS="-Wl,--export-dynamic"
16721 { echo "$as_me:$LINENO: checking whether the linker accepts --rpath" >&5
16722 echo $ECHO_N "checking whether the linker accepts --rpath... $ECHO_C" >&6; }
16723 if test "${ac_cv_ld_rpath+set}" = set; then
16724 echo $ECHO_N "(cached) $ECHO_C" >&6
16726 ac_wine_try_cflags_saved=$CFLAGS
16727 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
16728 cat >conftest.$ac_ext <<_ACEOF
16731 cat confdefs.h >>conftest.$ac_ext
16732 cat >>conftest.$ac_ext <<_ACEOF
16733 /* end confdefs.h. */
16743 rm -f conftest.$ac_objext conftest$ac_exeext
16744 if { (ac_try="$ac_link"
16745 case "(($ac_try" in
16746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16747 *) ac_try_echo=$ac_try;;
16749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16750 (eval "$ac_link") 2>conftest.er1
16752 grep -v '^ *+' conftest.er1 >conftest.err
16754 cat conftest.err >&5
16755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16756 (exit $ac_status); } &&
16757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16758 { (case "(($ac_try" in
16759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16760 *) ac_try_echo=$ac_try;;
16762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16763 (eval "$ac_try") 2>&5
16765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16766 (exit $ac_status); }; } &&
16767 { ac_try='test -s conftest$ac_exeext'
16768 { (case "(($ac_try" in
16769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16770 *) ac_try_echo=$ac_try;;
16772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16773 (eval "$ac_try") 2>&5
16775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776 (exit $ac_status); }; }; then
16777 ac_cv_ld_rpath="yes"
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.$ac_ext >&5
16782 ac_cv_ld_rpath="no"
16785 rm -f core conftest.err conftest.$ac_objext \
16786 conftest$ac_exeext conftest.$ac_ext
16787 CFLAGS=$ac_wine_try_cflags_saved
16789 { echo "$as_me:$LINENO: result: $ac_cv_ld_rpath" >&5
16790 echo "${ECHO_T}$ac_cv_ld_rpath" >&6; }
16791 if test "$ac_cv_ld_rpath" = "yes"
16793 LDEXERPATH="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
16795 LDDLLRPATH="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(dlldir) \$(libdir)\`"
16801 { echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x7bf00000" >&5
16802 echo $ECHO_N "checking whether we can relocate the executable to 0x7bf00000... $ECHO_C" >&6; }
16803 if test "${ac_cv_ld_reloc_exec+set}" = set; then
16804 echo $ECHO_N "(cached) $ECHO_C" >&6
16806 ac_wine_try_cflags_saved=$CFLAGS
16807 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
16808 cat >conftest.$ac_ext <<_ACEOF
16811 cat confdefs.h >>conftest.$ac_ext
16812 cat >>conftest.$ac_ext <<_ACEOF
16813 /* end confdefs.h. */
16823 rm -f conftest.$ac_objext conftest$ac_exeext
16824 if { (ac_try="$ac_link"
16825 case "(($ac_try" in
16826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16827 *) ac_try_echo=$ac_try;;
16829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16830 (eval "$ac_link") 2>conftest.er1
16832 grep -v '^ *+' conftest.er1 >conftest.err
16834 cat conftest.err >&5
16835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836 (exit $ac_status); } &&
16837 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16838 { (case "(($ac_try" in
16839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16840 *) ac_try_echo=$ac_try;;
16842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16843 (eval "$ac_try") 2>&5
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); }; } &&
16847 { ac_try='test -s conftest$ac_exeext'
16848 { (case "(($ac_try" in
16849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16850 *) ac_try_echo=$ac_try;;
16852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16853 (eval "$ac_try") 2>&5
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); }; }; then
16857 ac_cv_ld_reloc_exec="yes"
16859 echo "$as_me: failed program was:" >&5
16860 sed 's/^/| /' conftest.$ac_ext >&5
16862 ac_cv_ld_reloc_exec="no"
16865 rm -f core conftest.err conftest.$ac_objext \
16866 conftest$ac_exeext conftest.$ac_ext
16867 CFLAGS=$ac_wine_try_cflags_saved
16869 { echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
16870 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6; }
16871 if test "$ac_cv_ld_reloc_exec" = "yes"
16873 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
16879 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
16880 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
16881 if test "${ac_cv_c_dll_unixware+set}" = set; then
16882 echo $ECHO_N "(cached) $ECHO_C" >&6
16884 ac_wine_try_cflags_saved=$CFLAGS
16885 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
16886 cat >conftest.$ac_ext <<_ACEOF
16889 rm -f conftest.$ac_objext conftest$ac_exeext
16890 if { (ac_try="$ac_link"
16891 case "(($ac_try" in
16892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16893 *) ac_try_echo=$ac_try;;
16895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16896 (eval "$ac_link") 2>conftest.er1
16898 grep -v '^ *+' conftest.er1 >conftest.err
16900 cat conftest.err >&5
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); } &&
16903 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16904 { (case "(($ac_try" in
16905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16906 *) ac_try_echo=$ac_try;;
16908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16909 (eval "$ac_try") 2>&5
16911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16912 (exit $ac_status); }; } &&
16913 { ac_try='test -s conftest$ac_exeext'
16914 { (case "(($ac_try" in
16915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16916 *) ac_try_echo=$ac_try;;
16918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16919 (eval "$ac_try") 2>&5
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); }; }; then
16923 ac_cv_c_dll_unixware="yes"
16925 echo "$as_me: failed program was:" >&5
16926 sed 's/^/| /' conftest.$ac_ext >&5
16928 ac_cv_c_dll_unixware="no"
16931 rm -f core conftest.err conftest.$ac_objext \
16932 conftest$ac_exeext conftest.$ac_ext
16933 CFLAGS=$ac_wine_try_cflags_saved
16935 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
16936 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
16937 if test "$ac_cv_c_dll_unixware" = "yes"
16939 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
16940 LDDLLFLAGS="-Wl,-G,-B,symbolic"
16943 { echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
16944 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6; }
16945 if test "${ac_cv_c_dll_macho+set}" = set; then
16946 echo $ECHO_N "(cached) $ECHO_C" >&6
16948 ac_wine_try_cflags_saved=$CFLAGS
16949 CFLAGS="$CFLAGS -bundle"
16950 cat >conftest.$ac_ext <<_ACEOF
16953 rm -f conftest.$ac_objext conftest$ac_exeext
16954 if { (ac_try="$ac_link"
16955 case "(($ac_try" in
16956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16957 *) ac_try_echo=$ac_try;;
16959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16960 (eval "$ac_link") 2>conftest.er1
16962 grep -v '^ *+' conftest.er1 >conftest.err
16964 cat conftest.err >&5
16965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16966 (exit $ac_status); } &&
16967 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16968 { (case "(($ac_try" in
16969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16970 *) ac_try_echo=$ac_try;;
16972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16973 (eval "$ac_try") 2>&5
16975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976 (exit $ac_status); }; } &&
16977 { ac_try='test -s conftest$ac_exeext'
16978 { (case "(($ac_try" in
16979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16980 *) ac_try_echo=$ac_try;;
16982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16983 (eval "$ac_try") 2>&5
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); }; }; then
16987 ac_cv_c_dll_macho="yes"
16989 echo "$as_me: failed program was:" >&5
16990 sed 's/^/| /' conftest.$ac_ext >&5
16992 ac_cv_c_dll_macho="no"
16995 rm -f core conftest.err conftest.$ac_objext \
16996 conftest$ac_exeext conftest.$ac_ext
16997 CFLAGS=$ac_wine_try_cflags_saved
16999 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
17000 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6; }
17001 if test "$ac_cv_c_dll_macho" = "yes"
17004 LDDLLFLAGS="-bundle"
17005 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME) \$(SOVERSION:%=-compatibility_version %)"
17006 STRIP="$STRIP -u -r"
17007 COREFOUNDATIONLIB="-framework CoreFoundation"
17009 IOKITLIB="-framework IOKit -framework CoreFoundation"
17011 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7ffe0000"
17013 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
17015 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
17020 CFLAGS="$CFLAGS -ffixed-r13"
17021 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning"
17026 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
17027 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
17028 if test "${ac_cv_c_dll_hpux+set}" = set; then
17029 echo $ECHO_N "(cached) $ECHO_C" >&6
17031 ac_wine_try_cflags_saved=$CFLAGS
17032 CFLAGS="$CFLAGS -shared"
17033 cat >conftest.$ac_ext <<_ACEOF
17036 rm -f conftest.$ac_objext conftest$ac_exeext
17037 if { (ac_try="$ac_link"
17038 case "(($ac_try" in
17039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17040 *) ac_try_echo=$ac_try;;
17042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17043 (eval "$ac_link") 2>conftest.er1
17045 grep -v '^ *+' conftest.er1 >conftest.err
17047 cat conftest.err >&5
17048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17049 (exit $ac_status); } &&
17050 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17051 { (case "(($ac_try" in
17052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17053 *) ac_try_echo=$ac_try;;
17055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17056 (eval "$ac_try") 2>&5
17058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059 (exit $ac_status); }; } &&
17060 { ac_try='test -s conftest$ac_exeext'
17061 { (case "(($ac_try" in
17062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17063 *) ac_try_echo=$ac_try;;
17065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17066 (eval "$ac_try") 2>&5
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); }; }; then
17070 ac_cv_c_dll_hpux="yes"
17072 echo "$as_me: failed program was:" >&5
17073 sed 's/^/| /' conftest.$ac_ext >&5
17075 ac_cv_c_dll_hpux="no"
17078 rm -f core conftest.err conftest.$ac_objext \
17079 conftest$ac_exeext conftest.$ac_ext
17080 CFLAGS=$ac_wine_try_cflags_saved
17082 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
17083 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
17084 if test "$ac_cv_c_dll_hpux" = "yes"
17088 LDDLLFLAGS="-shared -fPIC"
17089 LDSHARED="\$(CC) -shared"
17098 if test "$cross_compiling" = "no"
17100 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
17102 # Extract the first word of "$ac_prog", so it can be a program name with args.
17103 set dummy $ac_prog; ac_word=$2
17104 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17106 if test "${ac_cv_prog_CROSSCC+set}" = set; then
17107 echo $ECHO_N "(cached) $ECHO_C" >&6
17109 if test -n "$CROSSCC"; then
17110 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
17112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17113 for as_dir in $PATH
17116 test -z "$as_dir" && as_dir=.
17117 for ac_exec_ext in '' $ac_executable_extensions; do
17118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17119 ac_cv_prog_CROSSCC="$ac_prog"
17120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17129 CROSSCC=$ac_cv_prog_CROSSCC
17130 if test -n "$CROSSCC"; then
17131 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
17132 echo "${ECHO_T}$CROSSCC" >&6; }
17134 { echo "$as_me:$LINENO: result: no" >&5
17135 echo "${ECHO_T}no" >&6; }
17139 test -n "$CROSSCC" && break
17141 test -n "$CROSSCC" || CROSSCC="false"
17143 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
17145 # Extract the first word of "$ac_prog", so it can be a program name with args.
17146 set dummy $ac_prog; ac_word=$2
17147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17149 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
17150 echo $ECHO_N "(cached) $ECHO_C" >&6
17152 if test -n "$DLLTOOL"; then
17153 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
17155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17156 for as_dir in $PATH
17159 test -z "$as_dir" && as_dir=.
17160 for ac_exec_ext in '' $ac_executable_extensions; do
17161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17162 ac_cv_prog_DLLTOOL="$ac_prog"
17163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17172 DLLTOOL=$ac_cv_prog_DLLTOOL
17173 if test -n "$DLLTOOL"; then
17174 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
17175 echo "${ECHO_T}$DLLTOOL" >&6; }
17177 { echo "$as_me:$LINENO: result: no" >&5
17178 echo "${ECHO_T}no" >&6; }
17182 test -n "$DLLTOOL" && break
17184 test -n "$DLLTOOL" || DLLTOOL="false"
17186 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
17188 # Extract the first word of "$ac_prog", so it can be a program name with args.
17189 set dummy $ac_prog; ac_word=$2
17190 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17192 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
17193 echo $ECHO_N "(cached) $ECHO_C" >&6
17195 if test -n "$CROSSWINDRES"; then
17196 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
17198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17199 for as_dir in $PATH
17202 test -z "$as_dir" && as_dir=.
17203 for ac_exec_ext in '' $ac_executable_extensions; do
17204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17205 ac_cv_prog_CROSSWINDRES="$ac_prog"
17206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17215 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
17216 if test -n "$CROSSWINDRES"; then
17217 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
17218 echo "${ECHO_T}$CROSSWINDRES" >&6; }
17220 { echo "$as_me:$LINENO: result: no" >&5
17221 echo "${ECHO_T}no" >&6; }
17225 test -n "$CROSSWINDRES" && break
17227 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
17229 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
17234 if test "$LIBEXT" = "a"; then
17235 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
17236 It is currently not possible to build Wine without shared library
17237 (.so) support to allow transparent switch between .so and .dll files.
17238 If you are using Linux, you will need a newer binutils.
17240 echo "$as_me: error: could not find a way to build shared libraries.
17241 It is currently not possible to build Wine without shared library
17242 (.so) support to allow transparent switch between .so and .dll files.
17243 If you are using Linux, you will need a newer binutils.
17245 { (exit 1); exit 1; }; }
17250 LDPATH="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
17253 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
17256 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
17264 SOCKETLIBS="-lws2_32"
17272 linux* | k*bsd*-gnu)
17273 MAIN_BINARY="wine-glibc"
17275 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
17278 MAIN_BINARY="wine-pthread"
17281 MAIN_BINARY="wine-kthread"
17285 *) MAIN_BINARY="wine-pthread"
17290 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
17292 # Extract the first word of "ldd", so it can be a program name with args.
17293 set dummy ldd; ac_word=$2
17294 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17296 if test "${ac_cv_path_LDD+set}" = set; then
17297 echo $ECHO_N "(cached) $ECHO_C" >&6
17301 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
17304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17305 as_dummy="/sbin:/usr/sbin:$PATH"
17306 for as_dir in $as_dummy
17309 test -z "$as_dir" && as_dir=.
17310 for ac_exec_ext in '' $ac_executable_extensions; do
17311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17312 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
17313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17320 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
17324 LDD=$ac_cv_path_LDD
17325 if test -n "$LDD"; then
17326 { echo "$as_me:$LINENO: result: $LDD" >&5
17327 echo "${ECHO_T}$LDD" >&6; }
17329 { echo "$as_me:$LINENO: result: no" >&5
17330 echo "${ECHO_T}no" >&6; }
17334 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
17335 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
17336 if test "${ac_cv_lib_soname_X11+set}" = set; then
17337 echo $ECHO_N "(cached) $ECHO_C" >&6
17339 ac_get_soname_save_LIBS=$LIBS
17340 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
17341 cat >conftest.$ac_ext <<_ACEOF
17344 cat confdefs.h >>conftest.$ac_ext
17345 cat >>conftest.$ac_ext <<_ACEOF
17346 /* end confdefs.h. */
17348 /* Override any GCC internal prototype to avoid an error.
17349 Use char because int might match the return type of a GCC
17350 builtin and then its argument prototype would still apply. */
17354 char XCreateWindow ();
17358 return XCreateWindow ();
17363 rm -f conftest.$ac_objext conftest$ac_exeext
17364 if { (ac_try="$ac_link"
17365 case "(($ac_try" in
17366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17367 *) ac_try_echo=$ac_try;;
17369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17370 (eval "$ac_link") 2>conftest.er1
17372 grep -v '^ *+' conftest.er1 >conftest.err
17374 cat conftest.err >&5
17375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376 (exit $ac_status); } &&
17377 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17378 { (case "(($ac_try" in
17379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17380 *) ac_try_echo=$ac_try;;
17382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17383 (eval "$ac_try") 2>&5
17385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17386 (exit $ac_status); }; } &&
17387 { ac_try='test -s conftest$ac_exeext'
17388 { (case "(($ac_try" in
17389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17390 *) ac_try_echo=$ac_try;;
17392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17393 (eval "$ac_try") 2>&5
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); }; }; then
17397 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17398 if test "x$ac_cv_lib_soname_X11" = "x"
17400 ac_cv_lib_soname_X11="libX11.$LIBEXT"
17403 echo "$as_me: failed program was:" >&5
17404 sed 's/^/| /' conftest.$ac_ext >&5
17406 ac_cv_lib_soname_X11="libX11.$LIBEXT"
17409 rm -f core conftest.err conftest.$ac_objext \
17410 conftest$ac_exeext conftest.$ac_ext
17411 LIBS=$ac_get_soname_save_LIBS
17413 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
17414 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
17415 if test "${ac_cv_lib_soname_X11+set}" = set; then
17417 cat >>confdefs.h <<_ACEOF
17418 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
17423 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
17424 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
17425 if test "${ac_cv_lib_soname_Xext+set}" = set; then
17426 echo $ECHO_N "(cached) $ECHO_C" >&6
17428 ac_get_soname_save_LIBS=$LIBS
17429 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
17430 cat >conftest.$ac_ext <<_ACEOF
17433 cat confdefs.h >>conftest.$ac_ext
17434 cat >>conftest.$ac_ext <<_ACEOF
17435 /* end confdefs.h. */
17437 /* Override any GCC internal prototype to avoid an error.
17438 Use char because int might match the return type of a GCC
17439 builtin and then its argument prototype would still apply. */
17443 char XextCreateExtension ();
17447 return XextCreateExtension ();
17452 rm -f conftest.$ac_objext conftest$ac_exeext
17453 if { (ac_try="$ac_link"
17454 case "(($ac_try" in
17455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17456 *) ac_try_echo=$ac_try;;
17458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17459 (eval "$ac_link") 2>conftest.er1
17461 grep -v '^ *+' conftest.er1 >conftest.err
17463 cat conftest.err >&5
17464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17465 (exit $ac_status); } &&
17466 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17467 { (case "(($ac_try" in
17468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17469 *) ac_try_echo=$ac_try;;
17471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17472 (eval "$ac_try") 2>&5
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); }; } &&
17476 { ac_try='test -s conftest$ac_exeext'
17477 { (case "(($ac_try" in
17478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17479 *) ac_try_echo=$ac_try;;
17481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17482 (eval "$ac_try") 2>&5
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); }; }; then
17486 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17487 if test "x$ac_cv_lib_soname_Xext" = "x"
17489 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
17492 echo "$as_me: failed program was:" >&5
17493 sed 's/^/| /' conftest.$ac_ext >&5
17495 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
17498 rm -f core conftest.err conftest.$ac_objext \
17499 conftest$ac_exeext conftest.$ac_ext
17500 LIBS=$ac_get_soname_save_LIBS
17502 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
17503 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
17504 if test "${ac_cv_lib_soname_Xext+set}" = set; then
17506 cat >>confdefs.h <<_ACEOF
17507 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
17512 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
17513 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
17514 if test "${ac_cv_lib_soname_Xi+set}" = set; then
17515 echo $ECHO_N "(cached) $ECHO_C" >&6
17517 ac_get_soname_save_LIBS=$LIBS
17518 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17519 cat >conftest.$ac_ext <<_ACEOF
17522 cat confdefs.h >>conftest.$ac_ext
17523 cat >>conftest.$ac_ext <<_ACEOF
17524 /* end confdefs.h. */
17526 /* Override any GCC internal prototype to avoid an error.
17527 Use char because int might match the return type of a GCC
17528 builtin and then its argument prototype would still apply. */
17532 char XOpenDevice ();
17536 return XOpenDevice ();
17541 rm -f conftest.$ac_objext conftest$ac_exeext
17542 if { (ac_try="$ac_link"
17543 case "(($ac_try" in
17544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17545 *) ac_try_echo=$ac_try;;
17547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17548 (eval "$ac_link") 2>conftest.er1
17550 grep -v '^ *+' conftest.er1 >conftest.err
17552 cat conftest.err >&5
17553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17554 (exit $ac_status); } &&
17555 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17556 { (case "(($ac_try" in
17557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17558 *) ac_try_echo=$ac_try;;
17560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17561 (eval "$ac_try") 2>&5
17563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17564 (exit $ac_status); }; } &&
17565 { ac_try='test -s conftest$ac_exeext'
17566 { (case "(($ac_try" in
17567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17568 *) ac_try_echo=$ac_try;;
17570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17571 (eval "$ac_try") 2>&5
17573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17574 (exit $ac_status); }; }; then
17575 ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17576 if test "x$ac_cv_lib_soname_Xi" = "x"
17578 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
17581 echo "$as_me: failed program was:" >&5
17582 sed 's/^/| /' conftest.$ac_ext >&5
17584 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
17587 rm -f core conftest.err conftest.$ac_objext \
17588 conftest$ac_exeext conftest.$ac_ext
17589 LIBS=$ac_get_soname_save_LIBS
17591 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
17592 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
17593 if test "${ac_cv_lib_soname_Xi+set}" = set; then
17595 cat >>confdefs.h <<_ACEOF
17596 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
17601 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
17602 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
17603 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
17604 echo $ECHO_N "(cached) $ECHO_C" >&6
17606 ac_get_soname_save_LIBS=$LIBS
17607 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17608 cat >conftest.$ac_ext <<_ACEOF
17611 cat confdefs.h >>conftest.$ac_ext
17612 cat >>conftest.$ac_ext <<_ACEOF
17613 /* end confdefs.h. */
17615 /* Override any GCC internal prototype to avoid an error.
17616 Use char because int might match the return type of a GCC
17617 builtin and then its argument prototype would still apply. */
17621 char XRenderQueryExtension ();
17625 return XRenderQueryExtension ();
17630 rm -f conftest.$ac_objext conftest$ac_exeext
17631 if { (ac_try="$ac_link"
17632 case "(($ac_try" in
17633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17634 *) ac_try_echo=$ac_try;;
17636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17637 (eval "$ac_link") 2>conftest.er1
17639 grep -v '^ *+' conftest.er1 >conftest.err
17641 cat conftest.err >&5
17642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643 (exit $ac_status); } &&
17644 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17645 { (case "(($ac_try" in
17646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17647 *) ac_try_echo=$ac_try;;
17649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17650 (eval "$ac_try") 2>&5
17652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17653 (exit $ac_status); }; } &&
17654 { ac_try='test -s conftest$ac_exeext'
17655 { (case "(($ac_try" in
17656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17657 *) ac_try_echo=$ac_try;;
17659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17660 (eval "$ac_try") 2>&5
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; }; then
17664 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17665 if test "x$ac_cv_lib_soname_Xrender" = "x"
17667 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
17670 echo "$as_me: failed program was:" >&5
17671 sed 's/^/| /' conftest.$ac_ext >&5
17673 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
17676 rm -f core conftest.err conftest.$ac_objext \
17677 conftest$ac_exeext conftest.$ac_ext
17678 LIBS=$ac_get_soname_save_LIBS
17680 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
17681 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
17682 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
17684 cat >>confdefs.h <<_ACEOF
17685 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
17690 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
17691 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
17692 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
17693 echo $ECHO_N "(cached) $ECHO_C" >&6
17695 ac_get_soname_save_LIBS=$LIBS
17696 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17697 cat >conftest.$ac_ext <<_ACEOF
17700 cat confdefs.h >>conftest.$ac_ext
17701 cat >>conftest.$ac_ext <<_ACEOF
17702 /* end confdefs.h. */
17704 /* Override any GCC internal prototype to avoid an error.
17705 Use char because int might match the return type of a GCC
17706 builtin and then its argument prototype would still apply. */
17710 char XRRQueryExtension ();
17714 return XRRQueryExtension ();
17719 rm -f conftest.$ac_objext conftest$ac_exeext
17720 if { (ac_try="$ac_link"
17721 case "(($ac_try" in
17722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17723 *) ac_try_echo=$ac_try;;
17725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17726 (eval "$ac_link") 2>conftest.er1
17728 grep -v '^ *+' conftest.er1 >conftest.err
17730 cat conftest.err >&5
17731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17732 (exit $ac_status); } &&
17733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17734 { (case "(($ac_try" in
17735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17736 *) ac_try_echo=$ac_try;;
17738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17739 (eval "$ac_try") 2>&5
17741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17742 (exit $ac_status); }; } &&
17743 { ac_try='test -s conftest$ac_exeext'
17744 { (case "(($ac_try" in
17745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17746 *) ac_try_echo=$ac_try;;
17748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17749 (eval "$ac_try") 2>&5
17751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17752 (exit $ac_status); }; }; then
17753 ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17754 if test "x$ac_cv_lib_soname_Xrandr" = "x"
17756 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
17759 echo "$as_me: failed program was:" >&5
17760 sed 's/^/| /' conftest.$ac_ext >&5
17762 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
17765 rm -f core conftest.err conftest.$ac_objext \
17766 conftest$ac_exeext conftest.$ac_ext
17767 LIBS=$ac_get_soname_save_LIBS
17769 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
17770 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
17771 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
17773 cat >>confdefs.h <<_ACEOF
17774 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
17779 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
17780 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
17781 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17782 echo $ECHO_N "(cached) $ECHO_C" >&6
17784 ac_get_soname_save_LIBS=$LIBS
17785 LIBS="-lfreetype $X_LIBS $LIBS"
17786 cat >conftest.$ac_ext <<_ACEOF
17789 cat confdefs.h >>conftest.$ac_ext
17790 cat >>conftest.$ac_ext <<_ACEOF
17791 /* end confdefs.h. */
17793 /* Override any GCC internal prototype to avoid an error.
17794 Use char because int might match the return type of a GCC
17795 builtin and then its argument prototype would still apply. */
17799 char FT_Init_FreeType ();
17803 return FT_Init_FreeType ();
17808 rm -f conftest.$ac_objext conftest$ac_exeext
17809 if { (ac_try="$ac_link"
17810 case "(($ac_try" in
17811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17812 *) ac_try_echo=$ac_try;;
17814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17815 (eval "$ac_link") 2>conftest.er1
17817 grep -v '^ *+' conftest.er1 >conftest.err
17819 cat conftest.err >&5
17820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17821 (exit $ac_status); } &&
17822 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17823 { (case "(($ac_try" in
17824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17825 *) ac_try_echo=$ac_try;;
17827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17828 (eval "$ac_try") 2>&5
17830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17831 (exit $ac_status); }; } &&
17832 { ac_try='test -s conftest$ac_exeext'
17833 { (case "(($ac_try" in
17834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17835 *) ac_try_echo=$ac_try;;
17837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17838 (eval "$ac_try") 2>&5
17840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17841 (exit $ac_status); }; }; then
17842 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17843 if test "x$ac_cv_lib_soname_freetype" = "x"
17845 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
17848 echo "$as_me: failed program was:" >&5
17849 sed 's/^/| /' conftest.$ac_ext >&5
17851 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
17854 rm -f core conftest.err conftest.$ac_objext \
17855 conftest$ac_exeext conftest.$ac_ext
17856 LIBS=$ac_get_soname_save_LIBS
17858 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
17859 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
17860 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17862 cat >>confdefs.h <<_ACEOF
17863 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
17868 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
17869 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
17870 if test "${ac_cv_lib_soname_GL+set}" = set; then
17871 echo $ECHO_N "(cached) $ECHO_C" >&6
17873 ac_get_soname_save_LIBS=$LIBS
17874 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
17875 cat >conftest.$ac_ext <<_ACEOF
17878 cat confdefs.h >>conftest.$ac_ext
17879 cat >>conftest.$ac_ext <<_ACEOF
17880 /* end confdefs.h. */
17882 /* Override any GCC internal prototype to avoid an error.
17883 Use char because int might match the return type of a GCC
17884 builtin and then its argument prototype would still apply. */
17888 char glXQueryExtension ();
17892 return glXQueryExtension ();
17897 rm -f conftest.$ac_objext conftest$ac_exeext
17898 if { (ac_try="$ac_link"
17899 case "(($ac_try" in
17900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17901 *) ac_try_echo=$ac_try;;
17903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17904 (eval "$ac_link") 2>conftest.er1
17906 grep -v '^ *+' conftest.er1 >conftest.err
17908 cat conftest.err >&5
17909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17910 (exit $ac_status); } &&
17911 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17912 { (case "(($ac_try" in
17913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17914 *) ac_try_echo=$ac_try;;
17916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17917 (eval "$ac_try") 2>&5
17919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17920 (exit $ac_status); }; } &&
17921 { ac_try='test -s conftest$ac_exeext'
17922 { (case "(($ac_try" in
17923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17924 *) ac_try_echo=$ac_try;;
17926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17927 (eval "$ac_try") 2>&5
17929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17930 (exit $ac_status); }; }; then
17931 ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17932 if test "x$ac_cv_lib_soname_GL" = "x"
17934 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17937 echo "$as_me: failed program was:" >&5
17938 sed 's/^/| /' conftest.$ac_ext >&5
17940 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17943 rm -f core conftest.err conftest.$ac_objext \
17944 conftest$ac_exeext conftest.$ac_ext
17945 LIBS=$ac_get_soname_save_LIBS
17947 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
17948 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
17949 if test "${ac_cv_lib_soname_GL+set}" = set; then
17951 cat >>confdefs.h <<_ACEOF
17952 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
17957 { echo "$as_me:$LINENO: checking for -ldbus-1 soname" >&5
17958 echo $ECHO_N "checking for -ldbus-1 soname... $ECHO_C" >&6; }
17959 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
17960 echo $ECHO_N "(cached) $ECHO_C" >&6
17962 ac_get_soname_save_LIBS=$LIBS
17963 LIBS="-ldbus-1 $LIBS"
17964 cat >conftest.$ac_ext <<_ACEOF
17967 cat confdefs.h >>conftest.$ac_ext
17968 cat >>conftest.$ac_ext <<_ACEOF
17969 /* end confdefs.h. */
17971 /* Override any GCC internal prototype to avoid an error.
17972 Use char because int might match the return type of a GCC
17973 builtin and then its argument prototype would still apply. */
17977 char dbus_error_init ();
17981 return dbus_error_init ();
17986 rm -f conftest.$ac_objext conftest$ac_exeext
17987 if { (ac_try="$ac_link"
17988 case "(($ac_try" in
17989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17990 *) ac_try_echo=$ac_try;;
17992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17993 (eval "$ac_link") 2>conftest.er1
17995 grep -v '^ *+' conftest.er1 >conftest.err
17997 cat conftest.err >&5
17998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17999 (exit $ac_status); } &&
18000 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18001 { (case "(($ac_try" in
18002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18003 *) ac_try_echo=$ac_try;;
18005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18006 (eval "$ac_try") 2>&5
18008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18009 (exit $ac_status); }; } &&
18010 { ac_try='test -s conftest$ac_exeext'
18011 { (case "(($ac_try" in
18012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18013 *) ac_try_echo=$ac_try;;
18015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18016 (eval "$ac_try") 2>&5
18018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019 (exit $ac_status); }; }; then
18020 ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest$ac_exeext | grep libdbus-1\\.$LIBEXT | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18021 if test "x$ac_cv_lib_soname_dbus_1" = "x"
18023 ac_cv_lib_soname_dbus_1="libdbus-1.$LIBEXT"
18026 echo "$as_me: failed program was:" >&5
18027 sed 's/^/| /' conftest.$ac_ext >&5
18029 ac_cv_lib_soname_dbus_1="libdbus-1.$LIBEXT"
18032 rm -f core conftest.err conftest.$ac_objext \
18033 conftest$ac_exeext conftest.$ac_ext
18034 LIBS=$ac_get_soname_save_LIBS
18036 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_dbus_1" >&5
18037 echo "${ECHO_T}$ac_cv_lib_soname_dbus_1" >&6; }
18038 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
18040 cat >>confdefs.h <<_ACEOF
18041 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
18046 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
18047 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
18048 if test "${ac_cv_lib_soname_hal+set}" = set; then
18049 echo $ECHO_N "(cached) $ECHO_C" >&6
18051 ac_get_soname_save_LIBS=$LIBS
18053 cat >conftest.$ac_ext <<_ACEOF
18056 cat confdefs.h >>conftest.$ac_ext
18057 cat >>conftest.$ac_ext <<_ACEOF
18058 /* end confdefs.h. */
18060 /* Override any GCC internal prototype to avoid an error.
18061 Use char because int might match the return type of a GCC
18062 builtin and then its argument prototype would still apply. */
18066 char libhal_ctx_new ();
18070 return libhal_ctx_new ();
18075 rm -f conftest.$ac_objext conftest$ac_exeext
18076 if { (ac_try="$ac_link"
18077 case "(($ac_try" in
18078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18079 *) ac_try_echo=$ac_try;;
18081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18082 (eval "$ac_link") 2>conftest.er1
18084 grep -v '^ *+' conftest.er1 >conftest.err
18086 cat conftest.err >&5
18087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18088 (exit $ac_status); } &&
18089 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18090 { (case "(($ac_try" in
18091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18092 *) ac_try_echo=$ac_try;;
18094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18095 (eval "$ac_try") 2>&5
18097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18098 (exit $ac_status); }; } &&
18099 { ac_try='test -s conftest$ac_exeext'
18100 { (case "(($ac_try" in
18101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18102 *) ac_try_echo=$ac_try;;
18104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18105 (eval "$ac_try") 2>&5
18107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18108 (exit $ac_status); }; }; then
18109 ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.$LIBEXT | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18110 if test "x$ac_cv_lib_soname_hal" = "x"
18112 ac_cv_lib_soname_hal="libhal.$LIBEXT"
18115 echo "$as_me: failed program was:" >&5
18116 sed 's/^/| /' conftest.$ac_ext >&5
18118 ac_cv_lib_soname_hal="libhal.$LIBEXT"
18121 rm -f core conftest.err conftest.$ac_objext \
18122 conftest$ac_exeext conftest.$ac_ext
18123 LIBS=$ac_get_soname_save_LIBS
18125 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
18126 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
18127 if test "${ac_cv_lib_soname_hal+set}" = set; then
18129 cat >>confdefs.h <<_ACEOF
18130 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
18135 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
18136 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
18137 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
18138 echo $ECHO_N "(cached) $ECHO_C" >&6
18140 ac_get_soname_save_LIBS=$LIBS
18141 LIBS="-ltxc_dxtn $LIBS"
18142 cat >conftest.$ac_ext <<_ACEOF
18145 cat confdefs.h >>conftest.$ac_ext
18146 cat >>conftest.$ac_ext <<_ACEOF
18147 /* end confdefs.h. */
18149 /* Override any GCC internal prototype to avoid an error.
18150 Use char because int might match the return type of a GCC
18151 builtin and then its argument prototype would still apply. */
18155 char fetch_2d_texel_rgba_dxt1 ();
18159 return fetch_2d_texel_rgba_dxt1 ();
18164 rm -f conftest.$ac_objext conftest$ac_exeext
18165 if { (ac_try="$ac_link"
18166 case "(($ac_try" in
18167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18168 *) ac_try_echo=$ac_try;;
18170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18171 (eval "$ac_link") 2>conftest.er1
18173 grep -v '^ *+' conftest.er1 >conftest.err
18175 cat conftest.err >&5
18176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18177 (exit $ac_status); } &&
18178 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18179 { (case "(($ac_try" in
18180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18181 *) ac_try_echo=$ac_try;;
18183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18184 (eval "$ac_try") 2>&5
18186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18187 (exit $ac_status); }; } &&
18188 { ac_try='test -s conftest$ac_exeext'
18189 { (case "(($ac_try" in
18190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18191 *) ac_try_echo=$ac_try;;
18193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18194 (eval "$ac_try") 2>&5
18196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18197 (exit $ac_status); }; }; then
18198 ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.$LIBEXT | sed -e "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18199 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
18201 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
18204 echo "$as_me: failed program was:" >&5
18205 sed 's/^/| /' conftest.$ac_ext >&5
18207 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
18210 rm -f core conftest.err conftest.$ac_objext \
18211 conftest$ac_exeext conftest.$ac_ext
18212 LIBS=$ac_get_soname_save_LIBS
18214 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
18215 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
18216 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
18218 cat >>confdefs.h <<_ACEOF
18219 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
18224 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
18225 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
18226 if test "${ac_cv_lib_soname_cups+set}" = set; then
18227 echo $ECHO_N "(cached) $ECHO_C" >&6
18229 ac_get_soname_save_LIBS=$LIBS
18230 LIBS="-lcups $LIBS"
18231 cat >conftest.$ac_ext <<_ACEOF
18234 cat confdefs.h >>conftest.$ac_ext
18235 cat >>conftest.$ac_ext <<_ACEOF
18236 /* end confdefs.h. */
18238 /* Override any GCC internal prototype to avoid an error.
18239 Use char because int might match the return type of a GCC
18240 builtin and then its argument prototype would still apply. */
18244 char cupsGetDefault ();
18248 return cupsGetDefault ();
18253 rm -f conftest.$ac_objext conftest$ac_exeext
18254 if { (ac_try="$ac_link"
18255 case "(($ac_try" in
18256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18257 *) ac_try_echo=$ac_try;;
18259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18260 (eval "$ac_link") 2>conftest.er1
18262 grep -v '^ *+' conftest.er1 >conftest.err
18264 cat conftest.err >&5
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); } &&
18267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18268 { (case "(($ac_try" in
18269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18270 *) ac_try_echo=$ac_try;;
18272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18273 (eval "$ac_try") 2>&5
18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276 (exit $ac_status); }; } &&
18277 { ac_try='test -s conftest$ac_exeext'
18278 { (case "(($ac_try" in
18279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18280 *) ac_try_echo=$ac_try;;
18282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18283 (eval "$ac_try") 2>&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); }; }; then
18287 ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18288 if test "x$ac_cv_lib_soname_cups" = "x"
18290 ac_cv_lib_soname_cups="libcups.$LIBEXT"
18293 echo "$as_me: failed program was:" >&5
18294 sed 's/^/| /' conftest.$ac_ext >&5
18296 ac_cv_lib_soname_cups="libcups.$LIBEXT"
18299 rm -f core conftest.err conftest.$ac_objext \
18300 conftest$ac_exeext conftest.$ac_ext
18301 LIBS=$ac_get_soname_save_LIBS
18303 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
18304 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
18305 if test "${ac_cv_lib_soname_cups+set}" = set; then
18307 cat >>confdefs.h <<_ACEOF
18308 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
18313 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
18314 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
18315 if test "${ac_cv_lib_soname_jack+set}" = set; then
18316 echo $ECHO_N "(cached) $ECHO_C" >&6
18318 ac_get_soname_save_LIBS=$LIBS
18319 LIBS="-ljack $LIBS"
18320 cat >conftest.$ac_ext <<_ACEOF
18323 cat confdefs.h >>conftest.$ac_ext
18324 cat >>conftest.$ac_ext <<_ACEOF
18325 /* end confdefs.h. */
18327 /* Override any GCC internal prototype to avoid an error.
18328 Use char because int might match the return type of a GCC
18329 builtin and then its argument prototype would still apply. */
18333 char jack_client_new ();
18337 return jack_client_new ();
18342 rm -f conftest.$ac_objext conftest$ac_exeext
18343 if { (ac_try="$ac_link"
18344 case "(($ac_try" in
18345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18346 *) ac_try_echo=$ac_try;;
18348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18349 (eval "$ac_link") 2>conftest.er1
18351 grep -v '^ *+' conftest.er1 >conftest.err
18353 cat conftest.err >&5
18354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18355 (exit $ac_status); } &&
18356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18357 { (case "(($ac_try" in
18358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18359 *) ac_try_echo=$ac_try;;
18361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18362 (eval "$ac_try") 2>&5
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); }; } &&
18366 { ac_try='test -s conftest$ac_exeext'
18367 { (case "(($ac_try" in
18368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18369 *) ac_try_echo=$ac_try;;
18371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18372 (eval "$ac_try") 2>&5
18374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18375 (exit $ac_status); }; }; then
18376 ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18377 if test "x$ac_cv_lib_soname_jack" = "x"
18379 ac_cv_lib_soname_jack="libjack.$LIBEXT"
18382 echo "$as_me: failed program was:" >&5
18383 sed 's/^/| /' conftest.$ac_ext >&5
18385 ac_cv_lib_soname_jack="libjack.$LIBEXT"
18388 rm -f core conftest.err conftest.$ac_objext \
18389 conftest$ac_exeext conftest.$ac_ext
18390 LIBS=$ac_get_soname_save_LIBS
18392 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
18393 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
18394 if test "${ac_cv_lib_soname_jack+set}" = set; then
18396 cat >>confdefs.h <<_ACEOF
18397 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
18402 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
18403 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
18404 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
18405 echo $ECHO_N "(cached) $ECHO_C" >&6
18407 ac_get_soname_save_LIBS=$LIBS
18408 LIBS="-lfontconfig $LIBS"
18409 cat >conftest.$ac_ext <<_ACEOF
18412 cat confdefs.h >>conftest.$ac_ext
18413 cat >>conftest.$ac_ext <<_ACEOF
18414 /* end confdefs.h. */
18416 /* Override any GCC internal prototype to avoid an error.
18417 Use char because int might match the return type of a GCC
18418 builtin and then its argument prototype would still apply. */
18431 rm -f conftest.$ac_objext conftest$ac_exeext
18432 if { (ac_try="$ac_link"
18433 case "(($ac_try" in
18434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18435 *) ac_try_echo=$ac_try;;
18437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18438 (eval "$ac_link") 2>conftest.er1
18440 grep -v '^ *+' conftest.er1 >conftest.err
18442 cat conftest.err >&5
18443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444 (exit $ac_status); } &&
18445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18446 { (case "(($ac_try" in
18447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18448 *) ac_try_echo=$ac_try;;
18450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18451 (eval "$ac_try") 2>&5
18453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18454 (exit $ac_status); }; } &&
18455 { ac_try='test -s conftest$ac_exeext'
18456 { (case "(($ac_try" in
18457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18458 *) ac_try_echo=$ac_try;;
18460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18461 (eval "$ac_try") 2>&5
18463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18464 (exit $ac_status); }; }; then
18465 ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18466 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18468 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
18471 echo "$as_me: failed program was:" >&5
18472 sed 's/^/| /' conftest.$ac_ext >&5
18474 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
18477 rm -f core conftest.err conftest.$ac_objext \
18478 conftest$ac_exeext conftest.$ac_ext
18479 LIBS=$ac_get_soname_save_LIBS
18481 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
18482 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
18483 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
18485 cat >>confdefs.h <<_ACEOF
18486 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
18491 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
18492 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
18493 if test "${ac_cv_lib_soname_ssl+set}" = set; then
18494 echo $ECHO_N "(cached) $ECHO_C" >&6
18496 ac_get_soname_save_LIBS=$LIBS
18498 cat >conftest.$ac_ext <<_ACEOF
18501 cat confdefs.h >>conftest.$ac_ext
18502 cat >>conftest.$ac_ext <<_ACEOF
18503 /* end confdefs.h. */
18505 /* Override any GCC internal prototype to avoid an error.
18506 Use char because int might match the return type of a GCC
18507 builtin and then its argument prototype would still apply. */
18511 char SSL_library_init ();
18515 return SSL_library_init ();
18520 rm -f conftest.$ac_objext conftest$ac_exeext
18521 if { (ac_try="$ac_link"
18522 case "(($ac_try" in
18523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18524 *) ac_try_echo=$ac_try;;
18526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18527 (eval "$ac_link") 2>conftest.er1
18529 grep -v '^ *+' conftest.er1 >conftest.err
18531 cat conftest.err >&5
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); } &&
18534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18535 { (case "(($ac_try" in
18536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18537 *) ac_try_echo=$ac_try;;
18539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18540 (eval "$ac_try") 2>&5
18542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18543 (exit $ac_status); }; } &&
18544 { ac_try='test -s conftest$ac_exeext'
18545 { (case "(($ac_try" in
18546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18547 *) ac_try_echo=$ac_try;;
18549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18550 (eval "$ac_try") 2>&5
18552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18553 (exit $ac_status); }; }; then
18554 ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18555 if test "x$ac_cv_lib_soname_ssl" = "x"
18557 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
18560 echo "$as_me: failed program was:" >&5
18561 sed 's/^/| /' conftest.$ac_ext >&5
18563 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
18566 rm -f core conftest.err conftest.$ac_objext \
18567 conftest$ac_exeext conftest.$ac_ext
18568 LIBS=$ac_get_soname_save_LIBS
18570 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
18571 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
18572 if test "${ac_cv_lib_soname_ssl+set}" = set; then
18574 cat >>confdefs.h <<_ACEOF
18575 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
18580 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
18581 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
18582 if test "${ac_cv_lib_soname_crypto+set}" = set; then
18583 echo $ECHO_N "(cached) $ECHO_C" >&6
18585 ac_get_soname_save_LIBS=$LIBS
18586 LIBS="-lcrypto $LIBS"
18587 cat >conftest.$ac_ext <<_ACEOF
18590 cat confdefs.h >>conftest.$ac_ext
18591 cat >>conftest.$ac_ext <<_ACEOF
18592 /* end confdefs.h. */
18594 /* Override any GCC internal prototype to avoid an error.
18595 Use char because int might match the return type of a GCC
18596 builtin and then its argument prototype would still apply. */
18600 char BIO_new_socket ();
18604 return BIO_new_socket ();
18609 rm -f conftest.$ac_objext conftest$ac_exeext
18610 if { (ac_try="$ac_link"
18611 case "(($ac_try" in
18612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18613 *) ac_try_echo=$ac_try;;
18615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18616 (eval "$ac_link") 2>conftest.er1
18618 grep -v '^ *+' conftest.er1 >conftest.err
18620 cat conftest.err >&5
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); } &&
18623 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18624 { (case "(($ac_try" in
18625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18626 *) ac_try_echo=$ac_try;;
18628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18629 (eval "$ac_try") 2>&5
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); }; } &&
18633 { ac_try='test -s conftest$ac_exeext'
18634 { (case "(($ac_try" in
18635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18636 *) ac_try_echo=$ac_try;;
18638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18639 (eval "$ac_try") 2>&5
18641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18642 (exit $ac_status); }; }; then
18643 ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18644 if test "x$ac_cv_lib_soname_crypto" = "x"
18646 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
18649 echo "$as_me: failed program was:" >&5
18650 sed 's/^/| /' conftest.$ac_ext >&5
18652 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
18655 rm -f core conftest.err conftest.$ac_objext \
18656 conftest$ac_exeext conftest.$ac_ext
18657 LIBS=$ac_get_soname_save_LIBS
18659 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
18660 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
18661 if test "${ac_cv_lib_soname_crypto+set}" = set; then
18663 cat >>confdefs.h <<_ACEOF
18664 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
18669 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
18670 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
18671 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
18672 echo $ECHO_N "(cached) $ECHO_C" >&6
18674 ac_get_soname_save_LIBS=$LIBS
18675 LIBS="-lncurses $LIBS"
18676 cat >conftest.$ac_ext <<_ACEOF
18679 cat confdefs.h >>conftest.$ac_ext
18680 cat >>conftest.$ac_ext <<_ACEOF
18681 /* end confdefs.h. */
18683 /* Override any GCC internal prototype to avoid an error.
18684 Use char because int might match the return type of a GCC
18685 builtin and then its argument prototype would still apply. */
18698 rm -f conftest.$ac_objext conftest$ac_exeext
18699 if { (ac_try="$ac_link"
18700 case "(($ac_try" in
18701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18702 *) ac_try_echo=$ac_try;;
18704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18705 (eval "$ac_link") 2>conftest.er1
18707 grep -v '^ *+' conftest.er1 >conftest.err
18709 cat conftest.err >&5
18710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18711 (exit $ac_status); } &&
18712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18713 { (case "(($ac_try" in
18714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18715 *) ac_try_echo=$ac_try;;
18717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18718 (eval "$ac_try") 2>&5
18720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18721 (exit $ac_status); }; } &&
18722 { ac_try='test -s conftest$ac_exeext'
18723 { (case "(($ac_try" in
18724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18725 *) ac_try_echo=$ac_try;;
18727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18728 (eval "$ac_try") 2>&5
18730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18731 (exit $ac_status); }; }; then
18732 ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18733 if test "x$ac_cv_lib_soname_ncurses" = "x"
18735 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
18738 echo "$as_me: failed program was:" >&5
18739 sed 's/^/| /' conftest.$ac_ext >&5
18741 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
18744 rm -f core conftest.err conftest.$ac_objext \
18745 conftest$ac_exeext conftest.$ac_ext
18746 LIBS=$ac_get_soname_save_LIBS
18748 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
18749 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
18750 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
18752 cat >>confdefs.h <<_ACEOF
18753 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
18758 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
18759 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
18760 if test "${ac_cv_lib_soname_curses+set}" = set; then
18761 echo $ECHO_N "(cached) $ECHO_C" >&6
18763 ac_get_soname_save_LIBS=$LIBS
18764 LIBS="-lcurses $LIBS"
18765 cat >conftest.$ac_ext <<_ACEOF
18768 cat confdefs.h >>conftest.$ac_ext
18769 cat >>conftest.$ac_ext <<_ACEOF
18770 /* end confdefs.h. */
18772 /* Override any GCC internal prototype to avoid an error.
18773 Use char because int might match the return type of a GCC
18774 builtin and then its argument prototype would still apply. */
18787 rm -f conftest.$ac_objext conftest$ac_exeext
18788 if { (ac_try="$ac_link"
18789 case "(($ac_try" in
18790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18791 *) ac_try_echo=$ac_try;;
18793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18794 (eval "$ac_link") 2>conftest.er1
18796 grep -v '^ *+' conftest.er1 >conftest.err
18798 cat conftest.err >&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); } &&
18801 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18802 { (case "(($ac_try" in
18803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18804 *) ac_try_echo=$ac_try;;
18806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18807 (eval "$ac_try") 2>&5
18809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18810 (exit $ac_status); }; } &&
18811 { ac_try='test -s conftest$ac_exeext'
18812 { (case "(($ac_try" in
18813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18814 *) ac_try_echo=$ac_try;;
18816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18817 (eval "$ac_try") 2>&5
18819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18820 (exit $ac_status); }; }; then
18821 ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18822 if test "x$ac_cv_lib_soname_curses" = "x"
18824 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
18827 echo "$as_me: failed program was:" >&5
18828 sed 's/^/| /' conftest.$ac_ext >&5
18830 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
18833 rm -f core conftest.err conftest.$ac_objext \
18834 conftest$ac_exeext conftest.$ac_ext
18835 LIBS=$ac_get_soname_save_LIBS
18837 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
18838 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
18839 if test "${ac_cv_lib_soname_curses+set}" = set; then
18841 cat >>confdefs.h <<_ACEOF
18842 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
18847 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
18848 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
18849 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
18850 echo $ECHO_N "(cached) $ECHO_C" >&6
18852 ac_get_soname_save_LIBS=$LIBS
18853 LIBS="-ljpeg $LIBS"
18854 cat >conftest.$ac_ext <<_ACEOF
18857 cat confdefs.h >>conftest.$ac_ext
18858 cat >>conftest.$ac_ext <<_ACEOF
18859 /* end confdefs.h. */
18861 /* Override any GCC internal prototype to avoid an error.
18862 Use char because int might match the return type of a GCC
18863 builtin and then its argument prototype would still apply. */
18867 char jpeg_start_decompress ();
18871 return jpeg_start_decompress ();
18876 rm -f conftest.$ac_objext conftest$ac_exeext
18877 if { (ac_try="$ac_link"
18878 case "(($ac_try" in
18879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18880 *) ac_try_echo=$ac_try;;
18882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18883 (eval "$ac_link") 2>conftest.er1
18885 grep -v '^ *+' conftest.er1 >conftest.err
18887 cat conftest.err >&5
18888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18889 (exit $ac_status); } &&
18890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18891 { (case "(($ac_try" in
18892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18893 *) ac_try_echo=$ac_try;;
18895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18896 (eval "$ac_try") 2>&5
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); }; } &&
18900 { ac_try='test -s conftest$ac_exeext'
18901 { (case "(($ac_try" in
18902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18903 *) ac_try_echo=$ac_try;;
18905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18906 (eval "$ac_try") 2>&5
18908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18909 (exit $ac_status); }; }; then
18910 ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18911 if test "x$ac_cv_lib_soname_jpeg" = "x"
18913 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
18916 echo "$as_me: failed program was:" >&5
18917 sed 's/^/| /' conftest.$ac_ext >&5
18919 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
18922 rm -f core conftest.err conftest.$ac_objext \
18923 conftest$ac_exeext conftest.$ac_ext
18924 LIBS=$ac_get_soname_save_LIBS
18926 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
18927 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
18928 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
18930 cat >>confdefs.h <<_ACEOF
18931 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
18936 { echo "$as_me:$LINENO: checking for -lungif soname" >&5
18937 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6; }
18938 if test "${ac_cv_lib_soname_ungif+set}" = set; then
18939 echo $ECHO_N "(cached) $ECHO_C" >&6
18941 ac_get_soname_save_LIBS=$LIBS
18942 LIBS="-lungif $LIBS"
18943 cat >conftest.$ac_ext <<_ACEOF
18946 cat confdefs.h >>conftest.$ac_ext
18947 cat >>conftest.$ac_ext <<_ACEOF
18948 /* end confdefs.h. */
18950 /* Override any GCC internal prototype to avoid an error.
18951 Use char because int might match the return type of a GCC
18952 builtin and then its argument prototype would still apply. */
18960 return DGifOpen ();
18965 rm -f conftest.$ac_objext conftest$ac_exeext
18966 if { (ac_try="$ac_link"
18967 case "(($ac_try" in
18968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18969 *) ac_try_echo=$ac_try;;
18971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18972 (eval "$ac_link") 2>conftest.er1
18974 grep -v '^ *+' conftest.er1 >conftest.err
18976 cat conftest.err >&5
18977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18978 (exit $ac_status); } &&
18979 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18980 { (case "(($ac_try" in
18981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18982 *) ac_try_echo=$ac_try;;
18984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18985 (eval "$ac_try") 2>&5
18987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988 (exit $ac_status); }; } &&
18989 { ac_try='test -s conftest$ac_exeext'
18990 { (case "(($ac_try" in
18991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18992 *) ac_try_echo=$ac_try;;
18994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18995 (eval "$ac_try") 2>&5
18997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18998 (exit $ac_status); }; }; then
18999 ac_cv_lib_soname_ungif=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed -e "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19000 if test "x$ac_cv_lib_soname_ungif" = "x"
19002 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
19005 echo "$as_me: failed program was:" >&5
19006 sed 's/^/| /' conftest.$ac_ext >&5
19008 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
19011 rm -f core conftest.err conftest.$ac_objext \
19012 conftest$ac_exeext conftest.$ac_ext
19013 LIBS=$ac_get_soname_save_LIBS
19015 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
19016 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6; }
19017 if test "${ac_cv_lib_soname_ungif+set}" = set; then
19019 cat >>confdefs.h <<_ACEOF
19020 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
19025 { echo "$as_me:$LINENO: checking for -lgif soname" >&5
19026 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6; }
19027 if test "${ac_cv_lib_soname_gif+set}" = set; then
19028 echo $ECHO_N "(cached) $ECHO_C" >&6
19030 ac_get_soname_save_LIBS=$LIBS
19032 cat >conftest.$ac_ext <<_ACEOF
19035 cat confdefs.h >>conftest.$ac_ext
19036 cat >>conftest.$ac_ext <<_ACEOF
19037 /* end confdefs.h. */
19039 /* Override any GCC internal prototype to avoid an error.
19040 Use char because int might match the return type of a GCC
19041 builtin and then its argument prototype would still apply. */
19049 return DGifOpen ();
19054 rm -f conftest.$ac_objext conftest$ac_exeext
19055 if { (ac_try="$ac_link"
19056 case "(($ac_try" in
19057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19058 *) ac_try_echo=$ac_try;;
19060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19061 (eval "$ac_link") 2>conftest.er1
19063 grep -v '^ *+' conftest.er1 >conftest.err
19065 cat conftest.err >&5
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); } &&
19068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19069 { (case "(($ac_try" in
19070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19071 *) ac_try_echo=$ac_try;;
19073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19074 (eval "$ac_try") 2>&5
19076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19077 (exit $ac_status); }; } &&
19078 { ac_try='test -s conftest$ac_exeext'
19079 { (case "(($ac_try" in
19080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19081 *) ac_try_echo=$ac_try;;
19083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19084 (eval "$ac_try") 2>&5
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); }; }; then
19088 ac_cv_lib_soname_gif=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed -e "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19089 if test "x$ac_cv_lib_soname_gif" = "x"
19091 ac_cv_lib_soname_gif="libgif.$LIBEXT"
19094 echo "$as_me: failed program was:" >&5
19095 sed 's/^/| /' conftest.$ac_ext >&5
19097 ac_cv_lib_soname_gif="libgif.$LIBEXT"
19100 rm -f core conftest.err conftest.$ac_objext \
19101 conftest$ac_exeext conftest.$ac_ext
19102 LIBS=$ac_get_soname_save_LIBS
19104 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
19105 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6; }
19106 if test "${ac_cv_lib_soname_gif+set}" = set; then
19108 cat >>confdefs.h <<_ACEOF
19109 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
19114 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
19115 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
19116 if test "${ac_cv_lib_soname_capi20+set}" = set; then
19117 echo $ECHO_N "(cached) $ECHO_C" >&6
19119 ac_get_soname_save_LIBS=$LIBS
19120 LIBS="-lcapi20 $LIBS"
19121 cat >conftest.$ac_ext <<_ACEOF
19124 cat confdefs.h >>conftest.$ac_ext
19125 cat >>conftest.$ac_ext <<_ACEOF
19126 /* end confdefs.h. */
19128 /* Override any GCC internal prototype to avoid an error.
19129 Use char because int might match the return type of a GCC
19130 builtin and then its argument prototype would still apply. */
19134 char capi20_isinstalled ();
19138 return capi20_isinstalled ();
19143 rm -f conftest.$ac_objext conftest$ac_exeext
19144 if { (ac_try="$ac_link"
19145 case "(($ac_try" in
19146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19147 *) ac_try_echo=$ac_try;;
19149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19150 (eval "$ac_link") 2>conftest.er1
19152 grep -v '^ *+' conftest.er1 >conftest.err
19154 cat conftest.err >&5
19155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19156 (exit $ac_status); } &&
19157 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19158 { (case "(($ac_try" in
19159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19160 *) ac_try_echo=$ac_try;;
19162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19163 (eval "$ac_try") 2>&5
19165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19166 (exit $ac_status); }; } &&
19167 { ac_try='test -s conftest$ac_exeext'
19168 { (case "(($ac_try" in
19169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19170 *) ac_try_echo=$ac_try;;
19172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19173 (eval "$ac_try") 2>&5
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); }; }; then
19177 ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.$LIBEXT | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19178 if test "x$ac_cv_lib_soname_capi20" = "x"
19180 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
19183 echo "$as_me: failed program was:" >&5
19184 sed 's/^/| /' conftest.$ac_ext >&5
19186 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
19189 rm -f core conftest.err conftest.$ac_objext \
19190 conftest$ac_exeext conftest.$ac_ext
19191 LIBS=$ac_get_soname_save_LIBS
19193 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
19194 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
19195 if test "${ac_cv_lib_soname_capi20+set}" = set; then
19197 cat >>confdefs.h <<_ACEOF
19198 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
19338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19339 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19341 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19342 echo $ECHO_N "(cached) $ECHO_C" >&6
19344 cat >conftest.$ac_ext <<_ACEOF
19347 cat confdefs.h >>conftest.$ac_ext
19348 cat >>conftest.$ac_ext <<_ACEOF
19349 /* end confdefs.h. */
19350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19352 #define $ac_func innocuous_$ac_func
19354 /* System header to define __stub macros and hopefully few prototypes,
19355 which can conflict with char $ac_func (); below.
19356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19357 <limits.h> exists even on freestanding compilers. */
19360 # include <limits.h>
19362 # include <assert.h>
19367 /* Override any GCC internal prototype to avoid an error.
19368 Use char because int might match the return type of a GCC
19369 builtin and then its argument prototype would still apply. */
19374 /* The GNU C library defines this for functions which it implements
19375 to always fail with ENOSYS. Some functions are actually named
19376 something starting with __ and the normal name is an alias. */
19377 #if defined __stub_$ac_func || defined __stub___$ac_func
19384 return $ac_func ();
19389 rm -f conftest.$ac_objext conftest$ac_exeext
19390 if { (ac_try="$ac_link"
19391 case "(($ac_try" in
19392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19393 *) ac_try_echo=$ac_try;;
19395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19396 (eval "$ac_link") 2>conftest.er1
19398 grep -v '^ *+' conftest.er1 >conftest.err
19400 cat conftest.err >&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); } &&
19403 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19404 { (case "(($ac_try" in
19405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19406 *) ac_try_echo=$ac_try;;
19408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19409 (eval "$ac_try") 2>&5
19411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19412 (exit $ac_status); }; } &&
19413 { ac_try='test -s conftest$ac_exeext'
19414 { (case "(($ac_try" in
19415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19416 *) ac_try_echo=$ac_try;;
19418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19419 (eval "$ac_try") 2>&5
19421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19422 (exit $ac_status); }; }; then
19423 eval "$as_ac_var=yes"
19425 echo "$as_me: failed program was:" >&5
19426 sed 's/^/| /' conftest.$ac_ext >&5
19428 eval "$as_ac_var=no"
19431 rm -f core conftest.err conftest.$ac_objext \
19432 conftest$ac_exeext conftest.$ac_ext
19434 ac_res=`eval echo '${'$as_ac_var'}'`
19435 { echo "$as_me:$LINENO: result: $ac_res" >&5
19436 echo "${ECHO_T}$ac_res" >&6; }
19437 if test `eval echo '${'$as_ac_var'}'` = yes; then
19438 cat >>confdefs.h <<_ACEOF
19439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19448 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19449 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19450 if test "${ac_cv_c_const+set}" = set; then
19451 echo $ECHO_N "(cached) $ECHO_C" >&6
19453 cat >conftest.$ac_ext <<_ACEOF
19456 cat confdefs.h >>conftest.$ac_ext
19457 cat >>conftest.$ac_ext <<_ACEOF
19458 /* end confdefs.h. */
19463 /* FIXME: Include the comments suggested by Paul. */
19464 #ifndef __cplusplus
19465 /* Ultrix mips cc rejects this. */
19466 typedef int charset[2];
19468 /* SunOS 4.1.1 cc rejects this. */
19469 char const *const *ccp;
19471 /* NEC SVR4.0.2 mips cc rejects this. */
19472 struct point {int x, y;};
19473 static struct point const zero = {0,0};
19474 /* AIX XL C 1.02.0.0 rejects this.
19475 It does not let you subtract one const X* pointer from another in
19476 an arm of an if-expression whose if-part is not a constant
19478 const char *g = "string";
19479 ccp = &g + (g ? g-g : 0);
19480 /* HPUX 7.0 cc rejects these. */
19483 ccp = (char const *const *) p;
19484 { /* SCO 3.2v4 cc rejects this. */
19486 char const *s = 0 ? (char *) 0 : (char const *) 0;
19491 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19492 int x[] = {25, 17};
19493 const int *foo = &x[0];
19496 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19497 typedef const int *iptr;
19501 { /* AIX XL C 1.02.0.0 rejects this saying
19502 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19503 struct s { int j; const int *ap[3]; };
19504 struct s *b; b->j = 5;
19506 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19507 const int foo = 10;
19508 if (!foo) return 0;
19510 return !x[0] && !zero.x;
19517 rm -f conftest.$ac_objext
19518 if { (ac_try="$ac_compile"
19519 case "(($ac_try" in
19520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19521 *) ac_try_echo=$ac_try;;
19523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19524 (eval "$ac_compile") 2>conftest.er1
19526 grep -v '^ *+' conftest.er1 >conftest.err
19528 cat conftest.err >&5
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); } &&
19531 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19532 { (case "(($ac_try" in
19533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19534 *) ac_try_echo=$ac_try;;
19536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19537 (eval "$ac_try") 2>&5
19539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19540 (exit $ac_status); }; } &&
19541 { ac_try='test -s conftest.$ac_objext'
19542 { (case "(($ac_try" in
19543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19544 *) ac_try_echo=$ac_try;;
19546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19547 (eval "$ac_try") 2>&5
19549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19550 (exit $ac_status); }; }; then
19553 echo "$as_me: failed program was:" >&5
19554 sed 's/^/| /' conftest.$ac_ext >&5
19559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19561 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19562 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19563 if test $ac_cv_c_const = no; then
19565 cat >>confdefs.h <<\_ACEOF
19571 { echo "$as_me:$LINENO: checking for inline" >&5
19572 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19573 if test "${ac_cv_c_inline+set}" = set; then
19574 echo $ECHO_N "(cached) $ECHO_C" >&6
19577 for ac_kw in inline __inline__ __inline; do
19578 cat >conftest.$ac_ext <<_ACEOF
19581 cat confdefs.h >>conftest.$ac_ext
19582 cat >>conftest.$ac_ext <<_ACEOF
19583 /* end confdefs.h. */
19584 #ifndef __cplusplus
19586 static $ac_kw foo_t static_foo () {return 0; }
19587 $ac_kw foo_t foo () {return 0; }
19591 rm -f conftest.$ac_objext
19592 if { (ac_try="$ac_compile"
19593 case "(($ac_try" in
19594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19595 *) ac_try_echo=$ac_try;;
19597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19598 (eval "$ac_compile") 2>conftest.er1
19600 grep -v '^ *+' conftest.er1 >conftest.err
19602 cat conftest.err >&5
19603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19604 (exit $ac_status); } &&
19605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19606 { (case "(($ac_try" in
19607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19608 *) ac_try_echo=$ac_try;;
19610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19611 (eval "$ac_try") 2>&5
19613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19614 (exit $ac_status); }; } &&
19615 { ac_try='test -s conftest.$ac_objext'
19616 { (case "(($ac_try" in
19617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19618 *) ac_try_echo=$ac_try;;
19620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19621 (eval "$ac_try") 2>&5
19623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19624 (exit $ac_status); }; }; then
19625 ac_cv_c_inline=$ac_kw
19627 echo "$as_me: failed program was:" >&5
19628 sed 's/^/| /' conftest.$ac_ext >&5
19633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19634 test "$ac_cv_c_inline" != no && break
19638 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19639 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19642 case $ac_cv_c_inline in
19645 case $ac_cv_c_inline in
19647 *) ac_val=$ac_cv_c_inline;;
19649 cat >>confdefs.h <<_ACEOF
19650 #ifndef __cplusplus
19651 #define inline $ac_val
19657 { echo "$as_me:$LINENO: checking for mode_t" >&5
19658 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
19659 if test "${ac_cv_type_mode_t+set}" = set; then
19660 echo $ECHO_N "(cached) $ECHO_C" >&6
19662 cat >conftest.$ac_ext <<_ACEOF
19665 cat confdefs.h >>conftest.$ac_ext
19666 cat >>conftest.$ac_ext <<_ACEOF
19667 /* end confdefs.h. */
19668 $ac_includes_default
19669 typedef mode_t ac__type_new_;
19673 if ((ac__type_new_ *) 0)
19675 if (sizeof (ac__type_new_))
19681 rm -f conftest.$ac_objext
19682 if { (ac_try="$ac_compile"
19683 case "(($ac_try" in
19684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19685 *) ac_try_echo=$ac_try;;
19687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19688 (eval "$ac_compile") 2>conftest.er1
19690 grep -v '^ *+' conftest.er1 >conftest.err
19692 cat conftest.err >&5
19693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19694 (exit $ac_status); } &&
19695 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19696 { (case "(($ac_try" in
19697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19698 *) ac_try_echo=$ac_try;;
19700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19701 (eval "$ac_try") 2>&5
19703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19704 (exit $ac_status); }; } &&
19705 { ac_try='test -s conftest.$ac_objext'
19706 { (case "(($ac_try" in
19707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19708 *) ac_try_echo=$ac_try;;
19710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19711 (eval "$ac_try") 2>&5
19713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714 (exit $ac_status); }; }; then
19715 ac_cv_type_mode_t=yes
19717 echo "$as_me: failed program was:" >&5
19718 sed 's/^/| /' conftest.$ac_ext >&5
19720 ac_cv_type_mode_t=no
19723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19725 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19726 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
19727 if test $ac_cv_type_mode_t = yes; then
19729 cat >>confdefs.h <<_ACEOF
19730 #define HAVE_MODE_T 1
19735 { echo "$as_me:$LINENO: checking for off_t" >&5
19736 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19737 if test "${ac_cv_type_off_t+set}" = set; then
19738 echo $ECHO_N "(cached) $ECHO_C" >&6
19740 cat >conftest.$ac_ext <<_ACEOF
19743 cat confdefs.h >>conftest.$ac_ext
19744 cat >>conftest.$ac_ext <<_ACEOF
19745 /* end confdefs.h. */
19746 $ac_includes_default
19747 typedef off_t ac__type_new_;
19751 if ((ac__type_new_ *) 0)
19753 if (sizeof (ac__type_new_))
19759 rm -f conftest.$ac_objext
19760 if { (ac_try="$ac_compile"
19761 case "(($ac_try" in
19762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19763 *) ac_try_echo=$ac_try;;
19765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19766 (eval "$ac_compile") 2>conftest.er1
19768 grep -v '^ *+' conftest.er1 >conftest.err
19770 cat conftest.err >&5
19771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19772 (exit $ac_status); } &&
19773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19774 { (case "(($ac_try" in
19775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19776 *) ac_try_echo=$ac_try;;
19778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19779 (eval "$ac_try") 2>&5
19781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782 (exit $ac_status); }; } &&
19783 { ac_try='test -s conftest.$ac_objext'
19784 { (case "(($ac_try" in
19785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19786 *) ac_try_echo=$ac_try;;
19788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19789 (eval "$ac_try") 2>&5
19791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19792 (exit $ac_status); }; }; then
19793 ac_cv_type_off_t=yes
19795 echo "$as_me: failed program was:" >&5
19796 sed 's/^/| /' conftest.$ac_ext >&5
19798 ac_cv_type_off_t=no
19801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19803 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19804 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19805 if test $ac_cv_type_off_t = yes; then
19807 cat >>confdefs.h <<_ACEOF
19808 #define HAVE_OFF_T 1
19813 { echo "$as_me:$LINENO: checking for pid_t" >&5
19814 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19815 if test "${ac_cv_type_pid_t+set}" = set; then
19816 echo $ECHO_N "(cached) $ECHO_C" >&6
19818 cat >conftest.$ac_ext <<_ACEOF
19821 cat confdefs.h >>conftest.$ac_ext
19822 cat >>conftest.$ac_ext <<_ACEOF
19823 /* end confdefs.h. */
19824 $ac_includes_default
19825 typedef pid_t ac__type_new_;
19829 if ((ac__type_new_ *) 0)
19831 if (sizeof (ac__type_new_))
19837 rm -f conftest.$ac_objext
19838 if { (ac_try="$ac_compile"
19839 case "(($ac_try" in
19840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19841 *) ac_try_echo=$ac_try;;
19843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19844 (eval "$ac_compile") 2>conftest.er1
19846 grep -v '^ *+' conftest.er1 >conftest.err
19848 cat conftest.err >&5
19849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19850 (exit $ac_status); } &&
19851 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19852 { (case "(($ac_try" in
19853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19854 *) ac_try_echo=$ac_try;;
19856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19857 (eval "$ac_try") 2>&5
19859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19860 (exit $ac_status); }; } &&
19861 { ac_try='test -s conftest.$ac_objext'
19862 { (case "(($ac_try" in
19863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19864 *) ac_try_echo=$ac_try;;
19866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19867 (eval "$ac_try") 2>&5
19869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19870 (exit $ac_status); }; }; then
19871 ac_cv_type_pid_t=yes
19873 echo "$as_me: failed program was:" >&5
19874 sed 's/^/| /' conftest.$ac_ext >&5
19876 ac_cv_type_pid_t=no
19879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19881 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19882 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19883 if test $ac_cv_type_pid_t = yes; then
19885 cat >>confdefs.h <<_ACEOF
19886 #define HAVE_PID_T 1
19891 { echo "$as_me:$LINENO: checking for size_t" >&5
19892 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19893 if test "${ac_cv_type_size_t+set}" = set; then
19894 echo $ECHO_N "(cached) $ECHO_C" >&6
19896 cat >conftest.$ac_ext <<_ACEOF
19899 cat confdefs.h >>conftest.$ac_ext
19900 cat >>conftest.$ac_ext <<_ACEOF
19901 /* end confdefs.h. */
19902 $ac_includes_default
19903 typedef size_t ac__type_new_;
19907 if ((ac__type_new_ *) 0)
19909 if (sizeof (ac__type_new_))
19915 rm -f conftest.$ac_objext
19916 if { (ac_try="$ac_compile"
19917 case "(($ac_try" in
19918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19919 *) ac_try_echo=$ac_try;;
19921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19922 (eval "$ac_compile") 2>conftest.er1
19924 grep -v '^ *+' conftest.er1 >conftest.err
19926 cat conftest.err >&5
19927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928 (exit $ac_status); } &&
19929 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19930 { (case "(($ac_try" in
19931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19932 *) ac_try_echo=$ac_try;;
19934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19935 (eval "$ac_try") 2>&5
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); }; } &&
19939 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19949 ac_cv_type_size_t=yes
19951 echo "$as_me: failed program was:" >&5
19952 sed 's/^/| /' conftest.$ac_ext >&5
19954 ac_cv_type_size_t=no
19957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19959 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19960 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19961 if test $ac_cv_type_size_t = yes; then
19963 cat >>confdefs.h <<_ACEOF
19964 #define HAVE_SIZE_T 1
19969 { echo "$as_me:$LINENO: checking for ssize_t" >&5
19970 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
19971 if test "${ac_cv_type_ssize_t+set}" = set; then
19972 echo $ECHO_N "(cached) $ECHO_C" >&6
19974 cat >conftest.$ac_ext <<_ACEOF
19977 cat confdefs.h >>conftest.$ac_ext
19978 cat >>conftest.$ac_ext <<_ACEOF
19979 /* end confdefs.h. */
19980 $ac_includes_default
19981 typedef ssize_t ac__type_new_;
19985 if ((ac__type_new_ *) 0)
19987 if (sizeof (ac__type_new_))
19993 rm -f conftest.$ac_objext
19994 if { (ac_try="$ac_compile"
19995 case "(($ac_try" in
19996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19997 *) ac_try_echo=$ac_try;;
19999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20000 (eval "$ac_compile") 2>conftest.er1
20002 grep -v '^ *+' conftest.er1 >conftest.err
20004 cat conftest.err >&5
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); } &&
20007 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
20015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20016 (exit $ac_status); }; } &&
20017 { ac_try='test -s conftest.$ac_objext'
20018 { (case "(($ac_try" in
20019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20020 *) ac_try_echo=$ac_try;;
20022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20023 (eval "$ac_try") 2>&5
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); }; }; then
20027 ac_cv_type_ssize_t=yes
20029 echo "$as_me: failed program was:" >&5
20030 sed 's/^/| /' conftest.$ac_ext >&5
20032 ac_cv_type_ssize_t=no
20035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20037 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
20038 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
20039 if test $ac_cv_type_ssize_t = yes; then
20041 cat >>confdefs.h <<_ACEOF
20042 #define HAVE_SSIZE_T 1
20047 { echo "$as_me:$LINENO: checking for long long" >&5
20048 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20049 if test "${ac_cv_type_long_long+set}" = set; then
20050 echo $ECHO_N "(cached) $ECHO_C" >&6
20052 cat >conftest.$ac_ext <<_ACEOF
20055 cat confdefs.h >>conftest.$ac_ext
20056 cat >>conftest.$ac_ext <<_ACEOF
20057 /* end confdefs.h. */
20058 $ac_includes_default
20059 typedef long long ac__type_new_;
20063 if ((ac__type_new_ *) 0)
20065 if (sizeof (ac__type_new_))
20071 rm -f conftest.$ac_objext
20072 if { (ac_try="$ac_compile"
20073 case "(($ac_try" in
20074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20075 *) ac_try_echo=$ac_try;;
20077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20078 (eval "$ac_compile") 2>conftest.er1
20080 grep -v '^ *+' conftest.er1 >conftest.err
20082 cat conftest.err >&5
20083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20084 (exit $ac_status); } &&
20085 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20086 { (case "(($ac_try" in
20087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20088 *) ac_try_echo=$ac_try;;
20090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20091 (eval "$ac_try") 2>&5
20093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20094 (exit $ac_status); }; } &&
20095 { ac_try='test -s conftest.$ac_objext'
20096 { (case "(($ac_try" in
20097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20098 *) ac_try_echo=$ac_try;;
20100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20101 (eval "$ac_try") 2>&5
20103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104 (exit $ac_status); }; }; then
20105 ac_cv_type_long_long=yes
20107 echo "$as_me: failed program was:" >&5
20108 sed 's/^/| /' conftest.$ac_ext >&5
20110 ac_cv_type_long_long=no
20113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20115 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20116 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20117 if test $ac_cv_type_long_long = yes; then
20119 cat >>confdefs.h <<_ACEOF
20120 #define HAVE_LONG_LONG 1
20125 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
20126 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
20127 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
20128 echo $ECHO_N "(cached) $ECHO_C" >&6
20130 cat >conftest.$ac_ext <<_ACEOF
20133 cat confdefs.h >>conftest.$ac_ext
20134 cat >>conftest.$ac_ext <<_ACEOF
20135 /* end confdefs.h. */
20136 $ac_includes_default
20137 typedef fsblkcnt_t ac__type_new_;
20141 if ((ac__type_new_ *) 0)
20143 if (sizeof (ac__type_new_))
20149 rm -f conftest.$ac_objext
20150 if { (ac_try="$ac_compile"
20151 case "(($ac_try" in
20152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20153 *) ac_try_echo=$ac_try;;
20155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20156 (eval "$ac_compile") 2>conftest.er1
20158 grep -v '^ *+' conftest.er1 >conftest.err
20160 cat conftest.err >&5
20161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20162 (exit $ac_status); } &&
20163 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20164 { (case "(($ac_try" in
20165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20166 *) ac_try_echo=$ac_try;;
20168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20169 (eval "$ac_try") 2>&5
20171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20172 (exit $ac_status); }; } &&
20173 { ac_try='test -s conftest.$ac_objext'
20174 { (case "(($ac_try" in
20175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20176 *) ac_try_echo=$ac_try;;
20178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20179 (eval "$ac_try") 2>&5
20181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20182 (exit $ac_status); }; }; then
20183 ac_cv_type_fsblkcnt_t=yes
20185 echo "$as_me: failed program was:" >&5
20186 sed 's/^/| /' conftest.$ac_ext >&5
20188 ac_cv_type_fsblkcnt_t=no
20191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20193 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
20194 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
20195 if test $ac_cv_type_fsblkcnt_t = yes; then
20197 cat >>confdefs.h <<_ACEOF
20198 #define HAVE_FSBLKCNT_T 1
20203 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
20204 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
20205 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
20206 echo $ECHO_N "(cached) $ECHO_C" >&6
20208 cat >conftest.$ac_ext <<_ACEOF
20211 cat confdefs.h >>conftest.$ac_ext
20212 cat >>conftest.$ac_ext <<_ACEOF
20213 /* end confdefs.h. */
20214 $ac_includes_default
20215 typedef fsfilcnt_t ac__type_new_;
20219 if ((ac__type_new_ *) 0)
20221 if (sizeof (ac__type_new_))
20227 rm -f conftest.$ac_objext
20228 if { (ac_try="$ac_compile"
20229 case "(($ac_try" in
20230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20231 *) ac_try_echo=$ac_try;;
20233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20234 (eval "$ac_compile") 2>conftest.er1
20236 grep -v '^ *+' conftest.er1 >conftest.err
20238 cat conftest.err >&5
20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240 (exit $ac_status); } &&
20241 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20242 { (case "(($ac_try" in
20243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20244 *) ac_try_echo=$ac_try;;
20246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20247 (eval "$ac_try") 2>&5
20249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20250 (exit $ac_status); }; } &&
20251 { ac_try='test -s conftest.$ac_objext'
20252 { (case "(($ac_try" in
20253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20254 *) ac_try_echo=$ac_try;;
20256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20257 (eval "$ac_try") 2>&5
20259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20260 (exit $ac_status); }; }; then
20261 ac_cv_type_fsfilcnt_t=yes
20263 echo "$as_me: failed program was:" >&5
20264 sed 's/^/| /' conftest.$ac_ext >&5
20266 ac_cv_type_fsfilcnt_t=no
20269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20271 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
20272 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
20273 if test $ac_cv_type_fsfilcnt_t = yes; then
20275 cat >>confdefs.h <<_ACEOF
20276 #define HAVE_FSFILCNT_T 1
20282 { echo "$as_me:$LINENO: checking for sigset_t" >&5
20283 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
20284 if test "${ac_cv_type_sigset_t+set}" = set; then
20285 echo $ECHO_N "(cached) $ECHO_C" >&6
20287 cat >conftest.$ac_ext <<_ACEOF
20290 cat confdefs.h >>conftest.$ac_ext
20291 cat >>conftest.$ac_ext <<_ACEOF
20292 /* end confdefs.h. */
20293 #include <signal.h>
20295 typedef sigset_t ac__type_new_;
20299 if ((ac__type_new_ *) 0)
20301 if (sizeof (ac__type_new_))
20307 rm -f conftest.$ac_objext
20308 if { (ac_try="$ac_compile"
20309 case "(($ac_try" in
20310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20311 *) ac_try_echo=$ac_try;;
20313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20314 (eval "$ac_compile") 2>conftest.er1
20316 grep -v '^ *+' conftest.er1 >conftest.err
20318 cat conftest.err >&5
20319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20320 (exit $ac_status); } &&
20321 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20322 { (case "(($ac_try" in
20323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20324 *) ac_try_echo=$ac_try;;
20326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20327 (eval "$ac_try") 2>&5
20329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330 (exit $ac_status); }; } &&
20331 { ac_try='test -s conftest.$ac_objext'
20332 { (case "(($ac_try" in
20333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20334 *) ac_try_echo=$ac_try;;
20336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20337 (eval "$ac_try") 2>&5
20339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20340 (exit $ac_status); }; }; then
20341 ac_cv_type_sigset_t=yes
20343 echo "$as_me: failed program was:" >&5
20344 sed 's/^/| /' conftest.$ac_ext >&5
20346 ac_cv_type_sigset_t=no
20349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20351 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
20352 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
20353 if test $ac_cv_type_sigset_t = yes; then
20355 cat >>confdefs.h <<_ACEOF
20356 #define HAVE_SIGSET_T 1
20362 { echo "$as_me:$LINENO: checking for request_sense" >&5
20363 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
20364 if test "${ac_cv_type_request_sense+set}" = set; then
20365 echo $ECHO_N "(cached) $ECHO_C" >&6
20367 cat >conftest.$ac_ext <<_ACEOF
20370 cat confdefs.h >>conftest.$ac_ext
20371 cat >>conftest.$ac_ext <<_ACEOF
20372 /* end confdefs.h. */
20373 #include <linux/cdrom.h>
20375 typedef request_sense ac__type_new_;
20379 if ((ac__type_new_ *) 0)
20381 if (sizeof (ac__type_new_))
20387 rm -f conftest.$ac_objext
20388 if { (ac_try="$ac_compile"
20389 case "(($ac_try" in
20390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20391 *) ac_try_echo=$ac_try;;
20393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20394 (eval "$ac_compile") 2>conftest.er1
20396 grep -v '^ *+' conftest.er1 >conftest.err
20398 cat conftest.err >&5
20399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20400 (exit $ac_status); } &&
20401 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20402 { (case "(($ac_try" in
20403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20404 *) ac_try_echo=$ac_try;;
20406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20407 (eval "$ac_try") 2>&5
20409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20410 (exit $ac_status); }; } &&
20411 { ac_try='test -s conftest.$ac_objext'
20412 { (case "(($ac_try" in
20413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20414 *) ac_try_echo=$ac_try;;
20416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20417 (eval "$ac_try") 2>&5
20419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20420 (exit $ac_status); }; }; then
20421 ac_cv_type_request_sense=yes
20423 echo "$as_me: failed program was:" >&5
20424 sed 's/^/| /' conftest.$ac_ext >&5
20426 ac_cv_type_request_sense=no
20429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20431 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
20432 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
20433 if test $ac_cv_type_request_sense = yes; then
20435 cat >>confdefs.h <<_ACEOF
20436 #define HAVE_REQUEST_SENSE 1
20443 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
20444 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
20445 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
20446 echo $ECHO_N "(cached) $ECHO_C" >&6
20448 cat >conftest.$ac_ext <<_ACEOF
20451 cat confdefs.h >>conftest.$ac_ext
20452 cat >>conftest.$ac_ext <<_ACEOF
20453 /* end confdefs.h. */
20454 #ifdef HAVE_LINUX_INPUT_H
20455 #include <linux/input.h>
20461 static struct ff_effect ac_aggr;
20462 if (ac_aggr.direction)
20468 rm -f conftest.$ac_objext
20469 if { (ac_try="$ac_compile"
20470 case "(($ac_try" in
20471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20472 *) ac_try_echo=$ac_try;;
20474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20475 (eval "$ac_compile") 2>conftest.er1
20477 grep -v '^ *+' conftest.er1 >conftest.err
20479 cat conftest.err >&5
20480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20481 (exit $ac_status); } &&
20482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20483 { (case "(($ac_try" in
20484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20485 *) ac_try_echo=$ac_try;;
20487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20488 (eval "$ac_try") 2>&5
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); }; } &&
20492 { ac_try='test -s conftest.$ac_objext'
20493 { (case "(($ac_try" in
20494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20495 *) ac_try_echo=$ac_try;;
20497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20498 (eval "$ac_try") 2>&5
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); }; }; then
20502 ac_cv_member_struct_ff_effect_direction=yes
20504 echo "$as_me: failed program was:" >&5
20505 sed 's/^/| /' conftest.$ac_ext >&5
20507 cat >conftest.$ac_ext <<_ACEOF
20510 cat confdefs.h >>conftest.$ac_ext
20511 cat >>conftest.$ac_ext <<_ACEOF
20512 /* end confdefs.h. */
20513 #ifdef HAVE_LINUX_INPUT_H
20514 #include <linux/input.h>
20520 static struct ff_effect ac_aggr;
20521 if (sizeof ac_aggr.direction)
20527 rm -f conftest.$ac_objext
20528 if { (ac_try="$ac_compile"
20529 case "(($ac_try" in
20530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20531 *) ac_try_echo=$ac_try;;
20533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20534 (eval "$ac_compile") 2>conftest.er1
20536 grep -v '^ *+' conftest.er1 >conftest.err
20538 cat conftest.err >&5
20539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20540 (exit $ac_status); } &&
20541 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20542 { (case "(($ac_try" in
20543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20544 *) ac_try_echo=$ac_try;;
20546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20547 (eval "$ac_try") 2>&5
20549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550 (exit $ac_status); }; } &&
20551 { ac_try='test -s conftest.$ac_objext'
20552 { (case "(($ac_try" in
20553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20554 *) ac_try_echo=$ac_try;;
20556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20557 (eval "$ac_try") 2>&5
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); }; }; then
20561 ac_cv_member_struct_ff_effect_direction=yes
20563 echo "$as_me: failed program was:" >&5
20564 sed 's/^/| /' conftest.$ac_ext >&5
20566 ac_cv_member_struct_ff_effect_direction=no
20569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20574 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
20575 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
20576 if test $ac_cv_member_struct_ff_effect_direction = yes; then
20578 cat >>confdefs.h <<_ACEOF
20579 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
20586 { echo "$as_me:$LINENO: checking for sigaddset" >&5
20587 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
20588 if test "${wine_cv_have_sigaddset+set}" = set; then
20589 echo $ECHO_N "(cached) $ECHO_C" >&6
20591 cat >conftest.$ac_ext <<_ACEOF
20594 cat confdefs.h >>conftest.$ac_ext
20595 cat >>conftest.$ac_ext <<_ACEOF
20596 /* end confdefs.h. */
20597 #include <signal.h>
20601 sigset_t set; sigaddset(&set,SIGTERM);
20606 rm -f conftest.$ac_objext conftest$ac_exeext
20607 if { (ac_try="$ac_link"
20608 case "(($ac_try" in
20609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20610 *) ac_try_echo=$ac_try;;
20612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20613 (eval "$ac_link") 2>conftest.er1
20615 grep -v '^ *+' conftest.er1 >conftest.err
20617 cat conftest.err >&5
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); } &&
20620 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20621 { (case "(($ac_try" in
20622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20623 *) ac_try_echo=$ac_try;;
20625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20626 (eval "$ac_try") 2>&5
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); }; } &&
20630 { ac_try='test -s conftest$ac_exeext'
20631 { (case "(($ac_try" in
20632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20633 *) ac_try_echo=$ac_try;;
20635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20636 (eval "$ac_try") 2>&5
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); }; }; then
20640 wine_cv_have_sigaddset=yes
20642 echo "$as_me: failed program was:" >&5
20643 sed 's/^/| /' conftest.$ac_ext >&5
20645 wine_cv_have_sigaddset=no
20648 rm -f core conftest.err conftest.$ac_objext \
20649 conftest$ac_exeext conftest.$ac_ext
20651 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20652 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
20653 if test "$wine_cv_have_sigaddset" = "yes"
20656 cat >>confdefs.h <<\_ACEOF
20657 #define HAVE_SIGADDSET 1
20663 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20664 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
20665 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
20666 echo $ECHO_N "(cached) $ECHO_C" >&6
20668 cat >conftest.$ac_ext <<_ACEOF
20671 cat confdefs.h >>conftest.$ac_ext
20672 cat >>conftest.$ac_ext <<_ACEOF
20673 /* end confdefs.h. */
20683 struct hostent *result;
20690 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20691 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20697 rm -f conftest.$ac_objext conftest$ac_exeext
20698 if { (ac_try="$ac_link"
20699 case "(($ac_try" in
20700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20701 *) ac_try_echo=$ac_try;;
20703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20704 (eval "$ac_link") 2>conftest.er1
20706 grep -v '^ *+' conftest.er1 >conftest.err
20708 cat conftest.err >&5
20709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710 (exit $ac_status); } &&
20711 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20712 { (case "(($ac_try" in
20713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20714 *) ac_try_echo=$ac_try;;
20716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20717 (eval "$ac_try") 2>&5
20719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720 (exit $ac_status); }; } &&
20721 { ac_try='test -s conftest$ac_exeext'
20722 { (case "(($ac_try" in
20723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20724 *) ac_try_echo=$ac_try;;
20726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20727 (eval "$ac_try") 2>&5
20729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20730 (exit $ac_status); }; }; then
20731 wine_cv_linux_gethostbyname_r_6=yes
20733 echo "$as_me: failed program was:" >&5
20734 sed 's/^/| /' conftest.$ac_ext >&5
20736 wine_cv_linux_gethostbyname_r_6=no
20740 rm -f core conftest.err conftest.$ac_objext \
20741 conftest$ac_exeext conftest.$ac_ext
20744 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
20745 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
20746 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20749 cat >>confdefs.h <<\_ACEOF
20750 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
20755 if test "$ac_cv_header_linux_joystick_h" = "yes"
20757 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20758 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
20759 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
20760 echo $ECHO_N "(cached) $ECHO_C" >&6
20762 cat >conftest.$ac_ext <<_ACEOF
20765 cat confdefs.h >>conftest.$ac_ext
20766 cat >>conftest.$ac_ext <<_ACEOF
20767 /* end confdefs.h. */
20769 #include <sys/ioctl.h>
20770 #include <linux/joystick.h>
20772 struct js_event blub;
20773 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20774 #error "no 2.2 header"
20785 rm -f conftest.$ac_objext
20786 if { (ac_try="$ac_compile"
20787 case "(($ac_try" in
20788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20789 *) ac_try_echo=$ac_try;;
20791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20792 (eval "$ac_compile") 2>conftest.er1
20794 grep -v '^ *+' conftest.er1 >conftest.err
20796 cat conftest.err >&5
20797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20798 (exit $ac_status); } &&
20799 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20800 { (case "(($ac_try" in
20801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20802 *) ac_try_echo=$ac_try;;
20804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20805 (eval "$ac_try") 2>&5
20807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20808 (exit $ac_status); }; } &&
20809 { ac_try='test -s conftest.$ac_objext'
20810 { (case "(($ac_try" in
20811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20812 *) ac_try_echo=$ac_try;;
20814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20815 (eval "$ac_try") 2>&5
20817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20818 (exit $ac_status); }; }; then
20819 wine_cv_linux_joystick_22_api=yes
20821 echo "$as_me: failed program was:" >&5
20822 sed 's/^/| /' conftest.$ac_ext >&5
20824 wine_cv_linux_joystick_22_api=no
20827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20830 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
20831 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
20832 if test "$wine_cv_linux_joystick_22_api" = "yes"
20835 cat >>confdefs.h <<\_ACEOF
20836 #define HAVE_LINUX_22_JOYSTICK_API 1
20843 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
20844 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
20845 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
20846 echo $ECHO_N "(cached) $ECHO_C" >&6
20848 cat >conftest.$ac_ext <<_ACEOF
20851 cat confdefs.h >>conftest.$ac_ext
20852 cat >>conftest.$ac_ext <<_ACEOF
20853 /* end confdefs.h. */
20854 #include <sys/types.h>
20855 #ifdef HAVE_SYS_PARAM_H
20856 # include <sys/param.h>
20858 #ifdef HAVE_SYS_MOUNT_H
20859 # include <sys/mount.h>
20861 #ifdef HAVE_SYS_VFS_H
20862 # include <sys/vfs.h>
20864 #ifdef HAVE_SYS_STATFS_H
20865 # include <sys/statfs.h>
20871 static struct statfs ac_aggr;
20872 if (ac_aggr.f_bfree)
20878 rm -f conftest.$ac_objext
20879 if { (ac_try="$ac_compile"
20880 case "(($ac_try" in
20881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20882 *) ac_try_echo=$ac_try;;
20884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20885 (eval "$ac_compile") 2>conftest.er1
20887 grep -v '^ *+' conftest.er1 >conftest.err
20889 cat conftest.err >&5
20890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891 (exit $ac_status); } &&
20892 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20893 { (case "(($ac_try" in
20894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20895 *) ac_try_echo=$ac_try;;
20897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20898 (eval "$ac_try") 2>&5
20900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20901 (exit $ac_status); }; } &&
20902 { ac_try='test -s conftest.$ac_objext'
20903 { (case "(($ac_try" in
20904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20905 *) ac_try_echo=$ac_try;;
20907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20908 (eval "$ac_try") 2>&5
20910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20911 (exit $ac_status); }; }; then
20912 ac_cv_member_struct_statfs_f_bfree=yes
20914 echo "$as_me: failed program was:" >&5
20915 sed 's/^/| /' conftest.$ac_ext >&5
20917 cat >conftest.$ac_ext <<_ACEOF
20920 cat confdefs.h >>conftest.$ac_ext
20921 cat >>conftest.$ac_ext <<_ACEOF
20922 /* end confdefs.h. */
20923 #include <sys/types.h>
20924 #ifdef HAVE_SYS_PARAM_H
20925 # include <sys/param.h>
20927 #ifdef HAVE_SYS_MOUNT_H
20928 # include <sys/mount.h>
20930 #ifdef HAVE_SYS_VFS_H
20931 # include <sys/vfs.h>
20933 #ifdef HAVE_SYS_STATFS_H
20934 # include <sys/statfs.h>
20940 static struct statfs ac_aggr;
20941 if (sizeof ac_aggr.f_bfree)
20947 rm -f conftest.$ac_objext
20948 if { (ac_try="$ac_compile"
20949 case "(($ac_try" in
20950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20951 *) ac_try_echo=$ac_try;;
20953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20954 (eval "$ac_compile") 2>conftest.er1
20956 grep -v '^ *+' conftest.er1 >conftest.err
20958 cat conftest.err >&5
20959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20960 (exit $ac_status); } &&
20961 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20962 { (case "(($ac_try" in
20963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20964 *) ac_try_echo=$ac_try;;
20966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20967 (eval "$ac_try") 2>&5
20969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20970 (exit $ac_status); }; } &&
20971 { ac_try='test -s conftest.$ac_objext'
20972 { (case "(($ac_try" in
20973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20974 *) ac_try_echo=$ac_try;;
20976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20977 (eval "$ac_try") 2>&5
20979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20980 (exit $ac_status); }; }; then
20981 ac_cv_member_struct_statfs_f_bfree=yes
20983 echo "$as_me: failed program was:" >&5
20984 sed 's/^/| /' conftest.$ac_ext >&5
20986 ac_cv_member_struct_statfs_f_bfree=no
20989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20994 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
20995 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
20996 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
20998 cat >>confdefs.h <<_ACEOF
20999 #define HAVE_STRUCT_STATFS_F_BFREE 1
21004 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
21005 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
21006 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
21007 echo $ECHO_N "(cached) $ECHO_C" >&6
21009 cat >conftest.$ac_ext <<_ACEOF
21012 cat confdefs.h >>conftest.$ac_ext
21013 cat >>conftest.$ac_ext <<_ACEOF
21014 /* end confdefs.h. */
21015 #include <sys/types.h>
21016 #ifdef HAVE_SYS_PARAM_H
21017 # include <sys/param.h>
21019 #ifdef HAVE_SYS_MOUNT_H
21020 # include <sys/mount.h>
21022 #ifdef HAVE_SYS_VFS_H
21023 # include <sys/vfs.h>
21025 #ifdef HAVE_SYS_STATFS_H
21026 # include <sys/statfs.h>
21032 static struct statfs ac_aggr;
21033 if (ac_aggr.f_bavail)
21039 rm -f conftest.$ac_objext
21040 if { (ac_try="$ac_compile"
21041 case "(($ac_try" in
21042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21043 *) ac_try_echo=$ac_try;;
21045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21046 (eval "$ac_compile") 2>conftest.er1
21048 grep -v '^ *+' conftest.er1 >conftest.err
21050 cat conftest.err >&5
21051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052 (exit $ac_status); } &&
21053 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21054 { (case "(($ac_try" in
21055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21056 *) ac_try_echo=$ac_try;;
21058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21059 (eval "$ac_try") 2>&5
21061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21062 (exit $ac_status); }; } &&
21063 { ac_try='test -s conftest.$ac_objext'
21064 { (case "(($ac_try" in
21065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21066 *) ac_try_echo=$ac_try;;
21068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21069 (eval "$ac_try") 2>&5
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); }; }; then
21073 ac_cv_member_struct_statfs_f_bavail=yes
21075 echo "$as_me: failed program was:" >&5
21076 sed 's/^/| /' conftest.$ac_ext >&5
21078 cat >conftest.$ac_ext <<_ACEOF
21081 cat confdefs.h >>conftest.$ac_ext
21082 cat >>conftest.$ac_ext <<_ACEOF
21083 /* end confdefs.h. */
21084 #include <sys/types.h>
21085 #ifdef HAVE_SYS_PARAM_H
21086 # include <sys/param.h>
21088 #ifdef HAVE_SYS_MOUNT_H
21089 # include <sys/mount.h>
21091 #ifdef HAVE_SYS_VFS_H
21092 # include <sys/vfs.h>
21094 #ifdef HAVE_SYS_STATFS_H
21095 # include <sys/statfs.h>
21101 static struct statfs ac_aggr;
21102 if (sizeof ac_aggr.f_bavail)
21108 rm -f conftest.$ac_objext
21109 if { (ac_try="$ac_compile"
21110 case "(($ac_try" in
21111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21112 *) ac_try_echo=$ac_try;;
21114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21115 (eval "$ac_compile") 2>conftest.er1
21117 grep -v '^ *+' conftest.er1 >conftest.err
21119 cat conftest.err >&5
21120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21121 (exit $ac_status); } &&
21122 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21123 { (case "(($ac_try" in
21124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21125 *) ac_try_echo=$ac_try;;
21127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21128 (eval "$ac_try") 2>&5
21130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21131 (exit $ac_status); }; } &&
21132 { ac_try='test -s conftest.$ac_objext'
21133 { (case "(($ac_try" in
21134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21135 *) ac_try_echo=$ac_try;;
21137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21138 (eval "$ac_try") 2>&5
21140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21141 (exit $ac_status); }; }; then
21142 ac_cv_member_struct_statfs_f_bavail=yes
21144 echo "$as_me: failed program was:" >&5
21145 sed 's/^/| /' conftest.$ac_ext >&5
21147 ac_cv_member_struct_statfs_f_bavail=no
21150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21155 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
21156 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
21157 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
21159 cat >>confdefs.h <<_ACEOF
21160 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
21165 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
21166 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
21167 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
21168 echo $ECHO_N "(cached) $ECHO_C" >&6
21170 cat >conftest.$ac_ext <<_ACEOF
21173 cat confdefs.h >>conftest.$ac_ext
21174 cat >>conftest.$ac_ext <<_ACEOF
21175 /* end confdefs.h. */
21176 #include <sys/types.h>
21177 #ifdef HAVE_SYS_PARAM_H
21178 # include <sys/param.h>
21180 #ifdef HAVE_SYS_MOUNT_H
21181 # include <sys/mount.h>
21183 #ifdef HAVE_SYS_VFS_H
21184 # include <sys/vfs.h>
21186 #ifdef HAVE_SYS_STATFS_H
21187 # include <sys/statfs.h>
21193 static struct statfs ac_aggr;
21194 if (ac_aggr.f_frsize)
21200 rm -f conftest.$ac_objext
21201 if { (ac_try="$ac_compile"
21202 case "(($ac_try" in
21203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21204 *) ac_try_echo=$ac_try;;
21206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21207 (eval "$ac_compile") 2>conftest.er1
21209 grep -v '^ *+' conftest.er1 >conftest.err
21211 cat conftest.err >&5
21212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21213 (exit $ac_status); } &&
21214 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21215 { (case "(($ac_try" in
21216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21217 *) ac_try_echo=$ac_try;;
21219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21220 (eval "$ac_try") 2>&5
21222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21223 (exit $ac_status); }; } &&
21224 { ac_try='test -s conftest.$ac_objext'
21225 { (case "(($ac_try" in
21226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21227 *) ac_try_echo=$ac_try;;
21229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21230 (eval "$ac_try") 2>&5
21232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21233 (exit $ac_status); }; }; then
21234 ac_cv_member_struct_statfs_f_frsize=yes
21236 echo "$as_me: failed program was:" >&5
21237 sed 's/^/| /' conftest.$ac_ext >&5
21239 cat >conftest.$ac_ext <<_ACEOF
21242 cat confdefs.h >>conftest.$ac_ext
21243 cat >>conftest.$ac_ext <<_ACEOF
21244 /* end confdefs.h. */
21245 #include <sys/types.h>
21246 #ifdef HAVE_SYS_PARAM_H
21247 # include <sys/param.h>
21249 #ifdef HAVE_SYS_MOUNT_H
21250 # include <sys/mount.h>
21252 #ifdef HAVE_SYS_VFS_H
21253 # include <sys/vfs.h>
21255 #ifdef HAVE_SYS_STATFS_H
21256 # include <sys/statfs.h>
21262 static struct statfs ac_aggr;
21263 if (sizeof ac_aggr.f_frsize)
21269 rm -f conftest.$ac_objext
21270 if { (ac_try="$ac_compile"
21271 case "(($ac_try" in
21272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21273 *) ac_try_echo=$ac_try;;
21275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21276 (eval "$ac_compile") 2>conftest.er1
21278 grep -v '^ *+' conftest.er1 >conftest.err
21280 cat conftest.err >&5
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); } &&
21283 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21284 { (case "(($ac_try" in
21285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21286 *) ac_try_echo=$ac_try;;
21288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21289 (eval "$ac_try") 2>&5
21291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21292 (exit $ac_status); }; } &&
21293 { ac_try='test -s conftest.$ac_objext'
21294 { (case "(($ac_try" in
21295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21296 *) ac_try_echo=$ac_try;;
21298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21299 (eval "$ac_try") 2>&5
21301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21302 (exit $ac_status); }; }; then
21303 ac_cv_member_struct_statfs_f_frsize=yes
21305 echo "$as_me: failed program was:" >&5
21306 sed 's/^/| /' conftest.$ac_ext >&5
21308 ac_cv_member_struct_statfs_f_frsize=no
21311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21316 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
21317 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
21318 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
21320 cat >>confdefs.h <<_ACEOF
21321 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
21326 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
21327 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
21328 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
21329 echo $ECHO_N "(cached) $ECHO_C" >&6
21331 cat >conftest.$ac_ext <<_ACEOF
21334 cat confdefs.h >>conftest.$ac_ext
21335 cat >>conftest.$ac_ext <<_ACEOF
21336 /* end confdefs.h. */
21337 #include <sys/types.h>
21338 #ifdef HAVE_SYS_PARAM_H
21339 # include <sys/param.h>
21341 #ifdef HAVE_SYS_MOUNT_H
21342 # include <sys/mount.h>
21344 #ifdef HAVE_SYS_VFS_H
21345 # include <sys/vfs.h>
21347 #ifdef HAVE_SYS_STATFS_H
21348 # include <sys/statfs.h>
21354 static struct statfs ac_aggr;
21355 if (ac_aggr.f_ffree)
21361 rm -f conftest.$ac_objext
21362 if { (ac_try="$ac_compile"
21363 case "(($ac_try" in
21364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21365 *) ac_try_echo=$ac_try;;
21367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21368 (eval "$ac_compile") 2>conftest.er1
21370 grep -v '^ *+' conftest.er1 >conftest.err
21372 cat conftest.err >&5
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); } &&
21375 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
21383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21384 (exit $ac_status); }; } &&
21385 { ac_try='test -s conftest.$ac_objext'
21386 { (case "(($ac_try" in
21387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21388 *) ac_try_echo=$ac_try;;
21390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21391 (eval "$ac_try") 2>&5
21393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21394 (exit $ac_status); }; }; then
21395 ac_cv_member_struct_statfs_f_ffree=yes
21397 echo "$as_me: failed program was:" >&5
21398 sed 's/^/| /' conftest.$ac_ext >&5
21400 cat >conftest.$ac_ext <<_ACEOF
21403 cat confdefs.h >>conftest.$ac_ext
21404 cat >>conftest.$ac_ext <<_ACEOF
21405 /* end confdefs.h. */
21406 #include <sys/types.h>
21407 #ifdef HAVE_SYS_PARAM_H
21408 # include <sys/param.h>
21410 #ifdef HAVE_SYS_MOUNT_H
21411 # include <sys/mount.h>
21413 #ifdef HAVE_SYS_VFS_H
21414 # include <sys/vfs.h>
21416 #ifdef HAVE_SYS_STATFS_H
21417 # include <sys/statfs.h>
21423 static struct statfs ac_aggr;
21424 if (sizeof ac_aggr.f_ffree)
21430 rm -f conftest.$ac_objext
21431 if { (ac_try="$ac_compile"
21432 case "(($ac_try" in
21433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21434 *) ac_try_echo=$ac_try;;
21436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21437 (eval "$ac_compile") 2>conftest.er1
21439 grep -v '^ *+' conftest.er1 >conftest.err
21441 cat conftest.err >&5
21442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21443 (exit $ac_status); } &&
21444 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21445 { (case "(($ac_try" in
21446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21447 *) ac_try_echo=$ac_try;;
21449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21450 (eval "$ac_try") 2>&5
21452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21453 (exit $ac_status); }; } &&
21454 { ac_try='test -s conftest.$ac_objext'
21455 { (case "(($ac_try" in
21456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21457 *) ac_try_echo=$ac_try;;
21459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21460 (eval "$ac_try") 2>&5
21462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21463 (exit $ac_status); }; }; then
21464 ac_cv_member_struct_statfs_f_ffree=yes
21466 echo "$as_me: failed program was:" >&5
21467 sed 's/^/| /' conftest.$ac_ext >&5
21469 ac_cv_member_struct_statfs_f_ffree=no
21472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21477 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
21478 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
21479 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
21481 cat >>confdefs.h <<_ACEOF
21482 #define HAVE_STRUCT_STATFS_F_FFREE 1
21487 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
21488 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
21489 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
21490 echo $ECHO_N "(cached) $ECHO_C" >&6
21492 cat >conftest.$ac_ext <<_ACEOF
21495 cat confdefs.h >>conftest.$ac_ext
21496 cat >>conftest.$ac_ext <<_ACEOF
21497 /* end confdefs.h. */
21498 #include <sys/types.h>
21499 #ifdef HAVE_SYS_PARAM_H
21500 # include <sys/param.h>
21502 #ifdef HAVE_SYS_MOUNT_H
21503 # include <sys/mount.h>
21505 #ifdef HAVE_SYS_VFS_H
21506 # include <sys/vfs.h>
21508 #ifdef HAVE_SYS_STATFS_H
21509 # include <sys/statfs.h>
21515 static struct statfs ac_aggr;
21516 if (ac_aggr.f_favail)
21522 rm -f conftest.$ac_objext
21523 if { (ac_try="$ac_compile"
21524 case "(($ac_try" in
21525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21526 *) ac_try_echo=$ac_try;;
21528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21529 (eval "$ac_compile") 2>conftest.er1
21531 grep -v '^ *+' conftest.er1 >conftest.err
21533 cat conftest.err >&5
21534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21535 (exit $ac_status); } &&
21536 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21537 { (case "(($ac_try" in
21538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21539 *) ac_try_echo=$ac_try;;
21541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21542 (eval "$ac_try") 2>&5
21544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21545 (exit $ac_status); }; } &&
21546 { ac_try='test -s conftest.$ac_objext'
21547 { (case "(($ac_try" in
21548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21549 *) ac_try_echo=$ac_try;;
21551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21552 (eval "$ac_try") 2>&5
21554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21555 (exit $ac_status); }; }; then
21556 ac_cv_member_struct_statfs_f_favail=yes
21558 echo "$as_me: failed program was:" >&5
21559 sed 's/^/| /' conftest.$ac_ext >&5
21561 cat >conftest.$ac_ext <<_ACEOF
21564 cat confdefs.h >>conftest.$ac_ext
21565 cat >>conftest.$ac_ext <<_ACEOF
21566 /* end confdefs.h. */
21567 #include <sys/types.h>
21568 #ifdef HAVE_SYS_PARAM_H
21569 # include <sys/param.h>
21571 #ifdef HAVE_SYS_MOUNT_H
21572 # include <sys/mount.h>
21574 #ifdef HAVE_SYS_VFS_H
21575 # include <sys/vfs.h>
21577 #ifdef HAVE_SYS_STATFS_H
21578 # include <sys/statfs.h>
21584 static struct statfs ac_aggr;
21585 if (sizeof ac_aggr.f_favail)
21591 rm -f conftest.$ac_objext
21592 if { (ac_try="$ac_compile"
21593 case "(($ac_try" in
21594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21595 *) ac_try_echo=$ac_try;;
21597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21598 (eval "$ac_compile") 2>conftest.er1
21600 grep -v '^ *+' conftest.er1 >conftest.err
21602 cat conftest.err >&5
21603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604 (exit $ac_status); } &&
21605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21606 { (case "(($ac_try" in
21607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21608 *) ac_try_echo=$ac_try;;
21610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21611 (eval "$ac_try") 2>&5
21613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21614 (exit $ac_status); }; } &&
21615 { ac_try='test -s conftest.$ac_objext'
21616 { (case "(($ac_try" in
21617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21618 *) ac_try_echo=$ac_try;;
21620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21621 (eval "$ac_try") 2>&5
21623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21624 (exit $ac_status); }; }; then
21625 ac_cv_member_struct_statfs_f_favail=yes
21627 echo "$as_me: failed program was:" >&5
21628 sed 's/^/| /' conftest.$ac_ext >&5
21630 ac_cv_member_struct_statfs_f_favail=no
21633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21638 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
21639 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
21640 if test $ac_cv_member_struct_statfs_f_favail = yes; then
21642 cat >>confdefs.h <<_ACEOF
21643 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
21648 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
21649 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
21650 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
21651 echo $ECHO_N "(cached) $ECHO_C" >&6
21653 cat >conftest.$ac_ext <<_ACEOF
21656 cat confdefs.h >>conftest.$ac_ext
21657 cat >>conftest.$ac_ext <<_ACEOF
21658 /* end confdefs.h. */
21659 #include <sys/types.h>
21660 #ifdef HAVE_SYS_PARAM_H
21661 # include <sys/param.h>
21663 #ifdef HAVE_SYS_MOUNT_H
21664 # include <sys/mount.h>
21666 #ifdef HAVE_SYS_VFS_H
21667 # include <sys/vfs.h>
21669 #ifdef HAVE_SYS_STATFS_H
21670 # include <sys/statfs.h>
21676 static struct statfs ac_aggr;
21677 if (ac_aggr.f_namelen)
21683 rm -f conftest.$ac_objext
21684 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
21692 grep -v '^ *+' conftest.er1 >conftest.err
21694 cat conftest.err >&5
21695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21696 (exit $ac_status); } &&
21697 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21698 { (case "(($ac_try" in
21699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21700 *) ac_try_echo=$ac_try;;
21702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21703 (eval "$ac_try") 2>&5
21705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21706 (exit $ac_status); }; } &&
21707 { ac_try='test -s conftest.$ac_objext'
21708 { (case "(($ac_try" in
21709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21710 *) ac_try_echo=$ac_try;;
21712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21713 (eval "$ac_try") 2>&5
21715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21716 (exit $ac_status); }; }; then
21717 ac_cv_member_struct_statfs_f_namelen=yes
21719 echo "$as_me: failed program was:" >&5
21720 sed 's/^/| /' conftest.$ac_ext >&5
21722 cat >conftest.$ac_ext <<_ACEOF
21725 cat confdefs.h >>conftest.$ac_ext
21726 cat >>conftest.$ac_ext <<_ACEOF
21727 /* end confdefs.h. */
21728 #include <sys/types.h>
21729 #ifdef HAVE_SYS_PARAM_H
21730 # include <sys/param.h>
21732 #ifdef HAVE_SYS_MOUNT_H
21733 # include <sys/mount.h>
21735 #ifdef HAVE_SYS_VFS_H
21736 # include <sys/vfs.h>
21738 #ifdef HAVE_SYS_STATFS_H
21739 # include <sys/statfs.h>
21745 static struct statfs ac_aggr;
21746 if (sizeof ac_aggr.f_namelen)
21752 rm -f conftest.$ac_objext
21753 if { (ac_try="$ac_compile"
21754 case "(($ac_try" in
21755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21756 *) ac_try_echo=$ac_try;;
21758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21759 (eval "$ac_compile") 2>conftest.er1
21761 grep -v '^ *+' conftest.er1 >conftest.err
21763 cat conftest.err >&5
21764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21765 (exit $ac_status); } &&
21766 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21767 { (case "(($ac_try" in
21768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21769 *) ac_try_echo=$ac_try;;
21771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21772 (eval "$ac_try") 2>&5
21774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21775 (exit $ac_status); }; } &&
21776 { ac_try='test -s conftest.$ac_objext'
21777 { (case "(($ac_try" in
21778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21779 *) ac_try_echo=$ac_try;;
21781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21782 (eval "$ac_try") 2>&5
21784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785 (exit $ac_status); }; }; then
21786 ac_cv_member_struct_statfs_f_namelen=yes
21788 echo "$as_me: failed program was:" >&5
21789 sed 's/^/| /' conftest.$ac_ext >&5
21791 ac_cv_member_struct_statfs_f_namelen=no
21794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21799 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
21800 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
21801 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
21803 cat >>confdefs.h <<_ACEOF
21804 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
21811 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
21812 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
21813 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
21814 echo $ECHO_N "(cached) $ECHO_C" >&6
21816 cat >conftest.$ac_ext <<_ACEOF
21819 cat confdefs.h >>conftest.$ac_ext
21820 cat >>conftest.$ac_ext <<_ACEOF
21821 /* end confdefs.h. */
21822 #ifdef HAVE_SYS_STATVFS_H
21823 #include <sys/statvfs.h>
21829 static struct statvfs ac_aggr;
21830 if (ac_aggr.f_blocks)
21836 rm -f conftest.$ac_objext
21837 if { (ac_try="$ac_compile"
21838 case "(($ac_try" in
21839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21840 *) ac_try_echo=$ac_try;;
21842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21843 (eval "$ac_compile") 2>conftest.er1
21845 grep -v '^ *+' conftest.er1 >conftest.err
21847 cat conftest.err >&5
21848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21849 (exit $ac_status); } &&
21850 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21851 { (case "(($ac_try" in
21852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21853 *) ac_try_echo=$ac_try;;
21855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21856 (eval "$ac_try") 2>&5
21858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21859 (exit $ac_status); }; } &&
21860 { ac_try='test -s conftest.$ac_objext'
21861 { (case "(($ac_try" in
21862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21863 *) ac_try_echo=$ac_try;;
21865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21866 (eval "$ac_try") 2>&5
21868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21869 (exit $ac_status); }; }; then
21870 ac_cv_member_struct_statvfs_f_blocks=yes
21872 echo "$as_me: failed program was:" >&5
21873 sed 's/^/| /' conftest.$ac_ext >&5
21875 cat >conftest.$ac_ext <<_ACEOF
21878 cat confdefs.h >>conftest.$ac_ext
21879 cat >>conftest.$ac_ext <<_ACEOF
21880 /* end confdefs.h. */
21881 #ifdef HAVE_SYS_STATVFS_H
21882 #include <sys/statvfs.h>
21888 static struct statvfs ac_aggr;
21889 if (sizeof ac_aggr.f_blocks)
21895 rm -f conftest.$ac_objext
21896 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
21904 grep -v '^ *+' conftest.er1 >conftest.err
21906 cat conftest.err >&5
21907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908 (exit $ac_status); } &&
21909 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21910 { (case "(($ac_try" in
21911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21912 *) ac_try_echo=$ac_try;;
21914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21915 (eval "$ac_try") 2>&5
21917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21918 (exit $ac_status); }; } &&
21919 { ac_try='test -s conftest.$ac_objext'
21920 { (case "(($ac_try" in
21921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21922 *) ac_try_echo=$ac_try;;
21924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21925 (eval "$ac_try") 2>&5
21927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21928 (exit $ac_status); }; }; then
21929 ac_cv_member_struct_statvfs_f_blocks=yes
21931 echo "$as_me: failed program was:" >&5
21932 sed 's/^/| /' conftest.$ac_ext >&5
21934 ac_cv_member_struct_statvfs_f_blocks=no
21937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21942 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
21943 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
21944 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
21946 cat >>confdefs.h <<_ACEOF
21947 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
21954 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
21955 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
21956 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
21957 echo $ECHO_N "(cached) $ECHO_C" >&6
21959 cat >conftest.$ac_ext <<_ACEOF
21962 cat confdefs.h >>conftest.$ac_ext
21963 cat >>conftest.$ac_ext <<_ACEOF
21964 /* end confdefs.h. */
21965 #include <sys/types.h>
21966 #ifdef HAVE_SYS_SOCKET_H
21967 # include <sys/socket.h>
21969 #ifdef HAVE_SYS_UN_H
21970 # include <sys/un.h>
21976 static struct msghdr ac_aggr;
21977 if (ac_aggr.msg_accrights)
21983 rm -f conftest.$ac_objext
21984 if { (ac_try="$ac_compile"
21985 case "(($ac_try" in
21986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21987 *) ac_try_echo=$ac_try;;
21989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21990 (eval "$ac_compile") 2>conftest.er1
21992 grep -v '^ *+' conftest.er1 >conftest.err
21994 cat conftest.err >&5
21995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21996 (exit $ac_status); } &&
21997 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21998 { (case "(($ac_try" in
21999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22000 *) ac_try_echo=$ac_try;;
22002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22003 (eval "$ac_try") 2>&5
22005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006 (exit $ac_status); }; } &&
22007 { ac_try='test -s conftest.$ac_objext'
22008 { (case "(($ac_try" in
22009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22010 *) ac_try_echo=$ac_try;;
22012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22013 (eval "$ac_try") 2>&5
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); }; }; then
22017 ac_cv_member_struct_msghdr_msg_accrights=yes
22019 echo "$as_me: failed program was:" >&5
22020 sed 's/^/| /' conftest.$ac_ext >&5
22022 cat >conftest.$ac_ext <<_ACEOF
22025 cat confdefs.h >>conftest.$ac_ext
22026 cat >>conftest.$ac_ext <<_ACEOF
22027 /* end confdefs.h. */
22028 #include <sys/types.h>
22029 #ifdef HAVE_SYS_SOCKET_H
22030 # include <sys/socket.h>
22032 #ifdef HAVE_SYS_UN_H
22033 # include <sys/un.h>
22039 static struct msghdr ac_aggr;
22040 if (sizeof ac_aggr.msg_accrights)
22046 rm -f conftest.$ac_objext
22047 if { (ac_try="$ac_compile"
22048 case "(($ac_try" in
22049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22050 *) ac_try_echo=$ac_try;;
22052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22053 (eval "$ac_compile") 2>conftest.er1
22055 grep -v '^ *+' conftest.er1 >conftest.err
22057 cat conftest.err >&5
22058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22059 (exit $ac_status); } &&
22060 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22061 { (case "(($ac_try" in
22062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22063 *) ac_try_echo=$ac_try;;
22065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22066 (eval "$ac_try") 2>&5
22068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22069 (exit $ac_status); }; } &&
22070 { ac_try='test -s conftest.$ac_objext'
22071 { (case "(($ac_try" in
22072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22073 *) ac_try_echo=$ac_try;;
22075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22076 (eval "$ac_try") 2>&5
22078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22079 (exit $ac_status); }; }; then
22080 ac_cv_member_struct_msghdr_msg_accrights=yes
22082 echo "$as_me: failed program was:" >&5
22083 sed 's/^/| /' conftest.$ac_ext >&5
22085 ac_cv_member_struct_msghdr_msg_accrights=no
22088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22093 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
22094 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
22095 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
22097 cat >>confdefs.h <<_ACEOF
22098 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
22103 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
22104 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
22105 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
22106 echo $ECHO_N "(cached) $ECHO_C" >&6
22108 cat >conftest.$ac_ext <<_ACEOF
22111 cat confdefs.h >>conftest.$ac_ext
22112 cat >>conftest.$ac_ext <<_ACEOF
22113 /* end confdefs.h. */
22114 #include <sys/types.h>
22115 #ifdef HAVE_SYS_SOCKET_H
22116 # include <sys/socket.h>
22118 #ifdef HAVE_SYS_UN_H
22119 # include <sys/un.h>
22125 static struct sockaddr ac_aggr;
22126 if (ac_aggr.sa_len)
22132 rm -f conftest.$ac_objext
22133 if { (ac_try="$ac_compile"
22134 case "(($ac_try" in
22135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22136 *) ac_try_echo=$ac_try;;
22138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22139 (eval "$ac_compile") 2>conftest.er1
22141 grep -v '^ *+' conftest.er1 >conftest.err
22143 cat conftest.err >&5
22144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145 (exit $ac_status); } &&
22146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22147 { (case "(($ac_try" in
22148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22149 *) ac_try_echo=$ac_try;;
22151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22152 (eval "$ac_try") 2>&5
22154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22155 (exit $ac_status); }; } &&
22156 { ac_try='test -s conftest.$ac_objext'
22157 { (case "(($ac_try" in
22158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22159 *) ac_try_echo=$ac_try;;
22161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22162 (eval "$ac_try") 2>&5
22164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22165 (exit $ac_status); }; }; then
22166 ac_cv_member_struct_sockaddr_sa_len=yes
22168 echo "$as_me: failed program was:" >&5
22169 sed 's/^/| /' conftest.$ac_ext >&5
22171 cat >conftest.$ac_ext <<_ACEOF
22174 cat confdefs.h >>conftest.$ac_ext
22175 cat >>conftest.$ac_ext <<_ACEOF
22176 /* end confdefs.h. */
22177 #include <sys/types.h>
22178 #ifdef HAVE_SYS_SOCKET_H
22179 # include <sys/socket.h>
22181 #ifdef HAVE_SYS_UN_H
22182 # include <sys/un.h>
22188 static struct sockaddr ac_aggr;
22189 if (sizeof ac_aggr.sa_len)
22195 rm -f conftest.$ac_objext
22196 if { (ac_try="$ac_compile"
22197 case "(($ac_try" in
22198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22199 *) ac_try_echo=$ac_try;;
22201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22202 (eval "$ac_compile") 2>conftest.er1
22204 grep -v '^ *+' conftest.er1 >conftest.err
22206 cat conftest.err >&5
22207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22208 (exit $ac_status); } &&
22209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22210 { (case "(($ac_try" in
22211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22212 *) ac_try_echo=$ac_try;;
22214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22215 (eval "$ac_try") 2>&5
22217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22218 (exit $ac_status); }; } &&
22219 { ac_try='test -s conftest.$ac_objext'
22220 { (case "(($ac_try" in
22221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22222 *) ac_try_echo=$ac_try;;
22224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22225 (eval "$ac_try") 2>&5
22227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22228 (exit $ac_status); }; }; then
22229 ac_cv_member_struct_sockaddr_sa_len=yes
22231 echo "$as_me: failed program was:" >&5
22232 sed 's/^/| /' conftest.$ac_ext >&5
22234 ac_cv_member_struct_sockaddr_sa_len=no
22237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22242 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
22243 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
22244 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
22246 cat >>confdefs.h <<_ACEOF
22247 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
22252 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
22253 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
22254 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
22255 echo $ECHO_N "(cached) $ECHO_C" >&6
22257 cat >conftest.$ac_ext <<_ACEOF
22260 cat confdefs.h >>conftest.$ac_ext
22261 cat >>conftest.$ac_ext <<_ACEOF
22262 /* end confdefs.h. */
22263 #include <sys/types.h>
22264 #ifdef HAVE_SYS_SOCKET_H
22265 # include <sys/socket.h>
22267 #ifdef HAVE_SYS_UN_H
22268 # include <sys/un.h>
22274 static struct sockaddr_un ac_aggr;
22275 if (ac_aggr.sun_len)
22281 rm -f conftest.$ac_objext
22282 if { (ac_try="$ac_compile"
22283 case "(($ac_try" in
22284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22285 *) ac_try_echo=$ac_try;;
22287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22288 (eval "$ac_compile") 2>conftest.er1
22290 grep -v '^ *+' conftest.er1 >conftest.err
22292 cat conftest.err >&5
22293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22294 (exit $ac_status); } &&
22295 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22296 { (case "(($ac_try" in
22297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22298 *) ac_try_echo=$ac_try;;
22300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22301 (eval "$ac_try") 2>&5
22303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22304 (exit $ac_status); }; } &&
22305 { ac_try='test -s conftest.$ac_objext'
22306 { (case "(($ac_try" in
22307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22308 *) ac_try_echo=$ac_try;;
22310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22311 (eval "$ac_try") 2>&5
22313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22314 (exit $ac_status); }; }; then
22315 ac_cv_member_struct_sockaddr_un_sun_len=yes
22317 echo "$as_me: failed program was:" >&5
22318 sed 's/^/| /' conftest.$ac_ext >&5
22320 cat >conftest.$ac_ext <<_ACEOF
22323 cat confdefs.h >>conftest.$ac_ext
22324 cat >>conftest.$ac_ext <<_ACEOF
22325 /* end confdefs.h. */
22326 #include <sys/types.h>
22327 #ifdef HAVE_SYS_SOCKET_H
22328 # include <sys/socket.h>
22330 #ifdef HAVE_SYS_UN_H
22331 # include <sys/un.h>
22337 static struct sockaddr_un ac_aggr;
22338 if (sizeof ac_aggr.sun_len)
22344 rm -f conftest.$ac_objext
22345 if { (ac_try="$ac_compile"
22346 case "(($ac_try" in
22347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22348 *) ac_try_echo=$ac_try;;
22350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22351 (eval "$ac_compile") 2>conftest.er1
22353 grep -v '^ *+' conftest.er1 >conftest.err
22355 cat conftest.err >&5
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); } &&
22358 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22359 { (case "(($ac_try" in
22360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22361 *) ac_try_echo=$ac_try;;
22363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22364 (eval "$ac_try") 2>&5
22366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22367 (exit $ac_status); }; } &&
22368 { ac_try='test -s conftest.$ac_objext'
22369 { (case "(($ac_try" in
22370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22371 *) ac_try_echo=$ac_try;;
22373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22374 (eval "$ac_try") 2>&5
22376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22377 (exit $ac_status); }; }; then
22378 ac_cv_member_struct_sockaddr_un_sun_len=yes
22380 echo "$as_me: failed program was:" >&5
22381 sed 's/^/| /' conftest.$ac_ext >&5
22383 ac_cv_member_struct_sockaddr_un_sun_len=no
22386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22391 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
22392 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
22393 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
22395 cat >>confdefs.h <<_ACEOF
22396 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
22403 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
22404 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
22405 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
22406 echo $ECHO_N "(cached) $ECHO_C" >&6
22408 cat >conftest.$ac_ext <<_ACEOF
22411 cat confdefs.h >>conftest.$ac_ext
22412 cat >>conftest.$ac_ext <<_ACEOF
22413 /* end confdefs.h. */
22414 #include <sys/types.h>
22415 #ifdef HAVE_SCSI_SG_H
22416 #include <scsi/sg.h>
22422 static scsireq_t ac_aggr;
22429 rm -f conftest.$ac_objext
22430 if { (ac_try="$ac_compile"
22431 case "(($ac_try" in
22432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22433 *) ac_try_echo=$ac_try;;
22435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22436 (eval "$ac_compile") 2>conftest.er1
22438 grep -v '^ *+' conftest.er1 >conftest.err
22440 cat conftest.err >&5
22441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22442 (exit $ac_status); } &&
22443 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22444 { (case "(($ac_try" in
22445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22446 *) ac_try_echo=$ac_try;;
22448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22449 (eval "$ac_try") 2>&5
22451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22452 (exit $ac_status); }; } &&
22453 { ac_try='test -s conftest.$ac_objext'
22454 { (case "(($ac_try" in
22455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22456 *) ac_try_echo=$ac_try;;
22458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22459 (eval "$ac_try") 2>&5
22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); }; }; then
22463 ac_cv_member_scsireq_t_cmd=yes
22465 echo "$as_me: failed program was:" >&5
22466 sed 's/^/| /' conftest.$ac_ext >&5
22468 cat >conftest.$ac_ext <<_ACEOF
22471 cat confdefs.h >>conftest.$ac_ext
22472 cat >>conftest.$ac_ext <<_ACEOF
22473 /* end confdefs.h. */
22474 #include <sys/types.h>
22475 #ifdef HAVE_SCSI_SG_H
22476 #include <scsi/sg.h>
22482 static scsireq_t ac_aggr;
22483 if (sizeof ac_aggr.cmd)
22489 rm -f conftest.$ac_objext
22490 if { (ac_try="$ac_compile"
22491 case "(($ac_try" in
22492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22493 *) ac_try_echo=$ac_try;;
22495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22496 (eval "$ac_compile") 2>conftest.er1
22498 grep -v '^ *+' conftest.er1 >conftest.err
22500 cat conftest.err >&5
22501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22502 (exit $ac_status); } &&
22503 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22504 { (case "(($ac_try" in
22505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22506 *) ac_try_echo=$ac_try;;
22508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22509 (eval "$ac_try") 2>&5
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); }; } &&
22513 { ac_try='test -s conftest.$ac_objext'
22514 { (case "(($ac_try" in
22515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22516 *) ac_try_echo=$ac_try;;
22518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22519 (eval "$ac_try") 2>&5
22521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522 (exit $ac_status); }; }; then
22523 ac_cv_member_scsireq_t_cmd=yes
22525 echo "$as_me: failed program was:" >&5
22526 sed 's/^/| /' conftest.$ac_ext >&5
22528 ac_cv_member_scsireq_t_cmd=no
22531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22536 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
22537 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
22538 if test $ac_cv_member_scsireq_t_cmd = yes; then
22540 cat >>confdefs.h <<_ACEOF
22541 #define HAVE_SCSIREQ_T_CMD 1
22546 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
22547 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
22548 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
22549 echo $ECHO_N "(cached) $ECHO_C" >&6
22551 cat >conftest.$ac_ext <<_ACEOF
22554 cat confdefs.h >>conftest.$ac_ext
22555 cat >>conftest.$ac_ext <<_ACEOF
22556 /* end confdefs.h. */
22557 #include <sys/types.h>
22558 #ifdef HAVE_SCSI_SG_H
22559 #include <scsi/sg.h>
22565 static sg_io_hdr_t ac_aggr;
22566 if (ac_aggr.interface_id)
22572 rm -f conftest.$ac_objext
22573 if { (ac_try="$ac_compile"
22574 case "(($ac_try" in
22575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22576 *) ac_try_echo=$ac_try;;
22578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22579 (eval "$ac_compile") 2>conftest.er1
22581 grep -v '^ *+' conftest.er1 >conftest.err
22583 cat conftest.err >&5
22584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22585 (exit $ac_status); } &&
22586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22587 { (case "(($ac_try" in
22588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22589 *) ac_try_echo=$ac_try;;
22591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22592 (eval "$ac_try") 2>&5
22594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22595 (exit $ac_status); }; } &&
22596 { ac_try='test -s conftest.$ac_objext'
22597 { (case "(($ac_try" in
22598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22599 *) ac_try_echo=$ac_try;;
22601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22602 (eval "$ac_try") 2>&5
22604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22605 (exit $ac_status); }; }; then
22606 ac_cv_member_sg_io_hdr_t_interface_id=yes
22608 echo "$as_me: failed program was:" >&5
22609 sed 's/^/| /' conftest.$ac_ext >&5
22611 cat >conftest.$ac_ext <<_ACEOF
22614 cat confdefs.h >>conftest.$ac_ext
22615 cat >>conftest.$ac_ext <<_ACEOF
22616 /* end confdefs.h. */
22617 #include <sys/types.h>
22618 #ifdef HAVE_SCSI_SG_H
22619 #include <scsi/sg.h>
22625 static sg_io_hdr_t ac_aggr;
22626 if (sizeof ac_aggr.interface_id)
22632 rm -f conftest.$ac_objext
22633 if { (ac_try="$ac_compile"
22634 case "(($ac_try" in
22635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22636 *) ac_try_echo=$ac_try;;
22638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22639 (eval "$ac_compile") 2>conftest.er1
22641 grep -v '^ *+' conftest.er1 >conftest.err
22643 cat conftest.err >&5
22644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22645 (exit $ac_status); } &&
22646 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22647 { (case "(($ac_try" in
22648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22649 *) ac_try_echo=$ac_try;;
22651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22652 (eval "$ac_try") 2>&5
22654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22655 (exit $ac_status); }; } &&
22656 { ac_try='test -s conftest.$ac_objext'
22657 { (case "(($ac_try" in
22658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22659 *) ac_try_echo=$ac_try;;
22661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22662 (eval "$ac_try") 2>&5
22664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22665 (exit $ac_status); }; }; then
22666 ac_cv_member_sg_io_hdr_t_interface_id=yes
22668 echo "$as_me: failed program was:" >&5
22669 sed 's/^/| /' conftest.$ac_ext >&5
22671 ac_cv_member_sg_io_hdr_t_interface_id=no
22674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22679 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
22680 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
22681 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
22683 cat >>confdefs.h <<_ACEOF
22684 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22691 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
22692 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
22693 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
22694 echo $ECHO_N "(cached) $ECHO_C" >&6
22696 cat >conftest.$ac_ext <<_ACEOF
22699 cat confdefs.h >>conftest.$ac_ext
22700 cat >>conftest.$ac_ext <<_ACEOF
22701 /* end confdefs.h. */
22702 #include <signal.h>
22707 static siginfo_t ac_aggr;
22714 rm -f conftest.$ac_objext
22715 if { (ac_try="$ac_compile"
22716 case "(($ac_try" in
22717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22718 *) ac_try_echo=$ac_try;;
22720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22721 (eval "$ac_compile") 2>conftest.er1
22723 grep -v '^ *+' conftest.er1 >conftest.err
22725 cat conftest.err >&5
22726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22727 (exit $ac_status); } &&
22728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22729 { (case "(($ac_try" in
22730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22731 *) ac_try_echo=$ac_try;;
22733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22734 (eval "$ac_try") 2>&5
22736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22737 (exit $ac_status); }; } &&
22738 { ac_try='test -s conftest.$ac_objext'
22739 { (case "(($ac_try" in
22740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22741 *) ac_try_echo=$ac_try;;
22743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22744 (eval "$ac_try") 2>&5
22746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22747 (exit $ac_status); }; }; then
22748 ac_cv_member_siginfo_t_si_fd=yes
22750 echo "$as_me: failed program was:" >&5
22751 sed 's/^/| /' conftest.$ac_ext >&5
22753 cat >conftest.$ac_ext <<_ACEOF
22756 cat confdefs.h >>conftest.$ac_ext
22757 cat >>conftest.$ac_ext <<_ACEOF
22758 /* end confdefs.h. */
22759 #include <signal.h>
22764 static siginfo_t ac_aggr;
22765 if (sizeof ac_aggr.si_fd)
22771 rm -f conftest.$ac_objext
22772 if { (ac_try="$ac_compile"
22773 case "(($ac_try" in
22774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22775 *) ac_try_echo=$ac_try;;
22777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22778 (eval "$ac_compile") 2>conftest.er1
22780 grep -v '^ *+' conftest.er1 >conftest.err
22782 cat conftest.err >&5
22783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22784 (exit $ac_status); } &&
22785 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22786 { (case "(($ac_try" in
22787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22788 *) ac_try_echo=$ac_try;;
22790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22791 (eval "$ac_try") 2>&5
22793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22794 (exit $ac_status); }; } &&
22795 { ac_try='test -s conftest.$ac_objext'
22796 { (case "(($ac_try" in
22797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22798 *) ac_try_echo=$ac_try;;
22800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22801 (eval "$ac_try") 2>&5
22803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22804 (exit $ac_status); }; }; then
22805 ac_cv_member_siginfo_t_si_fd=yes
22807 echo "$as_me: failed program was:" >&5
22808 sed 's/^/| /' conftest.$ac_ext >&5
22810 ac_cv_member_siginfo_t_si_fd=no
22813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22818 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
22819 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
22820 if test $ac_cv_member_siginfo_t_si_fd = yes; then
22822 cat >>confdefs.h <<_ACEOF
22823 #define HAVE_SIGINFO_T_SI_FD 1
22830 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
22831 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
22832 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
22833 echo $ECHO_N "(cached) $ECHO_C" >&6
22835 cat >conftest.$ac_ext <<_ACEOF
22838 cat confdefs.h >>conftest.$ac_ext
22839 cat >>conftest.$ac_ext <<_ACEOF
22840 /* end confdefs.h. */
22841 #include <sys/types.h>
22842 #ifdef HAVE_SYS_MTIO_H
22843 #include <sys/mtio.h>
22849 static struct mtget ac_aggr;
22850 if (ac_aggr.mt_blksiz)
22856 rm -f conftest.$ac_objext
22857 if { (ac_try="$ac_compile"
22858 case "(($ac_try" in
22859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22860 *) ac_try_echo=$ac_try;;
22862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22863 (eval "$ac_compile") 2>conftest.er1
22865 grep -v '^ *+' conftest.er1 >conftest.err
22867 cat conftest.err >&5
22868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869 (exit $ac_status); } &&
22870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22871 { (case "(($ac_try" in
22872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22873 *) ac_try_echo=$ac_try;;
22875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22876 (eval "$ac_try") 2>&5
22878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22879 (exit $ac_status); }; } &&
22880 { ac_try='test -s conftest.$ac_objext'
22881 { (case "(($ac_try" in
22882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22883 *) ac_try_echo=$ac_try;;
22885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22886 (eval "$ac_try") 2>&5
22888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22889 (exit $ac_status); }; }; then
22890 ac_cv_member_struct_mtget_mt_blksiz=yes
22892 echo "$as_me: failed program was:" >&5
22893 sed 's/^/| /' conftest.$ac_ext >&5
22895 cat >conftest.$ac_ext <<_ACEOF
22898 cat confdefs.h >>conftest.$ac_ext
22899 cat >>conftest.$ac_ext <<_ACEOF
22900 /* end confdefs.h. */
22901 #include <sys/types.h>
22902 #ifdef HAVE_SYS_MTIO_H
22903 #include <sys/mtio.h>
22909 static struct mtget ac_aggr;
22910 if (sizeof ac_aggr.mt_blksiz)
22916 rm -f conftest.$ac_objext
22917 if { (ac_try="$ac_compile"
22918 case "(($ac_try" in
22919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22920 *) ac_try_echo=$ac_try;;
22922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22923 (eval "$ac_compile") 2>conftest.er1
22925 grep -v '^ *+' conftest.er1 >conftest.err
22927 cat conftest.err >&5
22928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22929 (exit $ac_status); } &&
22930 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22931 { (case "(($ac_try" in
22932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22933 *) ac_try_echo=$ac_try;;
22935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22936 (eval "$ac_try") 2>&5
22938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22939 (exit $ac_status); }; } &&
22940 { ac_try='test -s conftest.$ac_objext'
22941 { (case "(($ac_try" in
22942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22943 *) ac_try_echo=$ac_try;;
22945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22946 (eval "$ac_try") 2>&5
22948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22949 (exit $ac_status); }; }; then
22950 ac_cv_member_struct_mtget_mt_blksiz=yes
22952 echo "$as_me: failed program was:" >&5
22953 sed 's/^/| /' conftest.$ac_ext >&5
22955 ac_cv_member_struct_mtget_mt_blksiz=no
22958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22963 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
22964 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
22965 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
22967 cat >>confdefs.h <<_ACEOF
22968 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
22973 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
22974 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
22975 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
22976 echo $ECHO_N "(cached) $ECHO_C" >&6
22978 cat >conftest.$ac_ext <<_ACEOF
22981 cat confdefs.h >>conftest.$ac_ext
22982 cat >>conftest.$ac_ext <<_ACEOF
22983 /* end confdefs.h. */
22984 #include <sys/types.h>
22985 #ifdef HAVE_SYS_MTIO_H
22986 #include <sys/mtio.h>
22992 static struct mtget ac_aggr;
22993 if (ac_aggr.mt_gstat)
22999 rm -f conftest.$ac_objext
23000 if { (ac_try="$ac_compile"
23001 case "(($ac_try" in
23002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23003 *) ac_try_echo=$ac_try;;
23005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23006 (eval "$ac_compile") 2>conftest.er1
23008 grep -v '^ *+' conftest.er1 >conftest.err
23010 cat conftest.err >&5
23011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23012 (exit $ac_status); } &&
23013 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23014 { (case "(($ac_try" in
23015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23016 *) ac_try_echo=$ac_try;;
23018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23019 (eval "$ac_try") 2>&5
23021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23022 (exit $ac_status); }; } &&
23023 { ac_try='test -s conftest.$ac_objext'
23024 { (case "(($ac_try" in
23025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23026 *) ac_try_echo=$ac_try;;
23028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23029 (eval "$ac_try") 2>&5
23031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23032 (exit $ac_status); }; }; then
23033 ac_cv_member_struct_mtget_mt_gstat=yes
23035 echo "$as_me: failed program was:" >&5
23036 sed 's/^/| /' conftest.$ac_ext >&5
23038 cat >conftest.$ac_ext <<_ACEOF
23041 cat confdefs.h >>conftest.$ac_ext
23042 cat >>conftest.$ac_ext <<_ACEOF
23043 /* end confdefs.h. */
23044 #include <sys/types.h>
23045 #ifdef HAVE_SYS_MTIO_H
23046 #include <sys/mtio.h>
23052 static struct mtget ac_aggr;
23053 if (sizeof ac_aggr.mt_gstat)
23059 rm -f conftest.$ac_objext
23060 if { (ac_try="$ac_compile"
23061 case "(($ac_try" in
23062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23063 *) ac_try_echo=$ac_try;;
23065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23066 (eval "$ac_compile") 2>conftest.er1
23068 grep -v '^ *+' conftest.er1 >conftest.err
23070 cat conftest.err >&5
23071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23072 (exit $ac_status); } &&
23073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23074 { (case "(($ac_try" in
23075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23076 *) ac_try_echo=$ac_try;;
23078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23079 (eval "$ac_try") 2>&5
23081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23082 (exit $ac_status); }; } &&
23083 { ac_try='test -s conftest.$ac_objext'
23084 { (case "(($ac_try" in
23085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23086 *) ac_try_echo=$ac_try;;
23088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23089 (eval "$ac_try") 2>&5
23091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23092 (exit $ac_status); }; }; then
23093 ac_cv_member_struct_mtget_mt_gstat=yes
23095 echo "$as_me: failed program was:" >&5
23096 sed 's/^/| /' conftest.$ac_ext >&5
23098 ac_cv_member_struct_mtget_mt_gstat=no
23101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23106 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
23107 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
23108 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
23110 cat >>confdefs.h <<_ACEOF
23111 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
23116 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
23117 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
23118 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
23119 echo $ECHO_N "(cached) $ECHO_C" >&6
23121 cat >conftest.$ac_ext <<_ACEOF
23124 cat confdefs.h >>conftest.$ac_ext
23125 cat >>conftest.$ac_ext <<_ACEOF
23126 /* end confdefs.h. */
23127 #include <sys/types.h>
23128 #ifdef HAVE_SYS_MTIO_H
23129 #include <sys/mtio.h>
23135 static struct mtget ac_aggr;
23136 if (ac_aggr.mt_blkno)
23142 rm -f conftest.$ac_objext
23143 if { (ac_try="$ac_compile"
23144 case "(($ac_try" in
23145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23146 *) ac_try_echo=$ac_try;;
23148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23149 (eval "$ac_compile") 2>conftest.er1
23151 grep -v '^ *+' conftest.er1 >conftest.err
23153 cat conftest.err >&5
23154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23155 (exit $ac_status); } &&
23156 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23157 { (case "(($ac_try" in
23158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23159 *) ac_try_echo=$ac_try;;
23161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23162 (eval "$ac_try") 2>&5
23164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23165 (exit $ac_status); }; } &&
23166 { ac_try='test -s conftest.$ac_objext'
23167 { (case "(($ac_try" in
23168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23169 *) ac_try_echo=$ac_try;;
23171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23172 (eval "$ac_try") 2>&5
23174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23175 (exit $ac_status); }; }; then
23176 ac_cv_member_struct_mtget_mt_blkno=yes
23178 echo "$as_me: failed program was:" >&5
23179 sed 's/^/| /' conftest.$ac_ext >&5
23181 cat >conftest.$ac_ext <<_ACEOF
23184 cat confdefs.h >>conftest.$ac_ext
23185 cat >>conftest.$ac_ext <<_ACEOF
23186 /* end confdefs.h. */
23187 #include <sys/types.h>
23188 #ifdef HAVE_SYS_MTIO_H
23189 #include <sys/mtio.h>
23195 static struct mtget ac_aggr;
23196 if (sizeof ac_aggr.mt_blkno)
23202 rm -f conftest.$ac_objext
23203 if { (ac_try="$ac_compile"
23204 case "(($ac_try" in
23205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23206 *) ac_try_echo=$ac_try;;
23208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23209 (eval "$ac_compile") 2>conftest.er1
23211 grep -v '^ *+' conftest.er1 >conftest.err
23213 cat conftest.err >&5
23214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23215 (exit $ac_status); } &&
23216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23217 { (case "(($ac_try" in
23218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23219 *) ac_try_echo=$ac_try;;
23221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23222 (eval "$ac_try") 2>&5
23224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23225 (exit $ac_status); }; } &&
23226 { ac_try='test -s conftest.$ac_objext'
23227 { (case "(($ac_try" in
23228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23229 *) ac_try_echo=$ac_try;;
23231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23232 (eval "$ac_try") 2>&5
23234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23235 (exit $ac_status); }; }; then
23236 ac_cv_member_struct_mtget_mt_blkno=yes
23238 echo "$as_me: failed program was:" >&5
23239 sed 's/^/| /' conftest.$ac_ext >&5
23241 ac_cv_member_struct_mtget_mt_blkno=no
23244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23249 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
23250 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
23251 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
23253 cat >>confdefs.h <<_ACEOF
23254 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
23261 { echo "$as_me:$LINENO: checking for struct option.name" >&5
23262 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
23263 if test "${ac_cv_member_struct_option_name+set}" = set; then
23264 echo $ECHO_N "(cached) $ECHO_C" >&6
23266 cat >conftest.$ac_ext <<_ACEOF
23269 cat confdefs.h >>conftest.$ac_ext
23270 cat >>conftest.$ac_ext <<_ACEOF
23271 /* end confdefs.h. */
23272 #ifdef HAVE_GETOPT_H
23273 #include <getopt.h>
23279 static struct option ac_aggr;
23286 rm -f conftest.$ac_objext
23287 if { (ac_try="$ac_compile"
23288 case "(($ac_try" in
23289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23290 *) ac_try_echo=$ac_try;;
23292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23293 (eval "$ac_compile") 2>conftest.er1
23295 grep -v '^ *+' conftest.er1 >conftest.err
23297 cat conftest.err >&5
23298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23299 (exit $ac_status); } &&
23300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23301 { (case "(($ac_try" in
23302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23303 *) ac_try_echo=$ac_try;;
23305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23306 (eval "$ac_try") 2>&5
23308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23309 (exit $ac_status); }; } &&
23310 { ac_try='test -s conftest.$ac_objext'
23311 { (case "(($ac_try" in
23312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23313 *) ac_try_echo=$ac_try;;
23315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23316 (eval "$ac_try") 2>&5
23318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23319 (exit $ac_status); }; }; then
23320 ac_cv_member_struct_option_name=yes
23322 echo "$as_me: failed program was:" >&5
23323 sed 's/^/| /' conftest.$ac_ext >&5
23325 cat >conftest.$ac_ext <<_ACEOF
23328 cat confdefs.h >>conftest.$ac_ext
23329 cat >>conftest.$ac_ext <<_ACEOF
23330 /* end confdefs.h. */
23331 #ifdef HAVE_GETOPT_H
23332 #include <getopt.h>
23338 static struct option ac_aggr;
23339 if (sizeof ac_aggr.name)
23345 rm -f conftest.$ac_objext
23346 if { (ac_try="$ac_compile"
23347 case "(($ac_try" in
23348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23349 *) ac_try_echo=$ac_try;;
23351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23352 (eval "$ac_compile") 2>conftest.er1
23354 grep -v '^ *+' conftest.er1 >conftest.err
23356 cat conftest.err >&5
23357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23358 (exit $ac_status); } &&
23359 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23360 { (case "(($ac_try" in
23361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23362 *) ac_try_echo=$ac_try;;
23364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23365 (eval "$ac_try") 2>&5
23367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23368 (exit $ac_status); }; } &&
23369 { ac_try='test -s conftest.$ac_objext'
23370 { (case "(($ac_try" in
23371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23372 *) ac_try_echo=$ac_try;;
23374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23375 (eval "$ac_try") 2>&5
23377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23378 (exit $ac_status); }; }; then
23379 ac_cv_member_struct_option_name=yes
23381 echo "$as_me: failed program was:" >&5
23382 sed 's/^/| /' conftest.$ac_ext >&5
23384 ac_cv_member_struct_option_name=no
23387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23392 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
23393 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
23394 if test $ac_cv_member_struct_option_name = yes; then
23396 cat >>confdefs.h <<_ACEOF
23397 #define HAVE_STRUCT_OPTION_NAME 1
23404 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
23405 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
23406 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
23407 echo $ECHO_N "(cached) $ECHO_C" >&6
23409 cat >conftest.$ac_ext <<_ACEOF
23412 cat confdefs.h >>conftest.$ac_ext
23413 cat >>conftest.$ac_ext <<_ACEOF
23414 /* end confdefs.h. */
23415 $ac_includes_default
23419 static struct stat ac_aggr;
23420 if (ac_aggr.st_blocks)
23426 rm -f conftest.$ac_objext
23427 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
23435 grep -v '^ *+' conftest.er1 >conftest.err
23437 cat conftest.err >&5
23438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23439 (exit $ac_status); } &&
23440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23441 { (case "(($ac_try" in
23442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23443 *) ac_try_echo=$ac_try;;
23445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23446 (eval "$ac_try") 2>&5
23448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449 (exit $ac_status); }; } &&
23450 { ac_try='test -s conftest.$ac_objext'
23451 { (case "(($ac_try" in
23452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23453 *) ac_try_echo=$ac_try;;
23455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23456 (eval "$ac_try") 2>&5
23458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23459 (exit $ac_status); }; }; then
23460 ac_cv_member_struct_stat_st_blocks=yes
23462 echo "$as_me: failed program was:" >&5
23463 sed 's/^/| /' conftest.$ac_ext >&5
23465 cat >conftest.$ac_ext <<_ACEOF
23468 cat confdefs.h >>conftest.$ac_ext
23469 cat >>conftest.$ac_ext <<_ACEOF
23470 /* end confdefs.h. */
23471 $ac_includes_default
23475 static struct stat ac_aggr;
23476 if (sizeof ac_aggr.st_blocks)
23482 rm -f conftest.$ac_objext
23483 if { (ac_try="$ac_compile"
23484 case "(($ac_try" in
23485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23486 *) ac_try_echo=$ac_try;;
23488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23489 (eval "$ac_compile") 2>conftest.er1
23491 grep -v '^ *+' conftest.er1 >conftest.err
23493 cat conftest.err >&5
23494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23495 (exit $ac_status); } &&
23496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23497 { (case "(($ac_try" in
23498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23499 *) ac_try_echo=$ac_try;;
23501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23502 (eval "$ac_try") 2>&5
23504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23505 (exit $ac_status); }; } &&
23506 { ac_try='test -s conftest.$ac_objext'
23507 { (case "(($ac_try" in
23508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23509 *) ac_try_echo=$ac_try;;
23511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23512 (eval "$ac_try") 2>&5
23514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23515 (exit $ac_status); }; }; then
23516 ac_cv_member_struct_stat_st_blocks=yes
23518 echo "$as_me: failed program was:" >&5
23519 sed 's/^/| /' conftest.$ac_ext >&5
23521 ac_cv_member_struct_stat_st_blocks=no
23524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23529 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
23530 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
23531 if test $ac_cv_member_struct_stat_st_blocks = yes; then
23533 cat >>confdefs.h <<_ACEOF
23534 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
23541 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
23542 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
23543 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
23544 echo $ECHO_N "(cached) $ECHO_C" >&6
23546 cat >conftest.$ac_ext <<_ACEOF
23549 cat confdefs.h >>conftest.$ac_ext
23550 cat >>conftest.$ac_ext <<_ACEOF
23551 /* end confdefs.h. */
23552 #ifdef HAVE_SYS_TYPES_H
23553 #include <sys/types.h>
23555 #ifdef HAVE_NETINET_IN_H
23556 #include <netinet/in.h>
23562 static struct sockaddr_in6 ac_aggr;
23563 if (ac_aggr.sin6_scope_id)
23569 rm -f conftest.$ac_objext
23570 if { (ac_try="$ac_compile"
23571 case "(($ac_try" in
23572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23573 *) ac_try_echo=$ac_try;;
23575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23576 (eval "$ac_compile") 2>conftest.er1
23578 grep -v '^ *+' conftest.er1 >conftest.err
23580 cat conftest.err >&5
23581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23582 (exit $ac_status); } &&
23583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23584 { (case "(($ac_try" in
23585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23586 *) ac_try_echo=$ac_try;;
23588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23589 (eval "$ac_try") 2>&5
23591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23592 (exit $ac_status); }; } &&
23593 { ac_try='test -s conftest.$ac_objext'
23594 { (case "(($ac_try" in
23595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23596 *) ac_try_echo=$ac_try;;
23598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23599 (eval "$ac_try") 2>&5
23601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23602 (exit $ac_status); }; }; then
23603 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23605 echo "$as_me: failed program was:" >&5
23606 sed 's/^/| /' conftest.$ac_ext >&5
23608 cat >conftest.$ac_ext <<_ACEOF
23611 cat confdefs.h >>conftest.$ac_ext
23612 cat >>conftest.$ac_ext <<_ACEOF
23613 /* end confdefs.h. */
23614 #ifdef HAVE_SYS_TYPES_H
23615 #include <sys/types.h>
23617 #ifdef HAVE_NETINET_IN_H
23618 #include <netinet/in.h>
23624 static struct sockaddr_in6 ac_aggr;
23625 if (sizeof ac_aggr.sin6_scope_id)
23631 rm -f conftest.$ac_objext
23632 if { (ac_try="$ac_compile"
23633 case "(($ac_try" in
23634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23635 *) ac_try_echo=$ac_try;;
23637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23638 (eval "$ac_compile") 2>conftest.er1
23640 grep -v '^ *+' conftest.er1 >conftest.err
23642 cat conftest.err >&5
23643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23644 (exit $ac_status); } &&
23645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23646 { (case "(($ac_try" in
23647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23648 *) ac_try_echo=$ac_try;;
23650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23651 (eval "$ac_try") 2>&5
23653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23654 (exit $ac_status); }; } &&
23655 { ac_try='test -s conftest.$ac_objext'
23656 { (case "(($ac_try" in
23657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23658 *) ac_try_echo=$ac_try;;
23660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23661 (eval "$ac_try") 2>&5
23663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23664 (exit $ac_status); }; }; then
23665 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23667 echo "$as_me: failed program was:" >&5
23668 sed 's/^/| /' conftest.$ac_ext >&5
23670 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
23673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23678 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23679 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23680 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23682 cat >>confdefs.h <<_ACEOF
23683 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23690 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
23691 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
23692 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
23693 echo $ECHO_N "(cached) $ECHO_C" >&6
23695 cat >conftest.$ac_ext <<_ACEOF
23698 cat confdefs.h >>conftest.$ac_ext
23699 cat >>conftest.$ac_ext <<_ACEOF
23700 /* end confdefs.h. */
23701 #ifdef HAVE_SYS_TYPES_H
23702 #include <sys/types.h>
23704 #ifdef HAVE_NETINET_IN_H
23705 # include <netinet/in.h>
23707 #ifdef HAVE_ARPA_NAMESER_H
23708 # include <arpa/nameser.h>
23714 static ns_msg ac_aggr;
23715 if (ac_aggr._msg_ptr)
23721 rm -f conftest.$ac_objext
23722 if { (ac_try="$ac_compile"
23723 case "(($ac_try" in
23724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23725 *) ac_try_echo=$ac_try;;
23727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23728 (eval "$ac_compile") 2>conftest.er1
23730 grep -v '^ *+' conftest.er1 >conftest.err
23732 cat conftest.err >&5
23733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23734 (exit $ac_status); } &&
23735 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23736 { (case "(($ac_try" in
23737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23738 *) ac_try_echo=$ac_try;;
23740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23741 (eval "$ac_try") 2>&5
23743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23744 (exit $ac_status); }; } &&
23745 { ac_try='test -s conftest.$ac_objext'
23746 { (case "(($ac_try" in
23747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23748 *) ac_try_echo=$ac_try;;
23750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23751 (eval "$ac_try") 2>&5
23753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23754 (exit $ac_status); }; }; then
23755 ac_cv_member_ns_msg__msg_ptr=yes
23757 echo "$as_me: failed program was:" >&5
23758 sed 's/^/| /' conftest.$ac_ext >&5
23760 cat >conftest.$ac_ext <<_ACEOF
23763 cat confdefs.h >>conftest.$ac_ext
23764 cat >>conftest.$ac_ext <<_ACEOF
23765 /* end confdefs.h. */
23766 #ifdef HAVE_SYS_TYPES_H
23767 #include <sys/types.h>
23769 #ifdef HAVE_NETINET_IN_H
23770 # include <netinet/in.h>
23772 #ifdef HAVE_ARPA_NAMESER_H
23773 # include <arpa/nameser.h>
23779 static ns_msg ac_aggr;
23780 if (sizeof ac_aggr._msg_ptr)
23786 rm -f conftest.$ac_objext
23787 if { (ac_try="$ac_compile"
23788 case "(($ac_try" in
23789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23790 *) ac_try_echo=$ac_try;;
23792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23793 (eval "$ac_compile") 2>conftest.er1
23795 grep -v '^ *+' conftest.er1 >conftest.err
23797 cat conftest.err >&5
23798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23799 (exit $ac_status); } &&
23800 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23801 { (case "(($ac_try" in
23802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23803 *) ac_try_echo=$ac_try;;
23805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23806 (eval "$ac_try") 2>&5
23808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23809 (exit $ac_status); }; } &&
23810 { ac_try='test -s conftest.$ac_objext'
23811 { (case "(($ac_try" in
23812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23813 *) ac_try_echo=$ac_try;;
23815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23816 (eval "$ac_try") 2>&5
23818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23819 (exit $ac_status); }; }; then
23820 ac_cv_member_ns_msg__msg_ptr=yes
23822 echo "$as_me: failed program was:" >&5
23823 sed 's/^/| /' conftest.$ac_ext >&5
23825 ac_cv_member_ns_msg__msg_ptr=no
23828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23833 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
23834 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
23835 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
23837 cat >>confdefs.h <<_ACEOF
23838 #define HAVE_NS_MSG__MSG_PTR 1
23845 { echo "$as_me:$LINENO: checking for timezone variable" >&5
23846 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
23847 if test "${ac_cv_have_timezone+set}" = set; then
23848 echo $ECHO_N "(cached) $ECHO_C" >&6
23850 cat >conftest.$ac_ext <<_ACEOF
23853 cat confdefs.h >>conftest.$ac_ext
23854 cat >>conftest.$ac_ext <<_ACEOF
23855 /* end confdefs.h. */
23865 rm -f conftest.$ac_objext conftest$ac_exeext
23866 if { (ac_try="$ac_link"
23867 case "(($ac_try" in
23868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23869 *) ac_try_echo=$ac_try;;
23871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23872 (eval "$ac_link") 2>conftest.er1
23874 grep -v '^ *+' conftest.er1 >conftest.err
23876 cat conftest.err >&5
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); } &&
23879 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23880 { (case "(($ac_try" in
23881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23882 *) ac_try_echo=$ac_try;;
23884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23885 (eval "$ac_try") 2>&5
23887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23888 (exit $ac_status); }; } &&
23889 { ac_try='test -s conftest$ac_exeext'
23890 { (case "(($ac_try" in
23891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23892 *) ac_try_echo=$ac_try;;
23894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23895 (eval "$ac_try") 2>&5
23897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23898 (exit $ac_status); }; }; then
23899 ac_cv_have_timezone="yes"
23901 echo "$as_me: failed program was:" >&5
23902 sed 's/^/| /' conftest.$ac_ext >&5
23904 ac_cv_have_timezone="no"
23907 rm -f core conftest.err conftest.$ac_objext \
23908 conftest$ac_exeext conftest.$ac_ext
23910 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
23911 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
23912 if test "$ac_cv_have_timezone" = "yes"
23915 cat >>confdefs.h <<\_ACEOF
23916 #define HAVE_TIMEZONE 1
23920 { echo "$as_me:$LINENO: checking for daylight variable" >&5
23921 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
23922 if test "${ac_cv_have_daylight+set}" = set; then
23923 echo $ECHO_N "(cached) $ECHO_C" >&6
23925 cat >conftest.$ac_ext <<_ACEOF
23928 cat confdefs.h >>conftest.$ac_ext
23929 cat >>conftest.$ac_ext <<_ACEOF
23930 /* end confdefs.h. */
23940 rm -f conftest.$ac_objext conftest$ac_exeext
23941 if { (ac_try="$ac_link"
23942 case "(($ac_try" in
23943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23944 *) ac_try_echo=$ac_try;;
23946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23947 (eval "$ac_link") 2>conftest.er1
23949 grep -v '^ *+' conftest.er1 >conftest.err
23951 cat conftest.err >&5
23952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23953 (exit $ac_status); } &&
23954 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23955 { (case "(($ac_try" in
23956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23957 *) ac_try_echo=$ac_try;;
23959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23960 (eval "$ac_try") 2>&5
23962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23963 (exit $ac_status); }; } &&
23964 { ac_try='test -s conftest$ac_exeext'
23965 { (case "(($ac_try" in
23966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23967 *) ac_try_echo=$ac_try;;
23969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23970 (eval "$ac_try") 2>&5
23972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23973 (exit $ac_status); }; }; then
23974 ac_cv_have_daylight="yes"
23976 echo "$as_me: failed program was:" >&5
23977 sed 's/^/| /' conftest.$ac_ext >&5
23979 ac_cv_have_daylight="no"
23982 rm -f core conftest.err conftest.$ac_objext \
23983 conftest$ac_exeext conftest.$ac_ext
23985 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
23986 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
23987 if test "$ac_cv_have_daylight" = "yes"
23990 cat >>confdefs.h <<\_ACEOF
23991 #define HAVE_DAYLIGHT 1
23998 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
23999 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
24000 if test "${ac_cv_cpp_def___i386__+set}" = set; then
24001 echo $ECHO_N "(cached) $ECHO_C" >&6
24003 cat >conftest.$ac_ext <<_ACEOF
24006 cat confdefs.h >>conftest.$ac_ext
24007 cat >>conftest.$ac_ext <<_ACEOF
24008 /* end confdefs.h. */
24013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24014 $EGREP "yes" >/dev/null 2>&1; then
24015 ac_cv_cpp_def___i386__=yes
24017 ac_cv_cpp_def___i386__=no
24022 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
24023 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
24024 if test $ac_cv_cpp_def___i386__ = yes; then
24025 CFLAGS="$CFLAGS -D__i386__"
24026 LINTFLAGS="$LINTFLAGS -D__i386__"
24029 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
24030 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
24031 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
24032 echo $ECHO_N "(cached) $ECHO_C" >&6
24034 cat >conftest.$ac_ext <<_ACEOF
24037 cat confdefs.h >>conftest.$ac_ext
24038 cat >>conftest.$ac_ext <<_ACEOF
24039 /* end confdefs.h. */
24044 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24045 $EGREP "yes" >/dev/null 2>&1; then
24046 ac_cv_cpp_def___x86_64__=yes
24048 ac_cv_cpp_def___x86_64__=no
24053 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
24054 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
24055 if test $ac_cv_cpp_def___x86_64__ = yes; then
24056 CFLAGS="$CFLAGS -D__x86_64__"
24057 LINTFLAGS="$LINTFLAGS -D__x86_64__"
24060 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
24061 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
24062 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
24063 echo $ECHO_N "(cached) $ECHO_C" >&6
24065 cat >conftest.$ac_ext <<_ACEOF
24068 cat confdefs.h >>conftest.$ac_ext
24069 cat >>conftest.$ac_ext <<_ACEOF
24070 /* end confdefs.h. */
24075 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24076 $EGREP "yes" >/dev/null 2>&1; then
24077 ac_cv_cpp_def___ALPHA__=yes
24079 ac_cv_cpp_def___ALPHA__=no
24084 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
24085 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
24086 if test $ac_cv_cpp_def___ALPHA__ = yes; then
24087 CFLAGS="$CFLAGS -D__ALPHA__"
24088 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
24091 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
24092 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
24093 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
24094 echo $ECHO_N "(cached) $ECHO_C" >&6
24096 cat >conftest.$ac_ext <<_ACEOF
24099 cat confdefs.h >>conftest.$ac_ext
24100 cat >>conftest.$ac_ext <<_ACEOF
24101 /* end confdefs.h. */
24106 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24107 $EGREP "yes" >/dev/null 2>&1; then
24108 ac_cv_cpp_def___sparc__=yes
24110 ac_cv_cpp_def___sparc__=no
24115 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
24116 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
24117 if test $ac_cv_cpp_def___sparc__ = yes; then
24118 CFLAGS="$CFLAGS -D__sparc__"
24119 LINTFLAGS="$LINTFLAGS -D__sparc__"
24122 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
24123 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
24124 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
24125 echo $ECHO_N "(cached) $ECHO_C" >&6
24127 cat >conftest.$ac_ext <<_ACEOF
24130 cat confdefs.h >>conftest.$ac_ext
24131 cat >>conftest.$ac_ext <<_ACEOF
24132 /* end confdefs.h. */
24133 #ifndef __powerpc__
24137 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24138 $EGREP "yes" >/dev/null 2>&1; then
24139 ac_cv_cpp_def___powerpc__=yes
24141 ac_cv_cpp_def___powerpc__=no
24146 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
24147 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
24148 if test $ac_cv_cpp_def___powerpc__ = yes; then
24149 CFLAGS="$CFLAGS -D__powerpc__"
24150 LINTFLAGS="$LINTFLAGS -D__powerpc__"
24155 case $host_vendor in
24156 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
24157 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
24158 if test "${ac_cv_cpp_def___sun__+set}" = set; then
24159 echo $ECHO_N "(cached) $ECHO_C" >&6
24161 cat >conftest.$ac_ext <<_ACEOF
24164 cat confdefs.h >>conftest.$ac_ext
24165 cat >>conftest.$ac_ext <<_ACEOF
24166 /* end confdefs.h. */
24171 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24172 $EGREP "yes" >/dev/null 2>&1; then
24173 ac_cv_cpp_def___sun__=yes
24175 ac_cv_cpp_def___sun__=no
24180 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
24181 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
24182 if test $ac_cv_cpp_def___sun__ = yes; then
24183 CFLAGS="$CFLAGS -D__sun__"
24184 LINTFLAGS="$LINTFLAGS -D__sun__"
24193 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
24195 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
24197 ac_config_commands="$ac_config_commands dlls/kernel/messages"
24199 ac_config_commands="$ac_config_commands dlls/user/resources"
24201 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
24203 ac_config_commands="$ac_config_commands include/wine"
24206 MAKE_RULES=Make.rules
24209 MAKE_DLL_RULES=dlls/Makedll.rules
24212 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
24215 MAKE_TEST_RULES=dlls/Maketest.rules
24218 MAKE_LIB_RULES=libs/Makelib.rules
24221 MAKE_PROG_RULES=programs/Makeprog.rules
24224 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Makeimplib.rules dlls/Maketest.rules libs/Makelib.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/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/comdlg32/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/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/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/gphoto2.ds/Makefile dlls/hhctrl.ocx/Makefile dlls/hlink/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/inseng/Makefile dlls/imaadp32.acm/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel/Makefile dlls/kernel/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/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/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/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/rasapi32/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/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/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/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/unicode/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/clock/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/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/wcmd/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/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
24227 cat >confcache <<\_ACEOF
24228 # This file is a shell script that caches the results of configure
24229 # tests run on this system so they can be shared between configure
24230 # scripts and configure runs, see configure's option --config-cache.
24231 # It is not useful on other systems. If it contains results you don't
24232 # want to keep, you may remove or edit it.
24234 # config.status only pays attention to the cache file if you give it
24235 # the --recheck option to rerun configure.
24237 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24238 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24239 # following values.
24243 # The following way of writing the cache mishandles newlines in values,
24244 # but we know of no workaround that is simple, portable, and efficient.
24245 # So, we kill variables containing newlines.
24246 # Ultrix sh set writes to stderr and can't be redirected directly,
24247 # and sets the high bit in the cache file unless we assign to the vars.
24249 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24250 eval ac_val=\$$ac_var
24254 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24255 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24258 _ | IFS | as_nl) ;; #(
24259 *) $as_unset $ac_var ;;
24265 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24266 *${as_nl}ac_space=\ *)
24267 # `set' does not quote correctly, so add quotes (double-quote
24268 # substitution turns \\\\ into \\, and sed turns \\ into \).
24271 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24274 # `set' quotes correctly as required by POSIX, so do not add quotes.
24275 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24284 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24286 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24288 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24289 if test -w "$cache_file"; then
24290 test "x$cache_file" != "x/dev/null" &&
24291 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24292 echo "$as_me: updating cache $cache_file" >&6;}
24293 cat confcache >$cache_file
24295 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24296 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24301 test "x$prefix" = xNONE && prefix=$ac_default_prefix
24302 # Let make expand exec_prefix.
24303 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24305 DEFS=-DHAVE_CONFIG_H
24309 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24310 # 1. Remove the extension, and $U if already installed.
24311 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
24312 ac_i=`echo "$ac_i" | sed "$ac_script"`
24313 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24314 # will be set to the directory where LIBOBJS objects are built.
24315 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24316 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
24318 LIBOBJS=$ac_libobjs
24320 LTLIBOBJS=$ac_ltlibobjs
24324 : ${CONFIG_STATUS=./config.status}
24325 ac_clean_files_save=$ac_clean_files
24326 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24327 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24328 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24329 cat >$CONFIG_STATUS <<_ACEOF
24331 # Generated by $as_me.
24332 # Run this file to recreate the current configuration.
24333 # Compiler output produced by configure, useful for debugging
24334 # configure, is in config.log if it exists.
24337 ac_cs_recheck=false
24339 SHELL=\${CONFIG_SHELL-$SHELL}
24342 cat >>$CONFIG_STATUS <<\_ACEOF
24343 ## --------------------- ##
24344 ## M4sh Initialization. ##
24345 ## --------------------- ##
24347 # Be Bourne compatible
24348 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24351 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24352 # is contrary to our usage. Disable this feature.
24353 alias -g '${1+"$@"}'='"$@"'
24354 setopt NO_GLOB_SUBST
24356 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
24358 BIN_SH=xpg4; export BIN_SH # for Tru64
24359 DUALCASE=1; export DUALCASE # for MKS sh
24363 # Avoid depending upon Character Ranges.
24364 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24365 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24366 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24367 as_cr_digits='0123456789'
24368 as_cr_alnum=$as_cr_Letters$as_cr_digits
24370 # The user is always right.
24371 if test "${PATH_SEPARATOR+set}" != set; then
24372 echo "#! /bin/sh" >conf$$.sh
24373 echo "exit 0" >>conf$$.sh
24375 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24383 # Support unset when possible.
24384 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24392 # We need space, tab and new line, in precisely that order. Quoting is
24393 # there to prevent editors from complaining about space-tab.
24394 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24395 # splitting by setting IFS to empty value.)
24400 # Find who we are. Look in the path if we contain no directory separator.
24402 *[\\/]* ) as_myself=$0 ;;
24403 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24404 for as_dir in $PATH
24407 test -z "$as_dir" && as_dir=.
24408 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24414 # We did not find ourselves, most probably we were run as `sh COMMAND'
24415 # in which case we are not to be found in the path.
24416 if test "x$as_myself" = x; then
24419 if test ! -f "$as_myself"; then
24420 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24421 { (exit 1); exit 1; }
24424 # Work around bugs in pre-3.0 UWIN ksh.
24425 for as_var in ENV MAIL MAILPATH
24426 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24434 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24435 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24436 LC_TELEPHONE LC_TIME
24438 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24439 eval $as_var=C; export $as_var
24441 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24445 # Required to use basename.
24446 if expr a : '\(a\)' >/dev/null 2>&1 &&
24447 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24453 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24454 as_basename=basename
24460 # Name of the executable.
24461 as_me=`$as_basename -- "$0" ||
24462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24463 X"$0" : 'X\(//\)$' \| \
24464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24466 sed '/^.*\/\([^/][^/]*\)\/*$/{
24485 as_lineno_1=$LINENO
24486 as_lineno_2=$LINENO
24487 test "x$as_lineno_1" != "x$as_lineno_2" &&
24488 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
24490 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24491 # uniformly replaced by the line number. The first 'sed' inserts a
24492 # line-number line after each line using $LINENO; the second 'sed'
24493 # does the real work. The second script uses 'N' to pair each
24494 # line-number line with the line containing $LINENO, and appends
24495 # trailing '-' during substitution so that $LINENO is not a special
24496 # case at line end.
24497 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24498 # scripts with optimization help from Paolo Bonzini. Blame Lee
24499 # E. McMahon (1931-1989) for sed's syntax. :-)
24511 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24514 ' >$as_me.lineno &&
24515 chmod +x "$as_me.lineno" ||
24516 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24517 { (exit 1); exit 1; }; }
24519 # Don't try to exec as it changes $[0], causing all sort of problems
24520 # (the dirname of $[0] is not the place where we might find the
24521 # original and so on. Autoconf is especially sensitive to this).
24522 . "./$as_me.lineno"
24523 # Exit status is that of the last command.
24528 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
24534 ECHO_C= ECHO_N= ECHO_T=
24535 case `echo -n x` in
24537 case `echo 'x\c'` in
24538 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
24545 if expr a : '\(a\)' >/dev/null 2>&1 &&
24546 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24552 rm -f conf$$ conf$$.exe conf$$.file
24553 if test -d conf$$.dir; then
24554 rm -f conf$$.dir/conf$$.file
24560 if ln -s conf$$.file conf$$ 2>/dev/null; then
24562 # ... but there are two gotchas:
24563 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24564 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24565 # In both cases, we have to default to `cp -p'.
24566 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
24568 elif ln conf$$.file conf$$ 2>/dev/null; then
24573 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
24574 rmdir conf$$.dir 2>/dev/null
24576 if mkdir -p . 2>/dev/null; then
24579 test -d ./-p && rmdir ./-p
24583 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
24584 # systems may use methods other than mode bits to determine executability.
24585 cat >conf$$.file <<_ASEOF
24589 chmod +x conf$$.file
24590 if test -x conf$$.file >/dev/null 2>&1; then
24591 as_executable_p="test -x"
24597 # Sed expression to map a string onto a valid CPP name.
24598 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24600 # Sed expression to map a string onto a valid variable name.
24601 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24606 # Save the log message, to keep $[0] and so on meaningful, and to
24607 # report actual input values of CONFIG_FILES etc. instead of their
24608 # values after options handling.
24610 This file was extended by Wine $as_me 0.9.15, which was
24611 generated by GNU Autoconf 2.59e. Invocation command line was
24613 CONFIG_FILES = $CONFIG_FILES
24614 CONFIG_HEADERS = $CONFIG_HEADERS
24615 CONFIG_LINKS = $CONFIG_LINKS
24616 CONFIG_COMMANDS = $CONFIG_COMMANDS
24619 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24624 cat >>$CONFIG_STATUS <<_ACEOF
24625 # Files that config.status was made for.
24626 config_files="$ac_config_files"
24627 config_headers="$ac_config_headers"
24628 config_commands="$ac_config_commands"
24632 cat >>$CONFIG_STATUS <<\_ACEOF
24634 \`$as_me' instantiates files from templates according to the
24635 current configuration.
24637 Usage: $0 [OPTIONS] [FILE]...
24639 -h, --help print this help, then exit
24640 -V, --version print version number, then exit
24641 -q, --quiet do not print progress messages
24642 -d, --debug don't remove temporary files
24643 --recheck update $as_me by reconfiguring in the same conditions
24644 --file=FILE[:TEMPLATE]
24645 instantiate the configuration file FILE
24646 --header=FILE[:TEMPLATE]
24647 instantiate the configuration header FILE
24649 Configuration files:
24652 Configuration headers:
24655 Configuration commands:
24658 Report bugs to <bug-autoconf@gnu.org>."
24661 cat >>$CONFIG_STATUS <<_ACEOF
24663 Wine config.status 0.9.15
24664 configured by $0, generated by GNU Autoconf 2.59e,
24665 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24667 Copyright (C) 2006 Free Software Foundation, Inc.
24668 This config.status script is free software; the Free Software Foundation
24669 gives unlimited permission to copy, distribute and modify it."
24676 cat >>$CONFIG_STATUS <<\_ACEOF
24677 # If no file are specified by the user, then we need to provide default
24678 # value. By we need to know if files were specified by the user.
24684 ac_option=`expr "X$1" : 'X\([^=]*\)='`
24685 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24696 # Handling of the options.
24697 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24699 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24700 echo "$ac_cs_version"; exit ;;
24701 --debug | --debu | --deb | --de | --d | -d )
24703 --file | --fil | --fi | --f )
24705 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24706 ac_need_defaults=false;;
24707 --header | --heade | --head | --hea )
24709 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24710 ac_need_defaults=false;;
24712 # Conflict between --help and --header
24713 { echo "$as_me: error: ambiguous option: $1
24714 Try \`$0 --help' for more information." >&2
24715 { (exit 1); exit 1; }; };;
24716 --help | --hel | -h )
24717 echo "$ac_cs_usage"; exit ;;
24718 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24719 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24722 # This is an error.
24723 -*) { echo "$as_me: error: unrecognized option: $1
24724 Try \`$0 --help' for more information." >&2
24725 { (exit 1); exit 1; }; } ;;
24727 *) ac_config_targets="$ac_config_targets $1"
24728 ac_need_defaults=false ;;
24734 ac_configure_extra_args=
24736 if $ac_cs_silent; then
24738 ac_configure_extra_args="$ac_configure_extra_args --silent"
24742 cat >>$CONFIG_STATUS <<_ACEOF
24743 if \$ac_cs_recheck; then
24744 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24745 CONFIG_SHELL=$SHELL
24746 export CONFIG_SHELL
24747 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24751 cat >>$CONFIG_STATUS <<\_ACEOF
24755 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24756 ## Running $as_me. ##
24762 cat >>$CONFIG_STATUS <<_ACEOF
24765 cat >>$CONFIG_STATUS <<\_ACEOF
24767 # Handling of arguments.
24768 for ac_config_target in $ac_config_targets
24770 case $ac_config_target in
24771 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
24772 "dlls/gdi/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
24773 "dlls/gdi/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
24774 "dlls/kernel/messages") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
24775 "dlls/user/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
24776 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
24777 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
24778 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
24779 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
24780 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
24781 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
24782 "libs/Makelib.rules") CONFIG_FILES="$CONFIG_FILES libs/Makelib.rules" ;;
24783 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
24784 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24785 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
24786 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
24787 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
24788 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
24789 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
24790 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
24791 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
24792 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
24793 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
24794 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
24795 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
24796 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
24797 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
24798 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
24799 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
24800 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
24801 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
24802 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
24803 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
24804 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
24805 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
24806 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
24807 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
24808 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
24809 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
24810 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
24811 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
24812 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
24813 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
24814 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
24815 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
24816 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
24817 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
24818 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
24819 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
24820 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
24821 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
24822 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
24823 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
24824 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
24825 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
24826 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
24827 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
24828 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
24829 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
24830 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
24831 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
24832 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
24833 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
24834 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
24835 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
24836 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
24837 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
24838 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
24839 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
24840 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
24841 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
24842 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
24843 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
24844 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
24845 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
24846 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
24847 "dlls/gdi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
24848 "dlls/gdi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
24849 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
24850 "dlls/glut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
24851 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
24852 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
24853 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
24854 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
24855 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
24856 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
24857 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
24858 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
24859 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
24860 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
24861 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
24862 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
24863 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
24864 "dlls/kernel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
24865 "dlls/kernel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
24866 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
24867 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
24868 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
24869 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
24870 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
24871 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
24872 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
24873 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
24874 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
24875 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
24876 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
24877 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
24878 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
24879 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
24880 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
24881 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
24882 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
24883 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
24884 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
24885 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
24886 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
24887 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
24888 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
24889 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
24890 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
24891 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
24892 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
24893 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
24894 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
24895 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
24896 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
24897 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
24898 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
24899 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
24900 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
24901 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
24902 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
24903 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
24904 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
24905 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
24906 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
24907 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
24908 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
24909 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
24910 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
24911 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
24912 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
24913 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
24914 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
24915 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
24916 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
24917 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
24918 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
24919 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
24920 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
24921 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
24922 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
24923 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
24924 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
24925 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
24926 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
24927 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
24928 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
24929 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
24930 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
24931 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
24932 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
24933 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
24934 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
24935 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
24936 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
24937 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
24938 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
24939 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
24940 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
24941 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
24942 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
24943 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
24944 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
24945 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
24946 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
24947 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
24948 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
24949 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
24950 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
24951 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
24952 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
24953 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
24954 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
24955 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
24956 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
24957 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
24958 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
24959 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
24960 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
24961 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
24962 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
24963 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
24964 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
24965 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
24966 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
24967 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
24968 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
24969 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
24970 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
24971 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
24972 "dlls/user/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
24973 "dlls/user/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
24974 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
24975 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
24976 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
24977 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
24978 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
24979 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
24980 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
24981 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
24982 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
24983 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
24984 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
24985 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
24986 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
24987 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
24988 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
24989 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
24990 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
24991 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
24992 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
24993 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
24994 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
24995 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
24996 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
24997 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
24998 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
24999 "dlls/winmm/joystick/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
25000 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
25001 "dlls/winmm/winealsa/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
25002 "dlls/winmm/winearts/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
25003 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
25004 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
25005 "dlls/winmm/wineesd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
25006 "dlls/winmm/winejack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
25007 "dlls/winmm/winenas/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
25008 "dlls/winmm/wineoss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
25009 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
25010 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
25011 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
25012 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
25013 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
25014 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
25015 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
25016 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
25017 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
25018 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
25019 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
25020 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
25021 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
25022 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
25023 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
25024 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
25025 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
25026 "libs/unicode/Makefile") CONFIG_FILES="$CONFIG_FILES libs/unicode/Makefile" ;;
25027 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
25028 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
25029 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
25030 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
25031 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
25032 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
25033 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
25034 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
25035 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
25036 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
25037 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
25038 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
25039 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
25040 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
25041 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
25042 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
25043 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
25044 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
25045 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
25046 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
25047 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
25048 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
25049 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
25050 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
25051 "programs/wcmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
25052 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
25053 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
25054 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
25055 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
25056 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
25057 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
25058 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
25059 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
25060 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
25061 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
25062 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
25063 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
25064 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
25065 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
25066 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
25067 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
25068 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
25069 "tools/winapi/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
25070 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
25071 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
25072 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
25073 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
25074 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
25076 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25077 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25078 { (exit 1); exit 1; }; };;
25083 # If the user did not use the arguments to specify the items to instantiate,
25084 # then the envvar interface is used. Set only those that are not.
25085 # We use the long form for the default assignment because of an extremely
25086 # bizarre bug on SunOS 4.1.3.
25087 if $ac_need_defaults; then
25088 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
25089 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
25090 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
25093 # Have a temporary directory for convenience. Make it in the build tree
25094 # simply because there is no reason against having it here, and in addition,
25095 # creating and moving files from /tmp can sometimes cause problems.
25096 # Hook for its removal unless debugging.
25097 # Note that there is a small window in which the directory will not be cleaned:
25098 # after its creation but before its name has been assigned to `$tmp'.
25102 trap 'exit_status=$?
25103 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
25105 trap '{ (exit 1); exit 1; }' 1 2 13 15
25107 # Create a (secure) tmp directory for tmp files.
25110 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25111 test -n "$tmp" && test -d "$tmp"
25114 tmp=./conf$$-$RANDOM
25115 (umask 077 && mkdir "$tmp")
25118 echo "$me: cannot create a temporary directory in ." >&2
25119 { (exit 1); exit 1; }
25123 # Set up the sed scripts for CONFIG_FILES section.
25126 # No need to generate the scripts if there are no CONFIG_FILES.
25127 # This happens for instance when ./config.status config.h
25128 if test -n "$CONFIG_FILES"; then
25132 # Create sed commands to just substitute file output variables.
25134 # Remaining file output variables are in a fragment that also has non-file
25140 for ac_last_try in false false false false false :; do
25141 cat >conf$$subs.sed <<_ACEOF
25142 SHELL!$SHELL$ac_delim
25143 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
25144 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
25145 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
25146 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
25147 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
25148 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
25149 exec_prefix!$exec_prefix$ac_delim
25150 prefix!$prefix$ac_delim
25151 program_transform_name!$program_transform_name$ac_delim
25152 bindir!$bindir$ac_delim
25153 sbindir!$sbindir$ac_delim
25154 libexecdir!$libexecdir$ac_delim
25155 datarootdir!$datarootdir$ac_delim
25156 datadir!$datadir$ac_delim
25157 sysconfdir!$sysconfdir$ac_delim
25158 sharedstatedir!$sharedstatedir$ac_delim
25159 localstatedir!$localstatedir$ac_delim
25160 includedir!$includedir$ac_delim
25161 oldincludedir!$oldincludedir$ac_delim
25162 docdir!$docdir$ac_delim
25163 infodir!$infodir$ac_delim
25164 htmldir!$htmldir$ac_delim
25165 dvidir!$dvidir$ac_delim
25166 pdfdir!$pdfdir$ac_delim
25167 psdir!$psdir$ac_delim
25168 libdir!$libdir$ac_delim
25169 localedir!$localedir$ac_delim
25170 mandir!$mandir$ac_delim
25171 DEFS!$DEFS$ac_delim
25172 ECHO_C!$ECHO_C$ac_delim
25173 ECHO_N!$ECHO_N$ac_delim
25174 ECHO_T!$ECHO_T$ac_delim
25175 LIBS!$LIBS$ac_delim
25176 build_alias!$build_alias$ac_delim
25177 host_alias!$host_alias$ac_delim
25178 target_alias!$target_alias$ac_delim
25179 build!$build$ac_delim
25180 build_cpu!$build_cpu$ac_delim
25181 build_vendor!$build_vendor$ac_delim
25182 build_os!$build_os$ac_delim
25183 host!$host$ac_delim
25184 host_cpu!$host_cpu$ac_delim
25185 host_vendor!$host_vendor$ac_delim
25186 host_os!$host_os$ac_delim
25187 WIN16_FILES!$WIN16_FILES$ac_delim
25188 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
25189 SET_MAKE!$SET_MAKE$ac_delim
25191 CFLAGS!$CFLAGS$ac_delim
25192 LDFLAGS!$LDFLAGS$ac_delim
25193 CPPFLAGS!$CPPFLAGS$ac_delim
25194 ac_ct_CC!$ac_ct_CC$ac_delim
25195 EXEEXT!$EXEEXT$ac_delim
25196 OBJEXT!$OBJEXT$ac_delim
25198 CXXFLAGS!$CXXFLAGS$ac_delim
25199 ac_ct_CXX!$ac_ct_CXX$ac_delim
25200 CPPBIN!$CPPBIN$ac_delim
25201 TOOLSDIR!$TOOLSDIR$ac_delim
25202 XMKMF!$XMKMF$ac_delim
25204 X_CFLAGS!$X_CFLAGS$ac_delim
25205 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
25206 X_LIBS!$X_LIBS$ac_delim
25207 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
25209 LEXLIB!$LEXLIB$ac_delim
25210 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
25211 XLEX!$XLEX$ac_delim
25212 BISON!$BISON$ac_delim
25214 ac_ct_AS!$ac_ct_AS$ac_delim
25217 RANLIB!$RANLIB$ac_delim
25218 STRIP!$STRIP$ac_delim
25219 WINDRES!$WINDRES$ac_delim
25220 LN_S!$LN_S$ac_delim
25223 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 79; then
25225 elif $ac_last_try; then
25226 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25227 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25228 { (exit 1); exit 1; }; }
25230 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25234 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25235 if test -n "$ac_eof"; then
25236 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
25237 ac_eof=`expr $ac_eof + 1`
25240 cat >>$CONFIG_STATUS <<_ACEOF
25241 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
25242 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25243 /^[ ]*@MAKE_RULES@[ ]*$/{
25247 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
25251 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
25252 r $MAKE_IMPLIB_RULES
25255 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
25259 /^[ ]*@MAKE_LIB_RULES@[ ]*$/{
25263 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
25269 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25270 s/^/s,@/; s/!/@,|#_!!_#|/
25273 s/'"$ac_delim"'$/,g/; t
25275 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25276 ' >>$CONFIG_STATUS <conf$$subs.sed
25277 rm -f conf$$subs.sed
25278 cat >>$CONFIG_STATUS <<_ACEOF
25284 for ac_last_try in false false false false false :; do
25285 cat >conf$$subs.sed <<_ACEOF
25287 GREP!$GREP$ac_delim
25288 EGREP!$EGREP$ac_delim
25289 LDCONFIG!$LDCONFIG$ac_delim
25290 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
25291 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
25292 INSTALL_DATA!$INSTALL_DATA$ac_delim
25293 LINT!$LINT$ac_delim
25294 LINTFLAGS!$LINTFLAGS$ac_delim
25295 FONTFORGE!$FONTFORGE$ac_delim
25296 PKG_CONFIG!$PKG_CONFIG$ac_delim
25297 PRELINK!$PRELINK$ac_delim
25298 LIBPTHREAD!$LIBPTHREAD$ac_delim
25299 XLIB!$XLIB$ac_delim
25300 XFILES!$XFILES$ac_delim
25301 OPENGLFILES!$OPENGLFILES$ac_delim
25302 GLU32FILES!$GLU32FILES$ac_delim
25303 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
25304 GLUT_LIBS!$GLUT_LIBS$ac_delim
25305 GLUT32FILES!$GLUT32FILES$ac_delim
25306 NASLIBS!$NASLIBS$ac_delim
25307 XML2LIBS!$XML2LIBS$ac_delim
25308 XML2INCL!$XML2INCL$ac_delim
25309 XSLTLIBS!$XSLTLIBS$ac_delim
25310 XSLTINCL!$XSLTINCL$ac_delim
25311 HALINCL!$HALINCL$ac_delim
25312 CURSESLIBS!$CURSESLIBS$ac_delim
25313 sane_devel!$sane_devel$ac_delim
25314 SANELIBS!$SANELIBS$ac_delim
25315 SANEINCL!$SANEINCL$ac_delim
25316 gphoto2_devel!$gphoto2_devel$ac_delim
25317 gphoto2port_devel!$gphoto2port_devel$ac_delim
25318 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
25319 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
25320 ICULIBS!$ICULIBS$ac_delim
25321 RESOLVLIBS!$RESOLVLIBS$ac_delim
25322 LCMSLIBS!$LCMSLIBS$ac_delim
25323 LDAPLIBS!$LDAPLIBS$ac_delim
25324 FREETYPELIBS!$FREETYPELIBS$ac_delim
25325 FREETYPEINCL!$FREETYPEINCL$ac_delim
25326 ft_devel!$ft_devel$ac_delim
25327 ft_devel2!$ft_devel2$ac_delim
25328 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
25329 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
25330 ARTSLIBS!$ARTSLIBS$ac_delim
25331 ARTSINCL!$ARTSINCL$ac_delim
25332 ESDCONFIG!$ESDCONFIG$ac_delim
25333 ESDLIBS!$ESDLIBS$ac_delim
25334 ESDINCL!$ESDINCL$ac_delim
25335 ALSALIBS!$ALSALIBS$ac_delim
25336 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
25337 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
25338 BUILTINFLAG!$BUILTINFLAG$ac_delim
25339 DLLEXT!$DLLEXT$ac_delim
25340 DLLFLAGS!$DLLFLAGS$ac_delim
25341 DLLIBS!$DLLIBS$ac_delim
25342 LDSHARED!$LDSHARED$ac_delim
25343 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
25344 LIBEXT!$LIBEXT$ac_delim
25345 IMPLIBEXT!$IMPLIBEXT$ac_delim
25346 DLLTOOL!$DLLTOOL$ac_delim
25347 DLLWRAP!$DLLWRAP$ac_delim
25348 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
25349 LDEXERPATH!$LDEXERPATH$ac_delim
25350 LDDLLRPATH!$LDDLLRPATH$ac_delim
25351 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
25352 IOKITLIB!$IOKITLIB$ac_delim
25353 COREAUDIO!$COREAUDIO$ac_delim
25354 CROSSTEST!$CROSSTEST$ac_delim
25355 CROSSCC!$CROSSCC$ac_delim
25356 CROSSWINDRES!$CROSSWINDRES$ac_delim
25357 LDPATH!$LDPATH$ac_delim
25358 CRTLIBS!$CRTLIBS$ac_delim
25359 SOCKETLIBS!$SOCKETLIBS$ac_delim
25360 MAIN_BINARY!$MAIN_BINARY$ac_delim
25361 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
25363 LIBOBJS!$LIBOBJS$ac_delim
25364 LTLIBOBJS!$LTLIBOBJS$ac_delim
25367 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 79; then
25369 elif $ac_last_try; then
25370 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25371 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25372 { (exit 1); exit 1; }; }
25374 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25378 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25379 if test -n "$ac_eof"; then
25380 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
25381 ac_eof=`expr $ac_eof + 1`
25384 cat >>$CONFIG_STATUS <<_ACEOF
25385 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
25386 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
25389 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25390 s/^/s,@/; s/!/@,|#_!!_#|/
25393 s/'"$ac_delim"'$/,g/; t
25395 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25396 ' >>$CONFIG_STATUS <conf$$subs.sed
25397 rm -f conf$$subs.sed
25398 cat >>$CONFIG_STATUS <<_ACEOF
25405 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25406 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25407 # trailing colons and then remove the whole line if VPATH becomes empty
25408 # (actually we leave an empty line to preserve line numbers).
25409 if test "x$srcdir" = x.; then
25410 ac_vpsub='/^[ ]*VPATH[ ]*=/{
25411 s/:*\$(srcdir):*/:/
25412 s/:*\${srcdir}:*/:/
25414 s/^\([^=]*=[ ]*\):*/\1/
25420 cat >>$CONFIG_STATUS <<\_ACEOF
25421 fi # test -n "$CONFIG_FILES"
25424 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
25427 :[FHLC]) ac_mode=$ac_tag; continue;;
25429 case $ac_mode$ac_tag in
25431 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
25432 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
25433 { (exit 1); exit 1; }; };;
25434 :[FH]-) ac_tag=-:-;;
25435 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
25452 -) ac_f="$tmp/stdin";;
25453 *) # Look for the file first in the build tree, then in the source tree
25454 # (if the path is not absolute). The absolute path cannot be DOS-style,
25455 # because $ac_f cannot contain `:'.
25459 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
25461 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25462 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25463 { (exit 1); exit 1; }; };;
25465 ac_file_inputs="$ac_file_inputs $ac_f"
25468 # Let's still pretend it is `configure' which instantiates (i.e., don't
25469 # use $as_me), people would be surprised to read:
25470 # /* config.h. Generated by config.status. */
25471 configure_input="Generated from "`IFS=:
25472 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
25473 if test x"$ac_file" != x-; then
25474 configure_input="$ac_file. $configure_input"
25475 { echo "$as_me:$LINENO: creating $ac_file" >&5
25476 echo "$as_me: creating $ac_file" >&6;}
25480 *:-:* | *:-) cat >"$tmp/stdin";;
25485 ac_dir=`$as_dirname -- "$ac_file" ||
25486 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25487 X"$ac_file" : 'X\(//\)[^/]' \| \
25488 X"$ac_file" : 'X\(//\)$' \| \
25489 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25491 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25495 /^X\(\/\/\)[^/].*/{
25510 -*) as_dir=./$as_dir;;
25512 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25516 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25517 *) as_qdir=$as_dir;;
25519 as_dirs="'$as_qdir' $as_dirs"
25520 as_dir=`$as_dirname -- "$as_dir" ||
25521 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25522 X"$as_dir" : 'X\(//\)[^/]' \| \
25523 X"$as_dir" : 'X\(//\)$' \| \
25524 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25526 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25530 /^X\(\/\/\)[^/].*/{
25543 test -d "$as_dir" && break
25545 test -z "$as_dirs" || eval "mkdir $as_dirs"
25546 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25547 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25548 { (exit 1); exit 1; }; }; }
25552 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25554 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25555 # A ".." for each directory in $ac_dir_suffix.
25556 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25557 case $ac_top_builddir_sub in
25558 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25559 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25562 ac_abs_top_builddir=$ac_pwd
25563 ac_abs_builddir=$ac_pwd$ac_dir_suffix
25564 # for backward compatibility:
25565 ac_top_builddir=$ac_top_build_prefix
25568 .) # We are building in place.
25570 ac_top_srcdir=$ac_top_builddir_sub
25571 ac_abs_top_srcdir=$ac_pwd ;;
25572 [\\/]* | ?:[\\/]* ) # Absolute name.
25573 ac_srcdir=$srcdir$ac_dir_suffix;
25574 ac_top_srcdir=$srcdir
25575 ac_abs_top_srcdir=$srcdir ;;
25576 *) # Relative name.
25577 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
25578 ac_top_srcdir=$ac_top_build_prefix$srcdir
25579 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
25581 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
25591 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25592 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
25596 cat >>$CONFIG_STATUS <<\_ACEOF
25597 # If the template does not know about datarootdir, expand it.
25598 # FIXME: This hack should be removed a few years after 2.60.
25599 ac_datarootdir_hack=; ac_datarootdir_seen=
25601 case `sed -n '/datarootdir/ {
25610 ' $ac_file_inputs` in
25611 *datarootdir*) ac_datarootdir_seen=yes;;
25612 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25613 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25614 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25616 cat >>$CONFIG_STATUS <<_ACEOF
25617 ac_datarootdir_hack='
25618 s&@datadir@&$datadir&g
25619 s&@docdir@&$docdir&g
25620 s&@infodir@&$infodir&g
25621 s&@localedir@&$localedir&g
25622 s&@mandir@&$mandir&g
25623 s&\\\${datarootdir}&$datarootdir&g' ;;
25627 # Neutralize VPATH when `$srcdir' = `.'.
25628 # Shell code in configure.ac might set extrasub.
25629 # FIXME: do we really want to maintain this feature?
25630 cat >>$CONFIG_STATUS <<_ACEOF
25634 cat >>$CONFIG_STATUS <<\_ACEOF
25636 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25637 s&@configure_input@&$configure_input&;t t
25638 s&@top_builddir@&$ac_top_builddir_sub&;t t
25639 s&@srcdir@&$ac_srcdir&;t t
25640 s&@abs_srcdir@&$ac_abs_srcdir&;t t
25641 s&@top_srcdir@&$ac_top_srcdir&;t t
25642 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
25643 s&@builddir@&$ac_builddir&;t t
25644 s&@abs_builddir@&$ac_abs_builddir&;t t
25645 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25646 s&@INSTALL@&$ac_INSTALL&;t t
25647 $ac_datarootdir_hack
25648 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
25650 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25651 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
25652 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
25653 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25654 which seems to be undefined. Please make sure it is defined." >&5
25655 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25656 which seems to be undefined. Please make sure it is defined." >&2;}
25660 -) cat "$tmp/out"; rm -f "$tmp/out";;
25661 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25670 # Transform confdefs.h into a sed script `conftest.defines', that
25671 # substitutes the proper values into config.h.in to produce config.h.
25672 rm -f conftest.defines conftest.tail
25673 # First, append a space to every undef/define line, to ease matching.
25674 echo 's/$/ /' >conftest.defines
25675 # Then, protect against being on the right side of a sed subst, or in
25676 # an unquoted here document, in config.status. If some macros were
25677 # called several times there might be several #defines for the same
25678 # symbol, which is useless. But do not sort them, since the last
25679 # AC_DEFINE must be honored.
25680 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25681 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25682 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25683 # PARAMS is the parameter list in the macro definition--in most cases, it's
25684 # just an empty string.
25685 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25686 ac_dB='\\)[ (].*,\\1define\\2'
25694 s/^[ ]*#[ ]*define[ ][ ]*//
25699 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25700 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25701 ' >>conftest.defines
25703 # Remove the space that was appended to ease matching.
25704 # Then replace #undef with comments. This is necessary, for
25705 # example, in the case of _POSIX_SOURCE, which is predefined and required
25706 # on some systems where configure will not decide to define it.
25707 # (The regexp can be short, since the line contains either #define or #undef.)
25709 s,^[ #]*u.*,/* & */,' >>conftest.defines
25711 # Break up conftest.defines:
25712 ac_max_sed_lines=50
25714 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25715 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25716 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25718 ac_in='$ac_file_inputs'
25719 ac_out='"$tmp/out1"'
25720 ac_nxt='"$tmp/out2"'
25724 # Write a here document:
25725 cat >>$CONFIG_STATUS <<_ACEOF
25726 # First, check the format of the line:
25727 cat >"\$tmp/defines.sed" <<\\CEOF
25728 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25729 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25733 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25735 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25736 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
25737 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
25738 grep . conftest.tail >/dev/null || break
25739 rm -f conftest.defines
25740 mv conftest.tail conftest.defines
25742 rm -f conftest.defines conftest.tail
25744 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25745 cat >>$CONFIG_STATUS <<\_ACEOF
25746 if test x"$ac_file" != x-; then
25747 echo "/* $configure_input */" >"$tmp/config.h"
25748 cat "$ac_result" >>"$tmp/config.h"
25749 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
25750 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25751 echo "$as_me: $ac_file is unchanged" >&6;}
25754 mv "$tmp/config.h" $ac_file
25757 echo "/* $configure_input */"
25763 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25764 echo "$as_me: executing $ac_file commands" >&6;}
25769 case $ac_file$ac_mode in
25770 "dlls/gdi/enhmfdrv":C) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
25771 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
25772 "dlls/gdi/mfdrv":C) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
25773 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
25774 "dlls/kernel/messages":C) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
25775 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
25776 "dlls/user/resources":C) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
25777 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
25778 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
25779 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
25780 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
25781 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
25787 { (exit 0); exit 0; }
25789 chmod +x $CONFIG_STATUS
25790 ac_clean_files=$ac_clean_files_save
25793 # configure is writing to config.log, and then calls config.status.
25794 # config.status does its own redirection, appending to config.log.
25795 # Unfortunately, on DOS this fails, as config.log is still kept open
25796 # by configure, so config.status won't be able to write to it; its
25797 # output is simply discarded. So we exec the FD to /dev/null,
25798 # effectively closing config.log, so it can be properly (re)opened and
25799 # appended to by config.status. When coming back to configure, we
25800 # need to make the FD available again.
25801 if test "$no_create" != yes; then
25803 ac_config_status_args=
25804 test "$silent" = yes &&
25805 ac_config_status_args="$ac_config_status_args --quiet"
25807 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25809 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25810 # would make configure fail if this is the last instruction.
25811 $ac_cs_success || { (exit 1); exit 1; }
25816 if test "$have_x" = "no"
25819 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
25820 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
25821 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
25822 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
25823 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
25824 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
25825 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
25826 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
25830 if test "$wine_cv_opengl_version_OK" = "no"
25833 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&5
25834 echo "$as_me: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&2;}
25835 { echo "$as_me:$LINENO: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
25836 echo "$as_me: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
25840 if test "$wine_cv_msg_freetype" = "yes"
25843 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
25844 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
25845 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
25846 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
25847 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
25848 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
25849 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
25850 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
25854 if test -z "$FONTSSUBDIRS"
25857 if test "$FONTFORGE" = "false"
25859 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
25860 echo "$as_me: WARNING: FontForge is missing." >&2;}
25862 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
25863 echo "$as_me: WARNING: FreeType is missing." >&2;}
25865 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
25866 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
25870 if test -z "$ALSALIBS" -a \
25871 -z "$ARTSC_LIBS" -a \
25872 -z "$AUDIOIOLIBS" -a \
25874 -z "$ESD_LIBS" -a \
25875 -z "$ac_cv_lib_soname_jack" -a \
25876 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
25877 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
25878 "$ac_cv_header_soundcard_h" != "yes"
25881 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
25882 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
25883 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
25884 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
25885 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
25886 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
25891 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."