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
766 ac_precious_vars='build_alias
780 # Initialize some variables set by options.
782 ac_init_version=false
783 # The variables have the same names as the options, with
784 # dashes changed to underlines.
792 program_transform_name=s,x,x,
800 # Installation directory options.
801 # These are left unexpanded so users can "make install exec_prefix=/foo"
802 # and all the variables that are supposed to be based on exec_prefix
803 # by default will actually change.
804 # Use braces instead of parens because sh, perl, etc. also accept them.
805 # (The list follows the same order as the GNU Coding Standards.)
806 bindir='${exec_prefix}/bin'
807 sbindir='${exec_prefix}/sbin'
808 libexecdir='${exec_prefix}/libexec'
809 datarootdir='${prefix}/share'
810 datadir='${datarootdir}'
811 sysconfdir='${prefix}/etc'
812 sharedstatedir='${prefix}/com'
813 localstatedir='${prefix}/var'
814 includedir='${prefix}/include'
815 oldincludedir='/usr/include'
816 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
817 infodir='${datarootdir}/info'
822 libdir='${exec_prefix}/lib'
823 localedir='${datarootdir}/locale'
824 mandir='${datarootdir}/man'
830 # If the previous option needs an argument, assign it.
831 if test -n "$ac_prev"; then
832 eval $ac_prev=\$ac_option
838 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
842 # Accept the important Cygnus configure options, so we can diagnose typos.
844 case $ac_dashdash$ac_option in
848 -bindir | --bindir | --bindi | --bind | --bin | --bi)
850 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
853 -build | --build | --buil | --bui | --bu)
854 ac_prev=build_alias ;;
855 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
856 build_alias=$ac_optarg ;;
858 -cache-file | --cache-file | --cache-fil | --cache-fi \
859 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
860 ac_prev=cache_file ;;
861 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
862 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
863 cache_file=$ac_optarg ;;
866 cache_file=config.cache ;;
868 -datadir | --datadir | --datadi | --datad)
870 -datadir=* | --datadir=* | --datadi=* | --datad=*)
871 datadir=$ac_optarg ;;
873 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
874 | --dataroo | --dataro | --datar)
875 ac_prev=datarootdir ;;
876 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
877 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
878 datarootdir=$ac_optarg ;;
880 -disable-* | --disable-*)
881 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
884 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
885 { (exit 1); exit 1; }; }
886 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
887 eval enable_$ac_feature=no ;;
889 -docdir | --docdir | --docdi | --doc | --do)
891 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
894 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
896 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
899 -enable-* | --enable-*)
900 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
901 # Reject names that are not valid shell variable names.
902 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
903 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
904 { (exit 1); exit 1; }; }
905 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
906 eval enable_$ac_feature=\$ac_optarg ;;
908 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
909 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
910 | --exec | --exe | --ex)
911 ac_prev=exec_prefix ;;
912 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
913 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
914 | --exec=* | --exe=* | --ex=*)
915 exec_prefix=$ac_optarg ;;
917 -gas | --gas | --ga | --g)
918 # Obsolete; use --with-gas.
921 -help | --help | --hel | --he | -h)
923 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
924 ac_init_help=recursive ;;
925 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
926 ac_init_help=short ;;
928 -host | --host | --hos | --ho)
929 ac_prev=host_alias ;;
930 -host=* | --host=* | --hos=* | --ho=*)
931 host_alias=$ac_optarg ;;
933 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
935 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
937 htmldir=$ac_optarg ;;
939 -includedir | --includedir | --includedi | --included | --include \
940 | --includ | --inclu | --incl | --inc)
941 ac_prev=includedir ;;
942 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
943 | --includ=* | --inclu=* | --incl=* | --inc=*)
944 includedir=$ac_optarg ;;
946 -infodir | --infodir | --infodi | --infod | --info | --inf)
948 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
949 infodir=$ac_optarg ;;
951 -libdir | --libdir | --libdi | --libd)
953 -libdir=* | --libdir=* | --libdi=* | --libd=*)
956 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
957 | --libexe | --libex | --libe)
958 ac_prev=libexecdir ;;
959 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
960 | --libexe=* | --libex=* | --libe=*)
961 libexecdir=$ac_optarg ;;
963 -localedir | --localedir | --localedi | --localed | --locale)
965 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
966 localedir=$ac_optarg ;;
968 -localstatedir | --localstatedir | --localstatedi | --localstated \
969 | --localstate | --localstat | --localsta | --localst | --locals)
970 ac_prev=localstatedir ;;
971 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
972 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
973 localstatedir=$ac_optarg ;;
975 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
977 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
981 # Obsolete; use --without-fp.
984 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
985 | --no-cr | --no-c | -n)
988 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
989 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
992 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
993 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
994 | --oldin | --oldi | --old | --ol | --o)
995 ac_prev=oldincludedir ;;
996 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
997 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
998 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
999 oldincludedir=$ac_optarg ;;
1001 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1003 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1004 prefix=$ac_optarg ;;
1006 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1007 | --program-pre | --program-pr | --program-p)
1008 ac_prev=program_prefix ;;
1009 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1010 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1011 program_prefix=$ac_optarg ;;
1013 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1014 | --program-suf | --program-su | --program-s)
1015 ac_prev=program_suffix ;;
1016 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1017 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1018 program_suffix=$ac_optarg ;;
1020 -program-transform-name | --program-transform-name \
1021 | --program-transform-nam | --program-transform-na \
1022 | --program-transform-n | --program-transform- \
1023 | --program-transform | --program-transfor \
1024 | --program-transfo | --program-transf \
1025 | --program-trans | --program-tran \
1026 | --progr-tra | --program-tr | --program-t)
1027 ac_prev=program_transform_name ;;
1028 -program-transform-name=* | --program-transform-name=* \
1029 | --program-transform-nam=* | --program-transform-na=* \
1030 | --program-transform-n=* | --program-transform-=* \
1031 | --program-transform=* | --program-transfor=* \
1032 | --program-transfo=* | --program-transf=* \
1033 | --program-trans=* | --program-tran=* \
1034 | --progr-tra=* | --program-tr=* | --program-t=*)
1035 program_transform_name=$ac_optarg ;;
1037 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1039 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1040 pdfdir=$ac_optarg ;;
1042 -psdir | --psdir | --psdi | --psd | --ps)
1044 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1047 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1048 | -silent | --silent | --silen | --sile | --sil)
1051 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1053 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1055 sbindir=$ac_optarg ;;
1057 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1058 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1059 | --sharedst | --shareds | --shared | --share | --shar \
1061 ac_prev=sharedstatedir ;;
1062 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1063 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1064 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1066 sharedstatedir=$ac_optarg ;;
1068 -site | --site | --sit)
1070 -site=* | --site=* | --sit=*)
1073 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1075 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1076 srcdir=$ac_optarg ;;
1078 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1079 | --syscon | --sysco | --sysc | --sys | --sy)
1080 ac_prev=sysconfdir ;;
1081 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1082 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1083 sysconfdir=$ac_optarg ;;
1085 -target | --target | --targe | --targ | --tar | --ta | --t)
1086 ac_prev=target_alias ;;
1087 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1088 target_alias=$ac_optarg ;;
1090 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1093 -version | --version | --versio | --versi | --vers | -V)
1094 ac_init_version=: ;;
1097 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1098 # Reject names that are not valid shell variable names.
1099 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1100 { echo "$as_me: error: invalid package name: $ac_package" >&2
1101 { (exit 1); exit 1; }; }
1102 ac_package=`echo $ac_package| sed 's/-/_/g'`
1103 eval with_$ac_package=\$ac_optarg ;;
1105 -without-* | --without-*)
1106 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1107 # Reject names that are not valid shell variable names.
1108 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1109 { echo "$as_me: error: invalid package name: $ac_package" >&2
1110 { (exit 1); exit 1; }; }
1111 ac_package=`echo $ac_package | sed 's/-/_/g'`
1112 eval with_$ac_package=no ;;
1115 # Obsolete; use --with-x.
1118 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1119 | --x-incl | --x-inc | --x-in | --x-i)
1120 ac_prev=x_includes ;;
1121 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1122 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1123 x_includes=$ac_optarg ;;
1125 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1126 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1127 ac_prev=x_libraries ;;
1128 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1129 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1130 x_libraries=$ac_optarg ;;
1132 -*) { echo "$as_me: error: unrecognized option: $ac_option
1133 Try \`$0 --help' for more information." >&2
1134 { (exit 1); exit 1; }; }
1138 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1139 # Reject names that are not valid shell variable names.
1140 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1141 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1142 { (exit 1); exit 1; }; }
1143 eval $ac_envvar=\$ac_optarg
1144 export $ac_envvar ;;
1147 # FIXME: should be removed in autoconf 3.0.
1148 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1149 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1150 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1151 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1157 if test -n "$ac_prev"; then
1158 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1159 { echo "$as_me: error: missing argument to $ac_option" >&2
1160 { (exit 1); exit 1; }; }
1163 # Be sure to have absolute directory names.
1164 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1165 datadir sysconfdir sharedstatedir localstatedir includedir \
1166 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1167 libdir localedir mandir
1169 eval ac_val=\$$ac_var
1171 [\\/$]* | ?:[\\/]* ) continue;;
1172 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1174 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1175 { (exit 1); exit 1; }; }
1178 # There might be people who depend on the old broken behavior: `$host'
1179 # used to hold the argument of --host etc.
1180 # FIXME: To remove some day.
1183 target=$target_alias
1185 # FIXME: To remove some day.
1186 if test "x$host_alias" != x; then
1187 if test "x$build_alias" = x; then
1188 cross_compiling=maybe
1189 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1190 If a cross compiler is detected then cross compile mode will be used." >&2
1191 elif test "x$build_alias" != "x$host_alias"; then
1197 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1199 test "$silent" = yes && exec 6>/dev/null
1202 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1203 ac_ls_di=`ls -di .` &&
1204 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1205 { echo "$as_me: error: Working directory cannot be determined" >&2
1206 { (exit 1); exit 1; }; }
1207 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1208 { echo "$as_me: error: pwd does not report name of working directory" >&2
1209 { (exit 1); exit 1; }; }
1212 # Find the source files, if location was not specified.
1213 if test -z "$srcdir"; then
1214 ac_srcdir_defaulted=yes
1215 # Try the directory containing this script, then the parent directory.
1216 ac_confdir=`$as_dirname -- "$0" ||
1217 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1218 X"$0" : 'X\(//\)[^/]' \| \
1219 X"$0" : 'X\(//\)$' \| \
1220 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1240 if test ! -r "$srcdir/$ac_unique_file"; then
1244 ac_srcdir_defaulted=no
1246 if test ! -r "$srcdir/$ac_unique_file"; then
1247 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1248 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1249 { (exit 1); exit 1; }; }
1251 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1253 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1254 { (exit 1); exit 1; }; }
1256 # When building in place, set srcdir=.
1257 if test "$ac_abs_confdir" = "$ac_pwd"; then
1260 # Remove unnecessary trailing slashes from srcdir.
1261 # Double slashes in file names in object file debugging info
1262 # mess up M-x gdb in Emacs.
1264 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1266 for ac_var in $ac_precious_vars; do
1267 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1268 eval ac_env_${ac_var}_value=\$${ac_var}
1269 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1270 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1274 # Report the --help message.
1276 if test "$ac_init_help" = "long"; then
1277 # Omit some internal or obsolete options to make the list less imposing.
1278 # This message is too long to be a string in the A/UX 3.1 sh.
1280 \`configure' configures Wine 0.9.18 to adapt to many kinds of systems.
1282 Usage: $0 [OPTION]... [VAR=VALUE]...
1284 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1285 VAR=VALUE. See below for descriptions of some of the useful variables.
1287 Defaults for the options are specified in brackets.
1290 -h, --help display this help and exit
1291 --help=short display options specific to this package
1292 --help=recursive display the short help of all the included packages
1293 -V, --version display version information and exit
1294 -q, --quiet, --silent do not print \`checking...' messages
1295 --cache-file=FILE cache test results in FILE [disabled]
1296 -C, --config-cache alias for \`--cache-file=config.cache'
1297 -n, --no-create do not create output files
1298 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1300 Installation directories:
1301 --prefix=PREFIX install architecture-independent files in PREFIX
1302 [$ac_default_prefix]
1303 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1306 By default, \`make install' will install all the files in
1307 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1308 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1309 for instance \`--prefix=\$HOME'.
1311 For better control, use the options below.
1313 Fine tuning of the installation directories:
1314 --bindir=DIR user executables [EPREFIX/bin]
1315 --sbindir=DIR system admin executables [EPREFIX/sbin]
1316 --libexecdir=DIR program executables [EPREFIX/libexec]
1317 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1318 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1319 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1320 --libdir=DIR object code libraries [EPREFIX/lib]
1321 --includedir=DIR C header files [PREFIX/include]
1322 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1323 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1324 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1325 --infodir=DIR info documentation [DATAROOTDIR/info]
1326 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1327 --mandir=DIR man documentation [DATAROOTDIR/man]
1328 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1329 --htmldir=DIR html documentation [DOCDIR]
1330 --dvidir=DIR dvi documentation [DOCDIR]
1331 --pdfdir=DIR pdf documentation [DOCDIR]
1332 --psdir=DIR ps documentation [DOCDIR]
1338 --x-includes=DIR X include files are in DIR
1339 --x-libraries=DIR X library files are in DIR
1342 --build=BUILD configure for building on BUILD [guessed]
1343 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1347 if test -n "$ac_init_help"; then
1348 case $ac_init_help in
1349 short | recursive ) echo "Configuration of Wine 0.9.18:";;
1354 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1355 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1356 --disable-win16 do not include Win16 support
1357 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1361 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1362 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1363 --without-opengl do not use OpenGL
1364 --without-curses do not use curses
1365 --with-wine-tools=<dir> use Wine tools from directory <dir>
1366 --with-x use the X Window System
1368 Some influential environment variables:
1369 CC C compiler command
1370 CFLAGS C compiler flags
1371 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1372 nonstandard directory <lib dir>
1373 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1374 you have headers in a nonstandard directory <include dir>
1375 CXX C++ compiler command
1376 CXXFLAGS C++ compiler flags
1377 XMKMF Path to xmkmf, Makefile generator for X Window System
1380 Use these variables to override the choices made by `configure' or to help
1381 it to find libraries and programs with nonstandard names/locations.
1383 Report bugs to <wine-devel@winehq.org>.
1388 if test "$ac_init_help" = "recursive"; then
1389 # If there are subdirs, report their specific --help.
1390 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1391 test -d "$ac_dir" || continue
1395 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1397 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1398 # A ".." for each directory in $ac_dir_suffix.
1399 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1400 case $ac_top_builddir_sub in
1401 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1402 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1405 ac_abs_top_builddir=$ac_pwd
1406 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1407 # for backward compatibility:
1408 ac_top_builddir=$ac_top_build_prefix
1411 .) # We are building in place.
1413 ac_top_srcdir=$ac_top_builddir_sub
1414 ac_abs_top_srcdir=$ac_pwd ;;
1415 [\\/]* | ?:[\\/]* ) # Absolute name.
1416 ac_srcdir=$srcdir$ac_dir_suffix;
1417 ac_top_srcdir=$srcdir
1418 ac_abs_top_srcdir=$srcdir ;;
1420 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1421 ac_top_srcdir=$ac_top_build_prefix$srcdir
1422 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1424 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1426 cd "$ac_dir" || { ac_status=$?; continue; }
1427 # Check for guested configure.
1428 if test -f "$ac_srcdir/configure.gnu"; then
1430 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1431 elif test -f "$ac_srcdir/configure"; then
1433 $SHELL "$ac_srcdir/configure" --help=recursive
1435 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1437 cd "$ac_pwd" || { ac_status=$?; break; }
1441 test -n "$ac_init_help" && exit $ac_status
1442 if $ac_init_version; then
1444 Wine configure 0.9.18
1445 generated by GNU Autoconf 2.60a
1447 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1448 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1449 This configure script is free software; the Free Software Foundation
1450 gives unlimited permission to copy, distribute and modify it.
1454 cat >config.log <<_ACEOF
1455 This file contains any messages produced by compilers while
1456 running configure, to aid debugging if configure makes a mistake.
1458 It was created by Wine $as_me 0.9.18, which was
1459 generated by GNU Autoconf 2.60a. Invocation command line was
1471 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1472 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1473 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1474 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1475 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1477 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1478 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1480 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1481 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1482 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1483 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1484 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1485 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1486 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1494 test -z "$as_dir" && as_dir=.
1495 echo "PATH: $as_dir"
1511 # Keep a trace of the command line.
1512 # Strip out --no-create and --no-recursion so they do not pile up.
1513 # Strip out --silent because we don't want to record it for future runs.
1514 # Also quote any args containing shell meta-characters.
1515 # Make two passes to allow for proper duplicate-argument suppression.
1519 ac_must_keep_next=false
1525 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1526 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1527 | -silent | --silent | --silen | --sile | --sil)
1530 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1533 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1535 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1536 if test $ac_must_keep_next = true; then
1537 ac_must_keep_next=false # Got value, back to normal.
1540 *=* | --config-cache | -C | -disable-* | --disable-* \
1541 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1542 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1543 | -with-* | --with-* | -without-* | --without-* | --x)
1544 case "$ac_configure_args0 " in
1545 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1548 -* ) ac_must_keep_next=true ;;
1551 ac_configure_args="$ac_configure_args '$ac_arg'"
1556 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1557 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1559 # When interrupted or exit'd, cleanup temporary files, and complete
1560 # config.log. We remove comments because anyway the quotes in there
1561 # would cause problems or look ugly.
1562 # WARNING: Use '\'' to represent an apostrophe within the trap.
1563 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1564 trap 'exit_status=$?
1565 # Save into config.log some information that might help in debugging.
1570 ## ---------------- ##
1571 ## Cache variables. ##
1572 ## ---------------- ##
1575 # The following way of writing the cache mishandles newlines in values,
1577 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1578 eval ac_val=\$$ac_var
1582 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1583 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1586 _ | IFS | as_nl) ;; #(
1587 *) $as_unset $ac_var ;;
1592 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1593 *${as_nl}ac_space=\ *)
1595 "s/'\''/'\''\\\\'\'''\''/g;
1596 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1599 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1607 ## ----------------- ##
1608 ## Output variables. ##
1609 ## ----------------- ##
1612 for ac_var in $ac_subst_vars
1614 eval ac_val=\$$ac_var
1616 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1618 echo "$ac_var='\''$ac_val'\''"
1622 if test -n "$ac_subst_files"; then
1624 ## ------------------- ##
1625 ## File substitutions. ##
1626 ## ------------------- ##
1629 for ac_var in $ac_subst_files
1631 eval ac_val=\$$ac_var
1633 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1635 echo "$ac_var='\''$ac_val'\''"
1640 if test -s confdefs.h; then
1650 test "$ac_signal" != 0 &&
1651 echo "$as_me: caught signal $ac_signal"
1652 echo "$as_me: exit $exit_status"
1654 rm -f core *.core core.conftest.* &&
1655 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1658 for ac_signal in 1 2 13 15; do
1659 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1663 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1664 rm -f -r conftest* confdefs.h
1666 # Predefined preprocessor variables.
1668 cat >>confdefs.h <<_ACEOF
1669 #define PACKAGE_NAME "$PACKAGE_NAME"
1673 cat >>confdefs.h <<_ACEOF
1674 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1678 cat >>confdefs.h <<_ACEOF
1679 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1683 cat >>confdefs.h <<_ACEOF
1684 #define PACKAGE_STRING "$PACKAGE_STRING"
1688 cat >>confdefs.h <<_ACEOF
1689 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1693 # Let the site file select an alternate cache file if it wants to.
1694 # Prefer explicitly selected file to automatically selected ones.
1695 if test -n "$CONFIG_SITE"; then
1696 set x "$CONFIG_SITE"
1697 elif test "x$prefix" != xNONE; then
1698 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1700 set x "$ac_default_prefix/share/config.site" \
1701 "$ac_default_prefix/etc/config.site"
1706 if test -r "$ac_site_file"; then
1707 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1708 echo "$as_me: loading site script $ac_site_file" >&6;}
1709 sed 's/^/| /' "$ac_site_file" >&5
1714 if test -r "$cache_file"; then
1715 # Some versions of bash will fail to source /dev/null (special
1716 # files actually), so we avoid doing that.
1717 if test -f "$cache_file"; then
1718 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1719 echo "$as_me: loading cache $cache_file" >&6;}
1721 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1722 *) . "./$cache_file";;
1726 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1727 echo "$as_me: creating cache $cache_file" >&6;}
1731 # Check that the precious variables saved in the cache have kept the same
1733 ac_cache_corrupted=false
1734 for ac_var in $ac_precious_vars; do
1735 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1736 eval ac_new_set=\$ac_env_${ac_var}_set
1737 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1738 eval ac_new_val=\$ac_env_${ac_var}_value
1739 case $ac_old_set,$ac_new_set in
1741 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1742 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1743 ac_cache_corrupted=: ;;
1745 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1746 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1747 ac_cache_corrupted=: ;;
1750 if test "x$ac_old_val" != "x$ac_new_val"; then
1751 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1752 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1753 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1754 echo "$as_me: former value: $ac_old_val" >&2;}
1755 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1756 echo "$as_me: current value: $ac_new_val" >&2;}
1757 ac_cache_corrupted=:
1760 # Pass precious variables to config.status.
1761 if test "$ac_new_set" = set; then
1763 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1764 *) ac_arg=$ac_var=$ac_new_val ;;
1766 case " $ac_configure_args " in
1767 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1768 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1772 if $ac_cache_corrupted; then
1773 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1774 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1775 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1776 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1777 { (exit 1); exit 1; }; }
1805 ac_cpp='$CPP $CPPFLAGS'
1806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1812 ac_config_headers="$ac_config_headers include/config.h"
1815 for ac_dir in tools "$srcdir"/tools; do
1816 if test -f "$ac_dir/install-sh"; then
1818 ac_install_sh="$ac_aux_dir/install-sh -c"
1820 elif test -f "$ac_dir/install.sh"; then
1822 ac_install_sh="$ac_aux_dir/install.sh -c"
1824 elif test -f "$ac_dir/shtool"; then
1826 ac_install_sh="$ac_aux_dir/shtool install -c"
1830 if test -z "$ac_aux_dir"; then
1831 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1832 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1833 { (exit 1); exit 1; }; }
1836 # These three variables are undocumented and unsupported,
1837 # and are intended to be withdrawn in a future Autoconf release.
1838 # They can cause serious problems if a builder's source tree is in a directory
1839 # whose full name contains unusual characters.
1840 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1841 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1842 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1847 # Check whether --enable-win16 was given.
1848 if test "${enable_win16+set}" = set; then
1849 enableval=$enable_win16;
1852 # Check whether --enable-win64 was given.
1853 if test "${enable_win64+set}" = set; then
1854 enableval=$enable_win64;
1859 # Check whether --with-opengl was given.
1860 if test "${with_opengl+set}" = set; then
1861 withval=$with_opengl;
1865 # Check whether --with-curses was given.
1866 if test "${with_curses+set}" = set; then
1867 withval=$with_curses;
1871 # Check whether --with-wine-tools was given.
1872 if test "${with_wine_tools+set}" = set; then
1873 withval=$with_wine_tools;
1877 # Make sure we can run config.sub.
1878 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1879 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1880 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1881 { (exit 1); exit 1; }; }
1883 { echo "$as_me:$LINENO: checking build system type" >&5
1884 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1885 if test "${ac_cv_build+set}" = set; then
1886 echo $ECHO_N "(cached) $ECHO_C" >&6
1888 ac_build_alias=$build_alias
1889 test "x$ac_build_alias" = x &&
1890 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1891 test "x$ac_build_alias" = x &&
1892 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1893 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1894 { (exit 1); exit 1; }; }
1895 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1896 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1897 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1898 { (exit 1); exit 1; }; }
1901 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1902 echo "${ECHO_T}$ac_cv_build" >&6; }
1903 case $ac_cv_build in
1905 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1906 echo "$as_me: error: invalid value of canonical build" >&2;}
1907 { (exit 1); exit 1; }; };;
1910 ac_save_IFS=$IFS; IFS='-'
1916 # Remember, the first character of IFS is used to create $*,
1917 # except with old shells:
1920 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1923 { echo "$as_me:$LINENO: checking host system type" >&5
1924 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1925 if test "${ac_cv_host+set}" = set; then
1926 echo $ECHO_N "(cached) $ECHO_C" >&6
1928 if test "x$host_alias" = x; then
1929 ac_cv_host=$ac_cv_build
1931 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1932 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1933 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1934 { (exit 1); exit 1; }; }
1938 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1939 echo "${ECHO_T}$ac_cv_host" >&6; }
1942 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1943 echo "$as_me: error: invalid value of canonical host" >&2;}
1944 { (exit 1); exit 1; }; };;
1947 ac_save_IFS=$IFS; IFS='-'
1953 # Remember, the first character of IFS is used to create $*,
1954 # except with old shells:
1957 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1962 if test "x$enable_win64" != "xyes"
1964 test -n "$CC" || CC="gcc -m32"
1965 test -n "$LD" || LD="ld -m elf_i386"
1966 test -n "$AS" || AS="as --32"
1974 if test "x$enable_win16" != "xno"
1981 WIN16_FILES="\$(WIN16_FILES)"
1983 WIN16_INSTALL="\$(WIN16_INSTALL)"
1985 if test "x$enable_win16" != "xyes"
1992 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1993 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1994 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1995 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1996 echo $ECHO_N "(cached) $ECHO_C" >&6
1998 cat >conftest.make <<\_ACEOF
2001 @echo '@@@%%%=$(MAKE)=@@@%%%'
2003 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2004 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2006 eval ac_cv_prog_make_${ac_make}_set=yes;;
2008 eval ac_cv_prog_make_${ac_make}_set=no;;
2012 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2013 { echo "$as_me:$LINENO: result: yes" >&5
2014 echo "${ECHO_T}yes" >&6; }
2017 { echo "$as_me:$LINENO: result: no" >&5
2018 echo "${ECHO_T}no" >&6; }
2019 SET_MAKE="MAKE=${MAKE-make}"
2023 ac_cpp='$CPP $CPPFLAGS'
2024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2027 if test -n "$ac_tool_prefix"; then
2028 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2029 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2032 if test "${ac_cv_prog_CC+set}" = set; then
2033 echo $ECHO_N "(cached) $ECHO_C" >&6
2035 if test -n "$CC"; then
2036 ac_cv_prog_CC="$CC" # Let the user override the test.
2038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2042 test -z "$as_dir" && as_dir=.
2043 for ac_exec_ext in '' $ac_executable_extensions; do
2044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2045 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2056 if test -n "$CC"; then
2057 { echo "$as_me:$LINENO: result: $CC" >&5
2058 echo "${ECHO_T}$CC" >&6; }
2060 { echo "$as_me:$LINENO: result: no" >&5
2061 echo "${ECHO_T}no" >&6; }
2066 if test -z "$ac_cv_prog_CC"; then
2068 # Extract the first word of "gcc", so it can be a program name with args.
2069 set dummy gcc; ac_word=$2
2070 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2072 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2073 echo $ECHO_N "(cached) $ECHO_C" >&6
2075 if test -n "$ac_ct_CC"; then
2076 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2082 test -z "$as_dir" && as_dir=.
2083 for ac_exec_ext in '' $ac_executable_extensions; do
2084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2085 ac_cv_prog_ac_ct_CC="gcc"
2086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2095 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2096 if test -n "$ac_ct_CC"; then
2097 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2098 echo "${ECHO_T}$ac_ct_CC" >&6; }
2100 { echo "$as_me:$LINENO: result: no" >&5
2101 echo "${ECHO_T}no" >&6; }
2104 if test "x$ac_ct_CC" = x; then
2107 case $cross_compiling:$ac_tool_warned in
2109 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2110 whose name does not start with the host triplet. If you think this
2111 configuration is useful to you, please write to autoconf@gnu.org." >&5
2112 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2113 whose name does not start with the host triplet. If you think this
2114 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2115 ac_tool_warned=yes ;;
2123 if test -z "$CC"; then
2124 if test -n "$ac_tool_prefix"; then
2125 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2126 set dummy ${ac_tool_prefix}cc; ac_word=$2
2127 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2129 if test "${ac_cv_prog_CC+set}" = set; then
2130 echo $ECHO_N "(cached) $ECHO_C" >&6
2132 if test -n "$CC"; then
2133 ac_cv_prog_CC="$CC" # Let the user override the test.
2135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2139 test -z "$as_dir" && as_dir=.
2140 for ac_exec_ext in '' $ac_executable_extensions; do
2141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2142 ac_cv_prog_CC="${ac_tool_prefix}cc"
2143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2153 if test -n "$CC"; then
2154 { echo "$as_me:$LINENO: result: $CC" >&5
2155 echo "${ECHO_T}$CC" >&6; }
2157 { echo "$as_me:$LINENO: result: no" >&5
2158 echo "${ECHO_T}no" >&6; }
2164 if test -z "$CC"; then
2165 # Extract the first word of "cc", so it can be a program name with args.
2166 set dummy cc; ac_word=$2
2167 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2169 if test "${ac_cv_prog_CC+set}" = set; then
2170 echo $ECHO_N "(cached) $ECHO_C" >&6
2172 if test -n "$CC"; then
2173 ac_cv_prog_CC="$CC" # Let the user override the test.
2176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2180 test -z "$as_dir" && as_dir=.
2181 for ac_exec_ext in '' $ac_executable_extensions; do
2182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2183 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2184 ac_prog_rejected=yes
2188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2195 if test $ac_prog_rejected = yes; then
2196 # We found a bogon in the path, so make sure we never use it.
2197 set dummy $ac_cv_prog_CC
2199 if test $# != 0; then
2200 # We chose a different compiler from the bogus one.
2201 # However, it has the same basename, so the bogon will be chosen
2202 # first if we set CC to just the basename; use the full file name.
2204 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2210 if test -n "$CC"; then
2211 { echo "$as_me:$LINENO: result: $CC" >&5
2212 echo "${ECHO_T}$CC" >&6; }
2214 { echo "$as_me:$LINENO: result: no" >&5
2215 echo "${ECHO_T}no" >&6; }
2220 if test -z "$CC"; then
2221 if test -n "$ac_tool_prefix"; then
2222 for ac_prog in cl.exe
2224 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2225 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2228 if test "${ac_cv_prog_CC+set}" = set; then
2229 echo $ECHO_N "(cached) $ECHO_C" >&6
2231 if test -n "$CC"; then
2232 ac_cv_prog_CC="$CC" # Let the user override the test.
2234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2238 test -z "$as_dir" && as_dir=.
2239 for ac_exec_ext in '' $ac_executable_extensions; do
2240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2241 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2252 if test -n "$CC"; then
2253 { echo "$as_me:$LINENO: result: $CC" >&5
2254 echo "${ECHO_T}$CC" >&6; }
2256 { echo "$as_me:$LINENO: result: no" >&5
2257 echo "${ECHO_T}no" >&6; }
2261 test -n "$CC" && break
2264 if test -z "$CC"; then
2266 for ac_prog in cl.exe
2268 # Extract the first word of "$ac_prog", so it can be a program name with args.
2269 set dummy $ac_prog; ac_word=$2
2270 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2272 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2273 echo $ECHO_N "(cached) $ECHO_C" >&6
2275 if test -n "$ac_ct_CC"; then
2276 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2282 test -z "$as_dir" && as_dir=.
2283 for ac_exec_ext in '' $ac_executable_extensions; do
2284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2285 ac_cv_prog_ac_ct_CC="$ac_prog"
2286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2295 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2296 if test -n "$ac_ct_CC"; then
2297 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2298 echo "${ECHO_T}$ac_ct_CC" >&6; }
2300 { echo "$as_me:$LINENO: result: no" >&5
2301 echo "${ECHO_T}no" >&6; }
2305 test -n "$ac_ct_CC" && break
2308 if test "x$ac_ct_CC" = x; then
2311 case $cross_compiling:$ac_tool_warned in
2313 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2314 whose name does not start with the host triplet. If you think this
2315 configuration is useful to you, please write to autoconf@gnu.org." >&5
2316 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2317 whose name does not start with the host triplet. If you think this
2318 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2319 ac_tool_warned=yes ;;
2328 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2329 See \`config.log' for more details." >&5
2330 echo "$as_me: error: no acceptable C compiler found in \$PATH
2331 See \`config.log' for more details." >&2;}
2332 { (exit 1); exit 1; }; }
2334 # Provide some information about the compiler.
2335 echo "$as_me:$LINENO: checking for C compiler version" >&5
2336 ac_compiler=`set X $ac_compile; echo $2`
2337 { (ac_try="$ac_compiler --version >&5"
2339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2340 *) ac_try_echo=$ac_try;;
2342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2343 (eval "$ac_compiler --version >&5") 2>&5
2345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346 (exit $ac_status); }
2347 { (ac_try="$ac_compiler -v >&5"
2349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2350 *) ac_try_echo=$ac_try;;
2352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2353 (eval "$ac_compiler -v >&5") 2>&5
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }
2357 { (ac_try="$ac_compiler -V >&5"
2359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2360 *) ac_try_echo=$ac_try;;
2362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2363 (eval "$ac_compiler -V >&5") 2>&5
2365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2366 (exit $ac_status); }
2368 cat >conftest.$ac_ext <<_ACEOF
2371 cat confdefs.h >>conftest.$ac_ext
2372 cat >>conftest.$ac_ext <<_ACEOF
2373 /* end confdefs.h. */
2383 ac_clean_files_save=$ac_clean_files
2384 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2385 # Try to create an executable without -o first, disregard a.out.
2386 # It will help us diagnose broken compilers, and finding out an intuition
2388 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2389 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2390 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2392 # List of possible output files, starting from the most likely.
2393 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2394 # only as a last resort. b.out is created by i960 compilers.
2395 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2397 # The IRIX 6 linker writes into existing files which may not be
2398 # executable, retaining their permissions. Remove them first so a
2399 # subsequent execution test works.
2401 for ac_file in $ac_files
2404 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2405 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2410 if { (ac_try="$ac_link_default"
2412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2413 *) ac_try_echo=$ac_try;;
2415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2416 (eval "$ac_link_default") 2>&5
2418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); }; then
2420 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2421 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2422 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2423 # so that the user can short-circuit this test for compilers unknown to
2425 for ac_file in $ac_files
2427 test -f "$ac_file" || continue
2429 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2432 # We found the default executable, but exeext='' is most
2436 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2438 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2440 # We set ac_cv_exeext here because the later test for it is not
2441 # safe: cross compilers may not add the suffix if given an `-o'
2442 # argument, so we may need to know it at that point already.
2443 # Even if this section looks crufty: it has the advantage of
2450 test "$ac_cv_exeext" = no && ac_cv_exeext=
2453 echo "$as_me: failed program was:" >&5
2454 sed 's/^/| /' conftest.$ac_ext >&5
2456 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2457 See \`config.log' for more details." >&5
2458 echo "$as_me: error: C compiler cannot create executables
2459 See \`config.log' for more details." >&2;}
2460 { (exit 77); exit 77; }; }
2463 ac_exeext=$ac_cv_exeext
2464 { echo "$as_me:$LINENO: result: $ac_file" >&5
2465 echo "${ECHO_T}$ac_file" >&6; }
2467 # Check that the compiler produces executables we can run. If not, either
2468 # the compiler is broken, or we cross compile.
2469 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2470 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2471 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2472 # If not cross compiling, check that we can run a simple program.
2473 if test "$cross_compiling" != yes; then
2474 if { ac_try='./$ac_file'
2475 { (case "(($ac_try" in
2476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2477 *) ac_try_echo=$ac_try;;
2479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2480 (eval "$ac_try") 2>&5
2482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2483 (exit $ac_status); }; }; then
2486 if test "$cross_compiling" = maybe; then
2489 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2490 If you meant to cross compile, use \`--host'.
2491 See \`config.log' for more details." >&5
2492 echo "$as_me: error: cannot run C compiled programs.
2493 If you meant to cross compile, use \`--host'.
2494 See \`config.log' for more details." >&2;}
2495 { (exit 1); exit 1; }; }
2499 { echo "$as_me:$LINENO: result: yes" >&5
2500 echo "${ECHO_T}yes" >&6; }
2502 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2503 ac_clean_files=$ac_clean_files_save
2504 # Check that the compiler produces executables we can run. If not, either
2505 # the compiler is broken, or we cross compile.
2506 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2507 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2508 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2509 echo "${ECHO_T}$cross_compiling" >&6; }
2511 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2512 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2513 if { (ac_try="$ac_link"
2515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2516 *) ac_try_echo=$ac_try;;
2518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2519 (eval "$ac_link") 2>&5
2521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2522 (exit $ac_status); }; then
2523 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2524 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2525 # work properly (i.e., refer to `conftest.exe'), while it won't with
2527 for ac_file in conftest.exe conftest conftest.*; do
2528 test -f "$ac_file" || continue
2530 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2531 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2537 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2538 See \`config.log' for more details." >&5
2539 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2540 See \`config.log' for more details." >&2;}
2541 { (exit 1); exit 1; }; }
2544 rm -f conftest$ac_cv_exeext
2545 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2546 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2548 rm -f conftest.$ac_ext
2549 EXEEXT=$ac_cv_exeext
2551 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2552 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2553 if test "${ac_cv_objext+set}" = set; then
2554 echo $ECHO_N "(cached) $ECHO_C" >&6
2556 cat >conftest.$ac_ext <<_ACEOF
2559 cat confdefs.h >>conftest.$ac_ext
2560 cat >>conftest.$ac_ext <<_ACEOF
2561 /* end confdefs.h. */
2571 rm -f conftest.o conftest.obj
2572 if { (ac_try="$ac_compile"
2574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2575 *) ac_try_echo=$ac_try;;
2577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2578 (eval "$ac_compile") 2>&5
2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581 (exit $ac_status); }; then
2582 for ac_file in conftest.o conftest.obj conftest.*; do
2583 test -f "$ac_file" || continue;
2585 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2586 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2591 echo "$as_me: failed program was:" >&5
2592 sed 's/^/| /' conftest.$ac_ext >&5
2594 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2595 See \`config.log' for more details." >&5
2596 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2597 See \`config.log' for more details." >&2;}
2598 { (exit 1); exit 1; }; }
2601 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2603 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2604 echo "${ECHO_T}$ac_cv_objext" >&6; }
2605 OBJEXT=$ac_cv_objext
2607 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2608 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2609 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2610 echo $ECHO_N "(cached) $ECHO_C" >&6
2612 cat >conftest.$ac_ext <<_ACEOF
2615 cat confdefs.h >>conftest.$ac_ext
2616 cat >>conftest.$ac_ext <<_ACEOF
2617 /* end confdefs.h. */
2630 rm -f conftest.$ac_objext
2631 if { (ac_try="$ac_compile"
2633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2634 *) ac_try_echo=$ac_try;;
2636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2637 (eval "$ac_compile") 2>conftest.er1
2639 grep -v '^ *+' conftest.er1 >conftest.err
2641 cat conftest.err >&5
2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643 (exit $ac_status); } &&
2644 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2645 { (case "(($ac_try" in
2646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2647 *) ac_try_echo=$ac_try;;
2649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2650 (eval "$ac_try") 2>&5
2652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653 (exit $ac_status); }; } &&
2654 { ac_try='test -s conftest.$ac_objext'
2655 { (case "(($ac_try" in
2656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2657 *) ac_try_echo=$ac_try;;
2659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2660 (eval "$ac_try") 2>&5
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); }; }; then
2666 echo "$as_me: failed program was:" >&5
2667 sed 's/^/| /' conftest.$ac_ext >&5
2672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2673 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2676 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2677 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2678 GCC=`test $ac_compiler_gnu = yes && echo yes`
2679 ac_test_CFLAGS=${CFLAGS+set}
2680 ac_save_CFLAGS=$CFLAGS
2681 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2682 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2683 if test "${ac_cv_prog_cc_g+set}" = set; then
2684 echo $ECHO_N "(cached) $ECHO_C" >&6
2686 ac_save_c_werror_flag=$ac_c_werror_flag
2687 ac_c_werror_flag=yes
2690 cat >conftest.$ac_ext <<_ACEOF
2693 cat confdefs.h >>conftest.$ac_ext
2694 cat >>conftest.$ac_ext <<_ACEOF
2695 /* end confdefs.h. */
2705 rm -f conftest.$ac_objext
2706 if { (ac_try="$ac_compile"
2708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2709 *) ac_try_echo=$ac_try;;
2711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2712 (eval "$ac_compile") 2>conftest.er1
2714 grep -v '^ *+' conftest.er1 >conftest.err
2716 cat conftest.err >&5
2717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2718 (exit $ac_status); } &&
2719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2720 { (case "(($ac_try" in
2721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2722 *) ac_try_echo=$ac_try;;
2724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2725 (eval "$ac_try") 2>&5
2727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); }; } &&
2729 { ac_try='test -s conftest.$ac_objext'
2730 { (case "(($ac_try" in
2731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2732 *) ac_try_echo=$ac_try;;
2734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2735 (eval "$ac_try") 2>&5
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); }; }; then
2741 echo "$as_me: failed program was:" >&5
2742 sed 's/^/| /' conftest.$ac_ext >&5
2745 cat >conftest.$ac_ext <<_ACEOF
2748 cat confdefs.h >>conftest.$ac_ext
2749 cat >>conftest.$ac_ext <<_ACEOF
2750 /* end confdefs.h. */
2760 rm -f conftest.$ac_objext
2761 if { (ac_try="$ac_compile"
2763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2764 *) ac_try_echo=$ac_try;;
2766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2767 (eval "$ac_compile") 2>conftest.er1
2769 grep -v '^ *+' conftest.er1 >conftest.err
2771 cat conftest.err >&5
2772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); } &&
2774 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2775 { (case "(($ac_try" in
2776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2777 *) ac_try_echo=$ac_try;;
2779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2780 (eval "$ac_try") 2>&5
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); }; } &&
2784 { ac_try='test -s conftest.$ac_objext'
2785 { (case "(($ac_try" in
2786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2787 *) ac_try_echo=$ac_try;;
2789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2790 (eval "$ac_try") 2>&5
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); }; }; then
2796 echo "$as_me: failed program was:" >&5
2797 sed 's/^/| /' conftest.$ac_ext >&5
2799 ac_c_werror_flag=$ac_save_c_werror_flag
2801 cat >conftest.$ac_ext <<_ACEOF
2804 cat confdefs.h >>conftest.$ac_ext
2805 cat >>conftest.$ac_ext <<_ACEOF
2806 /* end confdefs.h. */
2816 rm -f conftest.$ac_objext
2817 if { (ac_try="$ac_compile"
2819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2820 *) ac_try_echo=$ac_try;;
2822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2823 (eval "$ac_compile") 2>conftest.er1
2825 grep -v '^ *+' conftest.er1 >conftest.err
2827 cat conftest.err >&5
2828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829 (exit $ac_status); } &&
2830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2831 { (case "(($ac_try" in
2832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2833 *) ac_try_echo=$ac_try;;
2835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2836 (eval "$ac_try") 2>&5
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); }; } &&
2840 { ac_try='test -s conftest.$ac_objext'
2841 { (case "(($ac_try" in
2842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2846 (eval "$ac_try") 2>&5
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); }; }; then
2852 echo "$as_me: failed program was:" >&5
2853 sed 's/^/| /' conftest.$ac_ext >&5
2858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2865 ac_c_werror_flag=$ac_save_c_werror_flag
2867 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2868 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2869 if test "$ac_test_CFLAGS" = set; then
2870 CFLAGS=$ac_save_CFLAGS
2871 elif test $ac_cv_prog_cc_g = yes; then
2872 if test "$GCC" = yes; then
2878 if test "$GCC" = yes; then
2884 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2885 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2886 if test "${ac_cv_prog_cc_c89+set}" = set; then
2887 echo $ECHO_N "(cached) $ECHO_C" >&6
2889 ac_cv_prog_cc_c89=no
2891 cat >conftest.$ac_ext <<_ACEOF
2894 cat confdefs.h >>conftest.$ac_ext
2895 cat >>conftest.$ac_ext <<_ACEOF
2896 /* end confdefs.h. */
2899 #include <sys/types.h>
2900 #include <sys/stat.h>
2901 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2902 struct buf { int x; };
2903 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2904 static char *e (p, i)
2910 static char *f (char * (*g) (char **, int), char **p, ...)
2915 s = g (p, va_arg (v,int));
2920 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2921 function prototypes and stuff, but not '\xHH' hex character constants.
2922 These don't provoke an error unfortunately, instead are silently treated
2923 as 'x'. The following induces an error, until -std is added to get
2924 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2925 array size at least. It's necessary to write '\x00'==0 to get something
2926 that's true only with -std. */
2927 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2929 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2930 inside strings and character constants. */
2932 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2934 int test (int i, double x);
2935 struct s1 {int (*f) (int a);};
2936 struct s2 {int (*f) (double a);};
2937 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2943 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2948 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2949 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2951 CC="$ac_save_CC $ac_arg"
2952 rm -f conftest.$ac_objext
2953 if { (ac_try="$ac_compile"
2955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2956 *) ac_try_echo=$ac_try;;
2958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2959 (eval "$ac_compile") 2>conftest.er1
2961 grep -v '^ *+' conftest.er1 >conftest.err
2963 cat conftest.err >&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); } &&
2966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2967 { (case "(($ac_try" in
2968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2969 *) ac_try_echo=$ac_try;;
2971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2972 (eval "$ac_try") 2>&5
2974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975 (exit $ac_status); }; } &&
2976 { ac_try='test -s conftest.$ac_objext'
2977 { (case "(($ac_try" in
2978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2979 *) ac_try_echo=$ac_try;;
2981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2982 (eval "$ac_try") 2>&5
2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); }; }; then
2986 ac_cv_prog_cc_c89=$ac_arg
2988 echo "$as_me: failed program was:" >&5
2989 sed 's/^/| /' conftest.$ac_ext >&5
2994 rm -f core conftest.err conftest.$ac_objext
2995 test "x$ac_cv_prog_cc_c89" != "xno" && break
2997 rm -f conftest.$ac_ext
3002 case "x$ac_cv_prog_cc_c89" in
3004 { echo "$as_me:$LINENO: result: none needed" >&5
3005 echo "${ECHO_T}none needed" >&6; } ;;
3007 { echo "$as_me:$LINENO: result: unsupported" >&5
3008 echo "${ECHO_T}unsupported" >&6; } ;;
3010 CC="$CC $ac_cv_prog_cc_c89"
3011 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3012 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3017 ac_cpp='$CPP $CPPFLAGS'
3018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3023 ac_cpp='$CXXCPP $CPPFLAGS'
3024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3027 if test -z "$CXX"; then
3028 if test -n "$CCC"; then
3031 if test -n "$ac_tool_prefix"; then
3032 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3034 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3035 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3038 if test "${ac_cv_prog_CXX+set}" = set; then
3039 echo $ECHO_N "(cached) $ECHO_C" >&6
3041 if test -n "$CXX"; then
3042 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3048 test -z "$as_dir" && as_dir=.
3049 for ac_exec_ext in '' $ac_executable_extensions; do
3050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3051 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3062 if test -n "$CXX"; then
3063 { echo "$as_me:$LINENO: result: $CXX" >&5
3064 echo "${ECHO_T}$CXX" >&6; }
3066 { echo "$as_me:$LINENO: result: no" >&5
3067 echo "${ECHO_T}no" >&6; }
3071 test -n "$CXX" && break
3074 if test -z "$CXX"; then
3076 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3078 # Extract the first word of "$ac_prog", so it can be a program name with args.
3079 set dummy $ac_prog; ac_word=$2
3080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3082 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3083 echo $ECHO_N "(cached) $ECHO_C" >&6
3085 if test -n "$ac_ct_CXX"; then
3086 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3092 test -z "$as_dir" && as_dir=.
3093 for ac_exec_ext in '' $ac_executable_extensions; do
3094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3095 ac_cv_prog_ac_ct_CXX="$ac_prog"
3096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3105 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3106 if test -n "$ac_ct_CXX"; then
3107 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3108 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3110 { echo "$as_me:$LINENO: result: no" >&5
3111 echo "${ECHO_T}no" >&6; }
3115 test -n "$ac_ct_CXX" && break
3118 if test "x$ac_ct_CXX" = x; then
3121 case $cross_compiling:$ac_tool_warned in
3123 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3124 whose name does not start with the host triplet. If you think this
3125 configuration is useful to you, please write to autoconf@gnu.org." >&5
3126 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3127 whose name does not start with the host triplet. If you think this
3128 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3129 ac_tool_warned=yes ;;
3137 # Provide some information about the compiler.
3138 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3139 ac_compiler=`set X $ac_compile; echo $2`
3140 { (ac_try="$ac_compiler --version >&5"
3142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3143 *) ac_try_echo=$ac_try;;
3145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3146 (eval "$ac_compiler --version >&5") 2>&5
3148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149 (exit $ac_status); }
3150 { (ac_try="$ac_compiler -v >&5"
3152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3153 *) ac_try_echo=$ac_try;;
3155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3156 (eval "$ac_compiler -v >&5") 2>&5
3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159 (exit $ac_status); }
3160 { (ac_try="$ac_compiler -V >&5"
3162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3163 *) ac_try_echo=$ac_try;;
3165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3166 (eval "$ac_compiler -V >&5") 2>&5
3168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 (exit $ac_status); }
3171 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3172 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3173 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3174 echo $ECHO_N "(cached) $ECHO_C" >&6
3176 cat >conftest.$ac_ext <<_ACEOF
3179 cat confdefs.h >>conftest.$ac_ext
3180 cat >>conftest.$ac_ext <<_ACEOF
3181 /* end confdefs.h. */
3194 rm -f conftest.$ac_objext
3195 if { (ac_try="$ac_compile"
3197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3198 *) ac_try_echo=$ac_try;;
3200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3201 (eval "$ac_compile") 2>conftest.er1
3203 grep -v '^ *+' conftest.er1 >conftest.err
3205 cat conftest.err >&5
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); } &&
3208 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3209 { (case "(($ac_try" in
3210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3211 *) ac_try_echo=$ac_try;;
3213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3214 (eval "$ac_try") 2>&5
3216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217 (exit $ac_status); }; } &&
3218 { ac_try='test -s conftest.$ac_objext'
3219 { (case "(($ac_try" in
3220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3221 *) ac_try_echo=$ac_try;;
3223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3224 (eval "$ac_try") 2>&5
3226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227 (exit $ac_status); }; }; then
3230 echo "$as_me: failed program was:" >&5
3231 sed 's/^/| /' conftest.$ac_ext >&5
3236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3237 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3240 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3241 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3242 GXX=`test $ac_compiler_gnu = yes && echo yes`
3243 ac_test_CXXFLAGS=${CXXFLAGS+set}
3244 ac_save_CXXFLAGS=$CXXFLAGS
3245 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3246 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3247 if test "${ac_cv_prog_cxx_g+set}" = set; then
3248 echo $ECHO_N "(cached) $ECHO_C" >&6
3250 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3251 ac_cxx_werror_flag=yes
3254 cat >conftest.$ac_ext <<_ACEOF
3257 cat confdefs.h >>conftest.$ac_ext
3258 cat >>conftest.$ac_ext <<_ACEOF
3259 /* end confdefs.h. */
3269 rm -f conftest.$ac_objext
3270 if { (ac_try="$ac_compile"
3272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3273 *) ac_try_echo=$ac_try;;
3275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3276 (eval "$ac_compile") 2>conftest.er1
3278 grep -v '^ *+' conftest.er1 >conftest.err
3280 cat conftest.err >&5
3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); } &&
3283 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3284 { (case "(($ac_try" in
3285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3286 *) ac_try_echo=$ac_try;;
3288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3289 (eval "$ac_try") 2>&5
3291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292 (exit $ac_status); }; } &&
3293 { ac_try='test -s conftest.$ac_objext'
3294 { (case "(($ac_try" in
3295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3296 *) ac_try_echo=$ac_try;;
3298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3299 (eval "$ac_try") 2>&5
3301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302 (exit $ac_status); }; }; then
3303 ac_cv_prog_cxx_g=yes
3305 echo "$as_me: failed program was:" >&5
3306 sed 's/^/| /' conftest.$ac_ext >&5
3309 cat >conftest.$ac_ext <<_ACEOF
3312 cat confdefs.h >>conftest.$ac_ext
3313 cat >>conftest.$ac_ext <<_ACEOF
3314 /* end confdefs.h. */
3324 rm -f conftest.$ac_objext
3325 if { (ac_try="$ac_compile"
3327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3328 *) ac_try_echo=$ac_try;;
3330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3331 (eval "$ac_compile") 2>conftest.er1
3333 grep -v '^ *+' conftest.er1 >conftest.err
3335 cat conftest.err >&5
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); } &&
3338 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3339 { (case "(($ac_try" in
3340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3341 *) ac_try_echo=$ac_try;;
3343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3344 (eval "$ac_try") 2>&5
3346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3347 (exit $ac_status); }; } &&
3348 { ac_try='test -s conftest.$ac_objext'
3349 { (case "(($ac_try" in
3350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3351 *) ac_try_echo=$ac_try;;
3353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3354 (eval "$ac_try") 2>&5
3356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3357 (exit $ac_status); }; }; then
3360 echo "$as_me: failed program was:" >&5
3361 sed 's/^/| /' conftest.$ac_ext >&5
3363 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3365 cat >conftest.$ac_ext <<_ACEOF
3368 cat confdefs.h >>conftest.$ac_ext
3369 cat >>conftest.$ac_ext <<_ACEOF
3370 /* end confdefs.h. */
3380 rm -f conftest.$ac_objext
3381 if { (ac_try="$ac_compile"
3383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3384 *) ac_try_echo=$ac_try;;
3386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3387 (eval "$ac_compile") 2>conftest.er1
3389 grep -v '^ *+' conftest.er1 >conftest.err
3391 cat conftest.err >&5
3392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393 (exit $ac_status); } &&
3394 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3395 { (case "(($ac_try" in
3396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3397 *) ac_try_echo=$ac_try;;
3399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3400 (eval "$ac_try") 2>&5
3402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3403 (exit $ac_status); }; } &&
3404 { ac_try='test -s conftest.$ac_objext'
3405 { (case "(($ac_try" in
3406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3407 *) ac_try_echo=$ac_try;;
3409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3410 (eval "$ac_try") 2>&5
3412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3413 (exit $ac_status); }; }; then
3414 ac_cv_prog_cxx_g=yes
3416 echo "$as_me: failed program was:" >&5
3417 sed 's/^/| /' conftest.$ac_ext >&5
3422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3429 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3431 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3432 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3433 if test "$ac_test_CXXFLAGS" = set; then
3434 CXXFLAGS=$ac_save_CXXFLAGS
3435 elif test $ac_cv_prog_cxx_g = yes; then
3436 if test "$GXX" = yes; then
3442 if test "$GXX" = yes; then
3449 ac_cpp='$CPP $CPPFLAGS'
3450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3454 if test -n "$ac_tool_prefix"; then
3455 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3456 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3457 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3459 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3460 echo $ECHO_N "(cached) $ECHO_C" >&6
3462 if test -n "$CPPBIN"; then
3463 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3469 test -z "$as_dir" && as_dir=.
3470 for ac_exec_ext in '' $ac_executable_extensions; do
3471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3472 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3482 CPPBIN=$ac_cv_prog_CPPBIN
3483 if test -n "$CPPBIN"; then
3484 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3485 echo "${ECHO_T}$CPPBIN" >&6; }
3487 { echo "$as_me:$LINENO: result: no" >&5
3488 echo "${ECHO_T}no" >&6; }
3493 if test -z "$ac_cv_prog_CPPBIN"; then
3494 ac_ct_CPPBIN=$CPPBIN
3495 # Extract the first word of "cpp", so it can be a program name with args.
3496 set dummy cpp; ac_word=$2
3497 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3499 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3500 echo $ECHO_N "(cached) $ECHO_C" >&6
3502 if test -n "$ac_ct_CPPBIN"; then
3503 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3509 test -z "$as_dir" && as_dir=.
3510 for ac_exec_ext in '' $ac_executable_extensions; do
3511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3512 ac_cv_prog_ac_ct_CPPBIN="cpp"
3513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3522 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3523 if test -n "$ac_ct_CPPBIN"; then
3524 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3525 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3527 { echo "$as_me:$LINENO: result: no" >&5
3528 echo "${ECHO_T}no" >&6; }
3531 if test "x$ac_ct_CPPBIN" = x; then
3534 case $cross_compiling:$ac_tool_warned in
3536 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3537 whose name does not start with the host triplet. If you think this
3538 configuration is useful to you, please write to autoconf@gnu.org." >&5
3539 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3540 whose name does not start with the host triplet. If you think this
3541 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3542 ac_tool_warned=yes ;;
3544 CPPBIN=$ac_ct_CPPBIN
3547 CPPBIN="$ac_cv_prog_CPPBIN"
3551 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3552 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3553 if test "${wine_cv_toolsdir+set}" = set; then
3554 echo $ECHO_N "(cached) $ECHO_C" >&6
3556 if test -z "$with_wine_tools"; then
3557 if test "$cross_compiling" = "yes"; then
3558 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3559 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3560 { (exit 1); exit 1; }; }
3562 wine_cv_toolsdir="\$(TOPOBJDIR)"
3564 elif test -d "$with_wine_tools/tools/winebuild"; then
3565 case $with_wine_tools in
3566 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3567 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3570 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3571 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3572 { (exit 1); exit 1; }; }
3575 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3576 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3577 TOOLSDIR=$wine_cv_toolsdir
3582 ac_cpp='$CPP $CPPFLAGS'
3583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3586 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3587 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3588 # On Suns, sometimes $CPP names a directory.
3589 if test -n "$CPP" && test -d "$CPP"; then
3592 if test -z "$CPP"; then
3593 if test "${ac_cv_prog_CPP+set}" = set; then
3594 echo $ECHO_N "(cached) $ECHO_C" >&6
3596 # Double quotes because CPP needs to be expanded
3597 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3600 for ac_c_preproc_warn_flag in '' yes
3602 # Use a header file that comes with gcc, so configuring glibc
3603 # with a fresh cross-compiler works.
3604 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3605 # <limits.h> exists even on freestanding compilers.
3606 # On the NeXT, cc -E runs the code through the compiler's parser,
3607 # not just through cpp. "Syntax error" is here to catch this case.
3608 cat >conftest.$ac_ext <<_ACEOF
3611 cat confdefs.h >>conftest.$ac_ext
3612 cat >>conftest.$ac_ext <<_ACEOF
3613 /* end confdefs.h. */
3615 # include <limits.h>
3617 # include <assert.h>
3621 if { (ac_try="$ac_cpp conftest.$ac_ext"
3623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3624 *) ac_try_echo=$ac_try;;
3626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3627 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3629 grep -v '^ *+' conftest.er1 >conftest.err
3631 cat conftest.err >&5
3632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3633 (exit $ac_status); } >/dev/null; then
3634 if test -s conftest.err; then
3635 ac_cpp_err=$ac_c_preproc_warn_flag
3636 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3643 if test -z "$ac_cpp_err"; then
3646 echo "$as_me: failed program was:" >&5
3647 sed 's/^/| /' conftest.$ac_ext >&5
3649 # Broken: fails on valid input.
3653 rm -f conftest.err conftest.$ac_ext
3655 # OK, works on sane cases. Now check whether nonexistent headers
3656 # can be detected and how.
3657 cat >conftest.$ac_ext <<_ACEOF
3660 cat confdefs.h >>conftest.$ac_ext
3661 cat >>conftest.$ac_ext <<_ACEOF
3662 /* end confdefs.h. */
3663 #include <ac_nonexistent.h>
3665 if { (ac_try="$ac_cpp conftest.$ac_ext"
3667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3668 *) ac_try_echo=$ac_try;;
3670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3671 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3673 grep -v '^ *+' conftest.er1 >conftest.err
3675 cat conftest.err >&5
3676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3677 (exit $ac_status); } >/dev/null; then
3678 if test -s conftest.err; then
3679 ac_cpp_err=$ac_c_preproc_warn_flag
3680 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3687 if test -z "$ac_cpp_err"; then
3688 # Broken: success on invalid input.
3691 echo "$as_me: failed program was:" >&5
3692 sed 's/^/| /' conftest.$ac_ext >&5
3694 # Passes both tests.
3699 rm -f conftest.err conftest.$ac_ext
3702 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3703 rm -f conftest.err conftest.$ac_ext
3704 if $ac_preproc_ok; then
3716 { echo "$as_me:$LINENO: result: $CPP" >&5
3717 echo "${ECHO_T}$CPP" >&6; }
3719 for ac_c_preproc_warn_flag in '' yes
3721 # Use a header file that comes with gcc, so configuring glibc
3722 # with a fresh cross-compiler works.
3723 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3724 # <limits.h> exists even on freestanding compilers.
3725 # On the NeXT, cc -E runs the code through the compiler's parser,
3726 # not just through cpp. "Syntax error" is here to catch this case.
3727 cat >conftest.$ac_ext <<_ACEOF
3730 cat confdefs.h >>conftest.$ac_ext
3731 cat >>conftest.$ac_ext <<_ACEOF
3732 /* end confdefs.h. */
3734 # include <limits.h>
3736 # include <assert.h>
3740 if { (ac_try="$ac_cpp conftest.$ac_ext"
3742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3743 *) ac_try_echo=$ac_try;;
3745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3746 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3748 grep -v '^ *+' conftest.er1 >conftest.err
3750 cat conftest.err >&5
3751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3752 (exit $ac_status); } >/dev/null; then
3753 if test -s conftest.err; then
3754 ac_cpp_err=$ac_c_preproc_warn_flag
3755 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3762 if test -z "$ac_cpp_err"; then
3765 echo "$as_me: failed program was:" >&5
3766 sed 's/^/| /' conftest.$ac_ext >&5
3768 # Broken: fails on valid input.
3772 rm -f conftest.err conftest.$ac_ext
3774 # OK, works on sane cases. Now check whether nonexistent headers
3775 # can be detected and how.
3776 cat >conftest.$ac_ext <<_ACEOF
3779 cat confdefs.h >>conftest.$ac_ext
3780 cat >>conftest.$ac_ext <<_ACEOF
3781 /* end confdefs.h. */
3782 #include <ac_nonexistent.h>
3784 if { (ac_try="$ac_cpp conftest.$ac_ext"
3786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3787 *) ac_try_echo=$ac_try;;
3789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3790 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3792 grep -v '^ *+' conftest.er1 >conftest.err
3794 cat conftest.err >&5
3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796 (exit $ac_status); } >/dev/null; then
3797 if test -s conftest.err; then
3798 ac_cpp_err=$ac_c_preproc_warn_flag
3799 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3806 if test -z "$ac_cpp_err"; then
3807 # Broken: success on invalid input.
3810 echo "$as_me: failed program was:" >&5
3811 sed 's/^/| /' conftest.$ac_ext >&5
3813 # Passes both tests.
3818 rm -f conftest.err conftest.$ac_ext
3821 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3822 rm -f conftest.err conftest.$ac_ext
3823 if $ac_preproc_ok; then
3826 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3827 See \`config.log' for more details." >&5
3828 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3829 See \`config.log' for more details." >&2;}
3830 { (exit 1); exit 1; }; }
3834 ac_cpp='$CPP $CPPFLAGS'
3835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3840 { echo "$as_me:$LINENO: checking for X" >&5
3841 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3844 # Check whether --with-x was given.
3845 if test "${with_x+set}" = set; then
3849 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3850 if test "x$with_x" = xno; then
3851 # The user explicitly disabled X.
3854 case $x_includes,$x_libraries in #(
3855 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3856 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3857 { (exit 1); exit 1; }; };; #(
3858 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3859 echo $ECHO_N "(cached) $ECHO_C" >&6
3861 # One or both of the vars are not set, and there is no cached value.
3862 ac_x_includes=no ac_x_libraries=no
3863 rm -f -r conftest.dir
3864 if mkdir conftest.dir; then
3866 cat >Imakefile <<'_ACEOF'
3868 @echo incroot='${INCROOT}'
3870 @echo usrlibdir='${USRLIBDIR}'
3872 @echo libdir='${LIBDIR}'
3874 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3875 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3876 for ac_var in incroot usrlibdir libdir; do
3877 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3879 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3880 for ac_extension in a so sl; do
3881 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3882 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3883 ac_im_usrlibdir=$ac_im_libdir; break
3886 # Screen out bogus values from the imake configuration. They are
3887 # bogus both because they are the default anyway, and because
3888 # using them would break gcc on systems where it needs fixed includes.
3889 case $ac_im_incroot in
3890 /usr/include) ac_x_includes= ;;
3891 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3893 case $ac_im_usrlibdir in
3895 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3899 rm -f -r conftest.dir
3902 # Standard set of common directories for X headers.
3903 # Check X11 before X11Rn because it is often a symlink to the current release.
3915 /usr/local/X11/include
3916 /usr/local/X11R6/include
3917 /usr/local/X11R5/include
3918 /usr/local/X11R4/include
3920 /usr/local/include/X11
3921 /usr/local/include/X11R6
3922 /usr/local/include/X11R5
3923 /usr/local/include/X11R4
3927 /usr/XFree86/include/X11
3931 /usr/unsupported/include
3933 /usr/local/x11r5/include
3934 /usr/lpp/Xamples/include
3936 /usr/openwin/include
3937 /usr/openwin/share/include'
3939 if test "$ac_x_includes" = no; then
3940 # Guess where to find include files, by looking for Xlib.h.
3941 # First, try using that file with no special directory specified.
3942 cat >conftest.$ac_ext <<_ACEOF
3945 cat confdefs.h >>conftest.$ac_ext
3946 cat >>conftest.$ac_ext <<_ACEOF
3947 /* end confdefs.h. */
3948 #include <X11/Xlib.h>
3950 if { (ac_try="$ac_cpp conftest.$ac_ext"
3952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3953 *) ac_try_echo=$ac_try;;
3955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3956 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3958 grep -v '^ *+' conftest.er1 >conftest.err
3960 cat conftest.err >&5
3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3962 (exit $ac_status); } >/dev/null; then
3963 if test -s conftest.err; then
3964 ac_cpp_err=$ac_c_preproc_warn_flag
3965 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3972 if test -z "$ac_cpp_err"; then
3973 # We can compile using X headers with no special include directory.
3976 echo "$as_me: failed program was:" >&5
3977 sed 's/^/| /' conftest.$ac_ext >&5
3979 for ac_dir in $ac_x_header_dirs; do
3980 if test -r "$ac_dir/X11/Xlib.h"; then
3981 ac_x_includes=$ac_dir
3987 rm -f conftest.err conftest.$ac_ext
3988 fi # $ac_x_includes = no
3990 if test "$ac_x_libraries" = no; then
3991 # Check for the libraries.
3992 # See if we find them without any special options.
3993 # Don't add to $LIBS permanently.
3996 cat >conftest.$ac_ext <<_ACEOF
3999 cat confdefs.h >>conftest.$ac_ext
4000 cat >>conftest.$ac_ext <<_ACEOF
4001 /* end confdefs.h. */
4002 #include <X11/Xlib.h>
4011 rm -f conftest.$ac_objext conftest$ac_exeext
4012 if { (ac_try="$ac_link"
4014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4015 *) ac_try_echo=$ac_try;;
4017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4018 (eval "$ac_link") 2>conftest.er1
4020 grep -v '^ *+' conftest.er1 >conftest.err
4022 cat conftest.err >&5
4023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024 (exit $ac_status); } &&
4025 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4026 { (case "(($ac_try" in
4027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4028 *) ac_try_echo=$ac_try;;
4030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4031 (eval "$ac_try") 2>&5
4033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4034 (exit $ac_status); }; } &&
4035 { ac_try='test -s conftest$ac_exeext'
4036 { (case "(($ac_try" in
4037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4038 *) ac_try_echo=$ac_try;;
4040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4041 (eval "$ac_try") 2>&5
4043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4044 (exit $ac_status); }; }; then
4046 # We can link X programs with no special library path.
4049 echo "$as_me: failed program was:" >&5
4050 sed 's/^/| /' conftest.$ac_ext >&5
4053 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4055 # Don't even attempt the hair of trying to link an X program!
4056 for ac_extension in a so sl; do
4057 if test -r "$ac_dir/libX11.$ac_extension"; then
4058 ac_x_libraries=$ac_dir
4065 rm -f core conftest.err conftest.$ac_objext \
4066 conftest$ac_exeext conftest.$ac_ext
4067 fi # $ac_x_libraries = no
4069 case $ac_x_includes,$ac_x_libraries in #(
4071 # Didn't find X, or a directory has "'" in its name.
4072 ac_cv_have_x="have_x=no";; #(
4074 # Record where we found X for the cache.
4075 ac_cv_have_x="have_x=yes\
4076 ac_x_includes='$ac_x_includes'\
4077 ac_x_libraries='$ac_x_libraries'"
4083 eval "$ac_cv_have_x"
4086 if test "$have_x" != yes; then
4087 { echo "$as_me:$LINENO: result: $have_x" >&5
4088 echo "${ECHO_T}$have_x" >&6; }
4091 # If each of the values was on the command line, it overrides each guess.
4092 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4093 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4094 # Update the cache value to reflect the command line values.
4095 ac_cv_have_x="have_x=yes\
4096 ac_x_includes='$x_includes'\
4097 ac_x_libraries='$x_libraries'"
4098 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4099 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4102 if test "$no_x" = yes; then
4103 # Not all programs may use this symbol, but it does not hurt to define it.
4105 cat >>confdefs.h <<\_ACEOF
4106 #define X_DISPLAY_MISSING 1
4109 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4111 if test -n "$x_includes"; then
4112 X_CFLAGS="$X_CFLAGS -I$x_includes"
4115 # It would also be nice to do this for all -L options, not just this one.
4116 if test -n "$x_libraries"; then
4117 X_LIBS="$X_LIBS -L$x_libraries"
4118 # For Solaris; some versions of Sun CC require a space after -R and
4119 # others require no space. Words are not sufficient . . . .
4120 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4121 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4122 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4123 ac_xsave_c_werror_flag=$ac_c_werror_flag
4124 ac_c_werror_flag=yes
4125 cat >conftest.$ac_ext <<_ACEOF
4128 cat confdefs.h >>conftest.$ac_ext
4129 cat >>conftest.$ac_ext <<_ACEOF
4130 /* end confdefs.h. */
4140 rm -f conftest.$ac_objext conftest$ac_exeext
4141 if { (ac_try="$ac_link"
4143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4144 *) ac_try_echo=$ac_try;;
4146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4147 (eval "$ac_link") 2>conftest.er1
4149 grep -v '^ *+' conftest.er1 >conftest.err
4151 cat conftest.err >&5
4152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4153 (exit $ac_status); } &&
4154 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4155 { (case "(($ac_try" in
4156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4157 *) ac_try_echo=$ac_try;;
4159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4160 (eval "$ac_try") 2>&5
4162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4163 (exit $ac_status); }; } &&
4164 { ac_try='test -s conftest$ac_exeext'
4165 { (case "(($ac_try" in
4166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4167 *) ac_try_echo=$ac_try;;
4169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4170 (eval "$ac_try") 2>&5
4172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4173 (exit $ac_status); }; }; then
4174 { echo "$as_me:$LINENO: result: no" >&5
4175 echo "${ECHO_T}no" >&6; }
4176 X_LIBS="$X_LIBS -R$x_libraries"
4178 echo "$as_me: failed program was:" >&5
4179 sed 's/^/| /' conftest.$ac_ext >&5
4181 LIBS="$ac_xsave_LIBS -R $x_libraries"
4182 cat >conftest.$ac_ext <<_ACEOF
4185 cat confdefs.h >>conftest.$ac_ext
4186 cat >>conftest.$ac_ext <<_ACEOF
4187 /* end confdefs.h. */
4197 rm -f conftest.$ac_objext conftest$ac_exeext
4198 if { (ac_try="$ac_link"
4200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4201 *) ac_try_echo=$ac_try;;
4203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4204 (eval "$ac_link") 2>conftest.er1
4206 grep -v '^ *+' conftest.er1 >conftest.err
4208 cat conftest.err >&5
4209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4210 (exit $ac_status); } &&
4211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4212 { (case "(($ac_try" in
4213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4214 *) ac_try_echo=$ac_try;;
4216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4217 (eval "$ac_try") 2>&5
4219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4220 (exit $ac_status); }; } &&
4221 { ac_try='test -s conftest$ac_exeext'
4222 { (case "(($ac_try" in
4223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4224 *) ac_try_echo=$ac_try;;
4226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4227 (eval "$ac_try") 2>&5
4229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4230 (exit $ac_status); }; }; then
4231 { echo "$as_me:$LINENO: result: yes" >&5
4232 echo "${ECHO_T}yes" >&6; }
4233 X_LIBS="$X_LIBS -R $x_libraries"
4235 echo "$as_me: failed program was:" >&5
4236 sed 's/^/| /' conftest.$ac_ext >&5
4238 { echo "$as_me:$LINENO: result: neither works" >&5
4239 echo "${ECHO_T}neither works" >&6; }
4242 rm -f core conftest.err conftest.$ac_objext \
4243 conftest$ac_exeext conftest.$ac_ext
4246 rm -f core conftest.err conftest.$ac_objext \
4247 conftest$ac_exeext conftest.$ac_ext
4248 ac_c_werror_flag=$ac_xsave_c_werror_flag
4252 # Check for system-dependent libraries X programs must link with.
4253 # Do this before checking for the system-independent R6 libraries
4254 # (-lICE), since we may need -lsocket or whatever for X linking.
4256 if test "$ISC" = yes; then
4257 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4259 # Martyn Johnson says this is needed for Ultrix, if the X
4260 # libraries were built with DECnet support. And Karl Berry says
4261 # the Alpha needs dnet_stub (dnet does not exist).
4262 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4263 cat >conftest.$ac_ext <<_ACEOF
4266 cat confdefs.h >>conftest.$ac_ext
4267 cat >>conftest.$ac_ext <<_ACEOF
4268 /* end confdefs.h. */
4270 /* Override any GCC internal prototype to avoid an error.
4271 Use char because int might match the return type of a GCC
4272 builtin and then its argument prototype would still apply. */
4276 char XOpenDisplay ();
4280 return XOpenDisplay ();
4285 rm -f conftest.$ac_objext conftest$ac_exeext
4286 if { (ac_try="$ac_link"
4288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4289 *) ac_try_echo=$ac_try;;
4291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4292 (eval "$ac_link") 2>conftest.er1
4294 grep -v '^ *+' conftest.er1 >conftest.err
4296 cat conftest.err >&5
4297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4298 (exit $ac_status); } &&
4299 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4300 { (case "(($ac_try" in
4301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4302 *) ac_try_echo=$ac_try;;
4304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4305 (eval "$ac_try") 2>&5
4307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4308 (exit $ac_status); }; } &&
4309 { ac_try='test -s conftest$ac_exeext'
4310 { (case "(($ac_try" in
4311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4312 *) ac_try_echo=$ac_try;;
4314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4315 (eval "$ac_try") 2>&5
4317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4318 (exit $ac_status); }; }; then
4321 echo "$as_me: failed program was:" >&5
4322 sed 's/^/| /' conftest.$ac_ext >&5
4324 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4325 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4326 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4327 echo $ECHO_N "(cached) $ECHO_C" >&6
4329 ac_check_lib_save_LIBS=$LIBS
4331 cat >conftest.$ac_ext <<_ACEOF
4334 cat confdefs.h >>conftest.$ac_ext
4335 cat >>conftest.$ac_ext <<_ACEOF
4336 /* end confdefs.h. */
4338 /* Override any GCC internal prototype to avoid an error.
4339 Use char because int might match the return type of a GCC
4340 builtin and then its argument prototype would still apply. */
4348 return dnet_ntoa ();
4353 rm -f conftest.$ac_objext conftest$ac_exeext
4354 if { (ac_try="$ac_link"
4356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4357 *) ac_try_echo=$ac_try;;
4359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4360 (eval "$ac_link") 2>conftest.er1
4362 grep -v '^ *+' conftest.er1 >conftest.err
4364 cat conftest.err >&5
4365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366 (exit $ac_status); } &&
4367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4368 { (case "(($ac_try" in
4369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4370 *) ac_try_echo=$ac_try;;
4372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4373 (eval "$ac_try") 2>&5
4375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376 (exit $ac_status); }; } &&
4377 { ac_try='test -s conftest$ac_exeext'
4378 { (case "(($ac_try" in
4379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4380 *) ac_try_echo=$ac_try;;
4382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4383 (eval "$ac_try") 2>&5
4385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4386 (exit $ac_status); }; }; then
4387 ac_cv_lib_dnet_dnet_ntoa=yes
4389 echo "$as_me: failed program was:" >&5
4390 sed 's/^/| /' conftest.$ac_ext >&5
4392 ac_cv_lib_dnet_dnet_ntoa=no
4395 rm -f core conftest.err conftest.$ac_objext \
4396 conftest$ac_exeext conftest.$ac_ext
4397 LIBS=$ac_check_lib_save_LIBS
4399 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4400 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4401 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4402 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4405 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4406 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4407 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4408 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4409 echo $ECHO_N "(cached) $ECHO_C" >&6
4411 ac_check_lib_save_LIBS=$LIBS
4412 LIBS="-ldnet_stub $LIBS"
4413 cat >conftest.$ac_ext <<_ACEOF
4416 cat confdefs.h >>conftest.$ac_ext
4417 cat >>conftest.$ac_ext <<_ACEOF
4418 /* end confdefs.h. */
4420 /* Override any GCC internal prototype to avoid an error.
4421 Use char because int might match the return type of a GCC
4422 builtin and then its argument prototype would still apply. */
4430 return dnet_ntoa ();
4435 rm -f conftest.$ac_objext conftest$ac_exeext
4436 if { (ac_try="$ac_link"
4438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4439 *) ac_try_echo=$ac_try;;
4441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4442 (eval "$ac_link") 2>conftest.er1
4444 grep -v '^ *+' conftest.er1 >conftest.err
4446 cat conftest.err >&5
4447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4448 (exit $ac_status); } &&
4449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4450 { (case "(($ac_try" in
4451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4452 *) ac_try_echo=$ac_try;;
4454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4455 (eval "$ac_try") 2>&5
4457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458 (exit $ac_status); }; } &&
4459 { ac_try='test -s conftest$ac_exeext'
4460 { (case "(($ac_try" in
4461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4462 *) ac_try_echo=$ac_try;;
4464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4465 (eval "$ac_try") 2>&5
4467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468 (exit $ac_status); }; }; then
4469 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4471 echo "$as_me: failed program was:" >&5
4472 sed 's/^/| /' conftest.$ac_ext >&5
4474 ac_cv_lib_dnet_stub_dnet_ntoa=no
4477 rm -f core conftest.err conftest.$ac_objext \
4478 conftest$ac_exeext conftest.$ac_ext
4479 LIBS=$ac_check_lib_save_LIBS
4481 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4482 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4483 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4484 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4490 rm -f core conftest.err conftest.$ac_objext \
4491 conftest$ac_exeext conftest.$ac_ext
4492 LIBS="$ac_xsave_LIBS"
4494 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4495 # to get the SysV transport functions.
4496 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4498 # The nsl library prevents programs from opening the X display
4499 # on Irix 5.2, according to T.E. Dickey.
4500 # The functions gethostbyname, getservbyname, and inet_addr are
4501 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4502 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4503 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4504 if test "${ac_cv_func_gethostbyname+set}" = set; then
4505 echo $ECHO_N "(cached) $ECHO_C" >&6
4507 cat >conftest.$ac_ext <<_ACEOF
4510 cat confdefs.h >>conftest.$ac_ext
4511 cat >>conftest.$ac_ext <<_ACEOF
4512 /* end confdefs.h. */
4513 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4515 #define gethostbyname innocuous_gethostbyname
4517 /* System header to define __stub macros and hopefully few prototypes,
4518 which can conflict with char gethostbyname (); below.
4519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4520 <limits.h> exists even on freestanding compilers. */
4523 # include <limits.h>
4525 # include <assert.h>
4528 #undef gethostbyname
4530 /* Override any GCC internal prototype to avoid an error.
4531 Use char because int might match the return type of a GCC
4532 builtin and then its argument prototype would still apply. */
4536 char gethostbyname ();
4537 /* The GNU C library defines this for functions which it implements
4538 to always fail with ENOSYS. Some functions are actually named
4539 something starting with __ and the normal name is an alias. */
4540 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4547 return gethostbyname ();
4552 rm -f conftest.$ac_objext conftest$ac_exeext
4553 if { (ac_try="$ac_link"
4555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4556 *) ac_try_echo=$ac_try;;
4558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4559 (eval "$ac_link") 2>conftest.er1
4561 grep -v '^ *+' conftest.er1 >conftest.err
4563 cat conftest.err >&5
4564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4565 (exit $ac_status); } &&
4566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4567 { (case "(($ac_try" in
4568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4569 *) ac_try_echo=$ac_try;;
4571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4572 (eval "$ac_try") 2>&5
4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 (exit $ac_status); }; } &&
4576 { ac_try='test -s conftest$ac_exeext'
4577 { (case "(($ac_try" in
4578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4579 *) ac_try_echo=$ac_try;;
4581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4582 (eval "$ac_try") 2>&5
4584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4585 (exit $ac_status); }; }; then
4586 ac_cv_func_gethostbyname=yes
4588 echo "$as_me: failed program was:" >&5
4589 sed 's/^/| /' conftest.$ac_ext >&5
4591 ac_cv_func_gethostbyname=no
4594 rm -f core conftest.err conftest.$ac_objext \
4595 conftest$ac_exeext conftest.$ac_ext
4597 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4598 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4600 if test $ac_cv_func_gethostbyname = no; then
4601 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4602 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4603 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4604 echo $ECHO_N "(cached) $ECHO_C" >&6
4606 ac_check_lib_save_LIBS=$LIBS
4608 cat >conftest.$ac_ext <<_ACEOF
4611 cat confdefs.h >>conftest.$ac_ext
4612 cat >>conftest.$ac_ext <<_ACEOF
4613 /* end confdefs.h. */
4615 /* Override any GCC internal prototype to avoid an error.
4616 Use char because int might match the return type of a GCC
4617 builtin and then its argument prototype would still apply. */
4621 char gethostbyname ();
4625 return gethostbyname ();
4630 rm -f conftest.$ac_objext conftest$ac_exeext
4631 if { (ac_try="$ac_link"
4633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4634 *) ac_try_echo=$ac_try;;
4636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4637 (eval "$ac_link") 2>conftest.er1
4639 grep -v '^ *+' conftest.er1 >conftest.err
4641 cat conftest.err >&5
4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643 (exit $ac_status); } &&
4644 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4645 { (case "(($ac_try" in
4646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4647 *) ac_try_echo=$ac_try;;
4649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4650 (eval "$ac_try") 2>&5
4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653 (exit $ac_status); }; } &&
4654 { ac_try='test -s conftest$ac_exeext'
4655 { (case "(($ac_try" in
4656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4657 *) ac_try_echo=$ac_try;;
4659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4660 (eval "$ac_try") 2>&5
4662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663 (exit $ac_status); }; }; then
4664 ac_cv_lib_nsl_gethostbyname=yes
4666 echo "$as_me: failed program was:" >&5
4667 sed 's/^/| /' conftest.$ac_ext >&5
4669 ac_cv_lib_nsl_gethostbyname=no
4672 rm -f core conftest.err conftest.$ac_objext \
4673 conftest$ac_exeext conftest.$ac_ext
4674 LIBS=$ac_check_lib_save_LIBS
4676 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4677 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4678 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4679 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4682 if test $ac_cv_lib_nsl_gethostbyname = no; then
4683 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4684 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4685 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4686 echo $ECHO_N "(cached) $ECHO_C" >&6
4688 ac_check_lib_save_LIBS=$LIBS
4690 cat >conftest.$ac_ext <<_ACEOF
4693 cat confdefs.h >>conftest.$ac_ext
4694 cat >>conftest.$ac_ext <<_ACEOF
4695 /* end confdefs.h. */
4697 /* Override any GCC internal prototype to avoid an error.
4698 Use char because int might match the return type of a GCC
4699 builtin and then its argument prototype would still apply. */
4703 char gethostbyname ();
4707 return gethostbyname ();
4712 rm -f conftest.$ac_objext conftest$ac_exeext
4713 if { (ac_try="$ac_link"
4715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4716 *) ac_try_echo=$ac_try;;
4718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4719 (eval "$ac_link") 2>conftest.er1
4721 grep -v '^ *+' conftest.er1 >conftest.err
4723 cat conftest.err >&5
4724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4725 (exit $ac_status); } &&
4726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4727 { (case "(($ac_try" in
4728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4729 *) ac_try_echo=$ac_try;;
4731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4732 (eval "$ac_try") 2>&5
4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735 (exit $ac_status); }; } &&
4736 { ac_try='test -s conftest$ac_exeext'
4737 { (case "(($ac_try" in
4738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4739 *) ac_try_echo=$ac_try;;
4741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4742 (eval "$ac_try") 2>&5
4744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745 (exit $ac_status); }; }; then
4746 ac_cv_lib_bsd_gethostbyname=yes
4748 echo "$as_me: failed program was:" >&5
4749 sed 's/^/| /' conftest.$ac_ext >&5
4751 ac_cv_lib_bsd_gethostbyname=no
4754 rm -f core conftest.err conftest.$ac_objext \
4755 conftest$ac_exeext conftest.$ac_ext
4756 LIBS=$ac_check_lib_save_LIBS
4758 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4759 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4760 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4761 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4767 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4768 # socket/setsockopt and other routines are undefined under SCO ODT
4769 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4770 # on later versions), says Simon Leinen: it contains gethostby*
4771 # variants that don't use the name server (or something). -lsocket
4772 # must be given before -lnsl if both are needed. We assume that
4773 # if connect needs -lnsl, so does gethostbyname.
4774 { echo "$as_me:$LINENO: checking for connect" >&5
4775 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4776 if test "${ac_cv_func_connect+set}" = set; then
4777 echo $ECHO_N "(cached) $ECHO_C" >&6
4779 cat >conftest.$ac_ext <<_ACEOF
4782 cat confdefs.h >>conftest.$ac_ext
4783 cat >>conftest.$ac_ext <<_ACEOF
4784 /* end confdefs.h. */
4785 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4787 #define connect innocuous_connect
4789 /* System header to define __stub macros and hopefully few prototypes,
4790 which can conflict with char connect (); below.
4791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4792 <limits.h> exists even on freestanding compilers. */
4795 # include <limits.h>
4797 # include <assert.h>
4802 /* Override any GCC internal prototype to avoid an error.
4803 Use char because int might match the return type of a GCC
4804 builtin and then its argument prototype would still apply. */
4809 /* The GNU C library defines this for functions which it implements
4810 to always fail with ENOSYS. Some functions are actually named
4811 something starting with __ and the normal name is an alias. */
4812 #if defined __stub_connect || defined __stub___connect
4824 rm -f conftest.$ac_objext conftest$ac_exeext
4825 if { (ac_try="$ac_link"
4827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4828 *) ac_try_echo=$ac_try;;
4830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4831 (eval "$ac_link") 2>conftest.er1
4833 grep -v '^ *+' conftest.er1 >conftest.err
4835 cat conftest.err >&5
4836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4837 (exit $ac_status); } &&
4838 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4839 { (case "(($ac_try" in
4840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4841 *) ac_try_echo=$ac_try;;
4843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4844 (eval "$ac_try") 2>&5
4846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4847 (exit $ac_status); }; } &&
4848 { ac_try='test -s conftest$ac_exeext'
4849 { (case "(($ac_try" in
4850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4851 *) ac_try_echo=$ac_try;;
4853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4854 (eval "$ac_try") 2>&5
4856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4857 (exit $ac_status); }; }; then
4858 ac_cv_func_connect=yes
4860 echo "$as_me: failed program was:" >&5
4861 sed 's/^/| /' conftest.$ac_ext >&5
4863 ac_cv_func_connect=no
4866 rm -f core conftest.err conftest.$ac_objext \
4867 conftest$ac_exeext conftest.$ac_ext
4869 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4870 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4872 if test $ac_cv_func_connect = no; then
4873 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4874 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4875 if test "${ac_cv_lib_socket_connect+set}" = set; then
4876 echo $ECHO_N "(cached) $ECHO_C" >&6
4878 ac_check_lib_save_LIBS=$LIBS
4879 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4880 cat >conftest.$ac_ext <<_ACEOF
4883 cat confdefs.h >>conftest.$ac_ext
4884 cat >>conftest.$ac_ext <<_ACEOF
4885 /* end confdefs.h. */
4887 /* Override any GCC internal prototype to avoid an error.
4888 Use char because int might match the return type of a GCC
4889 builtin and then its argument prototype would still apply. */
4902 rm -f conftest.$ac_objext conftest$ac_exeext
4903 if { (ac_try="$ac_link"
4905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4906 *) ac_try_echo=$ac_try;;
4908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4909 (eval "$ac_link") 2>conftest.er1
4911 grep -v '^ *+' conftest.er1 >conftest.err
4913 cat conftest.err >&5
4914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4915 (exit $ac_status); } &&
4916 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4917 { (case "(($ac_try" in
4918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4919 *) ac_try_echo=$ac_try;;
4921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4922 (eval "$ac_try") 2>&5
4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925 (exit $ac_status); }; } &&
4926 { ac_try='test -s conftest$ac_exeext'
4927 { (case "(($ac_try" in
4928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4929 *) ac_try_echo=$ac_try;;
4931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4932 (eval "$ac_try") 2>&5
4934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); }; }; then
4936 ac_cv_lib_socket_connect=yes
4938 echo "$as_me: failed program was:" >&5
4939 sed 's/^/| /' conftest.$ac_ext >&5
4941 ac_cv_lib_socket_connect=no
4944 rm -f core conftest.err conftest.$ac_objext \
4945 conftest$ac_exeext conftest.$ac_ext
4946 LIBS=$ac_check_lib_save_LIBS
4948 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4949 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4950 if test $ac_cv_lib_socket_connect = yes; then
4951 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4956 # Guillermo Gomez says -lposix is necessary on A/UX.
4957 { echo "$as_me:$LINENO: checking for remove" >&5
4958 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4959 if test "${ac_cv_func_remove+set}" = set; then
4960 echo $ECHO_N "(cached) $ECHO_C" >&6
4962 cat >conftest.$ac_ext <<_ACEOF
4965 cat confdefs.h >>conftest.$ac_ext
4966 cat >>conftest.$ac_ext <<_ACEOF
4967 /* end confdefs.h. */
4968 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4970 #define remove innocuous_remove
4972 /* System header to define __stub macros and hopefully few prototypes,
4973 which can conflict with char remove (); below.
4974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4975 <limits.h> exists even on freestanding compilers. */
4978 # include <limits.h>
4980 # include <assert.h>
4985 /* Override any GCC internal prototype to avoid an error.
4986 Use char because int might match the return type of a GCC
4987 builtin and then its argument prototype would still apply. */
4992 /* The GNU C library defines this for functions which it implements
4993 to always fail with ENOSYS. Some functions are actually named
4994 something starting with __ and the normal name is an alias. */
4995 #if defined __stub_remove || defined __stub___remove
5007 rm -f conftest.$ac_objext conftest$ac_exeext
5008 if { (ac_try="$ac_link"
5010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5011 *) ac_try_echo=$ac_try;;
5013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5014 (eval "$ac_link") 2>conftest.er1
5016 grep -v '^ *+' conftest.er1 >conftest.err
5018 cat conftest.err >&5
5019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020 (exit $ac_status); } &&
5021 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5022 { (case "(($ac_try" in
5023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5024 *) ac_try_echo=$ac_try;;
5026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5027 (eval "$ac_try") 2>&5
5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); }; } &&
5031 { ac_try='test -s conftest$ac_exeext'
5032 { (case "(($ac_try" in
5033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5034 *) ac_try_echo=$ac_try;;
5036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5037 (eval "$ac_try") 2>&5
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); }; }; then
5041 ac_cv_func_remove=yes
5043 echo "$as_me: failed program was:" >&5
5044 sed 's/^/| /' conftest.$ac_ext >&5
5046 ac_cv_func_remove=no
5049 rm -f core conftest.err conftest.$ac_objext \
5050 conftest$ac_exeext conftest.$ac_ext
5052 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5053 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
5055 if test $ac_cv_func_remove = no; then
5056 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5057 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
5058 if test "${ac_cv_lib_posix_remove+set}" = set; then
5059 echo $ECHO_N "(cached) $ECHO_C" >&6
5061 ac_check_lib_save_LIBS=$LIBS
5062 LIBS="-lposix $LIBS"
5063 cat >conftest.$ac_ext <<_ACEOF
5066 cat confdefs.h >>conftest.$ac_ext
5067 cat >>conftest.$ac_ext <<_ACEOF
5068 /* end confdefs.h. */
5070 /* Override any GCC internal prototype to avoid an error.
5071 Use char because int might match the return type of a GCC
5072 builtin and then its argument prototype would still apply. */
5085 rm -f conftest.$ac_objext conftest$ac_exeext
5086 if { (ac_try="$ac_link"
5088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5089 *) ac_try_echo=$ac_try;;
5091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5092 (eval "$ac_link") 2>conftest.er1
5094 grep -v '^ *+' conftest.er1 >conftest.err
5096 cat conftest.err >&5
5097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5098 (exit $ac_status); } &&
5099 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5100 { (case "(($ac_try" in
5101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5102 *) ac_try_echo=$ac_try;;
5104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5105 (eval "$ac_try") 2>&5
5107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108 (exit $ac_status); }; } &&
5109 { ac_try='test -s conftest$ac_exeext'
5110 { (case "(($ac_try" in
5111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5112 *) ac_try_echo=$ac_try;;
5114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5115 (eval "$ac_try") 2>&5
5117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118 (exit $ac_status); }; }; then
5119 ac_cv_lib_posix_remove=yes
5121 echo "$as_me: failed program was:" >&5
5122 sed 's/^/| /' conftest.$ac_ext >&5
5124 ac_cv_lib_posix_remove=no
5127 rm -f core conftest.err conftest.$ac_objext \
5128 conftest$ac_exeext conftest.$ac_ext
5129 LIBS=$ac_check_lib_save_LIBS
5131 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5132 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5133 if test $ac_cv_lib_posix_remove = yes; then
5134 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5139 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5140 { echo "$as_me:$LINENO: checking for shmat" >&5
5141 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5142 if test "${ac_cv_func_shmat+set}" = set; then
5143 echo $ECHO_N "(cached) $ECHO_C" >&6
5145 cat >conftest.$ac_ext <<_ACEOF
5148 cat confdefs.h >>conftest.$ac_ext
5149 cat >>conftest.$ac_ext <<_ACEOF
5150 /* end confdefs.h. */
5151 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5153 #define shmat innocuous_shmat
5155 /* System header to define __stub macros and hopefully few prototypes,
5156 which can conflict with char shmat (); below.
5157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5158 <limits.h> exists even on freestanding compilers. */
5161 # include <limits.h>
5163 # include <assert.h>
5168 /* Override any GCC internal prototype to avoid an error.
5169 Use char because int might match the return type of a GCC
5170 builtin and then its argument prototype would still apply. */
5175 /* The GNU C library defines this for functions which it implements
5176 to always fail with ENOSYS. Some functions are actually named
5177 something starting with __ and the normal name is an alias. */
5178 #if defined __stub_shmat || defined __stub___shmat
5190 rm -f conftest.$ac_objext conftest$ac_exeext
5191 if { (ac_try="$ac_link"
5193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5194 *) ac_try_echo=$ac_try;;
5196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5197 (eval "$ac_link") 2>conftest.er1
5199 grep -v '^ *+' conftest.er1 >conftest.err
5201 cat conftest.err >&5
5202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5203 (exit $ac_status); } &&
5204 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5205 { (case "(($ac_try" in
5206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5207 *) ac_try_echo=$ac_try;;
5209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5210 (eval "$ac_try") 2>&5
5212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5213 (exit $ac_status); }; } &&
5214 { ac_try='test -s conftest$ac_exeext'
5215 { (case "(($ac_try" in
5216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5217 *) ac_try_echo=$ac_try;;
5219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5220 (eval "$ac_try") 2>&5
5222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5223 (exit $ac_status); }; }; then
5224 ac_cv_func_shmat=yes
5226 echo "$as_me: failed program was:" >&5
5227 sed 's/^/| /' conftest.$ac_ext >&5
5232 rm -f core conftest.err conftest.$ac_objext \
5233 conftest$ac_exeext conftest.$ac_ext
5235 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5236 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5238 if test $ac_cv_func_shmat = no; then
5239 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5240 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5241 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5242 echo $ECHO_N "(cached) $ECHO_C" >&6
5244 ac_check_lib_save_LIBS=$LIBS
5246 cat >conftest.$ac_ext <<_ACEOF
5249 cat confdefs.h >>conftest.$ac_ext
5250 cat >>conftest.$ac_ext <<_ACEOF
5251 /* end confdefs.h. */
5253 /* Override any GCC internal prototype to avoid an error.
5254 Use char because int might match the return type of a GCC
5255 builtin and then its argument prototype would still apply. */
5268 rm -f conftest.$ac_objext conftest$ac_exeext
5269 if { (ac_try="$ac_link"
5271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5272 *) ac_try_echo=$ac_try;;
5274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5275 (eval "$ac_link") 2>conftest.er1
5277 grep -v '^ *+' conftest.er1 >conftest.err
5279 cat conftest.err >&5
5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); } &&
5282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5283 { (case "(($ac_try" in
5284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5285 *) ac_try_echo=$ac_try;;
5287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5288 (eval "$ac_try") 2>&5
5290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5291 (exit $ac_status); }; } &&
5292 { ac_try='test -s conftest$ac_exeext'
5293 { (case "(($ac_try" in
5294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5295 *) ac_try_echo=$ac_try;;
5297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5298 (eval "$ac_try") 2>&5
5300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5301 (exit $ac_status); }; }; then
5302 ac_cv_lib_ipc_shmat=yes
5304 echo "$as_me: failed program was:" >&5
5305 sed 's/^/| /' conftest.$ac_ext >&5
5307 ac_cv_lib_ipc_shmat=no
5310 rm -f core conftest.err conftest.$ac_objext \
5311 conftest$ac_exeext conftest.$ac_ext
5312 LIBS=$ac_check_lib_save_LIBS
5314 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5315 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5316 if test $ac_cv_lib_ipc_shmat = yes; then
5317 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5323 # Check for libraries that X11R6 Xt/Xaw programs need.
5324 ac_save_LDFLAGS=$LDFLAGS
5325 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5326 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5327 # check for ICE first), but we must link in the order -lSM -lICE or
5328 # we get undefined symbols. So assume we have SM if we have ICE.
5329 # These have to be linked with before -lX11, unlike the other
5330 # libraries we check for below, so use a different variable.
5331 # John Interrante, Karl Berry
5332 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5333 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5334 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5335 echo $ECHO_N "(cached) $ECHO_C" >&6
5337 ac_check_lib_save_LIBS=$LIBS
5338 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5339 cat >conftest.$ac_ext <<_ACEOF
5342 cat confdefs.h >>conftest.$ac_ext
5343 cat >>conftest.$ac_ext <<_ACEOF
5344 /* end confdefs.h. */
5346 /* Override any GCC internal prototype to avoid an error.
5347 Use char because int might match the return type of a GCC
5348 builtin and then its argument prototype would still apply. */
5352 char IceConnectionNumber ();
5356 return IceConnectionNumber ();
5361 rm -f conftest.$ac_objext conftest$ac_exeext
5362 if { (ac_try="$ac_link"
5364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5365 *) ac_try_echo=$ac_try;;
5367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5368 (eval "$ac_link") 2>conftest.er1
5370 grep -v '^ *+' conftest.er1 >conftest.err
5372 cat conftest.err >&5
5373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5374 (exit $ac_status); } &&
5375 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5376 { (case "(($ac_try" in
5377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5378 *) ac_try_echo=$ac_try;;
5380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5381 (eval "$ac_try") 2>&5
5383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5384 (exit $ac_status); }; } &&
5385 { ac_try='test -s conftest$ac_exeext'
5386 { (case "(($ac_try" in
5387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5388 *) ac_try_echo=$ac_try;;
5390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5391 (eval "$ac_try") 2>&5
5393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5394 (exit $ac_status); }; }; then
5395 ac_cv_lib_ICE_IceConnectionNumber=yes
5397 echo "$as_me: failed program was:" >&5
5398 sed 's/^/| /' conftest.$ac_ext >&5
5400 ac_cv_lib_ICE_IceConnectionNumber=no
5403 rm -f core conftest.err conftest.$ac_objext \
5404 conftest$ac_exeext conftest.$ac_ext
5405 LIBS=$ac_check_lib_save_LIBS
5407 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5408 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5409 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5410 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5413 LDFLAGS=$ac_save_LDFLAGS
5417 for ac_prog in flex lex
5419 # Extract the first word of "$ac_prog", so it can be a program name with args.
5420 set dummy $ac_prog; ac_word=$2
5421 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5423 if test "${ac_cv_prog_LEX+set}" = set; then
5424 echo $ECHO_N "(cached) $ECHO_C" >&6
5426 if test -n "$LEX"; then
5427 ac_cv_prog_LEX="$LEX" # Let the user override the test.
5429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5433 test -z "$as_dir" && as_dir=.
5434 for ac_exec_ext in '' $ac_executable_extensions; do
5435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5436 ac_cv_prog_LEX="$ac_prog"
5437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5447 if test -n "$LEX"; then
5448 { echo "$as_me:$LINENO: result: $LEX" >&5
5449 echo "${ECHO_T}$LEX" >&6; }
5451 { echo "$as_me:$LINENO: result: no" >&5
5452 echo "${ECHO_T}no" >&6; }
5456 test -n "$LEX" && break
5458 test -n "$LEX" || LEX=":"
5460 if test -z "$LEXLIB"
5462 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5463 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
5464 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5465 echo $ECHO_N "(cached) $ECHO_C" >&6
5467 ac_check_lib_save_LIBS=$LIBS
5469 cat >conftest.$ac_ext <<_ACEOF
5472 cat confdefs.h >>conftest.$ac_ext
5473 cat >>conftest.$ac_ext <<_ACEOF
5474 /* end confdefs.h. */
5476 /* Override any GCC internal prototype to avoid an error.
5477 Use char because int might match the return type of a GCC
5478 builtin and then its argument prototype would still apply. */
5491 rm -f conftest.$ac_objext conftest$ac_exeext
5492 if { (ac_try="$ac_link"
5494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5495 *) ac_try_echo=$ac_try;;
5497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5498 (eval "$ac_link") 2>conftest.er1
5500 grep -v '^ *+' conftest.er1 >conftest.err
5502 cat conftest.err >&5
5503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5504 (exit $ac_status); } &&
5505 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5506 { (case "(($ac_try" in
5507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5508 *) ac_try_echo=$ac_try;;
5510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5511 (eval "$ac_try") 2>&5
5513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514 (exit $ac_status); }; } &&
5515 { ac_try='test -s conftest$ac_exeext'
5516 { (case "(($ac_try" in
5517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5518 *) ac_try_echo=$ac_try;;
5520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5521 (eval "$ac_try") 2>&5
5523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524 (exit $ac_status); }; }; then
5525 ac_cv_lib_fl_yywrap=yes
5527 echo "$as_me: failed program was:" >&5
5528 sed 's/^/| /' conftest.$ac_ext >&5
5530 ac_cv_lib_fl_yywrap=no
5533 rm -f core conftest.err conftest.$ac_objext \
5534 conftest$ac_exeext conftest.$ac_ext
5535 LIBS=$ac_check_lib_save_LIBS
5537 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5538 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
5539 if test $ac_cv_lib_fl_yywrap = yes; then
5542 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5543 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
5544 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5545 echo $ECHO_N "(cached) $ECHO_C" >&6
5547 ac_check_lib_save_LIBS=$LIBS
5549 cat >conftest.$ac_ext <<_ACEOF
5552 cat confdefs.h >>conftest.$ac_ext
5553 cat >>conftest.$ac_ext <<_ACEOF
5554 /* end confdefs.h. */
5556 /* Override any GCC internal prototype to avoid an error.
5557 Use char because int might match the return type of a GCC
5558 builtin and then its argument prototype would still apply. */
5571 rm -f conftest.$ac_objext conftest$ac_exeext
5572 if { (ac_try="$ac_link"
5574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5575 *) ac_try_echo=$ac_try;;
5577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5578 (eval "$ac_link") 2>conftest.er1
5580 grep -v '^ *+' conftest.er1 >conftest.err
5582 cat conftest.err >&5
5583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5584 (exit $ac_status); } &&
5585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5586 { (case "(($ac_try" in
5587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5588 *) ac_try_echo=$ac_try;;
5590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5591 (eval "$ac_try") 2>&5
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); }; } &&
5595 { ac_try='test -s conftest$ac_exeext'
5596 { (case "(($ac_try" in
5597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5598 *) ac_try_echo=$ac_try;;
5600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5601 (eval "$ac_try") 2>&5
5603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5604 (exit $ac_status); }; }; then
5605 ac_cv_lib_l_yywrap=yes
5607 echo "$as_me: failed program was:" >&5
5608 sed 's/^/| /' conftest.$ac_ext >&5
5610 ac_cv_lib_l_yywrap=no
5613 rm -f core conftest.err conftest.$ac_objext \
5614 conftest$ac_exeext conftest.$ac_ext
5615 LIBS=$ac_check_lib_save_LIBS
5617 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5618 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
5619 if test $ac_cv_lib_l_yywrap = yes; then
5627 if test "x$LEX" != "x:"; then
5628 { echo "$as_me:$LINENO: checking lex output file root" >&5
5629 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5630 if test "${ac_cv_prog_lex_root+set}" = set; then
5631 echo $ECHO_N "(cached) $ECHO_C" >&6
5633 # The minimal lex program is just a single line: %%. But some broken lexes
5634 # (Solaris, I think it was) want two %% lines, so accommodate them.
5635 cat >conftest.l <<_ACEOF
5639 { (ac_try="$LEX conftest.l"
5641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5642 *) ac_try_echo=$ac_try;;
5644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5645 (eval "$LEX conftest.l") 2>&5
5647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648 (exit $ac_status); }
5649 if test -f lex.yy.c; then
5650 ac_cv_prog_lex_root=lex.yy
5651 elif test -f lexyy.c; then
5652 ac_cv_prog_lex_root=lexyy
5654 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5655 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5656 { (exit 1); exit 1; }; }
5659 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5660 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5662 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5664 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5665 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5666 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5667 echo $ECHO_N "(cached) $ECHO_C" >&6
5669 # POSIX says lex can declare yytext either as a pointer or an array; the
5670 # default is implementation-dependent. Figure out which it is, since
5671 # not all implementations provide the %pointer and %array declarations.
5672 ac_cv_prog_lex_yytext_pointer=no
5673 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5675 LIBS="$LIBS $LEXLIB"
5676 cat >conftest.$ac_ext <<_ACEOF
5677 `cat $LEX_OUTPUT_ROOT.c`
5679 rm -f conftest.$ac_objext conftest$ac_exeext
5680 if { (ac_try="$ac_link"
5682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5683 *) ac_try_echo=$ac_try;;
5685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5686 (eval "$ac_link") 2>conftest.er1
5688 grep -v '^ *+' conftest.er1 >conftest.err
5690 cat conftest.err >&5
5691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5692 (exit $ac_status); } &&
5693 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5694 { (case "(($ac_try" in
5695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5696 *) ac_try_echo=$ac_try;;
5698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5699 (eval "$ac_try") 2>&5
5701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5702 (exit $ac_status); }; } &&
5703 { ac_try='test -s conftest$ac_exeext'
5704 { (case "(($ac_try" in
5705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5706 *) ac_try_echo=$ac_try;;
5708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5709 (eval "$ac_try") 2>&5
5711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5712 (exit $ac_status); }; }; then
5713 ac_cv_prog_lex_yytext_pointer=yes
5715 echo "$as_me: failed program was:" >&5
5716 sed 's/^/| /' conftest.$ac_ext >&5
5721 rm -f core conftest.err conftest.$ac_objext \
5722 conftest$ac_exeext conftest.$ac_ext
5724 rm -f "${LEX_OUTPUT_ROOT}.c"
5727 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5728 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5729 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5731 cat >>confdefs.h <<\_ACEOF
5732 #define YYTEXT_POINTER 1
5739 for ac_prog in $LEX flex lex
5741 # Extract the first word of "$ac_prog", so it can be a program name with args.
5742 set dummy $ac_prog; ac_word=$2
5743 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5745 if test "${ac_cv_prog_XLEX+set}" = set; then
5746 echo $ECHO_N "(cached) $ECHO_C" >&6
5748 if test -n "$XLEX"; then
5749 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
5751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5755 test -z "$as_dir" && as_dir=.
5756 for ac_exec_ext in '' $ac_executable_extensions; do
5757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5758 ac_cv_prog_XLEX="$ac_prog"
5759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5768 XLEX=$ac_cv_prog_XLEX
5769 if test -n "$XLEX"; then
5770 { echo "$as_me:$LINENO: result: $XLEX" >&5
5771 echo "${ECHO_T}$XLEX" >&6; }
5773 { echo "$as_me:$LINENO: result: no" >&5
5774 echo "${ECHO_T}no" >&6; }
5778 test -n "$XLEX" && break
5780 test -n "$XLEX" || XLEX="none"
5782 if test "$XLEX" = "none"
5784 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5785 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5786 { (exit 1); exit 1; }; }
5789 for ac_prog in bison
5791 # Extract the first word of "$ac_prog", so it can be a program name with args.
5792 set dummy $ac_prog; ac_word=$2
5793 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5795 if test "${ac_cv_prog_BISON+set}" = set; then
5796 echo $ECHO_N "(cached) $ECHO_C" >&6
5798 if test -n "$BISON"; then
5799 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5805 test -z "$as_dir" && as_dir=.
5806 for ac_exec_ext in '' $ac_executable_extensions; do
5807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5808 ac_cv_prog_BISON="$ac_prog"
5809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5818 BISON=$ac_cv_prog_BISON
5819 if test -n "$BISON"; then
5820 { echo "$as_me:$LINENO: result: $BISON" >&5
5821 echo "${ECHO_T}$BISON" >&6; }
5823 { echo "$as_me:$LINENO: result: no" >&5
5824 echo "${ECHO_T}no" >&6; }
5828 test -n "$BISON" && break
5830 test -n "$BISON" || BISON="none"
5832 if test "$BISON" = "none"
5834 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5835 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5836 { (exit 1); exit 1; }; }
5839 if test -n "$ac_tool_prefix"; then
5840 for ac_prog in gas as
5842 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5843 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5844 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5846 if test "${ac_cv_prog_AS+set}" = set; then
5847 echo $ECHO_N "(cached) $ECHO_C" >&6
5849 if test -n "$AS"; then
5850 ac_cv_prog_AS="$AS" # Let the user override the test.
5852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5856 test -z "$as_dir" && as_dir=.
5857 for ac_exec_ext in '' $ac_executable_extensions; do
5858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5859 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5870 if test -n "$AS"; then
5871 { echo "$as_me:$LINENO: result: $AS" >&5
5872 echo "${ECHO_T}$AS" >&6; }
5874 { echo "$as_me:$LINENO: result: no" >&5
5875 echo "${ECHO_T}no" >&6; }
5879 test -n "$AS" && break
5882 if test -z "$AS"; then
5884 for ac_prog in gas as
5886 # Extract the first word of "$ac_prog", so it can be a program name with args.
5887 set dummy $ac_prog; ac_word=$2
5888 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5890 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5891 echo $ECHO_N "(cached) $ECHO_C" >&6
5893 if test -n "$ac_ct_AS"; then
5894 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5900 test -z "$as_dir" && as_dir=.
5901 for ac_exec_ext in '' $ac_executable_extensions; do
5902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5903 ac_cv_prog_ac_ct_AS="$ac_prog"
5904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5913 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5914 if test -n "$ac_ct_AS"; then
5915 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5916 echo "${ECHO_T}$ac_ct_AS" >&6; }
5918 { echo "$as_me:$LINENO: result: no" >&5
5919 echo "${ECHO_T}no" >&6; }
5923 test -n "$ac_ct_AS" && break
5926 if test "x$ac_ct_AS" = x; then
5929 case $cross_compiling:$ac_tool_warned in
5931 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5932 whose name does not start with the host triplet. If you think this
5933 configuration is useful to you, please write to autoconf@gnu.org." >&5
5934 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5935 whose name does not start with the host triplet. If you think this
5936 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5937 ac_tool_warned=yes ;;
5943 if test -n "$ac_tool_prefix"; then
5944 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5945 set dummy ${ac_tool_prefix}ld; ac_word=$2
5946 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5948 if test "${ac_cv_prog_LD+set}" = set; then
5949 echo $ECHO_N "(cached) $ECHO_C" >&6
5951 if test -n "$LD"; then
5952 ac_cv_prog_LD="$LD" # Let the user override the test.
5954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5958 test -z "$as_dir" && as_dir=.
5959 for ac_exec_ext in '' $ac_executable_extensions; do
5960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5961 ac_cv_prog_LD="${ac_tool_prefix}ld"
5962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5972 if test -n "$LD"; then
5973 { echo "$as_me:$LINENO: result: $LD" >&5
5974 echo "${ECHO_T}$LD" >&6; }
5976 { echo "$as_me:$LINENO: result: no" >&5
5977 echo "${ECHO_T}no" >&6; }
5982 if test -z "$ac_cv_prog_LD"; then
5984 # Extract the first word of "ld", so it can be a program name with args.
5985 set dummy ld; ac_word=$2
5986 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5988 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5989 echo $ECHO_N "(cached) $ECHO_C" >&6
5991 if test -n "$ac_ct_LD"; then
5992 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5998 test -z "$as_dir" && as_dir=.
5999 for ac_exec_ext in '' $ac_executable_extensions; do
6000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6001 ac_cv_prog_ac_ct_LD="ld"
6002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6011 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6012 if test -n "$ac_ct_LD"; then
6013 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
6014 echo "${ECHO_T}$ac_ct_LD" >&6; }
6016 { echo "$as_me:$LINENO: result: no" >&5
6017 echo "${ECHO_T}no" >&6; }
6020 if test "x$ac_ct_LD" = x; then
6023 case $cross_compiling:$ac_tool_warned in
6025 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6026 whose name does not start with the host triplet. If you think this
6027 configuration is useful to you, please write to autoconf@gnu.org." >&5
6028 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6029 whose name does not start with the host triplet. If you think this
6030 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6031 ac_tool_warned=yes ;;
6039 if test -n "$ac_tool_prefix"; then
6040 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6041 set dummy ${ac_tool_prefix}ar; ac_word=$2
6042 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6044 if test "${ac_cv_prog_AR+set}" = set; then
6045 echo $ECHO_N "(cached) $ECHO_C" >&6
6047 if test -n "$AR"; then
6048 ac_cv_prog_AR="$AR" # Let the user override the test.
6050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6054 test -z "$as_dir" && as_dir=.
6055 for ac_exec_ext in '' $ac_executable_extensions; do
6056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6057 ac_cv_prog_AR="${ac_tool_prefix}ar"
6058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6068 if test -n "$AR"; then
6069 { echo "$as_me:$LINENO: result: $AR" >&5
6070 echo "${ECHO_T}$AR" >&6; }
6072 { echo "$as_me:$LINENO: result: no" >&5
6073 echo "${ECHO_T}no" >&6; }
6078 if test -z "$ac_cv_prog_AR"; then
6080 # Extract the first word of "ar", so it can be a program name with args.
6081 set dummy ar; ac_word=$2
6082 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6084 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6085 echo $ECHO_N "(cached) $ECHO_C" >&6
6087 if test -n "$ac_ct_AR"; then
6088 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6094 test -z "$as_dir" && as_dir=.
6095 for ac_exec_ext in '' $ac_executable_extensions; do
6096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6097 ac_cv_prog_ac_ct_AR="ar"
6098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6107 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6108 if test -n "$ac_ct_AR"; then
6109 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6110 echo "${ECHO_T}$ac_ct_AR" >&6; }
6112 { echo "$as_me:$LINENO: result: no" >&5
6113 echo "${ECHO_T}no" >&6; }
6116 if test "x$ac_ct_AR" = x; then
6119 case $cross_compiling:$ac_tool_warned in
6121 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6122 whose name does not start with the host triplet. If you think this
6123 configuration is useful to you, please write to autoconf@gnu.org." >&5
6124 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6125 whose name does not start with the host triplet. If you think this
6126 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6127 ac_tool_warned=yes ;;
6135 if test -n "$ac_tool_prefix"; then
6136 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6137 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6138 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6140 if test "${ac_cv_prog_RANLIB+set}" = set; then
6141 echo $ECHO_N "(cached) $ECHO_C" >&6
6143 if test -n "$RANLIB"; then
6144 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6150 test -z "$as_dir" && as_dir=.
6151 for ac_exec_ext in '' $ac_executable_extensions; do
6152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6153 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6163 RANLIB=$ac_cv_prog_RANLIB
6164 if test -n "$RANLIB"; then
6165 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6166 echo "${ECHO_T}$RANLIB" >&6; }
6168 { echo "$as_me:$LINENO: result: no" >&5
6169 echo "${ECHO_T}no" >&6; }
6174 if test -z "$ac_cv_prog_RANLIB"; then
6175 ac_ct_RANLIB=$RANLIB
6176 # Extract the first word of "ranlib", so it can be a program name with args.
6177 set dummy ranlib; ac_word=$2
6178 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6180 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6181 echo $ECHO_N "(cached) $ECHO_C" >&6
6183 if test -n "$ac_ct_RANLIB"; then
6184 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6190 test -z "$as_dir" && as_dir=.
6191 for ac_exec_ext in '' $ac_executable_extensions; do
6192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6193 ac_cv_prog_ac_ct_RANLIB="ranlib"
6194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6203 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6204 if test -n "$ac_ct_RANLIB"; then
6205 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6206 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6208 { echo "$as_me:$LINENO: result: no" >&5
6209 echo "${ECHO_T}no" >&6; }
6212 if test "x$ac_ct_RANLIB" = x; then
6215 case $cross_compiling:$ac_tool_warned in
6217 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6218 whose name does not start with the host triplet. If you think this
6219 configuration is useful to you, please write to autoconf@gnu.org." >&5
6220 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6221 whose name does not start with the host triplet. If you think this
6222 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6223 ac_tool_warned=yes ;;
6225 RANLIB=$ac_ct_RANLIB
6228 RANLIB="$ac_cv_prog_RANLIB"
6231 if test -n "$ac_tool_prefix"; then
6232 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6233 set dummy ${ac_tool_prefix}strip; ac_word=$2
6234 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6236 if test "${ac_cv_prog_STRIP+set}" = set; then
6237 echo $ECHO_N "(cached) $ECHO_C" >&6
6239 if test -n "$STRIP"; then
6240 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6246 test -z "$as_dir" && as_dir=.
6247 for ac_exec_ext in '' $ac_executable_extensions; do
6248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6249 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6259 STRIP=$ac_cv_prog_STRIP
6260 if test -n "$STRIP"; then
6261 { echo "$as_me:$LINENO: result: $STRIP" >&5
6262 echo "${ECHO_T}$STRIP" >&6; }
6264 { echo "$as_me:$LINENO: result: no" >&5
6265 echo "${ECHO_T}no" >&6; }
6270 if test -z "$ac_cv_prog_STRIP"; then
6272 # Extract the first word of "strip", so it can be a program name with args.
6273 set dummy strip; ac_word=$2
6274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6276 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6277 echo $ECHO_N "(cached) $ECHO_C" >&6
6279 if test -n "$ac_ct_STRIP"; then
6280 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6286 test -z "$as_dir" && as_dir=.
6287 for ac_exec_ext in '' $ac_executable_extensions; do
6288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6289 ac_cv_prog_ac_ct_STRIP="strip"
6290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6299 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6300 if test -n "$ac_ct_STRIP"; then
6301 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6302 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6304 { echo "$as_me:$LINENO: result: no" >&5
6305 echo "${ECHO_T}no" >&6; }
6308 if test "x$ac_ct_STRIP" = x; then
6311 case $cross_compiling:$ac_tool_warned in
6313 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6314 whose name does not start with the host triplet. If you think this
6315 configuration is useful to you, please write to autoconf@gnu.org." >&5
6316 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6317 whose name does not start with the host triplet. If you think this
6318 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6319 ac_tool_warned=yes ;;
6324 STRIP="$ac_cv_prog_STRIP"
6327 if test -n "$ac_tool_prefix"; then
6328 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
6329 set dummy ${ac_tool_prefix}windres; ac_word=$2
6330 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6332 if test "${ac_cv_prog_WINDRES+set}" = set; then
6333 echo $ECHO_N "(cached) $ECHO_C" >&6
6335 if test -n "$WINDRES"; then
6336 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
6338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6342 test -z "$as_dir" && as_dir=.
6343 for ac_exec_ext in '' $ac_executable_extensions; do
6344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6345 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
6346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6355 WINDRES=$ac_cv_prog_WINDRES
6356 if test -n "$WINDRES"; then
6357 { echo "$as_me:$LINENO: result: $WINDRES" >&5
6358 echo "${ECHO_T}$WINDRES" >&6; }
6360 { echo "$as_me:$LINENO: result: no" >&5
6361 echo "${ECHO_T}no" >&6; }
6366 if test -z "$ac_cv_prog_WINDRES"; then
6367 ac_ct_WINDRES=$WINDRES
6368 # Extract the first word of "windres", so it can be a program name with args.
6369 set dummy windres; ac_word=$2
6370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6372 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6373 echo $ECHO_N "(cached) $ECHO_C" >&6
6375 if test -n "$ac_ct_WINDRES"; then
6376 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
6378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6382 test -z "$as_dir" && as_dir=.
6383 for ac_exec_ext in '' $ac_executable_extensions; do
6384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6385 ac_cv_prog_ac_ct_WINDRES="windres"
6386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6395 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
6396 if test -n "$ac_ct_WINDRES"; then
6397 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6398 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6400 { echo "$as_me:$LINENO: result: no" >&5
6401 echo "${ECHO_T}no" >&6; }
6404 if test "x$ac_ct_WINDRES" = x; then
6407 case $cross_compiling:$ac_tool_warned in
6409 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6410 whose name does not start with the host triplet. If you think this
6411 configuration is useful to you, please write to autoconf@gnu.org." >&5
6412 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6413 whose name does not start with the host triplet. If you think this
6414 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6415 ac_tool_warned=yes ;;
6417 WINDRES=$ac_ct_WINDRES
6420 WINDRES="$ac_cv_prog_WINDRES"
6423 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6424 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6426 if test "$LN_S" = "ln -s"; then
6427 { echo "$as_me:$LINENO: result: yes" >&5
6428 echo "${ECHO_T}yes" >&6; }
6430 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6431 echo "${ECHO_T}no, using $LN_S" >&6; }
6434 { echo "$as_me:$LINENO: checking whether ln works" >&5
6435 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6436 rm -f conf$$ conf$$.file
6438 if ln conf$$.file conf$$ 2>/dev/null; then
6441 { echo "$as_me:$LINENO: result: yes" >&5
6442 echo "${ECHO_T}yes" >&6; }
6446 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6447 echo "${ECHO_T}no, using $LN" >&6; }
6449 rm -f conf$$ conf$$.file
6450 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6451 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6452 if test "${ac_cv_path_GREP+set}" = set; then
6453 echo $ECHO_N "(cached) $ECHO_C" >&6
6455 # Extract the first word of "grep ggrep" to use in msg output
6456 if test -z "$GREP"; then
6457 set dummy grep ggrep; ac_prog_name=$2
6458 if test "${ac_cv_path_GREP+set}" = set; then
6459 echo $ECHO_N "(cached) $ECHO_C" >&6
6461 ac_path_GREP_found=false
6462 # Loop through the user's path and test for each of PROGNAME-LIST
6463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6464 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6467 test -z "$as_dir" && as_dir=.
6468 for ac_prog in grep ggrep; do
6469 for ac_exec_ext in '' $ac_executable_extensions; do
6470 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6471 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
6472 # Check for GNU ac_path_GREP and select it if it is found.
6473 # Check for GNU $ac_path_GREP
6474 case `"$ac_path_GREP" --version 2>&1` in
6476 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6479 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6482 cat "conftest.in" "conftest.in" >"conftest.tmp"
6483 mv "conftest.tmp" "conftest.in"
6484 cp "conftest.in" "conftest.nl"
6485 echo 'GREP' >> "conftest.nl"
6486 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6487 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6488 ac_count=`expr $ac_count + 1`
6489 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6490 # Best one so far, save it but keep looking for a better one
6491 ac_cv_path_GREP="$ac_path_GREP"
6492 ac_path_GREP_max=$ac_count
6494 # 10*(2^10) chars as input seems more than enough
6495 test $ac_count -gt 10 && break
6497 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6501 $ac_path_GREP_found && break 3
6511 GREP="$ac_cv_path_GREP"
6512 if test -z "$GREP"; then
6513 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6514 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6515 { (exit 1); exit 1; }; }
6519 ac_cv_path_GREP=$GREP
6524 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6525 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6526 GREP="$ac_cv_path_GREP"
6529 { echo "$as_me:$LINENO: checking for egrep" >&5
6530 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6531 if test "${ac_cv_path_EGREP+set}" = set; then
6532 echo $ECHO_N "(cached) $ECHO_C" >&6
6534 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6535 then ac_cv_path_EGREP="$GREP -E"
6537 # Extract the first word of "egrep" to use in msg output
6538 if test -z "$EGREP"; then
6539 set dummy egrep; ac_prog_name=$2
6540 if test "${ac_cv_path_EGREP+set}" = set; then
6541 echo $ECHO_N "(cached) $ECHO_C" >&6
6543 ac_path_EGREP_found=false
6544 # Loop through the user's path and test for each of PROGNAME-LIST
6545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6549 test -z "$as_dir" && as_dir=.
6550 for ac_prog in egrep; do
6551 for ac_exec_ext in '' $ac_executable_extensions; do
6552 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6553 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
6554 # Check for GNU ac_path_EGREP and select it if it is found.
6555 # Check for GNU $ac_path_EGREP
6556 case `"$ac_path_EGREP" --version 2>&1` in
6558 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6561 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6564 cat "conftest.in" "conftest.in" >"conftest.tmp"
6565 mv "conftest.tmp" "conftest.in"
6566 cp "conftest.in" "conftest.nl"
6567 echo 'EGREP' >> "conftest.nl"
6568 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6569 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6570 ac_count=`expr $ac_count + 1`
6571 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6572 # Best one so far, save it but keep looking for a better one
6573 ac_cv_path_EGREP="$ac_path_EGREP"
6574 ac_path_EGREP_max=$ac_count
6576 # 10*(2^10) chars as input seems more than enough
6577 test $ac_count -gt 10 && break
6579 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6583 $ac_path_EGREP_found && break 3
6593 EGREP="$ac_cv_path_EGREP"
6594 if test -z "$EGREP"; then
6595 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6596 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6597 { (exit 1); exit 1; }; }
6601 ac_cv_path_EGREP=$EGREP
6607 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6608 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6609 EGREP="$ac_cv_path_EGREP"
6612 # Extract the first word of "ldconfig", so it can be a program name with args.
6613 set dummy ldconfig; ac_word=$2
6614 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6616 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6617 echo $ECHO_N "(cached) $ECHO_C" >&6
6621 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6625 for as_dir in /sbin /usr/sbin $PATH
6628 test -z "$as_dir" && as_dir=.
6629 for ac_exec_ext in '' $ac_executable_extensions; do
6630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6631 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6639 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6643 LDCONFIG=$ac_cv_path_LDCONFIG
6644 if test -n "$LDCONFIG"; then
6645 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6646 echo "${ECHO_T}$LDCONFIG" >&6; }
6648 { echo "$as_me:$LINENO: result: no" >&5
6649 echo "${ECHO_T}no" >&6; }
6653 # Find a good install program. We prefer a C program (faster),
6654 # so one script is as good as another. But avoid the broken or
6655 # incompatible versions:
6656 # SysV /etc/install, /usr/sbin/install
6657 # SunOS /usr/etc/install
6658 # IRIX /sbin/install
6660 # AmigaOS /C/install, which installs bootblocks on floppy discs
6661 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6662 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6663 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6664 # OS/2's system install, which has a completely different semantic
6665 # ./install, which can be erroneously created by make from ./install.sh.
6666 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6667 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6668 if test -z "$INSTALL"; then
6669 if test "${ac_cv_path_install+set}" = set; then
6670 echo $ECHO_N "(cached) $ECHO_C" >&6
6672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6676 test -z "$as_dir" && as_dir=.
6677 # Account for people who put trailing slashes in PATH elements.
6679 ./ | .// | /cC/* | \
6680 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6681 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6684 # OSF1 and SCO ODT 3.0 have their own names for install.
6685 # Don't use installbsd from OSF since it installs stuff as root
6687 for ac_prog in ginstall scoinst install; do
6688 for ac_exec_ext in '' $ac_executable_extensions; do
6689 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6690 if test $ac_prog = install &&
6691 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6692 # AIX install. It has an incompatible calling convention.
6694 elif test $ac_prog = install &&
6695 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6696 # program-specific install script used by HP pwplus--don't use.
6699 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6712 if test "${ac_cv_path_install+set}" = set; then
6713 INSTALL=$ac_cv_path_install
6715 # As a last resort, use the slow shell script. Don't cache a
6716 # value for INSTALL within a source directory, because that will
6717 # break other packages using the cache if that directory is
6718 # removed, or if the value is a relative name.
6719 INSTALL=$ac_install_sh
6722 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6723 echo "${ECHO_T}$INSTALL" >&6; }
6725 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6726 # It thinks the first close brace ends the variable substitution.
6727 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6729 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6731 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6734 [\\/$]* | ?:[\\/]* ) ;;
6735 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6738 for ac_prog in lclint lint
6740 # Extract the first word of "$ac_prog", so it can be a program name with args.
6741 set dummy $ac_prog; ac_word=$2
6742 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6744 if test "${ac_cv_prog_LINT+set}" = set; then
6745 echo $ECHO_N "(cached) $ECHO_C" >&6
6747 if test -n "$LINT"; then
6748 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6754 test -z "$as_dir" && as_dir=.
6755 for ac_exec_ext in '' $ac_executable_extensions; do
6756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6757 ac_cv_prog_LINT="$ac_prog"
6758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6767 LINT=$ac_cv_prog_LINT
6768 if test -n "$LINT"; then
6769 { echo "$as_me:$LINENO: result: $LINT" >&5
6770 echo "${ECHO_T}$LINT" >&6; }
6772 { echo "$as_me:$LINENO: result: no" >&5
6773 echo "${ECHO_T}no" >&6; }
6777 test -n "$LINT" && break
6780 if test "$LINT" = "lint"
6782 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6787 for ac_prog in fontforge
6789 # Extract the first word of "$ac_prog", so it can be a program name with args.
6790 set dummy $ac_prog; ac_word=$2
6791 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6793 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6794 echo $ECHO_N "(cached) $ECHO_C" >&6
6796 if test -n "$FONTFORGE"; then
6797 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6803 test -z "$as_dir" && as_dir=.
6804 for ac_exec_ext in '' $ac_executable_extensions; do
6805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6806 ac_cv_prog_FONTFORGE="$ac_prog"
6807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6816 FONTFORGE=$ac_cv_prog_FONTFORGE
6817 if test -n "$FONTFORGE"; then
6818 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6819 echo "${ECHO_T}$FONTFORGE" >&6; }
6821 { echo "$as_me:$LINENO: result: no" >&5
6822 echo "${ECHO_T}no" >&6; }
6826 test -n "$FONTFORGE" && break
6828 test -n "$FONTFORGE" || FONTFORGE="false"
6830 for ac_prog in pkg-config
6832 # Extract the first word of "$ac_prog", so it can be a program name with args.
6833 set dummy $ac_prog; ac_word=$2
6834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6836 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6837 echo $ECHO_N "(cached) $ECHO_C" >&6
6839 if test -n "$PKG_CONFIG"; then
6840 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6846 test -z "$as_dir" && as_dir=.
6847 for ac_exec_ext in '' $ac_executable_extensions; do
6848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6849 ac_cv_prog_PKG_CONFIG="$ac_prog"
6850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6859 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6860 if test -n "$PKG_CONFIG"; then
6861 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6862 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6864 { echo "$as_me:$LINENO: result: no" >&5
6865 echo "${ECHO_T}no" >&6; }
6869 test -n "$PKG_CONFIG" && break
6871 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6876 # Extract the first word of "prelink", so it can be a program name with args.
6877 set dummy prelink; ac_word=$2
6878 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6880 if test "${ac_cv_path_PRELINK+set}" = set; then
6881 echo $ECHO_N "(cached) $ECHO_C" >&6
6885 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6889 for as_dir in /sbin /usr/sbin $PATH
6892 test -z "$as_dir" && as_dir=.
6893 for ac_exec_ext in '' $ac_executable_extensions; do
6894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6895 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6903 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6907 PRELINK=$ac_cv_path_PRELINK
6908 if test -n "$PRELINK"; then
6909 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6910 echo "${ECHO_T}$PRELINK" >&6; }
6912 { echo "$as_me:$LINENO: result: no" >&5
6913 echo "${ECHO_T}no" >&6; }
6922 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6923 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6924 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6925 echo $ECHO_N "(cached) $ECHO_C" >&6
6927 ac_check_lib_save_LIBS=$LIBS
6929 cat >conftest.$ac_ext <<_ACEOF
6932 cat confdefs.h >>conftest.$ac_ext
6933 cat >>conftest.$ac_ext <<_ACEOF
6934 /* end confdefs.h. */
6936 /* Override any GCC internal prototype to avoid an error.
6937 Use char because int might match the return type of a GCC
6938 builtin and then its argument prototype would still apply. */
6942 char i386_set_ldt ();
6946 return i386_set_ldt ();
6951 rm -f conftest.$ac_objext conftest$ac_exeext
6952 if { (ac_try="$ac_link"
6954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6955 *) ac_try_echo=$ac_try;;
6957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6958 (eval "$ac_link") 2>conftest.er1
6960 grep -v '^ *+' conftest.er1 >conftest.err
6962 cat conftest.err >&5
6963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6964 (exit $ac_status); } &&
6965 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6966 { (case "(($ac_try" in
6967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6968 *) ac_try_echo=$ac_try;;
6970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6971 (eval "$ac_try") 2>&5
6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 (exit $ac_status); }; } &&
6975 { ac_try='test -s conftest$ac_exeext'
6976 { (case "(($ac_try" in
6977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6978 *) ac_try_echo=$ac_try;;
6980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6981 (eval "$ac_try") 2>&5
6983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6984 (exit $ac_status); }; }; then
6985 ac_cv_lib_i386_i386_set_ldt=yes
6987 echo "$as_me: failed program was:" >&5
6988 sed 's/^/| /' conftest.$ac_ext >&5
6990 ac_cv_lib_i386_i386_set_ldt=no
6993 rm -f core conftest.err conftest.$ac_objext \
6994 conftest$ac_exeext conftest.$ac_ext
6995 LIBS=$ac_check_lib_save_LIBS
6997 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6998 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6999 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
7000 cat >>confdefs.h <<_ACEOF
7001 #define HAVE_LIBI386 1
7009 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
7010 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
7011 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
7012 echo $ECHO_N "(cached) $ECHO_C" >&6
7014 ac_check_lib_save_LIBS=$LIBS
7015 LIBS="-lossaudio $LIBS"
7016 cat >conftest.$ac_ext <<_ACEOF
7019 cat confdefs.h >>conftest.$ac_ext
7020 cat >>conftest.$ac_ext <<_ACEOF
7021 /* end confdefs.h. */
7023 /* Override any GCC internal prototype to avoid an error.
7024 Use char because int might match the return type of a GCC
7025 builtin and then its argument prototype would still apply. */
7033 return _oss_ioctl ();
7038 rm -f conftest.$ac_objext conftest$ac_exeext
7039 if { (ac_try="$ac_link"
7041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7042 *) ac_try_echo=$ac_try;;
7044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7045 (eval "$ac_link") 2>conftest.er1
7047 grep -v '^ *+' conftest.er1 >conftest.err
7049 cat conftest.err >&5
7050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7051 (exit $ac_status); } &&
7052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7053 { (case "(($ac_try" in
7054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7055 *) ac_try_echo=$ac_try;;
7057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7058 (eval "$ac_try") 2>&5
7060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7061 (exit $ac_status); }; } &&
7062 { ac_try='test -s conftest$ac_exeext'
7063 { (case "(($ac_try" in
7064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7065 *) ac_try_echo=$ac_try;;
7067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7068 (eval "$ac_try") 2>&5
7070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7071 (exit $ac_status); }; }; then
7072 ac_cv_lib_ossaudio__oss_ioctl=yes
7074 echo "$as_me: failed program was:" >&5
7075 sed 's/^/| /' conftest.$ac_ext >&5
7077 ac_cv_lib_ossaudio__oss_ioctl=no
7080 rm -f core conftest.err conftest.$ac_objext \
7081 conftest$ac_exeext conftest.$ac_ext
7082 LIBS=$ac_check_lib_save_LIBS
7084 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
7085 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
7086 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
7087 cat >>confdefs.h <<_ACEOF
7088 #define HAVE_LIBOSSAUDIO 1
7091 LIBS="-lossaudio $LIBS"
7096 for ac_func in gethostbyname
7098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7099 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7101 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7102 echo $ECHO_N "(cached) $ECHO_C" >&6
7104 cat >conftest.$ac_ext <<_ACEOF
7107 cat confdefs.h >>conftest.$ac_ext
7108 cat >>conftest.$ac_ext <<_ACEOF
7109 /* end confdefs.h. */
7110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7112 #define $ac_func innocuous_$ac_func
7114 /* System header to define __stub macros and hopefully few prototypes,
7115 which can conflict with char $ac_func (); below.
7116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7117 <limits.h> exists even on freestanding compilers. */
7120 # include <limits.h>
7122 # include <assert.h>
7127 /* Override any GCC internal prototype to avoid an error.
7128 Use char because int might match the return type of a GCC
7129 builtin and then its argument prototype would still apply. */
7134 /* The GNU C library defines this for functions which it implements
7135 to always fail with ENOSYS. Some functions are actually named
7136 something starting with __ and the normal name is an alias. */
7137 #if defined __stub_$ac_func || defined __stub___$ac_func
7149 rm -f conftest.$ac_objext conftest$ac_exeext
7150 if { (ac_try="$ac_link"
7152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7153 *) ac_try_echo=$ac_try;;
7155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7156 (eval "$ac_link") 2>conftest.er1
7158 grep -v '^ *+' conftest.er1 >conftest.err
7160 cat conftest.err >&5
7161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7162 (exit $ac_status); } &&
7163 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7164 { (case "(($ac_try" in
7165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7166 *) ac_try_echo=$ac_try;;
7168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7169 (eval "$ac_try") 2>&5
7171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7172 (exit $ac_status); }; } &&
7173 { ac_try='test -s conftest$ac_exeext'
7174 { (case "(($ac_try" in
7175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7176 *) ac_try_echo=$ac_try;;
7178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7179 (eval "$ac_try") 2>&5
7181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7182 (exit $ac_status); }; }; then
7183 eval "$as_ac_var=yes"
7185 echo "$as_me: failed program was:" >&5
7186 sed 's/^/| /' conftest.$ac_ext >&5
7188 eval "$as_ac_var=no"
7191 rm -f core conftest.err conftest.$ac_objext \
7192 conftest$ac_exeext conftest.$ac_ext
7194 ac_res=`eval echo '${'$as_ac_var'}'`
7195 { echo "$as_me:$LINENO: result: $ac_res" >&5
7196 echo "${ECHO_T}$ac_res" >&6; }
7197 if test `eval echo '${'$as_ac_var'}'` = yes; then
7198 cat >>confdefs.h <<_ACEOF
7199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7204 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
7205 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
7206 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
7207 echo $ECHO_N "(cached) $ECHO_C" >&6
7209 ac_check_lib_save_LIBS=$LIBS
7211 cat >conftest.$ac_ext <<_ACEOF
7214 cat confdefs.h >>conftest.$ac_ext
7215 cat >>conftest.$ac_ext <<_ACEOF
7216 /* end confdefs.h. */
7218 /* Override any GCC internal prototype to avoid an error.
7219 Use char because int might match the return type of a GCC
7220 builtin and then its argument prototype would still apply. */
7224 char gethostbyname ();
7228 return gethostbyname ();
7233 rm -f conftest.$ac_objext conftest$ac_exeext
7234 if { (ac_try="$ac_link"
7236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7237 *) ac_try_echo=$ac_try;;
7239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7240 (eval "$ac_link") 2>conftest.er1
7242 grep -v '^ *+' conftest.er1 >conftest.err
7244 cat conftest.err >&5
7245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7246 (exit $ac_status); } &&
7247 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7248 { (case "(($ac_try" in
7249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7250 *) ac_try_echo=$ac_try;;
7252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7253 (eval "$ac_try") 2>&5
7255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7256 (exit $ac_status); }; } &&
7257 { ac_try='test -s conftest$ac_exeext'
7258 { (case "(($ac_try" in
7259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7260 *) ac_try_echo=$ac_try;;
7262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7263 (eval "$ac_try") 2>&5
7265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7266 (exit $ac_status); }; }; then
7267 ac_cv_lib_nsl_gethostbyname=yes
7269 echo "$as_me: failed program was:" >&5
7270 sed 's/^/| /' conftest.$ac_ext >&5
7272 ac_cv_lib_nsl_gethostbyname=no
7275 rm -f core conftest.err conftest.$ac_objext \
7276 conftest$ac_exeext conftest.$ac_ext
7277 LIBS=$ac_check_lib_save_LIBS
7279 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
7280 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
7281 if test $ac_cv_lib_nsl_gethostbyname = yes; then
7282 cat >>confdefs.h <<_ACEOF
7283 #define HAVE_LIBNSL 1
7294 for ac_func in connect
7296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7297 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7299 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7300 echo $ECHO_N "(cached) $ECHO_C" >&6
7302 cat >conftest.$ac_ext <<_ACEOF
7305 cat confdefs.h >>conftest.$ac_ext
7306 cat >>conftest.$ac_ext <<_ACEOF
7307 /* end confdefs.h. */
7308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7310 #define $ac_func innocuous_$ac_func
7312 /* System header to define __stub macros and hopefully few prototypes,
7313 which can conflict with char $ac_func (); below.
7314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7315 <limits.h> exists even on freestanding compilers. */
7318 # include <limits.h>
7320 # include <assert.h>
7325 /* Override any GCC internal prototype to avoid an error.
7326 Use char because int might match the return type of a GCC
7327 builtin and then its argument prototype would still apply. */
7332 /* The GNU C library defines this for functions which it implements
7333 to always fail with ENOSYS. Some functions are actually named
7334 something starting with __ and the normal name is an alias. */
7335 #if defined __stub_$ac_func || defined __stub___$ac_func
7347 rm -f conftest.$ac_objext conftest$ac_exeext
7348 if { (ac_try="$ac_link"
7350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7351 *) ac_try_echo=$ac_try;;
7353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7354 (eval "$ac_link") 2>conftest.er1
7356 grep -v '^ *+' conftest.er1 >conftest.err
7358 cat conftest.err >&5
7359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7360 (exit $ac_status); } &&
7361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7362 { (case "(($ac_try" in
7363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7364 *) ac_try_echo=$ac_try;;
7366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7367 (eval "$ac_try") 2>&5
7369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370 (exit $ac_status); }; } &&
7371 { ac_try='test -s conftest$ac_exeext'
7372 { (case "(($ac_try" in
7373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7374 *) ac_try_echo=$ac_try;;
7376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7377 (eval "$ac_try") 2>&5
7379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7380 (exit $ac_status); }; }; then
7381 eval "$as_ac_var=yes"
7383 echo "$as_me: failed program was:" >&5
7384 sed 's/^/| /' conftest.$ac_ext >&5
7386 eval "$as_ac_var=no"
7389 rm -f core conftest.err conftest.$ac_objext \
7390 conftest$ac_exeext conftest.$ac_ext
7392 ac_res=`eval echo '${'$as_ac_var'}'`
7393 { echo "$as_me:$LINENO: result: $ac_res" >&5
7394 echo "${ECHO_T}$ac_res" >&6; }
7395 if test `eval echo '${'$as_ac_var'}'` = yes; then
7396 cat >>confdefs.h <<_ACEOF
7397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7402 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
7403 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
7404 if test "${ac_cv_lib_socket_connect+set}" = set; then
7405 echo $ECHO_N "(cached) $ECHO_C" >&6
7407 ac_check_lib_save_LIBS=$LIBS
7408 LIBS="-lsocket $LIBS"
7409 cat >conftest.$ac_ext <<_ACEOF
7412 cat confdefs.h >>conftest.$ac_ext
7413 cat >>conftest.$ac_ext <<_ACEOF
7414 /* end confdefs.h. */
7416 /* Override any GCC internal prototype to avoid an error.
7417 Use char because int might match the return type of a GCC
7418 builtin and then its argument prototype would still apply. */
7431 rm -f conftest.$ac_objext conftest$ac_exeext
7432 if { (ac_try="$ac_link"
7434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7435 *) ac_try_echo=$ac_try;;
7437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7438 (eval "$ac_link") 2>conftest.er1
7440 grep -v '^ *+' conftest.er1 >conftest.err
7442 cat conftest.err >&5
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); } &&
7445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7446 { (case "(($ac_try" in
7447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7448 *) ac_try_echo=$ac_try;;
7450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7451 (eval "$ac_try") 2>&5
7453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7454 (exit $ac_status); }; } &&
7455 { ac_try='test -s conftest$ac_exeext'
7456 { (case "(($ac_try" in
7457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7458 *) ac_try_echo=$ac_try;;
7460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7461 (eval "$ac_try") 2>&5
7463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7464 (exit $ac_status); }; }; then
7465 ac_cv_lib_socket_connect=yes
7467 echo "$as_me: failed program was:" >&5
7468 sed 's/^/| /' conftest.$ac_ext >&5
7470 ac_cv_lib_socket_connect=no
7473 rm -f core conftest.err conftest.$ac_objext \
7474 conftest$ac_exeext conftest.$ac_ext
7475 LIBS=$ac_check_lib_save_LIBS
7477 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
7478 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
7479 if test $ac_cv_lib_socket_connect = yes; then
7480 cat >>confdefs.h <<_ACEOF
7481 #define HAVE_LIBSOCKET 1
7484 LIBS="-lsocket $LIBS"
7492 for ac_func in inet_aton
7494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7495 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7497 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7498 echo $ECHO_N "(cached) $ECHO_C" >&6
7500 cat >conftest.$ac_ext <<_ACEOF
7503 cat confdefs.h >>conftest.$ac_ext
7504 cat >>conftest.$ac_ext <<_ACEOF
7505 /* end confdefs.h. */
7506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7508 #define $ac_func innocuous_$ac_func
7510 /* System header to define __stub macros and hopefully few prototypes,
7511 which can conflict with char $ac_func (); below.
7512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7513 <limits.h> exists even on freestanding compilers. */
7516 # include <limits.h>
7518 # include <assert.h>
7523 /* Override any GCC internal prototype to avoid an error.
7524 Use char because int might match the return type of a GCC
7525 builtin and then its argument prototype would still apply. */
7530 /* The GNU C library defines this for functions which it implements
7531 to always fail with ENOSYS. Some functions are actually named
7532 something starting with __ and the normal name is an alias. */
7533 #if defined __stub_$ac_func || defined __stub___$ac_func
7545 rm -f conftest.$ac_objext conftest$ac_exeext
7546 if { (ac_try="$ac_link"
7548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7549 *) ac_try_echo=$ac_try;;
7551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7552 (eval "$ac_link") 2>conftest.er1
7554 grep -v '^ *+' conftest.er1 >conftest.err
7556 cat conftest.err >&5
7557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7558 (exit $ac_status); } &&
7559 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7560 { (case "(($ac_try" in
7561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7562 *) ac_try_echo=$ac_try;;
7564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7565 (eval "$ac_try") 2>&5
7567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7568 (exit $ac_status); }; } &&
7569 { ac_try='test -s conftest$ac_exeext'
7570 { (case "(($ac_try" in
7571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7572 *) ac_try_echo=$ac_try;;
7574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7575 (eval "$ac_try") 2>&5
7577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578 (exit $ac_status); }; }; then
7579 eval "$as_ac_var=yes"
7581 echo "$as_me: failed program was:" >&5
7582 sed 's/^/| /' conftest.$ac_ext >&5
7584 eval "$as_ac_var=no"
7587 rm -f core conftest.err conftest.$ac_objext \
7588 conftest$ac_exeext conftest.$ac_ext
7590 ac_res=`eval echo '${'$as_ac_var'}'`
7591 { echo "$as_me:$LINENO: result: $ac_res" >&5
7592 echo "${ECHO_T}$ac_res" >&6; }
7593 if test `eval echo '${'$as_ac_var'}'` = yes; then
7594 cat >>confdefs.h <<_ACEOF
7595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7600 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
7601 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
7602 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
7603 echo $ECHO_N "(cached) $ECHO_C" >&6
7605 ac_check_lib_save_LIBS=$LIBS
7606 LIBS="-lresolv $LIBS"
7607 cat >conftest.$ac_ext <<_ACEOF
7610 cat confdefs.h >>conftest.$ac_ext
7611 cat >>conftest.$ac_ext <<_ACEOF
7612 /* end confdefs.h. */
7614 /* Override any GCC internal prototype to avoid an error.
7615 Use char because int might match the return type of a GCC
7616 builtin and then its argument prototype would still apply. */
7624 return inet_aton ();
7629 rm -f conftest.$ac_objext conftest$ac_exeext
7630 if { (ac_try="$ac_link"
7632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7633 *) ac_try_echo=$ac_try;;
7635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7636 (eval "$ac_link") 2>conftest.er1
7638 grep -v '^ *+' conftest.er1 >conftest.err
7640 cat conftest.err >&5
7641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7642 (exit $ac_status); } &&
7643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7644 { (case "(($ac_try" in
7645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7646 *) ac_try_echo=$ac_try;;
7648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7649 (eval "$ac_try") 2>&5
7651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7652 (exit $ac_status); }; } &&
7653 { ac_try='test -s conftest$ac_exeext'
7654 { (case "(($ac_try" in
7655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7656 *) ac_try_echo=$ac_try;;
7658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7659 (eval "$ac_try") 2>&5
7661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7662 (exit $ac_status); }; }; then
7663 ac_cv_lib_resolv_inet_aton=yes
7665 echo "$as_me: failed program was:" >&5
7666 sed 's/^/| /' conftest.$ac_ext >&5
7668 ac_cv_lib_resolv_inet_aton=no
7671 rm -f core conftest.err conftest.$ac_objext \
7672 conftest$ac_exeext conftest.$ac_ext
7673 LIBS=$ac_check_lib_save_LIBS
7675 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
7676 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
7677 if test $ac_cv_lib_resolv_inet_aton = yes; then
7678 cat >>confdefs.h <<_ACEOF
7679 #define HAVE_LIBRESOLV 1
7682 LIBS="-lresolv $LIBS"
7690 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
7691 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
7692 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
7693 echo $ECHO_N "(cached) $ECHO_C" >&6
7695 ac_check_lib_save_LIBS=$LIBS
7697 cat >conftest.$ac_ext <<_ACEOF
7700 cat confdefs.h >>conftest.$ac_ext
7701 cat >>conftest.$ac_ext <<_ACEOF
7702 /* end confdefs.h. */
7704 /* Override any GCC internal prototype to avoid an error.
7705 Use char because int might match the return type of a GCC
7706 builtin and then its argument prototype would still apply. */
7710 char _xpg4_setrunelocale ();
7714 return _xpg4_setrunelocale ();
7719 rm -f conftest.$ac_objext conftest$ac_exeext
7720 if { (ac_try="$ac_link"
7722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7723 *) ac_try_echo=$ac_try;;
7725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7726 (eval "$ac_link") 2>conftest.er1
7728 grep -v '^ *+' conftest.er1 >conftest.err
7730 cat conftest.err >&5
7731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7732 (exit $ac_status); } &&
7733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7734 { (case "(($ac_try" in
7735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7736 *) ac_try_echo=$ac_try;;
7738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7739 (eval "$ac_try") 2>&5
7741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7742 (exit $ac_status); }; } &&
7743 { ac_try='test -s conftest$ac_exeext'
7744 { (case "(($ac_try" in
7745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7746 *) ac_try_echo=$ac_try;;
7748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7749 (eval "$ac_try") 2>&5
7751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752 (exit $ac_status); }; }; then
7753 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
7755 echo "$as_me: failed program was:" >&5
7756 sed 's/^/| /' conftest.$ac_ext >&5
7758 ac_cv_lib_xpg4__xpg4_setrunelocale=no
7761 rm -f core conftest.err conftest.$ac_objext \
7762 conftest$ac_exeext conftest.$ac_ext
7763 LIBS=$ac_check_lib_save_LIBS
7765 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
7766 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
7767 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
7768 cat >>confdefs.h <<_ACEOF
7769 #define HAVE_LIBXPG4 1
7777 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
7778 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
7779 if test "${ac_cv_lib_poll_poll+set}" = set; then
7780 echo $ECHO_N "(cached) $ECHO_C" >&6
7782 ac_check_lib_save_LIBS=$LIBS
7784 cat >conftest.$ac_ext <<_ACEOF
7787 cat confdefs.h >>conftest.$ac_ext
7788 cat >>conftest.$ac_ext <<_ACEOF
7789 /* end confdefs.h. */
7791 /* Override any GCC internal prototype to avoid an error.
7792 Use char because int might match the return type of a GCC
7793 builtin and then its argument prototype would still apply. */
7806 rm -f conftest.$ac_objext conftest$ac_exeext
7807 if { (ac_try="$ac_link"
7809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7810 *) ac_try_echo=$ac_try;;
7812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7813 (eval "$ac_link") 2>conftest.er1
7815 grep -v '^ *+' conftest.er1 >conftest.err
7817 cat conftest.err >&5
7818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7819 (exit $ac_status); } &&
7820 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7821 { (case "(($ac_try" in
7822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7823 *) ac_try_echo=$ac_try;;
7825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7826 (eval "$ac_try") 2>&5
7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7829 (exit $ac_status); }; } &&
7830 { ac_try='test -s conftest$ac_exeext'
7831 { (case "(($ac_try" in
7832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7833 *) ac_try_echo=$ac_try;;
7835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7836 (eval "$ac_try") 2>&5
7838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7839 (exit $ac_status); }; }; then
7840 ac_cv_lib_poll_poll=yes
7842 echo "$as_me: failed program was:" >&5
7843 sed 's/^/| /' conftest.$ac_ext >&5
7845 ac_cv_lib_poll_poll=no
7848 rm -f core conftest.err conftest.$ac_objext \
7849 conftest$ac_exeext conftest.$ac_ext
7850 LIBS=$ac_check_lib_save_LIBS
7852 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
7853 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
7854 if test $ac_cv_lib_poll_poll = yes; then
7855 cat >>confdefs.h <<_ACEOF
7856 #define HAVE_LIBPOLL 1
7863 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
7864 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
7865 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
7866 echo $ECHO_N "(cached) $ECHO_C" >&6
7868 ac_check_lib_save_LIBS=$LIBS
7869 LIBS="-lpthread $LIBS"
7870 cat >conftest.$ac_ext <<_ACEOF
7873 cat confdefs.h >>conftest.$ac_ext
7874 cat >>conftest.$ac_ext <<_ACEOF
7875 /* end confdefs.h. */
7877 /* Override any GCC internal prototype to avoid an error.
7878 Use char because int might match the return type of a GCC
7879 builtin and then its argument prototype would still apply. */
7883 char pthread_create ();
7887 return pthread_create ();
7892 rm -f conftest.$ac_objext conftest$ac_exeext
7893 if { (ac_try="$ac_link"
7895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7896 *) ac_try_echo=$ac_try;;
7898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7899 (eval "$ac_link") 2>conftest.er1
7901 grep -v '^ *+' conftest.er1 >conftest.err
7903 cat conftest.err >&5
7904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7905 (exit $ac_status); } &&
7906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7907 { (case "(($ac_try" in
7908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7909 *) ac_try_echo=$ac_try;;
7911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7912 (eval "$ac_try") 2>&5
7914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7915 (exit $ac_status); }; } &&
7916 { ac_try='test -s conftest$ac_exeext'
7917 { (case "(($ac_try" in
7918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7919 *) ac_try_echo=$ac_try;;
7921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7922 (eval "$ac_try") 2>&5
7924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7925 (exit $ac_status); }; }; then
7926 ac_cv_lib_pthread_pthread_create=yes
7928 echo "$as_me: failed program was:" >&5
7929 sed 's/^/| /' conftest.$ac_ext >&5
7931 ac_cv_lib_pthread_pthread_create=no
7934 rm -f core conftest.err conftest.$ac_objext \
7935 conftest$ac_exeext conftest.$ac_ext
7936 LIBS=$ac_check_lib_save_LIBS
7938 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
7939 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
7940 if test $ac_cv_lib_pthread_pthread_create = yes; then
7941 LIBPTHREAD="-lpthread"
7958 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7959 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7960 if test "${ac_cv_header_stdc+set}" = set; then
7961 echo $ECHO_N "(cached) $ECHO_C" >&6
7963 cat >conftest.$ac_ext <<_ACEOF
7966 cat confdefs.h >>conftest.$ac_ext
7967 cat >>conftest.$ac_ext <<_ACEOF
7968 /* end confdefs.h. */
7982 rm -f conftest.$ac_objext
7983 if { (ac_try="$ac_compile"
7985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7986 *) ac_try_echo=$ac_try;;
7988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7989 (eval "$ac_compile") 2>conftest.er1
7991 grep -v '^ *+' conftest.er1 >conftest.err
7993 cat conftest.err >&5
7994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7995 (exit $ac_status); } &&
7996 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7997 { (case "(($ac_try" in
7998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7999 *) ac_try_echo=$ac_try;;
8001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8002 (eval "$ac_try") 2>&5
8004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8005 (exit $ac_status); }; } &&
8006 { ac_try='test -s conftest.$ac_objext'
8007 { (case "(($ac_try" in
8008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8009 *) ac_try_echo=$ac_try;;
8011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8012 (eval "$ac_try") 2>&5
8014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8015 (exit $ac_status); }; }; then
8016 ac_cv_header_stdc=yes
8018 echo "$as_me: failed program was:" >&5
8019 sed 's/^/| /' conftest.$ac_ext >&5
8021 ac_cv_header_stdc=no
8024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8026 if test $ac_cv_header_stdc = yes; then
8027 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8028 cat >conftest.$ac_ext <<_ACEOF
8031 cat confdefs.h >>conftest.$ac_ext
8032 cat >>conftest.$ac_ext <<_ACEOF
8033 /* end confdefs.h. */
8037 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8038 $EGREP "memchr" >/dev/null 2>&1; then
8041 ac_cv_header_stdc=no
8047 if test $ac_cv_header_stdc = yes; then
8048 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8049 cat >conftest.$ac_ext <<_ACEOF
8052 cat confdefs.h >>conftest.$ac_ext
8053 cat >>conftest.$ac_ext <<_ACEOF
8054 /* end confdefs.h. */
8058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8059 $EGREP "free" >/dev/null 2>&1; then
8062 ac_cv_header_stdc=no
8068 if test $ac_cv_header_stdc = yes; then
8069 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8070 if test "$cross_compiling" = yes; then
8073 cat >conftest.$ac_ext <<_ACEOF
8076 cat confdefs.h >>conftest.$ac_ext
8077 cat >>conftest.$ac_ext <<_ACEOF
8078 /* end confdefs.h. */
8081 #if ((' ' & 0x0FF) == 0x020)
8082 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8083 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8085 # define ISLOWER(c) \
8086 (('a' <= (c) && (c) <= 'i') \
8087 || ('j' <= (c) && (c) <= 'r') \
8088 || ('s' <= (c) && (c) <= 'z'))
8089 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8092 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8097 for (i = 0; i < 256; i++)
8098 if (XOR (islower (i), ISLOWER (i))
8099 || toupper (i) != TOUPPER (i))
8104 rm -f conftest$ac_exeext
8105 if { (ac_try="$ac_link"
8107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8108 *) ac_try_echo=$ac_try;;
8110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8111 (eval "$ac_link") 2>&5
8113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8114 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8115 { (case "(($ac_try" in
8116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8117 *) ac_try_echo=$ac_try;;
8119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8120 (eval "$ac_try") 2>&5
8122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123 (exit $ac_status); }; }; then
8126 echo "$as_me: program exited with status $ac_status" >&5
8127 echo "$as_me: failed program was:" >&5
8128 sed 's/^/| /' conftest.$ac_ext >&5
8131 ac_cv_header_stdc=no
8133 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8139 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8140 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
8141 if test $ac_cv_header_stdc = yes; then
8143 cat >>confdefs.h <<\_ACEOF
8144 #define STDC_HEADERS 1
8149 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8159 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8160 inttypes.h stdint.h unistd.h
8162 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8163 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8165 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8166 echo $ECHO_N "(cached) $ECHO_C" >&6
8168 cat >conftest.$ac_ext <<_ACEOF
8171 cat confdefs.h >>conftest.$ac_ext
8172 cat >>conftest.$ac_ext <<_ACEOF
8173 /* end confdefs.h. */
8174 $ac_includes_default
8176 #include <$ac_header>
8178 rm -f conftest.$ac_objext
8179 if { (ac_try="$ac_compile"
8181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8182 *) ac_try_echo=$ac_try;;
8184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8185 (eval "$ac_compile") 2>conftest.er1
8187 grep -v '^ *+' conftest.er1 >conftest.err
8189 cat conftest.err >&5
8190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8191 (exit $ac_status); } &&
8192 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8193 { (case "(($ac_try" in
8194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8195 *) ac_try_echo=$ac_try;;
8197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8198 (eval "$ac_try") 2>&5
8200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8201 (exit $ac_status); }; } &&
8202 { ac_try='test -s conftest.$ac_objext'
8203 { (case "(($ac_try" in
8204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8205 *) ac_try_echo=$ac_try;;
8207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8208 (eval "$ac_try") 2>&5
8210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8211 (exit $ac_status); }; }; then
8212 eval "$as_ac_Header=yes"
8214 echo "$as_me: failed program was:" >&5
8215 sed 's/^/| /' conftest.$ac_ext >&5
8217 eval "$as_ac_Header=no"
8220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8222 ac_res=`eval echo '${'$as_ac_Header'}'`
8223 { echo "$as_me:$LINENO: result: $ac_res" >&5
8224 echo "${ECHO_T}$ac_res" >&6; }
8225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8226 cat >>confdefs.h <<_ACEOF
8227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8343 AudioUnit/AudioUnit.h \
8344 CoreAudio/CoreAudio.h \
8357 fontconfig/fontconfig.h \
8383 machine/soundcard.h \
8388 netinet/in_systm.h \
8452 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8453 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8454 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8456 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8457 echo $ECHO_N "(cached) $ECHO_C" >&6
8459 ac_res=`eval echo '${'$as_ac_Header'}'`
8460 { echo "$as_me:$LINENO: result: $ac_res" >&5
8461 echo "${ECHO_T}$ac_res" >&6; }
8463 # Is the header compilable?
8464 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8465 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8466 cat >conftest.$ac_ext <<_ACEOF
8469 cat confdefs.h >>conftest.$ac_ext
8470 cat >>conftest.$ac_ext <<_ACEOF
8471 /* end confdefs.h. */
8472 $ac_includes_default
8473 #include <$ac_header>
8475 rm -f conftest.$ac_objext
8476 if { (ac_try="$ac_compile"
8478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8479 *) ac_try_echo=$ac_try;;
8481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8482 (eval "$ac_compile") 2>conftest.er1
8484 grep -v '^ *+' conftest.er1 >conftest.err
8486 cat conftest.err >&5
8487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8488 (exit $ac_status); } &&
8489 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8490 { (case "(($ac_try" in
8491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8492 *) ac_try_echo=$ac_try;;
8494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8495 (eval "$ac_try") 2>&5
8497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8498 (exit $ac_status); }; } &&
8499 { ac_try='test -s conftest.$ac_objext'
8500 { (case "(($ac_try" in
8501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8502 *) ac_try_echo=$ac_try;;
8504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8505 (eval "$ac_try") 2>&5
8507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8508 (exit $ac_status); }; }; then
8509 ac_header_compiler=yes
8511 echo "$as_me: failed program was:" >&5
8512 sed 's/^/| /' conftest.$ac_ext >&5
8514 ac_header_compiler=no
8517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8518 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8519 echo "${ECHO_T}$ac_header_compiler" >&6; }
8521 # Is the header present?
8522 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8523 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8524 cat >conftest.$ac_ext <<_ACEOF
8527 cat confdefs.h >>conftest.$ac_ext
8528 cat >>conftest.$ac_ext <<_ACEOF
8529 /* end confdefs.h. */
8530 #include <$ac_header>
8532 if { (ac_try="$ac_cpp conftest.$ac_ext"
8534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8535 *) ac_try_echo=$ac_try;;
8537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8538 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8540 grep -v '^ *+' conftest.er1 >conftest.err
8542 cat conftest.err >&5
8543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544 (exit $ac_status); } >/dev/null; then
8545 if test -s conftest.err; then
8546 ac_cpp_err=$ac_c_preproc_warn_flag
8547 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8554 if test -z "$ac_cpp_err"; then
8555 ac_header_preproc=yes
8557 echo "$as_me: failed program was:" >&5
8558 sed 's/^/| /' conftest.$ac_ext >&5
8560 ac_header_preproc=no
8563 rm -f conftest.err conftest.$ac_ext
8564 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8565 echo "${ECHO_T}$ac_header_preproc" >&6; }
8567 # So? What about this header?
8568 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8570 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8571 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8572 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8573 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8574 ac_header_preproc=yes
8577 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8578 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8579 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8580 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8581 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8582 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8583 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8584 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8585 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8586 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8587 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8588 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8590 ## ------------------------------------ ##
8591 ## Report this to wine-devel@winehq.org ##
8592 ## ------------------------------------ ##
8594 ) | sed "s/^/$as_me: WARNING: /" >&2
8597 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8599 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8600 echo $ECHO_N "(cached) $ECHO_C" >&6
8602 eval "$as_ac_Header=\$ac_header_preproc"
8604 ac_res=`eval echo '${'$as_ac_Header'}'`
8605 { echo "$as_me:$LINENO: result: $ac_res" >&5
8606 echo "${ECHO_T}$ac_res" >&6; }
8609 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8610 cat >>confdefs.h <<_ACEOF
8611 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8618 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
8619 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
8620 if test "${ac_cv_header_stat_broken+set}" = set; then
8621 echo $ECHO_N "(cached) $ECHO_C" >&6
8623 cat >conftest.$ac_ext <<_ACEOF
8626 cat confdefs.h >>conftest.$ac_ext
8627 cat >>conftest.$ac_ext <<_ACEOF
8628 /* end confdefs.h. */
8629 #include <sys/types.h>
8630 #include <sys/stat.h>
8632 #if defined S_ISBLK && defined S_IFDIR
8633 # if S_ISBLK (S_IFDIR)
8638 #if defined S_ISBLK && defined S_IFCHR
8639 # if S_ISBLK (S_IFCHR)
8644 #if defined S_ISLNK && defined S_IFREG
8645 # if S_ISLNK (S_IFREG)
8650 #if defined S_ISSOCK && defined S_IFREG
8651 # if S_ISSOCK (S_IFREG)
8657 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8658 $EGREP "You lose" >/dev/null 2>&1; then
8659 ac_cv_header_stat_broken=yes
8661 ac_cv_header_stat_broken=no
8666 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
8667 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
8668 if test $ac_cv_header_stat_broken = yes; then
8670 cat >>confdefs.h <<\_ACEOF
8671 #define STAT_MACROS_BROKEN 1
8682 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
8684 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8685 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8687 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8688 echo $ECHO_N "(cached) $ECHO_C" >&6
8690 cat >conftest.$ac_ext <<_ACEOF
8693 cat confdefs.h >>conftest.$ac_ext
8694 cat >>conftest.$ac_ext <<_ACEOF
8695 /* end confdefs.h. */
8696 #include <sys/types.h>
8697 #if HAVE_SYS_PARAM_H
8698 # include <sys/param.h>
8701 #include <$ac_header>
8703 rm -f conftest.$ac_objext
8704 if { (ac_try="$ac_compile"
8706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8707 *) ac_try_echo=$ac_try;;
8709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8710 (eval "$ac_compile") 2>conftest.er1
8712 grep -v '^ *+' conftest.er1 >conftest.err
8714 cat conftest.err >&5
8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 (exit $ac_status); } &&
8717 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8718 { (case "(($ac_try" in
8719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8720 *) ac_try_echo=$ac_try;;
8722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8723 (eval "$ac_try") 2>&5
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); }; } &&
8727 { ac_try='test -s conftest.$ac_objext'
8728 { (case "(($ac_try" in
8729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8730 *) ac_try_echo=$ac_try;;
8732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8733 (eval "$ac_try") 2>&5
8735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8736 (exit $ac_status); }; }; then
8737 eval "$as_ac_Header=yes"
8739 echo "$as_me: failed program was:" >&5
8740 sed 's/^/| /' conftest.$ac_ext >&5
8742 eval "$as_ac_Header=no"
8745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8747 ac_res=`eval echo '${'$as_ac_Header'}'`
8748 { echo "$as_me:$LINENO: result: $ac_res" >&5
8749 echo "${ECHO_T}$ac_res" >&6; }
8750 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8751 cat >>confdefs.h <<_ACEOF
8752 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8766 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
8768 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8769 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8771 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8772 echo $ECHO_N "(cached) $ECHO_C" >&6
8774 cat >conftest.$ac_ext <<_ACEOF
8777 cat confdefs.h >>conftest.$ac_ext
8778 cat >>conftest.$ac_ext <<_ACEOF
8779 /* end confdefs.h. */
8780 #include <sys/types.h>
8781 #if HAVE_SYS_SOCKET_H
8782 # include <sys/socket.h>
8785 #include <$ac_header>
8787 rm -f conftest.$ac_objext
8788 if { (ac_try="$ac_compile"
8790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8791 *) ac_try_echo=$ac_try;;
8793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8794 (eval "$ac_compile") 2>conftest.er1
8796 grep -v '^ *+' conftest.er1 >conftest.err
8798 cat conftest.err >&5
8799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8800 (exit $ac_status); } &&
8801 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8802 { (case "(($ac_try" in
8803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8804 *) ac_try_echo=$ac_try;;
8806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8807 (eval "$ac_try") 2>&5
8809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8810 (exit $ac_status); }; } &&
8811 { ac_try='test -s conftest.$ac_objext'
8812 { (case "(($ac_try" in
8813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8814 *) ac_try_echo=$ac_try;;
8816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8817 (eval "$ac_try") 2>&5
8819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8820 (exit $ac_status); }; }; then
8821 eval "$as_ac_Header=yes"
8823 echo "$as_me: failed program was:" >&5
8824 sed 's/^/| /' conftest.$ac_ext >&5
8826 eval "$as_ac_Header=no"
8829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8831 ac_res=`eval echo '${'$as_ac_Header'}'`
8832 { echo "$as_me:$LINENO: result: $ac_res" >&5
8833 echo "${ECHO_T}$ac_res" >&6; }
8834 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8835 cat >>confdefs.h <<_ACEOF
8836 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8845 for ac_header in resolv.h
8847 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8848 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8850 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8851 echo $ECHO_N "(cached) $ECHO_C" >&6
8853 cat >conftest.$ac_ext <<_ACEOF
8856 cat confdefs.h >>conftest.$ac_ext
8857 cat >>conftest.$ac_ext <<_ACEOF
8858 /* end confdefs.h. */
8859 #include <sys/types.h>
8860 #if HAVE_SYS_SOCKET_H
8861 # include <sys/socket.h>
8863 #if HAVE_NETINET_IN_H
8864 # include <netinet/in.h>
8866 #if HAVE_ARPA_NAMESER_H
8867 # include <arpa/nameser.h>
8870 #include <$ac_header>
8872 rm -f conftest.$ac_objext
8873 if { (ac_try="$ac_compile"
8875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8876 *) ac_try_echo=$ac_try;;
8878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8879 (eval "$ac_compile") 2>conftest.er1
8881 grep -v '^ *+' conftest.er1 >conftest.err
8883 cat conftest.err >&5
8884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8885 (exit $ac_status); } &&
8886 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8887 { (case "(($ac_try" in
8888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8889 *) ac_try_echo=$ac_try;;
8891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8892 (eval "$ac_try") 2>&5
8894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8895 (exit $ac_status); }; } &&
8896 { ac_try='test -s conftest.$ac_objext'
8897 { (case "(($ac_try" in
8898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8899 *) ac_try_echo=$ac_try;;
8901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8902 (eval "$ac_try") 2>&5
8904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8905 (exit $ac_status); }; }; then
8906 eval "$as_ac_Header=yes"
8908 echo "$as_me: failed program was:" >&5
8909 sed 's/^/| /' conftest.$ac_ext >&5
8911 eval "$as_ac_Header=no"
8914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8916 ac_res=`eval echo '${'$as_ac_Header'}'`
8917 { echo "$as_me:$LINENO: result: $ac_res" >&5
8918 echo "${ECHO_T}$ac_res" >&6; }
8919 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8920 cat >>confdefs.h <<_ACEOF
8921 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8930 for ac_header in ucontext.h
8932 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8933 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8935 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8936 echo $ECHO_N "(cached) $ECHO_C" >&6
8938 cat >conftest.$ac_ext <<_ACEOF
8941 cat confdefs.h >>conftest.$ac_ext
8942 cat >>conftest.$ac_ext <<_ACEOF
8943 /* end confdefs.h. */
8946 #include <$ac_header>
8948 rm -f conftest.$ac_objext
8949 if { (ac_try="$ac_compile"
8951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8952 *) ac_try_echo=$ac_try;;
8954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8955 (eval "$ac_compile") 2>conftest.er1
8957 grep -v '^ *+' conftest.er1 >conftest.err
8959 cat conftest.err >&5
8960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8961 (exit $ac_status); } &&
8962 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8963 { (case "(($ac_try" in
8964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8965 *) ac_try_echo=$ac_try;;
8967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8968 (eval "$ac_try") 2>&5
8970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8971 (exit $ac_status); }; } &&
8972 { ac_try='test -s conftest.$ac_objext'
8973 { (case "(($ac_try" in
8974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8975 *) ac_try_echo=$ac_try;;
8977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8978 (eval "$ac_try") 2>&5
8980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981 (exit $ac_status); }; }; then
8982 eval "$as_ac_Header=yes"
8984 echo "$as_me: failed program was:" >&5
8985 sed 's/^/| /' conftest.$ac_ext >&5
8987 eval "$as_ac_Header=no"
8990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8992 ac_res=`eval echo '${'$as_ac_Header'}'`
8993 { echo "$as_me:$LINENO: result: $ac_res" >&5
8994 echo "${ECHO_T}$ac_res" >&6; }
8995 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8996 cat >>confdefs.h <<_ACEOF
8997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9007 for ac_header in linux/ipx.h linux/videodev.h
9009 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9010 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9011 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9012 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9013 echo $ECHO_N "(cached) $ECHO_C" >&6
9015 cat >conftest.$ac_ext <<_ACEOF
9018 cat confdefs.h >>conftest.$ac_ext
9019 cat >>conftest.$ac_ext <<_ACEOF
9020 /* end confdefs.h. */
9021 #ifdef HAVE_SYS_TIME_H
9022 #include <sys/time.h>
9024 #include <sys/types.h>
9025 #ifdef HAVE_ASM_TYPES_H
9026 #include <asm/types.h>
9029 #include <$ac_header>
9031 rm -f conftest.$ac_objext
9032 if { (ac_try="$ac_compile"
9034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9035 *) ac_try_echo=$ac_try;;
9037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9038 (eval "$ac_compile") 2>conftest.er1
9040 grep -v '^ *+' conftest.er1 >conftest.err
9042 cat conftest.err >&5
9043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9044 (exit $ac_status); } &&
9045 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9046 { (case "(($ac_try" in
9047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9048 *) ac_try_echo=$ac_try;;
9050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9051 (eval "$ac_try") 2>&5
9053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9054 (exit $ac_status); }; } &&
9055 { ac_try='test -s conftest.$ac_objext'
9056 { (case "(($ac_try" in
9057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9058 *) ac_try_echo=$ac_try;;
9060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9061 (eval "$ac_try") 2>&5
9063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9064 (exit $ac_status); }; }; then
9065 eval "$as_ac_Header=yes"
9067 echo "$as_me: failed program was:" >&5
9068 sed 's/^/| /' conftest.$ac_ext >&5
9070 eval "$as_ac_Header=no"
9073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9075 ac_res=`eval echo '${'$as_ac_Header'}'`
9076 { echo "$as_me:$LINENO: result: $ac_res" >&5
9077 echo "${ECHO_T}$ac_res" >&6; }
9078 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9079 cat >>confdefs.h <<_ACEOF
9080 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9089 for ac_header in linux/capi.h
9091 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9092 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9094 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9095 echo $ECHO_N "(cached) $ECHO_C" >&6
9097 cat >conftest.$ac_ext <<_ACEOF
9100 cat confdefs.h >>conftest.$ac_ext
9101 cat >>conftest.$ac_ext <<_ACEOF
9102 /* end confdefs.h. */
9105 #include <$ac_header>
9107 rm -f conftest.$ac_objext
9108 if { (ac_try="$ac_compile"
9110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9111 *) ac_try_echo=$ac_try;;
9113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9114 (eval "$ac_compile") 2>conftest.er1
9116 grep -v '^ *+' conftest.er1 >conftest.err
9118 cat conftest.err >&5
9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120 (exit $ac_status); } &&
9121 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9122 { (case "(($ac_try" in
9123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9124 *) ac_try_echo=$ac_try;;
9126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9127 (eval "$ac_try") 2>&5
9129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9130 (exit $ac_status); }; } &&
9131 { ac_try='test -s conftest.$ac_objext'
9132 { (case "(($ac_try" in
9133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9134 *) ac_try_echo=$ac_try;;
9136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9137 (eval "$ac_try") 2>&5
9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140 (exit $ac_status); }; }; then
9141 eval "$as_ac_Header=yes"
9143 echo "$as_me: failed program was:" >&5
9144 sed 's/^/| /' conftest.$ac_ext >&5
9146 eval "$as_ac_Header=no"
9149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9151 ac_res=`eval echo '${'$as_ac_Header'}'`
9152 { echo "$as_me:$LINENO: result: $ac_res" >&5
9153 echo "${ECHO_T}$ac_res" >&6; }
9154 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9155 cat >>confdefs.h <<_ACEOF
9156 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9165 if test "$have_x" = "yes"
9168 ac_save_CPPFLAGS="$CPPFLAGS"
9169 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9180 for ac_header in X11/Xlib.h \
9183 X11/extensions/shape.h \
9184 X11/extensions/XInput.h \
9185 X11/extensions/XShm.h \
9186 X11/extensions/Xrandr.h \
9187 X11/extensions/Xrender.h \
9188 X11/extensions/xf86vmode.h
9190 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9191 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9193 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9194 echo $ECHO_N "(cached) $ECHO_C" >&6
9196 cat >conftest.$ac_ext <<_ACEOF
9199 cat confdefs.h >>conftest.$ac_ext
9200 cat >>conftest.$ac_ext <<_ACEOF
9201 /* end confdefs.h. */
9202 #ifdef HAVE_X11_XLIB_H
9203 # include <X11/Xlib.h>
9205 #ifdef HAVE_X11_XUTIL_H
9206 # include <X11/Xutil.h>
9209 #include <$ac_header>
9211 rm -f conftest.$ac_objext
9212 if { (ac_try="$ac_compile"
9214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9215 *) ac_try_echo=$ac_try;;
9217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9218 (eval "$ac_compile") 2>conftest.er1
9220 grep -v '^ *+' conftest.er1 >conftest.err
9222 cat conftest.err >&5
9223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9224 (exit $ac_status); } &&
9225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9226 { (case "(($ac_try" in
9227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9228 *) ac_try_echo=$ac_try;;
9230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9231 (eval "$ac_try") 2>&5
9233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9234 (exit $ac_status); }; } &&
9235 { ac_try='test -s conftest.$ac_objext'
9236 { (case "(($ac_try" in
9237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9238 *) ac_try_echo=$ac_try;;
9240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9241 (eval "$ac_try") 2>&5
9243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9244 (exit $ac_status); }; }; then
9245 eval "$as_ac_Header=yes"
9247 echo "$as_me: failed program was:" >&5
9248 sed 's/^/| /' conftest.$ac_ext >&5
9250 eval "$as_ac_Header=no"
9253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9255 ac_res=`eval echo '${'$as_ac_Header'}'`
9256 { echo "$as_me:$LINENO: result: $ac_res" >&5
9257 echo "${ECHO_T}$ac_res" >&6; }
9258 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9259 cat >>confdefs.h <<_ACEOF
9260 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9268 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9270 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9271 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9272 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9273 echo $ECHO_N "(cached) $ECHO_C" >&6
9275 ac_check_lib_save_LIBS=$LIBS
9276 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9277 cat >conftest.$ac_ext <<_ACEOF
9280 cat confdefs.h >>conftest.$ac_ext
9281 cat >>conftest.$ac_ext <<_ACEOF
9282 /* end confdefs.h. */
9284 /* Override any GCC internal prototype to avoid an error.
9285 Use char because int might match the return type of a GCC
9286 builtin and then its argument prototype would still apply. */
9290 char XkbQueryExtension ();
9294 return XkbQueryExtension ();
9299 rm -f conftest.$ac_objext conftest$ac_exeext
9300 if { (ac_try="$ac_link"
9302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9303 *) ac_try_echo=$ac_try;;
9305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9306 (eval "$ac_link") 2>conftest.er1
9308 grep -v '^ *+' conftest.er1 >conftest.err
9310 cat conftest.err >&5
9311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 (exit $ac_status); } &&
9313 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9314 { (case "(($ac_try" in
9315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9316 *) ac_try_echo=$ac_try;;
9318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9319 (eval "$ac_try") 2>&5
9321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322 (exit $ac_status); }; } &&
9323 { ac_try='test -s conftest$ac_exeext'
9324 { (case "(($ac_try" in
9325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9326 *) ac_try_echo=$ac_try;;
9328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9329 (eval "$ac_try") 2>&5
9331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 (exit $ac_status); }; }; then
9333 ac_cv_lib_X11_XkbQueryExtension=yes
9335 echo "$as_me: failed program was:" >&5
9336 sed 's/^/| /' conftest.$ac_ext >&5
9338 ac_cv_lib_X11_XkbQueryExtension=no
9341 rm -f core conftest.err conftest.$ac_objext \
9342 conftest$ac_exeext conftest.$ac_ext
9343 LIBS=$ac_check_lib_save_LIBS
9345 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9346 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9347 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9349 cat >>confdefs.h <<\_ACEOF
9357 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9359 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9360 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9361 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9362 echo $ECHO_N "(cached) $ECHO_C" >&6
9364 ac_check_lib_save_LIBS=$LIBS
9365 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9366 cat >conftest.$ac_ext <<_ACEOF
9369 cat confdefs.h >>conftest.$ac_ext
9370 cat >>conftest.$ac_ext <<_ACEOF
9371 /* end confdefs.h. */
9373 /* Override any GCC internal prototype to avoid an error.
9374 Use char because int might match the return type of a GCC
9375 builtin and then its argument prototype would still apply. */
9379 char XShmQueryExtension ();
9383 return XShmQueryExtension ();
9388 rm -f conftest.$ac_objext conftest$ac_exeext
9389 if { (ac_try="$ac_link"
9391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9392 *) ac_try_echo=$ac_try;;
9394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9395 (eval "$ac_link") 2>conftest.er1
9397 grep -v '^ *+' conftest.er1 >conftest.err
9399 cat conftest.err >&5
9400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9401 (exit $ac_status); } &&
9402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9403 { (case "(($ac_try" in
9404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9405 *) ac_try_echo=$ac_try;;
9407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9408 (eval "$ac_try") 2>&5
9410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9411 (exit $ac_status); }; } &&
9412 { ac_try='test -s conftest$ac_exeext'
9413 { (case "(($ac_try" in
9414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9415 *) ac_try_echo=$ac_try;;
9417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9418 (eval "$ac_try") 2>&5
9420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9421 (exit $ac_status); }; }; then
9422 ac_cv_lib_Xext_XShmQueryExtension=yes
9424 echo "$as_me: failed program was:" >&5
9425 sed 's/^/| /' conftest.$ac_ext >&5
9427 ac_cv_lib_Xext_XShmQueryExtension=no
9430 rm -f core conftest.err conftest.$ac_objext \
9431 conftest$ac_exeext conftest.$ac_ext
9432 LIBS=$ac_check_lib_save_LIBS
9434 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9435 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9436 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9438 cat >>confdefs.h <<\_ACEOF
9439 #define HAVE_LIBXXSHM 1
9446 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9448 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9449 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9450 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9451 echo $ECHO_N "(cached) $ECHO_C" >&6
9453 ac_check_lib_save_LIBS=$LIBS
9454 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9455 cat >conftest.$ac_ext <<_ACEOF
9458 cat confdefs.h >>conftest.$ac_ext
9459 cat >>conftest.$ac_ext <<_ACEOF
9460 /* end confdefs.h. */
9462 /* Override any GCC internal prototype to avoid an error.
9463 Use char because int might match the return type of a GCC
9464 builtin and then its argument prototype would still apply. */
9468 char XShapeQueryExtension ();
9472 return XShapeQueryExtension ();
9477 rm -f conftest.$ac_objext conftest$ac_exeext
9478 if { (ac_try="$ac_link"
9480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9481 *) ac_try_echo=$ac_try;;
9483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9484 (eval "$ac_link") 2>conftest.er1
9486 grep -v '^ *+' conftest.er1 >conftest.err
9488 cat conftest.err >&5
9489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9490 (exit $ac_status); } &&
9491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9492 { (case "(($ac_try" in
9493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9494 *) ac_try_echo=$ac_try;;
9496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9497 (eval "$ac_try") 2>&5
9499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9500 (exit $ac_status); }; } &&
9501 { ac_try='test -s conftest$ac_exeext'
9502 { (case "(($ac_try" in
9503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9504 *) ac_try_echo=$ac_try;;
9506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9507 (eval "$ac_try") 2>&5
9509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9510 (exit $ac_status); }; }; then
9511 ac_cv_lib_Xext_XShapeQueryExtension=yes
9513 echo "$as_me: failed program was:" >&5
9514 sed 's/^/| /' conftest.$ac_ext >&5
9516 ac_cv_lib_Xext_XShapeQueryExtension=no
9519 rm -f core conftest.err conftest.$ac_objext \
9520 conftest$ac_exeext conftest.$ac_ext
9521 LIBS=$ac_check_lib_save_LIBS
9523 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9524 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9525 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9527 cat >>confdefs.h <<\_ACEOF
9528 #define HAVE_LIBXSHAPE 1
9535 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9537 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9538 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9539 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9540 echo $ECHO_N "(cached) $ECHO_C" >&6
9542 ac_check_lib_save_LIBS=$LIBS
9543 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9544 cat >conftest.$ac_ext <<_ACEOF
9547 cat confdefs.h >>conftest.$ac_ext
9548 cat >>conftest.$ac_ext <<_ACEOF
9549 /* end confdefs.h. */
9551 /* Override any GCC internal prototype to avoid an error.
9552 Use char because int might match the return type of a GCC
9553 builtin and then its argument prototype would still apply. */
9557 char XF86VidModeQueryExtension ();
9561 return XF86VidModeQueryExtension ();
9566 rm -f conftest.$ac_objext conftest$ac_exeext
9567 if { (ac_try="$ac_link"
9569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9570 *) ac_try_echo=$ac_try;;
9572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9573 (eval "$ac_link") 2>conftest.er1
9575 grep -v '^ *+' conftest.er1 >conftest.err
9577 cat conftest.err >&5
9578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9579 (exit $ac_status); } &&
9580 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9581 { (case "(($ac_try" in
9582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9583 *) ac_try_echo=$ac_try;;
9585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9586 (eval "$ac_try") 2>&5
9588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9589 (exit $ac_status); }; } &&
9590 { ac_try='test -s conftest$ac_exeext'
9591 { (case "(($ac_try" in
9592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9593 *) ac_try_echo=$ac_try;;
9595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9596 (eval "$ac_try") 2>&5
9598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9599 (exit $ac_status); }; }; then
9600 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9602 echo "$as_me: failed program was:" >&5
9603 sed 's/^/| /' conftest.$ac_ext >&5
9605 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9608 rm -f core conftest.err conftest.$ac_objext \
9609 conftest$ac_exeext conftest.$ac_ext
9610 LIBS=$ac_check_lib_save_LIBS
9612 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9613 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9614 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9616 cat >>confdefs.h <<\_ACEOF
9617 #define HAVE_LIBXXF86VM 1
9620 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9626 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9628 cat >conftest.$ac_ext <<_ACEOF
9631 cat confdefs.h >>conftest.$ac_ext
9632 cat >>conftest.$ac_ext <<_ACEOF
9633 /* end confdefs.h. */
9634 #include <X11/Xlib.h>
9635 #include <X11/extensions/Xrandr.h>
9639 static typeof(XRRSetScreenConfigAndRate) * func;
9644 rm -f conftest.$ac_objext
9645 if { (ac_try="$ac_compile"
9647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9648 *) ac_try_echo=$ac_try;;
9650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9651 (eval "$ac_compile") 2>conftest.er1
9653 grep -v '^ *+' conftest.er1 >conftest.err
9655 cat conftest.err >&5
9656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9657 (exit $ac_status); } &&
9658 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9659 { (case "(($ac_try" in
9660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9661 *) ac_try_echo=$ac_try;;
9663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9664 (eval "$ac_try") 2>&5
9666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9667 (exit $ac_status); }; } &&
9668 { ac_try='test -s conftest.$ac_objext'
9669 { (case "(($ac_try" in
9670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9671 *) ac_try_echo=$ac_try;;
9673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9674 (eval "$ac_try") 2>&5
9676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9677 (exit $ac_status); }; }; then
9679 cat >>confdefs.h <<\_ACEOF
9680 #define HAVE_LIBXRANDR 1
9684 echo "$as_me: failed program was:" >&5
9685 sed 's/^/| /' conftest.$ac_ext >&5
9690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9693 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9695 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9696 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9697 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9698 echo $ECHO_N "(cached) $ECHO_C" >&6
9700 ac_check_lib_save_LIBS=$LIBS
9701 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9702 cat >conftest.$ac_ext <<_ACEOF
9705 cat confdefs.h >>conftest.$ac_ext
9706 cat >>conftest.$ac_ext <<_ACEOF
9707 /* end confdefs.h. */
9709 /* Override any GCC internal prototype to avoid an error.
9710 Use char because int might match the return type of a GCC
9711 builtin and then its argument prototype would still apply. */
9715 char XRenderSetPictureTransform ();
9719 return XRenderSetPictureTransform ();
9724 rm -f conftest.$ac_objext conftest$ac_exeext
9725 if { (ac_try="$ac_link"
9727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9728 *) ac_try_echo=$ac_try;;
9730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9731 (eval "$ac_link") 2>conftest.er1
9733 grep -v '^ *+' conftest.er1 >conftest.err
9735 cat conftest.err >&5
9736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9737 (exit $ac_status); } &&
9738 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9739 { (case "(($ac_try" in
9740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9741 *) ac_try_echo=$ac_try;;
9743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9744 (eval "$ac_try") 2>&5
9746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9747 (exit $ac_status); }; } &&
9748 { ac_try='test -s conftest$ac_exeext'
9749 { (case "(($ac_try" in
9750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9751 *) ac_try_echo=$ac_try;;
9753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9754 (eval "$ac_try") 2>&5
9756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9757 (exit $ac_status); }; }; then
9758 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9760 echo "$as_me: failed program was:" >&5
9761 sed 's/^/| /' conftest.$ac_ext >&5
9763 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9766 rm -f core conftest.err conftest.$ac_objext \
9767 conftest$ac_exeext conftest.$ac_ext
9768 LIBS=$ac_check_lib_save_LIBS
9770 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9771 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9772 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9774 cat >>confdefs.h <<\_ACEOF
9775 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9782 if test "x$with_opengl" != "xno"
9788 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9790 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9791 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9793 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9794 echo $ECHO_N "(cached) $ECHO_C" >&6
9796 cat >conftest.$ac_ext <<_ACEOF
9799 cat confdefs.h >>conftest.$ac_ext
9800 cat >>conftest.$ac_ext <<_ACEOF
9801 /* end confdefs.h. */
9802 #ifdef HAVE_GL_GLX_H
9803 # include <GL/glx.h>
9806 #include <$ac_header>
9808 rm -f conftest.$ac_objext
9809 if { (ac_try="$ac_compile"
9811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9812 *) ac_try_echo=$ac_try;;
9814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9815 (eval "$ac_compile") 2>conftest.er1
9817 grep -v '^ *+' conftest.er1 >conftest.err
9819 cat conftest.err >&5
9820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9821 (exit $ac_status); } &&
9822 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9823 { (case "(($ac_try" in
9824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9825 *) ac_try_echo=$ac_try;;
9827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9828 (eval "$ac_try") 2>&5
9830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9831 (exit $ac_status); }; } &&
9832 { ac_try='test -s conftest.$ac_objext'
9833 { (case "(($ac_try" in
9834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9835 *) ac_try_echo=$ac_try;;
9837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9838 (eval "$ac_try") 2>&5
9840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9841 (exit $ac_status); }; }; then
9842 eval "$as_ac_Header=yes"
9844 echo "$as_me: failed program was:" >&5
9845 sed 's/^/| /' conftest.$ac_ext >&5
9847 eval "$as_ac_Header=no"
9850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9852 ac_res=`eval echo '${'$as_ac_Header'}'`
9853 { echo "$as_me:$LINENO: result: $ac_res" >&5
9854 echo "${ECHO_T}$ac_res" >&6; }
9855 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9856 cat >>confdefs.h <<_ACEOF
9857 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9864 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9866 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9867 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9868 if test "${wine_cv_opengl_version_OK+set}" = set; then
9869 echo $ECHO_N "(cached) $ECHO_C" >&6
9871 cat >conftest.$ac_ext <<_ACEOF
9874 cat confdefs.h >>conftest.$ac_ext
9875 cat >>conftest.$ac_ext <<_ACEOF
9876 /* end confdefs.h. */
9881 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9886 rm -f conftest.$ac_objext
9887 if { (ac_try="$ac_compile"
9889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9890 *) ac_try_echo=$ac_try;;
9892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9893 (eval "$ac_compile") 2>conftest.er1
9895 grep -v '^ *+' conftest.er1 >conftest.err
9897 cat conftest.err >&5
9898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9899 (exit $ac_status); } &&
9900 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9901 { (case "(($ac_try" in
9902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9903 *) ac_try_echo=$ac_try;;
9905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9906 (eval "$ac_try") 2>&5
9908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9909 (exit $ac_status); }; } &&
9910 { ac_try='test -s conftest.$ac_objext'
9911 { (case "(($ac_try" in
9912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9913 *) ac_try_echo=$ac_try;;
9915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9916 (eval "$ac_try") 2>&5
9918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9919 (exit $ac_status); }; }; then
9920 wine_cv_opengl_version_OK="yes"
9922 echo "$as_me: failed program was:" >&5
9923 sed 's/^/| /' conftest.$ac_ext >&5
9925 wine_cv_opengl_version_OK="no"
9929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9932 { echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
9933 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6; }
9935 if test "$wine_cv_opengl_version_OK" = "yes"
9937 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
9938 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
9939 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
9940 echo $ECHO_N "(cached) $ECHO_C" >&6
9942 ac_check_lib_save_LIBS=$LIBS
9943 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
9944 cat >conftest.$ac_ext <<_ACEOF
9947 cat confdefs.h >>conftest.$ac_ext
9948 cat >>conftest.$ac_ext <<_ACEOF
9949 /* end confdefs.h. */
9951 /* Override any GCC internal prototype to avoid an error.
9952 Use char because int might match the return type of a GCC
9953 builtin and then its argument prototype would still apply. */
9957 char glXCreateContext ();
9961 return glXCreateContext ();
9966 rm -f conftest.$ac_objext conftest$ac_exeext
9967 if { (ac_try="$ac_link"
9969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9970 *) ac_try_echo=$ac_try;;
9972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9973 (eval "$ac_link") 2>conftest.er1
9975 grep -v '^ *+' conftest.er1 >conftest.err
9977 cat conftest.err >&5
9978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9979 (exit $ac_status); } &&
9980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9981 { (case "(($ac_try" in
9982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9983 *) ac_try_echo=$ac_try;;
9985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9986 (eval "$ac_try") 2>&5
9988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9989 (exit $ac_status); }; } &&
9990 { ac_try='test -s conftest$ac_exeext'
9991 { (case "(($ac_try" in
9992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9993 *) ac_try_echo=$ac_try;;
9995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9996 (eval "$ac_try") 2>&5
9998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9999 (exit $ac_status); }; }; then
10000 ac_cv_lib_GL_glXCreateContext=yes
10002 echo "$as_me: failed program was:" >&5
10003 sed 's/^/| /' conftest.$ac_ext >&5
10005 ac_cv_lib_GL_glXCreateContext=no
10008 rm -f core conftest.err conftest.$ac_objext \
10009 conftest$ac_exeext conftest.$ac_ext
10010 LIBS=$ac_check_lib_save_LIBS
10012 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
10013 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
10014 if test $ac_cv_lib_GL_glXCreateContext = yes; then
10020 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
10022 OPENGLFILES='$(OPENGLFILES)'
10024 cat >>confdefs.h <<\_ACEOF
10025 #define HAVE_OPENGL 1
10029 if test -f /usr/X11R6/lib/libGL.a
10031 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
10032 This prevents linking to OpenGL. Delete the file and restart configure." >&5
10033 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
10034 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
10035 { (exit 1); exit 1; }; }
10039 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10040 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10041 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10042 echo $ECHO_N "(cached) $ECHO_C" >&6
10044 ac_check_lib_save_LIBS=$LIBS
10045 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
10047 cat >conftest.$ac_ext <<_ACEOF
10050 cat confdefs.h >>conftest.$ac_ext
10051 cat >>conftest.$ac_ext <<_ACEOF
10052 /* end confdefs.h. */
10054 /* Override any GCC internal prototype to avoid an error.
10055 Use char because int might match the return type of a GCC
10056 builtin and then its argument prototype would still apply. */
10064 return gluLookAt ();
10069 rm -f conftest.$ac_objext conftest$ac_exeext
10070 if { (ac_try="$ac_link"
10071 case "(($ac_try" in
10072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10073 *) ac_try_echo=$ac_try;;
10075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10076 (eval "$ac_link") 2>conftest.er1
10078 grep -v '^ *+' conftest.er1 >conftest.err
10080 cat conftest.err >&5
10081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10082 (exit $ac_status); } &&
10083 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10084 { (case "(($ac_try" in
10085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10086 *) ac_try_echo=$ac_try;;
10088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10089 (eval "$ac_try") 2>&5
10091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10092 (exit $ac_status); }; } &&
10093 { ac_try='test -s conftest$ac_exeext'
10094 { (case "(($ac_try" in
10095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10096 *) ac_try_echo=$ac_try;;
10098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10099 (eval "$ac_try") 2>&5
10101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10102 (exit $ac_status); }; }; then
10103 ac_cv_lib_GLU_gluLookAt=yes
10105 echo "$as_me: failed program was:" >&5
10106 sed 's/^/| /' conftest.$ac_ext >&5
10108 ac_cv_lib_GLU_gluLookAt=no
10111 rm -f core conftest.err conftest.$ac_objext \
10112 conftest$ac_exeext conftest.$ac_ext
10113 LIBS=$ac_check_lib_save_LIBS
10115 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10116 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10117 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10118 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10119 GLU32FILES='$(GLU32FILES)'
10125 { echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
10126 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6; }
10127 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
10128 echo $ECHO_N "(cached) $ECHO_C" >&6
10130 ac_check_lib_save_LIBS=$LIBS
10131 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
10132 cat >conftest.$ac_ext <<_ACEOF
10135 cat confdefs.h >>conftest.$ac_ext
10136 cat >>conftest.$ac_ext <<_ACEOF
10137 /* end confdefs.h. */
10139 /* Override any GCC internal prototype to avoid an error.
10140 Use char because int might match the return type of a GCC
10141 builtin and then its argument prototype would still apply. */
10145 char glutMainLoop ();
10149 return glutMainLoop ();
10154 rm -f conftest.$ac_objext conftest$ac_exeext
10155 if { (ac_try="$ac_link"
10156 case "(($ac_try" in
10157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10158 *) ac_try_echo=$ac_try;;
10160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10161 (eval "$ac_link") 2>conftest.er1
10163 grep -v '^ *+' conftest.er1 >conftest.err
10165 cat conftest.err >&5
10166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10167 (exit $ac_status); } &&
10168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10169 { (case "(($ac_try" in
10170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10171 *) ac_try_echo=$ac_try;;
10173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10174 (eval "$ac_try") 2>&5
10176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10177 (exit $ac_status); }; } &&
10178 { ac_try='test -s conftest$ac_exeext'
10179 { (case "(($ac_try" in
10180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10181 *) ac_try_echo=$ac_try;;
10183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10184 (eval "$ac_try") 2>&5
10186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10187 (exit $ac_status); }; }; then
10188 ac_cv_lib_glut_glutMainLoop=yes
10190 echo "$as_me: failed program was:" >&5
10191 sed 's/^/| /' conftest.$ac_ext >&5
10193 ac_cv_lib_glut_glutMainLoop=no
10196 rm -f core conftest.err conftest.$ac_objext \
10197 conftest$ac_exeext conftest.$ac_ext
10198 LIBS=$ac_check_lib_save_LIBS
10200 { echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
10201 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6; }
10202 if test $ac_cv_lib_glut_glutMainLoop = yes; then
10203 GLUT_LIBS="-lglut -lXmu -lXi"
10205 GLUT32FILES='$(GLUT32FILES)'
10215 for ac_header in audio/audiolib.h
10217 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10218 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10219 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10220 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10221 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10222 echo $ECHO_N "(cached) $ECHO_C" >&6
10224 ac_res=`eval echo '${'$as_ac_Header'}'`
10225 { echo "$as_me:$LINENO: result: $ac_res" >&5
10226 echo "${ECHO_T}$ac_res" >&6; }
10228 # Is the header compilable?
10229 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10230 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10231 cat >conftest.$ac_ext <<_ACEOF
10234 cat confdefs.h >>conftest.$ac_ext
10235 cat >>conftest.$ac_ext <<_ACEOF
10236 /* end confdefs.h. */
10237 $ac_includes_default
10238 #include <$ac_header>
10240 rm -f conftest.$ac_objext
10241 if { (ac_try="$ac_compile"
10242 case "(($ac_try" in
10243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10244 *) ac_try_echo=$ac_try;;
10246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10247 (eval "$ac_compile") 2>conftest.er1
10249 grep -v '^ *+' conftest.er1 >conftest.err
10251 cat conftest.err >&5
10252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 (exit $ac_status); } &&
10254 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10255 { (case "(($ac_try" in
10256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10257 *) ac_try_echo=$ac_try;;
10259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10260 (eval "$ac_try") 2>&5
10262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10263 (exit $ac_status); }; } &&
10264 { ac_try='test -s conftest.$ac_objext'
10265 { (case "(($ac_try" in
10266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10267 *) ac_try_echo=$ac_try;;
10269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10270 (eval "$ac_try") 2>&5
10272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10273 (exit $ac_status); }; }; then
10274 ac_header_compiler=yes
10276 echo "$as_me: failed program was:" >&5
10277 sed 's/^/| /' conftest.$ac_ext >&5
10279 ac_header_compiler=no
10282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10283 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10284 echo "${ECHO_T}$ac_header_compiler" >&6; }
10286 # Is the header present?
10287 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10288 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10289 cat >conftest.$ac_ext <<_ACEOF
10292 cat confdefs.h >>conftest.$ac_ext
10293 cat >>conftest.$ac_ext <<_ACEOF
10294 /* end confdefs.h. */
10295 #include <$ac_header>
10297 if { (ac_try="$ac_cpp conftest.$ac_ext"
10298 case "(($ac_try" in
10299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10300 *) ac_try_echo=$ac_try;;
10302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10303 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10305 grep -v '^ *+' conftest.er1 >conftest.err
10307 cat conftest.err >&5
10308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10309 (exit $ac_status); } >/dev/null; then
10310 if test -s conftest.err; then
10311 ac_cpp_err=$ac_c_preproc_warn_flag
10312 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10319 if test -z "$ac_cpp_err"; then
10320 ac_header_preproc=yes
10322 echo "$as_me: failed program was:" >&5
10323 sed 's/^/| /' conftest.$ac_ext >&5
10325 ac_header_preproc=no
10328 rm -f conftest.err conftest.$ac_ext
10329 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10330 echo "${ECHO_T}$ac_header_preproc" >&6; }
10332 # So? What about this header?
10333 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10335 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10336 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10338 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10339 ac_header_preproc=yes
10342 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10343 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10344 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10345 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10346 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10347 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10348 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10349 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10350 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10351 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10352 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10353 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10355 ## ------------------------------------ ##
10356 ## Report this to wine-devel@winehq.org ##
10357 ## ------------------------------------ ##
10359 ) | sed "s/^/$as_me: WARNING: /" >&2
10362 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10364 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10365 echo $ECHO_N "(cached) $ECHO_C" >&6
10367 eval "$as_ac_Header=\$ac_header_preproc"
10369 ac_res=`eval echo '${'$as_ac_Header'}'`
10370 { echo "$as_me:$LINENO: result: $ac_res" >&5
10371 echo "${ECHO_T}$ac_res" >&6; }
10374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10375 cat >>confdefs.h <<_ACEOF
10376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10379 for ac_header in audio/soundlib.h
10381 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10382 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10384 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10385 echo $ECHO_N "(cached) $ECHO_C" >&6
10387 cat >conftest.$ac_ext <<_ACEOF
10390 cat confdefs.h >>conftest.$ac_ext
10391 cat >>conftest.$ac_ext <<_ACEOF
10392 /* end confdefs.h. */
10393 #include <audio/audiolib.h>
10395 #include <$ac_header>
10397 rm -f conftest.$ac_objext
10398 if { (ac_try="$ac_compile"
10399 case "(($ac_try" in
10400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10401 *) ac_try_echo=$ac_try;;
10403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10404 (eval "$ac_compile") 2>conftest.er1
10406 grep -v '^ *+' conftest.er1 >conftest.err
10408 cat conftest.err >&5
10409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410 (exit $ac_status); } &&
10411 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10412 { (case "(($ac_try" in
10413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10414 *) ac_try_echo=$ac_try;;
10416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10417 (eval "$ac_try") 2>&5
10419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10420 (exit $ac_status); }; } &&
10421 { ac_try='test -s conftest.$ac_objext'
10422 { (case "(($ac_try" in
10423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10424 *) ac_try_echo=$ac_try;;
10426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10427 (eval "$ac_try") 2>&5
10429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10430 (exit $ac_status); }; }; then
10431 eval "$as_ac_Header=yes"
10433 echo "$as_me: failed program was:" >&5
10434 sed 's/^/| /' conftest.$ac_ext >&5
10436 eval "$as_ac_Header=no"
10439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10441 ac_res=`eval echo '${'$as_ac_Header'}'`
10442 { echo "$as_me:$LINENO: result: $ac_res" >&5
10443 echo "${ECHO_T}$ac_res" >&6; }
10444 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10445 cat >>confdefs.h <<_ACEOF
10446 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10453 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10454 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10455 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10456 echo $ECHO_N "(cached) $ECHO_C" >&6
10458 ac_check_lib_save_LIBS=$LIBS
10459 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10460 cat >conftest.$ac_ext <<_ACEOF
10463 cat confdefs.h >>conftest.$ac_ext
10464 cat >>conftest.$ac_ext <<_ACEOF
10465 /* end confdefs.h. */
10467 /* Override any GCC internal prototype to avoid an error.
10468 Use char because int might match the return type of a GCC
10469 builtin and then its argument prototype would still apply. */
10473 char AuCreateFlow ();
10477 return AuCreateFlow ();
10482 rm -f conftest.$ac_objext conftest$ac_exeext
10483 if { (ac_try="$ac_link"
10484 case "(($ac_try" in
10485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10486 *) ac_try_echo=$ac_try;;
10488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10489 (eval "$ac_link") 2>conftest.er1
10491 grep -v '^ *+' conftest.er1 >conftest.err
10493 cat conftest.err >&5
10494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10495 (exit $ac_status); } &&
10496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10497 { (case "(($ac_try" in
10498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10499 *) ac_try_echo=$ac_try;;
10501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10502 (eval "$ac_try") 2>&5
10504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10505 (exit $ac_status); }; } &&
10506 { ac_try='test -s conftest$ac_exeext'
10507 { (case "(($ac_try" in
10508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10509 *) ac_try_echo=$ac_try;;
10511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10512 (eval "$ac_try") 2>&5
10514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10515 (exit $ac_status); }; }; then
10516 ac_cv_lib_audio_AuCreateFlow=yes
10518 echo "$as_me: failed program was:" >&5
10519 sed 's/^/| /' conftest.$ac_ext >&5
10521 ac_cv_lib_audio_AuCreateFlow=no
10524 rm -f core conftest.err conftest.$ac_objext \
10525 conftest$ac_exeext conftest.$ac_ext
10526 LIBS=$ac_check_lib_save_LIBS
10528 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10529 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10530 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10532 cat >>confdefs.h <<\_ACEOF
10536 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10544 CPPFLAGS="$ac_save_CPPFLAGS"
10561 if test "$PKG_CONFIG" != "false"
10563 ac_save_CPPFLAGS="$CPPFLAGS"
10564 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10565 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10566 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10568 for ac_header in libxml/parser.h
10570 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10571 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10572 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10574 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10575 echo $ECHO_N "(cached) $ECHO_C" >&6
10577 ac_res=`eval echo '${'$as_ac_Header'}'`
10578 { echo "$as_me:$LINENO: result: $ac_res" >&5
10579 echo "${ECHO_T}$ac_res" >&6; }
10581 # Is the header compilable?
10582 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10583 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10584 cat >conftest.$ac_ext <<_ACEOF
10587 cat confdefs.h >>conftest.$ac_ext
10588 cat >>conftest.$ac_ext <<_ACEOF
10589 /* end confdefs.h. */
10590 $ac_includes_default
10591 #include <$ac_header>
10593 rm -f conftest.$ac_objext
10594 if { (ac_try="$ac_compile"
10595 case "(($ac_try" in
10596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10597 *) ac_try_echo=$ac_try;;
10599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10600 (eval "$ac_compile") 2>conftest.er1
10602 grep -v '^ *+' conftest.er1 >conftest.err
10604 cat conftest.err >&5
10605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10606 (exit $ac_status); } &&
10607 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10608 { (case "(($ac_try" in
10609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10610 *) ac_try_echo=$ac_try;;
10612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10613 (eval "$ac_try") 2>&5
10615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616 (exit $ac_status); }; } &&
10617 { ac_try='test -s conftest.$ac_objext'
10618 { (case "(($ac_try" in
10619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10620 *) ac_try_echo=$ac_try;;
10622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10623 (eval "$ac_try") 2>&5
10625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10626 (exit $ac_status); }; }; then
10627 ac_header_compiler=yes
10629 echo "$as_me: failed program was:" >&5
10630 sed 's/^/| /' conftest.$ac_ext >&5
10632 ac_header_compiler=no
10635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10636 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10637 echo "${ECHO_T}$ac_header_compiler" >&6; }
10639 # Is the header present?
10640 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10641 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10642 cat >conftest.$ac_ext <<_ACEOF
10645 cat confdefs.h >>conftest.$ac_ext
10646 cat >>conftest.$ac_ext <<_ACEOF
10647 /* end confdefs.h. */
10648 #include <$ac_header>
10650 if { (ac_try="$ac_cpp conftest.$ac_ext"
10651 case "(($ac_try" in
10652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10653 *) ac_try_echo=$ac_try;;
10655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10656 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10658 grep -v '^ *+' conftest.er1 >conftest.err
10660 cat conftest.err >&5
10661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10662 (exit $ac_status); } >/dev/null; then
10663 if test -s conftest.err; then
10664 ac_cpp_err=$ac_c_preproc_warn_flag
10665 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10672 if test -z "$ac_cpp_err"; then
10673 ac_header_preproc=yes
10675 echo "$as_me: failed program was:" >&5
10676 sed 's/^/| /' conftest.$ac_ext >&5
10678 ac_header_preproc=no
10681 rm -f conftest.err conftest.$ac_ext
10682 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10683 echo "${ECHO_T}$ac_header_preproc" >&6; }
10685 # So? What about this header?
10686 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10688 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10689 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10690 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10691 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10692 ac_header_preproc=yes
10695 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10696 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10697 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10698 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10699 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10700 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10701 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10702 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10703 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10704 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10705 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10706 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10708 ## ------------------------------------ ##
10709 ## Report this to wine-devel@winehq.org ##
10710 ## ------------------------------------ ##
10712 ) | sed "s/^/$as_me: WARNING: /" >&2
10715 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10716 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10717 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10718 echo $ECHO_N "(cached) $ECHO_C" >&6
10720 eval "$as_ac_Header=\$ac_header_preproc"
10722 ac_res=`eval echo '${'$as_ac_Header'}'`
10723 { echo "$as_me:$LINENO: result: $ac_res" >&5
10724 echo "${ECHO_T}$ac_res" >&6; }
10727 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10728 cat >>confdefs.h <<_ACEOF
10729 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10731 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10732 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10733 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10734 echo $ECHO_N "(cached) $ECHO_C" >&6
10736 ac_check_lib_save_LIBS=$LIBS
10737 LIBS="-lxml2 $ac_xml_libs $LIBS"
10738 cat >conftest.$ac_ext <<_ACEOF
10741 cat confdefs.h >>conftest.$ac_ext
10742 cat >>conftest.$ac_ext <<_ACEOF
10743 /* end confdefs.h. */
10745 /* Override any GCC internal prototype to avoid an error.
10746 Use char because int might match the return type of a GCC
10747 builtin and then its argument prototype would still apply. */
10751 char xmlParseMemory ();
10755 return xmlParseMemory ();
10760 rm -f conftest.$ac_objext conftest$ac_exeext
10761 if { (ac_try="$ac_link"
10762 case "(($ac_try" in
10763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10764 *) ac_try_echo=$ac_try;;
10766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10767 (eval "$ac_link") 2>conftest.er1
10769 grep -v '^ *+' conftest.er1 >conftest.err
10771 cat conftest.err >&5
10772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773 (exit $ac_status); } &&
10774 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10775 { (case "(($ac_try" in
10776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10777 *) ac_try_echo=$ac_try;;
10779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10780 (eval "$ac_try") 2>&5
10782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10783 (exit $ac_status); }; } &&
10784 { ac_try='test -s conftest$ac_exeext'
10785 { (case "(($ac_try" in
10786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10787 *) ac_try_echo=$ac_try;;
10789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10790 (eval "$ac_try") 2>&5
10792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10793 (exit $ac_status); }; }; then
10794 ac_cv_lib_xml2_xmlParseMemory=yes
10796 echo "$as_me: failed program was:" >&5
10797 sed 's/^/| /' conftest.$ac_ext >&5
10799 ac_cv_lib_xml2_xmlParseMemory=no
10802 rm -f core conftest.err conftest.$ac_objext \
10803 conftest$ac_exeext conftest.$ac_ext
10804 LIBS=$ac_check_lib_save_LIBS
10806 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10807 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10808 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10810 cat >>confdefs.h <<\_ACEOF
10811 #define HAVE_LIBXML2 1
10814 XML2LIBS="$ac_xml_libs"
10815 XML2INCL="$ac_xml_cflags"
10818 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10819 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10820 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10821 echo $ECHO_N "(cached) $ECHO_C" >&6
10823 ac_check_lib_save_LIBS=$LIBS
10824 LIBS="-lxml2 $ac_xml_libs $LIBS"
10825 cat >conftest.$ac_ext <<_ACEOF
10828 cat confdefs.h >>conftest.$ac_ext
10829 cat >>conftest.$ac_ext <<_ACEOF
10830 /* end confdefs.h. */
10832 /* Override any GCC internal prototype to avoid an error.
10833 Use char because int might match the return type of a GCC
10834 builtin and then its argument prototype would still apply. */
10838 char xmlReadMemory ();
10842 return xmlReadMemory ();
10847 rm -f conftest.$ac_objext conftest$ac_exeext
10848 if { (ac_try="$ac_link"
10849 case "(($ac_try" in
10850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10851 *) ac_try_echo=$ac_try;;
10853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10854 (eval "$ac_link") 2>conftest.er1
10856 grep -v '^ *+' conftest.er1 >conftest.err
10858 cat conftest.err >&5
10859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860 (exit $ac_status); } &&
10861 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10862 { (case "(($ac_try" in
10863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10864 *) ac_try_echo=$ac_try;;
10866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10867 (eval "$ac_try") 2>&5
10869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10870 (exit $ac_status); }; } &&
10871 { ac_try='test -s conftest$ac_exeext'
10872 { (case "(($ac_try" in
10873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10874 *) ac_try_echo=$ac_try;;
10876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10877 (eval "$ac_try") 2>&5
10879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10880 (exit $ac_status); }; }; then
10881 ac_cv_lib_xml2_xmlReadMemory=yes
10883 echo "$as_me: failed program was:" >&5
10884 sed 's/^/| /' conftest.$ac_ext >&5
10886 ac_cv_lib_xml2_xmlReadMemory=no
10889 rm -f core conftest.err conftest.$ac_objext \
10890 conftest$ac_exeext conftest.$ac_ext
10891 LIBS=$ac_check_lib_save_LIBS
10893 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10894 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10895 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10897 cat >>confdefs.h <<\_ACEOF
10898 #define HAVE_XMLREADMEMORY 1
10908 CPPFLAGS="$ac_save_CPPFLAGS"
10909 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
10910 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
10911 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
10914 for ac_header in libxslt/pattern.h libxslt/transform.h
10916 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10917 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10918 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10919 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10920 echo $ECHO_N "(cached) $ECHO_C" >&6
10922 cat >conftest.$ac_ext <<_ACEOF
10925 cat confdefs.h >>conftest.$ac_ext
10926 cat >>conftest.$ac_ext <<_ACEOF
10927 /* end confdefs.h. */
10928 #ifdef HAVE_LIBXSLT_PATTERN_H
10929 # include <libxslt/pattern.h>
10932 #include <$ac_header>
10934 rm -f conftest.$ac_objext
10935 if { (ac_try="$ac_compile"
10936 case "(($ac_try" in
10937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10938 *) ac_try_echo=$ac_try;;
10940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10941 (eval "$ac_compile") 2>conftest.er1
10943 grep -v '^ *+' conftest.er1 >conftest.err
10945 cat conftest.err >&5
10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947 (exit $ac_status); } &&
10948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10949 { (case "(($ac_try" in
10950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10951 *) ac_try_echo=$ac_try;;
10953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10954 (eval "$ac_try") 2>&5
10956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10957 (exit $ac_status); }; } &&
10958 { ac_try='test -s conftest.$ac_objext'
10959 { (case "(($ac_try" in
10960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10961 *) ac_try_echo=$ac_try;;
10963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10964 (eval "$ac_try") 2>&5
10966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10967 (exit $ac_status); }; }; then
10968 eval "$as_ac_Header=yes"
10970 echo "$as_me: failed program was:" >&5
10971 sed 's/^/| /' conftest.$ac_ext >&5
10973 eval "$as_ac_Header=no"
10976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10978 ac_res=`eval echo '${'$as_ac_Header'}'`
10979 { echo "$as_me:$LINENO: result: $ac_res" >&5
10980 echo "${ECHO_T}$ac_res" >&6; }
10981 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10982 cat >>confdefs.h <<_ACEOF
10983 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10985 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10986 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10987 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10988 echo $ECHO_N "(cached) $ECHO_C" >&6
10990 ac_check_lib_save_LIBS=$LIBS
10991 LIBS="-lxslt $ac_xslt_libs $LIBS"
10992 cat >conftest.$ac_ext <<_ACEOF
10995 cat confdefs.h >>conftest.$ac_ext
10996 cat >>conftest.$ac_ext <<_ACEOF
10997 /* end confdefs.h. */
10999 /* Override any GCC internal prototype to avoid an error.
11000 Use char because int might match the return type of a GCC
11001 builtin and then its argument prototype would still apply. */
11005 char xsltCompilePattern ();
11009 return xsltCompilePattern ();
11014 rm -f conftest.$ac_objext conftest$ac_exeext
11015 if { (ac_try="$ac_link"
11016 case "(($ac_try" in
11017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11018 *) ac_try_echo=$ac_try;;
11020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11021 (eval "$ac_link") 2>conftest.er1
11023 grep -v '^ *+' conftest.er1 >conftest.err
11025 cat conftest.err >&5
11026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11027 (exit $ac_status); } &&
11028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11029 { (case "(($ac_try" in
11030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11031 *) ac_try_echo=$ac_try;;
11033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11034 (eval "$ac_try") 2>&5
11036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11037 (exit $ac_status); }; } &&
11038 { ac_try='test -s conftest$ac_exeext'
11039 { (case "(($ac_try" in
11040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11041 *) ac_try_echo=$ac_try;;
11043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11044 (eval "$ac_try") 2>&5
11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); }; }; then
11048 ac_cv_lib_xslt_xsltCompilePattern=yes
11050 echo "$as_me: failed program was:" >&5
11051 sed 's/^/| /' conftest.$ac_ext >&5
11053 ac_cv_lib_xslt_xsltCompilePattern=no
11056 rm -f core conftest.err conftest.$ac_objext \
11057 conftest$ac_exeext conftest.$ac_ext
11058 LIBS=$ac_check_lib_save_LIBS
11060 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11061 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11062 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11064 cat >>confdefs.h <<\_ACEOF
11065 #define HAVE_LIBXSLT 1
11068 XSLTLIBS="$ac_xslt_libs"
11069 XSLTINCL="$ac_xslt_cflags"
11077 CPPFLAGS="$ac_save_CPPFLAGS"
11082 if test "$PKG_CONFIG" != "false"
11084 ac_save_CPPFLAGS="$CPPFLAGS"
11085 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11086 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11087 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11090 for ac_header in dbus/dbus.h hal/libhal.h
11092 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11093 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11094 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11096 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11097 echo $ECHO_N "(cached) $ECHO_C" >&6
11099 ac_res=`eval echo '${'$as_ac_Header'}'`
11100 { echo "$as_me:$LINENO: result: $ac_res" >&5
11101 echo "${ECHO_T}$ac_res" >&6; }
11103 # Is the header compilable?
11104 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11105 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11106 cat >conftest.$ac_ext <<_ACEOF
11109 cat confdefs.h >>conftest.$ac_ext
11110 cat >>conftest.$ac_ext <<_ACEOF
11111 /* end confdefs.h. */
11112 $ac_includes_default
11113 #include <$ac_header>
11115 rm -f conftest.$ac_objext
11116 if { (ac_try="$ac_compile"
11117 case "(($ac_try" in
11118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11119 *) ac_try_echo=$ac_try;;
11121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11122 (eval "$ac_compile") 2>conftest.er1
11124 grep -v '^ *+' conftest.er1 >conftest.err
11126 cat conftest.err >&5
11127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11128 (exit $ac_status); } &&
11129 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11130 { (case "(($ac_try" in
11131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11132 *) ac_try_echo=$ac_try;;
11134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11135 (eval "$ac_try") 2>&5
11137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11138 (exit $ac_status); }; } &&
11139 { ac_try='test -s conftest.$ac_objext'
11140 { (case "(($ac_try" in
11141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11142 *) ac_try_echo=$ac_try;;
11144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11145 (eval "$ac_try") 2>&5
11147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11148 (exit $ac_status); }; }; then
11149 ac_header_compiler=yes
11151 echo "$as_me: failed program was:" >&5
11152 sed 's/^/| /' conftest.$ac_ext >&5
11154 ac_header_compiler=no
11157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11158 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11159 echo "${ECHO_T}$ac_header_compiler" >&6; }
11161 # Is the header present?
11162 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11163 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11164 cat >conftest.$ac_ext <<_ACEOF
11167 cat confdefs.h >>conftest.$ac_ext
11168 cat >>conftest.$ac_ext <<_ACEOF
11169 /* end confdefs.h. */
11170 #include <$ac_header>
11172 if { (ac_try="$ac_cpp conftest.$ac_ext"
11173 case "(($ac_try" in
11174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11175 *) ac_try_echo=$ac_try;;
11177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11178 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11180 grep -v '^ *+' conftest.er1 >conftest.err
11182 cat conftest.err >&5
11183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11184 (exit $ac_status); } >/dev/null; then
11185 if test -s conftest.err; then
11186 ac_cpp_err=$ac_c_preproc_warn_flag
11187 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11194 if test -z "$ac_cpp_err"; then
11195 ac_header_preproc=yes
11197 echo "$as_me: failed program was:" >&5
11198 sed 's/^/| /' conftest.$ac_ext >&5
11200 ac_header_preproc=no
11203 rm -f conftest.err conftest.$ac_ext
11204 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11205 echo "${ECHO_T}$ac_header_preproc" >&6; }
11207 # So? What about this header?
11208 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11210 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11211 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11212 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11213 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11214 ac_header_preproc=yes
11217 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11218 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11219 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11220 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11221 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11222 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11223 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11224 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11225 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11226 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11227 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11228 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11230 ## ------------------------------------ ##
11231 ## Report this to wine-devel@winehq.org ##
11232 ## ------------------------------------ ##
11234 ) | sed "s/^/$as_me: WARNING: /" >&2
11237 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11239 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11240 echo $ECHO_N "(cached) $ECHO_C" >&6
11242 eval "$as_ac_Header=\$ac_header_preproc"
11244 ac_res=`eval echo '${'$as_ac_Header'}'`
11245 { echo "$as_me:$LINENO: result: $ac_res" >&5
11246 echo "${ECHO_T}$ac_res" >&6; }
11249 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11250 cat >>confdefs.h <<_ACEOF
11251 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11258 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11260 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
11261 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
11262 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
11263 echo $ECHO_N "(cached) $ECHO_C" >&6
11265 ac_check_lib_save_LIBS=$LIBS
11267 cat >conftest.$ac_ext <<_ACEOF
11270 cat confdefs.h >>conftest.$ac_ext
11271 cat >>conftest.$ac_ext <<_ACEOF
11272 /* end confdefs.h. */
11274 /* Override any GCC internal prototype to avoid an error.
11275 Use char because int might match the return type of a GCC
11276 builtin and then its argument prototype would still apply. */
11280 char libhal_ctx_new ();
11284 return libhal_ctx_new ();
11289 rm -f conftest.$ac_objext conftest$ac_exeext
11290 if { (ac_try="$ac_link"
11291 case "(($ac_try" in
11292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11293 *) ac_try_echo=$ac_try;;
11295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11296 (eval "$ac_link") 2>conftest.er1
11298 grep -v '^ *+' conftest.er1 >conftest.err
11300 cat conftest.err >&5
11301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11302 (exit $ac_status); } &&
11303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11304 { (case "(($ac_try" in
11305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11306 *) ac_try_echo=$ac_try;;
11308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11309 (eval "$ac_try") 2>&5
11311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11312 (exit $ac_status); }; } &&
11313 { ac_try='test -s conftest$ac_exeext'
11314 { (case "(($ac_try" in
11315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11316 *) ac_try_echo=$ac_try;;
11318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11319 (eval "$ac_try") 2>&5
11321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11322 (exit $ac_status); }; }; then
11323 ac_cv_lib_hal_libhal_ctx_new=yes
11325 echo "$as_me: failed program was:" >&5
11326 sed 's/^/| /' conftest.$ac_ext >&5
11328 ac_cv_lib_hal_libhal_ctx_new=no
11331 rm -f core conftest.err conftest.$ac_objext \
11332 conftest$ac_exeext conftest.$ac_ext
11333 LIBS=$ac_check_lib_save_LIBS
11335 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
11336 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
11337 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
11338 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11339 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11340 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11341 echo $ECHO_N "(cached) $ECHO_C" >&6
11343 ac_check_lib_save_LIBS=$LIBS
11344 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11345 cat >conftest.$ac_ext <<_ACEOF
11348 cat confdefs.h >>conftest.$ac_ext
11349 cat >>conftest.$ac_ext <<_ACEOF
11350 /* end confdefs.h. */
11352 /* Override any GCC internal prototype to avoid an error.
11353 Use char because int might match the return type of a GCC
11354 builtin and then its argument prototype would still apply. */
11358 char dbus_connection_close ();
11362 return dbus_connection_close ();
11367 rm -f conftest.$ac_objext conftest$ac_exeext
11368 if { (ac_try="$ac_link"
11369 case "(($ac_try" in
11370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11371 *) ac_try_echo=$ac_try;;
11373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11374 (eval "$ac_link") 2>conftest.er1
11376 grep -v '^ *+' conftest.er1 >conftest.err
11378 cat conftest.err >&5
11379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380 (exit $ac_status); } &&
11381 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11382 { (case "(($ac_try" in
11383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11384 *) ac_try_echo=$ac_try;;
11386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11387 (eval "$ac_try") 2>&5
11389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11390 (exit $ac_status); }; } &&
11391 { ac_try='test -s conftest$ac_exeext'
11392 { (case "(($ac_try" in
11393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11394 *) ac_try_echo=$ac_try;;
11396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11397 (eval "$ac_try") 2>&5
11399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11400 (exit $ac_status); }; }; then
11401 ac_cv_lib_dbus_1_dbus_connection_close=yes
11403 echo "$as_me: failed program was:" >&5
11404 sed 's/^/| /' conftest.$ac_ext >&5
11406 ac_cv_lib_dbus_1_dbus_connection_close=no
11409 rm -f core conftest.err conftest.$ac_objext \
11410 conftest$ac_exeext conftest.$ac_ext
11411 LIBS=$ac_check_lib_save_LIBS
11413 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11414 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11415 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11417 cat >>confdefs.h <<\_ACEOF
11418 #define HAVE_LIBHAL 1
11421 HALINCL="$ac_hal_cflags"
11427 CPPFLAGS="$ac_save_CPPFLAGS"
11431 if test "x$with_curses" != "xno"
11433 if test "$ac_cv_header_ncurses_h" = "yes"
11435 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
11436 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
11437 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
11438 echo $ECHO_N "(cached) $ECHO_C" >&6
11440 ac_check_lib_save_LIBS=$LIBS
11441 LIBS="-lncurses $LIBS"
11442 cat >conftest.$ac_ext <<_ACEOF
11445 cat confdefs.h >>conftest.$ac_ext
11446 cat >>conftest.$ac_ext <<_ACEOF
11447 /* end confdefs.h. */
11449 /* Override any GCC internal prototype to avoid an error.
11450 Use char because int might match the return type of a GCC
11451 builtin and then its argument prototype would still apply. */
11464 rm -f conftest.$ac_objext conftest$ac_exeext
11465 if { (ac_try="$ac_link"
11466 case "(($ac_try" in
11467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11468 *) ac_try_echo=$ac_try;;
11470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11471 (eval "$ac_link") 2>conftest.er1
11473 grep -v '^ *+' conftest.er1 >conftest.err
11475 cat conftest.err >&5
11476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11477 (exit $ac_status); } &&
11478 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11479 { (case "(($ac_try" in
11480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11481 *) ac_try_echo=$ac_try;;
11483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11484 (eval "$ac_try") 2>&5
11486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11487 (exit $ac_status); }; } &&
11488 { ac_try='test -s conftest$ac_exeext'
11489 { (case "(($ac_try" in
11490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11491 *) ac_try_echo=$ac_try;;
11493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11494 (eval "$ac_try") 2>&5
11496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11497 (exit $ac_status); }; }; then
11498 ac_cv_lib_ncurses_waddch=yes
11500 echo "$as_me: failed program was:" >&5
11501 sed 's/^/| /' conftest.$ac_ext >&5
11503 ac_cv_lib_ncurses_waddch=no
11506 rm -f core conftest.err conftest.$ac_objext \
11507 conftest$ac_exeext conftest.$ac_ext
11508 LIBS=$ac_check_lib_save_LIBS
11510 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
11511 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
11512 if test $ac_cv_lib_ncurses_waddch = yes; then
11514 cat >>confdefs.h <<\_ACEOF
11515 #define HAVE_LIBNCURSES 1
11518 CURSESLIBS="-lncurses"
11521 elif test "$ac_cv_header_curses_h" = "yes"
11523 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
11524 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
11525 if test "${ac_cv_lib_curses_waddch+set}" = set; then
11526 echo $ECHO_N "(cached) $ECHO_C" >&6
11528 ac_check_lib_save_LIBS=$LIBS
11529 LIBS="-lcurses $LIBS"
11530 cat >conftest.$ac_ext <<_ACEOF
11533 cat confdefs.h >>conftest.$ac_ext
11534 cat >>conftest.$ac_ext <<_ACEOF
11535 /* end confdefs.h. */
11537 /* Override any GCC internal prototype to avoid an error.
11538 Use char because int might match the return type of a GCC
11539 builtin and then its argument prototype would still apply. */
11552 rm -f conftest.$ac_objext conftest$ac_exeext
11553 if { (ac_try="$ac_link"
11554 case "(($ac_try" in
11555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11556 *) ac_try_echo=$ac_try;;
11558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11559 (eval "$ac_link") 2>conftest.er1
11561 grep -v '^ *+' conftest.er1 >conftest.err
11563 cat conftest.err >&5
11564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11565 (exit $ac_status); } &&
11566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11567 { (case "(($ac_try" in
11568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11569 *) ac_try_echo=$ac_try;;
11571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11572 (eval "$ac_try") 2>&5
11574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11575 (exit $ac_status); }; } &&
11576 { ac_try='test -s conftest$ac_exeext'
11577 { (case "(($ac_try" in
11578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11579 *) ac_try_echo=$ac_try;;
11581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11582 (eval "$ac_try") 2>&5
11584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11585 (exit $ac_status); }; }; then
11586 ac_cv_lib_curses_waddch=yes
11588 echo "$as_me: failed program was:" >&5
11589 sed 's/^/| /' conftest.$ac_ext >&5
11591 ac_cv_lib_curses_waddch=no
11594 rm -f core conftest.err conftest.$ac_objext \
11595 conftest$ac_exeext conftest.$ac_ext
11596 LIBS=$ac_check_lib_save_LIBS
11598 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
11599 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
11600 if test $ac_cv_lib_curses_waddch = yes; then
11602 cat >>confdefs.h <<\_ACEOF
11603 #define HAVE_LIBCURSES 1
11606 CURSESLIBS="-lcurses"
11610 ac_save_LIBS="$LIBS"
11611 LIBS="$LIBS $CURSESLIBS"
11613 for ac_func in mousemask
11615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11616 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11618 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11619 echo $ECHO_N "(cached) $ECHO_C" >&6
11621 cat >conftest.$ac_ext <<_ACEOF
11624 cat confdefs.h >>conftest.$ac_ext
11625 cat >>conftest.$ac_ext <<_ACEOF
11626 /* end confdefs.h. */
11627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11629 #define $ac_func innocuous_$ac_func
11631 /* System header to define __stub macros and hopefully few prototypes,
11632 which can conflict with char $ac_func (); below.
11633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11634 <limits.h> exists even on freestanding compilers. */
11637 # include <limits.h>
11639 # include <assert.h>
11644 /* Override any GCC internal prototype to avoid an error.
11645 Use char because int might match the return type of a GCC
11646 builtin and then its argument prototype would still apply. */
11651 /* The GNU C library defines this for functions which it implements
11652 to always fail with ENOSYS. Some functions are actually named
11653 something starting with __ and the normal name is an alias. */
11654 #if defined __stub_$ac_func || defined __stub___$ac_func
11661 return $ac_func ();
11666 rm -f conftest.$ac_objext conftest$ac_exeext
11667 if { (ac_try="$ac_link"
11668 case "(($ac_try" in
11669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11670 *) ac_try_echo=$ac_try;;
11672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11673 (eval "$ac_link") 2>conftest.er1
11675 grep -v '^ *+' conftest.er1 >conftest.err
11677 cat conftest.err >&5
11678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11679 (exit $ac_status); } &&
11680 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11681 { (case "(($ac_try" in
11682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11683 *) ac_try_echo=$ac_try;;
11685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11686 (eval "$ac_try") 2>&5
11688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11689 (exit $ac_status); }; } &&
11690 { ac_try='test -s conftest$ac_exeext'
11691 { (case "(($ac_try" in
11692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11693 *) ac_try_echo=$ac_try;;
11695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11696 (eval "$ac_try") 2>&5
11698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11699 (exit $ac_status); }; }; then
11700 eval "$as_ac_var=yes"
11702 echo "$as_me: failed program was:" >&5
11703 sed 's/^/| /' conftest.$ac_ext >&5
11705 eval "$as_ac_var=no"
11708 rm -f core conftest.err conftest.$ac_objext \
11709 conftest$ac_exeext conftest.$ac_ext
11711 ac_res=`eval echo '${'$as_ac_var'}'`
11712 { echo "$as_me:$LINENO: result: $ac_res" >&5
11713 echo "${ECHO_T}$ac_res" >&6; }
11714 if test `eval echo '${'$as_ac_var'}'` = yes; then
11715 cat >>confdefs.h <<_ACEOF
11716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11722 LIBS="$ac_save_LIBS"
11726 # Extract the first word of "sane-config", so it can be a program name with args.
11727 set dummy sane-config; ac_word=$2
11728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11730 if test "${ac_cv_prog_sane_devel+set}" = set; then
11731 echo $ECHO_N "(cached) $ECHO_C" >&6
11733 if test -n "$sane_devel"; then
11734 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11737 for as_dir in $PATH
11740 test -z "$as_dir" && as_dir=.
11741 for ac_exec_ext in '' $ac_executable_extensions; do
11742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11743 ac_cv_prog_sane_devel="sane-config"
11744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11751 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11754 sane_devel=$ac_cv_prog_sane_devel
11755 if test -n "$sane_devel"; then
11756 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11757 echo "${ECHO_T}$sane_devel" >&6; }
11759 { echo "$as_me:$LINENO: result: no" >&5
11760 echo "${ECHO_T}no" >&6; }
11768 if test "$sane_devel" != "no"
11770 SANELIBS="`$sane_devel --libs`"
11771 SANEINCL="`$sane_devel --cflags`"
11772 ac_save_CPPFLAGS="$CPPFLAGS"
11773 ac_save_LIBS="$LIBS"
11774 CPPFLAGS="$CPPFLAGS $SANEINCL"
11775 LIBS="$LIBS $SANELIBS"
11776 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11777 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11778 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11779 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11780 echo $ECHO_N "(cached) $ECHO_C" >&6
11782 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11783 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11785 # Is the header compilable?
11786 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11787 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11788 cat >conftest.$ac_ext <<_ACEOF
11791 cat confdefs.h >>conftest.$ac_ext
11792 cat >>conftest.$ac_ext <<_ACEOF
11793 /* end confdefs.h. */
11794 $ac_includes_default
11795 #include <sane/sane.h>
11797 rm -f conftest.$ac_objext
11798 if { (ac_try="$ac_compile"
11799 case "(($ac_try" in
11800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11801 *) ac_try_echo=$ac_try;;
11803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11804 (eval "$ac_compile") 2>conftest.er1
11806 grep -v '^ *+' conftest.er1 >conftest.err
11808 cat conftest.err >&5
11809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11810 (exit $ac_status); } &&
11811 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11812 { (case "(($ac_try" in
11813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11814 *) ac_try_echo=$ac_try;;
11816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11817 (eval "$ac_try") 2>&5
11819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11820 (exit $ac_status); }; } &&
11821 { ac_try='test -s conftest.$ac_objext'
11822 { (case "(($ac_try" in
11823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11824 *) ac_try_echo=$ac_try;;
11826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11827 (eval "$ac_try") 2>&5
11829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11830 (exit $ac_status); }; }; then
11831 ac_header_compiler=yes
11833 echo "$as_me: failed program was:" >&5
11834 sed 's/^/| /' conftest.$ac_ext >&5
11836 ac_header_compiler=no
11839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11840 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11841 echo "${ECHO_T}$ac_header_compiler" >&6; }
11843 # Is the header present?
11844 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11845 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11846 cat >conftest.$ac_ext <<_ACEOF
11849 cat confdefs.h >>conftest.$ac_ext
11850 cat >>conftest.$ac_ext <<_ACEOF
11851 /* end confdefs.h. */
11852 #include <sane/sane.h>
11854 if { (ac_try="$ac_cpp conftest.$ac_ext"
11855 case "(($ac_try" in
11856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11857 *) ac_try_echo=$ac_try;;
11859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11860 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11862 grep -v '^ *+' conftest.er1 >conftest.err
11864 cat conftest.err >&5
11865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11866 (exit $ac_status); } >/dev/null; then
11867 if test -s conftest.err; then
11868 ac_cpp_err=$ac_c_preproc_warn_flag
11869 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11876 if test -z "$ac_cpp_err"; then
11877 ac_header_preproc=yes
11879 echo "$as_me: failed program was:" >&5
11880 sed 's/^/| /' conftest.$ac_ext >&5
11882 ac_header_preproc=no
11885 rm -f conftest.err conftest.$ac_ext
11886 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11887 echo "${ECHO_T}$ac_header_preproc" >&6; }
11889 # So? What about this header?
11890 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11892 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11893 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11894 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11895 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11896 ac_header_preproc=yes
11899 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11900 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11901 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11902 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11903 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11904 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11905 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11906 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11907 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11908 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11909 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11910 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11912 ## ------------------------------------ ##
11913 ## Report this to wine-devel@winehq.org ##
11914 ## ------------------------------------ ##
11916 ) | sed "s/^/$as_me: WARNING: /" >&2
11919 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11920 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11921 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11922 echo $ECHO_N "(cached) $ECHO_C" >&6
11924 ac_cv_header_sane_sane_h=$ac_header_preproc
11926 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11927 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11930 if test $ac_cv_header_sane_sane_h = yes; then
11931 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
11932 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
11933 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
11934 echo $ECHO_N "(cached) $ECHO_C" >&6
11936 ac_check_lib_save_LIBS=$LIBS
11937 LIBS="-lsane $LIBS"
11938 cat >conftest.$ac_ext <<_ACEOF
11941 cat confdefs.h >>conftest.$ac_ext
11942 cat >>conftest.$ac_ext <<_ACEOF
11943 /* end confdefs.h. */
11945 /* Override any GCC internal prototype to avoid an error.
11946 Use char because int might match the return type of a GCC
11947 builtin and then its argument prototype would still apply. */
11955 return sane_open ();
11960 rm -f conftest.$ac_objext conftest$ac_exeext
11961 if { (ac_try="$ac_link"
11962 case "(($ac_try" in
11963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11964 *) ac_try_echo=$ac_try;;
11966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11967 (eval "$ac_link") 2>conftest.er1
11969 grep -v '^ *+' conftest.er1 >conftest.err
11971 cat conftest.err >&5
11972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11973 (exit $ac_status); } &&
11974 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11975 { (case "(($ac_try" in
11976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11977 *) ac_try_echo=$ac_try;;
11979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11980 (eval "$ac_try") 2>&5
11982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11983 (exit $ac_status); }; } &&
11984 { ac_try='test -s conftest$ac_exeext'
11985 { (case "(($ac_try" in
11986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11987 *) ac_try_echo=$ac_try;;
11989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11990 (eval "$ac_try") 2>&5
11992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11993 (exit $ac_status); }; }; then
11994 ac_cv_lib_sane_sane_open=yes
11996 echo "$as_me: failed program was:" >&5
11997 sed 's/^/| /' conftest.$ac_ext >&5
11999 ac_cv_lib_sane_sane_open=no
12002 rm -f core conftest.err conftest.$ac_objext \
12003 conftest$ac_exeext conftest.$ac_ext
12004 LIBS=$ac_check_lib_save_LIBS
12006 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
12007 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
12008 if test $ac_cv_lib_sane_sane_open = yes; then
12010 cat >>confdefs.h <<\_ACEOF
12011 #define HAVE_SANE 1
12025 LIBS="$ac_save_LIBS"
12026 CPPFLAGS="$ac_save_CPPFLAGS"
12029 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12030 set dummy gphoto2-config; ac_word=$2
12031 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12033 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12034 echo $ECHO_N "(cached) $ECHO_C" >&6
12036 if test -n "$gphoto2_devel"; then
12037 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12040 for as_dir in $PATH
12043 test -z "$as_dir" && as_dir=.
12044 for ac_exec_ext in '' $ac_executable_extensions; do
12045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12046 ac_cv_prog_gphoto2_devel="gphoto2-config"
12047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12054 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12057 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12058 if test -n "$gphoto2_devel"; then
12059 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12060 echo "${ECHO_T}$gphoto2_devel" >&6; }
12062 { echo "$as_me:$LINENO: result: no" >&5
12063 echo "${ECHO_T}no" >&6; }
12067 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12068 set dummy gphoto2-port-config; ac_word=$2
12069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12071 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12072 echo $ECHO_N "(cached) $ECHO_C" >&6
12074 if test -n "$gphoto2port_devel"; then
12075 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12078 for as_dir in $PATH
12081 test -z "$as_dir" && as_dir=.
12082 for ac_exec_ext in '' $ac_executable_extensions; do
12083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12084 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12092 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12095 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12096 if test -n "$gphoto2port_devel"; then
12097 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12098 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12100 { echo "$as_me:$LINENO: result: no" >&5
12101 echo "${ECHO_T}no" >&6; }
12109 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12111 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12113 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12116 -L/usr/lib|-L/usr/lib64) ;;
12117 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
12120 ac_save_CPPFLAGS="$CPPFLAGS"
12121 ac_save_LIBS="$LIBS"
12122 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
12123 LIBS="$LIBS $GPHOTO2LIBS"
12124 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12125 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12126 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12127 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12128 echo $ECHO_N "(cached) $ECHO_C" >&6
12130 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12131 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12133 # Is the header compilable?
12134 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12135 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12136 cat >conftest.$ac_ext <<_ACEOF
12139 cat confdefs.h >>conftest.$ac_ext
12140 cat >>conftest.$ac_ext <<_ACEOF
12141 /* end confdefs.h. */
12142 $ac_includes_default
12143 #include <gphoto2-camera.h>
12145 rm -f conftest.$ac_objext
12146 if { (ac_try="$ac_compile"
12147 case "(($ac_try" in
12148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12149 *) ac_try_echo=$ac_try;;
12151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12152 (eval "$ac_compile") 2>conftest.er1
12154 grep -v '^ *+' conftest.er1 >conftest.err
12156 cat conftest.err >&5
12157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12158 (exit $ac_status); } &&
12159 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12160 { (case "(($ac_try" in
12161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12162 *) ac_try_echo=$ac_try;;
12164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12165 (eval "$ac_try") 2>&5
12167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12168 (exit $ac_status); }; } &&
12169 { ac_try='test -s conftest.$ac_objext'
12170 { (case "(($ac_try" in
12171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12172 *) ac_try_echo=$ac_try;;
12174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12175 (eval "$ac_try") 2>&5
12177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12178 (exit $ac_status); }; }; then
12179 ac_header_compiler=yes
12181 echo "$as_me: failed program was:" >&5
12182 sed 's/^/| /' conftest.$ac_ext >&5
12184 ac_header_compiler=no
12187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12188 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12189 echo "${ECHO_T}$ac_header_compiler" >&6; }
12191 # Is the header present?
12192 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12193 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12194 cat >conftest.$ac_ext <<_ACEOF
12197 cat confdefs.h >>conftest.$ac_ext
12198 cat >>conftest.$ac_ext <<_ACEOF
12199 /* end confdefs.h. */
12200 #include <gphoto2-camera.h>
12202 if { (ac_try="$ac_cpp conftest.$ac_ext"
12203 case "(($ac_try" in
12204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12205 *) ac_try_echo=$ac_try;;
12207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12208 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12210 grep -v '^ *+' conftest.er1 >conftest.err
12212 cat conftest.err >&5
12213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12214 (exit $ac_status); } >/dev/null; then
12215 if test -s conftest.err; then
12216 ac_cpp_err=$ac_c_preproc_warn_flag
12217 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12224 if test -z "$ac_cpp_err"; then
12225 ac_header_preproc=yes
12227 echo "$as_me: failed program was:" >&5
12228 sed 's/^/| /' conftest.$ac_ext >&5
12230 ac_header_preproc=no
12233 rm -f conftest.err conftest.$ac_ext
12234 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12235 echo "${ECHO_T}$ac_header_preproc" >&6; }
12237 # So? What about this header?
12238 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12240 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12241 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12242 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12243 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12244 ac_header_preproc=yes
12247 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12248 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12249 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12250 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12251 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12252 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12253 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12254 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12255 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12256 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12257 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12258 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12260 ## ------------------------------------ ##
12261 ## Report this to wine-devel@winehq.org ##
12262 ## ------------------------------------ ##
12264 ) | sed "s/^/$as_me: WARNING: /" >&2
12267 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12268 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12269 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12270 echo $ECHO_N "(cached) $ECHO_C" >&6
12272 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12274 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12275 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12278 if test $ac_cv_header_gphoto2_camera_h = yes; then
12279 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12280 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12281 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12282 echo $ECHO_N "(cached) $ECHO_C" >&6
12284 ac_check_lib_save_LIBS=$LIBS
12285 LIBS="-lgphoto2 $LIBS"
12286 cat >conftest.$ac_ext <<_ACEOF
12289 cat confdefs.h >>conftest.$ac_ext
12290 cat >>conftest.$ac_ext <<_ACEOF
12291 /* end confdefs.h. */
12293 /* Override any GCC internal prototype to avoid an error.
12294 Use char because int might match the return type of a GCC
12295 builtin and then its argument prototype would still apply. */
12299 char gp_camera_new ();
12303 return gp_camera_new ();
12308 rm -f conftest.$ac_objext conftest$ac_exeext
12309 if { (ac_try="$ac_link"
12310 case "(($ac_try" in
12311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12312 *) ac_try_echo=$ac_try;;
12314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12315 (eval "$ac_link") 2>conftest.er1
12317 grep -v '^ *+' conftest.er1 >conftest.err
12319 cat conftest.err >&5
12320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12321 (exit $ac_status); } &&
12322 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12323 { (case "(($ac_try" in
12324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12325 *) ac_try_echo=$ac_try;;
12327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12328 (eval "$ac_try") 2>&5
12330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12331 (exit $ac_status); }; } &&
12332 { ac_try='test -s conftest$ac_exeext'
12333 { (case "(($ac_try" in
12334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12335 *) ac_try_echo=$ac_try;;
12337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12338 (eval "$ac_try") 2>&5
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); }; }; then
12342 ac_cv_lib_gphoto2_gp_camera_new=yes
12344 echo "$as_me: failed program was:" >&5
12345 sed 's/^/| /' conftest.$ac_ext >&5
12347 ac_cv_lib_gphoto2_gp_camera_new=no
12350 rm -f core conftest.err conftest.$ac_objext \
12351 conftest$ac_exeext conftest.$ac_ext
12352 LIBS=$ac_check_lib_save_LIBS
12354 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12355 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12356 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12358 cat >>confdefs.h <<\_ACEOF
12359 #define HAVE_GPHOTO2 1
12373 LIBS="$ac_save_LIBS"
12374 CPPFLAGS="$ac_save_CPPFLAGS"
12377 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
12380 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
12382 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
12383 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
12384 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
12385 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
12386 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
12387 cat >conftest.$ac_ext <<_ACEOF
12390 cat confdefs.h >>conftest.$ac_ext
12391 cat >>conftest.$ac_ext <<_ACEOF
12392 /* end confdefs.h. */
12393 #include <unicode/ubidi.h>
12402 rm -f conftest.$ac_objext conftest$ac_exeext
12403 if { (ac_try="$ac_link"
12404 case "(($ac_try" in
12405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12406 *) ac_try_echo=$ac_try;;
12408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12409 (eval "$ac_link") 2>conftest.er1
12411 grep -v '^ *+' conftest.er1 >conftest.err
12413 cat conftest.err >&5
12414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); } &&
12416 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12417 { (case "(($ac_try" in
12418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12419 *) ac_try_echo=$ac_try;;
12421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12422 (eval "$ac_try") 2>&5
12424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12425 (exit $ac_status); }; } &&
12426 { ac_try='test -s conftest$ac_exeext'
12427 { (case "(($ac_try" in
12428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12429 *) ac_try_echo=$ac_try;;
12431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12432 (eval "$ac_try") 2>&5
12434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12435 (exit $ac_status); }; }; then
12437 cat >>confdefs.h <<\_ACEOF
12441 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
12443 { echo "$as_me:$LINENO: result: yes" >&5
12444 echo "${ECHO_T}yes" >&6; }
12446 echo "$as_me: failed program was:" >&5
12447 sed 's/^/| /' conftest.$ac_ext >&5
12449 { echo "$as_me:$LINENO: result: no" >&5
12450 echo "${ECHO_T}no" >&6; }
12453 rm -f core conftest.err conftest.$ac_objext \
12454 conftest$ac_exeext conftest.$ac_ext
12461 if test "$ac_cv_header_resolv_h" = "yes"
12463 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12464 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12465 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12466 echo $ECHO_N "(cached) $ECHO_C" >&6
12468 ac_check_lib_save_LIBS=$LIBS
12469 LIBS="-lresolv $LIBS"
12470 cat >conftest.$ac_ext <<_ACEOF
12473 cat confdefs.h >>conftest.$ac_ext
12474 cat >>conftest.$ac_ext <<_ACEOF
12475 /* end confdefs.h. */
12477 /* Override any GCC internal prototype to avoid an error.
12478 Use char because int might match the return type of a GCC
12479 builtin and then its argument prototype would still apply. */
12487 return res_query ();
12492 rm -f conftest.$ac_objext conftest$ac_exeext
12493 if { (ac_try="$ac_link"
12494 case "(($ac_try" in
12495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12496 *) ac_try_echo=$ac_try;;
12498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12499 (eval "$ac_link") 2>conftest.er1
12501 grep -v '^ *+' conftest.er1 >conftest.err
12503 cat conftest.err >&5
12504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12505 (exit $ac_status); } &&
12506 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12507 { (case "(($ac_try" in
12508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12509 *) ac_try_echo=$ac_try;;
12511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12512 (eval "$ac_try") 2>&5
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); }; } &&
12516 { ac_try='test -s conftest$ac_exeext'
12517 { (case "(($ac_try" in
12518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12519 *) ac_try_echo=$ac_try;;
12521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12522 (eval "$ac_try") 2>&5
12524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12525 (exit $ac_status); }; }; then
12526 ac_cv_lib_resolv_res_query=yes
12528 echo "$as_me: failed program was:" >&5
12529 sed 's/^/| /' conftest.$ac_ext >&5
12531 ac_cv_lib_resolv_res_query=no
12534 rm -f core conftest.err conftest.$ac_objext \
12535 conftest$ac_exeext conftest.$ac_ext
12536 LIBS=$ac_check_lib_save_LIBS
12538 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12539 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12540 if test $ac_cv_lib_resolv_res_query = yes; then
12542 cat >>confdefs.h <<\_ACEOF
12543 #define HAVE_RESOLV 1
12546 RESOLVLIBS="-lresolv"
12553 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12555 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12556 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12557 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12558 echo $ECHO_N "(cached) $ECHO_C" >&6
12560 ac_check_lib_save_LIBS=$LIBS
12561 LIBS="-llcms $LIBS"
12562 cat >conftest.$ac_ext <<_ACEOF
12565 cat confdefs.h >>conftest.$ac_ext
12566 cat >>conftest.$ac_ext <<_ACEOF
12567 /* end confdefs.h. */
12569 /* Override any GCC internal prototype to avoid an error.
12570 Use char because int might match the return type of a GCC
12571 builtin and then its argument prototype would still apply. */
12575 char cmsOpenProfileFromFile ();
12579 return cmsOpenProfileFromFile ();
12584 rm -f conftest.$ac_objext conftest$ac_exeext
12585 if { (ac_try="$ac_link"
12586 case "(($ac_try" in
12587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12588 *) ac_try_echo=$ac_try;;
12590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12591 (eval "$ac_link") 2>conftest.er1
12593 grep -v '^ *+' conftest.er1 >conftest.err
12595 cat conftest.err >&5
12596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12597 (exit $ac_status); } &&
12598 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12599 { (case "(($ac_try" in
12600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12601 *) ac_try_echo=$ac_try;;
12603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12604 (eval "$ac_try") 2>&5
12606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12607 (exit $ac_status); }; } &&
12608 { ac_try='test -s conftest$ac_exeext'
12609 { (case "(($ac_try" in
12610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12611 *) ac_try_echo=$ac_try;;
12613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12614 (eval "$ac_try") 2>&5
12616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12617 (exit $ac_status); }; }; then
12618 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12620 echo "$as_me: failed program was:" >&5
12621 sed 's/^/| /' conftest.$ac_ext >&5
12623 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12626 rm -f core conftest.err conftest.$ac_objext \
12627 conftest$ac_exeext conftest.$ac_ext
12628 LIBS=$ac_check_lib_save_LIBS
12630 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12631 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12632 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12634 cat >>confdefs.h <<\_ACEOF
12635 #define HAVE_LCMS 1
12645 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12647 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12648 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12649 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12650 echo $ECHO_N "(cached) $ECHO_C" >&6
12652 ac_check_lib_save_LIBS=$LIBS
12653 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12654 cat >conftest.$ac_ext <<_ACEOF
12657 cat confdefs.h >>conftest.$ac_ext
12658 cat >>conftest.$ac_ext <<_ACEOF
12659 /* end confdefs.h. */
12661 /* Override any GCC internal prototype to avoid an error.
12662 Use char because int might match the return type of a GCC
12663 builtin and then its argument prototype would still apply. */
12667 char ldap_initialize ();
12671 return ldap_initialize ();
12676 rm -f conftest.$ac_objext conftest$ac_exeext
12677 if { (ac_try="$ac_link"
12678 case "(($ac_try" in
12679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12680 *) ac_try_echo=$ac_try;;
12682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12683 (eval "$ac_link") 2>conftest.er1
12685 grep -v '^ *+' conftest.er1 >conftest.err
12687 cat conftest.err >&5
12688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12689 (exit $ac_status); } &&
12690 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12691 { (case "(($ac_try" in
12692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12693 *) ac_try_echo=$ac_try;;
12695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12696 (eval "$ac_try") 2>&5
12698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12699 (exit $ac_status); }; } &&
12700 { ac_try='test -s conftest$ac_exeext'
12701 { (case "(($ac_try" in
12702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12703 *) ac_try_echo=$ac_try;;
12705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12706 (eval "$ac_try") 2>&5
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); }; }; then
12710 ac_cv_lib_ldap_r_ldap_initialize=yes
12712 echo "$as_me: failed program was:" >&5
12713 sed 's/^/| /' conftest.$ac_ext >&5
12715 ac_cv_lib_ldap_r_ldap_initialize=no
12718 rm -f core conftest.err conftest.$ac_objext \
12719 conftest$ac_exeext conftest.$ac_ext
12720 LIBS=$ac_check_lib_save_LIBS
12722 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12723 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12724 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12725 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12726 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12727 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12728 echo $ECHO_N "(cached) $ECHO_C" >&6
12730 ac_check_lib_save_LIBS=$LIBS
12731 LIBS="-llber $LIBPTHREAD $LIBS"
12732 cat >conftest.$ac_ext <<_ACEOF
12735 cat confdefs.h >>conftest.$ac_ext
12736 cat >>conftest.$ac_ext <<_ACEOF
12737 /* end confdefs.h. */
12739 /* Override any GCC internal prototype to avoid an error.
12740 Use char because int might match the return type of a GCC
12741 builtin and then its argument prototype would still apply. */
12749 return ber_init ();
12754 rm -f conftest.$ac_objext conftest$ac_exeext
12755 if { (ac_try="$ac_link"
12756 case "(($ac_try" in
12757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12758 *) ac_try_echo=$ac_try;;
12760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12761 (eval "$ac_link") 2>conftest.er1
12763 grep -v '^ *+' conftest.er1 >conftest.err
12765 cat conftest.err >&5
12766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12767 (exit $ac_status); } &&
12768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12769 { (case "(($ac_try" in
12770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12771 *) ac_try_echo=$ac_try;;
12773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12774 (eval "$ac_try") 2>&5
12776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12777 (exit $ac_status); }; } &&
12778 { ac_try='test -s conftest$ac_exeext'
12779 { (case "(($ac_try" in
12780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12781 *) ac_try_echo=$ac_try;;
12783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12784 (eval "$ac_try") 2>&5
12786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12787 (exit $ac_status); }; }; then
12788 ac_cv_lib_lber_ber_init=yes
12790 echo "$as_me: failed program was:" >&5
12791 sed 's/^/| /' conftest.$ac_ext >&5
12793 ac_cv_lib_lber_ber_init=no
12796 rm -f core conftest.err conftest.$ac_objext \
12797 conftest$ac_exeext conftest.$ac_ext
12798 LIBS=$ac_check_lib_save_LIBS
12800 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12801 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12802 if test $ac_cv_lib_lber_ber_init = yes; then
12804 cat >>confdefs.h <<\_ACEOF
12805 #define HAVE_LDAP 1
12808 LDAPLIBS="-lldap_r -llber"
12813 ac_wine_check_funcs_save_LIBS="$LIBS"
12814 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12820 ldap_count_references \
12821 ldap_first_reference \
12822 ldap_next_reference \
12823 ldap_parse_reference
12825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12826 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12828 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12829 echo $ECHO_N "(cached) $ECHO_C" >&6
12831 cat >conftest.$ac_ext <<_ACEOF
12834 cat confdefs.h >>conftest.$ac_ext
12835 cat >>conftest.$ac_ext <<_ACEOF
12836 /* end confdefs.h. */
12837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12839 #define $ac_func innocuous_$ac_func
12841 /* System header to define __stub macros and hopefully few prototypes,
12842 which can conflict with char $ac_func (); below.
12843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12844 <limits.h> exists even on freestanding compilers. */
12847 # include <limits.h>
12849 # include <assert.h>
12854 /* Override any GCC internal prototype to avoid an error.
12855 Use char because int might match the return type of a GCC
12856 builtin and then its argument prototype would still apply. */
12861 /* The GNU C library defines this for functions which it implements
12862 to always fail with ENOSYS. Some functions are actually named
12863 something starting with __ and the normal name is an alias. */
12864 #if defined __stub_$ac_func || defined __stub___$ac_func
12871 return $ac_func ();
12876 rm -f conftest.$ac_objext conftest$ac_exeext
12877 if { (ac_try="$ac_link"
12878 case "(($ac_try" in
12879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12880 *) ac_try_echo=$ac_try;;
12882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12883 (eval "$ac_link") 2>conftest.er1
12885 grep -v '^ *+' conftest.er1 >conftest.err
12887 cat conftest.err >&5
12888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12889 (exit $ac_status); } &&
12890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12891 { (case "(($ac_try" in
12892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12893 *) ac_try_echo=$ac_try;;
12895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12896 (eval "$ac_try") 2>&5
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); }; } &&
12900 { ac_try='test -s conftest$ac_exeext'
12901 { (case "(($ac_try" in
12902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12903 *) ac_try_echo=$ac_try;;
12905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12906 (eval "$ac_try") 2>&5
12908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12909 (exit $ac_status); }; }; then
12910 eval "$as_ac_var=yes"
12912 echo "$as_me: failed program was:" >&5
12913 sed 's/^/| /' conftest.$ac_ext >&5
12915 eval "$as_ac_var=no"
12918 rm -f core conftest.err conftest.$ac_objext \
12919 conftest$ac_exeext conftest.$ac_ext
12921 ac_res=`eval echo '${'$as_ac_var'}'`
12922 { echo "$as_me:$LINENO: result: $ac_res" >&5
12923 echo "${ECHO_T}$ac_res" >&6; }
12924 if test `eval echo '${'$as_ac_var'}'` = yes; then
12925 cat >>confdefs.h <<_ACEOF
12926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12932 LIBS="$ac_wine_check_funcs_save_LIBS"
12939 # Extract the first word of "freetype-config", so it can be a program name with args.
12940 set dummy freetype-config; ac_word=$2
12941 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12943 if test "${ac_cv_prog_ft_devel+set}" = set; then
12944 echo $ECHO_N "(cached) $ECHO_C" >&6
12946 if test -n "$ft_devel"; then
12947 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12950 for as_dir in $PATH
12953 test -z "$as_dir" && as_dir=.
12954 for ac_exec_ext in '' $ac_executable_extensions; do
12955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12956 ac_cv_prog_ft_devel="freetype-config"
12957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12964 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
12967 ft_devel=$ac_cv_prog_ft_devel
12968 if test -n "$ft_devel"; then
12969 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12970 echo "${ECHO_T}$ft_devel" >&6; }
12972 { echo "$as_me:$LINENO: result: no" >&5
12973 echo "${ECHO_T}no" >&6; }
12977 if test "$ft_devel" = "no"
12979 # Extract the first word of "freetype2-config", so it can be a program name with args.
12980 set dummy freetype2-config; ac_word=$2
12981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12983 if test "${ac_cv_prog_ft_devel2+set}" = set; then
12984 echo $ECHO_N "(cached) $ECHO_C" >&6
12986 if test -n "$ft_devel2"; then
12987 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
12989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12990 for as_dir in $PATH
12993 test -z "$as_dir" && as_dir=.
12994 for ac_exec_ext in '' $ac_executable_extensions; do
12995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12996 ac_cv_prog_ft_devel2="freetype2-config"
12997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13004 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
13007 ft_devel2=$ac_cv_prog_ft_devel2
13008 if test -n "$ft_devel2"; then
13009 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
13010 echo "${ECHO_T}$ft_devel2" >&6; }
13012 { echo "$as_me:$LINENO: result: no" >&5
13013 echo "${ECHO_T}no" >&6; }
13017 if test "$ft_devel2" = "freetype2-config"
13019 ft_devel=$ft_devel2
13023 if test "$ft_devel" = "no"
13025 wine_cv_msg_freetype=yes
13027 FREETYPELIBS=`$ft_devel --libs`
13028 FREETYPEINCL=`$ft_devel --cflags`
13029 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
13030 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
13031 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
13032 echo $ECHO_N "(cached) $ECHO_C" >&6
13034 ac_check_lib_save_LIBS=$LIBS
13035 LIBS="-lfreetype $FREETYPELIBS $LIBS"
13036 cat >conftest.$ac_ext <<_ACEOF
13039 cat confdefs.h >>conftest.$ac_ext
13040 cat >>conftest.$ac_ext <<_ACEOF
13041 /* end confdefs.h. */
13043 /* Override any GCC internal prototype to avoid an error.
13044 Use char because int might match the return type of a GCC
13045 builtin and then its argument prototype would still apply. */
13049 char FT_Init_FreeType ();
13053 return FT_Init_FreeType ();
13058 rm -f conftest.$ac_objext conftest$ac_exeext
13059 if { (ac_try="$ac_link"
13060 case "(($ac_try" in
13061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13062 *) ac_try_echo=$ac_try;;
13064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13065 (eval "$ac_link") 2>conftest.er1
13067 grep -v '^ *+' conftest.er1 >conftest.err
13069 cat conftest.err >&5
13070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071 (exit $ac_status); } &&
13072 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13073 { (case "(($ac_try" in
13074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13075 *) ac_try_echo=$ac_try;;
13077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13078 (eval "$ac_try") 2>&5
13080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13081 (exit $ac_status); }; } &&
13082 { ac_try='test -s conftest$ac_exeext'
13083 { (case "(($ac_try" in
13084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13085 *) ac_try_echo=$ac_try;;
13087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13088 (eval "$ac_try") 2>&5
13090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13091 (exit $ac_status); }; }; then
13092 ac_cv_lib_freetype_FT_Init_FreeType=yes
13094 echo "$as_me: failed program was:" >&5
13095 sed 's/^/| /' conftest.$ac_ext >&5
13097 ac_cv_lib_freetype_FT_Init_FreeType=no
13100 rm -f core conftest.err conftest.$ac_objext \
13101 conftest$ac_exeext conftest.$ac_ext
13102 LIBS=$ac_check_lib_save_LIBS
13104 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
13105 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
13106 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
13112 if test "$ft_lib" = "no"
13114 wine_cv_msg_freetype=yes
13118 ac_save_CPPFLAGS="$CPPFLAGS"
13119 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
13131 for ac_header in ft2build.h \
13132 freetype/freetype.h \
13133 freetype/ftglyph.h \
13134 freetype/tttables.h \
13135 freetype/ftnames.h \
13136 freetype/ftsnames.h \
13137 freetype/ttnameid.h \
13138 freetype/ftoutln.h \
13139 freetype/ftwinfnt.h \
13140 freetype/ftmodapi.h \
13141 freetype/internal/sfnt.h
13143 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13144 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13146 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13147 echo $ECHO_N "(cached) $ECHO_C" >&6
13149 cat >conftest.$ac_ext <<_ACEOF
13152 cat confdefs.h >>conftest.$ac_ext
13153 cat >>conftest.$ac_ext <<_ACEOF
13154 /* end confdefs.h. */
13155 #if HAVE_FT2BUILD_H
13156 #include <ft2build.h>
13159 #include <$ac_header>
13161 rm -f conftest.$ac_objext
13162 if { (ac_try="$ac_compile"
13163 case "(($ac_try" in
13164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13165 *) ac_try_echo=$ac_try;;
13167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13168 (eval "$ac_compile") 2>conftest.er1
13170 grep -v '^ *+' conftest.er1 >conftest.err
13172 cat conftest.err >&5
13173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13174 (exit $ac_status); } &&
13175 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13176 { (case "(($ac_try" in
13177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13178 *) ac_try_echo=$ac_try;;
13180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13181 (eval "$ac_try") 2>&5
13183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13184 (exit $ac_status); }; } &&
13185 { ac_try='test -s conftest.$ac_objext'
13186 { (case "(($ac_try" in
13187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13188 *) ac_try_echo=$ac_try;;
13190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13191 (eval "$ac_try") 2>&5
13193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13194 (exit $ac_status); }; }; then
13195 eval "$as_ac_Header=yes"
13197 echo "$as_me: failed program was:" >&5
13198 sed 's/^/| /' conftest.$ac_ext >&5
13200 eval "$as_ac_Header=no"
13203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13205 ac_res=`eval echo '${'$as_ac_Header'}'`
13206 { echo "$as_me:$LINENO: result: $ac_res" >&5
13207 echo "${ECHO_T}$ac_res" >&6; }
13208 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13209 cat >>confdefs.h <<_ACEOF
13210 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13217 cat >conftest.$ac_ext <<_ACEOF
13220 cat confdefs.h >>conftest.$ac_ext
13221 cat >>conftest.$ac_ext <<_ACEOF
13222 /* end confdefs.h. */
13223 #include <ft2build.h>
13224 #include <freetype/fttrigon.h>
13226 if { (ac_try="$ac_cpp conftest.$ac_ext"
13227 case "(($ac_try" in
13228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13229 *) ac_try_echo=$ac_try;;
13231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13232 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13234 grep -v '^ *+' conftest.er1 >conftest.err
13236 cat conftest.err >&5
13237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13238 (exit $ac_status); } >/dev/null; then
13239 if test -s conftest.err; then
13240 ac_cpp_err=$ac_c_preproc_warn_flag
13241 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13248 if test -z "$ac_cpp_err"; then
13250 cat >>confdefs.h <<\_ACEOF
13251 #define HAVE_FREETYPE_FTTRIGON_H 1
13254 wine_cv_fttrigon=yes
13256 echo "$as_me: failed program was:" >&5
13257 sed 's/^/| /' conftest.$ac_ext >&5
13259 wine_cv_fttrigon=no
13262 rm -f conftest.err conftest.$ac_ext
13263 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13264 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13265 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13266 echo $ECHO_N "(cached) $ECHO_C" >&6
13268 cat >conftest.$ac_ext <<_ACEOF
13271 cat confdefs.h >>conftest.$ac_ext
13272 cat >>conftest.$ac_ext <<_ACEOF
13273 /* end confdefs.h. */
13274 #include <freetype/ftmodapi.h>
13276 typedef FT_TrueTypeEngineType ac__type_new_;
13280 if ((ac__type_new_ *) 0)
13282 if (sizeof (ac__type_new_))
13288 rm -f conftest.$ac_objext
13289 if { (ac_try="$ac_compile"
13290 case "(($ac_try" in
13291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13292 *) ac_try_echo=$ac_try;;
13294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13295 (eval "$ac_compile") 2>conftest.er1
13297 grep -v '^ *+' conftest.er1 >conftest.err
13299 cat conftest.err >&5
13300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13301 (exit $ac_status); } &&
13302 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13303 { (case "(($ac_try" in
13304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13305 *) ac_try_echo=$ac_try;;
13307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13308 (eval "$ac_try") 2>&5
13310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13311 (exit $ac_status); }; } &&
13312 { ac_try='test -s conftest.$ac_objext'
13313 { (case "(($ac_try" in
13314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13315 *) ac_try_echo=$ac_try;;
13317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13318 (eval "$ac_try") 2>&5
13320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13321 (exit $ac_status); }; }; then
13322 ac_cv_type_FT_TrueTypeEngineType=yes
13324 echo "$as_me: failed program was:" >&5
13325 sed 's/^/| /' conftest.$ac_ext >&5
13327 ac_cv_type_FT_TrueTypeEngineType=no
13330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13332 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13333 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13334 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13336 cat >>confdefs.h <<_ACEOF
13337 #define HAVE_FT_TRUETYPEENGINETYPE 1
13343 ac_save_CFLAGS="$CFLAGS"
13344 CFLAGS="$CFLAGS $FREETYPELIBS"
13346 for ac_func in FT_Load_Sfnt_Table
13348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13349 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13351 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13352 echo $ECHO_N "(cached) $ECHO_C" >&6
13354 cat >conftest.$ac_ext <<_ACEOF
13357 cat confdefs.h >>conftest.$ac_ext
13358 cat >>conftest.$ac_ext <<_ACEOF
13359 /* end confdefs.h. */
13360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13362 #define $ac_func innocuous_$ac_func
13364 /* System header to define __stub macros and hopefully few prototypes,
13365 which can conflict with char $ac_func (); below.
13366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13367 <limits.h> exists even on freestanding compilers. */
13370 # include <limits.h>
13372 # include <assert.h>
13377 /* Override any GCC internal prototype to avoid an error.
13378 Use char because int might match the return type of a GCC
13379 builtin and then its argument prototype would still apply. */
13384 /* The GNU C library defines this for functions which it implements
13385 to always fail with ENOSYS. Some functions are actually named
13386 something starting with __ and the normal name is an alias. */
13387 #if defined __stub_$ac_func || defined __stub___$ac_func
13394 return $ac_func ();
13399 rm -f conftest.$ac_objext conftest$ac_exeext
13400 if { (ac_try="$ac_link"
13401 case "(($ac_try" in
13402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13403 *) ac_try_echo=$ac_try;;
13405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13406 (eval "$ac_link") 2>conftest.er1
13408 grep -v '^ *+' conftest.er1 >conftest.err
13410 cat conftest.err >&5
13411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13412 (exit $ac_status); } &&
13413 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13414 { (case "(($ac_try" in
13415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13416 *) ac_try_echo=$ac_try;;
13418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13419 (eval "$ac_try") 2>&5
13421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13422 (exit $ac_status); }; } &&
13423 { ac_try='test -s conftest$ac_exeext'
13424 { (case "(($ac_try" in
13425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13426 *) ac_try_echo=$ac_try;;
13428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13429 (eval "$ac_try") 2>&5
13431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13432 (exit $ac_status); }; }; then
13433 eval "$as_ac_var=yes"
13435 echo "$as_me: failed program was:" >&5
13436 sed 's/^/| /' conftest.$ac_ext >&5
13438 eval "$as_ac_var=no"
13441 rm -f core conftest.err conftest.$ac_objext \
13442 conftest$ac_exeext conftest.$ac_ext
13444 ac_res=`eval echo '${'$as_ac_var'}'`
13445 { echo "$as_me:$LINENO: result: $ac_res" >&5
13446 echo "${ECHO_T}$ac_res" >&6; }
13447 if test `eval echo '${'$as_ac_var'}'` = yes; then
13448 cat >>confdefs.h <<_ACEOF
13449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13455 CFLAGS="$ac_save_CFLAGS"
13456 CPPFLAGS="$ac_save_CPPFLAGS"
13457 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13460 cat >>confdefs.h <<\_ACEOF
13461 #define HAVE_FREETYPE 1
13464 wine_cv_msg_freetype=no
13468 wine_cv_msg_freetype=yes
13473 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
13475 FONTSSUBDIRS="fonts"
13479 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13480 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13481 if test "${ac_cv_c_ppdev+set}" = set; then
13482 echo $ECHO_N "(cached) $ECHO_C" >&6
13484 cat >conftest.$ac_ext <<_ACEOF
13487 cat confdefs.h >>conftest.$ac_ext
13488 cat >>conftest.$ac_ext <<_ACEOF
13489 /* end confdefs.h. */
13490 #include <linux/ppdev.h>
13494 ioctl (1,PPCLAIM,0)
13499 rm -f conftest.$ac_objext
13500 if { (ac_try="$ac_compile"
13501 case "(($ac_try" in
13502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13503 *) ac_try_echo=$ac_try;;
13505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13506 (eval "$ac_compile") 2>conftest.er1
13508 grep -v '^ *+' conftest.er1 >conftest.err
13510 cat conftest.err >&5
13511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13512 (exit $ac_status); } &&
13513 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13514 { (case "(($ac_try" in
13515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13516 *) ac_try_echo=$ac_try;;
13518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13519 (eval "$ac_try") 2>&5
13521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13522 (exit $ac_status); }; } &&
13523 { ac_try='test -s conftest.$ac_objext'
13524 { (case "(($ac_try" in
13525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13526 *) ac_try_echo=$ac_try;;
13528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13529 (eval "$ac_try") 2>&5
13531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13532 (exit $ac_status); }; }; then
13533 ac_cv_c_ppdev="yes"
13535 echo "$as_me: failed program was:" >&5
13536 sed 's/^/| /' conftest.$ac_ext >&5
13541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13544 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13545 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13546 if test "$ac_cv_c_ppdev" = "yes"
13549 cat >>confdefs.h <<\_ACEOF
13550 #define HAVE_PPDEV 1
13555 { echo "$as_me:$LINENO: checking for va_copy" >&5
13556 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13557 if test "${ac_cv_c_va_copy+set}" = set; then
13558 echo $ECHO_N "(cached) $ECHO_C" >&6
13560 cat >conftest.$ac_ext <<_ACEOF
13563 cat confdefs.h >>conftest.$ac_ext
13564 cat >>conftest.$ac_ext <<_ACEOF
13565 /* end confdefs.h. */
13566 #include <stdarg.h>
13577 rm -f conftest.$ac_objext conftest$ac_exeext
13578 if { (ac_try="$ac_link"
13579 case "(($ac_try" in
13580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13581 *) ac_try_echo=$ac_try;;
13583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13584 (eval "$ac_link") 2>conftest.er1
13586 grep -v '^ *+' conftest.er1 >conftest.err
13588 cat conftest.err >&5
13589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13590 (exit $ac_status); } &&
13591 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13592 { (case "(($ac_try" in
13593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13594 *) ac_try_echo=$ac_try;;
13596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13597 (eval "$ac_try") 2>&5
13599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13600 (exit $ac_status); }; } &&
13601 { ac_try='test -s conftest$ac_exeext'
13602 { (case "(($ac_try" in
13603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13604 *) ac_try_echo=$ac_try;;
13606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13607 (eval "$ac_try") 2>&5
13609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13610 (exit $ac_status); }; }; then
13611 ac_cv_c_va_copy="yes"
13613 echo "$as_me: failed program was:" >&5
13614 sed 's/^/| /' conftest.$ac_ext >&5
13616 ac_cv_c_va_copy="no"
13619 rm -f core conftest.err conftest.$ac_objext \
13620 conftest$ac_exeext conftest.$ac_ext
13623 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13624 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13625 if test "$ac_cv_c_va_copy" = "yes"
13628 cat >>confdefs.h <<\_ACEOF
13629 #define HAVE_VA_COPY 1
13633 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13634 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13635 if test "${ac_cv_c___va_copy+set}" = set; then
13636 echo $ECHO_N "(cached) $ECHO_C" >&6
13638 cat >conftest.$ac_ext <<_ACEOF
13641 cat confdefs.h >>conftest.$ac_ext
13642 cat >>conftest.$ac_ext <<_ACEOF
13643 /* end confdefs.h. */
13644 #include <stdarg.h>
13649 __va_copy(ap1,ap2);
13655 rm -f conftest.$ac_objext conftest$ac_exeext
13656 if { (ac_try="$ac_link"
13657 case "(($ac_try" in
13658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13659 *) ac_try_echo=$ac_try;;
13661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13662 (eval "$ac_link") 2>conftest.er1
13664 grep -v '^ *+' conftest.er1 >conftest.err
13666 cat conftest.err >&5
13667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13668 (exit $ac_status); } &&
13669 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13670 { (case "(($ac_try" in
13671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13672 *) ac_try_echo=$ac_try;;
13674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13675 (eval "$ac_try") 2>&5
13677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13678 (exit $ac_status); }; } &&
13679 { ac_try='test -s conftest$ac_exeext'
13680 { (case "(($ac_try" in
13681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13682 *) ac_try_echo=$ac_try;;
13684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13685 (eval "$ac_try") 2>&5
13687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13688 (exit $ac_status); }; }; then
13689 ac_cv_c___va_copy="yes"
13691 echo "$as_me: failed program was:" >&5
13692 sed 's/^/| /' conftest.$ac_ext >&5
13694 ac_cv_c___va_copy="no"
13697 rm -f core conftest.err conftest.$ac_objext \
13698 conftest$ac_exeext conftest.$ac_ext
13701 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13702 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13703 if test "$ac_cv_c___va_copy" = "yes"
13706 cat >>confdefs.h <<\_ACEOF
13707 #define HAVE___VA_COPY 1
13712 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13713 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13714 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13715 echo $ECHO_N "(cached) $ECHO_C" >&6
13717 cat >conftest.$ac_ext <<_ACEOF
13720 cat confdefs.h >>conftest.$ac_ext
13721 cat >>conftest.$ac_ext <<_ACEOF
13722 /* end confdefs.h. */
13723 #include <setjmp.h>
13728 sigsetjmp( buf, 1 );
13729 siglongjmp( buf, 1 );
13734 rm -f conftest.$ac_objext conftest$ac_exeext
13735 if { (ac_try="$ac_link"
13736 case "(($ac_try" in
13737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13738 *) ac_try_echo=$ac_try;;
13740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13741 (eval "$ac_link") 2>conftest.er1
13743 grep -v '^ *+' conftest.er1 >conftest.err
13745 cat conftest.err >&5
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); } &&
13748 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13749 { (case "(($ac_try" in
13750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13751 *) ac_try_echo=$ac_try;;
13753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13754 (eval "$ac_try") 2>&5
13756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13757 (exit $ac_status); }; } &&
13758 { ac_try='test -s conftest$ac_exeext'
13759 { (case "(($ac_try" in
13760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13761 *) ac_try_echo=$ac_try;;
13763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13764 (eval "$ac_try") 2>&5
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); }; }; then
13768 ac_cv_c_sigsetjmp="yes"
13770 echo "$as_me: failed program was:" >&5
13771 sed 's/^/| /' conftest.$ac_ext >&5
13773 ac_cv_c_sigsetjmp="no"
13776 rm -f core conftest.err conftest.$ac_objext \
13777 conftest$ac_exeext conftest.$ac_ext
13780 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13781 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13782 if test "$ac_cv_c_sigsetjmp" = "yes"
13785 cat >>confdefs.h <<\_ACEOF
13786 #define HAVE_SIGSETJMP 1
13791 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13792 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13793 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13794 echo $ECHO_N "(cached) $ECHO_C" >&6
13796 cat >conftest.$ac_ext <<_ACEOF
13799 cat confdefs.h >>conftest.$ac_ext
13800 cat >>conftest.$ac_ext <<_ACEOF
13801 /* end confdefs.h. */
13802 #define _GNU_SOURCE
13803 #include <pthread.h>
13805 typedef pthread_rwlock_t ac__type_new_;
13809 if ((ac__type_new_ *) 0)
13811 if (sizeof (ac__type_new_))
13817 rm -f conftest.$ac_objext
13818 if { (ac_try="$ac_compile"
13819 case "(($ac_try" in
13820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13821 *) ac_try_echo=$ac_try;;
13823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13824 (eval "$ac_compile") 2>conftest.er1
13826 grep -v '^ *+' conftest.er1 >conftest.err
13828 cat conftest.err >&5
13829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13830 (exit $ac_status); } &&
13831 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13832 { (case "(($ac_try" in
13833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13834 *) ac_try_echo=$ac_try;;
13836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13837 (eval "$ac_try") 2>&5
13839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13840 (exit $ac_status); }; } &&
13841 { ac_try='test -s conftest.$ac_objext'
13842 { (case "(($ac_try" in
13843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13844 *) ac_try_echo=$ac_try;;
13846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13847 (eval "$ac_try") 2>&5
13849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850 (exit $ac_status); }; }; then
13851 ac_cv_type_pthread_rwlock_t=yes
13853 echo "$as_me: failed program was:" >&5
13854 sed 's/^/| /' conftest.$ac_ext >&5
13856 ac_cv_type_pthread_rwlock_t=no
13859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13861 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13862 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13863 if test $ac_cv_type_pthread_rwlock_t = yes; then
13865 cat >>confdefs.h <<_ACEOF
13866 #define HAVE_PTHREAD_RWLOCK_T 1
13871 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13872 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13873 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13874 echo $ECHO_N "(cached) $ECHO_C" >&6
13876 cat >conftest.$ac_ext <<_ACEOF
13879 cat confdefs.h >>conftest.$ac_ext
13880 cat >>conftest.$ac_ext <<_ACEOF
13881 /* end confdefs.h. */
13882 #define _GNU_SOURCE
13883 #include <pthread.h>
13885 typedef pthread_rwlockattr_t ac__type_new_;
13889 if ((ac__type_new_ *) 0)
13891 if (sizeof (ac__type_new_))
13897 rm -f conftest.$ac_objext
13898 if { (ac_try="$ac_compile"
13899 case "(($ac_try" in
13900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13901 *) ac_try_echo=$ac_try;;
13903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13904 (eval "$ac_compile") 2>conftest.er1
13906 grep -v '^ *+' conftest.er1 >conftest.err
13908 cat conftest.err >&5
13909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13910 (exit $ac_status); } &&
13911 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13912 { (case "(($ac_try" in
13913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13914 *) ac_try_echo=$ac_try;;
13916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13917 (eval "$ac_try") 2>&5
13919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13920 (exit $ac_status); }; } &&
13921 { ac_try='test -s conftest.$ac_objext'
13922 { (case "(($ac_try" in
13923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13924 *) ac_try_echo=$ac_try;;
13926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13927 (eval "$ac_try") 2>&5
13929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13930 (exit $ac_status); }; }; then
13931 ac_cv_type_pthread_rwlockattr_t=yes
13933 echo "$as_me: failed program was:" >&5
13934 sed 's/^/| /' conftest.$ac_ext >&5
13936 ac_cv_type_pthread_rwlockattr_t=no
13939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13941 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13942 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13943 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13945 cat >>confdefs.h <<_ACEOF
13946 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13953 ac_wine_check_funcs_save_LIBS="$LIBS"
13954 LIBS="$LIBS $LIBPTHREAD"
13959 pthread_getattr_np \
13960 pthread_get_stackaddr_np \
13961 pthread_get_stacksize_np
13963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13964 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13966 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13967 echo $ECHO_N "(cached) $ECHO_C" >&6
13969 cat >conftest.$ac_ext <<_ACEOF
13972 cat confdefs.h >>conftest.$ac_ext
13973 cat >>conftest.$ac_ext <<_ACEOF
13974 /* end confdefs.h. */
13975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13977 #define $ac_func innocuous_$ac_func
13979 /* System header to define __stub macros and hopefully few prototypes,
13980 which can conflict with char $ac_func (); below.
13981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13982 <limits.h> exists even on freestanding compilers. */
13985 # include <limits.h>
13987 # include <assert.h>
13992 /* Override any GCC internal prototype to avoid an error.
13993 Use char because int might match the return type of a GCC
13994 builtin and then its argument prototype would still apply. */
13999 /* The GNU C library defines this for functions which it implements
14000 to always fail with ENOSYS. Some functions are actually named
14001 something starting with __ and the normal name is an alias. */
14002 #if defined __stub_$ac_func || defined __stub___$ac_func
14009 return $ac_func ();
14014 rm -f conftest.$ac_objext conftest$ac_exeext
14015 if { (ac_try="$ac_link"
14016 case "(($ac_try" in
14017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14018 *) ac_try_echo=$ac_try;;
14020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14021 (eval "$ac_link") 2>conftest.er1
14023 grep -v '^ *+' conftest.er1 >conftest.err
14025 cat conftest.err >&5
14026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14027 (exit $ac_status); } &&
14028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14029 { (case "(($ac_try" in
14030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14031 *) ac_try_echo=$ac_try;;
14033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14034 (eval "$ac_try") 2>&5
14036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14037 (exit $ac_status); }; } &&
14038 { ac_try='test -s conftest$ac_exeext'
14039 { (case "(($ac_try" in
14040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14041 *) ac_try_echo=$ac_try;;
14043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14044 (eval "$ac_try") 2>&5
14046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14047 (exit $ac_status); }; }; then
14048 eval "$as_ac_var=yes"
14050 echo "$as_me: failed program was:" >&5
14051 sed 's/^/| /' conftest.$ac_ext >&5
14053 eval "$as_ac_var=no"
14056 rm -f core conftest.err conftest.$ac_objext \
14057 conftest$ac_exeext conftest.$ac_ext
14059 ac_res=`eval echo '${'$as_ac_var'}'`
14060 { echo "$as_me:$LINENO: result: $ac_res" >&5
14061 echo "${ECHO_T}$ac_res" >&6; }
14062 if test `eval echo '${'$as_ac_var'}'` = yes; then
14063 cat >>confdefs.h <<_ACEOF
14064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14070 LIBS="$ac_wine_check_funcs_save_LIBS"
14072 # Extract the first word of "artsc-config", so it can be a program name with args.
14073 set dummy artsc-config; ac_word=$2
14074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14076 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
14077 echo $ECHO_N "(cached) $ECHO_C" >&6
14079 case $ARTSCCONFIG in
14081 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
14084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14085 for as_dir in $PATH
14088 test -z "$as_dir" && as_dir=.
14089 for ac_exec_ext in '' $ac_executable_extensions; do
14090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14091 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
14092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14102 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
14103 if test -n "$ARTSCCONFIG"; then
14104 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
14105 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
14107 { echo "$as_me:$LINENO: result: no" >&5
14108 echo "${ECHO_T}no" >&6; }
14112 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
14115 for i in `$ARTSCCONFIG --cflags`
14118 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
14122 for i in `$ARTSCCONFIG --libs`
14125 -L/usr/lib|-L/usr/lib64) ;;
14126 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
14129 save_CFLAGS="$CFLAGS"
14130 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
14131 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
14132 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
14133 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
14134 echo $ECHO_N "(cached) $ECHO_C" >&6
14136 ac_check_lib_save_LIBS=$LIBS
14137 LIBS="-lartsc $ARTSC_LIBS $LIBS"
14138 cat >conftest.$ac_ext <<_ACEOF
14141 cat confdefs.h >>conftest.$ac_ext
14142 cat >>conftest.$ac_ext <<_ACEOF
14143 /* end confdefs.h. */
14145 /* Override any GCC internal prototype to avoid an error.
14146 Use char because int might match the return type of a GCC
14147 builtin and then its argument prototype would still apply. */
14155 return arts_init ();
14160 rm -f conftest.$ac_objext conftest$ac_exeext
14161 if { (ac_try="$ac_link"
14162 case "(($ac_try" in
14163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14164 *) ac_try_echo=$ac_try;;
14166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14167 (eval "$ac_link") 2>conftest.er1
14169 grep -v '^ *+' conftest.er1 >conftest.err
14171 cat conftest.err >&5
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); } &&
14174 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14175 { (case "(($ac_try" in
14176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14177 *) ac_try_echo=$ac_try;;
14179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14180 (eval "$ac_try") 2>&5
14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); }; } &&
14184 { ac_try='test -s conftest$ac_exeext'
14185 { (case "(($ac_try" in
14186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14187 *) ac_try_echo=$ac_try;;
14189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14190 (eval "$ac_try") 2>&5
14192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14193 (exit $ac_status); }; }; then
14194 ac_cv_lib_artsc_arts_init=yes
14196 echo "$as_me: failed program was:" >&5
14197 sed 's/^/| /' conftest.$ac_ext >&5
14199 ac_cv_lib_artsc_arts_init=no
14202 rm -f core conftest.err conftest.$ac_objext \
14203 conftest$ac_exeext conftest.$ac_ext
14204 LIBS=$ac_check_lib_save_LIBS
14206 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
14207 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
14208 if test $ac_cv_lib_artsc_arts_init = yes; then
14209 cat >conftest.$ac_ext <<_ACEOF
14212 cat confdefs.h >>conftest.$ac_ext
14213 cat >>conftest.$ac_ext <<_ACEOF
14214 /* end confdefs.h. */
14219 arts_stream_t stream;
14224 rm -f conftest.$ac_objext
14225 if { (ac_try="$ac_compile"
14226 case "(($ac_try" in
14227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14228 *) ac_try_echo=$ac_try;;
14230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14231 (eval "$ac_compile") 2>conftest.er1
14233 grep -v '^ *+' conftest.er1 >conftest.err
14235 cat conftest.err >&5
14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); } &&
14238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14239 { (case "(($ac_try" in
14240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14241 *) ac_try_echo=$ac_try;;
14243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14244 (eval "$ac_try") 2>&5
14246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14247 (exit $ac_status); }; } &&
14248 { ac_try='test -s conftest.$ac_objext'
14249 { (case "(($ac_try" in
14250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14251 *) ac_try_echo=$ac_try;;
14253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14254 (eval "$ac_try") 2>&5
14256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14257 (exit $ac_status); }; }; then
14258 ARTSLIBS=$ARTSC_LIBS
14260 ARTSINCL=$ARTSC_CFLAGS
14263 cat >>confdefs.h <<\_ACEOF
14264 #define HAVE_ARTS 1
14268 echo "$as_me: failed program was:" >&5
14269 sed 's/^/| /' conftest.$ac_ext >&5
14274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14277 CFLAGS="$save_CFLAGS"
14280 # Extract the first word of "esd-config", so it can be a program name with args.
14281 set dummy esd-config; ac_word=$2
14282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14284 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14285 echo $ECHO_N "(cached) $ECHO_C" >&6
14289 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14293 for as_dir in $PATH
14296 test -z "$as_dir" && as_dir=.
14297 for ac_exec_ext in '' $ac_executable_extensions; do
14298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14299 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14310 ESDCONFIG=$ac_cv_path_ESDCONFIG
14311 if test -n "$ESDCONFIG"; then
14312 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14313 echo "${ECHO_T}$ESDCONFIG" >&6; }
14315 { echo "$as_me:$LINENO: result: no" >&5
14316 echo "${ECHO_T}no" >&6; }
14320 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
14323 for i in `$ESDCONFIG --cflags`
14326 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14329 ESD_LIBS=`$ESDCONFIG --libs`
14330 save_CFLAGS="$CFLAGS"
14331 CFLAGS="$CFLAGS $ESD_CFLAGS"
14332 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14333 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14334 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14335 echo $ECHO_N "(cached) $ECHO_C" >&6
14337 ac_check_lib_save_LIBS=$LIBS
14339 cat >conftest.$ac_ext <<_ACEOF
14342 cat confdefs.h >>conftest.$ac_ext
14343 cat >>conftest.$ac_ext <<_ACEOF
14344 /* end confdefs.h. */
14346 /* Override any GCC internal prototype to avoid an error.
14347 Use char because int might match the return type of a GCC
14348 builtin and then its argument prototype would still apply. */
14352 char esd_open_sound ();
14356 return esd_open_sound ();
14361 rm -f conftest.$ac_objext conftest$ac_exeext
14362 if { (ac_try="$ac_link"
14363 case "(($ac_try" in
14364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14365 *) ac_try_echo=$ac_try;;
14367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14368 (eval "$ac_link") 2>conftest.er1
14370 grep -v '^ *+' conftest.er1 >conftest.err
14372 cat conftest.err >&5
14373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14374 (exit $ac_status); } &&
14375 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14376 { (case "(($ac_try" in
14377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14378 *) ac_try_echo=$ac_try;;
14380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14381 (eval "$ac_try") 2>&5
14383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384 (exit $ac_status); }; } &&
14385 { ac_try='test -s conftest$ac_exeext'
14386 { (case "(($ac_try" in
14387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14388 *) ac_try_echo=$ac_try;;
14390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14391 (eval "$ac_try") 2>&5
14393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14394 (exit $ac_status); }; }; then
14395 ac_cv_lib_esd_esd_open_sound=yes
14397 echo "$as_me: failed program was:" >&5
14398 sed 's/^/| /' conftest.$ac_ext >&5
14400 ac_cv_lib_esd_esd_open_sound=no
14403 rm -f core conftest.err conftest.$ac_objext \
14404 conftest$ac_exeext conftest.$ac_ext
14405 LIBS=$ac_check_lib_save_LIBS
14407 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14408 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14409 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14412 ESDINCL=$ESD_CFLAGS
14415 cat >>confdefs.h <<\_ACEOF
14421 CFLAGS="$save_CFLAGS"
14426 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14428 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14429 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14430 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14431 echo $ECHO_N "(cached) $ECHO_C" >&6
14433 ac_check_lib_save_LIBS=$LIBS
14434 LIBS="-lasound $LIBS"
14435 cat >conftest.$ac_ext <<_ACEOF
14438 cat confdefs.h >>conftest.$ac_ext
14439 cat >>conftest.$ac_ext <<_ACEOF
14440 /* end confdefs.h. */
14442 /* Override any GCC internal prototype to avoid an error.
14443 Use char because int might match the return type of a GCC
14444 builtin and then its argument prototype would still apply. */
14448 char snd_pcm_hw_params_get_access ();
14452 return snd_pcm_hw_params_get_access ();
14457 rm -f conftest.$ac_objext conftest$ac_exeext
14458 if { (ac_try="$ac_link"
14459 case "(($ac_try" in
14460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14461 *) ac_try_echo=$ac_try;;
14463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14464 (eval "$ac_link") 2>conftest.er1
14466 grep -v '^ *+' conftest.er1 >conftest.err
14468 cat conftest.err >&5
14469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14470 (exit $ac_status); } &&
14471 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14472 { (case "(($ac_try" in
14473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14474 *) ac_try_echo=$ac_try;;
14476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14477 (eval "$ac_try") 2>&5
14479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14480 (exit $ac_status); }; } &&
14481 { ac_try='test -s conftest$ac_exeext'
14482 { (case "(($ac_try" in
14483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14484 *) ac_try_echo=$ac_try;;
14486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14487 (eval "$ac_try") 2>&5
14489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490 (exit $ac_status); }; }; then
14491 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14493 echo "$as_me: failed program was:" >&5
14494 sed 's/^/| /' conftest.$ac_ext >&5
14496 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14499 rm -f core conftest.err conftest.$ac_objext \
14500 conftest$ac_exeext conftest.$ac_ext
14501 LIBS=$ac_check_lib_save_LIBS
14503 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14504 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14505 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14506 cat >conftest.$ac_ext <<_ACEOF
14509 cat confdefs.h >>conftest.$ac_ext
14510 cat >>conftest.$ac_ext <<_ACEOF
14511 /* end confdefs.h. */
14512 #ifdef HAVE_ALSA_ASOUNDLIB_H
14513 #include <alsa/asoundlib.h>
14514 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14515 #include <sys/asoundlib.h>
14520 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14525 rm -f conftest.$ac_objext
14526 if { (ac_try="$ac_compile"
14527 case "(($ac_try" in
14528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14529 *) ac_try_echo=$ac_try;;
14531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14532 (eval "$ac_compile") 2>conftest.er1
14534 grep -v '^ *+' conftest.er1 >conftest.err
14536 cat conftest.err >&5
14537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538 (exit $ac_status); } &&
14539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14540 { (case "(($ac_try" in
14541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14542 *) ac_try_echo=$ac_try;;
14544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14545 (eval "$ac_try") 2>&5
14547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14548 (exit $ac_status); }; } &&
14549 { ac_try='test -s conftest.$ac_objext'
14550 { (case "(($ac_try" in
14551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14552 *) ac_try_echo=$ac_try;;
14554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14555 (eval "$ac_try") 2>&5
14557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14558 (exit $ac_status); }; }; then
14560 cat >>confdefs.h <<\_ACEOF
14561 #define HAVE_ALSA 1
14564 ALSALIBS="-lasound"
14566 echo "$as_me: failed program was:" >&5
14567 sed 's/^/| /' conftest.$ac_ext >&5
14572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14580 if test "$ac_cv_header_libaudioio_h" = "yes"
14582 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14583 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14584 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14585 echo $ECHO_N "(cached) $ECHO_C" >&6
14587 ac_check_lib_save_LIBS=$LIBS
14588 LIBS="-laudioio $LIBS"
14589 cat >conftest.$ac_ext <<_ACEOF
14592 cat confdefs.h >>conftest.$ac_ext
14593 cat >>conftest.$ac_ext <<_ACEOF
14594 /* end confdefs.h. */
14596 /* Override any GCC internal prototype to avoid an error.
14597 Use char because int might match the return type of a GCC
14598 builtin and then its argument prototype would still apply. */
14602 char AudioIOGetVersion ();
14606 return AudioIOGetVersion ();
14611 rm -f conftest.$ac_objext conftest$ac_exeext
14612 if { (ac_try="$ac_link"
14613 case "(($ac_try" in
14614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14615 *) ac_try_echo=$ac_try;;
14617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14618 (eval "$ac_link") 2>conftest.er1
14620 grep -v '^ *+' conftest.er1 >conftest.err
14622 cat conftest.err >&5
14623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14624 (exit $ac_status); } &&
14625 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14626 { (case "(($ac_try" in
14627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14628 *) ac_try_echo=$ac_try;;
14630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14631 (eval "$ac_try") 2>&5
14633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14634 (exit $ac_status); }; } &&
14635 { ac_try='test -s conftest$ac_exeext'
14636 { (case "(($ac_try" in
14637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14638 *) ac_try_echo=$ac_try;;
14640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14641 (eval "$ac_try") 2>&5
14643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 (exit $ac_status); }; }; then
14645 ac_cv_lib_audioio_AudioIOGetVersion=yes
14647 echo "$as_me: failed program was:" >&5
14648 sed 's/^/| /' conftest.$ac_ext >&5
14650 ac_cv_lib_audioio_AudioIOGetVersion=no
14653 rm -f core conftest.err conftest.$ac_objext \
14654 conftest$ac_exeext conftest.$ac_ext
14655 LIBS=$ac_check_lib_save_LIBS
14657 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14658 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14659 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14660 AUDIOIOLIBS="-laudioio"
14662 cat >>confdefs.h <<\_ACEOF
14663 #define HAVE_LIBAUDIOIO 1
14671 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14673 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
14674 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
14675 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
14676 echo $ECHO_N "(cached) $ECHO_C" >&6
14678 ac_check_lib_save_LIBS=$LIBS
14679 LIBS="-lcapi20 $LIBS"
14680 cat >conftest.$ac_ext <<_ACEOF
14683 cat confdefs.h >>conftest.$ac_ext
14684 cat >>conftest.$ac_ext <<_ACEOF
14685 /* end confdefs.h. */
14687 /* Override any GCC internal prototype to avoid an error.
14688 Use char because int might match the return type of a GCC
14689 builtin and then its argument prototype would still apply. */
14693 char capi20_register ();
14697 return capi20_register ();
14702 rm -f conftest.$ac_objext conftest$ac_exeext
14703 if { (ac_try="$ac_link"
14704 case "(($ac_try" in
14705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14706 *) ac_try_echo=$ac_try;;
14708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14709 (eval "$ac_link") 2>conftest.er1
14711 grep -v '^ *+' conftest.er1 >conftest.err
14713 cat conftest.err >&5
14714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14715 (exit $ac_status); } &&
14716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14717 { (case "(($ac_try" in
14718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14719 *) ac_try_echo=$ac_try;;
14721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14722 (eval "$ac_try") 2>&5
14724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725 (exit $ac_status); }; } &&
14726 { ac_try='test -s conftest$ac_exeext'
14727 { (case "(($ac_try" in
14728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14729 *) ac_try_echo=$ac_try;;
14731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14732 (eval "$ac_try") 2>&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); }; }; then
14736 ac_cv_lib_capi20_capi20_register=yes
14738 echo "$as_me: failed program was:" >&5
14739 sed 's/^/| /' conftest.$ac_ext >&5
14741 ac_cv_lib_capi20_capi20_register=no
14744 rm -f core conftest.err conftest.$ac_objext \
14745 conftest$ac_exeext conftest.$ac_ext
14746 LIBS=$ac_check_lib_save_LIBS
14748 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
14749 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
14750 if test $ac_cv_lib_capi20_capi20_register = yes; then
14752 cat >>confdefs.h <<\_ACEOF
14753 #define HAVE_CAPI4LINUX 1
14761 if test "$ac_cv_header_gif_lib_h" = "yes"
14763 cat >conftest.$ac_ext <<_ACEOF
14766 cat confdefs.h >>conftest.$ac_ext
14767 cat >>conftest.$ac_ext <<_ACEOF
14768 /* end confdefs.h. */
14769 #include <gif_lib.h>
14773 static typeof(DGifOpen) * func;
14778 rm -f conftest.$ac_objext
14779 if { (ac_try="$ac_compile"
14780 case "(($ac_try" in
14781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14782 *) ac_try_echo=$ac_try;;
14784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14785 (eval "$ac_compile") 2>conftest.er1
14787 grep -v '^ *+' conftest.er1 >conftest.err
14789 cat conftest.err >&5
14790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14791 (exit $ac_status); } &&
14792 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14793 { (case "(($ac_try" in
14794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14795 *) ac_try_echo=$ac_try;;
14797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14798 (eval "$ac_try") 2>&5
14800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14801 (exit $ac_status); }; } &&
14802 { ac_try='test -s conftest.$ac_objext'
14803 { (case "(($ac_try" in
14804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14805 *) ac_try_echo=$ac_try;;
14807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14808 (eval "$ac_try") 2>&5
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); }; }; then
14813 cat >>confdefs.h <<\_ACEOF
14818 echo "$as_me: failed program was:" >&5
14819 sed 's/^/| /' conftest.$ac_ext >&5
14824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14830 if test "x${GCC}" = "xyes"
14832 EXTRACFLAGS="-Wall -pipe"
14834 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14835 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14836 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14837 echo $ECHO_N "(cached) $ECHO_C" >&6
14839 if test "$cross_compiling" = yes; then
14840 ac_cv_c_gcc_strength_bug="yes"
14842 cat >conftest.$ac_ext <<_ACEOF
14845 cat confdefs.h >>conftest.$ac_ext
14846 cat >>conftest.$ac_ext <<_ACEOF
14847 /* end confdefs.h. */
14849 int L[4] = {0,1,2,3};
14851 static int Array[3];
14852 unsigned int B = 3;
14854 for(i=0; i<B; i++) Array[i] = i - 3;
14855 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14858 exit( Array[1] != -2 || L[2] != 3);
14861 rm -f conftest$ac_exeext
14862 if { (ac_try="$ac_link"
14863 case "(($ac_try" in
14864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14865 *) ac_try_echo=$ac_try;;
14867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14868 (eval "$ac_link") 2>&5
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14872 { (case "(($ac_try" in
14873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14874 *) ac_try_echo=$ac_try;;
14876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14877 (eval "$ac_try") 2>&5
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); }; }; then
14881 ac_cv_c_gcc_strength_bug="no"
14883 echo "$as_me: program exited with status $ac_status" >&5
14884 echo "$as_me: failed program was:" >&5
14885 sed 's/^/| /' conftest.$ac_ext >&5
14887 ( exit $ac_status )
14888 ac_cv_c_gcc_strength_bug="yes"
14890 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14895 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14896 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14897 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14899 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14902 { echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
14903 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6; }
14904 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
14905 echo $ECHO_N "(cached) $ECHO_C" >&6
14907 ac_wine_try_cflags_saved=$CFLAGS
14908 CFLAGS="$CFLAGS -fshort-wchar"
14909 cat >conftest.$ac_ext <<_ACEOF
14912 cat confdefs.h >>conftest.$ac_ext
14913 cat >>conftest.$ac_ext <<_ACEOF
14914 /* end confdefs.h. */
14924 rm -f conftest.$ac_objext conftest$ac_exeext
14925 if { (ac_try="$ac_link"
14926 case "(($ac_try" in
14927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14928 *) ac_try_echo=$ac_try;;
14930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14931 (eval "$ac_link") 2>conftest.er1
14933 grep -v '^ *+' conftest.er1 >conftest.err
14935 cat conftest.err >&5
14936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14937 (exit $ac_status); } &&
14938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14939 { (case "(($ac_try" in
14940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14941 *) ac_try_echo=$ac_try;;
14943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14944 (eval "$ac_try") 2>&5
14946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14947 (exit $ac_status); }; } &&
14948 { ac_try='test -s conftest$ac_exeext'
14949 { (case "(($ac_try" in
14950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14951 *) ac_try_echo=$ac_try;;
14953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14954 (eval "$ac_try") 2>&5
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); }; }; then
14958 ac_cv_c_gcc_fshort_wchar="yes"
14960 echo "$as_me: failed program was:" >&5
14961 sed 's/^/| /' conftest.$ac_ext >&5
14963 ac_cv_c_gcc_fshort_wchar="no"
14966 rm -f core conftest.err conftest.$ac_objext \
14967 conftest$ac_exeext conftest.$ac_ext
14968 CFLAGS=$ac_wine_try_cflags_saved
14970 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
14971 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6; }
14972 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
14975 cat >>confdefs.h <<\_ACEOF
14976 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14981 { echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
14982 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6; }
14983 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
14984 echo $ECHO_N "(cached) $ECHO_C" >&6
14986 ac_wine_try_cflags_saved=$CFLAGS
14987 CFLAGS="$CFLAGS -fno-strict-aliasing"
14988 cat >conftest.$ac_ext <<_ACEOF
14991 cat confdefs.h >>conftest.$ac_ext
14992 cat >>conftest.$ac_ext <<_ACEOF
14993 /* end confdefs.h. */
15003 rm -f conftest.$ac_objext conftest$ac_exeext
15004 if { (ac_try="$ac_link"
15005 case "(($ac_try" in
15006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15007 *) ac_try_echo=$ac_try;;
15009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15010 (eval "$ac_link") 2>conftest.er1
15012 grep -v '^ *+' conftest.er1 >conftest.err
15014 cat conftest.err >&5
15015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15016 (exit $ac_status); } &&
15017 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15018 { (case "(($ac_try" in
15019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15020 *) ac_try_echo=$ac_try;;
15022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15023 (eval "$ac_try") 2>&5
15025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15026 (exit $ac_status); }; } &&
15027 { ac_try='test -s conftest$ac_exeext'
15028 { (case "(($ac_try" in
15029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15030 *) ac_try_echo=$ac_try;;
15032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15033 (eval "$ac_try") 2>&5
15035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036 (exit $ac_status); }; }; then
15037 ac_cv_c_gcc_no_strict_aliasing="yes"
15039 echo "$as_me: failed program was:" >&5
15040 sed 's/^/| /' conftest.$ac_ext >&5
15042 ac_cv_c_gcc_no_strict_aliasing="no"
15045 rm -f core conftest.err conftest.$ac_objext \
15046 conftest$ac_exeext conftest.$ac_ext
15047 CFLAGS=$ac_wine_try_cflags_saved
15049 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
15050 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6; }
15051 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
15053 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15056 { echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
15057 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6; }
15058 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
15059 echo $ECHO_N "(cached) $ECHO_C" >&6
15061 ac_wine_try_cflags_saved=$CFLAGS
15062 CFLAGS="$CFLAGS -gstabs+"
15063 cat >conftest.$ac_ext <<_ACEOF
15066 cat confdefs.h >>conftest.$ac_ext
15067 cat >>conftest.$ac_ext <<_ACEOF
15068 /* end confdefs.h. */
15078 rm -f conftest.$ac_objext conftest$ac_exeext
15079 if { (ac_try="$ac_link"
15080 case "(($ac_try" in
15081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15082 *) ac_try_echo=$ac_try;;
15084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15085 (eval "$ac_link") 2>conftest.er1
15087 grep -v '^ *+' conftest.er1 >conftest.err
15089 cat conftest.err >&5
15090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15091 (exit $ac_status); } &&
15092 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15093 { (case "(($ac_try" in
15094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15095 *) ac_try_echo=$ac_try;;
15097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15098 (eval "$ac_try") 2>&5
15100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15101 (exit $ac_status); }; } &&
15102 { ac_try='test -s conftest$ac_exeext'
15103 { (case "(($ac_try" in
15104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15105 *) ac_try_echo=$ac_try;;
15107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15108 (eval "$ac_try") 2>&5
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); }; }; then
15112 ac_cv_c_gcc_gstabs="yes"
15114 echo "$as_me: failed program was:" >&5
15115 sed 's/^/| /' conftest.$ac_ext >&5
15117 ac_cv_c_gcc_gstabs="no"
15120 rm -f core conftest.err conftest.$ac_objext \
15121 conftest$ac_exeext conftest.$ac_ext
15122 CFLAGS=$ac_wine_try_cflags_saved
15124 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
15125 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6; }
15126 if test "$ac_cv_c_gcc_gstabs" = "yes"
15128 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
15131 { echo "$as_me:$LINENO: checking for gcc -Wdeclaration-after-statement support" >&5
15132 echo $ECHO_N "checking for gcc -Wdeclaration-after-statement support... $ECHO_C" >&6; }
15133 if test "${ac_cv_c_gcc_decl_after_statement+set}" = set; then
15134 echo $ECHO_N "(cached) $ECHO_C" >&6
15136 ac_wine_try_cflags_saved=$CFLAGS
15137 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15138 cat >conftest.$ac_ext <<_ACEOF
15141 cat confdefs.h >>conftest.$ac_ext
15142 cat >>conftest.$ac_ext <<_ACEOF
15143 /* end confdefs.h. */
15153 rm -f conftest.$ac_objext conftest$ac_exeext
15154 if { (ac_try="$ac_link"
15155 case "(($ac_try" in
15156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15157 *) ac_try_echo=$ac_try;;
15159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15160 (eval "$ac_link") 2>conftest.er1
15162 grep -v '^ *+' conftest.er1 >conftest.err
15164 cat conftest.err >&5
15165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15166 (exit $ac_status); } &&
15167 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15168 { (case "(($ac_try" in
15169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15170 *) ac_try_echo=$ac_try;;
15172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15173 (eval "$ac_try") 2>&5
15175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15176 (exit $ac_status); }; } &&
15177 { ac_try='test -s conftest$ac_exeext'
15178 { (case "(($ac_try" in
15179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15180 *) ac_try_echo=$ac_try;;
15182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15183 (eval "$ac_try") 2>&5
15185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186 (exit $ac_status); }; }; then
15187 ac_cv_c_gcc_decl_after_statement="yes"
15189 echo "$as_me: failed program was:" >&5
15190 sed 's/^/| /' conftest.$ac_ext >&5
15192 ac_cv_c_gcc_decl_after_statement="no"
15195 rm -f core conftest.err conftest.$ac_objext \
15196 conftest$ac_exeext conftest.$ac_ext
15197 CFLAGS=$ac_wine_try_cflags_saved
15199 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_decl_after_statement" >&5
15200 echo "${ECHO_T}$ac_cv_c_gcc_decl_after_statement" >&6; }
15201 if test "$ac_cv_c_gcc_decl_after_statement" = "yes"
15203 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15206 saved_CFLAGS="$CFLAGS"
15207 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15208 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15209 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15210 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15211 echo $ECHO_N "(cached) $ECHO_C" >&6
15213 cat >conftest.$ac_ext <<_ACEOF
15216 cat confdefs.h >>conftest.$ac_ext
15217 cat >>conftest.$ac_ext <<_ACEOF
15218 /* end confdefs.h. */
15219 #include <string.h>
15228 rm -f conftest.$ac_objext
15229 if { (ac_try="$ac_compile"
15230 case "(($ac_try" in
15231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15232 *) ac_try_echo=$ac_try;;
15234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15235 (eval "$ac_compile") 2>conftest.er1
15237 grep -v '^ *+' conftest.er1 >conftest.err
15239 cat conftest.err >&5
15240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241 (exit $ac_status); } &&
15242 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15243 { (case "(($ac_try" in
15244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15245 *) ac_try_echo=$ac_try;;
15247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15248 (eval "$ac_try") 2>&5
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); }; } &&
15252 { ac_try='test -s conftest.$ac_objext'
15253 { (case "(($ac_try" in
15254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15255 *) ac_try_echo=$ac_try;;
15257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15258 (eval "$ac_try") 2>&5
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); }; }; then
15262 ac_cv_c_string_h_warnings=no
15264 echo "$as_me: failed program was:" >&5
15265 sed 's/^/| /' conftest.$ac_ext >&5
15267 ac_cv_c_string_h_warnings=yes
15270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15272 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15273 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15274 CFLAGS="$saved_CFLAGS"
15275 if test "$ac_cv_c_string_h_warnings" = "no"
15277 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15282 saved_CFLAGS="$CFLAGS"
15283 CFLAGS="$CFLAGS -Werror"
15284 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15285 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15286 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15287 echo $ECHO_N "(cached) $ECHO_C" >&6
15289 cat >conftest.$ac_ext <<_ACEOF
15292 cat confdefs.h >>conftest.$ac_ext
15293 cat >>conftest.$ac_ext <<_ACEOF
15294 /* end confdefs.h. */
15299 int iswlower(unsigned short);
15304 rm -f conftest.$ac_objext
15305 if { (ac_try="$ac_compile"
15306 case "(($ac_try" in
15307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15308 *) ac_try_echo=$ac_try;;
15310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15311 (eval "$ac_compile") 2>conftest.er1
15313 grep -v '^ *+' conftest.er1 >conftest.err
15315 cat conftest.err >&5
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); } &&
15318 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15319 { (case "(($ac_try" in
15320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15321 *) ac_try_echo=$ac_try;;
15323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15324 (eval "$ac_try") 2>&5
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); }; } &&
15328 { ac_try='test -s conftest.$ac_objext'
15329 { (case "(($ac_try" in
15330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15331 *) ac_try_echo=$ac_try;;
15333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15334 (eval "$ac_try") 2>&5
15336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337 (exit $ac_status); }; }; then
15338 ac_cv_c_builtin_wchar_ctype=no
15340 echo "$as_me: failed program was:" >&5
15341 sed 's/^/| /' conftest.$ac_ext >&5
15343 ac_cv_c_builtin_wchar_ctype=yes
15346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15348 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15349 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15350 CFLAGS="$saved_CFLAGS"
15351 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15353 BUILTINFLAG="-fno-builtin"
15358 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15359 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15360 if test "${ac_cv_asm_func_def+set}" = set; then
15361 echo $ECHO_N "(cached) $ECHO_C" >&6
15363 cat >conftest.$ac_ext <<_ACEOF
15366 cat confdefs.h >>conftest.$ac_ext
15367 cat >>conftest.$ac_ext <<_ACEOF
15368 /* end confdefs.h. */
15369 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"); }
15379 rm -f conftest.$ac_objext conftest$ac_exeext
15380 if { (ac_try="$ac_link"
15381 case "(($ac_try" in
15382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15383 *) ac_try_echo=$ac_try;;
15385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15386 (eval "$ac_link") 2>conftest.er1
15388 grep -v '^ *+' conftest.er1 >conftest.err
15390 cat conftest.err >&5
15391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15392 (exit $ac_status); } &&
15393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15394 { (case "(($ac_try" in
15395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15396 *) ac_try_echo=$ac_try;;
15398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15399 (eval "$ac_try") 2>&5
15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402 (exit $ac_status); }; } &&
15403 { ac_try='test -s conftest$ac_exeext'
15404 { (case "(($ac_try" in
15405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15406 *) ac_try_echo=$ac_try;;
15408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15409 (eval "$ac_try") 2>&5
15411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15412 (exit $ac_status); }; }; then
15413 ac_cv_asm_func_def=".def"
15415 echo "$as_me: failed program was:" >&5
15416 sed 's/^/| /' conftest.$ac_ext >&5
15418 cat >conftest.$ac_ext <<_ACEOF
15421 cat confdefs.h >>conftest.$ac_ext
15422 cat >>conftest.$ac_ext <<_ACEOF
15423 /* end confdefs.h. */
15424 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
15434 rm -f conftest.$ac_objext conftest$ac_exeext
15435 if { (ac_try="$ac_link"
15436 case "(($ac_try" in
15437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15438 *) ac_try_echo=$ac_try;;
15440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15441 (eval "$ac_link") 2>conftest.er1
15443 grep -v '^ *+' conftest.er1 >conftest.err
15445 cat conftest.err >&5
15446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15447 (exit $ac_status); } &&
15448 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15449 { (case "(($ac_try" in
15450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15451 *) ac_try_echo=$ac_try;;
15453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15454 (eval "$ac_try") 2>&5
15456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15457 (exit $ac_status); }; } &&
15458 { ac_try='test -s conftest$ac_exeext'
15459 { (case "(($ac_try" in
15460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15461 *) ac_try_echo=$ac_try;;
15463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15464 (eval "$ac_try") 2>&5
15466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15467 (exit $ac_status); }; }; then
15468 ac_cv_asm_func_def=".type @function"
15470 echo "$as_me: failed program was:" >&5
15471 sed 's/^/| /' conftest.$ac_ext >&5
15473 cat >conftest.$ac_ext <<_ACEOF
15476 cat confdefs.h >>conftest.$ac_ext
15477 cat >>conftest.$ac_ext <<_ACEOF
15478 /* end confdefs.h. */
15479 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
15489 rm -f conftest.$ac_objext conftest$ac_exeext
15490 if { (ac_try="$ac_link"
15491 case "(($ac_try" in
15492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15493 *) ac_try_echo=$ac_try;;
15495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15496 (eval "$ac_link") 2>conftest.er1
15498 grep -v '^ *+' conftest.er1 >conftest.err
15500 cat conftest.err >&5
15501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15502 (exit $ac_status); } &&
15503 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15504 { (case "(($ac_try" in
15505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15506 *) ac_try_echo=$ac_try;;
15508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15509 (eval "$ac_try") 2>&5
15511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15512 (exit $ac_status); }; } &&
15513 { ac_try='test -s conftest$ac_exeext'
15514 { (case "(($ac_try" in
15515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15516 *) ac_try_echo=$ac_try;;
15518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15519 (eval "$ac_try") 2>&5
15521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15522 (exit $ac_status); }; }; then
15523 ac_cv_asm_func_def=".type 2"
15525 echo "$as_me: failed program was:" >&5
15526 sed 's/^/| /' conftest.$ac_ext >&5
15528 ac_cv_asm_func_def="unknown"
15531 rm -f core conftest.err conftest.$ac_objext \
15532 conftest$ac_exeext conftest.$ac_ext
15535 rm -f core conftest.err conftest.$ac_objext \
15536 conftest$ac_exeext conftest.$ac_ext
15539 rm -f core conftest.err conftest.$ac_objext \
15540 conftest$ac_exeext conftest.$ac_ext
15542 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15543 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15547 case "$ac_cv_asm_func_def" in
15549 cat >>confdefs.h <<\_ACEOF
15550 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15554 cat >>confdefs.h <<\_ACEOF
15555 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15559 cat >>confdefs.h <<\_ACEOF
15560 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15564 cat >>confdefs.h <<\_ACEOF
15565 #define __ASM_FUNC(name) ""
15571 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15572 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15573 if test "${ac_cv_c_extern_prefix+set}" = set; then
15574 echo $ECHO_N "(cached) $ECHO_C" >&6
15576 cat >conftest.$ac_ext <<_ACEOF
15579 cat confdefs.h >>conftest.$ac_ext
15580 cat >>conftest.$ac_ext <<_ACEOF
15581 /* end confdefs.h. */
15582 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
15583 extern int ac_test;
15587 if (ac_test) return 1
15592 rm -f conftest.$ac_objext conftest$ac_exeext
15593 if { (ac_try="$ac_link"
15594 case "(($ac_try" in
15595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15596 *) ac_try_echo=$ac_try;;
15598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15599 (eval "$ac_link") 2>conftest.er1
15601 grep -v '^ *+' conftest.er1 >conftest.err
15603 cat conftest.err >&5
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 (exit $ac_status); } &&
15606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15607 { (case "(($ac_try" in
15608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15609 *) ac_try_echo=$ac_try;;
15611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15612 (eval "$ac_try") 2>&5
15614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15615 (exit $ac_status); }; } &&
15616 { ac_try='test -s conftest$ac_exeext'
15617 { (case "(($ac_try" in
15618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15619 *) ac_try_echo=$ac_try;;
15621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15622 (eval "$ac_try") 2>&5
15624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15625 (exit $ac_status); }; }; then
15626 ac_cv_c_extern_prefix="yes"
15628 echo "$as_me: failed program was:" >&5
15629 sed 's/^/| /' conftest.$ac_ext >&5
15631 ac_cv_c_extern_prefix="no"
15634 rm -f core conftest.err conftest.$ac_objext \
15635 conftest$ac_exeext conftest.$ac_ext
15637 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15638 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15642 if test "$ac_cv_c_extern_prefix" = "yes"
15644 cat >>confdefs.h <<\_ACEOF
15645 #define __ASM_NAME(name) "_" name
15649 cat >>confdefs.h <<\_ACEOF
15650 #define __ASM_NAME(name) name
15658 DLLFLAGS="-D_REENTRANT"
15673 if test -n "$ac_tool_prefix"; then
15674 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15675 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15676 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15678 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15679 echo $ECHO_N "(cached) $ECHO_C" >&6
15681 if test -n "$DLLTOOL"; then
15682 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15685 for as_dir in $PATH
15688 test -z "$as_dir" && as_dir=.
15689 for ac_exec_ext in '' $ac_executable_extensions; do
15690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15691 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15701 DLLTOOL=$ac_cv_prog_DLLTOOL
15702 if test -n "$DLLTOOL"; then
15703 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15704 echo "${ECHO_T}$DLLTOOL" >&6; }
15706 { echo "$as_me:$LINENO: result: no" >&5
15707 echo "${ECHO_T}no" >&6; }
15712 if test -z "$ac_cv_prog_DLLTOOL"; then
15713 ac_ct_DLLTOOL=$DLLTOOL
15714 # Extract the first word of "dlltool", so it can be a program name with args.
15715 set dummy dlltool; ac_word=$2
15716 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15718 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15719 echo $ECHO_N "(cached) $ECHO_C" >&6
15721 if test -n "$ac_ct_DLLTOOL"; then
15722 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15725 for as_dir in $PATH
15728 test -z "$as_dir" && as_dir=.
15729 for ac_exec_ext in '' $ac_executable_extensions; do
15730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15731 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15741 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15742 if test -n "$ac_ct_DLLTOOL"; then
15743 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15744 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
15746 { echo "$as_me:$LINENO: result: no" >&5
15747 echo "${ECHO_T}no" >&6; }
15750 if test "x$ac_ct_DLLTOOL" = x; then
15753 case $cross_compiling:$ac_tool_warned in
15755 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15756 whose name does not start with the host triplet. If you think this
15757 configuration is useful to you, please write to autoconf@gnu.org." >&5
15758 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15759 whose name does not start with the host triplet. If you think this
15760 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15761 ac_tool_warned=yes ;;
15763 DLLTOOL=$ac_ct_DLLTOOL
15766 DLLTOOL="$ac_cv_prog_DLLTOOL"
15769 if test -n "$ac_tool_prefix"; then
15770 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
15771 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
15772 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15774 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
15775 echo $ECHO_N "(cached) $ECHO_C" >&6
15777 if test -n "$DLLWRAP"; then
15778 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
15780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15781 for as_dir in $PATH
15784 test -z "$as_dir" && as_dir=.
15785 for ac_exec_ext in '' $ac_executable_extensions; do
15786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15787 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
15788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15797 DLLWRAP=$ac_cv_prog_DLLWRAP
15798 if test -n "$DLLWRAP"; then
15799 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
15800 echo "${ECHO_T}$DLLWRAP" >&6; }
15802 { echo "$as_me:$LINENO: result: no" >&5
15803 echo "${ECHO_T}no" >&6; }
15808 if test -z "$ac_cv_prog_DLLWRAP"; then
15809 ac_ct_DLLWRAP=$DLLWRAP
15810 # Extract the first word of "dllwrap", so it can be a program name with args.
15811 set dummy dllwrap; ac_word=$2
15812 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15814 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
15815 echo $ECHO_N "(cached) $ECHO_C" >&6
15817 if test -n "$ac_ct_DLLWRAP"; then
15818 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
15820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15821 for as_dir in $PATH
15824 test -z "$as_dir" && as_dir=.
15825 for ac_exec_ext in '' $ac_executable_extensions; do
15826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15827 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
15828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15837 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
15838 if test -n "$ac_ct_DLLWRAP"; then
15839 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
15840 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
15842 { echo "$as_me:$LINENO: result: no" >&5
15843 echo "${ECHO_T}no" >&6; }
15846 if test "x$ac_ct_DLLWRAP" = x; then
15849 case $cross_compiling:$ac_tool_warned in
15851 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15852 whose name does not start with the host triplet. If you think this
15853 configuration is useful to you, please write to autoconf@gnu.org." >&5
15854 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15855 whose name does not start with the host triplet. If you think this
15856 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15857 ac_tool_warned=yes ;;
15859 DLLWRAP=$ac_ct_DLLWRAP
15862 DLLWRAP="$ac_cv_prog_DLLWRAP"
15865 if test "$DLLWRAP" = "false"; then
15875 if test "$ac_cv_header_dlfcn_h" = "yes"
15878 for ac_func in dlopen
15880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15881 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15883 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15884 echo $ECHO_N "(cached) $ECHO_C" >&6
15886 cat >conftest.$ac_ext <<_ACEOF
15889 cat confdefs.h >>conftest.$ac_ext
15890 cat >>conftest.$ac_ext <<_ACEOF
15891 /* end confdefs.h. */
15892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15894 #define $ac_func innocuous_$ac_func
15896 /* System header to define __stub macros and hopefully few prototypes,
15897 which can conflict with char $ac_func (); below.
15898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15899 <limits.h> exists even on freestanding compilers. */
15902 # include <limits.h>
15904 # include <assert.h>
15909 /* Override any GCC internal prototype to avoid an error.
15910 Use char because int might match the return type of a GCC
15911 builtin and then its argument prototype would still apply. */
15916 /* The GNU C library defines this for functions which it implements
15917 to always fail with ENOSYS. Some functions are actually named
15918 something starting with __ and the normal name is an alias. */
15919 #if defined __stub_$ac_func || defined __stub___$ac_func
15926 return $ac_func ();
15931 rm -f conftest.$ac_objext conftest$ac_exeext
15932 if { (ac_try="$ac_link"
15933 case "(($ac_try" in
15934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15935 *) ac_try_echo=$ac_try;;
15937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15938 (eval "$ac_link") 2>conftest.er1
15940 grep -v '^ *+' conftest.er1 >conftest.err
15942 cat conftest.err >&5
15943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15944 (exit $ac_status); } &&
15945 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15946 { (case "(($ac_try" in
15947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15948 *) ac_try_echo=$ac_try;;
15950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15951 (eval "$ac_try") 2>&5
15953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15954 (exit $ac_status); }; } &&
15955 { ac_try='test -s conftest$ac_exeext'
15956 { (case "(($ac_try" in
15957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15958 *) ac_try_echo=$ac_try;;
15960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15961 (eval "$ac_try") 2>&5
15963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15964 (exit $ac_status); }; }; then
15965 eval "$as_ac_var=yes"
15967 echo "$as_me: failed program was:" >&5
15968 sed 's/^/| /' conftest.$ac_ext >&5
15970 eval "$as_ac_var=no"
15973 rm -f core conftest.err conftest.$ac_objext \
15974 conftest$ac_exeext conftest.$ac_ext
15976 ac_res=`eval echo '${'$as_ac_var'}'`
15977 { echo "$as_me:$LINENO: result: $ac_res" >&5
15978 echo "${ECHO_T}$ac_res" >&6; }
15979 if test `eval echo '${'$as_ac_var'}'` = yes; then
15980 cat >>confdefs.h <<_ACEOF
15981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15985 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15986 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15987 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15988 echo $ECHO_N "(cached) $ECHO_C" >&6
15990 ac_check_lib_save_LIBS=$LIBS
15992 cat >conftest.$ac_ext <<_ACEOF
15995 cat confdefs.h >>conftest.$ac_ext
15996 cat >>conftest.$ac_ext <<_ACEOF
15997 /* end confdefs.h. */
15999 /* Override any GCC internal prototype to avoid an error.
16000 Use char because int might match the return type of a GCC
16001 builtin and then its argument prototype would still apply. */
16014 rm -f conftest.$ac_objext conftest$ac_exeext
16015 if { (ac_try="$ac_link"
16016 case "(($ac_try" in
16017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16018 *) ac_try_echo=$ac_try;;
16020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16021 (eval "$ac_link") 2>conftest.er1
16023 grep -v '^ *+' conftest.er1 >conftest.err
16025 cat conftest.err >&5
16026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16027 (exit $ac_status); } &&
16028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16029 { (case "(($ac_try" in
16030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16031 *) ac_try_echo=$ac_try;;
16033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16034 (eval "$ac_try") 2>&5
16036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037 (exit $ac_status); }; } &&
16038 { ac_try='test -s conftest$ac_exeext'
16039 { (case "(($ac_try" in
16040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16041 *) ac_try_echo=$ac_try;;
16043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16044 (eval "$ac_try") 2>&5
16046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16047 (exit $ac_status); }; }; then
16048 ac_cv_lib_dl_dlopen=yes
16050 echo "$as_me: failed program was:" >&5
16051 sed 's/^/| /' conftest.$ac_ext >&5
16053 ac_cv_lib_dl_dlopen=no
16056 rm -f core conftest.err conftest.$ac_objext \
16057 conftest$ac_exeext conftest.$ac_ext
16058 LIBS=$ac_check_lib_save_LIBS
16060 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16061 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16062 if test $ac_cv_lib_dl_dlopen = yes; then
16064 cat >>confdefs.h <<\_ACEOF
16065 #define HAVE_DLOPEN 1
16076 ac_wine_check_funcs_save_LIBS="$LIBS"
16077 LIBS="$LIBS $DLLIBS"
16079 for ac_func in dladdr
16081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16082 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16084 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16085 echo $ECHO_N "(cached) $ECHO_C" >&6
16087 cat >conftest.$ac_ext <<_ACEOF
16090 cat confdefs.h >>conftest.$ac_ext
16091 cat >>conftest.$ac_ext <<_ACEOF
16092 /* end confdefs.h. */
16093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16095 #define $ac_func innocuous_$ac_func
16097 /* System header to define __stub macros and hopefully few prototypes,
16098 which can conflict with char $ac_func (); below.
16099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16100 <limits.h> exists even on freestanding compilers. */
16103 # include <limits.h>
16105 # include <assert.h>
16110 /* Override any GCC internal prototype to avoid an error.
16111 Use char because int might match the return type of a GCC
16112 builtin and then its argument prototype would still apply. */
16117 /* The GNU C library defines this for functions which it implements
16118 to always fail with ENOSYS. Some functions are actually named
16119 something starting with __ and the normal name is an alias. */
16120 #if defined __stub_$ac_func || defined __stub___$ac_func
16127 return $ac_func ();
16132 rm -f conftest.$ac_objext conftest$ac_exeext
16133 if { (ac_try="$ac_link"
16134 case "(($ac_try" in
16135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16136 *) ac_try_echo=$ac_try;;
16138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16139 (eval "$ac_link") 2>conftest.er1
16141 grep -v '^ *+' conftest.er1 >conftest.err
16143 cat conftest.err >&5
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); } &&
16146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16147 { (case "(($ac_try" in
16148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16149 *) ac_try_echo=$ac_try;;
16151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16152 (eval "$ac_try") 2>&5
16154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16155 (exit $ac_status); }; } &&
16156 { ac_try='test -s conftest$ac_exeext'
16157 { (case "(($ac_try" in
16158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16159 *) ac_try_echo=$ac_try;;
16161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16162 (eval "$ac_try") 2>&5
16164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16165 (exit $ac_status); }; }; then
16166 eval "$as_ac_var=yes"
16168 echo "$as_me: failed program was:" >&5
16169 sed 's/^/| /' conftest.$ac_ext >&5
16171 eval "$as_ac_var=no"
16174 rm -f core conftest.err conftest.$ac_objext \
16175 conftest$ac_exeext conftest.$ac_ext
16177 ac_res=`eval echo '${'$as_ac_var'}'`
16178 { echo "$as_me:$LINENO: result: $ac_res" >&5
16179 echo "${ECHO_T}$ac_res" >&6; }
16180 if test `eval echo '${'$as_ac_var'}'` = yes; then
16181 cat >>confdefs.h <<_ACEOF
16182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16188 LIBS="$ac_wine_check_funcs_save_LIBS"
16193 if test "$LIBEXT" = "so"
16195 DLLFLAGS="$DLLFLAGS -fPIC"
16197 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
16198 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
16199 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
16200 echo $ECHO_N "(cached) $ECHO_C" >&6
16202 ac_wine_try_cflags_saved=$CFLAGS
16203 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
16204 cat >conftest.$ac_ext <<_ACEOF
16207 rm -f conftest.$ac_objext conftest$ac_exeext
16208 if { (ac_try="$ac_link"
16209 case "(($ac_try" in
16210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16211 *) ac_try_echo=$ac_try;;
16213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16214 (eval "$ac_link") 2>conftest.er1
16216 grep -v '^ *+' conftest.er1 >conftest.err
16218 cat conftest.err >&5
16219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16220 (exit $ac_status); } &&
16221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16222 { (case "(($ac_try" in
16223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16224 *) ac_try_echo=$ac_try;;
16226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16227 (eval "$ac_try") 2>&5
16229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); }; } &&
16231 { ac_try='test -s conftest$ac_exeext'
16232 { (case "(($ac_try" in
16233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16234 *) ac_try_echo=$ac_try;;
16236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16237 (eval "$ac_try") 2>&5
16239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16240 (exit $ac_status); }; }; then
16241 ac_cv_c_dll_gnuelf="yes"
16243 echo "$as_me: failed program was:" >&5
16244 sed 's/^/| /' conftest.$ac_ext >&5
16246 ac_cv_c_dll_gnuelf="no"
16249 rm -f core conftest.err conftest.$ac_objext \
16250 conftest$ac_exeext conftest.$ac_ext
16251 CFLAGS=$ac_wine_try_cflags_saved
16253 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
16254 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
16255 if test "$ac_cv_c_dll_gnuelf" = "yes"
16257 LDSHARED="\$(CC) -shared"
16258 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
16259 { echo "$as_me:$LINENO: checking whether the linker accepts soname" >&5
16260 echo $ECHO_N "checking whether the linker accepts soname... $ECHO_C" >&6; }
16261 if test "${ac_cv_c_sonames+set}" = set; then
16262 echo $ECHO_N "(cached) $ECHO_C" >&6
16264 ac_wine_try_cflags_saved=$CFLAGS
16265 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
16266 cat >conftest.$ac_ext <<_ACEOF
16269 cat confdefs.h >>conftest.$ac_ext
16270 cat >>conftest.$ac_ext <<_ACEOF
16271 /* end confdefs.h. */
16281 rm -f conftest.$ac_objext conftest$ac_exeext
16282 if { (ac_try="$ac_link"
16283 case "(($ac_try" in
16284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16285 *) ac_try_echo=$ac_try;;
16287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16288 (eval "$ac_link") 2>conftest.er1
16290 grep -v '^ *+' conftest.er1 >conftest.err
16292 cat conftest.err >&5
16293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16294 (exit $ac_status); } &&
16295 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16296 { (case "(($ac_try" in
16297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16298 *) ac_try_echo=$ac_try;;
16300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16301 (eval "$ac_try") 2>&5
16303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16304 (exit $ac_status); }; } &&
16305 { ac_try='test -s conftest$ac_exeext'
16306 { (case "(($ac_try" in
16307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16308 *) ac_try_echo=$ac_try;;
16310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16311 (eval "$ac_try") 2>&5
16313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); }; }; then
16315 ac_cv_c_sonames="yes"
16317 echo "$as_me: failed program was:" >&5
16318 sed 's/^/| /' conftest.$ac_ext >&5
16320 ac_cv_c_sonames="no"
16323 rm -f core conftest.err conftest.$ac_objext \
16324 conftest$ac_exeext conftest.$ac_ext
16325 CFLAGS=$ac_wine_try_cflags_saved
16327 { echo "$as_me:$LINENO: result: $ac_cv_c_sonames" >&5
16328 echo "${ECHO_T}$ac_cv_c_sonames" >&6; }
16329 if test "$ac_cv_c_sonames" = "yes"
16331 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
16333 { echo "$as_me:$LINENO: checking check to see if -h soname is an alternate" >&5
16334 echo $ECHO_N "checking check to see if -h soname is an alternate... $ECHO_C" >&6; }
16335 if test "${ac_cv_c_h_sonames+set}" = set; then
16336 echo $ECHO_N "(cached) $ECHO_C" >&6
16338 ac_wine_try_cflags_saved=$CFLAGS
16339 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
16340 cat >conftest.$ac_ext <<_ACEOF
16343 cat confdefs.h >>conftest.$ac_ext
16344 cat >>conftest.$ac_ext <<_ACEOF
16345 /* end confdefs.h. */
16355 rm -f conftest.$ac_objext conftest$ac_exeext
16356 if { (ac_try="$ac_link"
16357 case "(($ac_try" in
16358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16359 *) ac_try_echo=$ac_try;;
16361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16362 (eval "$ac_link") 2>conftest.er1
16364 grep -v '^ *+' conftest.er1 >conftest.err
16366 cat conftest.err >&5
16367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16368 (exit $ac_status); } &&
16369 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16370 { (case "(($ac_try" in
16371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16372 *) ac_try_echo=$ac_try;;
16374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16375 (eval "$ac_try") 2>&5
16377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16378 (exit $ac_status); }; } &&
16379 { ac_try='test -s conftest$ac_exeext'
16380 { (case "(($ac_try" in
16381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16382 *) ac_try_echo=$ac_try;;
16384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16385 (eval "$ac_try") 2>&5
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); }; }; then
16389 ac_cv_c_h_sonames="yes"
16391 echo "$as_me: failed program was:" >&5
16392 sed 's/^/| /' conftest.$ac_ext >&5
16394 ac_cv_c_h_sonames="no"
16397 rm -f core conftest.err conftest.$ac_objext \
16398 conftest$ac_exeext conftest.$ac_ext
16399 CFLAGS=$ac_wine_try_cflags_saved
16401 { echo "$as_me:$LINENO: result: $ac_cv_c_h_sonames" >&5
16402 echo "${ECHO_T}$ac_cv_c_h_sonames" >&6; }
16403 if test "$ac_cv_c_h_sonames" = "yes"
16405 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
16409 { echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
16410 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6; }
16411 if test "${ac_cv_c_dll_zdefs+set}" = set; then
16412 echo $ECHO_N "(cached) $ECHO_C" >&6
16414 ac_wine_try_cflags_saved=$CFLAGS
16415 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
16416 cat >conftest.$ac_ext <<_ACEOF
16419 cat confdefs.h >>conftest.$ac_ext
16420 cat >>conftest.$ac_ext <<_ACEOF
16421 /* end confdefs.h. */
16431 rm -f conftest.$ac_objext conftest$ac_exeext
16432 if { (ac_try="$ac_link"
16433 case "(($ac_try" in
16434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16435 *) ac_try_echo=$ac_try;;
16437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16438 (eval "$ac_link") 2>conftest.er1
16440 grep -v '^ *+' conftest.er1 >conftest.err
16442 cat conftest.err >&5
16443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16444 (exit $ac_status); } &&
16445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16446 { (case "(($ac_try" in
16447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16448 *) ac_try_echo=$ac_try;;
16450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16451 (eval "$ac_try") 2>&5
16453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16454 (exit $ac_status); }; } &&
16455 { ac_try='test -s conftest$ac_exeext'
16456 { (case "(($ac_try" in
16457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16458 *) ac_try_echo=$ac_try;;
16460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16461 (eval "$ac_try") 2>&5
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); }; }; then
16465 ac_cv_c_dll_zdefs="yes"
16467 echo "$as_me: failed program was:" >&5
16468 sed 's/^/| /' conftest.$ac_ext >&5
16470 ac_cv_c_dll_zdefs="no"
16473 rm -f core conftest.err conftest.$ac_objext \
16474 conftest$ac_exeext conftest.$ac_ext
16475 CFLAGS=$ac_wine_try_cflags_saved
16477 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
16478 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6; }
16479 if test "$ac_cv_c_dll_zdefs" = "yes"
16481 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
16484 { echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
16485 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6; }
16486 if test "${ac_cv_c_dll_init_fini+set}" = set; then
16487 echo $ECHO_N "(cached) $ECHO_C" >&6
16489 ac_wine_try_cflags_saved=$CFLAGS
16490 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
16491 cat >conftest.$ac_ext <<_ACEOF
16494 cat confdefs.h >>conftest.$ac_ext
16495 cat >>conftest.$ac_ext <<_ACEOF
16496 /* end confdefs.h. */
16506 rm -f conftest.$ac_objext conftest$ac_exeext
16507 if { (ac_try="$ac_link"
16508 case "(($ac_try" in
16509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16510 *) ac_try_echo=$ac_try;;
16512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16513 (eval "$ac_link") 2>conftest.er1
16515 grep -v '^ *+' conftest.er1 >conftest.err
16517 cat conftest.err >&5
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); } &&
16520 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16521 { (case "(($ac_try" in
16522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16523 *) ac_try_echo=$ac_try;;
16525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16526 (eval "$ac_try") 2>&5
16528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16529 (exit $ac_status); }; } &&
16530 { ac_try='test -s conftest$ac_exeext'
16531 { (case "(($ac_try" in
16532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16533 *) ac_try_echo=$ac_try;;
16535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16536 (eval "$ac_try") 2>&5
16538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539 (exit $ac_status); }; }; then
16540 ac_cv_c_dll_init_fini="yes"
16542 echo "$as_me: failed program was:" >&5
16543 sed 's/^/| /' conftest.$ac_ext >&5
16545 ac_cv_c_dll_init_fini="no"
16548 rm -f core conftest.err conftest.$ac_objext \
16549 conftest$ac_exeext conftest.$ac_ext
16550 CFLAGS=$ac_wine_try_cflags_saved
16552 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
16553 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6; }
16554 if test "$ac_cv_c_dll_init_fini" = "yes"
16556 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
16559 { echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
16560 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6; }
16561 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
16562 echo $ECHO_N "(cached) $ECHO_C" >&6
16564 echo '{ global: *; };' >conftest.map
16565 ac_wine_try_cflags_saved=$CFLAGS
16566 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
16567 cat >conftest.$ac_ext <<_ACEOF
16570 cat confdefs.h >>conftest.$ac_ext
16571 cat >>conftest.$ac_ext <<_ACEOF
16572 /* end confdefs.h. */
16582 rm -f conftest.$ac_objext conftest$ac_exeext
16583 if { (ac_try="$ac_link"
16584 case "(($ac_try" in
16585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16586 *) ac_try_echo=$ac_try;;
16588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16589 (eval "$ac_link") 2>conftest.er1
16591 grep -v '^ *+' conftest.er1 >conftest.err
16593 cat conftest.err >&5
16594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16595 (exit $ac_status); } &&
16596 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16597 { (case "(($ac_try" in
16598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16599 *) ac_try_echo=$ac_try;;
16601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16602 (eval "$ac_try") 2>&5
16604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16605 (exit $ac_status); }; } &&
16606 { ac_try='test -s conftest$ac_exeext'
16607 { (case "(($ac_try" in
16608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16609 *) ac_try_echo=$ac_try;;
16611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16612 (eval "$ac_try") 2>&5
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); }; }; then
16616 ac_cv_c_ld_version_scripts="yes"
16618 echo "$as_me: failed program was:" >&5
16619 sed 's/^/| /' conftest.$ac_ext >&5
16621 ac_cv_c_ld_version_scripts="no"
16624 rm -f core conftest.err conftest.$ac_objext \
16625 conftest$ac_exeext conftest.$ac_ext
16626 CFLAGS=$ac_wine_try_cflags_saved
16629 { echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
16630 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6; }
16631 if test "$ac_cv_c_ld_version_scripts" = "yes"
16633 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
16636 { echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
16637 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6; }
16638 if test "${ac_cv_c_export_dynamic+set}" = set; then
16639 echo $ECHO_N "(cached) $ECHO_C" >&6
16641 ac_wine_try_cflags_saved=$CFLAGS
16642 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
16643 cat >conftest.$ac_ext <<_ACEOF
16646 cat confdefs.h >>conftest.$ac_ext
16647 cat >>conftest.$ac_ext <<_ACEOF
16648 /* end confdefs.h. */
16658 rm -f conftest.$ac_objext conftest$ac_exeext
16659 if { (ac_try="$ac_link"
16660 case "(($ac_try" in
16661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16662 *) ac_try_echo=$ac_try;;
16664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16665 (eval "$ac_link") 2>conftest.er1
16667 grep -v '^ *+' conftest.er1 >conftest.err
16669 cat conftest.err >&5
16670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16671 (exit $ac_status); } &&
16672 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16673 { (case "(($ac_try" in
16674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16675 *) ac_try_echo=$ac_try;;
16677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16678 (eval "$ac_try") 2>&5
16680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681 (exit $ac_status); }; } &&
16682 { ac_try='test -s conftest$ac_exeext'
16683 { (case "(($ac_try" in
16684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16685 *) ac_try_echo=$ac_try;;
16687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16688 (eval "$ac_try") 2>&5
16690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16691 (exit $ac_status); }; }; then
16692 ac_cv_c_export_dynamic="yes"
16694 echo "$as_me: failed program was:" >&5
16695 sed 's/^/| /' conftest.$ac_ext >&5
16697 ac_cv_c_export_dynamic="no"
16700 rm -f core conftest.err conftest.$ac_objext \
16701 conftest$ac_exeext conftest.$ac_ext
16702 CFLAGS=$ac_wine_try_cflags_saved
16704 { echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
16705 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6; }
16706 if test "$ac_cv_c_export_dynamic" = "yes"
16708 LDEXECFLAGS="-Wl,--export-dynamic"
16712 { echo "$as_me:$LINENO: checking whether the linker accepts --rpath" >&5
16713 echo $ECHO_N "checking whether the linker accepts --rpath... $ECHO_C" >&6; }
16714 if test "${ac_cv_ld_rpath+set}" = set; then
16715 echo $ECHO_N "(cached) $ECHO_C" >&6
16717 ac_wine_try_cflags_saved=$CFLAGS
16718 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
16719 cat >conftest.$ac_ext <<_ACEOF
16722 cat confdefs.h >>conftest.$ac_ext
16723 cat >>conftest.$ac_ext <<_ACEOF
16724 /* end confdefs.h. */
16734 rm -f conftest.$ac_objext conftest$ac_exeext
16735 if { (ac_try="$ac_link"
16736 case "(($ac_try" in
16737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16738 *) ac_try_echo=$ac_try;;
16740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16741 (eval "$ac_link") 2>conftest.er1
16743 grep -v '^ *+' conftest.er1 >conftest.err
16745 cat conftest.err >&5
16746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16747 (exit $ac_status); } &&
16748 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16749 { (case "(($ac_try" in
16750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16751 *) ac_try_echo=$ac_try;;
16753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16754 (eval "$ac_try") 2>&5
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); }; } &&
16758 { ac_try='test -s conftest$ac_exeext'
16759 { (case "(($ac_try" in
16760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16761 *) ac_try_echo=$ac_try;;
16763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16764 (eval "$ac_try") 2>&5
16766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16767 (exit $ac_status); }; }; then
16768 ac_cv_ld_rpath="yes"
16770 echo "$as_me: failed program was:" >&5
16771 sed 's/^/| /' conftest.$ac_ext >&5
16773 ac_cv_ld_rpath="no"
16776 rm -f core conftest.err conftest.$ac_objext \
16777 conftest$ac_exeext conftest.$ac_ext
16778 CFLAGS=$ac_wine_try_cflags_saved
16780 { echo "$as_me:$LINENO: result: $ac_cv_ld_rpath" >&5
16781 echo "${ECHO_T}$ac_cv_ld_rpath" >&6; }
16782 if test "$ac_cv_ld_rpath" = "yes"
16784 LDEXERPATH="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
16786 LDDLLRPATH="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(dlldir) \$(libdir)\`"
16791 *i[3456789]86* | x86_64)
16792 { echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x7bf00000" >&5
16793 echo $ECHO_N "checking whether we can relocate the executable to 0x7bf00000... $ECHO_C" >&6; }
16794 if test "${ac_cv_ld_reloc_exec+set}" = set; then
16795 echo $ECHO_N "(cached) $ECHO_C" >&6
16797 ac_wine_try_cflags_saved=$CFLAGS
16798 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
16799 cat >conftest.$ac_ext <<_ACEOF
16802 cat confdefs.h >>conftest.$ac_ext
16803 cat >>conftest.$ac_ext <<_ACEOF
16804 /* end confdefs.h. */
16814 rm -f conftest.$ac_objext conftest$ac_exeext
16815 if { (ac_try="$ac_link"
16816 case "(($ac_try" in
16817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16818 *) ac_try_echo=$ac_try;;
16820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16821 (eval "$ac_link") 2>conftest.er1
16823 grep -v '^ *+' conftest.er1 >conftest.err
16825 cat conftest.err >&5
16826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16827 (exit $ac_status); } &&
16828 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16829 { (case "(($ac_try" in
16830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16831 *) ac_try_echo=$ac_try;;
16833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16834 (eval "$ac_try") 2>&5
16836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16837 (exit $ac_status); }; } &&
16838 { ac_try='test -s conftest$ac_exeext'
16839 { (case "(($ac_try" in
16840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16841 *) ac_try_echo=$ac_try;;
16843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16844 (eval "$ac_try") 2>&5
16846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16847 (exit $ac_status); }; }; then
16848 ac_cv_ld_reloc_exec="yes"
16850 echo "$as_me: failed program was:" >&5
16851 sed 's/^/| /' conftest.$ac_ext >&5
16853 ac_cv_ld_reloc_exec="no"
16856 rm -f core conftest.err conftest.$ac_objext \
16857 conftest$ac_exeext conftest.$ac_ext
16858 CFLAGS=$ac_wine_try_cflags_saved
16860 { echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
16861 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6; }
16862 if test "$ac_cv_ld_reloc_exec" = "yes"
16864 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
16870 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
16871 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
16872 if test "${ac_cv_c_dll_unixware+set}" = set; then
16873 echo $ECHO_N "(cached) $ECHO_C" >&6
16875 ac_wine_try_cflags_saved=$CFLAGS
16876 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
16877 cat >conftest.$ac_ext <<_ACEOF
16880 rm -f conftest.$ac_objext conftest$ac_exeext
16881 if { (ac_try="$ac_link"
16882 case "(($ac_try" in
16883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16884 *) ac_try_echo=$ac_try;;
16886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16887 (eval "$ac_link") 2>conftest.er1
16889 grep -v '^ *+' conftest.er1 >conftest.err
16891 cat conftest.err >&5
16892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16893 (exit $ac_status); } &&
16894 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16895 { (case "(($ac_try" in
16896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16897 *) ac_try_echo=$ac_try;;
16899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16900 (eval "$ac_try") 2>&5
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903 (exit $ac_status); }; } &&
16904 { ac_try='test -s conftest$ac_exeext'
16905 { (case "(($ac_try" in
16906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16907 *) ac_try_echo=$ac_try;;
16909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16910 (eval "$ac_try") 2>&5
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); }; }; then
16914 ac_cv_c_dll_unixware="yes"
16916 echo "$as_me: failed program was:" >&5
16917 sed 's/^/| /' conftest.$ac_ext >&5
16919 ac_cv_c_dll_unixware="no"
16922 rm -f core conftest.err conftest.$ac_objext \
16923 conftest$ac_exeext conftest.$ac_ext
16924 CFLAGS=$ac_wine_try_cflags_saved
16926 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
16927 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
16928 if test "$ac_cv_c_dll_unixware" = "yes"
16930 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
16931 LDDLLFLAGS="-Wl,-G,-B,symbolic"
16934 { echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
16935 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6; }
16936 if test "${ac_cv_c_dll_macho+set}" = set; then
16937 echo $ECHO_N "(cached) $ECHO_C" >&6
16939 ac_wine_try_cflags_saved=$CFLAGS
16940 CFLAGS="$CFLAGS -bundle"
16941 cat >conftest.$ac_ext <<_ACEOF
16944 rm -f conftest.$ac_objext conftest$ac_exeext
16945 if { (ac_try="$ac_link"
16946 case "(($ac_try" in
16947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16948 *) ac_try_echo=$ac_try;;
16950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16951 (eval "$ac_link") 2>conftest.er1
16953 grep -v '^ *+' conftest.er1 >conftest.err
16955 cat conftest.err >&5
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); } &&
16958 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16959 { (case "(($ac_try" in
16960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16961 *) ac_try_echo=$ac_try;;
16963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16964 (eval "$ac_try") 2>&5
16966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967 (exit $ac_status); }; } &&
16968 { ac_try='test -s conftest$ac_exeext'
16969 { (case "(($ac_try" in
16970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16971 *) ac_try_echo=$ac_try;;
16973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16974 (eval "$ac_try") 2>&5
16976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16977 (exit $ac_status); }; }; then
16978 ac_cv_c_dll_macho="yes"
16980 echo "$as_me: failed program was:" >&5
16981 sed 's/^/| /' conftest.$ac_ext >&5
16983 ac_cv_c_dll_macho="no"
16986 rm -f core conftest.err conftest.$ac_objext \
16987 conftest$ac_exeext conftest.$ac_ext
16988 CFLAGS=$ac_wine_try_cflags_saved
16990 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
16991 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6; }
16992 if test "$ac_cv_c_dll_macho" = "yes"
16995 LDDLLFLAGS="-bundle"
16996 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME) \$(SOVERSION:%=-compatibility_version %)"
16997 STRIP="$STRIP -u -r"
16998 COREFOUNDATIONLIB="-framework CoreFoundation"
17000 IOKITLIB="-framework IOKit -framework CoreFoundation"
17002 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
17004 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
17006 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
17011 CFLAGS="$CFLAGS -ffixed-r13"
17012 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning"
17017 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
17018 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
17019 if test "${ac_cv_c_dll_hpux+set}" = set; then
17020 echo $ECHO_N "(cached) $ECHO_C" >&6
17022 ac_wine_try_cflags_saved=$CFLAGS
17023 CFLAGS="$CFLAGS -shared"
17024 cat >conftest.$ac_ext <<_ACEOF
17027 rm -f conftest.$ac_objext conftest$ac_exeext
17028 if { (ac_try="$ac_link"
17029 case "(($ac_try" in
17030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17031 *) ac_try_echo=$ac_try;;
17033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17034 (eval "$ac_link") 2>conftest.er1
17036 grep -v '^ *+' conftest.er1 >conftest.err
17038 cat conftest.err >&5
17039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17040 (exit $ac_status); } &&
17041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17042 { (case "(($ac_try" in
17043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17044 *) ac_try_echo=$ac_try;;
17046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17047 (eval "$ac_try") 2>&5
17049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17050 (exit $ac_status); }; } &&
17051 { ac_try='test -s conftest$ac_exeext'
17052 { (case "(($ac_try" in
17053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17054 *) ac_try_echo=$ac_try;;
17056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17057 (eval "$ac_try") 2>&5
17059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17060 (exit $ac_status); }; }; then
17061 ac_cv_c_dll_hpux="yes"
17063 echo "$as_me: failed program was:" >&5
17064 sed 's/^/| /' conftest.$ac_ext >&5
17066 ac_cv_c_dll_hpux="no"
17069 rm -f core conftest.err conftest.$ac_objext \
17070 conftest$ac_exeext conftest.$ac_ext
17071 CFLAGS=$ac_wine_try_cflags_saved
17073 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
17074 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
17075 if test "$ac_cv_c_dll_hpux" = "yes"
17079 LDDLLFLAGS="-shared -fPIC"
17080 LDSHARED="\$(CC) -shared"
17089 if test "$cross_compiling" = "no"
17091 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
17093 # Extract the first word of "$ac_prog", so it can be a program name with args.
17094 set dummy $ac_prog; ac_word=$2
17095 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17097 if test "${ac_cv_prog_CROSSCC+set}" = set; then
17098 echo $ECHO_N "(cached) $ECHO_C" >&6
17100 if test -n "$CROSSCC"; then
17101 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
17103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17104 for as_dir in $PATH
17107 test -z "$as_dir" && as_dir=.
17108 for ac_exec_ext in '' $ac_executable_extensions; do
17109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17110 ac_cv_prog_CROSSCC="$ac_prog"
17111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17120 CROSSCC=$ac_cv_prog_CROSSCC
17121 if test -n "$CROSSCC"; then
17122 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
17123 echo "${ECHO_T}$CROSSCC" >&6; }
17125 { echo "$as_me:$LINENO: result: no" >&5
17126 echo "${ECHO_T}no" >&6; }
17130 test -n "$CROSSCC" && break
17132 test -n "$CROSSCC" || CROSSCC="false"
17134 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
17136 # Extract the first word of "$ac_prog", so it can be a program name with args.
17137 set dummy $ac_prog; ac_word=$2
17138 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17140 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
17141 echo $ECHO_N "(cached) $ECHO_C" >&6
17143 if test -n "$DLLTOOL"; then
17144 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
17146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17147 for as_dir in $PATH
17150 test -z "$as_dir" && as_dir=.
17151 for ac_exec_ext in '' $ac_executable_extensions; do
17152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17153 ac_cv_prog_DLLTOOL="$ac_prog"
17154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17163 DLLTOOL=$ac_cv_prog_DLLTOOL
17164 if test -n "$DLLTOOL"; then
17165 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
17166 echo "${ECHO_T}$DLLTOOL" >&6; }
17168 { echo "$as_me:$LINENO: result: no" >&5
17169 echo "${ECHO_T}no" >&6; }
17173 test -n "$DLLTOOL" && break
17175 test -n "$DLLTOOL" || DLLTOOL="false"
17177 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
17179 # Extract the first word of "$ac_prog", so it can be a program name with args.
17180 set dummy $ac_prog; ac_word=$2
17181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17183 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
17184 echo $ECHO_N "(cached) $ECHO_C" >&6
17186 if test -n "$CROSSWINDRES"; then
17187 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
17189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17190 for as_dir in $PATH
17193 test -z "$as_dir" && as_dir=.
17194 for ac_exec_ext in '' $ac_executable_extensions; do
17195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17196 ac_cv_prog_CROSSWINDRES="$ac_prog"
17197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17206 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
17207 if test -n "$CROSSWINDRES"; then
17208 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
17209 echo "${ECHO_T}$CROSSWINDRES" >&6; }
17211 { echo "$as_me:$LINENO: result: no" >&5
17212 echo "${ECHO_T}no" >&6; }
17216 test -n "$CROSSWINDRES" && break
17218 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
17220 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
17225 if test "$LIBEXT" = "a"; then
17226 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
17227 It is currently not possible to build Wine without shared library
17228 (.so) support to allow transparent switch between .so and .dll files.
17229 If you are using Linux, you will need a newer binutils.
17231 echo "$as_me: error: could not find a way to build shared libraries.
17232 It is currently not possible to build Wine without shared library
17233 (.so) support to allow transparent switch between .so and .dll files.
17234 If you are using Linux, you will need a newer binutils.
17236 { (exit 1); exit 1; }; }
17241 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
17244 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
17247 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
17255 SOCKETLIBS="-lws2_32"
17260 MAIN_BINARY="wine-pthread"
17264 linux* | k*bsd*-gnu)
17265 MAIN_BINARY="wine-glibc"
17267 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
17274 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
17276 # Extract the first word of "ldd", so it can be a program name with args.
17277 set dummy ldd; ac_word=$2
17278 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17280 if test "${ac_cv_path_LDD+set}" = set; then
17281 echo $ECHO_N "(cached) $ECHO_C" >&6
17285 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
17288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17289 as_dummy="/sbin:/usr/sbin:$PATH"
17290 for as_dir in $as_dummy
17293 test -z "$as_dir" && as_dir=.
17294 for ac_exec_ext in '' $ac_executable_extensions; do
17295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17296 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
17297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17304 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
17308 LDD=$ac_cv_path_LDD
17309 if test -n "$LDD"; then
17310 { echo "$as_me:$LINENO: result: $LDD" >&5
17311 echo "${ECHO_T}$LDD" >&6; }
17313 { echo "$as_me:$LINENO: result: no" >&5
17314 echo "${ECHO_T}no" >&6; }
17318 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
17319 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
17320 if test "${ac_cv_lib_soname_X11+set}" = set; then
17321 echo $ECHO_N "(cached) $ECHO_C" >&6
17323 ac_get_soname_save_LIBS=$LIBS
17324 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
17325 cat >conftest.$ac_ext <<_ACEOF
17328 cat confdefs.h >>conftest.$ac_ext
17329 cat >>conftest.$ac_ext <<_ACEOF
17330 /* end confdefs.h. */
17332 /* Override any GCC internal prototype to avoid an error.
17333 Use char because int might match the return type of a GCC
17334 builtin and then its argument prototype would still apply. */
17338 char XCreateWindow ();
17342 return XCreateWindow ();
17347 rm -f conftest.$ac_objext conftest$ac_exeext
17348 if { (ac_try="$ac_link"
17349 case "(($ac_try" in
17350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17351 *) ac_try_echo=$ac_try;;
17353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17354 (eval "$ac_link") 2>conftest.er1
17356 grep -v '^ *+' conftest.er1 >conftest.err
17358 cat conftest.err >&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); } &&
17361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17362 { (case "(($ac_try" in
17363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17364 *) ac_try_echo=$ac_try;;
17366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17367 (eval "$ac_try") 2>&5
17369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17370 (exit $ac_status); }; } &&
17371 { ac_try='test -s conftest$ac_exeext'
17372 { (case "(($ac_try" in
17373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17374 *) ac_try_echo=$ac_try;;
17376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17377 (eval "$ac_try") 2>&5
17379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17380 (exit $ac_status); }; }; then
17381 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17382 if test "x$ac_cv_lib_soname_X11" = "x"
17384 ac_cv_lib_soname_X11="libX11.$LIBEXT"
17387 echo "$as_me: failed program was:" >&5
17388 sed 's/^/| /' conftest.$ac_ext >&5
17390 ac_cv_lib_soname_X11="libX11.$LIBEXT"
17393 rm -f core conftest.err conftest.$ac_objext \
17394 conftest$ac_exeext conftest.$ac_ext
17395 LIBS=$ac_get_soname_save_LIBS
17397 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
17398 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
17399 if test "${ac_cv_lib_soname_X11+set}" = set; then
17401 cat >>confdefs.h <<_ACEOF
17402 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
17407 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
17408 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
17409 if test "${ac_cv_lib_soname_Xext+set}" = set; then
17410 echo $ECHO_N "(cached) $ECHO_C" >&6
17412 ac_get_soname_save_LIBS=$LIBS
17413 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
17414 cat >conftest.$ac_ext <<_ACEOF
17417 cat confdefs.h >>conftest.$ac_ext
17418 cat >>conftest.$ac_ext <<_ACEOF
17419 /* end confdefs.h. */
17421 /* Override any GCC internal prototype to avoid an error.
17422 Use char because int might match the return type of a GCC
17423 builtin and then its argument prototype would still apply. */
17427 char XextCreateExtension ();
17431 return XextCreateExtension ();
17436 rm -f conftest.$ac_objext conftest$ac_exeext
17437 if { (ac_try="$ac_link"
17438 case "(($ac_try" in
17439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17440 *) ac_try_echo=$ac_try;;
17442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17443 (eval "$ac_link") 2>conftest.er1
17445 grep -v '^ *+' conftest.er1 >conftest.err
17447 cat conftest.err >&5
17448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17449 (exit $ac_status); } &&
17450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17451 { (case "(($ac_try" in
17452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17453 *) ac_try_echo=$ac_try;;
17455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17456 (eval "$ac_try") 2>&5
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); }; } &&
17460 { ac_try='test -s conftest$ac_exeext'
17461 { (case "(($ac_try" in
17462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17463 *) ac_try_echo=$ac_try;;
17465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17466 (eval "$ac_try") 2>&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); }; }; then
17470 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17471 if test "x$ac_cv_lib_soname_Xext" = "x"
17473 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
17476 echo "$as_me: failed program was:" >&5
17477 sed 's/^/| /' conftest.$ac_ext >&5
17479 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
17482 rm -f core conftest.err conftest.$ac_objext \
17483 conftest$ac_exeext conftest.$ac_ext
17484 LIBS=$ac_get_soname_save_LIBS
17486 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
17487 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
17488 if test "${ac_cv_lib_soname_Xext+set}" = set; then
17490 cat >>confdefs.h <<_ACEOF
17491 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
17496 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
17497 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
17498 if test "${ac_cv_lib_soname_Xi+set}" = set; then
17499 echo $ECHO_N "(cached) $ECHO_C" >&6
17501 ac_get_soname_save_LIBS=$LIBS
17502 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17503 cat >conftest.$ac_ext <<_ACEOF
17506 cat confdefs.h >>conftest.$ac_ext
17507 cat >>conftest.$ac_ext <<_ACEOF
17508 /* end confdefs.h. */
17510 /* Override any GCC internal prototype to avoid an error.
17511 Use char because int might match the return type of a GCC
17512 builtin and then its argument prototype would still apply. */
17516 char XOpenDevice ();
17520 return XOpenDevice ();
17525 rm -f conftest.$ac_objext conftest$ac_exeext
17526 if { (ac_try="$ac_link"
17527 case "(($ac_try" in
17528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17529 *) ac_try_echo=$ac_try;;
17531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17532 (eval "$ac_link") 2>conftest.er1
17534 grep -v '^ *+' conftest.er1 >conftest.err
17536 cat conftest.err >&5
17537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17538 (exit $ac_status); } &&
17539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17540 { (case "(($ac_try" in
17541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17542 *) ac_try_echo=$ac_try;;
17544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17545 (eval "$ac_try") 2>&5
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); }; } &&
17549 { ac_try='test -s conftest$ac_exeext'
17550 { (case "(($ac_try" in
17551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17552 *) ac_try_echo=$ac_try;;
17554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17555 (eval "$ac_try") 2>&5
17557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17558 (exit $ac_status); }; }; then
17559 ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17560 if test "x$ac_cv_lib_soname_Xi" = "x"
17562 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
17565 echo "$as_me: failed program was:" >&5
17566 sed 's/^/| /' conftest.$ac_ext >&5
17568 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
17571 rm -f core conftest.err conftest.$ac_objext \
17572 conftest$ac_exeext conftest.$ac_ext
17573 LIBS=$ac_get_soname_save_LIBS
17575 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
17576 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
17577 if test "${ac_cv_lib_soname_Xi+set}" = set; then
17579 cat >>confdefs.h <<_ACEOF
17580 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
17585 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
17586 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
17587 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
17588 echo $ECHO_N "(cached) $ECHO_C" >&6
17590 ac_get_soname_save_LIBS=$LIBS
17591 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17592 cat >conftest.$ac_ext <<_ACEOF
17595 cat confdefs.h >>conftest.$ac_ext
17596 cat >>conftest.$ac_ext <<_ACEOF
17597 /* end confdefs.h. */
17599 /* Override any GCC internal prototype to avoid an error.
17600 Use char because int might match the return type of a GCC
17601 builtin and then its argument prototype would still apply. */
17605 char XRenderQueryExtension ();
17609 return XRenderQueryExtension ();
17614 rm -f conftest.$ac_objext conftest$ac_exeext
17615 if { (ac_try="$ac_link"
17616 case "(($ac_try" in
17617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17618 *) ac_try_echo=$ac_try;;
17620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17621 (eval "$ac_link") 2>conftest.er1
17623 grep -v '^ *+' conftest.er1 >conftest.err
17625 cat conftest.err >&5
17626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17627 (exit $ac_status); } &&
17628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17629 { (case "(($ac_try" in
17630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17631 *) ac_try_echo=$ac_try;;
17633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17634 (eval "$ac_try") 2>&5
17636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637 (exit $ac_status); }; } &&
17638 { ac_try='test -s conftest$ac_exeext'
17639 { (case "(($ac_try" in
17640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17641 *) ac_try_echo=$ac_try;;
17643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17644 (eval "$ac_try") 2>&5
17646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17647 (exit $ac_status); }; }; then
17648 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17649 if test "x$ac_cv_lib_soname_Xrender" = "x"
17651 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
17654 echo "$as_me: failed program was:" >&5
17655 sed 's/^/| /' conftest.$ac_ext >&5
17657 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
17660 rm -f core conftest.err conftest.$ac_objext \
17661 conftest$ac_exeext conftest.$ac_ext
17662 LIBS=$ac_get_soname_save_LIBS
17664 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
17665 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
17666 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
17668 cat >>confdefs.h <<_ACEOF
17669 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
17674 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
17675 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
17676 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
17677 echo $ECHO_N "(cached) $ECHO_C" >&6
17679 ac_get_soname_save_LIBS=$LIBS
17680 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17681 cat >conftest.$ac_ext <<_ACEOF
17684 cat confdefs.h >>conftest.$ac_ext
17685 cat >>conftest.$ac_ext <<_ACEOF
17686 /* end confdefs.h. */
17688 /* Override any GCC internal prototype to avoid an error.
17689 Use char because int might match the return type of a GCC
17690 builtin and then its argument prototype would still apply. */
17694 char XRRQueryExtension ();
17698 return XRRQueryExtension ();
17703 rm -f conftest.$ac_objext conftest$ac_exeext
17704 if { (ac_try="$ac_link"
17705 case "(($ac_try" in
17706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17707 *) ac_try_echo=$ac_try;;
17709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17710 (eval "$ac_link") 2>conftest.er1
17712 grep -v '^ *+' conftest.er1 >conftest.err
17714 cat conftest.err >&5
17715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716 (exit $ac_status); } &&
17717 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17718 { (case "(($ac_try" in
17719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17720 *) ac_try_echo=$ac_try;;
17722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17723 (eval "$ac_try") 2>&5
17725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17726 (exit $ac_status); }; } &&
17727 { ac_try='test -s conftest$ac_exeext'
17728 { (case "(($ac_try" in
17729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17730 *) ac_try_echo=$ac_try;;
17732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17733 (eval "$ac_try") 2>&5
17735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17736 (exit $ac_status); }; }; then
17737 ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17738 if test "x$ac_cv_lib_soname_Xrandr" = "x"
17740 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
17743 echo "$as_me: failed program was:" >&5
17744 sed 's/^/| /' conftest.$ac_ext >&5
17746 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
17749 rm -f core conftest.err conftest.$ac_objext \
17750 conftest$ac_exeext conftest.$ac_ext
17751 LIBS=$ac_get_soname_save_LIBS
17753 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
17754 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
17755 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
17757 cat >>confdefs.h <<_ACEOF
17758 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
17763 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
17764 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
17765 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17766 echo $ECHO_N "(cached) $ECHO_C" >&6
17768 ac_get_soname_save_LIBS=$LIBS
17769 LIBS="-lfreetype $X_LIBS $LIBS"
17770 cat >conftest.$ac_ext <<_ACEOF
17773 cat confdefs.h >>conftest.$ac_ext
17774 cat >>conftest.$ac_ext <<_ACEOF
17775 /* end confdefs.h. */
17777 /* Override any GCC internal prototype to avoid an error.
17778 Use char because int might match the return type of a GCC
17779 builtin and then its argument prototype would still apply. */
17783 char FT_Init_FreeType ();
17787 return FT_Init_FreeType ();
17792 rm -f conftest.$ac_objext conftest$ac_exeext
17793 if { (ac_try="$ac_link"
17794 case "(($ac_try" in
17795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17796 *) ac_try_echo=$ac_try;;
17798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17799 (eval "$ac_link") 2>conftest.er1
17801 grep -v '^ *+' conftest.er1 >conftest.err
17803 cat conftest.err >&5
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); } &&
17806 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17807 { (case "(($ac_try" in
17808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17809 *) ac_try_echo=$ac_try;;
17811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17812 (eval "$ac_try") 2>&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); }; } &&
17816 { ac_try='test -s conftest$ac_exeext'
17817 { (case "(($ac_try" in
17818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17819 *) ac_try_echo=$ac_try;;
17821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17822 (eval "$ac_try") 2>&5
17824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825 (exit $ac_status); }; }; then
17826 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17827 if test "x$ac_cv_lib_soname_freetype" = "x"
17829 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
17832 echo "$as_me: failed program was:" >&5
17833 sed 's/^/| /' conftest.$ac_ext >&5
17835 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
17838 rm -f core conftest.err conftest.$ac_objext \
17839 conftest$ac_exeext conftest.$ac_ext
17840 LIBS=$ac_get_soname_save_LIBS
17842 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
17843 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
17844 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17846 cat >>confdefs.h <<_ACEOF
17847 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
17852 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
17853 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
17854 if test "${ac_cv_lib_soname_GL+set}" = set; then
17855 echo $ECHO_N "(cached) $ECHO_C" >&6
17857 ac_get_soname_save_LIBS=$LIBS
17858 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
17859 cat >conftest.$ac_ext <<_ACEOF
17862 cat confdefs.h >>conftest.$ac_ext
17863 cat >>conftest.$ac_ext <<_ACEOF
17864 /* end confdefs.h. */
17866 /* Override any GCC internal prototype to avoid an error.
17867 Use char because int might match the return type of a GCC
17868 builtin and then its argument prototype would still apply. */
17872 char glXQueryExtension ();
17876 return glXQueryExtension ();
17881 rm -f conftest.$ac_objext conftest$ac_exeext
17882 if { (ac_try="$ac_link"
17883 case "(($ac_try" in
17884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17885 *) ac_try_echo=$ac_try;;
17887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17888 (eval "$ac_link") 2>conftest.er1
17890 grep -v '^ *+' conftest.er1 >conftest.err
17892 cat conftest.err >&5
17893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); } &&
17895 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17896 { (case "(($ac_try" in
17897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17898 *) ac_try_echo=$ac_try;;
17900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17901 (eval "$ac_try") 2>&5
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); }; } &&
17905 { ac_try='test -s conftest$ac_exeext'
17906 { (case "(($ac_try" in
17907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17908 *) ac_try_echo=$ac_try;;
17910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17911 (eval "$ac_try") 2>&5
17913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914 (exit $ac_status); }; }; then
17915 ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17916 if test "x$ac_cv_lib_soname_GL" = "x"
17918 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17921 echo "$as_me: failed program was:" >&5
17922 sed 's/^/| /' conftest.$ac_ext >&5
17924 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17927 rm -f core conftest.err conftest.$ac_objext \
17928 conftest$ac_exeext conftest.$ac_ext
17929 LIBS=$ac_get_soname_save_LIBS
17931 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
17932 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
17933 if test "${ac_cv_lib_soname_GL+set}" = set; then
17935 cat >>confdefs.h <<_ACEOF
17936 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
17941 { echo "$as_me:$LINENO: checking for -ldbus-1 soname" >&5
17942 echo $ECHO_N "checking for -ldbus-1 soname... $ECHO_C" >&6; }
17943 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
17944 echo $ECHO_N "(cached) $ECHO_C" >&6
17946 ac_get_soname_save_LIBS=$LIBS
17947 LIBS="-ldbus-1 $LIBS"
17948 cat >conftest.$ac_ext <<_ACEOF
17951 cat confdefs.h >>conftest.$ac_ext
17952 cat >>conftest.$ac_ext <<_ACEOF
17953 /* end confdefs.h. */
17955 /* Override any GCC internal prototype to avoid an error.
17956 Use char because int might match the return type of a GCC
17957 builtin and then its argument prototype would still apply. */
17961 char dbus_error_init ();
17965 return dbus_error_init ();
17970 rm -f conftest.$ac_objext conftest$ac_exeext
17971 if { (ac_try="$ac_link"
17972 case "(($ac_try" in
17973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17974 *) ac_try_echo=$ac_try;;
17976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17977 (eval "$ac_link") 2>conftest.er1
17979 grep -v '^ *+' conftest.er1 >conftest.err
17981 cat conftest.err >&5
17982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17983 (exit $ac_status); } &&
17984 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17985 { (case "(($ac_try" in
17986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17987 *) ac_try_echo=$ac_try;;
17989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17990 (eval "$ac_try") 2>&5
17992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17993 (exit $ac_status); }; } &&
17994 { ac_try='test -s conftest$ac_exeext'
17995 { (case "(($ac_try" in
17996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17997 *) ac_try_echo=$ac_try;;
17999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18000 (eval "$ac_try") 2>&5
18002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18003 (exit $ac_status); }; }; then
18004 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'`
18005 if test "x$ac_cv_lib_soname_dbus_1" = "x"
18007 ac_cv_lib_soname_dbus_1="libdbus-1.$LIBEXT"
18010 echo "$as_me: failed program was:" >&5
18011 sed 's/^/| /' conftest.$ac_ext >&5
18013 ac_cv_lib_soname_dbus_1="libdbus-1.$LIBEXT"
18016 rm -f core conftest.err conftest.$ac_objext \
18017 conftest$ac_exeext conftest.$ac_ext
18018 LIBS=$ac_get_soname_save_LIBS
18020 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_dbus_1" >&5
18021 echo "${ECHO_T}$ac_cv_lib_soname_dbus_1" >&6; }
18022 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
18024 cat >>confdefs.h <<_ACEOF
18025 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
18030 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
18031 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
18032 if test "${ac_cv_lib_soname_hal+set}" = set; then
18033 echo $ECHO_N "(cached) $ECHO_C" >&6
18035 ac_get_soname_save_LIBS=$LIBS
18037 cat >conftest.$ac_ext <<_ACEOF
18040 cat confdefs.h >>conftest.$ac_ext
18041 cat >>conftest.$ac_ext <<_ACEOF
18042 /* end confdefs.h. */
18044 /* Override any GCC internal prototype to avoid an error.
18045 Use char because int might match the return type of a GCC
18046 builtin and then its argument prototype would still apply. */
18050 char libhal_ctx_new ();
18054 return libhal_ctx_new ();
18059 rm -f conftest.$ac_objext conftest$ac_exeext
18060 if { (ac_try="$ac_link"
18061 case "(($ac_try" in
18062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18063 *) ac_try_echo=$ac_try;;
18065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18066 (eval "$ac_link") 2>conftest.er1
18068 grep -v '^ *+' conftest.er1 >conftest.err
18070 cat conftest.err >&5
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); } &&
18073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18074 { (case "(($ac_try" in
18075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18076 *) ac_try_echo=$ac_try;;
18078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18079 (eval "$ac_try") 2>&5
18081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18082 (exit $ac_status); }; } &&
18083 { ac_try='test -s conftest$ac_exeext'
18084 { (case "(($ac_try" in
18085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18086 *) ac_try_echo=$ac_try;;
18088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18089 (eval "$ac_try") 2>&5
18091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18092 (exit $ac_status); }; }; then
18093 ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.$LIBEXT | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18094 if test "x$ac_cv_lib_soname_hal" = "x"
18096 ac_cv_lib_soname_hal="libhal.$LIBEXT"
18099 echo "$as_me: failed program was:" >&5
18100 sed 's/^/| /' conftest.$ac_ext >&5
18102 ac_cv_lib_soname_hal="libhal.$LIBEXT"
18105 rm -f core conftest.err conftest.$ac_objext \
18106 conftest$ac_exeext conftest.$ac_ext
18107 LIBS=$ac_get_soname_save_LIBS
18109 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
18110 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
18111 if test "${ac_cv_lib_soname_hal+set}" = set; then
18113 cat >>confdefs.h <<_ACEOF
18114 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
18119 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
18120 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
18121 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
18122 echo $ECHO_N "(cached) $ECHO_C" >&6
18124 ac_get_soname_save_LIBS=$LIBS
18125 LIBS="-ltxc_dxtn $LIBS"
18126 cat >conftest.$ac_ext <<_ACEOF
18129 cat confdefs.h >>conftest.$ac_ext
18130 cat >>conftest.$ac_ext <<_ACEOF
18131 /* end confdefs.h. */
18133 /* Override any GCC internal prototype to avoid an error.
18134 Use char because int might match the return type of a GCC
18135 builtin and then its argument prototype would still apply. */
18139 char fetch_2d_texel_rgba_dxt1 ();
18143 return fetch_2d_texel_rgba_dxt1 ();
18148 rm -f conftest.$ac_objext conftest$ac_exeext
18149 if { (ac_try="$ac_link"
18150 case "(($ac_try" in
18151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18152 *) ac_try_echo=$ac_try;;
18154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18155 (eval "$ac_link") 2>conftest.er1
18157 grep -v '^ *+' conftest.er1 >conftest.err
18159 cat conftest.err >&5
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); } &&
18162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18163 { (case "(($ac_try" in
18164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18165 *) ac_try_echo=$ac_try;;
18167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18168 (eval "$ac_try") 2>&5
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); }; } &&
18172 { ac_try='test -s conftest$ac_exeext'
18173 { (case "(($ac_try" in
18174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18175 *) ac_try_echo=$ac_try;;
18177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18178 (eval "$ac_try") 2>&5
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); }; }; then
18182 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'`
18183 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
18185 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
18188 echo "$as_me: failed program was:" >&5
18189 sed 's/^/| /' conftest.$ac_ext >&5
18191 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
18194 rm -f core conftest.err conftest.$ac_objext \
18195 conftest$ac_exeext conftest.$ac_ext
18196 LIBS=$ac_get_soname_save_LIBS
18198 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
18199 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
18200 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
18202 cat >>confdefs.h <<_ACEOF
18203 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
18208 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
18209 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
18210 if test "${ac_cv_lib_soname_cups+set}" = set; then
18211 echo $ECHO_N "(cached) $ECHO_C" >&6
18213 ac_get_soname_save_LIBS=$LIBS
18214 LIBS="-lcups $LIBS"
18215 cat >conftest.$ac_ext <<_ACEOF
18218 cat confdefs.h >>conftest.$ac_ext
18219 cat >>conftest.$ac_ext <<_ACEOF
18220 /* end confdefs.h. */
18222 /* Override any GCC internal prototype to avoid an error.
18223 Use char because int might match the return type of a GCC
18224 builtin and then its argument prototype would still apply. */
18228 char cupsGetDefault ();
18232 return cupsGetDefault ();
18237 rm -f conftest.$ac_objext conftest$ac_exeext
18238 if { (ac_try="$ac_link"
18239 case "(($ac_try" in
18240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18241 *) ac_try_echo=$ac_try;;
18243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18244 (eval "$ac_link") 2>conftest.er1
18246 grep -v '^ *+' conftest.er1 >conftest.err
18248 cat conftest.err >&5
18249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18250 (exit $ac_status); } &&
18251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18252 { (case "(($ac_try" in
18253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18254 *) ac_try_echo=$ac_try;;
18256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18257 (eval "$ac_try") 2>&5
18259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18260 (exit $ac_status); }; } &&
18261 { ac_try='test -s conftest$ac_exeext'
18262 { (case "(($ac_try" in
18263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18264 *) ac_try_echo=$ac_try;;
18266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18267 (eval "$ac_try") 2>&5
18269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18270 (exit $ac_status); }; }; then
18271 ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18272 if test "x$ac_cv_lib_soname_cups" = "x"
18274 ac_cv_lib_soname_cups="libcups.$LIBEXT"
18277 echo "$as_me: failed program was:" >&5
18278 sed 's/^/| /' conftest.$ac_ext >&5
18280 ac_cv_lib_soname_cups="libcups.$LIBEXT"
18283 rm -f core conftest.err conftest.$ac_objext \
18284 conftest$ac_exeext conftest.$ac_ext
18285 LIBS=$ac_get_soname_save_LIBS
18287 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
18288 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
18289 if test "${ac_cv_lib_soname_cups+set}" = set; then
18291 cat >>confdefs.h <<_ACEOF
18292 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
18297 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
18298 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
18299 if test "${ac_cv_lib_soname_jack+set}" = set; then
18300 echo $ECHO_N "(cached) $ECHO_C" >&6
18302 ac_get_soname_save_LIBS=$LIBS
18303 LIBS="-ljack $LIBS"
18304 cat >conftest.$ac_ext <<_ACEOF
18307 cat confdefs.h >>conftest.$ac_ext
18308 cat >>conftest.$ac_ext <<_ACEOF
18309 /* end confdefs.h. */
18311 /* Override any GCC internal prototype to avoid an error.
18312 Use char because int might match the return type of a GCC
18313 builtin and then its argument prototype would still apply. */
18317 char jack_client_new ();
18321 return jack_client_new ();
18326 rm -f conftest.$ac_objext conftest$ac_exeext
18327 if { (ac_try="$ac_link"
18328 case "(($ac_try" in
18329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18330 *) ac_try_echo=$ac_try;;
18332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18333 (eval "$ac_link") 2>conftest.er1
18335 grep -v '^ *+' conftest.er1 >conftest.err
18337 cat conftest.err >&5
18338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18339 (exit $ac_status); } &&
18340 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18341 { (case "(($ac_try" in
18342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18343 *) ac_try_echo=$ac_try;;
18345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18346 (eval "$ac_try") 2>&5
18348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18349 (exit $ac_status); }; } &&
18350 { ac_try='test -s conftest$ac_exeext'
18351 { (case "(($ac_try" in
18352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18353 *) ac_try_echo=$ac_try;;
18355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18356 (eval "$ac_try") 2>&5
18358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18359 (exit $ac_status); }; }; then
18360 ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18361 if test "x$ac_cv_lib_soname_jack" = "x"
18363 ac_cv_lib_soname_jack="libjack.$LIBEXT"
18366 echo "$as_me: failed program was:" >&5
18367 sed 's/^/| /' conftest.$ac_ext >&5
18369 ac_cv_lib_soname_jack="libjack.$LIBEXT"
18372 rm -f core conftest.err conftest.$ac_objext \
18373 conftest$ac_exeext conftest.$ac_ext
18374 LIBS=$ac_get_soname_save_LIBS
18376 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
18377 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
18378 if test "${ac_cv_lib_soname_jack+set}" = set; then
18380 cat >>confdefs.h <<_ACEOF
18381 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
18386 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
18387 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
18388 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
18389 echo $ECHO_N "(cached) $ECHO_C" >&6
18391 ac_get_soname_save_LIBS=$LIBS
18392 LIBS="-lfontconfig $LIBS"
18393 cat >conftest.$ac_ext <<_ACEOF
18396 cat confdefs.h >>conftest.$ac_ext
18397 cat >>conftest.$ac_ext <<_ACEOF
18398 /* end confdefs.h. */
18400 /* Override any GCC internal prototype to avoid an error.
18401 Use char because int might match the return type of a GCC
18402 builtin and then its argument prototype would still apply. */
18415 rm -f conftest.$ac_objext conftest$ac_exeext
18416 if { (ac_try="$ac_link"
18417 case "(($ac_try" in
18418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18419 *) ac_try_echo=$ac_try;;
18421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18422 (eval "$ac_link") 2>conftest.er1
18424 grep -v '^ *+' conftest.er1 >conftest.err
18426 cat conftest.err >&5
18427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428 (exit $ac_status); } &&
18429 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18430 { (case "(($ac_try" in
18431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18432 *) ac_try_echo=$ac_try;;
18434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18435 (eval "$ac_try") 2>&5
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); }; } &&
18439 { ac_try='test -s conftest$ac_exeext'
18440 { (case "(($ac_try" in
18441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18442 *) ac_try_echo=$ac_try;;
18444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18445 (eval "$ac_try") 2>&5
18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18448 (exit $ac_status); }; }; then
18449 ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18450 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18452 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
18455 echo "$as_me: failed program was:" >&5
18456 sed 's/^/| /' conftest.$ac_ext >&5
18458 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
18461 rm -f core conftest.err conftest.$ac_objext \
18462 conftest$ac_exeext conftest.$ac_ext
18463 LIBS=$ac_get_soname_save_LIBS
18465 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
18466 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
18467 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
18469 cat >>confdefs.h <<_ACEOF
18470 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
18475 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
18476 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
18477 if test "${ac_cv_lib_soname_ssl+set}" = set; then
18478 echo $ECHO_N "(cached) $ECHO_C" >&6
18480 ac_get_soname_save_LIBS=$LIBS
18482 cat >conftest.$ac_ext <<_ACEOF
18485 cat confdefs.h >>conftest.$ac_ext
18486 cat >>conftest.$ac_ext <<_ACEOF
18487 /* end confdefs.h. */
18489 /* Override any GCC internal prototype to avoid an error.
18490 Use char because int might match the return type of a GCC
18491 builtin and then its argument prototype would still apply. */
18495 char SSL_library_init ();
18499 return SSL_library_init ();
18504 rm -f conftest.$ac_objext conftest$ac_exeext
18505 if { (ac_try="$ac_link"
18506 case "(($ac_try" in
18507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18508 *) ac_try_echo=$ac_try;;
18510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18511 (eval "$ac_link") 2>conftest.er1
18513 grep -v '^ *+' conftest.er1 >conftest.err
18515 cat conftest.err >&5
18516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18517 (exit $ac_status); } &&
18518 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18519 { (case "(($ac_try" in
18520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18521 *) ac_try_echo=$ac_try;;
18523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18524 (eval "$ac_try") 2>&5
18526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18527 (exit $ac_status); }; } &&
18528 { ac_try='test -s conftest$ac_exeext'
18529 { (case "(($ac_try" in
18530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18531 *) ac_try_echo=$ac_try;;
18533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18534 (eval "$ac_try") 2>&5
18536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18537 (exit $ac_status); }; }; then
18538 ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18539 if test "x$ac_cv_lib_soname_ssl" = "x"
18541 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
18544 echo "$as_me: failed program was:" >&5
18545 sed 's/^/| /' conftest.$ac_ext >&5
18547 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
18550 rm -f core conftest.err conftest.$ac_objext \
18551 conftest$ac_exeext conftest.$ac_ext
18552 LIBS=$ac_get_soname_save_LIBS
18554 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
18555 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
18556 if test "${ac_cv_lib_soname_ssl+set}" = set; then
18558 cat >>confdefs.h <<_ACEOF
18559 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
18564 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
18565 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
18566 if test "${ac_cv_lib_soname_crypto+set}" = set; then
18567 echo $ECHO_N "(cached) $ECHO_C" >&6
18569 ac_get_soname_save_LIBS=$LIBS
18570 LIBS="-lcrypto $LIBS"
18571 cat >conftest.$ac_ext <<_ACEOF
18574 cat confdefs.h >>conftest.$ac_ext
18575 cat >>conftest.$ac_ext <<_ACEOF
18576 /* end confdefs.h. */
18578 /* Override any GCC internal prototype to avoid an error.
18579 Use char because int might match the return type of a GCC
18580 builtin and then its argument prototype would still apply. */
18584 char BIO_new_socket ();
18588 return BIO_new_socket ();
18593 rm -f conftest.$ac_objext conftest$ac_exeext
18594 if { (ac_try="$ac_link"
18595 case "(($ac_try" in
18596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18597 *) ac_try_echo=$ac_try;;
18599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18600 (eval "$ac_link") 2>conftest.er1
18602 grep -v '^ *+' conftest.er1 >conftest.err
18604 cat conftest.err >&5
18605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18606 (exit $ac_status); } &&
18607 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18608 { (case "(($ac_try" in
18609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18610 *) ac_try_echo=$ac_try;;
18612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18613 (eval "$ac_try") 2>&5
18615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616 (exit $ac_status); }; } &&
18617 { ac_try='test -s conftest$ac_exeext'
18618 { (case "(($ac_try" in
18619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18620 *) ac_try_echo=$ac_try;;
18622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18623 (eval "$ac_try") 2>&5
18625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626 (exit $ac_status); }; }; then
18627 ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18628 if test "x$ac_cv_lib_soname_crypto" = "x"
18630 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
18633 echo "$as_me: failed program was:" >&5
18634 sed 's/^/| /' conftest.$ac_ext >&5
18636 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
18639 rm -f core conftest.err conftest.$ac_objext \
18640 conftest$ac_exeext conftest.$ac_ext
18641 LIBS=$ac_get_soname_save_LIBS
18643 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
18644 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
18645 if test "${ac_cv_lib_soname_crypto+set}" = set; then
18647 cat >>confdefs.h <<_ACEOF
18648 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
18653 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
18654 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
18655 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
18656 echo $ECHO_N "(cached) $ECHO_C" >&6
18658 ac_get_soname_save_LIBS=$LIBS
18659 LIBS="-lncurses $LIBS"
18660 cat >conftest.$ac_ext <<_ACEOF
18663 cat confdefs.h >>conftest.$ac_ext
18664 cat >>conftest.$ac_ext <<_ACEOF
18665 /* end confdefs.h. */
18667 /* Override any GCC internal prototype to avoid an error.
18668 Use char because int might match the return type of a GCC
18669 builtin and then its argument prototype would still apply. */
18682 rm -f conftest.$ac_objext conftest$ac_exeext
18683 if { (ac_try="$ac_link"
18684 case "(($ac_try" in
18685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18686 *) ac_try_echo=$ac_try;;
18688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18689 (eval "$ac_link") 2>conftest.er1
18691 grep -v '^ *+' conftest.er1 >conftest.err
18693 cat conftest.err >&5
18694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18695 (exit $ac_status); } &&
18696 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18697 { (case "(($ac_try" in
18698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18699 *) ac_try_echo=$ac_try;;
18701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18702 (eval "$ac_try") 2>&5
18704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18705 (exit $ac_status); }; } &&
18706 { ac_try='test -s conftest$ac_exeext'
18707 { (case "(($ac_try" in
18708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18709 *) ac_try_echo=$ac_try;;
18711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18712 (eval "$ac_try") 2>&5
18714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18715 (exit $ac_status); }; }; then
18716 ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18717 if test "x$ac_cv_lib_soname_ncurses" = "x"
18719 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
18722 echo "$as_me: failed program was:" >&5
18723 sed 's/^/| /' conftest.$ac_ext >&5
18725 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
18728 rm -f core conftest.err conftest.$ac_objext \
18729 conftest$ac_exeext conftest.$ac_ext
18730 LIBS=$ac_get_soname_save_LIBS
18732 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
18733 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
18734 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
18736 cat >>confdefs.h <<_ACEOF
18737 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
18742 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
18743 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
18744 if test "${ac_cv_lib_soname_curses+set}" = set; then
18745 echo $ECHO_N "(cached) $ECHO_C" >&6
18747 ac_get_soname_save_LIBS=$LIBS
18748 LIBS="-lcurses $LIBS"
18749 cat >conftest.$ac_ext <<_ACEOF
18752 cat confdefs.h >>conftest.$ac_ext
18753 cat >>conftest.$ac_ext <<_ACEOF
18754 /* end confdefs.h. */
18756 /* Override any GCC internal prototype to avoid an error.
18757 Use char because int might match the return type of a GCC
18758 builtin and then its argument prototype would still apply. */
18771 rm -f conftest.$ac_objext conftest$ac_exeext
18772 if { (ac_try="$ac_link"
18773 case "(($ac_try" in
18774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18775 *) ac_try_echo=$ac_try;;
18777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18778 (eval "$ac_link") 2>conftest.er1
18780 grep -v '^ *+' conftest.er1 >conftest.err
18782 cat conftest.err >&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); } &&
18785 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18786 { (case "(($ac_try" in
18787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18788 *) ac_try_echo=$ac_try;;
18790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18791 (eval "$ac_try") 2>&5
18793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18794 (exit $ac_status); }; } &&
18795 { ac_try='test -s conftest$ac_exeext'
18796 { (case "(($ac_try" in
18797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18798 *) ac_try_echo=$ac_try;;
18800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18801 (eval "$ac_try") 2>&5
18803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18804 (exit $ac_status); }; }; then
18805 ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18806 if test "x$ac_cv_lib_soname_curses" = "x"
18808 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
18811 echo "$as_me: failed program was:" >&5
18812 sed 's/^/| /' conftest.$ac_ext >&5
18814 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
18817 rm -f core conftest.err conftest.$ac_objext \
18818 conftest$ac_exeext conftest.$ac_ext
18819 LIBS=$ac_get_soname_save_LIBS
18821 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
18822 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
18823 if test "${ac_cv_lib_soname_curses+set}" = set; then
18825 cat >>confdefs.h <<_ACEOF
18826 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
18831 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
18832 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
18833 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
18834 echo $ECHO_N "(cached) $ECHO_C" >&6
18836 ac_get_soname_save_LIBS=$LIBS
18837 LIBS="-ljpeg $LIBS"
18838 cat >conftest.$ac_ext <<_ACEOF
18841 cat confdefs.h >>conftest.$ac_ext
18842 cat >>conftest.$ac_ext <<_ACEOF
18843 /* end confdefs.h. */
18845 /* Override any GCC internal prototype to avoid an error.
18846 Use char because int might match the return type of a GCC
18847 builtin and then its argument prototype would still apply. */
18851 char jpeg_start_decompress ();
18855 return jpeg_start_decompress ();
18860 rm -f conftest.$ac_objext conftest$ac_exeext
18861 if { (ac_try="$ac_link"
18862 case "(($ac_try" in
18863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18864 *) ac_try_echo=$ac_try;;
18866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18867 (eval "$ac_link") 2>conftest.er1
18869 grep -v '^ *+' conftest.er1 >conftest.err
18871 cat conftest.err >&5
18872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18873 (exit $ac_status); } &&
18874 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18875 { (case "(($ac_try" in
18876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18877 *) ac_try_echo=$ac_try;;
18879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18880 (eval "$ac_try") 2>&5
18882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18883 (exit $ac_status); }; } &&
18884 { ac_try='test -s conftest$ac_exeext'
18885 { (case "(($ac_try" in
18886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18887 *) ac_try_echo=$ac_try;;
18889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18890 (eval "$ac_try") 2>&5
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); }; }; then
18894 ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18895 if test "x$ac_cv_lib_soname_jpeg" = "x"
18897 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
18900 echo "$as_me: failed program was:" >&5
18901 sed 's/^/| /' conftest.$ac_ext >&5
18903 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
18906 rm -f core conftest.err conftest.$ac_objext \
18907 conftest$ac_exeext conftest.$ac_ext
18908 LIBS=$ac_get_soname_save_LIBS
18910 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
18911 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
18912 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
18914 cat >>confdefs.h <<_ACEOF
18915 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
18920 { echo "$as_me:$LINENO: checking for -lungif soname" >&5
18921 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6; }
18922 if test "${ac_cv_lib_soname_ungif+set}" = set; then
18923 echo $ECHO_N "(cached) $ECHO_C" >&6
18925 ac_get_soname_save_LIBS=$LIBS
18926 LIBS="-lungif $LIBS"
18927 cat >conftest.$ac_ext <<_ACEOF
18930 cat confdefs.h >>conftest.$ac_ext
18931 cat >>conftest.$ac_ext <<_ACEOF
18932 /* end confdefs.h. */
18934 /* Override any GCC internal prototype to avoid an error.
18935 Use char because int might match the return type of a GCC
18936 builtin and then its argument prototype would still apply. */
18944 return DGifOpen ();
18949 rm -f conftest.$ac_objext conftest$ac_exeext
18950 if { (ac_try="$ac_link"
18951 case "(($ac_try" in
18952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18953 *) ac_try_echo=$ac_try;;
18955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18956 (eval "$ac_link") 2>conftest.er1
18958 grep -v '^ *+' conftest.er1 >conftest.err
18960 cat conftest.err >&5
18961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18962 (exit $ac_status); } &&
18963 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18964 { (case "(($ac_try" in
18965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18966 *) ac_try_echo=$ac_try;;
18968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18969 (eval "$ac_try") 2>&5
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); }; } &&
18973 { ac_try='test -s conftest$ac_exeext'
18974 { (case "(($ac_try" in
18975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18976 *) ac_try_echo=$ac_try;;
18978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18979 (eval "$ac_try") 2>&5
18981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18982 (exit $ac_status); }; }; then
18983 ac_cv_lib_soname_ungif=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed -e "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18984 if test "x$ac_cv_lib_soname_ungif" = "x"
18986 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
18989 echo "$as_me: failed program was:" >&5
18990 sed 's/^/| /' conftest.$ac_ext >&5
18992 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
18995 rm -f core conftest.err conftest.$ac_objext \
18996 conftest$ac_exeext conftest.$ac_ext
18997 LIBS=$ac_get_soname_save_LIBS
18999 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
19000 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6; }
19001 if test "${ac_cv_lib_soname_ungif+set}" = set; then
19003 cat >>confdefs.h <<_ACEOF
19004 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
19009 { echo "$as_me:$LINENO: checking for -lgif soname" >&5
19010 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6; }
19011 if test "${ac_cv_lib_soname_gif+set}" = set; then
19012 echo $ECHO_N "(cached) $ECHO_C" >&6
19014 ac_get_soname_save_LIBS=$LIBS
19016 cat >conftest.$ac_ext <<_ACEOF
19019 cat confdefs.h >>conftest.$ac_ext
19020 cat >>conftest.$ac_ext <<_ACEOF
19021 /* end confdefs.h. */
19023 /* Override any GCC internal prototype to avoid an error.
19024 Use char because int might match the return type of a GCC
19025 builtin and then its argument prototype would still apply. */
19033 return DGifOpen ();
19038 rm -f conftest.$ac_objext conftest$ac_exeext
19039 if { (ac_try="$ac_link"
19040 case "(($ac_try" in
19041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19042 *) ac_try_echo=$ac_try;;
19044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19045 (eval "$ac_link") 2>conftest.er1
19047 grep -v '^ *+' conftest.er1 >conftest.err
19049 cat conftest.err >&5
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); } &&
19052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19053 { (case "(($ac_try" in
19054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19055 *) ac_try_echo=$ac_try;;
19057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19058 (eval "$ac_try") 2>&5
19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061 (exit $ac_status); }; } &&
19062 { ac_try='test -s conftest$ac_exeext'
19063 { (case "(($ac_try" in
19064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19065 *) ac_try_echo=$ac_try;;
19067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19068 (eval "$ac_try") 2>&5
19070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19071 (exit $ac_status); }; }; then
19072 ac_cv_lib_soname_gif=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed -e "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19073 if test "x$ac_cv_lib_soname_gif" = "x"
19075 ac_cv_lib_soname_gif="libgif.$LIBEXT"
19078 echo "$as_me: failed program was:" >&5
19079 sed 's/^/| /' conftest.$ac_ext >&5
19081 ac_cv_lib_soname_gif="libgif.$LIBEXT"
19084 rm -f core conftest.err conftest.$ac_objext \
19085 conftest$ac_exeext conftest.$ac_ext
19086 LIBS=$ac_get_soname_save_LIBS
19088 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
19089 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6; }
19090 if test "${ac_cv_lib_soname_gif+set}" = set; then
19092 cat >>confdefs.h <<_ACEOF
19093 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
19098 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
19099 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
19100 if test "${ac_cv_lib_soname_capi20+set}" = set; then
19101 echo $ECHO_N "(cached) $ECHO_C" >&6
19103 ac_get_soname_save_LIBS=$LIBS
19104 LIBS="-lcapi20 $LIBS"
19105 cat >conftest.$ac_ext <<_ACEOF
19108 cat confdefs.h >>conftest.$ac_ext
19109 cat >>conftest.$ac_ext <<_ACEOF
19110 /* end confdefs.h. */
19112 /* Override any GCC internal prototype to avoid an error.
19113 Use char because int might match the return type of a GCC
19114 builtin and then its argument prototype would still apply. */
19118 char capi20_isinstalled ();
19122 return capi20_isinstalled ();
19127 rm -f conftest.$ac_objext conftest$ac_exeext
19128 if { (ac_try="$ac_link"
19129 case "(($ac_try" in
19130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19131 *) ac_try_echo=$ac_try;;
19133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19134 (eval "$ac_link") 2>conftest.er1
19136 grep -v '^ *+' conftest.er1 >conftest.err
19138 cat conftest.err >&5
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); } &&
19141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19142 { (case "(($ac_try" in
19143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19144 *) ac_try_echo=$ac_try;;
19146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19147 (eval "$ac_try") 2>&5
19149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19150 (exit $ac_status); }; } &&
19151 { ac_try='test -s conftest$ac_exeext'
19152 { (case "(($ac_try" in
19153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19154 *) ac_try_echo=$ac_try;;
19156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19157 (eval "$ac_try") 2>&5
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); }; }; then
19161 ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.$LIBEXT | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19162 if test "x$ac_cv_lib_soname_capi20" = "x"
19164 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
19167 echo "$as_me: failed program was:" >&5
19168 sed 's/^/| /' conftest.$ac_ext >&5
19170 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
19173 rm -f core conftest.err conftest.$ac_objext \
19174 conftest$ac_exeext conftest.$ac_ext
19175 LIBS=$ac_get_soname_save_LIBS
19177 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
19178 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
19179 if test "${ac_cv_lib_soname_capi20+set}" = set; then
19181 cat >>confdefs.h <<_ACEOF
19182 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
19326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19327 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19329 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19330 echo $ECHO_N "(cached) $ECHO_C" >&6
19332 cat >conftest.$ac_ext <<_ACEOF
19335 cat confdefs.h >>conftest.$ac_ext
19336 cat >>conftest.$ac_ext <<_ACEOF
19337 /* end confdefs.h. */
19338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19340 #define $ac_func innocuous_$ac_func
19342 /* System header to define __stub macros and hopefully few prototypes,
19343 which can conflict with char $ac_func (); below.
19344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19345 <limits.h> exists even on freestanding compilers. */
19348 # include <limits.h>
19350 # include <assert.h>
19355 /* Override any GCC internal prototype to avoid an error.
19356 Use char because int might match the return type of a GCC
19357 builtin and then its argument prototype would still apply. */
19362 /* The GNU C library defines this for functions which it implements
19363 to always fail with ENOSYS. Some functions are actually named
19364 something starting with __ and the normal name is an alias. */
19365 #if defined __stub_$ac_func || defined __stub___$ac_func
19372 return $ac_func ();
19377 rm -f conftest.$ac_objext conftest$ac_exeext
19378 if { (ac_try="$ac_link"
19379 case "(($ac_try" in
19380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19381 *) ac_try_echo=$ac_try;;
19383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19384 (eval "$ac_link") 2>conftest.er1
19386 grep -v '^ *+' conftest.er1 >conftest.err
19388 cat conftest.err >&5
19389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390 (exit $ac_status); } &&
19391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19392 { (case "(($ac_try" in
19393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19394 *) ac_try_echo=$ac_try;;
19396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19397 (eval "$ac_try") 2>&5
19399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19400 (exit $ac_status); }; } &&
19401 { ac_try='test -s conftest$ac_exeext'
19402 { (case "(($ac_try" in
19403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19404 *) ac_try_echo=$ac_try;;
19406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19407 (eval "$ac_try") 2>&5
19409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19410 (exit $ac_status); }; }; then
19411 eval "$as_ac_var=yes"
19413 echo "$as_me: failed program was:" >&5
19414 sed 's/^/| /' conftest.$ac_ext >&5
19416 eval "$as_ac_var=no"
19419 rm -f core conftest.err conftest.$ac_objext \
19420 conftest$ac_exeext conftest.$ac_ext
19422 ac_res=`eval echo '${'$as_ac_var'}'`
19423 { echo "$as_me:$LINENO: result: $ac_res" >&5
19424 echo "${ECHO_T}$ac_res" >&6; }
19425 if test `eval echo '${'$as_ac_var'}'` = yes; then
19426 cat >>confdefs.h <<_ACEOF
19427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19436 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19437 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19438 if test "${ac_cv_c_const+set}" = set; then
19439 echo $ECHO_N "(cached) $ECHO_C" >&6
19441 cat >conftest.$ac_ext <<_ACEOF
19444 cat confdefs.h >>conftest.$ac_ext
19445 cat >>conftest.$ac_ext <<_ACEOF
19446 /* end confdefs.h. */
19451 /* FIXME: Include the comments suggested by Paul. */
19452 #ifndef __cplusplus
19453 /* Ultrix mips cc rejects this. */
19454 typedef int charset[2];
19456 /* SunOS 4.1.1 cc rejects this. */
19457 char const *const *ccp;
19459 /* NEC SVR4.0.2 mips cc rejects this. */
19460 struct point {int x, y;};
19461 static struct point const zero = {0,0};
19462 /* AIX XL C 1.02.0.0 rejects this.
19463 It does not let you subtract one const X* pointer from another in
19464 an arm of an if-expression whose if-part is not a constant
19466 const char *g = "string";
19467 ccp = &g + (g ? g-g : 0);
19468 /* HPUX 7.0 cc rejects these. */
19471 ccp = (char const *const *) p;
19472 { /* SCO 3.2v4 cc rejects this. */
19474 char const *s = 0 ? (char *) 0 : (char const *) 0;
19479 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19480 int x[] = {25, 17};
19481 const int *foo = &x[0];
19484 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19485 typedef const int *iptr;
19489 { /* AIX XL C 1.02.0.0 rejects this saying
19490 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19491 struct s { int j; const int *ap[3]; };
19492 struct s *b; b->j = 5;
19494 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19495 const int foo = 10;
19496 if (!foo) return 0;
19498 return !x[0] && !zero.x;
19505 rm -f conftest.$ac_objext
19506 if { (ac_try="$ac_compile"
19507 case "(($ac_try" in
19508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19509 *) ac_try_echo=$ac_try;;
19511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19512 (eval "$ac_compile") 2>conftest.er1
19514 grep -v '^ *+' conftest.er1 >conftest.err
19516 cat conftest.err >&5
19517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19518 (exit $ac_status); } &&
19519 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19520 { (case "(($ac_try" in
19521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19522 *) ac_try_echo=$ac_try;;
19524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19525 (eval "$ac_try") 2>&5
19527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19528 (exit $ac_status); }; } &&
19529 { ac_try='test -s conftest.$ac_objext'
19530 { (case "(($ac_try" in
19531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19532 *) ac_try_echo=$ac_try;;
19534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19535 (eval "$ac_try") 2>&5
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); }; }; then
19541 echo "$as_me: failed program was:" >&5
19542 sed 's/^/| /' conftest.$ac_ext >&5
19547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19549 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19550 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19551 if test $ac_cv_c_const = no; then
19553 cat >>confdefs.h <<\_ACEOF
19559 { echo "$as_me:$LINENO: checking for inline" >&5
19560 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19561 if test "${ac_cv_c_inline+set}" = set; then
19562 echo $ECHO_N "(cached) $ECHO_C" >&6
19565 for ac_kw in inline __inline__ __inline; do
19566 cat >conftest.$ac_ext <<_ACEOF
19569 cat confdefs.h >>conftest.$ac_ext
19570 cat >>conftest.$ac_ext <<_ACEOF
19571 /* end confdefs.h. */
19572 #ifndef __cplusplus
19574 static $ac_kw foo_t static_foo () {return 0; }
19575 $ac_kw foo_t foo () {return 0; }
19579 rm -f conftest.$ac_objext
19580 if { (ac_try="$ac_compile"
19581 case "(($ac_try" in
19582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19583 *) ac_try_echo=$ac_try;;
19585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19586 (eval "$ac_compile") 2>conftest.er1
19588 grep -v '^ *+' conftest.er1 >conftest.err
19590 cat conftest.err >&5
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); } &&
19593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19594 { (case "(($ac_try" in
19595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19596 *) ac_try_echo=$ac_try;;
19598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19599 (eval "$ac_try") 2>&5
19601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602 (exit $ac_status); }; } &&
19603 { ac_try='test -s conftest.$ac_objext'
19604 { (case "(($ac_try" in
19605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19606 *) ac_try_echo=$ac_try;;
19608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19609 (eval "$ac_try") 2>&5
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); }; }; then
19613 ac_cv_c_inline=$ac_kw
19615 echo "$as_me: failed program was:" >&5
19616 sed 's/^/| /' conftest.$ac_ext >&5
19621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19622 test "$ac_cv_c_inline" != no && break
19626 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19627 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19630 case $ac_cv_c_inline in
19633 case $ac_cv_c_inline in
19635 *) ac_val=$ac_cv_c_inline;;
19637 cat >>confdefs.h <<_ACEOF
19638 #ifndef __cplusplus
19639 #define inline $ac_val
19645 { echo "$as_me:$LINENO: checking for mode_t" >&5
19646 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
19647 if test "${ac_cv_type_mode_t+set}" = set; then
19648 echo $ECHO_N "(cached) $ECHO_C" >&6
19650 cat >conftest.$ac_ext <<_ACEOF
19653 cat confdefs.h >>conftest.$ac_ext
19654 cat >>conftest.$ac_ext <<_ACEOF
19655 /* end confdefs.h. */
19656 $ac_includes_default
19657 typedef mode_t ac__type_new_;
19661 if ((ac__type_new_ *) 0)
19663 if (sizeof (ac__type_new_))
19669 rm -f conftest.$ac_objext
19670 if { (ac_try="$ac_compile"
19671 case "(($ac_try" in
19672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19673 *) ac_try_echo=$ac_try;;
19675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19676 (eval "$ac_compile") 2>conftest.er1
19678 grep -v '^ *+' conftest.er1 >conftest.err
19680 cat conftest.err >&5
19681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19682 (exit $ac_status); } &&
19683 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19684 { (case "(($ac_try" in
19685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19686 *) ac_try_echo=$ac_try;;
19688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19689 (eval "$ac_try") 2>&5
19691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19692 (exit $ac_status); }; } &&
19693 { ac_try='test -s conftest.$ac_objext'
19694 { (case "(($ac_try" in
19695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19696 *) ac_try_echo=$ac_try;;
19698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19699 (eval "$ac_try") 2>&5
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); }; }; then
19703 ac_cv_type_mode_t=yes
19705 echo "$as_me: failed program was:" >&5
19706 sed 's/^/| /' conftest.$ac_ext >&5
19708 ac_cv_type_mode_t=no
19711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19713 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19714 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
19715 if test $ac_cv_type_mode_t = yes; then
19717 cat >>confdefs.h <<_ACEOF
19718 #define HAVE_MODE_T 1
19723 { echo "$as_me:$LINENO: checking for off_t" >&5
19724 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19725 if test "${ac_cv_type_off_t+set}" = set; then
19726 echo $ECHO_N "(cached) $ECHO_C" >&6
19728 cat >conftest.$ac_ext <<_ACEOF
19731 cat confdefs.h >>conftest.$ac_ext
19732 cat >>conftest.$ac_ext <<_ACEOF
19733 /* end confdefs.h. */
19734 $ac_includes_default
19735 typedef off_t ac__type_new_;
19739 if ((ac__type_new_ *) 0)
19741 if (sizeof (ac__type_new_))
19747 rm -f conftest.$ac_objext
19748 if { (ac_try="$ac_compile"
19749 case "(($ac_try" in
19750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19751 *) ac_try_echo=$ac_try;;
19753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19754 (eval "$ac_compile") 2>conftest.er1
19756 grep -v '^ *+' conftest.er1 >conftest.err
19758 cat conftest.err >&5
19759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19760 (exit $ac_status); } &&
19761 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19762 { (case "(($ac_try" in
19763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19764 *) ac_try_echo=$ac_try;;
19766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19767 (eval "$ac_try") 2>&5
19769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19770 (exit $ac_status); }; } &&
19771 { ac_try='test -s conftest.$ac_objext'
19772 { (case "(($ac_try" in
19773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19774 *) ac_try_echo=$ac_try;;
19776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19777 (eval "$ac_try") 2>&5
19779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19780 (exit $ac_status); }; }; then
19781 ac_cv_type_off_t=yes
19783 echo "$as_me: failed program was:" >&5
19784 sed 's/^/| /' conftest.$ac_ext >&5
19786 ac_cv_type_off_t=no
19789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19791 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19792 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19793 if test $ac_cv_type_off_t = yes; then
19795 cat >>confdefs.h <<_ACEOF
19796 #define HAVE_OFF_T 1
19801 { echo "$as_me:$LINENO: checking for pid_t" >&5
19802 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19803 if test "${ac_cv_type_pid_t+set}" = set; then
19804 echo $ECHO_N "(cached) $ECHO_C" >&6
19806 cat >conftest.$ac_ext <<_ACEOF
19809 cat confdefs.h >>conftest.$ac_ext
19810 cat >>conftest.$ac_ext <<_ACEOF
19811 /* end confdefs.h. */
19812 $ac_includes_default
19813 typedef pid_t ac__type_new_;
19817 if ((ac__type_new_ *) 0)
19819 if (sizeof (ac__type_new_))
19825 rm -f conftest.$ac_objext
19826 if { (ac_try="$ac_compile"
19827 case "(($ac_try" in
19828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19829 *) ac_try_echo=$ac_try;;
19831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19832 (eval "$ac_compile") 2>conftest.er1
19834 grep -v '^ *+' conftest.er1 >conftest.err
19836 cat conftest.err >&5
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); } &&
19839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19840 { (case "(($ac_try" in
19841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19842 *) ac_try_echo=$ac_try;;
19844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19845 (eval "$ac_try") 2>&5
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); }; } &&
19849 { ac_try='test -s conftest.$ac_objext'
19850 { (case "(($ac_try" in
19851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19852 *) ac_try_echo=$ac_try;;
19854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19855 (eval "$ac_try") 2>&5
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); }; }; then
19859 ac_cv_type_pid_t=yes
19861 echo "$as_me: failed program was:" >&5
19862 sed 's/^/| /' conftest.$ac_ext >&5
19864 ac_cv_type_pid_t=no
19867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19869 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19870 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19871 if test $ac_cv_type_pid_t = yes; then
19873 cat >>confdefs.h <<_ACEOF
19874 #define HAVE_PID_T 1
19879 { echo "$as_me:$LINENO: checking for size_t" >&5
19880 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19881 if test "${ac_cv_type_size_t+set}" = set; then
19882 echo $ECHO_N "(cached) $ECHO_C" >&6
19884 cat >conftest.$ac_ext <<_ACEOF
19887 cat confdefs.h >>conftest.$ac_ext
19888 cat >>conftest.$ac_ext <<_ACEOF
19889 /* end confdefs.h. */
19890 $ac_includes_default
19891 typedef size_t ac__type_new_;
19895 if ((ac__type_new_ *) 0)
19897 if (sizeof (ac__type_new_))
19903 rm -f conftest.$ac_objext
19904 if { (ac_try="$ac_compile"
19905 case "(($ac_try" in
19906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19907 *) ac_try_echo=$ac_try;;
19909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19910 (eval "$ac_compile") 2>conftest.er1
19912 grep -v '^ *+' conftest.er1 >conftest.err
19914 cat conftest.err >&5
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); } &&
19917 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19918 { (case "(($ac_try" in
19919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19920 *) ac_try_echo=$ac_try;;
19922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19923 (eval "$ac_try") 2>&5
19925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926 (exit $ac_status); }; } &&
19927 { ac_try='test -s conftest.$ac_objext'
19928 { (case "(($ac_try" in
19929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19930 *) ac_try_echo=$ac_try;;
19932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19933 (eval "$ac_try") 2>&5
19935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19936 (exit $ac_status); }; }; then
19937 ac_cv_type_size_t=yes
19939 echo "$as_me: failed program was:" >&5
19940 sed 's/^/| /' conftest.$ac_ext >&5
19942 ac_cv_type_size_t=no
19945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19947 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19948 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19949 if test $ac_cv_type_size_t = yes; then
19951 cat >>confdefs.h <<_ACEOF
19952 #define HAVE_SIZE_T 1
19957 { echo "$as_me:$LINENO: checking for ssize_t" >&5
19958 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
19959 if test "${ac_cv_type_ssize_t+set}" = set; then
19960 echo $ECHO_N "(cached) $ECHO_C" >&6
19962 cat >conftest.$ac_ext <<_ACEOF
19965 cat confdefs.h >>conftest.$ac_ext
19966 cat >>conftest.$ac_ext <<_ACEOF
19967 /* end confdefs.h. */
19968 $ac_includes_default
19969 typedef ssize_t ac__type_new_;
19973 if ((ac__type_new_ *) 0)
19975 if (sizeof (ac__type_new_))
19981 rm -f conftest.$ac_objext
19982 if { (ac_try="$ac_compile"
19983 case "(($ac_try" in
19984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19985 *) ac_try_echo=$ac_try;;
19987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19988 (eval "$ac_compile") 2>conftest.er1
19990 grep -v '^ *+' conftest.er1 >conftest.err
19992 cat conftest.err >&5
19993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994 (exit $ac_status); } &&
19995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19996 { (case "(($ac_try" in
19997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19998 *) ac_try_echo=$ac_try;;
20000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20001 (eval "$ac_try") 2>&5
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); }; } &&
20005 { ac_try='test -s conftest.$ac_objext'
20006 { (case "(($ac_try" in
20007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20008 *) ac_try_echo=$ac_try;;
20010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20011 (eval "$ac_try") 2>&5
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); }; }; then
20015 ac_cv_type_ssize_t=yes
20017 echo "$as_me: failed program was:" >&5
20018 sed 's/^/| /' conftest.$ac_ext >&5
20020 ac_cv_type_ssize_t=no
20023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20025 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
20026 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
20027 if test $ac_cv_type_ssize_t = yes; then
20029 cat >>confdefs.h <<_ACEOF
20030 #define HAVE_SSIZE_T 1
20035 { echo "$as_me:$LINENO: checking for long long" >&5
20036 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20037 if test "${ac_cv_type_long_long+set}" = set; then
20038 echo $ECHO_N "(cached) $ECHO_C" >&6
20040 cat >conftest.$ac_ext <<_ACEOF
20043 cat confdefs.h >>conftest.$ac_ext
20044 cat >>conftest.$ac_ext <<_ACEOF
20045 /* end confdefs.h. */
20046 $ac_includes_default
20047 typedef long long ac__type_new_;
20051 if ((ac__type_new_ *) 0)
20053 if (sizeof (ac__type_new_))
20059 rm -f conftest.$ac_objext
20060 if { (ac_try="$ac_compile"
20061 case "(($ac_try" in
20062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20063 *) ac_try_echo=$ac_try;;
20065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20066 (eval "$ac_compile") 2>conftest.er1
20068 grep -v '^ *+' conftest.er1 >conftest.err
20070 cat conftest.err >&5
20071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20072 (exit $ac_status); } &&
20073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20074 { (case "(($ac_try" in
20075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20076 *) ac_try_echo=$ac_try;;
20078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20079 (eval "$ac_try") 2>&5
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); }; } &&
20083 { ac_try='test -s conftest.$ac_objext'
20084 { (case "(($ac_try" in
20085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20086 *) ac_try_echo=$ac_try;;
20088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20089 (eval "$ac_try") 2>&5
20091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20092 (exit $ac_status); }; }; then
20093 ac_cv_type_long_long=yes
20095 echo "$as_me: failed program was:" >&5
20096 sed 's/^/| /' conftest.$ac_ext >&5
20098 ac_cv_type_long_long=no
20101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20103 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20104 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20105 if test $ac_cv_type_long_long = yes; then
20107 cat >>confdefs.h <<_ACEOF
20108 #define HAVE_LONG_LONG 1
20113 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
20114 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
20115 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
20116 echo $ECHO_N "(cached) $ECHO_C" >&6
20118 cat >conftest.$ac_ext <<_ACEOF
20121 cat confdefs.h >>conftest.$ac_ext
20122 cat >>conftest.$ac_ext <<_ACEOF
20123 /* end confdefs.h. */
20124 $ac_includes_default
20125 typedef fsblkcnt_t ac__type_new_;
20129 if ((ac__type_new_ *) 0)
20131 if (sizeof (ac__type_new_))
20137 rm -f conftest.$ac_objext
20138 if { (ac_try="$ac_compile"
20139 case "(($ac_try" in
20140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20141 *) ac_try_echo=$ac_try;;
20143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20144 (eval "$ac_compile") 2>conftest.er1
20146 grep -v '^ *+' conftest.er1 >conftest.err
20148 cat conftest.err >&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); } &&
20151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20152 { (case "(($ac_try" in
20153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20154 *) ac_try_echo=$ac_try;;
20156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20157 (eval "$ac_try") 2>&5
20159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20160 (exit $ac_status); }; } &&
20161 { ac_try='test -s conftest.$ac_objext'
20162 { (case "(($ac_try" in
20163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20164 *) ac_try_echo=$ac_try;;
20166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20167 (eval "$ac_try") 2>&5
20169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20170 (exit $ac_status); }; }; then
20171 ac_cv_type_fsblkcnt_t=yes
20173 echo "$as_me: failed program was:" >&5
20174 sed 's/^/| /' conftest.$ac_ext >&5
20176 ac_cv_type_fsblkcnt_t=no
20179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20181 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
20182 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
20183 if test $ac_cv_type_fsblkcnt_t = yes; then
20185 cat >>confdefs.h <<_ACEOF
20186 #define HAVE_FSBLKCNT_T 1
20191 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
20192 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
20193 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
20194 echo $ECHO_N "(cached) $ECHO_C" >&6
20196 cat >conftest.$ac_ext <<_ACEOF
20199 cat confdefs.h >>conftest.$ac_ext
20200 cat >>conftest.$ac_ext <<_ACEOF
20201 /* end confdefs.h. */
20202 $ac_includes_default
20203 typedef fsfilcnt_t ac__type_new_;
20207 if ((ac__type_new_ *) 0)
20209 if (sizeof (ac__type_new_))
20215 rm -f conftest.$ac_objext
20216 if { (ac_try="$ac_compile"
20217 case "(($ac_try" in
20218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20219 *) ac_try_echo=$ac_try;;
20221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20222 (eval "$ac_compile") 2>conftest.er1
20224 grep -v '^ *+' conftest.er1 >conftest.err
20226 cat conftest.err >&5
20227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228 (exit $ac_status); } &&
20229 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20230 { (case "(($ac_try" in
20231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20232 *) ac_try_echo=$ac_try;;
20234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20235 (eval "$ac_try") 2>&5
20237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20238 (exit $ac_status); }; } &&
20239 { ac_try='test -s conftest.$ac_objext'
20240 { (case "(($ac_try" in
20241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20242 *) ac_try_echo=$ac_try;;
20244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20245 (eval "$ac_try") 2>&5
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); }; }; then
20249 ac_cv_type_fsfilcnt_t=yes
20251 echo "$as_me: failed program was:" >&5
20252 sed 's/^/| /' conftest.$ac_ext >&5
20254 ac_cv_type_fsfilcnt_t=no
20257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20259 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
20260 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
20261 if test $ac_cv_type_fsfilcnt_t = yes; then
20263 cat >>confdefs.h <<_ACEOF
20264 #define HAVE_FSFILCNT_T 1
20270 { echo "$as_me:$LINENO: checking for sigset_t" >&5
20271 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
20272 if test "${ac_cv_type_sigset_t+set}" = set; then
20273 echo $ECHO_N "(cached) $ECHO_C" >&6
20275 cat >conftest.$ac_ext <<_ACEOF
20278 cat confdefs.h >>conftest.$ac_ext
20279 cat >>conftest.$ac_ext <<_ACEOF
20280 /* end confdefs.h. */
20281 #include <signal.h>
20283 typedef sigset_t ac__type_new_;
20287 if ((ac__type_new_ *) 0)
20289 if (sizeof (ac__type_new_))
20295 rm -f conftest.$ac_objext
20296 if { (ac_try="$ac_compile"
20297 case "(($ac_try" in
20298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20299 *) ac_try_echo=$ac_try;;
20301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20302 (eval "$ac_compile") 2>conftest.er1
20304 grep -v '^ *+' conftest.er1 >conftest.err
20306 cat conftest.err >&5
20307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308 (exit $ac_status); } &&
20309 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20310 { (case "(($ac_try" in
20311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20312 *) ac_try_echo=$ac_try;;
20314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20315 (eval "$ac_try") 2>&5
20317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); }; } &&
20319 { ac_try='test -s conftest.$ac_objext'
20320 { (case "(($ac_try" in
20321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20322 *) ac_try_echo=$ac_try;;
20324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20325 (eval "$ac_try") 2>&5
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); }; }; then
20329 ac_cv_type_sigset_t=yes
20331 echo "$as_me: failed program was:" >&5
20332 sed 's/^/| /' conftest.$ac_ext >&5
20334 ac_cv_type_sigset_t=no
20337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20339 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
20340 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
20341 if test $ac_cv_type_sigset_t = yes; then
20343 cat >>confdefs.h <<_ACEOF
20344 #define HAVE_SIGSET_T 1
20350 { echo "$as_me:$LINENO: checking for request_sense" >&5
20351 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
20352 if test "${ac_cv_type_request_sense+set}" = set; then
20353 echo $ECHO_N "(cached) $ECHO_C" >&6
20355 cat >conftest.$ac_ext <<_ACEOF
20358 cat confdefs.h >>conftest.$ac_ext
20359 cat >>conftest.$ac_ext <<_ACEOF
20360 /* end confdefs.h. */
20361 #include <linux/cdrom.h>
20363 typedef request_sense ac__type_new_;
20367 if ((ac__type_new_ *) 0)
20369 if (sizeof (ac__type_new_))
20375 rm -f conftest.$ac_objext
20376 if { (ac_try="$ac_compile"
20377 case "(($ac_try" in
20378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20379 *) ac_try_echo=$ac_try;;
20381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20382 (eval "$ac_compile") 2>conftest.er1
20384 grep -v '^ *+' conftest.er1 >conftest.err
20386 cat conftest.err >&5
20387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20388 (exit $ac_status); } &&
20389 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20390 { (case "(($ac_try" in
20391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20392 *) ac_try_echo=$ac_try;;
20394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20395 (eval "$ac_try") 2>&5
20397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398 (exit $ac_status); }; } &&
20399 { ac_try='test -s conftest.$ac_objext'
20400 { (case "(($ac_try" in
20401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20402 *) ac_try_echo=$ac_try;;
20404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20405 (eval "$ac_try") 2>&5
20407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408 (exit $ac_status); }; }; then
20409 ac_cv_type_request_sense=yes
20411 echo "$as_me: failed program was:" >&5
20412 sed 's/^/| /' conftest.$ac_ext >&5
20414 ac_cv_type_request_sense=no
20417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20419 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
20420 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
20421 if test $ac_cv_type_request_sense = yes; then
20423 cat >>confdefs.h <<_ACEOF
20424 #define HAVE_REQUEST_SENSE 1
20431 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
20432 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
20433 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
20434 echo $ECHO_N "(cached) $ECHO_C" >&6
20436 cat >conftest.$ac_ext <<_ACEOF
20439 cat confdefs.h >>conftest.$ac_ext
20440 cat >>conftest.$ac_ext <<_ACEOF
20441 /* end confdefs.h. */
20442 #ifdef HAVE_LINUX_INPUT_H
20443 #include <linux/input.h>
20449 static struct ff_effect ac_aggr;
20450 if (ac_aggr.direction)
20456 rm -f conftest.$ac_objext
20457 if { (ac_try="$ac_compile"
20458 case "(($ac_try" in
20459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20460 *) ac_try_echo=$ac_try;;
20462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20463 (eval "$ac_compile") 2>conftest.er1
20465 grep -v '^ *+' conftest.er1 >conftest.err
20467 cat conftest.err >&5
20468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469 (exit $ac_status); } &&
20470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20471 { (case "(($ac_try" in
20472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20473 *) ac_try_echo=$ac_try;;
20475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20476 (eval "$ac_try") 2>&5
20478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20479 (exit $ac_status); }; } &&
20480 { ac_try='test -s conftest.$ac_objext'
20481 { (case "(($ac_try" in
20482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20483 *) ac_try_echo=$ac_try;;
20485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20486 (eval "$ac_try") 2>&5
20488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20489 (exit $ac_status); }; }; then
20490 ac_cv_member_struct_ff_effect_direction=yes
20492 echo "$as_me: failed program was:" >&5
20493 sed 's/^/| /' conftest.$ac_ext >&5
20495 cat >conftest.$ac_ext <<_ACEOF
20498 cat confdefs.h >>conftest.$ac_ext
20499 cat >>conftest.$ac_ext <<_ACEOF
20500 /* end confdefs.h. */
20501 #ifdef HAVE_LINUX_INPUT_H
20502 #include <linux/input.h>
20508 static struct ff_effect ac_aggr;
20509 if (sizeof ac_aggr.direction)
20515 rm -f conftest.$ac_objext
20516 if { (ac_try="$ac_compile"
20517 case "(($ac_try" in
20518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20519 *) ac_try_echo=$ac_try;;
20521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20522 (eval "$ac_compile") 2>conftest.er1
20524 grep -v '^ *+' conftest.er1 >conftest.err
20526 cat conftest.err >&5
20527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20528 (exit $ac_status); } &&
20529 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20530 { (case "(($ac_try" in
20531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20532 *) ac_try_echo=$ac_try;;
20534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20535 (eval "$ac_try") 2>&5
20537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20538 (exit $ac_status); }; } &&
20539 { ac_try='test -s conftest.$ac_objext'
20540 { (case "(($ac_try" in
20541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20542 *) ac_try_echo=$ac_try;;
20544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20545 (eval "$ac_try") 2>&5
20547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548 (exit $ac_status); }; }; then
20549 ac_cv_member_struct_ff_effect_direction=yes
20551 echo "$as_me: failed program was:" >&5
20552 sed 's/^/| /' conftest.$ac_ext >&5
20554 ac_cv_member_struct_ff_effect_direction=no
20557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20562 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
20563 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
20564 if test $ac_cv_member_struct_ff_effect_direction = yes; then
20566 cat >>confdefs.h <<_ACEOF
20567 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
20574 { echo "$as_me:$LINENO: checking for sigaddset" >&5
20575 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
20576 if test "${wine_cv_have_sigaddset+set}" = set; then
20577 echo $ECHO_N "(cached) $ECHO_C" >&6
20579 cat >conftest.$ac_ext <<_ACEOF
20582 cat confdefs.h >>conftest.$ac_ext
20583 cat >>conftest.$ac_ext <<_ACEOF
20584 /* end confdefs.h. */
20585 #include <signal.h>
20589 sigset_t set; sigaddset(&set,SIGTERM);
20594 rm -f conftest.$ac_objext conftest$ac_exeext
20595 if { (ac_try="$ac_link"
20596 case "(($ac_try" in
20597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20598 *) ac_try_echo=$ac_try;;
20600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20601 (eval "$ac_link") 2>conftest.er1
20603 grep -v '^ *+' conftest.er1 >conftest.err
20605 cat conftest.err >&5
20606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20607 (exit $ac_status); } &&
20608 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20609 { (case "(($ac_try" in
20610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20611 *) ac_try_echo=$ac_try;;
20613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20614 (eval "$ac_try") 2>&5
20616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20617 (exit $ac_status); }; } &&
20618 { ac_try='test -s conftest$ac_exeext'
20619 { (case "(($ac_try" in
20620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20621 *) ac_try_echo=$ac_try;;
20623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20624 (eval "$ac_try") 2>&5
20626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20627 (exit $ac_status); }; }; then
20628 wine_cv_have_sigaddset=yes
20630 echo "$as_me: failed program was:" >&5
20631 sed 's/^/| /' conftest.$ac_ext >&5
20633 wine_cv_have_sigaddset=no
20636 rm -f core conftest.err conftest.$ac_objext \
20637 conftest$ac_exeext conftest.$ac_ext
20639 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20640 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
20641 if test "$wine_cv_have_sigaddset" = "yes"
20644 cat >>confdefs.h <<\_ACEOF
20645 #define HAVE_SIGADDSET 1
20651 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20652 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
20653 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
20654 echo $ECHO_N "(cached) $ECHO_C" >&6
20656 cat >conftest.$ac_ext <<_ACEOF
20659 cat confdefs.h >>conftest.$ac_ext
20660 cat >>conftest.$ac_ext <<_ACEOF
20661 /* end confdefs.h. */
20671 struct hostent *result;
20678 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20679 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20685 rm -f conftest.$ac_objext conftest$ac_exeext
20686 if { (ac_try="$ac_link"
20687 case "(($ac_try" in
20688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20689 *) ac_try_echo=$ac_try;;
20691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20692 (eval "$ac_link") 2>conftest.er1
20694 grep -v '^ *+' conftest.er1 >conftest.err
20696 cat conftest.err >&5
20697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20698 (exit $ac_status); } &&
20699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20700 { (case "(($ac_try" in
20701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20702 *) ac_try_echo=$ac_try;;
20704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20705 (eval "$ac_try") 2>&5
20707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708 (exit $ac_status); }; } &&
20709 { ac_try='test -s conftest$ac_exeext'
20710 { (case "(($ac_try" in
20711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20712 *) ac_try_echo=$ac_try;;
20714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20715 (eval "$ac_try") 2>&5
20717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20718 (exit $ac_status); }; }; then
20719 wine_cv_linux_gethostbyname_r_6=yes
20721 echo "$as_me: failed program was:" >&5
20722 sed 's/^/| /' conftest.$ac_ext >&5
20724 wine_cv_linux_gethostbyname_r_6=no
20728 rm -f core conftest.err conftest.$ac_objext \
20729 conftest$ac_exeext conftest.$ac_ext
20732 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
20733 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
20734 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20737 cat >>confdefs.h <<\_ACEOF
20738 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
20743 if test "$ac_cv_header_linux_joystick_h" = "yes"
20745 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20746 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
20747 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
20748 echo $ECHO_N "(cached) $ECHO_C" >&6
20750 cat >conftest.$ac_ext <<_ACEOF
20753 cat confdefs.h >>conftest.$ac_ext
20754 cat >>conftest.$ac_ext <<_ACEOF
20755 /* end confdefs.h. */
20757 #include <sys/ioctl.h>
20758 #include <linux/joystick.h>
20760 struct js_event blub;
20761 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20762 #error "no 2.2 header"
20773 rm -f conftest.$ac_objext
20774 if { (ac_try="$ac_compile"
20775 case "(($ac_try" in
20776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20777 *) ac_try_echo=$ac_try;;
20779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20780 (eval "$ac_compile") 2>conftest.er1
20782 grep -v '^ *+' conftest.er1 >conftest.err
20784 cat conftest.err >&5
20785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20786 (exit $ac_status); } &&
20787 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20788 { (case "(($ac_try" in
20789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20790 *) ac_try_echo=$ac_try;;
20792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20793 (eval "$ac_try") 2>&5
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); }; } &&
20797 { ac_try='test -s conftest.$ac_objext'
20798 { (case "(($ac_try" in
20799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20800 *) ac_try_echo=$ac_try;;
20802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20803 (eval "$ac_try") 2>&5
20805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20806 (exit $ac_status); }; }; then
20807 wine_cv_linux_joystick_22_api=yes
20809 echo "$as_me: failed program was:" >&5
20810 sed 's/^/| /' conftest.$ac_ext >&5
20812 wine_cv_linux_joystick_22_api=no
20815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20818 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
20819 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
20820 if test "$wine_cv_linux_joystick_22_api" = "yes"
20823 cat >>confdefs.h <<\_ACEOF
20824 #define HAVE_LINUX_22_JOYSTICK_API 1
20831 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
20832 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
20833 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
20834 echo $ECHO_N "(cached) $ECHO_C" >&6
20836 cat >conftest.$ac_ext <<_ACEOF
20839 cat confdefs.h >>conftest.$ac_ext
20840 cat >>conftest.$ac_ext <<_ACEOF
20841 /* end confdefs.h. */
20842 #include <sys/types.h>
20843 #ifdef HAVE_SYS_PARAM_H
20844 # include <sys/param.h>
20846 #ifdef HAVE_SYS_MOUNT_H
20847 # include <sys/mount.h>
20849 #ifdef HAVE_SYS_VFS_H
20850 # include <sys/vfs.h>
20852 #ifdef HAVE_SYS_STATFS_H
20853 # include <sys/statfs.h>
20859 static struct statfs ac_aggr;
20860 if (ac_aggr.f_bfree)
20866 rm -f conftest.$ac_objext
20867 if { (ac_try="$ac_compile"
20868 case "(($ac_try" in
20869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20870 *) ac_try_echo=$ac_try;;
20872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20873 (eval "$ac_compile") 2>conftest.er1
20875 grep -v '^ *+' conftest.er1 >conftest.err
20877 cat conftest.err >&5
20878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20879 (exit $ac_status); } &&
20880 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20881 { (case "(($ac_try" in
20882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20883 *) ac_try_echo=$ac_try;;
20885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20886 (eval "$ac_try") 2>&5
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); }; } &&
20890 { ac_try='test -s conftest.$ac_objext'
20891 { (case "(($ac_try" in
20892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20893 *) ac_try_echo=$ac_try;;
20895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20896 (eval "$ac_try") 2>&5
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); }; }; then
20900 ac_cv_member_struct_statfs_f_bfree=yes
20902 echo "$as_me: failed program was:" >&5
20903 sed 's/^/| /' conftest.$ac_ext >&5
20905 cat >conftest.$ac_ext <<_ACEOF
20908 cat confdefs.h >>conftest.$ac_ext
20909 cat >>conftest.$ac_ext <<_ACEOF
20910 /* end confdefs.h. */
20911 #include <sys/types.h>
20912 #ifdef HAVE_SYS_PARAM_H
20913 # include <sys/param.h>
20915 #ifdef HAVE_SYS_MOUNT_H
20916 # include <sys/mount.h>
20918 #ifdef HAVE_SYS_VFS_H
20919 # include <sys/vfs.h>
20921 #ifdef HAVE_SYS_STATFS_H
20922 # include <sys/statfs.h>
20928 static struct statfs ac_aggr;
20929 if (sizeof ac_aggr.f_bfree)
20935 rm -f conftest.$ac_objext
20936 if { (ac_try="$ac_compile"
20937 case "(($ac_try" in
20938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20939 *) ac_try_echo=$ac_try;;
20941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20942 (eval "$ac_compile") 2>conftest.er1
20944 grep -v '^ *+' conftest.er1 >conftest.err
20946 cat conftest.err >&5
20947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20948 (exit $ac_status); } &&
20949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20950 { (case "(($ac_try" in
20951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20952 *) ac_try_echo=$ac_try;;
20954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20955 (eval "$ac_try") 2>&5
20957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958 (exit $ac_status); }; } &&
20959 { ac_try='test -s conftest.$ac_objext'
20960 { (case "(($ac_try" in
20961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20962 *) ac_try_echo=$ac_try;;
20964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20965 (eval "$ac_try") 2>&5
20967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20968 (exit $ac_status); }; }; then
20969 ac_cv_member_struct_statfs_f_bfree=yes
20971 echo "$as_me: failed program was:" >&5
20972 sed 's/^/| /' conftest.$ac_ext >&5
20974 ac_cv_member_struct_statfs_f_bfree=no
20977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20982 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
20983 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
20984 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
20986 cat >>confdefs.h <<_ACEOF
20987 #define HAVE_STRUCT_STATFS_F_BFREE 1
20992 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
20993 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
20994 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
20995 echo $ECHO_N "(cached) $ECHO_C" >&6
20997 cat >conftest.$ac_ext <<_ACEOF
21000 cat confdefs.h >>conftest.$ac_ext
21001 cat >>conftest.$ac_ext <<_ACEOF
21002 /* end confdefs.h. */
21003 #include <sys/types.h>
21004 #ifdef HAVE_SYS_PARAM_H
21005 # include <sys/param.h>
21007 #ifdef HAVE_SYS_MOUNT_H
21008 # include <sys/mount.h>
21010 #ifdef HAVE_SYS_VFS_H
21011 # include <sys/vfs.h>
21013 #ifdef HAVE_SYS_STATFS_H
21014 # include <sys/statfs.h>
21020 static struct statfs ac_aggr;
21021 if (ac_aggr.f_bavail)
21027 rm -f conftest.$ac_objext
21028 if { (ac_try="$ac_compile"
21029 case "(($ac_try" in
21030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21031 *) ac_try_echo=$ac_try;;
21033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21034 (eval "$ac_compile") 2>conftest.er1
21036 grep -v '^ *+' conftest.er1 >conftest.err
21038 cat conftest.err >&5
21039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21040 (exit $ac_status); } &&
21041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21042 { (case "(($ac_try" in
21043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21044 *) ac_try_echo=$ac_try;;
21046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21047 (eval "$ac_try") 2>&5
21049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21050 (exit $ac_status); }; } &&
21051 { ac_try='test -s conftest.$ac_objext'
21052 { (case "(($ac_try" in
21053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21054 *) ac_try_echo=$ac_try;;
21056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21057 (eval "$ac_try") 2>&5
21059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21060 (exit $ac_status); }; }; then
21061 ac_cv_member_struct_statfs_f_bavail=yes
21063 echo "$as_me: failed program was:" >&5
21064 sed 's/^/| /' conftest.$ac_ext >&5
21066 cat >conftest.$ac_ext <<_ACEOF
21069 cat confdefs.h >>conftest.$ac_ext
21070 cat >>conftest.$ac_ext <<_ACEOF
21071 /* end confdefs.h. */
21072 #include <sys/types.h>
21073 #ifdef HAVE_SYS_PARAM_H
21074 # include <sys/param.h>
21076 #ifdef HAVE_SYS_MOUNT_H
21077 # include <sys/mount.h>
21079 #ifdef HAVE_SYS_VFS_H
21080 # include <sys/vfs.h>
21082 #ifdef HAVE_SYS_STATFS_H
21083 # include <sys/statfs.h>
21089 static struct statfs ac_aggr;
21090 if (sizeof ac_aggr.f_bavail)
21096 rm -f conftest.$ac_objext
21097 if { (ac_try="$ac_compile"
21098 case "(($ac_try" in
21099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21100 *) ac_try_echo=$ac_try;;
21102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21103 (eval "$ac_compile") 2>conftest.er1
21105 grep -v '^ *+' conftest.er1 >conftest.err
21107 cat conftest.err >&5
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); } &&
21110 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21111 { (case "(($ac_try" in
21112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21113 *) ac_try_echo=$ac_try;;
21115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21116 (eval "$ac_try") 2>&5
21118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119 (exit $ac_status); }; } &&
21120 { ac_try='test -s conftest.$ac_objext'
21121 { (case "(($ac_try" in
21122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21123 *) ac_try_echo=$ac_try;;
21125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21126 (eval "$ac_try") 2>&5
21128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21129 (exit $ac_status); }; }; then
21130 ac_cv_member_struct_statfs_f_bavail=yes
21132 echo "$as_me: failed program was:" >&5
21133 sed 's/^/| /' conftest.$ac_ext >&5
21135 ac_cv_member_struct_statfs_f_bavail=no
21138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21143 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
21144 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
21145 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
21147 cat >>confdefs.h <<_ACEOF
21148 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
21153 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
21154 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
21155 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
21156 echo $ECHO_N "(cached) $ECHO_C" >&6
21158 cat >conftest.$ac_ext <<_ACEOF
21161 cat confdefs.h >>conftest.$ac_ext
21162 cat >>conftest.$ac_ext <<_ACEOF
21163 /* end confdefs.h. */
21164 #include <sys/types.h>
21165 #ifdef HAVE_SYS_PARAM_H
21166 # include <sys/param.h>
21168 #ifdef HAVE_SYS_MOUNT_H
21169 # include <sys/mount.h>
21171 #ifdef HAVE_SYS_VFS_H
21172 # include <sys/vfs.h>
21174 #ifdef HAVE_SYS_STATFS_H
21175 # include <sys/statfs.h>
21181 static struct statfs ac_aggr;
21182 if (ac_aggr.f_frsize)
21188 rm -f conftest.$ac_objext
21189 if { (ac_try="$ac_compile"
21190 case "(($ac_try" in
21191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21192 *) ac_try_echo=$ac_try;;
21194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21195 (eval "$ac_compile") 2>conftest.er1
21197 grep -v '^ *+' conftest.er1 >conftest.err
21199 cat conftest.err >&5
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); } &&
21202 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21203 { (case "(($ac_try" in
21204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21205 *) ac_try_echo=$ac_try;;
21207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21208 (eval "$ac_try") 2>&5
21210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21211 (exit $ac_status); }; } &&
21212 { ac_try='test -s conftest.$ac_objext'
21213 { (case "(($ac_try" in
21214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21215 *) ac_try_echo=$ac_try;;
21217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21218 (eval "$ac_try") 2>&5
21220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21221 (exit $ac_status); }; }; then
21222 ac_cv_member_struct_statfs_f_frsize=yes
21224 echo "$as_me: failed program was:" >&5
21225 sed 's/^/| /' conftest.$ac_ext >&5
21227 cat >conftest.$ac_ext <<_ACEOF
21230 cat confdefs.h >>conftest.$ac_ext
21231 cat >>conftest.$ac_ext <<_ACEOF
21232 /* end confdefs.h. */
21233 #include <sys/types.h>
21234 #ifdef HAVE_SYS_PARAM_H
21235 # include <sys/param.h>
21237 #ifdef HAVE_SYS_MOUNT_H
21238 # include <sys/mount.h>
21240 #ifdef HAVE_SYS_VFS_H
21241 # include <sys/vfs.h>
21243 #ifdef HAVE_SYS_STATFS_H
21244 # include <sys/statfs.h>
21250 static struct statfs ac_aggr;
21251 if (sizeof ac_aggr.f_frsize)
21257 rm -f conftest.$ac_objext
21258 if { (ac_try="$ac_compile"
21259 case "(($ac_try" in
21260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21261 *) ac_try_echo=$ac_try;;
21263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21264 (eval "$ac_compile") 2>conftest.er1
21266 grep -v '^ *+' conftest.er1 >conftest.err
21268 cat conftest.err >&5
21269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21270 (exit $ac_status); } &&
21271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21272 { (case "(($ac_try" in
21273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21274 *) ac_try_echo=$ac_try;;
21276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21277 (eval "$ac_try") 2>&5
21279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21280 (exit $ac_status); }; } &&
21281 { ac_try='test -s conftest.$ac_objext'
21282 { (case "(($ac_try" in
21283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21284 *) ac_try_echo=$ac_try;;
21286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21287 (eval "$ac_try") 2>&5
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); }; }; then
21291 ac_cv_member_struct_statfs_f_frsize=yes
21293 echo "$as_me: failed program was:" >&5
21294 sed 's/^/| /' conftest.$ac_ext >&5
21296 ac_cv_member_struct_statfs_f_frsize=no
21299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21304 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
21305 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
21306 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
21308 cat >>confdefs.h <<_ACEOF
21309 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
21314 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
21315 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
21316 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
21317 echo $ECHO_N "(cached) $ECHO_C" >&6
21319 cat >conftest.$ac_ext <<_ACEOF
21322 cat confdefs.h >>conftest.$ac_ext
21323 cat >>conftest.$ac_ext <<_ACEOF
21324 /* end confdefs.h. */
21325 #include <sys/types.h>
21326 #ifdef HAVE_SYS_PARAM_H
21327 # include <sys/param.h>
21329 #ifdef HAVE_SYS_MOUNT_H
21330 # include <sys/mount.h>
21332 #ifdef HAVE_SYS_VFS_H
21333 # include <sys/vfs.h>
21335 #ifdef HAVE_SYS_STATFS_H
21336 # include <sys/statfs.h>
21342 static struct statfs ac_aggr;
21343 if (ac_aggr.f_ffree)
21349 rm -f conftest.$ac_objext
21350 if { (ac_try="$ac_compile"
21351 case "(($ac_try" in
21352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21353 *) ac_try_echo=$ac_try;;
21355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21356 (eval "$ac_compile") 2>conftest.er1
21358 grep -v '^ *+' conftest.er1 >conftest.err
21360 cat conftest.err >&5
21361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21362 (exit $ac_status); } &&
21363 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21364 { (case "(($ac_try" in
21365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21366 *) ac_try_echo=$ac_try;;
21368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21369 (eval "$ac_try") 2>&5
21371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372 (exit $ac_status); }; } &&
21373 { ac_try='test -s conftest.$ac_objext'
21374 { (case "(($ac_try" in
21375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21376 *) ac_try_echo=$ac_try;;
21378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21379 (eval "$ac_try") 2>&5
21381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21382 (exit $ac_status); }; }; then
21383 ac_cv_member_struct_statfs_f_ffree=yes
21385 echo "$as_me: failed program was:" >&5
21386 sed 's/^/| /' conftest.$ac_ext >&5
21388 cat >conftest.$ac_ext <<_ACEOF
21391 cat confdefs.h >>conftest.$ac_ext
21392 cat >>conftest.$ac_ext <<_ACEOF
21393 /* end confdefs.h. */
21394 #include <sys/types.h>
21395 #ifdef HAVE_SYS_PARAM_H
21396 # include <sys/param.h>
21398 #ifdef HAVE_SYS_MOUNT_H
21399 # include <sys/mount.h>
21401 #ifdef HAVE_SYS_VFS_H
21402 # include <sys/vfs.h>
21404 #ifdef HAVE_SYS_STATFS_H
21405 # include <sys/statfs.h>
21411 static struct statfs ac_aggr;
21412 if (sizeof ac_aggr.f_ffree)
21418 rm -f conftest.$ac_objext
21419 if { (ac_try="$ac_compile"
21420 case "(($ac_try" in
21421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21422 *) ac_try_echo=$ac_try;;
21424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21425 (eval "$ac_compile") 2>conftest.er1
21427 grep -v '^ *+' conftest.er1 >conftest.err
21429 cat conftest.err >&5
21430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21431 (exit $ac_status); } &&
21432 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21433 { (case "(($ac_try" in
21434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21435 *) ac_try_echo=$ac_try;;
21437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21438 (eval "$ac_try") 2>&5
21440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441 (exit $ac_status); }; } &&
21442 { ac_try='test -s conftest.$ac_objext'
21443 { (case "(($ac_try" in
21444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21445 *) ac_try_echo=$ac_try;;
21447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21448 (eval "$ac_try") 2>&5
21450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21451 (exit $ac_status); }; }; then
21452 ac_cv_member_struct_statfs_f_ffree=yes
21454 echo "$as_me: failed program was:" >&5
21455 sed 's/^/| /' conftest.$ac_ext >&5
21457 ac_cv_member_struct_statfs_f_ffree=no
21460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21465 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
21466 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
21467 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
21469 cat >>confdefs.h <<_ACEOF
21470 #define HAVE_STRUCT_STATFS_F_FFREE 1
21475 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
21476 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
21477 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
21478 echo $ECHO_N "(cached) $ECHO_C" >&6
21480 cat >conftest.$ac_ext <<_ACEOF
21483 cat confdefs.h >>conftest.$ac_ext
21484 cat >>conftest.$ac_ext <<_ACEOF
21485 /* end confdefs.h. */
21486 #include <sys/types.h>
21487 #ifdef HAVE_SYS_PARAM_H
21488 # include <sys/param.h>
21490 #ifdef HAVE_SYS_MOUNT_H
21491 # include <sys/mount.h>
21493 #ifdef HAVE_SYS_VFS_H
21494 # include <sys/vfs.h>
21496 #ifdef HAVE_SYS_STATFS_H
21497 # include <sys/statfs.h>
21503 static struct statfs ac_aggr;
21504 if (ac_aggr.f_favail)
21510 rm -f conftest.$ac_objext
21511 if { (ac_try="$ac_compile"
21512 case "(($ac_try" in
21513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21514 *) ac_try_echo=$ac_try;;
21516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21517 (eval "$ac_compile") 2>conftest.er1
21519 grep -v '^ *+' conftest.er1 >conftest.err
21521 cat conftest.err >&5
21522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21523 (exit $ac_status); } &&
21524 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21525 { (case "(($ac_try" in
21526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21527 *) ac_try_echo=$ac_try;;
21529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21530 (eval "$ac_try") 2>&5
21532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21533 (exit $ac_status); }; } &&
21534 { ac_try='test -s conftest.$ac_objext'
21535 { (case "(($ac_try" in
21536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21537 *) ac_try_echo=$ac_try;;
21539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21540 (eval "$ac_try") 2>&5
21542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21543 (exit $ac_status); }; }; then
21544 ac_cv_member_struct_statfs_f_favail=yes
21546 echo "$as_me: failed program was:" >&5
21547 sed 's/^/| /' conftest.$ac_ext >&5
21549 cat >conftest.$ac_ext <<_ACEOF
21552 cat confdefs.h >>conftest.$ac_ext
21553 cat >>conftest.$ac_ext <<_ACEOF
21554 /* end confdefs.h. */
21555 #include <sys/types.h>
21556 #ifdef HAVE_SYS_PARAM_H
21557 # include <sys/param.h>
21559 #ifdef HAVE_SYS_MOUNT_H
21560 # include <sys/mount.h>
21562 #ifdef HAVE_SYS_VFS_H
21563 # include <sys/vfs.h>
21565 #ifdef HAVE_SYS_STATFS_H
21566 # include <sys/statfs.h>
21572 static struct statfs ac_aggr;
21573 if (sizeof ac_aggr.f_favail)
21579 rm -f conftest.$ac_objext
21580 if { (ac_try="$ac_compile"
21581 case "(($ac_try" in
21582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21583 *) ac_try_echo=$ac_try;;
21585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21586 (eval "$ac_compile") 2>conftest.er1
21588 grep -v '^ *+' conftest.er1 >conftest.err
21590 cat conftest.err >&5
21591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21592 (exit $ac_status); } &&
21593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21594 { (case "(($ac_try" in
21595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21596 *) ac_try_echo=$ac_try;;
21598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21599 (eval "$ac_try") 2>&5
21601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21602 (exit $ac_status); }; } &&
21603 { ac_try='test -s conftest.$ac_objext'
21604 { (case "(($ac_try" in
21605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21606 *) ac_try_echo=$ac_try;;
21608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21609 (eval "$ac_try") 2>&5
21611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21612 (exit $ac_status); }; }; then
21613 ac_cv_member_struct_statfs_f_favail=yes
21615 echo "$as_me: failed program was:" >&5
21616 sed 's/^/| /' conftest.$ac_ext >&5
21618 ac_cv_member_struct_statfs_f_favail=no
21621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21626 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
21627 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
21628 if test $ac_cv_member_struct_statfs_f_favail = yes; then
21630 cat >>confdefs.h <<_ACEOF
21631 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
21636 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
21637 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
21638 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
21639 echo $ECHO_N "(cached) $ECHO_C" >&6
21641 cat >conftest.$ac_ext <<_ACEOF
21644 cat confdefs.h >>conftest.$ac_ext
21645 cat >>conftest.$ac_ext <<_ACEOF
21646 /* end confdefs.h. */
21647 #include <sys/types.h>
21648 #ifdef HAVE_SYS_PARAM_H
21649 # include <sys/param.h>
21651 #ifdef HAVE_SYS_MOUNT_H
21652 # include <sys/mount.h>
21654 #ifdef HAVE_SYS_VFS_H
21655 # include <sys/vfs.h>
21657 #ifdef HAVE_SYS_STATFS_H
21658 # include <sys/statfs.h>
21664 static struct statfs ac_aggr;
21665 if (ac_aggr.f_namelen)
21671 rm -f conftest.$ac_objext
21672 if { (ac_try="$ac_compile"
21673 case "(($ac_try" in
21674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21675 *) ac_try_echo=$ac_try;;
21677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21678 (eval "$ac_compile") 2>conftest.er1
21680 grep -v '^ *+' conftest.er1 >conftest.err
21682 cat conftest.err >&5
21683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21684 (exit $ac_status); } &&
21685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21686 { (case "(($ac_try" in
21687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21688 *) ac_try_echo=$ac_try;;
21690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21691 (eval "$ac_try") 2>&5
21693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21694 (exit $ac_status); }; } &&
21695 { ac_try='test -s conftest.$ac_objext'
21696 { (case "(($ac_try" in
21697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21698 *) ac_try_echo=$ac_try;;
21700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21701 (eval "$ac_try") 2>&5
21703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704 (exit $ac_status); }; }; then
21705 ac_cv_member_struct_statfs_f_namelen=yes
21707 echo "$as_me: failed program was:" >&5
21708 sed 's/^/| /' conftest.$ac_ext >&5
21710 cat >conftest.$ac_ext <<_ACEOF
21713 cat confdefs.h >>conftest.$ac_ext
21714 cat >>conftest.$ac_ext <<_ACEOF
21715 /* end confdefs.h. */
21716 #include <sys/types.h>
21717 #ifdef HAVE_SYS_PARAM_H
21718 # include <sys/param.h>
21720 #ifdef HAVE_SYS_MOUNT_H
21721 # include <sys/mount.h>
21723 #ifdef HAVE_SYS_VFS_H
21724 # include <sys/vfs.h>
21726 #ifdef HAVE_SYS_STATFS_H
21727 # include <sys/statfs.h>
21733 static struct statfs ac_aggr;
21734 if (sizeof ac_aggr.f_namelen)
21740 rm -f conftest.$ac_objext
21741 if { (ac_try="$ac_compile"
21742 case "(($ac_try" in
21743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21744 *) ac_try_echo=$ac_try;;
21746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21747 (eval "$ac_compile") 2>conftest.er1
21749 grep -v '^ *+' conftest.er1 >conftest.err
21751 cat conftest.err >&5
21752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21753 (exit $ac_status); } &&
21754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21755 { (case "(($ac_try" in
21756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21757 *) ac_try_echo=$ac_try;;
21759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21760 (eval "$ac_try") 2>&5
21762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21763 (exit $ac_status); }; } &&
21764 { ac_try='test -s conftest.$ac_objext'
21765 { (case "(($ac_try" in
21766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21767 *) ac_try_echo=$ac_try;;
21769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21770 (eval "$ac_try") 2>&5
21772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21773 (exit $ac_status); }; }; then
21774 ac_cv_member_struct_statfs_f_namelen=yes
21776 echo "$as_me: failed program was:" >&5
21777 sed 's/^/| /' conftest.$ac_ext >&5
21779 ac_cv_member_struct_statfs_f_namelen=no
21782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21787 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
21788 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
21789 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
21791 cat >>confdefs.h <<_ACEOF
21792 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
21799 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
21800 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
21801 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
21802 echo $ECHO_N "(cached) $ECHO_C" >&6
21804 cat >conftest.$ac_ext <<_ACEOF
21807 cat confdefs.h >>conftest.$ac_ext
21808 cat >>conftest.$ac_ext <<_ACEOF
21809 /* end confdefs.h. */
21810 #ifdef HAVE_SYS_STATVFS_H
21811 #include <sys/statvfs.h>
21817 static struct statvfs ac_aggr;
21818 if (ac_aggr.f_blocks)
21824 rm -f conftest.$ac_objext
21825 if { (ac_try="$ac_compile"
21826 case "(($ac_try" in
21827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21828 *) ac_try_echo=$ac_try;;
21830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21831 (eval "$ac_compile") 2>conftest.er1
21833 grep -v '^ *+' conftest.er1 >conftest.err
21835 cat conftest.err >&5
21836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21837 (exit $ac_status); } &&
21838 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21839 { (case "(($ac_try" in
21840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21841 *) ac_try_echo=$ac_try;;
21843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21844 (eval "$ac_try") 2>&5
21846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21847 (exit $ac_status); }; } &&
21848 { ac_try='test -s conftest.$ac_objext'
21849 { (case "(($ac_try" in
21850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21851 *) ac_try_echo=$ac_try;;
21853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21854 (eval "$ac_try") 2>&5
21856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21857 (exit $ac_status); }; }; then
21858 ac_cv_member_struct_statvfs_f_blocks=yes
21860 echo "$as_me: failed program was:" >&5
21861 sed 's/^/| /' conftest.$ac_ext >&5
21863 cat >conftest.$ac_ext <<_ACEOF
21866 cat confdefs.h >>conftest.$ac_ext
21867 cat >>conftest.$ac_ext <<_ACEOF
21868 /* end confdefs.h. */
21869 #ifdef HAVE_SYS_STATVFS_H
21870 #include <sys/statvfs.h>
21876 static struct statvfs ac_aggr;
21877 if (sizeof ac_aggr.f_blocks)
21883 rm -f conftest.$ac_objext
21884 if { (ac_try="$ac_compile"
21885 case "(($ac_try" in
21886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21887 *) ac_try_echo=$ac_try;;
21889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21890 (eval "$ac_compile") 2>conftest.er1
21892 grep -v '^ *+' conftest.er1 >conftest.err
21894 cat conftest.err >&5
21895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21896 (exit $ac_status); } &&
21897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21898 { (case "(($ac_try" in
21899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21900 *) ac_try_echo=$ac_try;;
21902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21903 (eval "$ac_try") 2>&5
21905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21906 (exit $ac_status); }; } &&
21907 { ac_try='test -s conftest.$ac_objext'
21908 { (case "(($ac_try" in
21909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21910 *) ac_try_echo=$ac_try;;
21912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21913 (eval "$ac_try") 2>&5
21915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21916 (exit $ac_status); }; }; then
21917 ac_cv_member_struct_statvfs_f_blocks=yes
21919 echo "$as_me: failed program was:" >&5
21920 sed 's/^/| /' conftest.$ac_ext >&5
21922 ac_cv_member_struct_statvfs_f_blocks=no
21925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21930 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
21931 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
21932 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
21934 cat >>confdefs.h <<_ACEOF
21935 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
21942 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
21943 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
21944 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
21945 echo $ECHO_N "(cached) $ECHO_C" >&6
21947 cat >conftest.$ac_ext <<_ACEOF
21950 cat confdefs.h >>conftest.$ac_ext
21951 cat >>conftest.$ac_ext <<_ACEOF
21952 /* end confdefs.h. */
21953 #include <sys/types.h>
21954 #ifdef HAVE_SYS_SOCKET_H
21955 # include <sys/socket.h>
21957 #ifdef HAVE_SYS_UN_H
21958 # include <sys/un.h>
21964 static struct msghdr ac_aggr;
21965 if (ac_aggr.msg_accrights)
21971 rm -f conftest.$ac_objext
21972 if { (ac_try="$ac_compile"
21973 case "(($ac_try" in
21974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21975 *) ac_try_echo=$ac_try;;
21977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21978 (eval "$ac_compile") 2>conftest.er1
21980 grep -v '^ *+' conftest.er1 >conftest.err
21982 cat conftest.err >&5
21983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21984 (exit $ac_status); } &&
21985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21986 { (case "(($ac_try" in
21987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21988 *) ac_try_echo=$ac_try;;
21990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21991 (eval "$ac_try") 2>&5
21993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994 (exit $ac_status); }; } &&
21995 { ac_try='test -s conftest.$ac_objext'
21996 { (case "(($ac_try" in
21997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21998 *) ac_try_echo=$ac_try;;
22000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22001 (eval "$ac_try") 2>&5
22003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22004 (exit $ac_status); }; }; then
22005 ac_cv_member_struct_msghdr_msg_accrights=yes
22007 echo "$as_me: failed program was:" >&5
22008 sed 's/^/| /' conftest.$ac_ext >&5
22010 cat >conftest.$ac_ext <<_ACEOF
22013 cat confdefs.h >>conftest.$ac_ext
22014 cat >>conftest.$ac_ext <<_ACEOF
22015 /* end confdefs.h. */
22016 #include <sys/types.h>
22017 #ifdef HAVE_SYS_SOCKET_H
22018 # include <sys/socket.h>
22020 #ifdef HAVE_SYS_UN_H
22021 # include <sys/un.h>
22027 static struct msghdr ac_aggr;
22028 if (sizeof ac_aggr.msg_accrights)
22034 rm -f conftest.$ac_objext
22035 if { (ac_try="$ac_compile"
22036 case "(($ac_try" in
22037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22038 *) ac_try_echo=$ac_try;;
22040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22041 (eval "$ac_compile") 2>conftest.er1
22043 grep -v '^ *+' conftest.er1 >conftest.err
22045 cat conftest.err >&5
22046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047 (exit $ac_status); } &&
22048 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22049 { (case "(($ac_try" in
22050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22051 *) ac_try_echo=$ac_try;;
22053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22054 (eval "$ac_try") 2>&5
22056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22057 (exit $ac_status); }; } &&
22058 { ac_try='test -s conftest.$ac_objext'
22059 { (case "(($ac_try" in
22060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22061 *) ac_try_echo=$ac_try;;
22063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22064 (eval "$ac_try") 2>&5
22066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22067 (exit $ac_status); }; }; then
22068 ac_cv_member_struct_msghdr_msg_accrights=yes
22070 echo "$as_me: failed program was:" >&5
22071 sed 's/^/| /' conftest.$ac_ext >&5
22073 ac_cv_member_struct_msghdr_msg_accrights=no
22076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22081 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
22082 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
22083 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
22085 cat >>confdefs.h <<_ACEOF
22086 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
22091 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
22092 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
22093 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
22094 echo $ECHO_N "(cached) $ECHO_C" >&6
22096 cat >conftest.$ac_ext <<_ACEOF
22099 cat confdefs.h >>conftest.$ac_ext
22100 cat >>conftest.$ac_ext <<_ACEOF
22101 /* end confdefs.h. */
22102 #include <sys/types.h>
22103 #ifdef HAVE_SYS_SOCKET_H
22104 # include <sys/socket.h>
22106 #ifdef HAVE_SYS_UN_H
22107 # include <sys/un.h>
22113 static struct sockaddr ac_aggr;
22114 if (ac_aggr.sa_len)
22120 rm -f conftest.$ac_objext
22121 if { (ac_try="$ac_compile"
22122 case "(($ac_try" in
22123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22124 *) ac_try_echo=$ac_try;;
22126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22127 (eval "$ac_compile") 2>conftest.er1
22129 grep -v '^ *+' conftest.er1 >conftest.err
22131 cat conftest.err >&5
22132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133 (exit $ac_status); } &&
22134 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22135 { (case "(($ac_try" in
22136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22137 *) ac_try_echo=$ac_try;;
22139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22140 (eval "$ac_try") 2>&5
22142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22143 (exit $ac_status); }; } &&
22144 { ac_try='test -s conftest.$ac_objext'
22145 { (case "(($ac_try" in
22146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22147 *) ac_try_echo=$ac_try;;
22149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22150 (eval "$ac_try") 2>&5
22152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22153 (exit $ac_status); }; }; then
22154 ac_cv_member_struct_sockaddr_sa_len=yes
22156 echo "$as_me: failed program was:" >&5
22157 sed 's/^/| /' conftest.$ac_ext >&5
22159 cat >conftest.$ac_ext <<_ACEOF
22162 cat confdefs.h >>conftest.$ac_ext
22163 cat >>conftest.$ac_ext <<_ACEOF
22164 /* end confdefs.h. */
22165 #include <sys/types.h>
22166 #ifdef HAVE_SYS_SOCKET_H
22167 # include <sys/socket.h>
22169 #ifdef HAVE_SYS_UN_H
22170 # include <sys/un.h>
22176 static struct sockaddr ac_aggr;
22177 if (sizeof ac_aggr.sa_len)
22183 rm -f conftest.$ac_objext
22184 if { (ac_try="$ac_compile"
22185 case "(($ac_try" in
22186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22187 *) ac_try_echo=$ac_try;;
22189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22190 (eval "$ac_compile") 2>conftest.er1
22192 grep -v '^ *+' conftest.er1 >conftest.err
22194 cat conftest.err >&5
22195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22196 (exit $ac_status); } &&
22197 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22198 { (case "(($ac_try" in
22199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22200 *) ac_try_echo=$ac_try;;
22202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22203 (eval "$ac_try") 2>&5
22205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22206 (exit $ac_status); }; } &&
22207 { ac_try='test -s conftest.$ac_objext'
22208 { (case "(($ac_try" in
22209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22210 *) ac_try_echo=$ac_try;;
22212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22213 (eval "$ac_try") 2>&5
22215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216 (exit $ac_status); }; }; then
22217 ac_cv_member_struct_sockaddr_sa_len=yes
22219 echo "$as_me: failed program was:" >&5
22220 sed 's/^/| /' conftest.$ac_ext >&5
22222 ac_cv_member_struct_sockaddr_sa_len=no
22225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22230 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
22231 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
22232 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
22234 cat >>confdefs.h <<_ACEOF
22235 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
22240 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
22241 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
22242 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
22243 echo $ECHO_N "(cached) $ECHO_C" >&6
22245 cat >conftest.$ac_ext <<_ACEOF
22248 cat confdefs.h >>conftest.$ac_ext
22249 cat >>conftest.$ac_ext <<_ACEOF
22250 /* end confdefs.h. */
22251 #include <sys/types.h>
22252 #ifdef HAVE_SYS_SOCKET_H
22253 # include <sys/socket.h>
22255 #ifdef HAVE_SYS_UN_H
22256 # include <sys/un.h>
22262 static struct sockaddr_un ac_aggr;
22263 if (ac_aggr.sun_len)
22269 rm -f conftest.$ac_objext
22270 if { (ac_try="$ac_compile"
22271 case "(($ac_try" in
22272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22273 *) ac_try_echo=$ac_try;;
22275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22276 (eval "$ac_compile") 2>conftest.er1
22278 grep -v '^ *+' conftest.er1 >conftest.err
22280 cat conftest.err >&5
22281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22282 (exit $ac_status); } &&
22283 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22284 { (case "(($ac_try" in
22285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22286 *) ac_try_echo=$ac_try;;
22288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22289 (eval "$ac_try") 2>&5
22291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22292 (exit $ac_status); }; } &&
22293 { ac_try='test -s conftest.$ac_objext'
22294 { (case "(($ac_try" in
22295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22296 *) ac_try_echo=$ac_try;;
22298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22299 (eval "$ac_try") 2>&5
22301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22302 (exit $ac_status); }; }; then
22303 ac_cv_member_struct_sockaddr_un_sun_len=yes
22305 echo "$as_me: failed program was:" >&5
22306 sed 's/^/| /' conftest.$ac_ext >&5
22308 cat >conftest.$ac_ext <<_ACEOF
22311 cat confdefs.h >>conftest.$ac_ext
22312 cat >>conftest.$ac_ext <<_ACEOF
22313 /* end confdefs.h. */
22314 #include <sys/types.h>
22315 #ifdef HAVE_SYS_SOCKET_H
22316 # include <sys/socket.h>
22318 #ifdef HAVE_SYS_UN_H
22319 # include <sys/un.h>
22325 static struct sockaddr_un ac_aggr;
22326 if (sizeof ac_aggr.sun_len)
22332 rm -f conftest.$ac_objext
22333 if { (ac_try="$ac_compile"
22334 case "(($ac_try" in
22335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22336 *) ac_try_echo=$ac_try;;
22338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22339 (eval "$ac_compile") 2>conftest.er1
22341 grep -v '^ *+' conftest.er1 >conftest.err
22343 cat conftest.err >&5
22344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22345 (exit $ac_status); } &&
22346 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22347 { (case "(($ac_try" in
22348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22349 *) ac_try_echo=$ac_try;;
22351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22352 (eval "$ac_try") 2>&5
22354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22355 (exit $ac_status); }; } &&
22356 { ac_try='test -s conftest.$ac_objext'
22357 { (case "(($ac_try" in
22358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22359 *) ac_try_echo=$ac_try;;
22361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22362 (eval "$ac_try") 2>&5
22364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22365 (exit $ac_status); }; }; then
22366 ac_cv_member_struct_sockaddr_un_sun_len=yes
22368 echo "$as_me: failed program was:" >&5
22369 sed 's/^/| /' conftest.$ac_ext >&5
22371 ac_cv_member_struct_sockaddr_un_sun_len=no
22374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22379 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
22380 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
22381 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
22383 cat >>confdefs.h <<_ACEOF
22384 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
22391 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
22392 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
22393 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
22394 echo $ECHO_N "(cached) $ECHO_C" >&6
22396 cat >conftest.$ac_ext <<_ACEOF
22399 cat confdefs.h >>conftest.$ac_ext
22400 cat >>conftest.$ac_ext <<_ACEOF
22401 /* end confdefs.h. */
22402 #include <sys/types.h>
22403 #ifdef HAVE_SCSI_SG_H
22404 #include <scsi/sg.h>
22410 static scsireq_t ac_aggr;
22417 rm -f conftest.$ac_objext
22418 if { (ac_try="$ac_compile"
22419 case "(($ac_try" in
22420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22421 *) ac_try_echo=$ac_try;;
22423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22424 (eval "$ac_compile") 2>conftest.er1
22426 grep -v '^ *+' conftest.er1 >conftest.err
22428 cat conftest.err >&5
22429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22430 (exit $ac_status); } &&
22431 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22432 { (case "(($ac_try" in
22433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22434 *) ac_try_echo=$ac_try;;
22436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22437 (eval "$ac_try") 2>&5
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440 (exit $ac_status); }; } &&
22441 { ac_try='test -s conftest.$ac_objext'
22442 { (case "(($ac_try" in
22443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22444 *) ac_try_echo=$ac_try;;
22446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22447 (eval "$ac_try") 2>&5
22449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22450 (exit $ac_status); }; }; then
22451 ac_cv_member_scsireq_t_cmd=yes
22453 echo "$as_me: failed program was:" >&5
22454 sed 's/^/| /' conftest.$ac_ext >&5
22456 cat >conftest.$ac_ext <<_ACEOF
22459 cat confdefs.h >>conftest.$ac_ext
22460 cat >>conftest.$ac_ext <<_ACEOF
22461 /* end confdefs.h. */
22462 #include <sys/types.h>
22463 #ifdef HAVE_SCSI_SG_H
22464 #include <scsi/sg.h>
22470 static scsireq_t ac_aggr;
22471 if (sizeof ac_aggr.cmd)
22477 rm -f conftest.$ac_objext
22478 if { (ac_try="$ac_compile"
22479 case "(($ac_try" in
22480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22481 *) ac_try_echo=$ac_try;;
22483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22484 (eval "$ac_compile") 2>conftest.er1
22486 grep -v '^ *+' conftest.er1 >conftest.err
22488 cat conftest.err >&5
22489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22490 (exit $ac_status); } &&
22491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22492 { (case "(($ac_try" in
22493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22494 *) ac_try_echo=$ac_try;;
22496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22497 (eval "$ac_try") 2>&5
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); }; } &&
22501 { ac_try='test -s conftest.$ac_objext'
22502 { (case "(($ac_try" in
22503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22504 *) ac_try_echo=$ac_try;;
22506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22507 (eval "$ac_try") 2>&5
22509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22510 (exit $ac_status); }; }; then
22511 ac_cv_member_scsireq_t_cmd=yes
22513 echo "$as_me: failed program was:" >&5
22514 sed 's/^/| /' conftest.$ac_ext >&5
22516 ac_cv_member_scsireq_t_cmd=no
22519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22524 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
22525 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
22526 if test $ac_cv_member_scsireq_t_cmd = yes; then
22528 cat >>confdefs.h <<_ACEOF
22529 #define HAVE_SCSIREQ_T_CMD 1
22534 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
22535 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
22536 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
22537 echo $ECHO_N "(cached) $ECHO_C" >&6
22539 cat >conftest.$ac_ext <<_ACEOF
22542 cat confdefs.h >>conftest.$ac_ext
22543 cat >>conftest.$ac_ext <<_ACEOF
22544 /* end confdefs.h. */
22545 #include <sys/types.h>
22546 #ifdef HAVE_SCSI_SG_H
22547 #include <scsi/sg.h>
22553 static sg_io_hdr_t ac_aggr;
22554 if (ac_aggr.interface_id)
22560 rm -f conftest.$ac_objext
22561 if { (ac_try="$ac_compile"
22562 case "(($ac_try" in
22563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22564 *) ac_try_echo=$ac_try;;
22566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22567 (eval "$ac_compile") 2>conftest.er1
22569 grep -v '^ *+' conftest.er1 >conftest.err
22571 cat conftest.err >&5
22572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22573 (exit $ac_status); } &&
22574 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22575 { (case "(($ac_try" in
22576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22577 *) ac_try_echo=$ac_try;;
22579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22580 (eval "$ac_try") 2>&5
22582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22583 (exit $ac_status); }; } &&
22584 { ac_try='test -s conftest.$ac_objext'
22585 { (case "(($ac_try" in
22586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22587 *) ac_try_echo=$ac_try;;
22589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22590 (eval "$ac_try") 2>&5
22592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22593 (exit $ac_status); }; }; then
22594 ac_cv_member_sg_io_hdr_t_interface_id=yes
22596 echo "$as_me: failed program was:" >&5
22597 sed 's/^/| /' conftest.$ac_ext >&5
22599 cat >conftest.$ac_ext <<_ACEOF
22602 cat confdefs.h >>conftest.$ac_ext
22603 cat >>conftest.$ac_ext <<_ACEOF
22604 /* end confdefs.h. */
22605 #include <sys/types.h>
22606 #ifdef HAVE_SCSI_SG_H
22607 #include <scsi/sg.h>
22613 static sg_io_hdr_t ac_aggr;
22614 if (sizeof ac_aggr.interface_id)
22620 rm -f conftest.$ac_objext
22621 if { (ac_try="$ac_compile"
22622 case "(($ac_try" in
22623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22624 *) ac_try_echo=$ac_try;;
22626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22627 (eval "$ac_compile") 2>conftest.er1
22629 grep -v '^ *+' conftest.er1 >conftest.err
22631 cat conftest.err >&5
22632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22633 (exit $ac_status); } &&
22634 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22635 { (case "(($ac_try" in
22636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22637 *) ac_try_echo=$ac_try;;
22639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22640 (eval "$ac_try") 2>&5
22642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22643 (exit $ac_status); }; } &&
22644 { ac_try='test -s conftest.$ac_objext'
22645 { (case "(($ac_try" in
22646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22647 *) ac_try_echo=$ac_try;;
22649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22650 (eval "$ac_try") 2>&5
22652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22653 (exit $ac_status); }; }; then
22654 ac_cv_member_sg_io_hdr_t_interface_id=yes
22656 echo "$as_me: failed program was:" >&5
22657 sed 's/^/| /' conftest.$ac_ext >&5
22659 ac_cv_member_sg_io_hdr_t_interface_id=no
22662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22667 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
22668 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
22669 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
22671 cat >>confdefs.h <<_ACEOF
22672 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22679 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
22680 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
22681 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
22682 echo $ECHO_N "(cached) $ECHO_C" >&6
22684 cat >conftest.$ac_ext <<_ACEOF
22687 cat confdefs.h >>conftest.$ac_ext
22688 cat >>conftest.$ac_ext <<_ACEOF
22689 /* end confdefs.h. */
22690 #include <signal.h>
22695 static siginfo_t ac_aggr;
22702 rm -f conftest.$ac_objext
22703 if { (ac_try="$ac_compile"
22704 case "(($ac_try" in
22705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22706 *) ac_try_echo=$ac_try;;
22708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22709 (eval "$ac_compile") 2>conftest.er1
22711 grep -v '^ *+' conftest.er1 >conftest.err
22713 cat conftest.err >&5
22714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715 (exit $ac_status); } &&
22716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22717 { (case "(($ac_try" in
22718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22719 *) ac_try_echo=$ac_try;;
22721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22722 (eval "$ac_try") 2>&5
22724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22725 (exit $ac_status); }; } &&
22726 { ac_try='test -s conftest.$ac_objext'
22727 { (case "(($ac_try" in
22728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22729 *) ac_try_echo=$ac_try;;
22731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22732 (eval "$ac_try") 2>&5
22734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22735 (exit $ac_status); }; }; then
22736 ac_cv_member_siginfo_t_si_fd=yes
22738 echo "$as_me: failed program was:" >&5
22739 sed 's/^/| /' conftest.$ac_ext >&5
22741 cat >conftest.$ac_ext <<_ACEOF
22744 cat confdefs.h >>conftest.$ac_ext
22745 cat >>conftest.$ac_ext <<_ACEOF
22746 /* end confdefs.h. */
22747 #include <signal.h>
22752 static siginfo_t ac_aggr;
22753 if (sizeof ac_aggr.si_fd)
22759 rm -f conftest.$ac_objext
22760 if { (ac_try="$ac_compile"
22761 case "(($ac_try" in
22762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22763 *) ac_try_echo=$ac_try;;
22765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22766 (eval "$ac_compile") 2>conftest.er1
22768 grep -v '^ *+' conftest.er1 >conftest.err
22770 cat conftest.err >&5
22771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22772 (exit $ac_status); } &&
22773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22774 { (case "(($ac_try" in
22775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22776 *) ac_try_echo=$ac_try;;
22778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22779 (eval "$ac_try") 2>&5
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); }; } &&
22783 { ac_try='test -s conftest.$ac_objext'
22784 { (case "(($ac_try" in
22785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22786 *) ac_try_echo=$ac_try;;
22788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22789 (eval "$ac_try") 2>&5
22791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22792 (exit $ac_status); }; }; then
22793 ac_cv_member_siginfo_t_si_fd=yes
22795 echo "$as_me: failed program was:" >&5
22796 sed 's/^/| /' conftest.$ac_ext >&5
22798 ac_cv_member_siginfo_t_si_fd=no
22801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22806 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
22807 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
22808 if test $ac_cv_member_siginfo_t_si_fd = yes; then
22810 cat >>confdefs.h <<_ACEOF
22811 #define HAVE_SIGINFO_T_SI_FD 1
22818 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
22819 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
22820 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
22821 echo $ECHO_N "(cached) $ECHO_C" >&6
22823 cat >conftest.$ac_ext <<_ACEOF
22826 cat confdefs.h >>conftest.$ac_ext
22827 cat >>conftest.$ac_ext <<_ACEOF
22828 /* end confdefs.h. */
22829 #include <sys/types.h>
22830 #ifdef HAVE_SYS_MTIO_H
22831 #include <sys/mtio.h>
22837 static struct mtget ac_aggr;
22838 if (ac_aggr.mt_blksiz)
22844 rm -f conftest.$ac_objext
22845 if { (ac_try="$ac_compile"
22846 case "(($ac_try" in
22847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22848 *) ac_try_echo=$ac_try;;
22850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22851 (eval "$ac_compile") 2>conftest.er1
22853 grep -v '^ *+' conftest.er1 >conftest.err
22855 cat conftest.err >&5
22856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22857 (exit $ac_status); } &&
22858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22859 { (case "(($ac_try" in
22860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22861 *) ac_try_echo=$ac_try;;
22863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22864 (eval "$ac_try") 2>&5
22866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867 (exit $ac_status); }; } &&
22868 { ac_try='test -s conftest.$ac_objext'
22869 { (case "(($ac_try" in
22870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22871 *) ac_try_echo=$ac_try;;
22873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22874 (eval "$ac_try") 2>&5
22876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22877 (exit $ac_status); }; }; then
22878 ac_cv_member_struct_mtget_mt_blksiz=yes
22880 echo "$as_me: failed program was:" >&5
22881 sed 's/^/| /' conftest.$ac_ext >&5
22883 cat >conftest.$ac_ext <<_ACEOF
22886 cat confdefs.h >>conftest.$ac_ext
22887 cat >>conftest.$ac_ext <<_ACEOF
22888 /* end confdefs.h. */
22889 #include <sys/types.h>
22890 #ifdef HAVE_SYS_MTIO_H
22891 #include <sys/mtio.h>
22897 static struct mtget ac_aggr;
22898 if (sizeof ac_aggr.mt_blksiz)
22904 rm -f conftest.$ac_objext
22905 if { (ac_try="$ac_compile"
22906 case "(($ac_try" in
22907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22908 *) ac_try_echo=$ac_try;;
22910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22911 (eval "$ac_compile") 2>conftest.er1
22913 grep -v '^ *+' conftest.er1 >conftest.err
22915 cat conftest.err >&5
22916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22917 (exit $ac_status); } &&
22918 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22919 { (case "(($ac_try" in
22920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22921 *) ac_try_echo=$ac_try;;
22923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22924 (eval "$ac_try") 2>&5
22926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22927 (exit $ac_status); }; } &&
22928 { ac_try='test -s conftest.$ac_objext'
22929 { (case "(($ac_try" in
22930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22931 *) ac_try_echo=$ac_try;;
22933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22934 (eval "$ac_try") 2>&5
22936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937 (exit $ac_status); }; }; then
22938 ac_cv_member_struct_mtget_mt_blksiz=yes
22940 echo "$as_me: failed program was:" >&5
22941 sed 's/^/| /' conftest.$ac_ext >&5
22943 ac_cv_member_struct_mtget_mt_blksiz=no
22946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22951 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
22952 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
22953 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
22955 cat >>confdefs.h <<_ACEOF
22956 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
22961 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
22962 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
22963 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
22964 echo $ECHO_N "(cached) $ECHO_C" >&6
22966 cat >conftest.$ac_ext <<_ACEOF
22969 cat confdefs.h >>conftest.$ac_ext
22970 cat >>conftest.$ac_ext <<_ACEOF
22971 /* end confdefs.h. */
22972 #include <sys/types.h>
22973 #ifdef HAVE_SYS_MTIO_H
22974 #include <sys/mtio.h>
22980 static struct mtget ac_aggr;
22981 if (ac_aggr.mt_gstat)
22987 rm -f conftest.$ac_objext
22988 if { (ac_try="$ac_compile"
22989 case "(($ac_try" in
22990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22991 *) ac_try_echo=$ac_try;;
22993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22994 (eval "$ac_compile") 2>conftest.er1
22996 grep -v '^ *+' conftest.er1 >conftest.err
22998 cat conftest.err >&5
22999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23000 (exit $ac_status); } &&
23001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23002 { (case "(($ac_try" in
23003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23004 *) ac_try_echo=$ac_try;;
23006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23007 (eval "$ac_try") 2>&5
23009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23010 (exit $ac_status); }; } &&
23011 { ac_try='test -s conftest.$ac_objext'
23012 { (case "(($ac_try" in
23013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23014 *) ac_try_echo=$ac_try;;
23016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23017 (eval "$ac_try") 2>&5
23019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23020 (exit $ac_status); }; }; then
23021 ac_cv_member_struct_mtget_mt_gstat=yes
23023 echo "$as_me: failed program was:" >&5
23024 sed 's/^/| /' conftest.$ac_ext >&5
23026 cat >conftest.$ac_ext <<_ACEOF
23029 cat confdefs.h >>conftest.$ac_ext
23030 cat >>conftest.$ac_ext <<_ACEOF
23031 /* end confdefs.h. */
23032 #include <sys/types.h>
23033 #ifdef HAVE_SYS_MTIO_H
23034 #include <sys/mtio.h>
23040 static struct mtget ac_aggr;
23041 if (sizeof ac_aggr.mt_gstat)
23047 rm -f conftest.$ac_objext
23048 if { (ac_try="$ac_compile"
23049 case "(($ac_try" in
23050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23051 *) ac_try_echo=$ac_try;;
23053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23054 (eval "$ac_compile") 2>conftest.er1
23056 grep -v '^ *+' conftest.er1 >conftest.err
23058 cat conftest.err >&5
23059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23060 (exit $ac_status); } &&
23061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23062 { (case "(($ac_try" in
23063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23064 *) ac_try_echo=$ac_try;;
23066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23067 (eval "$ac_try") 2>&5
23069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23070 (exit $ac_status); }; } &&
23071 { ac_try='test -s conftest.$ac_objext'
23072 { (case "(($ac_try" in
23073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23074 *) ac_try_echo=$ac_try;;
23076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23077 (eval "$ac_try") 2>&5
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); }; }; then
23081 ac_cv_member_struct_mtget_mt_gstat=yes
23083 echo "$as_me: failed program was:" >&5
23084 sed 's/^/| /' conftest.$ac_ext >&5
23086 ac_cv_member_struct_mtget_mt_gstat=no
23089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23094 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
23095 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
23096 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
23098 cat >>confdefs.h <<_ACEOF
23099 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
23104 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
23105 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
23106 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
23107 echo $ECHO_N "(cached) $ECHO_C" >&6
23109 cat >conftest.$ac_ext <<_ACEOF
23112 cat confdefs.h >>conftest.$ac_ext
23113 cat >>conftest.$ac_ext <<_ACEOF
23114 /* end confdefs.h. */
23115 #include <sys/types.h>
23116 #ifdef HAVE_SYS_MTIO_H
23117 #include <sys/mtio.h>
23123 static struct mtget ac_aggr;
23124 if (ac_aggr.mt_blkno)
23130 rm -f conftest.$ac_objext
23131 if { (ac_try="$ac_compile"
23132 case "(($ac_try" in
23133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23134 *) ac_try_echo=$ac_try;;
23136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23137 (eval "$ac_compile") 2>conftest.er1
23139 grep -v '^ *+' conftest.er1 >conftest.err
23141 cat conftest.err >&5
23142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23143 (exit $ac_status); } &&
23144 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23145 { (case "(($ac_try" in
23146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23147 *) ac_try_echo=$ac_try;;
23149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23150 (eval "$ac_try") 2>&5
23152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153 (exit $ac_status); }; } &&
23154 { ac_try='test -s conftest.$ac_objext'
23155 { (case "(($ac_try" in
23156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23157 *) ac_try_echo=$ac_try;;
23159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23160 (eval "$ac_try") 2>&5
23162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23163 (exit $ac_status); }; }; then
23164 ac_cv_member_struct_mtget_mt_blkno=yes
23166 echo "$as_me: failed program was:" >&5
23167 sed 's/^/| /' conftest.$ac_ext >&5
23169 cat >conftest.$ac_ext <<_ACEOF
23172 cat confdefs.h >>conftest.$ac_ext
23173 cat >>conftest.$ac_ext <<_ACEOF
23174 /* end confdefs.h. */
23175 #include <sys/types.h>
23176 #ifdef HAVE_SYS_MTIO_H
23177 #include <sys/mtio.h>
23183 static struct mtget ac_aggr;
23184 if (sizeof ac_aggr.mt_blkno)
23190 rm -f conftest.$ac_objext
23191 if { (ac_try="$ac_compile"
23192 case "(($ac_try" in
23193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23194 *) ac_try_echo=$ac_try;;
23196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23197 (eval "$ac_compile") 2>conftest.er1
23199 grep -v '^ *+' conftest.er1 >conftest.err
23201 cat conftest.err >&5
23202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23203 (exit $ac_status); } &&
23204 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23205 { (case "(($ac_try" in
23206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23207 *) ac_try_echo=$ac_try;;
23209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23210 (eval "$ac_try") 2>&5
23212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23213 (exit $ac_status); }; } &&
23214 { ac_try='test -s conftest.$ac_objext'
23215 { (case "(($ac_try" in
23216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23217 *) ac_try_echo=$ac_try;;
23219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23220 (eval "$ac_try") 2>&5
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); }; }; then
23224 ac_cv_member_struct_mtget_mt_blkno=yes
23226 echo "$as_me: failed program was:" >&5
23227 sed 's/^/| /' conftest.$ac_ext >&5
23229 ac_cv_member_struct_mtget_mt_blkno=no
23232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23237 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
23238 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
23239 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
23241 cat >>confdefs.h <<_ACEOF
23242 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
23249 { echo "$as_me:$LINENO: checking for struct option.name" >&5
23250 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
23251 if test "${ac_cv_member_struct_option_name+set}" = set; then
23252 echo $ECHO_N "(cached) $ECHO_C" >&6
23254 cat >conftest.$ac_ext <<_ACEOF
23257 cat confdefs.h >>conftest.$ac_ext
23258 cat >>conftest.$ac_ext <<_ACEOF
23259 /* end confdefs.h. */
23260 #ifdef HAVE_GETOPT_H
23261 #include <getopt.h>
23267 static struct option ac_aggr;
23274 rm -f conftest.$ac_objext
23275 if { (ac_try="$ac_compile"
23276 case "(($ac_try" in
23277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23278 *) ac_try_echo=$ac_try;;
23280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23281 (eval "$ac_compile") 2>conftest.er1
23283 grep -v '^ *+' conftest.er1 >conftest.err
23285 cat conftest.err >&5
23286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23287 (exit $ac_status); } &&
23288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23289 { (case "(($ac_try" in
23290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23291 *) ac_try_echo=$ac_try;;
23293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23294 (eval "$ac_try") 2>&5
23296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23297 (exit $ac_status); }; } &&
23298 { ac_try='test -s conftest.$ac_objext'
23299 { (case "(($ac_try" in
23300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23301 *) ac_try_echo=$ac_try;;
23303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23304 (eval "$ac_try") 2>&5
23306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23307 (exit $ac_status); }; }; then
23308 ac_cv_member_struct_option_name=yes
23310 echo "$as_me: failed program was:" >&5
23311 sed 's/^/| /' conftest.$ac_ext >&5
23313 cat >conftest.$ac_ext <<_ACEOF
23316 cat confdefs.h >>conftest.$ac_ext
23317 cat >>conftest.$ac_ext <<_ACEOF
23318 /* end confdefs.h. */
23319 #ifdef HAVE_GETOPT_H
23320 #include <getopt.h>
23326 static struct option ac_aggr;
23327 if (sizeof ac_aggr.name)
23333 rm -f conftest.$ac_objext
23334 if { (ac_try="$ac_compile"
23335 case "(($ac_try" in
23336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23337 *) ac_try_echo=$ac_try;;
23339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23340 (eval "$ac_compile") 2>conftest.er1
23342 grep -v '^ *+' conftest.er1 >conftest.err
23344 cat conftest.err >&5
23345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23346 (exit $ac_status); } &&
23347 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23348 { (case "(($ac_try" in
23349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23350 *) ac_try_echo=$ac_try;;
23352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23353 (eval "$ac_try") 2>&5
23355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23356 (exit $ac_status); }; } &&
23357 { ac_try='test -s conftest.$ac_objext'
23358 { (case "(($ac_try" in
23359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23360 *) ac_try_echo=$ac_try;;
23362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23363 (eval "$ac_try") 2>&5
23365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23366 (exit $ac_status); }; }; then
23367 ac_cv_member_struct_option_name=yes
23369 echo "$as_me: failed program was:" >&5
23370 sed 's/^/| /' conftest.$ac_ext >&5
23372 ac_cv_member_struct_option_name=no
23375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23380 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
23381 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
23382 if test $ac_cv_member_struct_option_name = yes; then
23384 cat >>confdefs.h <<_ACEOF
23385 #define HAVE_STRUCT_OPTION_NAME 1
23392 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
23393 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
23394 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
23395 echo $ECHO_N "(cached) $ECHO_C" >&6
23397 cat >conftest.$ac_ext <<_ACEOF
23400 cat confdefs.h >>conftest.$ac_ext
23401 cat >>conftest.$ac_ext <<_ACEOF
23402 /* end confdefs.h. */
23403 $ac_includes_default
23407 static struct stat ac_aggr;
23408 if (ac_aggr.st_blocks)
23414 rm -f conftest.$ac_objext
23415 if { (ac_try="$ac_compile"
23416 case "(($ac_try" in
23417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23418 *) ac_try_echo=$ac_try;;
23420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23421 (eval "$ac_compile") 2>conftest.er1
23423 grep -v '^ *+' conftest.er1 >conftest.err
23425 cat conftest.err >&5
23426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23427 (exit $ac_status); } &&
23428 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23429 { (case "(($ac_try" in
23430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23431 *) ac_try_echo=$ac_try;;
23433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23434 (eval "$ac_try") 2>&5
23436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23437 (exit $ac_status); }; } &&
23438 { ac_try='test -s conftest.$ac_objext'
23439 { (case "(($ac_try" in
23440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23441 *) ac_try_echo=$ac_try;;
23443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23444 (eval "$ac_try") 2>&5
23446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23447 (exit $ac_status); }; }; then
23448 ac_cv_member_struct_stat_st_blocks=yes
23450 echo "$as_me: failed program was:" >&5
23451 sed 's/^/| /' conftest.$ac_ext >&5
23453 cat >conftest.$ac_ext <<_ACEOF
23456 cat confdefs.h >>conftest.$ac_ext
23457 cat >>conftest.$ac_ext <<_ACEOF
23458 /* end confdefs.h. */
23459 $ac_includes_default
23463 static struct stat ac_aggr;
23464 if (sizeof ac_aggr.st_blocks)
23470 rm -f conftest.$ac_objext
23471 if { (ac_try="$ac_compile"
23472 case "(($ac_try" in
23473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23474 *) ac_try_echo=$ac_try;;
23476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23477 (eval "$ac_compile") 2>conftest.er1
23479 grep -v '^ *+' conftest.er1 >conftest.err
23481 cat conftest.err >&5
23482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23483 (exit $ac_status); } &&
23484 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23485 { (case "(($ac_try" in
23486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23487 *) ac_try_echo=$ac_try;;
23489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23490 (eval "$ac_try") 2>&5
23492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23493 (exit $ac_status); }; } &&
23494 { ac_try='test -s conftest.$ac_objext'
23495 { (case "(($ac_try" in
23496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23497 *) ac_try_echo=$ac_try;;
23499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23500 (eval "$ac_try") 2>&5
23502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23503 (exit $ac_status); }; }; then
23504 ac_cv_member_struct_stat_st_blocks=yes
23506 echo "$as_me: failed program was:" >&5
23507 sed 's/^/| /' conftest.$ac_ext >&5
23509 ac_cv_member_struct_stat_st_blocks=no
23512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23517 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
23518 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
23519 if test $ac_cv_member_struct_stat_st_blocks = yes; then
23521 cat >>confdefs.h <<_ACEOF
23522 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
23529 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
23530 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
23531 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
23532 echo $ECHO_N "(cached) $ECHO_C" >&6
23534 cat >conftest.$ac_ext <<_ACEOF
23537 cat confdefs.h >>conftest.$ac_ext
23538 cat >>conftest.$ac_ext <<_ACEOF
23539 /* end confdefs.h. */
23540 #ifdef HAVE_SYS_TYPES_H
23541 #include <sys/types.h>
23543 #ifdef HAVE_NETINET_IN_H
23544 #include <netinet/in.h>
23550 static struct sockaddr_in6 ac_aggr;
23551 if (ac_aggr.sin6_scope_id)
23557 rm -f conftest.$ac_objext
23558 if { (ac_try="$ac_compile"
23559 case "(($ac_try" in
23560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23561 *) ac_try_echo=$ac_try;;
23563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23564 (eval "$ac_compile") 2>conftest.er1
23566 grep -v '^ *+' conftest.er1 >conftest.err
23568 cat conftest.err >&5
23569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23570 (exit $ac_status); } &&
23571 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23572 { (case "(($ac_try" in
23573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23574 *) ac_try_echo=$ac_try;;
23576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23577 (eval "$ac_try") 2>&5
23579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23580 (exit $ac_status); }; } &&
23581 { ac_try='test -s conftest.$ac_objext'
23582 { (case "(($ac_try" in
23583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23584 *) ac_try_echo=$ac_try;;
23586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23587 (eval "$ac_try") 2>&5
23589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23590 (exit $ac_status); }; }; then
23591 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23593 echo "$as_me: failed program was:" >&5
23594 sed 's/^/| /' conftest.$ac_ext >&5
23596 cat >conftest.$ac_ext <<_ACEOF
23599 cat confdefs.h >>conftest.$ac_ext
23600 cat >>conftest.$ac_ext <<_ACEOF
23601 /* end confdefs.h. */
23602 #ifdef HAVE_SYS_TYPES_H
23603 #include <sys/types.h>
23605 #ifdef HAVE_NETINET_IN_H
23606 #include <netinet/in.h>
23612 static struct sockaddr_in6 ac_aggr;
23613 if (sizeof ac_aggr.sin6_scope_id)
23619 rm -f conftest.$ac_objext
23620 if { (ac_try="$ac_compile"
23621 case "(($ac_try" in
23622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23623 *) ac_try_echo=$ac_try;;
23625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23626 (eval "$ac_compile") 2>conftest.er1
23628 grep -v '^ *+' conftest.er1 >conftest.err
23630 cat conftest.err >&5
23631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23632 (exit $ac_status); } &&
23633 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23634 { (case "(($ac_try" in
23635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23636 *) ac_try_echo=$ac_try;;
23638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23639 (eval "$ac_try") 2>&5
23641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23642 (exit $ac_status); }; } &&
23643 { ac_try='test -s conftest.$ac_objext'
23644 { (case "(($ac_try" in
23645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23646 *) ac_try_echo=$ac_try;;
23648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23649 (eval "$ac_try") 2>&5
23651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23652 (exit $ac_status); }; }; then
23653 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23655 echo "$as_me: failed program was:" >&5
23656 sed 's/^/| /' conftest.$ac_ext >&5
23658 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
23661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23666 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23667 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23668 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23670 cat >>confdefs.h <<_ACEOF
23671 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23678 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
23679 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
23680 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
23681 echo $ECHO_N "(cached) $ECHO_C" >&6
23683 cat >conftest.$ac_ext <<_ACEOF
23686 cat confdefs.h >>conftest.$ac_ext
23687 cat >>conftest.$ac_ext <<_ACEOF
23688 /* end confdefs.h. */
23689 #ifdef HAVE_SYS_TYPES_H
23690 #include <sys/types.h>
23692 #ifdef HAVE_NETINET_IN_H
23693 # include <netinet/in.h>
23695 #ifdef HAVE_ARPA_NAMESER_H
23696 # include <arpa/nameser.h>
23702 static ns_msg ac_aggr;
23703 if (ac_aggr._msg_ptr)
23709 rm -f conftest.$ac_objext
23710 if { (ac_try="$ac_compile"
23711 case "(($ac_try" in
23712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23713 *) ac_try_echo=$ac_try;;
23715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23716 (eval "$ac_compile") 2>conftest.er1
23718 grep -v '^ *+' conftest.er1 >conftest.err
23720 cat conftest.err >&5
23721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23722 (exit $ac_status); } &&
23723 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23724 { (case "(($ac_try" in
23725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23726 *) ac_try_echo=$ac_try;;
23728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23729 (eval "$ac_try") 2>&5
23731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23732 (exit $ac_status); }; } &&
23733 { ac_try='test -s conftest.$ac_objext'
23734 { (case "(($ac_try" in
23735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23736 *) ac_try_echo=$ac_try;;
23738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23739 (eval "$ac_try") 2>&5
23741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23742 (exit $ac_status); }; }; then
23743 ac_cv_member_ns_msg__msg_ptr=yes
23745 echo "$as_me: failed program was:" >&5
23746 sed 's/^/| /' conftest.$ac_ext >&5
23748 cat >conftest.$ac_ext <<_ACEOF
23751 cat confdefs.h >>conftest.$ac_ext
23752 cat >>conftest.$ac_ext <<_ACEOF
23753 /* end confdefs.h. */
23754 #ifdef HAVE_SYS_TYPES_H
23755 #include <sys/types.h>
23757 #ifdef HAVE_NETINET_IN_H
23758 # include <netinet/in.h>
23760 #ifdef HAVE_ARPA_NAMESER_H
23761 # include <arpa/nameser.h>
23767 static ns_msg ac_aggr;
23768 if (sizeof ac_aggr._msg_ptr)
23774 rm -f conftest.$ac_objext
23775 if { (ac_try="$ac_compile"
23776 case "(($ac_try" in
23777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23778 *) ac_try_echo=$ac_try;;
23780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23781 (eval "$ac_compile") 2>conftest.er1
23783 grep -v '^ *+' conftest.er1 >conftest.err
23785 cat conftest.err >&5
23786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23787 (exit $ac_status); } &&
23788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23789 { (case "(($ac_try" in
23790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23791 *) ac_try_echo=$ac_try;;
23793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23794 (eval "$ac_try") 2>&5
23796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23797 (exit $ac_status); }; } &&
23798 { ac_try='test -s conftest.$ac_objext'
23799 { (case "(($ac_try" in
23800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23801 *) ac_try_echo=$ac_try;;
23803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23804 (eval "$ac_try") 2>&5
23806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23807 (exit $ac_status); }; }; then
23808 ac_cv_member_ns_msg__msg_ptr=yes
23810 echo "$as_me: failed program was:" >&5
23811 sed 's/^/| /' conftest.$ac_ext >&5
23813 ac_cv_member_ns_msg__msg_ptr=no
23816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23821 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
23822 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
23823 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
23825 cat >>confdefs.h <<_ACEOF
23826 #define HAVE_NS_MSG__MSG_PTR 1
23833 { echo "$as_me:$LINENO: checking for timezone variable" >&5
23834 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
23835 if test "${ac_cv_have_timezone+set}" = set; then
23836 echo $ECHO_N "(cached) $ECHO_C" >&6
23838 cat >conftest.$ac_ext <<_ACEOF
23841 cat confdefs.h >>conftest.$ac_ext
23842 cat >>conftest.$ac_ext <<_ACEOF
23843 /* end confdefs.h. */
23853 rm -f conftest.$ac_objext conftest$ac_exeext
23854 if { (ac_try="$ac_link"
23855 case "(($ac_try" in
23856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23857 *) ac_try_echo=$ac_try;;
23859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23860 (eval "$ac_link") 2>conftest.er1
23862 grep -v '^ *+' conftest.er1 >conftest.err
23864 cat conftest.err >&5
23865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23866 (exit $ac_status); } &&
23867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23868 { (case "(($ac_try" in
23869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23870 *) ac_try_echo=$ac_try;;
23872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23873 (eval "$ac_try") 2>&5
23875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23876 (exit $ac_status); }; } &&
23877 { ac_try='test -s conftest$ac_exeext'
23878 { (case "(($ac_try" in
23879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23880 *) ac_try_echo=$ac_try;;
23882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23883 (eval "$ac_try") 2>&5
23885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23886 (exit $ac_status); }; }; then
23887 ac_cv_have_timezone="yes"
23889 echo "$as_me: failed program was:" >&5
23890 sed 's/^/| /' conftest.$ac_ext >&5
23892 ac_cv_have_timezone="no"
23895 rm -f core conftest.err conftest.$ac_objext \
23896 conftest$ac_exeext conftest.$ac_ext
23898 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
23899 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
23900 if test "$ac_cv_have_timezone" = "yes"
23903 cat >>confdefs.h <<\_ACEOF
23904 #define HAVE_TIMEZONE 1
23908 { echo "$as_me:$LINENO: checking for daylight variable" >&5
23909 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
23910 if test "${ac_cv_have_daylight+set}" = set; then
23911 echo $ECHO_N "(cached) $ECHO_C" >&6
23913 cat >conftest.$ac_ext <<_ACEOF
23916 cat confdefs.h >>conftest.$ac_ext
23917 cat >>conftest.$ac_ext <<_ACEOF
23918 /* end confdefs.h. */
23928 rm -f conftest.$ac_objext conftest$ac_exeext
23929 if { (ac_try="$ac_link"
23930 case "(($ac_try" in
23931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23932 *) ac_try_echo=$ac_try;;
23934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23935 (eval "$ac_link") 2>conftest.er1
23937 grep -v '^ *+' conftest.er1 >conftest.err
23939 cat conftest.err >&5
23940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23941 (exit $ac_status); } &&
23942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23943 { (case "(($ac_try" in
23944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23945 *) ac_try_echo=$ac_try;;
23947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23948 (eval "$ac_try") 2>&5
23950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23951 (exit $ac_status); }; } &&
23952 { ac_try='test -s conftest$ac_exeext'
23953 { (case "(($ac_try" in
23954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23955 *) ac_try_echo=$ac_try;;
23957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23958 (eval "$ac_try") 2>&5
23960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23961 (exit $ac_status); }; }; then
23962 ac_cv_have_daylight="yes"
23964 echo "$as_me: failed program was:" >&5
23965 sed 's/^/| /' conftest.$ac_ext >&5
23967 ac_cv_have_daylight="no"
23970 rm -f core conftest.err conftest.$ac_objext \
23971 conftest$ac_exeext conftest.$ac_ext
23973 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
23974 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
23975 if test "$ac_cv_have_daylight" = "yes"
23978 cat >>confdefs.h <<\_ACEOF
23979 #define HAVE_DAYLIGHT 1
23986 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
23987 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
23988 if test "${ac_cv_cpp_def___i386__+set}" = set; then
23989 echo $ECHO_N "(cached) $ECHO_C" >&6
23991 cat >conftest.$ac_ext <<_ACEOF
23994 cat confdefs.h >>conftest.$ac_ext
23995 cat >>conftest.$ac_ext <<_ACEOF
23996 /* end confdefs.h. */
24001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24002 $EGREP "yes" >/dev/null 2>&1; then
24003 ac_cv_cpp_def___i386__=yes
24005 ac_cv_cpp_def___i386__=no
24010 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
24011 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
24012 if test $ac_cv_cpp_def___i386__ = yes; then
24013 CFLAGS="$CFLAGS -D__i386__"
24014 LINTFLAGS="$LINTFLAGS -D__i386__"
24017 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
24018 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
24019 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
24020 echo $ECHO_N "(cached) $ECHO_C" >&6
24022 cat >conftest.$ac_ext <<_ACEOF
24025 cat confdefs.h >>conftest.$ac_ext
24026 cat >>conftest.$ac_ext <<_ACEOF
24027 /* end confdefs.h. */
24032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24033 $EGREP "yes" >/dev/null 2>&1; then
24034 ac_cv_cpp_def___x86_64__=yes
24036 ac_cv_cpp_def___x86_64__=no
24041 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
24042 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
24043 if test $ac_cv_cpp_def___x86_64__ = yes; then
24044 CFLAGS="$CFLAGS -D__x86_64__"
24045 LINTFLAGS="$LINTFLAGS -D__x86_64__"
24048 { echo "$as_me:$LINENO: checking whether we need to define _WIN64" >&5
24049 echo $ECHO_N "checking whether we need to define _WIN64... $ECHO_C" >&6; }
24050 if test "${ac_cv_cpp_def__WIN64+set}" = set; then
24051 echo $ECHO_N "(cached) $ECHO_C" >&6
24053 cat >conftest.$ac_ext <<_ACEOF
24056 cat confdefs.h >>conftest.$ac_ext
24057 cat >>conftest.$ac_ext <<_ACEOF
24058 /* end confdefs.h. */
24063 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24064 $EGREP "yes" >/dev/null 2>&1; then
24065 ac_cv_cpp_def__WIN64=yes
24067 ac_cv_cpp_def__WIN64=no
24072 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def__WIN64" >&5
24073 echo "${ECHO_T}$ac_cv_cpp_def__WIN64" >&6; }
24074 if test $ac_cv_cpp_def__WIN64 = yes; then
24075 CFLAGS="$CFLAGS -D_WIN64"
24076 LINTFLAGS="$LINTFLAGS -D_WIN64"
24079 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
24080 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
24081 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
24082 echo $ECHO_N "(cached) $ECHO_C" >&6
24084 cat >conftest.$ac_ext <<_ACEOF
24087 cat confdefs.h >>conftest.$ac_ext
24088 cat >>conftest.$ac_ext <<_ACEOF
24089 /* end confdefs.h. */
24094 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24095 $EGREP "yes" >/dev/null 2>&1; then
24096 ac_cv_cpp_def___ALPHA__=yes
24098 ac_cv_cpp_def___ALPHA__=no
24103 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
24104 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
24105 if test $ac_cv_cpp_def___ALPHA__ = yes; then
24106 CFLAGS="$CFLAGS -D__ALPHA__"
24107 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
24110 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
24111 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
24112 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
24113 echo $ECHO_N "(cached) $ECHO_C" >&6
24115 cat >conftest.$ac_ext <<_ACEOF
24118 cat confdefs.h >>conftest.$ac_ext
24119 cat >>conftest.$ac_ext <<_ACEOF
24120 /* end confdefs.h. */
24125 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24126 $EGREP "yes" >/dev/null 2>&1; then
24127 ac_cv_cpp_def___sparc__=yes
24129 ac_cv_cpp_def___sparc__=no
24134 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
24135 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
24136 if test $ac_cv_cpp_def___sparc__ = yes; then
24137 CFLAGS="$CFLAGS -D__sparc__"
24138 LINTFLAGS="$LINTFLAGS -D__sparc__"
24141 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
24142 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
24143 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
24144 echo $ECHO_N "(cached) $ECHO_C" >&6
24146 cat >conftest.$ac_ext <<_ACEOF
24149 cat confdefs.h >>conftest.$ac_ext
24150 cat >>conftest.$ac_ext <<_ACEOF
24151 /* end confdefs.h. */
24152 #ifndef __powerpc__
24156 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24157 $EGREP "yes" >/dev/null 2>&1; then
24158 ac_cv_cpp_def___powerpc__=yes
24160 ac_cv_cpp_def___powerpc__=no
24165 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
24166 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
24167 if test $ac_cv_cpp_def___powerpc__ = yes; then
24168 CFLAGS="$CFLAGS -D__powerpc__"
24169 LINTFLAGS="$LINTFLAGS -D__powerpc__"
24174 case $host_vendor in
24175 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
24176 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
24177 if test "${ac_cv_cpp_def___sun__+set}" = set; then
24178 echo $ECHO_N "(cached) $ECHO_C" >&6
24180 cat >conftest.$ac_ext <<_ACEOF
24183 cat confdefs.h >>conftest.$ac_ext
24184 cat >>conftest.$ac_ext <<_ACEOF
24185 /* end confdefs.h. */
24190 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24191 $EGREP "yes" >/dev/null 2>&1; then
24192 ac_cv_cpp_def___sun__=yes
24194 ac_cv_cpp_def___sun__=no
24199 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
24200 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
24201 if test $ac_cv_cpp_def___sun__ = yes; then
24202 CFLAGS="$CFLAGS -D__sun__"
24203 LINTFLAGS="$LINTFLAGS -D__sun__"
24212 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
24214 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
24216 ac_config_commands="$ac_config_commands dlls/kernel/messages"
24218 ac_config_commands="$ac_config_commands dlls/user/resources"
24220 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
24222 ac_config_commands="$ac_config_commands include/wine"
24225 MAKE_RULES=Make.rules
24228 MAKE_DLL_RULES=dlls/Makedll.rules
24231 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
24234 MAKE_TEST_RULES=dlls/Maketest.rules
24237 MAKE_PROG_RULES=programs/Makeprog.rules
24240 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Makeimplib.rules dlls/Maketest.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/activeds/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/cabinet/tests/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/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"
24243 cat >confcache <<\_ACEOF
24244 # This file is a shell script that caches the results of configure
24245 # tests run on this system so they can be shared between configure
24246 # scripts and configure runs, see configure's option --config-cache.
24247 # It is not useful on other systems. If it contains results you don't
24248 # want to keep, you may remove or edit it.
24250 # config.status only pays attention to the cache file if you give it
24251 # the --recheck option to rerun configure.
24253 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24254 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24255 # following values.
24259 # The following way of writing the cache mishandles newlines in values,
24260 # but we know of no workaround that is simple, portable, and efficient.
24261 # So, we kill variables containing newlines.
24262 # Ultrix sh set writes to stderr and can't be redirected directly,
24263 # and sets the high bit in the cache file unless we assign to the vars.
24265 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24266 eval ac_val=\$$ac_var
24270 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24271 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24274 _ | IFS | as_nl) ;; #(
24275 *) $as_unset $ac_var ;;
24281 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24282 *${as_nl}ac_space=\ *)
24283 # `set' does not quote correctly, so add quotes (double-quote
24284 # substitution turns \\\\ into \\, and sed turns \\ into \).
24287 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24290 # `set' quotes correctly as required by POSIX, so do not add quotes.
24291 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24300 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24302 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24304 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24305 if test -w "$cache_file"; then
24306 test "x$cache_file" != "x/dev/null" &&
24307 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24308 echo "$as_me: updating cache $cache_file" >&6;}
24309 cat confcache >$cache_file
24311 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24312 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24317 test "x$prefix" = xNONE && prefix=$ac_default_prefix
24318 # Let make expand exec_prefix.
24319 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24321 DEFS=-DHAVE_CONFIG_H
24325 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24326 # 1. Remove the extension, and $U if already installed.
24327 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
24328 ac_i=`echo "$ac_i" | sed "$ac_script"`
24329 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24330 # will be set to the directory where LIBOBJS objects are built.
24331 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24332 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
24334 LIBOBJS=$ac_libobjs
24336 LTLIBOBJS=$ac_ltlibobjs
24340 : ${CONFIG_STATUS=./config.status}
24341 ac_clean_files_save=$ac_clean_files
24342 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24343 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24344 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24345 cat >$CONFIG_STATUS <<_ACEOF
24347 # Generated by $as_me.
24348 # Run this file to recreate the current configuration.
24349 # Compiler output produced by configure, useful for debugging
24350 # configure, is in config.log if it exists.
24353 ac_cs_recheck=false
24355 SHELL=\${CONFIG_SHELL-$SHELL}
24358 cat >>$CONFIG_STATUS <<\_ACEOF
24359 ## --------------------- ##
24360 ## M4sh Initialization. ##
24361 ## --------------------- ##
24363 # Be Bourne compatible
24364 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24367 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24368 # is contrary to our usage. Disable this feature.
24369 alias -g '${1+"$@"}'='"$@"'
24370 setopt NO_GLOB_SUBST
24372 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
24374 BIN_SH=xpg4; export BIN_SH # for Tru64
24375 DUALCASE=1; export DUALCASE # for MKS sh
24379 # Avoid depending upon Character Ranges.
24380 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24381 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24382 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24383 as_cr_digits='0123456789'
24384 as_cr_alnum=$as_cr_Letters$as_cr_digits
24386 # The user is always right.
24387 if test "${PATH_SEPARATOR+set}" != set; then
24388 echo "#! /bin/sh" >conf$$.sh
24389 echo "exit 0" >>conf$$.sh
24391 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24399 # Support unset when possible.
24400 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24408 # We need space, tab and new line, in precisely that order. Quoting is
24409 # there to prevent editors from complaining about space-tab.
24410 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24411 # splitting by setting IFS to empty value.)
24416 # Find who we are. Look in the path if we contain no directory separator.
24418 *[\\/]* ) as_myself=$0 ;;
24419 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24420 for as_dir in $PATH
24423 test -z "$as_dir" && as_dir=.
24424 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24430 # We did not find ourselves, most probably we were run as `sh COMMAND'
24431 # in which case we are not to be found in the path.
24432 if test "x$as_myself" = x; then
24435 if test ! -f "$as_myself"; then
24436 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24437 { (exit 1); exit 1; }
24440 # Work around bugs in pre-3.0 UWIN ksh.
24441 for as_var in ENV MAIL MAILPATH
24442 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24450 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24451 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24452 LC_TELEPHONE LC_TIME
24454 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24455 eval $as_var=C; export $as_var
24457 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24461 # Required to use basename.
24462 if expr a : '\(a\)' >/dev/null 2>&1 &&
24463 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24469 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24470 as_basename=basename
24476 # Name of the executable.
24477 as_me=`$as_basename -- "$0" ||
24478 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24479 X"$0" : 'X\(//\)$' \| \
24480 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24482 sed '/^.*\/\([^/][^/]*\)\/*$/{
24501 as_lineno_1=$LINENO
24502 as_lineno_2=$LINENO
24503 test "x$as_lineno_1" != "x$as_lineno_2" &&
24504 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
24506 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24507 # uniformly replaced by the line number. The first 'sed' inserts a
24508 # line-number line after each line using $LINENO; the second 'sed'
24509 # does the real work. The second script uses 'N' to pair each
24510 # line-number line with the line containing $LINENO, and appends
24511 # trailing '-' during substitution so that $LINENO is not a special
24512 # case at line end.
24513 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24514 # scripts with optimization help from Paolo Bonzini. Blame Lee
24515 # E. McMahon (1931-1989) for sed's syntax. :-)
24527 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24530 ' >$as_me.lineno &&
24531 chmod +x "$as_me.lineno" ||
24532 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24533 { (exit 1); exit 1; }; }
24535 # Don't try to exec as it changes $[0], causing all sort of problems
24536 # (the dirname of $[0] is not the place where we might find the
24537 # original and so on. Autoconf is especially sensitive to this).
24538 . "./$as_me.lineno"
24539 # Exit status is that of the last command.
24544 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
24550 ECHO_C= ECHO_N= ECHO_T=
24551 case `echo -n x` in
24553 case `echo 'x\c'` in
24554 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
24561 if expr a : '\(a\)' >/dev/null 2>&1 &&
24562 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24568 rm -f conf$$ conf$$.exe conf$$.file
24569 if test -d conf$$.dir; then
24570 rm -f conf$$.dir/conf$$.file
24576 if ln -s conf$$.file conf$$ 2>/dev/null; then
24578 # ... but there are two gotchas:
24579 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24580 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24581 # In both cases, we have to default to `cp -p'.
24582 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
24584 elif ln conf$$.file conf$$ 2>/dev/null; then
24589 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
24590 rmdir conf$$.dir 2>/dev/null
24592 if mkdir -p . 2>/dev/null; then
24595 test -d ./-p && rmdir ./-p
24599 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
24600 # systems may use methods other than mode bits to determine executability.
24601 cat >conf$$.file <<_ASEOF
24605 chmod +x conf$$.file
24606 if test -x conf$$.file >/dev/null 2>&1; then
24607 as_executable_p="test -x"
24613 # Sed expression to map a string onto a valid CPP name.
24614 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24616 # Sed expression to map a string onto a valid variable name.
24617 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24622 # Save the log message, to keep $[0] and so on meaningful, and to
24623 # report actual input values of CONFIG_FILES etc. instead of their
24624 # values after options handling.
24626 This file was extended by Wine $as_me 0.9.18, which was
24627 generated by GNU Autoconf 2.60a. Invocation command line was
24629 CONFIG_FILES = $CONFIG_FILES
24630 CONFIG_HEADERS = $CONFIG_HEADERS
24631 CONFIG_LINKS = $CONFIG_LINKS
24632 CONFIG_COMMANDS = $CONFIG_COMMANDS
24635 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24640 cat >>$CONFIG_STATUS <<_ACEOF
24641 # Files that config.status was made for.
24642 config_files="$ac_config_files"
24643 config_headers="$ac_config_headers"
24644 config_commands="$ac_config_commands"
24648 cat >>$CONFIG_STATUS <<\_ACEOF
24650 \`$as_me' instantiates files from templates according to the
24651 current configuration.
24653 Usage: $0 [OPTIONS] [FILE]...
24655 -h, --help print this help, then exit
24656 -V, --version print version number, then exit
24657 -q, --quiet do not print progress messages
24658 -d, --debug don't remove temporary files
24659 --recheck update $as_me by reconfiguring in the same conditions
24660 --file=FILE[:TEMPLATE]
24661 instantiate the configuration file FILE
24662 --header=FILE[:TEMPLATE]
24663 instantiate the configuration header FILE
24665 Configuration files:
24668 Configuration headers:
24671 Configuration commands:
24674 Report bugs to <bug-autoconf@gnu.org>."
24677 cat >>$CONFIG_STATUS <<_ACEOF
24679 Wine config.status 0.9.18
24680 configured by $0, generated by GNU Autoconf 2.60a,
24681 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24683 Copyright (C) 2006 Free Software Foundation, Inc.
24684 This config.status script is free software; the Free Software Foundation
24685 gives unlimited permission to copy, distribute and modify it."
24692 cat >>$CONFIG_STATUS <<\_ACEOF
24693 # If no file are specified by the user, then we need to provide default
24694 # value. By we need to know if files were specified by the user.
24700 ac_option=`expr "X$1" : 'X\([^=]*\)='`
24701 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24712 # Handling of the options.
24713 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24715 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24716 echo "$ac_cs_version"; exit ;;
24717 --debug | --debu | --deb | --de | --d | -d )
24719 --file | --fil | --fi | --f )
24721 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24722 ac_need_defaults=false;;
24723 --header | --heade | --head | --hea )
24725 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24726 ac_need_defaults=false;;
24728 # Conflict between --help and --header
24729 { echo "$as_me: error: ambiguous option: $1
24730 Try \`$0 --help' for more information." >&2
24731 { (exit 1); exit 1; }; };;
24732 --help | --hel | -h )
24733 echo "$ac_cs_usage"; exit ;;
24734 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24735 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24738 # This is an error.
24739 -*) { echo "$as_me: error: unrecognized option: $1
24740 Try \`$0 --help' for more information." >&2
24741 { (exit 1); exit 1; }; } ;;
24743 *) ac_config_targets="$ac_config_targets $1"
24744 ac_need_defaults=false ;;
24750 ac_configure_extra_args=
24752 if $ac_cs_silent; then
24754 ac_configure_extra_args="$ac_configure_extra_args --silent"
24758 cat >>$CONFIG_STATUS <<_ACEOF
24759 if \$ac_cs_recheck; then
24760 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24761 CONFIG_SHELL=$SHELL
24762 export CONFIG_SHELL
24763 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24767 cat >>$CONFIG_STATUS <<\_ACEOF
24771 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24772 ## Running $as_me. ##
24778 cat >>$CONFIG_STATUS <<_ACEOF
24781 cat >>$CONFIG_STATUS <<\_ACEOF
24783 # Handling of arguments.
24784 for ac_config_target in $ac_config_targets
24786 case $ac_config_target in
24787 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
24788 "dlls/gdi/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
24789 "dlls/gdi/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
24790 "dlls/kernel/messages") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
24791 "dlls/user/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
24792 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
24793 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
24794 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
24795 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
24796 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
24797 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
24798 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
24799 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24800 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
24801 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
24802 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
24803 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
24804 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
24805 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
24806 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
24807 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
24808 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
24809 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
24810 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
24811 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
24812 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
24813 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
24814 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
24815 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
24816 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
24817 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
24818 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
24819 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
24820 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
24821 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
24822 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
24823 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
24824 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
24825 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
24826 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
24827 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
24828 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
24829 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
24830 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
24831 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
24832 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
24833 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
24834 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
24835 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
24836 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
24837 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
24838 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
24839 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
24840 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
24841 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
24842 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
24843 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
24844 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
24845 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
24846 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
24847 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
24848 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
24849 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
24850 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
24851 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
24852 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
24853 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
24854 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
24855 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
24856 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
24857 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
24858 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
24859 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
24860 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
24861 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
24862 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
24863 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
24864 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
24865 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
24866 "dlls/gdi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
24867 "dlls/gdi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
24868 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
24869 "dlls/glut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
24870 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
24871 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
24872 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
24873 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
24874 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
24875 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
24876 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
24877 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
24878 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
24879 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
24880 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
24881 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
24882 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
24883 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
24884 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
24885 "dlls/kernel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
24886 "dlls/kernel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
24887 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
24888 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
24889 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
24890 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
24891 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
24892 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
24893 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
24894 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
24895 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
24896 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
24897 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
24898 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
24899 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
24900 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
24901 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
24902 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
24903 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
24904 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
24905 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
24906 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
24907 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
24908 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
24909 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
24910 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
24911 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
24912 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
24913 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
24914 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
24915 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
24916 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
24917 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
24918 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
24919 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
24920 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
24921 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
24922 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
24923 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
24924 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
24925 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
24926 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
24927 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
24928 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
24929 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
24930 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
24931 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
24932 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
24933 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
24934 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
24935 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
24936 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
24937 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
24938 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
24939 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
24940 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
24941 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
24942 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
24943 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
24944 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
24945 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
24946 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
24947 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
24948 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
24949 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
24950 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
24951 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
24952 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
24953 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
24954 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
24955 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
24956 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
24957 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
24958 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
24959 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
24960 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
24961 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
24962 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
24963 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
24964 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
24965 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
24966 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
24967 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
24968 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
24969 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
24970 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
24971 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
24972 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
24973 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
24974 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
24975 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
24976 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
24977 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
24978 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
24979 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
24980 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
24981 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
24982 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
24983 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
24984 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
24985 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
24986 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
24987 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
24988 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
24989 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
24990 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
24991 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
24992 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
24993 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
24994 "dlls/user/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
24995 "dlls/user/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
24996 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
24997 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
24998 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
24999 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
25000 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
25001 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
25002 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
25003 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
25004 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
25005 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
25006 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
25007 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
25008 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
25009 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
25010 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
25011 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
25012 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
25013 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
25014 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
25015 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
25016 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
25017 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
25018 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
25019 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
25020 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
25021 "dlls/winmm/joystick/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
25022 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
25023 "dlls/winmm/winealsa/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
25024 "dlls/winmm/winearts/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
25025 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
25026 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
25027 "dlls/winmm/wineesd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
25028 "dlls/winmm/winejack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
25029 "dlls/winmm/winenas/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
25030 "dlls/winmm/wineoss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
25031 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
25032 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
25033 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
25034 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
25035 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
25036 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
25037 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
25038 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
25039 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
25040 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
25041 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
25042 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
25043 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
25044 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
25045 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
25046 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
25047 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
25048 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
25049 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
25050 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
25051 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
25052 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
25053 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
25054 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
25055 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
25056 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
25057 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
25058 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
25059 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
25060 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
25061 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
25062 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
25063 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
25064 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
25065 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
25066 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
25067 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
25068 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
25069 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
25070 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
25071 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
25072 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
25073 "programs/wcmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
25074 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
25075 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
25076 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
25077 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
25078 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
25079 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
25080 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
25081 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
25082 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
25083 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
25084 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
25085 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
25086 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
25087 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
25088 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
25089 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
25090 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
25091 "tools/winapi/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
25092 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
25093 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
25094 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
25095 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
25096 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
25098 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25099 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25100 { (exit 1); exit 1; }; };;
25105 # If the user did not use the arguments to specify the items to instantiate,
25106 # then the envvar interface is used. Set only those that are not.
25107 # We use the long form for the default assignment because of an extremely
25108 # bizarre bug on SunOS 4.1.3.
25109 if $ac_need_defaults; then
25110 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
25111 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
25112 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
25115 # Have a temporary directory for convenience. Make it in the build tree
25116 # simply because there is no reason against having it here, and in addition,
25117 # creating and moving files from /tmp can sometimes cause problems.
25118 # Hook for its removal unless debugging.
25119 # Note that there is a small window in which the directory will not be cleaned:
25120 # after its creation but before its name has been assigned to `$tmp'.
25124 trap 'exit_status=$?
25125 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
25127 trap '{ (exit 1); exit 1; }' 1 2 13 15
25129 # Create a (secure) tmp directory for tmp files.
25132 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25133 test -n "$tmp" && test -d "$tmp"
25136 tmp=./conf$$-$RANDOM
25137 (umask 077 && mkdir "$tmp")
25140 echo "$me: cannot create a temporary directory in ." >&2
25141 { (exit 1); exit 1; }
25145 # Set up the sed scripts for CONFIG_FILES section.
25148 # No need to generate the scripts if there are no CONFIG_FILES.
25149 # This happens for instance when ./config.status config.h
25150 if test -n "$CONFIG_FILES"; then
25154 # Create sed commands to just substitute file output variables.
25156 # Remaining file output variables are in a fragment that also has non-file
25162 for ac_last_try in false false false false false :; do
25163 cat >conf$$subs.sed <<_ACEOF
25164 SHELL!$SHELL$ac_delim
25165 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
25166 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
25167 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
25168 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
25169 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
25170 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
25171 exec_prefix!$exec_prefix$ac_delim
25172 prefix!$prefix$ac_delim
25173 program_transform_name!$program_transform_name$ac_delim
25174 bindir!$bindir$ac_delim
25175 sbindir!$sbindir$ac_delim
25176 libexecdir!$libexecdir$ac_delim
25177 datarootdir!$datarootdir$ac_delim
25178 datadir!$datadir$ac_delim
25179 sysconfdir!$sysconfdir$ac_delim
25180 sharedstatedir!$sharedstatedir$ac_delim
25181 localstatedir!$localstatedir$ac_delim
25182 includedir!$includedir$ac_delim
25183 oldincludedir!$oldincludedir$ac_delim
25184 docdir!$docdir$ac_delim
25185 infodir!$infodir$ac_delim
25186 htmldir!$htmldir$ac_delim
25187 dvidir!$dvidir$ac_delim
25188 pdfdir!$pdfdir$ac_delim
25189 psdir!$psdir$ac_delim
25190 libdir!$libdir$ac_delim
25191 localedir!$localedir$ac_delim
25192 mandir!$mandir$ac_delim
25193 DEFS!$DEFS$ac_delim
25194 ECHO_C!$ECHO_C$ac_delim
25195 ECHO_N!$ECHO_N$ac_delim
25196 ECHO_T!$ECHO_T$ac_delim
25197 LIBS!$LIBS$ac_delim
25198 build_alias!$build_alias$ac_delim
25199 host_alias!$host_alias$ac_delim
25200 target_alias!$target_alias$ac_delim
25201 build!$build$ac_delim
25202 build_cpu!$build_cpu$ac_delim
25203 build_vendor!$build_vendor$ac_delim
25204 build_os!$build_os$ac_delim
25205 host!$host$ac_delim
25206 host_cpu!$host_cpu$ac_delim
25207 host_vendor!$host_vendor$ac_delim
25208 host_os!$host_os$ac_delim
25209 WIN16_FILES!$WIN16_FILES$ac_delim
25210 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
25211 SET_MAKE!$SET_MAKE$ac_delim
25213 CFLAGS!$CFLAGS$ac_delim
25214 LDFLAGS!$LDFLAGS$ac_delim
25215 CPPFLAGS!$CPPFLAGS$ac_delim
25216 ac_ct_CC!$ac_ct_CC$ac_delim
25217 EXEEXT!$EXEEXT$ac_delim
25218 OBJEXT!$OBJEXT$ac_delim
25220 CXXFLAGS!$CXXFLAGS$ac_delim
25221 ac_ct_CXX!$ac_ct_CXX$ac_delim
25222 CPPBIN!$CPPBIN$ac_delim
25223 TOOLSDIR!$TOOLSDIR$ac_delim
25224 XMKMF!$XMKMF$ac_delim
25226 X_CFLAGS!$X_CFLAGS$ac_delim
25227 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
25228 X_LIBS!$X_LIBS$ac_delim
25229 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
25231 LEXLIB!$LEXLIB$ac_delim
25232 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
25233 XLEX!$XLEX$ac_delim
25234 BISON!$BISON$ac_delim
25236 ac_ct_AS!$ac_ct_AS$ac_delim
25239 RANLIB!$RANLIB$ac_delim
25240 STRIP!$STRIP$ac_delim
25241 WINDRES!$WINDRES$ac_delim
25242 LN_S!$LN_S$ac_delim
25244 GREP!$GREP$ac_delim
25245 EGREP!$EGREP$ac_delim
25248 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
25250 elif $ac_last_try; then
25251 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25252 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25253 { (exit 1); exit 1; }; }
25255 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25259 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25260 if test -n "$ac_eof"; then
25261 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
25262 ac_eof=`expr $ac_eof + 1`
25265 cat >>$CONFIG_STATUS <<_ACEOF
25266 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
25267 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25268 /^[ ]*@MAKE_RULES@[ ]*$/{
25272 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
25276 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
25277 r $MAKE_IMPLIB_RULES
25280 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
25284 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
25290 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25291 s/^/s,@/; s/!/@,|#_!!_#|/
25294 s/'"$ac_delim"'$/,g/; t
25296 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25297 ' >>$CONFIG_STATUS <conf$$subs.sed
25298 rm -f conf$$subs.sed
25299 cat >>$CONFIG_STATUS <<_ACEOF
25305 for ac_last_try in false false false false false :; do
25306 cat >conf$$subs.sed <<_ACEOF
25307 LDCONFIG!$LDCONFIG$ac_delim
25308 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
25309 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
25310 INSTALL_DATA!$INSTALL_DATA$ac_delim
25311 LINT!$LINT$ac_delim
25312 LINTFLAGS!$LINTFLAGS$ac_delim
25313 FONTFORGE!$FONTFORGE$ac_delim
25314 PKG_CONFIG!$PKG_CONFIG$ac_delim
25315 PRELINK!$PRELINK$ac_delim
25316 LIBPTHREAD!$LIBPTHREAD$ac_delim
25317 XLIB!$XLIB$ac_delim
25318 XFILES!$XFILES$ac_delim
25319 OPENGLFILES!$OPENGLFILES$ac_delim
25320 GLU32FILES!$GLU32FILES$ac_delim
25321 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
25322 GLUT_LIBS!$GLUT_LIBS$ac_delim
25323 GLUT32FILES!$GLUT32FILES$ac_delim
25324 NASLIBS!$NASLIBS$ac_delim
25325 XML2LIBS!$XML2LIBS$ac_delim
25326 XML2INCL!$XML2INCL$ac_delim
25327 XSLTLIBS!$XSLTLIBS$ac_delim
25328 XSLTINCL!$XSLTINCL$ac_delim
25329 HALINCL!$HALINCL$ac_delim
25330 CURSESLIBS!$CURSESLIBS$ac_delim
25331 sane_devel!$sane_devel$ac_delim
25332 SANELIBS!$SANELIBS$ac_delim
25333 SANEINCL!$SANEINCL$ac_delim
25334 gphoto2_devel!$gphoto2_devel$ac_delim
25335 gphoto2port_devel!$gphoto2port_devel$ac_delim
25336 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
25337 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
25338 ICULIBS!$ICULIBS$ac_delim
25339 RESOLVLIBS!$RESOLVLIBS$ac_delim
25340 LCMSLIBS!$LCMSLIBS$ac_delim
25341 LDAPLIBS!$LDAPLIBS$ac_delim
25342 FREETYPELIBS!$FREETYPELIBS$ac_delim
25343 FREETYPEINCL!$FREETYPEINCL$ac_delim
25344 ft_devel!$ft_devel$ac_delim
25345 ft_devel2!$ft_devel2$ac_delim
25346 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
25347 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
25348 ARTSLIBS!$ARTSLIBS$ac_delim
25349 ARTSINCL!$ARTSINCL$ac_delim
25350 ESDCONFIG!$ESDCONFIG$ac_delim
25351 ESDLIBS!$ESDLIBS$ac_delim
25352 ESDINCL!$ESDINCL$ac_delim
25353 ALSALIBS!$ALSALIBS$ac_delim
25354 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
25355 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
25356 BUILTINFLAG!$BUILTINFLAG$ac_delim
25357 DLLEXT!$DLLEXT$ac_delim
25358 DLLFLAGS!$DLLFLAGS$ac_delim
25359 DLLIBS!$DLLIBS$ac_delim
25360 LDSHARED!$LDSHARED$ac_delim
25361 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
25362 LIBEXT!$LIBEXT$ac_delim
25363 IMPLIBEXT!$IMPLIBEXT$ac_delim
25364 DLLTOOL!$DLLTOOL$ac_delim
25365 DLLWRAP!$DLLWRAP$ac_delim
25366 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
25367 LDEXERPATH!$LDEXERPATH$ac_delim
25368 LDDLLRPATH!$LDDLLRPATH$ac_delim
25369 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
25370 IOKITLIB!$IOKITLIB$ac_delim
25371 COREAUDIO!$COREAUDIO$ac_delim
25372 CROSSTEST!$CROSSTEST$ac_delim
25373 CROSSCC!$CROSSCC$ac_delim
25374 CROSSWINDRES!$CROSSWINDRES$ac_delim
25375 LDPATH!$LDPATH$ac_delim
25376 CRTLIBS!$CRTLIBS$ac_delim
25377 SOCKETLIBS!$SOCKETLIBS$ac_delim
25378 MAIN_BINARY!$MAIN_BINARY$ac_delim
25379 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
25381 LIBOBJS!$LIBOBJS$ac_delim
25382 LTLIBOBJS!$LTLIBOBJS$ac_delim
25385 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
25387 elif $ac_last_try; then
25388 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25389 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25390 { (exit 1); exit 1; }; }
25392 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25396 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25397 if test -n "$ac_eof"; then
25398 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
25399 ac_eof=`expr $ac_eof + 1`
25402 cat >>$CONFIG_STATUS <<_ACEOF
25403 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
25404 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
25407 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25408 s/^/s,@/; s/!/@,|#_!!_#|/
25411 s/'"$ac_delim"'$/,g/; t
25413 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25414 ' >>$CONFIG_STATUS <conf$$subs.sed
25415 rm -f conf$$subs.sed
25416 cat >>$CONFIG_STATUS <<_ACEOF
25423 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25424 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25425 # trailing colons and then remove the whole line if VPATH becomes empty
25426 # (actually we leave an empty line to preserve line numbers).
25427 if test "x$srcdir" = x.; then
25428 ac_vpsub='/^[ ]*VPATH[ ]*=/{
25429 s/:*\$(srcdir):*/:/
25430 s/:*\${srcdir}:*/:/
25432 s/^\([^=]*=[ ]*\):*/\1/
25438 cat >>$CONFIG_STATUS <<\_ACEOF
25439 fi # test -n "$CONFIG_FILES"
25442 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
25445 :[FHLC]) ac_mode=$ac_tag; continue;;
25447 case $ac_mode$ac_tag in
25449 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
25450 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
25451 { (exit 1); exit 1; }; };;
25452 :[FH]-) ac_tag=-:-;;
25453 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
25470 -) ac_f="$tmp/stdin";;
25471 *) # Look for the file first in the build tree, then in the source tree
25472 # (if the path is not absolute). The absolute path cannot be DOS-style,
25473 # because $ac_f cannot contain `:'.
25477 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
25479 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25480 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25481 { (exit 1); exit 1; }; };;
25483 ac_file_inputs="$ac_file_inputs $ac_f"
25486 # Let's still pretend it is `configure' which instantiates (i.e., don't
25487 # use $as_me), people would be surprised to read:
25488 # /* config.h. Generated by config.status. */
25489 configure_input="Generated from "`IFS=:
25490 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
25491 if test x"$ac_file" != x-; then
25492 configure_input="$ac_file. $configure_input"
25493 { echo "$as_me:$LINENO: creating $ac_file" >&5
25494 echo "$as_me: creating $ac_file" >&6;}
25498 *:-:* | *:-) cat >"$tmp/stdin";;
25503 ac_dir=`$as_dirname -- "$ac_file" ||
25504 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25505 X"$ac_file" : 'X\(//\)[^/]' \| \
25506 X"$ac_file" : 'X\(//\)$' \| \
25507 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25509 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25513 /^X\(\/\/\)[^/].*/{
25528 -*) as_dir=./$as_dir;;
25530 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25534 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25535 *) as_qdir=$as_dir;;
25537 as_dirs="'$as_qdir' $as_dirs"
25538 as_dir=`$as_dirname -- "$as_dir" ||
25539 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25540 X"$as_dir" : 'X\(//\)[^/]' \| \
25541 X"$as_dir" : 'X\(//\)$' \| \
25542 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25544 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25548 /^X\(\/\/\)[^/].*/{
25561 test -d "$as_dir" && break
25563 test -z "$as_dirs" || eval "mkdir $as_dirs"
25564 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25565 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25566 { (exit 1); exit 1; }; }; }
25570 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25572 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25573 # A ".." for each directory in $ac_dir_suffix.
25574 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25575 case $ac_top_builddir_sub in
25576 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25577 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25580 ac_abs_top_builddir=$ac_pwd
25581 ac_abs_builddir=$ac_pwd$ac_dir_suffix
25582 # for backward compatibility:
25583 ac_top_builddir=$ac_top_build_prefix
25586 .) # We are building in place.
25588 ac_top_srcdir=$ac_top_builddir_sub
25589 ac_abs_top_srcdir=$ac_pwd ;;
25590 [\\/]* | ?:[\\/]* ) # Absolute name.
25591 ac_srcdir=$srcdir$ac_dir_suffix;
25592 ac_top_srcdir=$srcdir
25593 ac_abs_top_srcdir=$srcdir ;;
25594 *) # Relative name.
25595 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
25596 ac_top_srcdir=$ac_top_build_prefix$srcdir
25597 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
25599 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
25609 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25610 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
25614 cat >>$CONFIG_STATUS <<\_ACEOF
25615 # If the template does not know about datarootdir, expand it.
25616 # FIXME: This hack should be removed a few years after 2.60.
25617 ac_datarootdir_hack=; ac_datarootdir_seen=
25619 case `sed -n '/datarootdir/ {
25628 ' $ac_file_inputs` in
25629 *datarootdir*) ac_datarootdir_seen=yes;;
25630 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25631 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25632 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25634 cat >>$CONFIG_STATUS <<_ACEOF
25635 ac_datarootdir_hack='
25636 s&@datadir@&$datadir&g
25637 s&@docdir@&$docdir&g
25638 s&@infodir@&$infodir&g
25639 s&@localedir@&$localedir&g
25640 s&@mandir@&$mandir&g
25641 s&\\\${datarootdir}&$datarootdir&g' ;;
25645 # Neutralize VPATH when `$srcdir' = `.'.
25646 # Shell code in configure.ac might set extrasub.
25647 # FIXME: do we really want to maintain this feature?
25648 cat >>$CONFIG_STATUS <<_ACEOF
25652 cat >>$CONFIG_STATUS <<\_ACEOF
25654 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25655 s&@configure_input@&$configure_input&;t t
25656 s&@top_builddir@&$ac_top_builddir_sub&;t t
25657 s&@srcdir@&$ac_srcdir&;t t
25658 s&@abs_srcdir@&$ac_abs_srcdir&;t t
25659 s&@top_srcdir@&$ac_top_srcdir&;t t
25660 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
25661 s&@builddir@&$ac_builddir&;t t
25662 s&@abs_builddir@&$ac_abs_builddir&;t t
25663 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25664 s&@INSTALL@&$ac_INSTALL&;t t
25665 $ac_datarootdir_hack
25666 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
25668 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25669 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
25670 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
25671 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25672 which seems to be undefined. Please make sure it is defined." >&5
25673 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25674 which seems to be undefined. Please make sure it is defined." >&2;}
25678 -) cat "$tmp/out"; rm -f "$tmp/out";;
25679 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25688 # Transform confdefs.h into a sed script `conftest.defines', that
25689 # substitutes the proper values into config.h.in to produce config.h.
25690 rm -f conftest.defines conftest.tail
25691 # First, append a space to every undef/define line, to ease matching.
25692 echo 's/$/ /' >conftest.defines
25693 # Then, protect against being on the right side of a sed subst, or in
25694 # an unquoted here document, in config.status. If some macros were
25695 # called several times there might be several #defines for the same
25696 # symbol, which is useless. But do not sort them, since the last
25697 # AC_DEFINE must be honored.
25698 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25699 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25700 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25701 # PARAMS is the parameter list in the macro definition--in most cases, it's
25702 # just an empty string.
25703 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25704 ac_dB='\\)[ (].*,\\1define\\2'
25712 s/^[ ]*#[ ]*define[ ][ ]*//
25717 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25718 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25719 ' >>conftest.defines
25721 # Remove the space that was appended to ease matching.
25722 # Then replace #undef with comments. This is necessary, for
25723 # example, in the case of _POSIX_SOURCE, which is predefined and required
25724 # on some systems where configure will not decide to define it.
25725 # (The regexp can be short, since the line contains either #define or #undef.)
25727 s,^[ #]*u.*,/* & */,' >>conftest.defines
25729 # Break up conftest.defines:
25730 ac_max_sed_lines=50
25732 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25733 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25734 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25736 ac_in='$ac_file_inputs'
25737 ac_out='"$tmp/out1"'
25738 ac_nxt='"$tmp/out2"'
25742 # Write a here document:
25743 cat >>$CONFIG_STATUS <<_ACEOF
25744 # First, check the format of the line:
25745 cat >"\$tmp/defines.sed" <<\\CEOF
25746 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25747 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25751 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25753 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25754 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
25755 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
25756 grep . conftest.tail >/dev/null || break
25757 rm -f conftest.defines
25758 mv conftest.tail conftest.defines
25760 rm -f conftest.defines conftest.tail
25762 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25763 cat >>$CONFIG_STATUS <<\_ACEOF
25764 if test x"$ac_file" != x-; then
25765 echo "/* $configure_input */" >"$tmp/config.h"
25766 cat "$ac_result" >>"$tmp/config.h"
25767 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
25768 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25769 echo "$as_me: $ac_file is unchanged" >&6;}
25772 mv "$tmp/config.h" $ac_file
25775 echo "/* $configure_input */"
25781 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25782 echo "$as_me: executing $ac_file commands" >&6;}
25787 case $ac_file$ac_mode in
25788 "dlls/gdi/enhmfdrv":C) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
25789 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
25790 "dlls/gdi/mfdrv":C) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
25791 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
25792 "dlls/kernel/messages":C) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
25793 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
25794 "dlls/user/resources":C) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
25795 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
25796 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
25797 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
25798 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
25799 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
25805 { (exit 0); exit 0; }
25807 chmod +x $CONFIG_STATUS
25808 ac_clean_files=$ac_clean_files_save
25811 # configure is writing to config.log, and then calls config.status.
25812 # config.status does its own redirection, appending to config.log.
25813 # Unfortunately, on DOS this fails, as config.log is still kept open
25814 # by configure, so config.status won't be able to write to it; its
25815 # output is simply discarded. So we exec the FD to /dev/null,
25816 # effectively closing config.log, so it can be properly (re)opened and
25817 # appended to by config.status. When coming back to configure, we
25818 # need to make the FD available again.
25819 if test "$no_create" != yes; then
25821 ac_config_status_args=
25822 test "$silent" = yes &&
25823 ac_config_status_args="$ac_config_status_args --quiet"
25825 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25827 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25828 # would make configure fail if this is the last instruction.
25829 $ac_cs_success || { (exit 1); exit 1; }
25833 if test "$have_x" = "no"
25836 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
25837 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
25838 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
25839 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
25840 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
25841 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
25842 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
25843 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
25846 if test "$wine_cv_opengl_version_OK" = "no"
25849 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&5
25850 echo "$as_me: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&2;}
25851 { echo "$as_me:$LINENO: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
25852 echo "$as_me: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
25855 if test "$wine_cv_msg_freetype" = "yes"
25858 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
25859 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
25860 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
25861 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
25862 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
25863 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
25864 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
25865 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
25868 if test -z "$FONTSSUBDIRS"
25871 if test "$FONTFORGE" = "false"
25873 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
25874 echo "$as_me: WARNING: FontForge is missing." >&2;}
25876 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
25877 echo "$as_me: WARNING: FreeType is missing." >&2;}
25879 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
25880 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
25883 if test -z "$ALSALIBS" -a \
25884 -z "$ARTSC_LIBS" -a \
25885 -z "$AUDIOIOLIBS" -a \
25887 -z "$ESD_LIBS" -a \
25888 -z "$ac_cv_lib_soname_jack" -a \
25889 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
25890 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
25891 "$ac_cv_header_soundcard_h" != "yes"
25894 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
25895 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
25896 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
25897 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
25898 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
25899 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
25903 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."