2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.33.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir=.
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
260 CONFIG_SHELL=$as_shell
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
288 as_func_ret_success () {
291 as_func_ret_failure () {
296 if as_func_success; then
300 echo as_func_success failed.
303 if as_func_failure; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474 ECHO_C= ECHO_N= ECHO_T=
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 elif ln conf$$.file conf$$ 2>/dev/null; then
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
519 test -d ./-p && rmdir ./-p
523 if test -x / >/dev/null 2>&1; then
526 if ls -dL / >/dev/null 2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix=/usr/local
566 ac_config_libobj_dir=.
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
576 PACKAGE_TARNAME='wine'
577 PACKAGE_VERSION='0.9.33'
578 PACKAGE_STRING='Wine 0.9.33'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
627 program_transform_name
774 ac_subst_files='MAKE_RULES
779 ac_precious_vars='build_alias
794 # Initialize some variables set by options.
796 ac_init_version=false
797 # The variables have the same names as the options, with
798 # dashes changed to underlines.
806 program_transform_name=s,x,x,
814 # Installation directory options.
815 # These are left unexpanded so users can "make install exec_prefix=/foo"
816 # and all the variables that are supposed to be based on exec_prefix
817 # by default will actually change.
818 # Use braces instead of parens because sh, perl, etc. also accept them.
819 # (The list follows the same order as the GNU Coding Standards.)
820 bindir='${exec_prefix}/bin'
821 sbindir='${exec_prefix}/sbin'
822 libexecdir='${exec_prefix}/libexec'
823 datarootdir='${prefix}/share'
824 datadir='${datarootdir}'
825 sysconfdir='${prefix}/etc'
826 sharedstatedir='${prefix}/com'
827 localstatedir='${prefix}/var'
828 includedir='${prefix}/include'
829 oldincludedir='/usr/include'
830 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
831 infodir='${datarootdir}/info'
836 libdir='${exec_prefix}/lib'
837 localedir='${datarootdir}/locale'
838 mandir='${datarootdir}/man'
844 # If the previous option needs an argument, assign it.
845 if test -n "$ac_prev"; then
846 eval $ac_prev=\$ac_option
852 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
856 # Accept the important Cygnus configure options, so we can diagnose typos.
858 case $ac_dashdash$ac_option in
862 -bindir | --bindir | --bindi | --bind | --bin | --bi)
864 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
867 -build | --build | --buil | --bui | --bu)
868 ac_prev=build_alias ;;
869 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
870 build_alias=$ac_optarg ;;
872 -cache-file | --cache-file | --cache-fil | --cache-fi \
873 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
874 ac_prev=cache_file ;;
875 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
876 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
877 cache_file=$ac_optarg ;;
880 cache_file=config.cache ;;
882 -datadir | --datadir | --datadi | --datad)
884 -datadir=* | --datadir=* | --datadi=* | --datad=*)
885 datadir=$ac_optarg ;;
887 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
888 | --dataroo | --dataro | --datar)
889 ac_prev=datarootdir ;;
890 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
891 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
892 datarootdir=$ac_optarg ;;
894 -disable-* | --disable-*)
895 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
896 # Reject names that are not valid shell variable names.
897 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
898 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
899 { (exit 1); exit 1; }; }
900 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
901 eval enable_$ac_feature=no ;;
903 -docdir | --docdir | --docdi | --doc | --do)
905 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
908 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
910 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
913 -enable-* | --enable-*)
914 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
915 # Reject names that are not valid shell variable names.
916 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
917 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
918 { (exit 1); exit 1; }; }
919 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
920 eval enable_$ac_feature=\$ac_optarg ;;
922 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
923 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
924 | --exec | --exe | --ex)
925 ac_prev=exec_prefix ;;
926 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
927 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
928 | --exec=* | --exe=* | --ex=*)
929 exec_prefix=$ac_optarg ;;
931 -gas | --gas | --ga | --g)
932 # Obsolete; use --with-gas.
935 -help | --help | --hel | --he | -h)
937 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
938 ac_init_help=recursive ;;
939 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
940 ac_init_help=short ;;
942 -host | --host | --hos | --ho)
943 ac_prev=host_alias ;;
944 -host=* | --host=* | --hos=* | --ho=*)
945 host_alias=$ac_optarg ;;
947 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
949 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
951 htmldir=$ac_optarg ;;
953 -includedir | --includedir | --includedi | --included | --include \
954 | --includ | --inclu | --incl | --inc)
955 ac_prev=includedir ;;
956 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
957 | --includ=* | --inclu=* | --incl=* | --inc=*)
958 includedir=$ac_optarg ;;
960 -infodir | --infodir | --infodi | --infod | --info | --inf)
962 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
963 infodir=$ac_optarg ;;
965 -libdir | --libdir | --libdi | --libd)
967 -libdir=* | --libdir=* | --libdi=* | --libd=*)
970 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
971 | --libexe | --libex | --libe)
972 ac_prev=libexecdir ;;
973 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
974 | --libexe=* | --libex=* | --libe=*)
975 libexecdir=$ac_optarg ;;
977 -localedir | --localedir | --localedi | --localed | --locale)
979 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
980 localedir=$ac_optarg ;;
982 -localstatedir | --localstatedir | --localstatedi | --localstated \
983 | --localstate | --localstat | --localsta | --localst | --locals)
984 ac_prev=localstatedir ;;
985 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
986 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
987 localstatedir=$ac_optarg ;;
989 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
991 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
995 # Obsolete; use --without-fp.
998 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
999 | --no-cr | --no-c | -n)
1002 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1003 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1006 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1007 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1008 | --oldin | --oldi | --old | --ol | --o)
1009 ac_prev=oldincludedir ;;
1010 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1011 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1012 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1013 oldincludedir=$ac_optarg ;;
1015 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1017 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1018 prefix=$ac_optarg ;;
1020 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1021 | --program-pre | --program-pr | --program-p)
1022 ac_prev=program_prefix ;;
1023 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1024 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1025 program_prefix=$ac_optarg ;;
1027 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1028 | --program-suf | --program-su | --program-s)
1029 ac_prev=program_suffix ;;
1030 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1031 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1032 program_suffix=$ac_optarg ;;
1034 -program-transform-name | --program-transform-name \
1035 | --program-transform-nam | --program-transform-na \
1036 | --program-transform-n | --program-transform- \
1037 | --program-transform | --program-transfor \
1038 | --program-transfo | --program-transf \
1039 | --program-trans | --program-tran \
1040 | --progr-tra | --program-tr | --program-t)
1041 ac_prev=program_transform_name ;;
1042 -program-transform-name=* | --program-transform-name=* \
1043 | --program-transform-nam=* | --program-transform-na=* \
1044 | --program-transform-n=* | --program-transform-=* \
1045 | --program-transform=* | --program-transfor=* \
1046 | --program-transfo=* | --program-transf=* \
1047 | --program-trans=* | --program-tran=* \
1048 | --progr-tra=* | --program-tr=* | --program-t=*)
1049 program_transform_name=$ac_optarg ;;
1051 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1053 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1054 pdfdir=$ac_optarg ;;
1056 -psdir | --psdir | --psdi | --psd | --ps)
1058 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1065 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1067 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1069 sbindir=$ac_optarg ;;
1071 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1072 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1073 | --sharedst | --shareds | --shared | --share | --shar \
1075 ac_prev=sharedstatedir ;;
1076 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1077 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1078 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1080 sharedstatedir=$ac_optarg ;;
1082 -site | --site | --sit)
1084 -site=* | --site=* | --sit=*)
1087 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1089 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1090 srcdir=$ac_optarg ;;
1092 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1093 | --syscon | --sysco | --sysc | --sys | --sy)
1094 ac_prev=sysconfdir ;;
1095 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1096 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1097 sysconfdir=$ac_optarg ;;
1099 -target | --target | --targe | --targ | --tar | --ta | --t)
1100 ac_prev=target_alias ;;
1101 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1102 target_alias=$ac_optarg ;;
1104 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1107 -version | --version | --versio | --versi | --vers | -V)
1108 ac_init_version=: ;;
1111 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1114 { echo "$as_me: error: invalid package name: $ac_package" >&2
1115 { (exit 1); exit 1; }; }
1116 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1117 eval with_$ac_package=\$ac_optarg ;;
1119 -without-* | --without-*)
1120 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1123 { echo "$as_me: error: invalid package name: $ac_package" >&2
1124 { (exit 1); exit 1; }; }
1125 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1126 eval with_$ac_package=no ;;
1129 # Obsolete; use --with-x.
1132 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1133 | --x-incl | --x-inc | --x-in | --x-i)
1134 ac_prev=x_includes ;;
1135 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1136 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1137 x_includes=$ac_optarg ;;
1139 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1140 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1141 ac_prev=x_libraries ;;
1142 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1143 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1144 x_libraries=$ac_optarg ;;
1146 -*) { echo "$as_me: error: unrecognized option: $ac_option
1147 Try \`$0 --help' for more information." >&2
1148 { (exit 1); exit 1; }; }
1152 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1155 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1156 { (exit 1); exit 1; }; }
1157 eval $ac_envvar=\$ac_optarg
1158 export $ac_envvar ;;
1161 # FIXME: should be removed in autoconf 3.0.
1162 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1163 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1164 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1165 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1171 if test -n "$ac_prev"; then
1172 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1173 { echo "$as_me: error: missing argument to $ac_option" >&2
1174 { (exit 1); exit 1; }; }
1177 # Be sure to have absolute directory names.
1178 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1179 datadir sysconfdir sharedstatedir localstatedir includedir \
1180 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1181 libdir localedir mandir
1183 eval ac_val=\$$ac_var
1185 [\\/$]* | ?:[\\/]* ) continue;;
1186 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1188 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1189 { (exit 1); exit 1; }; }
1192 # There might be people who depend on the old broken behavior: `$host'
1193 # used to hold the argument of --host etc.
1194 # FIXME: To remove some day.
1197 target=$target_alias
1199 # FIXME: To remove some day.
1200 if test "x$host_alias" != x; then
1201 if test "x$build_alias" = x; then
1202 cross_compiling=maybe
1203 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1204 If a cross compiler is detected then cross compile mode will be used." >&2
1205 elif test "x$build_alias" != "x$host_alias"; then
1211 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1213 test "$silent" = yes && exec 6>/dev/null
1216 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1217 ac_ls_di=`ls -di .` &&
1218 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1219 { echo "$as_me: error: Working directory cannot be determined" >&2
1220 { (exit 1); exit 1; }; }
1221 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1222 { echo "$as_me: error: pwd does not report name of working directory" >&2
1223 { (exit 1); exit 1; }; }
1226 # Find the source files, if location was not specified.
1227 if test -z "$srcdir"; then
1228 ac_srcdir_defaulted=yes
1229 # Try the directory containing this script, then the parent directory.
1230 ac_confdir=`$as_dirname -- "$0" ||
1231 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1232 X"$0" : 'X\(//\)[^/]' \| \
1233 X"$0" : 'X\(//\)$' \| \
1234 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1254 if test ! -r "$srcdir/$ac_unique_file"; then
1258 ac_srcdir_defaulted=no
1260 if test ! -r "$srcdir/$ac_unique_file"; then
1261 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1262 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1263 { (exit 1); exit 1; }; }
1265 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1267 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1268 { (exit 1); exit 1; }; }
1270 # When building in place, set srcdir=.
1271 if test "$ac_abs_confdir" = "$ac_pwd"; then
1274 # Remove unnecessary trailing slashes from srcdir.
1275 # Double slashes in file names in object file debugging info
1276 # mess up M-x gdb in Emacs.
1278 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1280 for ac_var in $ac_precious_vars; do
1281 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1282 eval ac_env_${ac_var}_value=\$${ac_var}
1283 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1284 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1288 # Report the --help message.
1290 if test "$ac_init_help" = "long"; then
1291 # Omit some internal or obsolete options to make the list less imposing.
1292 # This message is too long to be a string in the A/UX 3.1 sh.
1294 \`configure' configures Wine 0.9.33 to adapt to many kinds of systems.
1296 Usage: $0 [OPTION]... [VAR=VALUE]...
1298 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1299 VAR=VALUE. See below for descriptions of some of the useful variables.
1301 Defaults for the options are specified in brackets.
1304 -h, --help display this help and exit
1305 --help=short display options specific to this package
1306 --help=recursive display the short help of all the included packages
1307 -V, --version display version information and exit
1308 -q, --quiet, --silent do not print \`checking...' messages
1309 --cache-file=FILE cache test results in FILE [disabled]
1310 -C, --config-cache alias for \`--cache-file=config.cache'
1311 -n, --no-create do not create output files
1312 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1314 Installation directories:
1315 --prefix=PREFIX install architecture-independent files in PREFIX
1316 [$ac_default_prefix]
1317 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1320 By default, \`make install' will install all the files in
1321 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1322 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1323 for instance \`--prefix=\$HOME'.
1325 For better control, use the options below.
1327 Fine tuning of the installation directories:
1328 --bindir=DIR user executables [EPREFIX/bin]
1329 --sbindir=DIR system admin executables [EPREFIX/sbin]
1330 --libexecdir=DIR program executables [EPREFIX/libexec]
1331 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1332 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1333 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1334 --libdir=DIR object code libraries [EPREFIX/lib]
1335 --includedir=DIR C header files [PREFIX/include]
1336 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1337 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1338 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1339 --infodir=DIR info documentation [DATAROOTDIR/info]
1340 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1341 --mandir=DIR man documentation [DATAROOTDIR/man]
1342 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1343 --htmldir=DIR html documentation [DOCDIR]
1344 --dvidir=DIR dvi documentation [DOCDIR]
1345 --pdfdir=DIR pdf documentation [DOCDIR]
1346 --psdir=DIR ps documentation [DOCDIR]
1352 --x-includes=DIR X include files are in DIR
1353 --x-libraries=DIR X library files are in DIR
1356 --build=BUILD configure for building on BUILD [guessed]
1357 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1361 if test -n "$ac_init_help"; then
1362 case $ac_init_help in
1363 short | recursive ) echo "Configuration of Wine 0.9.33:";;
1368 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1369 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1370 --disable-win16 do not include Win16 support
1371 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1375 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1376 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1377 --without-opengl do not use OpenGL
1378 --with-wine-tools=<dir> use Wine tools from directory <dir>
1379 --with-x use the X Window System
1381 Some influential environment variables:
1382 CC C compiler command
1383 CFLAGS C compiler flags
1384 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1385 nonstandard directory <lib dir>
1386 LIBS libraries to pass to the linker, e.g. -l<library>
1387 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1388 you have headers in a nonstandard directory <include dir>
1389 CXX C++ compiler command
1390 CXXFLAGS C++ compiler flags
1391 XMKMF Path to xmkmf, Makefile generator for X Window System
1394 Use these variables to override the choices made by `configure' or to help
1395 it to find libraries and programs with nonstandard names/locations.
1397 Report bugs to <wine-devel@winehq.org>.
1402 if test "$ac_init_help" = "recursive"; then
1403 # If there are subdirs, report their specific --help.
1404 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1405 test -d "$ac_dir" || continue
1409 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1411 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1412 # A ".." for each directory in $ac_dir_suffix.
1413 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1414 case $ac_top_builddir_sub in
1415 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1416 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1419 ac_abs_top_builddir=$ac_pwd
1420 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1421 # for backward compatibility:
1422 ac_top_builddir=$ac_top_build_prefix
1425 .) # We are building in place.
1427 ac_top_srcdir=$ac_top_builddir_sub
1428 ac_abs_top_srcdir=$ac_pwd ;;
1429 [\\/]* | ?:[\\/]* ) # Absolute name.
1430 ac_srcdir=$srcdir$ac_dir_suffix;
1431 ac_top_srcdir=$srcdir
1432 ac_abs_top_srcdir=$srcdir ;;
1434 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1435 ac_top_srcdir=$ac_top_build_prefix$srcdir
1436 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1438 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1440 cd "$ac_dir" || { ac_status=$?; continue; }
1441 # Check for guested configure.
1442 if test -f "$ac_srcdir/configure.gnu"; then
1444 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1445 elif test -f "$ac_srcdir/configure"; then
1447 $SHELL "$ac_srcdir/configure" --help=recursive
1449 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1451 cd "$ac_pwd" || { ac_status=$?; break; }
1455 test -n "$ac_init_help" && exit $ac_status
1456 if $ac_init_version; then
1458 Wine configure 0.9.33
1459 generated by GNU Autoconf 2.61
1461 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1462 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1463 This configure script is free software; the Free Software Foundation
1464 gives unlimited permission to copy, distribute and modify it.
1468 cat >config.log <<_ACEOF
1469 This file contains any messages produced by compilers while
1470 running configure, to aid debugging if configure makes a mistake.
1472 It was created by Wine $as_me 0.9.33, which was
1473 generated by GNU Autoconf 2.61. Invocation command line was
1485 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1486 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1487 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1488 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1489 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1491 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1492 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1494 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1495 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1496 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1497 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1498 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1499 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1500 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1508 test -z "$as_dir" && as_dir=.
1509 echo "PATH: $as_dir"
1525 # Keep a trace of the command line.
1526 # Strip out --no-create and --no-recursion so they do not pile up.
1527 # Strip out --silent because we don't want to record it for future runs.
1528 # Also quote any args containing shell meta-characters.
1529 # Make two passes to allow for proper duplicate-argument suppression.
1533 ac_must_keep_next=false
1539 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1541 | -silent | --silent | --silen | --sile | --sil)
1544 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1547 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1549 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1550 if test $ac_must_keep_next = true; then
1551 ac_must_keep_next=false # Got value, back to normal.
1554 *=* | --config-cache | -C | -disable-* | --disable-* \
1555 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1556 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1557 | -with-* | --with-* | -without-* | --without-* | --x)
1558 case "$ac_configure_args0 " in
1559 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1562 -* ) ac_must_keep_next=true ;;
1565 ac_configure_args="$ac_configure_args '$ac_arg'"
1570 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1571 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1573 # When interrupted or exit'd, cleanup temporary files, and complete
1574 # config.log. We remove comments because anyway the quotes in there
1575 # would cause problems or look ugly.
1576 # WARNING: Use '\'' to represent an apostrophe within the trap.
1577 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1578 trap 'exit_status=$?
1579 # Save into config.log some information that might help in debugging.
1584 ## ---------------- ##
1585 ## Cache variables. ##
1586 ## ---------------- ##
1589 # The following way of writing the cache mishandles newlines in values,
1591 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1592 eval ac_val=\$$ac_var
1596 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1597 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1600 _ | IFS | as_nl) ;; #(
1601 *) $as_unset $ac_var ;;
1606 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1607 *${as_nl}ac_space=\ *)
1609 "s/'\''/'\''\\\\'\'''\''/g;
1610 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1613 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1621 ## ----------------- ##
1622 ## Output variables. ##
1623 ## ----------------- ##
1626 for ac_var in $ac_subst_vars
1628 eval ac_val=\$$ac_var
1630 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1632 echo "$ac_var='\''$ac_val'\''"
1636 if test -n "$ac_subst_files"; then
1638 ## ------------------- ##
1639 ## File substitutions. ##
1640 ## ------------------- ##
1643 for ac_var in $ac_subst_files
1645 eval ac_val=\$$ac_var
1647 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1649 echo "$ac_var='\''$ac_val'\''"
1654 if test -s confdefs.h; then
1664 test "$ac_signal" != 0 &&
1665 echo "$as_me: caught signal $ac_signal"
1666 echo "$as_me: exit $exit_status"
1668 rm -f core *.core core.conftest.* &&
1669 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1672 for ac_signal in 1 2 13 15; do
1673 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1677 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1678 rm -f -r conftest* confdefs.h
1680 # Predefined preprocessor variables.
1682 cat >>confdefs.h <<_ACEOF
1683 #define PACKAGE_NAME "$PACKAGE_NAME"
1687 cat >>confdefs.h <<_ACEOF
1688 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1692 cat >>confdefs.h <<_ACEOF
1693 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1697 cat >>confdefs.h <<_ACEOF
1698 #define PACKAGE_STRING "$PACKAGE_STRING"
1702 cat >>confdefs.h <<_ACEOF
1703 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1707 # Let the site file select an alternate cache file if it wants to.
1708 # Prefer explicitly selected file to automatically selected ones.
1709 if test -n "$CONFIG_SITE"; then
1710 set x "$CONFIG_SITE"
1711 elif test "x$prefix" != xNONE; then
1712 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1714 set x "$ac_default_prefix/share/config.site" \
1715 "$ac_default_prefix/etc/config.site"
1720 if test -r "$ac_site_file"; then
1721 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1722 echo "$as_me: loading site script $ac_site_file" >&6;}
1723 sed 's/^/| /' "$ac_site_file" >&5
1728 if test -r "$cache_file"; then
1729 # Some versions of bash will fail to source /dev/null (special
1730 # files actually), so we avoid doing that.
1731 if test -f "$cache_file"; then
1732 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1733 echo "$as_me: loading cache $cache_file" >&6;}
1735 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1736 *) . "./$cache_file";;
1740 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1741 echo "$as_me: creating cache $cache_file" >&6;}
1745 # Check that the precious variables saved in the cache have kept the same
1747 ac_cache_corrupted=false
1748 for ac_var in $ac_precious_vars; do
1749 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1750 eval ac_new_set=\$ac_env_${ac_var}_set
1751 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1752 eval ac_new_val=\$ac_env_${ac_var}_value
1753 case $ac_old_set,$ac_new_set in
1755 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1756 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1757 ac_cache_corrupted=: ;;
1759 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1760 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1761 ac_cache_corrupted=: ;;
1764 if test "x$ac_old_val" != "x$ac_new_val"; then
1765 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1766 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1767 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1768 echo "$as_me: former value: $ac_old_val" >&2;}
1769 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1770 echo "$as_me: current value: $ac_new_val" >&2;}
1771 ac_cache_corrupted=:
1774 # Pass precious variables to config.status.
1775 if test "$ac_new_set" = set; then
1777 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1778 *) ac_arg=$ac_var=$ac_new_val ;;
1780 case " $ac_configure_args " in
1781 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1782 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1786 if $ac_cache_corrupted; then
1787 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1788 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1789 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1790 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1791 { (exit 1); exit 1; }; }
1819 ac_cpp='$CPP $CPPFLAGS'
1820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1826 ac_config_headers="$ac_config_headers include/config.h"
1829 for ac_dir in tools "$srcdir"/tools; do
1830 if test -f "$ac_dir/install-sh"; then
1832 ac_install_sh="$ac_aux_dir/install-sh -c"
1834 elif test -f "$ac_dir/install.sh"; then
1836 ac_install_sh="$ac_aux_dir/install.sh -c"
1838 elif test -f "$ac_dir/shtool"; then
1840 ac_install_sh="$ac_aux_dir/shtool install -c"
1844 if test -z "$ac_aux_dir"; then
1845 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1846 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1847 { (exit 1); exit 1; }; }
1850 # These three variables are undocumented and unsupported,
1851 # and are intended to be withdrawn in a future Autoconf release.
1852 # They can cause serious problems if a builder's source tree is in a directory
1853 # whose full name contains unusual characters.
1854 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1855 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1856 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1861 # Check whether --enable-win16 was given.
1862 if test "${enable_win16+set}" = set; then
1863 enableval=$enable_win16;
1866 # Check whether --enable-win64 was given.
1867 if test "${enable_win64+set}" = set; then
1868 enableval=$enable_win64;
1873 # Check whether --with-opengl was given.
1874 if test "${with_opengl+set}" = set; then
1875 withval=$with_opengl;
1879 # Check whether --with-wine-tools was given.
1880 if test "${with_wine_tools+set}" = set; then
1881 withval=$with_wine_tools;
1885 # Make sure we can run config.sub.
1886 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1887 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1888 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1889 { (exit 1); exit 1; }; }
1891 { echo "$as_me:$LINENO: checking build system type" >&5
1892 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1893 if test "${ac_cv_build+set}" = set; then
1894 echo $ECHO_N "(cached) $ECHO_C" >&6
1896 ac_build_alias=$build_alias
1897 test "x$ac_build_alias" = x &&
1898 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1899 test "x$ac_build_alias" = x &&
1900 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1901 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1902 { (exit 1); exit 1; }; }
1903 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1904 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1905 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1906 { (exit 1); exit 1; }; }
1909 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1910 echo "${ECHO_T}$ac_cv_build" >&6; }
1911 case $ac_cv_build in
1913 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1914 echo "$as_me: error: invalid value of canonical build" >&2;}
1915 { (exit 1); exit 1; }; };;
1918 ac_save_IFS=$IFS; IFS='-'
1924 # Remember, the first character of IFS is used to create $*,
1925 # except with old shells:
1928 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1931 { echo "$as_me:$LINENO: checking host system type" >&5
1932 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1933 if test "${ac_cv_host+set}" = set; then
1934 echo $ECHO_N "(cached) $ECHO_C" >&6
1936 if test "x$host_alias" = x; then
1937 ac_cv_host=$ac_cv_build
1939 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1940 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1941 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1942 { (exit 1); exit 1; }; }
1946 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1947 echo "${ECHO_T}$ac_cv_host" >&6; }
1950 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1951 echo "$as_me: error: invalid value of canonical host" >&2;}
1952 { (exit 1); exit 1; }; };;
1955 ac_save_IFS=$IFS; IFS='-'
1961 # Remember, the first character of IFS is used to create $*,
1962 # except with old shells:
1965 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1970 if test "x$enable_win64" != "xyes"
1972 test -n "$CC" || CC="gcc -m32"
1973 test -n "$LD" || LD="ld -m elf_i386"
1974 test -n "$AS" || AS="as --32"
1982 if test "x$enable_win16" != "xno"
1989 WIN16_FILES="\$(WIN16_FILES)"
1991 WIN16_INSTALL="\$(WIN16_INSTALL)"
1993 if test "x$enable_win16" != "xyes"
2001 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2002 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2003 You need to run 'make distclean' in the source tree first." >&5
2004 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2005 You need to run 'make distclean' in the source tree first." >&2;}
2006 { (exit 1); exit 1; }; }
2011 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2012 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2013 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2014 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2015 echo $ECHO_N "(cached) $ECHO_C" >&6
2017 cat >conftest.make <<\_ACEOF
2020 @echo '@@@%%%=$(MAKE)=@@@%%%'
2022 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2023 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2025 eval ac_cv_prog_make_${ac_make}_set=yes;;
2027 eval ac_cv_prog_make_${ac_make}_set=no;;
2031 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2032 { echo "$as_me:$LINENO: result: yes" >&5
2033 echo "${ECHO_T}yes" >&6; }
2036 { echo "$as_me:$LINENO: result: no" >&5
2037 echo "${ECHO_T}no" >&6; }
2038 SET_MAKE="MAKE=${MAKE-make}"
2042 ac_cpp='$CPP $CPPFLAGS'
2043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2046 if test -n "$ac_tool_prefix"; then
2047 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2048 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2051 if test "${ac_cv_prog_CC+set}" = set; then
2052 echo $ECHO_N "(cached) $ECHO_C" >&6
2054 if test -n "$CC"; then
2055 ac_cv_prog_CC="$CC" # Let the user override the test.
2057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2061 test -z "$as_dir" && as_dir=.
2062 for ac_exec_ext in '' $ac_executable_extensions; do
2063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2064 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2075 if test -n "$CC"; then
2076 { echo "$as_me:$LINENO: result: $CC" >&5
2077 echo "${ECHO_T}$CC" >&6; }
2079 { echo "$as_me:$LINENO: result: no" >&5
2080 echo "${ECHO_T}no" >&6; }
2085 if test -z "$ac_cv_prog_CC"; then
2087 # Extract the first word of "gcc", so it can be a program name with args.
2088 set dummy gcc; ac_word=$2
2089 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2091 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2092 echo $ECHO_N "(cached) $ECHO_C" >&6
2094 if test -n "$ac_ct_CC"; then
2095 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2101 test -z "$as_dir" && as_dir=.
2102 for ac_exec_ext in '' $ac_executable_extensions; do
2103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2104 ac_cv_prog_ac_ct_CC="gcc"
2105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2114 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2115 if test -n "$ac_ct_CC"; then
2116 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2117 echo "${ECHO_T}$ac_ct_CC" >&6; }
2119 { echo "$as_me:$LINENO: result: no" >&5
2120 echo "${ECHO_T}no" >&6; }
2123 if test "x$ac_ct_CC" = x; then
2126 case $cross_compiling:$ac_tool_warned in
2128 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2129 whose name does not start with the host triplet. If you think this
2130 configuration is useful to you, please write to autoconf@gnu.org." >&5
2131 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2132 whose name does not start with the host triplet. If you think this
2133 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2134 ac_tool_warned=yes ;;
2142 if test -z "$CC"; then
2143 if test -n "$ac_tool_prefix"; then
2144 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2145 set dummy ${ac_tool_prefix}cc; ac_word=$2
2146 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2148 if test "${ac_cv_prog_CC+set}" = set; then
2149 echo $ECHO_N "(cached) $ECHO_C" >&6
2151 if test -n "$CC"; then
2152 ac_cv_prog_CC="$CC" # Let the user override the test.
2154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2158 test -z "$as_dir" && as_dir=.
2159 for ac_exec_ext in '' $ac_executable_extensions; do
2160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2161 ac_cv_prog_CC="${ac_tool_prefix}cc"
2162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2172 if test -n "$CC"; then
2173 { echo "$as_me:$LINENO: result: $CC" >&5
2174 echo "${ECHO_T}$CC" >&6; }
2176 { echo "$as_me:$LINENO: result: no" >&5
2177 echo "${ECHO_T}no" >&6; }
2183 if test -z "$CC"; then
2184 # Extract the first word of "cc", so it can be a program name with args.
2185 set dummy cc; ac_word=$2
2186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2188 if test "${ac_cv_prog_CC+set}" = set; then
2189 echo $ECHO_N "(cached) $ECHO_C" >&6
2191 if test -n "$CC"; then
2192 ac_cv_prog_CC="$CC" # Let the user override the test.
2195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2199 test -z "$as_dir" && as_dir=.
2200 for ac_exec_ext in '' $ac_executable_extensions; do
2201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2202 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2203 ac_prog_rejected=yes
2207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2214 if test $ac_prog_rejected = yes; then
2215 # We found a bogon in the path, so make sure we never use it.
2216 set dummy $ac_cv_prog_CC
2218 if test $# != 0; then
2219 # We chose a different compiler from the bogus one.
2220 # However, it has the same basename, so the bogon will be chosen
2221 # first if we set CC to just the basename; use the full file name.
2223 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2229 if test -n "$CC"; then
2230 { echo "$as_me:$LINENO: result: $CC" >&5
2231 echo "${ECHO_T}$CC" >&6; }
2233 { echo "$as_me:$LINENO: result: no" >&5
2234 echo "${ECHO_T}no" >&6; }
2239 if test -z "$CC"; then
2240 if test -n "$ac_tool_prefix"; then
2241 for ac_prog in cl.exe
2243 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2244 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2247 if test "${ac_cv_prog_CC+set}" = set; then
2248 echo $ECHO_N "(cached) $ECHO_C" >&6
2250 if test -n "$CC"; then
2251 ac_cv_prog_CC="$CC" # Let the user override the test.
2253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2257 test -z "$as_dir" && as_dir=.
2258 for ac_exec_ext in '' $ac_executable_extensions; do
2259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2260 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2271 if test -n "$CC"; then
2272 { echo "$as_me:$LINENO: result: $CC" >&5
2273 echo "${ECHO_T}$CC" >&6; }
2275 { echo "$as_me:$LINENO: result: no" >&5
2276 echo "${ECHO_T}no" >&6; }
2280 test -n "$CC" && break
2283 if test -z "$CC"; then
2285 for ac_prog in cl.exe
2287 # Extract the first word of "$ac_prog", so it can be a program name with args.
2288 set dummy $ac_prog; ac_word=$2
2289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2291 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2292 echo $ECHO_N "(cached) $ECHO_C" >&6
2294 if test -n "$ac_ct_CC"; then
2295 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2301 test -z "$as_dir" && as_dir=.
2302 for ac_exec_ext in '' $ac_executable_extensions; do
2303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2304 ac_cv_prog_ac_ct_CC="$ac_prog"
2305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2314 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2315 if test -n "$ac_ct_CC"; then
2316 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2317 echo "${ECHO_T}$ac_ct_CC" >&6; }
2319 { echo "$as_me:$LINENO: result: no" >&5
2320 echo "${ECHO_T}no" >&6; }
2324 test -n "$ac_ct_CC" && break
2327 if test "x$ac_ct_CC" = x; then
2330 case $cross_compiling:$ac_tool_warned in
2332 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2333 whose name does not start with the host triplet. If you think this
2334 configuration is useful to you, please write to autoconf@gnu.org." >&5
2335 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2336 whose name does not start with the host triplet. If you think this
2337 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2338 ac_tool_warned=yes ;;
2347 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2348 See \`config.log' for more details." >&5
2349 echo "$as_me: error: no acceptable C compiler found in \$PATH
2350 See \`config.log' for more details." >&2;}
2351 { (exit 1); exit 1; }; }
2353 # Provide some information about the compiler.
2354 echo "$as_me:$LINENO: checking for C compiler version" >&5
2355 ac_compiler=`set X $ac_compile; echo $2`
2356 { (ac_try="$ac_compiler --version >&5"
2358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2359 *) ac_try_echo=$ac_try;;
2361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2362 (eval "$ac_compiler --version >&5") 2>&5
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }
2366 { (ac_try="$ac_compiler -v >&5"
2368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2369 *) ac_try_echo=$ac_try;;
2371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2372 (eval "$ac_compiler -v >&5") 2>&5
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); }
2376 { (ac_try="$ac_compiler -V >&5"
2378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2379 *) ac_try_echo=$ac_try;;
2381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2382 (eval "$ac_compiler -V >&5") 2>&5
2384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2385 (exit $ac_status); }
2387 cat >conftest.$ac_ext <<_ACEOF
2390 cat confdefs.h >>conftest.$ac_ext
2391 cat >>conftest.$ac_ext <<_ACEOF
2392 /* end confdefs.h. */
2402 ac_clean_files_save=$ac_clean_files
2403 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2404 # Try to create an executable without -o first, disregard a.out.
2405 # It will help us diagnose broken compilers, and finding out an intuition
2407 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2408 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2409 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2411 # List of possible output files, starting from the most likely.
2412 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2413 # only as a last resort. b.out is created by i960 compilers.
2414 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2416 # The IRIX 6 linker writes into existing files which may not be
2417 # executable, retaining their permissions. Remove them first so a
2418 # subsequent execution test works.
2420 for ac_file in $ac_files
2423 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2424 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2429 if { (ac_try="$ac_link_default"
2431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2432 *) ac_try_echo=$ac_try;;
2434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2435 (eval "$ac_link_default") 2>&5
2437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438 (exit $ac_status); }; then
2439 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2440 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2441 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2442 # so that the user can short-circuit this test for compilers unknown to
2444 for ac_file in $ac_files ''
2446 test -f "$ac_file" || continue
2448 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2451 # We found the default executable, but exeext='' is most
2455 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2457 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2459 # We set ac_cv_exeext here because the later test for it is not
2460 # safe: cross compilers may not add the suffix if given an `-o'
2461 # argument, so we may need to know it at that point already.
2462 # Even if this section looks crufty: it has the advantage of
2469 test "$ac_cv_exeext" = no && ac_cv_exeext=
2475 { echo "$as_me:$LINENO: result: $ac_file" >&5
2476 echo "${ECHO_T}$ac_file" >&6; }
2477 if test -z "$ac_file"; then
2478 echo "$as_me: failed program was:" >&5
2479 sed 's/^/| /' conftest.$ac_ext >&5
2481 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2482 See \`config.log' for more details." >&5
2483 echo "$as_me: error: C compiler cannot create executables
2484 See \`config.log' for more details." >&2;}
2485 { (exit 77); exit 77; }; }
2488 ac_exeext=$ac_cv_exeext
2490 # Check that the compiler produces executables we can run. If not, either
2491 # the compiler is broken, or we cross compile.
2492 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2493 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2494 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2495 # If not cross compiling, check that we can run a simple program.
2496 if test "$cross_compiling" != yes; then
2497 if { ac_try='./$ac_file'
2498 { (case "(($ac_try" in
2499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2500 *) ac_try_echo=$ac_try;;
2502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2503 (eval "$ac_try") 2>&5
2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 (exit $ac_status); }; }; then
2509 if test "$cross_compiling" = maybe; then
2512 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2513 If you meant to cross compile, use \`--host'.
2514 See \`config.log' for more details." >&5
2515 echo "$as_me: error: cannot run C compiled programs.
2516 If you meant to cross compile, use \`--host'.
2517 See \`config.log' for more details." >&2;}
2518 { (exit 1); exit 1; }; }
2522 { echo "$as_me:$LINENO: result: yes" >&5
2523 echo "${ECHO_T}yes" >&6; }
2525 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2526 ac_clean_files=$ac_clean_files_save
2527 # Check that the compiler produces executables we can run. If not, either
2528 # the compiler is broken, or we cross compile.
2529 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2530 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2531 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2532 echo "${ECHO_T}$cross_compiling" >&6; }
2534 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2535 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2536 if { (ac_try="$ac_link"
2538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2539 *) ac_try_echo=$ac_try;;
2541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2542 (eval "$ac_link") 2>&5
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); }; then
2546 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2547 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2548 # work properly (i.e., refer to `conftest.exe'), while it won't with
2550 for ac_file in conftest.exe conftest conftest.*; do
2551 test -f "$ac_file" || continue
2553 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2554 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2560 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2561 See \`config.log' for more details." >&5
2562 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2563 See \`config.log' for more details." >&2;}
2564 { (exit 1); exit 1; }; }
2567 rm -f conftest$ac_cv_exeext
2568 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2569 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2571 rm -f conftest.$ac_ext
2572 EXEEXT=$ac_cv_exeext
2574 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2575 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2576 if test "${ac_cv_objext+set}" = set; then
2577 echo $ECHO_N "(cached) $ECHO_C" >&6
2579 cat >conftest.$ac_ext <<_ACEOF
2582 cat confdefs.h >>conftest.$ac_ext
2583 cat >>conftest.$ac_ext <<_ACEOF
2584 /* end confdefs.h. */
2594 rm -f conftest.o conftest.obj
2595 if { (ac_try="$ac_compile"
2597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2598 *) ac_try_echo=$ac_try;;
2600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2601 (eval "$ac_compile") 2>&5
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); }; then
2605 for ac_file in conftest.o conftest.obj conftest.*; do
2606 test -f "$ac_file" || continue;
2608 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2609 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2614 echo "$as_me: failed program was:" >&5
2615 sed 's/^/| /' conftest.$ac_ext >&5
2617 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2618 See \`config.log' for more details." >&5
2619 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2620 See \`config.log' for more details." >&2;}
2621 { (exit 1); exit 1; }; }
2624 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2626 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2627 echo "${ECHO_T}$ac_cv_objext" >&6; }
2628 OBJEXT=$ac_cv_objext
2630 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2631 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2632 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2633 echo $ECHO_N "(cached) $ECHO_C" >&6
2635 cat >conftest.$ac_ext <<_ACEOF
2638 cat confdefs.h >>conftest.$ac_ext
2639 cat >>conftest.$ac_ext <<_ACEOF
2640 /* end confdefs.h. */
2653 rm -f conftest.$ac_objext
2654 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
2662 grep -v '^ *+' conftest.er1 >conftest.err
2664 cat conftest.err >&5
2665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666 (exit $ac_status); } && {
2667 test -z "$ac_c_werror_flag" ||
2668 test ! -s conftest.err
2669 } && test -s conftest.$ac_objext; then
2672 echo "$as_me: failed program was:" >&5
2673 sed 's/^/| /' conftest.$ac_ext >&5
2678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2679 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2682 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2683 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2684 GCC=`test $ac_compiler_gnu = yes && echo yes`
2685 ac_test_CFLAGS=${CFLAGS+set}
2686 ac_save_CFLAGS=$CFLAGS
2687 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2688 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2689 if test "${ac_cv_prog_cc_g+set}" = set; then
2690 echo $ECHO_N "(cached) $ECHO_C" >&6
2692 ac_save_c_werror_flag=$ac_c_werror_flag
2693 ac_c_werror_flag=yes
2696 cat >conftest.$ac_ext <<_ACEOF
2699 cat confdefs.h >>conftest.$ac_ext
2700 cat >>conftest.$ac_ext <<_ACEOF
2701 /* end confdefs.h. */
2711 rm -f conftest.$ac_objext
2712 if { (ac_try="$ac_compile"
2714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2715 *) ac_try_echo=$ac_try;;
2717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2718 (eval "$ac_compile") 2>conftest.er1
2720 grep -v '^ *+' conftest.er1 >conftest.err
2722 cat conftest.err >&5
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); } && {
2725 test -z "$ac_c_werror_flag" ||
2726 test ! -s conftest.err
2727 } && test -s conftest.$ac_objext; then
2730 echo "$as_me: failed program was:" >&5
2731 sed 's/^/| /' conftest.$ac_ext >&5
2734 cat >conftest.$ac_ext <<_ACEOF
2737 cat confdefs.h >>conftest.$ac_ext
2738 cat >>conftest.$ac_ext <<_ACEOF
2739 /* end confdefs.h. */
2749 rm -f conftest.$ac_objext
2750 if { (ac_try="$ac_compile"
2752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2753 *) ac_try_echo=$ac_try;;
2755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2756 (eval "$ac_compile") 2>conftest.er1
2758 grep -v '^ *+' conftest.er1 >conftest.err
2760 cat conftest.err >&5
2761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762 (exit $ac_status); } && {
2763 test -z "$ac_c_werror_flag" ||
2764 test ! -s conftest.err
2765 } && test -s conftest.$ac_objext; then
2768 echo "$as_me: failed program was:" >&5
2769 sed 's/^/| /' conftest.$ac_ext >&5
2771 ac_c_werror_flag=$ac_save_c_werror_flag
2773 cat >conftest.$ac_ext <<_ACEOF
2776 cat confdefs.h >>conftest.$ac_ext
2777 cat >>conftest.$ac_ext <<_ACEOF
2778 /* end confdefs.h. */
2788 rm -f conftest.$ac_objext
2789 if { (ac_try="$ac_compile"
2791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2792 *) ac_try_echo=$ac_try;;
2794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2795 (eval "$ac_compile") 2>conftest.er1
2797 grep -v '^ *+' conftest.er1 >conftest.err
2799 cat conftest.err >&5
2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); } && {
2802 test -z "$ac_c_werror_flag" ||
2803 test ! -s conftest.err
2804 } && test -s conftest.$ac_objext; then
2807 echo "$as_me: failed program was:" >&5
2808 sed 's/^/| /' conftest.$ac_ext >&5
2813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2820 ac_c_werror_flag=$ac_save_c_werror_flag
2822 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2823 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2824 if test "$ac_test_CFLAGS" = set; then
2825 CFLAGS=$ac_save_CFLAGS
2826 elif test $ac_cv_prog_cc_g = yes; then
2827 if test "$GCC" = yes; then
2833 if test "$GCC" = yes; then
2839 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2840 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2841 if test "${ac_cv_prog_cc_c89+set}" = set; then
2842 echo $ECHO_N "(cached) $ECHO_C" >&6
2844 ac_cv_prog_cc_c89=no
2846 cat >conftest.$ac_ext <<_ACEOF
2849 cat confdefs.h >>conftest.$ac_ext
2850 cat >>conftest.$ac_ext <<_ACEOF
2851 /* end confdefs.h. */
2854 #include <sys/types.h>
2855 #include <sys/stat.h>
2856 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2857 struct buf { int x; };
2858 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2859 static char *e (p, i)
2865 static char *f (char * (*g) (char **, int), char **p, ...)
2870 s = g (p, va_arg (v,int));
2875 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2876 function prototypes and stuff, but not '\xHH' hex character constants.
2877 These don't provoke an error unfortunately, instead are silently treated
2878 as 'x'. The following induces an error, until -std is added to get
2879 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2880 array size at least. It's necessary to write '\x00'==0 to get something
2881 that's true only with -std. */
2882 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2884 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2885 inside strings and character constants. */
2887 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2889 int test (int i, double x);
2890 struct s1 {int (*f) (int a);};
2891 struct s2 {int (*f) (double a);};
2892 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2898 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2903 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2904 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2906 CC="$ac_save_CC $ac_arg"
2907 rm -f conftest.$ac_objext
2908 if { (ac_try="$ac_compile"
2910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2911 *) ac_try_echo=$ac_try;;
2913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2914 (eval "$ac_compile") 2>conftest.er1
2916 grep -v '^ *+' conftest.er1 >conftest.err
2918 cat conftest.err >&5
2919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920 (exit $ac_status); } && {
2921 test -z "$ac_c_werror_flag" ||
2922 test ! -s conftest.err
2923 } && test -s conftest.$ac_objext; then
2924 ac_cv_prog_cc_c89=$ac_arg
2926 echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.$ac_ext >&5
2932 rm -f core conftest.err conftest.$ac_objext
2933 test "x$ac_cv_prog_cc_c89" != "xno" && break
2935 rm -f conftest.$ac_ext
2940 case "x$ac_cv_prog_cc_c89" in
2942 { echo "$as_me:$LINENO: result: none needed" >&5
2943 echo "${ECHO_T}none needed" >&6; } ;;
2945 { echo "$as_me:$LINENO: result: unsupported" >&5
2946 echo "${ECHO_T}unsupported" >&6; } ;;
2948 CC="$CC $ac_cv_prog_cc_c89"
2949 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2950 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2955 ac_cpp='$CPP $CPPFLAGS'
2956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2961 ac_cpp='$CXXCPP $CPPFLAGS'
2962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2965 if test -z "$CXX"; then
2966 if test -n "$CCC"; then
2969 if test -n "$ac_tool_prefix"; then
2970 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2972 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2973 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2974 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2976 if test "${ac_cv_prog_CXX+set}" = set; then
2977 echo $ECHO_N "(cached) $ECHO_C" >&6
2979 if test -n "$CXX"; then
2980 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2986 test -z "$as_dir" && as_dir=.
2987 for ac_exec_ext in '' $ac_executable_extensions; do
2988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2989 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3000 if test -n "$CXX"; then
3001 { echo "$as_me:$LINENO: result: $CXX" >&5
3002 echo "${ECHO_T}$CXX" >&6; }
3004 { echo "$as_me:$LINENO: result: no" >&5
3005 echo "${ECHO_T}no" >&6; }
3009 test -n "$CXX" && break
3012 if test -z "$CXX"; then
3014 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3016 # Extract the first word of "$ac_prog", so it can be a program name with args.
3017 set dummy $ac_prog; ac_word=$2
3018 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3020 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3021 echo $ECHO_N "(cached) $ECHO_C" >&6
3023 if test -n "$ac_ct_CXX"; then
3024 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3030 test -z "$as_dir" && as_dir=.
3031 for ac_exec_ext in '' $ac_executable_extensions; do
3032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3033 ac_cv_prog_ac_ct_CXX="$ac_prog"
3034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3043 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3044 if test -n "$ac_ct_CXX"; then
3045 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3046 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3048 { echo "$as_me:$LINENO: result: no" >&5
3049 echo "${ECHO_T}no" >&6; }
3053 test -n "$ac_ct_CXX" && break
3056 if test "x$ac_ct_CXX" = x; then
3059 case $cross_compiling:$ac_tool_warned in
3061 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3062 whose name does not start with the host triplet. If you think this
3063 configuration is useful to you, please write to autoconf@gnu.org." >&5
3064 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3065 whose name does not start with the host triplet. If you think this
3066 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3067 ac_tool_warned=yes ;;
3075 # Provide some information about the compiler.
3076 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3077 ac_compiler=`set X $ac_compile; echo $2`
3078 { (ac_try="$ac_compiler --version >&5"
3080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3081 *) ac_try_echo=$ac_try;;
3083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3084 (eval "$ac_compiler --version >&5") 2>&5
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); }
3088 { (ac_try="$ac_compiler -v >&5"
3090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3091 *) ac_try_echo=$ac_try;;
3093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3094 (eval "$ac_compiler -v >&5") 2>&5
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); }
3098 { (ac_try="$ac_compiler -V >&5"
3100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3101 *) ac_try_echo=$ac_try;;
3103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3104 (eval "$ac_compiler -V >&5") 2>&5
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); }
3109 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3110 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3111 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3112 echo $ECHO_N "(cached) $ECHO_C" >&6
3114 cat >conftest.$ac_ext <<_ACEOF
3117 cat confdefs.h >>conftest.$ac_ext
3118 cat >>conftest.$ac_ext <<_ACEOF
3119 /* end confdefs.h. */
3132 rm -f conftest.$ac_objext
3133 if { (ac_try="$ac_compile"
3135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3136 *) ac_try_echo=$ac_try;;
3138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3139 (eval "$ac_compile") 2>conftest.er1
3141 grep -v '^ *+' conftest.er1 >conftest.err
3143 cat conftest.err >&5
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); } && {
3146 test -z "$ac_cxx_werror_flag" ||
3147 test ! -s conftest.err
3148 } && test -s conftest.$ac_objext; then
3151 echo "$as_me: failed program was:" >&5
3152 sed 's/^/| /' conftest.$ac_ext >&5
3157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3158 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3161 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3162 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3163 GXX=`test $ac_compiler_gnu = yes && echo yes`
3164 ac_test_CXXFLAGS=${CXXFLAGS+set}
3165 ac_save_CXXFLAGS=$CXXFLAGS
3166 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3167 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3168 if test "${ac_cv_prog_cxx_g+set}" = set; then
3169 echo $ECHO_N "(cached) $ECHO_C" >&6
3171 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3172 ac_cxx_werror_flag=yes
3175 cat >conftest.$ac_ext <<_ACEOF
3178 cat confdefs.h >>conftest.$ac_ext
3179 cat >>conftest.$ac_ext <<_ACEOF
3180 /* end confdefs.h. */
3190 rm -f conftest.$ac_objext
3191 if { (ac_try="$ac_compile"
3193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3194 *) ac_try_echo=$ac_try;;
3196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3197 (eval "$ac_compile") 2>conftest.er1
3199 grep -v '^ *+' conftest.er1 >conftest.err
3201 cat conftest.err >&5
3202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); } && {
3204 test -z "$ac_cxx_werror_flag" ||
3205 test ! -s conftest.err
3206 } && test -s conftest.$ac_objext; then
3207 ac_cv_prog_cxx_g=yes
3209 echo "$as_me: failed program was:" >&5
3210 sed 's/^/| /' conftest.$ac_ext >&5
3213 cat >conftest.$ac_ext <<_ACEOF
3216 cat confdefs.h >>conftest.$ac_ext
3217 cat >>conftest.$ac_ext <<_ACEOF
3218 /* end confdefs.h. */
3228 rm -f conftest.$ac_objext
3229 if { (ac_try="$ac_compile"
3231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3232 *) ac_try_echo=$ac_try;;
3234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3235 (eval "$ac_compile") 2>conftest.er1
3237 grep -v '^ *+' conftest.er1 >conftest.err
3239 cat conftest.err >&5
3240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3241 (exit $ac_status); } && {
3242 test -z "$ac_cxx_werror_flag" ||
3243 test ! -s conftest.err
3244 } && test -s conftest.$ac_objext; then
3247 echo "$as_me: failed program was:" >&5
3248 sed 's/^/| /' conftest.$ac_ext >&5
3250 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3252 cat >conftest.$ac_ext <<_ACEOF
3255 cat confdefs.h >>conftest.$ac_ext
3256 cat >>conftest.$ac_ext <<_ACEOF
3257 /* end confdefs.h. */
3267 rm -f conftest.$ac_objext
3268 if { (ac_try="$ac_compile"
3270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3271 *) ac_try_echo=$ac_try;;
3273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3274 (eval "$ac_compile") 2>conftest.er1
3276 grep -v '^ *+' conftest.er1 >conftest.err
3278 cat conftest.err >&5
3279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3280 (exit $ac_status); } && {
3281 test -z "$ac_cxx_werror_flag" ||
3282 test ! -s conftest.err
3283 } && test -s conftest.$ac_objext; then
3284 ac_cv_prog_cxx_g=yes
3286 echo "$as_me: failed program was:" >&5
3287 sed 's/^/| /' conftest.$ac_ext >&5
3292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3299 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3301 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3302 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3303 if test "$ac_test_CXXFLAGS" = set; then
3304 CXXFLAGS=$ac_save_CXXFLAGS
3305 elif test $ac_cv_prog_cxx_g = yes; then
3306 if test "$GXX" = yes; then
3312 if test "$GXX" = yes; then
3319 ac_cpp='$CPP $CPPFLAGS'
3320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3324 if test -n "$ac_tool_prefix"; then
3325 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3326 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3329 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3330 echo $ECHO_N "(cached) $ECHO_C" >&6
3332 if test -n "$CPPBIN"; then
3333 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3339 test -z "$as_dir" && as_dir=.
3340 for ac_exec_ext in '' $ac_executable_extensions; do
3341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3342 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3352 CPPBIN=$ac_cv_prog_CPPBIN
3353 if test -n "$CPPBIN"; then
3354 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3355 echo "${ECHO_T}$CPPBIN" >&6; }
3357 { echo "$as_me:$LINENO: result: no" >&5
3358 echo "${ECHO_T}no" >&6; }
3363 if test -z "$ac_cv_prog_CPPBIN"; then
3364 ac_ct_CPPBIN=$CPPBIN
3365 # Extract the first word of "cpp", so it can be a program name with args.
3366 set dummy cpp; ac_word=$2
3367 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3369 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3370 echo $ECHO_N "(cached) $ECHO_C" >&6
3372 if test -n "$ac_ct_CPPBIN"; then
3373 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3379 test -z "$as_dir" && as_dir=.
3380 for ac_exec_ext in '' $ac_executable_extensions; do
3381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3382 ac_cv_prog_ac_ct_CPPBIN="cpp"
3383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3392 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3393 if test -n "$ac_ct_CPPBIN"; then
3394 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3395 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3397 { echo "$as_me:$LINENO: result: no" >&5
3398 echo "${ECHO_T}no" >&6; }
3401 if test "x$ac_ct_CPPBIN" = x; then
3404 case $cross_compiling:$ac_tool_warned in
3406 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3407 whose name does not start with the host triplet. If you think this
3408 configuration is useful to you, please write to autoconf@gnu.org." >&5
3409 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3410 whose name does not start with the host triplet. If you think this
3411 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3412 ac_tool_warned=yes ;;
3414 CPPBIN=$ac_ct_CPPBIN
3417 CPPBIN="$ac_cv_prog_CPPBIN"
3421 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3422 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3423 if test "${wine_cv_toolsdir+set}" = set; then
3424 echo $ECHO_N "(cached) $ECHO_C" >&6
3426 if test -z "$with_wine_tools"; then
3427 if test "$cross_compiling" = "yes"; then
3428 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3429 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3430 { (exit 1); exit 1; }; }
3432 wine_cv_toolsdir="\$(TOPOBJDIR)"
3434 elif test -d "$with_wine_tools/tools/winebuild"; then
3435 case $with_wine_tools in
3436 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3437 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3440 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3441 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3442 { (exit 1); exit 1; }; }
3445 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3446 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3447 TOOLSDIR=$wine_cv_toolsdir
3452 ac_cpp='$CPP $CPPFLAGS'
3453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3456 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3457 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3458 # On Suns, sometimes $CPP names a directory.
3459 if test -n "$CPP" && test -d "$CPP"; then
3462 if test -z "$CPP"; then
3463 if test "${ac_cv_prog_CPP+set}" = set; then
3464 echo $ECHO_N "(cached) $ECHO_C" >&6
3466 # Double quotes because CPP needs to be expanded
3467 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3470 for ac_c_preproc_warn_flag in '' yes
3472 # Use a header file that comes with gcc, so configuring glibc
3473 # with a fresh cross-compiler works.
3474 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3475 # <limits.h> exists even on freestanding compilers.
3476 # On the NeXT, cc -E runs the code through the compiler's parser,
3477 # not just through cpp. "Syntax error" is here to catch this case.
3478 cat >conftest.$ac_ext <<_ACEOF
3481 cat confdefs.h >>conftest.$ac_ext
3482 cat >>conftest.$ac_ext <<_ACEOF
3483 /* end confdefs.h. */
3485 # include <limits.h>
3487 # include <assert.h>
3491 if { (ac_try="$ac_cpp conftest.$ac_ext"
3493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3494 *) ac_try_echo=$ac_try;;
3496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3497 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3499 grep -v '^ *+' conftest.er1 >conftest.err
3501 cat conftest.err >&5
3502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3503 (exit $ac_status); } >/dev/null && {
3504 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3505 test ! -s conftest.err
3509 echo "$as_me: failed program was:" >&5
3510 sed 's/^/| /' conftest.$ac_ext >&5
3512 # Broken: fails on valid input.
3516 rm -f conftest.err conftest.$ac_ext
3518 # OK, works on sane cases. Now check whether nonexistent headers
3519 # can be detected and how.
3520 cat >conftest.$ac_ext <<_ACEOF
3523 cat confdefs.h >>conftest.$ac_ext
3524 cat >>conftest.$ac_ext <<_ACEOF
3525 /* end confdefs.h. */
3526 #include <ac_nonexistent.h>
3528 if { (ac_try="$ac_cpp conftest.$ac_ext"
3530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3531 *) ac_try_echo=$ac_try;;
3533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3534 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3536 grep -v '^ *+' conftest.er1 >conftest.err
3538 cat conftest.err >&5
3539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3540 (exit $ac_status); } >/dev/null && {
3541 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3542 test ! -s conftest.err
3544 # Broken: success on invalid input.
3547 echo "$as_me: failed program was:" >&5
3548 sed 's/^/| /' conftest.$ac_ext >&5
3550 # Passes both tests.
3555 rm -f conftest.err conftest.$ac_ext
3558 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3559 rm -f conftest.err conftest.$ac_ext
3560 if $ac_preproc_ok; then
3572 { echo "$as_me:$LINENO: result: $CPP" >&5
3573 echo "${ECHO_T}$CPP" >&6; }
3575 for ac_c_preproc_warn_flag in '' yes
3577 # Use a header file that comes with gcc, so configuring glibc
3578 # with a fresh cross-compiler works.
3579 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3580 # <limits.h> exists even on freestanding compilers.
3581 # On the NeXT, cc -E runs the code through the compiler's parser,
3582 # not just through cpp. "Syntax error" is here to catch this case.
3583 cat >conftest.$ac_ext <<_ACEOF
3586 cat confdefs.h >>conftest.$ac_ext
3587 cat >>conftest.$ac_ext <<_ACEOF
3588 /* end confdefs.h. */
3590 # include <limits.h>
3592 # include <assert.h>
3596 if { (ac_try="$ac_cpp conftest.$ac_ext"
3598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3599 *) ac_try_echo=$ac_try;;
3601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3602 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3604 grep -v '^ *+' conftest.er1 >conftest.err
3606 cat conftest.err >&5
3607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3608 (exit $ac_status); } >/dev/null && {
3609 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3610 test ! -s conftest.err
3614 echo "$as_me: failed program was:" >&5
3615 sed 's/^/| /' conftest.$ac_ext >&5
3617 # Broken: fails on valid input.
3621 rm -f conftest.err conftest.$ac_ext
3623 # OK, works on sane cases. Now check whether nonexistent headers
3624 # can be detected and how.
3625 cat >conftest.$ac_ext <<_ACEOF
3628 cat confdefs.h >>conftest.$ac_ext
3629 cat >>conftest.$ac_ext <<_ACEOF
3630 /* end confdefs.h. */
3631 #include <ac_nonexistent.h>
3633 if { (ac_try="$ac_cpp conftest.$ac_ext"
3635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3636 *) ac_try_echo=$ac_try;;
3638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3639 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3641 grep -v '^ *+' conftest.er1 >conftest.err
3643 cat conftest.err >&5
3644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645 (exit $ac_status); } >/dev/null && {
3646 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3647 test ! -s conftest.err
3649 # Broken: success on invalid input.
3652 echo "$as_me: failed program was:" >&5
3653 sed 's/^/| /' conftest.$ac_ext >&5
3655 # Passes both tests.
3660 rm -f conftest.err conftest.$ac_ext
3663 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3664 rm -f conftest.err conftest.$ac_ext
3665 if $ac_preproc_ok; then
3668 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3669 See \`config.log' for more details." >&5
3670 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3671 See \`config.log' for more details." >&2;}
3672 { (exit 1); exit 1; }; }
3676 ac_cpp='$CPP $CPPFLAGS'
3677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3682 { echo "$as_me:$LINENO: checking for X" >&5
3683 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3686 # Check whether --with-x was given.
3687 if test "${with_x+set}" = set; then
3691 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3692 if test "x$with_x" = xno; then
3693 # The user explicitly disabled X.
3696 case $x_includes,$x_libraries in #(
3697 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3698 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3699 { (exit 1); exit 1; }; };; #(
3700 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3701 echo $ECHO_N "(cached) $ECHO_C" >&6
3703 # One or both of the vars are not set, and there is no cached value.
3704 ac_x_includes=no ac_x_libraries=no
3705 rm -f -r conftest.dir
3706 if mkdir conftest.dir; then
3708 cat >Imakefile <<'_ACEOF'
3710 @echo incroot='${INCROOT}'
3712 @echo usrlibdir='${USRLIBDIR}'
3714 @echo libdir='${LIBDIR}'
3716 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3717 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3718 for ac_var in incroot usrlibdir libdir; do
3719 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3721 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3722 for ac_extension in a so sl; do
3723 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3724 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3725 ac_im_usrlibdir=$ac_im_libdir; break
3728 # Screen out bogus values from the imake configuration. They are
3729 # bogus both because they are the default anyway, and because
3730 # using them would break gcc on systems where it needs fixed includes.
3731 case $ac_im_incroot in
3732 /usr/include) ac_x_includes= ;;
3733 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3735 case $ac_im_usrlibdir in
3737 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3741 rm -f -r conftest.dir
3744 # Standard set of common directories for X headers.
3745 # Check X11 before X11Rn because it is often a symlink to the current release.
3757 /usr/local/X11/include
3758 /usr/local/X11R6/include
3759 /usr/local/X11R5/include
3760 /usr/local/X11R4/include
3762 /usr/local/include/X11
3763 /usr/local/include/X11R6
3764 /usr/local/include/X11R5
3765 /usr/local/include/X11R4
3769 /usr/XFree86/include/X11
3773 /usr/unsupported/include
3775 /usr/local/x11r5/include
3776 /usr/lpp/Xamples/include
3778 /usr/openwin/include
3779 /usr/openwin/share/include'
3781 if test "$ac_x_includes" = no; then
3782 # Guess where to find include files, by looking for Xlib.h.
3783 # First, try using that file with no special directory specified.
3784 cat >conftest.$ac_ext <<_ACEOF
3787 cat confdefs.h >>conftest.$ac_ext
3788 cat >>conftest.$ac_ext <<_ACEOF
3789 /* end confdefs.h. */
3790 #include <X11/Xlib.h>
3792 if { (ac_try="$ac_cpp conftest.$ac_ext"
3794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3795 *) ac_try_echo=$ac_try;;
3797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3798 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3800 grep -v '^ *+' conftest.er1 >conftest.err
3802 cat conftest.err >&5
3803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804 (exit $ac_status); } >/dev/null && {
3805 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3806 test ! -s conftest.err
3808 # We can compile using X headers with no special include directory.
3811 echo "$as_me: failed program was:" >&5
3812 sed 's/^/| /' conftest.$ac_ext >&5
3814 for ac_dir in $ac_x_header_dirs; do
3815 if test -r "$ac_dir/X11/Xlib.h"; then
3816 ac_x_includes=$ac_dir
3822 rm -f conftest.err conftest.$ac_ext
3823 fi # $ac_x_includes = no
3825 if test "$ac_x_libraries" = no; then
3826 # Check for the libraries.
3827 # See if we find them without any special options.
3828 # Don't add to $LIBS permanently.
3831 cat >conftest.$ac_ext <<_ACEOF
3834 cat confdefs.h >>conftest.$ac_ext
3835 cat >>conftest.$ac_ext <<_ACEOF
3836 /* end confdefs.h. */
3837 #include <X11/Xlib.h>
3846 rm -f conftest.$ac_objext conftest$ac_exeext
3847 if { (ac_try="$ac_link"
3849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3850 *) ac_try_echo=$ac_try;;
3852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3853 (eval "$ac_link") 2>conftest.er1
3855 grep -v '^ *+' conftest.er1 >conftest.err
3857 cat conftest.err >&5
3858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3859 (exit $ac_status); } && {
3860 test -z "$ac_c_werror_flag" ||
3861 test ! -s conftest.err
3862 } && test -s conftest$ac_exeext &&
3863 $as_test_x conftest$ac_exeext; then
3865 # We can link X programs with no special library path.
3868 echo "$as_me: failed program was:" >&5
3869 sed 's/^/| /' conftest.$ac_ext >&5
3872 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3874 # Don't even attempt the hair of trying to link an X program!
3875 for ac_extension in a so sl; do
3876 if test -r "$ac_dir/libX11.$ac_extension"; then
3877 ac_x_libraries=$ac_dir
3884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3885 conftest$ac_exeext conftest.$ac_ext
3886 fi # $ac_x_libraries = no
3888 case $ac_x_includes,$ac_x_libraries in #(
3890 # Didn't find X, or a directory has "'" in its name.
3891 ac_cv_have_x="have_x=no";; #(
3893 # Record where we found X for the cache.
3894 ac_cv_have_x="have_x=yes\
3895 ac_x_includes='$ac_x_includes'\
3896 ac_x_libraries='$ac_x_libraries'"
3902 eval "$ac_cv_have_x"
3905 if test "$have_x" != yes; then
3906 { echo "$as_me:$LINENO: result: $have_x" >&5
3907 echo "${ECHO_T}$have_x" >&6; }
3910 # If each of the values was on the command line, it overrides each guess.
3911 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3912 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3913 # Update the cache value to reflect the command line values.
3914 ac_cv_have_x="have_x=yes\
3915 ac_x_includes='$x_includes'\
3916 ac_x_libraries='$x_libraries'"
3917 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3918 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3921 if test "$no_x" = yes; then
3922 # Not all programs may use this symbol, but it does not hurt to define it.
3924 cat >>confdefs.h <<\_ACEOF
3925 #define X_DISPLAY_MISSING 1
3928 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3930 if test -n "$x_includes"; then
3931 X_CFLAGS="$X_CFLAGS -I$x_includes"
3934 # It would also be nice to do this for all -L options, not just this one.
3935 if test -n "$x_libraries"; then
3936 X_LIBS="$X_LIBS -L$x_libraries"
3937 # For Solaris; some versions of Sun CC require a space after -R and
3938 # others require no space. Words are not sufficient . . . .
3939 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3940 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3941 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3942 ac_xsave_c_werror_flag=$ac_c_werror_flag
3943 ac_c_werror_flag=yes
3944 cat >conftest.$ac_ext <<_ACEOF
3947 cat confdefs.h >>conftest.$ac_ext
3948 cat >>conftest.$ac_ext <<_ACEOF
3949 /* end confdefs.h. */
3959 rm -f conftest.$ac_objext conftest$ac_exeext
3960 if { (ac_try="$ac_link"
3962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3963 *) ac_try_echo=$ac_try;;
3965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3966 (eval "$ac_link") 2>conftest.er1
3968 grep -v '^ *+' conftest.er1 >conftest.err
3970 cat conftest.err >&5
3971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972 (exit $ac_status); } && {
3973 test -z "$ac_c_werror_flag" ||
3974 test ! -s conftest.err
3975 } && test -s conftest$ac_exeext &&
3976 $as_test_x conftest$ac_exeext; then
3977 { echo "$as_me:$LINENO: result: no" >&5
3978 echo "${ECHO_T}no" >&6; }
3979 X_LIBS="$X_LIBS -R$x_libraries"
3981 echo "$as_me: failed program was:" >&5
3982 sed 's/^/| /' conftest.$ac_ext >&5
3984 LIBS="$ac_xsave_LIBS -R $x_libraries"
3985 cat >conftest.$ac_ext <<_ACEOF
3988 cat confdefs.h >>conftest.$ac_ext
3989 cat >>conftest.$ac_ext <<_ACEOF
3990 /* end confdefs.h. */
4000 rm -f conftest.$ac_objext conftest$ac_exeext
4001 if { (ac_try="$ac_link"
4003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4004 *) ac_try_echo=$ac_try;;
4006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4007 (eval "$ac_link") 2>conftest.er1
4009 grep -v '^ *+' conftest.er1 >conftest.err
4011 cat conftest.err >&5
4012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4013 (exit $ac_status); } && {
4014 test -z "$ac_c_werror_flag" ||
4015 test ! -s conftest.err
4016 } && test -s conftest$ac_exeext &&
4017 $as_test_x conftest$ac_exeext; then
4018 { echo "$as_me:$LINENO: result: yes" >&5
4019 echo "${ECHO_T}yes" >&6; }
4020 X_LIBS="$X_LIBS -R $x_libraries"
4022 echo "$as_me: failed program was:" >&5
4023 sed 's/^/| /' conftest.$ac_ext >&5
4025 { echo "$as_me:$LINENO: result: neither works" >&5
4026 echo "${ECHO_T}neither works" >&6; }
4029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4030 conftest$ac_exeext conftest.$ac_ext
4033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4034 conftest$ac_exeext conftest.$ac_ext
4035 ac_c_werror_flag=$ac_xsave_c_werror_flag
4039 # Check for system-dependent libraries X programs must link with.
4040 # Do this before checking for the system-independent R6 libraries
4041 # (-lICE), since we may need -lsocket or whatever for X linking.
4043 if test "$ISC" = yes; then
4044 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4046 # Martyn Johnson says this is needed for Ultrix, if the X
4047 # libraries were built with DECnet support. And Karl Berry says
4048 # the Alpha needs dnet_stub (dnet does not exist).
4049 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4050 cat >conftest.$ac_ext <<_ACEOF
4053 cat confdefs.h >>conftest.$ac_ext
4054 cat >>conftest.$ac_ext <<_ACEOF
4055 /* end confdefs.h. */
4057 /* Override any GCC internal prototype to avoid an error.
4058 Use char because int might match the return type of a GCC
4059 builtin and then its argument prototype would still apply. */
4063 char XOpenDisplay ();
4067 return XOpenDisplay ();
4072 rm -f conftest.$ac_objext conftest$ac_exeext
4073 if { (ac_try="$ac_link"
4075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4076 *) ac_try_echo=$ac_try;;
4078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4079 (eval "$ac_link") 2>conftest.er1
4081 grep -v '^ *+' conftest.er1 >conftest.err
4083 cat conftest.err >&5
4084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4085 (exit $ac_status); } && {
4086 test -z "$ac_c_werror_flag" ||
4087 test ! -s conftest.err
4088 } && test -s conftest$ac_exeext &&
4089 $as_test_x conftest$ac_exeext; then
4092 echo "$as_me: failed program was:" >&5
4093 sed 's/^/| /' conftest.$ac_ext >&5
4095 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4096 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4097 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4098 echo $ECHO_N "(cached) $ECHO_C" >&6
4100 ac_check_lib_save_LIBS=$LIBS
4102 cat >conftest.$ac_ext <<_ACEOF
4105 cat confdefs.h >>conftest.$ac_ext
4106 cat >>conftest.$ac_ext <<_ACEOF
4107 /* end confdefs.h. */
4109 /* Override any GCC internal prototype to avoid an error.
4110 Use char because int might match the return type of a GCC
4111 builtin and then its argument prototype would still apply. */
4119 return dnet_ntoa ();
4124 rm -f conftest.$ac_objext conftest$ac_exeext
4125 if { (ac_try="$ac_link"
4127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4128 *) ac_try_echo=$ac_try;;
4130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4131 (eval "$ac_link") 2>conftest.er1
4133 grep -v '^ *+' conftest.er1 >conftest.err
4135 cat conftest.err >&5
4136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4137 (exit $ac_status); } && {
4138 test -z "$ac_c_werror_flag" ||
4139 test ! -s conftest.err
4140 } && test -s conftest$ac_exeext &&
4141 $as_test_x conftest$ac_exeext; then
4142 ac_cv_lib_dnet_dnet_ntoa=yes
4144 echo "$as_me: failed program was:" >&5
4145 sed 's/^/| /' conftest.$ac_ext >&5
4147 ac_cv_lib_dnet_dnet_ntoa=no
4150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4151 conftest$ac_exeext conftest.$ac_ext
4152 LIBS=$ac_check_lib_save_LIBS
4154 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4155 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4156 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4157 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4160 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4161 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4162 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4163 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4164 echo $ECHO_N "(cached) $ECHO_C" >&6
4166 ac_check_lib_save_LIBS=$LIBS
4167 LIBS="-ldnet_stub $LIBS"
4168 cat >conftest.$ac_ext <<_ACEOF
4171 cat confdefs.h >>conftest.$ac_ext
4172 cat >>conftest.$ac_ext <<_ACEOF
4173 /* end confdefs.h. */
4175 /* Override any GCC internal prototype to avoid an error.
4176 Use char because int might match the return type of a GCC
4177 builtin and then its argument prototype would still apply. */
4185 return dnet_ntoa ();
4190 rm -f conftest.$ac_objext conftest$ac_exeext
4191 if { (ac_try="$ac_link"
4193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4194 *) ac_try_echo=$ac_try;;
4196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4197 (eval "$ac_link") 2>conftest.er1
4199 grep -v '^ *+' conftest.er1 >conftest.err
4201 cat conftest.err >&5
4202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203 (exit $ac_status); } && {
4204 test -z "$ac_c_werror_flag" ||
4205 test ! -s conftest.err
4206 } && test -s conftest$ac_exeext &&
4207 $as_test_x conftest$ac_exeext; then
4208 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4210 echo "$as_me: failed program was:" >&5
4211 sed 's/^/| /' conftest.$ac_ext >&5
4213 ac_cv_lib_dnet_stub_dnet_ntoa=no
4216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4217 conftest$ac_exeext conftest.$ac_ext
4218 LIBS=$ac_check_lib_save_LIBS
4220 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4221 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4222 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4223 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4230 conftest$ac_exeext conftest.$ac_ext
4231 LIBS="$ac_xsave_LIBS"
4233 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4234 # to get the SysV transport functions.
4235 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4237 # The nsl library prevents programs from opening the X display
4238 # on Irix 5.2, according to T.E. Dickey.
4239 # The functions gethostbyname, getservbyname, and inet_addr are
4240 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4241 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4242 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4243 if test "${ac_cv_func_gethostbyname+set}" = set; then
4244 echo $ECHO_N "(cached) $ECHO_C" >&6
4246 cat >conftest.$ac_ext <<_ACEOF
4249 cat confdefs.h >>conftest.$ac_ext
4250 cat >>conftest.$ac_ext <<_ACEOF
4251 /* end confdefs.h. */
4252 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4254 #define gethostbyname innocuous_gethostbyname
4256 /* System header to define __stub macros and hopefully few prototypes,
4257 which can conflict with char gethostbyname (); below.
4258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4259 <limits.h> exists even on freestanding compilers. */
4262 # include <limits.h>
4264 # include <assert.h>
4267 #undef gethostbyname
4269 /* Override any GCC internal prototype to avoid an error.
4270 Use char because int might match the return type of a GCC
4271 builtin and then its argument prototype would still apply. */
4275 char gethostbyname ();
4276 /* The GNU C library defines this for functions which it implements
4277 to always fail with ENOSYS. Some functions are actually named
4278 something starting with __ and the normal name is an alias. */
4279 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4286 return gethostbyname ();
4291 rm -f conftest.$ac_objext conftest$ac_exeext
4292 if { (ac_try="$ac_link"
4294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4295 *) ac_try_echo=$ac_try;;
4297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4298 (eval "$ac_link") 2>conftest.er1
4300 grep -v '^ *+' conftest.er1 >conftest.err
4302 cat conftest.err >&5
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); } && {
4305 test -z "$ac_c_werror_flag" ||
4306 test ! -s conftest.err
4307 } && test -s conftest$ac_exeext &&
4308 $as_test_x conftest$ac_exeext; then
4309 ac_cv_func_gethostbyname=yes
4311 echo "$as_me: failed program was:" >&5
4312 sed 's/^/| /' conftest.$ac_ext >&5
4314 ac_cv_func_gethostbyname=no
4317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4318 conftest$ac_exeext conftest.$ac_ext
4320 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4321 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4323 if test $ac_cv_func_gethostbyname = no; then
4324 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4325 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4326 if test "${ac_cv_lib_nsl_gethostbyname+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. */
4344 char gethostbyname ();
4348 return gethostbyname ();
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 test -z "$ac_c_werror_flag" ||
4368 test ! -s conftest.err
4369 } && test -s conftest$ac_exeext &&
4370 $as_test_x conftest$ac_exeext; then
4371 ac_cv_lib_nsl_gethostbyname=yes
4373 echo "$as_me: failed program was:" >&5
4374 sed 's/^/| /' conftest.$ac_ext >&5
4376 ac_cv_lib_nsl_gethostbyname=no
4379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4380 conftest$ac_exeext conftest.$ac_ext
4381 LIBS=$ac_check_lib_save_LIBS
4383 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4384 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4385 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4386 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4389 if test $ac_cv_lib_nsl_gethostbyname = no; then
4390 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4391 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4392 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4393 echo $ECHO_N "(cached) $ECHO_C" >&6
4395 ac_check_lib_save_LIBS=$LIBS
4397 cat >conftest.$ac_ext <<_ACEOF
4400 cat confdefs.h >>conftest.$ac_ext
4401 cat >>conftest.$ac_ext <<_ACEOF
4402 /* end confdefs.h. */
4404 /* Override any GCC internal prototype to avoid an error.
4405 Use char because int might match the return type of a GCC
4406 builtin and then its argument prototype would still apply. */
4410 char gethostbyname ();
4414 return gethostbyname ();
4419 rm -f conftest.$ac_objext conftest$ac_exeext
4420 if { (ac_try="$ac_link"
4422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4423 *) ac_try_echo=$ac_try;;
4425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4426 (eval "$ac_link") 2>conftest.er1
4428 grep -v '^ *+' conftest.er1 >conftest.err
4430 cat conftest.err >&5
4431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4432 (exit $ac_status); } && {
4433 test -z "$ac_c_werror_flag" ||
4434 test ! -s conftest.err
4435 } && test -s conftest$ac_exeext &&
4436 $as_test_x conftest$ac_exeext; then
4437 ac_cv_lib_bsd_gethostbyname=yes
4439 echo "$as_me: failed program was:" >&5
4440 sed 's/^/| /' conftest.$ac_ext >&5
4442 ac_cv_lib_bsd_gethostbyname=no
4445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4446 conftest$ac_exeext conftest.$ac_ext
4447 LIBS=$ac_check_lib_save_LIBS
4449 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4450 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4451 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4452 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4458 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4459 # socket/setsockopt and other routines are undefined under SCO ODT
4460 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4461 # on later versions), says Simon Leinen: it contains gethostby*
4462 # variants that don't use the name server (or something). -lsocket
4463 # must be given before -lnsl if both are needed. We assume that
4464 # if connect needs -lnsl, so does gethostbyname.
4465 { echo "$as_me:$LINENO: checking for connect" >&5
4466 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4467 if test "${ac_cv_func_connect+set}" = set; then
4468 echo $ECHO_N "(cached) $ECHO_C" >&6
4470 cat >conftest.$ac_ext <<_ACEOF
4473 cat confdefs.h >>conftest.$ac_ext
4474 cat >>conftest.$ac_ext <<_ACEOF
4475 /* end confdefs.h. */
4476 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4478 #define connect innocuous_connect
4480 /* System header to define __stub macros and hopefully few prototypes,
4481 which can conflict with char connect (); below.
4482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4483 <limits.h> exists even on freestanding compilers. */
4486 # include <limits.h>
4488 # include <assert.h>
4493 /* Override any GCC internal prototype to avoid an error.
4494 Use char because int might match the return type of a GCC
4495 builtin and then its argument prototype would still apply. */
4500 /* The GNU C library defines this for functions which it implements
4501 to always fail with ENOSYS. Some functions are actually named
4502 something starting with __ and the normal name is an alias. */
4503 #if defined __stub_connect || defined __stub___connect
4515 rm -f conftest.$ac_objext conftest$ac_exeext
4516 if { (ac_try="$ac_link"
4518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4519 *) ac_try_echo=$ac_try;;
4521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4522 (eval "$ac_link") 2>conftest.er1
4524 grep -v '^ *+' conftest.er1 >conftest.err
4526 cat conftest.err >&5
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); } && {
4529 test -z "$ac_c_werror_flag" ||
4530 test ! -s conftest.err
4531 } && test -s conftest$ac_exeext &&
4532 $as_test_x conftest$ac_exeext; then
4533 ac_cv_func_connect=yes
4535 echo "$as_me: failed program was:" >&5
4536 sed 's/^/| /' conftest.$ac_ext >&5
4538 ac_cv_func_connect=no
4541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4542 conftest$ac_exeext conftest.$ac_ext
4544 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4545 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4547 if test $ac_cv_func_connect = no; then
4548 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4549 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4550 if test "${ac_cv_lib_socket_connect+set}" = set; then
4551 echo $ECHO_N "(cached) $ECHO_C" >&6
4553 ac_check_lib_save_LIBS=$LIBS
4554 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4555 cat >conftest.$ac_ext <<_ACEOF
4558 cat confdefs.h >>conftest.$ac_ext
4559 cat >>conftest.$ac_ext <<_ACEOF
4560 /* end confdefs.h. */
4562 /* Override any GCC internal prototype to avoid an error.
4563 Use char because int might match the return type of a GCC
4564 builtin and then its argument prototype would still apply. */
4577 rm -f conftest.$ac_objext conftest$ac_exeext
4578 if { (ac_try="$ac_link"
4580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4581 *) ac_try_echo=$ac_try;;
4583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4584 (eval "$ac_link") 2>conftest.er1
4586 grep -v '^ *+' conftest.er1 >conftest.err
4588 cat conftest.err >&5
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); } && {
4591 test -z "$ac_c_werror_flag" ||
4592 test ! -s conftest.err
4593 } && test -s conftest$ac_exeext &&
4594 $as_test_x conftest$ac_exeext; then
4595 ac_cv_lib_socket_connect=yes
4597 echo "$as_me: failed program was:" >&5
4598 sed 's/^/| /' conftest.$ac_ext >&5
4600 ac_cv_lib_socket_connect=no
4603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4604 conftest$ac_exeext conftest.$ac_ext
4605 LIBS=$ac_check_lib_save_LIBS
4607 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4608 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4609 if test $ac_cv_lib_socket_connect = yes; then
4610 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4615 # Guillermo Gomez says -lposix is necessary on A/UX.
4616 { echo "$as_me:$LINENO: checking for remove" >&5
4617 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4618 if test "${ac_cv_func_remove+set}" = set; then
4619 echo $ECHO_N "(cached) $ECHO_C" >&6
4621 cat >conftest.$ac_ext <<_ACEOF
4624 cat confdefs.h >>conftest.$ac_ext
4625 cat >>conftest.$ac_ext <<_ACEOF
4626 /* end confdefs.h. */
4627 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4629 #define remove innocuous_remove
4631 /* System header to define __stub macros and hopefully few prototypes,
4632 which can conflict with char remove (); below.
4633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4634 <limits.h> exists even on freestanding compilers. */
4637 # include <limits.h>
4639 # include <assert.h>
4644 /* Override any GCC internal prototype to avoid an error.
4645 Use char because int might match the return type of a GCC
4646 builtin and then its argument prototype would still apply. */
4651 /* The GNU C library defines this for functions which it implements
4652 to always fail with ENOSYS. Some functions are actually named
4653 something starting with __ and the normal name is an alias. */
4654 #if defined __stub_remove || defined __stub___remove
4666 rm -f conftest.$ac_objext conftest$ac_exeext
4667 if { (ac_try="$ac_link"
4669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4670 *) ac_try_echo=$ac_try;;
4672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4673 (eval "$ac_link") 2>conftest.er1
4675 grep -v '^ *+' conftest.er1 >conftest.err
4677 cat conftest.err >&5
4678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679 (exit $ac_status); } && {
4680 test -z "$ac_c_werror_flag" ||
4681 test ! -s conftest.err
4682 } && test -s conftest$ac_exeext &&
4683 $as_test_x conftest$ac_exeext; then
4684 ac_cv_func_remove=yes
4686 echo "$as_me: failed program was:" >&5
4687 sed 's/^/| /' conftest.$ac_ext >&5
4689 ac_cv_func_remove=no
4692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4693 conftest$ac_exeext conftest.$ac_ext
4695 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4696 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4698 if test $ac_cv_func_remove = no; then
4699 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4700 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4701 if test "${ac_cv_lib_posix_remove+set}" = set; then
4702 echo $ECHO_N "(cached) $ECHO_C" >&6
4704 ac_check_lib_save_LIBS=$LIBS
4705 LIBS="-lposix $LIBS"
4706 cat >conftest.$ac_ext <<_ACEOF
4709 cat confdefs.h >>conftest.$ac_ext
4710 cat >>conftest.$ac_ext <<_ACEOF
4711 /* end confdefs.h. */
4713 /* Override any GCC internal prototype to avoid an error.
4714 Use char because int might match the return type of a GCC
4715 builtin and then its argument prototype would still apply. */
4728 rm -f conftest.$ac_objext conftest$ac_exeext
4729 if { (ac_try="$ac_link"
4731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4732 *) ac_try_echo=$ac_try;;
4734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4735 (eval "$ac_link") 2>conftest.er1
4737 grep -v '^ *+' conftest.er1 >conftest.err
4739 cat conftest.err >&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); } && {
4742 test -z "$ac_c_werror_flag" ||
4743 test ! -s conftest.err
4744 } && test -s conftest$ac_exeext &&
4745 $as_test_x conftest$ac_exeext; then
4746 ac_cv_lib_posix_remove=yes
4748 echo "$as_me: failed program was:" >&5
4749 sed 's/^/| /' conftest.$ac_ext >&5
4751 ac_cv_lib_posix_remove=no
4754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4755 conftest$ac_exeext conftest.$ac_ext
4756 LIBS=$ac_check_lib_save_LIBS
4758 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4759 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4760 if test $ac_cv_lib_posix_remove = yes; then
4761 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4766 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4767 { echo "$as_me:$LINENO: checking for shmat" >&5
4768 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4769 if test "${ac_cv_func_shmat+set}" = set; then
4770 echo $ECHO_N "(cached) $ECHO_C" >&6
4772 cat >conftest.$ac_ext <<_ACEOF
4775 cat confdefs.h >>conftest.$ac_ext
4776 cat >>conftest.$ac_ext <<_ACEOF
4777 /* end confdefs.h. */
4778 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4780 #define shmat innocuous_shmat
4782 /* System header to define __stub macros and hopefully few prototypes,
4783 which can conflict with char shmat (); below.
4784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4785 <limits.h> exists even on freestanding compilers. */
4788 # include <limits.h>
4790 # include <assert.h>
4795 /* Override any GCC internal prototype to avoid an error.
4796 Use char because int might match the return type of a GCC
4797 builtin and then its argument prototype would still apply. */
4802 /* The GNU C library defines this for functions which it implements
4803 to always fail with ENOSYS. Some functions are actually named
4804 something starting with __ and the normal name is an alias. */
4805 #if defined __stub_shmat || defined __stub___shmat
4817 rm -f conftest.$ac_objext conftest$ac_exeext
4818 if { (ac_try="$ac_link"
4820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4821 *) ac_try_echo=$ac_try;;
4823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4824 (eval "$ac_link") 2>conftest.er1
4826 grep -v '^ *+' conftest.er1 >conftest.err
4828 cat conftest.err >&5
4829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830 (exit $ac_status); } && {
4831 test -z "$ac_c_werror_flag" ||
4832 test ! -s conftest.err
4833 } && test -s conftest$ac_exeext &&
4834 $as_test_x conftest$ac_exeext; then
4835 ac_cv_func_shmat=yes
4837 echo "$as_me: failed program was:" >&5
4838 sed 's/^/| /' conftest.$ac_ext >&5
4843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4844 conftest$ac_exeext conftest.$ac_ext
4846 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4847 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4849 if test $ac_cv_func_shmat = no; then
4850 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4851 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4852 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4853 echo $ECHO_N "(cached) $ECHO_C" >&6
4855 ac_check_lib_save_LIBS=$LIBS
4857 cat >conftest.$ac_ext <<_ACEOF
4860 cat confdefs.h >>conftest.$ac_ext
4861 cat >>conftest.$ac_ext <<_ACEOF
4862 /* end confdefs.h. */
4864 /* Override any GCC internal prototype to avoid an error.
4865 Use char because int might match the return type of a GCC
4866 builtin and then its argument prototype would still apply. */
4879 rm -f conftest.$ac_objext conftest$ac_exeext
4880 if { (ac_try="$ac_link"
4882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4883 *) ac_try_echo=$ac_try;;
4885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4886 (eval "$ac_link") 2>conftest.er1
4888 grep -v '^ *+' conftest.er1 >conftest.err
4890 cat conftest.err >&5
4891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892 (exit $ac_status); } && {
4893 test -z "$ac_c_werror_flag" ||
4894 test ! -s conftest.err
4895 } && test -s conftest$ac_exeext &&
4896 $as_test_x conftest$ac_exeext; then
4897 ac_cv_lib_ipc_shmat=yes
4899 echo "$as_me: failed program was:" >&5
4900 sed 's/^/| /' conftest.$ac_ext >&5
4902 ac_cv_lib_ipc_shmat=no
4905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4906 conftest$ac_exeext conftest.$ac_ext
4907 LIBS=$ac_check_lib_save_LIBS
4909 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4910 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4911 if test $ac_cv_lib_ipc_shmat = yes; then
4912 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4918 # Check for libraries that X11R6 Xt/Xaw programs need.
4919 ac_save_LDFLAGS=$LDFLAGS
4920 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4921 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4922 # check for ICE first), but we must link in the order -lSM -lICE or
4923 # we get undefined symbols. So assume we have SM if we have ICE.
4924 # These have to be linked with before -lX11, unlike the other
4925 # libraries we check for below, so use a different variable.
4926 # John Interrante, Karl Berry
4927 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4928 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4929 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4930 echo $ECHO_N "(cached) $ECHO_C" >&6
4932 ac_check_lib_save_LIBS=$LIBS
4933 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4934 cat >conftest.$ac_ext <<_ACEOF
4937 cat confdefs.h >>conftest.$ac_ext
4938 cat >>conftest.$ac_ext <<_ACEOF
4939 /* end confdefs.h. */
4941 /* Override any GCC internal prototype to avoid an error.
4942 Use char because int might match the return type of a GCC
4943 builtin and then its argument prototype would still apply. */
4947 char IceConnectionNumber ();
4951 return IceConnectionNumber ();
4956 rm -f conftest.$ac_objext conftest$ac_exeext
4957 if { (ac_try="$ac_link"
4959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4960 *) ac_try_echo=$ac_try;;
4962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4963 (eval "$ac_link") 2>conftest.er1
4965 grep -v '^ *+' conftest.er1 >conftest.err
4967 cat conftest.err >&5
4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); } && {
4970 test -z "$ac_c_werror_flag" ||
4971 test ! -s conftest.err
4972 } && test -s conftest$ac_exeext &&
4973 $as_test_x conftest$ac_exeext; then
4974 ac_cv_lib_ICE_IceConnectionNumber=yes
4976 echo "$as_me: failed program was:" >&5
4977 sed 's/^/| /' conftest.$ac_ext >&5
4979 ac_cv_lib_ICE_IceConnectionNumber=no
4982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4983 conftest$ac_exeext conftest.$ac_ext
4984 LIBS=$ac_check_lib_save_LIBS
4986 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4987 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4988 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4989 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4992 LDFLAGS=$ac_save_LDFLAGS
4999 # Extract the first word of "$ac_prog", so it can be a program name with args.
5000 set dummy $ac_prog; ac_word=$2
5001 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5003 if test "${ac_cv_prog_FLEX+set}" = set; then
5004 echo $ECHO_N "(cached) $ECHO_C" >&6
5006 if test -n "$FLEX"; then
5007 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5013 test -z "$as_dir" && as_dir=.
5014 for ac_exec_ext in '' $ac_executable_extensions; do
5015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5016 ac_cv_prog_FLEX="$ac_prog"
5017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5026 FLEX=$ac_cv_prog_FLEX
5027 if test -n "$FLEX"; then
5028 { echo "$as_me:$LINENO: result: $FLEX" >&5
5029 echo "${ECHO_T}$FLEX" >&6; }
5031 { echo "$as_me:$LINENO: result: no" >&5
5032 echo "${ECHO_T}no" >&6; }
5036 test -n "$FLEX" && break
5038 test -n "$FLEX" || FLEX="none"
5040 if test "$FLEX" = "none"
5042 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5043 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5044 { (exit 1); exit 1; }; }
5047 for ac_prog in bison
5049 # Extract the first word of "$ac_prog", so it can be a program name with args.
5050 set dummy $ac_prog; ac_word=$2
5051 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5053 if test "${ac_cv_prog_BISON+set}" = set; then
5054 echo $ECHO_N "(cached) $ECHO_C" >&6
5056 if test -n "$BISON"; then
5057 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5063 test -z "$as_dir" && as_dir=.
5064 for ac_exec_ext in '' $ac_executable_extensions; do
5065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5066 ac_cv_prog_BISON="$ac_prog"
5067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5076 BISON=$ac_cv_prog_BISON
5077 if test -n "$BISON"; then
5078 { echo "$as_me:$LINENO: result: $BISON" >&5
5079 echo "${ECHO_T}$BISON" >&6; }
5081 { echo "$as_me:$LINENO: result: no" >&5
5082 echo "${ECHO_T}no" >&6; }
5086 test -n "$BISON" && break
5088 test -n "$BISON" || BISON="none"
5090 if test "$BISON" = "none"
5092 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5093 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5094 { (exit 1); exit 1; }; }
5097 if test -n "$ac_tool_prefix"; then
5098 for ac_prog in gas as
5100 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5101 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5102 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5104 if test "${ac_cv_prog_AS+set}" = set; then
5105 echo $ECHO_N "(cached) $ECHO_C" >&6
5107 if test -n "$AS"; then
5108 ac_cv_prog_AS="$AS" # Let the user override the test.
5110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5114 test -z "$as_dir" && as_dir=.
5115 for ac_exec_ext in '' $ac_executable_extensions; do
5116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5117 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5128 if test -n "$AS"; then
5129 { echo "$as_me:$LINENO: result: $AS" >&5
5130 echo "${ECHO_T}$AS" >&6; }
5132 { echo "$as_me:$LINENO: result: no" >&5
5133 echo "${ECHO_T}no" >&6; }
5137 test -n "$AS" && break
5140 if test -z "$AS"; then
5142 for ac_prog in gas as
5144 # Extract the first word of "$ac_prog", so it can be a program name with args.
5145 set dummy $ac_prog; ac_word=$2
5146 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5148 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5149 echo $ECHO_N "(cached) $ECHO_C" >&6
5151 if test -n "$ac_ct_AS"; then
5152 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5158 test -z "$as_dir" && as_dir=.
5159 for ac_exec_ext in '' $ac_executable_extensions; do
5160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5161 ac_cv_prog_ac_ct_AS="$ac_prog"
5162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5171 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5172 if test -n "$ac_ct_AS"; then
5173 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5174 echo "${ECHO_T}$ac_ct_AS" >&6; }
5176 { echo "$as_me:$LINENO: result: no" >&5
5177 echo "${ECHO_T}no" >&6; }
5181 test -n "$ac_ct_AS" && break
5184 if test "x$ac_ct_AS" = x; then
5187 case $cross_compiling:$ac_tool_warned in
5189 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5190 whose name does not start with the host triplet. If you think this
5191 configuration is useful to you, please write to autoconf@gnu.org." >&5
5192 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5193 whose name does not start with the host triplet. If you think this
5194 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5195 ac_tool_warned=yes ;;
5201 if test -n "$ac_tool_prefix"; then
5202 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5203 set dummy ${ac_tool_prefix}ld; ac_word=$2
5204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5206 if test "${ac_cv_prog_LD+set}" = set; then
5207 echo $ECHO_N "(cached) $ECHO_C" >&6
5209 if test -n "$LD"; then
5210 ac_cv_prog_LD="$LD" # Let the user override the test.
5212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5216 test -z "$as_dir" && as_dir=.
5217 for ac_exec_ext in '' $ac_executable_extensions; do
5218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5219 ac_cv_prog_LD="${ac_tool_prefix}ld"
5220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5230 if test -n "$LD"; then
5231 { echo "$as_me:$LINENO: result: $LD" >&5
5232 echo "${ECHO_T}$LD" >&6; }
5234 { echo "$as_me:$LINENO: result: no" >&5
5235 echo "${ECHO_T}no" >&6; }
5240 if test -z "$ac_cv_prog_LD"; then
5242 # Extract the first word of "ld", so it can be a program name with args.
5243 set dummy ld; ac_word=$2
5244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5246 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5247 echo $ECHO_N "(cached) $ECHO_C" >&6
5249 if test -n "$ac_ct_LD"; then
5250 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5256 test -z "$as_dir" && as_dir=.
5257 for ac_exec_ext in '' $ac_executable_extensions; do
5258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5259 ac_cv_prog_ac_ct_LD="ld"
5260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5269 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5270 if test -n "$ac_ct_LD"; then
5271 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5272 echo "${ECHO_T}$ac_ct_LD" >&6; }
5274 { echo "$as_me:$LINENO: result: no" >&5
5275 echo "${ECHO_T}no" >&6; }
5278 if test "x$ac_ct_LD" = x; then
5281 case $cross_compiling:$ac_tool_warned in
5283 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5284 whose name does not start with the host triplet. If you think this
5285 configuration is useful to you, please write to autoconf@gnu.org." >&5
5286 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5287 whose name does not start with the host triplet. If you think this
5288 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5289 ac_tool_warned=yes ;;
5297 if test -n "$ac_tool_prefix"; then
5298 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5299 set dummy ${ac_tool_prefix}ar; ac_word=$2
5300 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5302 if test "${ac_cv_prog_AR+set}" = set; then
5303 echo $ECHO_N "(cached) $ECHO_C" >&6
5305 if test -n "$AR"; then
5306 ac_cv_prog_AR="$AR" # Let the user override the test.
5308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5312 test -z "$as_dir" && as_dir=.
5313 for ac_exec_ext in '' $ac_executable_extensions; do
5314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5315 ac_cv_prog_AR="${ac_tool_prefix}ar"
5316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5326 if test -n "$AR"; then
5327 { echo "$as_me:$LINENO: result: $AR" >&5
5328 echo "${ECHO_T}$AR" >&6; }
5330 { echo "$as_me:$LINENO: result: no" >&5
5331 echo "${ECHO_T}no" >&6; }
5336 if test -z "$ac_cv_prog_AR"; then
5338 # Extract the first word of "ar", so it can be a program name with args.
5339 set dummy ar; ac_word=$2
5340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5342 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5343 echo $ECHO_N "(cached) $ECHO_C" >&6
5345 if test -n "$ac_ct_AR"; then
5346 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5352 test -z "$as_dir" && as_dir=.
5353 for ac_exec_ext in '' $ac_executable_extensions; do
5354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5355 ac_cv_prog_ac_ct_AR="ar"
5356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5365 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5366 if test -n "$ac_ct_AR"; then
5367 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5368 echo "${ECHO_T}$ac_ct_AR" >&6; }
5370 { echo "$as_me:$LINENO: result: no" >&5
5371 echo "${ECHO_T}no" >&6; }
5374 if test "x$ac_ct_AR" = x; then
5377 case $cross_compiling:$ac_tool_warned in
5379 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5380 whose name does not start with the host triplet. If you think this
5381 configuration is useful to you, please write to autoconf@gnu.org." >&5
5382 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5383 whose name does not start with the host triplet. If you think this
5384 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5385 ac_tool_warned=yes ;;
5393 if test -n "$ac_tool_prefix"; then
5394 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5395 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5398 if test "${ac_cv_prog_RANLIB+set}" = set; then
5399 echo $ECHO_N "(cached) $ECHO_C" >&6
5401 if test -n "$RANLIB"; then
5402 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5408 test -z "$as_dir" && as_dir=.
5409 for ac_exec_ext in '' $ac_executable_extensions; do
5410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5411 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5421 RANLIB=$ac_cv_prog_RANLIB
5422 if test -n "$RANLIB"; then
5423 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5424 echo "${ECHO_T}$RANLIB" >&6; }
5426 { echo "$as_me:$LINENO: result: no" >&5
5427 echo "${ECHO_T}no" >&6; }
5432 if test -z "$ac_cv_prog_RANLIB"; then
5433 ac_ct_RANLIB=$RANLIB
5434 # Extract the first word of "ranlib", so it can be a program name with args.
5435 set dummy ranlib; ac_word=$2
5436 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5438 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5439 echo $ECHO_N "(cached) $ECHO_C" >&6
5441 if test -n "$ac_ct_RANLIB"; then
5442 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5448 test -z "$as_dir" && as_dir=.
5449 for ac_exec_ext in '' $ac_executable_extensions; do
5450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5451 ac_cv_prog_ac_ct_RANLIB="ranlib"
5452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5461 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5462 if test -n "$ac_ct_RANLIB"; then
5463 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5464 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5466 { echo "$as_me:$LINENO: result: no" >&5
5467 echo "${ECHO_T}no" >&6; }
5470 if test "x$ac_ct_RANLIB" = x; then
5473 case $cross_compiling:$ac_tool_warned in
5475 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5476 whose name does not start with the host triplet. If you think this
5477 configuration is useful to you, please write to autoconf@gnu.org." >&5
5478 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5479 whose name does not start with the host triplet. If you think this
5480 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5481 ac_tool_warned=yes ;;
5483 RANLIB=$ac_ct_RANLIB
5486 RANLIB="$ac_cv_prog_RANLIB"
5489 if test -n "$ac_tool_prefix"; then
5490 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5491 set dummy ${ac_tool_prefix}strip; ac_word=$2
5492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5494 if test "${ac_cv_prog_STRIP+set}" = set; then
5495 echo $ECHO_N "(cached) $ECHO_C" >&6
5497 if test -n "$STRIP"; then
5498 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5504 test -z "$as_dir" && as_dir=.
5505 for ac_exec_ext in '' $ac_executable_extensions; do
5506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5507 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5517 STRIP=$ac_cv_prog_STRIP
5518 if test -n "$STRIP"; then
5519 { echo "$as_me:$LINENO: result: $STRIP" >&5
5520 echo "${ECHO_T}$STRIP" >&6; }
5522 { echo "$as_me:$LINENO: result: no" >&5
5523 echo "${ECHO_T}no" >&6; }
5528 if test -z "$ac_cv_prog_STRIP"; then
5530 # Extract the first word of "strip", so it can be a program name with args.
5531 set dummy strip; ac_word=$2
5532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5534 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5535 echo $ECHO_N "(cached) $ECHO_C" >&6
5537 if test -n "$ac_ct_STRIP"; then
5538 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5544 test -z "$as_dir" && as_dir=.
5545 for ac_exec_ext in '' $ac_executable_extensions; do
5546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5547 ac_cv_prog_ac_ct_STRIP="strip"
5548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5557 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5558 if test -n "$ac_ct_STRIP"; then
5559 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5560 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5562 { echo "$as_me:$LINENO: result: no" >&5
5563 echo "${ECHO_T}no" >&6; }
5566 if test "x$ac_ct_STRIP" = x; then
5569 case $cross_compiling:$ac_tool_warned in
5571 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5572 whose name does not start with the host triplet. If you think this
5573 configuration is useful to you, please write to autoconf@gnu.org." >&5
5574 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5575 whose name does not start with the host triplet. If you think this
5576 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5577 ac_tool_warned=yes ;;
5582 STRIP="$ac_cv_prog_STRIP"
5585 if test -n "$ac_tool_prefix"; then
5586 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5587 set dummy ${ac_tool_prefix}windres; ac_word=$2
5588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5590 if test "${ac_cv_prog_WINDRES+set}" = set; then
5591 echo $ECHO_N "(cached) $ECHO_C" >&6
5593 if test -n "$WINDRES"; then
5594 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5600 test -z "$as_dir" && as_dir=.
5601 for ac_exec_ext in '' $ac_executable_extensions; do
5602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5603 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5613 WINDRES=$ac_cv_prog_WINDRES
5614 if test -n "$WINDRES"; then
5615 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5616 echo "${ECHO_T}$WINDRES" >&6; }
5618 { echo "$as_me:$LINENO: result: no" >&5
5619 echo "${ECHO_T}no" >&6; }
5624 if test -z "$ac_cv_prog_WINDRES"; then
5625 ac_ct_WINDRES=$WINDRES
5626 # Extract the first word of "windres", so it can be a program name with args.
5627 set dummy windres; ac_word=$2
5628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5630 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5631 echo $ECHO_N "(cached) $ECHO_C" >&6
5633 if test -n "$ac_ct_WINDRES"; then
5634 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5640 test -z "$as_dir" && as_dir=.
5641 for ac_exec_ext in '' $ac_executable_extensions; do
5642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5643 ac_cv_prog_ac_ct_WINDRES="windres"
5644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5653 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5654 if test -n "$ac_ct_WINDRES"; then
5655 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5656 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5658 { echo "$as_me:$LINENO: result: no" >&5
5659 echo "${ECHO_T}no" >&6; }
5662 if test "x$ac_ct_WINDRES" = x; then
5665 case $cross_compiling:$ac_tool_warned in
5667 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5668 whose name does not start with the host triplet. If you think this
5669 configuration is useful to you, please write to autoconf@gnu.org." >&5
5670 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5671 whose name does not start with the host triplet. If you think this
5672 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5673 ac_tool_warned=yes ;;
5675 WINDRES=$ac_ct_WINDRES
5678 WINDRES="$ac_cv_prog_WINDRES"
5681 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5682 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5684 if test "$LN_S" = "ln -s"; then
5685 { echo "$as_me:$LINENO: result: yes" >&5
5686 echo "${ECHO_T}yes" >&6; }
5688 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5689 echo "${ECHO_T}no, using $LN_S" >&6; }
5692 { echo "$as_me:$LINENO: checking whether ln works" >&5
5693 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5694 rm -f conf$$ conf$$.file
5696 if ln conf$$.file conf$$ 2>/dev/null; then
5699 { echo "$as_me:$LINENO: result: yes" >&5
5700 echo "${ECHO_T}yes" >&6; }
5704 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5705 echo "${ECHO_T}no, using $LN" >&6; }
5707 rm -f conf$$ conf$$.file
5708 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5709 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5710 if test "${ac_cv_path_GREP+set}" = set; then
5711 echo $ECHO_N "(cached) $ECHO_C" >&6
5713 # Extract the first word of "grep ggrep" to use in msg output
5714 if test -z "$GREP"; then
5715 set dummy grep ggrep; ac_prog_name=$2
5716 if test "${ac_cv_path_GREP+set}" = set; then
5717 echo $ECHO_N "(cached) $ECHO_C" >&6
5719 ac_path_GREP_found=false
5720 # Loop through the user's path and test for each of PROGNAME-LIST
5721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5722 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5725 test -z "$as_dir" && as_dir=.
5726 for ac_prog in grep ggrep; do
5727 for ac_exec_ext in '' $ac_executable_extensions; do
5728 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5729 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5730 # Check for GNU ac_path_GREP and select it if it is found.
5731 # Check for GNU $ac_path_GREP
5732 case `"$ac_path_GREP" --version 2>&1` in
5734 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5737 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5740 cat "conftest.in" "conftest.in" >"conftest.tmp"
5741 mv "conftest.tmp" "conftest.in"
5742 cp "conftest.in" "conftest.nl"
5743 echo 'GREP' >> "conftest.nl"
5744 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5745 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5746 ac_count=`expr $ac_count + 1`
5747 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5748 # Best one so far, save it but keep looking for a better one
5749 ac_cv_path_GREP="$ac_path_GREP"
5750 ac_path_GREP_max=$ac_count
5752 # 10*(2^10) chars as input seems more than enough
5753 test $ac_count -gt 10 && break
5755 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5759 $ac_path_GREP_found && break 3
5769 GREP="$ac_cv_path_GREP"
5770 if test -z "$GREP"; then
5771 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5772 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5773 { (exit 1); exit 1; }; }
5777 ac_cv_path_GREP=$GREP
5782 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5783 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5784 GREP="$ac_cv_path_GREP"
5787 { echo "$as_me:$LINENO: checking for egrep" >&5
5788 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5789 if test "${ac_cv_path_EGREP+set}" = set; then
5790 echo $ECHO_N "(cached) $ECHO_C" >&6
5792 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5793 then ac_cv_path_EGREP="$GREP -E"
5795 # Extract the first word of "egrep" to use in msg output
5796 if test -z "$EGREP"; then
5797 set dummy egrep; ac_prog_name=$2
5798 if test "${ac_cv_path_EGREP+set}" = set; then
5799 echo $ECHO_N "(cached) $ECHO_C" >&6
5801 ac_path_EGREP_found=false
5802 # Loop through the user's path and test for each of PROGNAME-LIST
5803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5804 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5807 test -z "$as_dir" && as_dir=.
5808 for ac_prog in egrep; do
5809 for ac_exec_ext in '' $ac_executable_extensions; do
5810 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5811 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5812 # Check for GNU ac_path_EGREP and select it if it is found.
5813 # Check for GNU $ac_path_EGREP
5814 case `"$ac_path_EGREP" --version 2>&1` in
5816 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5819 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5822 cat "conftest.in" "conftest.in" >"conftest.tmp"
5823 mv "conftest.tmp" "conftest.in"
5824 cp "conftest.in" "conftest.nl"
5825 echo 'EGREP' >> "conftest.nl"
5826 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5827 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5828 ac_count=`expr $ac_count + 1`
5829 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5830 # Best one so far, save it but keep looking for a better one
5831 ac_cv_path_EGREP="$ac_path_EGREP"
5832 ac_path_EGREP_max=$ac_count
5834 # 10*(2^10) chars as input seems more than enough
5835 test $ac_count -gt 10 && break
5837 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5841 $ac_path_EGREP_found && break 3
5851 EGREP="$ac_cv_path_EGREP"
5852 if test -z "$EGREP"; then
5853 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5854 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5855 { (exit 1); exit 1; }; }
5859 ac_cv_path_EGREP=$EGREP
5865 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5866 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5867 EGREP="$ac_cv_path_EGREP"
5870 # Extract the first word of "ldconfig", so it can be a program name with args.
5871 set dummy ldconfig; ac_word=$2
5872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5874 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5875 echo $ECHO_N "(cached) $ECHO_C" >&6
5879 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5883 for as_dir in /sbin /usr/sbin $PATH
5886 test -z "$as_dir" && as_dir=.
5887 for ac_exec_ext in '' $ac_executable_extensions; do
5888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5889 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5897 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5901 LDCONFIG=$ac_cv_path_LDCONFIG
5902 if test -n "$LDCONFIG"; then
5903 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5904 echo "${ECHO_T}$LDCONFIG" >&6; }
5906 { echo "$as_me:$LINENO: result: no" >&5
5907 echo "${ECHO_T}no" >&6; }
5911 # Find a good install program. We prefer a C program (faster),
5912 # so one script is as good as another. But avoid the broken or
5913 # incompatible versions:
5914 # SysV /etc/install, /usr/sbin/install
5915 # SunOS /usr/etc/install
5916 # IRIX /sbin/install
5918 # AmigaOS /C/install, which installs bootblocks on floppy discs
5919 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5920 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5921 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5922 # OS/2's system install, which has a completely different semantic
5923 # ./install, which can be erroneously created by make from ./install.sh.
5924 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5925 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5926 if test -z "$INSTALL"; then
5927 if test "${ac_cv_path_install+set}" = set; then
5928 echo $ECHO_N "(cached) $ECHO_C" >&6
5930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5934 test -z "$as_dir" && as_dir=.
5935 # Account for people who put trailing slashes in PATH elements.
5937 ./ | .// | /cC/* | \
5938 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5939 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5942 # OSF1 and SCO ODT 3.0 have their own names for install.
5943 # Don't use installbsd from OSF since it installs stuff as root
5945 for ac_prog in ginstall scoinst install; do
5946 for ac_exec_ext in '' $ac_executable_extensions; do
5947 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5948 if test $ac_prog = install &&
5949 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5950 # AIX install. It has an incompatible calling convention.
5952 elif test $ac_prog = install &&
5953 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5954 # program-specific install script used by HP pwplus--don't use.
5957 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5970 if test "${ac_cv_path_install+set}" = set; then
5971 INSTALL=$ac_cv_path_install
5973 # As a last resort, use the slow shell script. Don't cache a
5974 # value for INSTALL within a source directory, because that will
5975 # break other packages using the cache if that directory is
5976 # removed, or if the value is a relative name.
5977 INSTALL=$ac_install_sh
5980 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5981 echo "${ECHO_T}$INSTALL" >&6; }
5983 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5984 # It thinks the first close brace ends the variable substitution.
5985 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5987 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5989 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5992 [\\/$]* | ?:[\\/]* ) ;;
5993 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5996 for ac_prog in lclint lint
5998 # Extract the first word of "$ac_prog", so it can be a program name with args.
5999 set dummy $ac_prog; ac_word=$2
6000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6002 if test "${ac_cv_prog_LINT+set}" = set; then
6003 echo $ECHO_N "(cached) $ECHO_C" >&6
6005 if test -n "$LINT"; then
6006 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6012 test -z "$as_dir" && as_dir=.
6013 for ac_exec_ext in '' $ac_executable_extensions; do
6014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6015 ac_cv_prog_LINT="$ac_prog"
6016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6025 LINT=$ac_cv_prog_LINT
6026 if test -n "$LINT"; then
6027 { echo "$as_me:$LINENO: result: $LINT" >&5
6028 echo "${ECHO_T}$LINT" >&6; }
6030 { echo "$as_me:$LINENO: result: no" >&5
6031 echo "${ECHO_T}no" >&6; }
6035 test -n "$LINT" && break
6038 if test "$LINT" = "lint"
6040 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6045 for ac_prog in fontforge
6047 # Extract the first word of "$ac_prog", so it can be a program name with args.
6048 set dummy $ac_prog; ac_word=$2
6049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6051 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6052 echo $ECHO_N "(cached) $ECHO_C" >&6
6054 if test -n "$FONTFORGE"; then
6055 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6061 test -z "$as_dir" && as_dir=.
6062 for ac_exec_ext in '' $ac_executable_extensions; do
6063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6064 ac_cv_prog_FONTFORGE="$ac_prog"
6065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6074 FONTFORGE=$ac_cv_prog_FONTFORGE
6075 if test -n "$FONTFORGE"; then
6076 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6077 echo "${ECHO_T}$FONTFORGE" >&6; }
6079 { echo "$as_me:$LINENO: result: no" >&5
6080 echo "${ECHO_T}no" >&6; }
6084 test -n "$FONTFORGE" && break
6086 test -n "$FONTFORGE" || FONTFORGE="false"
6088 for ac_prog in pkg-config
6090 # Extract the first word of "$ac_prog", so it can be a program name with args.
6091 set dummy $ac_prog; ac_word=$2
6092 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6094 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6095 echo $ECHO_N "(cached) $ECHO_C" >&6
6097 if test -n "$PKG_CONFIG"; then
6098 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6104 test -z "$as_dir" && as_dir=.
6105 for ac_exec_ext in '' $ac_executable_extensions; do
6106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6107 ac_cv_prog_PKG_CONFIG="$ac_prog"
6108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6117 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6118 if test -n "$PKG_CONFIG"; then
6119 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6120 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6122 { echo "$as_me:$LINENO: result: no" >&5
6123 echo "${ECHO_T}no" >&6; }
6127 test -n "$PKG_CONFIG" && break
6129 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6134 # Extract the first word of "prelink", so it can be a program name with args.
6135 set dummy prelink; ac_word=$2
6136 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6138 if test "${ac_cv_path_PRELINK+set}" = set; then
6139 echo $ECHO_N "(cached) $ECHO_C" >&6
6143 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6147 for as_dir in /sbin /usr/sbin $PATH
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_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6153 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6161 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6165 PRELINK=$ac_cv_path_PRELINK
6166 if test -n "$PRELINK"; then
6167 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6168 echo "${ECHO_T}$PRELINK" >&6; }
6170 { echo "$as_me:$LINENO: result: no" >&5
6171 echo "${ECHO_T}no" >&6; }
6180 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6181 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6182 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6183 echo $ECHO_N "(cached) $ECHO_C" >&6
6185 ac_check_lib_save_LIBS=$LIBS
6187 cat >conftest.$ac_ext <<_ACEOF
6190 cat confdefs.h >>conftest.$ac_ext
6191 cat >>conftest.$ac_ext <<_ACEOF
6192 /* end confdefs.h. */
6194 /* Override any GCC internal prototype to avoid an error.
6195 Use char because int might match the return type of a GCC
6196 builtin and then its argument prototype would still apply. */
6200 char i386_set_ldt ();
6204 return i386_set_ldt ();
6209 rm -f conftest.$ac_objext conftest$ac_exeext
6210 if { (ac_try="$ac_link"
6212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6213 *) ac_try_echo=$ac_try;;
6215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6216 (eval "$ac_link") 2>conftest.er1
6218 grep -v '^ *+' conftest.er1 >conftest.err
6220 cat conftest.err >&5
6221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6222 (exit $ac_status); } && {
6223 test -z "$ac_c_werror_flag" ||
6224 test ! -s conftest.err
6225 } && test -s conftest$ac_exeext &&
6226 $as_test_x conftest$ac_exeext; then
6227 ac_cv_lib_i386_i386_set_ldt=yes
6229 echo "$as_me: failed program was:" >&5
6230 sed 's/^/| /' conftest.$ac_ext >&5
6232 ac_cv_lib_i386_i386_set_ldt=no
6235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6236 conftest$ac_exeext conftest.$ac_ext
6237 LIBS=$ac_check_lib_save_LIBS
6239 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6240 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6241 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6242 cat >>confdefs.h <<_ACEOF
6243 #define HAVE_LIBI386 1
6251 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6252 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6253 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6254 echo $ECHO_N "(cached) $ECHO_C" >&6
6256 ac_check_lib_save_LIBS=$LIBS
6257 LIBS="-lossaudio $LIBS"
6258 cat >conftest.$ac_ext <<_ACEOF
6261 cat confdefs.h >>conftest.$ac_ext
6262 cat >>conftest.$ac_ext <<_ACEOF
6263 /* end confdefs.h. */
6265 /* Override any GCC internal prototype to avoid an error.
6266 Use char because int might match the return type of a GCC
6267 builtin and then its argument prototype would still apply. */
6275 return _oss_ioctl ();
6280 rm -f conftest.$ac_objext conftest$ac_exeext
6281 if { (ac_try="$ac_link"
6283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6284 *) ac_try_echo=$ac_try;;
6286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6287 (eval "$ac_link") 2>conftest.er1
6289 grep -v '^ *+' conftest.er1 >conftest.err
6291 cat conftest.err >&5
6292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293 (exit $ac_status); } && {
6294 test -z "$ac_c_werror_flag" ||
6295 test ! -s conftest.err
6296 } && test -s conftest$ac_exeext &&
6297 $as_test_x conftest$ac_exeext; then
6298 ac_cv_lib_ossaudio__oss_ioctl=yes
6300 echo "$as_me: failed program was:" >&5
6301 sed 's/^/| /' conftest.$ac_ext >&5
6303 ac_cv_lib_ossaudio__oss_ioctl=no
6306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6307 conftest$ac_exeext conftest.$ac_ext
6308 LIBS=$ac_check_lib_save_LIBS
6310 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6311 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6312 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6313 cat >>confdefs.h <<_ACEOF
6314 #define HAVE_LIBOSSAUDIO 1
6317 LIBS="-lossaudio $LIBS"
6322 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6323 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6324 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6325 echo $ECHO_N "(cached) $ECHO_C" >&6
6327 ac_check_lib_save_LIBS=$LIBS
6329 cat >conftest.$ac_ext <<_ACEOF
6332 cat confdefs.h >>conftest.$ac_ext
6333 cat >>conftest.$ac_ext <<_ACEOF
6334 /* end confdefs.h. */
6336 /* Override any GCC internal prototype to avoid an error.
6337 Use char because int might match the return type of a GCC
6338 builtin and then its argument prototype would still apply. */
6342 char _xpg4_setrunelocale ();
6346 return _xpg4_setrunelocale ();
6351 rm -f conftest.$ac_objext conftest$ac_exeext
6352 if { (ac_try="$ac_link"
6354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6355 *) ac_try_echo=$ac_try;;
6357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6358 (eval "$ac_link") 2>conftest.er1
6360 grep -v '^ *+' conftest.er1 >conftest.err
6362 cat conftest.err >&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); } && {
6365 test -z "$ac_c_werror_flag" ||
6366 test ! -s conftest.err
6367 } && test -s conftest$ac_exeext &&
6368 $as_test_x conftest$ac_exeext; then
6369 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6371 echo "$as_me: failed program was:" >&5
6372 sed 's/^/| /' conftest.$ac_ext >&5
6374 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6378 conftest$ac_exeext conftest.$ac_ext
6379 LIBS=$ac_check_lib_save_LIBS
6381 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6382 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6383 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6384 cat >>confdefs.h <<_ACEOF
6385 #define HAVE_LIBXPG4 1
6392 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6393 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6394 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6395 echo $ECHO_N "(cached) $ECHO_C" >&6
6397 ac_check_lib_save_LIBS=$LIBS
6398 LIBS="-lpthread $LIBS"
6399 cat >conftest.$ac_ext <<_ACEOF
6402 cat confdefs.h >>conftest.$ac_ext
6403 cat >>conftest.$ac_ext <<_ACEOF
6404 /* end confdefs.h. */
6406 /* Override any GCC internal prototype to avoid an error.
6407 Use char because int might match the return type of a GCC
6408 builtin and then its argument prototype would still apply. */
6412 char pthread_create ();
6416 return pthread_create ();
6421 rm -f conftest.$ac_objext conftest$ac_exeext
6422 if { (ac_try="$ac_link"
6424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6425 *) ac_try_echo=$ac_try;;
6427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6428 (eval "$ac_link") 2>conftest.er1
6430 grep -v '^ *+' conftest.er1 >conftest.err
6432 cat conftest.err >&5
6433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434 (exit $ac_status); } && {
6435 test -z "$ac_c_werror_flag" ||
6436 test ! -s conftest.err
6437 } && test -s conftest$ac_exeext &&
6438 $as_test_x conftest$ac_exeext; then
6439 ac_cv_lib_pthread_pthread_create=yes
6441 echo "$as_me: failed program was:" >&5
6442 sed 's/^/| /' conftest.$ac_ext >&5
6444 ac_cv_lib_pthread_pthread_create=no
6447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6448 conftest$ac_exeext conftest.$ac_ext
6449 LIBS=$ac_check_lib_save_LIBS
6451 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6452 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6453 if test $ac_cv_lib_pthread_pthread_create = yes; then
6454 LIBPTHREAD="-lpthread"
6473 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6474 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6475 if test "${ac_cv_header_stdc+set}" = set; then
6476 echo $ECHO_N "(cached) $ECHO_C" >&6
6478 cat >conftest.$ac_ext <<_ACEOF
6481 cat confdefs.h >>conftest.$ac_ext
6482 cat >>conftest.$ac_ext <<_ACEOF
6483 /* end confdefs.h. */
6497 rm -f conftest.$ac_objext
6498 if { (ac_try="$ac_compile"
6500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6501 *) ac_try_echo=$ac_try;;
6503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6504 (eval "$ac_compile") 2>conftest.er1
6506 grep -v '^ *+' conftest.er1 >conftest.err
6508 cat conftest.err >&5
6509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6510 (exit $ac_status); } && {
6511 test -z "$ac_c_werror_flag" ||
6512 test ! -s conftest.err
6513 } && test -s conftest.$ac_objext; then
6514 ac_cv_header_stdc=yes
6516 echo "$as_me: failed program was:" >&5
6517 sed 's/^/| /' conftest.$ac_ext >&5
6519 ac_cv_header_stdc=no
6522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6524 if test $ac_cv_header_stdc = yes; then
6525 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6526 cat >conftest.$ac_ext <<_ACEOF
6529 cat confdefs.h >>conftest.$ac_ext
6530 cat >>conftest.$ac_ext <<_ACEOF
6531 /* end confdefs.h. */
6535 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6536 $EGREP "memchr" >/dev/null 2>&1; then
6539 ac_cv_header_stdc=no
6545 if test $ac_cv_header_stdc = yes; then
6546 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6547 cat >conftest.$ac_ext <<_ACEOF
6550 cat confdefs.h >>conftest.$ac_ext
6551 cat >>conftest.$ac_ext <<_ACEOF
6552 /* end confdefs.h. */
6556 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6557 $EGREP "free" >/dev/null 2>&1; then
6560 ac_cv_header_stdc=no
6566 if test $ac_cv_header_stdc = yes; then
6567 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6568 if test "$cross_compiling" = yes; then
6571 cat >conftest.$ac_ext <<_ACEOF
6574 cat confdefs.h >>conftest.$ac_ext
6575 cat >>conftest.$ac_ext <<_ACEOF
6576 /* end confdefs.h. */
6579 #if ((' ' & 0x0FF) == 0x020)
6580 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6581 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6583 # define ISLOWER(c) \
6584 (('a' <= (c) && (c) <= 'i') \
6585 || ('j' <= (c) && (c) <= 'r') \
6586 || ('s' <= (c) && (c) <= 'z'))
6587 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6590 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6595 for (i = 0; i < 256; i++)
6596 if (XOR (islower (i), ISLOWER (i))
6597 || toupper (i) != TOUPPER (i))
6602 rm -f conftest$ac_exeext
6603 if { (ac_try="$ac_link"
6605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6606 *) ac_try_echo=$ac_try;;
6608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6609 (eval "$ac_link") 2>&5
6611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6612 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6613 { (case "(($ac_try" in
6614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6615 *) ac_try_echo=$ac_try;;
6617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6618 (eval "$ac_try") 2>&5
6620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6621 (exit $ac_status); }; }; then
6624 echo "$as_me: program exited with status $ac_status" >&5
6625 echo "$as_me: failed program was:" >&5
6626 sed 's/^/| /' conftest.$ac_ext >&5
6629 ac_cv_header_stdc=no
6631 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6637 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6638 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6639 if test $ac_cv_header_stdc = yes; then
6641 cat >>confdefs.h <<\_ACEOF
6642 #define STDC_HEADERS 1
6647 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6657 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6658 inttypes.h stdint.h unistd.h
6660 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6661 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6663 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6664 echo $ECHO_N "(cached) $ECHO_C" >&6
6666 cat >conftest.$ac_ext <<_ACEOF
6669 cat confdefs.h >>conftest.$ac_ext
6670 cat >>conftest.$ac_ext <<_ACEOF
6671 /* end confdefs.h. */
6672 $ac_includes_default
6674 #include <$ac_header>
6676 rm -f conftest.$ac_objext
6677 if { (ac_try="$ac_compile"
6679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6680 *) ac_try_echo=$ac_try;;
6682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6683 (eval "$ac_compile") 2>conftest.er1
6685 grep -v '^ *+' conftest.er1 >conftest.err
6687 cat conftest.err >&5
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); } && {
6690 test -z "$ac_c_werror_flag" ||
6691 test ! -s conftest.err
6692 } && test -s conftest.$ac_objext; then
6693 eval "$as_ac_Header=yes"
6695 echo "$as_me: failed program was:" >&5
6696 sed 's/^/| /' conftest.$ac_ext >&5
6698 eval "$as_ac_Header=no"
6701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6703 ac_res=`eval echo '${'$as_ac_Header'}'`
6704 { echo "$as_me:$LINENO: result: $ac_res" >&5
6705 echo "${ECHO_T}$ac_res" >&6; }
6706 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6707 cat >>confdefs.h <<_ACEOF
6708 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6826 AudioUnit/AudioUnit.h \
6828 CoreAudio/CoreAudio.h \
6829 DiskArbitration/DiskArbitration.h \
6842 fontconfig/fontconfig.h \
6868 machine/soundcard.h \
6873 netinet/in_systm.h \
6937 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6938 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6939 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6941 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6942 echo $ECHO_N "(cached) $ECHO_C" >&6
6944 ac_res=`eval echo '${'$as_ac_Header'}'`
6945 { echo "$as_me:$LINENO: result: $ac_res" >&5
6946 echo "${ECHO_T}$ac_res" >&6; }
6948 # Is the header compilable?
6949 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6950 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6951 cat >conftest.$ac_ext <<_ACEOF
6954 cat confdefs.h >>conftest.$ac_ext
6955 cat >>conftest.$ac_ext <<_ACEOF
6956 /* end confdefs.h. */
6957 $ac_includes_default
6958 #include <$ac_header>
6960 rm -f conftest.$ac_objext
6961 if { (ac_try="$ac_compile"
6963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6964 *) ac_try_echo=$ac_try;;
6966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6967 (eval "$ac_compile") 2>conftest.er1
6969 grep -v '^ *+' conftest.er1 >conftest.err
6971 cat conftest.err >&5
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); } && {
6974 test -z "$ac_c_werror_flag" ||
6975 test ! -s conftest.err
6976 } && test -s conftest.$ac_objext; then
6977 ac_header_compiler=yes
6979 echo "$as_me: failed program was:" >&5
6980 sed 's/^/| /' conftest.$ac_ext >&5
6982 ac_header_compiler=no
6985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6986 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6987 echo "${ECHO_T}$ac_header_compiler" >&6; }
6989 # Is the header present?
6990 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6991 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6992 cat >conftest.$ac_ext <<_ACEOF
6995 cat confdefs.h >>conftest.$ac_ext
6996 cat >>conftest.$ac_ext <<_ACEOF
6997 /* end confdefs.h. */
6998 #include <$ac_header>
7000 if { (ac_try="$ac_cpp conftest.$ac_ext"
7002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7003 *) ac_try_echo=$ac_try;;
7005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7006 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7008 grep -v '^ *+' conftest.er1 >conftest.err
7010 cat conftest.err >&5
7011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7012 (exit $ac_status); } >/dev/null && {
7013 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7014 test ! -s conftest.err
7016 ac_header_preproc=yes
7018 echo "$as_me: failed program was:" >&5
7019 sed 's/^/| /' conftest.$ac_ext >&5
7021 ac_header_preproc=no
7024 rm -f conftest.err conftest.$ac_ext
7025 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7026 echo "${ECHO_T}$ac_header_preproc" >&6; }
7028 # So? What about this header?
7029 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7031 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7032 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7034 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7035 ac_header_preproc=yes
7038 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7039 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7040 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7041 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7042 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7043 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7044 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7045 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7046 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7047 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7048 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7049 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7051 ## ------------------------------------ ##
7052 ## Report this to wine-devel@winehq.org ##
7053 ## ------------------------------------ ##
7055 ) | sed "s/^/$as_me: WARNING: /" >&2
7058 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7060 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7061 echo $ECHO_N "(cached) $ECHO_C" >&6
7063 eval "$as_ac_Header=\$ac_header_preproc"
7065 ac_res=`eval echo '${'$as_ac_Header'}'`
7066 { echo "$as_me:$LINENO: result: $ac_res" >&5
7067 echo "${ECHO_T}$ac_res" >&6; }
7070 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7071 cat >>confdefs.h <<_ACEOF
7072 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7079 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7080 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7081 if test "${ac_cv_header_stat_broken+set}" = set; then
7082 echo $ECHO_N "(cached) $ECHO_C" >&6
7084 cat >conftest.$ac_ext <<_ACEOF
7087 cat confdefs.h >>conftest.$ac_ext
7088 cat >>conftest.$ac_ext <<_ACEOF
7089 /* end confdefs.h. */
7090 #include <sys/types.h>
7091 #include <sys/stat.h>
7093 #if defined S_ISBLK && defined S_IFDIR
7094 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7097 #if defined S_ISBLK && defined S_IFCHR
7098 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7101 #if defined S_ISLNK && defined S_IFREG
7102 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7105 #if defined S_ISSOCK && defined S_IFREG
7106 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7110 rm -f conftest.$ac_objext
7111 if { (ac_try="$ac_compile"
7113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7114 *) ac_try_echo=$ac_try;;
7116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7117 (eval "$ac_compile") 2>conftest.er1
7119 grep -v '^ *+' conftest.er1 >conftest.err
7121 cat conftest.err >&5
7122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123 (exit $ac_status); } && {
7124 test -z "$ac_c_werror_flag" ||
7125 test ! -s conftest.err
7126 } && test -s conftest.$ac_objext; then
7127 ac_cv_header_stat_broken=no
7129 echo "$as_me: failed program was:" >&5
7130 sed 's/^/| /' conftest.$ac_ext >&5
7132 ac_cv_header_stat_broken=yes
7135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7137 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7138 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7139 if test $ac_cv_header_stat_broken = yes; then
7141 cat >>confdefs.h <<\_ACEOF
7142 #define STAT_MACROS_BROKEN 1
7153 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7155 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7156 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7157 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7158 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7159 echo $ECHO_N "(cached) $ECHO_C" >&6
7161 cat >conftest.$ac_ext <<_ACEOF
7164 cat confdefs.h >>conftest.$ac_ext
7165 cat >>conftest.$ac_ext <<_ACEOF
7166 /* end confdefs.h. */
7167 #include <sys/types.h>
7168 #if HAVE_SYS_PARAM_H
7169 # include <sys/param.h>
7172 #include <$ac_header>
7174 rm -f conftest.$ac_objext
7175 if { (ac_try="$ac_compile"
7177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7178 *) ac_try_echo=$ac_try;;
7180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7181 (eval "$ac_compile") 2>conftest.er1
7183 grep -v '^ *+' conftest.er1 >conftest.err
7185 cat conftest.err >&5
7186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7187 (exit $ac_status); } && {
7188 test -z "$ac_c_werror_flag" ||
7189 test ! -s conftest.err
7190 } && test -s conftest.$ac_objext; then
7191 eval "$as_ac_Header=yes"
7193 echo "$as_me: failed program was:" >&5
7194 sed 's/^/| /' conftest.$ac_ext >&5
7196 eval "$as_ac_Header=no"
7199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7201 ac_res=`eval echo '${'$as_ac_Header'}'`
7202 { echo "$as_me:$LINENO: result: $ac_res" >&5
7203 echo "${ECHO_T}$ac_res" >&6; }
7204 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7205 cat >>confdefs.h <<_ACEOF
7206 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7220 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
7222 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7223 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7225 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7226 echo $ECHO_N "(cached) $ECHO_C" >&6
7228 cat >conftest.$ac_ext <<_ACEOF
7231 cat confdefs.h >>conftest.$ac_ext
7232 cat >>conftest.$ac_ext <<_ACEOF
7233 /* end confdefs.h. */
7234 #include <sys/types.h>
7235 #if HAVE_SYS_SOCKET_H
7236 # include <sys/socket.h>
7239 #include <$ac_header>
7241 rm -f conftest.$ac_objext
7242 if { (ac_try="$ac_compile"
7244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7245 *) ac_try_echo=$ac_try;;
7247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7248 (eval "$ac_compile") 2>conftest.er1
7250 grep -v '^ *+' conftest.er1 >conftest.err
7252 cat conftest.err >&5
7253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7254 (exit $ac_status); } && {
7255 test -z "$ac_c_werror_flag" ||
7256 test ! -s conftest.err
7257 } && test -s conftest.$ac_objext; then
7258 eval "$as_ac_Header=yes"
7260 echo "$as_me: failed program was:" >&5
7261 sed 's/^/| /' conftest.$ac_ext >&5
7263 eval "$as_ac_Header=no"
7266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7268 ac_res=`eval echo '${'$as_ac_Header'}'`
7269 { echo "$as_me:$LINENO: result: $ac_res" >&5
7270 echo "${ECHO_T}$ac_res" >&6; }
7271 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7272 cat >>confdefs.h <<_ACEOF
7273 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7282 for ac_header in linux/ipx.h
7284 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7285 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7287 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7288 echo $ECHO_N "(cached) $ECHO_C" >&6
7290 cat >conftest.$ac_ext <<_ACEOF
7293 cat confdefs.h >>conftest.$ac_ext
7294 cat >>conftest.$ac_ext <<_ACEOF
7295 /* end confdefs.h. */
7296 #include <sys/types.h>
7297 #ifdef HAVE_ASM_TYPES_H
7298 # include <asm/types.h>
7300 #if HAVE_SYS_SOCKET_H
7301 # include <sys/socket.h>
7304 #include <$ac_header>
7306 rm -f conftest.$ac_objext
7307 if { (ac_try="$ac_compile"
7309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7310 *) ac_try_echo=$ac_try;;
7312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7313 (eval "$ac_compile") 2>conftest.er1
7315 grep -v '^ *+' conftest.er1 >conftest.err
7317 cat conftest.err >&5
7318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7319 (exit $ac_status); } && {
7320 test -z "$ac_c_werror_flag" ||
7321 test ! -s conftest.err
7322 } && test -s conftest.$ac_objext; then
7323 eval "$as_ac_Header=yes"
7325 echo "$as_me: failed program was:" >&5
7326 sed 's/^/| /' conftest.$ac_ext >&5
7328 eval "$as_ac_Header=no"
7331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7333 ac_res=`eval echo '${'$as_ac_Header'}'`
7334 { echo "$as_me:$LINENO: result: $ac_res" >&5
7335 echo "${ECHO_T}$ac_res" >&6; }
7336 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7337 cat >>confdefs.h <<_ACEOF
7338 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7347 for ac_header in resolv.h
7349 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7350 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7352 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7353 echo $ECHO_N "(cached) $ECHO_C" >&6
7355 cat >conftest.$ac_ext <<_ACEOF
7358 cat confdefs.h >>conftest.$ac_ext
7359 cat >>conftest.$ac_ext <<_ACEOF
7360 /* end confdefs.h. */
7361 #include <sys/types.h>
7362 #if HAVE_SYS_SOCKET_H
7363 # include <sys/socket.h>
7365 #if HAVE_NETINET_IN_H
7366 # include <netinet/in.h>
7368 #if HAVE_ARPA_NAMESER_H
7369 # include <arpa/nameser.h>
7372 #include <$ac_header>
7374 rm -f conftest.$ac_objext
7375 if { (ac_try="$ac_compile"
7377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7378 *) ac_try_echo=$ac_try;;
7380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7381 (eval "$ac_compile") 2>conftest.er1
7383 grep -v '^ *+' conftest.er1 >conftest.err
7385 cat conftest.err >&5
7386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7387 (exit $ac_status); } && {
7388 test -z "$ac_c_werror_flag" ||
7389 test ! -s conftest.err
7390 } && test -s conftest.$ac_objext; then
7391 eval "$as_ac_Header=yes"
7393 echo "$as_me: failed program was:" >&5
7394 sed 's/^/| /' conftest.$ac_ext >&5
7396 eval "$as_ac_Header=no"
7399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7401 ac_res=`eval echo '${'$as_ac_Header'}'`
7402 { echo "$as_me:$LINENO: result: $ac_res" >&5
7403 echo "${ECHO_T}$ac_res" >&6; }
7404 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7405 cat >>confdefs.h <<_ACEOF
7406 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7415 for ac_header in ucontext.h
7417 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7418 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7420 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7421 echo $ECHO_N "(cached) $ECHO_C" >&6
7423 cat >conftest.$ac_ext <<_ACEOF
7426 cat confdefs.h >>conftest.$ac_ext
7427 cat >>conftest.$ac_ext <<_ACEOF
7428 /* end confdefs.h. */
7431 #include <$ac_header>
7433 rm -f conftest.$ac_objext
7434 if { (ac_try="$ac_compile"
7436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7437 *) ac_try_echo=$ac_try;;
7439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7440 (eval "$ac_compile") 2>conftest.er1
7442 grep -v '^ *+' conftest.er1 >conftest.err
7444 cat conftest.err >&5
7445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446 (exit $ac_status); } && {
7447 test -z "$ac_c_werror_flag" ||
7448 test ! -s conftest.err
7449 } && test -s conftest.$ac_objext; then
7450 eval "$as_ac_Header=yes"
7452 echo "$as_me: failed program was:" >&5
7453 sed 's/^/| /' conftest.$ac_ext >&5
7455 eval "$as_ac_Header=no"
7458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7460 ac_res=`eval echo '${'$as_ac_Header'}'`
7461 { echo "$as_me:$LINENO: result: $ac_res" >&5
7462 echo "${ECHO_T}$ac_res" >&6; }
7463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7464 cat >>confdefs.h <<_ACEOF
7465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7474 for ac_header in pthread_np.h
7476 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7477 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7479 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7480 echo $ECHO_N "(cached) $ECHO_C" >&6
7482 cat >conftest.$ac_ext <<_ACEOF
7485 cat confdefs.h >>conftest.$ac_ext
7486 cat >>conftest.$ac_ext <<_ACEOF
7487 /* end confdefs.h. */
7488 #ifdef HAVE_PTHREAD_H
7489 #include <pthread.h>
7492 #include <$ac_header>
7494 rm -f conftest.$ac_objext
7495 if { (ac_try="$ac_compile"
7497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7498 *) ac_try_echo=$ac_try;;
7500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7501 (eval "$ac_compile") 2>conftest.er1
7503 grep -v '^ *+' conftest.er1 >conftest.err
7505 cat conftest.err >&5
7506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7507 (exit $ac_status); } && {
7508 test -z "$ac_c_werror_flag" ||
7509 test ! -s conftest.err
7510 } && test -s conftest.$ac_objext; then
7511 eval "$as_ac_Header=yes"
7513 echo "$as_me: failed program was:" >&5
7514 sed 's/^/| /' conftest.$ac_ext >&5
7516 eval "$as_ac_Header=no"
7519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7521 ac_res=`eval echo '${'$as_ac_Header'}'`
7522 { echo "$as_me:$LINENO: result: $ac_res" >&5
7523 echo "${ECHO_T}$ac_res" >&6; }
7524 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7525 cat >>confdefs.h <<_ACEOF
7526 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7535 for ac_header in linux/videodev.h
7537 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7538 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7540 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7541 echo $ECHO_N "(cached) $ECHO_C" >&6
7543 cat >conftest.$ac_ext <<_ACEOF
7546 cat confdefs.h >>conftest.$ac_ext
7547 cat >>conftest.$ac_ext <<_ACEOF
7548 /* end confdefs.h. */
7549 #ifdef HAVE_SYS_TIME_H
7550 #include <sys/time.h>
7552 #include <sys/types.h>
7553 #ifdef HAVE_ASM_TYPES_H
7554 #include <asm/types.h>
7557 #include <$ac_header>
7559 rm -f conftest.$ac_objext
7560 if { (ac_try="$ac_compile"
7562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7563 *) ac_try_echo=$ac_try;;
7565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7566 (eval "$ac_compile") 2>conftest.er1
7568 grep -v '^ *+' conftest.er1 >conftest.err
7570 cat conftest.err >&5
7571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572 (exit $ac_status); } && {
7573 test -z "$ac_c_werror_flag" ||
7574 test ! -s conftest.err
7575 } && test -s conftest.$ac_objext; then
7576 eval "$as_ac_Header=yes"
7578 echo "$as_me: failed program was:" >&5
7579 sed 's/^/| /' conftest.$ac_ext >&5
7581 eval "$as_ac_Header=no"
7584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7586 ac_res=`eval echo '${'$as_ac_Header'}'`
7587 { echo "$as_me:$LINENO: result: $ac_res" >&5
7588 echo "${ECHO_T}$ac_res" >&6; }
7589 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7590 cat >>confdefs.h <<_ACEOF
7591 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7600 for ac_header in linux/capi.h
7602 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7603 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7605 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7606 echo $ECHO_N "(cached) $ECHO_C" >&6
7608 cat >conftest.$ac_ext <<_ACEOF
7611 cat confdefs.h >>conftest.$ac_ext
7612 cat >>conftest.$ac_ext <<_ACEOF
7613 /* end confdefs.h. */
7616 #include <$ac_header>
7618 rm -f conftest.$ac_objext
7619 if { (ac_try="$ac_compile"
7621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7622 *) ac_try_echo=$ac_try;;
7624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7625 (eval "$ac_compile") 2>conftest.er1
7627 grep -v '^ *+' conftest.er1 >conftest.err
7629 cat conftest.err >&5
7630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7631 (exit $ac_status); } && {
7632 test -z "$ac_c_werror_flag" ||
7633 test ! -s conftest.err
7634 } && test -s conftest.$ac_objext; then
7635 eval "$as_ac_Header=yes"
7637 echo "$as_me: failed program was:" >&5
7638 sed 's/^/| /' conftest.$ac_ext >&5
7640 eval "$as_ac_Header=no"
7643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7645 ac_res=`eval echo '${'$as_ac_Header'}'`
7646 { echo "$as_me:$LINENO: result: $ac_res" >&5
7647 echo "${ECHO_T}$ac_res" >&6; }
7648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7649 cat >>confdefs.h <<_ACEOF
7650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7659 if test "$have_x" = "yes"
7662 ac_save_CPPFLAGS="$CPPFLAGS"
7663 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7675 for ac_header in X11/Xlib.h \
7678 X11/extensions/shape.h \
7679 X11/extensions/XInput.h \
7680 X11/extensions/XShm.h \
7681 X11/extensions/Xinerama.h \
7682 X11/extensions/Xrandr.h \
7683 X11/extensions/Xrender.h \
7684 X11/extensions/xf86vmode.h
7686 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7687 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7689 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7690 echo $ECHO_N "(cached) $ECHO_C" >&6
7692 cat >conftest.$ac_ext <<_ACEOF
7695 cat confdefs.h >>conftest.$ac_ext
7696 cat >>conftest.$ac_ext <<_ACEOF
7697 /* end confdefs.h. */
7698 #ifdef HAVE_X11_XLIB_H
7699 # include <X11/Xlib.h>
7701 #ifdef HAVE_X11_XUTIL_H
7702 # include <X11/Xutil.h>
7705 #include <$ac_header>
7707 rm -f conftest.$ac_objext
7708 if { (ac_try="$ac_compile"
7710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7711 *) ac_try_echo=$ac_try;;
7713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7714 (eval "$ac_compile") 2>conftest.er1
7716 grep -v '^ *+' conftest.er1 >conftest.err
7718 cat conftest.err >&5
7719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7720 (exit $ac_status); } && {
7721 test -z "$ac_c_werror_flag" ||
7722 test ! -s conftest.err
7723 } && test -s conftest.$ac_objext; then
7724 eval "$as_ac_Header=yes"
7726 echo "$as_me: failed program was:" >&5
7727 sed 's/^/| /' conftest.$ac_ext >&5
7729 eval "$as_ac_Header=no"
7732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7734 ac_res=`eval echo '${'$as_ac_Header'}'`
7735 { echo "$as_me:$LINENO: result: $ac_res" >&5
7736 echo "${ECHO_T}$ac_res" >&6; }
7737 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7738 cat >>confdefs.h <<_ACEOF
7739 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7747 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7749 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7750 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
7751 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7752 echo $ECHO_N "(cached) $ECHO_C" >&6
7754 ac_check_lib_save_LIBS=$LIBS
7755 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7756 cat >conftest.$ac_ext <<_ACEOF
7759 cat confdefs.h >>conftest.$ac_ext
7760 cat >>conftest.$ac_ext <<_ACEOF
7761 /* end confdefs.h. */
7763 /* Override any GCC internal prototype to avoid an error.
7764 Use char because int might match the return type of a GCC
7765 builtin and then its argument prototype would still apply. */
7769 char XkbQueryExtension ();
7773 return XkbQueryExtension ();
7778 rm -f conftest.$ac_objext conftest$ac_exeext
7779 if { (ac_try="$ac_link"
7781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7782 *) ac_try_echo=$ac_try;;
7784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7785 (eval "$ac_link") 2>conftest.er1
7787 grep -v '^ *+' conftest.er1 >conftest.err
7789 cat conftest.err >&5
7790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7791 (exit $ac_status); } && {
7792 test -z "$ac_c_werror_flag" ||
7793 test ! -s conftest.err
7794 } && test -s conftest$ac_exeext &&
7795 $as_test_x conftest$ac_exeext; then
7796 ac_cv_lib_X11_XkbQueryExtension=yes
7798 echo "$as_me: failed program was:" >&5
7799 sed 's/^/| /' conftest.$ac_ext >&5
7801 ac_cv_lib_X11_XkbQueryExtension=no
7804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7805 conftest$ac_exeext conftest.$ac_ext
7806 LIBS=$ac_check_lib_save_LIBS
7808 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7809 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
7810 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7812 cat >>confdefs.h <<\_ACEOF
7820 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7822 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7823 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
7824 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7825 echo $ECHO_N "(cached) $ECHO_C" >&6
7827 ac_check_lib_save_LIBS=$LIBS
7828 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7829 cat >conftest.$ac_ext <<_ACEOF
7832 cat confdefs.h >>conftest.$ac_ext
7833 cat >>conftest.$ac_ext <<_ACEOF
7834 /* end confdefs.h. */
7836 /* Override any GCC internal prototype to avoid an error.
7837 Use char because int might match the return type of a GCC
7838 builtin and then its argument prototype would still apply. */
7842 char XShmQueryExtension ();
7846 return XShmQueryExtension ();
7851 rm -f conftest.$ac_objext conftest$ac_exeext
7852 if { (ac_try="$ac_link"
7854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7855 *) ac_try_echo=$ac_try;;
7857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7858 (eval "$ac_link") 2>conftest.er1
7860 grep -v '^ *+' conftest.er1 >conftest.err
7862 cat conftest.err >&5
7863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7864 (exit $ac_status); } && {
7865 test -z "$ac_c_werror_flag" ||
7866 test ! -s conftest.err
7867 } && test -s conftest$ac_exeext &&
7868 $as_test_x conftest$ac_exeext; then
7869 ac_cv_lib_Xext_XShmQueryExtension=yes
7871 echo "$as_me: failed program was:" >&5
7872 sed 's/^/| /' conftest.$ac_ext >&5
7874 ac_cv_lib_Xext_XShmQueryExtension=no
7877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7878 conftest$ac_exeext conftest.$ac_ext
7879 LIBS=$ac_check_lib_save_LIBS
7881 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7882 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
7883 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7885 cat >>confdefs.h <<\_ACEOF
7886 #define HAVE_LIBXXSHM 1
7893 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7895 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7896 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
7897 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7898 echo $ECHO_N "(cached) $ECHO_C" >&6
7900 ac_check_lib_save_LIBS=$LIBS
7901 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7902 cat >conftest.$ac_ext <<_ACEOF
7905 cat confdefs.h >>conftest.$ac_ext
7906 cat >>conftest.$ac_ext <<_ACEOF
7907 /* end confdefs.h. */
7909 /* Override any GCC internal prototype to avoid an error.
7910 Use char because int might match the return type of a GCC
7911 builtin and then its argument prototype would still apply. */
7915 char XShapeQueryExtension ();
7919 return XShapeQueryExtension ();
7924 rm -f conftest.$ac_objext conftest$ac_exeext
7925 if { (ac_try="$ac_link"
7927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7928 *) ac_try_echo=$ac_try;;
7930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7931 (eval "$ac_link") 2>conftest.er1
7933 grep -v '^ *+' conftest.er1 >conftest.err
7935 cat conftest.err >&5
7936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7937 (exit $ac_status); } && {
7938 test -z "$ac_c_werror_flag" ||
7939 test ! -s conftest.err
7940 } && test -s conftest$ac_exeext &&
7941 $as_test_x conftest$ac_exeext; then
7942 ac_cv_lib_Xext_XShapeQueryExtension=yes
7944 echo "$as_me: failed program was:" >&5
7945 sed 's/^/| /' conftest.$ac_ext >&5
7947 ac_cv_lib_Xext_XShapeQueryExtension=no
7950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7951 conftest$ac_exeext conftest.$ac_ext
7952 LIBS=$ac_check_lib_save_LIBS
7954 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7955 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
7956 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7958 cat >>confdefs.h <<\_ACEOF
7959 #define HAVE_LIBXSHAPE 1
7966 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7968 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7969 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
7970 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7971 echo $ECHO_N "(cached) $ECHO_C" >&6
7973 ac_check_lib_save_LIBS=$LIBS
7974 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7975 cat >conftest.$ac_ext <<_ACEOF
7978 cat confdefs.h >>conftest.$ac_ext
7979 cat >>conftest.$ac_ext <<_ACEOF
7980 /* end confdefs.h. */
7982 /* Override any GCC internal prototype to avoid an error.
7983 Use char because int might match the return type of a GCC
7984 builtin and then its argument prototype would still apply. */
7988 char XF86VidModeQueryExtension ();
7992 return XF86VidModeQueryExtension ();
7997 rm -f conftest.$ac_objext conftest$ac_exeext
7998 if { (ac_try="$ac_link"
8000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8001 *) ac_try_echo=$ac_try;;
8003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8004 (eval "$ac_link") 2>conftest.er1
8006 grep -v '^ *+' conftest.er1 >conftest.err
8008 cat conftest.err >&5
8009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010 (exit $ac_status); } && {
8011 test -z "$ac_c_werror_flag" ||
8012 test ! -s conftest.err
8013 } && test -s conftest$ac_exeext &&
8014 $as_test_x conftest$ac_exeext; then
8015 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
8017 echo "$as_me: failed program was:" >&5
8018 sed 's/^/| /' conftest.$ac_ext >&5
8020 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
8023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8024 conftest$ac_exeext conftest.$ac_ext
8025 LIBS=$ac_check_lib_save_LIBS
8027 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8028 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
8029 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8031 cat >>confdefs.h <<\_ACEOF
8032 #define HAVE_LIBXXF86VM 1
8035 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
8041 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8043 cat >conftest.$ac_ext <<_ACEOF
8046 cat confdefs.h >>conftest.$ac_ext
8047 cat >>conftest.$ac_ext <<_ACEOF
8048 /* end confdefs.h. */
8049 #include <X11/Xlib.h>
8050 #include <X11/extensions/Xrandr.h>
8054 static typeof(XRRSetScreenConfigAndRate) * func;
8059 rm -f conftest.$ac_objext
8060 if { (ac_try="$ac_compile"
8062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8063 *) ac_try_echo=$ac_try;;
8065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8066 (eval "$ac_compile") 2>conftest.er1
8068 grep -v '^ *+' conftest.er1 >conftest.err
8070 cat conftest.err >&5
8071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8072 (exit $ac_status); } && {
8073 test -z "$ac_c_werror_flag" ||
8074 test ! -s conftest.err
8075 } && test -s conftest.$ac_objext; then
8077 cat >>confdefs.h <<\_ACEOF
8078 #define HAVE_LIBXRANDR 1
8082 echo "$as_me: failed program was:" >&5
8083 sed 's/^/| /' conftest.$ac_ext >&5
8088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8091 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8093 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8094 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
8095 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8096 echo $ECHO_N "(cached) $ECHO_C" >&6
8098 ac_check_lib_save_LIBS=$LIBS
8099 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8100 cat >conftest.$ac_ext <<_ACEOF
8103 cat confdefs.h >>conftest.$ac_ext
8104 cat >>conftest.$ac_ext <<_ACEOF
8105 /* end confdefs.h. */
8107 /* Override any GCC internal prototype to avoid an error.
8108 Use char because int might match the return type of a GCC
8109 builtin and then its argument prototype would still apply. */
8113 char XRenderSetPictureTransform ();
8117 return XRenderSetPictureTransform ();
8122 rm -f conftest.$ac_objext conftest$ac_exeext
8123 if { (ac_try="$ac_link"
8125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8126 *) ac_try_echo=$ac_try;;
8128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8129 (eval "$ac_link") 2>conftest.er1
8131 grep -v '^ *+' conftest.er1 >conftest.err
8133 cat conftest.err >&5
8134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8135 (exit $ac_status); } && {
8136 test -z "$ac_c_werror_flag" ||
8137 test ! -s conftest.err
8138 } && test -s conftest$ac_exeext &&
8139 $as_test_x conftest$ac_exeext; then
8140 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8142 echo "$as_me: failed program was:" >&5
8143 sed 's/^/| /' conftest.$ac_ext >&5
8145 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8149 conftest$ac_exeext conftest.$ac_ext
8150 LIBS=$ac_check_lib_save_LIBS
8152 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8153 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8154 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8156 cat >>confdefs.h <<\_ACEOF
8157 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8164 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8166 cat >conftest.$ac_ext <<_ACEOF
8169 cat confdefs.h >>conftest.$ac_ext
8170 cat >>conftest.$ac_ext <<_ACEOF
8171 /* end confdefs.h. */
8172 #include <X11/Xlib.h>
8173 #include <X11/extensions/Xinerama.h>
8177 static typeof(XineramaQueryScreens) * func;
8182 rm -f conftest.$ac_objext
8183 if { (ac_try="$ac_compile"
8185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8186 *) ac_try_echo=$ac_try;;
8188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8189 (eval "$ac_compile") 2>conftest.er1
8191 grep -v '^ *+' conftest.er1 >conftest.err
8193 cat conftest.err >&5
8194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8195 (exit $ac_status); } && {
8196 test -z "$ac_c_werror_flag" ||
8197 test ! -s conftest.err
8198 } && test -s conftest.$ac_objext; then
8200 cat >>confdefs.h <<\_ACEOF
8201 #define HAVE_LIBXINERAMA 1
8205 echo "$as_me: failed program was:" >&5
8206 sed 's/^/| /' conftest.$ac_ext >&5
8211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8215 if test "x$with_opengl" != "xno"
8221 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
8223 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8224 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8226 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8227 echo $ECHO_N "(cached) $ECHO_C" >&6
8229 cat >conftest.$ac_ext <<_ACEOF
8232 cat confdefs.h >>conftest.$ac_ext
8233 cat >>conftest.$ac_ext <<_ACEOF
8234 /* end confdefs.h. */
8235 #ifdef HAVE_GL_GLX_H
8236 # include <GL/glx.h>
8239 #include <$ac_header>
8241 rm -f conftest.$ac_objext
8242 if { (ac_try="$ac_compile"
8244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8245 *) ac_try_echo=$ac_try;;
8247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8248 (eval "$ac_compile") 2>conftest.er1
8250 grep -v '^ *+' conftest.er1 >conftest.err
8252 cat conftest.err >&5
8253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254 (exit $ac_status); } && {
8255 test -z "$ac_c_werror_flag" ||
8256 test ! -s conftest.err
8257 } && test -s conftest.$ac_objext; then
8258 eval "$as_ac_Header=yes"
8260 echo "$as_me: failed program was:" >&5
8261 sed 's/^/| /' conftest.$ac_ext >&5
8263 eval "$as_ac_Header=no"
8266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8268 ac_res=`eval echo '${'$as_ac_Header'}'`
8269 { echo "$as_me:$LINENO: result: $ac_res" >&5
8270 echo "${ECHO_T}$ac_res" >&6; }
8271 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8272 cat >>confdefs.h <<_ACEOF
8273 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8280 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8282 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8283 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
8284 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
8285 echo $ECHO_N "(cached) $ECHO_C" >&6
8287 cat >conftest.$ac_ext <<_ACEOF
8290 cat confdefs.h >>conftest.$ac_ext
8291 cat >>conftest.$ac_ext <<_ACEOF
8292 /* end confdefs.h. */
8297 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8302 rm -f conftest.$ac_objext
8303 if { (ac_try="$ac_compile"
8305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8306 *) ac_try_echo=$ac_try;;
8308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8309 (eval "$ac_compile") 2>conftest.er1
8311 grep -v '^ *+' conftest.er1 >conftest.err
8313 cat conftest.err >&5
8314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8315 (exit $ac_status); } && {
8316 test -z "$ac_c_werror_flag" ||
8317 test ! -s conftest.err
8318 } && test -s conftest.$ac_objext; then
8319 wine_cv_opengl_header_version_OK="yes"
8321 echo "$as_me: failed program was:" >&5
8322 sed 's/^/| /' conftest.$ac_ext >&5
8324 wine_cv_opengl_header_version_OK="no"
8328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8331 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
8332 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
8334 if test "$wine_cv_opengl_header_version_OK" = "yes"
8336 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8337 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
8338 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8339 echo $ECHO_N "(cached) $ECHO_C" >&6
8341 ac_check_lib_save_LIBS=$LIBS
8342 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8343 cat >conftest.$ac_ext <<_ACEOF
8346 cat confdefs.h >>conftest.$ac_ext
8347 cat >>conftest.$ac_ext <<_ACEOF
8348 /* end confdefs.h. */
8350 /* Override any GCC internal prototype to avoid an error.
8351 Use char because int might match the return type of a GCC
8352 builtin and then its argument prototype would still apply. */
8356 char glXCreateContext ();
8360 return glXCreateContext ();
8365 rm -f conftest.$ac_objext conftest$ac_exeext
8366 if { (ac_try="$ac_link"
8368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8369 *) ac_try_echo=$ac_try;;
8371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8372 (eval "$ac_link") 2>conftest.er1
8374 grep -v '^ *+' conftest.er1 >conftest.err
8376 cat conftest.err >&5
8377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8378 (exit $ac_status); } && {
8379 test -z "$ac_c_werror_flag" ||
8380 test ! -s conftest.err
8381 } && test -s conftest$ac_exeext &&
8382 $as_test_x conftest$ac_exeext; then
8383 ac_cv_lib_GL_glXCreateContext=yes
8385 echo "$as_me: failed program was:" >&5
8386 sed 's/^/| /' conftest.$ac_ext >&5
8388 ac_cv_lib_GL_glXCreateContext=no
8391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8392 conftest$ac_exeext conftest.$ac_ext
8393 LIBS=$ac_check_lib_save_LIBS
8395 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8396 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
8397 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8399 OPENGLFILES='$(OPENGLFILES)'
8401 cat >>confdefs.h <<\_ACEOF
8402 #define HAVE_OPENGL 1
8409 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8410 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
8411 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8412 echo $ECHO_N "(cached) $ECHO_C" >&6
8414 ac_check_lib_save_LIBS=$LIBS
8415 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8417 cat >conftest.$ac_ext <<_ACEOF
8420 cat confdefs.h >>conftest.$ac_ext
8421 cat >>conftest.$ac_ext <<_ACEOF
8422 /* end confdefs.h. */
8424 /* Override any GCC internal prototype to avoid an error.
8425 Use char because int might match the return type of a GCC
8426 builtin and then its argument prototype would still apply. */
8434 return gluLookAt ();
8439 rm -f conftest.$ac_objext conftest$ac_exeext
8440 if { (ac_try="$ac_link"
8442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8443 *) ac_try_echo=$ac_try;;
8445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8446 (eval "$ac_link") 2>conftest.er1
8448 grep -v '^ *+' conftest.er1 >conftest.err
8450 cat conftest.err >&5
8451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8452 (exit $ac_status); } && {
8453 test -z "$ac_c_werror_flag" ||
8454 test ! -s conftest.err
8455 } && test -s conftest$ac_exeext &&
8456 $as_test_x conftest$ac_exeext; then
8457 ac_cv_lib_GLU_gluLookAt=yes
8459 echo "$as_me: failed program was:" >&5
8460 sed 's/^/| /' conftest.$ac_ext >&5
8462 ac_cv_lib_GLU_gluLookAt=no
8465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8466 conftest$ac_exeext conftest.$ac_ext
8467 LIBS=$ac_check_lib_save_LIBS
8469 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8470 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
8471 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8472 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8473 GLU32FILES='$(GLU32FILES)'
8479 wine_cv_opengl_headers_found="no"
8485 for ac_header in audio/audiolib.h
8487 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8488 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8489 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8491 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8492 echo $ECHO_N "(cached) $ECHO_C" >&6
8494 ac_res=`eval echo '${'$as_ac_Header'}'`
8495 { echo "$as_me:$LINENO: result: $ac_res" >&5
8496 echo "${ECHO_T}$ac_res" >&6; }
8498 # Is the header compilable?
8499 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8500 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8501 cat >conftest.$ac_ext <<_ACEOF
8504 cat confdefs.h >>conftest.$ac_ext
8505 cat >>conftest.$ac_ext <<_ACEOF
8506 /* end confdefs.h. */
8507 $ac_includes_default
8508 #include <$ac_header>
8510 rm -f conftest.$ac_objext
8511 if { (ac_try="$ac_compile"
8513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8514 *) ac_try_echo=$ac_try;;
8516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8517 (eval "$ac_compile") 2>conftest.er1
8519 grep -v '^ *+' conftest.er1 >conftest.err
8521 cat conftest.err >&5
8522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8523 (exit $ac_status); } && {
8524 test -z "$ac_c_werror_flag" ||
8525 test ! -s conftest.err
8526 } && test -s conftest.$ac_objext; then
8527 ac_header_compiler=yes
8529 echo "$as_me: failed program was:" >&5
8530 sed 's/^/| /' conftest.$ac_ext >&5
8532 ac_header_compiler=no
8535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8536 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8537 echo "${ECHO_T}$ac_header_compiler" >&6; }
8539 # Is the header present?
8540 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8541 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8542 cat >conftest.$ac_ext <<_ACEOF
8545 cat confdefs.h >>conftest.$ac_ext
8546 cat >>conftest.$ac_ext <<_ACEOF
8547 /* end confdefs.h. */
8548 #include <$ac_header>
8550 if { (ac_try="$ac_cpp conftest.$ac_ext"
8552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8553 *) ac_try_echo=$ac_try;;
8555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8556 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8558 grep -v '^ *+' conftest.er1 >conftest.err
8560 cat conftest.err >&5
8561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8562 (exit $ac_status); } >/dev/null && {
8563 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8564 test ! -s conftest.err
8566 ac_header_preproc=yes
8568 echo "$as_me: failed program was:" >&5
8569 sed 's/^/| /' conftest.$ac_ext >&5
8571 ac_header_preproc=no
8574 rm -f conftest.err conftest.$ac_ext
8575 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8576 echo "${ECHO_T}$ac_header_preproc" >&6; }
8578 # So? What about this header?
8579 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8581 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8582 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8584 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8585 ac_header_preproc=yes
8588 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8589 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8590 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8591 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8592 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8593 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8594 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8595 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8596 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8597 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8598 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8599 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8601 ## ------------------------------------ ##
8602 ## Report this to wine-devel@winehq.org ##
8603 ## ------------------------------------ ##
8605 ) | sed "s/^/$as_me: WARNING: /" >&2
8608 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8610 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8611 echo $ECHO_N "(cached) $ECHO_C" >&6
8613 eval "$as_ac_Header=\$ac_header_preproc"
8615 ac_res=`eval echo '${'$as_ac_Header'}'`
8616 { echo "$as_me:$LINENO: result: $ac_res" >&5
8617 echo "${ECHO_T}$ac_res" >&6; }
8620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8621 cat >>confdefs.h <<_ACEOF
8622 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8625 for ac_header in audio/soundlib.h
8627 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8628 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8630 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8631 echo $ECHO_N "(cached) $ECHO_C" >&6
8633 cat >conftest.$ac_ext <<_ACEOF
8636 cat confdefs.h >>conftest.$ac_ext
8637 cat >>conftest.$ac_ext <<_ACEOF
8638 /* end confdefs.h. */
8639 #include <audio/audiolib.h>
8641 #include <$ac_header>
8643 rm -f conftest.$ac_objext
8644 if { (ac_try="$ac_compile"
8646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8647 *) ac_try_echo=$ac_try;;
8649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8650 (eval "$ac_compile") 2>conftest.er1
8652 grep -v '^ *+' conftest.er1 >conftest.err
8654 cat conftest.err >&5
8655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8656 (exit $ac_status); } && {
8657 test -z "$ac_c_werror_flag" ||
8658 test ! -s conftest.err
8659 } && test -s conftest.$ac_objext; then
8660 eval "$as_ac_Header=yes"
8662 echo "$as_me: failed program was:" >&5
8663 sed 's/^/| /' conftest.$ac_ext >&5
8665 eval "$as_ac_Header=no"
8668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8670 ac_res=`eval echo '${'$as_ac_Header'}'`
8671 { echo "$as_me:$LINENO: result: $ac_res" >&5
8672 echo "${ECHO_T}$ac_res" >&6; }
8673 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8674 cat >>confdefs.h <<_ACEOF
8675 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8682 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8683 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
8684 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8685 echo $ECHO_N "(cached) $ECHO_C" >&6
8687 ac_check_lib_save_LIBS=$LIBS
8688 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8689 cat >conftest.$ac_ext <<_ACEOF
8692 cat confdefs.h >>conftest.$ac_ext
8693 cat >>conftest.$ac_ext <<_ACEOF
8694 /* end confdefs.h. */
8696 /* Override any GCC internal prototype to avoid an error.
8697 Use char because int might match the return type of a GCC
8698 builtin and then its argument prototype would still apply. */
8702 char AuCreateFlow ();
8706 return AuCreateFlow ();
8711 rm -f conftest.$ac_objext conftest$ac_exeext
8712 if { (ac_try="$ac_link"
8714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8715 *) ac_try_echo=$ac_try;;
8717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8718 (eval "$ac_link") 2>conftest.er1
8720 grep -v '^ *+' conftest.er1 >conftest.err
8722 cat conftest.err >&5
8723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8724 (exit $ac_status); } && {
8725 test -z "$ac_c_werror_flag" ||
8726 test ! -s conftest.err
8727 } && test -s conftest$ac_exeext &&
8728 $as_test_x conftest$ac_exeext; then
8729 ac_cv_lib_audio_AuCreateFlow=yes
8731 echo "$as_me: failed program was:" >&5
8732 sed 's/^/| /' conftest.$ac_ext >&5
8734 ac_cv_lib_audio_AuCreateFlow=no
8737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8738 conftest$ac_exeext conftest.$ac_ext
8739 LIBS=$ac_check_lib_save_LIBS
8741 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8742 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
8743 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8745 cat >>confdefs.h <<\_ACEOF
8749 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8757 CPPFLAGS="$ac_save_CPPFLAGS"
8774 if test "$PKG_CONFIG" != "false"
8776 ac_save_CPPFLAGS="$CPPFLAGS"
8777 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
8778 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
8779 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
8781 for ac_header in libxml/parser.h
8783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8784 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8785 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8787 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8788 echo $ECHO_N "(cached) $ECHO_C" >&6
8790 ac_res=`eval echo '${'$as_ac_Header'}'`
8791 { echo "$as_me:$LINENO: result: $ac_res" >&5
8792 echo "${ECHO_T}$ac_res" >&6; }
8794 # Is the header compilable?
8795 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8796 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8797 cat >conftest.$ac_ext <<_ACEOF
8800 cat confdefs.h >>conftest.$ac_ext
8801 cat >>conftest.$ac_ext <<_ACEOF
8802 /* end confdefs.h. */
8803 $ac_includes_default
8804 #include <$ac_header>
8806 rm -f conftest.$ac_objext
8807 if { (ac_try="$ac_compile"
8809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8810 *) ac_try_echo=$ac_try;;
8812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8813 (eval "$ac_compile") 2>conftest.er1
8815 grep -v '^ *+' conftest.er1 >conftest.err
8817 cat conftest.err >&5
8818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8819 (exit $ac_status); } && {
8820 test -z "$ac_c_werror_flag" ||
8821 test ! -s conftest.err
8822 } && test -s conftest.$ac_objext; then
8823 ac_header_compiler=yes
8825 echo "$as_me: failed program was:" >&5
8826 sed 's/^/| /' conftest.$ac_ext >&5
8828 ac_header_compiler=no
8831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8832 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8833 echo "${ECHO_T}$ac_header_compiler" >&6; }
8835 # Is the header present?
8836 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8837 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8838 cat >conftest.$ac_ext <<_ACEOF
8841 cat confdefs.h >>conftest.$ac_ext
8842 cat >>conftest.$ac_ext <<_ACEOF
8843 /* end confdefs.h. */
8844 #include <$ac_header>
8846 if { (ac_try="$ac_cpp conftest.$ac_ext"
8848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8849 *) ac_try_echo=$ac_try;;
8851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8852 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8854 grep -v '^ *+' conftest.er1 >conftest.err
8856 cat conftest.err >&5
8857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8858 (exit $ac_status); } >/dev/null && {
8859 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8860 test ! -s conftest.err
8862 ac_header_preproc=yes
8864 echo "$as_me: failed program was:" >&5
8865 sed 's/^/| /' conftest.$ac_ext >&5
8867 ac_header_preproc=no
8870 rm -f conftest.err conftest.$ac_ext
8871 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8872 echo "${ECHO_T}$ac_header_preproc" >&6; }
8874 # So? What about this header?
8875 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8877 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8878 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8880 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8881 ac_header_preproc=yes
8884 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8885 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8886 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8887 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8888 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8889 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8890 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8891 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8893 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8894 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8895 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8897 ## ------------------------------------ ##
8898 ## Report this to wine-devel@winehq.org ##
8899 ## ------------------------------------ ##
8901 ) | sed "s/^/$as_me: WARNING: /" >&2
8904 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8906 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8907 echo $ECHO_N "(cached) $ECHO_C" >&6
8909 eval "$as_ac_Header=\$ac_header_preproc"
8911 ac_res=`eval echo '${'$as_ac_Header'}'`
8912 { echo "$as_me:$LINENO: result: $ac_res" >&5
8913 echo "${ECHO_T}$ac_res" >&6; }
8916 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8917 cat >>confdefs.h <<_ACEOF
8918 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8920 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
8921 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
8922 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
8923 echo $ECHO_N "(cached) $ECHO_C" >&6
8925 ac_check_lib_save_LIBS=$LIBS
8926 LIBS="-lxml2 $ac_xml_libs $LIBS"
8927 cat >conftest.$ac_ext <<_ACEOF
8930 cat confdefs.h >>conftest.$ac_ext
8931 cat >>conftest.$ac_ext <<_ACEOF
8932 /* end confdefs.h. */
8934 /* Override any GCC internal prototype to avoid an error.
8935 Use char because int might match the return type of a GCC
8936 builtin and then its argument prototype would still apply. */
8940 char xmlParseMemory ();
8944 return xmlParseMemory ();
8949 rm -f conftest.$ac_objext conftest$ac_exeext
8950 if { (ac_try="$ac_link"
8952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8953 *) ac_try_echo=$ac_try;;
8955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8956 (eval "$ac_link") 2>conftest.er1
8958 grep -v '^ *+' conftest.er1 >conftest.err
8960 cat conftest.err >&5
8961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8962 (exit $ac_status); } && {
8963 test -z "$ac_c_werror_flag" ||
8964 test ! -s conftest.err
8965 } && test -s conftest$ac_exeext &&
8966 $as_test_x conftest$ac_exeext; then
8967 ac_cv_lib_xml2_xmlParseMemory=yes
8969 echo "$as_me: failed program was:" >&5
8970 sed 's/^/| /' conftest.$ac_ext >&5
8972 ac_cv_lib_xml2_xmlParseMemory=no
8975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8976 conftest$ac_exeext conftest.$ac_ext
8977 LIBS=$ac_check_lib_save_LIBS
8979 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
8980 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
8981 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
8983 cat >>confdefs.h <<\_ACEOF
8984 #define HAVE_LIBXML2 1
8987 XML2LIBS="$ac_xml_libs"
8988 XML2INCL="$ac_xml_cflags"
8991 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
8992 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
8993 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
8994 echo $ECHO_N "(cached) $ECHO_C" >&6
8996 ac_check_lib_save_LIBS=$LIBS
8997 LIBS="-lxml2 $ac_xml_libs $LIBS"
8998 cat >conftest.$ac_ext <<_ACEOF
9001 cat confdefs.h >>conftest.$ac_ext
9002 cat >>conftest.$ac_ext <<_ACEOF
9003 /* end confdefs.h. */
9005 /* Override any GCC internal prototype to avoid an error.
9006 Use char because int might match the return type of a GCC
9007 builtin and then its argument prototype would still apply. */
9011 char xmlReadMemory ();
9015 return xmlReadMemory ();
9020 rm -f conftest.$ac_objext conftest$ac_exeext
9021 if { (ac_try="$ac_link"
9023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9024 *) ac_try_echo=$ac_try;;
9026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9027 (eval "$ac_link") 2>conftest.er1
9029 grep -v '^ *+' conftest.er1 >conftest.err
9031 cat conftest.err >&5
9032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9033 (exit $ac_status); } && {
9034 test -z "$ac_c_werror_flag" ||
9035 test ! -s conftest.err
9036 } && test -s conftest$ac_exeext &&
9037 $as_test_x conftest$ac_exeext; then
9038 ac_cv_lib_xml2_xmlReadMemory=yes
9040 echo "$as_me: failed program was:" >&5
9041 sed 's/^/| /' conftest.$ac_ext >&5
9043 ac_cv_lib_xml2_xmlReadMemory=no
9046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9047 conftest$ac_exeext conftest.$ac_ext
9048 LIBS=$ac_check_lib_save_LIBS
9050 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9051 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9052 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
9054 cat >>confdefs.h <<\_ACEOF
9055 #define HAVE_XMLREADMEMORY 1
9060 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
9061 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
9062 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
9063 echo $ECHO_N "(cached) $ECHO_C" >&6
9065 ac_check_lib_save_LIBS=$LIBS
9066 LIBS="-lxml2 $ac_xml_libs $LIBS"
9067 cat >conftest.$ac_ext <<_ACEOF
9070 cat confdefs.h >>conftest.$ac_ext
9071 cat >>conftest.$ac_ext <<_ACEOF
9072 /* end confdefs.h. */
9074 /* Override any GCC internal prototype to avoid an error.
9075 Use char because int might match the return type of a GCC
9076 builtin and then its argument prototype would still apply. */
9080 char xmlNewDocPI ();
9084 return xmlNewDocPI ();
9089 rm -f conftest.$ac_objext conftest$ac_exeext
9090 if { (ac_try="$ac_link"
9092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9093 *) ac_try_echo=$ac_try;;
9095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9096 (eval "$ac_link") 2>conftest.er1
9098 grep -v '^ *+' conftest.er1 >conftest.err
9100 cat conftest.err >&5
9101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9102 (exit $ac_status); } && {
9103 test -z "$ac_c_werror_flag" ||
9104 test ! -s conftest.err
9105 } && test -s conftest$ac_exeext &&
9106 $as_test_x conftest$ac_exeext; then
9107 ac_cv_lib_xml2_xmlNewDocPI=yes
9109 echo "$as_me: failed program was:" >&5
9110 sed 's/^/| /' conftest.$ac_ext >&5
9112 ac_cv_lib_xml2_xmlNewDocPI=no
9115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9116 conftest$ac_exeext conftest.$ac_ext
9117 LIBS=$ac_check_lib_save_LIBS
9119 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9120 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9121 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
9123 cat >>confdefs.h <<\_ACEOF
9124 #define HAVE_XMLNEWDOCPI 1
9134 CPPFLAGS="$ac_save_CPPFLAGS"
9135 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9136 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9137 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9140 for ac_header in libxslt/pattern.h libxslt/transform.h
9142 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9143 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9145 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9146 echo $ECHO_N "(cached) $ECHO_C" >&6
9148 cat >conftest.$ac_ext <<_ACEOF
9151 cat confdefs.h >>conftest.$ac_ext
9152 cat >>conftest.$ac_ext <<_ACEOF
9153 /* end confdefs.h. */
9154 #ifdef HAVE_LIBXSLT_PATTERN_H
9155 # include <libxslt/pattern.h>
9158 #include <$ac_header>
9160 rm -f conftest.$ac_objext
9161 if { (ac_try="$ac_compile"
9163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9164 *) ac_try_echo=$ac_try;;
9166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9167 (eval "$ac_compile") 2>conftest.er1
9169 grep -v '^ *+' conftest.er1 >conftest.err
9171 cat conftest.err >&5
9172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9173 (exit $ac_status); } && {
9174 test -z "$ac_c_werror_flag" ||
9175 test ! -s conftest.err
9176 } && test -s conftest.$ac_objext; then
9177 eval "$as_ac_Header=yes"
9179 echo "$as_me: failed program was:" >&5
9180 sed 's/^/| /' conftest.$ac_ext >&5
9182 eval "$as_ac_Header=no"
9185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9187 ac_res=`eval echo '${'$as_ac_Header'}'`
9188 { echo "$as_me:$LINENO: result: $ac_res" >&5
9189 echo "${ECHO_T}$ac_res" >&6; }
9190 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9191 cat >>confdefs.h <<_ACEOF
9192 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9194 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
9195 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
9196 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
9197 echo $ECHO_N "(cached) $ECHO_C" >&6
9199 ac_check_lib_save_LIBS=$LIBS
9200 LIBS="-lxslt $ac_xslt_libs $LIBS"
9201 cat >conftest.$ac_ext <<_ACEOF
9204 cat confdefs.h >>conftest.$ac_ext
9205 cat >>conftest.$ac_ext <<_ACEOF
9206 /* end confdefs.h. */
9208 /* Override any GCC internal prototype to avoid an error.
9209 Use char because int might match the return type of a GCC
9210 builtin and then its argument prototype would still apply. */
9214 char xsltCompilePattern ();
9218 return xsltCompilePattern ();
9223 rm -f conftest.$ac_objext conftest$ac_exeext
9224 if { (ac_try="$ac_link"
9226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9227 *) ac_try_echo=$ac_try;;
9229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9230 (eval "$ac_link") 2>conftest.er1
9232 grep -v '^ *+' conftest.er1 >conftest.err
9234 cat conftest.err >&5
9235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9236 (exit $ac_status); } && {
9237 test -z "$ac_c_werror_flag" ||
9238 test ! -s conftest.err
9239 } && test -s conftest$ac_exeext &&
9240 $as_test_x conftest$ac_exeext; then
9241 ac_cv_lib_xslt_xsltCompilePattern=yes
9243 echo "$as_me: failed program was:" >&5
9244 sed 's/^/| /' conftest.$ac_ext >&5
9246 ac_cv_lib_xslt_xsltCompilePattern=no
9249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9250 conftest$ac_exeext conftest.$ac_ext
9251 LIBS=$ac_check_lib_save_LIBS
9253 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
9254 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
9255 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
9257 cat >>confdefs.h <<\_ACEOF
9258 #define HAVE_LIBXSLT 1
9261 XSLTLIBS="$ac_xslt_libs"
9262 XSLTINCL="$ac_xslt_cflags"
9270 CPPFLAGS="$ac_save_CPPFLAGS"
9275 if test "$PKG_CONFIG" != "false"
9277 ac_save_CPPFLAGS="$CPPFLAGS"
9278 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9279 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9280 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9283 for ac_header in dbus/dbus.h hal/libhal.h
9285 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9286 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9287 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9289 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9290 echo $ECHO_N "(cached) $ECHO_C" >&6
9292 ac_res=`eval echo '${'$as_ac_Header'}'`
9293 { echo "$as_me:$LINENO: result: $ac_res" >&5
9294 echo "${ECHO_T}$ac_res" >&6; }
9296 # Is the header compilable?
9297 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9298 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9299 cat >conftest.$ac_ext <<_ACEOF
9302 cat confdefs.h >>conftest.$ac_ext
9303 cat >>conftest.$ac_ext <<_ACEOF
9304 /* end confdefs.h. */
9305 $ac_includes_default
9306 #include <$ac_header>
9308 rm -f conftest.$ac_objext
9309 if { (ac_try="$ac_compile"
9311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9312 *) ac_try_echo=$ac_try;;
9314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9315 (eval "$ac_compile") 2>conftest.er1
9317 grep -v '^ *+' conftest.er1 >conftest.err
9319 cat conftest.err >&5
9320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9321 (exit $ac_status); } && {
9322 test -z "$ac_c_werror_flag" ||
9323 test ! -s conftest.err
9324 } && test -s conftest.$ac_objext; then
9325 ac_header_compiler=yes
9327 echo "$as_me: failed program was:" >&5
9328 sed 's/^/| /' conftest.$ac_ext >&5
9330 ac_header_compiler=no
9333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9334 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9335 echo "${ECHO_T}$ac_header_compiler" >&6; }
9337 # Is the header present?
9338 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9339 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9340 cat >conftest.$ac_ext <<_ACEOF
9343 cat confdefs.h >>conftest.$ac_ext
9344 cat >>conftest.$ac_ext <<_ACEOF
9345 /* end confdefs.h. */
9346 #include <$ac_header>
9348 if { (ac_try="$ac_cpp conftest.$ac_ext"
9350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9351 *) ac_try_echo=$ac_try;;
9353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9354 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9356 grep -v '^ *+' conftest.er1 >conftest.err
9358 cat conftest.err >&5
9359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9360 (exit $ac_status); } >/dev/null && {
9361 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9362 test ! -s conftest.err
9364 ac_header_preproc=yes
9366 echo "$as_me: failed program was:" >&5
9367 sed 's/^/| /' conftest.$ac_ext >&5
9369 ac_header_preproc=no
9372 rm -f conftest.err conftest.$ac_ext
9373 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9374 echo "${ECHO_T}$ac_header_preproc" >&6; }
9376 # So? What about this header?
9377 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9379 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9380 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9382 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9383 ac_header_preproc=yes
9386 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9387 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9388 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9389 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9390 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9391 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9392 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9393 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9395 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9396 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9397 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9399 ## ------------------------------------ ##
9400 ## Report this to wine-devel@winehq.org ##
9401 ## ------------------------------------ ##
9403 ) | sed "s/^/$as_me: WARNING: /" >&2
9406 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9408 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9409 echo $ECHO_N "(cached) $ECHO_C" >&6
9411 eval "$as_ac_Header=\$ac_header_preproc"
9413 ac_res=`eval echo '${'$as_ac_Header'}'`
9414 { echo "$as_me:$LINENO: result: $ac_res" >&5
9415 echo "${ECHO_T}$ac_res" >&6; }
9418 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9419 cat >>confdefs.h <<_ACEOF
9420 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9427 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9429 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
9430 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
9431 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
9432 echo $ECHO_N "(cached) $ECHO_C" >&6
9434 ac_check_lib_save_LIBS=$LIBS
9436 cat >conftest.$ac_ext <<_ACEOF
9439 cat confdefs.h >>conftest.$ac_ext
9440 cat >>conftest.$ac_ext <<_ACEOF
9441 /* end confdefs.h. */
9443 /* Override any GCC internal prototype to avoid an error.
9444 Use char because int might match the return type of a GCC
9445 builtin and then its argument prototype would still apply. */
9449 char libhal_ctx_new ();
9453 return libhal_ctx_new ();
9458 rm -f conftest.$ac_objext conftest$ac_exeext
9459 if { (ac_try="$ac_link"
9461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9462 *) ac_try_echo=$ac_try;;
9464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9465 (eval "$ac_link") 2>conftest.er1
9467 grep -v '^ *+' conftest.er1 >conftest.err
9469 cat conftest.err >&5
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 (exit $ac_status); } && {
9472 test -z "$ac_c_werror_flag" ||
9473 test ! -s conftest.err
9474 } && test -s conftest$ac_exeext &&
9475 $as_test_x conftest$ac_exeext; then
9476 ac_cv_lib_hal_libhal_ctx_new=yes
9478 echo "$as_me: failed program was:" >&5
9479 sed 's/^/| /' conftest.$ac_ext >&5
9481 ac_cv_lib_hal_libhal_ctx_new=no
9484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9485 conftest$ac_exeext conftest.$ac_ext
9486 LIBS=$ac_check_lib_save_LIBS
9488 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
9489 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
9490 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
9491 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
9492 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
9493 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
9494 echo $ECHO_N "(cached) $ECHO_C" >&6
9496 ac_check_lib_save_LIBS=$LIBS
9497 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
9498 cat >conftest.$ac_ext <<_ACEOF
9501 cat confdefs.h >>conftest.$ac_ext
9502 cat >>conftest.$ac_ext <<_ACEOF
9503 /* end confdefs.h. */
9505 /* Override any GCC internal prototype to avoid an error.
9506 Use char because int might match the return type of a GCC
9507 builtin and then its argument prototype would still apply. */
9511 char dbus_connection_close ();
9515 return dbus_connection_close ();
9520 rm -f conftest.$ac_objext conftest$ac_exeext
9521 if { (ac_try="$ac_link"
9523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9524 *) ac_try_echo=$ac_try;;
9526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9527 (eval "$ac_link") 2>conftest.er1
9529 grep -v '^ *+' conftest.er1 >conftest.err
9531 cat conftest.err >&5
9532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9533 (exit $ac_status); } && {
9534 test -z "$ac_c_werror_flag" ||
9535 test ! -s conftest.err
9536 } && test -s conftest$ac_exeext &&
9537 $as_test_x conftest$ac_exeext; then
9538 ac_cv_lib_dbus_1_dbus_connection_close=yes
9540 echo "$as_me: failed program was:" >&5
9541 sed 's/^/| /' conftest.$ac_ext >&5
9543 ac_cv_lib_dbus_1_dbus_connection_close=no
9546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9547 conftest$ac_exeext conftest.$ac_ext
9548 LIBS=$ac_check_lib_save_LIBS
9550 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9551 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9552 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
9554 cat >>confdefs.h <<\_ACEOF
9555 #define HAVE_LIBHAL 1
9558 HALINCL="$ac_hal_cflags"
9564 CPPFLAGS="$ac_save_CPPFLAGS"
9568 if test "$ac_cv_header_ncurses_h" = "yes"
9570 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9571 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
9572 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9573 echo $ECHO_N "(cached) $ECHO_C" >&6
9575 ac_check_lib_save_LIBS=$LIBS
9576 LIBS="-lncurses $LIBS"
9577 cat >conftest.$ac_ext <<_ACEOF
9580 cat confdefs.h >>conftest.$ac_ext
9581 cat >>conftest.$ac_ext <<_ACEOF
9582 /* end confdefs.h. */
9584 /* Override any GCC internal prototype to avoid an error.
9585 Use char because int might match the return type of a GCC
9586 builtin and then its argument prototype would still apply. */
9599 rm -f conftest.$ac_objext conftest$ac_exeext
9600 if { (ac_try="$ac_link"
9602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9603 *) ac_try_echo=$ac_try;;
9605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9606 (eval "$ac_link") 2>conftest.er1
9608 grep -v '^ *+' conftest.er1 >conftest.err
9610 cat conftest.err >&5
9611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9612 (exit $ac_status); } && {
9613 test -z "$ac_c_werror_flag" ||
9614 test ! -s conftest.err
9615 } && test -s conftest$ac_exeext &&
9616 $as_test_x conftest$ac_exeext; then
9617 ac_cv_lib_ncurses_waddch=yes
9619 echo "$as_me: failed program was:" >&5
9620 sed 's/^/| /' conftest.$ac_ext >&5
9622 ac_cv_lib_ncurses_waddch=no
9625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9626 conftest$ac_exeext conftest.$ac_ext
9627 LIBS=$ac_check_lib_save_LIBS
9629 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9630 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
9631 if test $ac_cv_lib_ncurses_waddch = yes; then
9632 CURSESLIBS="-lncurses"
9635 elif test "$ac_cv_header_curses_h" = "yes"
9637 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9638 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
9639 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9640 echo $ECHO_N "(cached) $ECHO_C" >&6
9642 ac_check_lib_save_LIBS=$LIBS
9643 LIBS="-lcurses $LIBS"
9644 cat >conftest.$ac_ext <<_ACEOF
9647 cat confdefs.h >>conftest.$ac_ext
9648 cat >>conftest.$ac_ext <<_ACEOF
9649 /* end confdefs.h. */
9651 /* Override any GCC internal prototype to avoid an error.
9652 Use char because int might match the return type of a GCC
9653 builtin and then its argument prototype would still apply. */
9666 rm -f conftest.$ac_objext conftest$ac_exeext
9667 if { (ac_try="$ac_link"
9669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9670 *) ac_try_echo=$ac_try;;
9672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9673 (eval "$ac_link") 2>conftest.er1
9675 grep -v '^ *+' conftest.er1 >conftest.err
9677 cat conftest.err >&5
9678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9679 (exit $ac_status); } && {
9680 test -z "$ac_c_werror_flag" ||
9681 test ! -s conftest.err
9682 } && test -s conftest$ac_exeext &&
9683 $as_test_x conftest$ac_exeext; then
9684 ac_cv_lib_curses_waddch=yes
9686 echo "$as_me: failed program was:" >&5
9687 sed 's/^/| /' conftest.$ac_ext >&5
9689 ac_cv_lib_curses_waddch=no
9692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9693 conftest$ac_exeext conftest.$ac_ext
9694 LIBS=$ac_check_lib_save_LIBS
9696 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9697 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
9698 if test $ac_cv_lib_curses_waddch = yes; then
9699 CURSESLIBS="-lcurses"
9703 ac_save_LIBS="$LIBS"
9704 LIBS="$LIBS $CURSESLIBS"
9706 for ac_func in mousemask
9708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9709 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9711 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9712 echo $ECHO_N "(cached) $ECHO_C" >&6
9714 cat >conftest.$ac_ext <<_ACEOF
9717 cat confdefs.h >>conftest.$ac_ext
9718 cat >>conftest.$ac_ext <<_ACEOF
9719 /* end confdefs.h. */
9720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9722 #define $ac_func innocuous_$ac_func
9724 /* System header to define __stub macros and hopefully few prototypes,
9725 which can conflict with char $ac_func (); below.
9726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9727 <limits.h> exists even on freestanding compilers. */
9730 # include <limits.h>
9732 # include <assert.h>
9737 /* Override any GCC internal prototype to avoid an error.
9738 Use char because int might match the return type of a GCC
9739 builtin and then its argument prototype would still apply. */
9744 /* The GNU C library defines this for functions which it implements
9745 to always fail with ENOSYS. Some functions are actually named
9746 something starting with __ and the normal name is an alias. */
9747 #if defined __stub_$ac_func || defined __stub___$ac_func
9759 rm -f conftest.$ac_objext conftest$ac_exeext
9760 if { (ac_try="$ac_link"
9762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9763 *) ac_try_echo=$ac_try;;
9765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9766 (eval "$ac_link") 2>conftest.er1
9768 grep -v '^ *+' conftest.er1 >conftest.err
9770 cat conftest.err >&5
9771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9772 (exit $ac_status); } && {
9773 test -z "$ac_c_werror_flag" ||
9774 test ! -s conftest.err
9775 } && test -s conftest$ac_exeext &&
9776 $as_test_x conftest$ac_exeext; then
9777 eval "$as_ac_var=yes"
9779 echo "$as_me: failed program was:" >&5
9780 sed 's/^/| /' conftest.$ac_ext >&5
9782 eval "$as_ac_var=no"
9785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9786 conftest$ac_exeext conftest.$ac_ext
9788 ac_res=`eval echo '${'$as_ac_var'}'`
9789 { echo "$as_me:$LINENO: result: $ac_res" >&5
9790 echo "${ECHO_T}$ac_res" >&6; }
9791 if test `eval echo '${'$as_ac_var'}'` = yes; then
9792 cat >>confdefs.h <<_ACEOF
9793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9799 LIBS="$ac_save_LIBS"
9801 # Extract the first word of "sane-config", so it can be a program name with args.
9802 set dummy sane-config; ac_word=$2
9803 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9805 if test "${ac_cv_prog_sane_devel+set}" = set; then
9806 echo $ECHO_N "(cached) $ECHO_C" >&6
9808 if test -n "$sane_devel"; then
9809 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9815 test -z "$as_dir" && as_dir=.
9816 for ac_exec_ext in '' $ac_executable_extensions; do
9817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9818 ac_cv_prog_sane_devel="sane-config"
9819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9826 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9829 sane_devel=$ac_cv_prog_sane_devel
9830 if test -n "$sane_devel"; then
9831 { echo "$as_me:$LINENO: result: $sane_devel" >&5
9832 echo "${ECHO_T}$sane_devel" >&6; }
9834 { echo "$as_me:$LINENO: result: no" >&5
9835 echo "${ECHO_T}no" >&6; }
9841 if test "$sane_devel" != "no"
9843 SANEINCL="`$sane_devel --cflags`"
9844 ac_save_CPPFLAGS="$CPPFLAGS"
9845 CPPFLAGS="$CPPFLAGS $SANEINCL"
9846 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9847 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9848 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
9849 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9850 echo $ECHO_N "(cached) $ECHO_C" >&6
9852 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9853 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
9855 # Is the header compilable?
9856 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9857 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
9858 cat >conftest.$ac_ext <<_ACEOF
9861 cat confdefs.h >>conftest.$ac_ext
9862 cat >>conftest.$ac_ext <<_ACEOF
9863 /* end confdefs.h. */
9864 $ac_includes_default
9865 #include <sane/sane.h>
9867 rm -f conftest.$ac_objext
9868 if { (ac_try="$ac_compile"
9870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9871 *) ac_try_echo=$ac_try;;
9873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9874 (eval "$ac_compile") 2>conftest.er1
9876 grep -v '^ *+' conftest.er1 >conftest.err
9878 cat conftest.err >&5
9879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9880 (exit $ac_status); } && {
9881 test -z "$ac_c_werror_flag" ||
9882 test ! -s conftest.err
9883 } && test -s conftest.$ac_objext; then
9884 ac_header_compiler=yes
9886 echo "$as_me: failed program was:" >&5
9887 sed 's/^/| /' conftest.$ac_ext >&5
9889 ac_header_compiler=no
9892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9893 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9894 echo "${ECHO_T}$ac_header_compiler" >&6; }
9896 # Is the header present?
9897 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9898 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
9899 cat >conftest.$ac_ext <<_ACEOF
9902 cat confdefs.h >>conftest.$ac_ext
9903 cat >>conftest.$ac_ext <<_ACEOF
9904 /* end confdefs.h. */
9905 #include <sane/sane.h>
9907 if { (ac_try="$ac_cpp conftest.$ac_ext"
9909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9910 *) ac_try_echo=$ac_try;;
9912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9913 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9915 grep -v '^ *+' conftest.er1 >conftest.err
9917 cat conftest.err >&5
9918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9919 (exit $ac_status); } >/dev/null && {
9920 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9921 test ! -s conftest.err
9923 ac_header_preproc=yes
9925 echo "$as_me: failed program was:" >&5
9926 sed 's/^/| /' conftest.$ac_ext >&5
9928 ac_header_preproc=no
9931 rm -f conftest.err conftest.$ac_ext
9932 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9933 echo "${ECHO_T}$ac_header_preproc" >&6; }
9935 # So? What about this header?
9936 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9938 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9939 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9940 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
9941 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
9942 ac_header_preproc=yes
9945 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9946 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9947 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9948 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9949 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
9950 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
9951 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
9952 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
9953 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9954 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9955 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
9956 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
9958 ## ------------------------------------ ##
9959 ## Report this to wine-devel@winehq.org ##
9960 ## ------------------------------------ ##
9962 ) | sed "s/^/$as_me: WARNING: /" >&2
9965 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9966 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
9967 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9968 echo $ECHO_N "(cached) $ECHO_C" >&6
9970 ac_cv_header_sane_sane_h=$ac_header_preproc
9972 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9973 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
9976 if test $ac_cv_header_sane_sane_h = yes; then
9978 cat >>confdefs.h <<\_ACEOF
9987 CPPFLAGS="$ac_save_CPPFLAGS"
9990 # Extract the first word of "gphoto2-config", so it can be a program name with args.
9991 set dummy gphoto2-config; ac_word=$2
9992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9994 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
9995 echo $ECHO_N "(cached) $ECHO_C" >&6
9997 if test -n "$gphoto2_devel"; then
9998 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10001 for as_dir in $PATH
10004 test -z "$as_dir" && as_dir=.
10005 for ac_exec_ext in '' $ac_executable_extensions; do
10006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10007 ac_cv_prog_gphoto2_devel="gphoto2-config"
10008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10015 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10018 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10019 if test -n "$gphoto2_devel"; then
10020 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10021 echo "${ECHO_T}$gphoto2_devel" >&6; }
10023 { echo "$as_me:$LINENO: result: no" >&5
10024 echo "${ECHO_T}no" >&6; }
10028 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10029 set dummy gphoto2-port-config; ac_word=$2
10030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10032 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
10033 echo $ECHO_N "(cached) $ECHO_C" >&6
10035 if test -n "$gphoto2port_devel"; then
10036 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10039 for as_dir in $PATH
10042 test -z "$as_dir" && as_dir=.
10043 for ac_exec_ext in '' $ac_executable_extensions; do
10044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10045 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10053 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10056 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10057 if test -n "$gphoto2port_devel"; then
10058 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
10059 echo "${ECHO_T}$gphoto2port_devel" >&6; }
10061 { echo "$as_me:$LINENO: result: no" >&5
10062 echo "${ECHO_T}no" >&6; }
10070 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10072 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10074 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10077 -L/usr/lib|-L/usr/lib64) ;;
10078 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
10081 ac_save_CPPFLAGS="$CPPFLAGS"
10082 ac_save_LIBS="$LIBS"
10083 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
10084 LIBS="$LIBS $GPHOTO2LIBS"
10085 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10086 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10087 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10088 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10089 echo $ECHO_N "(cached) $ECHO_C" >&6
10091 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10092 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10094 # Is the header compilable?
10095 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
10096 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
10097 cat >conftest.$ac_ext <<_ACEOF
10100 cat confdefs.h >>conftest.$ac_ext
10101 cat >>conftest.$ac_ext <<_ACEOF
10102 /* end confdefs.h. */
10103 $ac_includes_default
10104 #include <gphoto2-camera.h>
10106 rm -f conftest.$ac_objext
10107 if { (ac_try="$ac_compile"
10108 case "(($ac_try" in
10109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10110 *) ac_try_echo=$ac_try;;
10112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10113 (eval "$ac_compile") 2>conftest.er1
10115 grep -v '^ *+' conftest.er1 >conftest.err
10117 cat conftest.err >&5
10118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10119 (exit $ac_status); } && {
10120 test -z "$ac_c_werror_flag" ||
10121 test ! -s conftest.err
10122 } && test -s conftest.$ac_objext; then
10123 ac_header_compiler=yes
10125 echo "$as_me: failed program was:" >&5
10126 sed 's/^/| /' conftest.$ac_ext >&5
10128 ac_header_compiler=no
10131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10132 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10133 echo "${ECHO_T}$ac_header_compiler" >&6; }
10135 # Is the header present?
10136 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
10137 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
10138 cat >conftest.$ac_ext <<_ACEOF
10141 cat confdefs.h >>conftest.$ac_ext
10142 cat >>conftest.$ac_ext <<_ACEOF
10143 /* end confdefs.h. */
10144 #include <gphoto2-camera.h>
10146 if { (ac_try="$ac_cpp conftest.$ac_ext"
10147 case "(($ac_try" in
10148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10149 *) ac_try_echo=$ac_try;;
10151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10152 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10154 grep -v '^ *+' conftest.er1 >conftest.err
10156 cat conftest.err >&5
10157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10158 (exit $ac_status); } >/dev/null && {
10159 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10160 test ! -s conftest.err
10162 ac_header_preproc=yes
10164 echo "$as_me: failed program was:" >&5
10165 sed 's/^/| /' conftest.$ac_ext >&5
10167 ac_header_preproc=no
10170 rm -f conftest.err conftest.$ac_ext
10171 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10172 echo "${ECHO_T}$ac_header_preproc" >&6; }
10174 # So? What about this header?
10175 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10177 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
10178 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10179 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
10180 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
10181 ac_header_preproc=yes
10184 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
10185 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
10186 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
10187 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
10188 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
10189 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
10190 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
10191 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
10192 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
10193 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
10194 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
10195 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
10197 ## ------------------------------------ ##
10198 ## Report this to wine-devel@winehq.org ##
10199 ## ------------------------------------ ##
10201 ) | sed "s/^/$as_me: WARNING: /" >&2
10204 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10205 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10206 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10207 echo $ECHO_N "(cached) $ECHO_C" >&6
10209 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
10211 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10212 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10215 if test $ac_cv_header_gphoto2_camera_h = yes; then
10216 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
10217 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
10218 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
10219 echo $ECHO_N "(cached) $ECHO_C" >&6
10221 ac_check_lib_save_LIBS=$LIBS
10222 LIBS="-lgphoto2 $LIBS"
10223 cat >conftest.$ac_ext <<_ACEOF
10226 cat confdefs.h >>conftest.$ac_ext
10227 cat >>conftest.$ac_ext <<_ACEOF
10228 /* end confdefs.h. */
10230 /* Override any GCC internal prototype to avoid an error.
10231 Use char because int might match the return type of a GCC
10232 builtin and then its argument prototype would still apply. */
10236 char gp_camera_new ();
10240 return gp_camera_new ();
10245 rm -f conftest.$ac_objext conftest$ac_exeext
10246 if { (ac_try="$ac_link"
10247 case "(($ac_try" in
10248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10249 *) ac_try_echo=$ac_try;;
10251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10252 (eval "$ac_link") 2>conftest.er1
10254 grep -v '^ *+' conftest.er1 >conftest.err
10256 cat conftest.err >&5
10257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10258 (exit $ac_status); } && {
10259 test -z "$ac_c_werror_flag" ||
10260 test ! -s conftest.err
10261 } && test -s conftest$ac_exeext &&
10262 $as_test_x conftest$ac_exeext; then
10263 ac_cv_lib_gphoto2_gp_camera_new=yes
10265 echo "$as_me: failed program was:" >&5
10266 sed 's/^/| /' conftest.$ac_ext >&5
10268 ac_cv_lib_gphoto2_gp_camera_new=no
10271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10272 conftest$ac_exeext conftest.$ac_ext
10273 LIBS=$ac_check_lib_save_LIBS
10275 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10276 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10277 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
10279 cat >>confdefs.h <<\_ACEOF
10280 #define HAVE_GPHOTO2 1
10294 LIBS="$ac_save_LIBS"
10295 CPPFLAGS="$ac_save_CPPFLAGS"
10298 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10301 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
10303 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
10304 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
10305 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
10306 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
10307 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10308 cat >conftest.$ac_ext <<_ACEOF
10311 cat confdefs.h >>conftest.$ac_ext
10312 cat >>conftest.$ac_ext <<_ACEOF
10313 /* end confdefs.h. */
10314 #include <unicode/ubidi.h>
10323 rm -f conftest.$ac_objext conftest$ac_exeext
10324 if { (ac_try="$ac_link"
10325 case "(($ac_try" in
10326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10327 *) ac_try_echo=$ac_try;;
10329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10330 (eval "$ac_link") 2>conftest.er1
10332 grep -v '^ *+' conftest.er1 >conftest.err
10334 cat conftest.err >&5
10335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10336 (exit $ac_status); } && {
10337 test -z "$ac_c_werror_flag" ||
10338 test ! -s conftest.err
10339 } && test -s conftest$ac_exeext &&
10340 $as_test_x conftest$ac_exeext; then
10342 cat >>confdefs.h <<\_ACEOF
10346 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10348 { echo "$as_me:$LINENO: result: yes" >&5
10349 echo "${ECHO_T}yes" >&6; }
10351 echo "$as_me: failed program was:" >&5
10352 sed 's/^/| /' conftest.$ac_ext >&5
10354 { echo "$as_me:$LINENO: result: no" >&5
10355 echo "${ECHO_T}no" >&6; }
10358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10359 conftest$ac_exeext conftest.$ac_ext
10366 if test "$ac_cv_header_resolv_h" = "yes"
10368 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
10369 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
10370 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
10371 echo $ECHO_N "(cached) $ECHO_C" >&6
10373 ac_check_lib_save_LIBS=$LIBS
10374 LIBS="-lresolv $LIBS"
10375 cat >conftest.$ac_ext <<_ACEOF
10378 cat confdefs.h >>conftest.$ac_ext
10379 cat >>conftest.$ac_ext <<_ACEOF
10380 /* end confdefs.h. */
10382 /* Override any GCC internal prototype to avoid an error.
10383 Use char because int might match the return type of a GCC
10384 builtin and then its argument prototype would still apply. */
10392 return res_query ();
10397 rm -f conftest.$ac_objext conftest$ac_exeext
10398 if { (ac_try="$ac_link"
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_link") 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 test -z "$ac_c_werror_flag" ||
10412 test ! -s conftest.err
10413 } && test -s conftest$ac_exeext &&
10414 $as_test_x conftest$ac_exeext; then
10415 ac_cv_lib_resolv_res_query=yes
10417 echo "$as_me: failed program was:" >&5
10418 sed 's/^/| /' conftest.$ac_ext >&5
10420 ac_cv_lib_resolv_res_query=no
10423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10424 conftest$ac_exeext conftest.$ac_ext
10425 LIBS=$ac_check_lib_save_LIBS
10427 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
10428 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
10429 if test $ac_cv_lib_resolv_res_query = yes; then
10431 cat >>confdefs.h <<\_ACEOF
10432 #define HAVE_RESOLV 1
10435 RESOLVLIBS="-lresolv"
10442 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10444 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
10445 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
10446 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
10447 echo $ECHO_N "(cached) $ECHO_C" >&6
10449 ac_check_lib_save_LIBS=$LIBS
10450 LIBS="-llcms $LIBS"
10451 cat >conftest.$ac_ext <<_ACEOF
10454 cat confdefs.h >>conftest.$ac_ext
10455 cat >>conftest.$ac_ext <<_ACEOF
10456 /* end confdefs.h. */
10458 /* Override any GCC internal prototype to avoid an error.
10459 Use char because int might match the return type of a GCC
10460 builtin and then its argument prototype would still apply. */
10464 char cmsOpenProfileFromFile ();
10468 return cmsOpenProfileFromFile ();
10473 rm -f conftest.$ac_objext conftest$ac_exeext
10474 if { (ac_try="$ac_link"
10475 case "(($ac_try" in
10476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10477 *) ac_try_echo=$ac_try;;
10479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10480 (eval "$ac_link") 2>conftest.er1
10482 grep -v '^ *+' conftest.er1 >conftest.err
10484 cat conftest.err >&5
10485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10486 (exit $ac_status); } && {
10487 test -z "$ac_c_werror_flag" ||
10488 test ! -s conftest.err
10489 } && test -s conftest$ac_exeext &&
10490 $as_test_x conftest$ac_exeext; then
10491 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10493 echo "$as_me: failed program was:" >&5
10494 sed 's/^/| /' conftest.$ac_ext >&5
10496 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10500 conftest$ac_exeext conftest.$ac_ext
10501 LIBS=$ac_check_lib_save_LIBS
10503 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10504 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10505 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
10507 cat >>confdefs.h <<\_ACEOF
10508 #define HAVE_LCMS 1
10518 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
10520 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
10521 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
10522 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
10523 echo $ECHO_N "(cached) $ECHO_C" >&6
10525 ac_check_lib_save_LIBS=$LIBS
10526 LIBS="-lldap_r $LIBPTHREAD $LIBS"
10527 cat >conftest.$ac_ext <<_ACEOF
10530 cat confdefs.h >>conftest.$ac_ext
10531 cat >>conftest.$ac_ext <<_ACEOF
10532 /* end confdefs.h. */
10534 /* Override any GCC internal prototype to avoid an error.
10535 Use char because int might match the return type of a GCC
10536 builtin and then its argument prototype would still apply. */
10540 char ldap_initialize ();
10544 return ldap_initialize ();
10549 rm -f conftest.$ac_objext conftest$ac_exeext
10550 if { (ac_try="$ac_link"
10551 case "(($ac_try" in
10552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10553 *) ac_try_echo=$ac_try;;
10555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10556 (eval "$ac_link") 2>conftest.er1
10558 grep -v '^ *+' conftest.er1 >conftest.err
10560 cat conftest.err >&5
10561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562 (exit $ac_status); } && {
10563 test -z "$ac_c_werror_flag" ||
10564 test ! -s conftest.err
10565 } && test -s conftest$ac_exeext &&
10566 $as_test_x conftest$ac_exeext; then
10567 ac_cv_lib_ldap_r_ldap_initialize=yes
10569 echo "$as_me: failed program was:" >&5
10570 sed 's/^/| /' conftest.$ac_ext >&5
10572 ac_cv_lib_ldap_r_ldap_initialize=no
10575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10576 conftest$ac_exeext conftest.$ac_ext
10577 LIBS=$ac_check_lib_save_LIBS
10579 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
10580 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
10581 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
10582 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
10583 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
10584 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
10585 echo $ECHO_N "(cached) $ECHO_C" >&6
10587 ac_check_lib_save_LIBS=$LIBS
10588 LIBS="-llber $LIBPTHREAD $LIBS"
10589 cat >conftest.$ac_ext <<_ACEOF
10592 cat confdefs.h >>conftest.$ac_ext
10593 cat >>conftest.$ac_ext <<_ACEOF
10594 /* end confdefs.h. */
10596 /* Override any GCC internal prototype to avoid an error.
10597 Use char because int might match the return type of a GCC
10598 builtin and then its argument prototype would still apply. */
10606 return ber_init ();
10611 rm -f conftest.$ac_objext conftest$ac_exeext
10612 if { (ac_try="$ac_link"
10613 case "(($ac_try" in
10614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10615 *) ac_try_echo=$ac_try;;
10617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10618 (eval "$ac_link") 2>conftest.er1
10620 grep -v '^ *+' conftest.er1 >conftest.err
10622 cat conftest.err >&5
10623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10624 (exit $ac_status); } && {
10625 test -z "$ac_c_werror_flag" ||
10626 test ! -s conftest.err
10627 } && test -s conftest$ac_exeext &&
10628 $as_test_x conftest$ac_exeext; then
10629 ac_cv_lib_lber_ber_init=yes
10631 echo "$as_me: failed program was:" >&5
10632 sed 's/^/| /' conftest.$ac_ext >&5
10634 ac_cv_lib_lber_ber_init=no
10637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10638 conftest$ac_exeext conftest.$ac_ext
10639 LIBS=$ac_check_lib_save_LIBS
10641 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
10642 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
10643 if test $ac_cv_lib_lber_ber_init = yes; then
10645 cat >>confdefs.h <<\_ACEOF
10646 #define HAVE_LDAP 1
10649 LDAPLIBS="-lldap_r -llber"
10654 ac_wine_check_funcs_save_LIBS="$LIBS"
10655 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
10661 ldap_count_references \
10662 ldap_first_reference \
10663 ldap_next_reference \
10664 ldap_parse_reference
10666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10667 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10669 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10670 echo $ECHO_N "(cached) $ECHO_C" >&6
10672 cat >conftest.$ac_ext <<_ACEOF
10675 cat confdefs.h >>conftest.$ac_ext
10676 cat >>conftest.$ac_ext <<_ACEOF
10677 /* end confdefs.h. */
10678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10680 #define $ac_func innocuous_$ac_func
10682 /* System header to define __stub macros and hopefully few prototypes,
10683 which can conflict with char $ac_func (); below.
10684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10685 <limits.h> exists even on freestanding compilers. */
10688 # include <limits.h>
10690 # include <assert.h>
10695 /* Override any GCC internal prototype to avoid an error.
10696 Use char because int might match the return type of a GCC
10697 builtin and then its argument prototype would still apply. */
10702 /* The GNU C library defines this for functions which it implements
10703 to always fail with ENOSYS. Some functions are actually named
10704 something starting with __ and the normal name is an alias. */
10705 #if defined __stub_$ac_func || defined __stub___$ac_func
10712 return $ac_func ();
10717 rm -f conftest.$ac_objext conftest$ac_exeext
10718 if { (ac_try="$ac_link"
10719 case "(($ac_try" in
10720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10721 *) ac_try_echo=$ac_try;;
10723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10724 (eval "$ac_link") 2>conftest.er1
10726 grep -v '^ *+' conftest.er1 >conftest.err
10728 cat conftest.err >&5
10729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10730 (exit $ac_status); } && {
10731 test -z "$ac_c_werror_flag" ||
10732 test ! -s conftest.err
10733 } && test -s conftest$ac_exeext &&
10734 $as_test_x conftest$ac_exeext; then
10735 eval "$as_ac_var=yes"
10737 echo "$as_me: failed program was:" >&5
10738 sed 's/^/| /' conftest.$ac_ext >&5
10740 eval "$as_ac_var=no"
10743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10744 conftest$ac_exeext conftest.$ac_ext
10746 ac_res=`eval echo '${'$as_ac_var'}'`
10747 { echo "$as_me:$LINENO: result: $ac_res" >&5
10748 echo "${ECHO_T}$ac_res" >&6; }
10749 if test `eval echo '${'$as_ac_var'}'` = yes; then
10750 cat >>confdefs.h <<_ACEOF
10751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10757 LIBS="$ac_wine_check_funcs_save_LIBS"
10764 # Extract the first word of "freetype-config", so it can be a program name with args.
10765 set dummy freetype-config; ac_word=$2
10766 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10768 if test "${ac_cv_prog_ft_devel+set}" = set; then
10769 echo $ECHO_N "(cached) $ECHO_C" >&6
10771 if test -n "$ft_devel"; then
10772 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10775 for as_dir in $PATH
10778 test -z "$as_dir" && as_dir=.
10779 for ac_exec_ext in '' $ac_executable_extensions; do
10780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10781 ac_cv_prog_ft_devel="freetype-config"
10782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10789 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
10792 ft_devel=$ac_cv_prog_ft_devel
10793 if test -n "$ft_devel"; then
10794 { echo "$as_me:$LINENO: result: $ft_devel" >&5
10795 echo "${ECHO_T}$ft_devel" >&6; }
10797 { echo "$as_me:$LINENO: result: no" >&5
10798 echo "${ECHO_T}no" >&6; }
10802 if test "$ft_devel" = "no"
10804 # Extract the first word of "freetype2-config", so it can be a program name with args.
10805 set dummy freetype2-config; ac_word=$2
10806 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10808 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10809 echo $ECHO_N "(cached) $ECHO_C" >&6
10811 if test -n "$ft_devel2"; then
10812 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
10814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10815 for as_dir in $PATH
10818 test -z "$as_dir" && as_dir=.
10819 for ac_exec_ext in '' $ac_executable_extensions; do
10820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10821 ac_cv_prog_ft_devel2="freetype2-config"
10822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10829 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
10832 ft_devel2=$ac_cv_prog_ft_devel2
10833 if test -n "$ft_devel2"; then
10834 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
10835 echo "${ECHO_T}$ft_devel2" >&6; }
10837 { echo "$as_me:$LINENO: result: no" >&5
10838 echo "${ECHO_T}no" >&6; }
10842 if test "$ft_devel2" = "freetype2-config"
10844 ft_devel=$ft_devel2
10848 if test "$ft_devel" = "no"
10850 wine_cv_msg_freetype=yes
10852 FREETYPELIBS=`$ft_devel --libs`
10853 FREETYPEINCL=`$ft_devel --cflags`
10854 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10855 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
10856 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10857 echo $ECHO_N "(cached) $ECHO_C" >&6
10859 ac_check_lib_save_LIBS=$LIBS
10860 LIBS="-lfreetype $FREETYPELIBS $LIBS"
10861 cat >conftest.$ac_ext <<_ACEOF
10864 cat confdefs.h >>conftest.$ac_ext
10865 cat >>conftest.$ac_ext <<_ACEOF
10866 /* end confdefs.h. */
10868 /* Override any GCC internal prototype to avoid an error.
10869 Use char because int might match the return type of a GCC
10870 builtin and then its argument prototype would still apply. */
10874 char FT_Init_FreeType ();
10878 return FT_Init_FreeType ();
10883 rm -f conftest.$ac_objext conftest$ac_exeext
10884 if { (ac_try="$ac_link"
10885 case "(($ac_try" in
10886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10887 *) ac_try_echo=$ac_try;;
10889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10890 (eval "$ac_link") 2>conftest.er1
10892 grep -v '^ *+' conftest.er1 >conftest.err
10894 cat conftest.err >&5
10895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10896 (exit $ac_status); } && {
10897 test -z "$ac_c_werror_flag" ||
10898 test ! -s conftest.err
10899 } && test -s conftest$ac_exeext &&
10900 $as_test_x conftest$ac_exeext; then
10901 ac_cv_lib_freetype_FT_Init_FreeType=yes
10903 echo "$as_me: failed program was:" >&5
10904 sed 's/^/| /' conftest.$ac_ext >&5
10906 ac_cv_lib_freetype_FT_Init_FreeType=no
10909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10910 conftest$ac_exeext conftest.$ac_ext
10911 LIBS=$ac_check_lib_save_LIBS
10913 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10914 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
10915 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10921 if test "$ft_lib" = "no"
10923 wine_cv_msg_freetype=yes
10927 ac_save_CPPFLAGS="$CPPFLAGS"
10928 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
10940 for ac_header in ft2build.h \
10941 freetype/freetype.h \
10942 freetype/ftglyph.h \
10943 freetype/tttables.h \
10944 freetype/ftnames.h \
10945 freetype/ftsnames.h \
10946 freetype/ttnameid.h \
10947 freetype/ftoutln.h \
10948 freetype/ftwinfnt.h \
10949 freetype/ftmodapi.h \
10950 freetype/internal/sfnt.h
10952 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10953 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10955 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10956 echo $ECHO_N "(cached) $ECHO_C" >&6
10958 cat >conftest.$ac_ext <<_ACEOF
10961 cat confdefs.h >>conftest.$ac_ext
10962 cat >>conftest.$ac_ext <<_ACEOF
10963 /* end confdefs.h. */
10964 #if HAVE_FT2BUILD_H
10965 #include <ft2build.h>
10968 #include <$ac_header>
10970 rm -f conftest.$ac_objext
10971 if { (ac_try="$ac_compile"
10972 case "(($ac_try" in
10973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10974 *) ac_try_echo=$ac_try;;
10976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10977 (eval "$ac_compile") 2>conftest.er1
10979 grep -v '^ *+' conftest.er1 >conftest.err
10981 cat conftest.err >&5
10982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10983 (exit $ac_status); } && {
10984 test -z "$ac_c_werror_flag" ||
10985 test ! -s conftest.err
10986 } && test -s conftest.$ac_objext; then
10987 eval "$as_ac_Header=yes"
10989 echo "$as_me: failed program was:" >&5
10990 sed 's/^/| /' conftest.$ac_ext >&5
10992 eval "$as_ac_Header=no"
10995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10997 ac_res=`eval echo '${'$as_ac_Header'}'`
10998 { echo "$as_me:$LINENO: result: $ac_res" >&5
10999 echo "${ECHO_T}$ac_res" >&6; }
11000 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11001 cat >>confdefs.h <<_ACEOF
11002 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11009 cat >conftest.$ac_ext <<_ACEOF
11012 cat confdefs.h >>conftest.$ac_ext
11013 cat >>conftest.$ac_ext <<_ACEOF
11014 /* end confdefs.h. */
11015 #include <ft2build.h>
11016 #include <freetype/fttrigon.h>
11018 if { (ac_try="$ac_cpp conftest.$ac_ext"
11019 case "(($ac_try" in
11020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11021 *) ac_try_echo=$ac_try;;
11023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11024 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11026 grep -v '^ *+' conftest.er1 >conftest.err
11028 cat conftest.err >&5
11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030 (exit $ac_status); } >/dev/null && {
11031 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11032 test ! -s conftest.err
11035 cat >>confdefs.h <<\_ACEOF
11036 #define HAVE_FREETYPE_FTTRIGON_H 1
11039 wine_cv_fttrigon=yes
11041 echo "$as_me: failed program was:" >&5
11042 sed 's/^/| /' conftest.$ac_ext >&5
11044 wine_cv_fttrigon=no
11047 rm -f conftest.err conftest.$ac_ext
11048 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
11049 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
11050 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
11051 echo $ECHO_N "(cached) $ECHO_C" >&6
11053 cat >conftest.$ac_ext <<_ACEOF
11056 cat confdefs.h >>conftest.$ac_ext
11057 cat >>conftest.$ac_ext <<_ACEOF
11058 /* end confdefs.h. */
11059 #include <freetype/ftmodapi.h>
11061 typedef FT_TrueTypeEngineType ac__type_new_;
11065 if ((ac__type_new_ *) 0)
11067 if (sizeof (ac__type_new_))
11073 rm -f conftest.$ac_objext
11074 if { (ac_try="$ac_compile"
11075 case "(($ac_try" in
11076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11077 *) ac_try_echo=$ac_try;;
11079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11080 (eval "$ac_compile") 2>conftest.er1
11082 grep -v '^ *+' conftest.er1 >conftest.err
11084 cat conftest.err >&5
11085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11086 (exit $ac_status); } && {
11087 test -z "$ac_c_werror_flag" ||
11088 test ! -s conftest.err
11089 } && test -s conftest.$ac_objext; then
11090 ac_cv_type_FT_TrueTypeEngineType=yes
11092 echo "$as_me: failed program was:" >&5
11093 sed 's/^/| /' conftest.$ac_ext >&5
11095 ac_cv_type_FT_TrueTypeEngineType=no
11098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11100 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
11101 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
11102 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
11104 cat >>confdefs.h <<_ACEOF
11105 #define HAVE_FT_TRUETYPEENGINETYPE 1
11111 ac_save_CFLAGS="$CFLAGS"
11112 CFLAGS="$CFLAGS $FREETYPELIBS"
11114 for ac_func in FT_Load_Sfnt_Table
11116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11117 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11119 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11120 echo $ECHO_N "(cached) $ECHO_C" >&6
11122 cat >conftest.$ac_ext <<_ACEOF
11125 cat confdefs.h >>conftest.$ac_ext
11126 cat >>conftest.$ac_ext <<_ACEOF
11127 /* end confdefs.h. */
11128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11130 #define $ac_func innocuous_$ac_func
11132 /* System header to define __stub macros and hopefully few prototypes,
11133 which can conflict with char $ac_func (); below.
11134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11135 <limits.h> exists even on freestanding compilers. */
11138 # include <limits.h>
11140 # include <assert.h>
11145 /* Override any GCC internal prototype to avoid an error.
11146 Use char because int might match the return type of a GCC
11147 builtin and then its argument prototype would still apply. */
11152 /* The GNU C library defines this for functions which it implements
11153 to always fail with ENOSYS. Some functions are actually named
11154 something starting with __ and the normal name is an alias. */
11155 #if defined __stub_$ac_func || defined __stub___$ac_func
11162 return $ac_func ();
11167 rm -f conftest.$ac_objext conftest$ac_exeext
11168 if { (ac_try="$ac_link"
11169 case "(($ac_try" in
11170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11171 *) ac_try_echo=$ac_try;;
11173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11174 (eval "$ac_link") 2>conftest.er1
11176 grep -v '^ *+' conftest.er1 >conftest.err
11178 cat conftest.err >&5
11179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11180 (exit $ac_status); } && {
11181 test -z "$ac_c_werror_flag" ||
11182 test ! -s conftest.err
11183 } && test -s conftest$ac_exeext &&
11184 $as_test_x conftest$ac_exeext; then
11185 eval "$as_ac_var=yes"
11187 echo "$as_me: failed program was:" >&5
11188 sed 's/^/| /' conftest.$ac_ext >&5
11190 eval "$as_ac_var=no"
11193 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11194 conftest$ac_exeext conftest.$ac_ext
11196 ac_res=`eval echo '${'$as_ac_var'}'`
11197 { echo "$as_me:$LINENO: result: $ac_res" >&5
11198 echo "${ECHO_T}$ac_res" >&6; }
11199 if test `eval echo '${'$as_ac_var'}'` = yes; then
11200 cat >>confdefs.h <<_ACEOF
11201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11207 CFLAGS="$ac_save_CFLAGS"
11208 CPPFLAGS="$ac_save_CPPFLAGS"
11209 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11212 cat >>confdefs.h <<\_ACEOF
11213 #define HAVE_FREETYPE 1
11216 wine_cv_msg_freetype=no
11220 wine_cv_msg_freetype=yes
11225 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
11227 FONTSSUBDIRS="fonts"
11231 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
11232 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
11233 if test "${ac_cv_c_ppdev+set}" = set; then
11234 echo $ECHO_N "(cached) $ECHO_C" >&6
11236 cat >conftest.$ac_ext <<_ACEOF
11239 cat confdefs.h >>conftest.$ac_ext
11240 cat >>conftest.$ac_ext <<_ACEOF
11241 /* end confdefs.h. */
11242 #include <linux/ppdev.h>
11246 ioctl (1,PPCLAIM,0)
11251 rm -f conftest.$ac_objext
11252 if { (ac_try="$ac_compile"
11253 case "(($ac_try" in
11254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11255 *) ac_try_echo=$ac_try;;
11257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11258 (eval "$ac_compile") 2>conftest.er1
11260 grep -v '^ *+' conftest.er1 >conftest.err
11262 cat conftest.err >&5
11263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11264 (exit $ac_status); } && {
11265 test -z "$ac_c_werror_flag" ||
11266 test ! -s conftest.err
11267 } && test -s conftest.$ac_objext; then
11268 ac_cv_c_ppdev="yes"
11270 echo "$as_me: failed program was:" >&5
11271 sed 's/^/| /' conftest.$ac_ext >&5
11276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11279 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
11280 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
11281 if test "$ac_cv_c_ppdev" = "yes"
11284 cat >>confdefs.h <<\_ACEOF
11285 #define HAVE_PPDEV 1
11290 { echo "$as_me:$LINENO: checking for va_copy" >&5
11291 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
11292 if test "${ac_cv_c_va_copy+set}" = set; then
11293 echo $ECHO_N "(cached) $ECHO_C" >&6
11295 cat >conftest.$ac_ext <<_ACEOF
11298 cat confdefs.h >>conftest.$ac_ext
11299 cat >>conftest.$ac_ext <<_ACEOF
11300 /* end confdefs.h. */
11301 #include <stdarg.h>
11312 rm -f conftest.$ac_objext conftest$ac_exeext
11313 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
11321 grep -v '^ *+' conftest.er1 >conftest.err
11323 cat conftest.err >&5
11324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11325 (exit $ac_status); } && {
11326 test -z "$ac_c_werror_flag" ||
11327 test ! -s conftest.err
11328 } && test -s conftest$ac_exeext &&
11329 $as_test_x conftest$ac_exeext; then
11330 ac_cv_c_va_copy="yes"
11332 echo "$as_me: failed program was:" >&5
11333 sed 's/^/| /' conftest.$ac_ext >&5
11335 ac_cv_c_va_copy="no"
11338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11339 conftest$ac_exeext conftest.$ac_ext
11342 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
11343 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
11344 if test "$ac_cv_c_va_copy" = "yes"
11347 cat >>confdefs.h <<\_ACEOF
11348 #define HAVE_VA_COPY 1
11352 { echo "$as_me:$LINENO: checking for __va_copy" >&5
11353 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
11354 if test "${ac_cv_c___va_copy+set}" = set; then
11355 echo $ECHO_N "(cached) $ECHO_C" >&6
11357 cat >conftest.$ac_ext <<_ACEOF
11360 cat confdefs.h >>conftest.$ac_ext
11361 cat >>conftest.$ac_ext <<_ACEOF
11362 /* end confdefs.h. */
11363 #include <stdarg.h>
11368 __va_copy(ap1,ap2);
11374 rm -f conftest.$ac_objext conftest$ac_exeext
11375 if { (ac_try="$ac_link"
11376 case "(($ac_try" in
11377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11378 *) ac_try_echo=$ac_try;;
11380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11381 (eval "$ac_link") 2>conftest.er1
11383 grep -v '^ *+' conftest.er1 >conftest.err
11385 cat conftest.err >&5
11386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11387 (exit $ac_status); } && {
11388 test -z "$ac_c_werror_flag" ||
11389 test ! -s conftest.err
11390 } && test -s conftest$ac_exeext &&
11391 $as_test_x conftest$ac_exeext; then
11392 ac_cv_c___va_copy="yes"
11394 echo "$as_me: failed program was:" >&5
11395 sed 's/^/| /' conftest.$ac_ext >&5
11397 ac_cv_c___va_copy="no"
11400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11401 conftest$ac_exeext conftest.$ac_ext
11404 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
11405 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
11406 if test "$ac_cv_c___va_copy" = "yes"
11409 cat >>confdefs.h <<\_ACEOF
11410 #define HAVE___VA_COPY 1
11415 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
11416 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
11417 if test "${ac_cv_c_sigsetjmp+set}" = set; then
11418 echo $ECHO_N "(cached) $ECHO_C" >&6
11420 cat >conftest.$ac_ext <<_ACEOF
11423 cat confdefs.h >>conftest.$ac_ext
11424 cat >>conftest.$ac_ext <<_ACEOF
11425 /* end confdefs.h. */
11426 #include <setjmp.h>
11431 sigsetjmp( buf, 1 );
11432 siglongjmp( buf, 1 );
11437 rm -f conftest.$ac_objext conftest$ac_exeext
11438 if { (ac_try="$ac_link"
11439 case "(($ac_try" in
11440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11441 *) ac_try_echo=$ac_try;;
11443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11444 (eval "$ac_link") 2>conftest.er1
11446 grep -v '^ *+' conftest.er1 >conftest.err
11448 cat conftest.err >&5
11449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11450 (exit $ac_status); } && {
11451 test -z "$ac_c_werror_flag" ||
11452 test ! -s conftest.err
11453 } && test -s conftest$ac_exeext &&
11454 $as_test_x conftest$ac_exeext; then
11455 ac_cv_c_sigsetjmp="yes"
11457 echo "$as_me: failed program was:" >&5
11458 sed 's/^/| /' conftest.$ac_ext >&5
11460 ac_cv_c_sigsetjmp="no"
11463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11464 conftest$ac_exeext conftest.$ac_ext
11467 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11468 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
11469 if test "$ac_cv_c_sigsetjmp" = "yes"
11472 cat >>confdefs.h <<\_ACEOF
11473 #define HAVE_SIGSETJMP 1
11478 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11479 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
11480 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11481 echo $ECHO_N "(cached) $ECHO_C" >&6
11483 cat >conftest.$ac_ext <<_ACEOF
11486 cat confdefs.h >>conftest.$ac_ext
11487 cat >>conftest.$ac_ext <<_ACEOF
11488 /* end confdefs.h. */
11489 #define _GNU_SOURCE
11490 #include <pthread.h>
11492 typedef pthread_rwlock_t ac__type_new_;
11496 if ((ac__type_new_ *) 0)
11498 if (sizeof (ac__type_new_))
11504 rm -f conftest.$ac_objext
11505 if { (ac_try="$ac_compile"
11506 case "(($ac_try" in
11507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11508 *) ac_try_echo=$ac_try;;
11510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11511 (eval "$ac_compile") 2>conftest.er1
11513 grep -v '^ *+' conftest.er1 >conftest.err
11515 cat conftest.err >&5
11516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11517 (exit $ac_status); } && {
11518 test -z "$ac_c_werror_flag" ||
11519 test ! -s conftest.err
11520 } && test -s conftest.$ac_objext; then
11521 ac_cv_type_pthread_rwlock_t=yes
11523 echo "$as_me: failed program was:" >&5
11524 sed 's/^/| /' conftest.$ac_ext >&5
11526 ac_cv_type_pthread_rwlock_t=no
11529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11531 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11532 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
11533 if test $ac_cv_type_pthread_rwlock_t = yes; then
11535 cat >>confdefs.h <<_ACEOF
11536 #define HAVE_PTHREAD_RWLOCK_T 1
11541 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11542 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
11543 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11544 echo $ECHO_N "(cached) $ECHO_C" >&6
11546 cat >conftest.$ac_ext <<_ACEOF
11549 cat confdefs.h >>conftest.$ac_ext
11550 cat >>conftest.$ac_ext <<_ACEOF
11551 /* end confdefs.h. */
11552 #define _GNU_SOURCE
11553 #include <pthread.h>
11555 typedef pthread_rwlockattr_t ac__type_new_;
11559 if ((ac__type_new_ *) 0)
11561 if (sizeof (ac__type_new_))
11567 rm -f conftest.$ac_objext
11568 if { (ac_try="$ac_compile"
11569 case "(($ac_try" in
11570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11571 *) ac_try_echo=$ac_try;;
11573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11574 (eval "$ac_compile") 2>conftest.er1
11576 grep -v '^ *+' conftest.er1 >conftest.err
11578 cat conftest.err >&5
11579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11580 (exit $ac_status); } && {
11581 test -z "$ac_c_werror_flag" ||
11582 test ! -s conftest.err
11583 } && test -s conftest.$ac_objext; then
11584 ac_cv_type_pthread_rwlockattr_t=yes
11586 echo "$as_me: failed program was:" >&5
11587 sed 's/^/| /' conftest.$ac_ext >&5
11589 ac_cv_type_pthread_rwlockattr_t=no
11592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11594 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11595 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
11596 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11598 cat >>confdefs.h <<_ACEOF
11599 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11606 ac_wine_check_funcs_save_LIBS="$LIBS"
11607 LIBS="$LIBS $LIBPTHREAD"
11613 pthread_attr_get_np \
11614 pthread_getattr_np \
11615 pthread_get_stackaddr_np \
11616 pthread_get_stacksize_np
11618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11619 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11621 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11622 echo $ECHO_N "(cached) $ECHO_C" >&6
11624 cat >conftest.$ac_ext <<_ACEOF
11627 cat confdefs.h >>conftest.$ac_ext
11628 cat >>conftest.$ac_ext <<_ACEOF
11629 /* end confdefs.h. */
11630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11632 #define $ac_func innocuous_$ac_func
11634 /* System header to define __stub macros and hopefully few prototypes,
11635 which can conflict with char $ac_func (); below.
11636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11637 <limits.h> exists even on freestanding compilers. */
11640 # include <limits.h>
11642 # include <assert.h>
11647 /* Override any GCC internal prototype to avoid an error.
11648 Use char because int might match the return type of a GCC
11649 builtin and then its argument prototype would still apply. */
11654 /* The GNU C library defines this for functions which it implements
11655 to always fail with ENOSYS. Some functions are actually named
11656 something starting with __ and the normal name is an alias. */
11657 #if defined __stub_$ac_func || defined __stub___$ac_func
11664 return $ac_func ();
11669 rm -f conftest.$ac_objext conftest$ac_exeext
11670 if { (ac_try="$ac_link"
11671 case "(($ac_try" in
11672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11673 *) ac_try_echo=$ac_try;;
11675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11676 (eval "$ac_link") 2>conftest.er1
11678 grep -v '^ *+' conftest.er1 >conftest.err
11680 cat conftest.err >&5
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); } && {
11683 test -z "$ac_c_werror_flag" ||
11684 test ! -s conftest.err
11685 } && test -s conftest$ac_exeext &&
11686 $as_test_x conftest$ac_exeext; then
11687 eval "$as_ac_var=yes"
11689 echo "$as_me: failed program was:" >&5
11690 sed 's/^/| /' conftest.$ac_ext >&5
11692 eval "$as_ac_var=no"
11695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11696 conftest$ac_exeext conftest.$ac_ext
11698 ac_res=`eval echo '${'$as_ac_var'}'`
11699 { echo "$as_me:$LINENO: result: $ac_res" >&5
11700 echo "${ECHO_T}$ac_res" >&6; }
11701 if test `eval echo '${'$as_ac_var'}'` = yes; then
11702 cat >>confdefs.h <<_ACEOF
11703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11709 LIBS="$ac_wine_check_funcs_save_LIBS"
11711 # Extract the first word of "artsc-config", so it can be a program name with args.
11712 set dummy artsc-config; ac_word=$2
11713 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11715 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11716 echo $ECHO_N "(cached) $ECHO_C" >&6
11718 case $ARTSCCONFIG in
11720 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
11723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11724 for as_dir in $PATH
11727 test -z "$as_dir" && as_dir=.
11728 for ac_exec_ext in '' $ac_executable_extensions; do
11729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11730 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
11731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11741 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
11742 if test -n "$ARTSCCONFIG"; then
11743 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11744 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
11746 { echo "$as_me:$LINENO: result: no" >&5
11747 echo "${ECHO_T}no" >&6; }
11751 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
11754 for i in `$ARTSCCONFIG --cflags`
11757 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
11761 for i in `$ARTSCCONFIG --libs`
11764 -L/usr/lib|-L/usr/lib64) ;;
11765 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
11768 save_CFLAGS="$CFLAGS"
11769 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
11770 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
11771 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
11772 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
11773 echo $ECHO_N "(cached) $ECHO_C" >&6
11775 ac_check_lib_save_LIBS=$LIBS
11776 LIBS="-lartsc $ARTSC_LIBS $LIBS"
11777 cat >conftest.$ac_ext <<_ACEOF
11780 cat confdefs.h >>conftest.$ac_ext
11781 cat >>conftest.$ac_ext <<_ACEOF
11782 /* end confdefs.h. */
11784 /* Override any GCC internal prototype to avoid an error.
11785 Use char because int might match the return type of a GCC
11786 builtin and then its argument prototype would still apply. */
11794 return arts_init ();
11799 rm -f conftest.$ac_objext conftest$ac_exeext
11800 if { (ac_try="$ac_link"
11801 case "(($ac_try" in
11802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11803 *) ac_try_echo=$ac_try;;
11805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11806 (eval "$ac_link") 2>conftest.er1
11808 grep -v '^ *+' conftest.er1 >conftest.err
11810 cat conftest.err >&5
11811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11812 (exit $ac_status); } && {
11813 test -z "$ac_c_werror_flag" ||
11814 test ! -s conftest.err
11815 } && test -s conftest$ac_exeext &&
11816 $as_test_x conftest$ac_exeext; then
11817 ac_cv_lib_artsc_arts_init=yes
11819 echo "$as_me: failed program was:" >&5
11820 sed 's/^/| /' conftest.$ac_ext >&5
11822 ac_cv_lib_artsc_arts_init=no
11825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11826 conftest$ac_exeext conftest.$ac_ext
11827 LIBS=$ac_check_lib_save_LIBS
11829 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
11830 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
11831 if test $ac_cv_lib_artsc_arts_init = yes; then
11832 cat >conftest.$ac_ext <<_ACEOF
11835 cat confdefs.h >>conftest.$ac_ext
11836 cat >>conftest.$ac_ext <<_ACEOF
11837 /* end confdefs.h. */
11842 arts_stream_t stream;
11847 rm -f conftest.$ac_objext
11848 if { (ac_try="$ac_compile"
11849 case "(($ac_try" in
11850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11851 *) ac_try_echo=$ac_try;;
11853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11854 (eval "$ac_compile") 2>conftest.er1
11856 grep -v '^ *+' conftest.er1 >conftest.err
11858 cat conftest.err >&5
11859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11860 (exit $ac_status); } && {
11861 test -z "$ac_c_werror_flag" ||
11862 test ! -s conftest.err
11863 } && test -s conftest.$ac_objext; then
11864 ARTSLIBS=$ARTSC_LIBS
11866 ARTSINCL=$ARTSC_CFLAGS
11869 cat >>confdefs.h <<\_ACEOF
11870 #define HAVE_ARTS 1
11874 echo "$as_me: failed program was:" >&5
11875 sed 's/^/| /' conftest.$ac_ext >&5
11880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11883 CFLAGS="$save_CFLAGS"
11886 # Extract the first word of "esd-config", so it can be a program name with args.
11887 set dummy esd-config; ac_word=$2
11888 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11890 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
11891 echo $ECHO_N "(cached) $ECHO_C" >&6
11895 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
11898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11899 for as_dir in $PATH
11902 test -z "$as_dir" && as_dir=.
11903 for ac_exec_ext in '' $ac_executable_extensions; do
11904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11905 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
11906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11916 ESDCONFIG=$ac_cv_path_ESDCONFIG
11917 if test -n "$ESDCONFIG"; then
11918 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
11919 echo "${ECHO_T}$ESDCONFIG" >&6; }
11921 { echo "$as_me:$LINENO: result: no" >&5
11922 echo "${ECHO_T}no" >&6; }
11926 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
11929 for i in `$ESDCONFIG --cflags`
11932 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
11935 ESD_LIBS=`$ESDCONFIG --libs`
11936 save_CFLAGS="$CFLAGS"
11937 CFLAGS="$CFLAGS $ESD_CFLAGS"
11938 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
11939 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
11940 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
11941 echo $ECHO_N "(cached) $ECHO_C" >&6
11943 ac_check_lib_save_LIBS=$LIBS
11945 cat >conftest.$ac_ext <<_ACEOF
11948 cat confdefs.h >>conftest.$ac_ext
11949 cat >>conftest.$ac_ext <<_ACEOF
11950 /* end confdefs.h. */
11952 /* Override any GCC internal prototype to avoid an error.
11953 Use char because int might match the return type of a GCC
11954 builtin and then its argument prototype would still apply. */
11958 char esd_open_sound ();
11962 return esd_open_sound ();
11967 rm -f conftest.$ac_objext conftest$ac_exeext
11968 if { (ac_try="$ac_link"
11969 case "(($ac_try" in
11970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11971 *) ac_try_echo=$ac_try;;
11973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11974 (eval "$ac_link") 2>conftest.er1
11976 grep -v '^ *+' conftest.er1 >conftest.err
11978 cat conftest.err >&5
11979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11980 (exit $ac_status); } && {
11981 test -z "$ac_c_werror_flag" ||
11982 test ! -s conftest.err
11983 } && test -s conftest$ac_exeext &&
11984 $as_test_x conftest$ac_exeext; then
11985 ac_cv_lib_esd_esd_open_sound=yes
11987 echo "$as_me: failed program was:" >&5
11988 sed 's/^/| /' conftest.$ac_ext >&5
11990 ac_cv_lib_esd_esd_open_sound=no
11993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11994 conftest$ac_exeext conftest.$ac_ext
11995 LIBS=$ac_check_lib_save_LIBS
11997 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
11998 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
11999 if test $ac_cv_lib_esd_esd_open_sound = yes; then
12002 ESDINCL=$ESD_CFLAGS
12005 cat >>confdefs.h <<\_ACEOF
12011 CFLAGS="$save_CFLAGS"
12016 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12018 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
12019 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
12020 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
12021 echo $ECHO_N "(cached) $ECHO_C" >&6
12023 ac_check_lib_save_LIBS=$LIBS
12024 LIBS="-lasound $LIBS"
12025 cat >conftest.$ac_ext <<_ACEOF
12028 cat confdefs.h >>conftest.$ac_ext
12029 cat >>conftest.$ac_ext <<_ACEOF
12030 /* end confdefs.h. */
12032 /* Override any GCC internal prototype to avoid an error.
12033 Use char because int might match the return type of a GCC
12034 builtin and then its argument prototype would still apply. */
12038 char snd_pcm_hw_params_get_access ();
12042 return snd_pcm_hw_params_get_access ();
12047 rm -f conftest.$ac_objext conftest$ac_exeext
12048 if { (ac_try="$ac_link"
12049 case "(($ac_try" in
12050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12051 *) ac_try_echo=$ac_try;;
12053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12054 (eval "$ac_link") 2>conftest.er1
12056 grep -v '^ *+' conftest.er1 >conftest.err
12058 cat conftest.err >&5
12059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12060 (exit $ac_status); } && {
12061 test -z "$ac_c_werror_flag" ||
12062 test ! -s conftest.err
12063 } && test -s conftest$ac_exeext &&
12064 $as_test_x conftest$ac_exeext; then
12065 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
12067 echo "$as_me: failed program was:" >&5
12068 sed 's/^/| /' conftest.$ac_ext >&5
12070 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
12073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12074 conftest$ac_exeext conftest.$ac_ext
12075 LIBS=$ac_check_lib_save_LIBS
12077 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
12078 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
12079 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
12080 cat >conftest.$ac_ext <<_ACEOF
12083 cat confdefs.h >>conftest.$ac_ext
12084 cat >>conftest.$ac_ext <<_ACEOF
12085 /* end confdefs.h. */
12086 #ifdef HAVE_ALSA_ASOUNDLIB_H
12087 #include <alsa/asoundlib.h>
12088 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12089 #include <sys/asoundlib.h>
12094 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
12099 rm -f conftest.$ac_objext
12100 if { (ac_try="$ac_compile"
12101 case "(($ac_try" in
12102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12103 *) ac_try_echo=$ac_try;;
12105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12106 (eval "$ac_compile") 2>conftest.er1
12108 grep -v '^ *+' conftest.er1 >conftest.err
12110 cat conftest.err >&5
12111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12112 (exit $ac_status); } && {
12113 test -z "$ac_c_werror_flag" ||
12114 test ! -s conftest.err
12115 } && test -s conftest.$ac_objext; then
12117 cat >>confdefs.h <<\_ACEOF
12118 #define HAVE_ALSA 1
12121 ALSALIBS="-lasound"
12123 echo "$as_me: failed program was:" >&5
12124 sed 's/^/| /' conftest.$ac_ext >&5
12129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12137 if test "$ac_cv_header_libaudioio_h" = "yes"
12139 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12140 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
12141 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12142 echo $ECHO_N "(cached) $ECHO_C" >&6
12144 ac_check_lib_save_LIBS=$LIBS
12145 LIBS="-laudioio $LIBS"
12146 cat >conftest.$ac_ext <<_ACEOF
12149 cat confdefs.h >>conftest.$ac_ext
12150 cat >>conftest.$ac_ext <<_ACEOF
12151 /* end confdefs.h. */
12153 /* Override any GCC internal prototype to avoid an error.
12154 Use char because int might match the return type of a GCC
12155 builtin and then its argument prototype would still apply. */
12159 char AudioIOGetVersion ();
12163 return AudioIOGetVersion ();
12168 rm -f conftest.$ac_objext conftest$ac_exeext
12169 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
12177 grep -v '^ *+' conftest.er1 >conftest.err
12179 cat conftest.err >&5
12180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12181 (exit $ac_status); } && {
12182 test -z "$ac_c_werror_flag" ||
12183 test ! -s conftest.err
12184 } && test -s conftest$ac_exeext &&
12185 $as_test_x conftest$ac_exeext; then
12186 ac_cv_lib_audioio_AudioIOGetVersion=yes
12188 echo "$as_me: failed program was:" >&5
12189 sed 's/^/| /' conftest.$ac_ext >&5
12191 ac_cv_lib_audioio_AudioIOGetVersion=no
12194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12195 conftest$ac_exeext conftest.$ac_ext
12196 LIBS=$ac_check_lib_save_LIBS
12198 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12199 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
12200 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12201 AUDIOIOLIBS="-laudioio"
12203 cat >>confdefs.h <<\_ACEOF
12204 #define HAVE_LIBAUDIOIO 1
12212 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12214 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12215 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
12216 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12217 echo $ECHO_N "(cached) $ECHO_C" >&6
12219 ac_check_lib_save_LIBS=$LIBS
12220 LIBS="-lcapi20 $LIBS"
12221 cat >conftest.$ac_ext <<_ACEOF
12224 cat confdefs.h >>conftest.$ac_ext
12225 cat >>conftest.$ac_ext <<_ACEOF
12226 /* end confdefs.h. */
12228 /* Override any GCC internal prototype to avoid an error.
12229 Use char because int might match the return type of a GCC
12230 builtin and then its argument prototype would still apply. */
12234 char capi20_register ();
12238 return capi20_register ();
12243 rm -f conftest.$ac_objext conftest$ac_exeext
12244 if { (ac_try="$ac_link"
12245 case "(($ac_try" in
12246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12247 *) ac_try_echo=$ac_try;;
12249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12250 (eval "$ac_link") 2>conftest.er1
12252 grep -v '^ *+' conftest.er1 >conftest.err
12254 cat conftest.err >&5
12255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); } && {
12257 test -z "$ac_c_werror_flag" ||
12258 test ! -s conftest.err
12259 } && test -s conftest$ac_exeext &&
12260 $as_test_x conftest$ac_exeext; then
12261 ac_cv_lib_capi20_capi20_register=yes
12263 echo "$as_me: failed program was:" >&5
12264 sed 's/^/| /' conftest.$ac_ext >&5
12266 ac_cv_lib_capi20_capi20_register=no
12269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12270 conftest$ac_exeext conftest.$ac_ext
12271 LIBS=$ac_check_lib_save_LIBS
12273 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12274 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
12275 if test $ac_cv_lib_capi20_capi20_register = yes; then
12277 cat >>confdefs.h <<\_ACEOF
12278 #define HAVE_CAPI4LINUX 1
12288 if test "x${GCC}" = "xyes"
12290 EXTRACFLAGS="-Wall -pipe"
12292 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12293 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
12294 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12295 echo $ECHO_N "(cached) $ECHO_C" >&6
12297 if test "$cross_compiling" = yes; then
12298 ac_cv_c_gcc_strength_bug="yes"
12300 cat >conftest.$ac_ext <<_ACEOF
12303 cat confdefs.h >>conftest.$ac_ext
12304 cat >>conftest.$ac_ext <<_ACEOF
12305 /* end confdefs.h. */
12307 int L[4] = {0,1,2,3};
12309 static int Array[3];
12310 unsigned int B = 3;
12312 for(i=0; i<B; i++) Array[i] = i - 3;
12313 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12316 exit( Array[1] != -2 || L[2] != 3);
12319 rm -f conftest$ac_exeext
12320 if { (ac_try="$ac_link"
12321 case "(($ac_try" in
12322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12323 *) ac_try_echo=$ac_try;;
12325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12326 (eval "$ac_link") 2>&5
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12330 { (case "(($ac_try" in
12331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12332 *) ac_try_echo=$ac_try;;
12334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12335 (eval "$ac_try") 2>&5
12337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12338 (exit $ac_status); }; }; then
12339 ac_cv_c_gcc_strength_bug="no"
12341 echo "$as_me: program exited with status $ac_status" >&5
12342 echo "$as_me: failed program was:" >&5
12343 sed 's/^/| /' conftest.$ac_ext >&5
12345 ( exit $ac_status )
12346 ac_cv_c_gcc_strength_bug="yes"
12348 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12353 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12354 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
12355 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12357 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12361 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
12362 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
12363 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
12364 echo $ECHO_N "(cached) $ECHO_C" >&6
12366 ac_wine_try_cflags_saved=$CFLAGS
12367 CFLAGS="$CFLAGS -fshort-wchar"
12368 cat >conftest.$ac_ext <<_ACEOF
12371 cat confdefs.h >>conftest.$ac_ext
12372 cat >>conftest.$ac_ext <<_ACEOF
12373 /* end confdefs.h. */
12383 rm -f conftest.$ac_objext conftest$ac_exeext
12384 if { (ac_try="$ac_link"
12385 case "(($ac_try" in
12386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12387 *) ac_try_echo=$ac_try;;
12389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12390 (eval "$ac_link") 2>conftest.er1
12392 grep -v '^ *+' conftest.er1 >conftest.err
12394 cat conftest.err >&5
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); } && {
12397 test -z "$ac_c_werror_flag" ||
12398 test ! -s conftest.err
12399 } && test -s conftest$ac_exeext &&
12400 $as_test_x conftest$ac_exeext; then
12401 ac_cv_cflags__fshort_wchar=yes
12403 echo "$as_me: failed program was:" >&5
12404 sed 's/^/| /' conftest.$ac_ext >&5
12406 ac_cv_cflags__fshort_wchar=no
12409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12410 conftest$ac_exeext conftest.$ac_ext
12411 CFLAGS=$ac_wine_try_cflags_saved
12413 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
12414 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
12415 if test $ac_cv_cflags__fshort_wchar = yes; then
12417 cat >>confdefs.h <<\_ACEOF
12418 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12423 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
12424 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
12425 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
12426 echo $ECHO_N "(cached) $ECHO_C" >&6
12428 ac_wine_try_cflags_saved=$CFLAGS
12429 CFLAGS="$CFLAGS -fno-strict-aliasing"
12430 cat >conftest.$ac_ext <<_ACEOF
12433 cat confdefs.h >>conftest.$ac_ext
12434 cat >>conftest.$ac_ext <<_ACEOF
12435 /* end confdefs.h. */
12445 rm -f conftest.$ac_objext conftest$ac_exeext
12446 if { (ac_try="$ac_link"
12447 case "(($ac_try" in
12448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12449 *) ac_try_echo=$ac_try;;
12451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12452 (eval "$ac_link") 2>conftest.er1
12454 grep -v '^ *+' conftest.er1 >conftest.err
12456 cat conftest.err >&5
12457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12458 (exit $ac_status); } && {
12459 test -z "$ac_c_werror_flag" ||
12460 test ! -s conftest.err
12461 } && test -s conftest$ac_exeext &&
12462 $as_test_x conftest$ac_exeext; then
12463 ac_cv_cflags__fno_strict_aliasing=yes
12465 echo "$as_me: failed program was:" >&5
12466 sed 's/^/| /' conftest.$ac_ext >&5
12468 ac_cv_cflags__fno_strict_aliasing=no
12471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12472 conftest$ac_exeext conftest.$ac_ext
12473 CFLAGS=$ac_wine_try_cflags_saved
12475 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12476 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
12477 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
12478 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12481 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12482 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
12483 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
12484 echo $ECHO_N "(cached) $ECHO_C" >&6
12486 ac_wine_try_cflags_saved=$CFLAGS
12487 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12488 cat >conftest.$ac_ext <<_ACEOF
12491 cat confdefs.h >>conftest.$ac_ext
12492 cat >>conftest.$ac_ext <<_ACEOF
12493 /* end confdefs.h. */
12503 rm -f conftest.$ac_objext conftest$ac_exeext
12504 if { (ac_try="$ac_link"
12505 case "(($ac_try" in
12506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12507 *) ac_try_echo=$ac_try;;
12509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12510 (eval "$ac_link") 2>conftest.er1
12512 grep -v '^ *+' conftest.er1 >conftest.err
12514 cat conftest.err >&5
12515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12516 (exit $ac_status); } && {
12517 test -z "$ac_c_werror_flag" ||
12518 test ! -s conftest.err
12519 } && test -s conftest$ac_exeext &&
12520 $as_test_x conftest$ac_exeext; then
12521 ac_cv_cflags__Wdeclaration_after_statement=yes
12523 echo "$as_me: failed program was:" >&5
12524 sed 's/^/| /' conftest.$ac_ext >&5
12526 ac_cv_cflags__Wdeclaration_after_statement=no
12529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12530 conftest$ac_exeext conftest.$ac_ext
12531 CFLAGS=$ac_wine_try_cflags_saved
12533 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12534 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12535 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
12536 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12539 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
12540 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
12541 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
12542 echo $ECHO_N "(cached) $ECHO_C" >&6
12544 ac_wine_try_cflags_saved=$CFLAGS
12545 CFLAGS="$CFLAGS -Wwrite-strings"
12546 cat >conftest.$ac_ext <<_ACEOF
12549 cat confdefs.h >>conftest.$ac_ext
12550 cat >>conftest.$ac_ext <<_ACEOF
12551 /* end confdefs.h. */
12561 rm -f conftest.$ac_objext conftest$ac_exeext
12562 if { (ac_try="$ac_link"
12563 case "(($ac_try" in
12564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12565 *) ac_try_echo=$ac_try;;
12567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12568 (eval "$ac_link") 2>conftest.er1
12570 grep -v '^ *+' conftest.er1 >conftest.err
12572 cat conftest.err >&5
12573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12574 (exit $ac_status); } && {
12575 test -z "$ac_c_werror_flag" ||
12576 test ! -s conftest.err
12577 } && test -s conftest$ac_exeext &&
12578 $as_test_x conftest$ac_exeext; then
12579 ac_cv_cflags__Wwrite_strings=yes
12581 echo "$as_me: failed program was:" >&5
12582 sed 's/^/| /' conftest.$ac_ext >&5
12584 ac_cv_cflags__Wwrite_strings=no
12587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12588 conftest$ac_exeext conftest.$ac_ext
12589 CFLAGS=$ac_wine_try_cflags_saved
12591 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
12592 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
12593 if test $ac_cv_cflags__Wwrite_strings = yes; then
12594 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12598 saved_CFLAGS="$CFLAGS"
12599 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12600 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12601 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
12602 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12603 echo $ECHO_N "(cached) $ECHO_C" >&6
12605 cat >conftest.$ac_ext <<_ACEOF
12608 cat confdefs.h >>conftest.$ac_ext
12609 cat >>conftest.$ac_ext <<_ACEOF
12610 /* end confdefs.h. */
12611 #include <string.h>
12620 rm -f conftest.$ac_objext
12621 if { (ac_try="$ac_compile"
12622 case "(($ac_try" in
12623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12624 *) ac_try_echo=$ac_try;;
12626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12627 (eval "$ac_compile") 2>conftest.er1
12629 grep -v '^ *+' conftest.er1 >conftest.err
12631 cat conftest.err >&5
12632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12633 (exit $ac_status); } && {
12634 test -z "$ac_c_werror_flag" ||
12635 test ! -s conftest.err
12636 } && test -s conftest.$ac_objext; then
12637 ac_cv_c_string_h_warnings=no
12639 echo "$as_me: failed program was:" >&5
12640 sed 's/^/| /' conftest.$ac_ext >&5
12642 ac_cv_c_string_h_warnings=yes
12645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12647 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12648 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
12649 CFLAGS="$saved_CFLAGS"
12650 if test "$ac_cv_c_string_h_warnings" = "no"
12652 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12657 saved_CFLAGS="$CFLAGS"
12658 CFLAGS="$CFLAGS -Werror"
12659 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
12660 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
12661 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
12662 echo $ECHO_N "(cached) $ECHO_C" >&6
12664 cat >conftest.$ac_ext <<_ACEOF
12667 cat confdefs.h >>conftest.$ac_ext
12668 cat >>conftest.$ac_ext <<_ACEOF
12669 /* end confdefs.h. */
12674 int iswlower(unsigned short);
12679 rm -f conftest.$ac_objext
12680 if { (ac_try="$ac_compile"
12681 case "(($ac_try" in
12682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12683 *) ac_try_echo=$ac_try;;
12685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12686 (eval "$ac_compile") 2>conftest.er1
12688 grep -v '^ *+' conftest.er1 >conftest.err
12690 cat conftest.err >&5
12691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12692 (exit $ac_status); } && {
12693 test -z "$ac_c_werror_flag" ||
12694 test ! -s conftest.err
12695 } && test -s conftest.$ac_objext; then
12696 ac_cv_c_builtin_wchar_ctype=no
12698 echo "$as_me: failed program was:" >&5
12699 sed 's/^/| /' conftest.$ac_ext >&5
12701 ac_cv_c_builtin_wchar_ctype=yes
12704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12706 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
12707 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
12708 CFLAGS="$saved_CFLAGS"
12709 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
12711 BUILTINFLAG="-fno-builtin"
12716 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12717 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
12718 if test "${ac_cv_asm_func_def+set}" = set; then
12719 echo $ECHO_N "(cached) $ECHO_C" >&6
12721 cat >conftest.$ac_ext <<_ACEOF
12724 cat confdefs.h >>conftest.$ac_ext
12725 cat >>conftest.$ac_ext <<_ACEOF
12726 /* end confdefs.h. */
12727 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"); }
12737 rm -f conftest.$ac_objext conftest$ac_exeext
12738 if { (ac_try="$ac_link"
12739 case "(($ac_try" in
12740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12741 *) ac_try_echo=$ac_try;;
12743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12744 (eval "$ac_link") 2>conftest.er1
12746 grep -v '^ *+' conftest.er1 >conftest.err
12748 cat conftest.err >&5
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); } && {
12751 test -z "$ac_c_werror_flag" ||
12752 test ! -s conftest.err
12753 } && test -s conftest$ac_exeext &&
12754 $as_test_x conftest$ac_exeext; then
12755 ac_cv_asm_func_def=".def"
12757 echo "$as_me: failed program was:" >&5
12758 sed 's/^/| /' conftest.$ac_ext >&5
12760 cat >conftest.$ac_ext <<_ACEOF
12763 cat confdefs.h >>conftest.$ac_ext
12764 cat >>conftest.$ac_ext <<_ACEOF
12765 /* end confdefs.h. */
12766 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12776 rm -f conftest.$ac_objext conftest$ac_exeext
12777 if { (ac_try="$ac_link"
12778 case "(($ac_try" in
12779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12780 *) ac_try_echo=$ac_try;;
12782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12783 (eval "$ac_link") 2>conftest.er1
12785 grep -v '^ *+' conftest.er1 >conftest.err
12787 cat conftest.err >&5
12788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12789 (exit $ac_status); } && {
12790 test -z "$ac_c_werror_flag" ||
12791 test ! -s conftest.err
12792 } && test -s conftest$ac_exeext &&
12793 $as_test_x conftest$ac_exeext; then
12794 ac_cv_asm_func_def=".type @function"
12796 echo "$as_me: failed program was:" >&5
12797 sed 's/^/| /' conftest.$ac_ext >&5
12799 cat >conftest.$ac_ext <<_ACEOF
12802 cat confdefs.h >>conftest.$ac_ext
12803 cat >>conftest.$ac_ext <<_ACEOF
12804 /* end confdefs.h. */
12805 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12815 rm -f conftest.$ac_objext conftest$ac_exeext
12816 if { (ac_try="$ac_link"
12817 case "(($ac_try" in
12818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12819 *) ac_try_echo=$ac_try;;
12821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12822 (eval "$ac_link") 2>conftest.er1
12824 grep -v '^ *+' conftest.er1 >conftest.err
12826 cat conftest.err >&5
12827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12828 (exit $ac_status); } && {
12829 test -z "$ac_c_werror_flag" ||
12830 test ! -s conftest.err
12831 } && test -s conftest$ac_exeext &&
12832 $as_test_x conftest$ac_exeext; then
12833 ac_cv_asm_func_def=".type 2"
12835 echo "$as_me: failed program was:" >&5
12836 sed 's/^/| /' conftest.$ac_ext >&5
12838 ac_cv_asm_func_def="unknown"
12841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12842 conftest$ac_exeext conftest.$ac_ext
12845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12846 conftest$ac_exeext conftest.$ac_ext
12849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12850 conftest$ac_exeext conftest.$ac_ext
12852 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12853 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
12857 case "$ac_cv_asm_func_def" in
12859 cat >>confdefs.h <<\_ACEOF
12860 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12864 cat >>confdefs.h <<\_ACEOF
12865 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12869 cat >>confdefs.h <<\_ACEOF
12870 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12874 cat >>confdefs.h <<\_ACEOF
12875 #define __ASM_FUNC(name) ""
12881 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12882 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
12883 if test "${ac_cv_c_extern_prefix+set}" = set; then
12884 echo $ECHO_N "(cached) $ECHO_C" >&6
12886 cat >conftest.$ac_ext <<_ACEOF
12889 cat confdefs.h >>conftest.$ac_ext
12890 cat >>conftest.$ac_ext <<_ACEOF
12891 /* end confdefs.h. */
12892 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12893 extern int ac_test;
12897 if (ac_test) return 1
12902 rm -f conftest.$ac_objext conftest$ac_exeext
12903 if { (ac_try="$ac_link"
12904 case "(($ac_try" in
12905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12906 *) ac_try_echo=$ac_try;;
12908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12909 (eval "$ac_link") 2>conftest.er1
12911 grep -v '^ *+' conftest.er1 >conftest.err
12913 cat conftest.err >&5
12914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12915 (exit $ac_status); } && {
12916 test -z "$ac_c_werror_flag" ||
12917 test ! -s conftest.err
12918 } && test -s conftest$ac_exeext &&
12919 $as_test_x conftest$ac_exeext; then
12920 ac_cv_c_extern_prefix="yes"
12922 echo "$as_me: failed program was:" >&5
12923 sed 's/^/| /' conftest.$ac_ext >&5
12925 ac_cv_c_extern_prefix="no"
12928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12929 conftest$ac_exeext conftest.$ac_ext
12931 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12932 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
12936 if test "$ac_cv_c_extern_prefix" = "yes"
12938 cat >>confdefs.h <<\_ACEOF
12939 #define __ASM_NAME(name) "_" name
12943 cat >>confdefs.h <<\_ACEOF
12944 #define __ASM_NAME(name) name
12952 DLLFLAGS="-D_REENTRANT"
12967 if test -n "$ac_tool_prefix"; then
12968 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
12969 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
12970 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12972 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
12973 echo $ECHO_N "(cached) $ECHO_C" >&6
12975 if test -n "$DLLTOOL"; then
12976 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
12978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12979 for as_dir in $PATH
12982 test -z "$as_dir" && as_dir=.
12983 for ac_exec_ext in '' $ac_executable_extensions; do
12984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12985 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
12986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12995 DLLTOOL=$ac_cv_prog_DLLTOOL
12996 if test -n "$DLLTOOL"; then
12997 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
12998 echo "${ECHO_T}$DLLTOOL" >&6; }
13000 { echo "$as_me:$LINENO: result: no" >&5
13001 echo "${ECHO_T}no" >&6; }
13006 if test -z "$ac_cv_prog_DLLTOOL"; then
13007 ac_ct_DLLTOOL=$DLLTOOL
13008 # Extract the first word of "dlltool", so it can be a program name with args.
13009 set dummy dlltool; ac_word=$2
13010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13012 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13013 echo $ECHO_N "(cached) $ECHO_C" >&6
13015 if test -n "$ac_ct_DLLTOOL"; then
13016 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
13018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13019 for as_dir in $PATH
13022 test -z "$as_dir" && as_dir=.
13023 for ac_exec_ext in '' $ac_executable_extensions; do
13024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13025 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
13026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13035 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
13036 if test -n "$ac_ct_DLLTOOL"; then
13037 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13038 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
13040 { echo "$as_me:$LINENO: result: no" >&5
13041 echo "${ECHO_T}no" >&6; }
13044 if test "x$ac_ct_DLLTOOL" = x; then
13047 case $cross_compiling:$ac_tool_warned in
13049 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13050 whose name does not start with the host triplet. If you think this
13051 configuration is useful to you, please write to autoconf@gnu.org." >&5
13052 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13053 whose name does not start with the host triplet. If you think this
13054 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13055 ac_tool_warned=yes ;;
13057 DLLTOOL=$ac_ct_DLLTOOL
13060 DLLTOOL="$ac_cv_prog_DLLTOOL"
13063 if test -n "$ac_tool_prefix"; then
13064 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13065 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
13066 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13068 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13069 echo $ECHO_N "(cached) $ECHO_C" >&6
13071 if test -n "$DLLWRAP"; then
13072 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
13074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13075 for as_dir in $PATH
13078 test -z "$as_dir" && as_dir=.
13079 for ac_exec_ext in '' $ac_executable_extensions; do
13080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13081 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
13082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13091 DLLWRAP=$ac_cv_prog_DLLWRAP
13092 if test -n "$DLLWRAP"; then
13093 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13094 echo "${ECHO_T}$DLLWRAP" >&6; }
13096 { echo "$as_me:$LINENO: result: no" >&5
13097 echo "${ECHO_T}no" >&6; }
13102 if test -z "$ac_cv_prog_DLLWRAP"; then
13103 ac_ct_DLLWRAP=$DLLWRAP
13104 # Extract the first word of "dllwrap", so it can be a program name with args.
13105 set dummy dllwrap; ac_word=$2
13106 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13108 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13109 echo $ECHO_N "(cached) $ECHO_C" >&6
13111 if test -n "$ac_ct_DLLWRAP"; then
13112 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13115 for as_dir in $PATH
13118 test -z "$as_dir" && as_dir=.
13119 for ac_exec_ext in '' $ac_executable_extensions; do
13120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13121 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13131 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13132 if test -n "$ac_ct_DLLWRAP"; then
13133 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13134 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
13136 { echo "$as_me:$LINENO: result: no" >&5
13137 echo "${ECHO_T}no" >&6; }
13140 if test "x$ac_ct_DLLWRAP" = x; then
13143 case $cross_compiling:$ac_tool_warned in
13145 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13146 whose name does not start with the host triplet. If you think this
13147 configuration is useful to you, please write to autoconf@gnu.org." >&5
13148 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13149 whose name does not start with the host triplet. If you think this
13150 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13151 ac_tool_warned=yes ;;
13153 DLLWRAP=$ac_ct_DLLWRAP
13156 DLLWRAP="$ac_cv_prog_DLLWRAP"
13159 if test -n "$ac_tool_prefix"; then
13160 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13161 set dummy ${ac_tool_prefix}ar; ac_word=$2
13162 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13164 if test "${ac_cv_prog_MINGWAR+set}" = set; then
13165 echo $ECHO_N "(cached) $ECHO_C" >&6
13167 if test -n "$MINGWAR"; then
13168 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
13170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13171 for as_dir in $PATH
13174 test -z "$as_dir" && as_dir=.
13175 for ac_exec_ext in '' $ac_executable_extensions; do
13176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13177 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
13178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13187 MINGWAR=$ac_cv_prog_MINGWAR
13188 if test -n "$MINGWAR"; then
13189 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
13190 echo "${ECHO_T}$MINGWAR" >&6; }
13192 { echo "$as_me:$LINENO: result: no" >&5
13193 echo "${ECHO_T}no" >&6; }
13198 if test -z "$ac_cv_prog_MINGWAR"; then
13199 ac_ct_MINGWAR=$MINGWAR
13200 # Extract the first word of "ar", so it can be a program name with args.
13201 set dummy ar; ac_word=$2
13202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13204 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
13205 echo $ECHO_N "(cached) $ECHO_C" >&6
13207 if test -n "$ac_ct_MINGWAR"; then
13208 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
13210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13211 for as_dir in $PATH
13214 test -z "$as_dir" && as_dir=.
13215 for ac_exec_ext in '' $ac_executable_extensions; do
13216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13217 ac_cv_prog_ac_ct_MINGWAR="ar"
13218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13227 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
13228 if test -n "$ac_ct_MINGWAR"; then
13229 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
13230 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
13232 { echo "$as_me:$LINENO: result: no" >&5
13233 echo "${ECHO_T}no" >&6; }
13236 if test "x$ac_ct_MINGWAR" = x; then
13239 case $cross_compiling:$ac_tool_warned in
13241 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13242 whose name does not start with the host triplet. If you think this
13243 configuration is useful to you, please write to autoconf@gnu.org." >&5
13244 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13245 whose name does not start with the host triplet. If you think this
13246 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13247 ac_tool_warned=yes ;;
13249 MINGWAR=$ac_ct_MINGWAR
13252 MINGWAR="$ac_cv_prog_MINGWAR"
13255 if test "$DLLWRAP" = "false"; then
13267 DLLFLAGS="$DLLFLAGS -fPIC"
13268 LDDLLFLAGS="-bundle -multiply_defined suppress"
13269 LIBWINE_LDFLAGS="-multiply_defined suppress"
13270 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
13271 STRIP="$STRIP -u -r"
13272 COREFOUNDATIONLIB="-framework CoreFoundation"
13274 IOKITLIB="-framework IOKit -framework CoreFoundation"
13276 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
13278 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
13280 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
13283 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
13285 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
13290 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
13292 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
13294 CARBONLIB="-framework Carbon"
13296 QUARTZFILES='$(QUARTZFILES)'
13300 DLLFLAGS="$DLLFLAGS -fPIC"
13302 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13303 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
13304 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13305 echo $ECHO_N "(cached) $ECHO_C" >&6
13307 ac_wine_try_cflags_saved=$CFLAGS
13308 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
13309 cat >conftest.$ac_ext <<_ACEOF
13312 rm -f conftest.$ac_objext conftest$ac_exeext
13313 if { (ac_try="$ac_link"
13314 case "(($ac_try" in
13315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13316 *) ac_try_echo=$ac_try;;
13318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13319 (eval "$ac_link") 2>conftest.er1
13321 grep -v '^ *+' conftest.er1 >conftest.err
13323 cat conftest.err >&5
13324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13325 (exit $ac_status); } && {
13326 test -z "$ac_c_werror_flag" ||
13327 test ! -s conftest.err
13328 } && test -s conftest$ac_exeext &&
13329 $as_test_x conftest$ac_exeext; then
13330 ac_cv_c_dll_gnuelf="yes"
13332 echo "$as_me: failed program was:" >&5
13333 sed 's/^/| /' conftest.$ac_ext >&5
13335 ac_cv_c_dll_gnuelf="no"
13338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13339 conftest$ac_exeext conftest.$ac_ext
13340 CFLAGS=$ac_wine_try_cflags_saved
13342 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13343 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
13344 if test "$ac_cv_c_dll_gnuelf" = "yes"
13346 LDSHARED="\$(CC) -shared"
13347 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
13348 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
13349 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
13350 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
13351 echo $ECHO_N "(cached) $ECHO_C" >&6
13353 ac_wine_try_cflags_saved=$CFLAGS
13354 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
13355 cat >conftest.$ac_ext <<_ACEOF
13358 cat confdefs.h >>conftest.$ac_ext
13359 cat >>conftest.$ac_ext <<_ACEOF
13360 /* end confdefs.h. */
13370 rm -f conftest.$ac_objext conftest$ac_exeext
13371 if { (ac_try="$ac_link"
13372 case "(($ac_try" in
13373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13374 *) ac_try_echo=$ac_try;;
13376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13377 (eval "$ac_link") 2>conftest.er1
13379 grep -v '^ *+' conftest.er1 >conftest.err
13381 cat conftest.err >&5
13382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13383 (exit $ac_status); } && {
13384 test -z "$ac_c_werror_flag" ||
13385 test ! -s conftest.err
13386 } && test -s conftest$ac_exeext &&
13387 $as_test_x conftest$ac_exeext; then
13388 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
13390 echo "$as_me: failed program was:" >&5
13391 sed 's/^/| /' conftest.$ac_ext >&5
13393 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
13396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13397 conftest$ac_exeext conftest.$ac_ext
13398 CFLAGS=$ac_wine_try_cflags_saved
13400 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
13401 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
13402 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
13403 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13405 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
13406 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
13407 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
13408 echo $ECHO_N "(cached) $ECHO_C" >&6
13410 ac_wine_try_cflags_saved=$CFLAGS
13411 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
13412 cat >conftest.$ac_ext <<_ACEOF
13415 cat confdefs.h >>conftest.$ac_ext
13416 cat >>conftest.$ac_ext <<_ACEOF
13417 /* end confdefs.h. */
13427 rm -f conftest.$ac_objext conftest$ac_exeext
13428 if { (ac_try="$ac_link"
13429 case "(($ac_try" in
13430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13431 *) ac_try_echo=$ac_try;;
13433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13434 (eval "$ac_link") 2>conftest.er1
13436 grep -v '^ *+' conftest.er1 >conftest.err
13438 cat conftest.err >&5
13439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13440 (exit $ac_status); } && {
13441 test -z "$ac_c_werror_flag" ||
13442 test ! -s conftest.err
13443 } && test -s conftest$ac_exeext &&
13444 $as_test_x conftest$ac_exeext; then
13445 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
13447 echo "$as_me: failed program was:" >&5
13448 sed 's/^/| /' conftest.$ac_ext >&5
13450 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
13453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13454 conftest$ac_exeext conftest.$ac_ext
13455 CFLAGS=$ac_wine_try_cflags_saved
13457 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
13458 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
13459 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
13460 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
13466 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
13467 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
13468 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
13469 echo $ECHO_N "(cached) $ECHO_C" >&6
13471 ac_wine_try_cflags_saved=$CFLAGS
13472 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13473 cat >conftest.$ac_ext <<_ACEOF
13476 cat confdefs.h >>conftest.$ac_ext
13477 cat >>conftest.$ac_ext <<_ACEOF
13478 /* end confdefs.h. */
13488 rm -f conftest.$ac_objext conftest$ac_exeext
13489 if { (ac_try="$ac_link"
13490 case "(($ac_try" in
13491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13492 *) ac_try_echo=$ac_try;;
13494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13495 (eval "$ac_link") 2>conftest.er1
13497 grep -v '^ *+' conftest.er1 >conftest.err
13499 cat conftest.err >&5
13500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13501 (exit $ac_status); } && {
13502 test -z "$ac_c_werror_flag" ||
13503 test ! -s conftest.err
13504 } && test -s conftest$ac_exeext &&
13505 $as_test_x conftest$ac_exeext; then
13506 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
13508 echo "$as_me: failed program was:" >&5
13509 sed 's/^/| /' conftest.$ac_ext >&5
13511 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
13514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13515 conftest$ac_exeext conftest.$ac_ext
13516 CFLAGS=$ac_wine_try_cflags_saved
13518 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
13519 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
13520 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
13521 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
13525 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
13526 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
13527 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
13528 echo $ECHO_N "(cached) $ECHO_C" >&6
13530 ac_wine_try_cflags_saved=$CFLAGS
13531 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13532 cat >conftest.$ac_ext <<_ACEOF
13535 cat confdefs.h >>conftest.$ac_ext
13536 cat >>conftest.$ac_ext <<_ACEOF
13537 /* end confdefs.h. */
13547 rm -f conftest.$ac_objext conftest$ac_exeext
13548 if { (ac_try="$ac_link"
13549 case "(($ac_try" in
13550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13551 *) ac_try_echo=$ac_try;;
13553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13554 (eval "$ac_link") 2>conftest.er1
13556 grep -v '^ *+' conftest.er1 >conftest.err
13558 cat conftest.err >&5
13559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13560 (exit $ac_status); } && {
13561 test -z "$ac_c_werror_flag" ||
13562 test ! -s conftest.err
13563 } && test -s conftest$ac_exeext &&
13564 $as_test_x conftest$ac_exeext; then
13565 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
13567 echo "$as_me: failed program was:" >&5
13568 sed 's/^/| /' conftest.$ac_ext >&5
13570 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
13573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13574 conftest$ac_exeext conftest.$ac_ext
13575 CFLAGS=$ac_wine_try_cflags_saved
13577 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
13578 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
13579 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
13580 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13584 echo '{ global: *; };' >conftest.map
13585 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
13586 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
13587 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
13588 echo $ECHO_N "(cached) $ECHO_C" >&6
13590 ac_wine_try_cflags_saved=$CFLAGS
13591 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13592 cat >conftest.$ac_ext <<_ACEOF
13595 cat confdefs.h >>conftest.$ac_ext
13596 cat >>conftest.$ac_ext <<_ACEOF
13597 /* end confdefs.h. */
13607 rm -f conftest.$ac_objext conftest$ac_exeext
13608 if { (ac_try="$ac_link"
13609 case "(($ac_try" in
13610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13611 *) ac_try_echo=$ac_try;;
13613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13614 (eval "$ac_link") 2>conftest.er1
13616 grep -v '^ *+' conftest.er1 >conftest.err
13618 cat conftest.err >&5
13619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13620 (exit $ac_status); } && {
13621 test -z "$ac_c_werror_flag" ||
13622 test ! -s conftest.err
13623 } && test -s conftest$ac_exeext &&
13624 $as_test_x conftest$ac_exeext; then
13625 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
13627 echo "$as_me: failed program was:" >&5
13628 sed 's/^/| /' conftest.$ac_ext >&5
13630 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
13633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13634 conftest$ac_exeext conftest.$ac_ext
13635 CFLAGS=$ac_wine_try_cflags_saved
13637 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
13638 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
13639 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
13640 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13645 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
13646 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
13647 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
13648 echo $ECHO_N "(cached) $ECHO_C" >&6
13650 ac_wine_try_cflags_saved=$CFLAGS
13651 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13652 cat >conftest.$ac_ext <<_ACEOF
13655 cat confdefs.h >>conftest.$ac_ext
13656 cat >>conftest.$ac_ext <<_ACEOF
13657 /* end confdefs.h. */
13667 rm -f conftest.$ac_objext conftest$ac_exeext
13668 if { (ac_try="$ac_link"
13669 case "(($ac_try" in
13670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13671 *) ac_try_echo=$ac_try;;
13673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13674 (eval "$ac_link") 2>conftest.er1
13676 grep -v '^ *+' conftest.er1 >conftest.err
13678 cat conftest.err >&5
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); } && {
13681 test -z "$ac_c_werror_flag" ||
13682 test ! -s conftest.err
13683 } && test -s conftest$ac_exeext &&
13684 $as_test_x conftest$ac_exeext; then
13685 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
13687 echo "$as_me: failed program was:" >&5
13688 sed 's/^/| /' conftest.$ac_ext >&5
13690 ac_cv_cflags__fPIC__Wl___export_dynamic=no
13693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13694 conftest$ac_exeext conftest.$ac_ext
13695 CFLAGS=$ac_wine_try_cflags_saved
13697 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
13698 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
13699 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
13700 LDEXECFLAGS="-Wl,--export-dynamic"
13705 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
13706 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
13707 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
13708 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13709 echo $ECHO_N "(cached) $ECHO_C" >&6
13711 ac_wine_try_cflags_saved=$CFLAGS
13712 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
13713 cat >conftest.$ac_ext <<_ACEOF
13716 cat confdefs.h >>conftest.$ac_ext
13717 cat >>conftest.$ac_ext <<_ACEOF
13718 /* end confdefs.h. */
13728 rm -f conftest.$ac_objext conftest$ac_exeext
13729 if { (ac_try="$ac_link"
13730 case "(($ac_try" in
13731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13732 *) ac_try_echo=$ac_try;;
13734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13735 (eval "$ac_link") 2>conftest.er1
13737 grep -v '^ *+' conftest.er1 >conftest.err
13739 cat conftest.err >&5
13740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13741 (exit $ac_status); } && {
13742 test -z "$ac_c_werror_flag" ||
13743 test ! -s conftest.err
13744 } && test -s conftest$ac_exeext &&
13745 $as_test_x conftest$ac_exeext; then
13746 eval "$as_ac_var=yes"
13748 echo "$as_me: failed program was:" >&5
13749 sed 's/^/| /' conftest.$ac_ext >&5
13751 eval "$as_ac_var=no"
13754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13755 conftest$ac_exeext conftest.$ac_ext
13756 CFLAGS=$ac_wine_try_cflags_saved
13758 ac_res=`eval echo '${'$as_ac_var'}'`
13759 { echo "$as_me:$LINENO: result: $ac_res" >&5
13760 echo "${ECHO_T}$ac_res" >&6; }
13761 if test `eval echo '${'$as_ac_var'}'` = yes; then
13762 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
13767 *i[3456789]86* | x86_64)
13768 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
13769 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
13770 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
13771 echo $ECHO_N "(cached) $ECHO_C" >&6
13773 ac_wine_try_cflags_saved=$CFLAGS
13774 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
13775 cat >conftest.$ac_ext <<_ACEOF
13778 cat confdefs.h >>conftest.$ac_ext
13779 cat >>conftest.$ac_ext <<_ACEOF
13780 /* end confdefs.h. */
13790 rm -f conftest.$ac_objext conftest$ac_exeext
13791 if { (ac_try="$ac_link"
13792 case "(($ac_try" in
13793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13794 *) ac_try_echo=$ac_try;;
13796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13797 (eval "$ac_link") 2>conftest.er1
13799 grep -v '^ *+' conftest.er1 >conftest.err
13801 cat conftest.err >&5
13802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13803 (exit $ac_status); } && {
13804 test -z "$ac_c_werror_flag" ||
13805 test ! -s conftest.err
13806 } && test -s conftest$ac_exeext &&
13807 $as_test_x conftest$ac_exeext; then
13808 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
13810 echo "$as_me: failed program was:" >&5
13811 sed 's/^/| /' conftest.$ac_ext >&5
13813 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
13816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13817 conftest$ac_exeext conftest.$ac_ext
13818 CFLAGS=$ac_wine_try_cflags_saved
13820 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
13821 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
13822 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
13823 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
13830 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13831 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
13832 if test "${ac_cv_c_dll_unixware+set}" = set; then
13833 echo $ECHO_N "(cached) $ECHO_C" >&6
13835 ac_wine_try_cflags_saved=$CFLAGS
13836 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13837 cat >conftest.$ac_ext <<_ACEOF
13840 rm -f conftest.$ac_objext conftest$ac_exeext
13841 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
13849 grep -v '^ *+' conftest.er1 >conftest.err
13851 cat conftest.err >&5
13852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13853 (exit $ac_status); } && {
13854 test -z "$ac_c_werror_flag" ||
13855 test ! -s conftest.err
13856 } && test -s conftest$ac_exeext &&
13857 $as_test_x conftest$ac_exeext; then
13858 ac_cv_c_dll_unixware="yes"
13860 echo "$as_me: failed program was:" >&5
13861 sed 's/^/| /' conftest.$ac_ext >&5
13863 ac_cv_c_dll_unixware="no"
13866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13867 conftest$ac_exeext conftest.$ac_ext
13868 CFLAGS=$ac_wine_try_cflags_saved
13870 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13871 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
13872 if test "$ac_cv_c_dll_unixware" = "yes"
13874 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13875 LDDLLFLAGS="-Wl,-G,-B,symbolic"
13878 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
13879 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
13880 if test "${ac_cv_c_dll_hpux+set}" = set; then
13881 echo $ECHO_N "(cached) $ECHO_C" >&6
13883 ac_wine_try_cflags_saved=$CFLAGS
13884 CFLAGS="$CFLAGS -shared"
13885 cat >conftest.$ac_ext <<_ACEOF
13888 rm -f conftest.$ac_objext conftest$ac_exeext
13889 if { (ac_try="$ac_link"
13890 case "(($ac_try" in
13891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13892 *) ac_try_echo=$ac_try;;
13894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13895 (eval "$ac_link") 2>conftest.er1
13897 grep -v '^ *+' conftest.er1 >conftest.err
13899 cat conftest.err >&5
13900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13901 (exit $ac_status); } && {
13902 test -z "$ac_c_werror_flag" ||
13903 test ! -s conftest.err
13904 } && test -s conftest$ac_exeext &&
13905 $as_test_x conftest$ac_exeext; then
13906 ac_cv_c_dll_hpux="yes"
13908 echo "$as_me: failed program was:" >&5
13909 sed 's/^/| /' conftest.$ac_ext >&5
13911 ac_cv_c_dll_hpux="no"
13914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13915 conftest$ac_exeext conftest.$ac_ext
13916 CFLAGS=$ac_wine_try_cflags_saved
13918 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
13919 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
13920 if test "$ac_cv_c_dll_hpux" = "yes"
13924 LDDLLFLAGS="-shared -fPIC"
13925 LDSHARED="\$(CC) -shared"
13932 if test "$cross_compiling" = "no"
13934 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
13936 # Extract the first word of "$ac_prog", so it can be a program name with args.
13937 set dummy $ac_prog; ac_word=$2
13938 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13940 if test "${ac_cv_prog_CROSSCC+set}" = set; then
13941 echo $ECHO_N "(cached) $ECHO_C" >&6
13943 if test -n "$CROSSCC"; then
13944 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
13946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13947 for as_dir in $PATH
13950 test -z "$as_dir" && as_dir=.
13951 for ac_exec_ext in '' $ac_executable_extensions; do
13952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13953 ac_cv_prog_CROSSCC="$ac_prog"
13954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13963 CROSSCC=$ac_cv_prog_CROSSCC
13964 if test -n "$CROSSCC"; then
13965 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
13966 echo "${ECHO_T}$CROSSCC" >&6; }
13968 { echo "$as_me:$LINENO: result: no" >&5
13969 echo "${ECHO_T}no" >&6; }
13973 test -n "$CROSSCC" && break
13975 test -n "$CROSSCC" || CROSSCC="false"
13977 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
13979 # Extract the first word of "$ac_prog", so it can be a program name with args.
13980 set dummy $ac_prog; ac_word=$2
13981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13983 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13984 echo $ECHO_N "(cached) $ECHO_C" >&6
13986 if test -n "$DLLTOOL"; then
13987 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13990 for as_dir in $PATH
13993 test -z "$as_dir" && as_dir=.
13994 for ac_exec_ext in '' $ac_executable_extensions; do
13995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13996 ac_cv_prog_DLLTOOL="$ac_prog"
13997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14006 DLLTOOL=$ac_cv_prog_DLLTOOL
14007 if test -n "$DLLTOOL"; then
14008 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14009 echo "${ECHO_T}$DLLTOOL" >&6; }
14011 { echo "$as_me:$LINENO: result: no" >&5
14012 echo "${ECHO_T}no" >&6; }
14016 test -n "$DLLTOOL" && break
14018 test -n "$DLLTOOL" || DLLTOOL="false"
14020 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
14022 # Extract the first word of "$ac_prog", so it can be a program name with args.
14023 set dummy $ac_prog; ac_word=$2
14024 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14026 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14027 echo $ECHO_N "(cached) $ECHO_C" >&6
14029 if test -n "$CROSSWINDRES"; then
14030 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
14032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14033 for as_dir in $PATH
14036 test -z "$as_dir" && as_dir=.
14037 for ac_exec_ext in '' $ac_executable_extensions; do
14038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14039 ac_cv_prog_CROSSWINDRES="$ac_prog"
14040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14049 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14050 if test -n "$CROSSWINDRES"; then
14051 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14052 echo "${ECHO_T}$CROSSWINDRES" >&6; }
14054 { echo "$as_me:$LINENO: result: no" >&5
14055 echo "${ECHO_T}no" >&6; }
14059 test -n "$CROSSWINDRES" && break
14061 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14063 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
14065 # Extract the first word of "$ac_prog", so it can be a program name with args.
14066 set dummy $ac_prog; ac_word=$2
14067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14069 if test "${ac_cv_prog_MINGWAR+set}" = set; then
14070 echo $ECHO_N "(cached) $ECHO_C" >&6
14072 if test -n "$MINGWAR"; then
14073 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
14075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14076 for as_dir in $PATH
14079 test -z "$as_dir" && as_dir=.
14080 for ac_exec_ext in '' $ac_executable_extensions; do
14081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14082 ac_cv_prog_MINGWAR="$ac_prog"
14083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14092 MINGWAR=$ac_cv_prog_MINGWAR
14093 if test -n "$MINGWAR"; then
14094 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
14095 echo "${ECHO_T}$MINGWAR" >&6; }
14097 { echo "$as_me:$LINENO: result: no" >&5
14098 echo "${ECHO_T}no" >&6; }
14102 test -n "$MINGWAR" && break
14104 test -n "$MINGWAR" || MINGWAR="false"
14106 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14111 if test "$LIBEXT" = "a"; then
14112 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14113 It is currently not possible to build Wine without shared library
14114 (.so) support to allow transparent switch between .so and .dll files.
14115 If you are using Linux, you will need a newer binutils.
14117 echo "$as_me: error: could not find a way to build shared libraries.
14118 It is currently not possible to build Wine without shared library
14119 (.so) support to allow transparent switch between .so and .dll files.
14120 If you are using Linux, you will need a newer binutils.
14122 { (exit 1); exit 1; }; }
14127 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14130 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
14133 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14141 SOCKETLIBS="-lws2_32"
14146 MAIN_BINARY="wine-pthread"
14150 linux* | k*bsd*-gnu)
14151 MAIN_BINARY="wine-glibc"
14153 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
14160 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14162 # Extract the first word of "ldd", so it can be a program name with args.
14163 set dummy ldd; ac_word=$2
14164 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14166 if test "${ac_cv_path_LDD+set}" = set; then
14167 echo $ECHO_N "(cached) $ECHO_C" >&6
14171 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14175 as_dummy="/sbin:/usr/sbin:$PATH"
14176 for as_dir in $as_dummy
14179 test -z "$as_dir" && as_dir=.
14180 for ac_exec_ext in '' $ac_executable_extensions; do
14181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14182 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14190 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14194 LDD=$ac_cv_path_LDD
14195 if test -n "$LDD"; then
14196 { echo "$as_me:$LINENO: result: $LDD" >&5
14197 echo "${ECHO_T}$LDD" >&6; }
14199 { echo "$as_me:$LINENO: result: no" >&5
14200 echo "${ECHO_T}no" >&6; }
14204 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14205 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
14206 if test "${ac_cv_lib_soname_X11+set}" = set; then
14207 echo $ECHO_N "(cached) $ECHO_C" >&6
14209 ac_get_soname_save_LIBS=$LIBS
14210 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14211 cat >conftest.$ac_ext <<_ACEOF
14214 cat confdefs.h >>conftest.$ac_ext
14215 cat >>conftest.$ac_ext <<_ACEOF
14216 /* end confdefs.h. */
14218 /* Override any GCC internal prototype to avoid an error.
14219 Use char because int might match the return type of a GCC
14220 builtin and then its argument prototype would still apply. */
14224 char XCreateWindow ();
14228 return XCreateWindow ();
14233 rm -f conftest.$ac_objext conftest$ac_exeext
14234 if { (ac_try="$ac_link"
14235 case "(($ac_try" in
14236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14237 *) ac_try_echo=$ac_try;;
14239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14240 (eval "$ac_link") 2>conftest.er1
14242 grep -v '^ *+' conftest.er1 >conftest.err
14244 cat conftest.err >&5
14245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14246 (exit $ac_status); } && {
14247 test -z "$ac_c_werror_flag" ||
14248 test ! -s conftest.err
14249 } && test -s conftest$ac_exeext &&
14250 $as_test_x conftest$ac_exeext; then
14252 dylib) ac_cv_lib_soname_X11=`otool -L conftest$ac_exeext | grep libX11\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libX11\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14253 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14255 if test "x$ac_cv_lib_soname_X11" = "x"
14257 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14260 echo "$as_me: failed program was:" >&5
14261 sed 's/^/| /' conftest.$ac_ext >&5
14263 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14267 conftest$ac_exeext conftest.$ac_ext
14268 LIBS=$ac_get_soname_save_LIBS
14270 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14271 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
14272 if test "${ac_cv_lib_soname_X11+set}" = set; then
14274 cat >>confdefs.h <<_ACEOF
14275 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14280 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
14281 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
14282 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14283 echo $ECHO_N "(cached) $ECHO_C" >&6
14285 ac_get_soname_save_LIBS=$LIBS
14286 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14287 cat >conftest.$ac_ext <<_ACEOF
14290 cat confdefs.h >>conftest.$ac_ext
14291 cat >>conftest.$ac_ext <<_ACEOF
14292 /* end confdefs.h. */
14294 /* Override any GCC internal prototype to avoid an error.
14295 Use char because int might match the return type of a GCC
14296 builtin and then its argument prototype would still apply. */
14300 char XextCreateExtension ();
14304 return XextCreateExtension ();
14309 rm -f conftest.$ac_objext conftest$ac_exeext
14310 if { (ac_try="$ac_link"
14311 case "(($ac_try" in
14312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14313 *) ac_try_echo=$ac_try;;
14315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14316 (eval "$ac_link") 2>conftest.er1
14318 grep -v '^ *+' conftest.er1 >conftest.err
14320 cat conftest.err >&5
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); } && {
14323 test -z "$ac_c_werror_flag" ||
14324 test ! -s conftest.err
14325 } && test -s conftest$ac_exeext &&
14326 $as_test_x conftest$ac_exeext; then
14328 dylib) ac_cv_lib_soname_Xext=`otool -L conftest$ac_exeext | grep libXext\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXext\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14329 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14331 if test "x$ac_cv_lib_soname_Xext" = "x"
14333 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14336 echo "$as_me: failed program was:" >&5
14337 sed 's/^/| /' conftest.$ac_ext >&5
14339 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14343 conftest$ac_exeext conftest.$ac_ext
14344 LIBS=$ac_get_soname_save_LIBS
14346 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14347 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
14348 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14350 cat >>confdefs.h <<_ACEOF
14351 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14356 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
14357 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
14358 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14359 echo $ECHO_N "(cached) $ECHO_C" >&6
14361 ac_get_soname_save_LIBS=$LIBS
14362 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14363 cat >conftest.$ac_ext <<_ACEOF
14366 cat confdefs.h >>conftest.$ac_ext
14367 cat >>conftest.$ac_ext <<_ACEOF
14368 /* end confdefs.h. */
14370 /* Override any GCC internal prototype to avoid an error.
14371 Use char because int might match the return type of a GCC
14372 builtin and then its argument prototype would still apply. */
14376 char XOpenDevice ();
14380 return XOpenDevice ();
14385 rm -f conftest.$ac_objext conftest$ac_exeext
14386 if { (ac_try="$ac_link"
14387 case "(($ac_try" in
14388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14389 *) ac_try_echo=$ac_try;;
14391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14392 (eval "$ac_link") 2>conftest.er1
14394 grep -v '^ *+' conftest.er1 >conftest.err
14396 cat conftest.err >&5
14397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14398 (exit $ac_status); } && {
14399 test -z "$ac_c_werror_flag" ||
14400 test ! -s conftest.err
14401 } && test -s conftest$ac_exeext &&
14402 $as_test_x conftest$ac_exeext; then
14404 dylib) ac_cv_lib_soname_Xi=`otool -L conftest$ac_exeext | grep libXi\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14405 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14407 if test "x$ac_cv_lib_soname_Xi" = "x"
14409 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14412 echo "$as_me: failed program was:" >&5
14413 sed 's/^/| /' conftest.$ac_ext >&5
14415 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14419 conftest$ac_exeext conftest.$ac_ext
14420 LIBS=$ac_get_soname_save_LIBS
14422 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14423 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
14424 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14426 cat >>confdefs.h <<_ACEOF
14427 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14432 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
14433 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
14434 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14435 echo $ECHO_N "(cached) $ECHO_C" >&6
14437 ac_get_soname_save_LIBS=$LIBS
14438 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14439 cat >conftest.$ac_ext <<_ACEOF
14442 cat confdefs.h >>conftest.$ac_ext
14443 cat >>conftest.$ac_ext <<_ACEOF
14444 /* end confdefs.h. */
14446 /* Override any GCC internal prototype to avoid an error.
14447 Use char because int might match the return type of a GCC
14448 builtin and then its argument prototype would still apply. */
14452 char XineramaQueryScreens ();
14456 return XineramaQueryScreens ();
14461 rm -f conftest.$ac_objext conftest$ac_exeext
14462 if { (ac_try="$ac_link"
14463 case "(($ac_try" in
14464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14465 *) ac_try_echo=$ac_try;;
14467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14468 (eval "$ac_link") 2>conftest.er1
14470 grep -v '^ *+' conftest.er1 >conftest.err
14472 cat conftest.err >&5
14473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14474 (exit $ac_status); } && {
14475 test -z "$ac_c_werror_flag" ||
14476 test ! -s conftest.err
14477 } && test -s conftest$ac_exeext &&
14478 $as_test_x conftest$ac_exeext; then
14480 dylib) ac_cv_lib_soname_Xinerama=`otool -L conftest$ac_exeext | grep libXinerama\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXinerama\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14481 so) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep libXinerama\\.so | sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14483 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14485 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14488 echo "$as_me: failed program was:" >&5
14489 sed 's/^/| /' conftest.$ac_ext >&5
14491 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14495 conftest$ac_exeext conftest.$ac_ext
14496 LIBS=$ac_get_soname_save_LIBS
14498 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
14499 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
14500 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14502 cat >>confdefs.h <<_ACEOF
14503 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
14508 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14509 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
14510 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14511 echo $ECHO_N "(cached) $ECHO_C" >&6
14513 ac_get_soname_save_LIBS=$LIBS
14514 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14515 cat >conftest.$ac_ext <<_ACEOF
14518 cat confdefs.h >>conftest.$ac_ext
14519 cat >>conftest.$ac_ext <<_ACEOF
14520 /* end confdefs.h. */
14522 /* Override any GCC internal prototype to avoid an error.
14523 Use char because int might match the return type of a GCC
14524 builtin and then its argument prototype would still apply. */
14528 char XRenderQueryExtension ();
14532 return XRenderQueryExtension ();
14537 rm -f conftest.$ac_objext conftest$ac_exeext
14538 if { (ac_try="$ac_link"
14539 case "(($ac_try" in
14540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14541 *) ac_try_echo=$ac_try;;
14543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14544 (eval "$ac_link") 2>conftest.er1
14546 grep -v '^ *+' conftest.er1 >conftest.err
14548 cat conftest.err >&5
14549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14550 (exit $ac_status); } && {
14551 test -z "$ac_c_werror_flag" ||
14552 test ! -s conftest.err
14553 } && test -s conftest$ac_exeext &&
14554 $as_test_x conftest$ac_exeext; then
14556 dylib) ac_cv_lib_soname_Xrender=`otool -L conftest$ac_exeext | grep libXrender\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXrender\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14557 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14559 if test "x$ac_cv_lib_soname_Xrender" = "x"
14561 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14564 echo "$as_me: failed program was:" >&5
14565 sed 's/^/| /' conftest.$ac_ext >&5
14567 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14571 conftest$ac_exeext conftest.$ac_ext
14572 LIBS=$ac_get_soname_save_LIBS
14574 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14575 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
14576 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14578 cat >>confdefs.h <<_ACEOF
14579 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14584 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14585 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
14586 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14587 echo $ECHO_N "(cached) $ECHO_C" >&6
14589 ac_get_soname_save_LIBS=$LIBS
14590 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14591 cat >conftest.$ac_ext <<_ACEOF
14594 cat confdefs.h >>conftest.$ac_ext
14595 cat >>conftest.$ac_ext <<_ACEOF
14596 /* end confdefs.h. */
14598 /* Override any GCC internal prototype to avoid an error.
14599 Use char because int might match the return type of a GCC
14600 builtin and then its argument prototype would still apply. */
14604 char XRRQueryExtension ();
14608 return XRRQueryExtension ();
14613 rm -f conftest.$ac_objext conftest$ac_exeext
14614 if { (ac_try="$ac_link"
14615 case "(($ac_try" in
14616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14617 *) ac_try_echo=$ac_try;;
14619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14620 (eval "$ac_link") 2>conftest.er1
14622 grep -v '^ *+' conftest.er1 >conftest.err
14624 cat conftest.err >&5
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); } && {
14627 test -z "$ac_c_werror_flag" ||
14628 test ! -s conftest.err
14629 } && test -s conftest$ac_exeext &&
14630 $as_test_x conftest$ac_exeext; then
14632 dylib) ac_cv_lib_soname_Xrandr=`otool -L conftest$ac_exeext | grep libXrandr\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXrandr\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14633 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14635 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14637 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14640 echo "$as_me: failed program was:" >&5
14641 sed 's/^/| /' conftest.$ac_ext >&5
14643 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14647 conftest$ac_exeext conftest.$ac_ext
14648 LIBS=$ac_get_soname_save_LIBS
14650 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14651 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
14652 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14654 cat >>confdefs.h <<_ACEOF
14655 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14660 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14661 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
14662 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14663 echo $ECHO_N "(cached) $ECHO_C" >&6
14665 ac_get_soname_save_LIBS=$LIBS
14666 LIBS="-lfreetype $X_LIBS $LIBS"
14667 cat >conftest.$ac_ext <<_ACEOF
14670 cat confdefs.h >>conftest.$ac_ext
14671 cat >>conftest.$ac_ext <<_ACEOF
14672 /* end confdefs.h. */
14674 /* Override any GCC internal prototype to avoid an error.
14675 Use char because int might match the return type of a GCC
14676 builtin and then its argument prototype would still apply. */
14680 char FT_Init_FreeType ();
14684 return FT_Init_FreeType ();
14689 rm -f conftest.$ac_objext conftest$ac_exeext
14690 if { (ac_try="$ac_link"
14691 case "(($ac_try" in
14692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14693 *) ac_try_echo=$ac_try;;
14695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14696 (eval "$ac_link") 2>conftest.er1
14698 grep -v '^ *+' conftest.er1 >conftest.err
14700 cat conftest.err >&5
14701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14702 (exit $ac_status); } && {
14703 test -z "$ac_c_werror_flag" ||
14704 test ! -s conftest.err
14705 } && test -s conftest$ac_exeext &&
14706 $as_test_x conftest$ac_exeext; then
14708 dylib) ac_cv_lib_soname_freetype=`otool -L conftest$ac_exeext | grep libfreetype\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libfreetype\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14709 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14711 if test "x$ac_cv_lib_soname_freetype" = "x"
14713 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14716 echo "$as_me: failed program was:" >&5
14717 sed 's/^/| /' conftest.$ac_ext >&5
14719 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14723 conftest$ac_exeext conftest.$ac_ext
14724 LIBS=$ac_get_soname_save_LIBS
14726 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14727 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
14728 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14730 cat >>confdefs.h <<_ACEOF
14731 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14736 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
14737 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
14738 if test "${ac_cv_lib_soname_GL+set}" = set; then
14739 echo $ECHO_N "(cached) $ECHO_C" >&6
14741 ac_get_soname_save_LIBS=$LIBS
14742 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14743 cat >conftest.$ac_ext <<_ACEOF
14746 cat confdefs.h >>conftest.$ac_ext
14747 cat >>conftest.$ac_ext <<_ACEOF
14748 /* end confdefs.h. */
14750 /* Override any GCC internal prototype to avoid an error.
14751 Use char because int might match the return type of a GCC
14752 builtin and then its argument prototype would still apply. */
14756 char glXQueryExtension ();
14760 return glXQueryExtension ();
14765 rm -f conftest.$ac_objext conftest$ac_exeext
14766 if { (ac_try="$ac_link"
14767 case "(($ac_try" in
14768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14769 *) ac_try_echo=$ac_try;;
14771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14772 (eval "$ac_link") 2>conftest.er1
14774 grep -v '^ *+' conftest.er1 >conftest.err
14776 cat conftest.err >&5
14777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14778 (exit $ac_status); } && {
14779 test -z "$ac_c_werror_flag" ||
14780 test ! -s conftest.err
14781 } && test -s conftest$ac_exeext &&
14782 $as_test_x conftest$ac_exeext; then
14784 dylib) ac_cv_lib_soname_GL=`otool -L conftest$ac_exeext | grep libGL\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14785 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14787 if test "x$ac_cv_lib_soname_GL" = "x"
14789 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14792 echo "$as_me: failed program was:" >&5
14793 sed 's/^/| /' conftest.$ac_ext >&5
14795 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14799 conftest$ac_exeext conftest.$ac_ext
14800 LIBS=$ac_get_soname_save_LIBS
14802 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14803 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
14804 if test "${ac_cv_lib_soname_GL+set}" = set; then
14806 cat >>confdefs.h <<_ACEOF
14807 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14812 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
14813 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
14814 if test "${ac_cv_lib_soname_hal+set}" = set; then
14815 echo $ECHO_N "(cached) $ECHO_C" >&6
14817 ac_get_soname_save_LIBS=$LIBS
14819 cat >conftest.$ac_ext <<_ACEOF
14822 cat confdefs.h >>conftest.$ac_ext
14823 cat >>conftest.$ac_ext <<_ACEOF
14824 /* end confdefs.h. */
14826 /* Override any GCC internal prototype to avoid an error.
14827 Use char because int might match the return type of a GCC
14828 builtin and then its argument prototype would still apply. */
14832 char libhal_ctx_new ();
14836 return libhal_ctx_new ();
14841 rm -f conftest.$ac_objext conftest$ac_exeext
14842 if { (ac_try="$ac_link"
14843 case "(($ac_try" in
14844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14845 *) ac_try_echo=$ac_try;;
14847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14848 (eval "$ac_link") 2>conftest.er1
14850 grep -v '^ *+' conftest.er1 >conftest.err
14852 cat conftest.err >&5
14853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14854 (exit $ac_status); } && {
14855 test -z "$ac_c_werror_flag" ||
14856 test ! -s conftest.err
14857 } && test -s conftest$ac_exeext &&
14858 $as_test_x conftest$ac_exeext; then
14860 dylib) ac_cv_lib_soname_hal=`otool -L conftest$ac_exeext | grep libhal\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libhal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14861 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14863 if test "x$ac_cv_lib_soname_hal" = "x"
14865 ac_cv_lib_soname_hal="libhal.$LIBEXT"
14868 echo "$as_me: failed program was:" >&5
14869 sed 's/^/| /' conftest.$ac_ext >&5
14871 ac_cv_lib_soname_hal="libhal.$LIBEXT"
14874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14875 conftest$ac_exeext conftest.$ac_ext
14876 LIBS=$ac_get_soname_save_LIBS
14878 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
14879 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
14880 if test "${ac_cv_lib_soname_hal+set}" = set; then
14882 cat >>confdefs.h <<_ACEOF
14883 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
14888 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
14889 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
14890 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14891 echo $ECHO_N "(cached) $ECHO_C" >&6
14893 ac_get_soname_save_LIBS=$LIBS
14894 LIBS="-ltxc_dxtn $LIBS"
14895 cat >conftest.$ac_ext <<_ACEOF
14898 cat confdefs.h >>conftest.$ac_ext
14899 cat >>conftest.$ac_ext <<_ACEOF
14900 /* end confdefs.h. */
14902 /* Override any GCC internal prototype to avoid an error.
14903 Use char because int might match the return type of a GCC
14904 builtin and then its argument prototype would still apply. */
14908 char fetch_2d_texel_rgba_dxt1 ();
14912 return fetch_2d_texel_rgba_dxt1 ();
14917 rm -f conftest.$ac_objext conftest$ac_exeext
14918 if { (ac_try="$ac_link"
14919 case "(($ac_try" in
14920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14921 *) ac_try_echo=$ac_try;;
14923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14924 (eval "$ac_link") 2>conftest.er1
14926 grep -v '^ *+' conftest.er1 >conftest.err
14928 cat conftest.err >&5
14929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14930 (exit $ac_status); } && {
14931 test -z "$ac_c_werror_flag" ||
14932 test ! -s conftest.err
14933 } && test -s conftest$ac_exeext &&
14934 $as_test_x conftest$ac_exeext; then
14936 dylib) ac_cv_lib_soname_txc_dxtn=`otool -L conftest$ac_exeext | grep libtxc_dxtn\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libtxc_dxtn\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14937 so) ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.so | sed -e "s/^.*\(libtxc_dxtn\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14939 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
14941 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
14944 echo "$as_me: failed program was:" >&5
14945 sed 's/^/| /' conftest.$ac_ext >&5
14947 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
14950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14951 conftest$ac_exeext conftest.$ac_ext
14952 LIBS=$ac_get_soname_save_LIBS
14954 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
14955 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
14956 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14958 cat >>confdefs.h <<_ACEOF
14959 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
14964 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
14965 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
14966 if test "${ac_cv_lib_soname_cups+set}" = set; then
14967 echo $ECHO_N "(cached) $ECHO_C" >&6
14969 ac_get_soname_save_LIBS=$LIBS
14970 LIBS="-lcups $LIBS"
14971 cat >conftest.$ac_ext <<_ACEOF
14974 cat confdefs.h >>conftest.$ac_ext
14975 cat >>conftest.$ac_ext <<_ACEOF
14976 /* end confdefs.h. */
14978 /* Override any GCC internal prototype to avoid an error.
14979 Use char because int might match the return type of a GCC
14980 builtin and then its argument prototype would still apply. */
14984 char cupsGetDefault ();
14988 return cupsGetDefault ();
14993 rm -f conftest.$ac_objext conftest$ac_exeext
14994 if { (ac_try="$ac_link"
14995 case "(($ac_try" in
14996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14997 *) ac_try_echo=$ac_try;;
14999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15000 (eval "$ac_link") 2>conftest.er1
15002 grep -v '^ *+' conftest.er1 >conftest.err
15004 cat conftest.err >&5
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); } && {
15007 test -z "$ac_c_werror_flag" ||
15008 test ! -s conftest.err
15009 } && test -s conftest$ac_exeext &&
15010 $as_test_x conftest$ac_exeext; then
15012 dylib) ac_cv_lib_soname_cups=`otool -L conftest$ac_exeext | grep libcups\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libcups\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15013 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15015 if test "x$ac_cv_lib_soname_cups" = "x"
15017 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15020 echo "$as_me: failed program was:" >&5
15021 sed 's/^/| /' conftest.$ac_ext >&5
15023 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15027 conftest$ac_exeext conftest.$ac_ext
15028 LIBS=$ac_get_soname_save_LIBS
15030 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15031 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15032 if test "${ac_cv_lib_soname_cups+set}" = set; then
15034 cat >>confdefs.h <<_ACEOF
15035 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15040 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
15041 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
15042 if test "${ac_cv_lib_soname_jack+set}" = set; then
15043 echo $ECHO_N "(cached) $ECHO_C" >&6
15045 ac_get_soname_save_LIBS=$LIBS
15046 LIBS="-ljack $LIBS"
15047 cat >conftest.$ac_ext <<_ACEOF
15050 cat confdefs.h >>conftest.$ac_ext
15051 cat >>conftest.$ac_ext <<_ACEOF
15052 /* end confdefs.h. */
15054 /* Override any GCC internal prototype to avoid an error.
15055 Use char because int might match the return type of a GCC
15056 builtin and then its argument prototype would still apply. */
15060 char jack_client_new ();
15064 return jack_client_new ();
15069 rm -f conftest.$ac_objext conftest$ac_exeext
15070 if { (ac_try="$ac_link"
15071 case "(($ac_try" in
15072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15073 *) ac_try_echo=$ac_try;;
15075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15076 (eval "$ac_link") 2>conftest.er1
15078 grep -v '^ *+' conftest.er1 >conftest.err
15080 cat conftest.err >&5
15081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15082 (exit $ac_status); } && {
15083 test -z "$ac_c_werror_flag" ||
15084 test ! -s conftest.err
15085 } && test -s conftest$ac_exeext &&
15086 $as_test_x conftest$ac_exeext; then
15088 dylib) ac_cv_lib_soname_jack=`otool -L conftest$ac_exeext | grep libjack\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libjack\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15089 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15091 if test "x$ac_cv_lib_soname_jack" = "x"
15093 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15096 echo "$as_me: failed program was:" >&5
15097 sed 's/^/| /' conftest.$ac_ext >&5
15099 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15103 conftest$ac_exeext conftest.$ac_ext
15104 LIBS=$ac_get_soname_save_LIBS
15106 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15107 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15108 if test "${ac_cv_lib_soname_jack+set}" = set; then
15110 cat >>confdefs.h <<_ACEOF
15111 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15116 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15117 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
15118 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15119 echo $ECHO_N "(cached) $ECHO_C" >&6
15121 ac_get_soname_save_LIBS=$LIBS
15122 LIBS="-lfontconfig $LIBS"
15123 cat >conftest.$ac_ext <<_ACEOF
15126 cat confdefs.h >>conftest.$ac_ext
15127 cat >>conftest.$ac_ext <<_ACEOF
15128 /* end confdefs.h. */
15130 /* Override any GCC internal prototype to avoid an error.
15131 Use char because int might match the return type of a GCC
15132 builtin and then its argument prototype would still apply. */
15145 rm -f conftest.$ac_objext conftest$ac_exeext
15146 if { (ac_try="$ac_link"
15147 case "(($ac_try" in
15148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15149 *) ac_try_echo=$ac_try;;
15151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15152 (eval "$ac_link") 2>conftest.er1
15154 grep -v '^ *+' conftest.er1 >conftest.err
15156 cat conftest.err >&5
15157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15158 (exit $ac_status); } && {
15159 test -z "$ac_c_werror_flag" ||
15160 test ! -s conftest.err
15161 } && test -s conftest$ac_exeext &&
15162 $as_test_x conftest$ac_exeext; then
15164 dylib) ac_cv_lib_soname_fontconfig=`otool -L conftest$ac_exeext | grep libfontconfig\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libfontconfig\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15165 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15167 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15169 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15172 echo "$as_me: failed program was:" >&5
15173 sed 's/^/| /' conftest.$ac_ext >&5
15175 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15179 conftest$ac_exeext conftest.$ac_ext
15180 LIBS=$ac_get_soname_save_LIBS
15182 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15183 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15184 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15186 cat >>confdefs.h <<_ACEOF
15187 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15192 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
15193 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
15194 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15195 echo $ECHO_N "(cached) $ECHO_C" >&6
15197 ac_get_soname_save_LIBS=$LIBS
15199 cat >conftest.$ac_ext <<_ACEOF
15202 cat confdefs.h >>conftest.$ac_ext
15203 cat >>conftest.$ac_ext <<_ACEOF
15204 /* end confdefs.h. */
15206 /* Override any GCC internal prototype to avoid an error.
15207 Use char because int might match the return type of a GCC
15208 builtin and then its argument prototype would still apply. */
15212 char SSL_library_init ();
15216 return SSL_library_init ();
15221 rm -f conftest.$ac_objext conftest$ac_exeext
15222 if { (ac_try="$ac_link"
15223 case "(($ac_try" in
15224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15225 *) ac_try_echo=$ac_try;;
15227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15228 (eval "$ac_link") 2>conftest.er1
15230 grep -v '^ *+' conftest.er1 >conftest.err
15232 cat conftest.err >&5
15233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15234 (exit $ac_status); } && {
15235 test -z "$ac_c_werror_flag" ||
15236 test ! -s conftest.err
15237 } && test -s conftest$ac_exeext &&
15238 $as_test_x conftest$ac_exeext; then
15240 dylib) ac_cv_lib_soname_ssl=`otool -L conftest$ac_exeext | grep libssl\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libssl\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15241 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15243 if test "x$ac_cv_lib_soname_ssl" = "x"
15245 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15248 echo "$as_me: failed program was:" >&5
15249 sed 's/^/| /' conftest.$ac_ext >&5
15251 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15255 conftest$ac_exeext conftest.$ac_ext
15256 LIBS=$ac_get_soname_save_LIBS
15258 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15259 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15260 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15262 cat >>confdefs.h <<_ACEOF
15263 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15268 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15269 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
15270 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15271 echo $ECHO_N "(cached) $ECHO_C" >&6
15273 ac_get_soname_save_LIBS=$LIBS
15274 LIBS="-lcrypto $LIBS"
15275 cat >conftest.$ac_ext <<_ACEOF
15278 cat confdefs.h >>conftest.$ac_ext
15279 cat >>conftest.$ac_ext <<_ACEOF
15280 /* end confdefs.h. */
15282 /* Override any GCC internal prototype to avoid an error.
15283 Use char because int might match the return type of a GCC
15284 builtin and then its argument prototype would still apply. */
15288 char BIO_new_socket ();
15292 return BIO_new_socket ();
15297 rm -f conftest.$ac_objext conftest$ac_exeext
15298 if { (ac_try="$ac_link"
15299 case "(($ac_try" in
15300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15301 *) ac_try_echo=$ac_try;;
15303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15304 (eval "$ac_link") 2>conftest.er1
15306 grep -v '^ *+' conftest.er1 >conftest.err
15308 cat conftest.err >&5
15309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15310 (exit $ac_status); } && {
15311 test -z "$ac_c_werror_flag" ||
15312 test ! -s conftest.err
15313 } && test -s conftest$ac_exeext &&
15314 $as_test_x conftest$ac_exeext; then
15316 dylib) ac_cv_lib_soname_crypto=`otool -L conftest$ac_exeext | grep libcrypto\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libcrypto\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15317 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15319 if test "x$ac_cv_lib_soname_crypto" = "x"
15321 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15324 echo "$as_me: failed program was:" >&5
15325 sed 's/^/| /' conftest.$ac_ext >&5
15327 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15331 conftest$ac_exeext conftest.$ac_ext
15332 LIBS=$ac_get_soname_save_LIBS
15334 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15335 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15336 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15338 cat >>confdefs.h <<_ACEOF
15339 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15344 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15345 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
15346 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15347 echo $ECHO_N "(cached) $ECHO_C" >&6
15349 ac_get_soname_save_LIBS=$LIBS
15350 LIBS="-lncurses $LIBS"
15351 cat >conftest.$ac_ext <<_ACEOF
15354 cat confdefs.h >>conftest.$ac_ext
15355 cat >>conftest.$ac_ext <<_ACEOF
15356 /* end confdefs.h. */
15358 /* Override any GCC internal prototype to avoid an error.
15359 Use char because int might match the return type of a GCC
15360 builtin and then its argument prototype would still apply. */
15373 rm -f conftest.$ac_objext conftest$ac_exeext
15374 if { (ac_try="$ac_link"
15375 case "(($ac_try" in
15376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15377 *) ac_try_echo=$ac_try;;
15379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15380 (eval "$ac_link") 2>conftest.er1
15382 grep -v '^ *+' conftest.er1 >conftest.err
15384 cat conftest.err >&5
15385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15386 (exit $ac_status); } && {
15387 test -z "$ac_c_werror_flag" ||
15388 test ! -s conftest.err
15389 } && test -s conftest$ac_exeext &&
15390 $as_test_x conftest$ac_exeext; then
15392 dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep libncurses\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15393 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15395 if test "x$ac_cv_lib_soname_ncurses" = "x"
15397 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15400 echo "$as_me: failed program was:" >&5
15401 sed 's/^/| /' conftest.$ac_ext >&5
15403 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15407 conftest$ac_exeext conftest.$ac_ext
15408 LIBS=$ac_get_soname_save_LIBS
15410 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15411 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
15412 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15414 cat >>confdefs.h <<_ACEOF
15415 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15420 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15421 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
15422 if test "${ac_cv_lib_soname_curses+set}" = set; then
15423 echo $ECHO_N "(cached) $ECHO_C" >&6
15425 ac_get_soname_save_LIBS=$LIBS
15426 LIBS="-lcurses $LIBS"
15427 cat >conftest.$ac_ext <<_ACEOF
15430 cat confdefs.h >>conftest.$ac_ext
15431 cat >>conftest.$ac_ext <<_ACEOF
15432 /* end confdefs.h. */
15434 /* Override any GCC internal prototype to avoid an error.
15435 Use char because int might match the return type of a GCC
15436 builtin and then its argument prototype would still apply. */
15449 rm -f conftest.$ac_objext conftest$ac_exeext
15450 if { (ac_try="$ac_link"
15451 case "(($ac_try" in
15452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15453 *) ac_try_echo=$ac_try;;
15455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15456 (eval "$ac_link") 2>conftest.er1
15458 grep -v '^ *+' conftest.er1 >conftest.err
15460 cat conftest.err >&5
15461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15462 (exit $ac_status); } && {
15463 test -z "$ac_c_werror_flag" ||
15464 test ! -s conftest.err
15465 } && test -s conftest$ac_exeext &&
15466 $as_test_x conftest$ac_exeext; then
15468 dylib) ac_cv_lib_soname_curses=`otool -L conftest$ac_exeext | grep libcurses\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libcurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15469 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15471 if test "x$ac_cv_lib_soname_curses" = "x"
15473 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15476 echo "$as_me: failed program was:" >&5
15477 sed 's/^/| /' conftest.$ac_ext >&5
15479 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15483 conftest$ac_exeext conftest.$ac_ext
15484 LIBS=$ac_get_soname_save_LIBS
15486 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15487 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
15488 if test "${ac_cv_lib_soname_curses+set}" = set; then
15490 cat >>confdefs.h <<_ACEOF
15491 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15496 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15497 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
15498 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15499 echo $ECHO_N "(cached) $ECHO_C" >&6
15501 ac_get_soname_save_LIBS=$LIBS
15502 LIBS="-ljpeg $LIBS"
15503 cat >conftest.$ac_ext <<_ACEOF
15506 cat confdefs.h >>conftest.$ac_ext
15507 cat >>conftest.$ac_ext <<_ACEOF
15508 /* end confdefs.h. */
15510 /* Override any GCC internal prototype to avoid an error.
15511 Use char because int might match the return type of a GCC
15512 builtin and then its argument prototype would still apply. */
15516 char jpeg_start_decompress ();
15520 return jpeg_start_decompress ();
15525 rm -f conftest.$ac_objext conftest$ac_exeext
15526 if { (ac_try="$ac_link"
15527 case "(($ac_try" in
15528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15529 *) ac_try_echo=$ac_try;;
15531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15532 (eval "$ac_link") 2>conftest.er1
15534 grep -v '^ *+' conftest.er1 >conftest.err
15536 cat conftest.err >&5
15537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15538 (exit $ac_status); } && {
15539 test -z "$ac_c_werror_flag" ||
15540 test ! -s conftest.err
15541 } && test -s conftest$ac_exeext &&
15542 $as_test_x conftest$ac_exeext; then
15544 dylib) ac_cv_lib_soname_jpeg=`otool -L conftest$ac_exeext | grep libjpeg\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libjpeg\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15545 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15547 if test "x$ac_cv_lib_soname_jpeg" = "x"
15549 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15552 echo "$as_me: failed program was:" >&5
15553 sed 's/^/| /' conftest.$ac_ext >&5
15555 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15559 conftest$ac_exeext conftest.$ac_ext
15560 LIBS=$ac_get_soname_save_LIBS
15562 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15563 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15564 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15566 cat >>confdefs.h <<_ACEOF
15567 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15572 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15573 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
15574 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15575 echo $ECHO_N "(cached) $ECHO_C" >&6
15577 ac_get_soname_save_LIBS=$LIBS
15578 LIBS="-lcapi20 $LIBS"
15579 cat >conftest.$ac_ext <<_ACEOF
15582 cat confdefs.h >>conftest.$ac_ext
15583 cat >>conftest.$ac_ext <<_ACEOF
15584 /* end confdefs.h. */
15586 /* Override any GCC internal prototype to avoid an error.
15587 Use char because int might match the return type of a GCC
15588 builtin and then its argument prototype would still apply. */
15592 char capi20_isinstalled ();
15596 return capi20_isinstalled ();
15601 rm -f conftest.$ac_objext conftest$ac_exeext
15602 if { (ac_try="$ac_link"
15603 case "(($ac_try" in
15604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15605 *) ac_try_echo=$ac_try;;
15607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15608 (eval "$ac_link") 2>conftest.er1
15610 grep -v '^ *+' conftest.er1 >conftest.err
15612 cat conftest.err >&5
15613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15614 (exit $ac_status); } && {
15615 test -z "$ac_c_werror_flag" ||
15616 test ! -s conftest.err
15617 } && test -s conftest$ac_exeext &&
15618 $as_test_x conftest$ac_exeext; then
15620 dylib) ac_cv_lib_soname_capi20=`otool -L conftest$ac_exeext | grep libcapi20\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libcapi20\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15621 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15623 if test "x$ac_cv_lib_soname_capi20" = "x"
15625 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15628 echo "$as_me: failed program was:" >&5
15629 sed 's/^/| /' conftest.$ac_ext >&5
15631 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15635 conftest$ac_exeext conftest.$ac_ext
15636 LIBS=$ac_get_soname_save_LIBS
15638 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15639 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15640 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15642 cat >>confdefs.h <<_ACEOF
15643 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15648 { echo "$as_me:$LINENO: checking for -lsane soname" >&5
15649 echo $ECHO_N "checking for -lsane soname... $ECHO_C" >&6; }
15650 if test "${ac_cv_lib_soname_sane+set}" = set; then
15651 echo $ECHO_N "(cached) $ECHO_C" >&6
15653 ac_get_soname_save_LIBS=$LIBS
15654 LIBS="-lsane $LIBS"
15655 cat >conftest.$ac_ext <<_ACEOF
15658 cat confdefs.h >>conftest.$ac_ext
15659 cat >>conftest.$ac_ext <<_ACEOF
15660 /* end confdefs.h. */
15662 /* Override any GCC internal prototype to avoid an error.
15663 Use char because int might match the return type of a GCC
15664 builtin and then its argument prototype would still apply. */
15672 return sane_init ();
15677 rm -f conftest.$ac_objext conftest$ac_exeext
15678 if { (ac_try="$ac_link"
15679 case "(($ac_try" in
15680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15681 *) ac_try_echo=$ac_try;;
15683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15684 (eval "$ac_link") 2>conftest.er1
15686 grep -v '^ *+' conftest.er1 >conftest.err
15688 cat conftest.err >&5
15689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15690 (exit $ac_status); } && {
15691 test -z "$ac_c_werror_flag" ||
15692 test ! -s conftest.err
15693 } && test -s conftest$ac_exeext &&
15694 $as_test_x conftest$ac_exeext; then
15696 dylib) ac_cv_lib_soname_sane=`otool -L conftest$ac_exeext | grep libsane\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libsane\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15697 so) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep libsane\\.so | sed -e "s/^.*\(libsane\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15699 if test "x$ac_cv_lib_soname_sane" = "x"
15701 ac_cv_lib_soname_sane="libsane.$LIBEXT"
15704 echo "$as_me: failed program was:" >&5
15705 sed 's/^/| /' conftest.$ac_ext >&5
15707 ac_cv_lib_soname_sane="libsane.$LIBEXT"
15710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15711 conftest$ac_exeext conftest.$ac_ext
15712 LIBS=$ac_get_soname_save_LIBS
15714 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
15715 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
15716 if test "${ac_cv_lib_soname_sane+set}" = set; then
15718 cat >>confdefs.h <<_ACEOF
15719 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
15873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15874 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15876 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15877 echo $ECHO_N "(cached) $ECHO_C" >&6
15879 cat >conftest.$ac_ext <<_ACEOF
15882 cat confdefs.h >>conftest.$ac_ext
15883 cat >>conftest.$ac_ext <<_ACEOF
15884 /* end confdefs.h. */
15885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15887 #define $ac_func innocuous_$ac_func
15889 /* System header to define __stub macros and hopefully few prototypes,
15890 which can conflict with char $ac_func (); below.
15891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15892 <limits.h> exists even on freestanding compilers. */
15895 # include <limits.h>
15897 # include <assert.h>
15902 /* Override any GCC internal prototype to avoid an error.
15903 Use char because int might match the return type of a GCC
15904 builtin and then its argument prototype would still apply. */
15909 /* The GNU C library defines this for functions which it implements
15910 to always fail with ENOSYS. Some functions are actually named
15911 something starting with __ and the normal name is an alias. */
15912 #if defined __stub_$ac_func || defined __stub___$ac_func
15919 return $ac_func ();
15924 rm -f conftest.$ac_objext conftest$ac_exeext
15925 if { (ac_try="$ac_link"
15926 case "(($ac_try" in
15927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15928 *) ac_try_echo=$ac_try;;
15930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15931 (eval "$ac_link") 2>conftest.er1
15933 grep -v '^ *+' conftest.er1 >conftest.err
15935 cat conftest.err >&5
15936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); } && {
15938 test -z "$ac_c_werror_flag" ||
15939 test ! -s conftest.err
15940 } && test -s conftest$ac_exeext &&
15941 $as_test_x conftest$ac_exeext; then
15942 eval "$as_ac_var=yes"
15944 echo "$as_me: failed program was:" >&5
15945 sed 's/^/| /' conftest.$ac_ext >&5
15947 eval "$as_ac_var=no"
15950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15951 conftest$ac_exeext conftest.$ac_ext
15953 ac_res=`eval echo '${'$as_ac_var'}'`
15954 { echo "$as_me:$LINENO: result: $ac_res" >&5
15955 echo "${ECHO_T}$ac_res" >&6; }
15956 if test `eval echo '${'$as_ac_var'}'` = yes; then
15957 cat >>confdefs.h <<_ACEOF
15958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15965 if test "$ac_cv_func_dlopen" = no
15967 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15968 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15969 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15970 echo $ECHO_N "(cached) $ECHO_C" >&6
15972 ac_check_lib_save_LIBS=$LIBS
15974 cat >conftest.$ac_ext <<_ACEOF
15977 cat confdefs.h >>conftest.$ac_ext
15978 cat >>conftest.$ac_ext <<_ACEOF
15979 /* end confdefs.h. */
15981 /* Override any GCC internal prototype to avoid an error.
15982 Use char because int might match the return type of a GCC
15983 builtin and then its argument prototype would still apply. */
15996 rm -f conftest.$ac_objext conftest$ac_exeext
15997 if { (ac_try="$ac_link"
15998 case "(($ac_try" in
15999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16000 *) ac_try_echo=$ac_try;;
16002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16003 (eval "$ac_link") 2>conftest.er1
16005 grep -v '^ *+' conftest.er1 >conftest.err
16007 cat conftest.err >&5
16008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16009 (exit $ac_status); } && {
16010 test -z "$ac_c_werror_flag" ||
16011 test ! -s conftest.err
16012 } && test -s conftest$ac_exeext &&
16013 $as_test_x conftest$ac_exeext; then
16014 ac_cv_lib_dl_dlopen=yes
16016 echo "$as_me: failed program was:" >&5
16017 sed 's/^/| /' conftest.$ac_ext >&5
16019 ac_cv_lib_dl_dlopen=no
16022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16023 conftest$ac_exeext conftest.$ac_ext
16024 LIBS=$ac_check_lib_save_LIBS
16026 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16027 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16028 if test $ac_cv_lib_dl_dlopen = yes; then
16029 cat >>confdefs.h <<\_ACEOF
16030 #define HAVE_DLOPEN 1
16037 ac_wine_check_funcs_save_LIBS="$LIBS"
16038 LIBS="$LIBS $LIBDL"
16040 for ac_func in dladdr
16042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16043 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16045 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16046 echo $ECHO_N "(cached) $ECHO_C" >&6
16048 cat >conftest.$ac_ext <<_ACEOF
16051 cat confdefs.h >>conftest.$ac_ext
16052 cat >>conftest.$ac_ext <<_ACEOF
16053 /* end confdefs.h. */
16054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16056 #define $ac_func innocuous_$ac_func
16058 /* System header to define __stub macros and hopefully few prototypes,
16059 which can conflict with char $ac_func (); below.
16060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16061 <limits.h> exists even on freestanding compilers. */
16064 # include <limits.h>
16066 # include <assert.h>
16071 /* Override any GCC internal prototype to avoid an error.
16072 Use char because int might match the return type of a GCC
16073 builtin and then its argument prototype would still apply. */
16078 /* The GNU C library defines this for functions which it implements
16079 to always fail with ENOSYS. Some functions are actually named
16080 something starting with __ and the normal name is an alias. */
16081 #if defined __stub_$ac_func || defined __stub___$ac_func
16088 return $ac_func ();
16093 rm -f conftest.$ac_objext conftest$ac_exeext
16094 if { (ac_try="$ac_link"
16095 case "(($ac_try" in
16096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16097 *) ac_try_echo=$ac_try;;
16099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16100 (eval "$ac_link") 2>conftest.er1
16102 grep -v '^ *+' conftest.er1 >conftest.err
16104 cat conftest.err >&5
16105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16106 (exit $ac_status); } && {
16107 test -z "$ac_c_werror_flag" ||
16108 test ! -s conftest.err
16109 } && test -s conftest$ac_exeext &&
16110 $as_test_x conftest$ac_exeext; then
16111 eval "$as_ac_var=yes"
16113 echo "$as_me: failed program was:" >&5
16114 sed 's/^/| /' conftest.$ac_ext >&5
16116 eval "$as_ac_var=no"
16119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16120 conftest$ac_exeext conftest.$ac_ext
16122 ac_res=`eval echo '${'$as_ac_var'}'`
16123 { echo "$as_me:$LINENO: result: $ac_res" >&5
16124 echo "${ECHO_T}$ac_res" >&6; }
16125 if test `eval echo '${'$as_ac_var'}'` = yes; then
16126 cat >>confdefs.h <<_ACEOF
16127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16133 LIBS="$ac_wine_check_funcs_save_LIBS"
16135 if test "$ac_cv_func_poll" = no
16137 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16138 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16139 if test "${ac_cv_lib_poll_poll+set}" = set; then
16140 echo $ECHO_N "(cached) $ECHO_C" >&6
16142 ac_check_lib_save_LIBS=$LIBS
16143 LIBS="-lpoll $LIBS"
16144 cat >conftest.$ac_ext <<_ACEOF
16147 cat confdefs.h >>conftest.$ac_ext
16148 cat >>conftest.$ac_ext <<_ACEOF
16149 /* end confdefs.h. */
16151 /* Override any GCC internal prototype to avoid an error.
16152 Use char because int might match the return type of a GCC
16153 builtin and then its argument prototype would still apply. */
16166 rm -f conftest.$ac_objext conftest$ac_exeext
16167 if { (ac_try="$ac_link"
16168 case "(($ac_try" in
16169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16170 *) ac_try_echo=$ac_try;;
16172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16173 (eval "$ac_link") 2>conftest.er1
16175 grep -v '^ *+' conftest.er1 >conftest.err
16177 cat conftest.err >&5
16178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16179 (exit $ac_status); } && {
16180 test -z "$ac_c_werror_flag" ||
16181 test ! -s conftest.err
16182 } && test -s conftest$ac_exeext &&
16183 $as_test_x conftest$ac_exeext; then
16184 ac_cv_lib_poll_poll=yes
16186 echo "$as_me: failed program was:" >&5
16187 sed 's/^/| /' conftest.$ac_ext >&5
16189 ac_cv_lib_poll_poll=no
16192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16193 conftest$ac_exeext conftest.$ac_ext
16194 LIBS=$ac_check_lib_save_LIBS
16196 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16197 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16198 if test $ac_cv_lib_poll_poll = yes; then
16199 cat >>confdefs.h <<\_ACEOF
16200 #define HAVE_POLL 1
16208 if test "$ac_cv_func_gethostbyname" = no
16211 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
16212 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
16213 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
16214 echo $ECHO_N "(cached) $ECHO_C" >&6
16216 ac_check_lib_save_LIBS=$LIBS
16218 cat >conftest.$ac_ext <<_ACEOF
16221 cat confdefs.h >>conftest.$ac_ext
16222 cat >>conftest.$ac_ext <<_ACEOF
16223 /* end confdefs.h. */
16225 /* Override any GCC internal prototype to avoid an error.
16226 Use char because int might match the return type of a GCC
16227 builtin and then its argument prototype would still apply. */
16231 char gethostbyname ();
16235 return gethostbyname ();
16240 rm -f conftest.$ac_objext conftest$ac_exeext
16241 if { (ac_try="$ac_link"
16242 case "(($ac_try" in
16243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16244 *) ac_try_echo=$ac_try;;
16246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16247 (eval "$ac_link") 2>conftest.er1
16249 grep -v '^ *+' conftest.er1 >conftest.err
16251 cat conftest.err >&5
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); } && {
16254 test -z "$ac_c_werror_flag" ||
16255 test ! -s conftest.err
16256 } && test -s conftest$ac_exeext &&
16257 $as_test_x conftest$ac_exeext; then
16258 ac_cv_lib_nsl_gethostbyname=yes
16260 echo "$as_me: failed program was:" >&5
16261 sed 's/^/| /' conftest.$ac_ext >&5
16263 ac_cv_lib_nsl_gethostbyname=no
16266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16267 conftest$ac_exeext conftest.$ac_ext
16268 LIBS=$ac_check_lib_save_LIBS
16270 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
16271 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
16272 if test $ac_cv_lib_nsl_gethostbyname = yes; then
16273 cat >>confdefs.h <<_ACEOF
16274 #define HAVE_LIBNSL 1
16283 if test "$ac_cv_func_connect" = no
16286 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
16287 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
16288 if test "${ac_cv_lib_socket_connect+set}" = set; then
16289 echo $ECHO_N "(cached) $ECHO_C" >&6
16291 ac_check_lib_save_LIBS=$LIBS
16292 LIBS="-lsocket $LIBS"
16293 cat >conftest.$ac_ext <<_ACEOF
16296 cat confdefs.h >>conftest.$ac_ext
16297 cat >>conftest.$ac_ext <<_ACEOF
16298 /* end confdefs.h. */
16300 /* Override any GCC internal prototype to avoid an error.
16301 Use char because int might match the return type of a GCC
16302 builtin and then its argument prototype would still apply. */
16315 rm -f conftest.$ac_objext conftest$ac_exeext
16316 if { (ac_try="$ac_link"
16317 case "(($ac_try" in
16318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16319 *) ac_try_echo=$ac_try;;
16321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16322 (eval "$ac_link") 2>conftest.er1
16324 grep -v '^ *+' conftest.er1 >conftest.err
16326 cat conftest.err >&5
16327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16328 (exit $ac_status); } && {
16329 test -z "$ac_c_werror_flag" ||
16330 test ! -s conftest.err
16331 } && test -s conftest$ac_exeext &&
16332 $as_test_x conftest$ac_exeext; then
16333 ac_cv_lib_socket_connect=yes
16335 echo "$as_me: failed program was:" >&5
16336 sed 's/^/| /' conftest.$ac_ext >&5
16338 ac_cv_lib_socket_connect=no
16341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16342 conftest$ac_exeext conftest.$ac_ext
16343 LIBS=$ac_check_lib_save_LIBS
16345 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
16346 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
16347 if test $ac_cv_lib_socket_connect = yes; then
16348 cat >>confdefs.h <<_ACEOF
16349 #define HAVE_LIBSOCKET 1
16352 LIBS="-lsocket $LIBS"
16358 if test "$ac_cv_func_inet_aton" = no
16361 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
16362 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
16363 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
16364 echo $ECHO_N "(cached) $ECHO_C" >&6
16366 ac_check_lib_save_LIBS=$LIBS
16367 LIBS="-lresolv $LIBS"
16368 cat >conftest.$ac_ext <<_ACEOF
16371 cat confdefs.h >>conftest.$ac_ext
16372 cat >>conftest.$ac_ext <<_ACEOF
16373 /* end confdefs.h. */
16375 /* Override any GCC internal prototype to avoid an error.
16376 Use char because int might match the return type of a GCC
16377 builtin and then its argument prototype would still apply. */
16385 return inet_aton ();
16390 rm -f conftest.$ac_objext conftest$ac_exeext
16391 if { (ac_try="$ac_link"
16392 case "(($ac_try" in
16393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16394 *) ac_try_echo=$ac_try;;
16396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16397 (eval "$ac_link") 2>conftest.er1
16399 grep -v '^ *+' conftest.er1 >conftest.err
16401 cat conftest.err >&5
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); } && {
16404 test -z "$ac_c_werror_flag" ||
16405 test ! -s conftest.err
16406 } && test -s conftest$ac_exeext &&
16407 $as_test_x conftest$ac_exeext; then
16408 ac_cv_lib_resolv_inet_aton=yes
16410 echo "$as_me: failed program was:" >&5
16411 sed 's/^/| /' conftest.$ac_ext >&5
16413 ac_cv_lib_resolv_inet_aton=no
16416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16417 conftest$ac_exeext conftest.$ac_ext
16418 LIBS=$ac_check_lib_save_LIBS
16420 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
16421 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
16422 if test $ac_cv_lib_resolv_inet_aton = yes; then
16423 cat >>confdefs.h <<_ACEOF
16424 #define HAVE_LIBRESOLV 1
16427 LIBS="-lresolv $LIBS"
16434 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16435 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16436 if test "${ac_cv_c_const+set}" = set; then
16437 echo $ECHO_N "(cached) $ECHO_C" >&6
16439 cat >conftest.$ac_ext <<_ACEOF
16442 cat confdefs.h >>conftest.$ac_ext
16443 cat >>conftest.$ac_ext <<_ACEOF
16444 /* end confdefs.h. */
16449 /* FIXME: Include the comments suggested by Paul. */
16450 #ifndef __cplusplus
16451 /* Ultrix mips cc rejects this. */
16452 typedef int charset[2];
16454 /* SunOS 4.1.1 cc rejects this. */
16455 char const *const *pcpcc;
16457 /* NEC SVR4.0.2 mips cc rejects this. */
16458 struct point {int x, y;};
16459 static struct point const zero = {0,0};
16460 /* AIX XL C 1.02.0.0 rejects this.
16461 It does not let you subtract one const X* pointer from another in
16462 an arm of an if-expression whose if-part is not a constant
16464 const char *g = "string";
16465 pcpcc = &g + (g ? g-g : 0);
16466 /* HPUX 7.0 cc rejects these. */
16468 ppc = (char**) pcpcc;
16469 pcpcc = (char const *const *) ppc;
16470 { /* SCO 3.2v4 cc rejects this. */
16472 char const *s = 0 ? (char *) 0 : (char const *) 0;
16477 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16478 int x[] = {25, 17};
16479 const int *foo = &x[0];
16482 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16483 typedef const int *iptr;
16487 { /* AIX XL C 1.02.0.0 rejects this saying
16488 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16489 struct s { int j; const int *ap[3]; };
16490 struct s *b; b->j = 5;
16492 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16493 const int foo = 10;
16494 if (!foo) return 0;
16496 return !cs[0] && !zero.x;
16503 rm -f conftest.$ac_objext
16504 if { (ac_try="$ac_compile"
16505 case "(($ac_try" in
16506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16507 *) ac_try_echo=$ac_try;;
16509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16510 (eval "$ac_compile") 2>conftest.er1
16512 grep -v '^ *+' conftest.er1 >conftest.err
16514 cat conftest.err >&5
16515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16516 (exit $ac_status); } && {
16517 test -z "$ac_c_werror_flag" ||
16518 test ! -s conftest.err
16519 } && test -s conftest.$ac_objext; then
16522 echo "$as_me: failed program was:" >&5
16523 sed 's/^/| /' conftest.$ac_ext >&5
16528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16530 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16531 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16532 if test $ac_cv_c_const = no; then
16534 cat >>confdefs.h <<\_ACEOF
16540 { echo "$as_me:$LINENO: checking for inline" >&5
16541 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16542 if test "${ac_cv_c_inline+set}" = set; then
16543 echo $ECHO_N "(cached) $ECHO_C" >&6
16546 for ac_kw in inline __inline__ __inline; do
16547 cat >conftest.$ac_ext <<_ACEOF
16550 cat confdefs.h >>conftest.$ac_ext
16551 cat >>conftest.$ac_ext <<_ACEOF
16552 /* end confdefs.h. */
16553 #ifndef __cplusplus
16555 static $ac_kw foo_t static_foo () {return 0; }
16556 $ac_kw foo_t foo () {return 0; }
16560 rm -f conftest.$ac_objext
16561 if { (ac_try="$ac_compile"
16562 case "(($ac_try" in
16563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16564 *) ac_try_echo=$ac_try;;
16566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16567 (eval "$ac_compile") 2>conftest.er1
16569 grep -v '^ *+' conftest.er1 >conftest.err
16571 cat conftest.err >&5
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); } && {
16574 test -z "$ac_c_werror_flag" ||
16575 test ! -s conftest.err
16576 } && test -s conftest.$ac_objext; then
16577 ac_cv_c_inline=$ac_kw
16579 echo "$as_me: failed program was:" >&5
16580 sed 's/^/| /' conftest.$ac_ext >&5
16585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16586 test "$ac_cv_c_inline" != no && break
16590 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16591 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16594 case $ac_cv_c_inline in
16597 case $ac_cv_c_inline in
16599 *) ac_val=$ac_cv_c_inline;;
16601 cat >>confdefs.h <<_ACEOF
16602 #ifndef __cplusplus
16603 #define inline $ac_val
16609 { echo "$as_me:$LINENO: checking for mode_t" >&5
16610 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16611 if test "${ac_cv_type_mode_t+set}" = set; then
16612 echo $ECHO_N "(cached) $ECHO_C" >&6
16614 cat >conftest.$ac_ext <<_ACEOF
16617 cat confdefs.h >>conftest.$ac_ext
16618 cat >>conftest.$ac_ext <<_ACEOF
16619 /* end confdefs.h. */
16620 $ac_includes_default
16621 typedef mode_t ac__type_new_;
16625 if ((ac__type_new_ *) 0)
16627 if (sizeof (ac__type_new_))
16633 rm -f conftest.$ac_objext
16634 if { (ac_try="$ac_compile"
16635 case "(($ac_try" in
16636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16637 *) ac_try_echo=$ac_try;;
16639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16640 (eval "$ac_compile") 2>conftest.er1
16642 grep -v '^ *+' conftest.er1 >conftest.err
16644 cat conftest.err >&5
16645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16646 (exit $ac_status); } && {
16647 test -z "$ac_c_werror_flag" ||
16648 test ! -s conftest.err
16649 } && test -s conftest.$ac_objext; then
16650 ac_cv_type_mode_t=yes
16652 echo "$as_me: failed program was:" >&5
16653 sed 's/^/| /' conftest.$ac_ext >&5
16655 ac_cv_type_mode_t=no
16658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16660 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16661 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16662 if test $ac_cv_type_mode_t = yes; then
16664 cat >>confdefs.h <<_ACEOF
16665 #define HAVE_MODE_T 1
16670 { echo "$as_me:$LINENO: checking for off_t" >&5
16671 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16672 if test "${ac_cv_type_off_t+set}" = set; then
16673 echo $ECHO_N "(cached) $ECHO_C" >&6
16675 cat >conftest.$ac_ext <<_ACEOF
16678 cat confdefs.h >>conftest.$ac_ext
16679 cat >>conftest.$ac_ext <<_ACEOF
16680 /* end confdefs.h. */
16681 $ac_includes_default
16682 typedef off_t ac__type_new_;
16686 if ((ac__type_new_ *) 0)
16688 if (sizeof (ac__type_new_))
16694 rm -f conftest.$ac_objext
16695 if { (ac_try="$ac_compile"
16696 case "(($ac_try" in
16697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16698 *) ac_try_echo=$ac_try;;
16700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16701 (eval "$ac_compile") 2>conftest.er1
16703 grep -v '^ *+' conftest.er1 >conftest.err
16705 cat conftest.err >&5
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); } && {
16708 test -z "$ac_c_werror_flag" ||
16709 test ! -s conftest.err
16710 } && test -s conftest.$ac_objext; then
16711 ac_cv_type_off_t=yes
16713 echo "$as_me: failed program was:" >&5
16714 sed 's/^/| /' conftest.$ac_ext >&5
16716 ac_cv_type_off_t=no
16719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16721 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16722 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16723 if test $ac_cv_type_off_t = yes; then
16725 cat >>confdefs.h <<_ACEOF
16726 #define HAVE_OFF_T 1
16731 { echo "$as_me:$LINENO: checking for pid_t" >&5
16732 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16733 if test "${ac_cv_type_pid_t+set}" = set; then
16734 echo $ECHO_N "(cached) $ECHO_C" >&6
16736 cat >conftest.$ac_ext <<_ACEOF
16739 cat confdefs.h >>conftest.$ac_ext
16740 cat >>conftest.$ac_ext <<_ACEOF
16741 /* end confdefs.h. */
16742 $ac_includes_default
16743 typedef pid_t ac__type_new_;
16747 if ((ac__type_new_ *) 0)
16749 if (sizeof (ac__type_new_))
16755 rm -f conftest.$ac_objext
16756 if { (ac_try="$ac_compile"
16757 case "(($ac_try" in
16758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16759 *) ac_try_echo=$ac_try;;
16761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16762 (eval "$ac_compile") 2>conftest.er1
16764 grep -v '^ *+' conftest.er1 >conftest.err
16766 cat conftest.err >&5
16767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16768 (exit $ac_status); } && {
16769 test -z "$ac_c_werror_flag" ||
16770 test ! -s conftest.err
16771 } && test -s conftest.$ac_objext; then
16772 ac_cv_type_pid_t=yes
16774 echo "$as_me: failed program was:" >&5
16775 sed 's/^/| /' conftest.$ac_ext >&5
16777 ac_cv_type_pid_t=no
16780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16782 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16783 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16784 if test $ac_cv_type_pid_t = yes; then
16786 cat >>confdefs.h <<_ACEOF
16787 #define HAVE_PID_T 1
16792 { echo "$as_me:$LINENO: checking for size_t" >&5
16793 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16794 if test "${ac_cv_type_size_t+set}" = set; then
16795 echo $ECHO_N "(cached) $ECHO_C" >&6
16797 cat >conftest.$ac_ext <<_ACEOF
16800 cat confdefs.h >>conftest.$ac_ext
16801 cat >>conftest.$ac_ext <<_ACEOF
16802 /* end confdefs.h. */
16803 $ac_includes_default
16804 typedef size_t ac__type_new_;
16808 if ((ac__type_new_ *) 0)
16810 if (sizeof (ac__type_new_))
16816 rm -f conftest.$ac_objext
16817 if { (ac_try="$ac_compile"
16818 case "(($ac_try" in
16819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16820 *) ac_try_echo=$ac_try;;
16822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16823 (eval "$ac_compile") 2>conftest.er1
16825 grep -v '^ *+' conftest.er1 >conftest.err
16827 cat conftest.err >&5
16828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16829 (exit $ac_status); } && {
16830 test -z "$ac_c_werror_flag" ||
16831 test ! -s conftest.err
16832 } && test -s conftest.$ac_objext; then
16833 ac_cv_type_size_t=yes
16835 echo "$as_me: failed program was:" >&5
16836 sed 's/^/| /' conftest.$ac_ext >&5
16838 ac_cv_type_size_t=no
16841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16843 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16844 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16845 if test $ac_cv_type_size_t = yes; then
16847 cat >>confdefs.h <<_ACEOF
16848 #define HAVE_SIZE_T 1
16853 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16854 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16855 if test "${ac_cv_type_ssize_t+set}" = set; then
16856 echo $ECHO_N "(cached) $ECHO_C" >&6
16858 cat >conftest.$ac_ext <<_ACEOF
16861 cat confdefs.h >>conftest.$ac_ext
16862 cat >>conftest.$ac_ext <<_ACEOF
16863 /* end confdefs.h. */
16864 $ac_includes_default
16865 typedef ssize_t ac__type_new_;
16869 if ((ac__type_new_ *) 0)
16871 if (sizeof (ac__type_new_))
16877 rm -f conftest.$ac_objext
16878 if { (ac_try="$ac_compile"
16879 case "(($ac_try" in
16880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16881 *) ac_try_echo=$ac_try;;
16883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16884 (eval "$ac_compile") 2>conftest.er1
16886 grep -v '^ *+' conftest.er1 >conftest.err
16888 cat conftest.err >&5
16889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); } && {
16891 test -z "$ac_c_werror_flag" ||
16892 test ! -s conftest.err
16893 } && test -s conftest.$ac_objext; then
16894 ac_cv_type_ssize_t=yes
16896 echo "$as_me: failed program was:" >&5
16897 sed 's/^/| /' conftest.$ac_ext >&5
16899 ac_cv_type_ssize_t=no
16902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16904 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16905 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16906 if test $ac_cv_type_ssize_t = yes; then
16908 cat >>confdefs.h <<_ACEOF
16909 #define HAVE_SSIZE_T 1
16914 { echo "$as_me:$LINENO: checking for long long" >&5
16915 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16916 if test "${ac_cv_type_long_long+set}" = set; then
16917 echo $ECHO_N "(cached) $ECHO_C" >&6
16919 cat >conftest.$ac_ext <<_ACEOF
16922 cat confdefs.h >>conftest.$ac_ext
16923 cat >>conftest.$ac_ext <<_ACEOF
16924 /* end confdefs.h. */
16925 $ac_includes_default
16926 typedef long long ac__type_new_;
16930 if ((ac__type_new_ *) 0)
16932 if (sizeof (ac__type_new_))
16938 rm -f conftest.$ac_objext
16939 if { (ac_try="$ac_compile"
16940 case "(($ac_try" in
16941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16942 *) ac_try_echo=$ac_try;;
16944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16945 (eval "$ac_compile") 2>conftest.er1
16947 grep -v '^ *+' conftest.er1 >conftest.err
16949 cat conftest.err >&5
16950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16951 (exit $ac_status); } && {
16952 test -z "$ac_c_werror_flag" ||
16953 test ! -s conftest.err
16954 } && test -s conftest.$ac_objext; then
16955 ac_cv_type_long_long=yes
16957 echo "$as_me: failed program was:" >&5
16958 sed 's/^/| /' conftest.$ac_ext >&5
16960 ac_cv_type_long_long=no
16963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16965 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16966 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
16967 if test $ac_cv_type_long_long = yes; then
16969 cat >>confdefs.h <<_ACEOF
16970 #define HAVE_LONG_LONG 1
16975 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
16976 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
16977 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
16978 echo $ECHO_N "(cached) $ECHO_C" >&6
16980 cat >conftest.$ac_ext <<_ACEOF
16983 cat confdefs.h >>conftest.$ac_ext
16984 cat >>conftest.$ac_ext <<_ACEOF
16985 /* end confdefs.h. */
16986 $ac_includes_default
16987 typedef fsblkcnt_t ac__type_new_;
16991 if ((ac__type_new_ *) 0)
16993 if (sizeof (ac__type_new_))
16999 rm -f conftest.$ac_objext
17000 if { (ac_try="$ac_compile"
17001 case "(($ac_try" in
17002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17003 *) ac_try_echo=$ac_try;;
17005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17006 (eval "$ac_compile") 2>conftest.er1
17008 grep -v '^ *+' conftest.er1 >conftest.err
17010 cat conftest.err >&5
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); } && {
17013 test -z "$ac_c_werror_flag" ||
17014 test ! -s conftest.err
17015 } && test -s conftest.$ac_objext; then
17016 ac_cv_type_fsblkcnt_t=yes
17018 echo "$as_me: failed program was:" >&5
17019 sed 's/^/| /' conftest.$ac_ext >&5
17021 ac_cv_type_fsblkcnt_t=no
17024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17026 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17027 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17028 if test $ac_cv_type_fsblkcnt_t = yes; then
17030 cat >>confdefs.h <<_ACEOF
17031 #define HAVE_FSBLKCNT_T 1
17036 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17037 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17038 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17039 echo $ECHO_N "(cached) $ECHO_C" >&6
17041 cat >conftest.$ac_ext <<_ACEOF
17044 cat confdefs.h >>conftest.$ac_ext
17045 cat >>conftest.$ac_ext <<_ACEOF
17046 /* end confdefs.h. */
17047 $ac_includes_default
17048 typedef fsfilcnt_t ac__type_new_;
17052 if ((ac__type_new_ *) 0)
17054 if (sizeof (ac__type_new_))
17060 rm -f conftest.$ac_objext
17061 if { (ac_try="$ac_compile"
17062 case "(($ac_try" in
17063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17064 *) ac_try_echo=$ac_try;;
17066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17067 (eval "$ac_compile") 2>conftest.er1
17069 grep -v '^ *+' conftest.er1 >conftest.err
17071 cat conftest.err >&5
17072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17073 (exit $ac_status); } && {
17074 test -z "$ac_c_werror_flag" ||
17075 test ! -s conftest.err
17076 } && test -s conftest.$ac_objext; then
17077 ac_cv_type_fsfilcnt_t=yes
17079 echo "$as_me: failed program was:" >&5
17080 sed 's/^/| /' conftest.$ac_ext >&5
17082 ac_cv_type_fsfilcnt_t=no
17085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17087 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17088 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17089 if test $ac_cv_type_fsfilcnt_t = yes; then
17091 cat >>confdefs.h <<_ACEOF
17092 #define HAVE_FSFILCNT_T 1
17098 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17099 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17100 if test "${ac_cv_type_sigset_t+set}" = set; then
17101 echo $ECHO_N "(cached) $ECHO_C" >&6
17103 cat >conftest.$ac_ext <<_ACEOF
17106 cat confdefs.h >>conftest.$ac_ext
17107 cat >>conftest.$ac_ext <<_ACEOF
17108 /* end confdefs.h. */
17109 #include <signal.h>
17111 typedef sigset_t ac__type_new_;
17115 if ((ac__type_new_ *) 0)
17117 if (sizeof (ac__type_new_))
17123 rm -f conftest.$ac_objext
17124 if { (ac_try="$ac_compile"
17125 case "(($ac_try" in
17126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17127 *) ac_try_echo=$ac_try;;
17129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17130 (eval "$ac_compile") 2>conftest.er1
17132 grep -v '^ *+' conftest.er1 >conftest.err
17134 cat conftest.err >&5
17135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136 (exit $ac_status); } && {
17137 test -z "$ac_c_werror_flag" ||
17138 test ! -s conftest.err
17139 } && test -s conftest.$ac_objext; then
17140 ac_cv_type_sigset_t=yes
17142 echo "$as_me: failed program was:" >&5
17143 sed 's/^/| /' conftest.$ac_ext >&5
17145 ac_cv_type_sigset_t=no
17148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17150 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17151 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17152 if test $ac_cv_type_sigset_t = yes; then
17154 cat >>confdefs.h <<_ACEOF
17155 #define HAVE_SIGSET_T 1
17161 { echo "$as_me:$LINENO: checking for request_sense" >&5
17162 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17163 if test "${ac_cv_type_request_sense+set}" = set; then
17164 echo $ECHO_N "(cached) $ECHO_C" >&6
17166 cat >conftest.$ac_ext <<_ACEOF
17169 cat confdefs.h >>conftest.$ac_ext
17170 cat >>conftest.$ac_ext <<_ACEOF
17171 /* end confdefs.h. */
17172 #include <linux/cdrom.h>
17174 typedef request_sense ac__type_new_;
17178 if ((ac__type_new_ *) 0)
17180 if (sizeof (ac__type_new_))
17186 rm -f conftest.$ac_objext
17187 if { (ac_try="$ac_compile"
17188 case "(($ac_try" in
17189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17190 *) ac_try_echo=$ac_try;;
17192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17193 (eval "$ac_compile") 2>conftest.er1
17195 grep -v '^ *+' conftest.er1 >conftest.err
17197 cat conftest.err >&5
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); } && {
17200 test -z "$ac_c_werror_flag" ||
17201 test ! -s conftest.err
17202 } && test -s conftest.$ac_objext; then
17203 ac_cv_type_request_sense=yes
17205 echo "$as_me: failed program was:" >&5
17206 sed 's/^/| /' conftest.$ac_ext >&5
17208 ac_cv_type_request_sense=no
17211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17213 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17214 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17215 if test $ac_cv_type_request_sense = yes; then
17217 cat >>confdefs.h <<_ACEOF
17218 #define HAVE_REQUEST_SENSE 1
17225 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17226 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17227 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17228 echo $ECHO_N "(cached) $ECHO_C" >&6
17230 cat >conftest.$ac_ext <<_ACEOF
17233 cat confdefs.h >>conftest.$ac_ext
17234 cat >>conftest.$ac_ext <<_ACEOF
17235 /* end confdefs.h. */
17236 #ifdef HAVE_LINUX_INPUT_H
17237 #include <linux/input.h>
17243 static struct ff_effect ac_aggr;
17244 if (ac_aggr.direction)
17250 rm -f conftest.$ac_objext
17251 if { (ac_try="$ac_compile"
17252 case "(($ac_try" in
17253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17254 *) ac_try_echo=$ac_try;;
17256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17257 (eval "$ac_compile") 2>conftest.er1
17259 grep -v '^ *+' conftest.er1 >conftest.err
17261 cat conftest.err >&5
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); } && {
17264 test -z "$ac_c_werror_flag" ||
17265 test ! -s conftest.err
17266 } && test -s conftest.$ac_objext; then
17267 ac_cv_member_struct_ff_effect_direction=yes
17269 echo "$as_me: failed program was:" >&5
17270 sed 's/^/| /' conftest.$ac_ext >&5
17272 cat >conftest.$ac_ext <<_ACEOF
17275 cat confdefs.h >>conftest.$ac_ext
17276 cat >>conftest.$ac_ext <<_ACEOF
17277 /* end confdefs.h. */
17278 #ifdef HAVE_LINUX_INPUT_H
17279 #include <linux/input.h>
17285 static struct ff_effect ac_aggr;
17286 if (sizeof ac_aggr.direction)
17292 rm -f conftest.$ac_objext
17293 if { (ac_try="$ac_compile"
17294 case "(($ac_try" in
17295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17296 *) ac_try_echo=$ac_try;;
17298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17299 (eval "$ac_compile") 2>conftest.er1
17301 grep -v '^ *+' conftest.er1 >conftest.err
17303 cat conftest.err >&5
17304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305 (exit $ac_status); } && {
17306 test -z "$ac_c_werror_flag" ||
17307 test ! -s conftest.err
17308 } && test -s conftest.$ac_objext; then
17309 ac_cv_member_struct_ff_effect_direction=yes
17311 echo "$as_me: failed program was:" >&5
17312 sed 's/^/| /' conftest.$ac_ext >&5
17314 ac_cv_member_struct_ff_effect_direction=no
17317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17322 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17323 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17324 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17326 cat >>confdefs.h <<_ACEOF
17327 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17334 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17335 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17336 if test "${wine_cv_have_sigaddset+set}" = set; then
17337 echo $ECHO_N "(cached) $ECHO_C" >&6
17339 cat >conftest.$ac_ext <<_ACEOF
17342 cat confdefs.h >>conftest.$ac_ext
17343 cat >>conftest.$ac_ext <<_ACEOF
17344 /* end confdefs.h. */
17345 #include <signal.h>
17349 sigset_t set; sigaddset(&set,SIGTERM);
17354 rm -f conftest.$ac_objext conftest$ac_exeext
17355 if { (ac_try="$ac_link"
17356 case "(($ac_try" in
17357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17358 *) ac_try_echo=$ac_try;;
17360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17361 (eval "$ac_link") 2>conftest.er1
17363 grep -v '^ *+' conftest.er1 >conftest.err
17365 cat conftest.err >&5
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); } && {
17368 test -z "$ac_c_werror_flag" ||
17369 test ! -s conftest.err
17370 } && test -s conftest$ac_exeext &&
17371 $as_test_x conftest$ac_exeext; then
17372 wine_cv_have_sigaddset=yes
17374 echo "$as_me: failed program was:" >&5
17375 sed 's/^/| /' conftest.$ac_ext >&5
17377 wine_cv_have_sigaddset=no
17380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17381 conftest$ac_exeext conftest.$ac_ext
17383 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17384 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17385 if test "$wine_cv_have_sigaddset" = "yes"
17388 cat >>confdefs.h <<\_ACEOF
17389 #define HAVE_SIGADDSET 1
17395 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17396 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17397 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17398 echo $ECHO_N "(cached) $ECHO_C" >&6
17400 cat >conftest.$ac_ext <<_ACEOF
17403 cat confdefs.h >>conftest.$ac_ext
17404 cat >>conftest.$ac_ext <<_ACEOF
17405 /* end confdefs.h. */
17415 struct hostent *result;
17422 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17423 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17429 rm -f conftest.$ac_objext conftest$ac_exeext
17430 if { (ac_try="$ac_link"
17431 case "(($ac_try" in
17432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17433 *) ac_try_echo=$ac_try;;
17435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17436 (eval "$ac_link") 2>conftest.er1
17438 grep -v '^ *+' conftest.er1 >conftest.err
17440 cat conftest.err >&5
17441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17442 (exit $ac_status); } && {
17443 test -z "$ac_c_werror_flag" ||
17444 test ! -s conftest.err
17445 } && test -s conftest$ac_exeext &&
17446 $as_test_x conftest$ac_exeext; then
17447 wine_cv_linux_gethostbyname_r_6=yes
17449 echo "$as_me: failed program was:" >&5
17450 sed 's/^/| /' conftest.$ac_ext >&5
17452 wine_cv_linux_gethostbyname_r_6=no
17456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17457 conftest$ac_exeext conftest.$ac_ext
17460 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17461 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17462 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17465 cat >>confdefs.h <<\_ACEOF
17466 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17471 if test "$ac_cv_header_linux_joystick_h" = "yes"
17473 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17474 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17475 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17476 echo $ECHO_N "(cached) $ECHO_C" >&6
17478 cat >conftest.$ac_ext <<_ACEOF
17481 cat confdefs.h >>conftest.$ac_ext
17482 cat >>conftest.$ac_ext <<_ACEOF
17483 /* end confdefs.h. */
17485 #include <sys/ioctl.h>
17486 #include <linux/joystick.h>
17488 struct js_event blub;
17489 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17490 #error "no 2.2 header"
17501 rm -f conftest.$ac_objext
17502 if { (ac_try="$ac_compile"
17503 case "(($ac_try" in
17504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17505 *) ac_try_echo=$ac_try;;
17507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17508 (eval "$ac_compile") 2>conftest.er1
17510 grep -v '^ *+' conftest.er1 >conftest.err
17512 cat conftest.err >&5
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); } && {
17515 test -z "$ac_c_werror_flag" ||
17516 test ! -s conftest.err
17517 } && test -s conftest.$ac_objext; then
17518 wine_cv_linux_joystick_22_api=yes
17520 echo "$as_me: failed program was:" >&5
17521 sed 's/^/| /' conftest.$ac_ext >&5
17523 wine_cv_linux_joystick_22_api=no
17526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17529 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17530 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17531 if test "$wine_cv_linux_joystick_22_api" = "yes"
17534 cat >>confdefs.h <<\_ACEOF
17535 #define HAVE_LINUX_22_JOYSTICK_API 1
17542 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17543 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17544 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17545 echo $ECHO_N "(cached) $ECHO_C" >&6
17547 cat >conftest.$ac_ext <<_ACEOF
17550 cat confdefs.h >>conftest.$ac_ext
17551 cat >>conftest.$ac_ext <<_ACEOF
17552 /* end confdefs.h. */
17553 #include <sys/types.h>
17554 #ifdef HAVE_SYS_PARAM_H
17555 # include <sys/param.h>
17557 #ifdef HAVE_SYS_MOUNT_H
17558 # include <sys/mount.h>
17560 #ifdef HAVE_SYS_VFS_H
17561 # include <sys/vfs.h>
17563 #ifdef HAVE_SYS_STATFS_H
17564 # include <sys/statfs.h>
17570 static struct statfs ac_aggr;
17571 if (ac_aggr.f_bfree)
17577 rm -f conftest.$ac_objext
17578 if { (ac_try="$ac_compile"
17579 case "(($ac_try" in
17580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17581 *) ac_try_echo=$ac_try;;
17583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17584 (eval "$ac_compile") 2>conftest.er1
17586 grep -v '^ *+' conftest.er1 >conftest.err
17588 cat conftest.err >&5
17589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17590 (exit $ac_status); } && {
17591 test -z "$ac_c_werror_flag" ||
17592 test ! -s conftest.err
17593 } && test -s conftest.$ac_objext; then
17594 ac_cv_member_struct_statfs_f_bfree=yes
17596 echo "$as_me: failed program was:" >&5
17597 sed 's/^/| /' conftest.$ac_ext >&5
17599 cat >conftest.$ac_ext <<_ACEOF
17602 cat confdefs.h >>conftest.$ac_ext
17603 cat >>conftest.$ac_ext <<_ACEOF
17604 /* end confdefs.h. */
17605 #include <sys/types.h>
17606 #ifdef HAVE_SYS_PARAM_H
17607 # include <sys/param.h>
17609 #ifdef HAVE_SYS_MOUNT_H
17610 # include <sys/mount.h>
17612 #ifdef HAVE_SYS_VFS_H
17613 # include <sys/vfs.h>
17615 #ifdef HAVE_SYS_STATFS_H
17616 # include <sys/statfs.h>
17622 static struct statfs ac_aggr;
17623 if (sizeof ac_aggr.f_bfree)
17629 rm -f conftest.$ac_objext
17630 if { (ac_try="$ac_compile"
17631 case "(($ac_try" in
17632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17633 *) ac_try_echo=$ac_try;;
17635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17636 (eval "$ac_compile") 2>conftest.er1
17638 grep -v '^ *+' conftest.er1 >conftest.err
17640 cat conftest.err >&5
17641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17642 (exit $ac_status); } && {
17643 test -z "$ac_c_werror_flag" ||
17644 test ! -s conftest.err
17645 } && test -s conftest.$ac_objext; then
17646 ac_cv_member_struct_statfs_f_bfree=yes
17648 echo "$as_me: failed program was:" >&5
17649 sed 's/^/| /' conftest.$ac_ext >&5
17651 ac_cv_member_struct_statfs_f_bfree=no
17654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17659 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17660 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17661 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17663 cat >>confdefs.h <<_ACEOF
17664 #define HAVE_STRUCT_STATFS_F_BFREE 1
17669 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17670 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17671 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17672 echo $ECHO_N "(cached) $ECHO_C" >&6
17674 cat >conftest.$ac_ext <<_ACEOF
17677 cat confdefs.h >>conftest.$ac_ext
17678 cat >>conftest.$ac_ext <<_ACEOF
17679 /* end confdefs.h. */
17680 #include <sys/types.h>
17681 #ifdef HAVE_SYS_PARAM_H
17682 # include <sys/param.h>
17684 #ifdef HAVE_SYS_MOUNT_H
17685 # include <sys/mount.h>
17687 #ifdef HAVE_SYS_VFS_H
17688 # include <sys/vfs.h>
17690 #ifdef HAVE_SYS_STATFS_H
17691 # include <sys/statfs.h>
17697 static struct statfs ac_aggr;
17698 if (ac_aggr.f_bavail)
17704 rm -f conftest.$ac_objext
17705 if { (ac_try="$ac_compile"
17706 case "(($ac_try" in
17707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17708 *) ac_try_echo=$ac_try;;
17710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17711 (eval "$ac_compile") 2>conftest.er1
17713 grep -v '^ *+' conftest.er1 >conftest.err
17715 cat conftest.err >&5
17716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17717 (exit $ac_status); } && {
17718 test -z "$ac_c_werror_flag" ||
17719 test ! -s conftest.err
17720 } && test -s conftest.$ac_objext; then
17721 ac_cv_member_struct_statfs_f_bavail=yes
17723 echo "$as_me: failed program was:" >&5
17724 sed 's/^/| /' conftest.$ac_ext >&5
17726 cat >conftest.$ac_ext <<_ACEOF
17729 cat confdefs.h >>conftest.$ac_ext
17730 cat >>conftest.$ac_ext <<_ACEOF
17731 /* end confdefs.h. */
17732 #include <sys/types.h>
17733 #ifdef HAVE_SYS_PARAM_H
17734 # include <sys/param.h>
17736 #ifdef HAVE_SYS_MOUNT_H
17737 # include <sys/mount.h>
17739 #ifdef HAVE_SYS_VFS_H
17740 # include <sys/vfs.h>
17742 #ifdef HAVE_SYS_STATFS_H
17743 # include <sys/statfs.h>
17749 static struct statfs ac_aggr;
17750 if (sizeof ac_aggr.f_bavail)
17756 rm -f conftest.$ac_objext
17757 if { (ac_try="$ac_compile"
17758 case "(($ac_try" in
17759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17760 *) ac_try_echo=$ac_try;;
17762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17763 (eval "$ac_compile") 2>conftest.er1
17765 grep -v '^ *+' conftest.er1 >conftest.err
17767 cat conftest.err >&5
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); } && {
17770 test -z "$ac_c_werror_flag" ||
17771 test ! -s conftest.err
17772 } && test -s conftest.$ac_objext; then
17773 ac_cv_member_struct_statfs_f_bavail=yes
17775 echo "$as_me: failed program was:" >&5
17776 sed 's/^/| /' conftest.$ac_ext >&5
17778 ac_cv_member_struct_statfs_f_bavail=no
17781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17786 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17787 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17788 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17790 cat >>confdefs.h <<_ACEOF
17791 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17796 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17797 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17798 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17799 echo $ECHO_N "(cached) $ECHO_C" >&6
17801 cat >conftest.$ac_ext <<_ACEOF
17804 cat confdefs.h >>conftest.$ac_ext
17805 cat >>conftest.$ac_ext <<_ACEOF
17806 /* end confdefs.h. */
17807 #include <sys/types.h>
17808 #ifdef HAVE_SYS_PARAM_H
17809 # include <sys/param.h>
17811 #ifdef HAVE_SYS_MOUNT_H
17812 # include <sys/mount.h>
17814 #ifdef HAVE_SYS_VFS_H
17815 # include <sys/vfs.h>
17817 #ifdef HAVE_SYS_STATFS_H
17818 # include <sys/statfs.h>
17824 static struct statfs ac_aggr;
17825 if (ac_aggr.f_frsize)
17831 rm -f conftest.$ac_objext
17832 if { (ac_try="$ac_compile"
17833 case "(($ac_try" in
17834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17835 *) ac_try_echo=$ac_try;;
17837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17838 (eval "$ac_compile") 2>conftest.er1
17840 grep -v '^ *+' conftest.er1 >conftest.err
17842 cat conftest.err >&5
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); } && {
17845 test -z "$ac_c_werror_flag" ||
17846 test ! -s conftest.err
17847 } && test -s conftest.$ac_objext; then
17848 ac_cv_member_struct_statfs_f_frsize=yes
17850 echo "$as_me: failed program was:" >&5
17851 sed 's/^/| /' conftest.$ac_ext >&5
17853 cat >conftest.$ac_ext <<_ACEOF
17856 cat confdefs.h >>conftest.$ac_ext
17857 cat >>conftest.$ac_ext <<_ACEOF
17858 /* end confdefs.h. */
17859 #include <sys/types.h>
17860 #ifdef HAVE_SYS_PARAM_H
17861 # include <sys/param.h>
17863 #ifdef HAVE_SYS_MOUNT_H
17864 # include <sys/mount.h>
17866 #ifdef HAVE_SYS_VFS_H
17867 # include <sys/vfs.h>
17869 #ifdef HAVE_SYS_STATFS_H
17870 # include <sys/statfs.h>
17876 static struct statfs ac_aggr;
17877 if (sizeof ac_aggr.f_frsize)
17883 rm -f conftest.$ac_objext
17884 if { (ac_try="$ac_compile"
17885 case "(($ac_try" in
17886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17887 *) ac_try_echo=$ac_try;;
17889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17890 (eval "$ac_compile") 2>conftest.er1
17892 grep -v '^ *+' conftest.er1 >conftest.err
17894 cat conftest.err >&5
17895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17896 (exit $ac_status); } && {
17897 test -z "$ac_c_werror_flag" ||
17898 test ! -s conftest.err
17899 } && test -s conftest.$ac_objext; then
17900 ac_cv_member_struct_statfs_f_frsize=yes
17902 echo "$as_me: failed program was:" >&5
17903 sed 's/^/| /' conftest.$ac_ext >&5
17905 ac_cv_member_struct_statfs_f_frsize=no
17908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17913 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17914 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17915 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17917 cat >>confdefs.h <<_ACEOF
17918 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17923 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17924 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17925 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17926 echo $ECHO_N "(cached) $ECHO_C" >&6
17928 cat >conftest.$ac_ext <<_ACEOF
17931 cat confdefs.h >>conftest.$ac_ext
17932 cat >>conftest.$ac_ext <<_ACEOF
17933 /* end confdefs.h. */
17934 #include <sys/types.h>
17935 #ifdef HAVE_SYS_PARAM_H
17936 # include <sys/param.h>
17938 #ifdef HAVE_SYS_MOUNT_H
17939 # include <sys/mount.h>
17941 #ifdef HAVE_SYS_VFS_H
17942 # include <sys/vfs.h>
17944 #ifdef HAVE_SYS_STATFS_H
17945 # include <sys/statfs.h>
17951 static struct statfs ac_aggr;
17952 if (ac_aggr.f_ffree)
17958 rm -f conftest.$ac_objext
17959 if { (ac_try="$ac_compile"
17960 case "(($ac_try" in
17961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17962 *) ac_try_echo=$ac_try;;
17964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17965 (eval "$ac_compile") 2>conftest.er1
17967 grep -v '^ *+' conftest.er1 >conftest.err
17969 cat conftest.err >&5
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); } && {
17972 test -z "$ac_c_werror_flag" ||
17973 test ! -s conftest.err
17974 } && test -s conftest.$ac_objext; then
17975 ac_cv_member_struct_statfs_f_ffree=yes
17977 echo "$as_me: failed program was:" >&5
17978 sed 's/^/| /' conftest.$ac_ext >&5
17980 cat >conftest.$ac_ext <<_ACEOF
17983 cat confdefs.h >>conftest.$ac_ext
17984 cat >>conftest.$ac_ext <<_ACEOF
17985 /* end confdefs.h. */
17986 #include <sys/types.h>
17987 #ifdef HAVE_SYS_PARAM_H
17988 # include <sys/param.h>
17990 #ifdef HAVE_SYS_MOUNT_H
17991 # include <sys/mount.h>
17993 #ifdef HAVE_SYS_VFS_H
17994 # include <sys/vfs.h>
17996 #ifdef HAVE_SYS_STATFS_H
17997 # include <sys/statfs.h>
18003 static struct statfs ac_aggr;
18004 if (sizeof ac_aggr.f_ffree)
18010 rm -f conftest.$ac_objext
18011 if { (ac_try="$ac_compile"
18012 case "(($ac_try" in
18013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18014 *) ac_try_echo=$ac_try;;
18016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18017 (eval "$ac_compile") 2>conftest.er1
18019 grep -v '^ *+' conftest.er1 >conftest.err
18021 cat conftest.err >&5
18022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18023 (exit $ac_status); } && {
18024 test -z "$ac_c_werror_flag" ||
18025 test ! -s conftest.err
18026 } && test -s conftest.$ac_objext; then
18027 ac_cv_member_struct_statfs_f_ffree=yes
18029 echo "$as_me: failed program was:" >&5
18030 sed 's/^/| /' conftest.$ac_ext >&5
18032 ac_cv_member_struct_statfs_f_ffree=no
18035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18040 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18041 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18042 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18044 cat >>confdefs.h <<_ACEOF
18045 #define HAVE_STRUCT_STATFS_F_FFREE 1
18050 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18051 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18052 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18053 echo $ECHO_N "(cached) $ECHO_C" >&6
18055 cat >conftest.$ac_ext <<_ACEOF
18058 cat confdefs.h >>conftest.$ac_ext
18059 cat >>conftest.$ac_ext <<_ACEOF
18060 /* end confdefs.h. */
18061 #include <sys/types.h>
18062 #ifdef HAVE_SYS_PARAM_H
18063 # include <sys/param.h>
18065 #ifdef HAVE_SYS_MOUNT_H
18066 # include <sys/mount.h>
18068 #ifdef HAVE_SYS_VFS_H
18069 # include <sys/vfs.h>
18071 #ifdef HAVE_SYS_STATFS_H
18072 # include <sys/statfs.h>
18078 static struct statfs ac_aggr;
18079 if (ac_aggr.f_favail)
18085 rm -f conftest.$ac_objext
18086 if { (ac_try="$ac_compile"
18087 case "(($ac_try" in
18088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18089 *) ac_try_echo=$ac_try;;
18091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18092 (eval "$ac_compile") 2>conftest.er1
18094 grep -v '^ *+' conftest.er1 >conftest.err
18096 cat conftest.err >&5
18097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18098 (exit $ac_status); } && {
18099 test -z "$ac_c_werror_flag" ||
18100 test ! -s conftest.err
18101 } && test -s conftest.$ac_objext; then
18102 ac_cv_member_struct_statfs_f_favail=yes
18104 echo "$as_me: failed program was:" >&5
18105 sed 's/^/| /' conftest.$ac_ext >&5
18107 cat >conftest.$ac_ext <<_ACEOF
18110 cat confdefs.h >>conftest.$ac_ext
18111 cat >>conftest.$ac_ext <<_ACEOF
18112 /* end confdefs.h. */
18113 #include <sys/types.h>
18114 #ifdef HAVE_SYS_PARAM_H
18115 # include <sys/param.h>
18117 #ifdef HAVE_SYS_MOUNT_H
18118 # include <sys/mount.h>
18120 #ifdef HAVE_SYS_VFS_H
18121 # include <sys/vfs.h>
18123 #ifdef HAVE_SYS_STATFS_H
18124 # include <sys/statfs.h>
18130 static struct statfs ac_aggr;
18131 if (sizeof ac_aggr.f_favail)
18137 rm -f conftest.$ac_objext
18138 if { (ac_try="$ac_compile"
18139 case "(($ac_try" in
18140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18141 *) ac_try_echo=$ac_try;;
18143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18144 (eval "$ac_compile") 2>conftest.er1
18146 grep -v '^ *+' conftest.er1 >conftest.err
18148 cat conftest.err >&5
18149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150 (exit $ac_status); } && {
18151 test -z "$ac_c_werror_flag" ||
18152 test ! -s conftest.err
18153 } && test -s conftest.$ac_objext; then
18154 ac_cv_member_struct_statfs_f_favail=yes
18156 echo "$as_me: failed program was:" >&5
18157 sed 's/^/| /' conftest.$ac_ext >&5
18159 ac_cv_member_struct_statfs_f_favail=no
18162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18167 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18168 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18169 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18171 cat >>confdefs.h <<_ACEOF
18172 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18177 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18178 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18179 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18180 echo $ECHO_N "(cached) $ECHO_C" >&6
18182 cat >conftest.$ac_ext <<_ACEOF
18185 cat confdefs.h >>conftest.$ac_ext
18186 cat >>conftest.$ac_ext <<_ACEOF
18187 /* end confdefs.h. */
18188 #include <sys/types.h>
18189 #ifdef HAVE_SYS_PARAM_H
18190 # include <sys/param.h>
18192 #ifdef HAVE_SYS_MOUNT_H
18193 # include <sys/mount.h>
18195 #ifdef HAVE_SYS_VFS_H
18196 # include <sys/vfs.h>
18198 #ifdef HAVE_SYS_STATFS_H
18199 # include <sys/statfs.h>
18205 static struct statfs ac_aggr;
18206 if (ac_aggr.f_namelen)
18212 rm -f conftest.$ac_objext
18213 if { (ac_try="$ac_compile"
18214 case "(($ac_try" in
18215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18216 *) ac_try_echo=$ac_try;;
18218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18219 (eval "$ac_compile") 2>conftest.er1
18221 grep -v '^ *+' conftest.er1 >conftest.err
18223 cat conftest.err >&5
18224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18225 (exit $ac_status); } && {
18226 test -z "$ac_c_werror_flag" ||
18227 test ! -s conftest.err
18228 } && test -s conftest.$ac_objext; then
18229 ac_cv_member_struct_statfs_f_namelen=yes
18231 echo "$as_me: failed program was:" >&5
18232 sed 's/^/| /' conftest.$ac_ext >&5
18234 cat >conftest.$ac_ext <<_ACEOF
18237 cat confdefs.h >>conftest.$ac_ext
18238 cat >>conftest.$ac_ext <<_ACEOF
18239 /* end confdefs.h. */
18240 #include <sys/types.h>
18241 #ifdef HAVE_SYS_PARAM_H
18242 # include <sys/param.h>
18244 #ifdef HAVE_SYS_MOUNT_H
18245 # include <sys/mount.h>
18247 #ifdef HAVE_SYS_VFS_H
18248 # include <sys/vfs.h>
18250 #ifdef HAVE_SYS_STATFS_H
18251 # include <sys/statfs.h>
18257 static struct statfs ac_aggr;
18258 if (sizeof ac_aggr.f_namelen)
18264 rm -f conftest.$ac_objext
18265 if { (ac_try="$ac_compile"
18266 case "(($ac_try" in
18267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18268 *) ac_try_echo=$ac_try;;
18270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18271 (eval "$ac_compile") 2>conftest.er1
18273 grep -v '^ *+' conftest.er1 >conftest.err
18275 cat conftest.err >&5
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); } && {
18278 test -z "$ac_c_werror_flag" ||
18279 test ! -s conftest.err
18280 } && test -s conftest.$ac_objext; then
18281 ac_cv_member_struct_statfs_f_namelen=yes
18283 echo "$as_me: failed program was:" >&5
18284 sed 's/^/| /' conftest.$ac_ext >&5
18286 ac_cv_member_struct_statfs_f_namelen=no
18289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18294 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18295 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18296 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18298 cat >>confdefs.h <<_ACEOF
18299 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18306 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18307 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18308 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18309 echo $ECHO_N "(cached) $ECHO_C" >&6
18311 cat >conftest.$ac_ext <<_ACEOF
18314 cat confdefs.h >>conftest.$ac_ext
18315 cat >>conftest.$ac_ext <<_ACEOF
18316 /* end confdefs.h. */
18317 #ifdef HAVE_SYS_STATVFS_H
18318 #include <sys/statvfs.h>
18324 static struct statvfs ac_aggr;
18325 if (ac_aggr.f_blocks)
18331 rm -f conftest.$ac_objext
18332 if { (ac_try="$ac_compile"
18333 case "(($ac_try" in
18334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18335 *) ac_try_echo=$ac_try;;
18337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18338 (eval "$ac_compile") 2>conftest.er1
18340 grep -v '^ *+' conftest.er1 >conftest.err
18342 cat conftest.err >&5
18343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344 (exit $ac_status); } && {
18345 test -z "$ac_c_werror_flag" ||
18346 test ! -s conftest.err
18347 } && test -s conftest.$ac_objext; then
18348 ac_cv_member_struct_statvfs_f_blocks=yes
18350 echo "$as_me: failed program was:" >&5
18351 sed 's/^/| /' conftest.$ac_ext >&5
18353 cat >conftest.$ac_ext <<_ACEOF
18356 cat confdefs.h >>conftest.$ac_ext
18357 cat >>conftest.$ac_ext <<_ACEOF
18358 /* end confdefs.h. */
18359 #ifdef HAVE_SYS_STATVFS_H
18360 #include <sys/statvfs.h>
18366 static struct statvfs ac_aggr;
18367 if (sizeof ac_aggr.f_blocks)
18373 rm -f conftest.$ac_objext
18374 if { (ac_try="$ac_compile"
18375 case "(($ac_try" in
18376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18377 *) ac_try_echo=$ac_try;;
18379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18380 (eval "$ac_compile") 2>conftest.er1
18382 grep -v '^ *+' conftest.er1 >conftest.err
18384 cat conftest.err >&5
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); } && {
18387 test -z "$ac_c_werror_flag" ||
18388 test ! -s conftest.err
18389 } && test -s conftest.$ac_objext; then
18390 ac_cv_member_struct_statvfs_f_blocks=yes
18392 echo "$as_me: failed program was:" >&5
18393 sed 's/^/| /' conftest.$ac_ext >&5
18395 ac_cv_member_struct_statvfs_f_blocks=no
18398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18403 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18404 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18405 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18407 cat >>confdefs.h <<_ACEOF
18408 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18415 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18416 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18417 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18418 echo $ECHO_N "(cached) $ECHO_C" >&6
18420 cat >conftest.$ac_ext <<_ACEOF
18423 cat confdefs.h >>conftest.$ac_ext
18424 cat >>conftest.$ac_ext <<_ACEOF
18425 /* end confdefs.h. */
18426 #include <sys/types.h>
18427 #ifdef HAVE_SYS_SOCKET_H
18428 # include <sys/socket.h>
18430 #ifdef HAVE_SYS_UN_H
18431 # include <sys/un.h>
18437 static struct msghdr ac_aggr;
18438 if (ac_aggr.msg_accrights)
18444 rm -f conftest.$ac_objext
18445 if { (ac_try="$ac_compile"
18446 case "(($ac_try" in
18447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18448 *) ac_try_echo=$ac_try;;
18450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18451 (eval "$ac_compile") 2>conftest.er1
18453 grep -v '^ *+' conftest.er1 >conftest.err
18455 cat conftest.err >&5
18456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18457 (exit $ac_status); } && {
18458 test -z "$ac_c_werror_flag" ||
18459 test ! -s conftest.err
18460 } && test -s conftest.$ac_objext; then
18461 ac_cv_member_struct_msghdr_msg_accrights=yes
18463 echo "$as_me: failed program was:" >&5
18464 sed 's/^/| /' conftest.$ac_ext >&5
18466 cat >conftest.$ac_ext <<_ACEOF
18469 cat confdefs.h >>conftest.$ac_ext
18470 cat >>conftest.$ac_ext <<_ACEOF
18471 /* end confdefs.h. */
18472 #include <sys/types.h>
18473 #ifdef HAVE_SYS_SOCKET_H
18474 # include <sys/socket.h>
18476 #ifdef HAVE_SYS_UN_H
18477 # include <sys/un.h>
18483 static struct msghdr ac_aggr;
18484 if (sizeof ac_aggr.msg_accrights)
18490 rm -f conftest.$ac_objext
18491 if { (ac_try="$ac_compile"
18492 case "(($ac_try" in
18493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18494 *) ac_try_echo=$ac_try;;
18496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18497 (eval "$ac_compile") 2>conftest.er1
18499 grep -v '^ *+' conftest.er1 >conftest.err
18501 cat conftest.err >&5
18502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18503 (exit $ac_status); } && {
18504 test -z "$ac_c_werror_flag" ||
18505 test ! -s conftest.err
18506 } && test -s conftest.$ac_objext; then
18507 ac_cv_member_struct_msghdr_msg_accrights=yes
18509 echo "$as_me: failed program was:" >&5
18510 sed 's/^/| /' conftest.$ac_ext >&5
18512 ac_cv_member_struct_msghdr_msg_accrights=no
18515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18520 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18521 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18522 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18524 cat >>confdefs.h <<_ACEOF
18525 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18530 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18531 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18532 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18533 echo $ECHO_N "(cached) $ECHO_C" >&6
18535 cat >conftest.$ac_ext <<_ACEOF
18538 cat confdefs.h >>conftest.$ac_ext
18539 cat >>conftest.$ac_ext <<_ACEOF
18540 /* end confdefs.h. */
18541 #include <sys/types.h>
18542 #ifdef HAVE_SYS_SOCKET_H
18543 # include <sys/socket.h>
18545 #ifdef HAVE_SYS_UN_H
18546 # include <sys/un.h>
18552 static struct sockaddr ac_aggr;
18553 if (ac_aggr.sa_len)
18559 rm -f conftest.$ac_objext
18560 if { (ac_try="$ac_compile"
18561 case "(($ac_try" in
18562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18563 *) ac_try_echo=$ac_try;;
18565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18566 (eval "$ac_compile") 2>conftest.er1
18568 grep -v '^ *+' conftest.er1 >conftest.err
18570 cat conftest.err >&5
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); } && {
18573 test -z "$ac_c_werror_flag" ||
18574 test ! -s conftest.err
18575 } && test -s conftest.$ac_objext; then
18576 ac_cv_member_struct_sockaddr_sa_len=yes
18578 echo "$as_me: failed program was:" >&5
18579 sed 's/^/| /' conftest.$ac_ext >&5
18581 cat >conftest.$ac_ext <<_ACEOF
18584 cat confdefs.h >>conftest.$ac_ext
18585 cat >>conftest.$ac_ext <<_ACEOF
18586 /* end confdefs.h. */
18587 #include <sys/types.h>
18588 #ifdef HAVE_SYS_SOCKET_H
18589 # include <sys/socket.h>
18591 #ifdef HAVE_SYS_UN_H
18592 # include <sys/un.h>
18598 static struct sockaddr ac_aggr;
18599 if (sizeof ac_aggr.sa_len)
18605 rm -f conftest.$ac_objext
18606 if { (ac_try="$ac_compile"
18607 case "(($ac_try" in
18608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18609 *) ac_try_echo=$ac_try;;
18611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18612 (eval "$ac_compile") 2>conftest.er1
18614 grep -v '^ *+' conftest.er1 >conftest.err
18616 cat conftest.err >&5
18617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18618 (exit $ac_status); } && {
18619 test -z "$ac_c_werror_flag" ||
18620 test ! -s conftest.err
18621 } && test -s conftest.$ac_objext; then
18622 ac_cv_member_struct_sockaddr_sa_len=yes
18624 echo "$as_me: failed program was:" >&5
18625 sed 's/^/| /' conftest.$ac_ext >&5
18627 ac_cv_member_struct_sockaddr_sa_len=no
18630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18635 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18636 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18637 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18639 cat >>confdefs.h <<_ACEOF
18640 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18645 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18646 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18647 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18648 echo $ECHO_N "(cached) $ECHO_C" >&6
18650 cat >conftest.$ac_ext <<_ACEOF
18653 cat confdefs.h >>conftest.$ac_ext
18654 cat >>conftest.$ac_ext <<_ACEOF
18655 /* end confdefs.h. */
18656 #include <sys/types.h>
18657 #ifdef HAVE_SYS_SOCKET_H
18658 # include <sys/socket.h>
18660 #ifdef HAVE_SYS_UN_H
18661 # include <sys/un.h>
18667 static struct sockaddr_un ac_aggr;
18668 if (ac_aggr.sun_len)
18674 rm -f conftest.$ac_objext
18675 if { (ac_try="$ac_compile"
18676 case "(($ac_try" in
18677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18678 *) ac_try_echo=$ac_try;;
18680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18681 (eval "$ac_compile") 2>conftest.er1
18683 grep -v '^ *+' conftest.er1 >conftest.err
18685 cat conftest.err >&5
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); } && {
18688 test -z "$ac_c_werror_flag" ||
18689 test ! -s conftest.err
18690 } && test -s conftest.$ac_objext; then
18691 ac_cv_member_struct_sockaddr_un_sun_len=yes
18693 echo "$as_me: failed program was:" >&5
18694 sed 's/^/| /' conftest.$ac_ext >&5
18696 cat >conftest.$ac_ext <<_ACEOF
18699 cat confdefs.h >>conftest.$ac_ext
18700 cat >>conftest.$ac_ext <<_ACEOF
18701 /* end confdefs.h. */
18702 #include <sys/types.h>
18703 #ifdef HAVE_SYS_SOCKET_H
18704 # include <sys/socket.h>
18706 #ifdef HAVE_SYS_UN_H
18707 # include <sys/un.h>
18713 static struct sockaddr_un ac_aggr;
18714 if (sizeof ac_aggr.sun_len)
18720 rm -f conftest.$ac_objext
18721 if { (ac_try="$ac_compile"
18722 case "(($ac_try" in
18723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18724 *) ac_try_echo=$ac_try;;
18726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18727 (eval "$ac_compile") 2>conftest.er1
18729 grep -v '^ *+' conftest.er1 >conftest.err
18731 cat conftest.err >&5
18732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733 (exit $ac_status); } && {
18734 test -z "$ac_c_werror_flag" ||
18735 test ! -s conftest.err
18736 } && test -s conftest.$ac_objext; then
18737 ac_cv_member_struct_sockaddr_un_sun_len=yes
18739 echo "$as_me: failed program was:" >&5
18740 sed 's/^/| /' conftest.$ac_ext >&5
18742 ac_cv_member_struct_sockaddr_un_sun_len=no
18745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18750 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18751 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18752 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18754 cat >>confdefs.h <<_ACEOF
18755 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18762 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18763 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18764 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18765 echo $ECHO_N "(cached) $ECHO_C" >&6
18767 cat >conftest.$ac_ext <<_ACEOF
18770 cat confdefs.h >>conftest.$ac_ext
18771 cat >>conftest.$ac_ext <<_ACEOF
18772 /* end confdefs.h. */
18773 #include <sys/types.h>
18774 #ifdef HAVE_SCSI_SG_H
18775 #include <scsi/sg.h>
18781 static scsireq_t ac_aggr;
18788 rm -f conftest.$ac_objext
18789 if { (ac_try="$ac_compile"
18790 case "(($ac_try" in
18791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18792 *) ac_try_echo=$ac_try;;
18794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18795 (eval "$ac_compile") 2>conftest.er1
18797 grep -v '^ *+' conftest.er1 >conftest.err
18799 cat conftest.err >&5
18800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18801 (exit $ac_status); } && {
18802 test -z "$ac_c_werror_flag" ||
18803 test ! -s conftest.err
18804 } && test -s conftest.$ac_objext; then
18805 ac_cv_member_scsireq_t_cmd=yes
18807 echo "$as_me: failed program was:" >&5
18808 sed 's/^/| /' conftest.$ac_ext >&5
18810 cat >conftest.$ac_ext <<_ACEOF
18813 cat confdefs.h >>conftest.$ac_ext
18814 cat >>conftest.$ac_ext <<_ACEOF
18815 /* end confdefs.h. */
18816 #include <sys/types.h>
18817 #ifdef HAVE_SCSI_SG_H
18818 #include <scsi/sg.h>
18824 static scsireq_t ac_aggr;
18825 if (sizeof ac_aggr.cmd)
18831 rm -f conftest.$ac_objext
18832 if { (ac_try="$ac_compile"
18833 case "(($ac_try" in
18834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18835 *) ac_try_echo=$ac_try;;
18837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18838 (eval "$ac_compile") 2>conftest.er1
18840 grep -v '^ *+' conftest.er1 >conftest.err
18842 cat conftest.err >&5
18843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18844 (exit $ac_status); } && {
18845 test -z "$ac_c_werror_flag" ||
18846 test ! -s conftest.err
18847 } && test -s conftest.$ac_objext; then
18848 ac_cv_member_scsireq_t_cmd=yes
18850 echo "$as_me: failed program was:" >&5
18851 sed 's/^/| /' conftest.$ac_ext >&5
18853 ac_cv_member_scsireq_t_cmd=no
18856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18861 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18862 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18863 if test $ac_cv_member_scsireq_t_cmd = yes; then
18865 cat >>confdefs.h <<_ACEOF
18866 #define HAVE_SCSIREQ_T_CMD 1
18871 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18872 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18873 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18874 echo $ECHO_N "(cached) $ECHO_C" >&6
18876 cat >conftest.$ac_ext <<_ACEOF
18879 cat confdefs.h >>conftest.$ac_ext
18880 cat >>conftest.$ac_ext <<_ACEOF
18881 /* end confdefs.h. */
18882 #include <sys/types.h>
18883 #ifdef HAVE_SCSI_SG_H
18884 #include <scsi/sg.h>
18890 static sg_io_hdr_t ac_aggr;
18891 if (ac_aggr.interface_id)
18897 rm -f conftest.$ac_objext
18898 if { (ac_try="$ac_compile"
18899 case "(($ac_try" in
18900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18901 *) ac_try_echo=$ac_try;;
18903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18904 (eval "$ac_compile") 2>conftest.er1
18906 grep -v '^ *+' conftest.er1 >conftest.err
18908 cat conftest.err >&5
18909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18910 (exit $ac_status); } && {
18911 test -z "$ac_c_werror_flag" ||
18912 test ! -s conftest.err
18913 } && test -s conftest.$ac_objext; then
18914 ac_cv_member_sg_io_hdr_t_interface_id=yes
18916 echo "$as_me: failed program was:" >&5
18917 sed 's/^/| /' conftest.$ac_ext >&5
18919 cat >conftest.$ac_ext <<_ACEOF
18922 cat confdefs.h >>conftest.$ac_ext
18923 cat >>conftest.$ac_ext <<_ACEOF
18924 /* end confdefs.h. */
18925 #include <sys/types.h>
18926 #ifdef HAVE_SCSI_SG_H
18927 #include <scsi/sg.h>
18933 static sg_io_hdr_t ac_aggr;
18934 if (sizeof ac_aggr.interface_id)
18940 rm -f conftest.$ac_objext
18941 if { (ac_try="$ac_compile"
18942 case "(($ac_try" in
18943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18944 *) ac_try_echo=$ac_try;;
18946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18947 (eval "$ac_compile") 2>conftest.er1
18949 grep -v '^ *+' conftest.er1 >conftest.err
18951 cat conftest.err >&5
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); } && {
18954 test -z "$ac_c_werror_flag" ||
18955 test ! -s conftest.err
18956 } && test -s conftest.$ac_objext; then
18957 ac_cv_member_sg_io_hdr_t_interface_id=yes
18959 echo "$as_me: failed program was:" >&5
18960 sed 's/^/| /' conftest.$ac_ext >&5
18962 ac_cv_member_sg_io_hdr_t_interface_id=no
18965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18970 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
18971 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
18972 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
18974 cat >>confdefs.h <<_ACEOF
18975 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18982 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
18983 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
18984 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
18985 echo $ECHO_N "(cached) $ECHO_C" >&6
18987 cat >conftest.$ac_ext <<_ACEOF
18990 cat confdefs.h >>conftest.$ac_ext
18991 cat >>conftest.$ac_ext <<_ACEOF
18992 /* end confdefs.h. */
18993 #include <signal.h>
18998 static siginfo_t ac_aggr;
19005 rm -f conftest.$ac_objext
19006 if { (ac_try="$ac_compile"
19007 case "(($ac_try" in
19008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19009 *) ac_try_echo=$ac_try;;
19011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19012 (eval "$ac_compile") 2>conftest.er1
19014 grep -v '^ *+' conftest.er1 >conftest.err
19016 cat conftest.err >&5
19017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19018 (exit $ac_status); } && {
19019 test -z "$ac_c_werror_flag" ||
19020 test ! -s conftest.err
19021 } && test -s conftest.$ac_objext; then
19022 ac_cv_member_siginfo_t_si_fd=yes
19024 echo "$as_me: failed program was:" >&5
19025 sed 's/^/| /' conftest.$ac_ext >&5
19027 cat >conftest.$ac_ext <<_ACEOF
19030 cat confdefs.h >>conftest.$ac_ext
19031 cat >>conftest.$ac_ext <<_ACEOF
19032 /* end confdefs.h. */
19033 #include <signal.h>
19038 static siginfo_t ac_aggr;
19039 if (sizeof ac_aggr.si_fd)
19045 rm -f conftest.$ac_objext
19046 if { (ac_try="$ac_compile"
19047 case "(($ac_try" in
19048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19049 *) ac_try_echo=$ac_try;;
19051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19052 (eval "$ac_compile") 2>conftest.er1
19054 grep -v '^ *+' conftest.er1 >conftest.err
19056 cat conftest.err >&5
19057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19058 (exit $ac_status); } && {
19059 test -z "$ac_c_werror_flag" ||
19060 test ! -s conftest.err
19061 } && test -s conftest.$ac_objext; then
19062 ac_cv_member_siginfo_t_si_fd=yes
19064 echo "$as_me: failed program was:" >&5
19065 sed 's/^/| /' conftest.$ac_ext >&5
19067 ac_cv_member_siginfo_t_si_fd=no
19070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19075 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19076 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19077 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19079 cat >>confdefs.h <<_ACEOF
19080 #define HAVE_SIGINFO_T_SI_FD 1
19087 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19088 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19089 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19090 echo $ECHO_N "(cached) $ECHO_C" >&6
19092 cat >conftest.$ac_ext <<_ACEOF
19095 cat confdefs.h >>conftest.$ac_ext
19096 cat >>conftest.$ac_ext <<_ACEOF
19097 /* end confdefs.h. */
19098 #include <sys/types.h>
19099 #ifdef HAVE_SYS_MTIO_H
19100 #include <sys/mtio.h>
19106 static struct mtget ac_aggr;
19107 if (ac_aggr.mt_blksiz)
19113 rm -f conftest.$ac_objext
19114 if { (ac_try="$ac_compile"
19115 case "(($ac_try" in
19116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19117 *) ac_try_echo=$ac_try;;
19119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19120 (eval "$ac_compile") 2>conftest.er1
19122 grep -v '^ *+' conftest.er1 >conftest.err
19124 cat conftest.err >&5
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); } && {
19127 test -z "$ac_c_werror_flag" ||
19128 test ! -s conftest.err
19129 } && test -s conftest.$ac_objext; then
19130 ac_cv_member_struct_mtget_mt_blksiz=yes
19132 echo "$as_me: failed program was:" >&5
19133 sed 's/^/| /' conftest.$ac_ext >&5
19135 cat >conftest.$ac_ext <<_ACEOF
19138 cat confdefs.h >>conftest.$ac_ext
19139 cat >>conftest.$ac_ext <<_ACEOF
19140 /* end confdefs.h. */
19141 #include <sys/types.h>
19142 #ifdef HAVE_SYS_MTIO_H
19143 #include <sys/mtio.h>
19149 static struct mtget ac_aggr;
19150 if (sizeof ac_aggr.mt_blksiz)
19156 rm -f conftest.$ac_objext
19157 if { (ac_try="$ac_compile"
19158 case "(($ac_try" in
19159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19160 *) ac_try_echo=$ac_try;;
19162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19163 (eval "$ac_compile") 2>conftest.er1
19165 grep -v '^ *+' conftest.er1 >conftest.err
19167 cat conftest.err >&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); } && {
19170 test -z "$ac_c_werror_flag" ||
19171 test ! -s conftest.err
19172 } && test -s conftest.$ac_objext; then
19173 ac_cv_member_struct_mtget_mt_blksiz=yes
19175 echo "$as_me: failed program was:" >&5
19176 sed 's/^/| /' conftest.$ac_ext >&5
19178 ac_cv_member_struct_mtget_mt_blksiz=no
19181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19186 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19187 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19188 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19190 cat >>confdefs.h <<_ACEOF
19191 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19196 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19197 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19198 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19199 echo $ECHO_N "(cached) $ECHO_C" >&6
19201 cat >conftest.$ac_ext <<_ACEOF
19204 cat confdefs.h >>conftest.$ac_ext
19205 cat >>conftest.$ac_ext <<_ACEOF
19206 /* end confdefs.h. */
19207 #include <sys/types.h>
19208 #ifdef HAVE_SYS_MTIO_H
19209 #include <sys/mtio.h>
19215 static struct mtget ac_aggr;
19216 if (ac_aggr.mt_gstat)
19222 rm -f conftest.$ac_objext
19223 if { (ac_try="$ac_compile"
19224 case "(($ac_try" in
19225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19226 *) ac_try_echo=$ac_try;;
19228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19229 (eval "$ac_compile") 2>conftest.er1
19231 grep -v '^ *+' conftest.er1 >conftest.err
19233 cat conftest.err >&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); } && {
19236 test -z "$ac_c_werror_flag" ||
19237 test ! -s conftest.err
19238 } && test -s conftest.$ac_objext; then
19239 ac_cv_member_struct_mtget_mt_gstat=yes
19241 echo "$as_me: failed program was:" >&5
19242 sed 's/^/| /' conftest.$ac_ext >&5
19244 cat >conftest.$ac_ext <<_ACEOF
19247 cat confdefs.h >>conftest.$ac_ext
19248 cat >>conftest.$ac_ext <<_ACEOF
19249 /* end confdefs.h. */
19250 #include <sys/types.h>
19251 #ifdef HAVE_SYS_MTIO_H
19252 #include <sys/mtio.h>
19258 static struct mtget ac_aggr;
19259 if (sizeof ac_aggr.mt_gstat)
19265 rm -f conftest.$ac_objext
19266 if { (ac_try="$ac_compile"
19267 case "(($ac_try" in
19268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19269 *) ac_try_echo=$ac_try;;
19271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19272 (eval "$ac_compile") 2>conftest.er1
19274 grep -v '^ *+' conftest.er1 >conftest.err
19276 cat conftest.err >&5
19277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 (exit $ac_status); } && {
19279 test -z "$ac_c_werror_flag" ||
19280 test ! -s conftest.err
19281 } && test -s conftest.$ac_objext; then
19282 ac_cv_member_struct_mtget_mt_gstat=yes
19284 echo "$as_me: failed program was:" >&5
19285 sed 's/^/| /' conftest.$ac_ext >&5
19287 ac_cv_member_struct_mtget_mt_gstat=no
19290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19295 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19296 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19297 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19299 cat >>confdefs.h <<_ACEOF
19300 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19305 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19306 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19307 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19308 echo $ECHO_N "(cached) $ECHO_C" >&6
19310 cat >conftest.$ac_ext <<_ACEOF
19313 cat confdefs.h >>conftest.$ac_ext
19314 cat >>conftest.$ac_ext <<_ACEOF
19315 /* end confdefs.h. */
19316 #include <sys/types.h>
19317 #ifdef HAVE_SYS_MTIO_H
19318 #include <sys/mtio.h>
19324 static struct mtget ac_aggr;
19325 if (ac_aggr.mt_blkno)
19331 rm -f conftest.$ac_objext
19332 if { (ac_try="$ac_compile"
19333 case "(($ac_try" in
19334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19335 *) ac_try_echo=$ac_try;;
19337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19338 (eval "$ac_compile") 2>conftest.er1
19340 grep -v '^ *+' conftest.er1 >conftest.err
19342 cat conftest.err >&5
19343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19344 (exit $ac_status); } && {
19345 test -z "$ac_c_werror_flag" ||
19346 test ! -s conftest.err
19347 } && test -s conftest.$ac_objext; then
19348 ac_cv_member_struct_mtget_mt_blkno=yes
19350 echo "$as_me: failed program was:" >&5
19351 sed 's/^/| /' conftest.$ac_ext >&5
19353 cat >conftest.$ac_ext <<_ACEOF
19356 cat confdefs.h >>conftest.$ac_ext
19357 cat >>conftest.$ac_ext <<_ACEOF
19358 /* end confdefs.h. */
19359 #include <sys/types.h>
19360 #ifdef HAVE_SYS_MTIO_H
19361 #include <sys/mtio.h>
19367 static struct mtget ac_aggr;
19368 if (sizeof ac_aggr.mt_blkno)
19374 rm -f conftest.$ac_objext
19375 if { (ac_try="$ac_compile"
19376 case "(($ac_try" in
19377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19378 *) ac_try_echo=$ac_try;;
19380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19381 (eval "$ac_compile") 2>conftest.er1
19383 grep -v '^ *+' conftest.er1 >conftest.err
19385 cat conftest.err >&5
19386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387 (exit $ac_status); } && {
19388 test -z "$ac_c_werror_flag" ||
19389 test ! -s conftest.err
19390 } && test -s conftest.$ac_objext; then
19391 ac_cv_member_struct_mtget_mt_blkno=yes
19393 echo "$as_me: failed program was:" >&5
19394 sed 's/^/| /' conftest.$ac_ext >&5
19396 ac_cv_member_struct_mtget_mt_blkno=no
19399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19404 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19405 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19406 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19408 cat >>confdefs.h <<_ACEOF
19409 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19416 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19417 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19418 if test "${ac_cv_member_struct_option_name+set}" = set; then
19419 echo $ECHO_N "(cached) $ECHO_C" >&6
19421 cat >conftest.$ac_ext <<_ACEOF
19424 cat confdefs.h >>conftest.$ac_ext
19425 cat >>conftest.$ac_ext <<_ACEOF
19426 /* end confdefs.h. */
19427 #ifdef HAVE_GETOPT_H
19428 #include <getopt.h>
19434 static struct option ac_aggr;
19441 rm -f conftest.$ac_objext
19442 if { (ac_try="$ac_compile"
19443 case "(($ac_try" in
19444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19445 *) ac_try_echo=$ac_try;;
19447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19448 (eval "$ac_compile") 2>conftest.er1
19450 grep -v '^ *+' conftest.er1 >conftest.err
19452 cat conftest.err >&5
19453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19454 (exit $ac_status); } && {
19455 test -z "$ac_c_werror_flag" ||
19456 test ! -s conftest.err
19457 } && test -s conftest.$ac_objext; then
19458 ac_cv_member_struct_option_name=yes
19460 echo "$as_me: failed program was:" >&5
19461 sed 's/^/| /' conftest.$ac_ext >&5
19463 cat >conftest.$ac_ext <<_ACEOF
19466 cat confdefs.h >>conftest.$ac_ext
19467 cat >>conftest.$ac_ext <<_ACEOF
19468 /* end confdefs.h. */
19469 #ifdef HAVE_GETOPT_H
19470 #include <getopt.h>
19476 static struct option ac_aggr;
19477 if (sizeof ac_aggr.name)
19483 rm -f conftest.$ac_objext
19484 if { (ac_try="$ac_compile"
19485 case "(($ac_try" in
19486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19487 *) ac_try_echo=$ac_try;;
19489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19490 (eval "$ac_compile") 2>conftest.er1
19492 grep -v '^ *+' conftest.er1 >conftest.err
19494 cat conftest.err >&5
19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496 (exit $ac_status); } && {
19497 test -z "$ac_c_werror_flag" ||
19498 test ! -s conftest.err
19499 } && test -s conftest.$ac_objext; then
19500 ac_cv_member_struct_option_name=yes
19502 echo "$as_me: failed program was:" >&5
19503 sed 's/^/| /' conftest.$ac_ext >&5
19505 ac_cv_member_struct_option_name=no
19508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19513 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19514 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19515 if test $ac_cv_member_struct_option_name = yes; then
19517 cat >>confdefs.h <<_ACEOF
19518 #define HAVE_STRUCT_OPTION_NAME 1
19525 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19526 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19527 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19528 echo $ECHO_N "(cached) $ECHO_C" >&6
19530 cat >conftest.$ac_ext <<_ACEOF
19533 cat confdefs.h >>conftest.$ac_ext
19534 cat >>conftest.$ac_ext <<_ACEOF
19535 /* end confdefs.h. */
19536 $ac_includes_default
19540 static struct stat ac_aggr;
19541 if (ac_aggr.st_blocks)
19547 rm -f conftest.$ac_objext
19548 if { (ac_try="$ac_compile"
19549 case "(($ac_try" in
19550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19551 *) ac_try_echo=$ac_try;;
19553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19554 (eval "$ac_compile") 2>conftest.er1
19556 grep -v '^ *+' conftest.er1 >conftest.err
19558 cat conftest.err >&5
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 (exit $ac_status); } && {
19561 test -z "$ac_c_werror_flag" ||
19562 test ! -s conftest.err
19563 } && test -s conftest.$ac_objext; then
19564 ac_cv_member_struct_stat_st_blocks=yes
19566 echo "$as_me: failed program was:" >&5
19567 sed 's/^/| /' conftest.$ac_ext >&5
19569 cat >conftest.$ac_ext <<_ACEOF
19572 cat confdefs.h >>conftest.$ac_ext
19573 cat >>conftest.$ac_ext <<_ACEOF
19574 /* end confdefs.h. */
19575 $ac_includes_default
19579 static struct stat ac_aggr;
19580 if (sizeof ac_aggr.st_blocks)
19586 rm -f conftest.$ac_objext
19587 if { (ac_try="$ac_compile"
19588 case "(($ac_try" in
19589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19590 *) ac_try_echo=$ac_try;;
19592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19593 (eval "$ac_compile") 2>conftest.er1
19595 grep -v '^ *+' conftest.er1 >conftest.err
19597 cat conftest.err >&5
19598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599 (exit $ac_status); } && {
19600 test -z "$ac_c_werror_flag" ||
19601 test ! -s conftest.err
19602 } && test -s conftest.$ac_objext; then
19603 ac_cv_member_struct_stat_st_blocks=yes
19605 echo "$as_me: failed program was:" >&5
19606 sed 's/^/| /' conftest.$ac_ext >&5
19608 ac_cv_member_struct_stat_st_blocks=no
19611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19616 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19617 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19618 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19620 cat >>confdefs.h <<_ACEOF
19621 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19628 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19629 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19630 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19631 echo $ECHO_N "(cached) $ECHO_C" >&6
19633 cat >conftest.$ac_ext <<_ACEOF
19636 cat confdefs.h >>conftest.$ac_ext
19637 cat >>conftest.$ac_ext <<_ACEOF
19638 /* end confdefs.h. */
19639 #ifdef HAVE_SYS_TYPES_H
19640 #include <sys/types.h>
19642 #ifdef HAVE_NETINET_IN_H
19643 #include <netinet/in.h>
19649 static struct sockaddr_in6 ac_aggr;
19650 if (ac_aggr.sin6_scope_id)
19656 rm -f conftest.$ac_objext
19657 if { (ac_try="$ac_compile"
19658 case "(($ac_try" in
19659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19660 *) ac_try_echo=$ac_try;;
19662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19663 (eval "$ac_compile") 2>conftest.er1
19665 grep -v '^ *+' conftest.er1 >conftest.err
19667 cat conftest.err >&5
19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669 (exit $ac_status); } && {
19670 test -z "$ac_c_werror_flag" ||
19671 test ! -s conftest.err
19672 } && test -s conftest.$ac_objext; then
19673 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19675 echo "$as_me: failed program was:" >&5
19676 sed 's/^/| /' conftest.$ac_ext >&5
19678 cat >conftest.$ac_ext <<_ACEOF
19681 cat confdefs.h >>conftest.$ac_ext
19682 cat >>conftest.$ac_ext <<_ACEOF
19683 /* end confdefs.h. */
19684 #ifdef HAVE_SYS_TYPES_H
19685 #include <sys/types.h>
19687 #ifdef HAVE_NETINET_IN_H
19688 #include <netinet/in.h>
19694 static struct sockaddr_in6 ac_aggr;
19695 if (sizeof ac_aggr.sin6_scope_id)
19701 rm -f conftest.$ac_objext
19702 if { (ac_try="$ac_compile"
19703 case "(($ac_try" in
19704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19705 *) ac_try_echo=$ac_try;;
19707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19708 (eval "$ac_compile") 2>conftest.er1
19710 grep -v '^ *+' conftest.er1 >conftest.err
19712 cat conftest.err >&5
19713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714 (exit $ac_status); } && {
19715 test -z "$ac_c_werror_flag" ||
19716 test ! -s conftest.err
19717 } && test -s conftest.$ac_objext; then
19718 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19720 echo "$as_me: failed program was:" >&5
19721 sed 's/^/| /' conftest.$ac_ext >&5
19723 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19731 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19732 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19733 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19735 cat >>confdefs.h <<_ACEOF
19736 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19743 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19744 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19745 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19746 echo $ECHO_N "(cached) $ECHO_C" >&6
19748 cat >conftest.$ac_ext <<_ACEOF
19751 cat confdefs.h >>conftest.$ac_ext
19752 cat >>conftest.$ac_ext <<_ACEOF
19753 /* end confdefs.h. */
19754 #ifdef HAVE_SYS_TYPES_H
19755 #include <sys/types.h>
19757 #ifdef HAVE_NETINET_IN_H
19758 # include <netinet/in.h>
19760 #ifdef HAVE_ARPA_NAMESER_H
19761 # include <arpa/nameser.h>
19767 static ns_msg ac_aggr;
19768 if (ac_aggr._msg_ptr)
19774 rm -f conftest.$ac_objext
19775 if { (ac_try="$ac_compile"
19776 case "(($ac_try" in
19777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19778 *) ac_try_echo=$ac_try;;
19780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19781 (eval "$ac_compile") 2>conftest.er1
19783 grep -v '^ *+' conftest.er1 >conftest.err
19785 cat conftest.err >&5
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); } && {
19788 test -z "$ac_c_werror_flag" ||
19789 test ! -s conftest.err
19790 } && test -s conftest.$ac_objext; then
19791 ac_cv_member_ns_msg__msg_ptr=yes
19793 echo "$as_me: failed program was:" >&5
19794 sed 's/^/| /' conftest.$ac_ext >&5
19796 cat >conftest.$ac_ext <<_ACEOF
19799 cat confdefs.h >>conftest.$ac_ext
19800 cat >>conftest.$ac_ext <<_ACEOF
19801 /* end confdefs.h. */
19802 #ifdef HAVE_SYS_TYPES_H
19803 #include <sys/types.h>
19805 #ifdef HAVE_NETINET_IN_H
19806 # include <netinet/in.h>
19808 #ifdef HAVE_ARPA_NAMESER_H
19809 # include <arpa/nameser.h>
19815 static ns_msg ac_aggr;
19816 if (sizeof ac_aggr._msg_ptr)
19822 rm -f conftest.$ac_objext
19823 if { (ac_try="$ac_compile"
19824 case "(($ac_try" in
19825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19826 *) ac_try_echo=$ac_try;;
19828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19829 (eval "$ac_compile") 2>conftest.er1
19831 grep -v '^ *+' conftest.er1 >conftest.err
19833 cat conftest.err >&5
19834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19835 (exit $ac_status); } && {
19836 test -z "$ac_c_werror_flag" ||
19837 test ! -s conftest.err
19838 } && test -s conftest.$ac_objext; then
19839 ac_cv_member_ns_msg__msg_ptr=yes
19841 echo "$as_me: failed program was:" >&5
19842 sed 's/^/| /' conftest.$ac_ext >&5
19844 ac_cv_member_ns_msg__msg_ptr=no
19847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19852 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19853 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19854 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19856 cat >>confdefs.h <<_ACEOF
19857 #define HAVE_NS_MSG__MSG_PTR 1
19864 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19865 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19866 if test "${ac_cv_have_timezone+set}" = set; then
19867 echo $ECHO_N "(cached) $ECHO_C" >&6
19869 cat >conftest.$ac_ext <<_ACEOF
19872 cat confdefs.h >>conftest.$ac_ext
19873 cat >>conftest.$ac_ext <<_ACEOF
19874 /* end confdefs.h. */
19884 rm -f conftest.$ac_objext conftest$ac_exeext
19885 if { (ac_try="$ac_link"
19886 case "(($ac_try" in
19887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19888 *) ac_try_echo=$ac_try;;
19890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19891 (eval "$ac_link") 2>conftest.er1
19893 grep -v '^ *+' conftest.er1 >conftest.err
19895 cat conftest.err >&5
19896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19897 (exit $ac_status); } && {
19898 test -z "$ac_c_werror_flag" ||
19899 test ! -s conftest.err
19900 } && test -s conftest$ac_exeext &&
19901 $as_test_x conftest$ac_exeext; then
19902 ac_cv_have_timezone="yes"
19904 echo "$as_me: failed program was:" >&5
19905 sed 's/^/| /' conftest.$ac_ext >&5
19907 ac_cv_have_timezone="no"
19910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19911 conftest$ac_exeext conftest.$ac_ext
19913 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19914 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19915 if test "$ac_cv_have_timezone" = "yes"
19918 cat >>confdefs.h <<\_ACEOF
19919 #define HAVE_TIMEZONE 1
19923 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19924 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19925 if test "${ac_cv_have_daylight+set}" = set; then
19926 echo $ECHO_N "(cached) $ECHO_C" >&6
19928 cat >conftest.$ac_ext <<_ACEOF
19931 cat confdefs.h >>conftest.$ac_ext
19932 cat >>conftest.$ac_ext <<_ACEOF
19933 /* end confdefs.h. */
19943 rm -f conftest.$ac_objext conftest$ac_exeext
19944 if { (ac_try="$ac_link"
19945 case "(($ac_try" in
19946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19947 *) ac_try_echo=$ac_try;;
19949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19950 (eval "$ac_link") 2>conftest.er1
19952 grep -v '^ *+' conftest.er1 >conftest.err
19954 cat conftest.err >&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); } && {
19957 test -z "$ac_c_werror_flag" ||
19958 test ! -s conftest.err
19959 } && test -s conftest$ac_exeext &&
19960 $as_test_x conftest$ac_exeext; then
19961 ac_cv_have_daylight="yes"
19963 echo "$as_me: failed program was:" >&5
19964 sed 's/^/| /' conftest.$ac_ext >&5
19966 ac_cv_have_daylight="no"
19969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19970 conftest$ac_exeext conftest.$ac_ext
19972 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
19973 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
19974 if test "$ac_cv_have_daylight" = "yes"
19977 cat >>confdefs.h <<\_ACEOF
19978 #define HAVE_DAYLIGHT 1
19985 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19986 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
19987 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19988 echo $ECHO_N "(cached) $ECHO_C" >&6
19990 cat >conftest.$ac_ext <<_ACEOF
19993 cat confdefs.h >>conftest.$ac_ext
19994 cat >>conftest.$ac_ext <<_ACEOF
19995 /* end confdefs.h. */
20000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20001 $EGREP "yes" >/dev/null 2>&1; then
20002 ac_cv_cpp_def___i386__=yes
20004 ac_cv_cpp_def___i386__=no
20009 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20010 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20011 if test $ac_cv_cpp_def___i386__ = yes; then
20012 CFLAGS="$CFLAGS -D__i386__"
20013 LINTFLAGS="$LINTFLAGS -D__i386__"
20016 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20017 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20018 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20019 echo $ECHO_N "(cached) $ECHO_C" >&6
20021 cat >conftest.$ac_ext <<_ACEOF
20024 cat confdefs.h >>conftest.$ac_ext
20025 cat >>conftest.$ac_ext <<_ACEOF
20026 /* end confdefs.h. */
20031 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20032 $EGREP "yes" >/dev/null 2>&1; then
20033 ac_cv_cpp_def___x86_64__=yes
20035 ac_cv_cpp_def___x86_64__=no
20040 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20041 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20042 if test $ac_cv_cpp_def___x86_64__ = yes; then
20043 CFLAGS="$CFLAGS -D__x86_64__"
20044 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20047 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20048 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20049 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20050 echo $ECHO_N "(cached) $ECHO_C" >&6
20052 cat >conftest.$ac_ext <<_ACEOF
20055 cat confdefs.h >>conftest.$ac_ext
20056 cat >>conftest.$ac_ext <<_ACEOF
20057 /* end confdefs.h. */
20062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20063 $EGREP "yes" >/dev/null 2>&1; then
20064 ac_cv_cpp_def___ALPHA__=yes
20066 ac_cv_cpp_def___ALPHA__=no
20071 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20072 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20073 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20074 CFLAGS="$CFLAGS -D__ALPHA__"
20075 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20078 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20079 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20080 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20081 echo $ECHO_N "(cached) $ECHO_C" >&6
20083 cat >conftest.$ac_ext <<_ACEOF
20086 cat confdefs.h >>conftest.$ac_ext
20087 cat >>conftest.$ac_ext <<_ACEOF
20088 /* end confdefs.h. */
20093 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20094 $EGREP "yes" >/dev/null 2>&1; then
20095 ac_cv_cpp_def___sparc__=yes
20097 ac_cv_cpp_def___sparc__=no
20102 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20103 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20104 if test $ac_cv_cpp_def___sparc__ = yes; then
20105 CFLAGS="$CFLAGS -D__sparc__"
20106 LINTFLAGS="$LINTFLAGS -D__sparc__"
20109 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20110 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20111 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20112 echo $ECHO_N "(cached) $ECHO_C" >&6
20114 cat >conftest.$ac_ext <<_ACEOF
20117 cat confdefs.h >>conftest.$ac_ext
20118 cat >>conftest.$ac_ext <<_ACEOF
20119 /* end confdefs.h. */
20120 #ifndef __powerpc__
20124 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20125 $EGREP "yes" >/dev/null 2>&1; then
20126 ac_cv_cpp_def___powerpc__=yes
20128 ac_cv_cpp_def___powerpc__=no
20133 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20134 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20135 if test $ac_cv_cpp_def___powerpc__ = yes; then
20136 CFLAGS="$CFLAGS -D__powerpc__"
20137 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20142 case $host_vendor in
20143 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20144 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20145 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20146 echo $ECHO_N "(cached) $ECHO_C" >&6
20148 cat >conftest.$ac_ext <<_ACEOF
20151 cat confdefs.h >>conftest.$ac_ext
20152 cat >>conftest.$ac_ext <<_ACEOF
20153 /* end confdefs.h. */
20158 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20159 $EGREP "yes" >/dev/null 2>&1; then
20160 ac_cv_cpp_def___sun__=yes
20162 ac_cv_cpp_def___sun__=no
20167 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20168 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20169 if test $ac_cv_cpp_def___sun__ = yes; then
20170 CFLAGS="$CFLAGS -D__sun__"
20171 LINTFLAGS="$LINTFLAGS -D__sun__"
20177 DEPENDENCIES="### Dependencies:
20182 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20184 \$(OBJS): \$(IDL_GEN_HEADERS)
20185 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20186 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20187 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20193 ac_config_commands="$ac_config_commands include/stamp-h"
20196 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20198 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20200 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20202 ac_config_commands="$ac_config_commands dlls/user32/resources"
20204 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20206 ac_config_commands="$ac_config_commands include/wine"
20209 MAKE_RULES=Make.rules
20212 MAKE_DLL_RULES=dlls/Makedll.rules
20215 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20218 MAKE_TEST_RULES=dlls/Maketest.rules
20221 MAKE_PROG_RULES=programs/Makeprog.rules
20224 ac_config_files="$ac_config_files Make.rules"
20226 ac_config_files="$ac_config_files dlls/Makedll.rules"
20228 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20230 ac_config_files="$ac_config_files dlls/Maketest.rules"
20232 ac_config_files="$ac_config_files programs/Makeprog.rules"
20234 ac_config_files="$ac_config_files Makefile"
20236 ac_config_files="$ac_config_files dlls/Makefile"
20238 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20240 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20242 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20244 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20246 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20248 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20250 ac_config_files="$ac_config_files dlls/atl/Makefile"
20252 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20254 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20256 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20258 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20260 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20262 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20264 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20266 ac_config_files="$ac_config_files dlls/cards/Makefile"
20268 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20270 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20272 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20274 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20276 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20278 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20280 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20282 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20284 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20286 ac_config_files="$ac_config_files dlls/credui/Makefile"
20288 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20290 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20292 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20294 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20296 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20298 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20300 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20302 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20304 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20306 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20308 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20310 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20312 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20314 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20316 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20318 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20320 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20322 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20324 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20326 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20328 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20330 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20332 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20334 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20336 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20338 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20340 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20342 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20344 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20346 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20348 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20350 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20352 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20354 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20356 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20358 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20360 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20362 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20364 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20366 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20368 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20370 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20372 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20374 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20376 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20378 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20380 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20382 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20384 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20386 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20388 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20390 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20392 ac_config_files="$ac_config_files dlls/hid/Makefile"
20394 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20396 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20398 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20400 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20402 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20404 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20406 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20408 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20410 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20412 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20414 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20416 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20418 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20420 ac_config_files="$ac_config_files dlls/itss/Makefile"
20422 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20424 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20426 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20428 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20430 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20432 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20434 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20436 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20438 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20440 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20442 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20444 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20446 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20448 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20450 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20452 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20454 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20456 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20458 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20460 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20462 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20464 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20466 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20468 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20470 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20472 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20474 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20476 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20478 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20480 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20482 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20484 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20486 ac_config_files="$ac_config_files dlls/msi/Makefile"
20488 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20490 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20492 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20494 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20496 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20498 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20500 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20502 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20504 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20506 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20508 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20510 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20512 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20514 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20516 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20518 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20520 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20522 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20524 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20526 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20528 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20530 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20532 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20534 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20536 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20538 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20540 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20542 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20544 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20546 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20548 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20550 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20552 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20554 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20556 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20558 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20560 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20562 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20564 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20566 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20568 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20570 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20572 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20574 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20576 ac_config_files="$ac_config_files dlls/query/Makefile"
20578 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20580 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20582 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20584 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20586 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20588 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20590 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20592 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20594 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20596 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20598 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20600 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20602 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20604 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20606 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20608 ac_config_files="$ac_config_files dlls/security/Makefile"
20610 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20612 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20614 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20616 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20618 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20620 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20622 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20624 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20626 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20628 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20630 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20632 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20634 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20636 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20638 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20640 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20642 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20644 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20646 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20648 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20650 ac_config_files="$ac_config_files dlls/sti/Makefile"
20652 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20654 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20656 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20658 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20660 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20662 ac_config_files="$ac_config_files dlls/url/Makefile"
20664 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20666 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20668 ac_config_files="$ac_config_files dlls/user32/Makefile"
20670 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20672 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20674 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20676 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20678 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20680 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20682 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20684 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20686 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20688 ac_config_files="$ac_config_files dlls/version/Makefile"
20690 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20692 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20694 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20696 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20698 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20700 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20702 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20704 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20706 ac_config_files="$ac_config_files dlls/winearts.drv/Makefile"
20708 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20710 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20712 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20714 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20716 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20718 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20720 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20722 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20724 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20726 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20728 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20730 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20732 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20734 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20736 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20738 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20740 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20742 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20744 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20746 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20748 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20750 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20752 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20754 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20756 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20758 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20760 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20762 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20764 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20766 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20768 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20770 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20772 ac_config_files="$ac_config_files documentation/Makefile"
20774 ac_config_files="$ac_config_files fonts/Makefile"
20776 ac_config_files="$ac_config_files include/Makefile"
20778 ac_config_files="$ac_config_files libs/Makefile"
20780 ac_config_files="$ac_config_files libs/port/Makefile"
20782 ac_config_files="$ac_config_files libs/wine/Makefile"
20784 ac_config_files="$ac_config_files libs/wpp/Makefile"
20786 ac_config_files="$ac_config_files loader/Makefile"
20788 ac_config_files="$ac_config_files programs/Makefile"
20790 ac_config_files="$ac_config_files programs/clock/Makefile"
20792 ac_config_files="$ac_config_files programs/cmd/Makefile"
20794 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20796 ac_config_files="$ac_config_files programs/control/Makefile"
20798 ac_config_files="$ac_config_files programs/eject/Makefile"
20800 ac_config_files="$ac_config_files programs/expand/Makefile"
20802 ac_config_files="$ac_config_files programs/explorer/Makefile"
20804 ac_config_files="$ac_config_files programs/hh/Makefile"
20806 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20808 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20810 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20812 ac_config_files="$ac_config_files programs/notepad/Makefile"
20814 ac_config_files="$ac_config_files programs/oleview/Makefile"
20816 ac_config_files="$ac_config_files programs/progman/Makefile"
20818 ac_config_files="$ac_config_files programs/regedit/Makefile"
20820 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20822 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20824 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20826 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20828 ac_config_files="$ac_config_files programs/start/Makefile"
20830 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20832 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20834 ac_config_files="$ac_config_files programs/view/Makefile"
20836 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20838 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20840 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20842 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20844 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20846 ac_config_files="$ac_config_files programs/winefile/Makefile"
20848 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20850 ac_config_files="$ac_config_files programs/winemine/Makefile"
20852 ac_config_files="$ac_config_files programs/winepath/Makefile"
20854 ac_config_files="$ac_config_files programs/winetest/Makefile"
20856 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20858 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20860 ac_config_files="$ac_config_files programs/winver/Makefile"
20862 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20864 ac_config_files="$ac_config_files programs/xcopy/Makefile"
20866 ac_config_files="$ac_config_files server/Makefile"
20868 ac_config_files="$ac_config_files tools/Makefile"
20870 ac_config_files="$ac_config_files tools/widl/Makefile"
20872 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20874 ac_config_files="$ac_config_files tools/winedump/Makefile"
20876 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20878 ac_config_files="$ac_config_files tools/wmc/Makefile"
20880 ac_config_files="$ac_config_files tools/wrc/Makefile"
20883 cat >confcache <<\_ACEOF
20884 # This file is a shell script that caches the results of configure
20885 # tests run on this system so they can be shared between configure
20886 # scripts and configure runs, see configure's option --config-cache.
20887 # It is not useful on other systems. If it contains results you don't
20888 # want to keep, you may remove or edit it.
20890 # config.status only pays attention to the cache file if you give it
20891 # the --recheck option to rerun configure.
20893 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20894 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20895 # following values.
20899 # The following way of writing the cache mishandles newlines in values,
20900 # but we know of no workaround that is simple, portable, and efficient.
20901 # So, we kill variables containing newlines.
20902 # Ultrix sh set writes to stderr and can't be redirected directly,
20903 # and sets the high bit in the cache file unless we assign to the vars.
20905 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20906 eval ac_val=\$$ac_var
20910 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20911 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20914 _ | IFS | as_nl) ;; #(
20915 *) $as_unset $ac_var ;;
20921 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20922 *${as_nl}ac_space=\ *)
20923 # `set' does not quote correctly, so add quotes (double-quote
20924 # substitution turns \\\\ into \\, and sed turns \\ into \).
20927 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20930 # `set' quotes correctly as required by POSIX, so do not add quotes.
20931 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20940 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20942 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20944 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20945 if test -w "$cache_file"; then
20946 test "x$cache_file" != "x/dev/null" &&
20947 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20948 echo "$as_me: updating cache $cache_file" >&6;}
20949 cat confcache >$cache_file
20951 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20952 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20957 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20958 # Let make expand exec_prefix.
20959 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20961 DEFS=-DHAVE_CONFIG_H
20965 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20966 # 1. Remove the extension, and $U if already installed.
20967 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20968 ac_i=`echo "$ac_i" | sed "$ac_script"`
20969 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20970 # will be set to the directory where LIBOBJS objects are built.
20971 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20972 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20974 LIBOBJS=$ac_libobjs
20976 LTLIBOBJS=$ac_ltlibobjs
20980 : ${CONFIG_STATUS=./config.status}
20981 ac_clean_files_save=$ac_clean_files
20982 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20983 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20984 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20985 cat >$CONFIG_STATUS <<_ACEOF
20987 # Generated by $as_me.
20988 # Run this file to recreate the current configuration.
20989 # Compiler output produced by configure, useful for debugging
20990 # configure, is in config.log if it exists.
20993 ac_cs_recheck=false
20995 SHELL=\${CONFIG_SHELL-$SHELL}
20998 cat >>$CONFIG_STATUS <<\_ACEOF
20999 ## --------------------- ##
21000 ## M4sh Initialization. ##
21001 ## --------------------- ##
21003 # Be more Bourne compatible
21004 DUALCASE=1; export DUALCASE # for MKS sh
21005 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21008 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21009 # is contrary to our usage. Disable this feature.
21010 alias -g '${1+"$@"}'='"$@"'
21011 setopt NO_GLOB_SUBST
21013 case `(set -o) 2>/dev/null` in
21014 *posix*) set -o posix ;;
21023 # Avoid depending upon Character Ranges.
21024 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21025 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21026 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21027 as_cr_digits='0123456789'
21028 as_cr_alnum=$as_cr_Letters$as_cr_digits
21030 # The user is always right.
21031 if test "${PATH_SEPARATOR+set}" != set; then
21032 echo "#! /bin/sh" >conf$$.sh
21033 echo "exit 0" >>conf$$.sh
21035 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21043 # Support unset when possible.
21044 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21052 # We need space, tab and new line, in precisely that order. Quoting is
21053 # there to prevent editors from complaining about space-tab.
21054 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21055 # splitting by setting IFS to empty value.)
21060 # Find who we are. Look in the path if we contain no directory separator.
21062 *[\\/]* ) as_myself=$0 ;;
21063 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21064 for as_dir in $PATH
21067 test -z "$as_dir" && as_dir=.
21068 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21074 # We did not find ourselves, most probably we were run as `sh COMMAND'
21075 # in which case we are not to be found in the path.
21076 if test "x$as_myself" = x; then
21079 if test ! -f "$as_myself"; then
21080 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21081 { (exit 1); exit 1; }
21084 # Work around bugs in pre-3.0 UWIN ksh.
21085 for as_var in ENV MAIL MAILPATH
21086 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21094 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21095 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21096 LC_TELEPHONE LC_TIME
21098 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21099 eval $as_var=C; export $as_var
21101 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21105 # Required to use basename.
21106 if expr a : '\(a\)' >/dev/null 2>&1 &&
21107 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21113 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21114 as_basename=basename
21120 # Name of the executable.
21121 as_me=`$as_basename -- "$0" ||
21122 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21123 X"$0" : 'X\(//\)$' \| \
21124 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21126 sed '/^.*\/\([^/][^/]*\)\/*$/{
21145 as_lineno_1=$LINENO
21146 as_lineno_2=$LINENO
21147 test "x$as_lineno_1" != "x$as_lineno_2" &&
21148 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21150 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21151 # uniformly replaced by the line number. The first 'sed' inserts a
21152 # line-number line after each line using $LINENO; the second 'sed'
21153 # does the real work. The second script uses 'N' to pair each
21154 # line-number line with the line containing $LINENO, and appends
21155 # trailing '-' during substitution so that $LINENO is not a special
21156 # case at line end.
21157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21158 # scripts with optimization help from Paolo Bonzini. Blame Lee
21159 # E. McMahon (1931-1989) for sed's syntax. :-)
21171 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21174 ' >$as_me.lineno &&
21175 chmod +x "$as_me.lineno" ||
21176 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21177 { (exit 1); exit 1; }; }
21179 # Don't try to exec as it changes $[0], causing all sort of problems
21180 # (the dirname of $[0] is not the place where we might find the
21181 # original and so on. Autoconf is especially sensitive to this).
21182 . "./$as_me.lineno"
21183 # Exit status is that of the last command.
21188 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21194 ECHO_C= ECHO_N= ECHO_T=
21195 case `echo -n x` in
21197 case `echo 'x\c'` in
21198 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21205 if expr a : '\(a\)' >/dev/null 2>&1 &&
21206 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21212 rm -f conf$$ conf$$.exe conf$$.file
21213 if test -d conf$$.dir; then
21214 rm -f conf$$.dir/conf$$.file
21220 if ln -s conf$$.file conf$$ 2>/dev/null; then
21222 # ... but there are two gotchas:
21223 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21224 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21225 # In both cases, we have to default to `cp -p'.
21226 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21228 elif ln conf$$.file conf$$ 2>/dev/null; then
21233 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21234 rmdir conf$$.dir 2>/dev/null
21236 if mkdir -p . 2>/dev/null; then
21239 test -d ./-p && rmdir ./-p
21243 if test -x / >/dev/null 2>&1; then
21244 as_test_x='test -x'
21246 if ls -dL / >/dev/null 2>&1; then
21253 if test -d "$1"; then
21259 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21260 ???[sx]*):;;*)false;;esac;fi
21264 as_executable_p=$as_test_x
21266 # Sed expression to map a string onto a valid CPP name.
21267 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21269 # Sed expression to map a string onto a valid variable name.
21270 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21275 # Save the log message, to keep $[0] and so on meaningful, and to
21276 # report actual input values of CONFIG_FILES etc. instead of their
21277 # values after options handling.
21279 This file was extended by Wine $as_me 0.9.33, which was
21280 generated by GNU Autoconf 2.61. Invocation command line was
21282 CONFIG_FILES = $CONFIG_FILES
21283 CONFIG_HEADERS = $CONFIG_HEADERS
21284 CONFIG_LINKS = $CONFIG_LINKS
21285 CONFIG_COMMANDS = $CONFIG_COMMANDS
21288 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21293 cat >>$CONFIG_STATUS <<_ACEOF
21294 # Files that config.status was made for.
21295 config_files="$ac_config_files"
21296 config_headers="$ac_config_headers"
21297 config_commands="$ac_config_commands"
21301 cat >>$CONFIG_STATUS <<\_ACEOF
21303 \`$as_me' instantiates files from templates according to the
21304 current configuration.
21306 Usage: $0 [OPTIONS] [FILE]...
21308 -h, --help print this help, then exit
21309 -V, --version print version number and configuration settings, then exit
21310 -q, --quiet do not print progress messages
21311 -d, --debug don't remove temporary files
21312 --recheck update $as_me by reconfiguring in the same conditions
21313 --file=FILE[:TEMPLATE]
21314 instantiate the configuration file FILE
21315 --header=FILE[:TEMPLATE]
21316 instantiate the configuration header FILE
21318 Configuration files:
21321 Configuration headers:
21324 Configuration commands:
21327 Report bugs to <bug-autoconf@gnu.org>."
21330 cat >>$CONFIG_STATUS <<_ACEOF
21332 Wine config.status 0.9.33
21333 configured by $0, generated by GNU Autoconf 2.61,
21334 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21336 Copyright (C) 2006 Free Software Foundation, Inc.
21337 This config.status script is free software; the Free Software Foundation
21338 gives unlimited permission to copy, distribute and modify it."
21345 cat >>$CONFIG_STATUS <<\_ACEOF
21346 # If no file are specified by the user, then we need to provide default
21347 # value. By we need to know if files were specified by the user.
21353 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21354 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21365 # Handling of the options.
21366 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21368 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21369 echo "$ac_cs_version"; exit ;;
21370 --debug | --debu | --deb | --de | --d | -d )
21372 --file | --fil | --fi | --f )
21374 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21375 ac_need_defaults=false;;
21376 --header | --heade | --head | --hea )
21378 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21379 ac_need_defaults=false;;
21381 # Conflict between --help and --header
21382 { echo "$as_me: error: ambiguous option: $1
21383 Try \`$0 --help' for more information." >&2
21384 { (exit 1); exit 1; }; };;
21385 --help | --hel | -h )
21386 echo "$ac_cs_usage"; exit ;;
21387 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21388 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21391 # This is an error.
21392 -*) { echo "$as_me: error: unrecognized option: $1
21393 Try \`$0 --help' for more information." >&2
21394 { (exit 1); exit 1; }; } ;;
21396 *) ac_config_targets="$ac_config_targets $1"
21397 ac_need_defaults=false ;;
21403 ac_configure_extra_args=
21405 if $ac_cs_silent; then
21407 ac_configure_extra_args="$ac_configure_extra_args --silent"
21411 cat >>$CONFIG_STATUS <<_ACEOF
21412 if \$ac_cs_recheck; then
21413 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21414 CONFIG_SHELL=$SHELL
21415 export CONFIG_SHELL
21416 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21420 cat >>$CONFIG_STATUS <<\_ACEOF
21424 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21425 ## Running $as_me. ##
21431 cat >>$CONFIG_STATUS <<_ACEOF
21434 cat >>$CONFIG_STATUS <<\_ACEOF
21436 # Handling of arguments.
21437 for ac_config_target in $ac_config_targets
21439 case $ac_config_target in
21440 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21441 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21442 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21443 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21444 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21445 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21446 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21447 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21448 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21449 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21450 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21451 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21452 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21453 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21454 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21455 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21456 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21457 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21458 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21459 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21460 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21461 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21462 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21463 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21464 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21465 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21466 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21467 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21468 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21469 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21470 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21471 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21472 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21473 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21474 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21475 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21476 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21477 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21478 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21479 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21480 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21481 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21482 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21483 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21484 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21485 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21486 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21487 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21488 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21489 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21490 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21491 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21492 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21493 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21494 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21495 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21496 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21497 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21498 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21499 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21500 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21501 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21502 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21503 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21504 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21505 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21506 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21507 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21508 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21509 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21510 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21511 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21512 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21513 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21514 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21515 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21516 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21517 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21518 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21519 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21520 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21521 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21522 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21523 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21524 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21525 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21526 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21527 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21528 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21529 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21530 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21531 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21532 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21533 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21534 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21535 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21536 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21537 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21538 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21539 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21540 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21541 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21542 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21543 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21544 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21545 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21546 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21547 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21548 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21549 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21550 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21551 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21552 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21553 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21554 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21555 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21556 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21557 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21558 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21559 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21560 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21561 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21562 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21563 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21564 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21565 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21566 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21567 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21568 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21569 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21570 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21571 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21572 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21573 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21574 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21575 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21576 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21577 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21578 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21579 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21580 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21581 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21582 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21583 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21584 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21585 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21586 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21587 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21588 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21589 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21590 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21591 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21592 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21593 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21594 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21595 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21596 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21597 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21598 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21599 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21600 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21601 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21602 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21603 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21604 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21605 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21606 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21607 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21608 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21609 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21610 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21611 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21612 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21613 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21614 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21615 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21616 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21617 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21618 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21619 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21620 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21621 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21622 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21623 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21624 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21625 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21626 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21627 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21628 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21629 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21630 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21631 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21632 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21633 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21634 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21635 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21636 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21637 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21638 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21639 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21640 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21641 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21642 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21643 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21644 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21645 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21646 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21647 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21648 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21649 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21650 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21651 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21652 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21653 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21654 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21655 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21656 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21657 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21658 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21659 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21660 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21661 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21662 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21663 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21664 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21665 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21666 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21667 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21668 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21669 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21670 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21671 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21672 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21673 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21674 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21675 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21676 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21677 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21678 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21679 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21680 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21681 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21682 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21683 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21684 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21685 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21686 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21687 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21688 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21689 "dlls/winearts.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winearts.drv/Makefile" ;;
21690 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21691 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21692 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21693 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21694 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21695 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21696 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21697 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21698 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21699 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21700 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21701 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21702 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21703 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21704 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21705 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21706 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21707 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21708 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21709 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21710 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21711 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21712 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21713 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21714 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21715 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21716 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21717 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21718 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21719 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21720 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21721 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21722 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21723 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21724 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21725 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21726 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21727 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21728 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21729 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21730 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21731 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21732 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21733 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21734 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21735 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21736 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21737 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21738 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21739 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21740 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21741 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21742 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21743 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21744 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21745 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21746 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21747 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21748 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21749 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21750 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21751 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21752 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21753 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21754 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21755 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21756 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21757 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21758 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21759 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21760 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21761 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21762 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21763 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21764 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21765 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21766 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21767 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21768 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
21769 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21770 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21771 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21772 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21773 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21774 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21775 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21776 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21778 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21779 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21780 { (exit 1); exit 1; }; };;
21785 # If the user did not use the arguments to specify the items to instantiate,
21786 # then the envvar interface is used. Set only those that are not.
21787 # We use the long form for the default assignment because of an extremely
21788 # bizarre bug on SunOS 4.1.3.
21789 if $ac_need_defaults; then
21790 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21791 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21792 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21795 # Have a temporary directory for convenience. Make it in the build tree
21796 # simply because there is no reason against having it here, and in addition,
21797 # creating and moving files from /tmp can sometimes cause problems.
21798 # Hook for its removal unless debugging.
21799 # Note that there is a small window in which the directory will not be cleaned:
21800 # after its creation but before its name has been assigned to `$tmp'.
21804 trap 'exit_status=$?
21805 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21807 trap '{ (exit 1); exit 1; }' 1 2 13 15
21809 # Create a (secure) tmp directory for tmp files.
21812 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21813 test -n "$tmp" && test -d "$tmp"
21816 tmp=./conf$$-$RANDOM
21817 (umask 077 && mkdir "$tmp")
21820 echo "$me: cannot create a temporary directory in ." >&2
21821 { (exit 1); exit 1; }
21825 # Set up the sed scripts for CONFIG_FILES section.
21828 # No need to generate the scripts if there are no CONFIG_FILES.
21829 # This happens for instance when ./config.status config.h
21830 if test -n "$CONFIG_FILES"; then
21834 # Create sed commands to just substitute file output variables.
21836 # Remaining file output variables are in a fragment that also has non-file
21842 for ac_last_try in false false false false false :; do
21843 cat >conf$$subs.sed <<_ACEOF
21844 SHELL!$SHELL$ac_delim
21845 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21846 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21847 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21848 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21849 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21850 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21851 exec_prefix!$exec_prefix$ac_delim
21852 prefix!$prefix$ac_delim
21853 program_transform_name!$program_transform_name$ac_delim
21854 bindir!$bindir$ac_delim
21855 sbindir!$sbindir$ac_delim
21856 libexecdir!$libexecdir$ac_delim
21857 datarootdir!$datarootdir$ac_delim
21858 datadir!$datadir$ac_delim
21859 sysconfdir!$sysconfdir$ac_delim
21860 sharedstatedir!$sharedstatedir$ac_delim
21861 localstatedir!$localstatedir$ac_delim
21862 includedir!$includedir$ac_delim
21863 oldincludedir!$oldincludedir$ac_delim
21864 docdir!$docdir$ac_delim
21865 infodir!$infodir$ac_delim
21866 htmldir!$htmldir$ac_delim
21867 dvidir!$dvidir$ac_delim
21868 pdfdir!$pdfdir$ac_delim
21869 psdir!$psdir$ac_delim
21870 libdir!$libdir$ac_delim
21871 localedir!$localedir$ac_delim
21872 mandir!$mandir$ac_delim
21873 DEFS!$DEFS$ac_delim
21874 ECHO_C!$ECHO_C$ac_delim
21875 ECHO_N!$ECHO_N$ac_delim
21876 ECHO_T!$ECHO_T$ac_delim
21877 LIBS!$LIBS$ac_delim
21878 build_alias!$build_alias$ac_delim
21879 host_alias!$host_alias$ac_delim
21880 target_alias!$target_alias$ac_delim
21881 build!$build$ac_delim
21882 build_cpu!$build_cpu$ac_delim
21883 build_vendor!$build_vendor$ac_delim
21884 build_os!$build_os$ac_delim
21885 host!$host$ac_delim
21886 host_cpu!$host_cpu$ac_delim
21887 host_vendor!$host_vendor$ac_delim
21888 host_os!$host_os$ac_delim
21889 WIN16_FILES!$WIN16_FILES$ac_delim
21890 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21891 SET_MAKE!$SET_MAKE$ac_delim
21893 CFLAGS!$CFLAGS$ac_delim
21894 LDFLAGS!$LDFLAGS$ac_delim
21895 CPPFLAGS!$CPPFLAGS$ac_delim
21896 ac_ct_CC!$ac_ct_CC$ac_delim
21897 EXEEXT!$EXEEXT$ac_delim
21898 OBJEXT!$OBJEXT$ac_delim
21900 CXXFLAGS!$CXXFLAGS$ac_delim
21901 ac_ct_CXX!$ac_ct_CXX$ac_delim
21902 CPPBIN!$CPPBIN$ac_delim
21903 TOOLSDIR!$TOOLSDIR$ac_delim
21904 XMKMF!$XMKMF$ac_delim
21906 X_CFLAGS!$X_CFLAGS$ac_delim
21907 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
21908 X_LIBS!$X_LIBS$ac_delim
21909 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
21910 FLEX!$FLEX$ac_delim
21911 BISON!$BISON$ac_delim
21913 ac_ct_AS!$ac_ct_AS$ac_delim
21916 RANLIB!$RANLIB$ac_delim
21917 STRIP!$STRIP$ac_delim
21918 WINDRES!$WINDRES$ac_delim
21919 LN_S!$LN_S$ac_delim
21921 GREP!$GREP$ac_delim
21922 EGREP!$EGREP$ac_delim
21923 LDCONFIG!$LDCONFIG$ac_delim
21924 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21925 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21928 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
21930 elif $ac_last_try; then
21931 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21932 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21933 { (exit 1); exit 1; }; }
21935 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21939 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21940 if test -n "$ac_eof"; then
21941 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21942 ac_eof=`expr $ac_eof + 1`
21945 cat >>$CONFIG_STATUS <<_ACEOF
21946 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21947 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21948 /^[ ]*@MAKE_RULES@[ ]*$/{
21952 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
21956 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
21957 r $MAKE_IMPLIB_RULES
21960 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
21964 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
21970 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21971 s/^/s,@/; s/!/@,|#_!!_#|/
21974 s/'"$ac_delim"'$/,g/; t
21976 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21977 ' >>$CONFIG_STATUS <conf$$subs.sed
21978 rm -f conf$$subs.sed
21979 cat >>$CONFIG_STATUS <<_ACEOF
21985 for ac_last_try in false false false false false :; do
21986 cat >conf$$subs.sed <<_ACEOF
21987 INSTALL_DATA!$INSTALL_DATA$ac_delim
21988 LINT!$LINT$ac_delim
21989 LINTFLAGS!$LINTFLAGS$ac_delim
21990 FONTFORGE!$FONTFORGE$ac_delim
21991 PKG_CONFIG!$PKG_CONFIG$ac_delim
21992 PRELINK!$PRELINK$ac_delim
21993 LIBPTHREAD!$LIBPTHREAD$ac_delim
21994 XLIB!$XLIB$ac_delim
21995 XFILES!$XFILES$ac_delim
21996 OPENGLFILES!$OPENGLFILES$ac_delim
21997 GLU32FILES!$GLU32FILES$ac_delim
21998 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
21999 QUARTZFILES!$QUARTZFILES$ac_delim
22000 NASLIBS!$NASLIBS$ac_delim
22001 XML2LIBS!$XML2LIBS$ac_delim
22002 XML2INCL!$XML2INCL$ac_delim
22003 XSLTLIBS!$XSLTLIBS$ac_delim
22004 XSLTINCL!$XSLTINCL$ac_delim
22005 HALINCL!$HALINCL$ac_delim
22006 sane_devel!$sane_devel$ac_delim
22007 SANEINCL!$SANEINCL$ac_delim
22008 gphoto2_devel!$gphoto2_devel$ac_delim
22009 gphoto2port_devel!$gphoto2port_devel$ac_delim
22010 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22011 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22012 ICULIBS!$ICULIBS$ac_delim
22013 RESOLVLIBS!$RESOLVLIBS$ac_delim
22014 LCMSLIBS!$LCMSLIBS$ac_delim
22015 LDAPLIBS!$LDAPLIBS$ac_delim
22016 FREETYPELIBS!$FREETYPELIBS$ac_delim
22017 FREETYPEINCL!$FREETYPEINCL$ac_delim
22018 ft_devel!$ft_devel$ac_delim
22019 ft_devel2!$ft_devel2$ac_delim
22020 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22021 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
22022 ARTSLIBS!$ARTSLIBS$ac_delim
22023 ARTSINCL!$ARTSINCL$ac_delim
22024 ESDCONFIG!$ESDCONFIG$ac_delim
22025 ESDLIBS!$ESDLIBS$ac_delim
22026 ESDINCL!$ESDINCL$ac_delim
22027 ALSALIBS!$ALSALIBS$ac_delim
22028 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22029 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22030 BUILTINFLAG!$BUILTINFLAG$ac_delim
22031 DLLEXT!$DLLEXT$ac_delim
22032 DLLFLAGS!$DLLFLAGS$ac_delim
22033 LDSHARED!$LDSHARED$ac_delim
22034 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22035 LIBEXT!$LIBEXT$ac_delim
22036 IMPLIBEXT!$IMPLIBEXT$ac_delim
22037 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
22038 DLLTOOL!$DLLTOOL$ac_delim
22039 DLLWRAP!$DLLWRAP$ac_delim
22040 MINGWAR!$MINGWAR$ac_delim
22041 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22042 IOKITLIB!$IOKITLIB$ac_delim
22043 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22044 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22045 COREAUDIO!$COREAUDIO$ac_delim
22046 CARBONLIB!$CARBONLIB$ac_delim
22047 CROSSTEST!$CROSSTEST$ac_delim
22048 CROSSCC!$CROSSCC$ac_delim
22049 CROSSWINDRES!$CROSSWINDRES$ac_delim
22050 LDPATH!$LDPATH$ac_delim
22051 CRTLIBS!$CRTLIBS$ac_delim
22052 SOCKETLIBS!$SOCKETLIBS$ac_delim
22053 MAIN_BINARY!$MAIN_BINARY$ac_delim
22054 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22056 LIBDL!$LIBDL$ac_delim
22057 LIBPOLL!$LIBPOLL$ac_delim
22058 DEPENDENCIES!$DEPENDENCIES$ac_delim
22059 LIBOBJS!$LIBOBJS$ac_delim
22060 LTLIBOBJS!$LTLIBOBJS$ac_delim
22063 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 74; then
22065 elif $ac_last_try; then
22066 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22067 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22068 { (exit 1); exit 1; }; }
22070 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22074 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22075 if test -n "$ac_eof"; then
22076 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22077 ac_eof=`expr $ac_eof + 1`
22080 cat >>$CONFIG_STATUS <<_ACEOF
22081 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22082 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22085 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22086 s/^/s,@/; s/!/@,|#_!!_#|/
22089 s/'"$ac_delim"'$/,g/; t
22091 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22092 ' >>$CONFIG_STATUS <conf$$subs.sed
22093 rm -f conf$$subs.sed
22094 cat >>$CONFIG_STATUS <<_ACEOF
22101 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22102 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22103 # trailing colons and then remove the whole line if VPATH becomes empty
22104 # (actually we leave an empty line to preserve line numbers).
22105 if test "x$srcdir" = x.; then
22106 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22107 s/:*\$(srcdir):*/:/
22108 s/:*\${srcdir}:*/:/
22110 s/^\([^=]*=[ ]*\):*/\1/
22116 cat >>$CONFIG_STATUS <<\_ACEOF
22117 fi # test -n "$CONFIG_FILES"
22120 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22123 :[FHLC]) ac_mode=$ac_tag; continue;;
22125 case $ac_mode$ac_tag in
22127 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22128 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22129 { (exit 1); exit 1; }; };;
22130 :[FH]-) ac_tag=-:-;;
22131 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22148 -) ac_f="$tmp/stdin";;
22149 *) # Look for the file first in the build tree, then in the source tree
22150 # (if the path is not absolute). The absolute path cannot be DOS-style,
22151 # because $ac_f cannot contain `:'.
22155 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22157 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22158 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22159 { (exit 1); exit 1; }; };;
22161 ac_file_inputs="$ac_file_inputs $ac_f"
22164 # Let's still pretend it is `configure' which instantiates (i.e., don't
22165 # use $as_me), people would be surprised to read:
22166 # /* config.h. Generated by config.status. */
22167 configure_input="Generated from "`IFS=:
22168 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22169 if test x"$ac_file" != x-; then
22170 configure_input="$ac_file. $configure_input"
22171 { echo "$as_me:$LINENO: creating $ac_file" >&5
22172 echo "$as_me: creating $ac_file" >&6;}
22176 *:-:* | *:-) cat >"$tmp/stdin";;
22181 ac_dir=`$as_dirname -- "$ac_file" ||
22182 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22183 X"$ac_file" : 'X\(//\)[^/]' \| \
22184 X"$ac_file" : 'X\(//\)$' \| \
22185 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22191 /^X\(\/\/\)[^/].*/{
22206 -*) as_dir=./$as_dir;;
22208 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22212 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22213 *) as_qdir=$as_dir;;
22215 as_dirs="'$as_qdir' $as_dirs"
22216 as_dir=`$as_dirname -- "$as_dir" ||
22217 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22218 X"$as_dir" : 'X\(//\)[^/]' \| \
22219 X"$as_dir" : 'X\(//\)$' \| \
22220 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22226 /^X\(\/\/\)[^/].*/{
22239 test -d "$as_dir" && break
22241 test -z "$as_dirs" || eval "mkdir $as_dirs"
22242 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22243 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22244 { (exit 1); exit 1; }; }; }
22248 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22250 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22251 # A ".." for each directory in $ac_dir_suffix.
22252 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22253 case $ac_top_builddir_sub in
22254 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22255 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22258 ac_abs_top_builddir=$ac_pwd
22259 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22260 # for backward compatibility:
22261 ac_top_builddir=$ac_top_build_prefix
22264 .) # We are building in place.
22266 ac_top_srcdir=$ac_top_builddir_sub
22267 ac_abs_top_srcdir=$ac_pwd ;;
22268 [\\/]* | ?:[\\/]* ) # Absolute name.
22269 ac_srcdir=$srcdir$ac_dir_suffix;
22270 ac_top_srcdir=$srcdir
22271 ac_abs_top_srcdir=$srcdir ;;
22272 *) # Relative name.
22273 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22274 ac_top_srcdir=$ac_top_build_prefix$srcdir
22275 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22277 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22287 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22288 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22292 cat >>$CONFIG_STATUS <<\_ACEOF
22293 # If the template does not know about datarootdir, expand it.
22294 # FIXME: This hack should be removed a few years after 2.60.
22295 ac_datarootdir_hack=; ac_datarootdir_seen=
22297 case `sed -n '/datarootdir/ {
22306 ' $ac_file_inputs` in
22307 *datarootdir*) ac_datarootdir_seen=yes;;
22308 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22309 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22310 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22312 cat >>$CONFIG_STATUS <<_ACEOF
22313 ac_datarootdir_hack='
22314 s&@datadir@&$datadir&g
22315 s&@docdir@&$docdir&g
22316 s&@infodir@&$infodir&g
22317 s&@localedir@&$localedir&g
22318 s&@mandir@&$mandir&g
22319 s&\\\${datarootdir}&$datarootdir&g' ;;
22323 # Neutralize VPATH when `$srcdir' = `.'.
22324 # Shell code in configure.ac might set extrasub.
22325 # FIXME: do we really want to maintain this feature?
22326 cat >>$CONFIG_STATUS <<_ACEOF
22330 cat >>$CONFIG_STATUS <<\_ACEOF
22332 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22333 s&@configure_input@&$configure_input&;t t
22334 s&@top_builddir@&$ac_top_builddir_sub&;t t
22335 s&@srcdir@&$ac_srcdir&;t t
22336 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22337 s&@top_srcdir@&$ac_top_srcdir&;t t
22338 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22339 s&@builddir@&$ac_builddir&;t t
22340 s&@abs_builddir@&$ac_abs_builddir&;t t
22341 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22342 s&@INSTALL@&$ac_INSTALL&;t t
22343 $ac_datarootdir_hack
22344 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22346 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22347 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22348 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22349 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22350 which seems to be undefined. Please make sure it is defined." >&5
22351 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22352 which seems to be undefined. Please make sure it is defined." >&2;}
22356 -) cat "$tmp/out"; rm -f "$tmp/out";;
22357 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22366 # Transform confdefs.h into a sed script `conftest.defines', that
22367 # substitutes the proper values into config.h.in to produce config.h.
22368 rm -f conftest.defines conftest.tail
22369 # First, append a space to every undef/define line, to ease matching.
22370 echo 's/$/ /' >conftest.defines
22371 # Then, protect against being on the right side of a sed subst, or in
22372 # an unquoted here document, in config.status. If some macros were
22373 # called several times there might be several #defines for the same
22374 # symbol, which is useless. But do not sort them, since the last
22375 # AC_DEFINE must be honored.
22376 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22377 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22378 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22379 # PARAMS is the parameter list in the macro definition--in most cases, it's
22380 # just an empty string.
22381 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22382 ac_dB='\\)[ (].*,\\1define\\2'
22390 s/^[ ]*#[ ]*define[ ][ ]*//
22395 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22396 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22397 ' >>conftest.defines
22399 # Remove the space that was appended to ease matching.
22400 # Then replace #undef with comments. This is necessary, for
22401 # example, in the case of _POSIX_SOURCE, which is predefined and required
22402 # on some systems where configure will not decide to define it.
22403 # (The regexp can be short, since the line contains either #define or #undef.)
22405 s,^[ #]*u.*,/* & */,' >>conftest.defines
22407 # Break up conftest.defines:
22408 ac_max_sed_lines=50
22410 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22411 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22412 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22414 ac_in='$ac_file_inputs'
22415 ac_out='"$tmp/out1"'
22416 ac_nxt='"$tmp/out2"'
22420 # Write a here document:
22421 cat >>$CONFIG_STATUS <<_ACEOF
22422 # First, check the format of the line:
22423 cat >"\$tmp/defines.sed" <<\\CEOF
22424 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22425 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22429 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22431 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22432 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22433 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22434 grep . conftest.tail >/dev/null || break
22435 rm -f conftest.defines
22436 mv conftest.tail conftest.defines
22438 rm -f conftest.defines conftest.tail
22440 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22441 cat >>$CONFIG_STATUS <<\_ACEOF
22442 if test x"$ac_file" != x-; then
22443 echo "/* $configure_input */" >"$tmp/config.h"
22444 cat "$ac_result" >>"$tmp/config.h"
22445 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22446 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22447 echo "$as_me: $ac_file is unchanged" >&6;}
22450 mv "$tmp/config.h" $ac_file
22453 echo "/* $configure_input */"
22459 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22460 echo "$as_me: executing $ac_file commands" >&6;}
22465 case $ac_file$ac_mode in
22466 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22467 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22468 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22469 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22470 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22471 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22472 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22473 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22474 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22475 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22476 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22477 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22478 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22484 { (exit 0); exit 0; }
22486 chmod +x $CONFIG_STATUS
22487 ac_clean_files=$ac_clean_files_save
22490 # configure is writing to config.log, and then calls config.status.
22491 # config.status does its own redirection, appending to config.log.
22492 # Unfortunately, on DOS this fails, as config.log is still kept open
22493 # by configure, so config.status won't be able to write to it; its
22494 # output is simply discarded. So we exec the FD to /dev/null,
22495 # effectively closing config.log, so it can be properly (re)opened and
22496 # appended to by config.status. When coming back to configure, we
22497 # need to make the FD available again.
22498 if test "$no_create" != yes; then
22500 ac_config_status_args=
22501 test "$silent" = yes &&
22502 ac_config_status_args="$ac_config_status_args --quiet"
22504 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22506 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22507 # would make configure fail if this is the last instruction.
22508 $ac_cs_success || { (exit 1); exit 1; }
22513 if test "$no_create" = "yes"
22518 if test "$verbose" = "yes"
22520 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
22523 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
22524 echo "$as_me: libcapi20 development files not found." >&6;}
22525 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
22526 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
22529 if test "$ac_cv_header_cups_cups_h" != "yes"
22532 { echo "$as_me:$LINENO: libcups development files not found." >&5
22533 echo "$as_me: libcups development files not found." >&6;}
22534 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
22535 echo "$as_me: Wine will be built without CUPS support." >&6;}
22539 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
22542 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
22543 echo "$as_me: libgphoto2 development files not found." >&6;}
22544 if test "$ac_cv_header_sane_sane_h" = "yes"
22546 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
22547 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
22549 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
22550 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
22554 if test "$ac_cv_header_hal_libhal_h" != "yes"
22557 { echo "$as_me:$LINENO: libhal development files not found." >&5
22558 echo "$as_me: libhal development files not found." >&6;}
22559 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
22560 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
22563 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
22566 { echo "$as_me:$LINENO: libicu development files not found." >&5
22567 echo "$as_me: libicu development files not found." >&6;}
22568 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
22569 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
22572 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
22575 { echo "$as_me:$LINENO: liblcms development files not found." >&5
22576 echo "$as_me: liblcms development files not found." >&6;}
22577 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
22578 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
22581 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
22584 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
22585 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
22586 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
22587 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
22590 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
22593 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
22594 echo "$as_me: lib(n)curses development files not found." >&6;}
22595 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
22596 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
22599 if test "$ac_cv_header_sane_sane_h" != "yes"
22602 { echo "$as_me:$LINENO: libsane development files not found." >&5
22603 echo "$as_me: libsane development files not found." >&6;}
22604 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
22605 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
22608 if test "$have_x" = "yes"
22610 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
22613 { echo "$as_me:$LINENO: libxext development files not found." >&5
22614 echo "$as_me: libxext development files not found." >&6;}
22615 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22616 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22619 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22622 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22623 echo "$as_me: libXrandr development files not found." >&6;}
22624 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22625 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22628 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22631 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22632 echo "$as_me: libXrender development files not found." >&6;}
22633 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22634 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22637 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22640 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22641 echo "$as_me: libXxf86vm development files not found." >&6;}
22642 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22643 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22647 if test "$ac_cv_header_libxml_parser_h" != "yes"
22650 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22651 echo "$as_me: libxml2 development files not found." >&6;}
22652 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22653 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22656 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22659 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22660 echo "$as_me: libxslt development files not found." >&6;}
22661 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22662 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22667 if test "$have_x" = "no"
22670 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22671 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22672 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22673 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22674 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22675 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22676 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22677 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22680 if test -z "$OPENGLFILES"
22683 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22684 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22685 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22686 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22687 if test "$wine_cv_opengl_headers_found" = "no"
22689 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22690 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22692 if test "$wine_cv_opengl_header_version_OK" = "no"
22694 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22695 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22696 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22698 if test -f /usr/X11R6/lib/libGL.a
22700 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22701 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22702 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22703 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22705 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22706 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22711 if test "$wine_cv_msg_freetype" = "yes"
22714 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22715 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22716 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22717 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22718 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22719 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22720 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22721 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22724 if test -z "$FONTSSUBDIRS"
22727 if test "$FONTFORGE" = "false"
22729 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22730 echo "$as_me: WARNING: FontForge is missing." >&2;}
22732 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22733 echo "$as_me: WARNING: FreeType is missing." >&2;}
22735 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22736 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22739 if test -z "$ALSALIBS" -a \
22740 -z "$ARTSC_LIBS" -a \
22741 -z "$AUDIOIOLIBS" -a \
22743 -z "$ESD_LIBS" -a \
22744 -z "$ac_cv_lib_soname_jack" -a \
22745 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22746 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22747 "$ac_cv_header_soundcard_h" != "yes"
22750 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22751 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22752 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22753 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22754 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
22755 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22759 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."