2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60a for Wine 0.9.18.
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.18'
563 PACKAGE_STRING='Wine 0.9.18'
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.18 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.18:";;
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.18
1446 generated by GNU Autoconf 2.60a
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.18, which was
1460 generated by GNU Autoconf 2.60a. 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 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2931 inside strings and character constants. */
2933 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2935 int test (int i, double x);
2936 struct s1 {int (*f) (int a);};
2937 struct s2 {int (*f) (double a);};
2938 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2944 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2949 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2950 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2952 CC="$ac_save_CC $ac_arg"
2953 rm -f conftest.$ac_objext
2954 if { (ac_try="$ac_compile"
2956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2957 *) ac_try_echo=$ac_try;;
2959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2960 (eval "$ac_compile") 2>conftest.er1
2962 grep -v '^ *+' conftest.er1 >conftest.err
2964 cat conftest.err >&5
2965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966 (exit $ac_status); } &&
2967 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2968 { (case "(($ac_try" in
2969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2970 *) ac_try_echo=$ac_try;;
2972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2973 (eval "$ac_try") 2>&5
2975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976 (exit $ac_status); }; } &&
2977 { ac_try='test -s conftest.$ac_objext'
2978 { (case "(($ac_try" in
2979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2980 *) ac_try_echo=$ac_try;;
2982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2983 (eval "$ac_try") 2>&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); }; }; then
2987 ac_cv_prog_cc_c89=$ac_arg
2989 echo "$as_me: failed program was:" >&5
2990 sed 's/^/| /' conftest.$ac_ext >&5
2995 rm -f core conftest.err conftest.$ac_objext
2996 test "x$ac_cv_prog_cc_c89" != "xno" && break
2998 rm -f conftest.$ac_ext
3003 case "x$ac_cv_prog_cc_c89" in
3005 { echo "$as_me:$LINENO: result: none needed" >&5
3006 echo "${ECHO_T}none needed" >&6; } ;;
3008 { echo "$as_me:$LINENO: result: unsupported" >&5
3009 echo "${ECHO_T}unsupported" >&6; } ;;
3011 CC="$CC $ac_cv_prog_cc_c89"
3012 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3013 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3018 ac_cpp='$CPP $CPPFLAGS'
3019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3024 ac_cpp='$CXXCPP $CPPFLAGS'
3025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3028 if test -z "$CXX"; then
3029 if test -n "$CCC"; then
3032 if test -n "$ac_tool_prefix"; then
3033 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3035 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3036 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3039 if test "${ac_cv_prog_CXX+set}" = set; then
3040 echo $ECHO_N "(cached) $ECHO_C" >&6
3042 if test -n "$CXX"; then
3043 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3049 test -z "$as_dir" && as_dir=.
3050 for ac_exec_ext in '' $ac_executable_extensions; do
3051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3052 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3063 if test -n "$CXX"; then
3064 { echo "$as_me:$LINENO: result: $CXX" >&5
3065 echo "${ECHO_T}$CXX" >&6; }
3067 { echo "$as_me:$LINENO: result: no" >&5
3068 echo "${ECHO_T}no" >&6; }
3072 test -n "$CXX" && break
3075 if test -z "$CXX"; then
3077 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3079 # Extract the first word of "$ac_prog", so it can be a program name with args.
3080 set dummy $ac_prog; ac_word=$2
3081 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3083 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3084 echo $ECHO_N "(cached) $ECHO_C" >&6
3086 if test -n "$ac_ct_CXX"; then
3087 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3093 test -z "$as_dir" && as_dir=.
3094 for ac_exec_ext in '' $ac_executable_extensions; do
3095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3096 ac_cv_prog_ac_ct_CXX="$ac_prog"
3097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3106 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3107 if test -n "$ac_ct_CXX"; then
3108 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3109 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3111 { echo "$as_me:$LINENO: result: no" >&5
3112 echo "${ECHO_T}no" >&6; }
3116 test -n "$ac_ct_CXX" && break
3119 if test "x$ac_ct_CXX" = x; then
3122 case $cross_compiling:$ac_tool_warned in
3124 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3125 whose name does not start with the host triplet. If you think this
3126 configuration is useful to you, please write to autoconf@gnu.org." >&5
3127 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3128 whose name does not start with the host triplet. If you think this
3129 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3130 ac_tool_warned=yes ;;
3138 # Provide some information about the compiler.
3139 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3140 ac_compiler=`set X $ac_compile; echo $2`
3141 { (ac_try="$ac_compiler --version >&5"
3143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3144 *) ac_try_echo=$ac_try;;
3146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3147 (eval "$ac_compiler --version >&5") 2>&5
3149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150 (exit $ac_status); }
3151 { (ac_try="$ac_compiler -v >&5"
3153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3154 *) ac_try_echo=$ac_try;;
3156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3157 (eval "$ac_compiler -v >&5") 2>&5
3159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3160 (exit $ac_status); }
3161 { (ac_try="$ac_compiler -V >&5"
3163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3164 *) ac_try_echo=$ac_try;;
3166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3167 (eval "$ac_compiler -V >&5") 2>&5
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); }
3172 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3173 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3174 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3175 echo $ECHO_N "(cached) $ECHO_C" >&6
3177 cat >conftest.$ac_ext <<_ACEOF
3180 cat confdefs.h >>conftest.$ac_ext
3181 cat >>conftest.$ac_ext <<_ACEOF
3182 /* end confdefs.h. */
3195 rm -f conftest.$ac_objext
3196 if { (ac_try="$ac_compile"
3198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3199 *) ac_try_echo=$ac_try;;
3201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3202 (eval "$ac_compile") 2>conftest.er1
3204 grep -v '^ *+' conftest.er1 >conftest.err
3206 cat conftest.err >&5
3207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3208 (exit $ac_status); } &&
3209 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3210 { (case "(($ac_try" in
3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3212 *) ac_try_echo=$ac_try;;
3214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3215 (eval "$ac_try") 2>&5
3217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3218 (exit $ac_status); }; } &&
3219 { ac_try='test -s conftest.$ac_objext'
3220 { (case "(($ac_try" in
3221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3222 *) ac_try_echo=$ac_try;;
3224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3225 (eval "$ac_try") 2>&5
3227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228 (exit $ac_status); }; }; then
3231 echo "$as_me: failed program was:" >&5
3232 sed 's/^/| /' conftest.$ac_ext >&5
3237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3238 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3241 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3242 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3243 GXX=`test $ac_compiler_gnu = yes && echo yes`
3244 ac_test_CXXFLAGS=${CXXFLAGS+set}
3245 ac_save_CXXFLAGS=$CXXFLAGS
3246 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3247 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3248 if test "${ac_cv_prog_cxx_g+set}" = set; then
3249 echo $ECHO_N "(cached) $ECHO_C" >&6
3251 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3252 ac_cxx_werror_flag=yes
3255 cat >conftest.$ac_ext <<_ACEOF
3258 cat confdefs.h >>conftest.$ac_ext
3259 cat >>conftest.$ac_ext <<_ACEOF
3260 /* end confdefs.h. */
3270 rm -f conftest.$ac_objext
3271 if { (ac_try="$ac_compile"
3273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3274 *) ac_try_echo=$ac_try;;
3276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3277 (eval "$ac_compile") 2>conftest.er1
3279 grep -v '^ *+' conftest.er1 >conftest.err
3281 cat conftest.err >&5
3282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3283 (exit $ac_status); } &&
3284 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3285 { (case "(($ac_try" in
3286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3287 *) ac_try_echo=$ac_try;;
3289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3290 (eval "$ac_try") 2>&5
3292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3293 (exit $ac_status); }; } &&
3294 { ac_try='test -s conftest.$ac_objext'
3295 { (case "(($ac_try" in
3296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3297 *) ac_try_echo=$ac_try;;
3299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3300 (eval "$ac_try") 2>&5
3302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303 (exit $ac_status); }; }; then
3304 ac_cv_prog_cxx_g=yes
3306 echo "$as_me: failed program was:" >&5
3307 sed 's/^/| /' conftest.$ac_ext >&5
3310 cat >conftest.$ac_ext <<_ACEOF
3313 cat confdefs.h >>conftest.$ac_ext
3314 cat >>conftest.$ac_ext <<_ACEOF
3315 /* end confdefs.h. */
3325 rm -f conftest.$ac_objext
3326 if { (ac_try="$ac_compile"
3328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3329 *) ac_try_echo=$ac_try;;
3331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3332 (eval "$ac_compile") 2>conftest.er1
3334 grep -v '^ *+' conftest.er1 >conftest.err
3336 cat conftest.err >&5
3337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3338 (exit $ac_status); } &&
3339 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3340 { (case "(($ac_try" in
3341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3342 *) ac_try_echo=$ac_try;;
3344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3345 (eval "$ac_try") 2>&5
3347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3348 (exit $ac_status); }; } &&
3349 { ac_try='test -s conftest.$ac_objext'
3350 { (case "(($ac_try" in
3351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3352 *) ac_try_echo=$ac_try;;
3354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3355 (eval "$ac_try") 2>&5
3357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358 (exit $ac_status); }; }; then
3361 echo "$as_me: failed program was:" >&5
3362 sed 's/^/| /' conftest.$ac_ext >&5
3364 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3366 cat >conftest.$ac_ext <<_ACEOF
3369 cat confdefs.h >>conftest.$ac_ext
3370 cat >>conftest.$ac_ext <<_ACEOF
3371 /* end confdefs.h. */
3381 rm -f conftest.$ac_objext
3382 if { (ac_try="$ac_compile"
3384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3385 *) ac_try_echo=$ac_try;;
3387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3388 (eval "$ac_compile") 2>conftest.er1
3390 grep -v '^ *+' conftest.er1 >conftest.err
3392 cat conftest.err >&5
3393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3394 (exit $ac_status); } &&
3395 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3396 { (case "(($ac_try" in
3397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3398 *) ac_try_echo=$ac_try;;
3400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3401 (eval "$ac_try") 2>&5
3403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404 (exit $ac_status); }; } &&
3405 { ac_try='test -s conftest.$ac_objext'
3406 { (case "(($ac_try" in
3407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3408 *) ac_try_echo=$ac_try;;
3410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3411 (eval "$ac_try") 2>&5
3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414 (exit $ac_status); }; }; then
3415 ac_cv_prog_cxx_g=yes
3417 echo "$as_me: failed program was:" >&5
3418 sed 's/^/| /' conftest.$ac_ext >&5
3423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3430 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3432 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3433 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3434 if test "$ac_test_CXXFLAGS" = set; then
3435 CXXFLAGS=$ac_save_CXXFLAGS
3436 elif test $ac_cv_prog_cxx_g = yes; then
3437 if test "$GXX" = yes; then
3443 if test "$GXX" = yes; then
3450 ac_cpp='$CPP $CPPFLAGS'
3451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3455 if test -n "$ac_tool_prefix"; then
3456 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3457 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3458 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3460 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3461 echo $ECHO_N "(cached) $ECHO_C" >&6
3463 if test -n "$CPPBIN"; then
3464 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3470 test -z "$as_dir" && as_dir=.
3471 for ac_exec_ext in '' $ac_executable_extensions; do
3472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3473 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3483 CPPBIN=$ac_cv_prog_CPPBIN
3484 if test -n "$CPPBIN"; then
3485 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3486 echo "${ECHO_T}$CPPBIN" >&6; }
3488 { echo "$as_me:$LINENO: result: no" >&5
3489 echo "${ECHO_T}no" >&6; }
3494 if test -z "$ac_cv_prog_CPPBIN"; then
3495 ac_ct_CPPBIN=$CPPBIN
3496 # Extract the first word of "cpp", so it can be a program name with args.
3497 set dummy cpp; ac_word=$2
3498 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3500 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3501 echo $ECHO_N "(cached) $ECHO_C" >&6
3503 if test -n "$ac_ct_CPPBIN"; then
3504 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3510 test -z "$as_dir" && as_dir=.
3511 for ac_exec_ext in '' $ac_executable_extensions; do
3512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3513 ac_cv_prog_ac_ct_CPPBIN="cpp"
3514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3523 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3524 if test -n "$ac_ct_CPPBIN"; then
3525 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3526 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3528 { echo "$as_me:$LINENO: result: no" >&5
3529 echo "${ECHO_T}no" >&6; }
3532 if test "x$ac_ct_CPPBIN" = x; then
3535 case $cross_compiling:$ac_tool_warned in
3537 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3538 whose name does not start with the host triplet. If you think this
3539 configuration is useful to you, please write to autoconf@gnu.org." >&5
3540 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3541 whose name does not start with the host triplet. If you think this
3542 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3543 ac_tool_warned=yes ;;
3545 CPPBIN=$ac_ct_CPPBIN
3548 CPPBIN="$ac_cv_prog_CPPBIN"
3552 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3553 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3554 if test "${wine_cv_toolsdir+set}" = set; then
3555 echo $ECHO_N "(cached) $ECHO_C" >&6
3557 if test -z "$with_wine_tools"; then
3558 if test "$cross_compiling" = "yes"; then
3559 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3560 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3561 { (exit 1); exit 1; }; }
3563 wine_cv_toolsdir="\$(TOPOBJDIR)"
3565 elif test -d "$with_wine_tools/tools/winebuild"; then
3566 case $with_wine_tools in
3567 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3568 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3571 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3572 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3573 { (exit 1); exit 1; }; }
3576 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3577 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3578 TOOLSDIR=$wine_cv_toolsdir
3583 ac_cpp='$CPP $CPPFLAGS'
3584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3587 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3588 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3589 # On Suns, sometimes $CPP names a directory.
3590 if test -n "$CPP" && test -d "$CPP"; then
3593 if test -z "$CPP"; then
3594 if test "${ac_cv_prog_CPP+set}" = set; then
3595 echo $ECHO_N "(cached) $ECHO_C" >&6
3597 # Double quotes because CPP needs to be expanded
3598 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3601 for ac_c_preproc_warn_flag in '' yes
3603 # Use a header file that comes with gcc, so configuring glibc
3604 # with a fresh cross-compiler works.
3605 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3606 # <limits.h> exists even on freestanding compilers.
3607 # On the NeXT, cc -E runs the code through the compiler's parser,
3608 # not just through cpp. "Syntax error" is here to catch this case.
3609 cat >conftest.$ac_ext <<_ACEOF
3612 cat confdefs.h >>conftest.$ac_ext
3613 cat >>conftest.$ac_ext <<_ACEOF
3614 /* end confdefs.h. */
3616 # include <limits.h>
3618 # include <assert.h>
3622 if { (ac_try="$ac_cpp conftest.$ac_ext"
3624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3625 *) ac_try_echo=$ac_try;;
3627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3628 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3630 grep -v '^ *+' conftest.er1 >conftest.err
3632 cat conftest.err >&5
3633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3634 (exit $ac_status); } >/dev/null; then
3635 if test -s conftest.err; then
3636 ac_cpp_err=$ac_c_preproc_warn_flag
3637 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3644 if test -z "$ac_cpp_err"; then
3647 echo "$as_me: failed program was:" >&5
3648 sed 's/^/| /' conftest.$ac_ext >&5
3650 # Broken: fails on valid input.
3654 rm -f conftest.err conftest.$ac_ext
3656 # OK, works on sane cases. Now check whether nonexistent headers
3657 # can be detected and how.
3658 cat >conftest.$ac_ext <<_ACEOF
3661 cat confdefs.h >>conftest.$ac_ext
3662 cat >>conftest.$ac_ext <<_ACEOF
3663 /* end confdefs.h. */
3664 #include <ac_nonexistent.h>
3666 if { (ac_try="$ac_cpp conftest.$ac_ext"
3668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3669 *) ac_try_echo=$ac_try;;
3671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3672 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3674 grep -v '^ *+' conftest.er1 >conftest.err
3676 cat conftest.err >&5
3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678 (exit $ac_status); } >/dev/null; then
3679 if test -s conftest.err; then
3680 ac_cpp_err=$ac_c_preproc_warn_flag
3681 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3688 if test -z "$ac_cpp_err"; then
3689 # Broken: success on invalid input.
3692 echo "$as_me: failed program was:" >&5
3693 sed 's/^/| /' conftest.$ac_ext >&5
3695 # Passes both tests.
3700 rm -f conftest.err conftest.$ac_ext
3703 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3704 rm -f conftest.err conftest.$ac_ext
3705 if $ac_preproc_ok; then
3717 { echo "$as_me:$LINENO: result: $CPP" >&5
3718 echo "${ECHO_T}$CPP" >&6; }
3720 for ac_c_preproc_warn_flag in '' yes
3722 # Use a header file that comes with gcc, so configuring glibc
3723 # with a fresh cross-compiler works.
3724 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3725 # <limits.h> exists even on freestanding compilers.
3726 # On the NeXT, cc -E runs the code through the compiler's parser,
3727 # not just through cpp. "Syntax error" is here to catch this case.
3728 cat >conftest.$ac_ext <<_ACEOF
3731 cat confdefs.h >>conftest.$ac_ext
3732 cat >>conftest.$ac_ext <<_ACEOF
3733 /* end confdefs.h. */
3735 # include <limits.h>
3737 # include <assert.h>
3741 if { (ac_try="$ac_cpp conftest.$ac_ext"
3743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3744 *) ac_try_echo=$ac_try;;
3746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3747 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3749 grep -v '^ *+' conftest.er1 >conftest.err
3751 cat conftest.err >&5
3752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3753 (exit $ac_status); } >/dev/null; then
3754 if test -s conftest.err; then
3755 ac_cpp_err=$ac_c_preproc_warn_flag
3756 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3763 if test -z "$ac_cpp_err"; then
3766 echo "$as_me: failed program was:" >&5
3767 sed 's/^/| /' conftest.$ac_ext >&5
3769 # Broken: fails on valid input.
3773 rm -f conftest.err conftest.$ac_ext
3775 # OK, works on sane cases. Now check whether nonexistent headers
3776 # can be detected and how.
3777 cat >conftest.$ac_ext <<_ACEOF
3780 cat confdefs.h >>conftest.$ac_ext
3781 cat >>conftest.$ac_ext <<_ACEOF
3782 /* end confdefs.h. */
3783 #include <ac_nonexistent.h>
3785 if { (ac_try="$ac_cpp conftest.$ac_ext"
3787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3788 *) ac_try_echo=$ac_try;;
3790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3791 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3793 grep -v '^ *+' conftest.er1 >conftest.err
3795 cat conftest.err >&5
3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797 (exit $ac_status); } >/dev/null; then
3798 if test -s conftest.err; then
3799 ac_cpp_err=$ac_c_preproc_warn_flag
3800 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3807 if test -z "$ac_cpp_err"; then
3808 # Broken: success on invalid input.
3811 echo "$as_me: failed program was:" >&5
3812 sed 's/^/| /' conftest.$ac_ext >&5
3814 # Passes both tests.
3819 rm -f conftest.err conftest.$ac_ext
3822 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3823 rm -f conftest.err conftest.$ac_ext
3824 if $ac_preproc_ok; then
3827 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3828 See \`config.log' for more details." >&5
3829 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3830 See \`config.log' for more details." >&2;}
3831 { (exit 1); exit 1; }; }
3835 ac_cpp='$CPP $CPPFLAGS'
3836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3841 { echo "$as_me:$LINENO: checking for X" >&5
3842 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3845 # Check whether --with-x was given.
3846 if test "${with_x+set}" = set; then
3850 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3851 if test "x$with_x" = xno; then
3852 # The user explicitly disabled X.
3855 case $x_includes,$x_libraries in #(
3856 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3857 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3858 { (exit 1); exit 1; }; };; #(
3859 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3860 echo $ECHO_N "(cached) $ECHO_C" >&6
3862 # One or both of the vars are not set, and there is no cached value.
3863 ac_x_includes=no ac_x_libraries=no
3864 rm -f -r conftest.dir
3865 if mkdir conftest.dir; then
3867 cat >Imakefile <<'_ACEOF'
3869 @echo incroot='${INCROOT}'
3871 @echo usrlibdir='${USRLIBDIR}'
3873 @echo libdir='${LIBDIR}'
3875 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3876 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3877 for ac_var in incroot usrlibdir libdir; do
3878 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3880 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3881 for ac_extension in a so sl; do
3882 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3883 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3884 ac_im_usrlibdir=$ac_im_libdir; break
3887 # Screen out bogus values from the imake configuration. They are
3888 # bogus both because they are the default anyway, and because
3889 # using them would break gcc on systems where it needs fixed includes.
3890 case $ac_im_incroot in
3891 /usr/include) ac_x_includes= ;;
3892 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3894 case $ac_im_usrlibdir in
3896 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3900 rm -f -r conftest.dir
3903 # Standard set of common directories for X headers.
3904 # Check X11 before X11Rn because it is often a symlink to the current release.
3916 /usr/local/X11/include
3917 /usr/local/X11R6/include
3918 /usr/local/X11R5/include
3919 /usr/local/X11R4/include
3921 /usr/local/include/X11
3922 /usr/local/include/X11R6
3923 /usr/local/include/X11R5
3924 /usr/local/include/X11R4
3928 /usr/XFree86/include/X11
3932 /usr/unsupported/include
3934 /usr/local/x11r5/include
3935 /usr/lpp/Xamples/include
3937 /usr/openwin/include
3938 /usr/openwin/share/include'
3940 if test "$ac_x_includes" = no; then
3941 # Guess where to find include files, by looking for Xlib.h.
3942 # First, try using that file with no special directory specified.
3943 cat >conftest.$ac_ext <<_ACEOF
3946 cat confdefs.h >>conftest.$ac_ext
3947 cat >>conftest.$ac_ext <<_ACEOF
3948 /* end confdefs.h. */
3949 #include <X11/Xlib.h>
3951 if { (ac_try="$ac_cpp conftest.$ac_ext"
3953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3954 *) ac_try_echo=$ac_try;;
3956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3957 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3959 grep -v '^ *+' conftest.er1 >conftest.err
3961 cat conftest.err >&5
3962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3963 (exit $ac_status); } >/dev/null; then
3964 if test -s conftest.err; then
3965 ac_cpp_err=$ac_c_preproc_warn_flag
3966 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3973 if test -z "$ac_cpp_err"; then
3974 # We can compile using X headers with no special include directory.
3977 echo "$as_me: failed program was:" >&5
3978 sed 's/^/| /' conftest.$ac_ext >&5
3980 for ac_dir in $ac_x_header_dirs; do
3981 if test -r "$ac_dir/X11/Xlib.h"; then
3982 ac_x_includes=$ac_dir
3988 rm -f conftest.err conftest.$ac_ext
3989 fi # $ac_x_includes = no
3991 if test "$ac_x_libraries" = no; then
3992 # Check for the libraries.
3993 # See if we find them without any special options.
3994 # Don't add to $LIBS permanently.
3997 cat >conftest.$ac_ext <<_ACEOF
4000 cat confdefs.h >>conftest.$ac_ext
4001 cat >>conftest.$ac_ext <<_ACEOF
4002 /* end confdefs.h. */
4003 #include <X11/Xlib.h>
4012 rm -f conftest.$ac_objext conftest$ac_exeext
4013 if { (ac_try="$ac_link"
4015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4016 *) ac_try_echo=$ac_try;;
4018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4019 (eval "$ac_link") 2>conftest.er1
4021 grep -v '^ *+' conftest.er1 >conftest.err
4023 cat conftest.err >&5
4024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025 (exit $ac_status); } &&
4026 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4027 { (case "(($ac_try" in
4028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4029 *) ac_try_echo=$ac_try;;
4031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4032 (eval "$ac_try") 2>&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); }; } &&
4036 { ac_try='test -s conftest$ac_exeext'
4037 { (case "(($ac_try" in
4038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4039 *) ac_try_echo=$ac_try;;
4041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4042 (eval "$ac_try") 2>&5
4044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4045 (exit $ac_status); }; }; then
4047 # We can link X programs with no special library path.
4050 echo "$as_me: failed program was:" >&5
4051 sed 's/^/| /' conftest.$ac_ext >&5
4054 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4056 # Don't even attempt the hair of trying to link an X program!
4057 for ac_extension in a so sl; do
4058 if test -r "$ac_dir/libX11.$ac_extension"; then
4059 ac_x_libraries=$ac_dir
4066 rm -f core conftest.err conftest.$ac_objext \
4067 conftest$ac_exeext conftest.$ac_ext
4068 fi # $ac_x_libraries = no
4070 case $ac_x_includes,$ac_x_libraries in #(
4072 # Didn't find X, or a directory has "'" in its name.
4073 ac_cv_have_x="have_x=no";; #(
4075 # Record where we found X for the cache.
4076 ac_cv_have_x="have_x=yes\
4077 ac_x_includes='$ac_x_includes'\
4078 ac_x_libraries='$ac_x_libraries'"
4084 eval "$ac_cv_have_x"
4087 if test "$have_x" != yes; then
4088 { echo "$as_me:$LINENO: result: $have_x" >&5
4089 echo "${ECHO_T}$have_x" >&6; }
4092 # If each of the values was on the command line, it overrides each guess.
4093 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4094 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4095 # Update the cache value to reflect the command line values.
4096 ac_cv_have_x="have_x=yes\
4097 ac_x_includes='$x_includes'\
4098 ac_x_libraries='$x_libraries'"
4099 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4100 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4103 if test "$no_x" = yes; then
4104 # Not all programs may use this symbol, but it does not hurt to define it.
4106 cat >>confdefs.h <<\_ACEOF
4107 #define X_DISPLAY_MISSING 1
4110 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4112 if test -n "$x_includes"; then
4113 X_CFLAGS="$X_CFLAGS -I$x_includes"
4116 # It would also be nice to do this for all -L options, not just this one.
4117 if test -n "$x_libraries"; then
4118 X_LIBS="$X_LIBS -L$x_libraries"
4119 # For Solaris; some versions of Sun CC require a space after -R and
4120 # others require no space. Words are not sufficient . . . .
4121 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4122 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4123 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4124 ac_xsave_c_werror_flag=$ac_c_werror_flag
4125 ac_c_werror_flag=yes
4126 cat >conftest.$ac_ext <<_ACEOF
4129 cat confdefs.h >>conftest.$ac_ext
4130 cat >>conftest.$ac_ext <<_ACEOF
4131 /* end confdefs.h. */
4141 rm -f conftest.$ac_objext conftest$ac_exeext
4142 if { (ac_try="$ac_link"
4144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4145 *) ac_try_echo=$ac_try;;
4147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4148 (eval "$ac_link") 2>conftest.er1
4150 grep -v '^ *+' conftest.er1 >conftest.err
4152 cat conftest.err >&5
4153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4154 (exit $ac_status); } &&
4155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4156 { (case "(($ac_try" in
4157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4158 *) ac_try_echo=$ac_try;;
4160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4161 (eval "$ac_try") 2>&5
4163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164 (exit $ac_status); }; } &&
4165 { ac_try='test -s conftest$ac_exeext'
4166 { (case "(($ac_try" in
4167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4168 *) ac_try_echo=$ac_try;;
4170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4171 (eval "$ac_try") 2>&5
4173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4174 (exit $ac_status); }; }; then
4175 { echo "$as_me:$LINENO: result: no" >&5
4176 echo "${ECHO_T}no" >&6; }
4177 X_LIBS="$X_LIBS -R$x_libraries"
4179 echo "$as_me: failed program was:" >&5
4180 sed 's/^/| /' conftest.$ac_ext >&5
4182 LIBS="$ac_xsave_LIBS -R $x_libraries"
4183 cat >conftest.$ac_ext <<_ACEOF
4186 cat confdefs.h >>conftest.$ac_ext
4187 cat >>conftest.$ac_ext <<_ACEOF
4188 /* end confdefs.h. */
4198 rm -f conftest.$ac_objext conftest$ac_exeext
4199 if { (ac_try="$ac_link"
4201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4202 *) ac_try_echo=$ac_try;;
4204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4205 (eval "$ac_link") 2>conftest.er1
4207 grep -v '^ *+' conftest.er1 >conftest.err
4209 cat conftest.err >&5
4210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4211 (exit $ac_status); } &&
4212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4213 { (case "(($ac_try" in
4214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4215 *) ac_try_echo=$ac_try;;
4217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4218 (eval "$ac_try") 2>&5
4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221 (exit $ac_status); }; } &&
4222 { ac_try='test -s conftest$ac_exeext'
4223 { (case "(($ac_try" in
4224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4225 *) ac_try_echo=$ac_try;;
4227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4228 (eval "$ac_try") 2>&5
4230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4231 (exit $ac_status); }; }; then
4232 { echo "$as_me:$LINENO: result: yes" >&5
4233 echo "${ECHO_T}yes" >&6; }
4234 X_LIBS="$X_LIBS -R $x_libraries"
4236 echo "$as_me: failed program was:" >&5
4237 sed 's/^/| /' conftest.$ac_ext >&5
4239 { echo "$as_me:$LINENO: result: neither works" >&5
4240 echo "${ECHO_T}neither works" >&6; }
4243 rm -f core conftest.err conftest.$ac_objext \
4244 conftest$ac_exeext conftest.$ac_ext
4247 rm -f core conftest.err conftest.$ac_objext \
4248 conftest$ac_exeext conftest.$ac_ext
4249 ac_c_werror_flag=$ac_xsave_c_werror_flag
4253 # Check for system-dependent libraries X programs must link with.
4254 # Do this before checking for the system-independent R6 libraries
4255 # (-lICE), since we may need -lsocket or whatever for X linking.
4257 if test "$ISC" = yes; then
4258 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4260 # Martyn Johnson says this is needed for Ultrix, if the X
4261 # libraries were built with DECnet support. And Karl Berry says
4262 # the Alpha needs dnet_stub (dnet does not exist).
4263 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4264 cat >conftest.$ac_ext <<_ACEOF
4267 cat confdefs.h >>conftest.$ac_ext
4268 cat >>conftest.$ac_ext <<_ACEOF
4269 /* end confdefs.h. */
4271 /* Override any GCC internal prototype to avoid an error.
4272 Use char because int might match the return type of a GCC
4273 builtin and then its argument prototype would still apply. */
4277 char XOpenDisplay ();
4281 return XOpenDisplay ();
4286 rm -f conftest.$ac_objext conftest$ac_exeext
4287 if { (ac_try="$ac_link"
4289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4290 *) ac_try_echo=$ac_try;;
4292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4293 (eval "$ac_link") 2>conftest.er1
4295 grep -v '^ *+' conftest.er1 >conftest.err
4297 cat conftest.err >&5
4298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4299 (exit $ac_status); } &&
4300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4301 { (case "(($ac_try" in
4302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4303 *) ac_try_echo=$ac_try;;
4305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4306 (eval "$ac_try") 2>&5
4308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4309 (exit $ac_status); }; } &&
4310 { ac_try='test -s conftest$ac_exeext'
4311 { (case "(($ac_try" in
4312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4313 *) ac_try_echo=$ac_try;;
4315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4316 (eval "$ac_try") 2>&5
4318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4319 (exit $ac_status); }; }; then
4322 echo "$as_me: failed program was:" >&5
4323 sed 's/^/| /' conftest.$ac_ext >&5
4325 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4326 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4327 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4328 echo $ECHO_N "(cached) $ECHO_C" >&6
4330 ac_check_lib_save_LIBS=$LIBS
4332 cat >conftest.$ac_ext <<_ACEOF
4335 cat confdefs.h >>conftest.$ac_ext
4336 cat >>conftest.$ac_ext <<_ACEOF
4337 /* end confdefs.h. */
4339 /* Override any GCC internal prototype to avoid an error.
4340 Use char because int might match the return type of a GCC
4341 builtin and then its argument prototype would still apply. */
4349 return dnet_ntoa ();
4354 rm -f conftest.$ac_objext conftest$ac_exeext
4355 if { (ac_try="$ac_link"
4357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4358 *) ac_try_echo=$ac_try;;
4360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4361 (eval "$ac_link") 2>conftest.er1
4363 grep -v '^ *+' conftest.er1 >conftest.err
4365 cat conftest.err >&5
4366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4367 (exit $ac_status); } &&
4368 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4369 { (case "(($ac_try" in
4370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4371 *) ac_try_echo=$ac_try;;
4373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4374 (eval "$ac_try") 2>&5
4376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4377 (exit $ac_status); }; } &&
4378 { ac_try='test -s conftest$ac_exeext'
4379 { (case "(($ac_try" in
4380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4381 *) ac_try_echo=$ac_try;;
4383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4384 (eval "$ac_try") 2>&5
4386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4387 (exit $ac_status); }; }; then
4388 ac_cv_lib_dnet_dnet_ntoa=yes
4390 echo "$as_me: failed program was:" >&5
4391 sed 's/^/| /' conftest.$ac_ext >&5
4393 ac_cv_lib_dnet_dnet_ntoa=no
4396 rm -f core conftest.err conftest.$ac_objext \
4397 conftest$ac_exeext conftest.$ac_ext
4398 LIBS=$ac_check_lib_save_LIBS
4400 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4401 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4402 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4403 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4406 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4407 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4408 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4409 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4410 echo $ECHO_N "(cached) $ECHO_C" >&6
4412 ac_check_lib_save_LIBS=$LIBS
4413 LIBS="-ldnet_stub $LIBS"
4414 cat >conftest.$ac_ext <<_ACEOF
4417 cat confdefs.h >>conftest.$ac_ext
4418 cat >>conftest.$ac_ext <<_ACEOF
4419 /* end confdefs.h. */
4421 /* Override any GCC internal prototype to avoid an error.
4422 Use char because int might match the return type of a GCC
4423 builtin and then its argument prototype would still apply. */
4431 return dnet_ntoa ();
4436 rm -f conftest.$ac_objext conftest$ac_exeext
4437 if { (ac_try="$ac_link"
4439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4440 *) ac_try_echo=$ac_try;;
4442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4443 (eval "$ac_link") 2>conftest.er1
4445 grep -v '^ *+' conftest.er1 >conftest.err
4447 cat conftest.err >&5
4448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4449 (exit $ac_status); } &&
4450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4451 { (case "(($ac_try" in
4452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4453 *) ac_try_echo=$ac_try;;
4455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4456 (eval "$ac_try") 2>&5
4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459 (exit $ac_status); }; } &&
4460 { ac_try='test -s conftest$ac_exeext'
4461 { (case "(($ac_try" in
4462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4463 *) ac_try_echo=$ac_try;;
4465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4466 (eval "$ac_try") 2>&5
4468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4469 (exit $ac_status); }; }; then
4470 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4472 echo "$as_me: failed program was:" >&5
4473 sed 's/^/| /' conftest.$ac_ext >&5
4475 ac_cv_lib_dnet_stub_dnet_ntoa=no
4478 rm -f core conftest.err conftest.$ac_objext \
4479 conftest$ac_exeext conftest.$ac_ext
4480 LIBS=$ac_check_lib_save_LIBS
4482 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4483 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4484 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4485 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4491 rm -f core conftest.err conftest.$ac_objext \
4492 conftest$ac_exeext conftest.$ac_ext
4493 LIBS="$ac_xsave_LIBS"
4495 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4496 # to get the SysV transport functions.
4497 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4499 # The nsl library prevents programs from opening the X display
4500 # on Irix 5.2, according to T.E. Dickey.
4501 # The functions gethostbyname, getservbyname, and inet_addr are
4502 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4503 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4504 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4505 if test "${ac_cv_func_gethostbyname+set}" = set; then
4506 echo $ECHO_N "(cached) $ECHO_C" >&6
4508 cat >conftest.$ac_ext <<_ACEOF
4511 cat confdefs.h >>conftest.$ac_ext
4512 cat >>conftest.$ac_ext <<_ACEOF
4513 /* end confdefs.h. */
4514 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4516 #define gethostbyname innocuous_gethostbyname
4518 /* System header to define __stub macros and hopefully few prototypes,
4519 which can conflict with char gethostbyname (); below.
4520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4521 <limits.h> exists even on freestanding compilers. */
4524 # include <limits.h>
4526 # include <assert.h>
4529 #undef gethostbyname
4531 /* Override any GCC internal prototype to avoid an error.
4532 Use char because int might match the return type of a GCC
4533 builtin and then its argument prototype would still apply. */
4537 char gethostbyname ();
4538 /* The GNU C library defines this for functions which it implements
4539 to always fail with ENOSYS. Some functions are actually named
4540 something starting with __ and the normal name is an alias. */
4541 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4548 return gethostbyname ();
4553 rm -f conftest.$ac_objext conftest$ac_exeext
4554 if { (ac_try="$ac_link"
4556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4557 *) ac_try_echo=$ac_try;;
4559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4560 (eval "$ac_link") 2>conftest.er1
4562 grep -v '^ *+' conftest.er1 >conftest.err
4564 cat conftest.err >&5
4565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4566 (exit $ac_status); } &&
4567 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4568 { (case "(($ac_try" in
4569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4570 *) ac_try_echo=$ac_try;;
4572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4573 (eval "$ac_try") 2>&5
4575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4576 (exit $ac_status); }; } &&
4577 { ac_try='test -s conftest$ac_exeext'
4578 { (case "(($ac_try" in
4579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4580 *) ac_try_echo=$ac_try;;
4582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4583 (eval "$ac_try") 2>&5
4585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4586 (exit $ac_status); }; }; then
4587 ac_cv_func_gethostbyname=yes
4589 echo "$as_me: failed program was:" >&5
4590 sed 's/^/| /' conftest.$ac_ext >&5
4592 ac_cv_func_gethostbyname=no
4595 rm -f core conftest.err conftest.$ac_objext \
4596 conftest$ac_exeext conftest.$ac_ext
4598 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4599 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4601 if test $ac_cv_func_gethostbyname = no; then
4602 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4603 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4604 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4605 echo $ECHO_N "(cached) $ECHO_C" >&6
4607 ac_check_lib_save_LIBS=$LIBS
4609 cat >conftest.$ac_ext <<_ACEOF
4612 cat confdefs.h >>conftest.$ac_ext
4613 cat >>conftest.$ac_ext <<_ACEOF
4614 /* end confdefs.h. */
4616 /* Override any GCC internal prototype to avoid an error.
4617 Use char because int might match the return type of a GCC
4618 builtin and then its argument prototype would still apply. */
4622 char gethostbyname ();
4626 return gethostbyname ();
4631 rm -f conftest.$ac_objext conftest$ac_exeext
4632 if { (ac_try="$ac_link"
4634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4635 *) ac_try_echo=$ac_try;;
4637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4638 (eval "$ac_link") 2>conftest.er1
4640 grep -v '^ *+' conftest.er1 >conftest.err
4642 cat conftest.err >&5
4643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644 (exit $ac_status); } &&
4645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4646 { (case "(($ac_try" in
4647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4648 *) ac_try_echo=$ac_try;;
4650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4651 (eval "$ac_try") 2>&5
4653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654 (exit $ac_status); }; } &&
4655 { ac_try='test -s conftest$ac_exeext'
4656 { (case "(($ac_try" in
4657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4658 *) ac_try_echo=$ac_try;;
4660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4661 (eval "$ac_try") 2>&5
4663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4664 (exit $ac_status); }; }; then
4665 ac_cv_lib_nsl_gethostbyname=yes
4667 echo "$as_me: failed program was:" >&5
4668 sed 's/^/| /' conftest.$ac_ext >&5
4670 ac_cv_lib_nsl_gethostbyname=no
4673 rm -f core conftest.err conftest.$ac_objext \
4674 conftest$ac_exeext conftest.$ac_ext
4675 LIBS=$ac_check_lib_save_LIBS
4677 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4678 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4679 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4680 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4683 if test $ac_cv_lib_nsl_gethostbyname = no; then
4684 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4685 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4686 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4687 echo $ECHO_N "(cached) $ECHO_C" >&6
4689 ac_check_lib_save_LIBS=$LIBS
4691 cat >conftest.$ac_ext <<_ACEOF
4694 cat confdefs.h >>conftest.$ac_ext
4695 cat >>conftest.$ac_ext <<_ACEOF
4696 /* end confdefs.h. */
4698 /* Override any GCC internal prototype to avoid an error.
4699 Use char because int might match the return type of a GCC
4700 builtin and then its argument prototype would still apply. */
4704 char gethostbyname ();
4708 return gethostbyname ();
4713 rm -f conftest.$ac_objext conftest$ac_exeext
4714 if { (ac_try="$ac_link"
4716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4717 *) ac_try_echo=$ac_try;;
4719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4720 (eval "$ac_link") 2>conftest.er1
4722 grep -v '^ *+' conftest.er1 >conftest.err
4724 cat conftest.err >&5
4725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4726 (exit $ac_status); } &&
4727 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4728 { (case "(($ac_try" in
4729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4730 *) ac_try_echo=$ac_try;;
4732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4733 (eval "$ac_try") 2>&5
4735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4736 (exit $ac_status); }; } &&
4737 { ac_try='test -s conftest$ac_exeext'
4738 { (case "(($ac_try" in
4739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4740 *) ac_try_echo=$ac_try;;
4742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4743 (eval "$ac_try") 2>&5
4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); }; }; then
4747 ac_cv_lib_bsd_gethostbyname=yes
4749 echo "$as_me: failed program was:" >&5
4750 sed 's/^/| /' conftest.$ac_ext >&5
4752 ac_cv_lib_bsd_gethostbyname=no
4755 rm -f core conftest.err conftest.$ac_objext \
4756 conftest$ac_exeext conftest.$ac_ext
4757 LIBS=$ac_check_lib_save_LIBS
4759 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4760 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4761 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4762 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4768 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4769 # socket/setsockopt and other routines are undefined under SCO ODT
4770 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4771 # on later versions), says Simon Leinen: it contains gethostby*
4772 # variants that don't use the name server (or something). -lsocket
4773 # must be given before -lnsl if both are needed. We assume that
4774 # if connect needs -lnsl, so does gethostbyname.
4775 { echo "$as_me:$LINENO: checking for connect" >&5
4776 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4777 if test "${ac_cv_func_connect+set}" = set; then
4778 echo $ECHO_N "(cached) $ECHO_C" >&6
4780 cat >conftest.$ac_ext <<_ACEOF
4783 cat confdefs.h >>conftest.$ac_ext
4784 cat >>conftest.$ac_ext <<_ACEOF
4785 /* end confdefs.h. */
4786 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4788 #define connect innocuous_connect
4790 /* System header to define __stub macros and hopefully few prototypes,
4791 which can conflict with char connect (); below.
4792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4793 <limits.h> exists even on freestanding compilers. */
4796 # include <limits.h>
4798 # include <assert.h>
4803 /* Override any GCC internal prototype to avoid an error.
4804 Use char because int might match the return type of a GCC
4805 builtin and then its argument prototype would still apply. */
4810 /* The GNU C library defines this for functions which it implements
4811 to always fail with ENOSYS. Some functions are actually named
4812 something starting with __ and the normal name is an alias. */
4813 #if defined __stub_connect || defined __stub___connect
4825 rm -f conftest.$ac_objext conftest$ac_exeext
4826 if { (ac_try="$ac_link"
4828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4829 *) ac_try_echo=$ac_try;;
4831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4832 (eval "$ac_link") 2>conftest.er1
4834 grep -v '^ *+' conftest.er1 >conftest.err
4836 cat conftest.err >&5
4837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838 (exit $ac_status); } &&
4839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4840 { (case "(($ac_try" in
4841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4842 *) ac_try_echo=$ac_try;;
4844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4845 (eval "$ac_try") 2>&5
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); }; } &&
4849 { ac_try='test -s conftest$ac_exeext'
4850 { (case "(($ac_try" in
4851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4852 *) ac_try_echo=$ac_try;;
4854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4855 (eval "$ac_try") 2>&5
4857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858 (exit $ac_status); }; }; then
4859 ac_cv_func_connect=yes
4861 echo "$as_me: failed program was:" >&5
4862 sed 's/^/| /' conftest.$ac_ext >&5
4864 ac_cv_func_connect=no
4867 rm -f core conftest.err conftest.$ac_objext \
4868 conftest$ac_exeext conftest.$ac_ext
4870 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4871 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4873 if test $ac_cv_func_connect = no; then
4874 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4875 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4876 if test "${ac_cv_lib_socket_connect+set}" = set; then
4877 echo $ECHO_N "(cached) $ECHO_C" >&6
4879 ac_check_lib_save_LIBS=$LIBS
4880 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4881 cat >conftest.$ac_ext <<_ACEOF
4884 cat confdefs.h >>conftest.$ac_ext
4885 cat >>conftest.$ac_ext <<_ACEOF
4886 /* end confdefs.h. */
4888 /* Override any GCC internal prototype to avoid an error.
4889 Use char because int might match the return type of a GCC
4890 builtin and then its argument prototype would still apply. */
4903 rm -f conftest.$ac_objext conftest$ac_exeext
4904 if { (ac_try="$ac_link"
4906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4907 *) ac_try_echo=$ac_try;;
4909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4910 (eval "$ac_link") 2>conftest.er1
4912 grep -v '^ *+' conftest.er1 >conftest.err
4914 cat conftest.err >&5
4915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4916 (exit $ac_status); } &&
4917 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4918 { (case "(($ac_try" in
4919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4920 *) ac_try_echo=$ac_try;;
4922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4923 (eval "$ac_try") 2>&5
4925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926 (exit $ac_status); }; } &&
4927 { ac_try='test -s conftest$ac_exeext'
4928 { (case "(($ac_try" in
4929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4930 *) ac_try_echo=$ac_try;;
4932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4933 (eval "$ac_try") 2>&5
4935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4936 (exit $ac_status); }; }; then
4937 ac_cv_lib_socket_connect=yes
4939 echo "$as_me: failed program was:" >&5
4940 sed 's/^/| /' conftest.$ac_ext >&5
4942 ac_cv_lib_socket_connect=no
4945 rm -f core conftest.err conftest.$ac_objext \
4946 conftest$ac_exeext conftest.$ac_ext
4947 LIBS=$ac_check_lib_save_LIBS
4949 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4950 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4951 if test $ac_cv_lib_socket_connect = yes; then
4952 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4957 # Guillermo Gomez says -lposix is necessary on A/UX.
4958 { echo "$as_me:$LINENO: checking for remove" >&5
4959 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4960 if test "${ac_cv_func_remove+set}" = set; then
4961 echo $ECHO_N "(cached) $ECHO_C" >&6
4963 cat >conftest.$ac_ext <<_ACEOF
4966 cat confdefs.h >>conftest.$ac_ext
4967 cat >>conftest.$ac_ext <<_ACEOF
4968 /* end confdefs.h. */
4969 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4971 #define remove innocuous_remove
4973 /* System header to define __stub macros and hopefully few prototypes,
4974 which can conflict with char remove (); below.
4975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4976 <limits.h> exists even on freestanding compilers. */
4979 # include <limits.h>
4981 # include <assert.h>
4986 /* Override any GCC internal prototype to avoid an error.
4987 Use char because int might match the return type of a GCC
4988 builtin and then its argument prototype would still apply. */
4993 /* The GNU C library defines this for functions which it implements
4994 to always fail with ENOSYS. Some functions are actually named
4995 something starting with __ and the normal name is an alias. */
4996 #if defined __stub_remove || defined __stub___remove
5008 rm -f conftest.$ac_objext conftest$ac_exeext
5009 if { (ac_try="$ac_link"
5011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5012 *) ac_try_echo=$ac_try;;
5014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5015 (eval "$ac_link") 2>conftest.er1
5017 grep -v '^ *+' conftest.er1 >conftest.err
5019 cat conftest.err >&5
5020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5021 (exit $ac_status); } &&
5022 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5023 { (case "(($ac_try" in
5024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5025 *) ac_try_echo=$ac_try;;
5027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5028 (eval "$ac_try") 2>&5
5030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5031 (exit $ac_status); }; } &&
5032 { ac_try='test -s conftest$ac_exeext'
5033 { (case "(($ac_try" in
5034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5035 *) ac_try_echo=$ac_try;;
5037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5038 (eval "$ac_try") 2>&5
5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5041 (exit $ac_status); }; }; then
5042 ac_cv_func_remove=yes
5044 echo "$as_me: failed program was:" >&5
5045 sed 's/^/| /' conftest.$ac_ext >&5
5047 ac_cv_func_remove=no
5050 rm -f core conftest.err conftest.$ac_objext \
5051 conftest$ac_exeext conftest.$ac_ext
5053 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5054 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
5056 if test $ac_cv_func_remove = no; then
5057 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5058 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
5059 if test "${ac_cv_lib_posix_remove+set}" = set; then
5060 echo $ECHO_N "(cached) $ECHO_C" >&6
5062 ac_check_lib_save_LIBS=$LIBS
5063 LIBS="-lposix $LIBS"
5064 cat >conftest.$ac_ext <<_ACEOF
5067 cat confdefs.h >>conftest.$ac_ext
5068 cat >>conftest.$ac_ext <<_ACEOF
5069 /* end confdefs.h. */
5071 /* Override any GCC internal prototype to avoid an error.
5072 Use char because int might match the return type of a GCC
5073 builtin and then its argument prototype would still apply. */
5086 rm -f conftest.$ac_objext conftest$ac_exeext
5087 if { (ac_try="$ac_link"
5089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5090 *) ac_try_echo=$ac_try;;
5092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5093 (eval "$ac_link") 2>conftest.er1
5095 grep -v '^ *+' conftest.er1 >conftest.err
5097 cat conftest.err >&5
5098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5099 (exit $ac_status); } &&
5100 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5101 { (case "(($ac_try" in
5102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5103 *) ac_try_echo=$ac_try;;
5105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5106 (eval "$ac_try") 2>&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); }; } &&
5110 { ac_try='test -s conftest$ac_exeext'
5111 { (case "(($ac_try" in
5112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5113 *) ac_try_echo=$ac_try;;
5115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5116 (eval "$ac_try") 2>&5
5118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5119 (exit $ac_status); }; }; then
5120 ac_cv_lib_posix_remove=yes
5122 echo "$as_me: failed program was:" >&5
5123 sed 's/^/| /' conftest.$ac_ext >&5
5125 ac_cv_lib_posix_remove=no
5128 rm -f core conftest.err conftest.$ac_objext \
5129 conftest$ac_exeext conftest.$ac_ext
5130 LIBS=$ac_check_lib_save_LIBS
5132 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5133 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5134 if test $ac_cv_lib_posix_remove = yes; then
5135 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5140 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5141 { echo "$as_me:$LINENO: checking for shmat" >&5
5142 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5143 if test "${ac_cv_func_shmat+set}" = set; then
5144 echo $ECHO_N "(cached) $ECHO_C" >&6
5146 cat >conftest.$ac_ext <<_ACEOF
5149 cat confdefs.h >>conftest.$ac_ext
5150 cat >>conftest.$ac_ext <<_ACEOF
5151 /* end confdefs.h. */
5152 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5154 #define shmat innocuous_shmat
5156 /* System header to define __stub macros and hopefully few prototypes,
5157 which can conflict with char shmat (); below.
5158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5159 <limits.h> exists even on freestanding compilers. */
5162 # include <limits.h>
5164 # include <assert.h>
5169 /* Override any GCC internal prototype to avoid an error.
5170 Use char because int might match the return type of a GCC
5171 builtin and then its argument prototype would still apply. */
5176 /* The GNU C library defines this for functions which it implements
5177 to always fail with ENOSYS. Some functions are actually named
5178 something starting with __ and the normal name is an alias. */
5179 #if defined __stub_shmat || defined __stub___shmat
5191 rm -f conftest.$ac_objext conftest$ac_exeext
5192 if { (ac_try="$ac_link"
5194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5195 *) ac_try_echo=$ac_try;;
5197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5198 (eval "$ac_link") 2>conftest.er1
5200 grep -v '^ *+' conftest.er1 >conftest.err
5202 cat conftest.err >&5
5203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5204 (exit $ac_status); } &&
5205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5206 { (case "(($ac_try" in
5207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5208 *) ac_try_echo=$ac_try;;
5210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5211 (eval "$ac_try") 2>&5
5213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5214 (exit $ac_status); }; } &&
5215 { ac_try='test -s conftest$ac_exeext'
5216 { (case "(($ac_try" in
5217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5218 *) ac_try_echo=$ac_try;;
5220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5221 (eval "$ac_try") 2>&5
5223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5224 (exit $ac_status); }; }; then
5225 ac_cv_func_shmat=yes
5227 echo "$as_me: failed program was:" >&5
5228 sed 's/^/| /' conftest.$ac_ext >&5
5233 rm -f core conftest.err conftest.$ac_objext \
5234 conftest$ac_exeext conftest.$ac_ext
5236 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5237 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5239 if test $ac_cv_func_shmat = no; then
5240 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5241 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5242 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5243 echo $ECHO_N "(cached) $ECHO_C" >&6
5245 ac_check_lib_save_LIBS=$LIBS
5247 cat >conftest.$ac_ext <<_ACEOF
5250 cat confdefs.h >>conftest.$ac_ext
5251 cat >>conftest.$ac_ext <<_ACEOF
5252 /* end confdefs.h. */
5254 /* Override any GCC internal prototype to avoid an error.
5255 Use char because int might match the return type of a GCC
5256 builtin and then its argument prototype would still apply. */
5269 rm -f conftest.$ac_objext conftest$ac_exeext
5270 if { (ac_try="$ac_link"
5272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5273 *) ac_try_echo=$ac_try;;
5275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5276 (eval "$ac_link") 2>conftest.er1
5278 grep -v '^ *+' conftest.er1 >conftest.err
5280 cat conftest.err >&5
5281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282 (exit $ac_status); } &&
5283 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5284 { (case "(($ac_try" in
5285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5286 *) ac_try_echo=$ac_try;;
5288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5289 (eval "$ac_try") 2>&5
5291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5292 (exit $ac_status); }; } &&
5293 { ac_try='test -s conftest$ac_exeext'
5294 { (case "(($ac_try" in
5295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5296 *) ac_try_echo=$ac_try;;
5298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5299 (eval "$ac_try") 2>&5
5301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5302 (exit $ac_status); }; }; then
5303 ac_cv_lib_ipc_shmat=yes
5305 echo "$as_me: failed program was:" >&5
5306 sed 's/^/| /' conftest.$ac_ext >&5
5308 ac_cv_lib_ipc_shmat=no
5311 rm -f core conftest.err conftest.$ac_objext \
5312 conftest$ac_exeext conftest.$ac_ext
5313 LIBS=$ac_check_lib_save_LIBS
5315 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5316 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5317 if test $ac_cv_lib_ipc_shmat = yes; then
5318 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5324 # Check for libraries that X11R6 Xt/Xaw programs need.
5325 ac_save_LDFLAGS=$LDFLAGS
5326 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5327 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5328 # check for ICE first), but we must link in the order -lSM -lICE or
5329 # we get undefined symbols. So assume we have SM if we have ICE.
5330 # These have to be linked with before -lX11, unlike the other
5331 # libraries we check for below, so use a different variable.
5332 # John Interrante, Karl Berry
5333 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5334 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5335 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5336 echo $ECHO_N "(cached) $ECHO_C" >&6
5338 ac_check_lib_save_LIBS=$LIBS
5339 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5340 cat >conftest.$ac_ext <<_ACEOF
5343 cat confdefs.h >>conftest.$ac_ext
5344 cat >>conftest.$ac_ext <<_ACEOF
5345 /* end confdefs.h. */
5347 /* Override any GCC internal prototype to avoid an error.
5348 Use char because int might match the return type of a GCC
5349 builtin and then its argument prototype would still apply. */
5353 char IceConnectionNumber ();
5357 return IceConnectionNumber ();
5362 rm -f conftest.$ac_objext conftest$ac_exeext
5363 if { (ac_try="$ac_link"
5365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5366 *) ac_try_echo=$ac_try;;
5368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5369 (eval "$ac_link") 2>conftest.er1
5371 grep -v '^ *+' conftest.er1 >conftest.err
5373 cat conftest.err >&5
5374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5375 (exit $ac_status); } &&
5376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5377 { (case "(($ac_try" in
5378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5379 *) ac_try_echo=$ac_try;;
5381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5382 (eval "$ac_try") 2>&5
5384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5385 (exit $ac_status); }; } &&
5386 { ac_try='test -s conftest$ac_exeext'
5387 { (case "(($ac_try" in
5388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5389 *) ac_try_echo=$ac_try;;
5391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5392 (eval "$ac_try") 2>&5
5394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5395 (exit $ac_status); }; }; then
5396 ac_cv_lib_ICE_IceConnectionNumber=yes
5398 echo "$as_me: failed program was:" >&5
5399 sed 's/^/| /' conftest.$ac_ext >&5
5401 ac_cv_lib_ICE_IceConnectionNumber=no
5404 rm -f core conftest.err conftest.$ac_objext \
5405 conftest$ac_exeext conftest.$ac_ext
5406 LIBS=$ac_check_lib_save_LIBS
5408 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5409 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5410 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5411 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5414 LDFLAGS=$ac_save_LDFLAGS
5418 for ac_prog in flex lex
5420 # Extract the first word of "$ac_prog", so it can be a program name with args.
5421 set dummy $ac_prog; ac_word=$2
5422 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5424 if test "${ac_cv_prog_LEX+set}" = set; then
5425 echo $ECHO_N "(cached) $ECHO_C" >&6
5427 if test -n "$LEX"; then
5428 ac_cv_prog_LEX="$LEX" # Let the user override the test.
5430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5434 test -z "$as_dir" && as_dir=.
5435 for ac_exec_ext in '' $ac_executable_extensions; do
5436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5437 ac_cv_prog_LEX="$ac_prog"
5438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5448 if test -n "$LEX"; then
5449 { echo "$as_me:$LINENO: result: $LEX" >&5
5450 echo "${ECHO_T}$LEX" >&6; }
5452 { echo "$as_me:$LINENO: result: no" >&5
5453 echo "${ECHO_T}no" >&6; }
5457 test -n "$LEX" && break
5459 test -n "$LEX" || LEX=":"
5461 if test -z "$LEXLIB"
5463 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5464 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
5465 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5466 echo $ECHO_N "(cached) $ECHO_C" >&6
5468 ac_check_lib_save_LIBS=$LIBS
5470 cat >conftest.$ac_ext <<_ACEOF
5473 cat confdefs.h >>conftest.$ac_ext
5474 cat >>conftest.$ac_ext <<_ACEOF
5475 /* end confdefs.h. */
5477 /* Override any GCC internal prototype to avoid an error.
5478 Use char because int might match the return type of a GCC
5479 builtin and then its argument prototype would still apply. */
5492 rm -f conftest.$ac_objext conftest$ac_exeext
5493 if { (ac_try="$ac_link"
5495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5496 *) ac_try_echo=$ac_try;;
5498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5499 (eval "$ac_link") 2>conftest.er1
5501 grep -v '^ *+' conftest.er1 >conftest.err
5503 cat conftest.err >&5
5504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5505 (exit $ac_status); } &&
5506 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5507 { (case "(($ac_try" in
5508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5509 *) ac_try_echo=$ac_try;;
5511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5512 (eval "$ac_try") 2>&5
5514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5515 (exit $ac_status); }; } &&
5516 { ac_try='test -s conftest$ac_exeext'
5517 { (case "(($ac_try" in
5518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5519 *) ac_try_echo=$ac_try;;
5521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5522 (eval "$ac_try") 2>&5
5524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5525 (exit $ac_status); }; }; then
5526 ac_cv_lib_fl_yywrap=yes
5528 echo "$as_me: failed program was:" >&5
5529 sed 's/^/| /' conftest.$ac_ext >&5
5531 ac_cv_lib_fl_yywrap=no
5534 rm -f core conftest.err conftest.$ac_objext \
5535 conftest$ac_exeext conftest.$ac_ext
5536 LIBS=$ac_check_lib_save_LIBS
5538 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5539 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
5540 if test $ac_cv_lib_fl_yywrap = yes; then
5543 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5544 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
5545 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5546 echo $ECHO_N "(cached) $ECHO_C" >&6
5548 ac_check_lib_save_LIBS=$LIBS
5550 cat >conftest.$ac_ext <<_ACEOF
5553 cat confdefs.h >>conftest.$ac_ext
5554 cat >>conftest.$ac_ext <<_ACEOF
5555 /* end confdefs.h. */
5557 /* Override any GCC internal prototype to avoid an error.
5558 Use char because int might match the return type of a GCC
5559 builtin and then its argument prototype would still apply. */
5572 rm -f conftest.$ac_objext conftest$ac_exeext
5573 if { (ac_try="$ac_link"
5575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5576 *) ac_try_echo=$ac_try;;
5578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5579 (eval "$ac_link") 2>conftest.er1
5581 grep -v '^ *+' conftest.er1 >conftest.err
5583 cat conftest.err >&5
5584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5585 (exit $ac_status); } &&
5586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5587 { (case "(($ac_try" in
5588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5589 *) ac_try_echo=$ac_try;;
5591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5592 (eval "$ac_try") 2>&5
5594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5595 (exit $ac_status); }; } &&
5596 { ac_try='test -s conftest$ac_exeext'
5597 { (case "(($ac_try" in
5598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5599 *) ac_try_echo=$ac_try;;
5601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5602 (eval "$ac_try") 2>&5
5604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605 (exit $ac_status); }; }; then
5606 ac_cv_lib_l_yywrap=yes
5608 echo "$as_me: failed program was:" >&5
5609 sed 's/^/| /' conftest.$ac_ext >&5
5611 ac_cv_lib_l_yywrap=no
5614 rm -f core conftest.err conftest.$ac_objext \
5615 conftest$ac_exeext conftest.$ac_ext
5616 LIBS=$ac_check_lib_save_LIBS
5618 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5619 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
5620 if test $ac_cv_lib_l_yywrap = yes; then
5628 if test "x$LEX" != "x:"; then
5629 { echo "$as_me:$LINENO: checking lex output file root" >&5
5630 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5631 if test "${ac_cv_prog_lex_root+set}" = set; then
5632 echo $ECHO_N "(cached) $ECHO_C" >&6
5634 # The minimal lex program is just a single line: %%. But some broken lexes
5635 # (Solaris, I think it was) want two %% lines, so accommodate them.
5636 cat >conftest.l <<_ACEOF
5640 { (ac_try="$LEX conftest.l"
5642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5643 *) ac_try_echo=$ac_try;;
5645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5646 (eval "$LEX conftest.l") 2>&5
5648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5649 (exit $ac_status); }
5650 if test -f lex.yy.c; then
5651 ac_cv_prog_lex_root=lex.yy
5652 elif test -f lexyy.c; then
5653 ac_cv_prog_lex_root=lexyy
5655 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5656 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5657 { (exit 1); exit 1; }; }
5660 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5661 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5663 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5665 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5666 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5667 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5668 echo $ECHO_N "(cached) $ECHO_C" >&6
5670 # POSIX says lex can declare yytext either as a pointer or an array; the
5671 # default is implementation-dependent. Figure out which it is, since
5672 # not all implementations provide the %pointer and %array declarations.
5673 ac_cv_prog_lex_yytext_pointer=no
5674 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5676 LIBS="$LIBS $LEXLIB"
5677 cat >conftest.$ac_ext <<_ACEOF
5678 `cat $LEX_OUTPUT_ROOT.c`
5680 rm -f conftest.$ac_objext conftest$ac_exeext
5681 if { (ac_try="$ac_link"
5683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5684 *) ac_try_echo=$ac_try;;
5686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5687 (eval "$ac_link") 2>conftest.er1
5689 grep -v '^ *+' conftest.er1 >conftest.err
5691 cat conftest.err >&5
5692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5693 (exit $ac_status); } &&
5694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5695 { (case "(($ac_try" in
5696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5697 *) ac_try_echo=$ac_try;;
5699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5700 (eval "$ac_try") 2>&5
5702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5703 (exit $ac_status); }; } &&
5704 { ac_try='test -s conftest$ac_exeext'
5705 { (case "(($ac_try" in
5706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5707 *) ac_try_echo=$ac_try;;
5709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5710 (eval "$ac_try") 2>&5
5712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5713 (exit $ac_status); }; }; then
5714 ac_cv_prog_lex_yytext_pointer=yes
5716 echo "$as_me: failed program was:" >&5
5717 sed 's/^/| /' conftest.$ac_ext >&5
5722 rm -f core conftest.err conftest.$ac_objext \
5723 conftest$ac_exeext conftest.$ac_ext
5725 rm -f "${LEX_OUTPUT_ROOT}.c"
5728 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5729 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5730 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5732 cat >>confdefs.h <<\_ACEOF
5733 #define YYTEXT_POINTER 1
5740 for ac_prog in $LEX flex lex
5742 # Extract the first word of "$ac_prog", so it can be a program name with args.
5743 set dummy $ac_prog; ac_word=$2
5744 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5746 if test "${ac_cv_prog_XLEX+set}" = set; then
5747 echo $ECHO_N "(cached) $ECHO_C" >&6
5749 if test -n "$XLEX"; then
5750 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
5752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5756 test -z "$as_dir" && as_dir=.
5757 for ac_exec_ext in '' $ac_executable_extensions; do
5758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5759 ac_cv_prog_XLEX="$ac_prog"
5760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5769 XLEX=$ac_cv_prog_XLEX
5770 if test -n "$XLEX"; then
5771 { echo "$as_me:$LINENO: result: $XLEX" >&5
5772 echo "${ECHO_T}$XLEX" >&6; }
5774 { echo "$as_me:$LINENO: result: no" >&5
5775 echo "${ECHO_T}no" >&6; }
5779 test -n "$XLEX" && break
5781 test -n "$XLEX" || XLEX="none"
5783 if test "$XLEX" = "none"
5785 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5786 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5787 { (exit 1); exit 1; }; }
5790 for ac_prog in bison
5792 # Extract the first word of "$ac_prog", so it can be a program name with args.
5793 set dummy $ac_prog; ac_word=$2
5794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5796 if test "${ac_cv_prog_BISON+set}" = set; then
5797 echo $ECHO_N "(cached) $ECHO_C" >&6
5799 if test -n "$BISON"; then
5800 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5806 test -z "$as_dir" && as_dir=.
5807 for ac_exec_ext in '' $ac_executable_extensions; do
5808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5809 ac_cv_prog_BISON="$ac_prog"
5810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5819 BISON=$ac_cv_prog_BISON
5820 if test -n "$BISON"; then
5821 { echo "$as_me:$LINENO: result: $BISON" >&5
5822 echo "${ECHO_T}$BISON" >&6; }
5824 { echo "$as_me:$LINENO: result: no" >&5
5825 echo "${ECHO_T}no" >&6; }
5829 test -n "$BISON" && break
5831 test -n "$BISON" || BISON="none"
5833 if test "$BISON" = "none"
5835 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5836 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5837 { (exit 1); exit 1; }; }
5840 if test -n "$ac_tool_prefix"; then
5841 for ac_prog in gas as
5843 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5844 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5845 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5847 if test "${ac_cv_prog_AS+set}" = set; then
5848 echo $ECHO_N "(cached) $ECHO_C" >&6
5850 if test -n "$AS"; then
5851 ac_cv_prog_AS="$AS" # Let the user override the test.
5853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5857 test -z "$as_dir" && as_dir=.
5858 for ac_exec_ext in '' $ac_executable_extensions; do
5859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5860 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5871 if test -n "$AS"; then
5872 { echo "$as_me:$LINENO: result: $AS" >&5
5873 echo "${ECHO_T}$AS" >&6; }
5875 { echo "$as_me:$LINENO: result: no" >&5
5876 echo "${ECHO_T}no" >&6; }
5880 test -n "$AS" && break
5883 if test -z "$AS"; then
5885 for ac_prog in gas as
5887 # Extract the first word of "$ac_prog", so it can be a program name with args.
5888 set dummy $ac_prog; ac_word=$2
5889 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5891 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5892 echo $ECHO_N "(cached) $ECHO_C" >&6
5894 if test -n "$ac_ct_AS"; then
5895 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5901 test -z "$as_dir" && as_dir=.
5902 for ac_exec_ext in '' $ac_executable_extensions; do
5903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5904 ac_cv_prog_ac_ct_AS="$ac_prog"
5905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5914 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5915 if test -n "$ac_ct_AS"; then
5916 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5917 echo "${ECHO_T}$ac_ct_AS" >&6; }
5919 { echo "$as_me:$LINENO: result: no" >&5
5920 echo "${ECHO_T}no" >&6; }
5924 test -n "$ac_ct_AS" && break
5927 if test "x$ac_ct_AS" = x; then
5930 case $cross_compiling:$ac_tool_warned in
5932 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5933 whose name does not start with the host triplet. If you think this
5934 configuration is useful to you, please write to autoconf@gnu.org." >&5
5935 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5936 whose name does not start with the host triplet. If you think this
5937 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5938 ac_tool_warned=yes ;;
5944 if test -n "$ac_tool_prefix"; then
5945 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5946 set dummy ${ac_tool_prefix}ld; ac_word=$2
5947 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5949 if test "${ac_cv_prog_LD+set}" = set; then
5950 echo $ECHO_N "(cached) $ECHO_C" >&6
5952 if test -n "$LD"; then
5953 ac_cv_prog_LD="$LD" # Let the user override the test.
5955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5959 test -z "$as_dir" && as_dir=.
5960 for ac_exec_ext in '' $ac_executable_extensions; do
5961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5962 ac_cv_prog_LD="${ac_tool_prefix}ld"
5963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5973 if test -n "$LD"; then
5974 { echo "$as_me:$LINENO: result: $LD" >&5
5975 echo "${ECHO_T}$LD" >&6; }
5977 { echo "$as_me:$LINENO: result: no" >&5
5978 echo "${ECHO_T}no" >&6; }
5983 if test -z "$ac_cv_prog_LD"; then
5985 # Extract the first word of "ld", so it can be a program name with args.
5986 set dummy ld; ac_word=$2
5987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5989 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5990 echo $ECHO_N "(cached) $ECHO_C" >&6
5992 if test -n "$ac_ct_LD"; then
5993 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5999 test -z "$as_dir" && as_dir=.
6000 for ac_exec_ext in '' $ac_executable_extensions; do
6001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6002 ac_cv_prog_ac_ct_LD="ld"
6003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6012 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6013 if test -n "$ac_ct_LD"; then
6014 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
6015 echo "${ECHO_T}$ac_ct_LD" >&6; }
6017 { echo "$as_me:$LINENO: result: no" >&5
6018 echo "${ECHO_T}no" >&6; }
6021 if test "x$ac_ct_LD" = x; then
6024 case $cross_compiling:$ac_tool_warned in
6026 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6027 whose name does not start with the host triplet. If you think this
6028 configuration is useful to you, please write to autoconf@gnu.org." >&5
6029 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6030 whose name does not start with the host triplet. If you think this
6031 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6032 ac_tool_warned=yes ;;
6040 if test -n "$ac_tool_prefix"; then
6041 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6042 set dummy ${ac_tool_prefix}ar; ac_word=$2
6043 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6045 if test "${ac_cv_prog_AR+set}" = set; then
6046 echo $ECHO_N "(cached) $ECHO_C" >&6
6048 if test -n "$AR"; then
6049 ac_cv_prog_AR="$AR" # Let the user override the test.
6051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6055 test -z "$as_dir" && as_dir=.
6056 for ac_exec_ext in '' $ac_executable_extensions; do
6057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6058 ac_cv_prog_AR="${ac_tool_prefix}ar"
6059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6069 if test -n "$AR"; then
6070 { echo "$as_me:$LINENO: result: $AR" >&5
6071 echo "${ECHO_T}$AR" >&6; }
6073 { echo "$as_me:$LINENO: result: no" >&5
6074 echo "${ECHO_T}no" >&6; }
6079 if test -z "$ac_cv_prog_AR"; then
6081 # Extract the first word of "ar", so it can be a program name with args.
6082 set dummy ar; ac_word=$2
6083 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6085 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6086 echo $ECHO_N "(cached) $ECHO_C" >&6
6088 if test -n "$ac_ct_AR"; then
6089 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6095 test -z "$as_dir" && as_dir=.
6096 for ac_exec_ext in '' $ac_executable_extensions; do
6097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6098 ac_cv_prog_ac_ct_AR="ar"
6099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6108 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6109 if test -n "$ac_ct_AR"; then
6110 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6111 echo "${ECHO_T}$ac_ct_AR" >&6; }
6113 { echo "$as_me:$LINENO: result: no" >&5
6114 echo "${ECHO_T}no" >&6; }
6117 if test "x$ac_ct_AR" = x; then
6120 case $cross_compiling:$ac_tool_warned in
6122 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6123 whose name does not start with the host triplet. If you think this
6124 configuration is useful to you, please write to autoconf@gnu.org." >&5
6125 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6126 whose name does not start with the host triplet. If you think this
6127 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6128 ac_tool_warned=yes ;;
6136 if test -n "$ac_tool_prefix"; then
6137 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6138 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6139 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6141 if test "${ac_cv_prog_RANLIB+set}" = set; then
6142 echo $ECHO_N "(cached) $ECHO_C" >&6
6144 if test -n "$RANLIB"; then
6145 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6151 test -z "$as_dir" && as_dir=.
6152 for ac_exec_ext in '' $ac_executable_extensions; do
6153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6154 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6164 RANLIB=$ac_cv_prog_RANLIB
6165 if test -n "$RANLIB"; then
6166 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6167 echo "${ECHO_T}$RANLIB" >&6; }
6169 { echo "$as_me:$LINENO: result: no" >&5
6170 echo "${ECHO_T}no" >&6; }
6175 if test -z "$ac_cv_prog_RANLIB"; then
6176 ac_ct_RANLIB=$RANLIB
6177 # Extract the first word of "ranlib", so it can be a program name with args.
6178 set dummy ranlib; ac_word=$2
6179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6181 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6182 echo $ECHO_N "(cached) $ECHO_C" >&6
6184 if test -n "$ac_ct_RANLIB"; then
6185 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6191 test -z "$as_dir" && as_dir=.
6192 for ac_exec_ext in '' $ac_executable_extensions; do
6193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6194 ac_cv_prog_ac_ct_RANLIB="ranlib"
6195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6204 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6205 if test -n "$ac_ct_RANLIB"; then
6206 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6207 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6209 { echo "$as_me:$LINENO: result: no" >&5
6210 echo "${ECHO_T}no" >&6; }
6213 if test "x$ac_ct_RANLIB" = x; then
6216 case $cross_compiling:$ac_tool_warned in
6218 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6219 whose name does not start with the host triplet. If you think this
6220 configuration is useful to you, please write to autoconf@gnu.org." >&5
6221 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6222 whose name does not start with the host triplet. If you think this
6223 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6224 ac_tool_warned=yes ;;
6226 RANLIB=$ac_ct_RANLIB
6229 RANLIB="$ac_cv_prog_RANLIB"
6232 if test -n "$ac_tool_prefix"; then
6233 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6234 set dummy ${ac_tool_prefix}strip; ac_word=$2
6235 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6237 if test "${ac_cv_prog_STRIP+set}" = set; then
6238 echo $ECHO_N "(cached) $ECHO_C" >&6
6240 if test -n "$STRIP"; then
6241 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6247 test -z "$as_dir" && as_dir=.
6248 for ac_exec_ext in '' $ac_executable_extensions; do
6249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6250 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6260 STRIP=$ac_cv_prog_STRIP
6261 if test -n "$STRIP"; then
6262 { echo "$as_me:$LINENO: result: $STRIP" >&5
6263 echo "${ECHO_T}$STRIP" >&6; }
6265 { echo "$as_me:$LINENO: result: no" >&5
6266 echo "${ECHO_T}no" >&6; }
6271 if test -z "$ac_cv_prog_STRIP"; then
6273 # Extract the first word of "strip", so it can be a program name with args.
6274 set dummy strip; ac_word=$2
6275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6277 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6278 echo $ECHO_N "(cached) $ECHO_C" >&6
6280 if test -n "$ac_ct_STRIP"; then
6281 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6287 test -z "$as_dir" && as_dir=.
6288 for ac_exec_ext in '' $ac_executable_extensions; do
6289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6290 ac_cv_prog_ac_ct_STRIP="strip"
6291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6300 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6301 if test -n "$ac_ct_STRIP"; then
6302 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6303 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6305 { echo "$as_me:$LINENO: result: no" >&5
6306 echo "${ECHO_T}no" >&6; }
6309 if test "x$ac_ct_STRIP" = x; then
6312 case $cross_compiling:$ac_tool_warned in
6314 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6315 whose name does not start with the host triplet. If you think this
6316 configuration is useful to you, please write to autoconf@gnu.org." >&5
6317 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6318 whose name does not start with the host triplet. If you think this
6319 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6320 ac_tool_warned=yes ;;
6325 STRIP="$ac_cv_prog_STRIP"
6328 if test -n "$ac_tool_prefix"; then
6329 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
6330 set dummy ${ac_tool_prefix}windres; ac_word=$2
6331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6333 if test "${ac_cv_prog_WINDRES+set}" = set; then
6334 echo $ECHO_N "(cached) $ECHO_C" >&6
6336 if test -n "$WINDRES"; then
6337 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
6339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6343 test -z "$as_dir" && as_dir=.
6344 for ac_exec_ext in '' $ac_executable_extensions; do
6345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6346 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
6347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6356 WINDRES=$ac_cv_prog_WINDRES
6357 if test -n "$WINDRES"; then
6358 { echo "$as_me:$LINENO: result: $WINDRES" >&5
6359 echo "${ECHO_T}$WINDRES" >&6; }
6361 { echo "$as_me:$LINENO: result: no" >&5
6362 echo "${ECHO_T}no" >&6; }
6367 if test -z "$ac_cv_prog_WINDRES"; then
6368 ac_ct_WINDRES=$WINDRES
6369 # Extract the first word of "windres", so it can be a program name with args.
6370 set dummy windres; ac_word=$2
6371 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6373 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6374 echo $ECHO_N "(cached) $ECHO_C" >&6
6376 if test -n "$ac_ct_WINDRES"; then
6377 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
6379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6383 test -z "$as_dir" && as_dir=.
6384 for ac_exec_ext in '' $ac_executable_extensions; do
6385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6386 ac_cv_prog_ac_ct_WINDRES="windres"
6387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6396 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
6397 if test -n "$ac_ct_WINDRES"; then
6398 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6399 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6401 { echo "$as_me:$LINENO: result: no" >&5
6402 echo "${ECHO_T}no" >&6; }
6405 if test "x$ac_ct_WINDRES" = x; then
6408 case $cross_compiling:$ac_tool_warned in
6410 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6411 whose name does not start with the host triplet. If you think this
6412 configuration is useful to you, please write to autoconf@gnu.org." >&5
6413 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6414 whose name does not start with the host triplet. If you think this
6415 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6416 ac_tool_warned=yes ;;
6418 WINDRES=$ac_ct_WINDRES
6421 WINDRES="$ac_cv_prog_WINDRES"
6424 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6425 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6427 if test "$LN_S" = "ln -s"; then
6428 { echo "$as_me:$LINENO: result: yes" >&5
6429 echo "${ECHO_T}yes" >&6; }
6431 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6432 echo "${ECHO_T}no, using $LN_S" >&6; }
6435 { echo "$as_me:$LINENO: checking whether ln works" >&5
6436 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6437 rm -f conf$$ conf$$.file
6439 if ln conf$$.file conf$$ 2>/dev/null; then
6442 { echo "$as_me:$LINENO: result: yes" >&5
6443 echo "${ECHO_T}yes" >&6; }
6447 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6448 echo "${ECHO_T}no, using $LN" >&6; }
6450 rm -f conf$$ conf$$.file
6451 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6452 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6453 if test "${ac_cv_path_GREP+set}" = set; then
6454 echo $ECHO_N "(cached) $ECHO_C" >&6
6456 # Extract the first word of "grep ggrep" to use in msg output
6457 if test -z "$GREP"; then
6458 set dummy grep ggrep; ac_prog_name=$2
6459 if test "${ac_cv_path_GREP+set}" = set; then
6460 echo $ECHO_N "(cached) $ECHO_C" >&6
6462 ac_path_GREP_found=false
6463 # Loop through the user's path and test for each of PROGNAME-LIST
6464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6465 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6468 test -z "$as_dir" && as_dir=.
6469 for ac_prog in grep ggrep; do
6470 for ac_exec_ext in '' $ac_executable_extensions; do
6471 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6472 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
6473 # Check for GNU ac_path_GREP and select it if it is found.
6474 # Check for GNU $ac_path_GREP
6475 case `"$ac_path_GREP" --version 2>&1` in
6477 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6480 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6483 cat "conftest.in" "conftest.in" >"conftest.tmp"
6484 mv "conftest.tmp" "conftest.in"
6485 cp "conftest.in" "conftest.nl"
6486 echo 'GREP' >> "conftest.nl"
6487 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6488 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6489 ac_count=`expr $ac_count + 1`
6490 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6491 # Best one so far, save it but keep looking for a better one
6492 ac_cv_path_GREP="$ac_path_GREP"
6493 ac_path_GREP_max=$ac_count
6495 # 10*(2^10) chars as input seems more than enough
6496 test $ac_count -gt 10 && break
6498 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6502 $ac_path_GREP_found && break 3
6512 GREP="$ac_cv_path_GREP"
6513 if test -z "$GREP"; then
6514 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6515 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6516 { (exit 1); exit 1; }; }
6520 ac_cv_path_GREP=$GREP
6525 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6526 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6527 GREP="$ac_cv_path_GREP"
6530 { echo "$as_me:$LINENO: checking for egrep" >&5
6531 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6532 if test "${ac_cv_path_EGREP+set}" = set; then
6533 echo $ECHO_N "(cached) $ECHO_C" >&6
6535 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6536 then ac_cv_path_EGREP="$GREP -E"
6538 # Extract the first word of "egrep" to use in msg output
6539 if test -z "$EGREP"; then
6540 set dummy egrep; ac_prog_name=$2
6541 if test "${ac_cv_path_EGREP+set}" = set; then
6542 echo $ECHO_N "(cached) $ECHO_C" >&6
6544 ac_path_EGREP_found=false
6545 # Loop through the user's path and test for each of PROGNAME-LIST
6546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6547 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6550 test -z "$as_dir" && as_dir=.
6551 for ac_prog in egrep; do
6552 for ac_exec_ext in '' $ac_executable_extensions; do
6553 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6554 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
6555 # Check for GNU ac_path_EGREP and select it if it is found.
6556 # Check for GNU $ac_path_EGREP
6557 case `"$ac_path_EGREP" --version 2>&1` in
6559 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6562 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6565 cat "conftest.in" "conftest.in" >"conftest.tmp"
6566 mv "conftest.tmp" "conftest.in"
6567 cp "conftest.in" "conftest.nl"
6568 echo 'EGREP' >> "conftest.nl"
6569 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6570 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6571 ac_count=`expr $ac_count + 1`
6572 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6573 # Best one so far, save it but keep looking for a better one
6574 ac_cv_path_EGREP="$ac_path_EGREP"
6575 ac_path_EGREP_max=$ac_count
6577 # 10*(2^10) chars as input seems more than enough
6578 test $ac_count -gt 10 && break
6580 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6584 $ac_path_EGREP_found && break 3
6594 EGREP="$ac_cv_path_EGREP"
6595 if test -z "$EGREP"; then
6596 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6597 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6598 { (exit 1); exit 1; }; }
6602 ac_cv_path_EGREP=$EGREP
6608 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6609 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6610 EGREP="$ac_cv_path_EGREP"
6613 # Extract the first word of "ldconfig", so it can be a program name with args.
6614 set dummy ldconfig; ac_word=$2
6615 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6617 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6618 echo $ECHO_N "(cached) $ECHO_C" >&6
6622 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6626 for as_dir in /sbin /usr/sbin $PATH
6629 test -z "$as_dir" && as_dir=.
6630 for ac_exec_ext in '' $ac_executable_extensions; do
6631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6632 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6640 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6644 LDCONFIG=$ac_cv_path_LDCONFIG
6645 if test -n "$LDCONFIG"; then
6646 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6647 echo "${ECHO_T}$LDCONFIG" >&6; }
6649 { echo "$as_me:$LINENO: result: no" >&5
6650 echo "${ECHO_T}no" >&6; }
6654 # Find a good install program. We prefer a C program (faster),
6655 # so one script is as good as another. But avoid the broken or
6656 # incompatible versions:
6657 # SysV /etc/install, /usr/sbin/install
6658 # SunOS /usr/etc/install
6659 # IRIX /sbin/install
6661 # AmigaOS /C/install, which installs bootblocks on floppy discs
6662 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6663 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6664 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6665 # OS/2's system install, which has a completely different semantic
6666 # ./install, which can be erroneously created by make from ./install.sh.
6667 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6668 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6669 if test -z "$INSTALL"; then
6670 if test "${ac_cv_path_install+set}" = set; then
6671 echo $ECHO_N "(cached) $ECHO_C" >&6
6673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6677 test -z "$as_dir" && as_dir=.
6678 # Account for people who put trailing slashes in PATH elements.
6680 ./ | .// | /cC/* | \
6681 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6682 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6685 # OSF1 and SCO ODT 3.0 have their own names for install.
6686 # Don't use installbsd from OSF since it installs stuff as root
6688 for ac_prog in ginstall scoinst install; do
6689 for ac_exec_ext in '' $ac_executable_extensions; do
6690 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6691 if test $ac_prog = install &&
6692 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6693 # AIX install. It has an incompatible calling convention.
6695 elif test $ac_prog = install &&
6696 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6697 # program-specific install script used by HP pwplus--don't use.
6700 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6713 if test "${ac_cv_path_install+set}" = set; then
6714 INSTALL=$ac_cv_path_install
6716 # As a last resort, use the slow shell script. Don't cache a
6717 # value for INSTALL within a source directory, because that will
6718 # break other packages using the cache if that directory is
6719 # removed, or if the value is a relative name.
6720 INSTALL=$ac_install_sh
6723 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6724 echo "${ECHO_T}$INSTALL" >&6; }
6726 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6727 # It thinks the first close brace ends the variable substitution.
6728 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6730 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6732 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6735 [\\/$]* | ?:[\\/]* ) ;;
6736 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6739 for ac_prog in lclint lint
6741 # Extract the first word of "$ac_prog", so it can be a program name with args.
6742 set dummy $ac_prog; ac_word=$2
6743 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6745 if test "${ac_cv_prog_LINT+set}" = set; then
6746 echo $ECHO_N "(cached) $ECHO_C" >&6
6748 if test -n "$LINT"; then
6749 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6755 test -z "$as_dir" && as_dir=.
6756 for ac_exec_ext in '' $ac_executable_extensions; do
6757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6758 ac_cv_prog_LINT="$ac_prog"
6759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6768 LINT=$ac_cv_prog_LINT
6769 if test -n "$LINT"; then
6770 { echo "$as_me:$LINENO: result: $LINT" >&5
6771 echo "${ECHO_T}$LINT" >&6; }
6773 { echo "$as_me:$LINENO: result: no" >&5
6774 echo "${ECHO_T}no" >&6; }
6778 test -n "$LINT" && break
6781 if test "$LINT" = "lint"
6783 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6788 for ac_prog in fontforge
6790 # Extract the first word of "$ac_prog", so it can be a program name with args.
6791 set dummy $ac_prog; ac_word=$2
6792 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6794 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6795 echo $ECHO_N "(cached) $ECHO_C" >&6
6797 if test -n "$FONTFORGE"; then
6798 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6804 test -z "$as_dir" && as_dir=.
6805 for ac_exec_ext in '' $ac_executable_extensions; do
6806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6807 ac_cv_prog_FONTFORGE="$ac_prog"
6808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6817 FONTFORGE=$ac_cv_prog_FONTFORGE
6818 if test -n "$FONTFORGE"; then
6819 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6820 echo "${ECHO_T}$FONTFORGE" >&6; }
6822 { echo "$as_me:$LINENO: result: no" >&5
6823 echo "${ECHO_T}no" >&6; }
6827 test -n "$FONTFORGE" && break
6829 test -n "$FONTFORGE" || FONTFORGE="false"
6831 for ac_prog in pkg-config
6833 # Extract the first word of "$ac_prog", so it can be a program name with args.
6834 set dummy $ac_prog; ac_word=$2
6835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6837 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6838 echo $ECHO_N "(cached) $ECHO_C" >&6
6840 if test -n "$PKG_CONFIG"; then
6841 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6847 test -z "$as_dir" && as_dir=.
6848 for ac_exec_ext in '' $ac_executable_extensions; do
6849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6850 ac_cv_prog_PKG_CONFIG="$ac_prog"
6851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6860 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6861 if test -n "$PKG_CONFIG"; then
6862 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6863 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6865 { echo "$as_me:$LINENO: result: no" >&5
6866 echo "${ECHO_T}no" >&6; }
6870 test -n "$PKG_CONFIG" && break
6872 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6877 # Extract the first word of "prelink", so it can be a program name with args.
6878 set dummy prelink; ac_word=$2
6879 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6881 if test "${ac_cv_path_PRELINK+set}" = set; then
6882 echo $ECHO_N "(cached) $ECHO_C" >&6
6886 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6890 for as_dir in /sbin /usr/sbin $PATH
6893 test -z "$as_dir" && as_dir=.
6894 for ac_exec_ext in '' $ac_executable_extensions; do
6895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6896 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6904 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6908 PRELINK=$ac_cv_path_PRELINK
6909 if test -n "$PRELINK"; then
6910 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6911 echo "${ECHO_T}$PRELINK" >&6; }
6913 { echo "$as_me:$LINENO: result: no" >&5
6914 echo "${ECHO_T}no" >&6; }
6923 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6924 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6925 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6926 echo $ECHO_N "(cached) $ECHO_C" >&6
6928 ac_check_lib_save_LIBS=$LIBS
6930 cat >conftest.$ac_ext <<_ACEOF
6933 cat confdefs.h >>conftest.$ac_ext
6934 cat >>conftest.$ac_ext <<_ACEOF
6935 /* end confdefs.h. */
6937 /* Override any GCC internal prototype to avoid an error.
6938 Use char because int might match the return type of a GCC
6939 builtin and then its argument prototype would still apply. */
6943 char i386_set_ldt ();
6947 return i386_set_ldt ();
6952 rm -f conftest.$ac_objext conftest$ac_exeext
6953 if { (ac_try="$ac_link"
6955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6956 *) ac_try_echo=$ac_try;;
6958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6959 (eval "$ac_link") 2>conftest.er1
6961 grep -v '^ *+' conftest.er1 >conftest.err
6963 cat conftest.err >&5
6964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6965 (exit $ac_status); } &&
6966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6967 { (case "(($ac_try" in
6968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6969 *) ac_try_echo=$ac_try;;
6971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6972 (eval "$ac_try") 2>&5
6974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6975 (exit $ac_status); }; } &&
6976 { ac_try='test -s conftest$ac_exeext'
6977 { (case "(($ac_try" in
6978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6979 *) ac_try_echo=$ac_try;;
6981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6982 (eval "$ac_try") 2>&5
6984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6985 (exit $ac_status); }; }; then
6986 ac_cv_lib_i386_i386_set_ldt=yes
6988 echo "$as_me: failed program was:" >&5
6989 sed 's/^/| /' conftest.$ac_ext >&5
6991 ac_cv_lib_i386_i386_set_ldt=no
6994 rm -f core conftest.err conftest.$ac_objext \
6995 conftest$ac_exeext conftest.$ac_ext
6996 LIBS=$ac_check_lib_save_LIBS
6998 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6999 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
7000 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
7001 cat >>confdefs.h <<_ACEOF
7002 #define HAVE_LIBI386 1
7010 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
7011 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
7012 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
7013 echo $ECHO_N "(cached) $ECHO_C" >&6
7015 ac_check_lib_save_LIBS=$LIBS
7016 LIBS="-lossaudio $LIBS"
7017 cat >conftest.$ac_ext <<_ACEOF
7020 cat confdefs.h >>conftest.$ac_ext
7021 cat >>conftest.$ac_ext <<_ACEOF
7022 /* end confdefs.h. */
7024 /* Override any GCC internal prototype to avoid an error.
7025 Use char because int might match the return type of a GCC
7026 builtin and then its argument prototype would still apply. */
7034 return _oss_ioctl ();
7039 rm -f conftest.$ac_objext conftest$ac_exeext
7040 if { (ac_try="$ac_link"
7042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7043 *) ac_try_echo=$ac_try;;
7045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7046 (eval "$ac_link") 2>conftest.er1
7048 grep -v '^ *+' conftest.er1 >conftest.err
7050 cat conftest.err >&5
7051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7052 (exit $ac_status); } &&
7053 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7054 { (case "(($ac_try" in
7055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7056 *) ac_try_echo=$ac_try;;
7058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7059 (eval "$ac_try") 2>&5
7061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7062 (exit $ac_status); }; } &&
7063 { ac_try='test -s conftest$ac_exeext'
7064 { (case "(($ac_try" in
7065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7066 *) ac_try_echo=$ac_try;;
7068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7069 (eval "$ac_try") 2>&5
7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7072 (exit $ac_status); }; }; then
7073 ac_cv_lib_ossaudio__oss_ioctl=yes
7075 echo "$as_me: failed program was:" >&5
7076 sed 's/^/| /' conftest.$ac_ext >&5
7078 ac_cv_lib_ossaudio__oss_ioctl=no
7081 rm -f core conftest.err conftest.$ac_objext \
7082 conftest$ac_exeext conftest.$ac_ext
7083 LIBS=$ac_check_lib_save_LIBS
7085 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
7086 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
7087 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
7088 cat >>confdefs.h <<_ACEOF
7089 #define HAVE_LIBOSSAUDIO 1
7092 LIBS="-lossaudio $LIBS"
7097 for ac_func in gethostbyname
7099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7100 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7102 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7103 echo $ECHO_N "(cached) $ECHO_C" >&6
7105 cat >conftest.$ac_ext <<_ACEOF
7108 cat confdefs.h >>conftest.$ac_ext
7109 cat >>conftest.$ac_ext <<_ACEOF
7110 /* end confdefs.h. */
7111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7113 #define $ac_func innocuous_$ac_func
7115 /* System header to define __stub macros and hopefully few prototypes,
7116 which can conflict with char $ac_func (); below.
7117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7118 <limits.h> exists even on freestanding compilers. */
7121 # include <limits.h>
7123 # include <assert.h>
7128 /* Override any GCC internal prototype to avoid an error.
7129 Use char because int might match the return type of a GCC
7130 builtin and then its argument prototype would still apply. */
7135 /* The GNU C library defines this for functions which it implements
7136 to always fail with ENOSYS. Some functions are actually named
7137 something starting with __ and the normal name is an alias. */
7138 #if defined __stub_$ac_func || defined __stub___$ac_func
7150 rm -f conftest.$ac_objext conftest$ac_exeext
7151 if { (ac_try="$ac_link"
7153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7154 *) ac_try_echo=$ac_try;;
7156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7157 (eval "$ac_link") 2>conftest.er1
7159 grep -v '^ *+' conftest.er1 >conftest.err
7161 cat conftest.err >&5
7162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7163 (exit $ac_status); } &&
7164 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7165 { (case "(($ac_try" in
7166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7167 *) ac_try_echo=$ac_try;;
7169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7170 (eval "$ac_try") 2>&5
7172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7173 (exit $ac_status); }; } &&
7174 { ac_try='test -s conftest$ac_exeext'
7175 { (case "(($ac_try" in
7176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7177 *) ac_try_echo=$ac_try;;
7179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7180 (eval "$ac_try") 2>&5
7182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7183 (exit $ac_status); }; }; then
7184 eval "$as_ac_var=yes"
7186 echo "$as_me: failed program was:" >&5
7187 sed 's/^/| /' conftest.$ac_ext >&5
7189 eval "$as_ac_var=no"
7192 rm -f core conftest.err conftest.$ac_objext \
7193 conftest$ac_exeext conftest.$ac_ext
7195 ac_res=`eval echo '${'$as_ac_var'}'`
7196 { echo "$as_me:$LINENO: result: $ac_res" >&5
7197 echo "${ECHO_T}$ac_res" >&6; }
7198 if test `eval echo '${'$as_ac_var'}'` = yes; then
7199 cat >>confdefs.h <<_ACEOF
7200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7205 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
7206 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
7207 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
7208 echo $ECHO_N "(cached) $ECHO_C" >&6
7210 ac_check_lib_save_LIBS=$LIBS
7212 cat >conftest.$ac_ext <<_ACEOF
7215 cat confdefs.h >>conftest.$ac_ext
7216 cat >>conftest.$ac_ext <<_ACEOF
7217 /* end confdefs.h. */
7219 /* Override any GCC internal prototype to avoid an error.
7220 Use char because int might match the return type of a GCC
7221 builtin and then its argument prototype would still apply. */
7225 char gethostbyname ();
7229 return gethostbyname ();
7234 rm -f conftest.$ac_objext conftest$ac_exeext
7235 if { (ac_try="$ac_link"
7237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7238 *) ac_try_echo=$ac_try;;
7240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7241 (eval "$ac_link") 2>conftest.er1
7243 grep -v '^ *+' conftest.er1 >conftest.err
7245 cat conftest.err >&5
7246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7247 (exit $ac_status); } &&
7248 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7249 { (case "(($ac_try" in
7250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7251 *) ac_try_echo=$ac_try;;
7253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7254 (eval "$ac_try") 2>&5
7256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7257 (exit $ac_status); }; } &&
7258 { ac_try='test -s conftest$ac_exeext'
7259 { (case "(($ac_try" in
7260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7261 *) ac_try_echo=$ac_try;;
7263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7264 (eval "$ac_try") 2>&5
7266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7267 (exit $ac_status); }; }; then
7268 ac_cv_lib_nsl_gethostbyname=yes
7270 echo "$as_me: failed program was:" >&5
7271 sed 's/^/| /' conftest.$ac_ext >&5
7273 ac_cv_lib_nsl_gethostbyname=no
7276 rm -f core conftest.err conftest.$ac_objext \
7277 conftest$ac_exeext conftest.$ac_ext
7278 LIBS=$ac_check_lib_save_LIBS
7280 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
7281 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
7282 if test $ac_cv_lib_nsl_gethostbyname = yes; then
7283 cat >>confdefs.h <<_ACEOF
7284 #define HAVE_LIBNSL 1
7295 for ac_func in connect
7297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7298 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7300 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7301 echo $ECHO_N "(cached) $ECHO_C" >&6
7303 cat >conftest.$ac_ext <<_ACEOF
7306 cat confdefs.h >>conftest.$ac_ext
7307 cat >>conftest.$ac_ext <<_ACEOF
7308 /* end confdefs.h. */
7309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7311 #define $ac_func innocuous_$ac_func
7313 /* System header to define __stub macros and hopefully few prototypes,
7314 which can conflict with char $ac_func (); below.
7315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7316 <limits.h> exists even on freestanding compilers. */
7319 # include <limits.h>
7321 # include <assert.h>
7326 /* Override any GCC internal prototype to avoid an error.
7327 Use char because int might match the return type of a GCC
7328 builtin and then its argument prototype would still apply. */
7333 /* The GNU C library defines this for functions which it implements
7334 to always fail with ENOSYS. Some functions are actually named
7335 something starting with __ and the normal name is an alias. */
7336 #if defined __stub_$ac_func || defined __stub___$ac_func
7348 rm -f conftest.$ac_objext conftest$ac_exeext
7349 if { (ac_try="$ac_link"
7351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7352 *) ac_try_echo=$ac_try;;
7354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7355 (eval "$ac_link") 2>conftest.er1
7357 grep -v '^ *+' conftest.er1 >conftest.err
7359 cat conftest.err >&5
7360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7361 (exit $ac_status); } &&
7362 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7363 { (case "(($ac_try" in
7364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7365 *) ac_try_echo=$ac_try;;
7367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7368 (eval "$ac_try") 2>&5
7370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7371 (exit $ac_status); }; } &&
7372 { ac_try='test -s conftest$ac_exeext'
7373 { (case "(($ac_try" in
7374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7375 *) ac_try_echo=$ac_try;;
7377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7378 (eval "$ac_try") 2>&5
7380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7381 (exit $ac_status); }; }; then
7382 eval "$as_ac_var=yes"
7384 echo "$as_me: failed program was:" >&5
7385 sed 's/^/| /' conftest.$ac_ext >&5
7387 eval "$as_ac_var=no"
7390 rm -f core conftest.err conftest.$ac_objext \
7391 conftest$ac_exeext conftest.$ac_ext
7393 ac_res=`eval echo '${'$as_ac_var'}'`
7394 { echo "$as_me:$LINENO: result: $ac_res" >&5
7395 echo "${ECHO_T}$ac_res" >&6; }
7396 if test `eval echo '${'$as_ac_var'}'` = yes; then
7397 cat >>confdefs.h <<_ACEOF
7398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7403 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
7404 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
7405 if test "${ac_cv_lib_socket_connect+set}" = set; then
7406 echo $ECHO_N "(cached) $ECHO_C" >&6
7408 ac_check_lib_save_LIBS=$LIBS
7409 LIBS="-lsocket $LIBS"
7410 cat >conftest.$ac_ext <<_ACEOF
7413 cat confdefs.h >>conftest.$ac_ext
7414 cat >>conftest.$ac_ext <<_ACEOF
7415 /* end confdefs.h. */
7417 /* Override any GCC internal prototype to avoid an error.
7418 Use char because int might match the return type of a GCC
7419 builtin and then its argument prototype would still apply. */
7432 rm -f conftest.$ac_objext conftest$ac_exeext
7433 if { (ac_try="$ac_link"
7435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7436 *) ac_try_echo=$ac_try;;
7438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7439 (eval "$ac_link") 2>conftest.er1
7441 grep -v '^ *+' conftest.er1 >conftest.err
7443 cat conftest.err >&5
7444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7445 (exit $ac_status); } &&
7446 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7447 { (case "(($ac_try" in
7448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7449 *) ac_try_echo=$ac_try;;
7451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7452 (eval "$ac_try") 2>&5
7454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7455 (exit $ac_status); }; } &&
7456 { ac_try='test -s conftest$ac_exeext'
7457 { (case "(($ac_try" in
7458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7459 *) ac_try_echo=$ac_try;;
7461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7462 (eval "$ac_try") 2>&5
7464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7465 (exit $ac_status); }; }; then
7466 ac_cv_lib_socket_connect=yes
7468 echo "$as_me: failed program was:" >&5
7469 sed 's/^/| /' conftest.$ac_ext >&5
7471 ac_cv_lib_socket_connect=no
7474 rm -f core conftest.err conftest.$ac_objext \
7475 conftest$ac_exeext conftest.$ac_ext
7476 LIBS=$ac_check_lib_save_LIBS
7478 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
7479 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
7480 if test $ac_cv_lib_socket_connect = yes; then
7481 cat >>confdefs.h <<_ACEOF
7482 #define HAVE_LIBSOCKET 1
7485 LIBS="-lsocket $LIBS"
7493 for ac_func in inet_aton
7495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7496 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7498 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7499 echo $ECHO_N "(cached) $ECHO_C" >&6
7501 cat >conftest.$ac_ext <<_ACEOF
7504 cat confdefs.h >>conftest.$ac_ext
7505 cat >>conftest.$ac_ext <<_ACEOF
7506 /* end confdefs.h. */
7507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7509 #define $ac_func innocuous_$ac_func
7511 /* System header to define __stub macros and hopefully few prototypes,
7512 which can conflict with char $ac_func (); below.
7513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7514 <limits.h> exists even on freestanding compilers. */
7517 # include <limits.h>
7519 # include <assert.h>
7524 /* Override any GCC internal prototype to avoid an error.
7525 Use char because int might match the return type of a GCC
7526 builtin and then its argument prototype would still apply. */
7531 /* The GNU C library defines this for functions which it implements
7532 to always fail with ENOSYS. Some functions are actually named
7533 something starting with __ and the normal name is an alias. */
7534 #if defined __stub_$ac_func || defined __stub___$ac_func
7546 rm -f conftest.$ac_objext conftest$ac_exeext
7547 if { (ac_try="$ac_link"
7549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7550 *) ac_try_echo=$ac_try;;
7552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7553 (eval "$ac_link") 2>conftest.er1
7555 grep -v '^ *+' conftest.er1 >conftest.err
7557 cat conftest.err >&5
7558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7559 (exit $ac_status); } &&
7560 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7561 { (case "(($ac_try" in
7562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7563 *) ac_try_echo=$ac_try;;
7565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7566 (eval "$ac_try") 2>&5
7568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7569 (exit $ac_status); }; } &&
7570 { ac_try='test -s conftest$ac_exeext'
7571 { (case "(($ac_try" in
7572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7573 *) ac_try_echo=$ac_try;;
7575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7576 (eval "$ac_try") 2>&5
7578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7579 (exit $ac_status); }; }; then
7580 eval "$as_ac_var=yes"
7582 echo "$as_me: failed program was:" >&5
7583 sed 's/^/| /' conftest.$ac_ext >&5
7585 eval "$as_ac_var=no"
7588 rm -f core conftest.err conftest.$ac_objext \
7589 conftest$ac_exeext conftest.$ac_ext
7591 ac_res=`eval echo '${'$as_ac_var'}'`
7592 { echo "$as_me:$LINENO: result: $ac_res" >&5
7593 echo "${ECHO_T}$ac_res" >&6; }
7594 if test `eval echo '${'$as_ac_var'}'` = yes; then
7595 cat >>confdefs.h <<_ACEOF
7596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7601 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
7602 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
7603 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
7604 echo $ECHO_N "(cached) $ECHO_C" >&6
7606 ac_check_lib_save_LIBS=$LIBS
7607 LIBS="-lresolv $LIBS"
7608 cat >conftest.$ac_ext <<_ACEOF
7611 cat confdefs.h >>conftest.$ac_ext
7612 cat >>conftest.$ac_ext <<_ACEOF
7613 /* end confdefs.h. */
7615 /* Override any GCC internal prototype to avoid an error.
7616 Use char because int might match the return type of a GCC
7617 builtin and then its argument prototype would still apply. */
7625 return inet_aton ();
7630 rm -f conftest.$ac_objext conftest$ac_exeext
7631 if { (ac_try="$ac_link"
7633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7634 *) ac_try_echo=$ac_try;;
7636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7637 (eval "$ac_link") 2>conftest.er1
7639 grep -v '^ *+' conftest.er1 >conftest.err
7641 cat conftest.err >&5
7642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7643 (exit $ac_status); } &&
7644 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7645 { (case "(($ac_try" in
7646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7647 *) ac_try_echo=$ac_try;;
7649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7650 (eval "$ac_try") 2>&5
7652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7653 (exit $ac_status); }; } &&
7654 { ac_try='test -s conftest$ac_exeext'
7655 { (case "(($ac_try" in
7656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7657 *) ac_try_echo=$ac_try;;
7659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7660 (eval "$ac_try") 2>&5
7662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7663 (exit $ac_status); }; }; then
7664 ac_cv_lib_resolv_inet_aton=yes
7666 echo "$as_me: failed program was:" >&5
7667 sed 's/^/| /' conftest.$ac_ext >&5
7669 ac_cv_lib_resolv_inet_aton=no
7672 rm -f core conftest.err conftest.$ac_objext \
7673 conftest$ac_exeext conftest.$ac_ext
7674 LIBS=$ac_check_lib_save_LIBS
7676 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
7677 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
7678 if test $ac_cv_lib_resolv_inet_aton = yes; then
7679 cat >>confdefs.h <<_ACEOF
7680 #define HAVE_LIBRESOLV 1
7683 LIBS="-lresolv $LIBS"
7691 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
7692 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
7693 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
7694 echo $ECHO_N "(cached) $ECHO_C" >&6
7696 ac_check_lib_save_LIBS=$LIBS
7698 cat >conftest.$ac_ext <<_ACEOF
7701 cat confdefs.h >>conftest.$ac_ext
7702 cat >>conftest.$ac_ext <<_ACEOF
7703 /* end confdefs.h. */
7705 /* Override any GCC internal prototype to avoid an error.
7706 Use char because int might match the return type of a GCC
7707 builtin and then its argument prototype would still apply. */
7711 char _xpg4_setrunelocale ();
7715 return _xpg4_setrunelocale ();
7720 rm -f conftest.$ac_objext conftest$ac_exeext
7721 if { (ac_try="$ac_link"
7723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7724 *) ac_try_echo=$ac_try;;
7726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7727 (eval "$ac_link") 2>conftest.er1
7729 grep -v '^ *+' conftest.er1 >conftest.err
7731 cat conftest.err >&5
7732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7733 (exit $ac_status); } &&
7734 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7735 { (case "(($ac_try" in
7736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7737 *) ac_try_echo=$ac_try;;
7739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7740 (eval "$ac_try") 2>&5
7742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7743 (exit $ac_status); }; } &&
7744 { ac_try='test -s conftest$ac_exeext'
7745 { (case "(($ac_try" in
7746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7747 *) ac_try_echo=$ac_try;;
7749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7750 (eval "$ac_try") 2>&5
7752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7753 (exit $ac_status); }; }; then
7754 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
7756 echo "$as_me: failed program was:" >&5
7757 sed 's/^/| /' conftest.$ac_ext >&5
7759 ac_cv_lib_xpg4__xpg4_setrunelocale=no
7762 rm -f core conftest.err conftest.$ac_objext \
7763 conftest$ac_exeext conftest.$ac_ext
7764 LIBS=$ac_check_lib_save_LIBS
7766 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
7767 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
7768 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
7769 cat >>confdefs.h <<_ACEOF
7770 #define HAVE_LIBXPG4 1
7778 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
7779 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
7780 if test "${ac_cv_lib_poll_poll+set}" = set; then
7781 echo $ECHO_N "(cached) $ECHO_C" >&6
7783 ac_check_lib_save_LIBS=$LIBS
7785 cat >conftest.$ac_ext <<_ACEOF
7788 cat confdefs.h >>conftest.$ac_ext
7789 cat >>conftest.$ac_ext <<_ACEOF
7790 /* end confdefs.h. */
7792 /* Override any GCC internal prototype to avoid an error.
7793 Use char because int might match the return type of a GCC
7794 builtin and then its argument prototype would still apply. */
7807 rm -f conftest.$ac_objext conftest$ac_exeext
7808 if { (ac_try="$ac_link"
7810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7811 *) ac_try_echo=$ac_try;;
7813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7814 (eval "$ac_link") 2>conftest.er1
7816 grep -v '^ *+' conftest.er1 >conftest.err
7818 cat conftest.err >&5
7819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7820 (exit $ac_status); } &&
7821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7822 { (case "(($ac_try" in
7823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7824 *) ac_try_echo=$ac_try;;
7826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7827 (eval "$ac_try") 2>&5
7829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7830 (exit $ac_status); }; } &&
7831 { ac_try='test -s conftest$ac_exeext'
7832 { (case "(($ac_try" in
7833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7834 *) ac_try_echo=$ac_try;;
7836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7837 (eval "$ac_try") 2>&5
7839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7840 (exit $ac_status); }; }; then
7841 ac_cv_lib_poll_poll=yes
7843 echo "$as_me: failed program was:" >&5
7844 sed 's/^/| /' conftest.$ac_ext >&5
7846 ac_cv_lib_poll_poll=no
7849 rm -f core conftest.err conftest.$ac_objext \
7850 conftest$ac_exeext conftest.$ac_ext
7851 LIBS=$ac_check_lib_save_LIBS
7853 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
7854 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
7855 if test $ac_cv_lib_poll_poll = yes; then
7856 cat >>confdefs.h <<_ACEOF
7857 #define HAVE_LIBPOLL 1
7864 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
7865 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
7866 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
7867 echo $ECHO_N "(cached) $ECHO_C" >&6
7869 ac_check_lib_save_LIBS=$LIBS
7870 LIBS="-lpthread $LIBS"
7871 cat >conftest.$ac_ext <<_ACEOF
7874 cat confdefs.h >>conftest.$ac_ext
7875 cat >>conftest.$ac_ext <<_ACEOF
7876 /* end confdefs.h. */
7878 /* Override any GCC internal prototype to avoid an error.
7879 Use char because int might match the return type of a GCC
7880 builtin and then its argument prototype would still apply. */
7884 char pthread_create ();
7888 return pthread_create ();
7893 rm -f conftest.$ac_objext conftest$ac_exeext
7894 if { (ac_try="$ac_link"
7896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7897 *) ac_try_echo=$ac_try;;
7899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7900 (eval "$ac_link") 2>conftest.er1
7902 grep -v '^ *+' conftest.er1 >conftest.err
7904 cat conftest.err >&5
7905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7906 (exit $ac_status); } &&
7907 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7908 { (case "(($ac_try" in
7909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7910 *) ac_try_echo=$ac_try;;
7912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7913 (eval "$ac_try") 2>&5
7915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7916 (exit $ac_status); }; } &&
7917 { ac_try='test -s conftest$ac_exeext'
7918 { (case "(($ac_try" in
7919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7920 *) ac_try_echo=$ac_try;;
7922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7923 (eval "$ac_try") 2>&5
7925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7926 (exit $ac_status); }; }; then
7927 ac_cv_lib_pthread_pthread_create=yes
7929 echo "$as_me: failed program was:" >&5
7930 sed 's/^/| /' conftest.$ac_ext >&5
7932 ac_cv_lib_pthread_pthread_create=no
7935 rm -f core conftest.err conftest.$ac_objext \
7936 conftest$ac_exeext conftest.$ac_ext
7937 LIBS=$ac_check_lib_save_LIBS
7939 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
7940 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
7941 if test $ac_cv_lib_pthread_pthread_create = yes; then
7942 LIBPTHREAD="-lpthread"
7959 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7960 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7961 if test "${ac_cv_header_stdc+set}" = set; then
7962 echo $ECHO_N "(cached) $ECHO_C" >&6
7964 cat >conftest.$ac_ext <<_ACEOF
7967 cat confdefs.h >>conftest.$ac_ext
7968 cat >>conftest.$ac_ext <<_ACEOF
7969 /* end confdefs.h. */
7983 rm -f conftest.$ac_objext
7984 if { (ac_try="$ac_compile"
7986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7987 *) ac_try_echo=$ac_try;;
7989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7990 (eval "$ac_compile") 2>conftest.er1
7992 grep -v '^ *+' conftest.er1 >conftest.err
7994 cat conftest.err >&5
7995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7996 (exit $ac_status); } &&
7997 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7998 { (case "(($ac_try" in
7999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8000 *) ac_try_echo=$ac_try;;
8002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8003 (eval "$ac_try") 2>&5
8005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8006 (exit $ac_status); }; } &&
8007 { ac_try='test -s conftest.$ac_objext'
8008 { (case "(($ac_try" in
8009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8010 *) ac_try_echo=$ac_try;;
8012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8013 (eval "$ac_try") 2>&5
8015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8016 (exit $ac_status); }; }; then
8017 ac_cv_header_stdc=yes
8019 echo "$as_me: failed program was:" >&5
8020 sed 's/^/| /' conftest.$ac_ext >&5
8022 ac_cv_header_stdc=no
8025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8027 if test $ac_cv_header_stdc = yes; then
8028 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8029 cat >conftest.$ac_ext <<_ACEOF
8032 cat confdefs.h >>conftest.$ac_ext
8033 cat >>conftest.$ac_ext <<_ACEOF
8034 /* end confdefs.h. */
8038 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8039 $EGREP "memchr" >/dev/null 2>&1; then
8042 ac_cv_header_stdc=no
8048 if test $ac_cv_header_stdc = yes; then
8049 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8050 cat >conftest.$ac_ext <<_ACEOF
8053 cat confdefs.h >>conftest.$ac_ext
8054 cat >>conftest.$ac_ext <<_ACEOF
8055 /* end confdefs.h. */
8059 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8060 $EGREP "free" >/dev/null 2>&1; then
8063 ac_cv_header_stdc=no
8069 if test $ac_cv_header_stdc = yes; then
8070 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8071 if test "$cross_compiling" = yes; then
8074 cat >conftest.$ac_ext <<_ACEOF
8077 cat confdefs.h >>conftest.$ac_ext
8078 cat >>conftest.$ac_ext <<_ACEOF
8079 /* end confdefs.h. */
8082 #if ((' ' & 0x0FF) == 0x020)
8083 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8084 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8086 # define ISLOWER(c) \
8087 (('a' <= (c) && (c) <= 'i') \
8088 || ('j' <= (c) && (c) <= 'r') \
8089 || ('s' <= (c) && (c) <= 'z'))
8090 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8093 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8098 for (i = 0; i < 256; i++)
8099 if (XOR (islower (i), ISLOWER (i))
8100 || toupper (i) != TOUPPER (i))
8105 rm -f conftest$ac_exeext
8106 if { (ac_try="$ac_link"
8108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8109 *) ac_try_echo=$ac_try;;
8111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8112 (eval "$ac_link") 2>&5
8114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8115 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8116 { (case "(($ac_try" in
8117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8118 *) ac_try_echo=$ac_try;;
8120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8121 (eval "$ac_try") 2>&5
8123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8124 (exit $ac_status); }; }; then
8127 echo "$as_me: program exited with status $ac_status" >&5
8128 echo "$as_me: failed program was:" >&5
8129 sed 's/^/| /' conftest.$ac_ext >&5
8132 ac_cv_header_stdc=no
8134 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8140 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8141 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
8142 if test $ac_cv_header_stdc = yes; then
8144 cat >>confdefs.h <<\_ACEOF
8145 #define STDC_HEADERS 1
8150 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8160 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8161 inttypes.h stdint.h unistd.h
8163 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8164 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8166 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8167 echo $ECHO_N "(cached) $ECHO_C" >&6
8169 cat >conftest.$ac_ext <<_ACEOF
8172 cat confdefs.h >>conftest.$ac_ext
8173 cat >>conftest.$ac_ext <<_ACEOF
8174 /* end confdefs.h. */
8175 $ac_includes_default
8177 #include <$ac_header>
8179 rm -f conftest.$ac_objext
8180 if { (ac_try="$ac_compile"
8182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8183 *) ac_try_echo=$ac_try;;
8185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8186 (eval "$ac_compile") 2>conftest.er1
8188 grep -v '^ *+' conftest.er1 >conftest.err
8190 cat conftest.err >&5
8191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8192 (exit $ac_status); } &&
8193 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8194 { (case "(($ac_try" in
8195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8196 *) ac_try_echo=$ac_try;;
8198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8199 (eval "$ac_try") 2>&5
8201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8202 (exit $ac_status); }; } &&
8203 { ac_try='test -s conftest.$ac_objext'
8204 { (case "(($ac_try" in
8205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8206 *) ac_try_echo=$ac_try;;
8208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8209 (eval "$ac_try") 2>&5
8211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8212 (exit $ac_status); }; }; then
8213 eval "$as_ac_Header=yes"
8215 echo "$as_me: failed program was:" >&5
8216 sed 's/^/| /' conftest.$ac_ext >&5
8218 eval "$as_ac_Header=no"
8221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8223 ac_res=`eval echo '${'$as_ac_Header'}'`
8224 { echo "$as_me:$LINENO: result: $ac_res" >&5
8225 echo "${ECHO_T}$ac_res" >&6; }
8226 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8227 cat >>confdefs.h <<_ACEOF
8228 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8344 AudioUnit/AudioUnit.h \
8345 CoreAudio/CoreAudio.h \
8358 fontconfig/fontconfig.h \
8384 machine/soundcard.h \
8389 netinet/in_systm.h \
8453 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8454 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8455 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8457 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8458 echo $ECHO_N "(cached) $ECHO_C" >&6
8460 ac_res=`eval echo '${'$as_ac_Header'}'`
8461 { echo "$as_me:$LINENO: result: $ac_res" >&5
8462 echo "${ECHO_T}$ac_res" >&6; }
8464 # Is the header compilable?
8465 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8466 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8467 cat >conftest.$ac_ext <<_ACEOF
8470 cat confdefs.h >>conftest.$ac_ext
8471 cat >>conftest.$ac_ext <<_ACEOF
8472 /* end confdefs.h. */
8473 $ac_includes_default
8474 #include <$ac_header>
8476 rm -f conftest.$ac_objext
8477 if { (ac_try="$ac_compile"
8479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8480 *) ac_try_echo=$ac_try;;
8482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8483 (eval "$ac_compile") 2>conftest.er1
8485 grep -v '^ *+' conftest.er1 >conftest.err
8487 cat conftest.err >&5
8488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8489 (exit $ac_status); } &&
8490 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8491 { (case "(($ac_try" in
8492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8493 *) ac_try_echo=$ac_try;;
8495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8496 (eval "$ac_try") 2>&5
8498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8499 (exit $ac_status); }; } &&
8500 { ac_try='test -s conftest.$ac_objext'
8501 { (case "(($ac_try" in
8502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8503 *) ac_try_echo=$ac_try;;
8505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8506 (eval "$ac_try") 2>&5
8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 (exit $ac_status); }; }; then
8510 ac_header_compiler=yes
8512 echo "$as_me: failed program was:" >&5
8513 sed 's/^/| /' conftest.$ac_ext >&5
8515 ac_header_compiler=no
8518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8519 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8520 echo "${ECHO_T}$ac_header_compiler" >&6; }
8522 # Is the header present?
8523 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8524 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8525 cat >conftest.$ac_ext <<_ACEOF
8528 cat confdefs.h >>conftest.$ac_ext
8529 cat >>conftest.$ac_ext <<_ACEOF
8530 /* end confdefs.h. */
8531 #include <$ac_header>
8533 if { (ac_try="$ac_cpp conftest.$ac_ext"
8535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8536 *) ac_try_echo=$ac_try;;
8538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8539 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8541 grep -v '^ *+' conftest.er1 >conftest.err
8543 cat conftest.err >&5
8544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8545 (exit $ac_status); } >/dev/null; then
8546 if test -s conftest.err; then
8547 ac_cpp_err=$ac_c_preproc_warn_flag
8548 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8555 if test -z "$ac_cpp_err"; then
8556 ac_header_preproc=yes
8558 echo "$as_me: failed program was:" >&5
8559 sed 's/^/| /' conftest.$ac_ext >&5
8561 ac_header_preproc=no
8564 rm -f conftest.err conftest.$ac_ext
8565 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8566 echo "${ECHO_T}$ac_header_preproc" >&6; }
8568 # So? What about this header?
8569 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8571 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8572 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8573 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8574 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8575 ac_header_preproc=yes
8578 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8579 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8580 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8581 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8582 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8583 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8584 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8585 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8587 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8588 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8589 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8591 ## ------------------------------------ ##
8592 ## Report this to wine-devel@winehq.org ##
8593 ## ------------------------------------ ##
8595 ) | sed "s/^/$as_me: WARNING: /" >&2
8598 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8600 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8601 echo $ECHO_N "(cached) $ECHO_C" >&6
8603 eval "$as_ac_Header=\$ac_header_preproc"
8605 ac_res=`eval echo '${'$as_ac_Header'}'`
8606 { echo "$as_me:$LINENO: result: $ac_res" >&5
8607 echo "${ECHO_T}$ac_res" >&6; }
8610 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8611 cat >>confdefs.h <<_ACEOF
8612 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8619 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
8620 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
8621 if test "${ac_cv_header_stat_broken+set}" = set; then
8622 echo $ECHO_N "(cached) $ECHO_C" >&6
8624 cat >conftest.$ac_ext <<_ACEOF
8627 cat confdefs.h >>conftest.$ac_ext
8628 cat >>conftest.$ac_ext <<_ACEOF
8629 /* end confdefs.h. */
8630 #include <sys/types.h>
8631 #include <sys/stat.h>
8633 #if defined S_ISBLK && defined S_IFDIR
8634 # if S_ISBLK (S_IFDIR)
8639 #if defined S_ISBLK && defined S_IFCHR
8640 # if S_ISBLK (S_IFCHR)
8645 #if defined S_ISLNK && defined S_IFREG
8646 # if S_ISLNK (S_IFREG)
8651 #if defined S_ISSOCK && defined S_IFREG
8652 # if S_ISSOCK (S_IFREG)
8658 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8659 $EGREP "You lose" >/dev/null 2>&1; then
8660 ac_cv_header_stat_broken=yes
8662 ac_cv_header_stat_broken=no
8667 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
8668 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
8669 if test $ac_cv_header_stat_broken = yes; then
8671 cat >>confdefs.h <<\_ACEOF
8672 #define STAT_MACROS_BROKEN 1
8683 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
8685 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8686 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8688 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8689 echo $ECHO_N "(cached) $ECHO_C" >&6
8691 cat >conftest.$ac_ext <<_ACEOF
8694 cat confdefs.h >>conftest.$ac_ext
8695 cat >>conftest.$ac_ext <<_ACEOF
8696 /* end confdefs.h. */
8697 #include <sys/types.h>
8698 #if HAVE_SYS_PARAM_H
8699 # include <sys/param.h>
8702 #include <$ac_header>
8704 rm -f conftest.$ac_objext
8705 if { (ac_try="$ac_compile"
8707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8708 *) ac_try_echo=$ac_try;;
8710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8711 (eval "$ac_compile") 2>conftest.er1
8713 grep -v '^ *+' conftest.er1 >conftest.err
8715 cat conftest.err >&5
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); } &&
8718 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8719 { (case "(($ac_try" in
8720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8721 *) ac_try_echo=$ac_try;;
8723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8724 (eval "$ac_try") 2>&5
8726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8727 (exit $ac_status); }; } &&
8728 { ac_try='test -s conftest.$ac_objext'
8729 { (case "(($ac_try" in
8730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8731 *) ac_try_echo=$ac_try;;
8733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8734 (eval "$ac_try") 2>&5
8736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8737 (exit $ac_status); }; }; then
8738 eval "$as_ac_Header=yes"
8740 echo "$as_me: failed program was:" >&5
8741 sed 's/^/| /' conftest.$ac_ext >&5
8743 eval "$as_ac_Header=no"
8746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8748 ac_res=`eval echo '${'$as_ac_Header'}'`
8749 { echo "$as_me:$LINENO: result: $ac_res" >&5
8750 echo "${ECHO_T}$ac_res" >&6; }
8751 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8752 cat >>confdefs.h <<_ACEOF
8753 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8767 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
8769 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8770 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8772 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8773 echo $ECHO_N "(cached) $ECHO_C" >&6
8775 cat >conftest.$ac_ext <<_ACEOF
8778 cat confdefs.h >>conftest.$ac_ext
8779 cat >>conftest.$ac_ext <<_ACEOF
8780 /* end confdefs.h. */
8781 #include <sys/types.h>
8782 #if HAVE_SYS_SOCKET_H
8783 # include <sys/socket.h>
8786 #include <$ac_header>
8788 rm -f conftest.$ac_objext
8789 if { (ac_try="$ac_compile"
8791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8792 *) ac_try_echo=$ac_try;;
8794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8795 (eval "$ac_compile") 2>conftest.er1
8797 grep -v '^ *+' conftest.er1 >conftest.err
8799 cat conftest.err >&5
8800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8801 (exit $ac_status); } &&
8802 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8803 { (case "(($ac_try" in
8804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8805 *) ac_try_echo=$ac_try;;
8807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8808 (eval "$ac_try") 2>&5
8810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8811 (exit $ac_status); }; } &&
8812 { ac_try='test -s conftest.$ac_objext'
8813 { (case "(($ac_try" in
8814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8815 *) ac_try_echo=$ac_try;;
8817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8818 (eval "$ac_try") 2>&5
8820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821 (exit $ac_status); }; }; then
8822 eval "$as_ac_Header=yes"
8824 echo "$as_me: failed program was:" >&5
8825 sed 's/^/| /' conftest.$ac_ext >&5
8827 eval "$as_ac_Header=no"
8830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8832 ac_res=`eval echo '${'$as_ac_Header'}'`
8833 { echo "$as_me:$LINENO: result: $ac_res" >&5
8834 echo "${ECHO_T}$ac_res" >&6; }
8835 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8836 cat >>confdefs.h <<_ACEOF
8837 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8846 for ac_header in resolv.h
8848 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8849 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8851 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8852 echo $ECHO_N "(cached) $ECHO_C" >&6
8854 cat >conftest.$ac_ext <<_ACEOF
8857 cat confdefs.h >>conftest.$ac_ext
8858 cat >>conftest.$ac_ext <<_ACEOF
8859 /* end confdefs.h. */
8860 #include <sys/types.h>
8861 #if HAVE_SYS_SOCKET_H
8862 # include <sys/socket.h>
8864 #if HAVE_NETINET_IN_H
8865 # include <netinet/in.h>
8867 #if HAVE_ARPA_NAMESER_H
8868 # include <arpa/nameser.h>
8871 #include <$ac_header>
8873 rm -f conftest.$ac_objext
8874 if { (ac_try="$ac_compile"
8876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8877 *) ac_try_echo=$ac_try;;
8879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8880 (eval "$ac_compile") 2>conftest.er1
8882 grep -v '^ *+' conftest.er1 >conftest.err
8884 cat conftest.err >&5
8885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8886 (exit $ac_status); } &&
8887 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8888 { (case "(($ac_try" in
8889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8890 *) ac_try_echo=$ac_try;;
8892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8893 (eval "$ac_try") 2>&5
8895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8896 (exit $ac_status); }; } &&
8897 { ac_try='test -s conftest.$ac_objext'
8898 { (case "(($ac_try" in
8899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8900 *) ac_try_echo=$ac_try;;
8902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8903 (eval "$ac_try") 2>&5
8905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8906 (exit $ac_status); }; }; then
8907 eval "$as_ac_Header=yes"
8909 echo "$as_me: failed program was:" >&5
8910 sed 's/^/| /' conftest.$ac_ext >&5
8912 eval "$as_ac_Header=no"
8915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8917 ac_res=`eval echo '${'$as_ac_Header'}'`
8918 { echo "$as_me:$LINENO: result: $ac_res" >&5
8919 echo "${ECHO_T}$ac_res" >&6; }
8920 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8921 cat >>confdefs.h <<_ACEOF
8922 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8931 for ac_header in ucontext.h
8933 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8934 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8936 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8937 echo $ECHO_N "(cached) $ECHO_C" >&6
8939 cat >conftest.$ac_ext <<_ACEOF
8942 cat confdefs.h >>conftest.$ac_ext
8943 cat >>conftest.$ac_ext <<_ACEOF
8944 /* end confdefs.h. */
8947 #include <$ac_header>
8949 rm -f conftest.$ac_objext
8950 if { (ac_try="$ac_compile"
8952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8953 *) ac_try_echo=$ac_try;;
8955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8956 (eval "$ac_compile") 2>conftest.er1
8958 grep -v '^ *+' conftest.er1 >conftest.err
8960 cat conftest.err >&5
8961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8962 (exit $ac_status); } &&
8963 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8964 { (case "(($ac_try" in
8965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8966 *) ac_try_echo=$ac_try;;
8968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8969 (eval "$ac_try") 2>&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 (exit $ac_status); }; } &&
8973 { ac_try='test -s conftest.$ac_objext'
8974 { (case "(($ac_try" in
8975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8976 *) ac_try_echo=$ac_try;;
8978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8979 (eval "$ac_try") 2>&5
8981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982 (exit $ac_status); }; }; then
8983 eval "$as_ac_Header=yes"
8985 echo "$as_me: failed program was:" >&5
8986 sed 's/^/| /' conftest.$ac_ext >&5
8988 eval "$as_ac_Header=no"
8991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8993 ac_res=`eval echo '${'$as_ac_Header'}'`
8994 { echo "$as_me:$LINENO: result: $ac_res" >&5
8995 echo "${ECHO_T}$ac_res" >&6; }
8996 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8997 cat >>confdefs.h <<_ACEOF
8998 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9008 for ac_header in linux/ipx.h linux/videodev.h
9010 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9011 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9013 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9014 echo $ECHO_N "(cached) $ECHO_C" >&6
9016 cat >conftest.$ac_ext <<_ACEOF
9019 cat confdefs.h >>conftest.$ac_ext
9020 cat >>conftest.$ac_ext <<_ACEOF
9021 /* end confdefs.h. */
9022 #ifdef HAVE_SYS_TIME_H
9023 #include <sys/time.h>
9025 #include <sys/types.h>
9026 #ifdef HAVE_ASM_TYPES_H
9027 #include <asm/types.h>
9030 #include <$ac_header>
9032 rm -f conftest.$ac_objext
9033 if { (ac_try="$ac_compile"
9035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9036 *) ac_try_echo=$ac_try;;
9038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9039 (eval "$ac_compile") 2>conftest.er1
9041 grep -v '^ *+' conftest.er1 >conftest.err
9043 cat conftest.err >&5
9044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9045 (exit $ac_status); } &&
9046 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9047 { (case "(($ac_try" in
9048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9049 *) ac_try_echo=$ac_try;;
9051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9052 (eval "$ac_try") 2>&5
9054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9055 (exit $ac_status); }; } &&
9056 { ac_try='test -s conftest.$ac_objext'
9057 { (case "(($ac_try" in
9058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9059 *) ac_try_echo=$ac_try;;
9061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9062 (eval "$ac_try") 2>&5
9064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9065 (exit $ac_status); }; }; then
9066 eval "$as_ac_Header=yes"
9068 echo "$as_me: failed program was:" >&5
9069 sed 's/^/| /' conftest.$ac_ext >&5
9071 eval "$as_ac_Header=no"
9074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9076 ac_res=`eval echo '${'$as_ac_Header'}'`
9077 { echo "$as_me:$LINENO: result: $ac_res" >&5
9078 echo "${ECHO_T}$ac_res" >&6; }
9079 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9080 cat >>confdefs.h <<_ACEOF
9081 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9090 for ac_header in linux/capi.h
9092 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9093 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9095 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9096 echo $ECHO_N "(cached) $ECHO_C" >&6
9098 cat >conftest.$ac_ext <<_ACEOF
9101 cat confdefs.h >>conftest.$ac_ext
9102 cat >>conftest.$ac_ext <<_ACEOF
9103 /* end confdefs.h. */
9106 #include <$ac_header>
9108 rm -f conftest.$ac_objext
9109 if { (ac_try="$ac_compile"
9111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9112 *) ac_try_echo=$ac_try;;
9114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9115 (eval "$ac_compile") 2>conftest.er1
9117 grep -v '^ *+' conftest.er1 >conftest.err
9119 cat conftest.err >&5
9120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9121 (exit $ac_status); } &&
9122 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9123 { (case "(($ac_try" in
9124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9125 *) ac_try_echo=$ac_try;;
9127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9128 (eval "$ac_try") 2>&5
9130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9131 (exit $ac_status); }; } &&
9132 { ac_try='test -s conftest.$ac_objext'
9133 { (case "(($ac_try" in
9134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9135 *) ac_try_echo=$ac_try;;
9137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9138 (eval "$ac_try") 2>&5
9140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9141 (exit $ac_status); }; }; then
9142 eval "$as_ac_Header=yes"
9144 echo "$as_me: failed program was:" >&5
9145 sed 's/^/| /' conftest.$ac_ext >&5
9147 eval "$as_ac_Header=no"
9150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9152 ac_res=`eval echo '${'$as_ac_Header'}'`
9153 { echo "$as_me:$LINENO: result: $ac_res" >&5
9154 echo "${ECHO_T}$ac_res" >&6; }
9155 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9156 cat >>confdefs.h <<_ACEOF
9157 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9166 if test "$have_x" = "yes"
9169 ac_save_CPPFLAGS="$CPPFLAGS"
9170 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9181 for ac_header in X11/Xlib.h \
9184 X11/extensions/shape.h \
9185 X11/extensions/XInput.h \
9186 X11/extensions/XShm.h \
9187 X11/extensions/Xrandr.h \
9188 X11/extensions/Xrender.h \
9189 X11/extensions/xf86vmode.h
9191 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9192 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9194 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9195 echo $ECHO_N "(cached) $ECHO_C" >&6
9197 cat >conftest.$ac_ext <<_ACEOF
9200 cat confdefs.h >>conftest.$ac_ext
9201 cat >>conftest.$ac_ext <<_ACEOF
9202 /* end confdefs.h. */
9203 #ifdef HAVE_X11_XLIB_H
9204 # include <X11/Xlib.h>
9206 #ifdef HAVE_X11_XUTIL_H
9207 # include <X11/Xutil.h>
9210 #include <$ac_header>
9212 rm -f conftest.$ac_objext
9213 if { (ac_try="$ac_compile"
9215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9216 *) ac_try_echo=$ac_try;;
9218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9219 (eval "$ac_compile") 2>conftest.er1
9221 grep -v '^ *+' conftest.er1 >conftest.err
9223 cat conftest.err >&5
9224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9225 (exit $ac_status); } &&
9226 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9227 { (case "(($ac_try" in
9228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9229 *) ac_try_echo=$ac_try;;
9231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9232 (eval "$ac_try") 2>&5
9234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9235 (exit $ac_status); }; } &&
9236 { ac_try='test -s conftest.$ac_objext'
9237 { (case "(($ac_try" in
9238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9239 *) ac_try_echo=$ac_try;;
9241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9242 (eval "$ac_try") 2>&5
9244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9245 (exit $ac_status); }; }; then
9246 eval "$as_ac_Header=yes"
9248 echo "$as_me: failed program was:" >&5
9249 sed 's/^/| /' conftest.$ac_ext >&5
9251 eval "$as_ac_Header=no"
9254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9256 ac_res=`eval echo '${'$as_ac_Header'}'`
9257 { echo "$as_me:$LINENO: result: $ac_res" >&5
9258 echo "${ECHO_T}$ac_res" >&6; }
9259 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9260 cat >>confdefs.h <<_ACEOF
9261 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9269 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9271 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9272 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9273 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9274 echo $ECHO_N "(cached) $ECHO_C" >&6
9276 ac_check_lib_save_LIBS=$LIBS
9277 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9278 cat >conftest.$ac_ext <<_ACEOF
9281 cat confdefs.h >>conftest.$ac_ext
9282 cat >>conftest.$ac_ext <<_ACEOF
9283 /* end confdefs.h. */
9285 /* Override any GCC internal prototype to avoid an error.
9286 Use char because int might match the return type of a GCC
9287 builtin and then its argument prototype would still apply. */
9291 char XkbQueryExtension ();
9295 return XkbQueryExtension ();
9300 rm -f conftest.$ac_objext conftest$ac_exeext
9301 if { (ac_try="$ac_link"
9303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9304 *) ac_try_echo=$ac_try;;
9306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9307 (eval "$ac_link") 2>conftest.er1
9309 grep -v '^ *+' conftest.er1 >conftest.err
9311 cat conftest.err >&5
9312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9313 (exit $ac_status); } &&
9314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9315 { (case "(($ac_try" in
9316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9317 *) ac_try_echo=$ac_try;;
9319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9320 (eval "$ac_try") 2>&5
9322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9323 (exit $ac_status); }; } &&
9324 { ac_try='test -s conftest$ac_exeext'
9325 { (case "(($ac_try" in
9326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9327 *) ac_try_echo=$ac_try;;
9329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9330 (eval "$ac_try") 2>&5
9332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9333 (exit $ac_status); }; }; then
9334 ac_cv_lib_X11_XkbQueryExtension=yes
9336 echo "$as_me: failed program was:" >&5
9337 sed 's/^/| /' conftest.$ac_ext >&5
9339 ac_cv_lib_X11_XkbQueryExtension=no
9342 rm -f core conftest.err conftest.$ac_objext \
9343 conftest$ac_exeext conftest.$ac_ext
9344 LIBS=$ac_check_lib_save_LIBS
9346 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9347 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9348 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9350 cat >>confdefs.h <<\_ACEOF
9358 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9360 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9361 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9362 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9363 echo $ECHO_N "(cached) $ECHO_C" >&6
9365 ac_check_lib_save_LIBS=$LIBS
9366 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9367 cat >conftest.$ac_ext <<_ACEOF
9370 cat confdefs.h >>conftest.$ac_ext
9371 cat >>conftest.$ac_ext <<_ACEOF
9372 /* end confdefs.h. */
9374 /* Override any GCC internal prototype to avoid an error.
9375 Use char because int might match the return type of a GCC
9376 builtin and then its argument prototype would still apply. */
9380 char XShmQueryExtension ();
9384 return XShmQueryExtension ();
9389 rm -f conftest.$ac_objext conftest$ac_exeext
9390 if { (ac_try="$ac_link"
9392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9393 *) ac_try_echo=$ac_try;;
9395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9396 (eval "$ac_link") 2>conftest.er1
9398 grep -v '^ *+' conftest.er1 >conftest.err
9400 cat conftest.err >&5
9401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9402 (exit $ac_status); } &&
9403 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9404 { (case "(($ac_try" in
9405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9406 *) ac_try_echo=$ac_try;;
9408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9409 (eval "$ac_try") 2>&5
9411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9412 (exit $ac_status); }; } &&
9413 { ac_try='test -s conftest$ac_exeext'
9414 { (case "(($ac_try" in
9415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9416 *) ac_try_echo=$ac_try;;
9418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9419 (eval "$ac_try") 2>&5
9421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9422 (exit $ac_status); }; }; then
9423 ac_cv_lib_Xext_XShmQueryExtension=yes
9425 echo "$as_me: failed program was:" >&5
9426 sed 's/^/| /' conftest.$ac_ext >&5
9428 ac_cv_lib_Xext_XShmQueryExtension=no
9431 rm -f core conftest.err conftest.$ac_objext \
9432 conftest$ac_exeext conftest.$ac_ext
9433 LIBS=$ac_check_lib_save_LIBS
9435 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9436 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9437 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9439 cat >>confdefs.h <<\_ACEOF
9440 #define HAVE_LIBXXSHM 1
9447 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9449 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9450 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9451 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9452 echo $ECHO_N "(cached) $ECHO_C" >&6
9454 ac_check_lib_save_LIBS=$LIBS
9455 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9456 cat >conftest.$ac_ext <<_ACEOF
9459 cat confdefs.h >>conftest.$ac_ext
9460 cat >>conftest.$ac_ext <<_ACEOF
9461 /* end confdefs.h. */
9463 /* Override any GCC internal prototype to avoid an error.
9464 Use char because int might match the return type of a GCC
9465 builtin and then its argument prototype would still apply. */
9469 char XShapeQueryExtension ();
9473 return XShapeQueryExtension ();
9478 rm -f conftest.$ac_objext conftest$ac_exeext
9479 if { (ac_try="$ac_link"
9481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9482 *) ac_try_echo=$ac_try;;
9484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9485 (eval "$ac_link") 2>conftest.er1
9487 grep -v '^ *+' conftest.er1 >conftest.err
9489 cat conftest.err >&5
9490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9491 (exit $ac_status); } &&
9492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9493 { (case "(($ac_try" in
9494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9495 *) ac_try_echo=$ac_try;;
9497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9498 (eval "$ac_try") 2>&5
9500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9501 (exit $ac_status); }; } &&
9502 { ac_try='test -s conftest$ac_exeext'
9503 { (case "(($ac_try" in
9504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9505 *) ac_try_echo=$ac_try;;
9507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9508 (eval "$ac_try") 2>&5
9510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9511 (exit $ac_status); }; }; then
9512 ac_cv_lib_Xext_XShapeQueryExtension=yes
9514 echo "$as_me: failed program was:" >&5
9515 sed 's/^/| /' conftest.$ac_ext >&5
9517 ac_cv_lib_Xext_XShapeQueryExtension=no
9520 rm -f core conftest.err conftest.$ac_objext \
9521 conftest$ac_exeext conftest.$ac_ext
9522 LIBS=$ac_check_lib_save_LIBS
9524 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9525 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9526 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9528 cat >>confdefs.h <<\_ACEOF
9529 #define HAVE_LIBXSHAPE 1
9536 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9538 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9539 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9540 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9541 echo $ECHO_N "(cached) $ECHO_C" >&6
9543 ac_check_lib_save_LIBS=$LIBS
9544 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9545 cat >conftest.$ac_ext <<_ACEOF
9548 cat confdefs.h >>conftest.$ac_ext
9549 cat >>conftest.$ac_ext <<_ACEOF
9550 /* end confdefs.h. */
9552 /* Override any GCC internal prototype to avoid an error.
9553 Use char because int might match the return type of a GCC
9554 builtin and then its argument prototype would still apply. */
9558 char XF86VidModeQueryExtension ();
9562 return XF86VidModeQueryExtension ();
9567 rm -f conftest.$ac_objext conftest$ac_exeext
9568 if { (ac_try="$ac_link"
9570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9571 *) ac_try_echo=$ac_try;;
9573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9574 (eval "$ac_link") 2>conftest.er1
9576 grep -v '^ *+' conftest.er1 >conftest.err
9578 cat conftest.err >&5
9579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9580 (exit $ac_status); } &&
9581 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9582 { (case "(($ac_try" in
9583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9584 *) ac_try_echo=$ac_try;;
9586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9587 (eval "$ac_try") 2>&5
9589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9590 (exit $ac_status); }; } &&
9591 { ac_try='test -s conftest$ac_exeext'
9592 { (case "(($ac_try" in
9593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9594 *) ac_try_echo=$ac_try;;
9596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9597 (eval "$ac_try") 2>&5
9599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9600 (exit $ac_status); }; }; then
9601 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9603 echo "$as_me: failed program was:" >&5
9604 sed 's/^/| /' conftest.$ac_ext >&5
9606 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9609 rm -f core conftest.err conftest.$ac_objext \
9610 conftest$ac_exeext conftest.$ac_ext
9611 LIBS=$ac_check_lib_save_LIBS
9613 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9614 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9615 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9617 cat >>confdefs.h <<\_ACEOF
9618 #define HAVE_LIBXXF86VM 1
9621 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9627 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9629 cat >conftest.$ac_ext <<_ACEOF
9632 cat confdefs.h >>conftest.$ac_ext
9633 cat >>conftest.$ac_ext <<_ACEOF
9634 /* end confdefs.h. */
9635 #include <X11/Xlib.h>
9636 #include <X11/extensions/Xrandr.h>
9640 static typeof(XRRSetScreenConfigAndRate) * func;
9645 rm -f conftest.$ac_objext
9646 if { (ac_try="$ac_compile"
9648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9649 *) ac_try_echo=$ac_try;;
9651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9652 (eval "$ac_compile") 2>conftest.er1
9654 grep -v '^ *+' conftest.er1 >conftest.err
9656 cat conftest.err >&5
9657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9658 (exit $ac_status); } &&
9659 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9660 { (case "(($ac_try" in
9661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9662 *) ac_try_echo=$ac_try;;
9664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9665 (eval "$ac_try") 2>&5
9667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9668 (exit $ac_status); }; } &&
9669 { ac_try='test -s conftest.$ac_objext'
9670 { (case "(($ac_try" in
9671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9672 *) ac_try_echo=$ac_try;;
9674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9675 (eval "$ac_try") 2>&5
9677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9678 (exit $ac_status); }; }; then
9680 cat >>confdefs.h <<\_ACEOF
9681 #define HAVE_LIBXRANDR 1
9685 echo "$as_me: failed program was:" >&5
9686 sed 's/^/| /' conftest.$ac_ext >&5
9691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9694 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9696 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9697 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9698 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9699 echo $ECHO_N "(cached) $ECHO_C" >&6
9701 ac_check_lib_save_LIBS=$LIBS
9702 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9703 cat >conftest.$ac_ext <<_ACEOF
9706 cat confdefs.h >>conftest.$ac_ext
9707 cat >>conftest.$ac_ext <<_ACEOF
9708 /* end confdefs.h. */
9710 /* Override any GCC internal prototype to avoid an error.
9711 Use char because int might match the return type of a GCC
9712 builtin and then its argument prototype would still apply. */
9716 char XRenderSetPictureTransform ();
9720 return XRenderSetPictureTransform ();
9725 rm -f conftest.$ac_objext conftest$ac_exeext
9726 if { (ac_try="$ac_link"
9728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9729 *) ac_try_echo=$ac_try;;
9731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9732 (eval "$ac_link") 2>conftest.er1
9734 grep -v '^ *+' conftest.er1 >conftest.err
9736 cat conftest.err >&5
9737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9738 (exit $ac_status); } &&
9739 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9740 { (case "(($ac_try" in
9741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9742 *) ac_try_echo=$ac_try;;
9744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9745 (eval "$ac_try") 2>&5
9747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9748 (exit $ac_status); }; } &&
9749 { ac_try='test -s conftest$ac_exeext'
9750 { (case "(($ac_try" in
9751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9752 *) ac_try_echo=$ac_try;;
9754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9755 (eval "$ac_try") 2>&5
9757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9758 (exit $ac_status); }; }; then
9759 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9761 echo "$as_me: failed program was:" >&5
9762 sed 's/^/| /' conftest.$ac_ext >&5
9764 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9767 rm -f core conftest.err conftest.$ac_objext \
9768 conftest$ac_exeext conftest.$ac_ext
9769 LIBS=$ac_check_lib_save_LIBS
9771 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9772 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9773 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9775 cat >>confdefs.h <<\_ACEOF
9776 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9783 if test "x$with_opengl" != "xno"
9789 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9791 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9792 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9794 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9795 echo $ECHO_N "(cached) $ECHO_C" >&6
9797 cat >conftest.$ac_ext <<_ACEOF
9800 cat confdefs.h >>conftest.$ac_ext
9801 cat >>conftest.$ac_ext <<_ACEOF
9802 /* end confdefs.h. */
9803 #ifdef HAVE_GL_GLX_H
9804 # include <GL/glx.h>
9807 #include <$ac_header>
9809 rm -f conftest.$ac_objext
9810 if { (ac_try="$ac_compile"
9812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9813 *) ac_try_echo=$ac_try;;
9815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9816 (eval "$ac_compile") 2>conftest.er1
9818 grep -v '^ *+' conftest.er1 >conftest.err
9820 cat conftest.err >&5
9821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9822 (exit $ac_status); } &&
9823 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9824 { (case "(($ac_try" in
9825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9826 *) ac_try_echo=$ac_try;;
9828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9829 (eval "$ac_try") 2>&5
9831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9832 (exit $ac_status); }; } &&
9833 { ac_try='test -s conftest.$ac_objext'
9834 { (case "(($ac_try" in
9835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9836 *) ac_try_echo=$ac_try;;
9838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9839 (eval "$ac_try") 2>&5
9841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9842 (exit $ac_status); }; }; then
9843 eval "$as_ac_Header=yes"
9845 echo "$as_me: failed program was:" >&5
9846 sed 's/^/| /' conftest.$ac_ext >&5
9848 eval "$as_ac_Header=no"
9851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9853 ac_res=`eval echo '${'$as_ac_Header'}'`
9854 { echo "$as_me:$LINENO: result: $ac_res" >&5
9855 echo "${ECHO_T}$ac_res" >&6; }
9856 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9857 cat >>confdefs.h <<_ACEOF
9858 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9865 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9867 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9868 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9869 if test "${wine_cv_opengl_version_OK+set}" = set; then
9870 echo $ECHO_N "(cached) $ECHO_C" >&6
9872 cat >conftest.$ac_ext <<_ACEOF
9875 cat confdefs.h >>conftest.$ac_ext
9876 cat >>conftest.$ac_ext <<_ACEOF
9877 /* end confdefs.h. */
9882 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9887 rm -f conftest.$ac_objext
9888 if { (ac_try="$ac_compile"
9890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9891 *) ac_try_echo=$ac_try;;
9893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9894 (eval "$ac_compile") 2>conftest.er1
9896 grep -v '^ *+' conftest.er1 >conftest.err
9898 cat conftest.err >&5
9899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9900 (exit $ac_status); } &&
9901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9902 { (case "(($ac_try" in
9903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9904 *) ac_try_echo=$ac_try;;
9906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9907 (eval "$ac_try") 2>&5
9909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9910 (exit $ac_status); }; } &&
9911 { ac_try='test -s conftest.$ac_objext'
9912 { (case "(($ac_try" in
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_try") 2>&5
9919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9920 (exit $ac_status); }; }; then
9921 wine_cv_opengl_version_OK="yes"
9923 echo "$as_me: failed program was:" >&5
9924 sed 's/^/| /' conftest.$ac_ext >&5
9926 wine_cv_opengl_version_OK="no"
9930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9933 { echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
9934 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6; }
9936 if test "$wine_cv_opengl_version_OK" = "yes"
9938 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
9939 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
9940 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
9941 echo $ECHO_N "(cached) $ECHO_C" >&6
9943 ac_check_lib_save_LIBS=$LIBS
9944 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
9945 cat >conftest.$ac_ext <<_ACEOF
9948 cat confdefs.h >>conftest.$ac_ext
9949 cat >>conftest.$ac_ext <<_ACEOF
9950 /* end confdefs.h. */
9952 /* Override any GCC internal prototype to avoid an error.
9953 Use char because int might match the return type of a GCC
9954 builtin and then its argument prototype would still apply. */
9958 char glXCreateContext ();
9962 return glXCreateContext ();
9967 rm -f conftest.$ac_objext conftest$ac_exeext
9968 if { (ac_try="$ac_link"
9970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9971 *) ac_try_echo=$ac_try;;
9973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9974 (eval "$ac_link") 2>conftest.er1
9976 grep -v '^ *+' conftest.er1 >conftest.err
9978 cat conftest.err >&5
9979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9980 (exit $ac_status); } &&
9981 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9982 { (case "(($ac_try" in
9983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9984 *) ac_try_echo=$ac_try;;
9986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9987 (eval "$ac_try") 2>&5
9989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9990 (exit $ac_status); }; } &&
9991 { ac_try='test -s conftest$ac_exeext'
9992 { (case "(($ac_try" in
9993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9994 *) ac_try_echo=$ac_try;;
9996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9997 (eval "$ac_try") 2>&5
9999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10000 (exit $ac_status); }; }; then
10001 ac_cv_lib_GL_glXCreateContext=yes
10003 echo "$as_me: failed program was:" >&5
10004 sed 's/^/| /' conftest.$ac_ext >&5
10006 ac_cv_lib_GL_glXCreateContext=no
10009 rm -f core conftest.err conftest.$ac_objext \
10010 conftest$ac_exeext conftest.$ac_ext
10011 LIBS=$ac_check_lib_save_LIBS
10013 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
10014 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
10015 if test $ac_cv_lib_GL_glXCreateContext = yes; then
10021 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
10023 OPENGLFILES='$(OPENGLFILES)'
10025 cat >>confdefs.h <<\_ACEOF
10026 #define HAVE_OPENGL 1
10030 if test -f /usr/X11R6/lib/libGL.a
10032 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
10033 This prevents linking to OpenGL. Delete the file and restart configure." >&5
10034 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
10035 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
10036 { (exit 1); exit 1; }; }
10040 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10041 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10042 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10043 echo $ECHO_N "(cached) $ECHO_C" >&6
10045 ac_check_lib_save_LIBS=$LIBS
10046 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
10048 cat >conftest.$ac_ext <<_ACEOF
10051 cat confdefs.h >>conftest.$ac_ext
10052 cat >>conftest.$ac_ext <<_ACEOF
10053 /* end confdefs.h. */
10055 /* Override any GCC internal prototype to avoid an error.
10056 Use char because int might match the return type of a GCC
10057 builtin and then its argument prototype would still apply. */
10065 return gluLookAt ();
10070 rm -f conftest.$ac_objext conftest$ac_exeext
10071 if { (ac_try="$ac_link"
10072 case "(($ac_try" in
10073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10074 *) ac_try_echo=$ac_try;;
10076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10077 (eval "$ac_link") 2>conftest.er1
10079 grep -v '^ *+' conftest.er1 >conftest.err
10081 cat conftest.err >&5
10082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10083 (exit $ac_status); } &&
10084 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10085 { (case "(($ac_try" in
10086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10087 *) ac_try_echo=$ac_try;;
10089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10090 (eval "$ac_try") 2>&5
10092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10093 (exit $ac_status); }; } &&
10094 { ac_try='test -s conftest$ac_exeext'
10095 { (case "(($ac_try" in
10096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10097 *) ac_try_echo=$ac_try;;
10099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10100 (eval "$ac_try") 2>&5
10102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10103 (exit $ac_status); }; }; then
10104 ac_cv_lib_GLU_gluLookAt=yes
10106 echo "$as_me: failed program was:" >&5
10107 sed 's/^/| /' conftest.$ac_ext >&5
10109 ac_cv_lib_GLU_gluLookAt=no
10112 rm -f core conftest.err conftest.$ac_objext \
10113 conftest$ac_exeext conftest.$ac_ext
10114 LIBS=$ac_check_lib_save_LIBS
10116 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10117 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10118 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10119 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10120 GLU32FILES='$(GLU32FILES)'
10126 { echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
10127 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6; }
10128 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
10129 echo $ECHO_N "(cached) $ECHO_C" >&6
10131 ac_check_lib_save_LIBS=$LIBS
10132 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
10133 cat >conftest.$ac_ext <<_ACEOF
10136 cat confdefs.h >>conftest.$ac_ext
10137 cat >>conftest.$ac_ext <<_ACEOF
10138 /* end confdefs.h. */
10140 /* Override any GCC internal prototype to avoid an error.
10141 Use char because int might match the return type of a GCC
10142 builtin and then its argument prototype would still apply. */
10146 char glutMainLoop ();
10150 return glutMainLoop ();
10155 rm -f conftest.$ac_objext conftest$ac_exeext
10156 if { (ac_try="$ac_link"
10157 case "(($ac_try" in
10158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10159 *) ac_try_echo=$ac_try;;
10161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10162 (eval "$ac_link") 2>conftest.er1
10164 grep -v '^ *+' conftest.er1 >conftest.err
10166 cat conftest.err >&5
10167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10168 (exit $ac_status); } &&
10169 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10170 { (case "(($ac_try" in
10171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10172 *) ac_try_echo=$ac_try;;
10174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10175 (eval "$ac_try") 2>&5
10177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10178 (exit $ac_status); }; } &&
10179 { ac_try='test -s conftest$ac_exeext'
10180 { (case "(($ac_try" in
10181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10182 *) ac_try_echo=$ac_try;;
10184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10185 (eval "$ac_try") 2>&5
10187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10188 (exit $ac_status); }; }; then
10189 ac_cv_lib_glut_glutMainLoop=yes
10191 echo "$as_me: failed program was:" >&5
10192 sed 's/^/| /' conftest.$ac_ext >&5
10194 ac_cv_lib_glut_glutMainLoop=no
10197 rm -f core conftest.err conftest.$ac_objext \
10198 conftest$ac_exeext conftest.$ac_ext
10199 LIBS=$ac_check_lib_save_LIBS
10201 { echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
10202 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6; }
10203 if test $ac_cv_lib_glut_glutMainLoop = yes; then
10204 GLUT_LIBS="-lglut -lXmu -lXi"
10206 GLUT32FILES='$(GLUT32FILES)'
10216 for ac_header in audio/audiolib.h
10218 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10219 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10220 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10222 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10223 echo $ECHO_N "(cached) $ECHO_C" >&6
10225 ac_res=`eval echo '${'$as_ac_Header'}'`
10226 { echo "$as_me:$LINENO: result: $ac_res" >&5
10227 echo "${ECHO_T}$ac_res" >&6; }
10229 # Is the header compilable?
10230 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10231 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10232 cat >conftest.$ac_ext <<_ACEOF
10235 cat confdefs.h >>conftest.$ac_ext
10236 cat >>conftest.$ac_ext <<_ACEOF
10237 /* end confdefs.h. */
10238 $ac_includes_default
10239 #include <$ac_header>
10241 rm -f conftest.$ac_objext
10242 if { (ac_try="$ac_compile"
10243 case "(($ac_try" in
10244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10245 *) ac_try_echo=$ac_try;;
10247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10248 (eval "$ac_compile") 2>conftest.er1
10250 grep -v '^ *+' conftest.er1 >conftest.err
10252 cat conftest.err >&5
10253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10254 (exit $ac_status); } &&
10255 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10256 { (case "(($ac_try" in
10257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10258 *) ac_try_echo=$ac_try;;
10260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10261 (eval "$ac_try") 2>&5
10263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10264 (exit $ac_status); }; } &&
10265 { ac_try='test -s conftest.$ac_objext'
10266 { (case "(($ac_try" in
10267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10268 *) ac_try_echo=$ac_try;;
10270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10271 (eval "$ac_try") 2>&5
10273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10274 (exit $ac_status); }; }; then
10275 ac_header_compiler=yes
10277 echo "$as_me: failed program was:" >&5
10278 sed 's/^/| /' conftest.$ac_ext >&5
10280 ac_header_compiler=no
10283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10284 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10285 echo "${ECHO_T}$ac_header_compiler" >&6; }
10287 # Is the header present?
10288 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10289 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10290 cat >conftest.$ac_ext <<_ACEOF
10293 cat confdefs.h >>conftest.$ac_ext
10294 cat >>conftest.$ac_ext <<_ACEOF
10295 /* end confdefs.h. */
10296 #include <$ac_header>
10298 if { (ac_try="$ac_cpp conftest.$ac_ext"
10299 case "(($ac_try" in
10300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10301 *) ac_try_echo=$ac_try;;
10303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10304 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10306 grep -v '^ *+' conftest.er1 >conftest.err
10308 cat conftest.err >&5
10309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10310 (exit $ac_status); } >/dev/null; then
10311 if test -s conftest.err; then
10312 ac_cpp_err=$ac_c_preproc_warn_flag
10313 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10320 if test -z "$ac_cpp_err"; then
10321 ac_header_preproc=yes
10323 echo "$as_me: failed program was:" >&5
10324 sed 's/^/| /' conftest.$ac_ext >&5
10326 ac_header_preproc=no
10329 rm -f conftest.err conftest.$ac_ext
10330 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10331 echo "${ECHO_T}$ac_header_preproc" >&6; }
10333 # So? What about this header?
10334 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10336 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10337 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10338 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10339 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10340 ac_header_preproc=yes
10343 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10344 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10345 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10346 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10347 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10348 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10349 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10350 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10351 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10352 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10353 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10354 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10356 ## ------------------------------------ ##
10357 ## Report this to wine-devel@winehq.org ##
10358 ## ------------------------------------ ##
10360 ) | sed "s/^/$as_me: WARNING: /" >&2
10363 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10365 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10366 echo $ECHO_N "(cached) $ECHO_C" >&6
10368 eval "$as_ac_Header=\$ac_header_preproc"
10370 ac_res=`eval echo '${'$as_ac_Header'}'`
10371 { echo "$as_me:$LINENO: result: $ac_res" >&5
10372 echo "${ECHO_T}$ac_res" >&6; }
10375 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10376 cat >>confdefs.h <<_ACEOF
10377 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10380 for ac_header in audio/soundlib.h
10382 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10383 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10384 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10385 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10386 echo $ECHO_N "(cached) $ECHO_C" >&6
10388 cat >conftest.$ac_ext <<_ACEOF
10391 cat confdefs.h >>conftest.$ac_ext
10392 cat >>conftest.$ac_ext <<_ACEOF
10393 /* end confdefs.h. */
10394 #include <audio/audiolib.h>
10396 #include <$ac_header>
10398 rm -f conftest.$ac_objext
10399 if { (ac_try="$ac_compile"
10400 case "(($ac_try" in
10401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10402 *) ac_try_echo=$ac_try;;
10404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10405 (eval "$ac_compile") 2>conftest.er1
10407 grep -v '^ *+' conftest.er1 >conftest.err
10409 cat conftest.err >&5
10410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10411 (exit $ac_status); } &&
10412 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10413 { (case "(($ac_try" in
10414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10415 *) ac_try_echo=$ac_try;;
10417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10418 (eval "$ac_try") 2>&5
10420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10421 (exit $ac_status); }; } &&
10422 { ac_try='test -s conftest.$ac_objext'
10423 { (case "(($ac_try" in
10424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10425 *) ac_try_echo=$ac_try;;
10427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10428 (eval "$ac_try") 2>&5
10430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10431 (exit $ac_status); }; }; then
10432 eval "$as_ac_Header=yes"
10434 echo "$as_me: failed program was:" >&5
10435 sed 's/^/| /' conftest.$ac_ext >&5
10437 eval "$as_ac_Header=no"
10440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10442 ac_res=`eval echo '${'$as_ac_Header'}'`
10443 { echo "$as_me:$LINENO: result: $ac_res" >&5
10444 echo "${ECHO_T}$ac_res" >&6; }
10445 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10446 cat >>confdefs.h <<_ACEOF
10447 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10454 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10455 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10456 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10457 echo $ECHO_N "(cached) $ECHO_C" >&6
10459 ac_check_lib_save_LIBS=$LIBS
10460 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10461 cat >conftest.$ac_ext <<_ACEOF
10464 cat confdefs.h >>conftest.$ac_ext
10465 cat >>conftest.$ac_ext <<_ACEOF
10466 /* end confdefs.h. */
10468 /* Override any GCC internal prototype to avoid an error.
10469 Use char because int might match the return type of a GCC
10470 builtin and then its argument prototype would still apply. */
10474 char AuCreateFlow ();
10478 return AuCreateFlow ();
10483 rm -f conftest.$ac_objext conftest$ac_exeext
10484 if { (ac_try="$ac_link"
10485 case "(($ac_try" in
10486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10487 *) ac_try_echo=$ac_try;;
10489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10490 (eval "$ac_link") 2>conftest.er1
10492 grep -v '^ *+' conftest.er1 >conftest.err
10494 cat conftest.err >&5
10495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10496 (exit $ac_status); } &&
10497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10498 { (case "(($ac_try" in
10499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10500 *) ac_try_echo=$ac_try;;
10502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10503 (eval "$ac_try") 2>&5
10505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10506 (exit $ac_status); }; } &&
10507 { ac_try='test -s conftest$ac_exeext'
10508 { (case "(($ac_try" in
10509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10510 *) ac_try_echo=$ac_try;;
10512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10513 (eval "$ac_try") 2>&5
10515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10516 (exit $ac_status); }; }; then
10517 ac_cv_lib_audio_AuCreateFlow=yes
10519 echo "$as_me: failed program was:" >&5
10520 sed 's/^/| /' conftest.$ac_ext >&5
10522 ac_cv_lib_audio_AuCreateFlow=no
10525 rm -f core conftest.err conftest.$ac_objext \
10526 conftest$ac_exeext conftest.$ac_ext
10527 LIBS=$ac_check_lib_save_LIBS
10529 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10530 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10531 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10533 cat >>confdefs.h <<\_ACEOF
10537 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10545 CPPFLAGS="$ac_save_CPPFLAGS"
10562 if test "$PKG_CONFIG" != "false"
10564 ac_save_CPPFLAGS="$CPPFLAGS"
10565 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10566 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10567 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10569 for ac_header in libxml/parser.h
10571 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10572 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10573 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10575 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10576 echo $ECHO_N "(cached) $ECHO_C" >&6
10578 ac_res=`eval echo '${'$as_ac_Header'}'`
10579 { echo "$as_me:$LINENO: result: $ac_res" >&5
10580 echo "${ECHO_T}$ac_res" >&6; }
10582 # Is the header compilable?
10583 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10584 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10585 cat >conftest.$ac_ext <<_ACEOF
10588 cat confdefs.h >>conftest.$ac_ext
10589 cat >>conftest.$ac_ext <<_ACEOF
10590 /* end confdefs.h. */
10591 $ac_includes_default
10592 #include <$ac_header>
10594 rm -f conftest.$ac_objext
10595 if { (ac_try="$ac_compile"
10596 case "(($ac_try" in
10597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10598 *) ac_try_echo=$ac_try;;
10600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10601 (eval "$ac_compile") 2>conftest.er1
10603 grep -v '^ *+' conftest.er1 >conftest.err
10605 cat conftest.err >&5
10606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10607 (exit $ac_status); } &&
10608 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10609 { (case "(($ac_try" in
10610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10611 *) ac_try_echo=$ac_try;;
10613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10614 (eval "$ac_try") 2>&5
10616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10617 (exit $ac_status); }; } &&
10618 { ac_try='test -s conftest.$ac_objext'
10619 { (case "(($ac_try" in
10620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10621 *) ac_try_echo=$ac_try;;
10623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10624 (eval "$ac_try") 2>&5
10626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10627 (exit $ac_status); }; }; then
10628 ac_header_compiler=yes
10630 echo "$as_me: failed program was:" >&5
10631 sed 's/^/| /' conftest.$ac_ext >&5
10633 ac_header_compiler=no
10636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10637 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10638 echo "${ECHO_T}$ac_header_compiler" >&6; }
10640 # Is the header present?
10641 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10642 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10643 cat >conftest.$ac_ext <<_ACEOF
10646 cat confdefs.h >>conftest.$ac_ext
10647 cat >>conftest.$ac_ext <<_ACEOF
10648 /* end confdefs.h. */
10649 #include <$ac_header>
10651 if { (ac_try="$ac_cpp conftest.$ac_ext"
10652 case "(($ac_try" in
10653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10654 *) ac_try_echo=$ac_try;;
10656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10657 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10659 grep -v '^ *+' conftest.er1 >conftest.err
10661 cat conftest.err >&5
10662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10663 (exit $ac_status); } >/dev/null; then
10664 if test -s conftest.err; then
10665 ac_cpp_err=$ac_c_preproc_warn_flag
10666 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10673 if test -z "$ac_cpp_err"; then
10674 ac_header_preproc=yes
10676 echo "$as_me: failed program was:" >&5
10677 sed 's/^/| /' conftest.$ac_ext >&5
10679 ac_header_preproc=no
10682 rm -f conftest.err conftest.$ac_ext
10683 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10684 echo "${ECHO_T}$ac_header_preproc" >&6; }
10686 # So? What about this header?
10687 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10689 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10690 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10691 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10692 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10693 ac_header_preproc=yes
10696 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10697 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10698 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10699 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10700 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10701 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10702 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10703 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10705 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10706 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10707 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10709 ## ------------------------------------ ##
10710 ## Report this to wine-devel@winehq.org ##
10711 ## ------------------------------------ ##
10713 ) | sed "s/^/$as_me: WARNING: /" >&2
10716 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10718 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10719 echo $ECHO_N "(cached) $ECHO_C" >&6
10721 eval "$as_ac_Header=\$ac_header_preproc"
10723 ac_res=`eval echo '${'$as_ac_Header'}'`
10724 { echo "$as_me:$LINENO: result: $ac_res" >&5
10725 echo "${ECHO_T}$ac_res" >&6; }
10728 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10729 cat >>confdefs.h <<_ACEOF
10730 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10732 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10733 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10734 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10735 echo $ECHO_N "(cached) $ECHO_C" >&6
10737 ac_check_lib_save_LIBS=$LIBS
10738 LIBS="-lxml2 $ac_xml_libs $LIBS"
10739 cat >conftest.$ac_ext <<_ACEOF
10742 cat confdefs.h >>conftest.$ac_ext
10743 cat >>conftest.$ac_ext <<_ACEOF
10744 /* end confdefs.h. */
10746 /* Override any GCC internal prototype to avoid an error.
10747 Use char because int might match the return type of a GCC
10748 builtin and then its argument prototype would still apply. */
10752 char xmlParseMemory ();
10756 return xmlParseMemory ();
10761 rm -f conftest.$ac_objext conftest$ac_exeext
10762 if { (ac_try="$ac_link"
10763 case "(($ac_try" in
10764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10765 *) ac_try_echo=$ac_try;;
10767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10768 (eval "$ac_link") 2>conftest.er1
10770 grep -v '^ *+' conftest.er1 >conftest.err
10772 cat conftest.err >&5
10773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774 (exit $ac_status); } &&
10775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10776 { (case "(($ac_try" in
10777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10778 *) ac_try_echo=$ac_try;;
10780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10781 (eval "$ac_try") 2>&5
10783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784 (exit $ac_status); }; } &&
10785 { ac_try='test -s conftest$ac_exeext'
10786 { (case "(($ac_try" in
10787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10788 *) ac_try_echo=$ac_try;;
10790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10791 (eval "$ac_try") 2>&5
10793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10794 (exit $ac_status); }; }; then
10795 ac_cv_lib_xml2_xmlParseMemory=yes
10797 echo "$as_me: failed program was:" >&5
10798 sed 's/^/| /' conftest.$ac_ext >&5
10800 ac_cv_lib_xml2_xmlParseMemory=no
10803 rm -f core conftest.err conftest.$ac_objext \
10804 conftest$ac_exeext conftest.$ac_ext
10805 LIBS=$ac_check_lib_save_LIBS
10807 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10808 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10809 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10811 cat >>confdefs.h <<\_ACEOF
10812 #define HAVE_LIBXML2 1
10815 XML2LIBS="$ac_xml_libs"
10816 XML2INCL="$ac_xml_cflags"
10819 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10820 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10821 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10822 echo $ECHO_N "(cached) $ECHO_C" >&6
10824 ac_check_lib_save_LIBS=$LIBS
10825 LIBS="-lxml2 $ac_xml_libs $LIBS"
10826 cat >conftest.$ac_ext <<_ACEOF
10829 cat confdefs.h >>conftest.$ac_ext
10830 cat >>conftest.$ac_ext <<_ACEOF
10831 /* end confdefs.h. */
10833 /* Override any GCC internal prototype to avoid an error.
10834 Use char because int might match the return type of a GCC
10835 builtin and then its argument prototype would still apply. */
10839 char xmlReadMemory ();
10843 return xmlReadMemory ();
10848 rm -f conftest.$ac_objext conftest$ac_exeext
10849 if { (ac_try="$ac_link"
10850 case "(($ac_try" in
10851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10852 *) ac_try_echo=$ac_try;;
10854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10855 (eval "$ac_link") 2>conftest.er1
10857 grep -v '^ *+' conftest.er1 >conftest.err
10859 cat conftest.err >&5
10860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10861 (exit $ac_status); } &&
10862 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10863 { (case "(($ac_try" in
10864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10865 *) ac_try_echo=$ac_try;;
10867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10868 (eval "$ac_try") 2>&5
10870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10871 (exit $ac_status); }; } &&
10872 { ac_try='test -s conftest$ac_exeext'
10873 { (case "(($ac_try" in
10874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10875 *) ac_try_echo=$ac_try;;
10877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10878 (eval "$ac_try") 2>&5
10880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10881 (exit $ac_status); }; }; then
10882 ac_cv_lib_xml2_xmlReadMemory=yes
10884 echo "$as_me: failed program was:" >&5
10885 sed 's/^/| /' conftest.$ac_ext >&5
10887 ac_cv_lib_xml2_xmlReadMemory=no
10890 rm -f core conftest.err conftest.$ac_objext \
10891 conftest$ac_exeext conftest.$ac_ext
10892 LIBS=$ac_check_lib_save_LIBS
10894 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10895 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10896 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10898 cat >>confdefs.h <<\_ACEOF
10899 #define HAVE_XMLREADMEMORY 1
10909 CPPFLAGS="$ac_save_CPPFLAGS"
10910 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
10911 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
10912 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
10915 for ac_header in libxslt/pattern.h libxslt/transform.h
10917 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10918 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10920 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10921 echo $ECHO_N "(cached) $ECHO_C" >&6
10923 cat >conftest.$ac_ext <<_ACEOF
10926 cat confdefs.h >>conftest.$ac_ext
10927 cat >>conftest.$ac_ext <<_ACEOF
10928 /* end confdefs.h. */
10929 #ifdef HAVE_LIBXSLT_PATTERN_H
10930 # include <libxslt/pattern.h>
10933 #include <$ac_header>
10935 rm -f conftest.$ac_objext
10936 if { (ac_try="$ac_compile"
10937 case "(($ac_try" in
10938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10939 *) ac_try_echo=$ac_try;;
10941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10942 (eval "$ac_compile") 2>conftest.er1
10944 grep -v '^ *+' conftest.er1 >conftest.err
10946 cat conftest.err >&5
10947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10948 (exit $ac_status); } &&
10949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10950 { (case "(($ac_try" in
10951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10952 *) ac_try_echo=$ac_try;;
10954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10955 (eval "$ac_try") 2>&5
10957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10958 (exit $ac_status); }; } &&
10959 { ac_try='test -s conftest.$ac_objext'
10960 { (case "(($ac_try" in
10961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10962 *) ac_try_echo=$ac_try;;
10964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10965 (eval "$ac_try") 2>&5
10967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10968 (exit $ac_status); }; }; then
10969 eval "$as_ac_Header=yes"
10971 echo "$as_me: failed program was:" >&5
10972 sed 's/^/| /' conftest.$ac_ext >&5
10974 eval "$as_ac_Header=no"
10977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10979 ac_res=`eval echo '${'$as_ac_Header'}'`
10980 { echo "$as_me:$LINENO: result: $ac_res" >&5
10981 echo "${ECHO_T}$ac_res" >&6; }
10982 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10983 cat >>confdefs.h <<_ACEOF
10984 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10986 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10987 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10988 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10989 echo $ECHO_N "(cached) $ECHO_C" >&6
10991 ac_check_lib_save_LIBS=$LIBS
10992 LIBS="-lxslt $ac_xslt_libs $LIBS"
10993 cat >conftest.$ac_ext <<_ACEOF
10996 cat confdefs.h >>conftest.$ac_ext
10997 cat >>conftest.$ac_ext <<_ACEOF
10998 /* end confdefs.h. */
11000 /* Override any GCC internal prototype to avoid an error.
11001 Use char because int might match the return type of a GCC
11002 builtin and then its argument prototype would still apply. */
11006 char xsltCompilePattern ();
11010 return xsltCompilePattern ();
11015 rm -f conftest.$ac_objext conftest$ac_exeext
11016 if { (ac_try="$ac_link"
11017 case "(($ac_try" in
11018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11019 *) ac_try_echo=$ac_try;;
11021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11022 (eval "$ac_link") 2>conftest.er1
11024 grep -v '^ *+' conftest.er1 >conftest.err
11026 cat conftest.err >&5
11027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028 (exit $ac_status); } &&
11029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11030 { (case "(($ac_try" in
11031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11032 *) ac_try_echo=$ac_try;;
11034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11035 (eval "$ac_try") 2>&5
11037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038 (exit $ac_status); }; } &&
11039 { ac_try='test -s conftest$ac_exeext'
11040 { (case "(($ac_try" in
11041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11042 *) ac_try_echo=$ac_try;;
11044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11045 (eval "$ac_try") 2>&5
11047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11048 (exit $ac_status); }; }; then
11049 ac_cv_lib_xslt_xsltCompilePattern=yes
11051 echo "$as_me: failed program was:" >&5
11052 sed 's/^/| /' conftest.$ac_ext >&5
11054 ac_cv_lib_xslt_xsltCompilePattern=no
11057 rm -f core conftest.err conftest.$ac_objext \
11058 conftest$ac_exeext conftest.$ac_ext
11059 LIBS=$ac_check_lib_save_LIBS
11061 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11062 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11063 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11065 cat >>confdefs.h <<\_ACEOF
11066 #define HAVE_LIBXSLT 1
11069 XSLTLIBS="$ac_xslt_libs"
11070 XSLTINCL="$ac_xslt_cflags"
11078 CPPFLAGS="$ac_save_CPPFLAGS"
11083 if test "$PKG_CONFIG" != "false"
11085 ac_save_CPPFLAGS="$CPPFLAGS"
11086 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11087 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11088 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11091 for ac_header in dbus/dbus.h hal/libhal.h
11093 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11094 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11095 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11097 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11098 echo $ECHO_N "(cached) $ECHO_C" >&6
11100 ac_res=`eval echo '${'$as_ac_Header'}'`
11101 { echo "$as_me:$LINENO: result: $ac_res" >&5
11102 echo "${ECHO_T}$ac_res" >&6; }
11104 # Is the header compilable?
11105 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11106 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11107 cat >conftest.$ac_ext <<_ACEOF
11110 cat confdefs.h >>conftest.$ac_ext
11111 cat >>conftest.$ac_ext <<_ACEOF
11112 /* end confdefs.h. */
11113 $ac_includes_default
11114 #include <$ac_header>
11116 rm -f conftest.$ac_objext
11117 if { (ac_try="$ac_compile"
11118 case "(($ac_try" in
11119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11120 *) ac_try_echo=$ac_try;;
11122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11123 (eval "$ac_compile") 2>conftest.er1
11125 grep -v '^ *+' conftest.er1 >conftest.err
11127 cat conftest.err >&5
11128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11129 (exit $ac_status); } &&
11130 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11131 { (case "(($ac_try" in
11132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11133 *) ac_try_echo=$ac_try;;
11135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11136 (eval "$ac_try") 2>&5
11138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11139 (exit $ac_status); }; } &&
11140 { ac_try='test -s conftest.$ac_objext'
11141 { (case "(($ac_try" in
11142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11143 *) ac_try_echo=$ac_try;;
11145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11146 (eval "$ac_try") 2>&5
11148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); }; }; then
11150 ac_header_compiler=yes
11152 echo "$as_me: failed program was:" >&5
11153 sed 's/^/| /' conftest.$ac_ext >&5
11155 ac_header_compiler=no
11158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11159 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11160 echo "${ECHO_T}$ac_header_compiler" >&6; }
11162 # Is the header present?
11163 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11164 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11165 cat >conftest.$ac_ext <<_ACEOF
11168 cat confdefs.h >>conftest.$ac_ext
11169 cat >>conftest.$ac_ext <<_ACEOF
11170 /* end confdefs.h. */
11171 #include <$ac_header>
11173 if { (ac_try="$ac_cpp conftest.$ac_ext"
11174 case "(($ac_try" in
11175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11176 *) ac_try_echo=$ac_try;;
11178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11179 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11181 grep -v '^ *+' conftest.er1 >conftest.err
11183 cat conftest.err >&5
11184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11185 (exit $ac_status); } >/dev/null; then
11186 if test -s conftest.err; then
11187 ac_cpp_err=$ac_c_preproc_warn_flag
11188 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11195 if test -z "$ac_cpp_err"; then
11196 ac_header_preproc=yes
11198 echo "$as_me: failed program was:" >&5
11199 sed 's/^/| /' conftest.$ac_ext >&5
11201 ac_header_preproc=no
11204 rm -f conftest.err conftest.$ac_ext
11205 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11206 echo "${ECHO_T}$ac_header_preproc" >&6; }
11208 # So? What about this header?
11209 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11211 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11212 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11213 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11214 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11215 ac_header_preproc=yes
11218 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11219 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11220 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11221 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11222 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11223 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11224 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11225 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11227 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11228 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11229 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11231 ## ------------------------------------ ##
11232 ## Report this to wine-devel@winehq.org ##
11233 ## ------------------------------------ ##
11235 ) | sed "s/^/$as_me: WARNING: /" >&2
11238 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11240 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11241 echo $ECHO_N "(cached) $ECHO_C" >&6
11243 eval "$as_ac_Header=\$ac_header_preproc"
11245 ac_res=`eval echo '${'$as_ac_Header'}'`
11246 { echo "$as_me:$LINENO: result: $ac_res" >&5
11247 echo "${ECHO_T}$ac_res" >&6; }
11250 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11251 cat >>confdefs.h <<_ACEOF
11252 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11259 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11261 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
11262 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
11263 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
11264 echo $ECHO_N "(cached) $ECHO_C" >&6
11266 ac_check_lib_save_LIBS=$LIBS
11268 cat >conftest.$ac_ext <<_ACEOF
11271 cat confdefs.h >>conftest.$ac_ext
11272 cat >>conftest.$ac_ext <<_ACEOF
11273 /* end confdefs.h. */
11275 /* Override any GCC internal prototype to avoid an error.
11276 Use char because int might match the return type of a GCC
11277 builtin and then its argument prototype would still apply. */
11281 char libhal_ctx_new ();
11285 return libhal_ctx_new ();
11290 rm -f conftest.$ac_objext conftest$ac_exeext
11291 if { (ac_try="$ac_link"
11292 case "(($ac_try" in
11293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11294 *) ac_try_echo=$ac_try;;
11296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11297 (eval "$ac_link") 2>conftest.er1
11299 grep -v '^ *+' conftest.er1 >conftest.err
11301 cat conftest.err >&5
11302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11303 (exit $ac_status); } &&
11304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11305 { (case "(($ac_try" in
11306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11307 *) ac_try_echo=$ac_try;;
11309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11310 (eval "$ac_try") 2>&5
11312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11313 (exit $ac_status); }; } &&
11314 { ac_try='test -s conftest$ac_exeext'
11315 { (case "(($ac_try" in
11316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11317 *) ac_try_echo=$ac_try;;
11319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11320 (eval "$ac_try") 2>&5
11322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11323 (exit $ac_status); }; }; then
11324 ac_cv_lib_hal_libhal_ctx_new=yes
11326 echo "$as_me: failed program was:" >&5
11327 sed 's/^/| /' conftest.$ac_ext >&5
11329 ac_cv_lib_hal_libhal_ctx_new=no
11332 rm -f core conftest.err conftest.$ac_objext \
11333 conftest$ac_exeext conftest.$ac_ext
11334 LIBS=$ac_check_lib_save_LIBS
11336 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
11337 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
11338 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
11339 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11340 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11341 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11342 echo $ECHO_N "(cached) $ECHO_C" >&6
11344 ac_check_lib_save_LIBS=$LIBS
11345 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11346 cat >conftest.$ac_ext <<_ACEOF
11349 cat confdefs.h >>conftest.$ac_ext
11350 cat >>conftest.$ac_ext <<_ACEOF
11351 /* end confdefs.h. */
11353 /* Override any GCC internal prototype to avoid an error.
11354 Use char because int might match the return type of a GCC
11355 builtin and then its argument prototype would still apply. */
11359 char dbus_connection_close ();
11363 return dbus_connection_close ();
11368 rm -f conftest.$ac_objext conftest$ac_exeext
11369 if { (ac_try="$ac_link"
11370 case "(($ac_try" in
11371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11372 *) ac_try_echo=$ac_try;;
11374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11375 (eval "$ac_link") 2>conftest.er1
11377 grep -v '^ *+' conftest.er1 >conftest.err
11379 cat conftest.err >&5
11380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11381 (exit $ac_status); } &&
11382 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11383 { (case "(($ac_try" in
11384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11385 *) ac_try_echo=$ac_try;;
11387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11388 (eval "$ac_try") 2>&5
11390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11391 (exit $ac_status); }; } &&
11392 { ac_try='test -s conftest$ac_exeext'
11393 { (case "(($ac_try" in
11394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11395 *) ac_try_echo=$ac_try;;
11397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11398 (eval "$ac_try") 2>&5
11400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11401 (exit $ac_status); }; }; then
11402 ac_cv_lib_dbus_1_dbus_connection_close=yes
11404 echo "$as_me: failed program was:" >&5
11405 sed 's/^/| /' conftest.$ac_ext >&5
11407 ac_cv_lib_dbus_1_dbus_connection_close=no
11410 rm -f core conftest.err conftest.$ac_objext \
11411 conftest$ac_exeext conftest.$ac_ext
11412 LIBS=$ac_check_lib_save_LIBS
11414 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11415 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11416 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11418 cat >>confdefs.h <<\_ACEOF
11419 #define HAVE_LIBHAL 1
11422 HALINCL="$ac_hal_cflags"
11428 CPPFLAGS="$ac_save_CPPFLAGS"
11432 if test "x$with_curses" != "xno"
11434 if test "$ac_cv_header_ncurses_h" = "yes"
11436 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
11437 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
11438 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
11439 echo $ECHO_N "(cached) $ECHO_C" >&6
11441 ac_check_lib_save_LIBS=$LIBS
11442 LIBS="-lncurses $LIBS"
11443 cat >conftest.$ac_ext <<_ACEOF
11446 cat confdefs.h >>conftest.$ac_ext
11447 cat >>conftest.$ac_ext <<_ACEOF
11448 /* end confdefs.h. */
11450 /* Override any GCC internal prototype to avoid an error.
11451 Use char because int might match the return type of a GCC
11452 builtin and then its argument prototype would still apply. */
11465 rm -f conftest.$ac_objext conftest$ac_exeext
11466 if { (ac_try="$ac_link"
11467 case "(($ac_try" in
11468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11469 *) ac_try_echo=$ac_try;;
11471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11472 (eval "$ac_link") 2>conftest.er1
11474 grep -v '^ *+' conftest.er1 >conftest.err
11476 cat conftest.err >&5
11477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11478 (exit $ac_status); } &&
11479 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11480 { (case "(($ac_try" in
11481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11482 *) ac_try_echo=$ac_try;;
11484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11485 (eval "$ac_try") 2>&5
11487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11488 (exit $ac_status); }; } &&
11489 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
11499 ac_cv_lib_ncurses_waddch=yes
11501 echo "$as_me: failed program was:" >&5
11502 sed 's/^/| /' conftest.$ac_ext >&5
11504 ac_cv_lib_ncurses_waddch=no
11507 rm -f core conftest.err conftest.$ac_objext \
11508 conftest$ac_exeext conftest.$ac_ext
11509 LIBS=$ac_check_lib_save_LIBS
11511 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
11512 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
11513 if test $ac_cv_lib_ncurses_waddch = yes; then
11515 cat >>confdefs.h <<\_ACEOF
11516 #define HAVE_LIBNCURSES 1
11519 CURSESLIBS="-lncurses"
11522 elif test "$ac_cv_header_curses_h" = "yes"
11524 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
11525 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
11526 if test "${ac_cv_lib_curses_waddch+set}" = set; then
11527 echo $ECHO_N "(cached) $ECHO_C" >&6
11529 ac_check_lib_save_LIBS=$LIBS
11530 LIBS="-lcurses $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. */
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_curses_waddch=yes
11589 echo "$as_me: failed program was:" >&5
11590 sed 's/^/| /' conftest.$ac_ext >&5
11592 ac_cv_lib_curses_waddch=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_curses_waddch" >&5
11600 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
11601 if test $ac_cv_lib_curses_waddch = yes; then
11603 cat >>confdefs.h <<\_ACEOF
11604 #define HAVE_LIBCURSES 1
11607 CURSESLIBS="-lcurses"
11611 ac_save_LIBS="$LIBS"
11612 LIBS="$LIBS $CURSESLIBS"
11614 for ac_func in mousemask
11616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11617 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11619 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11620 echo $ECHO_N "(cached) $ECHO_C" >&6
11622 cat >conftest.$ac_ext <<_ACEOF
11625 cat confdefs.h >>conftest.$ac_ext
11626 cat >>conftest.$ac_ext <<_ACEOF
11627 /* end confdefs.h. */
11628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11630 #define $ac_func innocuous_$ac_func
11632 /* System header to define __stub macros and hopefully few prototypes,
11633 which can conflict with char $ac_func (); below.
11634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11635 <limits.h> exists even on freestanding compilers. */
11638 # include <limits.h>
11640 # include <assert.h>
11645 /* Override any GCC internal prototype to avoid an error.
11646 Use char because int might match the return type of a GCC
11647 builtin and then its argument prototype would still apply. */
11652 /* The GNU C library defines this for functions which it implements
11653 to always fail with ENOSYS. Some functions are actually named
11654 something starting with __ and the normal name is an alias. */
11655 #if defined __stub_$ac_func || defined __stub___$ac_func
11662 return $ac_func ();
11667 rm -f conftest.$ac_objext conftest$ac_exeext
11668 if { (ac_try="$ac_link"
11669 case "(($ac_try" in
11670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11671 *) ac_try_echo=$ac_try;;
11673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11674 (eval "$ac_link") 2>conftest.er1
11676 grep -v '^ *+' conftest.er1 >conftest.err
11678 cat conftest.err >&5
11679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11680 (exit $ac_status); } &&
11681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11682 { (case "(($ac_try" in
11683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11684 *) ac_try_echo=$ac_try;;
11686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11687 (eval "$ac_try") 2>&5
11689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11690 (exit $ac_status); }; } &&
11691 { ac_try='test -s conftest$ac_exeext'
11692 { (case "(($ac_try" in
11693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11694 *) ac_try_echo=$ac_try;;
11696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11697 (eval "$ac_try") 2>&5
11699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11700 (exit $ac_status); }; }; then
11701 eval "$as_ac_var=yes"
11703 echo "$as_me: failed program was:" >&5
11704 sed 's/^/| /' conftest.$ac_ext >&5
11706 eval "$as_ac_var=no"
11709 rm -f core conftest.err conftest.$ac_objext \
11710 conftest$ac_exeext conftest.$ac_ext
11712 ac_res=`eval echo '${'$as_ac_var'}'`
11713 { echo "$as_me:$LINENO: result: $ac_res" >&5
11714 echo "${ECHO_T}$ac_res" >&6; }
11715 if test `eval echo '${'$as_ac_var'}'` = yes; then
11716 cat >>confdefs.h <<_ACEOF
11717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11723 LIBS="$ac_save_LIBS"
11727 # Extract the first word of "sane-config", so it can be a program name with args.
11728 set dummy sane-config; ac_word=$2
11729 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11731 if test "${ac_cv_prog_sane_devel+set}" = set; then
11732 echo $ECHO_N "(cached) $ECHO_C" >&6
11734 if test -n "$sane_devel"; then
11735 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11738 for as_dir in $PATH
11741 test -z "$as_dir" && as_dir=.
11742 for ac_exec_ext in '' $ac_executable_extensions; do
11743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11744 ac_cv_prog_sane_devel="sane-config"
11745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11752 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11755 sane_devel=$ac_cv_prog_sane_devel
11756 if test -n "$sane_devel"; then
11757 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11758 echo "${ECHO_T}$sane_devel" >&6; }
11760 { echo "$as_me:$LINENO: result: no" >&5
11761 echo "${ECHO_T}no" >&6; }
11769 if test "$sane_devel" != "no"
11771 SANELIBS="`$sane_devel --libs`"
11772 SANEINCL="`$sane_devel --cflags`"
11773 ac_save_CPPFLAGS="$CPPFLAGS"
11774 ac_save_LIBS="$LIBS"
11775 CPPFLAGS="$CPPFLAGS $SANEINCL"
11776 LIBS="$LIBS $SANELIBS"
11777 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11778 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11779 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11780 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11781 echo $ECHO_N "(cached) $ECHO_C" >&6
11783 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11784 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11786 # Is the header compilable?
11787 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11788 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11789 cat >conftest.$ac_ext <<_ACEOF
11792 cat confdefs.h >>conftest.$ac_ext
11793 cat >>conftest.$ac_ext <<_ACEOF
11794 /* end confdefs.h. */
11795 $ac_includes_default
11796 #include <sane/sane.h>
11798 rm -f conftest.$ac_objext
11799 if { (ac_try="$ac_compile"
11800 case "(($ac_try" in
11801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11802 *) ac_try_echo=$ac_try;;
11804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11805 (eval "$ac_compile") 2>conftest.er1
11807 grep -v '^ *+' conftest.er1 >conftest.err
11809 cat conftest.err >&5
11810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11811 (exit $ac_status); } &&
11812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11813 { (case "(($ac_try" in
11814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11815 *) ac_try_echo=$ac_try;;
11817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11818 (eval "$ac_try") 2>&5
11820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11821 (exit $ac_status); }; } &&
11822 { ac_try='test -s conftest.$ac_objext'
11823 { (case "(($ac_try" in
11824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11825 *) ac_try_echo=$ac_try;;
11827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11828 (eval "$ac_try") 2>&5
11830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11831 (exit $ac_status); }; }; then
11832 ac_header_compiler=yes
11834 echo "$as_me: failed program was:" >&5
11835 sed 's/^/| /' conftest.$ac_ext >&5
11837 ac_header_compiler=no
11840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11841 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11842 echo "${ECHO_T}$ac_header_compiler" >&6; }
11844 # Is the header present?
11845 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11846 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11847 cat >conftest.$ac_ext <<_ACEOF
11850 cat confdefs.h >>conftest.$ac_ext
11851 cat >>conftest.$ac_ext <<_ACEOF
11852 /* end confdefs.h. */
11853 #include <sane/sane.h>
11855 if { (ac_try="$ac_cpp conftest.$ac_ext"
11856 case "(($ac_try" in
11857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11858 *) ac_try_echo=$ac_try;;
11860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11861 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11863 grep -v '^ *+' conftest.er1 >conftest.err
11865 cat conftest.err >&5
11866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11867 (exit $ac_status); } >/dev/null; then
11868 if test -s conftest.err; then
11869 ac_cpp_err=$ac_c_preproc_warn_flag
11870 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11877 if test -z "$ac_cpp_err"; then
11878 ac_header_preproc=yes
11880 echo "$as_me: failed program was:" >&5
11881 sed 's/^/| /' conftest.$ac_ext >&5
11883 ac_header_preproc=no
11886 rm -f conftest.err conftest.$ac_ext
11887 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11888 echo "${ECHO_T}$ac_header_preproc" >&6; }
11890 # So? What about this header?
11891 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11893 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11894 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11895 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11896 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11897 ac_header_preproc=yes
11900 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11901 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11902 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11903 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11904 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11905 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11906 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11907 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11908 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11909 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11910 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11911 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11913 ## ------------------------------------ ##
11914 ## Report this to wine-devel@winehq.org ##
11915 ## ------------------------------------ ##
11917 ) | sed "s/^/$as_me: WARNING: /" >&2
11920 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11921 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11922 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11923 echo $ECHO_N "(cached) $ECHO_C" >&6
11925 ac_cv_header_sane_sane_h=$ac_header_preproc
11927 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11928 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11931 if test $ac_cv_header_sane_sane_h = yes; then
11932 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
11933 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
11934 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
11935 echo $ECHO_N "(cached) $ECHO_C" >&6
11937 ac_check_lib_save_LIBS=$LIBS
11938 LIBS="-lsane $LIBS"
11939 cat >conftest.$ac_ext <<_ACEOF
11942 cat confdefs.h >>conftest.$ac_ext
11943 cat >>conftest.$ac_ext <<_ACEOF
11944 /* end confdefs.h. */
11946 /* Override any GCC internal prototype to avoid an error.
11947 Use char because int might match the return type of a GCC
11948 builtin and then its argument prototype would still apply. */
11956 return sane_open ();
11961 rm -f conftest.$ac_objext conftest$ac_exeext
11962 if { (ac_try="$ac_link"
11963 case "(($ac_try" in
11964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11965 *) ac_try_echo=$ac_try;;
11967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11968 (eval "$ac_link") 2>conftest.er1
11970 grep -v '^ *+' conftest.er1 >conftest.err
11972 cat conftest.err >&5
11973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11974 (exit $ac_status); } &&
11975 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11976 { (case "(($ac_try" in
11977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11978 *) ac_try_echo=$ac_try;;
11980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11981 (eval "$ac_try") 2>&5
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); }; } &&
11985 { ac_try='test -s conftest$ac_exeext'
11986 { (case "(($ac_try" in
11987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11988 *) ac_try_echo=$ac_try;;
11990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11991 (eval "$ac_try") 2>&5
11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11994 (exit $ac_status); }; }; then
11995 ac_cv_lib_sane_sane_open=yes
11997 echo "$as_me: failed program was:" >&5
11998 sed 's/^/| /' conftest.$ac_ext >&5
12000 ac_cv_lib_sane_sane_open=no
12003 rm -f core conftest.err conftest.$ac_objext \
12004 conftest$ac_exeext conftest.$ac_ext
12005 LIBS=$ac_check_lib_save_LIBS
12007 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
12008 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
12009 if test $ac_cv_lib_sane_sane_open = yes; then
12011 cat >>confdefs.h <<\_ACEOF
12012 #define HAVE_SANE 1
12026 LIBS="$ac_save_LIBS"
12027 CPPFLAGS="$ac_save_CPPFLAGS"
12030 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12031 set dummy gphoto2-config; ac_word=$2
12032 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12034 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12035 echo $ECHO_N "(cached) $ECHO_C" >&6
12037 if test -n "$gphoto2_devel"; then
12038 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12041 for as_dir in $PATH
12044 test -z "$as_dir" && as_dir=.
12045 for ac_exec_ext in '' $ac_executable_extensions; do
12046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12047 ac_cv_prog_gphoto2_devel="gphoto2-config"
12048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12055 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12058 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12059 if test -n "$gphoto2_devel"; then
12060 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12061 echo "${ECHO_T}$gphoto2_devel" >&6; }
12063 { echo "$as_me:$LINENO: result: no" >&5
12064 echo "${ECHO_T}no" >&6; }
12068 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12069 set dummy gphoto2-port-config; ac_word=$2
12070 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12072 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12073 echo $ECHO_N "(cached) $ECHO_C" >&6
12075 if test -n "$gphoto2port_devel"; then
12076 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12079 for as_dir in $PATH
12082 test -z "$as_dir" && as_dir=.
12083 for ac_exec_ext in '' $ac_executable_extensions; do
12084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12085 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12093 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12096 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12097 if test -n "$gphoto2port_devel"; then
12098 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12099 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12101 { echo "$as_me:$LINENO: result: no" >&5
12102 echo "${ECHO_T}no" >&6; }
12110 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12112 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12114 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12117 -L/usr/lib|-L/usr/lib64) ;;
12118 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
12121 ac_save_CPPFLAGS="$CPPFLAGS"
12122 ac_save_LIBS="$LIBS"
12123 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
12124 LIBS="$LIBS $GPHOTO2LIBS"
12125 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12126 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12127 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12128 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12129 echo $ECHO_N "(cached) $ECHO_C" >&6
12131 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12132 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12134 # Is the header compilable?
12135 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12136 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12137 cat >conftest.$ac_ext <<_ACEOF
12140 cat confdefs.h >>conftest.$ac_ext
12141 cat >>conftest.$ac_ext <<_ACEOF
12142 /* end confdefs.h. */
12143 $ac_includes_default
12144 #include <gphoto2-camera.h>
12146 rm -f conftest.$ac_objext
12147 if { (ac_try="$ac_compile"
12148 case "(($ac_try" in
12149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12150 *) ac_try_echo=$ac_try;;
12152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12153 (eval "$ac_compile") 2>conftest.er1
12155 grep -v '^ *+' conftest.er1 >conftest.err
12157 cat conftest.err >&5
12158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12159 (exit $ac_status); } &&
12160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12161 { (case "(($ac_try" in
12162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12163 *) ac_try_echo=$ac_try;;
12165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12166 (eval "$ac_try") 2>&5
12168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12169 (exit $ac_status); }; } &&
12170 { ac_try='test -s conftest.$ac_objext'
12171 { (case "(($ac_try" in
12172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12173 *) ac_try_echo=$ac_try;;
12175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12176 (eval "$ac_try") 2>&5
12178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179 (exit $ac_status); }; }; then
12180 ac_header_compiler=yes
12182 echo "$as_me: failed program was:" >&5
12183 sed 's/^/| /' conftest.$ac_ext >&5
12185 ac_header_compiler=no
12188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12189 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12190 echo "${ECHO_T}$ac_header_compiler" >&6; }
12192 # Is the header present?
12193 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12194 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12195 cat >conftest.$ac_ext <<_ACEOF
12198 cat confdefs.h >>conftest.$ac_ext
12199 cat >>conftest.$ac_ext <<_ACEOF
12200 /* end confdefs.h. */
12201 #include <gphoto2-camera.h>
12203 if { (ac_try="$ac_cpp conftest.$ac_ext"
12204 case "(($ac_try" in
12205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12206 *) ac_try_echo=$ac_try;;
12208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12209 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12211 grep -v '^ *+' conftest.er1 >conftest.err
12213 cat conftest.err >&5
12214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12215 (exit $ac_status); } >/dev/null; then
12216 if test -s conftest.err; then
12217 ac_cpp_err=$ac_c_preproc_warn_flag
12218 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12225 if test -z "$ac_cpp_err"; then
12226 ac_header_preproc=yes
12228 echo "$as_me: failed program was:" >&5
12229 sed 's/^/| /' conftest.$ac_ext >&5
12231 ac_header_preproc=no
12234 rm -f conftest.err conftest.$ac_ext
12235 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12236 echo "${ECHO_T}$ac_header_preproc" >&6; }
12238 # So? What about this header?
12239 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12241 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12242 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12243 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12244 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12245 ac_header_preproc=yes
12248 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12249 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12250 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12251 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12252 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12253 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12254 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12255 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12256 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12257 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12258 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12259 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12261 ## ------------------------------------ ##
12262 ## Report this to wine-devel@winehq.org ##
12263 ## ------------------------------------ ##
12265 ) | sed "s/^/$as_me: WARNING: /" >&2
12268 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12269 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12270 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12271 echo $ECHO_N "(cached) $ECHO_C" >&6
12273 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12275 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12276 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12279 if test $ac_cv_header_gphoto2_camera_h = yes; then
12280 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12281 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12282 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12283 echo $ECHO_N "(cached) $ECHO_C" >&6
12285 ac_check_lib_save_LIBS=$LIBS
12286 LIBS="-lgphoto2 $LIBS"
12287 cat >conftest.$ac_ext <<_ACEOF
12290 cat confdefs.h >>conftest.$ac_ext
12291 cat >>conftest.$ac_ext <<_ACEOF
12292 /* end confdefs.h. */
12294 /* Override any GCC internal prototype to avoid an error.
12295 Use char because int might match the return type of a GCC
12296 builtin and then its argument prototype would still apply. */
12300 char gp_camera_new ();
12304 return gp_camera_new ();
12309 rm -f conftest.$ac_objext conftest$ac_exeext
12310 if { (ac_try="$ac_link"
12311 case "(($ac_try" in
12312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12313 *) ac_try_echo=$ac_try;;
12315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12316 (eval "$ac_link") 2>conftest.er1
12318 grep -v '^ *+' conftest.er1 >conftest.err
12320 cat conftest.err >&5
12321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12322 (exit $ac_status); } &&
12323 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12324 { (case "(($ac_try" in
12325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12326 *) ac_try_echo=$ac_try;;
12328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12329 (eval "$ac_try") 2>&5
12331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12332 (exit $ac_status); }; } &&
12333 { ac_try='test -s conftest$ac_exeext'
12334 { (case "(($ac_try" in
12335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12336 *) ac_try_echo=$ac_try;;
12338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12339 (eval "$ac_try") 2>&5
12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12342 (exit $ac_status); }; }; then
12343 ac_cv_lib_gphoto2_gp_camera_new=yes
12345 echo "$as_me: failed program was:" >&5
12346 sed 's/^/| /' conftest.$ac_ext >&5
12348 ac_cv_lib_gphoto2_gp_camera_new=no
12351 rm -f core conftest.err conftest.$ac_objext \
12352 conftest$ac_exeext conftest.$ac_ext
12353 LIBS=$ac_check_lib_save_LIBS
12355 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12356 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12357 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12359 cat >>confdefs.h <<\_ACEOF
12360 #define HAVE_GPHOTO2 1
12374 LIBS="$ac_save_LIBS"
12375 CPPFLAGS="$ac_save_CPPFLAGS"
12378 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
12381 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
12383 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
12384 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
12385 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
12386 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
12387 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
12388 cat >conftest.$ac_ext <<_ACEOF
12391 cat confdefs.h >>conftest.$ac_ext
12392 cat >>conftest.$ac_ext <<_ACEOF
12393 /* end confdefs.h. */
12394 #include <unicode/ubidi.h>
12403 rm -f conftest.$ac_objext conftest$ac_exeext
12404 if { (ac_try="$ac_link"
12405 case "(($ac_try" in
12406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12407 *) ac_try_echo=$ac_try;;
12409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12410 (eval "$ac_link") 2>conftest.er1
12412 grep -v '^ *+' conftest.er1 >conftest.err
12414 cat conftest.err >&5
12415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12416 (exit $ac_status); } &&
12417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12418 { (case "(($ac_try" in
12419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12420 *) ac_try_echo=$ac_try;;
12422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12423 (eval "$ac_try") 2>&5
12425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12426 (exit $ac_status); }; } &&
12427 { ac_try='test -s conftest$ac_exeext'
12428 { (case "(($ac_try" in
12429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12430 *) ac_try_echo=$ac_try;;
12432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12433 (eval "$ac_try") 2>&5
12435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12436 (exit $ac_status); }; }; then
12438 cat >>confdefs.h <<\_ACEOF
12442 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
12444 { echo "$as_me:$LINENO: result: yes" >&5
12445 echo "${ECHO_T}yes" >&6; }
12447 echo "$as_me: failed program was:" >&5
12448 sed 's/^/| /' conftest.$ac_ext >&5
12450 { echo "$as_me:$LINENO: result: no" >&5
12451 echo "${ECHO_T}no" >&6; }
12454 rm -f core conftest.err conftest.$ac_objext \
12455 conftest$ac_exeext conftest.$ac_ext
12462 if test "$ac_cv_header_resolv_h" = "yes"
12464 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12465 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12466 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12467 echo $ECHO_N "(cached) $ECHO_C" >&6
12469 ac_check_lib_save_LIBS=$LIBS
12470 LIBS="-lresolv $LIBS"
12471 cat >conftest.$ac_ext <<_ACEOF
12474 cat confdefs.h >>conftest.$ac_ext
12475 cat >>conftest.$ac_ext <<_ACEOF
12476 /* end confdefs.h. */
12478 /* Override any GCC internal prototype to avoid an error.
12479 Use char because int might match the return type of a GCC
12480 builtin and then its argument prototype would still apply. */
12488 return res_query ();
12493 rm -f conftest.$ac_objext conftest$ac_exeext
12494 if { (ac_try="$ac_link"
12495 case "(($ac_try" in
12496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12497 *) ac_try_echo=$ac_try;;
12499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12500 (eval "$ac_link") 2>conftest.er1
12502 grep -v '^ *+' conftest.er1 >conftest.err
12504 cat conftest.err >&5
12505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12506 (exit $ac_status); } &&
12507 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12508 { (case "(($ac_try" in
12509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12510 *) ac_try_echo=$ac_try;;
12512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12513 (eval "$ac_try") 2>&5
12515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12516 (exit $ac_status); }; } &&
12517 { ac_try='test -s conftest$ac_exeext'
12518 { (case "(($ac_try" in
12519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12520 *) ac_try_echo=$ac_try;;
12522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12523 (eval "$ac_try") 2>&5
12525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12526 (exit $ac_status); }; }; then
12527 ac_cv_lib_resolv_res_query=yes
12529 echo "$as_me: failed program was:" >&5
12530 sed 's/^/| /' conftest.$ac_ext >&5
12532 ac_cv_lib_resolv_res_query=no
12535 rm -f core conftest.err conftest.$ac_objext \
12536 conftest$ac_exeext conftest.$ac_ext
12537 LIBS=$ac_check_lib_save_LIBS
12539 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12540 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12541 if test $ac_cv_lib_resolv_res_query = yes; then
12543 cat >>confdefs.h <<\_ACEOF
12544 #define HAVE_RESOLV 1
12547 RESOLVLIBS="-lresolv"
12554 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12556 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12557 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12558 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12559 echo $ECHO_N "(cached) $ECHO_C" >&6
12561 ac_check_lib_save_LIBS=$LIBS
12562 LIBS="-llcms $LIBS"
12563 cat >conftest.$ac_ext <<_ACEOF
12566 cat confdefs.h >>conftest.$ac_ext
12567 cat >>conftest.$ac_ext <<_ACEOF
12568 /* end confdefs.h. */
12570 /* Override any GCC internal prototype to avoid an error.
12571 Use char because int might match the return type of a GCC
12572 builtin and then its argument prototype would still apply. */
12576 char cmsOpenProfileFromFile ();
12580 return cmsOpenProfileFromFile ();
12585 rm -f conftest.$ac_objext conftest$ac_exeext
12586 if { (ac_try="$ac_link"
12587 case "(($ac_try" in
12588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12589 *) ac_try_echo=$ac_try;;
12591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12592 (eval "$ac_link") 2>conftest.er1
12594 grep -v '^ *+' conftest.er1 >conftest.err
12596 cat conftest.err >&5
12597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598 (exit $ac_status); } &&
12599 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12600 { (case "(($ac_try" in
12601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12602 *) ac_try_echo=$ac_try;;
12604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12605 (eval "$ac_try") 2>&5
12607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608 (exit $ac_status); }; } &&
12609 { ac_try='test -s conftest$ac_exeext'
12610 { (case "(($ac_try" in
12611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12612 *) ac_try_echo=$ac_try;;
12614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12615 (eval "$ac_try") 2>&5
12617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); }; }; then
12619 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12621 echo "$as_me: failed program was:" >&5
12622 sed 's/^/| /' conftest.$ac_ext >&5
12624 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12627 rm -f core conftest.err conftest.$ac_objext \
12628 conftest$ac_exeext conftest.$ac_ext
12629 LIBS=$ac_check_lib_save_LIBS
12631 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12632 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12633 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12635 cat >>confdefs.h <<\_ACEOF
12636 #define HAVE_LCMS 1
12646 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12648 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12649 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12650 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12651 echo $ECHO_N "(cached) $ECHO_C" >&6
12653 ac_check_lib_save_LIBS=$LIBS
12654 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12655 cat >conftest.$ac_ext <<_ACEOF
12658 cat confdefs.h >>conftest.$ac_ext
12659 cat >>conftest.$ac_ext <<_ACEOF
12660 /* end confdefs.h. */
12662 /* Override any GCC internal prototype to avoid an error.
12663 Use char because int might match the return type of a GCC
12664 builtin and then its argument prototype would still apply. */
12668 char ldap_initialize ();
12672 return ldap_initialize ();
12677 rm -f conftest.$ac_objext conftest$ac_exeext
12678 if { (ac_try="$ac_link"
12679 case "(($ac_try" in
12680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12681 *) ac_try_echo=$ac_try;;
12683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12684 (eval "$ac_link") 2>conftest.er1
12686 grep -v '^ *+' conftest.er1 >conftest.err
12688 cat conftest.err >&5
12689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12690 (exit $ac_status); } &&
12691 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12692 { (case "(($ac_try" in
12693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12694 *) ac_try_echo=$ac_try;;
12696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12697 (eval "$ac_try") 2>&5
12699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12700 (exit $ac_status); }; } &&
12701 { ac_try='test -s conftest$ac_exeext'
12702 { (case "(($ac_try" in
12703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12704 *) ac_try_echo=$ac_try;;
12706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12707 (eval "$ac_try") 2>&5
12709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12710 (exit $ac_status); }; }; then
12711 ac_cv_lib_ldap_r_ldap_initialize=yes
12713 echo "$as_me: failed program was:" >&5
12714 sed 's/^/| /' conftest.$ac_ext >&5
12716 ac_cv_lib_ldap_r_ldap_initialize=no
12719 rm -f core conftest.err conftest.$ac_objext \
12720 conftest$ac_exeext conftest.$ac_ext
12721 LIBS=$ac_check_lib_save_LIBS
12723 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12724 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12725 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12726 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12727 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12728 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12729 echo $ECHO_N "(cached) $ECHO_C" >&6
12731 ac_check_lib_save_LIBS=$LIBS
12732 LIBS="-llber $LIBPTHREAD $LIBS"
12733 cat >conftest.$ac_ext <<_ACEOF
12736 cat confdefs.h >>conftest.$ac_ext
12737 cat >>conftest.$ac_ext <<_ACEOF
12738 /* end confdefs.h. */
12740 /* Override any GCC internal prototype to avoid an error.
12741 Use char because int might match the return type of a GCC
12742 builtin and then its argument prototype would still apply. */
12750 return ber_init ();
12755 rm -f conftest.$ac_objext conftest$ac_exeext
12756 if { (ac_try="$ac_link"
12757 case "(($ac_try" in
12758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12759 *) ac_try_echo=$ac_try;;
12761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12762 (eval "$ac_link") 2>conftest.er1
12764 grep -v '^ *+' conftest.er1 >conftest.err
12766 cat conftest.err >&5
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); } &&
12769 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12770 { (case "(($ac_try" in
12771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12772 *) ac_try_echo=$ac_try;;
12774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12775 (eval "$ac_try") 2>&5
12777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12778 (exit $ac_status); }; } &&
12779 { ac_try='test -s conftest$ac_exeext'
12780 { (case "(($ac_try" in
12781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12782 *) ac_try_echo=$ac_try;;
12784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12785 (eval "$ac_try") 2>&5
12787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12788 (exit $ac_status); }; }; then
12789 ac_cv_lib_lber_ber_init=yes
12791 echo "$as_me: failed program was:" >&5
12792 sed 's/^/| /' conftest.$ac_ext >&5
12794 ac_cv_lib_lber_ber_init=no
12797 rm -f core conftest.err conftest.$ac_objext \
12798 conftest$ac_exeext conftest.$ac_ext
12799 LIBS=$ac_check_lib_save_LIBS
12801 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12802 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12803 if test $ac_cv_lib_lber_ber_init = yes; then
12805 cat >>confdefs.h <<\_ACEOF
12806 #define HAVE_LDAP 1
12809 LDAPLIBS="-lldap_r -llber"
12814 ac_wine_check_funcs_save_LIBS="$LIBS"
12815 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12821 ldap_count_references \
12822 ldap_first_reference \
12823 ldap_next_reference \
12824 ldap_parse_reference
12826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12827 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12829 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12830 echo $ECHO_N "(cached) $ECHO_C" >&6
12832 cat >conftest.$ac_ext <<_ACEOF
12835 cat confdefs.h >>conftest.$ac_ext
12836 cat >>conftest.$ac_ext <<_ACEOF
12837 /* end confdefs.h. */
12838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12840 #define $ac_func innocuous_$ac_func
12842 /* System header to define __stub macros and hopefully few prototypes,
12843 which can conflict with char $ac_func (); below.
12844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12845 <limits.h> exists even on freestanding compilers. */
12848 # include <limits.h>
12850 # include <assert.h>
12855 /* Override any GCC internal prototype to avoid an error.
12856 Use char because int might match the return type of a GCC
12857 builtin and then its argument prototype would still apply. */
12862 /* The GNU C library defines this for functions which it implements
12863 to always fail with ENOSYS. Some functions are actually named
12864 something starting with __ and the normal name is an alias. */
12865 #if defined __stub_$ac_func || defined __stub___$ac_func
12872 return $ac_func ();
12877 rm -f conftest.$ac_objext conftest$ac_exeext
12878 if { (ac_try="$ac_link"
12879 case "(($ac_try" in
12880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12881 *) ac_try_echo=$ac_try;;
12883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12884 (eval "$ac_link") 2>conftest.er1
12886 grep -v '^ *+' conftest.er1 >conftest.err
12888 cat conftest.err >&5
12889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12890 (exit $ac_status); } &&
12891 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12892 { (case "(($ac_try" in
12893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12894 *) ac_try_echo=$ac_try;;
12896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12897 (eval "$ac_try") 2>&5
12899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12900 (exit $ac_status); }; } &&
12901 { ac_try='test -s conftest$ac_exeext'
12902 { (case "(($ac_try" in
12903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12904 *) ac_try_echo=$ac_try;;
12906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12907 (eval "$ac_try") 2>&5
12909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12910 (exit $ac_status); }; }; then
12911 eval "$as_ac_var=yes"
12913 echo "$as_me: failed program was:" >&5
12914 sed 's/^/| /' conftest.$ac_ext >&5
12916 eval "$as_ac_var=no"
12919 rm -f core conftest.err conftest.$ac_objext \
12920 conftest$ac_exeext conftest.$ac_ext
12922 ac_res=`eval echo '${'$as_ac_var'}'`
12923 { echo "$as_me:$LINENO: result: $ac_res" >&5
12924 echo "${ECHO_T}$ac_res" >&6; }
12925 if test `eval echo '${'$as_ac_var'}'` = yes; then
12926 cat >>confdefs.h <<_ACEOF
12927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12933 LIBS="$ac_wine_check_funcs_save_LIBS"
12940 # Extract the first word of "freetype-config", so it can be a program name with args.
12941 set dummy freetype-config; ac_word=$2
12942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12944 if test "${ac_cv_prog_ft_devel+set}" = set; then
12945 echo $ECHO_N "(cached) $ECHO_C" >&6
12947 if test -n "$ft_devel"; then
12948 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12951 for as_dir in $PATH
12954 test -z "$as_dir" && as_dir=.
12955 for ac_exec_ext in '' $ac_executable_extensions; do
12956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12957 ac_cv_prog_ft_devel="freetype-config"
12958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12965 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
12968 ft_devel=$ac_cv_prog_ft_devel
12969 if test -n "$ft_devel"; then
12970 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12971 echo "${ECHO_T}$ft_devel" >&6; }
12973 { echo "$as_me:$LINENO: result: no" >&5
12974 echo "${ECHO_T}no" >&6; }
12978 if test "$ft_devel" = "no"
12980 # Extract the first word of "freetype2-config", so it can be a program name with args.
12981 set dummy freetype2-config; ac_word=$2
12982 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12984 if test "${ac_cv_prog_ft_devel2+set}" = set; then
12985 echo $ECHO_N "(cached) $ECHO_C" >&6
12987 if test -n "$ft_devel2"; then
12988 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
12990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12991 for as_dir in $PATH
12994 test -z "$as_dir" && as_dir=.
12995 for ac_exec_ext in '' $ac_executable_extensions; do
12996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12997 ac_cv_prog_ft_devel2="freetype2-config"
12998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13005 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
13008 ft_devel2=$ac_cv_prog_ft_devel2
13009 if test -n "$ft_devel2"; then
13010 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
13011 echo "${ECHO_T}$ft_devel2" >&6; }
13013 { echo "$as_me:$LINENO: result: no" >&5
13014 echo "${ECHO_T}no" >&6; }
13018 if test "$ft_devel2" = "freetype2-config"
13020 ft_devel=$ft_devel2
13024 if test "$ft_devel" = "no"
13026 wine_cv_msg_freetype=yes
13028 FREETYPELIBS=`$ft_devel --libs`
13029 FREETYPEINCL=`$ft_devel --cflags`
13030 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
13031 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
13032 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
13033 echo $ECHO_N "(cached) $ECHO_C" >&6
13035 ac_check_lib_save_LIBS=$LIBS
13036 LIBS="-lfreetype $FREETYPELIBS $LIBS"
13037 cat >conftest.$ac_ext <<_ACEOF
13040 cat confdefs.h >>conftest.$ac_ext
13041 cat >>conftest.$ac_ext <<_ACEOF
13042 /* end confdefs.h. */
13044 /* Override any GCC internal prototype to avoid an error.
13045 Use char because int might match the return type of a GCC
13046 builtin and then its argument prototype would still apply. */
13050 char FT_Init_FreeType ();
13054 return FT_Init_FreeType ();
13059 rm -f conftest.$ac_objext conftest$ac_exeext
13060 if { (ac_try="$ac_link"
13061 case "(($ac_try" in
13062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13063 *) ac_try_echo=$ac_try;;
13065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13066 (eval "$ac_link") 2>conftest.er1
13068 grep -v '^ *+' conftest.er1 >conftest.err
13070 cat conftest.err >&5
13071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13072 (exit $ac_status); } &&
13073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13074 { (case "(($ac_try" in
13075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13076 *) ac_try_echo=$ac_try;;
13078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13079 (eval "$ac_try") 2>&5
13081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13082 (exit $ac_status); }; } &&
13083 { ac_try='test -s conftest$ac_exeext'
13084 { (case "(($ac_try" in
13085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13086 *) ac_try_echo=$ac_try;;
13088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13089 (eval "$ac_try") 2>&5
13091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13092 (exit $ac_status); }; }; then
13093 ac_cv_lib_freetype_FT_Init_FreeType=yes
13095 echo "$as_me: failed program was:" >&5
13096 sed 's/^/| /' conftest.$ac_ext >&5
13098 ac_cv_lib_freetype_FT_Init_FreeType=no
13101 rm -f core conftest.err conftest.$ac_objext \
13102 conftest$ac_exeext conftest.$ac_ext
13103 LIBS=$ac_check_lib_save_LIBS
13105 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
13106 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
13107 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
13113 if test "$ft_lib" = "no"
13115 wine_cv_msg_freetype=yes
13119 ac_save_CPPFLAGS="$CPPFLAGS"
13120 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
13132 for ac_header in ft2build.h \
13133 freetype/freetype.h \
13134 freetype/ftglyph.h \
13135 freetype/tttables.h \
13136 freetype/ftnames.h \
13137 freetype/ftsnames.h \
13138 freetype/ttnameid.h \
13139 freetype/ftoutln.h \
13140 freetype/ftwinfnt.h \
13141 freetype/ftmodapi.h \
13142 freetype/internal/sfnt.h
13144 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13145 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13147 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13148 echo $ECHO_N "(cached) $ECHO_C" >&6
13150 cat >conftest.$ac_ext <<_ACEOF
13153 cat confdefs.h >>conftest.$ac_ext
13154 cat >>conftest.$ac_ext <<_ACEOF
13155 /* end confdefs.h. */
13156 #if HAVE_FT2BUILD_H
13157 #include <ft2build.h>
13160 #include <$ac_header>
13162 rm -f conftest.$ac_objext
13163 if { (ac_try="$ac_compile"
13164 case "(($ac_try" in
13165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13166 *) ac_try_echo=$ac_try;;
13168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13169 (eval "$ac_compile") 2>conftest.er1
13171 grep -v '^ *+' conftest.er1 >conftest.err
13173 cat conftest.err >&5
13174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13175 (exit $ac_status); } &&
13176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13177 { (case "(($ac_try" in
13178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13179 *) ac_try_echo=$ac_try;;
13181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13182 (eval "$ac_try") 2>&5
13184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13185 (exit $ac_status); }; } &&
13186 { ac_try='test -s conftest.$ac_objext'
13187 { (case "(($ac_try" in
13188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13189 *) ac_try_echo=$ac_try;;
13191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13192 (eval "$ac_try") 2>&5
13194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13195 (exit $ac_status); }; }; then
13196 eval "$as_ac_Header=yes"
13198 echo "$as_me: failed program was:" >&5
13199 sed 's/^/| /' conftest.$ac_ext >&5
13201 eval "$as_ac_Header=no"
13204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13206 ac_res=`eval echo '${'$as_ac_Header'}'`
13207 { echo "$as_me:$LINENO: result: $ac_res" >&5
13208 echo "${ECHO_T}$ac_res" >&6; }
13209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13210 cat >>confdefs.h <<_ACEOF
13211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13218 cat >conftest.$ac_ext <<_ACEOF
13221 cat confdefs.h >>conftest.$ac_ext
13222 cat >>conftest.$ac_ext <<_ACEOF
13223 /* end confdefs.h. */
13224 #include <ft2build.h>
13225 #include <freetype/fttrigon.h>
13227 if { (ac_try="$ac_cpp conftest.$ac_ext"
13228 case "(($ac_try" in
13229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13230 *) ac_try_echo=$ac_try;;
13232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13233 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13235 grep -v '^ *+' conftest.er1 >conftest.err
13237 cat conftest.err >&5
13238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13239 (exit $ac_status); } >/dev/null; then
13240 if test -s conftest.err; then
13241 ac_cpp_err=$ac_c_preproc_warn_flag
13242 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13249 if test -z "$ac_cpp_err"; then
13251 cat >>confdefs.h <<\_ACEOF
13252 #define HAVE_FREETYPE_FTTRIGON_H 1
13255 wine_cv_fttrigon=yes
13257 echo "$as_me: failed program was:" >&5
13258 sed 's/^/| /' conftest.$ac_ext >&5
13260 wine_cv_fttrigon=no
13263 rm -f conftest.err conftest.$ac_ext
13264 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13265 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13266 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13267 echo $ECHO_N "(cached) $ECHO_C" >&6
13269 cat >conftest.$ac_ext <<_ACEOF
13272 cat confdefs.h >>conftest.$ac_ext
13273 cat >>conftest.$ac_ext <<_ACEOF
13274 /* end confdefs.h. */
13275 #include <freetype/ftmodapi.h>
13277 typedef FT_TrueTypeEngineType ac__type_new_;
13281 if ((ac__type_new_ *) 0)
13283 if (sizeof (ac__type_new_))
13289 rm -f conftest.$ac_objext
13290 if { (ac_try="$ac_compile"
13291 case "(($ac_try" in
13292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13293 *) ac_try_echo=$ac_try;;
13295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13296 (eval "$ac_compile") 2>conftest.er1
13298 grep -v '^ *+' conftest.er1 >conftest.err
13300 cat conftest.err >&5
13301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13302 (exit $ac_status); } &&
13303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13304 { (case "(($ac_try" in
13305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13306 *) ac_try_echo=$ac_try;;
13308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13309 (eval "$ac_try") 2>&5
13311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312 (exit $ac_status); }; } &&
13313 { ac_try='test -s conftest.$ac_objext'
13314 { (case "(($ac_try" in
13315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13316 *) ac_try_echo=$ac_try;;
13318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13319 (eval "$ac_try") 2>&5
13321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13322 (exit $ac_status); }; }; then
13323 ac_cv_type_FT_TrueTypeEngineType=yes
13325 echo "$as_me: failed program was:" >&5
13326 sed 's/^/| /' conftest.$ac_ext >&5
13328 ac_cv_type_FT_TrueTypeEngineType=no
13331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13333 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13334 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13335 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13337 cat >>confdefs.h <<_ACEOF
13338 #define HAVE_FT_TRUETYPEENGINETYPE 1
13344 ac_save_CFLAGS="$CFLAGS"
13345 CFLAGS="$CFLAGS $FREETYPELIBS"
13347 for ac_func in FT_Load_Sfnt_Table
13349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13350 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13352 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13353 echo $ECHO_N "(cached) $ECHO_C" >&6
13355 cat >conftest.$ac_ext <<_ACEOF
13358 cat confdefs.h >>conftest.$ac_ext
13359 cat >>conftest.$ac_ext <<_ACEOF
13360 /* end confdefs.h. */
13361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13363 #define $ac_func innocuous_$ac_func
13365 /* System header to define __stub macros and hopefully few prototypes,
13366 which can conflict with char $ac_func (); below.
13367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13368 <limits.h> exists even on freestanding compilers. */
13371 # include <limits.h>
13373 # include <assert.h>
13378 /* Override any GCC internal prototype to avoid an error.
13379 Use char because int might match the return type of a GCC
13380 builtin and then its argument prototype would still apply. */
13385 /* The GNU C library defines this for functions which it implements
13386 to always fail with ENOSYS. Some functions are actually named
13387 something starting with __ and the normal name is an alias. */
13388 #if defined __stub_$ac_func || defined __stub___$ac_func
13395 return $ac_func ();
13400 rm -f conftest.$ac_objext conftest$ac_exeext
13401 if { (ac_try="$ac_link"
13402 case "(($ac_try" in
13403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13404 *) ac_try_echo=$ac_try;;
13406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13407 (eval "$ac_link") 2>conftest.er1
13409 grep -v '^ *+' conftest.er1 >conftest.err
13411 cat conftest.err >&5
13412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13413 (exit $ac_status); } &&
13414 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13415 { (case "(($ac_try" in
13416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13417 *) ac_try_echo=$ac_try;;
13419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13420 (eval "$ac_try") 2>&5
13422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13423 (exit $ac_status); }; } &&
13424 { ac_try='test -s conftest$ac_exeext'
13425 { (case "(($ac_try" in
13426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13427 *) ac_try_echo=$ac_try;;
13429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13430 (eval "$ac_try") 2>&5
13432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13433 (exit $ac_status); }; }; then
13434 eval "$as_ac_var=yes"
13436 echo "$as_me: failed program was:" >&5
13437 sed 's/^/| /' conftest.$ac_ext >&5
13439 eval "$as_ac_var=no"
13442 rm -f core conftest.err conftest.$ac_objext \
13443 conftest$ac_exeext conftest.$ac_ext
13445 ac_res=`eval echo '${'$as_ac_var'}'`
13446 { echo "$as_me:$LINENO: result: $ac_res" >&5
13447 echo "${ECHO_T}$ac_res" >&6; }
13448 if test `eval echo '${'$as_ac_var'}'` = yes; then
13449 cat >>confdefs.h <<_ACEOF
13450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13456 CFLAGS="$ac_save_CFLAGS"
13457 CPPFLAGS="$ac_save_CPPFLAGS"
13458 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13461 cat >>confdefs.h <<\_ACEOF
13462 #define HAVE_FREETYPE 1
13465 wine_cv_msg_freetype=no
13469 wine_cv_msg_freetype=yes
13474 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
13476 FONTSSUBDIRS="fonts"
13480 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13481 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13482 if test "${ac_cv_c_ppdev+set}" = set; then
13483 echo $ECHO_N "(cached) $ECHO_C" >&6
13485 cat >conftest.$ac_ext <<_ACEOF
13488 cat confdefs.h >>conftest.$ac_ext
13489 cat >>conftest.$ac_ext <<_ACEOF
13490 /* end confdefs.h. */
13491 #include <linux/ppdev.h>
13495 ioctl (1,PPCLAIM,0)
13500 rm -f conftest.$ac_objext
13501 if { (ac_try="$ac_compile"
13502 case "(($ac_try" in
13503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13504 *) ac_try_echo=$ac_try;;
13506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13507 (eval "$ac_compile") 2>conftest.er1
13509 grep -v '^ *+' conftest.er1 >conftest.err
13511 cat conftest.err >&5
13512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13513 (exit $ac_status); } &&
13514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13515 { (case "(($ac_try" in
13516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13517 *) ac_try_echo=$ac_try;;
13519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13520 (eval "$ac_try") 2>&5
13522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13523 (exit $ac_status); }; } &&
13524 { ac_try='test -s conftest.$ac_objext'
13525 { (case "(($ac_try" in
13526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13527 *) ac_try_echo=$ac_try;;
13529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13530 (eval "$ac_try") 2>&5
13532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13533 (exit $ac_status); }; }; then
13534 ac_cv_c_ppdev="yes"
13536 echo "$as_me: failed program was:" >&5
13537 sed 's/^/| /' conftest.$ac_ext >&5
13542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13545 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13546 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13547 if test "$ac_cv_c_ppdev" = "yes"
13550 cat >>confdefs.h <<\_ACEOF
13551 #define HAVE_PPDEV 1
13556 { echo "$as_me:$LINENO: checking for va_copy" >&5
13557 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13558 if test "${ac_cv_c_va_copy+set}" = set; then
13559 echo $ECHO_N "(cached) $ECHO_C" >&6
13561 cat >conftest.$ac_ext <<_ACEOF
13564 cat confdefs.h >>conftest.$ac_ext
13565 cat >>conftest.$ac_ext <<_ACEOF
13566 /* end confdefs.h. */
13567 #include <stdarg.h>
13578 rm -f conftest.$ac_objext conftest$ac_exeext
13579 if { (ac_try="$ac_link"
13580 case "(($ac_try" in
13581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13582 *) ac_try_echo=$ac_try;;
13584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13585 (eval "$ac_link") 2>conftest.er1
13587 grep -v '^ *+' conftest.er1 >conftest.err
13589 cat conftest.err >&5
13590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13591 (exit $ac_status); } &&
13592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13593 { (case "(($ac_try" in
13594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13595 *) ac_try_echo=$ac_try;;
13597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13598 (eval "$ac_try") 2>&5
13600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13601 (exit $ac_status); }; } &&
13602 { ac_try='test -s conftest$ac_exeext'
13603 { (case "(($ac_try" in
13604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13605 *) ac_try_echo=$ac_try;;
13607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13608 (eval "$ac_try") 2>&5
13610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13611 (exit $ac_status); }; }; then
13612 ac_cv_c_va_copy="yes"
13614 echo "$as_me: failed program was:" >&5
13615 sed 's/^/| /' conftest.$ac_ext >&5
13617 ac_cv_c_va_copy="no"
13620 rm -f core conftest.err conftest.$ac_objext \
13621 conftest$ac_exeext conftest.$ac_ext
13624 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13625 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13626 if test "$ac_cv_c_va_copy" = "yes"
13629 cat >>confdefs.h <<\_ACEOF
13630 #define HAVE_VA_COPY 1
13634 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13635 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13636 if test "${ac_cv_c___va_copy+set}" = set; then
13637 echo $ECHO_N "(cached) $ECHO_C" >&6
13639 cat >conftest.$ac_ext <<_ACEOF
13642 cat confdefs.h >>conftest.$ac_ext
13643 cat >>conftest.$ac_ext <<_ACEOF
13644 /* end confdefs.h. */
13645 #include <stdarg.h>
13650 __va_copy(ap1,ap2);
13656 rm -f conftest.$ac_objext conftest$ac_exeext
13657 if { (ac_try="$ac_link"
13658 case "(($ac_try" in
13659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13660 *) ac_try_echo=$ac_try;;
13662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13663 (eval "$ac_link") 2>conftest.er1
13665 grep -v '^ *+' conftest.er1 >conftest.err
13667 cat conftest.err >&5
13668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13669 (exit $ac_status); } &&
13670 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13671 { (case "(($ac_try" in
13672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13673 *) ac_try_echo=$ac_try;;
13675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13676 (eval "$ac_try") 2>&5
13678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13679 (exit $ac_status); }; } &&
13680 { ac_try='test -s conftest$ac_exeext'
13681 { (case "(($ac_try" in
13682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13683 *) ac_try_echo=$ac_try;;
13685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13686 (eval "$ac_try") 2>&5
13688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13689 (exit $ac_status); }; }; then
13690 ac_cv_c___va_copy="yes"
13692 echo "$as_me: failed program was:" >&5
13693 sed 's/^/| /' conftest.$ac_ext >&5
13695 ac_cv_c___va_copy="no"
13698 rm -f core conftest.err conftest.$ac_objext \
13699 conftest$ac_exeext conftest.$ac_ext
13702 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13703 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13704 if test "$ac_cv_c___va_copy" = "yes"
13707 cat >>confdefs.h <<\_ACEOF
13708 #define HAVE___VA_COPY 1
13713 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13714 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13715 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13716 echo $ECHO_N "(cached) $ECHO_C" >&6
13718 cat >conftest.$ac_ext <<_ACEOF
13721 cat confdefs.h >>conftest.$ac_ext
13722 cat >>conftest.$ac_ext <<_ACEOF
13723 /* end confdefs.h. */
13724 #include <setjmp.h>
13729 sigsetjmp( buf, 1 );
13730 siglongjmp( buf, 1 );
13735 rm -f conftest.$ac_objext conftest$ac_exeext
13736 if { (ac_try="$ac_link"
13737 case "(($ac_try" in
13738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13739 *) ac_try_echo=$ac_try;;
13741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13742 (eval "$ac_link") 2>conftest.er1
13744 grep -v '^ *+' conftest.er1 >conftest.err
13746 cat conftest.err >&5
13747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13748 (exit $ac_status); } &&
13749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
13759 { ac_try='test -s conftest$ac_exeext'
13760 { (case "(($ac_try" in
13761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13762 *) ac_try_echo=$ac_try;;
13764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13765 (eval "$ac_try") 2>&5
13767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13768 (exit $ac_status); }; }; then
13769 ac_cv_c_sigsetjmp="yes"
13771 echo "$as_me: failed program was:" >&5
13772 sed 's/^/| /' conftest.$ac_ext >&5
13774 ac_cv_c_sigsetjmp="no"
13777 rm -f core conftest.err conftest.$ac_objext \
13778 conftest$ac_exeext conftest.$ac_ext
13781 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13782 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13783 if test "$ac_cv_c_sigsetjmp" = "yes"
13786 cat >>confdefs.h <<\_ACEOF
13787 #define HAVE_SIGSETJMP 1
13792 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13793 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13794 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13795 echo $ECHO_N "(cached) $ECHO_C" >&6
13797 cat >conftest.$ac_ext <<_ACEOF
13800 cat confdefs.h >>conftest.$ac_ext
13801 cat >>conftest.$ac_ext <<_ACEOF
13802 /* end confdefs.h. */
13803 #define _GNU_SOURCE
13804 #include <pthread.h>
13806 typedef pthread_rwlock_t ac__type_new_;
13810 if ((ac__type_new_ *) 0)
13812 if (sizeof (ac__type_new_))
13818 rm -f conftest.$ac_objext
13819 if { (ac_try="$ac_compile"
13820 case "(($ac_try" in
13821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13822 *) ac_try_echo=$ac_try;;
13824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13825 (eval "$ac_compile") 2>conftest.er1
13827 grep -v '^ *+' conftest.er1 >conftest.err
13829 cat conftest.err >&5
13830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13831 (exit $ac_status); } &&
13832 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13833 { (case "(($ac_try" in
13834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13835 *) ac_try_echo=$ac_try;;
13837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13838 (eval "$ac_try") 2>&5
13840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13841 (exit $ac_status); }; } &&
13842 { ac_try='test -s conftest.$ac_objext'
13843 { (case "(($ac_try" in
13844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13845 *) ac_try_echo=$ac_try;;
13847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13848 (eval "$ac_try") 2>&5
13850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13851 (exit $ac_status); }; }; then
13852 ac_cv_type_pthread_rwlock_t=yes
13854 echo "$as_me: failed program was:" >&5
13855 sed 's/^/| /' conftest.$ac_ext >&5
13857 ac_cv_type_pthread_rwlock_t=no
13860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13862 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13863 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13864 if test $ac_cv_type_pthread_rwlock_t = yes; then
13866 cat >>confdefs.h <<_ACEOF
13867 #define HAVE_PTHREAD_RWLOCK_T 1
13872 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13873 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13874 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13875 echo $ECHO_N "(cached) $ECHO_C" >&6
13877 cat >conftest.$ac_ext <<_ACEOF
13880 cat confdefs.h >>conftest.$ac_ext
13881 cat >>conftest.$ac_ext <<_ACEOF
13882 /* end confdefs.h. */
13883 #define _GNU_SOURCE
13884 #include <pthread.h>
13886 typedef pthread_rwlockattr_t ac__type_new_;
13890 if ((ac__type_new_ *) 0)
13892 if (sizeof (ac__type_new_))
13898 rm -f conftest.$ac_objext
13899 if { (ac_try="$ac_compile"
13900 case "(($ac_try" in
13901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13902 *) ac_try_echo=$ac_try;;
13904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13905 (eval "$ac_compile") 2>conftest.er1
13907 grep -v '^ *+' conftest.er1 >conftest.err
13909 cat conftest.err >&5
13910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13911 (exit $ac_status); } &&
13912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13913 { (case "(($ac_try" in
13914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13915 *) ac_try_echo=$ac_try;;
13917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13918 (eval "$ac_try") 2>&5
13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 (exit $ac_status); }; } &&
13922 { ac_try='test -s conftest.$ac_objext'
13923 { (case "(($ac_try" in
13924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13925 *) ac_try_echo=$ac_try;;
13927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13928 (eval "$ac_try") 2>&5
13930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13931 (exit $ac_status); }; }; then
13932 ac_cv_type_pthread_rwlockattr_t=yes
13934 echo "$as_me: failed program was:" >&5
13935 sed 's/^/| /' conftest.$ac_ext >&5
13937 ac_cv_type_pthread_rwlockattr_t=no
13940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13942 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13943 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13944 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13946 cat >>confdefs.h <<_ACEOF
13947 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13954 ac_wine_check_funcs_save_LIBS="$LIBS"
13955 LIBS="$LIBS $LIBPTHREAD"
13960 pthread_getattr_np \
13961 pthread_get_stackaddr_np \
13962 pthread_get_stacksize_np
13964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13965 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13967 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13968 echo $ECHO_N "(cached) $ECHO_C" >&6
13970 cat >conftest.$ac_ext <<_ACEOF
13973 cat confdefs.h >>conftest.$ac_ext
13974 cat >>conftest.$ac_ext <<_ACEOF
13975 /* end confdefs.h. */
13976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13978 #define $ac_func innocuous_$ac_func
13980 /* System header to define __stub macros and hopefully few prototypes,
13981 which can conflict with char $ac_func (); below.
13982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13983 <limits.h> exists even on freestanding compilers. */
13986 # include <limits.h>
13988 # include <assert.h>
13993 /* Override any GCC internal prototype to avoid an error.
13994 Use char because int might match the return type of a GCC
13995 builtin and then its argument prototype would still apply. */
14000 /* The GNU C library defines this for functions which it implements
14001 to always fail with ENOSYS. Some functions are actually named
14002 something starting with __ and the normal name is an alias. */
14003 #if defined __stub_$ac_func || defined __stub___$ac_func
14010 return $ac_func ();
14015 rm -f conftest.$ac_objext conftest$ac_exeext
14016 if { (ac_try="$ac_link"
14017 case "(($ac_try" in
14018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14019 *) ac_try_echo=$ac_try;;
14021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14022 (eval "$ac_link") 2>conftest.er1
14024 grep -v '^ *+' conftest.er1 >conftest.err
14026 cat conftest.err >&5
14027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14028 (exit $ac_status); } &&
14029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14030 { (case "(($ac_try" in
14031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14032 *) ac_try_echo=$ac_try;;
14034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14035 (eval "$ac_try") 2>&5
14037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14038 (exit $ac_status); }; } &&
14039 { ac_try='test -s conftest$ac_exeext'
14040 { (case "(($ac_try" in
14041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14042 *) ac_try_echo=$ac_try;;
14044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14045 (eval "$ac_try") 2>&5
14047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14048 (exit $ac_status); }; }; then
14049 eval "$as_ac_var=yes"
14051 echo "$as_me: failed program was:" >&5
14052 sed 's/^/| /' conftest.$ac_ext >&5
14054 eval "$as_ac_var=no"
14057 rm -f core conftest.err conftest.$ac_objext \
14058 conftest$ac_exeext conftest.$ac_ext
14060 ac_res=`eval echo '${'$as_ac_var'}'`
14061 { echo "$as_me:$LINENO: result: $ac_res" >&5
14062 echo "${ECHO_T}$ac_res" >&6; }
14063 if test `eval echo '${'$as_ac_var'}'` = yes; then
14064 cat >>confdefs.h <<_ACEOF
14065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14071 LIBS="$ac_wine_check_funcs_save_LIBS"
14073 # Extract the first word of "artsc-config", so it can be a program name with args.
14074 set dummy artsc-config; ac_word=$2
14075 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14077 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
14078 echo $ECHO_N "(cached) $ECHO_C" >&6
14080 case $ARTSCCONFIG in
14082 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
14085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14086 for as_dir in $PATH
14089 test -z "$as_dir" && as_dir=.
14090 for ac_exec_ext in '' $ac_executable_extensions; do
14091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14092 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
14093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14103 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
14104 if test -n "$ARTSCCONFIG"; then
14105 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
14106 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
14108 { echo "$as_me:$LINENO: result: no" >&5
14109 echo "${ECHO_T}no" >&6; }
14113 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
14116 for i in `$ARTSCCONFIG --cflags`
14119 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
14123 for i in `$ARTSCCONFIG --libs`
14126 -L/usr/lib|-L/usr/lib64) ;;
14127 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
14130 save_CFLAGS="$CFLAGS"
14131 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
14132 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
14133 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
14134 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
14135 echo $ECHO_N "(cached) $ECHO_C" >&6
14137 ac_check_lib_save_LIBS=$LIBS
14138 LIBS="-lartsc $ARTSC_LIBS $LIBS"
14139 cat >conftest.$ac_ext <<_ACEOF
14142 cat confdefs.h >>conftest.$ac_ext
14143 cat >>conftest.$ac_ext <<_ACEOF
14144 /* end confdefs.h. */
14146 /* Override any GCC internal prototype to avoid an error.
14147 Use char because int might match the return type of a GCC
14148 builtin and then its argument prototype would still apply. */
14156 return arts_init ();
14161 rm -f conftest.$ac_objext conftest$ac_exeext
14162 if { (ac_try="$ac_link"
14163 case "(($ac_try" in
14164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14165 *) ac_try_echo=$ac_try;;
14167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14168 (eval "$ac_link") 2>conftest.er1
14170 grep -v '^ *+' conftest.er1 >conftest.err
14172 cat conftest.err >&5
14173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14174 (exit $ac_status); } &&
14175 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14176 { (case "(($ac_try" in
14177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14178 *) ac_try_echo=$ac_try;;
14180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14181 (eval "$ac_try") 2>&5
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); }; } &&
14185 { ac_try='test -s conftest$ac_exeext'
14186 { (case "(($ac_try" in
14187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14188 *) ac_try_echo=$ac_try;;
14190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14191 (eval "$ac_try") 2>&5
14193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14194 (exit $ac_status); }; }; then
14195 ac_cv_lib_artsc_arts_init=yes
14197 echo "$as_me: failed program was:" >&5
14198 sed 's/^/| /' conftest.$ac_ext >&5
14200 ac_cv_lib_artsc_arts_init=no
14203 rm -f core conftest.err conftest.$ac_objext \
14204 conftest$ac_exeext conftest.$ac_ext
14205 LIBS=$ac_check_lib_save_LIBS
14207 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
14208 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
14209 if test $ac_cv_lib_artsc_arts_init = yes; then
14210 cat >conftest.$ac_ext <<_ACEOF
14213 cat confdefs.h >>conftest.$ac_ext
14214 cat >>conftest.$ac_ext <<_ACEOF
14215 /* end confdefs.h. */
14220 arts_stream_t stream;
14225 rm -f conftest.$ac_objext
14226 if { (ac_try="$ac_compile"
14227 case "(($ac_try" in
14228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14229 *) ac_try_echo=$ac_try;;
14231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14232 (eval "$ac_compile") 2>conftest.er1
14234 grep -v '^ *+' conftest.er1 >conftest.err
14236 cat conftest.err >&5
14237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14238 (exit $ac_status); } &&
14239 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14240 { (case "(($ac_try" in
14241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14242 *) ac_try_echo=$ac_try;;
14244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14245 (eval "$ac_try") 2>&5
14247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14248 (exit $ac_status); }; } &&
14249 { ac_try='test -s conftest.$ac_objext'
14250 { (case "(($ac_try" in
14251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14252 *) ac_try_echo=$ac_try;;
14254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14255 (eval "$ac_try") 2>&5
14257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14258 (exit $ac_status); }; }; then
14259 ARTSLIBS=$ARTSC_LIBS
14261 ARTSINCL=$ARTSC_CFLAGS
14264 cat >>confdefs.h <<\_ACEOF
14265 #define HAVE_ARTS 1
14269 echo "$as_me: failed program was:" >&5
14270 sed 's/^/| /' conftest.$ac_ext >&5
14275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14278 CFLAGS="$save_CFLAGS"
14281 # Extract the first word of "esd-config", so it can be a program name with args.
14282 set dummy esd-config; ac_word=$2
14283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14285 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14286 echo $ECHO_N "(cached) $ECHO_C" >&6
14290 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14294 for as_dir in $PATH
14297 test -z "$as_dir" && as_dir=.
14298 for ac_exec_ext in '' $ac_executable_extensions; do
14299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14300 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14311 ESDCONFIG=$ac_cv_path_ESDCONFIG
14312 if test -n "$ESDCONFIG"; then
14313 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14314 echo "${ECHO_T}$ESDCONFIG" >&6; }
14316 { echo "$as_me:$LINENO: result: no" >&5
14317 echo "${ECHO_T}no" >&6; }
14321 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
14324 for i in `$ESDCONFIG --cflags`
14327 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14330 ESD_LIBS=`$ESDCONFIG --libs`
14331 save_CFLAGS="$CFLAGS"
14332 CFLAGS="$CFLAGS $ESD_CFLAGS"
14333 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14334 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14335 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14336 echo $ECHO_N "(cached) $ECHO_C" >&6
14338 ac_check_lib_save_LIBS=$LIBS
14340 cat >conftest.$ac_ext <<_ACEOF
14343 cat confdefs.h >>conftest.$ac_ext
14344 cat >>conftest.$ac_ext <<_ACEOF
14345 /* end confdefs.h. */
14347 /* Override any GCC internal prototype to avoid an error.
14348 Use char because int might match the return type of a GCC
14349 builtin and then its argument prototype would still apply. */
14353 char esd_open_sound ();
14357 return esd_open_sound ();
14362 rm -f conftest.$ac_objext conftest$ac_exeext
14363 if { (ac_try="$ac_link"
14364 case "(($ac_try" in
14365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14366 *) ac_try_echo=$ac_try;;
14368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14369 (eval "$ac_link") 2>conftest.er1
14371 grep -v '^ *+' conftest.er1 >conftest.err
14373 cat conftest.err >&5
14374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14375 (exit $ac_status); } &&
14376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14377 { (case "(($ac_try" in
14378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14379 *) ac_try_echo=$ac_try;;
14381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14382 (eval "$ac_try") 2>&5
14384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14385 (exit $ac_status); }; } &&
14386 { ac_try='test -s conftest$ac_exeext'
14387 { (case "(($ac_try" in
14388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14389 *) ac_try_echo=$ac_try;;
14391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14392 (eval "$ac_try") 2>&5
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); }; }; then
14396 ac_cv_lib_esd_esd_open_sound=yes
14398 echo "$as_me: failed program was:" >&5
14399 sed 's/^/| /' conftest.$ac_ext >&5
14401 ac_cv_lib_esd_esd_open_sound=no
14404 rm -f core conftest.err conftest.$ac_objext \
14405 conftest$ac_exeext conftest.$ac_ext
14406 LIBS=$ac_check_lib_save_LIBS
14408 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14409 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14410 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14413 ESDINCL=$ESD_CFLAGS
14416 cat >>confdefs.h <<\_ACEOF
14422 CFLAGS="$save_CFLAGS"
14427 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14429 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14430 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14431 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14432 echo $ECHO_N "(cached) $ECHO_C" >&6
14434 ac_check_lib_save_LIBS=$LIBS
14435 LIBS="-lasound $LIBS"
14436 cat >conftest.$ac_ext <<_ACEOF
14439 cat confdefs.h >>conftest.$ac_ext
14440 cat >>conftest.$ac_ext <<_ACEOF
14441 /* end confdefs.h. */
14443 /* Override any GCC internal prototype to avoid an error.
14444 Use char because int might match the return type of a GCC
14445 builtin and then its argument prototype would still apply. */
14449 char snd_pcm_hw_params_get_access ();
14453 return snd_pcm_hw_params_get_access ();
14458 rm -f conftest.$ac_objext conftest$ac_exeext
14459 if { (ac_try="$ac_link"
14460 case "(($ac_try" in
14461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14462 *) ac_try_echo=$ac_try;;
14464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14465 (eval "$ac_link") 2>conftest.er1
14467 grep -v '^ *+' conftest.er1 >conftest.err
14469 cat conftest.err >&5
14470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14471 (exit $ac_status); } &&
14472 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14473 { (case "(($ac_try" in
14474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14475 *) ac_try_echo=$ac_try;;
14477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14478 (eval "$ac_try") 2>&5
14480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14481 (exit $ac_status); }; } &&
14482 { ac_try='test -s conftest$ac_exeext'
14483 { (case "(($ac_try" in
14484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14485 *) ac_try_echo=$ac_try;;
14487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14488 (eval "$ac_try") 2>&5
14490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14491 (exit $ac_status); }; }; then
14492 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14494 echo "$as_me: failed program was:" >&5
14495 sed 's/^/| /' conftest.$ac_ext >&5
14497 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14500 rm -f core conftest.err conftest.$ac_objext \
14501 conftest$ac_exeext conftest.$ac_ext
14502 LIBS=$ac_check_lib_save_LIBS
14504 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14505 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14506 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14507 cat >conftest.$ac_ext <<_ACEOF
14510 cat confdefs.h >>conftest.$ac_ext
14511 cat >>conftest.$ac_ext <<_ACEOF
14512 /* end confdefs.h. */
14513 #ifdef HAVE_ALSA_ASOUNDLIB_H
14514 #include <alsa/asoundlib.h>
14515 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14516 #include <sys/asoundlib.h>
14521 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14526 rm -f conftest.$ac_objext
14527 if { (ac_try="$ac_compile"
14528 case "(($ac_try" in
14529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14530 *) ac_try_echo=$ac_try;;
14532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14533 (eval "$ac_compile") 2>conftest.er1
14535 grep -v '^ *+' conftest.er1 >conftest.err
14537 cat conftest.err >&5
14538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539 (exit $ac_status); } &&
14540 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14541 { (case "(($ac_try" in
14542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14543 *) ac_try_echo=$ac_try;;
14545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14546 (eval "$ac_try") 2>&5
14548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14549 (exit $ac_status); }; } &&
14550 { ac_try='test -s conftest.$ac_objext'
14551 { (case "(($ac_try" in
14552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14553 *) ac_try_echo=$ac_try;;
14555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14556 (eval "$ac_try") 2>&5
14558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14559 (exit $ac_status); }; }; then
14561 cat >>confdefs.h <<\_ACEOF
14562 #define HAVE_ALSA 1
14565 ALSALIBS="-lasound"
14567 echo "$as_me: failed program was:" >&5
14568 sed 's/^/| /' conftest.$ac_ext >&5
14573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14581 if test "$ac_cv_header_libaudioio_h" = "yes"
14583 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14584 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14585 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14586 echo $ECHO_N "(cached) $ECHO_C" >&6
14588 ac_check_lib_save_LIBS=$LIBS
14589 LIBS="-laudioio $LIBS"
14590 cat >conftest.$ac_ext <<_ACEOF
14593 cat confdefs.h >>conftest.$ac_ext
14594 cat >>conftest.$ac_ext <<_ACEOF
14595 /* end confdefs.h. */
14597 /* Override any GCC internal prototype to avoid an error.
14598 Use char because int might match the return type of a GCC
14599 builtin and then its argument prototype would still apply. */
14603 char AudioIOGetVersion ();
14607 return AudioIOGetVersion ();
14612 rm -f conftest.$ac_objext conftest$ac_exeext
14613 if { (ac_try="$ac_link"
14614 case "(($ac_try" in
14615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14616 *) ac_try_echo=$ac_try;;
14618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14619 (eval "$ac_link") 2>conftest.er1
14621 grep -v '^ *+' conftest.er1 >conftest.err
14623 cat conftest.err >&5
14624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14625 (exit $ac_status); } &&
14626 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14627 { (case "(($ac_try" in
14628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14629 *) ac_try_echo=$ac_try;;
14631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14632 (eval "$ac_try") 2>&5
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); }; } &&
14636 { ac_try='test -s conftest$ac_exeext'
14637 { (case "(($ac_try" in
14638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14639 *) ac_try_echo=$ac_try;;
14641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14642 (eval "$ac_try") 2>&5
14644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14645 (exit $ac_status); }; }; then
14646 ac_cv_lib_audioio_AudioIOGetVersion=yes
14648 echo "$as_me: failed program was:" >&5
14649 sed 's/^/| /' conftest.$ac_ext >&5
14651 ac_cv_lib_audioio_AudioIOGetVersion=no
14654 rm -f core conftest.err conftest.$ac_objext \
14655 conftest$ac_exeext conftest.$ac_ext
14656 LIBS=$ac_check_lib_save_LIBS
14658 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14659 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14660 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14661 AUDIOIOLIBS="-laudioio"
14663 cat >>confdefs.h <<\_ACEOF
14664 #define HAVE_LIBAUDIOIO 1
14672 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14674 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
14675 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
14676 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
14677 echo $ECHO_N "(cached) $ECHO_C" >&6
14679 ac_check_lib_save_LIBS=$LIBS
14680 LIBS="-lcapi20 $LIBS"
14681 cat >conftest.$ac_ext <<_ACEOF
14684 cat confdefs.h >>conftest.$ac_ext
14685 cat >>conftest.$ac_ext <<_ACEOF
14686 /* end confdefs.h. */
14688 /* Override any GCC internal prototype to avoid an error.
14689 Use char because int might match the return type of a GCC
14690 builtin and then its argument prototype would still apply. */
14694 char capi20_register ();
14698 return capi20_register ();
14703 rm -f conftest.$ac_objext conftest$ac_exeext
14704 if { (ac_try="$ac_link"
14705 case "(($ac_try" in
14706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14707 *) ac_try_echo=$ac_try;;
14709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14710 (eval "$ac_link") 2>conftest.er1
14712 grep -v '^ *+' conftest.er1 >conftest.err
14714 cat conftest.err >&5
14715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14716 (exit $ac_status); } &&
14717 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14718 { (case "(($ac_try" in
14719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14720 *) ac_try_echo=$ac_try;;
14722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14723 (eval "$ac_try") 2>&5
14725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14726 (exit $ac_status); }; } &&
14727 { ac_try='test -s conftest$ac_exeext'
14728 { (case "(($ac_try" in
14729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14730 *) ac_try_echo=$ac_try;;
14732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14733 (eval "$ac_try") 2>&5
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); }; }; then
14737 ac_cv_lib_capi20_capi20_register=yes
14739 echo "$as_me: failed program was:" >&5
14740 sed 's/^/| /' conftest.$ac_ext >&5
14742 ac_cv_lib_capi20_capi20_register=no
14745 rm -f core conftest.err conftest.$ac_objext \
14746 conftest$ac_exeext conftest.$ac_ext
14747 LIBS=$ac_check_lib_save_LIBS
14749 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
14750 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
14751 if test $ac_cv_lib_capi20_capi20_register = yes; then
14753 cat >>confdefs.h <<\_ACEOF
14754 #define HAVE_CAPI4LINUX 1
14762 if test "$ac_cv_header_gif_lib_h" = "yes"
14764 cat >conftest.$ac_ext <<_ACEOF
14767 cat confdefs.h >>conftest.$ac_ext
14768 cat >>conftest.$ac_ext <<_ACEOF
14769 /* end confdefs.h. */
14770 #include <gif_lib.h>
14774 static typeof(DGifOpen) * func;
14779 rm -f conftest.$ac_objext
14780 if { (ac_try="$ac_compile"
14781 case "(($ac_try" in
14782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14783 *) ac_try_echo=$ac_try;;
14785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14786 (eval "$ac_compile") 2>conftest.er1
14788 grep -v '^ *+' conftest.er1 >conftest.err
14790 cat conftest.err >&5
14791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14792 (exit $ac_status); } &&
14793 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14794 { (case "(($ac_try" in
14795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14796 *) ac_try_echo=$ac_try;;
14798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14799 (eval "$ac_try") 2>&5
14801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14802 (exit $ac_status); }; } &&
14803 { ac_try='test -s conftest.$ac_objext'
14804 { (case "(($ac_try" in
14805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14806 *) ac_try_echo=$ac_try;;
14808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14809 (eval "$ac_try") 2>&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); }; }; then
14814 cat >>confdefs.h <<\_ACEOF
14819 echo "$as_me: failed program was:" >&5
14820 sed 's/^/| /' conftest.$ac_ext >&5
14825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14831 if test "x${GCC}" = "xyes"
14833 EXTRACFLAGS="-Wall -pipe"
14835 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14836 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14837 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14838 echo $ECHO_N "(cached) $ECHO_C" >&6
14840 if test "$cross_compiling" = yes; then
14841 ac_cv_c_gcc_strength_bug="yes"
14843 cat >conftest.$ac_ext <<_ACEOF
14846 cat confdefs.h >>conftest.$ac_ext
14847 cat >>conftest.$ac_ext <<_ACEOF
14848 /* end confdefs.h. */
14850 int L[4] = {0,1,2,3};
14852 static int Array[3];
14853 unsigned int B = 3;
14855 for(i=0; i<B; i++) Array[i] = i - 3;
14856 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14859 exit( Array[1] != -2 || L[2] != 3);
14862 rm -f conftest$ac_exeext
14863 if { (ac_try="$ac_link"
14864 case "(($ac_try" in
14865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14866 *) ac_try_echo=$ac_try;;
14868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14869 (eval "$ac_link") 2>&5
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14873 { (case "(($ac_try" in
14874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14875 *) ac_try_echo=$ac_try;;
14877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14878 (eval "$ac_try") 2>&5
14880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14881 (exit $ac_status); }; }; then
14882 ac_cv_c_gcc_strength_bug="no"
14884 echo "$as_me: program exited with status $ac_status" >&5
14885 echo "$as_me: failed program was:" >&5
14886 sed 's/^/| /' conftest.$ac_ext >&5
14888 ( exit $ac_status )
14889 ac_cv_c_gcc_strength_bug="yes"
14891 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14896 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14897 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14898 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14900 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14903 { echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
14904 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6; }
14905 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
14906 echo $ECHO_N "(cached) $ECHO_C" >&6
14908 ac_wine_try_cflags_saved=$CFLAGS
14909 CFLAGS="$CFLAGS -fshort-wchar"
14910 cat >conftest.$ac_ext <<_ACEOF
14913 cat confdefs.h >>conftest.$ac_ext
14914 cat >>conftest.$ac_ext <<_ACEOF
14915 /* end confdefs.h. */
14925 rm -f conftest.$ac_objext conftest$ac_exeext
14926 if { (ac_try="$ac_link"
14927 case "(($ac_try" in
14928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14929 *) ac_try_echo=$ac_try;;
14931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14932 (eval "$ac_link") 2>conftest.er1
14934 grep -v '^ *+' conftest.er1 >conftest.err
14936 cat conftest.err >&5
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); } &&
14939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14940 { (case "(($ac_try" in
14941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14942 *) ac_try_echo=$ac_try;;
14944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14945 (eval "$ac_try") 2>&5
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); }; } &&
14949 { ac_try='test -s conftest$ac_exeext'
14950 { (case "(($ac_try" in
14951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14952 *) ac_try_echo=$ac_try;;
14954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14955 (eval "$ac_try") 2>&5
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); }; }; then
14959 ac_cv_c_gcc_fshort_wchar="yes"
14961 echo "$as_me: failed program was:" >&5
14962 sed 's/^/| /' conftest.$ac_ext >&5
14964 ac_cv_c_gcc_fshort_wchar="no"
14967 rm -f core conftest.err conftest.$ac_objext \
14968 conftest$ac_exeext conftest.$ac_ext
14969 CFLAGS=$ac_wine_try_cflags_saved
14971 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
14972 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6; }
14973 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
14976 cat >>confdefs.h <<\_ACEOF
14977 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14982 { echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
14983 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6; }
14984 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
14985 echo $ECHO_N "(cached) $ECHO_C" >&6
14987 ac_wine_try_cflags_saved=$CFLAGS
14988 CFLAGS="$CFLAGS -fno-strict-aliasing"
14989 cat >conftest.$ac_ext <<_ACEOF
14992 cat confdefs.h >>conftest.$ac_ext
14993 cat >>conftest.$ac_ext <<_ACEOF
14994 /* end confdefs.h. */
15004 rm -f conftest.$ac_objext conftest$ac_exeext
15005 if { (ac_try="$ac_link"
15006 case "(($ac_try" in
15007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15008 *) ac_try_echo=$ac_try;;
15010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15011 (eval "$ac_link") 2>conftest.er1
15013 grep -v '^ *+' conftest.er1 >conftest.err
15015 cat conftest.err >&5
15016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15017 (exit $ac_status); } &&
15018 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15019 { (case "(($ac_try" in
15020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15021 *) ac_try_echo=$ac_try;;
15023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15024 (eval "$ac_try") 2>&5
15026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15027 (exit $ac_status); }; } &&
15028 { ac_try='test -s conftest$ac_exeext'
15029 { (case "(($ac_try" in
15030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15031 *) ac_try_echo=$ac_try;;
15033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15034 (eval "$ac_try") 2>&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); }; }; then
15038 ac_cv_c_gcc_no_strict_aliasing="yes"
15040 echo "$as_me: failed program was:" >&5
15041 sed 's/^/| /' conftest.$ac_ext >&5
15043 ac_cv_c_gcc_no_strict_aliasing="no"
15046 rm -f core conftest.err conftest.$ac_objext \
15047 conftest$ac_exeext conftest.$ac_ext
15048 CFLAGS=$ac_wine_try_cflags_saved
15050 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
15051 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6; }
15052 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
15054 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15057 { echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
15058 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6; }
15059 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
15060 echo $ECHO_N "(cached) $ECHO_C" >&6
15062 ac_wine_try_cflags_saved=$CFLAGS
15063 CFLAGS="$CFLAGS -gstabs+"
15064 cat >conftest.$ac_ext <<_ACEOF
15067 cat confdefs.h >>conftest.$ac_ext
15068 cat >>conftest.$ac_ext <<_ACEOF
15069 /* end confdefs.h. */
15079 rm -f conftest.$ac_objext conftest$ac_exeext
15080 if { (ac_try="$ac_link"
15081 case "(($ac_try" in
15082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15083 *) ac_try_echo=$ac_try;;
15085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15086 (eval "$ac_link") 2>conftest.er1
15088 grep -v '^ *+' conftest.er1 >conftest.err
15090 cat conftest.err >&5
15091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 (exit $ac_status); } &&
15093 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15094 { (case "(($ac_try" in
15095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15096 *) ac_try_echo=$ac_try;;
15098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15099 (eval "$ac_try") 2>&5
15101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15102 (exit $ac_status); }; } &&
15103 { ac_try='test -s conftest$ac_exeext'
15104 { (case "(($ac_try" in
15105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15106 *) ac_try_echo=$ac_try;;
15108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15109 (eval "$ac_try") 2>&5
15111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15112 (exit $ac_status); }; }; then
15113 ac_cv_c_gcc_gstabs="yes"
15115 echo "$as_me: failed program was:" >&5
15116 sed 's/^/| /' conftest.$ac_ext >&5
15118 ac_cv_c_gcc_gstabs="no"
15121 rm -f core conftest.err conftest.$ac_objext \
15122 conftest$ac_exeext conftest.$ac_ext
15123 CFLAGS=$ac_wine_try_cflags_saved
15125 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
15126 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6; }
15127 if test "$ac_cv_c_gcc_gstabs" = "yes"
15129 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
15132 { echo "$as_me:$LINENO: checking for gcc -Wdeclaration-after-statement support" >&5
15133 echo $ECHO_N "checking for gcc -Wdeclaration-after-statement support... $ECHO_C" >&6; }
15134 if test "${ac_cv_c_gcc_decl_after_statement+set}" = set; then
15135 echo $ECHO_N "(cached) $ECHO_C" >&6
15137 ac_wine_try_cflags_saved=$CFLAGS
15138 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15139 cat >conftest.$ac_ext <<_ACEOF
15142 cat confdefs.h >>conftest.$ac_ext
15143 cat >>conftest.$ac_ext <<_ACEOF
15144 /* end confdefs.h. */
15154 rm -f conftest.$ac_objext conftest$ac_exeext
15155 if { (ac_try="$ac_link"
15156 case "(($ac_try" in
15157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15158 *) ac_try_echo=$ac_try;;
15160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15161 (eval "$ac_link") 2>conftest.er1
15163 grep -v '^ *+' conftest.er1 >conftest.err
15165 cat conftest.err >&5
15166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15167 (exit $ac_status); } &&
15168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15169 { (case "(($ac_try" in
15170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15171 *) ac_try_echo=$ac_try;;
15173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15174 (eval "$ac_try") 2>&5
15176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15177 (exit $ac_status); }; } &&
15178 { ac_try='test -s conftest$ac_exeext'
15179 { (case "(($ac_try" in
15180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15181 *) ac_try_echo=$ac_try;;
15183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15184 (eval "$ac_try") 2>&5
15186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15187 (exit $ac_status); }; }; then
15188 ac_cv_c_gcc_decl_after_statement="yes"
15190 echo "$as_me: failed program was:" >&5
15191 sed 's/^/| /' conftest.$ac_ext >&5
15193 ac_cv_c_gcc_decl_after_statement="no"
15196 rm -f core conftest.err conftest.$ac_objext \
15197 conftest$ac_exeext conftest.$ac_ext
15198 CFLAGS=$ac_wine_try_cflags_saved
15200 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_decl_after_statement" >&5
15201 echo "${ECHO_T}$ac_cv_c_gcc_decl_after_statement" >&6; }
15202 if test "$ac_cv_c_gcc_decl_after_statement" = "yes"
15204 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15207 saved_CFLAGS="$CFLAGS"
15208 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15209 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15210 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15211 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15212 echo $ECHO_N "(cached) $ECHO_C" >&6
15214 cat >conftest.$ac_ext <<_ACEOF
15217 cat confdefs.h >>conftest.$ac_ext
15218 cat >>conftest.$ac_ext <<_ACEOF
15219 /* end confdefs.h. */
15220 #include <string.h>
15229 rm -f conftest.$ac_objext
15230 if { (ac_try="$ac_compile"
15231 case "(($ac_try" in
15232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15233 *) ac_try_echo=$ac_try;;
15235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15236 (eval "$ac_compile") 2>conftest.er1
15238 grep -v '^ *+' conftest.er1 >conftest.err
15240 cat conftest.err >&5
15241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15242 (exit $ac_status); } &&
15243 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15244 { (case "(($ac_try" in
15245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15246 *) ac_try_echo=$ac_try;;
15248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15249 (eval "$ac_try") 2>&5
15251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15252 (exit $ac_status); }; } &&
15253 { ac_try='test -s conftest.$ac_objext'
15254 { (case "(($ac_try" in
15255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15256 *) ac_try_echo=$ac_try;;
15258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15259 (eval "$ac_try") 2>&5
15261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262 (exit $ac_status); }; }; then
15263 ac_cv_c_string_h_warnings=no
15265 echo "$as_me: failed program was:" >&5
15266 sed 's/^/| /' conftest.$ac_ext >&5
15268 ac_cv_c_string_h_warnings=yes
15271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15273 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15274 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15275 CFLAGS="$saved_CFLAGS"
15276 if test "$ac_cv_c_string_h_warnings" = "no"
15278 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15283 saved_CFLAGS="$CFLAGS"
15284 CFLAGS="$CFLAGS -Werror"
15285 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15286 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15287 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15288 echo $ECHO_N "(cached) $ECHO_C" >&6
15290 cat >conftest.$ac_ext <<_ACEOF
15293 cat confdefs.h >>conftest.$ac_ext
15294 cat >>conftest.$ac_ext <<_ACEOF
15295 /* end confdefs.h. */
15300 int iswlower(unsigned short);
15305 rm -f conftest.$ac_objext
15306 if { (ac_try="$ac_compile"
15307 case "(($ac_try" in
15308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15309 *) ac_try_echo=$ac_try;;
15311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15312 (eval "$ac_compile") 2>conftest.er1
15314 grep -v '^ *+' conftest.er1 >conftest.err
15316 cat conftest.err >&5
15317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15318 (exit $ac_status); } &&
15319 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15320 { (case "(($ac_try" in
15321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15322 *) ac_try_echo=$ac_try;;
15324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15325 (eval "$ac_try") 2>&5
15327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15328 (exit $ac_status); }; } &&
15329 { ac_try='test -s conftest.$ac_objext'
15330 { (case "(($ac_try" in
15331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15332 *) ac_try_echo=$ac_try;;
15334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15335 (eval "$ac_try") 2>&5
15337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15338 (exit $ac_status); }; }; then
15339 ac_cv_c_builtin_wchar_ctype=no
15341 echo "$as_me: failed program was:" >&5
15342 sed 's/^/| /' conftest.$ac_ext >&5
15344 ac_cv_c_builtin_wchar_ctype=yes
15347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15349 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15350 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15351 CFLAGS="$saved_CFLAGS"
15352 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15354 BUILTINFLAG="-fno-builtin"
15359 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15360 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15361 if test "${ac_cv_asm_func_def+set}" = set; then
15362 echo $ECHO_N "(cached) $ECHO_C" >&6
15364 cat >conftest.$ac_ext <<_ACEOF
15367 cat confdefs.h >>conftest.$ac_ext
15368 cat >>conftest.$ac_ext <<_ACEOF
15369 /* end confdefs.h. */
15370 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"); }
15380 rm -f conftest.$ac_objext conftest$ac_exeext
15381 if { (ac_try="$ac_link"
15382 case "(($ac_try" in
15383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15384 *) ac_try_echo=$ac_try;;
15386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15387 (eval "$ac_link") 2>conftest.er1
15389 grep -v '^ *+' conftest.er1 >conftest.err
15391 cat conftest.err >&5
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); } &&
15394 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15395 { (case "(($ac_try" in
15396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15397 *) ac_try_echo=$ac_try;;
15399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15400 (eval "$ac_try") 2>&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); }; } &&
15404 { ac_try='test -s conftest$ac_exeext'
15405 { (case "(($ac_try" in
15406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15407 *) ac_try_echo=$ac_try;;
15409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15410 (eval "$ac_try") 2>&5
15412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15413 (exit $ac_status); }; }; then
15414 ac_cv_asm_func_def=".def"
15416 echo "$as_me: failed program was:" >&5
15417 sed 's/^/| /' conftest.$ac_ext >&5
15419 cat >conftest.$ac_ext <<_ACEOF
15422 cat confdefs.h >>conftest.$ac_ext
15423 cat >>conftest.$ac_ext <<_ACEOF
15424 /* end confdefs.h. */
15425 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
15435 rm -f conftest.$ac_objext conftest$ac_exeext
15436 if { (ac_try="$ac_link"
15437 case "(($ac_try" in
15438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15439 *) ac_try_echo=$ac_try;;
15441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15442 (eval "$ac_link") 2>conftest.er1
15444 grep -v '^ *+' conftest.er1 >conftest.err
15446 cat conftest.err >&5
15447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15448 (exit $ac_status); } &&
15449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15450 { (case "(($ac_try" in
15451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15452 *) ac_try_echo=$ac_try;;
15454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15455 (eval "$ac_try") 2>&5
15457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15458 (exit $ac_status); }; } &&
15459 { ac_try='test -s conftest$ac_exeext'
15460 { (case "(($ac_try" in
15461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15462 *) ac_try_echo=$ac_try;;
15464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15465 (eval "$ac_try") 2>&5
15467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15468 (exit $ac_status); }; }; then
15469 ac_cv_asm_func_def=".type @function"
15471 echo "$as_me: failed program was:" >&5
15472 sed 's/^/| /' conftest.$ac_ext >&5
15474 cat >conftest.$ac_ext <<_ACEOF
15477 cat confdefs.h >>conftest.$ac_ext
15478 cat >>conftest.$ac_ext <<_ACEOF
15479 /* end confdefs.h. */
15480 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
15490 rm -f conftest.$ac_objext conftest$ac_exeext
15491 if { (ac_try="$ac_link"
15492 case "(($ac_try" in
15493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15494 *) ac_try_echo=$ac_try;;
15496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15497 (eval "$ac_link") 2>conftest.er1
15499 grep -v '^ *+' conftest.er1 >conftest.err
15501 cat conftest.err >&5
15502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503 (exit $ac_status); } &&
15504 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15505 { (case "(($ac_try" in
15506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15507 *) ac_try_echo=$ac_try;;
15509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15510 (eval "$ac_try") 2>&5
15512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15513 (exit $ac_status); }; } &&
15514 { ac_try='test -s conftest$ac_exeext'
15515 { (case "(($ac_try" in
15516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15517 *) ac_try_echo=$ac_try;;
15519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15520 (eval "$ac_try") 2>&5
15522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15523 (exit $ac_status); }; }; then
15524 ac_cv_asm_func_def=".type 2"
15526 echo "$as_me: failed program was:" >&5
15527 sed 's/^/| /' conftest.$ac_ext >&5
15529 ac_cv_asm_func_def="unknown"
15532 rm -f core conftest.err conftest.$ac_objext \
15533 conftest$ac_exeext conftest.$ac_ext
15536 rm -f core conftest.err conftest.$ac_objext \
15537 conftest$ac_exeext conftest.$ac_ext
15540 rm -f core conftest.err conftest.$ac_objext \
15541 conftest$ac_exeext conftest.$ac_ext
15543 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15544 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15548 case "$ac_cv_asm_func_def" in
15550 cat >>confdefs.h <<\_ACEOF
15551 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15555 cat >>confdefs.h <<\_ACEOF
15556 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15560 cat >>confdefs.h <<\_ACEOF
15561 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15565 cat >>confdefs.h <<\_ACEOF
15566 #define __ASM_FUNC(name) ""
15572 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15573 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15574 if test "${ac_cv_c_extern_prefix+set}" = set; then
15575 echo $ECHO_N "(cached) $ECHO_C" >&6
15577 cat >conftest.$ac_ext <<_ACEOF
15580 cat confdefs.h >>conftest.$ac_ext
15581 cat >>conftest.$ac_ext <<_ACEOF
15582 /* end confdefs.h. */
15583 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
15584 extern int ac_test;
15588 if (ac_test) return 1
15593 rm -f conftest.$ac_objext conftest$ac_exeext
15594 if { (ac_try="$ac_link"
15595 case "(($ac_try" in
15596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15597 *) ac_try_echo=$ac_try;;
15599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15600 (eval "$ac_link") 2>conftest.er1
15602 grep -v '^ *+' conftest.er1 >conftest.err
15604 cat conftest.err >&5
15605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15606 (exit $ac_status); } &&
15607 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15608 { (case "(($ac_try" in
15609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15610 *) ac_try_echo=$ac_try;;
15612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15613 (eval "$ac_try") 2>&5
15615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15616 (exit $ac_status); }; } &&
15617 { ac_try='test -s conftest$ac_exeext'
15618 { (case "(($ac_try" in
15619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15620 *) ac_try_echo=$ac_try;;
15622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15623 (eval "$ac_try") 2>&5
15625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15626 (exit $ac_status); }; }; then
15627 ac_cv_c_extern_prefix="yes"
15629 echo "$as_me: failed program was:" >&5
15630 sed 's/^/| /' conftest.$ac_ext >&5
15632 ac_cv_c_extern_prefix="no"
15635 rm -f core conftest.err conftest.$ac_objext \
15636 conftest$ac_exeext conftest.$ac_ext
15638 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15639 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15643 if test "$ac_cv_c_extern_prefix" = "yes"
15645 cat >>confdefs.h <<\_ACEOF
15646 #define __ASM_NAME(name) "_" name
15650 cat >>confdefs.h <<\_ACEOF
15651 #define __ASM_NAME(name) name
15659 DLLFLAGS="-D_REENTRANT"
15674 if test -n "$ac_tool_prefix"; then
15675 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15676 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15677 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15679 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15680 echo $ECHO_N "(cached) $ECHO_C" >&6
15682 if test -n "$DLLTOOL"; then
15683 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15686 for as_dir in $PATH
15689 test -z "$as_dir" && as_dir=.
15690 for ac_exec_ext in '' $ac_executable_extensions; do
15691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15692 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15702 DLLTOOL=$ac_cv_prog_DLLTOOL
15703 if test -n "$DLLTOOL"; then
15704 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15705 echo "${ECHO_T}$DLLTOOL" >&6; }
15707 { echo "$as_me:$LINENO: result: no" >&5
15708 echo "${ECHO_T}no" >&6; }
15713 if test -z "$ac_cv_prog_DLLTOOL"; then
15714 ac_ct_DLLTOOL=$DLLTOOL
15715 # Extract the first word of "dlltool", so it can be a program name with args.
15716 set dummy dlltool; ac_word=$2
15717 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15719 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15720 echo $ECHO_N "(cached) $ECHO_C" >&6
15722 if test -n "$ac_ct_DLLTOOL"; then
15723 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15726 for as_dir in $PATH
15729 test -z "$as_dir" && as_dir=.
15730 for ac_exec_ext in '' $ac_executable_extensions; do
15731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15732 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15742 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15743 if test -n "$ac_ct_DLLTOOL"; then
15744 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15745 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
15747 { echo "$as_me:$LINENO: result: no" >&5
15748 echo "${ECHO_T}no" >&6; }
15751 if test "x$ac_ct_DLLTOOL" = x; then
15754 case $cross_compiling:$ac_tool_warned in
15756 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15757 whose name does not start with the host triplet. If you think this
15758 configuration is useful to you, please write to autoconf@gnu.org." >&5
15759 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15760 whose name does not start with the host triplet. If you think this
15761 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15762 ac_tool_warned=yes ;;
15764 DLLTOOL=$ac_ct_DLLTOOL
15767 DLLTOOL="$ac_cv_prog_DLLTOOL"
15770 if test -n "$ac_tool_prefix"; then
15771 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
15772 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
15773 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15775 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
15776 echo $ECHO_N "(cached) $ECHO_C" >&6
15778 if test -n "$DLLWRAP"; then
15779 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
15781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15782 for as_dir in $PATH
15785 test -z "$as_dir" && as_dir=.
15786 for ac_exec_ext in '' $ac_executable_extensions; do
15787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15788 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
15789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15798 DLLWRAP=$ac_cv_prog_DLLWRAP
15799 if test -n "$DLLWRAP"; then
15800 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
15801 echo "${ECHO_T}$DLLWRAP" >&6; }
15803 { echo "$as_me:$LINENO: result: no" >&5
15804 echo "${ECHO_T}no" >&6; }
15809 if test -z "$ac_cv_prog_DLLWRAP"; then
15810 ac_ct_DLLWRAP=$DLLWRAP
15811 # Extract the first word of "dllwrap", so it can be a program name with args.
15812 set dummy dllwrap; ac_word=$2
15813 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15815 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
15816 echo $ECHO_N "(cached) $ECHO_C" >&6
15818 if test -n "$ac_ct_DLLWRAP"; then
15819 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
15821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15822 for as_dir in $PATH
15825 test -z "$as_dir" && as_dir=.
15826 for ac_exec_ext in '' $ac_executable_extensions; do
15827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15828 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
15829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15838 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
15839 if test -n "$ac_ct_DLLWRAP"; then
15840 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
15841 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
15843 { echo "$as_me:$LINENO: result: no" >&5
15844 echo "${ECHO_T}no" >&6; }
15847 if test "x$ac_ct_DLLWRAP" = x; then
15850 case $cross_compiling:$ac_tool_warned in
15852 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15853 whose name does not start with the host triplet. If you think this
15854 configuration is useful to you, please write to autoconf@gnu.org." >&5
15855 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15856 whose name does not start with the host triplet. If you think this
15857 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15858 ac_tool_warned=yes ;;
15860 DLLWRAP=$ac_ct_DLLWRAP
15863 DLLWRAP="$ac_cv_prog_DLLWRAP"
15866 if test "$DLLWRAP" = "false"; then
15876 if test "$ac_cv_header_dlfcn_h" = "yes"
15879 for ac_func in dlopen
15881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15882 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15884 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15885 echo $ECHO_N "(cached) $ECHO_C" >&6
15887 cat >conftest.$ac_ext <<_ACEOF
15890 cat confdefs.h >>conftest.$ac_ext
15891 cat >>conftest.$ac_ext <<_ACEOF
15892 /* end confdefs.h. */
15893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15895 #define $ac_func innocuous_$ac_func
15897 /* System header to define __stub macros and hopefully few prototypes,
15898 which can conflict with char $ac_func (); below.
15899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15900 <limits.h> exists even on freestanding compilers. */
15903 # include <limits.h>
15905 # include <assert.h>
15910 /* Override any GCC internal prototype to avoid an error.
15911 Use char because int might match the return type of a GCC
15912 builtin and then its argument prototype would still apply. */
15917 /* The GNU C library defines this for functions which it implements
15918 to always fail with ENOSYS. Some functions are actually named
15919 something starting with __ and the normal name is an alias. */
15920 #if defined __stub_$ac_func || defined __stub___$ac_func
15927 return $ac_func ();
15932 rm -f conftest.$ac_objext conftest$ac_exeext
15933 if { (ac_try="$ac_link"
15934 case "(($ac_try" in
15935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15936 *) ac_try_echo=$ac_try;;
15938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15939 (eval "$ac_link") 2>conftest.er1
15941 grep -v '^ *+' conftest.er1 >conftest.err
15943 cat conftest.err >&5
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); } &&
15946 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15947 { (case "(($ac_try" in
15948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15949 *) ac_try_echo=$ac_try;;
15951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15952 (eval "$ac_try") 2>&5
15954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955 (exit $ac_status); }; } &&
15956 { ac_try='test -s conftest$ac_exeext'
15957 { (case "(($ac_try" in
15958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15959 *) ac_try_echo=$ac_try;;
15961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15962 (eval "$ac_try") 2>&5
15964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15965 (exit $ac_status); }; }; then
15966 eval "$as_ac_var=yes"
15968 echo "$as_me: failed program was:" >&5
15969 sed 's/^/| /' conftest.$ac_ext >&5
15971 eval "$as_ac_var=no"
15974 rm -f core conftest.err conftest.$ac_objext \
15975 conftest$ac_exeext conftest.$ac_ext
15977 ac_res=`eval echo '${'$as_ac_var'}'`
15978 { echo "$as_me:$LINENO: result: $ac_res" >&5
15979 echo "${ECHO_T}$ac_res" >&6; }
15980 if test `eval echo '${'$as_ac_var'}'` = yes; then
15981 cat >>confdefs.h <<_ACEOF
15982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15986 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15987 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15988 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15989 echo $ECHO_N "(cached) $ECHO_C" >&6
15991 ac_check_lib_save_LIBS=$LIBS
15993 cat >conftest.$ac_ext <<_ACEOF
15996 cat confdefs.h >>conftest.$ac_ext
15997 cat >>conftest.$ac_ext <<_ACEOF
15998 /* end confdefs.h. */
16000 /* Override any GCC internal prototype to avoid an error.
16001 Use char because int might match the return type of a GCC
16002 builtin and then its argument prototype would still apply. */
16015 rm -f conftest.$ac_objext conftest$ac_exeext
16016 if { (ac_try="$ac_link"
16017 case "(($ac_try" in
16018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16019 *) ac_try_echo=$ac_try;;
16021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16022 (eval "$ac_link") 2>conftest.er1
16024 grep -v '^ *+' conftest.er1 >conftest.err
16026 cat conftest.err >&5
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); } &&
16029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16030 { (case "(($ac_try" in
16031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16032 *) ac_try_echo=$ac_try;;
16034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16035 (eval "$ac_try") 2>&5
16037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16038 (exit $ac_status); }; } &&
16039 { ac_try='test -s conftest$ac_exeext'
16040 { (case "(($ac_try" in
16041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16042 *) ac_try_echo=$ac_try;;
16044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16045 (eval "$ac_try") 2>&5
16047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16048 (exit $ac_status); }; }; then
16049 ac_cv_lib_dl_dlopen=yes
16051 echo "$as_me: failed program was:" >&5
16052 sed 's/^/| /' conftest.$ac_ext >&5
16054 ac_cv_lib_dl_dlopen=no
16057 rm -f core conftest.err conftest.$ac_objext \
16058 conftest$ac_exeext conftest.$ac_ext
16059 LIBS=$ac_check_lib_save_LIBS
16061 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16062 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16063 if test $ac_cv_lib_dl_dlopen = yes; then
16065 cat >>confdefs.h <<\_ACEOF
16066 #define HAVE_DLOPEN 1
16077 ac_wine_check_funcs_save_LIBS="$LIBS"
16078 LIBS="$LIBS $DLLIBS"
16080 for ac_func in dladdr
16082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16083 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16085 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16086 echo $ECHO_N "(cached) $ECHO_C" >&6
16088 cat >conftest.$ac_ext <<_ACEOF
16091 cat confdefs.h >>conftest.$ac_ext
16092 cat >>conftest.$ac_ext <<_ACEOF
16093 /* end confdefs.h. */
16094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16096 #define $ac_func innocuous_$ac_func
16098 /* System header to define __stub macros and hopefully few prototypes,
16099 which can conflict with char $ac_func (); below.
16100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16101 <limits.h> exists even on freestanding compilers. */
16104 # include <limits.h>
16106 # include <assert.h>
16111 /* Override any GCC internal prototype to avoid an error.
16112 Use char because int might match the return type of a GCC
16113 builtin and then its argument prototype would still apply. */
16118 /* The GNU C library defines this for functions which it implements
16119 to always fail with ENOSYS. Some functions are actually named
16120 something starting with __ and the normal name is an alias. */
16121 #if defined __stub_$ac_func || defined __stub___$ac_func
16128 return $ac_func ();
16133 rm -f conftest.$ac_objext conftest$ac_exeext
16134 if { (ac_try="$ac_link"
16135 case "(($ac_try" in
16136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16137 *) ac_try_echo=$ac_try;;
16139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16140 (eval "$ac_link") 2>conftest.er1
16142 grep -v '^ *+' conftest.er1 >conftest.err
16144 cat conftest.err >&5
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); } &&
16147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16148 { (case "(($ac_try" in
16149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16150 *) ac_try_echo=$ac_try;;
16152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16153 (eval "$ac_try") 2>&5
16155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16156 (exit $ac_status); }; } &&
16157 { ac_try='test -s conftest$ac_exeext'
16158 { (case "(($ac_try" in
16159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16160 *) ac_try_echo=$ac_try;;
16162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16163 (eval "$ac_try") 2>&5
16165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16166 (exit $ac_status); }; }; then
16167 eval "$as_ac_var=yes"
16169 echo "$as_me: failed program was:" >&5
16170 sed 's/^/| /' conftest.$ac_ext >&5
16172 eval "$as_ac_var=no"
16175 rm -f core conftest.err conftest.$ac_objext \
16176 conftest$ac_exeext conftest.$ac_ext
16178 ac_res=`eval echo '${'$as_ac_var'}'`
16179 { echo "$as_me:$LINENO: result: $ac_res" >&5
16180 echo "${ECHO_T}$ac_res" >&6; }
16181 if test `eval echo '${'$as_ac_var'}'` = yes; then
16182 cat >>confdefs.h <<_ACEOF
16183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16189 LIBS="$ac_wine_check_funcs_save_LIBS"
16194 if test "$LIBEXT" = "so"
16196 DLLFLAGS="$DLLFLAGS -fPIC"
16198 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
16199 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
16200 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
16201 echo $ECHO_N "(cached) $ECHO_C" >&6
16203 ac_wine_try_cflags_saved=$CFLAGS
16204 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
16205 cat >conftest.$ac_ext <<_ACEOF
16208 rm -f conftest.$ac_objext conftest$ac_exeext
16209 if { (ac_try="$ac_link"
16210 case "(($ac_try" in
16211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16212 *) ac_try_echo=$ac_try;;
16214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16215 (eval "$ac_link") 2>conftest.er1
16217 grep -v '^ *+' conftest.er1 >conftest.err
16219 cat conftest.err >&5
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); } &&
16222 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16223 { (case "(($ac_try" in
16224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16225 *) ac_try_echo=$ac_try;;
16227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16228 (eval "$ac_try") 2>&5
16230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16231 (exit $ac_status); }; } &&
16232 { ac_try='test -s conftest$ac_exeext'
16233 { (case "(($ac_try" in
16234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16235 *) ac_try_echo=$ac_try;;
16237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16238 (eval "$ac_try") 2>&5
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); }; }; then
16242 ac_cv_c_dll_gnuelf="yes"
16244 echo "$as_me: failed program was:" >&5
16245 sed 's/^/| /' conftest.$ac_ext >&5
16247 ac_cv_c_dll_gnuelf="no"
16250 rm -f core conftest.err conftest.$ac_objext \
16251 conftest$ac_exeext conftest.$ac_ext
16252 CFLAGS=$ac_wine_try_cflags_saved
16254 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
16255 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
16256 if test "$ac_cv_c_dll_gnuelf" = "yes"
16258 LDSHARED="\$(CC) -shared"
16259 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
16260 { echo "$as_me:$LINENO: checking whether the linker accepts soname" >&5
16261 echo $ECHO_N "checking whether the linker accepts soname... $ECHO_C" >&6; }
16262 if test "${ac_cv_c_sonames+set}" = set; then
16263 echo $ECHO_N "(cached) $ECHO_C" >&6
16265 ac_wine_try_cflags_saved=$CFLAGS
16266 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
16267 cat >conftest.$ac_ext <<_ACEOF
16270 cat confdefs.h >>conftest.$ac_ext
16271 cat >>conftest.$ac_ext <<_ACEOF
16272 /* end confdefs.h. */
16282 rm -f conftest.$ac_objext conftest$ac_exeext
16283 if { (ac_try="$ac_link"
16284 case "(($ac_try" in
16285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16286 *) ac_try_echo=$ac_try;;
16288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16289 (eval "$ac_link") 2>conftest.er1
16291 grep -v '^ *+' conftest.er1 >conftest.err
16293 cat conftest.err >&5
16294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16295 (exit $ac_status); } &&
16296 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16297 { (case "(($ac_try" in
16298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16299 *) ac_try_echo=$ac_try;;
16301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16302 (eval "$ac_try") 2>&5
16304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305 (exit $ac_status); }; } &&
16306 { ac_try='test -s conftest$ac_exeext'
16307 { (case "(($ac_try" in
16308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16309 *) ac_try_echo=$ac_try;;
16311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16312 (eval "$ac_try") 2>&5
16314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16315 (exit $ac_status); }; }; then
16316 ac_cv_c_sonames="yes"
16318 echo "$as_me: failed program was:" >&5
16319 sed 's/^/| /' conftest.$ac_ext >&5
16321 ac_cv_c_sonames="no"
16324 rm -f core conftest.err conftest.$ac_objext \
16325 conftest$ac_exeext conftest.$ac_ext
16326 CFLAGS=$ac_wine_try_cflags_saved
16328 { echo "$as_me:$LINENO: result: $ac_cv_c_sonames" >&5
16329 echo "${ECHO_T}$ac_cv_c_sonames" >&6; }
16330 if test "$ac_cv_c_sonames" = "yes"
16332 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
16334 { echo "$as_me:$LINENO: checking check to see if -h soname is an alternate" >&5
16335 echo $ECHO_N "checking check to see if -h soname is an alternate... $ECHO_C" >&6; }
16336 if test "${ac_cv_c_h_sonames+set}" = set; then
16337 echo $ECHO_N "(cached) $ECHO_C" >&6
16339 ac_wine_try_cflags_saved=$CFLAGS
16340 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
16341 cat >conftest.$ac_ext <<_ACEOF
16344 cat confdefs.h >>conftest.$ac_ext
16345 cat >>conftest.$ac_ext <<_ACEOF
16346 /* end confdefs.h. */
16356 rm -f conftest.$ac_objext conftest$ac_exeext
16357 if { (ac_try="$ac_link"
16358 case "(($ac_try" in
16359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16360 *) ac_try_echo=$ac_try;;
16362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16363 (eval "$ac_link") 2>conftest.er1
16365 grep -v '^ *+' conftest.er1 >conftest.err
16367 cat conftest.err >&5
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); } &&
16370 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16371 { (case "(($ac_try" in
16372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16373 *) ac_try_echo=$ac_try;;
16375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16376 (eval "$ac_try") 2>&5
16378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16379 (exit $ac_status); }; } &&
16380 { ac_try='test -s conftest$ac_exeext'
16381 { (case "(($ac_try" in
16382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16383 *) ac_try_echo=$ac_try;;
16385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16386 (eval "$ac_try") 2>&5
16388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16389 (exit $ac_status); }; }; then
16390 ac_cv_c_h_sonames="yes"
16392 echo "$as_me: failed program was:" >&5
16393 sed 's/^/| /' conftest.$ac_ext >&5
16395 ac_cv_c_h_sonames="no"
16398 rm -f core conftest.err conftest.$ac_objext \
16399 conftest$ac_exeext conftest.$ac_ext
16400 CFLAGS=$ac_wine_try_cflags_saved
16402 { echo "$as_me:$LINENO: result: $ac_cv_c_h_sonames" >&5
16403 echo "${ECHO_T}$ac_cv_c_h_sonames" >&6; }
16404 if test "$ac_cv_c_h_sonames" = "yes"
16406 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
16410 { echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
16411 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6; }
16412 if test "${ac_cv_c_dll_zdefs+set}" = set; then
16413 echo $ECHO_N "(cached) $ECHO_C" >&6
16415 ac_wine_try_cflags_saved=$CFLAGS
16416 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
16417 cat >conftest.$ac_ext <<_ACEOF
16420 cat confdefs.h >>conftest.$ac_ext
16421 cat >>conftest.$ac_ext <<_ACEOF
16422 /* end confdefs.h. */
16432 rm -f conftest.$ac_objext conftest$ac_exeext
16433 if { (ac_try="$ac_link"
16434 case "(($ac_try" in
16435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16436 *) ac_try_echo=$ac_try;;
16438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16439 (eval "$ac_link") 2>conftest.er1
16441 grep -v '^ *+' conftest.er1 >conftest.err
16443 cat conftest.err >&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); } &&
16446 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16447 { (case "(($ac_try" in
16448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16449 *) ac_try_echo=$ac_try;;
16451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16452 (eval "$ac_try") 2>&5
16454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16455 (exit $ac_status); }; } &&
16456 { ac_try='test -s conftest$ac_exeext'
16457 { (case "(($ac_try" in
16458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16459 *) ac_try_echo=$ac_try;;
16461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16462 (eval "$ac_try") 2>&5
16464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465 (exit $ac_status); }; }; then
16466 ac_cv_c_dll_zdefs="yes"
16468 echo "$as_me: failed program was:" >&5
16469 sed 's/^/| /' conftest.$ac_ext >&5
16471 ac_cv_c_dll_zdefs="no"
16474 rm -f core conftest.err conftest.$ac_objext \
16475 conftest$ac_exeext conftest.$ac_ext
16476 CFLAGS=$ac_wine_try_cflags_saved
16478 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
16479 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6; }
16480 if test "$ac_cv_c_dll_zdefs" = "yes"
16482 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
16485 { echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
16486 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6; }
16487 if test "${ac_cv_c_dll_init_fini+set}" = set; then
16488 echo $ECHO_N "(cached) $ECHO_C" >&6
16490 ac_wine_try_cflags_saved=$CFLAGS
16491 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
16492 cat >conftest.$ac_ext <<_ACEOF
16495 cat confdefs.h >>conftest.$ac_ext
16496 cat >>conftest.$ac_ext <<_ACEOF
16497 /* end confdefs.h. */
16507 rm -f conftest.$ac_objext conftest$ac_exeext
16508 if { (ac_try="$ac_link"
16509 case "(($ac_try" in
16510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16511 *) ac_try_echo=$ac_try;;
16513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16514 (eval "$ac_link") 2>conftest.er1
16516 grep -v '^ *+' conftest.er1 >conftest.err
16518 cat conftest.err >&5
16519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16520 (exit $ac_status); } &&
16521 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16522 { (case "(($ac_try" in
16523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16524 *) ac_try_echo=$ac_try;;
16526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16527 (eval "$ac_try") 2>&5
16529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16530 (exit $ac_status); }; } &&
16531 { ac_try='test -s conftest$ac_exeext'
16532 { (case "(($ac_try" in
16533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16534 *) ac_try_echo=$ac_try;;
16536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16537 (eval "$ac_try") 2>&5
16539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540 (exit $ac_status); }; }; then
16541 ac_cv_c_dll_init_fini="yes"
16543 echo "$as_me: failed program was:" >&5
16544 sed 's/^/| /' conftest.$ac_ext >&5
16546 ac_cv_c_dll_init_fini="no"
16549 rm -f core conftest.err conftest.$ac_objext \
16550 conftest$ac_exeext conftest.$ac_ext
16551 CFLAGS=$ac_wine_try_cflags_saved
16553 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
16554 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6; }
16555 if test "$ac_cv_c_dll_init_fini" = "yes"
16557 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
16560 { echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
16561 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6; }
16562 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
16563 echo $ECHO_N "(cached) $ECHO_C" >&6
16565 echo '{ global: *; };' >conftest.map
16566 ac_wine_try_cflags_saved=$CFLAGS
16567 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
16568 cat >conftest.$ac_ext <<_ACEOF
16571 cat confdefs.h >>conftest.$ac_ext
16572 cat >>conftest.$ac_ext <<_ACEOF
16573 /* end confdefs.h. */
16583 rm -f conftest.$ac_objext conftest$ac_exeext
16584 if { (ac_try="$ac_link"
16585 case "(($ac_try" in
16586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16587 *) ac_try_echo=$ac_try;;
16589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16590 (eval "$ac_link") 2>conftest.er1
16592 grep -v '^ *+' conftest.er1 >conftest.err
16594 cat conftest.err >&5
16595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16596 (exit $ac_status); } &&
16597 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16598 { (case "(($ac_try" in
16599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16600 *) ac_try_echo=$ac_try;;
16602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16603 (eval "$ac_try") 2>&5
16605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16606 (exit $ac_status); }; } &&
16607 { ac_try='test -s conftest$ac_exeext'
16608 { (case "(($ac_try" in
16609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16610 *) ac_try_echo=$ac_try;;
16612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16613 (eval "$ac_try") 2>&5
16615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616 (exit $ac_status); }; }; then
16617 ac_cv_c_ld_version_scripts="yes"
16619 echo "$as_me: failed program was:" >&5
16620 sed 's/^/| /' conftest.$ac_ext >&5
16622 ac_cv_c_ld_version_scripts="no"
16625 rm -f core conftest.err conftest.$ac_objext \
16626 conftest$ac_exeext conftest.$ac_ext
16627 CFLAGS=$ac_wine_try_cflags_saved
16630 { echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
16631 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6; }
16632 if test "$ac_cv_c_ld_version_scripts" = "yes"
16634 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
16637 { echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
16638 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6; }
16639 if test "${ac_cv_c_export_dynamic+set}" = set; then
16640 echo $ECHO_N "(cached) $ECHO_C" >&6
16642 ac_wine_try_cflags_saved=$CFLAGS
16643 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
16644 cat >conftest.$ac_ext <<_ACEOF
16647 cat confdefs.h >>conftest.$ac_ext
16648 cat >>conftest.$ac_ext <<_ACEOF
16649 /* end confdefs.h. */
16659 rm -f conftest.$ac_objext conftest$ac_exeext
16660 if { (ac_try="$ac_link"
16661 case "(($ac_try" in
16662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16663 *) ac_try_echo=$ac_try;;
16665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16666 (eval "$ac_link") 2>conftest.er1
16668 grep -v '^ *+' conftest.er1 >conftest.err
16670 cat conftest.err >&5
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); } &&
16673 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16674 { (case "(($ac_try" in
16675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16676 *) ac_try_echo=$ac_try;;
16678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16679 (eval "$ac_try") 2>&5
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); }; } &&
16683 { ac_try='test -s conftest$ac_exeext'
16684 { (case "(($ac_try" in
16685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16686 *) ac_try_echo=$ac_try;;
16688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16689 (eval "$ac_try") 2>&5
16691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16692 (exit $ac_status); }; }; then
16693 ac_cv_c_export_dynamic="yes"
16695 echo "$as_me: failed program was:" >&5
16696 sed 's/^/| /' conftest.$ac_ext >&5
16698 ac_cv_c_export_dynamic="no"
16701 rm -f core conftest.err conftest.$ac_objext \
16702 conftest$ac_exeext conftest.$ac_ext
16703 CFLAGS=$ac_wine_try_cflags_saved
16705 { echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
16706 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6; }
16707 if test "$ac_cv_c_export_dynamic" = "yes"
16709 LDEXECFLAGS="-Wl,--export-dynamic"
16713 { echo "$as_me:$LINENO: checking whether the linker accepts --rpath" >&5
16714 echo $ECHO_N "checking whether the linker accepts --rpath... $ECHO_C" >&6; }
16715 if test "${ac_cv_ld_rpath+set}" = set; then
16716 echo $ECHO_N "(cached) $ECHO_C" >&6
16718 ac_wine_try_cflags_saved=$CFLAGS
16719 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
16720 cat >conftest.$ac_ext <<_ACEOF
16723 cat confdefs.h >>conftest.$ac_ext
16724 cat >>conftest.$ac_ext <<_ACEOF
16725 /* end confdefs.h. */
16735 rm -f conftest.$ac_objext conftest$ac_exeext
16736 if { (ac_try="$ac_link"
16737 case "(($ac_try" in
16738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16739 *) ac_try_echo=$ac_try;;
16741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16742 (eval "$ac_link") 2>conftest.er1
16744 grep -v '^ *+' conftest.er1 >conftest.err
16746 cat conftest.err >&5
16747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16748 (exit $ac_status); } &&
16749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16750 { (case "(($ac_try" in
16751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16752 *) ac_try_echo=$ac_try;;
16754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16755 (eval "$ac_try") 2>&5
16757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758 (exit $ac_status); }; } &&
16759 { ac_try='test -s conftest$ac_exeext'
16760 { (case "(($ac_try" in
16761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16762 *) ac_try_echo=$ac_try;;
16764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16765 (eval "$ac_try") 2>&5
16767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16768 (exit $ac_status); }; }; then
16769 ac_cv_ld_rpath="yes"
16771 echo "$as_me: failed program was:" >&5
16772 sed 's/^/| /' conftest.$ac_ext >&5
16774 ac_cv_ld_rpath="no"
16777 rm -f core conftest.err conftest.$ac_objext \
16778 conftest$ac_exeext conftest.$ac_ext
16779 CFLAGS=$ac_wine_try_cflags_saved
16781 { echo "$as_me:$LINENO: result: $ac_cv_ld_rpath" >&5
16782 echo "${ECHO_T}$ac_cv_ld_rpath" >&6; }
16783 if test "$ac_cv_ld_rpath" = "yes"
16785 LDEXERPATH="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
16787 LDDLLRPATH="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(dlldir) \$(libdir)\`"
16792 *i[3456789]86* | x86_64)
16793 { echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x7bf00000" >&5
16794 echo $ECHO_N "checking whether we can relocate the executable to 0x7bf00000... $ECHO_C" >&6; }
16795 if test "${ac_cv_ld_reloc_exec+set}" = set; then
16796 echo $ECHO_N "(cached) $ECHO_C" >&6
16798 ac_wine_try_cflags_saved=$CFLAGS
16799 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
16800 cat >conftest.$ac_ext <<_ACEOF
16803 cat confdefs.h >>conftest.$ac_ext
16804 cat >>conftest.$ac_ext <<_ACEOF
16805 /* end confdefs.h. */
16815 rm -f conftest.$ac_objext conftest$ac_exeext
16816 if { (ac_try="$ac_link"
16817 case "(($ac_try" in
16818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16819 *) ac_try_echo=$ac_try;;
16821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16822 (eval "$ac_link") 2>conftest.er1
16824 grep -v '^ *+' conftest.er1 >conftest.err
16826 cat conftest.err >&5
16827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828 (exit $ac_status); } &&
16829 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16830 { (case "(($ac_try" in
16831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16832 *) ac_try_echo=$ac_try;;
16834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16835 (eval "$ac_try") 2>&5
16837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16838 (exit $ac_status); }; } &&
16839 { ac_try='test -s conftest$ac_exeext'
16840 { (case "(($ac_try" in
16841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16842 *) ac_try_echo=$ac_try;;
16844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16845 (eval "$ac_try") 2>&5
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); }; }; then
16849 ac_cv_ld_reloc_exec="yes"
16851 echo "$as_me: failed program was:" >&5
16852 sed 's/^/| /' conftest.$ac_ext >&5
16854 ac_cv_ld_reloc_exec="no"
16857 rm -f core conftest.err conftest.$ac_objext \
16858 conftest$ac_exeext conftest.$ac_ext
16859 CFLAGS=$ac_wine_try_cflags_saved
16861 { echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
16862 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6; }
16863 if test "$ac_cv_ld_reloc_exec" = "yes"
16865 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
16871 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
16872 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
16873 if test "${ac_cv_c_dll_unixware+set}" = set; then
16874 echo $ECHO_N "(cached) $ECHO_C" >&6
16876 ac_wine_try_cflags_saved=$CFLAGS
16877 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
16878 cat >conftest.$ac_ext <<_ACEOF
16881 rm -f conftest.$ac_objext conftest$ac_exeext
16882 if { (ac_try="$ac_link"
16883 case "(($ac_try" in
16884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16885 *) ac_try_echo=$ac_try;;
16887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16888 (eval "$ac_link") 2>conftest.er1
16890 grep -v '^ *+' conftest.er1 >conftest.err
16892 cat conftest.err >&5
16893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16894 (exit $ac_status); } &&
16895 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16896 { (case "(($ac_try" in
16897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16898 *) ac_try_echo=$ac_try;;
16900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16901 (eval "$ac_try") 2>&5
16903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16904 (exit $ac_status); }; } &&
16905 { ac_try='test -s conftest$ac_exeext'
16906 { (case "(($ac_try" in
16907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16908 *) ac_try_echo=$ac_try;;
16910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16911 (eval "$ac_try") 2>&5
16913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16914 (exit $ac_status); }; }; then
16915 ac_cv_c_dll_unixware="yes"
16917 echo "$as_me: failed program was:" >&5
16918 sed 's/^/| /' conftest.$ac_ext >&5
16920 ac_cv_c_dll_unixware="no"
16923 rm -f core conftest.err conftest.$ac_objext \
16924 conftest$ac_exeext conftest.$ac_ext
16925 CFLAGS=$ac_wine_try_cflags_saved
16927 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
16928 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
16929 if test "$ac_cv_c_dll_unixware" = "yes"
16931 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
16932 LDDLLFLAGS="-Wl,-G,-B,symbolic"
16935 { echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
16936 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6; }
16937 if test "${ac_cv_c_dll_macho+set}" = set; then
16938 echo $ECHO_N "(cached) $ECHO_C" >&6
16940 ac_wine_try_cflags_saved=$CFLAGS
16941 CFLAGS="$CFLAGS -bundle"
16942 cat >conftest.$ac_ext <<_ACEOF
16945 rm -f conftest.$ac_objext conftest$ac_exeext
16946 if { (ac_try="$ac_link"
16947 case "(($ac_try" in
16948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16949 *) ac_try_echo=$ac_try;;
16951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16952 (eval "$ac_link") 2>conftest.er1
16954 grep -v '^ *+' conftest.er1 >conftest.err
16956 cat conftest.err >&5
16957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16958 (exit $ac_status); } &&
16959 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16960 { (case "(($ac_try" in
16961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16962 *) ac_try_echo=$ac_try;;
16964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16965 (eval "$ac_try") 2>&5
16967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16968 (exit $ac_status); }; } &&
16969 { ac_try='test -s conftest$ac_exeext'
16970 { (case "(($ac_try" in
16971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16972 *) ac_try_echo=$ac_try;;
16974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16975 (eval "$ac_try") 2>&5
16977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16978 (exit $ac_status); }; }; then
16979 ac_cv_c_dll_macho="yes"
16981 echo "$as_me: failed program was:" >&5
16982 sed 's/^/| /' conftest.$ac_ext >&5
16984 ac_cv_c_dll_macho="no"
16987 rm -f core conftest.err conftest.$ac_objext \
16988 conftest$ac_exeext conftest.$ac_ext
16989 CFLAGS=$ac_wine_try_cflags_saved
16991 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
16992 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6; }
16993 if test "$ac_cv_c_dll_macho" = "yes"
16996 LDDLLFLAGS="-bundle"
16997 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME) \$(SOVERSION:%=-compatibility_version %)"
16998 STRIP="$STRIP -u -r"
16999 COREFOUNDATIONLIB="-framework CoreFoundation"
17001 IOKITLIB="-framework IOKit -framework CoreFoundation"
17003 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
17005 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
17007 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
17012 CFLAGS="$CFLAGS -ffixed-r13"
17013 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning"
17018 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
17019 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
17020 if test "${ac_cv_c_dll_hpux+set}" = set; then
17021 echo $ECHO_N "(cached) $ECHO_C" >&6
17023 ac_wine_try_cflags_saved=$CFLAGS
17024 CFLAGS="$CFLAGS -shared"
17025 cat >conftest.$ac_ext <<_ACEOF
17028 rm -f conftest.$ac_objext conftest$ac_exeext
17029 if { (ac_try="$ac_link"
17030 case "(($ac_try" in
17031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17032 *) ac_try_echo=$ac_try;;
17034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17035 (eval "$ac_link") 2>conftest.er1
17037 grep -v '^ *+' conftest.er1 >conftest.err
17039 cat conftest.err >&5
17040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17041 (exit $ac_status); } &&
17042 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17043 { (case "(($ac_try" in
17044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17045 *) ac_try_echo=$ac_try;;
17047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17048 (eval "$ac_try") 2>&5
17050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17051 (exit $ac_status); }; } &&
17052 { ac_try='test -s conftest$ac_exeext'
17053 { (case "(($ac_try" in
17054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17055 *) ac_try_echo=$ac_try;;
17057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17058 (eval "$ac_try") 2>&5
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); }; }; then
17062 ac_cv_c_dll_hpux="yes"
17064 echo "$as_me: failed program was:" >&5
17065 sed 's/^/| /' conftest.$ac_ext >&5
17067 ac_cv_c_dll_hpux="no"
17070 rm -f core conftest.err conftest.$ac_objext \
17071 conftest$ac_exeext conftest.$ac_ext
17072 CFLAGS=$ac_wine_try_cflags_saved
17074 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
17075 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
17076 if test "$ac_cv_c_dll_hpux" = "yes"
17080 LDDLLFLAGS="-shared -fPIC"
17081 LDSHARED="\$(CC) -shared"
17090 if test "$cross_compiling" = "no"
17092 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
17094 # Extract the first word of "$ac_prog", so it can be a program name with args.
17095 set dummy $ac_prog; ac_word=$2
17096 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17098 if test "${ac_cv_prog_CROSSCC+set}" = set; then
17099 echo $ECHO_N "(cached) $ECHO_C" >&6
17101 if test -n "$CROSSCC"; then
17102 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
17104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17105 for as_dir in $PATH
17108 test -z "$as_dir" && as_dir=.
17109 for ac_exec_ext in '' $ac_executable_extensions; do
17110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17111 ac_cv_prog_CROSSCC="$ac_prog"
17112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17121 CROSSCC=$ac_cv_prog_CROSSCC
17122 if test -n "$CROSSCC"; then
17123 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
17124 echo "${ECHO_T}$CROSSCC" >&6; }
17126 { echo "$as_me:$LINENO: result: no" >&5
17127 echo "${ECHO_T}no" >&6; }
17131 test -n "$CROSSCC" && break
17133 test -n "$CROSSCC" || CROSSCC="false"
17135 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
17137 # Extract the first word of "$ac_prog", so it can be a program name with args.
17138 set dummy $ac_prog; ac_word=$2
17139 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17141 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
17142 echo $ECHO_N "(cached) $ECHO_C" >&6
17144 if test -n "$DLLTOOL"; then
17145 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
17147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17148 for as_dir in $PATH
17151 test -z "$as_dir" && as_dir=.
17152 for ac_exec_ext in '' $ac_executable_extensions; do
17153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17154 ac_cv_prog_DLLTOOL="$ac_prog"
17155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17164 DLLTOOL=$ac_cv_prog_DLLTOOL
17165 if test -n "$DLLTOOL"; then
17166 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
17167 echo "${ECHO_T}$DLLTOOL" >&6; }
17169 { echo "$as_me:$LINENO: result: no" >&5
17170 echo "${ECHO_T}no" >&6; }
17174 test -n "$DLLTOOL" && break
17176 test -n "$DLLTOOL" || DLLTOOL="false"
17178 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
17180 # Extract the first word of "$ac_prog", so it can be a program name with args.
17181 set dummy $ac_prog; ac_word=$2
17182 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17184 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
17185 echo $ECHO_N "(cached) $ECHO_C" >&6
17187 if test -n "$CROSSWINDRES"; then
17188 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
17190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17191 for as_dir in $PATH
17194 test -z "$as_dir" && as_dir=.
17195 for ac_exec_ext in '' $ac_executable_extensions; do
17196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17197 ac_cv_prog_CROSSWINDRES="$ac_prog"
17198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17207 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
17208 if test -n "$CROSSWINDRES"; then
17209 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
17210 echo "${ECHO_T}$CROSSWINDRES" >&6; }
17212 { echo "$as_me:$LINENO: result: no" >&5
17213 echo "${ECHO_T}no" >&6; }
17217 test -n "$CROSSWINDRES" && break
17219 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
17221 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
17226 if test "$LIBEXT" = "a"; then
17227 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
17228 It is currently not possible to build Wine without shared library
17229 (.so) support to allow transparent switch between .so and .dll files.
17230 If you are using Linux, you will need a newer binutils.
17232 echo "$as_me: error: could not find a way to build shared libraries.
17233 It is currently not possible to build Wine without shared library
17234 (.so) support to allow transparent switch between .so and .dll files.
17235 If you are using Linux, you will need a newer binutils.
17237 { (exit 1); exit 1; }; }
17242 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
17245 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
17248 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
17256 SOCKETLIBS="-lws2_32"
17261 MAIN_BINARY="wine-pthread"
17265 linux* | k*bsd*-gnu)
17266 MAIN_BINARY="wine-glibc"
17268 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
17275 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
17277 # Extract the first word of "ldd", so it can be a program name with args.
17278 set dummy ldd; ac_word=$2
17279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17281 if test "${ac_cv_path_LDD+set}" = set; then
17282 echo $ECHO_N "(cached) $ECHO_C" >&6
17286 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
17289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17290 as_dummy="/sbin:/usr/sbin:$PATH"
17291 for as_dir in $as_dummy
17294 test -z "$as_dir" && as_dir=.
17295 for ac_exec_ext in '' $ac_executable_extensions; do
17296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17297 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
17298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17305 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
17309 LDD=$ac_cv_path_LDD
17310 if test -n "$LDD"; then
17311 { echo "$as_me:$LINENO: result: $LDD" >&5
17312 echo "${ECHO_T}$LDD" >&6; }
17314 { echo "$as_me:$LINENO: result: no" >&5
17315 echo "${ECHO_T}no" >&6; }
17319 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
17320 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
17321 if test "${ac_cv_lib_soname_X11+set}" = set; then
17322 echo $ECHO_N "(cached) $ECHO_C" >&6
17324 ac_get_soname_save_LIBS=$LIBS
17325 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
17326 cat >conftest.$ac_ext <<_ACEOF
17329 cat confdefs.h >>conftest.$ac_ext
17330 cat >>conftest.$ac_ext <<_ACEOF
17331 /* end confdefs.h. */
17333 /* Override any GCC internal prototype to avoid an error.
17334 Use char because int might match the return type of a GCC
17335 builtin and then its argument prototype would still apply. */
17339 char XCreateWindow ();
17343 return XCreateWindow ();
17348 rm -f conftest.$ac_objext conftest$ac_exeext
17349 if { (ac_try="$ac_link"
17350 case "(($ac_try" in
17351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17352 *) ac_try_echo=$ac_try;;
17354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17355 (eval "$ac_link") 2>conftest.er1
17357 grep -v '^ *+' conftest.er1 >conftest.err
17359 cat conftest.err >&5
17360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17361 (exit $ac_status); } &&
17362 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17363 { (case "(($ac_try" in
17364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17365 *) ac_try_echo=$ac_try;;
17367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17368 (eval "$ac_try") 2>&5
17370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371 (exit $ac_status); }; } &&
17372 { ac_try='test -s conftest$ac_exeext'
17373 { (case "(($ac_try" in
17374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17375 *) ac_try_echo=$ac_try;;
17377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17378 (eval "$ac_try") 2>&5
17380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17381 (exit $ac_status); }; }; then
17382 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17383 if test "x$ac_cv_lib_soname_X11" = "x"
17385 ac_cv_lib_soname_X11="libX11.$LIBEXT"
17388 echo "$as_me: failed program was:" >&5
17389 sed 's/^/| /' conftest.$ac_ext >&5
17391 ac_cv_lib_soname_X11="libX11.$LIBEXT"
17394 rm -f core conftest.err conftest.$ac_objext \
17395 conftest$ac_exeext conftest.$ac_ext
17396 LIBS=$ac_get_soname_save_LIBS
17398 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
17399 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
17400 if test "${ac_cv_lib_soname_X11+set}" = set; then
17402 cat >>confdefs.h <<_ACEOF
17403 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
17408 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
17409 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
17410 if test "${ac_cv_lib_soname_Xext+set}" = set; then
17411 echo $ECHO_N "(cached) $ECHO_C" >&6
17413 ac_get_soname_save_LIBS=$LIBS
17414 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
17415 cat >conftest.$ac_ext <<_ACEOF
17418 cat confdefs.h >>conftest.$ac_ext
17419 cat >>conftest.$ac_ext <<_ACEOF
17420 /* end confdefs.h. */
17422 /* Override any GCC internal prototype to avoid an error.
17423 Use char because int might match the return type of a GCC
17424 builtin and then its argument prototype would still apply. */
17428 char XextCreateExtension ();
17432 return XextCreateExtension ();
17437 rm -f conftest.$ac_objext conftest$ac_exeext
17438 if { (ac_try="$ac_link"
17439 case "(($ac_try" in
17440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17441 *) ac_try_echo=$ac_try;;
17443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17444 (eval "$ac_link") 2>conftest.er1
17446 grep -v '^ *+' conftest.er1 >conftest.err
17448 cat conftest.err >&5
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); } &&
17451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17452 { (case "(($ac_try" in
17453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17454 *) ac_try_echo=$ac_try;;
17456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17457 (eval "$ac_try") 2>&5
17459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17460 (exit $ac_status); }; } &&
17461 { ac_try='test -s conftest$ac_exeext'
17462 { (case "(($ac_try" in
17463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17464 *) ac_try_echo=$ac_try;;
17466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17467 (eval "$ac_try") 2>&5
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); }; }; then
17471 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17472 if test "x$ac_cv_lib_soname_Xext" = "x"
17474 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
17477 echo "$as_me: failed program was:" >&5
17478 sed 's/^/| /' conftest.$ac_ext >&5
17480 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
17483 rm -f core conftest.err conftest.$ac_objext \
17484 conftest$ac_exeext conftest.$ac_ext
17485 LIBS=$ac_get_soname_save_LIBS
17487 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
17488 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
17489 if test "${ac_cv_lib_soname_Xext+set}" = set; then
17491 cat >>confdefs.h <<_ACEOF
17492 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
17497 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
17498 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
17499 if test "${ac_cv_lib_soname_Xi+set}" = set; then
17500 echo $ECHO_N "(cached) $ECHO_C" >&6
17502 ac_get_soname_save_LIBS=$LIBS
17503 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17504 cat >conftest.$ac_ext <<_ACEOF
17507 cat confdefs.h >>conftest.$ac_ext
17508 cat >>conftest.$ac_ext <<_ACEOF
17509 /* end confdefs.h. */
17511 /* Override any GCC internal prototype to avoid an error.
17512 Use char because int might match the return type of a GCC
17513 builtin and then its argument prototype would still apply. */
17517 char XOpenDevice ();
17521 return XOpenDevice ();
17526 rm -f conftest.$ac_objext conftest$ac_exeext
17527 if { (ac_try="$ac_link"
17528 case "(($ac_try" in
17529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17530 *) ac_try_echo=$ac_try;;
17532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17533 (eval "$ac_link") 2>conftest.er1
17535 grep -v '^ *+' conftest.er1 >conftest.err
17537 cat conftest.err >&5
17538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17539 (exit $ac_status); } &&
17540 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17541 { (case "(($ac_try" in
17542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17543 *) ac_try_echo=$ac_try;;
17545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17546 (eval "$ac_try") 2>&5
17548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17549 (exit $ac_status); }; } &&
17550 { ac_try='test -s conftest$ac_exeext'
17551 { (case "(($ac_try" in
17552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17553 *) ac_try_echo=$ac_try;;
17555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17556 (eval "$ac_try") 2>&5
17558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17559 (exit $ac_status); }; }; then
17560 ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17561 if test "x$ac_cv_lib_soname_Xi" = "x"
17563 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
17566 echo "$as_me: failed program was:" >&5
17567 sed 's/^/| /' conftest.$ac_ext >&5
17569 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
17572 rm -f core conftest.err conftest.$ac_objext \
17573 conftest$ac_exeext conftest.$ac_ext
17574 LIBS=$ac_get_soname_save_LIBS
17576 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
17577 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
17578 if test "${ac_cv_lib_soname_Xi+set}" = set; then
17580 cat >>confdefs.h <<_ACEOF
17581 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
17586 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
17587 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
17588 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
17589 echo $ECHO_N "(cached) $ECHO_C" >&6
17591 ac_get_soname_save_LIBS=$LIBS
17592 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17593 cat >conftest.$ac_ext <<_ACEOF
17596 cat confdefs.h >>conftest.$ac_ext
17597 cat >>conftest.$ac_ext <<_ACEOF
17598 /* end confdefs.h. */
17600 /* Override any GCC internal prototype to avoid an error.
17601 Use char because int might match the return type of a GCC
17602 builtin and then its argument prototype would still apply. */
17606 char XRenderQueryExtension ();
17610 return XRenderQueryExtension ();
17615 rm -f conftest.$ac_objext conftest$ac_exeext
17616 if { (ac_try="$ac_link"
17617 case "(($ac_try" in
17618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17619 *) ac_try_echo=$ac_try;;
17621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17622 (eval "$ac_link") 2>conftest.er1
17624 grep -v '^ *+' conftest.er1 >conftest.err
17626 cat conftest.err >&5
17627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17628 (exit $ac_status); } &&
17629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17630 { (case "(($ac_try" in
17631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17632 *) ac_try_echo=$ac_try;;
17634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17635 (eval "$ac_try") 2>&5
17637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17638 (exit $ac_status); }; } &&
17639 { ac_try='test -s conftest$ac_exeext'
17640 { (case "(($ac_try" in
17641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17642 *) ac_try_echo=$ac_try;;
17644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17645 (eval "$ac_try") 2>&5
17647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17648 (exit $ac_status); }; }; then
17649 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17650 if test "x$ac_cv_lib_soname_Xrender" = "x"
17652 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
17655 echo "$as_me: failed program was:" >&5
17656 sed 's/^/| /' conftest.$ac_ext >&5
17658 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
17661 rm -f core conftest.err conftest.$ac_objext \
17662 conftest$ac_exeext conftest.$ac_ext
17663 LIBS=$ac_get_soname_save_LIBS
17665 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
17666 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
17667 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
17669 cat >>confdefs.h <<_ACEOF
17670 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
17675 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
17676 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
17677 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
17678 echo $ECHO_N "(cached) $ECHO_C" >&6
17680 ac_get_soname_save_LIBS=$LIBS
17681 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17682 cat >conftest.$ac_ext <<_ACEOF
17685 cat confdefs.h >>conftest.$ac_ext
17686 cat >>conftest.$ac_ext <<_ACEOF
17687 /* end confdefs.h. */
17689 /* Override any GCC internal prototype to avoid an error.
17690 Use char because int might match the return type of a GCC
17691 builtin and then its argument prototype would still apply. */
17695 char XRRQueryExtension ();
17699 return XRRQueryExtension ();
17704 rm -f conftest.$ac_objext conftest$ac_exeext
17705 if { (ac_try="$ac_link"
17706 case "(($ac_try" in
17707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17708 *) ac_try_echo=$ac_try;;
17710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17711 (eval "$ac_link") 2>conftest.er1
17713 grep -v '^ *+' conftest.er1 >conftest.err
17715 cat conftest.err >&5
17716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17717 (exit $ac_status); } &&
17718 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17719 { (case "(($ac_try" in
17720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17721 *) ac_try_echo=$ac_try;;
17723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17724 (eval "$ac_try") 2>&5
17726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17727 (exit $ac_status); }; } &&
17728 { ac_try='test -s conftest$ac_exeext'
17729 { (case "(($ac_try" in
17730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17731 *) ac_try_echo=$ac_try;;
17733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17734 (eval "$ac_try") 2>&5
17736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737 (exit $ac_status); }; }; then
17738 ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17739 if test "x$ac_cv_lib_soname_Xrandr" = "x"
17741 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
17744 echo "$as_me: failed program was:" >&5
17745 sed 's/^/| /' conftest.$ac_ext >&5
17747 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
17750 rm -f core conftest.err conftest.$ac_objext \
17751 conftest$ac_exeext conftest.$ac_ext
17752 LIBS=$ac_get_soname_save_LIBS
17754 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
17755 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
17756 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
17758 cat >>confdefs.h <<_ACEOF
17759 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
17764 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
17765 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
17766 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17767 echo $ECHO_N "(cached) $ECHO_C" >&6
17769 ac_get_soname_save_LIBS=$LIBS
17770 LIBS="-lfreetype $X_LIBS $LIBS"
17771 cat >conftest.$ac_ext <<_ACEOF
17774 cat confdefs.h >>conftest.$ac_ext
17775 cat >>conftest.$ac_ext <<_ACEOF
17776 /* end confdefs.h. */
17778 /* Override any GCC internal prototype to avoid an error.
17779 Use char because int might match the return type of a GCC
17780 builtin and then its argument prototype would still apply. */
17784 char FT_Init_FreeType ();
17788 return FT_Init_FreeType ();
17793 rm -f conftest.$ac_objext conftest$ac_exeext
17794 if { (ac_try="$ac_link"
17795 case "(($ac_try" in
17796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17797 *) ac_try_echo=$ac_try;;
17799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17800 (eval "$ac_link") 2>conftest.er1
17802 grep -v '^ *+' conftest.er1 >conftest.err
17804 cat conftest.err >&5
17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); } &&
17807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17808 { (case "(($ac_try" in
17809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17810 *) ac_try_echo=$ac_try;;
17812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17813 (eval "$ac_try") 2>&5
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); }; } &&
17817 { ac_try='test -s conftest$ac_exeext'
17818 { (case "(($ac_try" in
17819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17820 *) ac_try_echo=$ac_try;;
17822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17823 (eval "$ac_try") 2>&5
17825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17826 (exit $ac_status); }; }; then
17827 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17828 if test "x$ac_cv_lib_soname_freetype" = "x"
17830 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
17833 echo "$as_me: failed program was:" >&5
17834 sed 's/^/| /' conftest.$ac_ext >&5
17836 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
17839 rm -f core conftest.err conftest.$ac_objext \
17840 conftest$ac_exeext conftest.$ac_ext
17841 LIBS=$ac_get_soname_save_LIBS
17843 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
17844 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
17845 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17847 cat >>confdefs.h <<_ACEOF
17848 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
17853 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
17854 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
17855 if test "${ac_cv_lib_soname_GL+set}" = set; then
17856 echo $ECHO_N "(cached) $ECHO_C" >&6
17858 ac_get_soname_save_LIBS=$LIBS
17859 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
17860 cat >conftest.$ac_ext <<_ACEOF
17863 cat confdefs.h >>conftest.$ac_ext
17864 cat >>conftest.$ac_ext <<_ACEOF
17865 /* end confdefs.h. */
17867 /* Override any GCC internal prototype to avoid an error.
17868 Use char because int might match the return type of a GCC
17869 builtin and then its argument prototype would still apply. */
17873 char glXQueryExtension ();
17877 return glXQueryExtension ();
17882 rm -f conftest.$ac_objext conftest$ac_exeext
17883 if { (ac_try="$ac_link"
17884 case "(($ac_try" in
17885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17886 *) ac_try_echo=$ac_try;;
17888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17889 (eval "$ac_link") 2>conftest.er1
17891 grep -v '^ *+' conftest.er1 >conftest.err
17893 cat conftest.err >&5
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); } &&
17896 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17897 { (case "(($ac_try" in
17898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17899 *) ac_try_echo=$ac_try;;
17901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17902 (eval "$ac_try") 2>&5
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); }; } &&
17906 { ac_try='test -s conftest$ac_exeext'
17907 { (case "(($ac_try" in
17908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17909 *) ac_try_echo=$ac_try;;
17911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17912 (eval "$ac_try") 2>&5
17914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17915 (exit $ac_status); }; }; then
17916 ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17917 if test "x$ac_cv_lib_soname_GL" = "x"
17919 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17922 echo "$as_me: failed program was:" >&5
17923 sed 's/^/| /' conftest.$ac_ext >&5
17925 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17928 rm -f core conftest.err conftest.$ac_objext \
17929 conftest$ac_exeext conftest.$ac_ext
17930 LIBS=$ac_get_soname_save_LIBS
17932 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
17933 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
17934 if test "${ac_cv_lib_soname_GL+set}" = set; then
17936 cat >>confdefs.h <<_ACEOF
17937 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
17942 { echo "$as_me:$LINENO: checking for -ldbus-1 soname" >&5
17943 echo $ECHO_N "checking for -ldbus-1 soname... $ECHO_C" >&6; }
17944 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
17945 echo $ECHO_N "(cached) $ECHO_C" >&6
17947 ac_get_soname_save_LIBS=$LIBS
17948 LIBS="-ldbus-1 $LIBS"
17949 cat >conftest.$ac_ext <<_ACEOF
17952 cat confdefs.h >>conftest.$ac_ext
17953 cat >>conftest.$ac_ext <<_ACEOF
17954 /* end confdefs.h. */
17956 /* Override any GCC internal prototype to avoid an error.
17957 Use char because int might match the return type of a GCC
17958 builtin and then its argument prototype would still apply. */
17962 char dbus_error_init ();
17966 return dbus_error_init ();
17971 rm -f conftest.$ac_objext conftest$ac_exeext
17972 if { (ac_try="$ac_link"
17973 case "(($ac_try" in
17974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17975 *) ac_try_echo=$ac_try;;
17977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17978 (eval "$ac_link") 2>conftest.er1
17980 grep -v '^ *+' conftest.er1 >conftest.err
17982 cat conftest.err >&5
17983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17984 (exit $ac_status); } &&
17985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17986 { (case "(($ac_try" in
17987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17988 *) ac_try_echo=$ac_try;;
17990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17991 (eval "$ac_try") 2>&5
17993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17994 (exit $ac_status); }; } &&
17995 { ac_try='test -s conftest$ac_exeext'
17996 { (case "(($ac_try" in
17997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17998 *) ac_try_echo=$ac_try;;
18000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18001 (eval "$ac_try") 2>&5
18003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18004 (exit $ac_status); }; }; then
18005 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'`
18006 if test "x$ac_cv_lib_soname_dbus_1" = "x"
18008 ac_cv_lib_soname_dbus_1="libdbus-1.$LIBEXT"
18011 echo "$as_me: failed program was:" >&5
18012 sed 's/^/| /' conftest.$ac_ext >&5
18014 ac_cv_lib_soname_dbus_1="libdbus-1.$LIBEXT"
18017 rm -f core conftest.err conftest.$ac_objext \
18018 conftest$ac_exeext conftest.$ac_ext
18019 LIBS=$ac_get_soname_save_LIBS
18021 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_dbus_1" >&5
18022 echo "${ECHO_T}$ac_cv_lib_soname_dbus_1" >&6; }
18023 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
18025 cat >>confdefs.h <<_ACEOF
18026 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
18031 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
18032 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
18033 if test "${ac_cv_lib_soname_hal+set}" = set; then
18034 echo $ECHO_N "(cached) $ECHO_C" >&6
18036 ac_get_soname_save_LIBS=$LIBS
18038 cat >conftest.$ac_ext <<_ACEOF
18041 cat confdefs.h >>conftest.$ac_ext
18042 cat >>conftest.$ac_ext <<_ACEOF
18043 /* end confdefs.h. */
18045 /* Override any GCC internal prototype to avoid an error.
18046 Use char because int might match the return type of a GCC
18047 builtin and then its argument prototype would still apply. */
18051 char libhal_ctx_new ();
18055 return libhal_ctx_new ();
18060 rm -f conftest.$ac_objext conftest$ac_exeext
18061 if { (ac_try="$ac_link"
18062 case "(($ac_try" in
18063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18064 *) ac_try_echo=$ac_try;;
18066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18067 (eval "$ac_link") 2>conftest.er1
18069 grep -v '^ *+' conftest.er1 >conftest.err
18071 cat conftest.err >&5
18072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18073 (exit $ac_status); } &&
18074 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18075 { (case "(($ac_try" in
18076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18077 *) ac_try_echo=$ac_try;;
18079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18080 (eval "$ac_try") 2>&5
18082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18083 (exit $ac_status); }; } &&
18084 { ac_try='test -s conftest$ac_exeext'
18085 { (case "(($ac_try" in
18086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18087 *) ac_try_echo=$ac_try;;
18089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18090 (eval "$ac_try") 2>&5
18092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18093 (exit $ac_status); }; }; then
18094 ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.$LIBEXT | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18095 if test "x$ac_cv_lib_soname_hal" = "x"
18097 ac_cv_lib_soname_hal="libhal.$LIBEXT"
18100 echo "$as_me: failed program was:" >&5
18101 sed 's/^/| /' conftest.$ac_ext >&5
18103 ac_cv_lib_soname_hal="libhal.$LIBEXT"
18106 rm -f core conftest.err conftest.$ac_objext \
18107 conftest$ac_exeext conftest.$ac_ext
18108 LIBS=$ac_get_soname_save_LIBS
18110 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
18111 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
18112 if test "${ac_cv_lib_soname_hal+set}" = set; then
18114 cat >>confdefs.h <<_ACEOF
18115 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
18120 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
18121 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
18122 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
18123 echo $ECHO_N "(cached) $ECHO_C" >&6
18125 ac_get_soname_save_LIBS=$LIBS
18126 LIBS="-ltxc_dxtn $LIBS"
18127 cat >conftest.$ac_ext <<_ACEOF
18130 cat confdefs.h >>conftest.$ac_ext
18131 cat >>conftest.$ac_ext <<_ACEOF
18132 /* end confdefs.h. */
18134 /* Override any GCC internal prototype to avoid an error.
18135 Use char because int might match the return type of a GCC
18136 builtin and then its argument prototype would still apply. */
18140 char fetch_2d_texel_rgba_dxt1 ();
18144 return fetch_2d_texel_rgba_dxt1 ();
18149 rm -f conftest.$ac_objext conftest$ac_exeext
18150 if { (ac_try="$ac_link"
18151 case "(($ac_try" in
18152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18153 *) ac_try_echo=$ac_try;;
18155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18156 (eval "$ac_link") 2>conftest.er1
18158 grep -v '^ *+' conftest.er1 >conftest.err
18160 cat conftest.err >&5
18161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18162 (exit $ac_status); } &&
18163 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18164 { (case "(($ac_try" in
18165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18166 *) ac_try_echo=$ac_try;;
18168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18169 (eval "$ac_try") 2>&5
18171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18172 (exit $ac_status); }; } &&
18173 { ac_try='test -s conftest$ac_exeext'
18174 { (case "(($ac_try" in
18175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18176 *) ac_try_echo=$ac_try;;
18178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18179 (eval "$ac_try") 2>&5
18181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18182 (exit $ac_status); }; }; then
18183 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'`
18184 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
18186 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
18189 echo "$as_me: failed program was:" >&5
18190 sed 's/^/| /' conftest.$ac_ext >&5
18192 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
18195 rm -f core conftest.err conftest.$ac_objext \
18196 conftest$ac_exeext conftest.$ac_ext
18197 LIBS=$ac_get_soname_save_LIBS
18199 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
18200 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
18201 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
18203 cat >>confdefs.h <<_ACEOF
18204 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
18209 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
18210 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
18211 if test "${ac_cv_lib_soname_cups+set}" = set; then
18212 echo $ECHO_N "(cached) $ECHO_C" >&6
18214 ac_get_soname_save_LIBS=$LIBS
18215 LIBS="-lcups $LIBS"
18216 cat >conftest.$ac_ext <<_ACEOF
18219 cat confdefs.h >>conftest.$ac_ext
18220 cat >>conftest.$ac_ext <<_ACEOF
18221 /* end confdefs.h. */
18223 /* Override any GCC internal prototype to avoid an error.
18224 Use char because int might match the return type of a GCC
18225 builtin and then its argument prototype would still apply. */
18229 char cupsGetDefault ();
18233 return cupsGetDefault ();
18238 rm -f conftest.$ac_objext conftest$ac_exeext
18239 if { (ac_try="$ac_link"
18240 case "(($ac_try" in
18241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18242 *) ac_try_echo=$ac_try;;
18244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18245 (eval "$ac_link") 2>conftest.er1
18247 grep -v '^ *+' conftest.er1 >conftest.err
18249 cat conftest.err >&5
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); } &&
18252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18253 { (case "(($ac_try" in
18254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18255 *) ac_try_echo=$ac_try;;
18257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18258 (eval "$ac_try") 2>&5
18260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18261 (exit $ac_status); }; } &&
18262 { ac_try='test -s conftest$ac_exeext'
18263 { (case "(($ac_try" in
18264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18265 *) ac_try_echo=$ac_try;;
18267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18268 (eval "$ac_try") 2>&5
18270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18271 (exit $ac_status); }; }; then
18272 ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18273 if test "x$ac_cv_lib_soname_cups" = "x"
18275 ac_cv_lib_soname_cups="libcups.$LIBEXT"
18278 echo "$as_me: failed program was:" >&5
18279 sed 's/^/| /' conftest.$ac_ext >&5
18281 ac_cv_lib_soname_cups="libcups.$LIBEXT"
18284 rm -f core conftest.err conftest.$ac_objext \
18285 conftest$ac_exeext conftest.$ac_ext
18286 LIBS=$ac_get_soname_save_LIBS
18288 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
18289 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
18290 if test "${ac_cv_lib_soname_cups+set}" = set; then
18292 cat >>confdefs.h <<_ACEOF
18293 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
18298 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
18299 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
18300 if test "${ac_cv_lib_soname_jack+set}" = set; then
18301 echo $ECHO_N "(cached) $ECHO_C" >&6
18303 ac_get_soname_save_LIBS=$LIBS
18304 LIBS="-ljack $LIBS"
18305 cat >conftest.$ac_ext <<_ACEOF
18308 cat confdefs.h >>conftest.$ac_ext
18309 cat >>conftest.$ac_ext <<_ACEOF
18310 /* end confdefs.h. */
18312 /* Override any GCC internal prototype to avoid an error.
18313 Use char because int might match the return type of a GCC
18314 builtin and then its argument prototype would still apply. */
18318 char jack_client_new ();
18322 return jack_client_new ();
18327 rm -f conftest.$ac_objext conftest$ac_exeext
18328 if { (ac_try="$ac_link"
18329 case "(($ac_try" in
18330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18331 *) ac_try_echo=$ac_try;;
18333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18334 (eval "$ac_link") 2>conftest.er1
18336 grep -v '^ *+' conftest.er1 >conftest.err
18338 cat conftest.err >&5
18339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18340 (exit $ac_status); } &&
18341 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18342 { (case "(($ac_try" in
18343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18344 *) ac_try_echo=$ac_try;;
18346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18347 (eval "$ac_try") 2>&5
18349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18350 (exit $ac_status); }; } &&
18351 { ac_try='test -s conftest$ac_exeext'
18352 { (case "(($ac_try" in
18353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18354 *) ac_try_echo=$ac_try;;
18356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18357 (eval "$ac_try") 2>&5
18359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); }; }; then
18361 ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18362 if test "x$ac_cv_lib_soname_jack" = "x"
18364 ac_cv_lib_soname_jack="libjack.$LIBEXT"
18367 echo "$as_me: failed program was:" >&5
18368 sed 's/^/| /' conftest.$ac_ext >&5
18370 ac_cv_lib_soname_jack="libjack.$LIBEXT"
18373 rm -f core conftest.err conftest.$ac_objext \
18374 conftest$ac_exeext conftest.$ac_ext
18375 LIBS=$ac_get_soname_save_LIBS
18377 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
18378 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
18379 if test "${ac_cv_lib_soname_jack+set}" = set; then
18381 cat >>confdefs.h <<_ACEOF
18382 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
18387 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
18388 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
18389 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
18390 echo $ECHO_N "(cached) $ECHO_C" >&6
18392 ac_get_soname_save_LIBS=$LIBS
18393 LIBS="-lfontconfig $LIBS"
18394 cat >conftest.$ac_ext <<_ACEOF
18397 cat confdefs.h >>conftest.$ac_ext
18398 cat >>conftest.$ac_ext <<_ACEOF
18399 /* end confdefs.h. */
18401 /* Override any GCC internal prototype to avoid an error.
18402 Use char because int might match the return type of a GCC
18403 builtin and then its argument prototype would still apply. */
18416 rm -f conftest.$ac_objext conftest$ac_exeext
18417 if { (ac_try="$ac_link"
18418 case "(($ac_try" in
18419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18420 *) ac_try_echo=$ac_try;;
18422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18423 (eval "$ac_link") 2>conftest.er1
18425 grep -v '^ *+' conftest.er1 >conftest.err
18427 cat conftest.err >&5
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); } &&
18430 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18431 { (case "(($ac_try" in
18432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18433 *) ac_try_echo=$ac_try;;
18435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18436 (eval "$ac_try") 2>&5
18438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18439 (exit $ac_status); }; } &&
18440 { ac_try='test -s conftest$ac_exeext'
18441 { (case "(($ac_try" in
18442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18443 *) ac_try_echo=$ac_try;;
18445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18446 (eval "$ac_try") 2>&5
18448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18449 (exit $ac_status); }; }; then
18450 ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18451 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18453 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
18456 echo "$as_me: failed program was:" >&5
18457 sed 's/^/| /' conftest.$ac_ext >&5
18459 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
18462 rm -f core conftest.err conftest.$ac_objext \
18463 conftest$ac_exeext conftest.$ac_ext
18464 LIBS=$ac_get_soname_save_LIBS
18466 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
18467 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
18468 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
18470 cat >>confdefs.h <<_ACEOF
18471 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
18476 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
18477 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
18478 if test "${ac_cv_lib_soname_ssl+set}" = set; then
18479 echo $ECHO_N "(cached) $ECHO_C" >&6
18481 ac_get_soname_save_LIBS=$LIBS
18483 cat >conftest.$ac_ext <<_ACEOF
18486 cat confdefs.h >>conftest.$ac_ext
18487 cat >>conftest.$ac_ext <<_ACEOF
18488 /* end confdefs.h. */
18490 /* Override any GCC internal prototype to avoid an error.
18491 Use char because int might match the return type of a GCC
18492 builtin and then its argument prototype would still apply. */
18496 char SSL_library_init ();
18500 return SSL_library_init ();
18505 rm -f conftest.$ac_objext conftest$ac_exeext
18506 if { (ac_try="$ac_link"
18507 case "(($ac_try" in
18508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18509 *) ac_try_echo=$ac_try;;
18511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18512 (eval "$ac_link") 2>conftest.er1
18514 grep -v '^ *+' conftest.er1 >conftest.err
18516 cat conftest.err >&5
18517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18518 (exit $ac_status); } &&
18519 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18520 { (case "(($ac_try" in
18521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18522 *) ac_try_echo=$ac_try;;
18524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18525 (eval "$ac_try") 2>&5
18527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18528 (exit $ac_status); }; } &&
18529 { ac_try='test -s conftest$ac_exeext'
18530 { (case "(($ac_try" in
18531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18532 *) ac_try_echo=$ac_try;;
18534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18535 (eval "$ac_try") 2>&5
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); }; }; then
18539 ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18540 if test "x$ac_cv_lib_soname_ssl" = "x"
18542 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
18545 echo "$as_me: failed program was:" >&5
18546 sed 's/^/| /' conftest.$ac_ext >&5
18548 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
18551 rm -f core conftest.err conftest.$ac_objext \
18552 conftest$ac_exeext conftest.$ac_ext
18553 LIBS=$ac_get_soname_save_LIBS
18555 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
18556 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
18557 if test "${ac_cv_lib_soname_ssl+set}" = set; then
18559 cat >>confdefs.h <<_ACEOF
18560 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
18565 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
18566 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
18567 if test "${ac_cv_lib_soname_crypto+set}" = set; then
18568 echo $ECHO_N "(cached) $ECHO_C" >&6
18570 ac_get_soname_save_LIBS=$LIBS
18571 LIBS="-lcrypto $LIBS"
18572 cat >conftest.$ac_ext <<_ACEOF
18575 cat confdefs.h >>conftest.$ac_ext
18576 cat >>conftest.$ac_ext <<_ACEOF
18577 /* end confdefs.h. */
18579 /* Override any GCC internal prototype to avoid an error.
18580 Use char because int might match the return type of a GCC
18581 builtin and then its argument prototype would still apply. */
18585 char BIO_new_socket ();
18589 return BIO_new_socket ();
18594 rm -f conftest.$ac_objext conftest$ac_exeext
18595 if { (ac_try="$ac_link"
18596 case "(($ac_try" in
18597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18598 *) ac_try_echo=$ac_try;;
18600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18601 (eval "$ac_link") 2>conftest.er1
18603 grep -v '^ *+' conftest.er1 >conftest.err
18605 cat conftest.err >&5
18606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18607 (exit $ac_status); } &&
18608 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18609 { (case "(($ac_try" in
18610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18611 *) ac_try_echo=$ac_try;;
18613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18614 (eval "$ac_try") 2>&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); }; } &&
18618 { ac_try='test -s conftest$ac_exeext'
18619 { (case "(($ac_try" in
18620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18621 *) ac_try_echo=$ac_try;;
18623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18624 (eval "$ac_try") 2>&5
18626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18627 (exit $ac_status); }; }; then
18628 ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18629 if test "x$ac_cv_lib_soname_crypto" = "x"
18631 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
18634 echo "$as_me: failed program was:" >&5
18635 sed 's/^/| /' conftest.$ac_ext >&5
18637 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
18640 rm -f core conftest.err conftest.$ac_objext \
18641 conftest$ac_exeext conftest.$ac_ext
18642 LIBS=$ac_get_soname_save_LIBS
18644 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
18645 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
18646 if test "${ac_cv_lib_soname_crypto+set}" = set; then
18648 cat >>confdefs.h <<_ACEOF
18649 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
18654 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
18655 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
18656 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
18657 echo $ECHO_N "(cached) $ECHO_C" >&6
18659 ac_get_soname_save_LIBS=$LIBS
18660 LIBS="-lncurses $LIBS"
18661 cat >conftest.$ac_ext <<_ACEOF
18664 cat confdefs.h >>conftest.$ac_ext
18665 cat >>conftest.$ac_ext <<_ACEOF
18666 /* end confdefs.h. */
18668 /* Override any GCC internal prototype to avoid an error.
18669 Use char because int might match the return type of a GCC
18670 builtin and then its argument prototype would still apply. */
18683 rm -f conftest.$ac_objext conftest$ac_exeext
18684 if { (ac_try="$ac_link"
18685 case "(($ac_try" in
18686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18687 *) ac_try_echo=$ac_try;;
18689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18690 (eval "$ac_link") 2>conftest.er1
18692 grep -v '^ *+' conftest.er1 >conftest.err
18694 cat conftest.err >&5
18695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18696 (exit $ac_status); } &&
18697 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18698 { (case "(($ac_try" in
18699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18700 *) ac_try_echo=$ac_try;;
18702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18703 (eval "$ac_try") 2>&5
18705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18706 (exit $ac_status); }; } &&
18707 { ac_try='test -s conftest$ac_exeext'
18708 { (case "(($ac_try" in
18709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18710 *) ac_try_echo=$ac_try;;
18712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18713 (eval "$ac_try") 2>&5
18715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18716 (exit $ac_status); }; }; then
18717 ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18718 if test "x$ac_cv_lib_soname_ncurses" = "x"
18720 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
18723 echo "$as_me: failed program was:" >&5
18724 sed 's/^/| /' conftest.$ac_ext >&5
18726 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
18729 rm -f core conftest.err conftest.$ac_objext \
18730 conftest$ac_exeext conftest.$ac_ext
18731 LIBS=$ac_get_soname_save_LIBS
18733 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
18734 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
18735 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
18737 cat >>confdefs.h <<_ACEOF
18738 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
18743 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
18744 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
18745 if test "${ac_cv_lib_soname_curses+set}" = set; then
18746 echo $ECHO_N "(cached) $ECHO_C" >&6
18748 ac_get_soname_save_LIBS=$LIBS
18749 LIBS="-lcurses $LIBS"
18750 cat >conftest.$ac_ext <<_ACEOF
18753 cat confdefs.h >>conftest.$ac_ext
18754 cat >>conftest.$ac_ext <<_ACEOF
18755 /* end confdefs.h. */
18757 /* Override any GCC internal prototype to avoid an error.
18758 Use char because int might match the return type of a GCC
18759 builtin and then its argument prototype would still apply. */
18772 rm -f conftest.$ac_objext conftest$ac_exeext
18773 if { (ac_try="$ac_link"
18774 case "(($ac_try" in
18775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18776 *) ac_try_echo=$ac_try;;
18778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18779 (eval "$ac_link") 2>conftest.er1
18781 grep -v '^ *+' conftest.er1 >conftest.err
18783 cat conftest.err >&5
18784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18785 (exit $ac_status); } &&
18786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18787 { (case "(($ac_try" in
18788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18789 *) ac_try_echo=$ac_try;;
18791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18792 (eval "$ac_try") 2>&5
18794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795 (exit $ac_status); }; } &&
18796 { ac_try='test -s conftest$ac_exeext'
18797 { (case "(($ac_try" in
18798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18799 *) ac_try_echo=$ac_try;;
18801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18802 (eval "$ac_try") 2>&5
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); }; }; then
18806 ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18807 if test "x$ac_cv_lib_soname_curses" = "x"
18809 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
18812 echo "$as_me: failed program was:" >&5
18813 sed 's/^/| /' conftest.$ac_ext >&5
18815 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
18818 rm -f core conftest.err conftest.$ac_objext \
18819 conftest$ac_exeext conftest.$ac_ext
18820 LIBS=$ac_get_soname_save_LIBS
18822 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
18823 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
18824 if test "${ac_cv_lib_soname_curses+set}" = set; then
18826 cat >>confdefs.h <<_ACEOF
18827 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
18832 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
18833 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
18834 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
18835 echo $ECHO_N "(cached) $ECHO_C" >&6
18837 ac_get_soname_save_LIBS=$LIBS
18838 LIBS="-ljpeg $LIBS"
18839 cat >conftest.$ac_ext <<_ACEOF
18842 cat confdefs.h >>conftest.$ac_ext
18843 cat >>conftest.$ac_ext <<_ACEOF
18844 /* end confdefs.h. */
18846 /* Override any GCC internal prototype to avoid an error.
18847 Use char because int might match the return type of a GCC
18848 builtin and then its argument prototype would still apply. */
18852 char jpeg_start_decompress ();
18856 return jpeg_start_decompress ();
18861 rm -f conftest.$ac_objext conftest$ac_exeext
18862 if { (ac_try="$ac_link"
18863 case "(($ac_try" in
18864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18865 *) ac_try_echo=$ac_try;;
18867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18868 (eval "$ac_link") 2>conftest.er1
18870 grep -v '^ *+' conftest.er1 >conftest.err
18872 cat conftest.err >&5
18873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18874 (exit $ac_status); } &&
18875 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18876 { (case "(($ac_try" in
18877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18878 *) ac_try_echo=$ac_try;;
18880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18881 (eval "$ac_try") 2>&5
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); }; } &&
18885 { ac_try='test -s conftest$ac_exeext'
18886 { (case "(($ac_try" in
18887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18888 *) ac_try_echo=$ac_try;;
18890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18891 (eval "$ac_try") 2>&5
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); }; }; then
18895 ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18896 if test "x$ac_cv_lib_soname_jpeg" = "x"
18898 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
18901 echo "$as_me: failed program was:" >&5
18902 sed 's/^/| /' conftest.$ac_ext >&5
18904 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
18907 rm -f core conftest.err conftest.$ac_objext \
18908 conftest$ac_exeext conftest.$ac_ext
18909 LIBS=$ac_get_soname_save_LIBS
18911 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
18912 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
18913 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
18915 cat >>confdefs.h <<_ACEOF
18916 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
18921 { echo "$as_me:$LINENO: checking for -lungif soname" >&5
18922 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6; }
18923 if test "${ac_cv_lib_soname_ungif+set}" = set; then
18924 echo $ECHO_N "(cached) $ECHO_C" >&6
18926 ac_get_soname_save_LIBS=$LIBS
18927 LIBS="-lungif $LIBS"
18928 cat >conftest.$ac_ext <<_ACEOF
18931 cat confdefs.h >>conftest.$ac_ext
18932 cat >>conftest.$ac_ext <<_ACEOF
18933 /* end confdefs.h. */
18935 /* Override any GCC internal prototype to avoid an error.
18936 Use char because int might match the return type of a GCC
18937 builtin and then its argument prototype would still apply. */
18945 return DGifOpen ();
18950 rm -f conftest.$ac_objext conftest$ac_exeext
18951 if { (ac_try="$ac_link"
18952 case "(($ac_try" in
18953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18954 *) ac_try_echo=$ac_try;;
18956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18957 (eval "$ac_link") 2>conftest.er1
18959 grep -v '^ *+' conftest.er1 >conftest.err
18961 cat conftest.err >&5
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); } &&
18964 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18965 { (case "(($ac_try" in
18966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18967 *) ac_try_echo=$ac_try;;
18969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18970 (eval "$ac_try") 2>&5
18972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18973 (exit $ac_status); }; } &&
18974 { ac_try='test -s conftest$ac_exeext'
18975 { (case "(($ac_try" in
18976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18977 *) ac_try_echo=$ac_try;;
18979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18980 (eval "$ac_try") 2>&5
18982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18983 (exit $ac_status); }; }; then
18984 ac_cv_lib_soname_ungif=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed -e "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18985 if test "x$ac_cv_lib_soname_ungif" = "x"
18987 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
18990 echo "$as_me: failed program was:" >&5
18991 sed 's/^/| /' conftest.$ac_ext >&5
18993 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
18996 rm -f core conftest.err conftest.$ac_objext \
18997 conftest$ac_exeext conftest.$ac_ext
18998 LIBS=$ac_get_soname_save_LIBS
19000 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
19001 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6; }
19002 if test "${ac_cv_lib_soname_ungif+set}" = set; then
19004 cat >>confdefs.h <<_ACEOF
19005 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
19010 { echo "$as_me:$LINENO: checking for -lgif soname" >&5
19011 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6; }
19012 if test "${ac_cv_lib_soname_gif+set}" = set; then
19013 echo $ECHO_N "(cached) $ECHO_C" >&6
19015 ac_get_soname_save_LIBS=$LIBS
19017 cat >conftest.$ac_ext <<_ACEOF
19020 cat confdefs.h >>conftest.$ac_ext
19021 cat >>conftest.$ac_ext <<_ACEOF
19022 /* end confdefs.h. */
19024 /* Override any GCC internal prototype to avoid an error.
19025 Use char because int might match the return type of a GCC
19026 builtin and then its argument prototype would still apply. */
19034 return DGifOpen ();
19039 rm -f conftest.$ac_objext conftest$ac_exeext
19040 if { (ac_try="$ac_link"
19041 case "(($ac_try" in
19042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19043 *) ac_try_echo=$ac_try;;
19045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19046 (eval "$ac_link") 2>conftest.er1
19048 grep -v '^ *+' conftest.er1 >conftest.err
19050 cat conftest.err >&5
19051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19052 (exit $ac_status); } &&
19053 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19054 { (case "(($ac_try" in
19055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19056 *) ac_try_echo=$ac_try;;
19058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19059 (eval "$ac_try") 2>&5
19061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19062 (exit $ac_status); }; } &&
19063 { ac_try='test -s conftest$ac_exeext'
19064 { (case "(($ac_try" in
19065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19066 *) ac_try_echo=$ac_try;;
19068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19069 (eval "$ac_try") 2>&5
19071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072 (exit $ac_status); }; }; then
19073 ac_cv_lib_soname_gif=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed -e "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19074 if test "x$ac_cv_lib_soname_gif" = "x"
19076 ac_cv_lib_soname_gif="libgif.$LIBEXT"
19079 echo "$as_me: failed program was:" >&5
19080 sed 's/^/| /' conftest.$ac_ext >&5
19082 ac_cv_lib_soname_gif="libgif.$LIBEXT"
19085 rm -f core conftest.err conftest.$ac_objext \
19086 conftest$ac_exeext conftest.$ac_ext
19087 LIBS=$ac_get_soname_save_LIBS
19089 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
19090 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6; }
19091 if test "${ac_cv_lib_soname_gif+set}" = set; then
19093 cat >>confdefs.h <<_ACEOF
19094 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
19099 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
19100 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
19101 if test "${ac_cv_lib_soname_capi20+set}" = set; then
19102 echo $ECHO_N "(cached) $ECHO_C" >&6
19104 ac_get_soname_save_LIBS=$LIBS
19105 LIBS="-lcapi20 $LIBS"
19106 cat >conftest.$ac_ext <<_ACEOF
19109 cat confdefs.h >>conftest.$ac_ext
19110 cat >>conftest.$ac_ext <<_ACEOF
19111 /* end confdefs.h. */
19113 /* Override any GCC internal prototype to avoid an error.
19114 Use char because int might match the return type of a GCC
19115 builtin and then its argument prototype would still apply. */
19119 char capi20_isinstalled ();
19123 return capi20_isinstalled ();
19128 rm -f conftest.$ac_objext conftest$ac_exeext
19129 if { (ac_try="$ac_link"
19130 case "(($ac_try" in
19131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19132 *) ac_try_echo=$ac_try;;
19134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19135 (eval "$ac_link") 2>conftest.er1
19137 grep -v '^ *+' conftest.er1 >conftest.err
19139 cat conftest.err >&5
19140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); } &&
19142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19143 { (case "(($ac_try" in
19144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19145 *) ac_try_echo=$ac_try;;
19147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19148 (eval "$ac_try") 2>&5
19150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19151 (exit $ac_status); }; } &&
19152 { ac_try='test -s conftest$ac_exeext'
19153 { (case "(($ac_try" in
19154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19155 *) ac_try_echo=$ac_try;;
19157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19158 (eval "$ac_try") 2>&5
19160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19161 (exit $ac_status); }; }; then
19162 ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.$LIBEXT | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19163 if test "x$ac_cv_lib_soname_capi20" = "x"
19165 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
19168 echo "$as_me: failed program was:" >&5
19169 sed 's/^/| /' conftest.$ac_ext >&5
19171 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
19174 rm -f core conftest.err conftest.$ac_objext \
19175 conftest$ac_exeext conftest.$ac_ext
19176 LIBS=$ac_get_soname_save_LIBS
19178 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
19179 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
19180 if test "${ac_cv_lib_soname_capi20+set}" = set; then
19182 cat >>confdefs.h <<_ACEOF
19183 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
19327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19328 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19330 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19331 echo $ECHO_N "(cached) $ECHO_C" >&6
19333 cat >conftest.$ac_ext <<_ACEOF
19336 cat confdefs.h >>conftest.$ac_ext
19337 cat >>conftest.$ac_ext <<_ACEOF
19338 /* end confdefs.h. */
19339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19341 #define $ac_func innocuous_$ac_func
19343 /* System header to define __stub macros and hopefully few prototypes,
19344 which can conflict with char $ac_func (); below.
19345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19346 <limits.h> exists even on freestanding compilers. */
19349 # include <limits.h>
19351 # include <assert.h>
19356 /* Override any GCC internal prototype to avoid an error.
19357 Use char because int might match the return type of a GCC
19358 builtin and then its argument prototype would still apply. */
19363 /* The GNU C library defines this for functions which it implements
19364 to always fail with ENOSYS. Some functions are actually named
19365 something starting with __ and the normal name is an alias. */
19366 #if defined __stub_$ac_func || defined __stub___$ac_func
19373 return $ac_func ();
19378 rm -f conftest.$ac_objext conftest$ac_exeext
19379 if { (ac_try="$ac_link"
19380 case "(($ac_try" in
19381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19382 *) ac_try_echo=$ac_try;;
19384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19385 (eval "$ac_link") 2>conftest.er1
19387 grep -v '^ *+' conftest.er1 >conftest.err
19389 cat conftest.err >&5
19390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19391 (exit $ac_status); } &&
19392 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19393 { (case "(($ac_try" in
19394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19395 *) ac_try_echo=$ac_try;;
19397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19398 (eval "$ac_try") 2>&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); }; } &&
19402 { ac_try='test -s conftest$ac_exeext'
19403 { (case "(($ac_try" in
19404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19405 *) ac_try_echo=$ac_try;;
19407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19408 (eval "$ac_try") 2>&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); }; }; then
19412 eval "$as_ac_var=yes"
19414 echo "$as_me: failed program was:" >&5
19415 sed 's/^/| /' conftest.$ac_ext >&5
19417 eval "$as_ac_var=no"
19420 rm -f core conftest.err conftest.$ac_objext \
19421 conftest$ac_exeext conftest.$ac_ext
19423 ac_res=`eval echo '${'$as_ac_var'}'`
19424 { echo "$as_me:$LINENO: result: $ac_res" >&5
19425 echo "${ECHO_T}$ac_res" >&6; }
19426 if test `eval echo '${'$as_ac_var'}'` = yes; then
19427 cat >>confdefs.h <<_ACEOF
19428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19437 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19438 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19439 if test "${ac_cv_c_const+set}" = set; then
19440 echo $ECHO_N "(cached) $ECHO_C" >&6
19442 cat >conftest.$ac_ext <<_ACEOF
19445 cat confdefs.h >>conftest.$ac_ext
19446 cat >>conftest.$ac_ext <<_ACEOF
19447 /* end confdefs.h. */
19452 /* FIXME: Include the comments suggested by Paul. */
19453 #ifndef __cplusplus
19454 /* Ultrix mips cc rejects this. */
19455 typedef int charset[2];
19457 /* SunOS 4.1.1 cc rejects this. */
19458 char const *const *ccp;
19460 /* NEC SVR4.0.2 mips cc rejects this. */
19461 struct point {int x, y;};
19462 static struct point const zero = {0,0};
19463 /* AIX XL C 1.02.0.0 rejects this.
19464 It does not let you subtract one const X* pointer from another in
19465 an arm of an if-expression whose if-part is not a constant
19467 const char *g = "string";
19468 ccp = &g + (g ? g-g : 0);
19469 /* HPUX 7.0 cc rejects these. */
19472 ccp = (char const *const *) p;
19473 { /* SCO 3.2v4 cc rejects this. */
19475 char const *s = 0 ? (char *) 0 : (char const *) 0;
19480 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19481 int x[] = {25, 17};
19482 const int *foo = &x[0];
19485 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19486 typedef const int *iptr;
19490 { /* AIX XL C 1.02.0.0 rejects this saying
19491 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19492 struct s { int j; const int *ap[3]; };
19493 struct s *b; b->j = 5;
19495 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19496 const int foo = 10;
19497 if (!foo) return 0;
19499 return !x[0] && !zero.x;
19506 rm -f conftest.$ac_objext
19507 if { (ac_try="$ac_compile"
19508 case "(($ac_try" in
19509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19510 *) ac_try_echo=$ac_try;;
19512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19513 (eval "$ac_compile") 2>conftest.er1
19515 grep -v '^ *+' conftest.er1 >conftest.err
19517 cat conftest.err >&5
19518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19519 (exit $ac_status); } &&
19520 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19521 { (case "(($ac_try" in
19522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19523 *) ac_try_echo=$ac_try;;
19525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19526 (eval "$ac_try") 2>&5
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); }; } &&
19530 { ac_try='test -s conftest.$ac_objext'
19531 { (case "(($ac_try" in
19532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19533 *) ac_try_echo=$ac_try;;
19535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19536 (eval "$ac_try") 2>&5
19538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19539 (exit $ac_status); }; }; then
19542 echo "$as_me: failed program was:" >&5
19543 sed 's/^/| /' conftest.$ac_ext >&5
19548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19550 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19551 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19552 if test $ac_cv_c_const = no; then
19554 cat >>confdefs.h <<\_ACEOF
19560 { echo "$as_me:$LINENO: checking for inline" >&5
19561 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19562 if test "${ac_cv_c_inline+set}" = set; then
19563 echo $ECHO_N "(cached) $ECHO_C" >&6
19566 for ac_kw in inline __inline__ __inline; do
19567 cat >conftest.$ac_ext <<_ACEOF
19570 cat confdefs.h >>conftest.$ac_ext
19571 cat >>conftest.$ac_ext <<_ACEOF
19572 /* end confdefs.h. */
19573 #ifndef __cplusplus
19575 static $ac_kw foo_t static_foo () {return 0; }
19576 $ac_kw foo_t foo () {return 0; }
19580 rm -f conftest.$ac_objext
19581 if { (ac_try="$ac_compile"
19582 case "(($ac_try" in
19583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19584 *) ac_try_echo=$ac_try;;
19586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19587 (eval "$ac_compile") 2>conftest.er1
19589 grep -v '^ *+' conftest.er1 >conftest.err
19591 cat conftest.err >&5
19592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593 (exit $ac_status); } &&
19594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19595 { (case "(($ac_try" in
19596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19597 *) ac_try_echo=$ac_try;;
19599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19600 (eval "$ac_try") 2>&5
19602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19603 (exit $ac_status); }; } &&
19604 { ac_try='test -s conftest.$ac_objext'
19605 { (case "(($ac_try" in
19606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19607 *) ac_try_echo=$ac_try;;
19609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19610 (eval "$ac_try") 2>&5
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); }; }; then
19614 ac_cv_c_inline=$ac_kw
19616 echo "$as_me: failed program was:" >&5
19617 sed 's/^/| /' conftest.$ac_ext >&5
19622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19623 test "$ac_cv_c_inline" != no && break
19627 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19628 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19631 case $ac_cv_c_inline in
19634 case $ac_cv_c_inline in
19636 *) ac_val=$ac_cv_c_inline;;
19638 cat >>confdefs.h <<_ACEOF
19639 #ifndef __cplusplus
19640 #define inline $ac_val
19646 { echo "$as_me:$LINENO: checking for mode_t" >&5
19647 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
19648 if test "${ac_cv_type_mode_t+set}" = set; then
19649 echo $ECHO_N "(cached) $ECHO_C" >&6
19651 cat >conftest.$ac_ext <<_ACEOF
19654 cat confdefs.h >>conftest.$ac_ext
19655 cat >>conftest.$ac_ext <<_ACEOF
19656 /* end confdefs.h. */
19657 $ac_includes_default
19658 typedef mode_t ac__type_new_;
19662 if ((ac__type_new_ *) 0)
19664 if (sizeof (ac__type_new_))
19670 rm -f conftest.$ac_objext
19671 if { (ac_try="$ac_compile"
19672 case "(($ac_try" in
19673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19674 *) ac_try_echo=$ac_try;;
19676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19677 (eval "$ac_compile") 2>conftest.er1
19679 grep -v '^ *+' conftest.er1 >conftest.err
19681 cat conftest.err >&5
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); } &&
19684 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19685 { (case "(($ac_try" in
19686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19687 *) ac_try_echo=$ac_try;;
19689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19690 (eval "$ac_try") 2>&5
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); }; } &&
19694 { ac_try='test -s conftest.$ac_objext'
19695 { (case "(($ac_try" in
19696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19697 *) ac_try_echo=$ac_try;;
19699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19700 (eval "$ac_try") 2>&5
19702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19703 (exit $ac_status); }; }; then
19704 ac_cv_type_mode_t=yes
19706 echo "$as_me: failed program was:" >&5
19707 sed 's/^/| /' conftest.$ac_ext >&5
19709 ac_cv_type_mode_t=no
19712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19714 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19715 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
19716 if test $ac_cv_type_mode_t = yes; then
19718 cat >>confdefs.h <<_ACEOF
19719 #define HAVE_MODE_T 1
19724 { echo "$as_me:$LINENO: checking for off_t" >&5
19725 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19726 if test "${ac_cv_type_off_t+set}" = set; then
19727 echo $ECHO_N "(cached) $ECHO_C" >&6
19729 cat >conftest.$ac_ext <<_ACEOF
19732 cat confdefs.h >>conftest.$ac_ext
19733 cat >>conftest.$ac_ext <<_ACEOF
19734 /* end confdefs.h. */
19735 $ac_includes_default
19736 typedef off_t ac__type_new_;
19740 if ((ac__type_new_ *) 0)
19742 if (sizeof (ac__type_new_))
19748 rm -f conftest.$ac_objext
19749 if { (ac_try="$ac_compile"
19750 case "(($ac_try" in
19751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19752 *) ac_try_echo=$ac_try;;
19754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19755 (eval "$ac_compile") 2>conftest.er1
19757 grep -v '^ *+' conftest.er1 >conftest.err
19759 cat conftest.err >&5
19760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19761 (exit $ac_status); } &&
19762 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19763 { (case "(($ac_try" in
19764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19765 *) ac_try_echo=$ac_try;;
19767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19768 (eval "$ac_try") 2>&5
19770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19771 (exit $ac_status); }; } &&
19772 { ac_try='test -s conftest.$ac_objext'
19773 { (case "(($ac_try" in
19774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19775 *) ac_try_echo=$ac_try;;
19777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19778 (eval "$ac_try") 2>&5
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); }; }; then
19782 ac_cv_type_off_t=yes
19784 echo "$as_me: failed program was:" >&5
19785 sed 's/^/| /' conftest.$ac_ext >&5
19787 ac_cv_type_off_t=no
19790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19792 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19793 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19794 if test $ac_cv_type_off_t = yes; then
19796 cat >>confdefs.h <<_ACEOF
19797 #define HAVE_OFF_T 1
19802 { echo "$as_me:$LINENO: checking for pid_t" >&5
19803 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19804 if test "${ac_cv_type_pid_t+set}" = set; then
19805 echo $ECHO_N "(cached) $ECHO_C" >&6
19807 cat >conftest.$ac_ext <<_ACEOF
19810 cat confdefs.h >>conftest.$ac_ext
19811 cat >>conftest.$ac_ext <<_ACEOF
19812 /* end confdefs.h. */
19813 $ac_includes_default
19814 typedef pid_t ac__type_new_;
19818 if ((ac__type_new_ *) 0)
19820 if (sizeof (ac__type_new_))
19826 rm -f conftest.$ac_objext
19827 if { (ac_try="$ac_compile"
19828 case "(($ac_try" in
19829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19830 *) ac_try_echo=$ac_try;;
19832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19833 (eval "$ac_compile") 2>conftest.er1
19835 grep -v '^ *+' conftest.er1 >conftest.err
19837 cat conftest.err >&5
19838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839 (exit $ac_status); } &&
19840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19841 { (case "(($ac_try" in
19842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19843 *) ac_try_echo=$ac_try;;
19845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19846 (eval "$ac_try") 2>&5
19848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19849 (exit $ac_status); }; } &&
19850 { ac_try='test -s conftest.$ac_objext'
19851 { (case "(($ac_try" in
19852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19853 *) ac_try_echo=$ac_try;;
19855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19856 (eval "$ac_try") 2>&5
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); }; }; then
19860 ac_cv_type_pid_t=yes
19862 echo "$as_me: failed program was:" >&5
19863 sed 's/^/| /' conftest.$ac_ext >&5
19865 ac_cv_type_pid_t=no
19868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19870 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19871 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19872 if test $ac_cv_type_pid_t = yes; then
19874 cat >>confdefs.h <<_ACEOF
19875 #define HAVE_PID_T 1
19880 { echo "$as_me:$LINENO: checking for size_t" >&5
19881 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19882 if test "${ac_cv_type_size_t+set}" = set; then
19883 echo $ECHO_N "(cached) $ECHO_C" >&6
19885 cat >conftest.$ac_ext <<_ACEOF
19888 cat confdefs.h >>conftest.$ac_ext
19889 cat >>conftest.$ac_ext <<_ACEOF
19890 /* end confdefs.h. */
19891 $ac_includes_default
19892 typedef size_t ac__type_new_;
19896 if ((ac__type_new_ *) 0)
19898 if (sizeof (ac__type_new_))
19904 rm -f conftest.$ac_objext
19905 if { (ac_try="$ac_compile"
19906 case "(($ac_try" in
19907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19908 *) ac_try_echo=$ac_try;;
19910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19911 (eval "$ac_compile") 2>conftest.er1
19913 grep -v '^ *+' conftest.er1 >conftest.err
19915 cat conftest.err >&5
19916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917 (exit $ac_status); } &&
19918 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19919 { (case "(($ac_try" in
19920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19921 *) ac_try_echo=$ac_try;;
19923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19924 (eval "$ac_try") 2>&5
19926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927 (exit $ac_status); }; } &&
19928 { ac_try='test -s conftest.$ac_objext'
19929 { (case "(($ac_try" in
19930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19931 *) ac_try_echo=$ac_try;;
19933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19934 (eval "$ac_try") 2>&5
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); }; }; then
19938 ac_cv_type_size_t=yes
19940 echo "$as_me: failed program was:" >&5
19941 sed 's/^/| /' conftest.$ac_ext >&5
19943 ac_cv_type_size_t=no
19946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19948 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19949 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19950 if test $ac_cv_type_size_t = yes; then
19952 cat >>confdefs.h <<_ACEOF
19953 #define HAVE_SIZE_T 1
19958 { echo "$as_me:$LINENO: checking for ssize_t" >&5
19959 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
19960 if test "${ac_cv_type_ssize_t+set}" = set; then
19961 echo $ECHO_N "(cached) $ECHO_C" >&6
19963 cat >conftest.$ac_ext <<_ACEOF
19966 cat confdefs.h >>conftest.$ac_ext
19967 cat >>conftest.$ac_ext <<_ACEOF
19968 /* end confdefs.h. */
19969 $ac_includes_default
19970 typedef ssize_t ac__type_new_;
19974 if ((ac__type_new_ *) 0)
19976 if (sizeof (ac__type_new_))
19982 rm -f conftest.$ac_objext
19983 if { (ac_try="$ac_compile"
19984 case "(($ac_try" in
19985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19986 *) ac_try_echo=$ac_try;;
19988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19989 (eval "$ac_compile") 2>conftest.er1
19991 grep -v '^ *+' conftest.er1 >conftest.err
19993 cat conftest.err >&5
19994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19995 (exit $ac_status); } &&
19996 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19997 { (case "(($ac_try" in
19998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19999 *) ac_try_echo=$ac_try;;
20001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20002 (eval "$ac_try") 2>&5
20004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005 (exit $ac_status); }; } &&
20006 { ac_try='test -s conftest.$ac_objext'
20007 { (case "(($ac_try" in
20008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20009 *) ac_try_echo=$ac_try;;
20011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20012 (eval "$ac_try") 2>&5
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); }; }; then
20016 ac_cv_type_ssize_t=yes
20018 echo "$as_me: failed program was:" >&5
20019 sed 's/^/| /' conftest.$ac_ext >&5
20021 ac_cv_type_ssize_t=no
20024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20026 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
20027 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
20028 if test $ac_cv_type_ssize_t = yes; then
20030 cat >>confdefs.h <<_ACEOF
20031 #define HAVE_SSIZE_T 1
20036 { echo "$as_me:$LINENO: checking for long long" >&5
20037 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20038 if test "${ac_cv_type_long_long+set}" = set; then
20039 echo $ECHO_N "(cached) $ECHO_C" >&6
20041 cat >conftest.$ac_ext <<_ACEOF
20044 cat confdefs.h >>conftest.$ac_ext
20045 cat >>conftest.$ac_ext <<_ACEOF
20046 /* end confdefs.h. */
20047 $ac_includes_default
20048 typedef long long ac__type_new_;
20052 if ((ac__type_new_ *) 0)
20054 if (sizeof (ac__type_new_))
20060 rm -f conftest.$ac_objext
20061 if { (ac_try="$ac_compile"
20062 case "(($ac_try" in
20063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20064 *) ac_try_echo=$ac_try;;
20066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20067 (eval "$ac_compile") 2>conftest.er1
20069 grep -v '^ *+' conftest.er1 >conftest.err
20071 cat conftest.err >&5
20072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20073 (exit $ac_status); } &&
20074 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20075 { (case "(($ac_try" in
20076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20077 *) ac_try_echo=$ac_try;;
20079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20080 (eval "$ac_try") 2>&5
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); }; } &&
20084 { ac_try='test -s conftest.$ac_objext'
20085 { (case "(($ac_try" in
20086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20087 *) ac_try_echo=$ac_try;;
20089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20090 (eval "$ac_try") 2>&5
20092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20093 (exit $ac_status); }; }; then
20094 ac_cv_type_long_long=yes
20096 echo "$as_me: failed program was:" >&5
20097 sed 's/^/| /' conftest.$ac_ext >&5
20099 ac_cv_type_long_long=no
20102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20104 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20105 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20106 if test $ac_cv_type_long_long = yes; then
20108 cat >>confdefs.h <<_ACEOF
20109 #define HAVE_LONG_LONG 1
20114 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
20115 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
20116 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
20117 echo $ECHO_N "(cached) $ECHO_C" >&6
20119 cat >conftest.$ac_ext <<_ACEOF
20122 cat confdefs.h >>conftest.$ac_ext
20123 cat >>conftest.$ac_ext <<_ACEOF
20124 /* end confdefs.h. */
20125 $ac_includes_default
20126 typedef fsblkcnt_t ac__type_new_;
20130 if ((ac__type_new_ *) 0)
20132 if (sizeof (ac__type_new_))
20138 rm -f conftest.$ac_objext
20139 if { (ac_try="$ac_compile"
20140 case "(($ac_try" in
20141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20142 *) ac_try_echo=$ac_try;;
20144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20145 (eval "$ac_compile") 2>conftest.er1
20147 grep -v '^ *+' conftest.er1 >conftest.err
20149 cat conftest.err >&5
20150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151 (exit $ac_status); } &&
20152 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20153 { (case "(($ac_try" in
20154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20155 *) ac_try_echo=$ac_try;;
20157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20158 (eval "$ac_try") 2>&5
20160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20161 (exit $ac_status); }; } &&
20162 { ac_try='test -s conftest.$ac_objext'
20163 { (case "(($ac_try" in
20164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20165 *) ac_try_echo=$ac_try;;
20167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20168 (eval "$ac_try") 2>&5
20170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20171 (exit $ac_status); }; }; then
20172 ac_cv_type_fsblkcnt_t=yes
20174 echo "$as_me: failed program was:" >&5
20175 sed 's/^/| /' conftest.$ac_ext >&5
20177 ac_cv_type_fsblkcnt_t=no
20180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20182 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
20183 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
20184 if test $ac_cv_type_fsblkcnt_t = yes; then
20186 cat >>confdefs.h <<_ACEOF
20187 #define HAVE_FSBLKCNT_T 1
20192 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
20193 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
20194 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
20195 echo $ECHO_N "(cached) $ECHO_C" >&6
20197 cat >conftest.$ac_ext <<_ACEOF
20200 cat confdefs.h >>conftest.$ac_ext
20201 cat >>conftest.$ac_ext <<_ACEOF
20202 /* end confdefs.h. */
20203 $ac_includes_default
20204 typedef fsfilcnt_t ac__type_new_;
20208 if ((ac__type_new_ *) 0)
20210 if (sizeof (ac__type_new_))
20216 rm -f conftest.$ac_objext
20217 if { (ac_try="$ac_compile"
20218 case "(($ac_try" in
20219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20220 *) ac_try_echo=$ac_try;;
20222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20223 (eval "$ac_compile") 2>conftest.er1
20225 grep -v '^ *+' conftest.er1 >conftest.err
20227 cat conftest.err >&5
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); } &&
20230 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20231 { (case "(($ac_try" in
20232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20233 *) ac_try_echo=$ac_try;;
20235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20236 (eval "$ac_try") 2>&5
20238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20239 (exit $ac_status); }; } &&
20240 { ac_try='test -s conftest.$ac_objext'
20241 { (case "(($ac_try" in
20242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20243 *) ac_try_echo=$ac_try;;
20245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20246 (eval "$ac_try") 2>&5
20248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20249 (exit $ac_status); }; }; then
20250 ac_cv_type_fsfilcnt_t=yes
20252 echo "$as_me: failed program was:" >&5
20253 sed 's/^/| /' conftest.$ac_ext >&5
20255 ac_cv_type_fsfilcnt_t=no
20258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20260 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
20261 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
20262 if test $ac_cv_type_fsfilcnt_t = yes; then
20264 cat >>confdefs.h <<_ACEOF
20265 #define HAVE_FSFILCNT_T 1
20271 { echo "$as_me:$LINENO: checking for sigset_t" >&5
20272 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
20273 if test "${ac_cv_type_sigset_t+set}" = set; then
20274 echo $ECHO_N "(cached) $ECHO_C" >&6
20276 cat >conftest.$ac_ext <<_ACEOF
20279 cat confdefs.h >>conftest.$ac_ext
20280 cat >>conftest.$ac_ext <<_ACEOF
20281 /* end confdefs.h. */
20282 #include <signal.h>
20284 typedef sigset_t ac__type_new_;
20288 if ((ac__type_new_ *) 0)
20290 if (sizeof (ac__type_new_))
20296 rm -f conftest.$ac_objext
20297 if { (ac_try="$ac_compile"
20298 case "(($ac_try" in
20299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20300 *) ac_try_echo=$ac_try;;
20302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20303 (eval "$ac_compile") 2>conftest.er1
20305 grep -v '^ *+' conftest.er1 >conftest.err
20307 cat conftest.err >&5
20308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20309 (exit $ac_status); } &&
20310 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20311 { (case "(($ac_try" in
20312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20313 *) ac_try_echo=$ac_try;;
20315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20316 (eval "$ac_try") 2>&5
20318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20319 (exit $ac_status); }; } &&
20320 { ac_try='test -s conftest.$ac_objext'
20321 { (case "(($ac_try" in
20322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20323 *) ac_try_echo=$ac_try;;
20325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20326 (eval "$ac_try") 2>&5
20328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20329 (exit $ac_status); }; }; then
20330 ac_cv_type_sigset_t=yes
20332 echo "$as_me: failed program was:" >&5
20333 sed 's/^/| /' conftest.$ac_ext >&5
20335 ac_cv_type_sigset_t=no
20338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20340 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
20341 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
20342 if test $ac_cv_type_sigset_t = yes; then
20344 cat >>confdefs.h <<_ACEOF
20345 #define HAVE_SIGSET_T 1
20351 { echo "$as_me:$LINENO: checking for request_sense" >&5
20352 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
20353 if test "${ac_cv_type_request_sense+set}" = set; then
20354 echo $ECHO_N "(cached) $ECHO_C" >&6
20356 cat >conftest.$ac_ext <<_ACEOF
20359 cat confdefs.h >>conftest.$ac_ext
20360 cat >>conftest.$ac_ext <<_ACEOF
20361 /* end confdefs.h. */
20362 #include <linux/cdrom.h>
20364 typedef request_sense ac__type_new_;
20368 if ((ac__type_new_ *) 0)
20370 if (sizeof (ac__type_new_))
20376 rm -f conftest.$ac_objext
20377 if { (ac_try="$ac_compile"
20378 case "(($ac_try" in
20379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20380 *) ac_try_echo=$ac_try;;
20382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20383 (eval "$ac_compile") 2>conftest.er1
20385 grep -v '^ *+' conftest.er1 >conftest.err
20387 cat conftest.err >&5
20388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20389 (exit $ac_status); } &&
20390 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20391 { (case "(($ac_try" in
20392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20393 *) ac_try_echo=$ac_try;;
20395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20396 (eval "$ac_try") 2>&5
20398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20399 (exit $ac_status); }; } &&
20400 { ac_try='test -s conftest.$ac_objext'
20401 { (case "(($ac_try" in
20402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20403 *) ac_try_echo=$ac_try;;
20405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20406 (eval "$ac_try") 2>&5
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); }; }; then
20410 ac_cv_type_request_sense=yes
20412 echo "$as_me: failed program was:" >&5
20413 sed 's/^/| /' conftest.$ac_ext >&5
20415 ac_cv_type_request_sense=no
20418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20420 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
20421 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
20422 if test $ac_cv_type_request_sense = yes; then
20424 cat >>confdefs.h <<_ACEOF
20425 #define HAVE_REQUEST_SENSE 1
20432 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
20433 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
20434 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
20435 echo $ECHO_N "(cached) $ECHO_C" >&6
20437 cat >conftest.$ac_ext <<_ACEOF
20440 cat confdefs.h >>conftest.$ac_ext
20441 cat >>conftest.$ac_ext <<_ACEOF
20442 /* end confdefs.h. */
20443 #ifdef HAVE_LINUX_INPUT_H
20444 #include <linux/input.h>
20450 static struct ff_effect ac_aggr;
20451 if (ac_aggr.direction)
20457 rm -f conftest.$ac_objext
20458 if { (ac_try="$ac_compile"
20459 case "(($ac_try" in
20460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20461 *) ac_try_echo=$ac_try;;
20463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20464 (eval "$ac_compile") 2>conftest.er1
20466 grep -v '^ *+' conftest.er1 >conftest.err
20468 cat conftest.err >&5
20469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20470 (exit $ac_status); } &&
20471 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20472 { (case "(($ac_try" in
20473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20474 *) ac_try_echo=$ac_try;;
20476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20477 (eval "$ac_try") 2>&5
20479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20480 (exit $ac_status); }; } &&
20481 { ac_try='test -s conftest.$ac_objext'
20482 { (case "(($ac_try" in
20483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20484 *) ac_try_echo=$ac_try;;
20486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20487 (eval "$ac_try") 2>&5
20489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490 (exit $ac_status); }; }; then
20491 ac_cv_member_struct_ff_effect_direction=yes
20493 echo "$as_me: failed program was:" >&5
20494 sed 's/^/| /' conftest.$ac_ext >&5
20496 cat >conftest.$ac_ext <<_ACEOF
20499 cat confdefs.h >>conftest.$ac_ext
20500 cat >>conftest.$ac_ext <<_ACEOF
20501 /* end confdefs.h. */
20502 #ifdef HAVE_LINUX_INPUT_H
20503 #include <linux/input.h>
20509 static struct ff_effect ac_aggr;
20510 if (sizeof ac_aggr.direction)
20516 rm -f conftest.$ac_objext
20517 if { (ac_try="$ac_compile"
20518 case "(($ac_try" in
20519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20520 *) ac_try_echo=$ac_try;;
20522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20523 (eval "$ac_compile") 2>conftest.er1
20525 grep -v '^ *+' conftest.er1 >conftest.err
20527 cat conftest.err >&5
20528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20529 (exit $ac_status); } &&
20530 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20531 { (case "(($ac_try" in
20532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20533 *) ac_try_echo=$ac_try;;
20535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20536 (eval "$ac_try") 2>&5
20538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20539 (exit $ac_status); }; } &&
20540 { ac_try='test -s conftest.$ac_objext'
20541 { (case "(($ac_try" in
20542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20543 *) ac_try_echo=$ac_try;;
20545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20546 (eval "$ac_try") 2>&5
20548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20549 (exit $ac_status); }; }; then
20550 ac_cv_member_struct_ff_effect_direction=yes
20552 echo "$as_me: failed program was:" >&5
20553 sed 's/^/| /' conftest.$ac_ext >&5
20555 ac_cv_member_struct_ff_effect_direction=no
20558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20563 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
20564 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
20565 if test $ac_cv_member_struct_ff_effect_direction = yes; then
20567 cat >>confdefs.h <<_ACEOF
20568 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
20575 { echo "$as_me:$LINENO: checking for sigaddset" >&5
20576 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
20577 if test "${wine_cv_have_sigaddset+set}" = set; then
20578 echo $ECHO_N "(cached) $ECHO_C" >&6
20580 cat >conftest.$ac_ext <<_ACEOF
20583 cat confdefs.h >>conftest.$ac_ext
20584 cat >>conftest.$ac_ext <<_ACEOF
20585 /* end confdefs.h. */
20586 #include <signal.h>
20590 sigset_t set; sigaddset(&set,SIGTERM);
20595 rm -f conftest.$ac_objext conftest$ac_exeext
20596 if { (ac_try="$ac_link"
20597 case "(($ac_try" in
20598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20599 *) ac_try_echo=$ac_try;;
20601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20602 (eval "$ac_link") 2>conftest.er1
20604 grep -v '^ *+' conftest.er1 >conftest.err
20606 cat conftest.err >&5
20607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20608 (exit $ac_status); } &&
20609 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20610 { (case "(($ac_try" in
20611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20612 *) ac_try_echo=$ac_try;;
20614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20615 (eval "$ac_try") 2>&5
20617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618 (exit $ac_status); }; } &&
20619 { ac_try='test -s conftest$ac_exeext'
20620 { (case "(($ac_try" in
20621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20622 *) ac_try_echo=$ac_try;;
20624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20625 (eval "$ac_try") 2>&5
20627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20628 (exit $ac_status); }; }; then
20629 wine_cv_have_sigaddset=yes
20631 echo "$as_me: failed program was:" >&5
20632 sed 's/^/| /' conftest.$ac_ext >&5
20634 wine_cv_have_sigaddset=no
20637 rm -f core conftest.err conftest.$ac_objext \
20638 conftest$ac_exeext conftest.$ac_ext
20640 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20641 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
20642 if test "$wine_cv_have_sigaddset" = "yes"
20645 cat >>confdefs.h <<\_ACEOF
20646 #define HAVE_SIGADDSET 1
20652 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20653 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
20654 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
20655 echo $ECHO_N "(cached) $ECHO_C" >&6
20657 cat >conftest.$ac_ext <<_ACEOF
20660 cat confdefs.h >>conftest.$ac_ext
20661 cat >>conftest.$ac_ext <<_ACEOF
20662 /* end confdefs.h. */
20672 struct hostent *result;
20679 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20680 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20686 rm -f conftest.$ac_objext conftest$ac_exeext
20687 if { (ac_try="$ac_link"
20688 case "(($ac_try" in
20689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20690 *) ac_try_echo=$ac_try;;
20692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20693 (eval "$ac_link") 2>conftest.er1
20695 grep -v '^ *+' conftest.er1 >conftest.err
20697 cat conftest.err >&5
20698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20699 (exit $ac_status); } &&
20700 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20701 { (case "(($ac_try" in
20702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20703 *) ac_try_echo=$ac_try;;
20705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20706 (eval "$ac_try") 2>&5
20708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709 (exit $ac_status); }; } &&
20710 { ac_try='test -s conftest$ac_exeext'
20711 { (case "(($ac_try" in
20712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20713 *) ac_try_echo=$ac_try;;
20715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20716 (eval "$ac_try") 2>&5
20718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20719 (exit $ac_status); }; }; then
20720 wine_cv_linux_gethostbyname_r_6=yes
20722 echo "$as_me: failed program was:" >&5
20723 sed 's/^/| /' conftest.$ac_ext >&5
20725 wine_cv_linux_gethostbyname_r_6=no
20729 rm -f core conftest.err conftest.$ac_objext \
20730 conftest$ac_exeext conftest.$ac_ext
20733 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
20734 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
20735 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20738 cat >>confdefs.h <<\_ACEOF
20739 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
20744 if test "$ac_cv_header_linux_joystick_h" = "yes"
20746 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20747 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
20748 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
20749 echo $ECHO_N "(cached) $ECHO_C" >&6
20751 cat >conftest.$ac_ext <<_ACEOF
20754 cat confdefs.h >>conftest.$ac_ext
20755 cat >>conftest.$ac_ext <<_ACEOF
20756 /* end confdefs.h. */
20758 #include <sys/ioctl.h>
20759 #include <linux/joystick.h>
20761 struct js_event blub;
20762 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20763 #error "no 2.2 header"
20774 rm -f conftest.$ac_objext
20775 if { (ac_try="$ac_compile"
20776 case "(($ac_try" in
20777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20778 *) ac_try_echo=$ac_try;;
20780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20781 (eval "$ac_compile") 2>conftest.er1
20783 grep -v '^ *+' conftest.er1 >conftest.err
20785 cat conftest.err >&5
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); } &&
20788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20789 { (case "(($ac_try" in
20790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20791 *) ac_try_echo=$ac_try;;
20793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20794 (eval "$ac_try") 2>&5
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); }; } &&
20798 { ac_try='test -s conftest.$ac_objext'
20799 { (case "(($ac_try" in
20800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20801 *) ac_try_echo=$ac_try;;
20803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20804 (eval "$ac_try") 2>&5
20806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20807 (exit $ac_status); }; }; then
20808 wine_cv_linux_joystick_22_api=yes
20810 echo "$as_me: failed program was:" >&5
20811 sed 's/^/| /' conftest.$ac_ext >&5
20813 wine_cv_linux_joystick_22_api=no
20816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20819 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
20820 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
20821 if test "$wine_cv_linux_joystick_22_api" = "yes"
20824 cat >>confdefs.h <<\_ACEOF
20825 #define HAVE_LINUX_22_JOYSTICK_API 1
20832 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
20833 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
20834 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
20835 echo $ECHO_N "(cached) $ECHO_C" >&6
20837 cat >conftest.$ac_ext <<_ACEOF
20840 cat confdefs.h >>conftest.$ac_ext
20841 cat >>conftest.$ac_ext <<_ACEOF
20842 /* end confdefs.h. */
20843 #include <sys/types.h>
20844 #ifdef HAVE_SYS_PARAM_H
20845 # include <sys/param.h>
20847 #ifdef HAVE_SYS_MOUNT_H
20848 # include <sys/mount.h>
20850 #ifdef HAVE_SYS_VFS_H
20851 # include <sys/vfs.h>
20853 #ifdef HAVE_SYS_STATFS_H
20854 # include <sys/statfs.h>
20860 static struct statfs ac_aggr;
20861 if (ac_aggr.f_bfree)
20867 rm -f conftest.$ac_objext
20868 if { (ac_try="$ac_compile"
20869 case "(($ac_try" in
20870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20871 *) ac_try_echo=$ac_try;;
20873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20874 (eval "$ac_compile") 2>conftest.er1
20876 grep -v '^ *+' conftest.er1 >conftest.err
20878 cat conftest.err >&5
20879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20880 (exit $ac_status); } &&
20881 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20882 { (case "(($ac_try" in
20883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20884 *) ac_try_echo=$ac_try;;
20886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20887 (eval "$ac_try") 2>&5
20889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20890 (exit $ac_status); }; } &&
20891 { ac_try='test -s conftest.$ac_objext'
20892 { (case "(($ac_try" in
20893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20894 *) ac_try_echo=$ac_try;;
20896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20897 (eval "$ac_try") 2>&5
20899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20900 (exit $ac_status); }; }; then
20901 ac_cv_member_struct_statfs_f_bfree=yes
20903 echo "$as_me: failed program was:" >&5
20904 sed 's/^/| /' conftest.$ac_ext >&5
20906 cat >conftest.$ac_ext <<_ACEOF
20909 cat confdefs.h >>conftest.$ac_ext
20910 cat >>conftest.$ac_ext <<_ACEOF
20911 /* end confdefs.h. */
20912 #include <sys/types.h>
20913 #ifdef HAVE_SYS_PARAM_H
20914 # include <sys/param.h>
20916 #ifdef HAVE_SYS_MOUNT_H
20917 # include <sys/mount.h>
20919 #ifdef HAVE_SYS_VFS_H
20920 # include <sys/vfs.h>
20922 #ifdef HAVE_SYS_STATFS_H
20923 # include <sys/statfs.h>
20929 static struct statfs ac_aggr;
20930 if (sizeof ac_aggr.f_bfree)
20936 rm -f conftest.$ac_objext
20937 if { (ac_try="$ac_compile"
20938 case "(($ac_try" in
20939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20940 *) ac_try_echo=$ac_try;;
20942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20943 (eval "$ac_compile") 2>conftest.er1
20945 grep -v '^ *+' conftest.er1 >conftest.err
20947 cat conftest.err >&5
20948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20949 (exit $ac_status); } &&
20950 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20951 { (case "(($ac_try" in
20952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20953 *) ac_try_echo=$ac_try;;
20955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20956 (eval "$ac_try") 2>&5
20958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20959 (exit $ac_status); }; } &&
20960 { ac_try='test -s conftest.$ac_objext'
20961 { (case "(($ac_try" in
20962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20963 *) ac_try_echo=$ac_try;;
20965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20966 (eval "$ac_try") 2>&5
20968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969 (exit $ac_status); }; }; then
20970 ac_cv_member_struct_statfs_f_bfree=yes
20972 echo "$as_me: failed program was:" >&5
20973 sed 's/^/| /' conftest.$ac_ext >&5
20975 ac_cv_member_struct_statfs_f_bfree=no
20978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20983 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
20984 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
20985 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
20987 cat >>confdefs.h <<_ACEOF
20988 #define HAVE_STRUCT_STATFS_F_BFREE 1
20993 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
20994 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
20995 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
20996 echo $ECHO_N "(cached) $ECHO_C" >&6
20998 cat >conftest.$ac_ext <<_ACEOF
21001 cat confdefs.h >>conftest.$ac_ext
21002 cat >>conftest.$ac_ext <<_ACEOF
21003 /* end confdefs.h. */
21004 #include <sys/types.h>
21005 #ifdef HAVE_SYS_PARAM_H
21006 # include <sys/param.h>
21008 #ifdef HAVE_SYS_MOUNT_H
21009 # include <sys/mount.h>
21011 #ifdef HAVE_SYS_VFS_H
21012 # include <sys/vfs.h>
21014 #ifdef HAVE_SYS_STATFS_H
21015 # include <sys/statfs.h>
21021 static struct statfs ac_aggr;
21022 if (ac_aggr.f_bavail)
21028 rm -f conftest.$ac_objext
21029 if { (ac_try="$ac_compile"
21030 case "(($ac_try" in
21031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21032 *) ac_try_echo=$ac_try;;
21034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21035 (eval "$ac_compile") 2>conftest.er1
21037 grep -v '^ *+' conftest.er1 >conftest.err
21039 cat conftest.err >&5
21040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21041 (exit $ac_status); } &&
21042 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21043 { (case "(($ac_try" in
21044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21045 *) ac_try_echo=$ac_try;;
21047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21048 (eval "$ac_try") 2>&5
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); }; } &&
21052 { ac_try='test -s conftest.$ac_objext'
21053 { (case "(($ac_try" in
21054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21055 *) ac_try_echo=$ac_try;;
21057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21058 (eval "$ac_try") 2>&5
21060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21061 (exit $ac_status); }; }; then
21062 ac_cv_member_struct_statfs_f_bavail=yes
21064 echo "$as_me: failed program was:" >&5
21065 sed 's/^/| /' conftest.$ac_ext >&5
21067 cat >conftest.$ac_ext <<_ACEOF
21070 cat confdefs.h >>conftest.$ac_ext
21071 cat >>conftest.$ac_ext <<_ACEOF
21072 /* end confdefs.h. */
21073 #include <sys/types.h>
21074 #ifdef HAVE_SYS_PARAM_H
21075 # include <sys/param.h>
21077 #ifdef HAVE_SYS_MOUNT_H
21078 # include <sys/mount.h>
21080 #ifdef HAVE_SYS_VFS_H
21081 # include <sys/vfs.h>
21083 #ifdef HAVE_SYS_STATFS_H
21084 # include <sys/statfs.h>
21090 static struct statfs ac_aggr;
21091 if (sizeof ac_aggr.f_bavail)
21097 rm -f conftest.$ac_objext
21098 if { (ac_try="$ac_compile"
21099 case "(($ac_try" in
21100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21101 *) ac_try_echo=$ac_try;;
21103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21104 (eval "$ac_compile") 2>conftest.er1
21106 grep -v '^ *+' conftest.er1 >conftest.err
21108 cat conftest.err >&5
21109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21110 (exit $ac_status); } &&
21111 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21112 { (case "(($ac_try" in
21113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21114 *) ac_try_echo=$ac_try;;
21116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21117 (eval "$ac_try") 2>&5
21119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21120 (exit $ac_status); }; } &&
21121 { ac_try='test -s conftest.$ac_objext'
21122 { (case "(($ac_try" in
21123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21124 *) ac_try_echo=$ac_try;;
21126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21127 (eval "$ac_try") 2>&5
21129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21130 (exit $ac_status); }; }; then
21131 ac_cv_member_struct_statfs_f_bavail=yes
21133 echo "$as_me: failed program was:" >&5
21134 sed 's/^/| /' conftest.$ac_ext >&5
21136 ac_cv_member_struct_statfs_f_bavail=no
21139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21144 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
21145 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
21146 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
21148 cat >>confdefs.h <<_ACEOF
21149 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
21154 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
21155 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
21156 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
21157 echo $ECHO_N "(cached) $ECHO_C" >&6
21159 cat >conftest.$ac_ext <<_ACEOF
21162 cat confdefs.h >>conftest.$ac_ext
21163 cat >>conftest.$ac_ext <<_ACEOF
21164 /* end confdefs.h. */
21165 #include <sys/types.h>
21166 #ifdef HAVE_SYS_PARAM_H
21167 # include <sys/param.h>
21169 #ifdef HAVE_SYS_MOUNT_H
21170 # include <sys/mount.h>
21172 #ifdef HAVE_SYS_VFS_H
21173 # include <sys/vfs.h>
21175 #ifdef HAVE_SYS_STATFS_H
21176 # include <sys/statfs.h>
21182 static struct statfs ac_aggr;
21183 if (ac_aggr.f_frsize)
21189 rm -f conftest.$ac_objext
21190 if { (ac_try="$ac_compile"
21191 case "(($ac_try" in
21192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21193 *) ac_try_echo=$ac_try;;
21195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21196 (eval "$ac_compile") 2>conftest.er1
21198 grep -v '^ *+' conftest.er1 >conftest.err
21200 cat conftest.err >&5
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); } &&
21203 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21204 { (case "(($ac_try" in
21205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21206 *) ac_try_echo=$ac_try;;
21208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21209 (eval "$ac_try") 2>&5
21211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21212 (exit $ac_status); }; } &&
21213 { ac_try='test -s conftest.$ac_objext'
21214 { (case "(($ac_try" in
21215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21216 *) ac_try_echo=$ac_try;;
21218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21219 (eval "$ac_try") 2>&5
21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222 (exit $ac_status); }; }; then
21223 ac_cv_member_struct_statfs_f_frsize=yes
21225 echo "$as_me: failed program was:" >&5
21226 sed 's/^/| /' conftest.$ac_ext >&5
21228 cat >conftest.$ac_ext <<_ACEOF
21231 cat confdefs.h >>conftest.$ac_ext
21232 cat >>conftest.$ac_ext <<_ACEOF
21233 /* end confdefs.h. */
21234 #include <sys/types.h>
21235 #ifdef HAVE_SYS_PARAM_H
21236 # include <sys/param.h>
21238 #ifdef HAVE_SYS_MOUNT_H
21239 # include <sys/mount.h>
21241 #ifdef HAVE_SYS_VFS_H
21242 # include <sys/vfs.h>
21244 #ifdef HAVE_SYS_STATFS_H
21245 # include <sys/statfs.h>
21251 static struct statfs ac_aggr;
21252 if (sizeof ac_aggr.f_frsize)
21258 rm -f conftest.$ac_objext
21259 if { (ac_try="$ac_compile"
21260 case "(($ac_try" in
21261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21262 *) ac_try_echo=$ac_try;;
21264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21265 (eval "$ac_compile") 2>conftest.er1
21267 grep -v '^ *+' conftest.er1 >conftest.err
21269 cat conftest.err >&5
21270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21271 (exit $ac_status); } &&
21272 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21273 { (case "(($ac_try" in
21274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21275 *) ac_try_echo=$ac_try;;
21277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21278 (eval "$ac_try") 2>&5
21280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21281 (exit $ac_status); }; } &&
21282 { ac_try='test -s conftest.$ac_objext'
21283 { (case "(($ac_try" in
21284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21285 *) ac_try_echo=$ac_try;;
21287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21288 (eval "$ac_try") 2>&5
21290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21291 (exit $ac_status); }; }; then
21292 ac_cv_member_struct_statfs_f_frsize=yes
21294 echo "$as_me: failed program was:" >&5
21295 sed 's/^/| /' conftest.$ac_ext >&5
21297 ac_cv_member_struct_statfs_f_frsize=no
21300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21305 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
21306 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
21307 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
21309 cat >>confdefs.h <<_ACEOF
21310 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
21315 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
21316 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
21317 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
21318 echo $ECHO_N "(cached) $ECHO_C" >&6
21320 cat >conftest.$ac_ext <<_ACEOF
21323 cat confdefs.h >>conftest.$ac_ext
21324 cat >>conftest.$ac_ext <<_ACEOF
21325 /* end confdefs.h. */
21326 #include <sys/types.h>
21327 #ifdef HAVE_SYS_PARAM_H
21328 # include <sys/param.h>
21330 #ifdef HAVE_SYS_MOUNT_H
21331 # include <sys/mount.h>
21333 #ifdef HAVE_SYS_VFS_H
21334 # include <sys/vfs.h>
21336 #ifdef HAVE_SYS_STATFS_H
21337 # include <sys/statfs.h>
21343 static struct statfs ac_aggr;
21344 if (ac_aggr.f_ffree)
21350 rm -f conftest.$ac_objext
21351 if { (ac_try="$ac_compile"
21352 case "(($ac_try" in
21353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21354 *) ac_try_echo=$ac_try;;
21356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21357 (eval "$ac_compile") 2>conftest.er1
21359 grep -v '^ *+' conftest.er1 >conftest.err
21361 cat conftest.err >&5
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); } &&
21364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21365 { (case "(($ac_try" in
21366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21367 *) ac_try_echo=$ac_try;;
21369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21370 (eval "$ac_try") 2>&5
21372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21373 (exit $ac_status); }; } &&
21374 { ac_try='test -s conftest.$ac_objext'
21375 { (case "(($ac_try" in
21376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21377 *) ac_try_echo=$ac_try;;
21379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21380 (eval "$ac_try") 2>&5
21382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21383 (exit $ac_status); }; }; then
21384 ac_cv_member_struct_statfs_f_ffree=yes
21386 echo "$as_me: failed program was:" >&5
21387 sed 's/^/| /' conftest.$ac_ext >&5
21389 cat >conftest.$ac_ext <<_ACEOF
21392 cat confdefs.h >>conftest.$ac_ext
21393 cat >>conftest.$ac_ext <<_ACEOF
21394 /* end confdefs.h. */
21395 #include <sys/types.h>
21396 #ifdef HAVE_SYS_PARAM_H
21397 # include <sys/param.h>
21399 #ifdef HAVE_SYS_MOUNT_H
21400 # include <sys/mount.h>
21402 #ifdef HAVE_SYS_VFS_H
21403 # include <sys/vfs.h>
21405 #ifdef HAVE_SYS_STATFS_H
21406 # include <sys/statfs.h>
21412 static struct statfs ac_aggr;
21413 if (sizeof ac_aggr.f_ffree)
21419 rm -f conftest.$ac_objext
21420 if { (ac_try="$ac_compile"
21421 case "(($ac_try" in
21422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21423 *) ac_try_echo=$ac_try;;
21425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21426 (eval "$ac_compile") 2>conftest.er1
21428 grep -v '^ *+' conftest.er1 >conftest.err
21430 cat conftest.err >&5
21431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21432 (exit $ac_status); } &&
21433 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21434 { (case "(($ac_try" in
21435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21436 *) ac_try_echo=$ac_try;;
21438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21439 (eval "$ac_try") 2>&5
21441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442 (exit $ac_status); }; } &&
21443 { ac_try='test -s conftest.$ac_objext'
21444 { (case "(($ac_try" in
21445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21446 *) ac_try_echo=$ac_try;;
21448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21449 (eval "$ac_try") 2>&5
21451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21452 (exit $ac_status); }; }; then
21453 ac_cv_member_struct_statfs_f_ffree=yes
21455 echo "$as_me: failed program was:" >&5
21456 sed 's/^/| /' conftest.$ac_ext >&5
21458 ac_cv_member_struct_statfs_f_ffree=no
21461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21466 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
21467 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
21468 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
21470 cat >>confdefs.h <<_ACEOF
21471 #define HAVE_STRUCT_STATFS_F_FFREE 1
21476 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
21477 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
21478 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
21479 echo $ECHO_N "(cached) $ECHO_C" >&6
21481 cat >conftest.$ac_ext <<_ACEOF
21484 cat confdefs.h >>conftest.$ac_ext
21485 cat >>conftest.$ac_ext <<_ACEOF
21486 /* end confdefs.h. */
21487 #include <sys/types.h>
21488 #ifdef HAVE_SYS_PARAM_H
21489 # include <sys/param.h>
21491 #ifdef HAVE_SYS_MOUNT_H
21492 # include <sys/mount.h>
21494 #ifdef HAVE_SYS_VFS_H
21495 # include <sys/vfs.h>
21497 #ifdef HAVE_SYS_STATFS_H
21498 # include <sys/statfs.h>
21504 static struct statfs ac_aggr;
21505 if (ac_aggr.f_favail)
21511 rm -f conftest.$ac_objext
21512 if { (ac_try="$ac_compile"
21513 case "(($ac_try" in
21514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21515 *) ac_try_echo=$ac_try;;
21517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21518 (eval "$ac_compile") 2>conftest.er1
21520 grep -v '^ *+' conftest.er1 >conftest.err
21522 cat conftest.err >&5
21523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21524 (exit $ac_status); } &&
21525 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21526 { (case "(($ac_try" in
21527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21528 *) ac_try_echo=$ac_try;;
21530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21531 (eval "$ac_try") 2>&5
21533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21534 (exit $ac_status); }; } &&
21535 { ac_try='test -s conftest.$ac_objext'
21536 { (case "(($ac_try" in
21537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21538 *) ac_try_echo=$ac_try;;
21540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21541 (eval "$ac_try") 2>&5
21543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544 (exit $ac_status); }; }; then
21545 ac_cv_member_struct_statfs_f_favail=yes
21547 echo "$as_me: failed program was:" >&5
21548 sed 's/^/| /' conftest.$ac_ext >&5
21550 cat >conftest.$ac_ext <<_ACEOF
21553 cat confdefs.h >>conftest.$ac_ext
21554 cat >>conftest.$ac_ext <<_ACEOF
21555 /* end confdefs.h. */
21556 #include <sys/types.h>
21557 #ifdef HAVE_SYS_PARAM_H
21558 # include <sys/param.h>
21560 #ifdef HAVE_SYS_MOUNT_H
21561 # include <sys/mount.h>
21563 #ifdef HAVE_SYS_VFS_H
21564 # include <sys/vfs.h>
21566 #ifdef HAVE_SYS_STATFS_H
21567 # include <sys/statfs.h>
21573 static struct statfs ac_aggr;
21574 if (sizeof ac_aggr.f_favail)
21580 rm -f conftest.$ac_objext
21581 if { (ac_try="$ac_compile"
21582 case "(($ac_try" in
21583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21584 *) ac_try_echo=$ac_try;;
21586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21587 (eval "$ac_compile") 2>conftest.er1
21589 grep -v '^ *+' conftest.er1 >conftest.err
21591 cat conftest.err >&5
21592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21593 (exit $ac_status); } &&
21594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21595 { (case "(($ac_try" in
21596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21597 *) ac_try_echo=$ac_try;;
21599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21600 (eval "$ac_try") 2>&5
21602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21603 (exit $ac_status); }; } &&
21604 { ac_try='test -s conftest.$ac_objext'
21605 { (case "(($ac_try" in
21606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21607 *) ac_try_echo=$ac_try;;
21609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21610 (eval "$ac_try") 2>&5
21612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21613 (exit $ac_status); }; }; then
21614 ac_cv_member_struct_statfs_f_favail=yes
21616 echo "$as_me: failed program was:" >&5
21617 sed 's/^/| /' conftest.$ac_ext >&5
21619 ac_cv_member_struct_statfs_f_favail=no
21622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21627 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
21628 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
21629 if test $ac_cv_member_struct_statfs_f_favail = yes; then
21631 cat >>confdefs.h <<_ACEOF
21632 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
21637 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
21638 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
21639 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
21640 echo $ECHO_N "(cached) $ECHO_C" >&6
21642 cat >conftest.$ac_ext <<_ACEOF
21645 cat confdefs.h >>conftest.$ac_ext
21646 cat >>conftest.$ac_ext <<_ACEOF
21647 /* end confdefs.h. */
21648 #include <sys/types.h>
21649 #ifdef HAVE_SYS_PARAM_H
21650 # include <sys/param.h>
21652 #ifdef HAVE_SYS_MOUNT_H
21653 # include <sys/mount.h>
21655 #ifdef HAVE_SYS_VFS_H
21656 # include <sys/vfs.h>
21658 #ifdef HAVE_SYS_STATFS_H
21659 # include <sys/statfs.h>
21665 static struct statfs ac_aggr;
21666 if (ac_aggr.f_namelen)
21672 rm -f conftest.$ac_objext
21673 if { (ac_try="$ac_compile"
21674 case "(($ac_try" in
21675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21676 *) ac_try_echo=$ac_try;;
21678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21679 (eval "$ac_compile") 2>conftest.er1
21681 grep -v '^ *+' conftest.er1 >conftest.err
21683 cat conftest.err >&5
21684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21685 (exit $ac_status); } &&
21686 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21687 { (case "(($ac_try" in
21688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21689 *) ac_try_echo=$ac_try;;
21691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21692 (eval "$ac_try") 2>&5
21694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21695 (exit $ac_status); }; } &&
21696 { ac_try='test -s conftest.$ac_objext'
21697 { (case "(($ac_try" in
21698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21699 *) ac_try_echo=$ac_try;;
21701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21702 (eval "$ac_try") 2>&5
21704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21705 (exit $ac_status); }; }; then
21706 ac_cv_member_struct_statfs_f_namelen=yes
21708 echo "$as_me: failed program was:" >&5
21709 sed 's/^/| /' conftest.$ac_ext >&5
21711 cat >conftest.$ac_ext <<_ACEOF
21714 cat confdefs.h >>conftest.$ac_ext
21715 cat >>conftest.$ac_ext <<_ACEOF
21716 /* end confdefs.h. */
21717 #include <sys/types.h>
21718 #ifdef HAVE_SYS_PARAM_H
21719 # include <sys/param.h>
21721 #ifdef HAVE_SYS_MOUNT_H
21722 # include <sys/mount.h>
21724 #ifdef HAVE_SYS_VFS_H
21725 # include <sys/vfs.h>
21727 #ifdef HAVE_SYS_STATFS_H
21728 # include <sys/statfs.h>
21734 static struct statfs ac_aggr;
21735 if (sizeof ac_aggr.f_namelen)
21741 rm -f conftest.$ac_objext
21742 if { (ac_try="$ac_compile"
21743 case "(($ac_try" in
21744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21745 *) ac_try_echo=$ac_try;;
21747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21748 (eval "$ac_compile") 2>conftest.er1
21750 grep -v '^ *+' conftest.er1 >conftest.err
21752 cat conftest.err >&5
21753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754 (exit $ac_status); } &&
21755 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21756 { (case "(($ac_try" in
21757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21758 *) ac_try_echo=$ac_try;;
21760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21761 (eval "$ac_try") 2>&5
21763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21764 (exit $ac_status); }; } &&
21765 { ac_try='test -s conftest.$ac_objext'
21766 { (case "(($ac_try" in
21767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21768 *) ac_try_echo=$ac_try;;
21770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21771 (eval "$ac_try") 2>&5
21773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21774 (exit $ac_status); }; }; then
21775 ac_cv_member_struct_statfs_f_namelen=yes
21777 echo "$as_me: failed program was:" >&5
21778 sed 's/^/| /' conftest.$ac_ext >&5
21780 ac_cv_member_struct_statfs_f_namelen=no
21783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21788 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
21789 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
21790 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
21792 cat >>confdefs.h <<_ACEOF
21793 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
21800 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
21801 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
21802 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
21803 echo $ECHO_N "(cached) $ECHO_C" >&6
21805 cat >conftest.$ac_ext <<_ACEOF
21808 cat confdefs.h >>conftest.$ac_ext
21809 cat >>conftest.$ac_ext <<_ACEOF
21810 /* end confdefs.h. */
21811 #ifdef HAVE_SYS_STATVFS_H
21812 #include <sys/statvfs.h>
21818 static struct statvfs ac_aggr;
21819 if (ac_aggr.f_blocks)
21825 rm -f conftest.$ac_objext
21826 if { (ac_try="$ac_compile"
21827 case "(($ac_try" in
21828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21829 *) ac_try_echo=$ac_try;;
21831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21832 (eval "$ac_compile") 2>conftest.er1
21834 grep -v '^ *+' conftest.er1 >conftest.err
21836 cat conftest.err >&5
21837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838 (exit $ac_status); } &&
21839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21840 { (case "(($ac_try" in
21841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21842 *) ac_try_echo=$ac_try;;
21844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21845 (eval "$ac_try") 2>&5
21847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21848 (exit $ac_status); }; } &&
21849 { ac_try='test -s conftest.$ac_objext'
21850 { (case "(($ac_try" in
21851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21852 *) ac_try_echo=$ac_try;;
21854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21855 (eval "$ac_try") 2>&5
21857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21858 (exit $ac_status); }; }; then
21859 ac_cv_member_struct_statvfs_f_blocks=yes
21861 echo "$as_me: failed program was:" >&5
21862 sed 's/^/| /' conftest.$ac_ext >&5
21864 cat >conftest.$ac_ext <<_ACEOF
21867 cat confdefs.h >>conftest.$ac_ext
21868 cat >>conftest.$ac_ext <<_ACEOF
21869 /* end confdefs.h. */
21870 #ifdef HAVE_SYS_STATVFS_H
21871 #include <sys/statvfs.h>
21877 static struct statvfs ac_aggr;
21878 if (sizeof ac_aggr.f_blocks)
21884 rm -f conftest.$ac_objext
21885 if { (ac_try="$ac_compile"
21886 case "(($ac_try" in
21887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21888 *) ac_try_echo=$ac_try;;
21890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21891 (eval "$ac_compile") 2>conftest.er1
21893 grep -v '^ *+' conftest.er1 >conftest.err
21895 cat conftest.err >&5
21896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21897 (exit $ac_status); } &&
21898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21899 { (case "(($ac_try" in
21900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21901 *) ac_try_echo=$ac_try;;
21903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21904 (eval "$ac_try") 2>&5
21906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21907 (exit $ac_status); }; } &&
21908 { ac_try='test -s conftest.$ac_objext'
21909 { (case "(($ac_try" in
21910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21911 *) ac_try_echo=$ac_try;;
21913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21914 (eval "$ac_try") 2>&5
21916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21917 (exit $ac_status); }; }; then
21918 ac_cv_member_struct_statvfs_f_blocks=yes
21920 echo "$as_me: failed program was:" >&5
21921 sed 's/^/| /' conftest.$ac_ext >&5
21923 ac_cv_member_struct_statvfs_f_blocks=no
21926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21931 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
21932 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
21933 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
21935 cat >>confdefs.h <<_ACEOF
21936 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
21943 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
21944 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
21945 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
21946 echo $ECHO_N "(cached) $ECHO_C" >&6
21948 cat >conftest.$ac_ext <<_ACEOF
21951 cat confdefs.h >>conftest.$ac_ext
21952 cat >>conftest.$ac_ext <<_ACEOF
21953 /* end confdefs.h. */
21954 #include <sys/types.h>
21955 #ifdef HAVE_SYS_SOCKET_H
21956 # include <sys/socket.h>
21958 #ifdef HAVE_SYS_UN_H
21959 # include <sys/un.h>
21965 static struct msghdr ac_aggr;
21966 if (ac_aggr.msg_accrights)
21972 rm -f conftest.$ac_objext
21973 if { (ac_try="$ac_compile"
21974 case "(($ac_try" in
21975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21976 *) ac_try_echo=$ac_try;;
21978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21979 (eval "$ac_compile") 2>conftest.er1
21981 grep -v '^ *+' conftest.er1 >conftest.err
21983 cat conftest.err >&5
21984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21985 (exit $ac_status); } &&
21986 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21987 { (case "(($ac_try" in
21988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21989 *) ac_try_echo=$ac_try;;
21991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21992 (eval "$ac_try") 2>&5
21994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21995 (exit $ac_status); }; } &&
21996 { ac_try='test -s conftest.$ac_objext'
21997 { (case "(($ac_try" in
21998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21999 *) ac_try_echo=$ac_try;;
22001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22002 (eval "$ac_try") 2>&5
22004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22005 (exit $ac_status); }; }; then
22006 ac_cv_member_struct_msghdr_msg_accrights=yes
22008 echo "$as_me: failed program was:" >&5
22009 sed 's/^/| /' conftest.$ac_ext >&5
22011 cat >conftest.$ac_ext <<_ACEOF
22014 cat confdefs.h >>conftest.$ac_ext
22015 cat >>conftest.$ac_ext <<_ACEOF
22016 /* end confdefs.h. */
22017 #include <sys/types.h>
22018 #ifdef HAVE_SYS_SOCKET_H
22019 # include <sys/socket.h>
22021 #ifdef HAVE_SYS_UN_H
22022 # include <sys/un.h>
22028 static struct msghdr ac_aggr;
22029 if (sizeof ac_aggr.msg_accrights)
22035 rm -f conftest.$ac_objext
22036 if { (ac_try="$ac_compile"
22037 case "(($ac_try" in
22038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22039 *) ac_try_echo=$ac_try;;
22041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22042 (eval "$ac_compile") 2>conftest.er1
22044 grep -v '^ *+' conftest.er1 >conftest.err
22046 cat conftest.err >&5
22047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22048 (exit $ac_status); } &&
22049 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22050 { (case "(($ac_try" in
22051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22052 *) ac_try_echo=$ac_try;;
22054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22055 (eval "$ac_try") 2>&5
22057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22058 (exit $ac_status); }; } &&
22059 { ac_try='test -s conftest.$ac_objext'
22060 { (case "(($ac_try" in
22061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22062 *) ac_try_echo=$ac_try;;
22064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22065 (eval "$ac_try") 2>&5
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); }; }; then
22069 ac_cv_member_struct_msghdr_msg_accrights=yes
22071 echo "$as_me: failed program was:" >&5
22072 sed 's/^/| /' conftest.$ac_ext >&5
22074 ac_cv_member_struct_msghdr_msg_accrights=no
22077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22082 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
22083 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
22084 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
22086 cat >>confdefs.h <<_ACEOF
22087 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
22092 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
22093 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
22094 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
22095 echo $ECHO_N "(cached) $ECHO_C" >&6
22097 cat >conftest.$ac_ext <<_ACEOF
22100 cat confdefs.h >>conftest.$ac_ext
22101 cat >>conftest.$ac_ext <<_ACEOF
22102 /* end confdefs.h. */
22103 #include <sys/types.h>
22104 #ifdef HAVE_SYS_SOCKET_H
22105 # include <sys/socket.h>
22107 #ifdef HAVE_SYS_UN_H
22108 # include <sys/un.h>
22114 static struct sockaddr ac_aggr;
22115 if (ac_aggr.sa_len)
22121 rm -f conftest.$ac_objext
22122 if { (ac_try="$ac_compile"
22123 case "(($ac_try" in
22124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22125 *) ac_try_echo=$ac_try;;
22127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22128 (eval "$ac_compile") 2>conftest.er1
22130 grep -v '^ *+' conftest.er1 >conftest.err
22132 cat conftest.err >&5
22133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22134 (exit $ac_status); } &&
22135 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22136 { (case "(($ac_try" in
22137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22138 *) ac_try_echo=$ac_try;;
22140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22141 (eval "$ac_try") 2>&5
22143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22144 (exit $ac_status); }; } &&
22145 { ac_try='test -s conftest.$ac_objext'
22146 { (case "(($ac_try" in
22147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22148 *) ac_try_echo=$ac_try;;
22150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22151 (eval "$ac_try") 2>&5
22153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22154 (exit $ac_status); }; }; then
22155 ac_cv_member_struct_sockaddr_sa_len=yes
22157 echo "$as_me: failed program was:" >&5
22158 sed 's/^/| /' conftest.$ac_ext >&5
22160 cat >conftest.$ac_ext <<_ACEOF
22163 cat confdefs.h >>conftest.$ac_ext
22164 cat >>conftest.$ac_ext <<_ACEOF
22165 /* end confdefs.h. */
22166 #include <sys/types.h>
22167 #ifdef HAVE_SYS_SOCKET_H
22168 # include <sys/socket.h>
22170 #ifdef HAVE_SYS_UN_H
22171 # include <sys/un.h>
22177 static struct sockaddr ac_aggr;
22178 if (sizeof ac_aggr.sa_len)
22184 rm -f conftest.$ac_objext
22185 if { (ac_try="$ac_compile"
22186 case "(($ac_try" in
22187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22188 *) ac_try_echo=$ac_try;;
22190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22191 (eval "$ac_compile") 2>conftest.er1
22193 grep -v '^ *+' conftest.er1 >conftest.err
22195 cat conftest.err >&5
22196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22197 (exit $ac_status); } &&
22198 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22199 { (case "(($ac_try" in
22200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22201 *) ac_try_echo=$ac_try;;
22203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22204 (eval "$ac_try") 2>&5
22206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22207 (exit $ac_status); }; } &&
22208 { ac_try='test -s conftest.$ac_objext'
22209 { (case "(($ac_try" in
22210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22211 *) ac_try_echo=$ac_try;;
22213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22214 (eval "$ac_try") 2>&5
22216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22217 (exit $ac_status); }; }; then
22218 ac_cv_member_struct_sockaddr_sa_len=yes
22220 echo "$as_me: failed program was:" >&5
22221 sed 's/^/| /' conftest.$ac_ext >&5
22223 ac_cv_member_struct_sockaddr_sa_len=no
22226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22231 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
22232 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
22233 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
22235 cat >>confdefs.h <<_ACEOF
22236 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
22241 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
22242 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
22243 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
22244 echo $ECHO_N "(cached) $ECHO_C" >&6
22246 cat >conftest.$ac_ext <<_ACEOF
22249 cat confdefs.h >>conftest.$ac_ext
22250 cat >>conftest.$ac_ext <<_ACEOF
22251 /* end confdefs.h. */
22252 #include <sys/types.h>
22253 #ifdef HAVE_SYS_SOCKET_H
22254 # include <sys/socket.h>
22256 #ifdef HAVE_SYS_UN_H
22257 # include <sys/un.h>
22263 static struct sockaddr_un ac_aggr;
22264 if (ac_aggr.sun_len)
22270 rm -f conftest.$ac_objext
22271 if { (ac_try="$ac_compile"
22272 case "(($ac_try" in
22273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22274 *) ac_try_echo=$ac_try;;
22276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22277 (eval "$ac_compile") 2>conftest.er1
22279 grep -v '^ *+' conftest.er1 >conftest.err
22281 cat conftest.err >&5
22282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22283 (exit $ac_status); } &&
22284 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22285 { (case "(($ac_try" in
22286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22287 *) ac_try_echo=$ac_try;;
22289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22290 (eval "$ac_try") 2>&5
22292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293 (exit $ac_status); }; } &&
22294 { ac_try='test -s conftest.$ac_objext'
22295 { (case "(($ac_try" in
22296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22297 *) ac_try_echo=$ac_try;;
22299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22300 (eval "$ac_try") 2>&5
22302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22303 (exit $ac_status); }; }; then
22304 ac_cv_member_struct_sockaddr_un_sun_len=yes
22306 echo "$as_me: failed program was:" >&5
22307 sed 's/^/| /' conftest.$ac_ext >&5
22309 cat >conftest.$ac_ext <<_ACEOF
22312 cat confdefs.h >>conftest.$ac_ext
22313 cat >>conftest.$ac_ext <<_ACEOF
22314 /* end confdefs.h. */
22315 #include <sys/types.h>
22316 #ifdef HAVE_SYS_SOCKET_H
22317 # include <sys/socket.h>
22319 #ifdef HAVE_SYS_UN_H
22320 # include <sys/un.h>
22326 static struct sockaddr_un ac_aggr;
22327 if (sizeof ac_aggr.sun_len)
22333 rm -f conftest.$ac_objext
22334 if { (ac_try="$ac_compile"
22335 case "(($ac_try" in
22336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22337 *) ac_try_echo=$ac_try;;
22339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22340 (eval "$ac_compile") 2>conftest.er1
22342 grep -v '^ *+' conftest.er1 >conftest.err
22344 cat conftest.err >&5
22345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346 (exit $ac_status); } &&
22347 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22348 { (case "(($ac_try" in
22349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22350 *) ac_try_echo=$ac_try;;
22352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22353 (eval "$ac_try") 2>&5
22355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22356 (exit $ac_status); }; } &&
22357 { ac_try='test -s conftest.$ac_objext'
22358 { (case "(($ac_try" in
22359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22360 *) ac_try_echo=$ac_try;;
22362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22363 (eval "$ac_try") 2>&5
22365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22366 (exit $ac_status); }; }; then
22367 ac_cv_member_struct_sockaddr_un_sun_len=yes
22369 echo "$as_me: failed program was:" >&5
22370 sed 's/^/| /' conftest.$ac_ext >&5
22372 ac_cv_member_struct_sockaddr_un_sun_len=no
22375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22380 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
22381 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
22382 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
22384 cat >>confdefs.h <<_ACEOF
22385 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
22392 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
22393 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
22394 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
22395 echo $ECHO_N "(cached) $ECHO_C" >&6
22397 cat >conftest.$ac_ext <<_ACEOF
22400 cat confdefs.h >>conftest.$ac_ext
22401 cat >>conftest.$ac_ext <<_ACEOF
22402 /* end confdefs.h. */
22403 #include <sys/types.h>
22404 #ifdef HAVE_SCSI_SG_H
22405 #include <scsi/sg.h>
22411 static scsireq_t ac_aggr;
22418 rm -f conftest.$ac_objext
22419 if { (ac_try="$ac_compile"
22420 case "(($ac_try" in
22421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22422 *) ac_try_echo=$ac_try;;
22424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22425 (eval "$ac_compile") 2>conftest.er1
22427 grep -v '^ *+' conftest.er1 >conftest.err
22429 cat conftest.err >&5
22430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22431 (exit $ac_status); } &&
22432 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22433 { (case "(($ac_try" in
22434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22435 *) ac_try_echo=$ac_try;;
22437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22438 (eval "$ac_try") 2>&5
22440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22441 (exit $ac_status); }; } &&
22442 { ac_try='test -s conftest.$ac_objext'
22443 { (case "(($ac_try" in
22444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22445 *) ac_try_echo=$ac_try;;
22447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22448 (eval "$ac_try") 2>&5
22450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22451 (exit $ac_status); }; }; then
22452 ac_cv_member_scsireq_t_cmd=yes
22454 echo "$as_me: failed program was:" >&5
22455 sed 's/^/| /' conftest.$ac_ext >&5
22457 cat >conftest.$ac_ext <<_ACEOF
22460 cat confdefs.h >>conftest.$ac_ext
22461 cat >>conftest.$ac_ext <<_ACEOF
22462 /* end confdefs.h. */
22463 #include <sys/types.h>
22464 #ifdef HAVE_SCSI_SG_H
22465 #include <scsi/sg.h>
22471 static scsireq_t ac_aggr;
22472 if (sizeof ac_aggr.cmd)
22478 rm -f conftest.$ac_objext
22479 if { (ac_try="$ac_compile"
22480 case "(($ac_try" in
22481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22482 *) ac_try_echo=$ac_try;;
22484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22485 (eval "$ac_compile") 2>conftest.er1
22487 grep -v '^ *+' conftest.er1 >conftest.err
22489 cat conftest.err >&5
22490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22491 (exit $ac_status); } &&
22492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22493 { (case "(($ac_try" in
22494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22495 *) ac_try_echo=$ac_try;;
22497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22498 (eval "$ac_try") 2>&5
22500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22501 (exit $ac_status); }; } &&
22502 { ac_try='test -s conftest.$ac_objext'
22503 { (case "(($ac_try" in
22504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22505 *) ac_try_echo=$ac_try;;
22507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22508 (eval "$ac_try") 2>&5
22510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22511 (exit $ac_status); }; }; then
22512 ac_cv_member_scsireq_t_cmd=yes
22514 echo "$as_me: failed program was:" >&5
22515 sed 's/^/| /' conftest.$ac_ext >&5
22517 ac_cv_member_scsireq_t_cmd=no
22520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22525 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
22526 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
22527 if test $ac_cv_member_scsireq_t_cmd = yes; then
22529 cat >>confdefs.h <<_ACEOF
22530 #define HAVE_SCSIREQ_T_CMD 1
22535 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
22536 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
22537 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
22538 echo $ECHO_N "(cached) $ECHO_C" >&6
22540 cat >conftest.$ac_ext <<_ACEOF
22543 cat confdefs.h >>conftest.$ac_ext
22544 cat >>conftest.$ac_ext <<_ACEOF
22545 /* end confdefs.h. */
22546 #include <sys/types.h>
22547 #ifdef HAVE_SCSI_SG_H
22548 #include <scsi/sg.h>
22554 static sg_io_hdr_t ac_aggr;
22555 if (ac_aggr.interface_id)
22561 rm -f conftest.$ac_objext
22562 if { (ac_try="$ac_compile"
22563 case "(($ac_try" in
22564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22565 *) ac_try_echo=$ac_try;;
22567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22568 (eval "$ac_compile") 2>conftest.er1
22570 grep -v '^ *+' conftest.er1 >conftest.err
22572 cat conftest.err >&5
22573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22574 (exit $ac_status); } &&
22575 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22576 { (case "(($ac_try" in
22577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22578 *) ac_try_echo=$ac_try;;
22580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22581 (eval "$ac_try") 2>&5
22583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22584 (exit $ac_status); }; } &&
22585 { ac_try='test -s conftest.$ac_objext'
22586 { (case "(($ac_try" in
22587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22588 *) ac_try_echo=$ac_try;;
22590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22591 (eval "$ac_try") 2>&5
22593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22594 (exit $ac_status); }; }; then
22595 ac_cv_member_sg_io_hdr_t_interface_id=yes
22597 echo "$as_me: failed program was:" >&5
22598 sed 's/^/| /' conftest.$ac_ext >&5
22600 cat >conftest.$ac_ext <<_ACEOF
22603 cat confdefs.h >>conftest.$ac_ext
22604 cat >>conftest.$ac_ext <<_ACEOF
22605 /* end confdefs.h. */
22606 #include <sys/types.h>
22607 #ifdef HAVE_SCSI_SG_H
22608 #include <scsi/sg.h>
22614 static sg_io_hdr_t ac_aggr;
22615 if (sizeof ac_aggr.interface_id)
22621 rm -f conftest.$ac_objext
22622 if { (ac_try="$ac_compile"
22623 case "(($ac_try" in
22624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22625 *) ac_try_echo=$ac_try;;
22627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22628 (eval "$ac_compile") 2>conftest.er1
22630 grep -v '^ *+' conftest.er1 >conftest.err
22632 cat conftest.err >&5
22633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22634 (exit $ac_status); } &&
22635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22636 { (case "(($ac_try" in
22637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22638 *) ac_try_echo=$ac_try;;
22640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22641 (eval "$ac_try") 2>&5
22643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22644 (exit $ac_status); }; } &&
22645 { ac_try='test -s conftest.$ac_objext'
22646 { (case "(($ac_try" in
22647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22648 *) ac_try_echo=$ac_try;;
22650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22651 (eval "$ac_try") 2>&5
22653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22654 (exit $ac_status); }; }; then
22655 ac_cv_member_sg_io_hdr_t_interface_id=yes
22657 echo "$as_me: failed program was:" >&5
22658 sed 's/^/| /' conftest.$ac_ext >&5
22660 ac_cv_member_sg_io_hdr_t_interface_id=no
22663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22668 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
22669 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
22670 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
22672 cat >>confdefs.h <<_ACEOF
22673 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22680 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
22681 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
22682 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
22683 echo $ECHO_N "(cached) $ECHO_C" >&6
22685 cat >conftest.$ac_ext <<_ACEOF
22688 cat confdefs.h >>conftest.$ac_ext
22689 cat >>conftest.$ac_ext <<_ACEOF
22690 /* end confdefs.h. */
22691 #include <signal.h>
22696 static siginfo_t ac_aggr;
22703 rm -f conftest.$ac_objext
22704 if { (ac_try="$ac_compile"
22705 case "(($ac_try" in
22706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22707 *) ac_try_echo=$ac_try;;
22709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22710 (eval "$ac_compile") 2>conftest.er1
22712 grep -v '^ *+' conftest.er1 >conftest.err
22714 cat conftest.err >&5
22715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22716 (exit $ac_status); } &&
22717 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22718 { (case "(($ac_try" in
22719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22720 *) ac_try_echo=$ac_try;;
22722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22723 (eval "$ac_try") 2>&5
22725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22726 (exit $ac_status); }; } &&
22727 { ac_try='test -s conftest.$ac_objext'
22728 { (case "(($ac_try" in
22729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22730 *) ac_try_echo=$ac_try;;
22732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22733 (eval "$ac_try") 2>&5
22735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22736 (exit $ac_status); }; }; then
22737 ac_cv_member_siginfo_t_si_fd=yes
22739 echo "$as_me: failed program was:" >&5
22740 sed 's/^/| /' conftest.$ac_ext >&5
22742 cat >conftest.$ac_ext <<_ACEOF
22745 cat confdefs.h >>conftest.$ac_ext
22746 cat >>conftest.$ac_ext <<_ACEOF
22747 /* end confdefs.h. */
22748 #include <signal.h>
22753 static siginfo_t ac_aggr;
22754 if (sizeof ac_aggr.si_fd)
22760 rm -f conftest.$ac_objext
22761 if { (ac_try="$ac_compile"
22762 case "(($ac_try" in
22763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22764 *) ac_try_echo=$ac_try;;
22766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22767 (eval "$ac_compile") 2>conftest.er1
22769 grep -v '^ *+' conftest.er1 >conftest.err
22771 cat conftest.err >&5
22772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22773 (exit $ac_status); } &&
22774 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22775 { (case "(($ac_try" in
22776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22777 *) ac_try_echo=$ac_try;;
22779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22780 (eval "$ac_try") 2>&5
22782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22783 (exit $ac_status); }; } &&
22784 { ac_try='test -s conftest.$ac_objext'
22785 { (case "(($ac_try" in
22786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22787 *) ac_try_echo=$ac_try;;
22789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22790 (eval "$ac_try") 2>&5
22792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22793 (exit $ac_status); }; }; then
22794 ac_cv_member_siginfo_t_si_fd=yes
22796 echo "$as_me: failed program was:" >&5
22797 sed 's/^/| /' conftest.$ac_ext >&5
22799 ac_cv_member_siginfo_t_si_fd=no
22802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22807 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
22808 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
22809 if test $ac_cv_member_siginfo_t_si_fd = yes; then
22811 cat >>confdefs.h <<_ACEOF
22812 #define HAVE_SIGINFO_T_SI_FD 1
22819 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
22820 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
22821 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
22822 echo $ECHO_N "(cached) $ECHO_C" >&6
22824 cat >conftest.$ac_ext <<_ACEOF
22827 cat confdefs.h >>conftest.$ac_ext
22828 cat >>conftest.$ac_ext <<_ACEOF
22829 /* end confdefs.h. */
22830 #include <sys/types.h>
22831 #ifdef HAVE_SYS_MTIO_H
22832 #include <sys/mtio.h>
22838 static struct mtget ac_aggr;
22839 if (ac_aggr.mt_blksiz)
22845 rm -f conftest.$ac_objext
22846 if { (ac_try="$ac_compile"
22847 case "(($ac_try" in
22848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22849 *) ac_try_echo=$ac_try;;
22851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22852 (eval "$ac_compile") 2>conftest.er1
22854 grep -v '^ *+' conftest.er1 >conftest.err
22856 cat conftest.err >&5
22857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22858 (exit $ac_status); } &&
22859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22860 { (case "(($ac_try" in
22861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22862 *) ac_try_echo=$ac_try;;
22864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22865 (eval "$ac_try") 2>&5
22867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868 (exit $ac_status); }; } &&
22869 { ac_try='test -s conftest.$ac_objext'
22870 { (case "(($ac_try" in
22871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22872 *) ac_try_echo=$ac_try;;
22874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22875 (eval "$ac_try") 2>&5
22877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22878 (exit $ac_status); }; }; then
22879 ac_cv_member_struct_mtget_mt_blksiz=yes
22881 echo "$as_me: failed program was:" >&5
22882 sed 's/^/| /' conftest.$ac_ext >&5
22884 cat >conftest.$ac_ext <<_ACEOF
22887 cat confdefs.h >>conftest.$ac_ext
22888 cat >>conftest.$ac_ext <<_ACEOF
22889 /* end confdefs.h. */
22890 #include <sys/types.h>
22891 #ifdef HAVE_SYS_MTIO_H
22892 #include <sys/mtio.h>
22898 static struct mtget ac_aggr;
22899 if (sizeof ac_aggr.mt_blksiz)
22905 rm -f conftest.$ac_objext
22906 if { (ac_try="$ac_compile"
22907 case "(($ac_try" in
22908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22909 *) ac_try_echo=$ac_try;;
22911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22912 (eval "$ac_compile") 2>conftest.er1
22914 grep -v '^ *+' conftest.er1 >conftest.err
22916 cat conftest.err >&5
22917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22918 (exit $ac_status); } &&
22919 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22920 { (case "(($ac_try" in
22921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22922 *) ac_try_echo=$ac_try;;
22924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22925 (eval "$ac_try") 2>&5
22927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22928 (exit $ac_status); }; } &&
22929 { ac_try='test -s conftest.$ac_objext'
22930 { (case "(($ac_try" in
22931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22932 *) ac_try_echo=$ac_try;;
22934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22935 (eval "$ac_try") 2>&5
22937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22938 (exit $ac_status); }; }; then
22939 ac_cv_member_struct_mtget_mt_blksiz=yes
22941 echo "$as_me: failed program was:" >&5
22942 sed 's/^/| /' conftest.$ac_ext >&5
22944 ac_cv_member_struct_mtget_mt_blksiz=no
22947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22952 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
22953 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
22954 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
22956 cat >>confdefs.h <<_ACEOF
22957 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
22962 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
22963 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
22964 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
22965 echo $ECHO_N "(cached) $ECHO_C" >&6
22967 cat >conftest.$ac_ext <<_ACEOF
22970 cat confdefs.h >>conftest.$ac_ext
22971 cat >>conftest.$ac_ext <<_ACEOF
22972 /* end confdefs.h. */
22973 #include <sys/types.h>
22974 #ifdef HAVE_SYS_MTIO_H
22975 #include <sys/mtio.h>
22981 static struct mtget ac_aggr;
22982 if (ac_aggr.mt_gstat)
22988 rm -f conftest.$ac_objext
22989 if { (ac_try="$ac_compile"
22990 case "(($ac_try" in
22991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22992 *) ac_try_echo=$ac_try;;
22994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22995 (eval "$ac_compile") 2>conftest.er1
22997 grep -v '^ *+' conftest.er1 >conftest.err
22999 cat conftest.err >&5
23000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23001 (exit $ac_status); } &&
23002 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23003 { (case "(($ac_try" in
23004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23005 *) ac_try_echo=$ac_try;;
23007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23008 (eval "$ac_try") 2>&5
23010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23011 (exit $ac_status); }; } &&
23012 { ac_try='test -s conftest.$ac_objext'
23013 { (case "(($ac_try" in
23014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23015 *) ac_try_echo=$ac_try;;
23017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23018 (eval "$ac_try") 2>&5
23020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021 (exit $ac_status); }; }; then
23022 ac_cv_member_struct_mtget_mt_gstat=yes
23024 echo "$as_me: failed program was:" >&5
23025 sed 's/^/| /' conftest.$ac_ext >&5
23027 cat >conftest.$ac_ext <<_ACEOF
23030 cat confdefs.h >>conftest.$ac_ext
23031 cat >>conftest.$ac_ext <<_ACEOF
23032 /* end confdefs.h. */
23033 #include <sys/types.h>
23034 #ifdef HAVE_SYS_MTIO_H
23035 #include <sys/mtio.h>
23041 static struct mtget ac_aggr;
23042 if (sizeof ac_aggr.mt_gstat)
23048 rm -f conftest.$ac_objext
23049 if { (ac_try="$ac_compile"
23050 case "(($ac_try" in
23051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23052 *) ac_try_echo=$ac_try;;
23054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23055 (eval "$ac_compile") 2>conftest.er1
23057 grep -v '^ *+' conftest.er1 >conftest.err
23059 cat conftest.err >&5
23060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23061 (exit $ac_status); } &&
23062 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23063 { (case "(($ac_try" in
23064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23065 *) ac_try_echo=$ac_try;;
23067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23068 (eval "$ac_try") 2>&5
23070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23071 (exit $ac_status); }; } &&
23072 { ac_try='test -s conftest.$ac_objext'
23073 { (case "(($ac_try" in
23074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23075 *) ac_try_echo=$ac_try;;
23077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23078 (eval "$ac_try") 2>&5
23080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23081 (exit $ac_status); }; }; then
23082 ac_cv_member_struct_mtget_mt_gstat=yes
23084 echo "$as_me: failed program was:" >&5
23085 sed 's/^/| /' conftest.$ac_ext >&5
23087 ac_cv_member_struct_mtget_mt_gstat=no
23090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23095 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
23096 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
23097 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
23099 cat >>confdefs.h <<_ACEOF
23100 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
23105 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
23106 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
23107 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
23108 echo $ECHO_N "(cached) $ECHO_C" >&6
23110 cat >conftest.$ac_ext <<_ACEOF
23113 cat confdefs.h >>conftest.$ac_ext
23114 cat >>conftest.$ac_ext <<_ACEOF
23115 /* end confdefs.h. */
23116 #include <sys/types.h>
23117 #ifdef HAVE_SYS_MTIO_H
23118 #include <sys/mtio.h>
23124 static struct mtget ac_aggr;
23125 if (ac_aggr.mt_blkno)
23131 rm -f conftest.$ac_objext
23132 if { (ac_try="$ac_compile"
23133 case "(($ac_try" in
23134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23135 *) ac_try_echo=$ac_try;;
23137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23138 (eval "$ac_compile") 2>conftest.er1
23140 grep -v '^ *+' conftest.er1 >conftest.err
23142 cat conftest.err >&5
23143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23144 (exit $ac_status); } &&
23145 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23146 { (case "(($ac_try" in
23147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23148 *) ac_try_echo=$ac_try;;
23150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23151 (eval "$ac_try") 2>&5
23153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23154 (exit $ac_status); }; } &&
23155 { ac_try='test -s conftest.$ac_objext'
23156 { (case "(($ac_try" in
23157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23158 *) ac_try_echo=$ac_try;;
23160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23161 (eval "$ac_try") 2>&5
23163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23164 (exit $ac_status); }; }; then
23165 ac_cv_member_struct_mtget_mt_blkno=yes
23167 echo "$as_me: failed program was:" >&5
23168 sed 's/^/| /' conftest.$ac_ext >&5
23170 cat >conftest.$ac_ext <<_ACEOF
23173 cat confdefs.h >>conftest.$ac_ext
23174 cat >>conftest.$ac_ext <<_ACEOF
23175 /* end confdefs.h. */
23176 #include <sys/types.h>
23177 #ifdef HAVE_SYS_MTIO_H
23178 #include <sys/mtio.h>
23184 static struct mtget ac_aggr;
23185 if (sizeof ac_aggr.mt_blkno)
23191 rm -f conftest.$ac_objext
23192 if { (ac_try="$ac_compile"
23193 case "(($ac_try" in
23194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23195 *) ac_try_echo=$ac_try;;
23197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23198 (eval "$ac_compile") 2>conftest.er1
23200 grep -v '^ *+' conftest.er1 >conftest.err
23202 cat conftest.err >&5
23203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23204 (exit $ac_status); } &&
23205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23206 { (case "(($ac_try" in
23207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23208 *) ac_try_echo=$ac_try;;
23210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23211 (eval "$ac_try") 2>&5
23213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23214 (exit $ac_status); }; } &&
23215 { ac_try='test -s conftest.$ac_objext'
23216 { (case "(($ac_try" in
23217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23218 *) ac_try_echo=$ac_try;;
23220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23221 (eval "$ac_try") 2>&5
23223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23224 (exit $ac_status); }; }; then
23225 ac_cv_member_struct_mtget_mt_blkno=yes
23227 echo "$as_me: failed program was:" >&5
23228 sed 's/^/| /' conftest.$ac_ext >&5
23230 ac_cv_member_struct_mtget_mt_blkno=no
23233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23238 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
23239 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
23240 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
23242 cat >>confdefs.h <<_ACEOF
23243 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
23250 { echo "$as_me:$LINENO: checking for struct option.name" >&5
23251 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
23252 if test "${ac_cv_member_struct_option_name+set}" = set; then
23253 echo $ECHO_N "(cached) $ECHO_C" >&6
23255 cat >conftest.$ac_ext <<_ACEOF
23258 cat confdefs.h >>conftest.$ac_ext
23259 cat >>conftest.$ac_ext <<_ACEOF
23260 /* end confdefs.h. */
23261 #ifdef HAVE_GETOPT_H
23262 #include <getopt.h>
23268 static struct option ac_aggr;
23275 rm -f conftest.$ac_objext
23276 if { (ac_try="$ac_compile"
23277 case "(($ac_try" in
23278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23279 *) ac_try_echo=$ac_try;;
23281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23282 (eval "$ac_compile") 2>conftest.er1
23284 grep -v '^ *+' conftest.er1 >conftest.err
23286 cat conftest.err >&5
23287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23288 (exit $ac_status); } &&
23289 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23290 { (case "(($ac_try" in
23291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23292 *) ac_try_echo=$ac_try;;
23294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23295 (eval "$ac_try") 2>&5
23297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23298 (exit $ac_status); }; } &&
23299 { ac_try='test -s conftest.$ac_objext'
23300 { (case "(($ac_try" in
23301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23302 *) ac_try_echo=$ac_try;;
23304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23305 (eval "$ac_try") 2>&5
23307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23308 (exit $ac_status); }; }; then
23309 ac_cv_member_struct_option_name=yes
23311 echo "$as_me: failed program was:" >&5
23312 sed 's/^/| /' conftest.$ac_ext >&5
23314 cat >conftest.$ac_ext <<_ACEOF
23317 cat confdefs.h >>conftest.$ac_ext
23318 cat >>conftest.$ac_ext <<_ACEOF
23319 /* end confdefs.h. */
23320 #ifdef HAVE_GETOPT_H
23321 #include <getopt.h>
23327 static struct option ac_aggr;
23328 if (sizeof ac_aggr.name)
23334 rm -f conftest.$ac_objext
23335 if { (ac_try="$ac_compile"
23336 case "(($ac_try" in
23337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23338 *) ac_try_echo=$ac_try;;
23340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23341 (eval "$ac_compile") 2>conftest.er1
23343 grep -v '^ *+' conftest.er1 >conftest.err
23345 cat conftest.err >&5
23346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23347 (exit $ac_status); } &&
23348 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23349 { (case "(($ac_try" in
23350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23351 *) ac_try_echo=$ac_try;;
23353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23354 (eval "$ac_try") 2>&5
23356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23357 (exit $ac_status); }; } &&
23358 { ac_try='test -s conftest.$ac_objext'
23359 { (case "(($ac_try" in
23360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23361 *) ac_try_echo=$ac_try;;
23363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23364 (eval "$ac_try") 2>&5
23366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23367 (exit $ac_status); }; }; then
23368 ac_cv_member_struct_option_name=yes
23370 echo "$as_me: failed program was:" >&5
23371 sed 's/^/| /' conftest.$ac_ext >&5
23373 ac_cv_member_struct_option_name=no
23376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23381 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
23382 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
23383 if test $ac_cv_member_struct_option_name = yes; then
23385 cat >>confdefs.h <<_ACEOF
23386 #define HAVE_STRUCT_OPTION_NAME 1
23393 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
23394 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
23395 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
23396 echo $ECHO_N "(cached) $ECHO_C" >&6
23398 cat >conftest.$ac_ext <<_ACEOF
23401 cat confdefs.h >>conftest.$ac_ext
23402 cat >>conftest.$ac_ext <<_ACEOF
23403 /* end confdefs.h. */
23404 $ac_includes_default
23408 static struct stat ac_aggr;
23409 if (ac_aggr.st_blocks)
23415 rm -f conftest.$ac_objext
23416 if { (ac_try="$ac_compile"
23417 case "(($ac_try" in
23418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23419 *) ac_try_echo=$ac_try;;
23421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23422 (eval "$ac_compile") 2>conftest.er1
23424 grep -v '^ *+' conftest.er1 >conftest.err
23426 cat conftest.err >&5
23427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23428 (exit $ac_status); } &&
23429 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23430 { (case "(($ac_try" in
23431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23432 *) ac_try_echo=$ac_try;;
23434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23435 (eval "$ac_try") 2>&5
23437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438 (exit $ac_status); }; } &&
23439 { ac_try='test -s conftest.$ac_objext'
23440 { (case "(($ac_try" in
23441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23442 *) ac_try_echo=$ac_try;;
23444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23445 (eval "$ac_try") 2>&5
23447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23448 (exit $ac_status); }; }; then
23449 ac_cv_member_struct_stat_st_blocks=yes
23451 echo "$as_me: failed program was:" >&5
23452 sed 's/^/| /' conftest.$ac_ext >&5
23454 cat >conftest.$ac_ext <<_ACEOF
23457 cat confdefs.h >>conftest.$ac_ext
23458 cat >>conftest.$ac_ext <<_ACEOF
23459 /* end confdefs.h. */
23460 $ac_includes_default
23464 static struct stat ac_aggr;
23465 if (sizeof ac_aggr.st_blocks)
23471 rm -f conftest.$ac_objext
23472 if { (ac_try="$ac_compile"
23473 case "(($ac_try" in
23474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23475 *) ac_try_echo=$ac_try;;
23477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23478 (eval "$ac_compile") 2>conftest.er1
23480 grep -v '^ *+' conftest.er1 >conftest.err
23482 cat conftest.err >&5
23483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23484 (exit $ac_status); } &&
23485 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23486 { (case "(($ac_try" in
23487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23488 *) ac_try_echo=$ac_try;;
23490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23491 (eval "$ac_try") 2>&5
23493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23494 (exit $ac_status); }; } &&
23495 { ac_try='test -s conftest.$ac_objext'
23496 { (case "(($ac_try" in
23497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23498 *) ac_try_echo=$ac_try;;
23500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23501 (eval "$ac_try") 2>&5
23503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23504 (exit $ac_status); }; }; then
23505 ac_cv_member_struct_stat_st_blocks=yes
23507 echo "$as_me: failed program was:" >&5
23508 sed 's/^/| /' conftest.$ac_ext >&5
23510 ac_cv_member_struct_stat_st_blocks=no
23513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23518 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
23519 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
23520 if test $ac_cv_member_struct_stat_st_blocks = yes; then
23522 cat >>confdefs.h <<_ACEOF
23523 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
23530 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
23531 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
23532 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
23533 echo $ECHO_N "(cached) $ECHO_C" >&6
23535 cat >conftest.$ac_ext <<_ACEOF
23538 cat confdefs.h >>conftest.$ac_ext
23539 cat >>conftest.$ac_ext <<_ACEOF
23540 /* end confdefs.h. */
23541 #ifdef HAVE_SYS_TYPES_H
23542 #include <sys/types.h>
23544 #ifdef HAVE_NETINET_IN_H
23545 #include <netinet/in.h>
23551 static struct sockaddr_in6 ac_aggr;
23552 if (ac_aggr.sin6_scope_id)
23558 rm -f conftest.$ac_objext
23559 if { (ac_try="$ac_compile"
23560 case "(($ac_try" in
23561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23562 *) ac_try_echo=$ac_try;;
23564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23565 (eval "$ac_compile") 2>conftest.er1
23567 grep -v '^ *+' conftest.er1 >conftest.err
23569 cat conftest.err >&5
23570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23571 (exit $ac_status); } &&
23572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23573 { (case "(($ac_try" in
23574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23575 *) ac_try_echo=$ac_try;;
23577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23578 (eval "$ac_try") 2>&5
23580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581 (exit $ac_status); }; } &&
23582 { ac_try='test -s conftest.$ac_objext'
23583 { (case "(($ac_try" in
23584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23585 *) ac_try_echo=$ac_try;;
23587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23588 (eval "$ac_try") 2>&5
23590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23591 (exit $ac_status); }; }; then
23592 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23594 echo "$as_me: failed program was:" >&5
23595 sed 's/^/| /' conftest.$ac_ext >&5
23597 cat >conftest.$ac_ext <<_ACEOF
23600 cat confdefs.h >>conftest.$ac_ext
23601 cat >>conftest.$ac_ext <<_ACEOF
23602 /* end confdefs.h. */
23603 #ifdef HAVE_SYS_TYPES_H
23604 #include <sys/types.h>
23606 #ifdef HAVE_NETINET_IN_H
23607 #include <netinet/in.h>
23613 static struct sockaddr_in6 ac_aggr;
23614 if (sizeof ac_aggr.sin6_scope_id)
23620 rm -f conftest.$ac_objext
23621 if { (ac_try="$ac_compile"
23622 case "(($ac_try" in
23623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23624 *) ac_try_echo=$ac_try;;
23626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23627 (eval "$ac_compile") 2>conftest.er1
23629 grep -v '^ *+' conftest.er1 >conftest.err
23631 cat conftest.err >&5
23632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23633 (exit $ac_status); } &&
23634 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23635 { (case "(($ac_try" in
23636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23637 *) ac_try_echo=$ac_try;;
23639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23640 (eval "$ac_try") 2>&5
23642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23643 (exit $ac_status); }; } &&
23644 { ac_try='test -s conftest.$ac_objext'
23645 { (case "(($ac_try" in
23646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23647 *) ac_try_echo=$ac_try;;
23649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23650 (eval "$ac_try") 2>&5
23652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653 (exit $ac_status); }; }; then
23654 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23656 echo "$as_me: failed program was:" >&5
23657 sed 's/^/| /' conftest.$ac_ext >&5
23659 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
23662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23667 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23668 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23669 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23671 cat >>confdefs.h <<_ACEOF
23672 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23679 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
23680 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
23681 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
23682 echo $ECHO_N "(cached) $ECHO_C" >&6
23684 cat >conftest.$ac_ext <<_ACEOF
23687 cat confdefs.h >>conftest.$ac_ext
23688 cat >>conftest.$ac_ext <<_ACEOF
23689 /* end confdefs.h. */
23690 #ifdef HAVE_SYS_TYPES_H
23691 #include <sys/types.h>
23693 #ifdef HAVE_NETINET_IN_H
23694 # include <netinet/in.h>
23696 #ifdef HAVE_ARPA_NAMESER_H
23697 # include <arpa/nameser.h>
23703 static ns_msg ac_aggr;
23704 if (ac_aggr._msg_ptr)
23710 rm -f conftest.$ac_objext
23711 if { (ac_try="$ac_compile"
23712 case "(($ac_try" in
23713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23714 *) ac_try_echo=$ac_try;;
23716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23717 (eval "$ac_compile") 2>conftest.er1
23719 grep -v '^ *+' conftest.er1 >conftest.err
23721 cat conftest.err >&5
23722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23723 (exit $ac_status); } &&
23724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23725 { (case "(($ac_try" in
23726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23727 *) ac_try_echo=$ac_try;;
23729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23730 (eval "$ac_try") 2>&5
23732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23733 (exit $ac_status); }; } &&
23734 { ac_try='test -s conftest.$ac_objext'
23735 { (case "(($ac_try" in
23736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23737 *) ac_try_echo=$ac_try;;
23739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23740 (eval "$ac_try") 2>&5
23742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23743 (exit $ac_status); }; }; then
23744 ac_cv_member_ns_msg__msg_ptr=yes
23746 echo "$as_me: failed program was:" >&5
23747 sed 's/^/| /' conftest.$ac_ext >&5
23749 cat >conftest.$ac_ext <<_ACEOF
23752 cat confdefs.h >>conftest.$ac_ext
23753 cat >>conftest.$ac_ext <<_ACEOF
23754 /* end confdefs.h. */
23755 #ifdef HAVE_SYS_TYPES_H
23756 #include <sys/types.h>
23758 #ifdef HAVE_NETINET_IN_H
23759 # include <netinet/in.h>
23761 #ifdef HAVE_ARPA_NAMESER_H
23762 # include <arpa/nameser.h>
23768 static ns_msg ac_aggr;
23769 if (sizeof ac_aggr._msg_ptr)
23775 rm -f conftest.$ac_objext
23776 if { (ac_try="$ac_compile"
23777 case "(($ac_try" in
23778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23779 *) ac_try_echo=$ac_try;;
23781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23782 (eval "$ac_compile") 2>conftest.er1
23784 grep -v '^ *+' conftest.er1 >conftest.err
23786 cat conftest.err >&5
23787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23788 (exit $ac_status); } &&
23789 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23790 { (case "(($ac_try" in
23791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23792 *) ac_try_echo=$ac_try;;
23794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23795 (eval "$ac_try") 2>&5
23797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23798 (exit $ac_status); }; } &&
23799 { ac_try='test -s conftest.$ac_objext'
23800 { (case "(($ac_try" in
23801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23802 *) ac_try_echo=$ac_try;;
23804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23805 (eval "$ac_try") 2>&5
23807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23808 (exit $ac_status); }; }; then
23809 ac_cv_member_ns_msg__msg_ptr=yes
23811 echo "$as_me: failed program was:" >&5
23812 sed 's/^/| /' conftest.$ac_ext >&5
23814 ac_cv_member_ns_msg__msg_ptr=no
23817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23822 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
23823 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
23824 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
23826 cat >>confdefs.h <<_ACEOF
23827 #define HAVE_NS_MSG__MSG_PTR 1
23834 { echo "$as_me:$LINENO: checking for timezone variable" >&5
23835 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
23836 if test "${ac_cv_have_timezone+set}" = set; then
23837 echo $ECHO_N "(cached) $ECHO_C" >&6
23839 cat >conftest.$ac_ext <<_ACEOF
23842 cat confdefs.h >>conftest.$ac_ext
23843 cat >>conftest.$ac_ext <<_ACEOF
23844 /* end confdefs.h. */
23854 rm -f conftest.$ac_objext conftest$ac_exeext
23855 if { (ac_try="$ac_link"
23856 case "(($ac_try" in
23857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23858 *) ac_try_echo=$ac_try;;
23860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23861 (eval "$ac_link") 2>conftest.er1
23863 grep -v '^ *+' conftest.er1 >conftest.err
23865 cat conftest.err >&5
23866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23867 (exit $ac_status); } &&
23868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23869 { (case "(($ac_try" in
23870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23871 *) ac_try_echo=$ac_try;;
23873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23874 (eval "$ac_try") 2>&5
23876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23877 (exit $ac_status); }; } &&
23878 { ac_try='test -s conftest$ac_exeext'
23879 { (case "(($ac_try" in
23880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23881 *) ac_try_echo=$ac_try;;
23883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23884 (eval "$ac_try") 2>&5
23886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23887 (exit $ac_status); }; }; then
23888 ac_cv_have_timezone="yes"
23890 echo "$as_me: failed program was:" >&5
23891 sed 's/^/| /' conftest.$ac_ext >&5
23893 ac_cv_have_timezone="no"
23896 rm -f core conftest.err conftest.$ac_objext \
23897 conftest$ac_exeext conftest.$ac_ext
23899 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
23900 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
23901 if test "$ac_cv_have_timezone" = "yes"
23904 cat >>confdefs.h <<\_ACEOF
23905 #define HAVE_TIMEZONE 1
23909 { echo "$as_me:$LINENO: checking for daylight variable" >&5
23910 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
23911 if test "${ac_cv_have_daylight+set}" = set; then
23912 echo $ECHO_N "(cached) $ECHO_C" >&6
23914 cat >conftest.$ac_ext <<_ACEOF
23917 cat confdefs.h >>conftest.$ac_ext
23918 cat >>conftest.$ac_ext <<_ACEOF
23919 /* end confdefs.h. */
23929 rm -f conftest.$ac_objext conftest$ac_exeext
23930 if { (ac_try="$ac_link"
23931 case "(($ac_try" in
23932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23933 *) ac_try_echo=$ac_try;;
23935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23936 (eval "$ac_link") 2>conftest.er1
23938 grep -v '^ *+' conftest.er1 >conftest.err
23940 cat conftest.err >&5
23941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23942 (exit $ac_status); } &&
23943 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23944 { (case "(($ac_try" in
23945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23946 *) ac_try_echo=$ac_try;;
23948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23949 (eval "$ac_try") 2>&5
23951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23952 (exit $ac_status); }; } &&
23953 { ac_try='test -s conftest$ac_exeext'
23954 { (case "(($ac_try" in
23955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23956 *) ac_try_echo=$ac_try;;
23958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23959 (eval "$ac_try") 2>&5
23961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23962 (exit $ac_status); }; }; then
23963 ac_cv_have_daylight="yes"
23965 echo "$as_me: failed program was:" >&5
23966 sed 's/^/| /' conftest.$ac_ext >&5
23968 ac_cv_have_daylight="no"
23971 rm -f core conftest.err conftest.$ac_objext \
23972 conftest$ac_exeext conftest.$ac_ext
23974 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
23975 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
23976 if test "$ac_cv_have_daylight" = "yes"
23979 cat >>confdefs.h <<\_ACEOF
23980 #define HAVE_DAYLIGHT 1
23987 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
23988 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
23989 if test "${ac_cv_cpp_def___i386__+set}" = set; then
23990 echo $ECHO_N "(cached) $ECHO_C" >&6
23992 cat >conftest.$ac_ext <<_ACEOF
23995 cat confdefs.h >>conftest.$ac_ext
23996 cat >>conftest.$ac_ext <<_ACEOF
23997 /* end confdefs.h. */
24002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24003 $EGREP "yes" >/dev/null 2>&1; then
24004 ac_cv_cpp_def___i386__=yes
24006 ac_cv_cpp_def___i386__=no
24011 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
24012 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
24013 if test $ac_cv_cpp_def___i386__ = yes; then
24014 CFLAGS="$CFLAGS -D__i386__"
24015 LINTFLAGS="$LINTFLAGS -D__i386__"
24018 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
24019 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
24020 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
24021 echo $ECHO_N "(cached) $ECHO_C" >&6
24023 cat >conftest.$ac_ext <<_ACEOF
24026 cat confdefs.h >>conftest.$ac_ext
24027 cat >>conftest.$ac_ext <<_ACEOF
24028 /* end confdefs.h. */
24033 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24034 $EGREP "yes" >/dev/null 2>&1; then
24035 ac_cv_cpp_def___x86_64__=yes
24037 ac_cv_cpp_def___x86_64__=no
24042 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
24043 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
24044 if test $ac_cv_cpp_def___x86_64__ = yes; then
24045 CFLAGS="$CFLAGS -D__x86_64__"
24046 LINTFLAGS="$LINTFLAGS -D__x86_64__"
24049 { echo "$as_me:$LINENO: checking whether we need to define _WIN64" >&5
24050 echo $ECHO_N "checking whether we need to define _WIN64... $ECHO_C" >&6; }
24051 if test "${ac_cv_cpp_def__WIN64+set}" = set; then
24052 echo $ECHO_N "(cached) $ECHO_C" >&6
24054 cat >conftest.$ac_ext <<_ACEOF
24057 cat confdefs.h >>conftest.$ac_ext
24058 cat >>conftest.$ac_ext <<_ACEOF
24059 /* end confdefs.h. */
24064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24065 $EGREP "yes" >/dev/null 2>&1; then
24066 ac_cv_cpp_def__WIN64=yes
24068 ac_cv_cpp_def__WIN64=no
24073 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def__WIN64" >&5
24074 echo "${ECHO_T}$ac_cv_cpp_def__WIN64" >&6; }
24075 if test $ac_cv_cpp_def__WIN64 = yes; then
24076 CFLAGS="$CFLAGS -D_WIN64"
24077 LINTFLAGS="$LINTFLAGS -D_WIN64"
24080 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
24081 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
24082 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
24083 echo $ECHO_N "(cached) $ECHO_C" >&6
24085 cat >conftest.$ac_ext <<_ACEOF
24088 cat confdefs.h >>conftest.$ac_ext
24089 cat >>conftest.$ac_ext <<_ACEOF
24090 /* end confdefs.h. */
24095 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24096 $EGREP "yes" >/dev/null 2>&1; then
24097 ac_cv_cpp_def___ALPHA__=yes
24099 ac_cv_cpp_def___ALPHA__=no
24104 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
24105 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
24106 if test $ac_cv_cpp_def___ALPHA__ = yes; then
24107 CFLAGS="$CFLAGS -D__ALPHA__"
24108 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
24111 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
24112 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
24113 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
24114 echo $ECHO_N "(cached) $ECHO_C" >&6
24116 cat >conftest.$ac_ext <<_ACEOF
24119 cat confdefs.h >>conftest.$ac_ext
24120 cat >>conftest.$ac_ext <<_ACEOF
24121 /* end confdefs.h. */
24126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24127 $EGREP "yes" >/dev/null 2>&1; then
24128 ac_cv_cpp_def___sparc__=yes
24130 ac_cv_cpp_def___sparc__=no
24135 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
24136 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
24137 if test $ac_cv_cpp_def___sparc__ = yes; then
24138 CFLAGS="$CFLAGS -D__sparc__"
24139 LINTFLAGS="$LINTFLAGS -D__sparc__"
24142 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
24143 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
24144 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
24145 echo $ECHO_N "(cached) $ECHO_C" >&6
24147 cat >conftest.$ac_ext <<_ACEOF
24150 cat confdefs.h >>conftest.$ac_ext
24151 cat >>conftest.$ac_ext <<_ACEOF
24152 /* end confdefs.h. */
24153 #ifndef __powerpc__
24157 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24158 $EGREP "yes" >/dev/null 2>&1; then
24159 ac_cv_cpp_def___powerpc__=yes
24161 ac_cv_cpp_def___powerpc__=no
24166 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
24167 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
24168 if test $ac_cv_cpp_def___powerpc__ = yes; then
24169 CFLAGS="$CFLAGS -D__powerpc__"
24170 LINTFLAGS="$LINTFLAGS -D__powerpc__"
24175 case $host_vendor in
24176 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
24177 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
24178 if test "${ac_cv_cpp_def___sun__+set}" = set; then
24179 echo $ECHO_N "(cached) $ECHO_C" >&6
24181 cat >conftest.$ac_ext <<_ACEOF
24184 cat confdefs.h >>conftest.$ac_ext
24185 cat >>conftest.$ac_ext <<_ACEOF
24186 /* end confdefs.h. */
24191 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24192 $EGREP "yes" >/dev/null 2>&1; then
24193 ac_cv_cpp_def___sun__=yes
24195 ac_cv_cpp_def___sun__=no
24200 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
24201 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
24202 if test $ac_cv_cpp_def___sun__ = yes; then
24203 CFLAGS="$CFLAGS -D__sun__"
24204 LINTFLAGS="$LINTFLAGS -D__sun__"
24213 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
24215 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
24217 ac_config_commands="$ac_config_commands dlls/kernel/messages"
24219 ac_config_commands="$ac_config_commands dlls/user/resources"
24221 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
24223 ac_config_commands="$ac_config_commands include/wine"
24226 MAKE_RULES=Make.rules
24229 MAKE_DLL_RULES=dlls/Makedll.rules
24232 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
24235 MAKE_TEST_RULES=dlls/Maketest.rules
24238 MAKE_LIB_RULES=libs/Makelib.rules
24241 MAKE_PROG_RULES=programs/Makeprog.rules
24244 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/comcat/tests/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/comdlg32/Makefile dlls/comdlg32/tests/Makefile dlls/compstui/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/cryptnet/Makefile dlls/ctl3d32/Makefile dlls/d3d8/Makefile dlls/d3d8/tests/Makefile dlls/d3d9/Makefile dlls/d3d9/tests/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput/tests/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dnsapi/Makefile dlls/dnsapi/tests/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/gphoto2.ds/Makefile dlls/hhctrl.ocx/Makefile dlls/hlink/Makefile dlls/hlink/tests/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imaadp32.acm/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/infosoft/Makefile dlls/inseng/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/query/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/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/oleview/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/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"
24247 cat >confcache <<\_ACEOF
24248 # This file is a shell script that caches the results of configure
24249 # tests run on this system so they can be shared between configure
24250 # scripts and configure runs, see configure's option --config-cache.
24251 # It is not useful on other systems. If it contains results you don't
24252 # want to keep, you may remove or edit it.
24254 # config.status only pays attention to the cache file if you give it
24255 # the --recheck option to rerun configure.
24257 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24258 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24259 # following values.
24263 # The following way of writing the cache mishandles newlines in values,
24264 # but we know of no workaround that is simple, portable, and efficient.
24265 # So, we kill variables containing newlines.
24266 # Ultrix sh set writes to stderr and can't be redirected directly,
24267 # and sets the high bit in the cache file unless we assign to the vars.
24269 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24270 eval ac_val=\$$ac_var
24274 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24275 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24278 _ | IFS | as_nl) ;; #(
24279 *) $as_unset $ac_var ;;
24285 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24286 *${as_nl}ac_space=\ *)
24287 # `set' does not quote correctly, so add quotes (double-quote
24288 # substitution turns \\\\ into \\, and sed turns \\ into \).
24291 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24294 # `set' quotes correctly as required by POSIX, so do not add quotes.
24295 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24304 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24306 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24308 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24309 if test -w "$cache_file"; then
24310 test "x$cache_file" != "x/dev/null" &&
24311 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24312 echo "$as_me: updating cache $cache_file" >&6;}
24313 cat confcache >$cache_file
24315 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24316 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24321 test "x$prefix" = xNONE && prefix=$ac_default_prefix
24322 # Let make expand exec_prefix.
24323 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24325 DEFS=-DHAVE_CONFIG_H
24329 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24330 # 1. Remove the extension, and $U if already installed.
24331 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
24332 ac_i=`echo "$ac_i" | sed "$ac_script"`
24333 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24334 # will be set to the directory where LIBOBJS objects are built.
24335 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24336 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
24338 LIBOBJS=$ac_libobjs
24340 LTLIBOBJS=$ac_ltlibobjs
24344 : ${CONFIG_STATUS=./config.status}
24345 ac_clean_files_save=$ac_clean_files
24346 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24347 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24348 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24349 cat >$CONFIG_STATUS <<_ACEOF
24351 # Generated by $as_me.
24352 # Run this file to recreate the current configuration.
24353 # Compiler output produced by configure, useful for debugging
24354 # configure, is in config.log if it exists.
24357 ac_cs_recheck=false
24359 SHELL=\${CONFIG_SHELL-$SHELL}
24362 cat >>$CONFIG_STATUS <<\_ACEOF
24363 ## --------------------- ##
24364 ## M4sh Initialization. ##
24365 ## --------------------- ##
24367 # Be Bourne compatible
24368 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24371 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24372 # is contrary to our usage. Disable this feature.
24373 alias -g '${1+"$@"}'='"$@"'
24374 setopt NO_GLOB_SUBST
24376 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
24378 BIN_SH=xpg4; export BIN_SH # for Tru64
24379 DUALCASE=1; export DUALCASE # for MKS sh
24383 # Avoid depending upon Character Ranges.
24384 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24385 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24386 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24387 as_cr_digits='0123456789'
24388 as_cr_alnum=$as_cr_Letters$as_cr_digits
24390 # The user is always right.
24391 if test "${PATH_SEPARATOR+set}" != set; then
24392 echo "#! /bin/sh" >conf$$.sh
24393 echo "exit 0" >>conf$$.sh
24395 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24403 # Support unset when possible.
24404 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24412 # We need space, tab and new line, in precisely that order. Quoting is
24413 # there to prevent editors from complaining about space-tab.
24414 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24415 # splitting by setting IFS to empty value.)
24420 # Find who we are. Look in the path if we contain no directory separator.
24422 *[\\/]* ) as_myself=$0 ;;
24423 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24424 for as_dir in $PATH
24427 test -z "$as_dir" && as_dir=.
24428 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24434 # We did not find ourselves, most probably we were run as `sh COMMAND'
24435 # in which case we are not to be found in the path.
24436 if test "x$as_myself" = x; then
24439 if test ! -f "$as_myself"; then
24440 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24441 { (exit 1); exit 1; }
24444 # Work around bugs in pre-3.0 UWIN ksh.
24445 for as_var in ENV MAIL MAILPATH
24446 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24454 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24455 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24456 LC_TELEPHONE LC_TIME
24458 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24459 eval $as_var=C; export $as_var
24461 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24465 # Required to use basename.
24466 if expr a : '\(a\)' >/dev/null 2>&1 &&
24467 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24473 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24474 as_basename=basename
24480 # Name of the executable.
24481 as_me=`$as_basename -- "$0" ||
24482 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24483 X"$0" : 'X\(//\)$' \| \
24484 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24486 sed '/^.*\/\([^/][^/]*\)\/*$/{
24505 as_lineno_1=$LINENO
24506 as_lineno_2=$LINENO
24507 test "x$as_lineno_1" != "x$as_lineno_2" &&
24508 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
24510 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24511 # uniformly replaced by the line number. The first 'sed' inserts a
24512 # line-number line after each line using $LINENO; the second 'sed'
24513 # does the real work. The second script uses 'N' to pair each
24514 # line-number line with the line containing $LINENO, and appends
24515 # trailing '-' during substitution so that $LINENO is not a special
24516 # case at line end.
24517 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24518 # scripts with optimization help from Paolo Bonzini. Blame Lee
24519 # E. McMahon (1931-1989) for sed's syntax. :-)
24531 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24534 ' >$as_me.lineno &&
24535 chmod +x "$as_me.lineno" ||
24536 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24537 { (exit 1); exit 1; }; }
24539 # Don't try to exec as it changes $[0], causing all sort of problems
24540 # (the dirname of $[0] is not the place where we might find the
24541 # original and so on. Autoconf is especially sensitive to this).
24542 . "./$as_me.lineno"
24543 # Exit status is that of the last command.
24548 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
24554 ECHO_C= ECHO_N= ECHO_T=
24555 case `echo -n x` in
24557 case `echo 'x\c'` in
24558 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
24565 if expr a : '\(a\)' >/dev/null 2>&1 &&
24566 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24572 rm -f conf$$ conf$$.exe conf$$.file
24573 if test -d conf$$.dir; then
24574 rm -f conf$$.dir/conf$$.file
24580 if ln -s conf$$.file conf$$ 2>/dev/null; then
24582 # ... but there are two gotchas:
24583 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24584 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24585 # In both cases, we have to default to `cp -p'.
24586 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
24588 elif ln conf$$.file conf$$ 2>/dev/null; then
24593 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
24594 rmdir conf$$.dir 2>/dev/null
24596 if mkdir -p . 2>/dev/null; then
24599 test -d ./-p && rmdir ./-p
24603 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
24604 # systems may use methods other than mode bits to determine executability.
24605 cat >conf$$.file <<_ASEOF
24609 chmod +x conf$$.file
24610 if test -x conf$$.file >/dev/null 2>&1; then
24611 as_executable_p="test -x"
24617 # Sed expression to map a string onto a valid CPP name.
24618 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24620 # Sed expression to map a string onto a valid variable name.
24621 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24626 # Save the log message, to keep $[0] and so on meaningful, and to
24627 # report actual input values of CONFIG_FILES etc. instead of their
24628 # values after options handling.
24630 This file was extended by Wine $as_me 0.9.18, which was
24631 generated by GNU Autoconf 2.60a. Invocation command line was
24633 CONFIG_FILES = $CONFIG_FILES
24634 CONFIG_HEADERS = $CONFIG_HEADERS
24635 CONFIG_LINKS = $CONFIG_LINKS
24636 CONFIG_COMMANDS = $CONFIG_COMMANDS
24639 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24644 cat >>$CONFIG_STATUS <<_ACEOF
24645 # Files that config.status was made for.
24646 config_files="$ac_config_files"
24647 config_headers="$ac_config_headers"
24648 config_commands="$ac_config_commands"
24652 cat >>$CONFIG_STATUS <<\_ACEOF
24654 \`$as_me' instantiates files from templates according to the
24655 current configuration.
24657 Usage: $0 [OPTIONS] [FILE]...
24659 -h, --help print this help, then exit
24660 -V, --version print version number, then exit
24661 -q, --quiet do not print progress messages
24662 -d, --debug don't remove temporary files
24663 --recheck update $as_me by reconfiguring in the same conditions
24664 --file=FILE[:TEMPLATE]
24665 instantiate the configuration file FILE
24666 --header=FILE[:TEMPLATE]
24667 instantiate the configuration header FILE
24669 Configuration files:
24672 Configuration headers:
24675 Configuration commands:
24678 Report bugs to <bug-autoconf@gnu.org>."
24681 cat >>$CONFIG_STATUS <<_ACEOF
24683 Wine config.status 0.9.18
24684 configured by $0, generated by GNU Autoconf 2.60a,
24685 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24687 Copyright (C) 2006 Free Software Foundation, Inc.
24688 This config.status script is free software; the Free Software Foundation
24689 gives unlimited permission to copy, distribute and modify it."
24696 cat >>$CONFIG_STATUS <<\_ACEOF
24697 # If no file are specified by the user, then we need to provide default
24698 # value. By we need to know if files were specified by the user.
24704 ac_option=`expr "X$1" : 'X\([^=]*\)='`
24705 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24716 # Handling of the options.
24717 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24719 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24720 echo "$ac_cs_version"; exit ;;
24721 --debug | --debu | --deb | --de | --d | -d )
24723 --file | --fil | --fi | --f )
24725 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24726 ac_need_defaults=false;;
24727 --header | --heade | --head | --hea )
24729 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24730 ac_need_defaults=false;;
24732 # Conflict between --help and --header
24733 { echo "$as_me: error: ambiguous option: $1
24734 Try \`$0 --help' for more information." >&2
24735 { (exit 1); exit 1; }; };;
24736 --help | --hel | -h )
24737 echo "$ac_cs_usage"; exit ;;
24738 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24739 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24742 # This is an error.
24743 -*) { echo "$as_me: error: unrecognized option: $1
24744 Try \`$0 --help' for more information." >&2
24745 { (exit 1); exit 1; }; } ;;
24747 *) ac_config_targets="$ac_config_targets $1"
24748 ac_need_defaults=false ;;
24754 ac_configure_extra_args=
24756 if $ac_cs_silent; then
24758 ac_configure_extra_args="$ac_configure_extra_args --silent"
24762 cat >>$CONFIG_STATUS <<_ACEOF
24763 if \$ac_cs_recheck; then
24764 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24765 CONFIG_SHELL=$SHELL
24766 export CONFIG_SHELL
24767 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24771 cat >>$CONFIG_STATUS <<\_ACEOF
24775 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24776 ## Running $as_me. ##
24782 cat >>$CONFIG_STATUS <<_ACEOF
24785 cat >>$CONFIG_STATUS <<\_ACEOF
24787 # Handling of arguments.
24788 for ac_config_target in $ac_config_targets
24790 case $ac_config_target in
24791 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
24792 "dlls/gdi/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
24793 "dlls/gdi/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
24794 "dlls/kernel/messages") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
24795 "dlls/user/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
24796 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
24797 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
24798 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
24799 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
24800 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
24801 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
24802 "libs/Makelib.rules") CONFIG_FILES="$CONFIG_FILES libs/Makelib.rules" ;;
24803 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
24804 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24805 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
24806 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
24807 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
24808 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
24809 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
24810 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
24811 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
24812 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
24813 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
24814 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
24815 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
24816 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
24817 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
24818 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
24819 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
24820 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
24821 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
24822 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
24823 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
24824 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
24825 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
24826 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
24827 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
24828 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
24829 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
24830 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
24831 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
24832 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
24833 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
24834 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
24835 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
24836 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
24837 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
24838 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
24839 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
24840 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
24841 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
24842 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
24843 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
24844 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
24845 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
24846 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
24847 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
24848 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
24849 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
24850 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
24851 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
24852 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
24853 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
24854 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
24855 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
24856 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
24857 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
24858 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
24859 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
24860 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
24861 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
24862 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
24863 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
24864 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
24865 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
24866 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
24867 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
24868 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
24869 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
24870 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
24871 "dlls/gdi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
24872 "dlls/gdi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
24873 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
24874 "dlls/glut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
24875 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
24876 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
24877 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
24878 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
24879 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
24880 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
24881 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
24882 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
24883 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
24884 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
24885 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
24886 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
24887 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
24888 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
24889 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
24890 "dlls/kernel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
24891 "dlls/kernel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
24892 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
24893 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
24894 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
24895 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
24896 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
24897 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
24898 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
24899 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
24900 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
24901 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
24902 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
24903 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
24904 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
24905 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
24906 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
24907 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
24908 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
24909 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
24910 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
24911 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
24912 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
24913 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
24914 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
24915 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
24916 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
24917 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
24918 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
24919 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
24920 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
24921 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
24922 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
24923 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
24924 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
24925 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
24926 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
24927 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
24928 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
24929 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
24930 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
24931 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
24932 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
24933 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
24934 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
24935 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
24936 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
24937 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
24938 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
24939 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
24940 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
24941 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
24942 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
24943 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
24944 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
24945 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
24946 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
24947 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
24948 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
24949 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
24950 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
24951 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
24952 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
24953 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
24954 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
24955 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
24956 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
24957 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
24958 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
24959 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
24960 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
24961 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
24962 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
24963 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
24964 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
24965 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
24966 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
24967 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
24968 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
24969 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
24970 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
24971 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
24972 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
24973 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
24974 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
24975 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
24976 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
24977 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
24978 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
24979 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
24980 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
24981 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
24982 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
24983 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
24984 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
24985 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
24986 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
24987 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
24988 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
24989 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
24990 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
24991 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
24992 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
24993 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
24994 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
24995 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
24996 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
24997 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
24998 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
24999 "dlls/user/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
25000 "dlls/user/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
25001 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
25002 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
25003 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
25004 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
25005 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
25006 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
25007 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
25008 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
25009 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
25010 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
25011 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
25012 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
25013 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
25014 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
25015 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
25016 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
25017 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
25018 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
25019 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
25020 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
25021 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
25022 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
25023 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
25024 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
25025 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
25026 "dlls/winmm/joystick/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
25027 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
25028 "dlls/winmm/winealsa/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
25029 "dlls/winmm/winearts/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
25030 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
25031 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
25032 "dlls/winmm/wineesd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
25033 "dlls/winmm/winejack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
25034 "dlls/winmm/winenas/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
25035 "dlls/winmm/wineoss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
25036 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
25037 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
25038 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
25039 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
25040 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
25041 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
25042 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
25043 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
25044 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
25045 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
25046 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
25047 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
25048 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
25049 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
25050 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
25051 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
25052 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
25053 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
25054 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
25055 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
25056 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
25057 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
25058 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
25059 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
25060 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
25061 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
25062 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
25063 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
25064 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
25065 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
25066 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
25067 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
25068 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
25069 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
25070 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
25071 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
25072 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
25073 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
25074 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
25075 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
25076 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
25077 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
25078 "programs/wcmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
25079 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
25080 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
25081 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
25082 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
25083 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
25084 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
25085 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
25086 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
25087 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
25088 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
25089 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
25090 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
25091 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
25092 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
25093 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
25094 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
25095 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
25096 "tools/winapi/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
25097 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
25098 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
25099 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
25100 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
25101 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
25103 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25104 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25105 { (exit 1); exit 1; }; };;
25110 # If the user did not use the arguments to specify the items to instantiate,
25111 # then the envvar interface is used. Set only those that are not.
25112 # We use the long form for the default assignment because of an extremely
25113 # bizarre bug on SunOS 4.1.3.
25114 if $ac_need_defaults; then
25115 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
25116 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
25117 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
25120 # Have a temporary directory for convenience. Make it in the build tree
25121 # simply because there is no reason against having it here, and in addition,
25122 # creating and moving files from /tmp can sometimes cause problems.
25123 # Hook for its removal unless debugging.
25124 # Note that there is a small window in which the directory will not be cleaned:
25125 # after its creation but before its name has been assigned to `$tmp'.
25129 trap 'exit_status=$?
25130 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
25132 trap '{ (exit 1); exit 1; }' 1 2 13 15
25134 # Create a (secure) tmp directory for tmp files.
25137 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25138 test -n "$tmp" && test -d "$tmp"
25141 tmp=./conf$$-$RANDOM
25142 (umask 077 && mkdir "$tmp")
25145 echo "$me: cannot create a temporary directory in ." >&2
25146 { (exit 1); exit 1; }
25150 # Set up the sed scripts for CONFIG_FILES section.
25153 # No need to generate the scripts if there are no CONFIG_FILES.
25154 # This happens for instance when ./config.status config.h
25155 if test -n "$CONFIG_FILES"; then
25159 # Create sed commands to just substitute file output variables.
25161 # Remaining file output variables are in a fragment that also has non-file
25167 for ac_last_try in false false false false false :; do
25168 cat >conf$$subs.sed <<_ACEOF
25169 SHELL!$SHELL$ac_delim
25170 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
25171 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
25172 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
25173 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
25174 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
25175 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
25176 exec_prefix!$exec_prefix$ac_delim
25177 prefix!$prefix$ac_delim
25178 program_transform_name!$program_transform_name$ac_delim
25179 bindir!$bindir$ac_delim
25180 sbindir!$sbindir$ac_delim
25181 libexecdir!$libexecdir$ac_delim
25182 datarootdir!$datarootdir$ac_delim
25183 datadir!$datadir$ac_delim
25184 sysconfdir!$sysconfdir$ac_delim
25185 sharedstatedir!$sharedstatedir$ac_delim
25186 localstatedir!$localstatedir$ac_delim
25187 includedir!$includedir$ac_delim
25188 oldincludedir!$oldincludedir$ac_delim
25189 docdir!$docdir$ac_delim
25190 infodir!$infodir$ac_delim
25191 htmldir!$htmldir$ac_delim
25192 dvidir!$dvidir$ac_delim
25193 pdfdir!$pdfdir$ac_delim
25194 psdir!$psdir$ac_delim
25195 libdir!$libdir$ac_delim
25196 localedir!$localedir$ac_delim
25197 mandir!$mandir$ac_delim
25198 DEFS!$DEFS$ac_delim
25199 ECHO_C!$ECHO_C$ac_delim
25200 ECHO_N!$ECHO_N$ac_delim
25201 ECHO_T!$ECHO_T$ac_delim
25202 LIBS!$LIBS$ac_delim
25203 build_alias!$build_alias$ac_delim
25204 host_alias!$host_alias$ac_delim
25205 target_alias!$target_alias$ac_delim
25206 build!$build$ac_delim
25207 build_cpu!$build_cpu$ac_delim
25208 build_vendor!$build_vendor$ac_delim
25209 build_os!$build_os$ac_delim
25210 host!$host$ac_delim
25211 host_cpu!$host_cpu$ac_delim
25212 host_vendor!$host_vendor$ac_delim
25213 host_os!$host_os$ac_delim
25214 WIN16_FILES!$WIN16_FILES$ac_delim
25215 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
25216 SET_MAKE!$SET_MAKE$ac_delim
25218 CFLAGS!$CFLAGS$ac_delim
25219 LDFLAGS!$LDFLAGS$ac_delim
25220 CPPFLAGS!$CPPFLAGS$ac_delim
25221 ac_ct_CC!$ac_ct_CC$ac_delim
25222 EXEEXT!$EXEEXT$ac_delim
25223 OBJEXT!$OBJEXT$ac_delim
25225 CXXFLAGS!$CXXFLAGS$ac_delim
25226 ac_ct_CXX!$ac_ct_CXX$ac_delim
25227 CPPBIN!$CPPBIN$ac_delim
25228 TOOLSDIR!$TOOLSDIR$ac_delim
25229 XMKMF!$XMKMF$ac_delim
25231 X_CFLAGS!$X_CFLAGS$ac_delim
25232 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
25233 X_LIBS!$X_LIBS$ac_delim
25234 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
25236 LEXLIB!$LEXLIB$ac_delim
25237 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
25238 XLEX!$XLEX$ac_delim
25239 BISON!$BISON$ac_delim
25241 ac_ct_AS!$ac_ct_AS$ac_delim
25244 RANLIB!$RANLIB$ac_delim
25245 STRIP!$STRIP$ac_delim
25246 WINDRES!$WINDRES$ac_delim
25247 LN_S!$LN_S$ac_delim
25250 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 79; then
25252 elif $ac_last_try; then
25253 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25254 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25255 { (exit 1); exit 1; }; }
25257 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25261 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25262 if test -n "$ac_eof"; then
25263 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
25264 ac_eof=`expr $ac_eof + 1`
25267 cat >>$CONFIG_STATUS <<_ACEOF
25268 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
25269 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25270 /^[ ]*@MAKE_RULES@[ ]*$/{
25274 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
25278 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
25279 r $MAKE_IMPLIB_RULES
25282 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
25286 /^[ ]*@MAKE_LIB_RULES@[ ]*$/{
25290 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
25296 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25297 s/^/s,@/; s/!/@,|#_!!_#|/
25300 s/'"$ac_delim"'$/,g/; t
25302 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25303 ' >>$CONFIG_STATUS <conf$$subs.sed
25304 rm -f conf$$subs.sed
25305 cat >>$CONFIG_STATUS <<_ACEOF
25311 for ac_last_try in false false false false false :; do
25312 cat >conf$$subs.sed <<_ACEOF
25314 GREP!$GREP$ac_delim
25315 EGREP!$EGREP$ac_delim
25316 LDCONFIG!$LDCONFIG$ac_delim
25317 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
25318 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
25319 INSTALL_DATA!$INSTALL_DATA$ac_delim
25320 LINT!$LINT$ac_delim
25321 LINTFLAGS!$LINTFLAGS$ac_delim
25322 FONTFORGE!$FONTFORGE$ac_delim
25323 PKG_CONFIG!$PKG_CONFIG$ac_delim
25324 PRELINK!$PRELINK$ac_delim
25325 LIBPTHREAD!$LIBPTHREAD$ac_delim
25326 XLIB!$XLIB$ac_delim
25327 XFILES!$XFILES$ac_delim
25328 OPENGLFILES!$OPENGLFILES$ac_delim
25329 GLU32FILES!$GLU32FILES$ac_delim
25330 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
25331 GLUT_LIBS!$GLUT_LIBS$ac_delim
25332 GLUT32FILES!$GLUT32FILES$ac_delim
25333 NASLIBS!$NASLIBS$ac_delim
25334 XML2LIBS!$XML2LIBS$ac_delim
25335 XML2INCL!$XML2INCL$ac_delim
25336 XSLTLIBS!$XSLTLIBS$ac_delim
25337 XSLTINCL!$XSLTINCL$ac_delim
25338 HALINCL!$HALINCL$ac_delim
25339 CURSESLIBS!$CURSESLIBS$ac_delim
25340 sane_devel!$sane_devel$ac_delim
25341 SANELIBS!$SANELIBS$ac_delim
25342 SANEINCL!$SANEINCL$ac_delim
25343 gphoto2_devel!$gphoto2_devel$ac_delim
25344 gphoto2port_devel!$gphoto2port_devel$ac_delim
25345 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
25346 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
25347 ICULIBS!$ICULIBS$ac_delim
25348 RESOLVLIBS!$RESOLVLIBS$ac_delim
25349 LCMSLIBS!$LCMSLIBS$ac_delim
25350 LDAPLIBS!$LDAPLIBS$ac_delim
25351 FREETYPELIBS!$FREETYPELIBS$ac_delim
25352 FREETYPEINCL!$FREETYPEINCL$ac_delim
25353 ft_devel!$ft_devel$ac_delim
25354 ft_devel2!$ft_devel2$ac_delim
25355 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
25356 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
25357 ARTSLIBS!$ARTSLIBS$ac_delim
25358 ARTSINCL!$ARTSINCL$ac_delim
25359 ESDCONFIG!$ESDCONFIG$ac_delim
25360 ESDLIBS!$ESDLIBS$ac_delim
25361 ESDINCL!$ESDINCL$ac_delim
25362 ALSALIBS!$ALSALIBS$ac_delim
25363 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
25364 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
25365 BUILTINFLAG!$BUILTINFLAG$ac_delim
25366 DLLEXT!$DLLEXT$ac_delim
25367 DLLFLAGS!$DLLFLAGS$ac_delim
25368 DLLIBS!$DLLIBS$ac_delim
25369 LDSHARED!$LDSHARED$ac_delim
25370 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
25371 LIBEXT!$LIBEXT$ac_delim
25372 IMPLIBEXT!$IMPLIBEXT$ac_delim
25373 DLLTOOL!$DLLTOOL$ac_delim
25374 DLLWRAP!$DLLWRAP$ac_delim
25375 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
25376 LDEXERPATH!$LDEXERPATH$ac_delim
25377 LDDLLRPATH!$LDDLLRPATH$ac_delim
25378 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
25379 IOKITLIB!$IOKITLIB$ac_delim
25380 COREAUDIO!$COREAUDIO$ac_delim
25381 CROSSTEST!$CROSSTEST$ac_delim
25382 CROSSCC!$CROSSCC$ac_delim
25383 CROSSWINDRES!$CROSSWINDRES$ac_delim
25384 LDPATH!$LDPATH$ac_delim
25385 CRTLIBS!$CRTLIBS$ac_delim
25386 SOCKETLIBS!$SOCKETLIBS$ac_delim
25387 MAIN_BINARY!$MAIN_BINARY$ac_delim
25388 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
25390 LIBOBJS!$LIBOBJS$ac_delim
25391 LTLIBOBJS!$LTLIBOBJS$ac_delim
25394 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 79; then
25396 elif $ac_last_try; then
25397 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25398 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25399 { (exit 1); exit 1; }; }
25401 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25405 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25406 if test -n "$ac_eof"; then
25407 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
25408 ac_eof=`expr $ac_eof + 1`
25411 cat >>$CONFIG_STATUS <<_ACEOF
25412 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
25413 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
25416 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25417 s/^/s,@/; s/!/@,|#_!!_#|/
25420 s/'"$ac_delim"'$/,g/; t
25422 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25423 ' >>$CONFIG_STATUS <conf$$subs.sed
25424 rm -f conf$$subs.sed
25425 cat >>$CONFIG_STATUS <<_ACEOF
25432 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25433 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25434 # trailing colons and then remove the whole line if VPATH becomes empty
25435 # (actually we leave an empty line to preserve line numbers).
25436 if test "x$srcdir" = x.; then
25437 ac_vpsub='/^[ ]*VPATH[ ]*=/{
25438 s/:*\$(srcdir):*/:/
25439 s/:*\${srcdir}:*/:/
25441 s/^\([^=]*=[ ]*\):*/\1/
25447 cat >>$CONFIG_STATUS <<\_ACEOF
25448 fi # test -n "$CONFIG_FILES"
25451 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
25454 :[FHLC]) ac_mode=$ac_tag; continue;;
25456 case $ac_mode$ac_tag in
25458 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
25459 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
25460 { (exit 1); exit 1; }; };;
25461 :[FH]-) ac_tag=-:-;;
25462 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
25479 -) ac_f="$tmp/stdin";;
25480 *) # Look for the file first in the build tree, then in the source tree
25481 # (if the path is not absolute). The absolute path cannot be DOS-style,
25482 # because $ac_f cannot contain `:'.
25486 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
25488 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25489 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25490 { (exit 1); exit 1; }; };;
25492 ac_file_inputs="$ac_file_inputs $ac_f"
25495 # Let's still pretend it is `configure' which instantiates (i.e., don't
25496 # use $as_me), people would be surprised to read:
25497 # /* config.h. Generated by config.status. */
25498 configure_input="Generated from "`IFS=:
25499 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
25500 if test x"$ac_file" != x-; then
25501 configure_input="$ac_file. $configure_input"
25502 { echo "$as_me:$LINENO: creating $ac_file" >&5
25503 echo "$as_me: creating $ac_file" >&6;}
25507 *:-:* | *:-) cat >"$tmp/stdin";;
25512 ac_dir=`$as_dirname -- "$ac_file" ||
25513 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25514 X"$ac_file" : 'X\(//\)[^/]' \| \
25515 X"$ac_file" : 'X\(//\)$' \| \
25516 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25518 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25522 /^X\(\/\/\)[^/].*/{
25537 -*) as_dir=./$as_dir;;
25539 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25543 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25544 *) as_qdir=$as_dir;;
25546 as_dirs="'$as_qdir' $as_dirs"
25547 as_dir=`$as_dirname -- "$as_dir" ||
25548 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25549 X"$as_dir" : 'X\(//\)[^/]' \| \
25550 X"$as_dir" : 'X\(//\)$' \| \
25551 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25553 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25557 /^X\(\/\/\)[^/].*/{
25570 test -d "$as_dir" && break
25572 test -z "$as_dirs" || eval "mkdir $as_dirs"
25573 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25574 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25575 { (exit 1); exit 1; }; }; }
25579 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25581 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25582 # A ".." for each directory in $ac_dir_suffix.
25583 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25584 case $ac_top_builddir_sub in
25585 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25586 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25589 ac_abs_top_builddir=$ac_pwd
25590 ac_abs_builddir=$ac_pwd$ac_dir_suffix
25591 # for backward compatibility:
25592 ac_top_builddir=$ac_top_build_prefix
25595 .) # We are building in place.
25597 ac_top_srcdir=$ac_top_builddir_sub
25598 ac_abs_top_srcdir=$ac_pwd ;;
25599 [\\/]* | ?:[\\/]* ) # Absolute name.
25600 ac_srcdir=$srcdir$ac_dir_suffix;
25601 ac_top_srcdir=$srcdir
25602 ac_abs_top_srcdir=$srcdir ;;
25603 *) # Relative name.
25604 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
25605 ac_top_srcdir=$ac_top_build_prefix$srcdir
25606 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
25608 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
25618 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25619 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
25623 cat >>$CONFIG_STATUS <<\_ACEOF
25624 # If the template does not know about datarootdir, expand it.
25625 # FIXME: This hack should be removed a few years after 2.60.
25626 ac_datarootdir_hack=; ac_datarootdir_seen=
25628 case `sed -n '/datarootdir/ {
25637 ' $ac_file_inputs` in
25638 *datarootdir*) ac_datarootdir_seen=yes;;
25639 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25640 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25641 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25643 cat >>$CONFIG_STATUS <<_ACEOF
25644 ac_datarootdir_hack='
25645 s&@datadir@&$datadir&g
25646 s&@docdir@&$docdir&g
25647 s&@infodir@&$infodir&g
25648 s&@localedir@&$localedir&g
25649 s&@mandir@&$mandir&g
25650 s&\\\${datarootdir}&$datarootdir&g' ;;
25654 # Neutralize VPATH when `$srcdir' = `.'.
25655 # Shell code in configure.ac might set extrasub.
25656 # FIXME: do we really want to maintain this feature?
25657 cat >>$CONFIG_STATUS <<_ACEOF
25661 cat >>$CONFIG_STATUS <<\_ACEOF
25663 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25664 s&@configure_input@&$configure_input&;t t
25665 s&@top_builddir@&$ac_top_builddir_sub&;t t
25666 s&@srcdir@&$ac_srcdir&;t t
25667 s&@abs_srcdir@&$ac_abs_srcdir&;t t
25668 s&@top_srcdir@&$ac_top_srcdir&;t t
25669 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
25670 s&@builddir@&$ac_builddir&;t t
25671 s&@abs_builddir@&$ac_abs_builddir&;t t
25672 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25673 s&@INSTALL@&$ac_INSTALL&;t t
25674 $ac_datarootdir_hack
25675 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
25677 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25678 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
25679 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
25680 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25681 which seems to be undefined. Please make sure it is defined." >&5
25682 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25683 which seems to be undefined. Please make sure it is defined." >&2;}
25687 -) cat "$tmp/out"; rm -f "$tmp/out";;
25688 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25697 # Transform confdefs.h into a sed script `conftest.defines', that
25698 # substitutes the proper values into config.h.in to produce config.h.
25699 rm -f conftest.defines conftest.tail
25700 # First, append a space to every undef/define line, to ease matching.
25701 echo 's/$/ /' >conftest.defines
25702 # Then, protect against being on the right side of a sed subst, or in
25703 # an unquoted here document, in config.status. If some macros were
25704 # called several times there might be several #defines for the same
25705 # symbol, which is useless. But do not sort them, since the last
25706 # AC_DEFINE must be honored.
25707 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25708 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25709 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25710 # PARAMS is the parameter list in the macro definition--in most cases, it's
25711 # just an empty string.
25712 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25713 ac_dB='\\)[ (].*,\\1define\\2'
25721 s/^[ ]*#[ ]*define[ ][ ]*//
25726 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25727 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25728 ' >>conftest.defines
25730 # Remove the space that was appended to ease matching.
25731 # Then replace #undef with comments. This is necessary, for
25732 # example, in the case of _POSIX_SOURCE, which is predefined and required
25733 # on some systems where configure will not decide to define it.
25734 # (The regexp can be short, since the line contains either #define or #undef.)
25736 s,^[ #]*u.*,/* & */,' >>conftest.defines
25738 # Break up conftest.defines:
25739 ac_max_sed_lines=50
25741 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25742 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25743 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25745 ac_in='$ac_file_inputs'
25746 ac_out='"$tmp/out1"'
25747 ac_nxt='"$tmp/out2"'
25751 # Write a here document:
25752 cat >>$CONFIG_STATUS <<_ACEOF
25753 # First, check the format of the line:
25754 cat >"\$tmp/defines.sed" <<\\CEOF
25755 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25756 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25760 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25762 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25763 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
25764 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
25765 grep . conftest.tail >/dev/null || break
25766 rm -f conftest.defines
25767 mv conftest.tail conftest.defines
25769 rm -f conftest.defines conftest.tail
25771 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25772 cat >>$CONFIG_STATUS <<\_ACEOF
25773 if test x"$ac_file" != x-; then
25774 echo "/* $configure_input */" >"$tmp/config.h"
25775 cat "$ac_result" >>"$tmp/config.h"
25776 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
25777 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25778 echo "$as_me: $ac_file is unchanged" >&6;}
25781 mv "$tmp/config.h" $ac_file
25784 echo "/* $configure_input */"
25790 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25791 echo "$as_me: executing $ac_file commands" >&6;}
25796 case $ac_file$ac_mode in
25797 "dlls/gdi/enhmfdrv":C) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
25798 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
25799 "dlls/gdi/mfdrv":C) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
25800 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
25801 "dlls/kernel/messages":C) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
25802 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
25803 "dlls/user/resources":C) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
25804 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
25805 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
25806 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
25807 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
25808 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
25814 { (exit 0); exit 0; }
25816 chmod +x $CONFIG_STATUS
25817 ac_clean_files=$ac_clean_files_save
25820 # configure is writing to config.log, and then calls config.status.
25821 # config.status does its own redirection, appending to config.log.
25822 # Unfortunately, on DOS this fails, as config.log is still kept open
25823 # by configure, so config.status won't be able to write to it; its
25824 # output is simply discarded. So we exec the FD to /dev/null,
25825 # effectively closing config.log, so it can be properly (re)opened and
25826 # appended to by config.status. When coming back to configure, we
25827 # need to make the FD available again.
25828 if test "$no_create" != yes; then
25830 ac_config_status_args=
25831 test "$silent" = yes &&
25832 ac_config_status_args="$ac_config_status_args --quiet"
25834 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25836 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25837 # would make configure fail if this is the last instruction.
25838 $ac_cs_success || { (exit 1); exit 1; }
25842 if test "$have_x" = "no"
25845 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
25846 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
25847 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
25848 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
25849 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
25850 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
25851 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
25852 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
25855 if test "$wine_cv_opengl_version_OK" = "no"
25858 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&5
25859 echo "$as_me: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&2;}
25860 { echo "$as_me:$LINENO: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
25861 echo "$as_me: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
25864 if test "$wine_cv_msg_freetype" = "yes"
25867 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
25868 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
25869 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
25870 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
25871 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
25872 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
25873 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
25874 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
25877 if test -z "$FONTSSUBDIRS"
25880 if test "$FONTFORGE" = "false"
25882 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
25883 echo "$as_me: WARNING: FontForge is missing." >&2;}
25885 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
25886 echo "$as_me: WARNING: FreeType is missing." >&2;}
25888 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
25889 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
25892 if test -z "$ALSALIBS" -a \
25893 -z "$ARTSC_LIBS" -a \
25894 -z "$AUDIOIOLIBS" -a \
25896 -z "$ESD_LIBS" -a \
25897 -z "$ac_cv_lib_soname_jack" -a \
25898 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
25899 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
25900 "$ac_cv_header_soundcard_h" != "yes"
25903 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
25904 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
25905 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
25906 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
25907 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
25908 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
25912 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."