2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.40.
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.40'
578 PACKAGE_STRING='Wine 0.9.40'
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
772 ac_subst_files='MAKE_RULES
777 ac_precious_vars='build_alias
792 # Initialize some variables set by options.
794 ac_init_version=false
795 # The variables have the same names as the options, with
796 # dashes changed to underlines.
804 program_transform_name=s,x,x,
812 # Installation directory options.
813 # These are left unexpanded so users can "make install exec_prefix=/foo"
814 # and all the variables that are supposed to be based on exec_prefix
815 # by default will actually change.
816 # Use braces instead of parens because sh, perl, etc. also accept them.
817 # (The list follows the same order as the GNU Coding Standards.)
818 bindir='${exec_prefix}/bin'
819 sbindir='${exec_prefix}/sbin'
820 libexecdir='${exec_prefix}/libexec'
821 datarootdir='${prefix}/share'
822 datadir='${datarootdir}'
823 sysconfdir='${prefix}/etc'
824 sharedstatedir='${prefix}/com'
825 localstatedir='${prefix}/var'
826 includedir='${prefix}/include'
827 oldincludedir='/usr/include'
828 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
829 infodir='${datarootdir}/info'
834 libdir='${exec_prefix}/lib'
835 localedir='${datarootdir}/locale'
836 mandir='${datarootdir}/man'
842 # If the previous option needs an argument, assign it.
843 if test -n "$ac_prev"; then
844 eval $ac_prev=\$ac_option
850 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
854 # Accept the important Cygnus configure options, so we can diagnose typos.
856 case $ac_dashdash$ac_option in
860 -bindir | --bindir | --bindi | --bind | --bin | --bi)
862 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
865 -build | --build | --buil | --bui | --bu)
866 ac_prev=build_alias ;;
867 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
868 build_alias=$ac_optarg ;;
870 -cache-file | --cache-file | --cache-fil | --cache-fi \
871 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
872 ac_prev=cache_file ;;
873 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
874 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
875 cache_file=$ac_optarg ;;
878 cache_file=config.cache ;;
880 -datadir | --datadir | --datadi | --datad)
882 -datadir=* | --datadir=* | --datadi=* | --datad=*)
883 datadir=$ac_optarg ;;
885 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
886 | --dataroo | --dataro | --datar)
887 ac_prev=datarootdir ;;
888 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
889 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
890 datarootdir=$ac_optarg ;;
892 -disable-* | --disable-*)
893 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
894 # Reject names that are not valid shell variable names.
895 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
896 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
897 { (exit 1); exit 1; }; }
898 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
899 eval enable_$ac_feature=no ;;
901 -docdir | --docdir | --docdi | --doc | --do)
903 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
906 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
908 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
911 -enable-* | --enable-*)
912 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
913 # Reject names that are not valid shell variable names.
914 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
915 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
916 { (exit 1); exit 1; }; }
917 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
918 eval enable_$ac_feature=\$ac_optarg ;;
920 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
921 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
922 | --exec | --exe | --ex)
923 ac_prev=exec_prefix ;;
924 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
925 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
926 | --exec=* | --exe=* | --ex=*)
927 exec_prefix=$ac_optarg ;;
929 -gas | --gas | --ga | --g)
930 # Obsolete; use --with-gas.
933 -help | --help | --hel | --he | -h)
935 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
936 ac_init_help=recursive ;;
937 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
938 ac_init_help=short ;;
940 -host | --host | --hos | --ho)
941 ac_prev=host_alias ;;
942 -host=* | --host=* | --hos=* | --ho=*)
943 host_alias=$ac_optarg ;;
945 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
947 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
949 htmldir=$ac_optarg ;;
951 -includedir | --includedir | --includedi | --included | --include \
952 | --includ | --inclu | --incl | --inc)
953 ac_prev=includedir ;;
954 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
955 | --includ=* | --inclu=* | --incl=* | --inc=*)
956 includedir=$ac_optarg ;;
958 -infodir | --infodir | --infodi | --infod | --info | --inf)
960 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
961 infodir=$ac_optarg ;;
963 -libdir | --libdir | --libdi | --libd)
965 -libdir=* | --libdir=* | --libdi=* | --libd=*)
968 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
969 | --libexe | --libex | --libe)
970 ac_prev=libexecdir ;;
971 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
972 | --libexe=* | --libex=* | --libe=*)
973 libexecdir=$ac_optarg ;;
975 -localedir | --localedir | --localedi | --localed | --locale)
977 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
978 localedir=$ac_optarg ;;
980 -localstatedir | --localstatedir | --localstatedi | --localstated \
981 | --localstate | --localstat | --localsta | --localst | --locals)
982 ac_prev=localstatedir ;;
983 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
984 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
985 localstatedir=$ac_optarg ;;
987 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
989 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
993 # Obsolete; use --without-fp.
996 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
997 | --no-cr | --no-c | -n)
1000 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1001 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1004 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1005 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1006 | --oldin | --oldi | --old | --ol | --o)
1007 ac_prev=oldincludedir ;;
1008 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1009 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1010 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1011 oldincludedir=$ac_optarg ;;
1013 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1015 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1016 prefix=$ac_optarg ;;
1018 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1019 | --program-pre | --program-pr | --program-p)
1020 ac_prev=program_prefix ;;
1021 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1022 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1023 program_prefix=$ac_optarg ;;
1025 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1026 | --program-suf | --program-su | --program-s)
1027 ac_prev=program_suffix ;;
1028 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1029 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1030 program_suffix=$ac_optarg ;;
1032 -program-transform-name | --program-transform-name \
1033 | --program-transform-nam | --program-transform-na \
1034 | --program-transform-n | --program-transform- \
1035 | --program-transform | --program-transfor \
1036 | --program-transfo | --program-transf \
1037 | --program-trans | --program-tran \
1038 | --progr-tra | --program-tr | --program-t)
1039 ac_prev=program_transform_name ;;
1040 -program-transform-name=* | --program-transform-name=* \
1041 | --program-transform-nam=* | --program-transform-na=* \
1042 | --program-transform-n=* | --program-transform-=* \
1043 | --program-transform=* | --program-transfor=* \
1044 | --program-transfo=* | --program-transf=* \
1045 | --program-trans=* | --program-tran=* \
1046 | --progr-tra=* | --program-tr=* | --program-t=*)
1047 program_transform_name=$ac_optarg ;;
1049 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1051 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1052 pdfdir=$ac_optarg ;;
1054 -psdir | --psdir | --psdi | --psd | --ps)
1056 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1059 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1060 | -silent | --silent | --silen | --sile | --sil)
1063 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1065 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1067 sbindir=$ac_optarg ;;
1069 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1070 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1071 | --sharedst | --shareds | --shared | --share | --shar \
1073 ac_prev=sharedstatedir ;;
1074 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1075 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1076 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1078 sharedstatedir=$ac_optarg ;;
1080 -site | --site | --sit)
1082 -site=* | --site=* | --sit=*)
1085 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1087 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1088 srcdir=$ac_optarg ;;
1090 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1091 | --syscon | --sysco | --sysc | --sys | --sy)
1092 ac_prev=sysconfdir ;;
1093 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1094 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1095 sysconfdir=$ac_optarg ;;
1097 -target | --target | --targe | --targ | --tar | --ta | --t)
1098 ac_prev=target_alias ;;
1099 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1100 target_alias=$ac_optarg ;;
1102 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1105 -version | --version | --versio | --versi | --vers | -V)
1106 ac_init_version=: ;;
1109 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1112 { echo "$as_me: error: invalid package name: $ac_package" >&2
1113 { (exit 1); exit 1; }; }
1114 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1115 eval with_$ac_package=\$ac_optarg ;;
1117 -without-* | --without-*)
1118 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1121 { echo "$as_me: error: invalid package name: $ac_package" >&2
1122 { (exit 1); exit 1; }; }
1123 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1124 eval with_$ac_package=no ;;
1127 # Obsolete; use --with-x.
1130 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1131 | --x-incl | --x-inc | --x-in | --x-i)
1132 ac_prev=x_includes ;;
1133 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1134 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1135 x_includes=$ac_optarg ;;
1137 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1138 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1139 ac_prev=x_libraries ;;
1140 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1141 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1142 x_libraries=$ac_optarg ;;
1144 -*) { echo "$as_me: error: unrecognized option: $ac_option
1145 Try \`$0 --help' for more information." >&2
1146 { (exit 1); exit 1; }; }
1150 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1153 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1154 { (exit 1); exit 1; }; }
1155 eval $ac_envvar=\$ac_optarg
1156 export $ac_envvar ;;
1159 # FIXME: should be removed in autoconf 3.0.
1160 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1161 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1162 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1163 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1169 if test -n "$ac_prev"; then
1170 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1171 { echo "$as_me: error: missing argument to $ac_option" >&2
1172 { (exit 1); exit 1; }; }
1175 # Be sure to have absolute directory names.
1176 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1177 datadir sysconfdir sharedstatedir localstatedir includedir \
1178 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1179 libdir localedir mandir
1181 eval ac_val=\$$ac_var
1183 [\\/$]* | ?:[\\/]* ) continue;;
1184 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1186 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1187 { (exit 1); exit 1; }; }
1190 # There might be people who depend on the old broken behavior: `$host'
1191 # used to hold the argument of --host etc.
1192 # FIXME: To remove some day.
1195 target=$target_alias
1197 # FIXME: To remove some day.
1198 if test "x$host_alias" != x; then
1199 if test "x$build_alias" = x; then
1200 cross_compiling=maybe
1201 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1202 If a cross compiler is detected then cross compile mode will be used." >&2
1203 elif test "x$build_alias" != "x$host_alias"; then
1209 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1211 test "$silent" = yes && exec 6>/dev/null
1214 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1215 ac_ls_di=`ls -di .` &&
1216 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1217 { echo "$as_me: error: Working directory cannot be determined" >&2
1218 { (exit 1); exit 1; }; }
1219 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1220 { echo "$as_me: error: pwd does not report name of working directory" >&2
1221 { (exit 1); exit 1; }; }
1224 # Find the source files, if location was not specified.
1225 if test -z "$srcdir"; then
1226 ac_srcdir_defaulted=yes
1227 # Try the directory containing this script, then the parent directory.
1228 ac_confdir=`$as_dirname -- "$0" ||
1229 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1230 X"$0" : 'X\(//\)[^/]' \| \
1231 X"$0" : 'X\(//\)$' \| \
1232 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1252 if test ! -r "$srcdir/$ac_unique_file"; then
1256 ac_srcdir_defaulted=no
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1259 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1260 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1261 { (exit 1); exit 1; }; }
1263 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1265 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1266 { (exit 1); exit 1; }; }
1268 # When building in place, set srcdir=.
1269 if test "$ac_abs_confdir" = "$ac_pwd"; then
1272 # Remove unnecessary trailing slashes from srcdir.
1273 # Double slashes in file names in object file debugging info
1274 # mess up M-x gdb in Emacs.
1276 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1278 for ac_var in $ac_precious_vars; do
1279 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1280 eval ac_env_${ac_var}_value=\$${ac_var}
1281 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1282 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1286 # Report the --help message.
1288 if test "$ac_init_help" = "long"; then
1289 # Omit some internal or obsolete options to make the list less imposing.
1290 # This message is too long to be a string in the A/UX 3.1 sh.
1292 \`configure' configures Wine 0.9.40 to adapt to many kinds of systems.
1294 Usage: $0 [OPTION]... [VAR=VALUE]...
1296 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1297 VAR=VALUE. See below for descriptions of some of the useful variables.
1299 Defaults for the options are specified in brackets.
1302 -h, --help display this help and exit
1303 --help=short display options specific to this package
1304 --help=recursive display the short help of all the included packages
1305 -V, --version display version information and exit
1306 -q, --quiet, --silent do not print \`checking...' messages
1307 --cache-file=FILE cache test results in FILE [disabled]
1308 -C, --config-cache alias for \`--cache-file=config.cache'
1309 -n, --no-create do not create output files
1310 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1312 Installation directories:
1313 --prefix=PREFIX install architecture-independent files in PREFIX
1314 [$ac_default_prefix]
1315 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1318 By default, \`make install' will install all the files in
1319 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1320 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1321 for instance \`--prefix=\$HOME'.
1323 For better control, use the options below.
1325 Fine tuning of the installation directories:
1326 --bindir=DIR user executables [EPREFIX/bin]
1327 --sbindir=DIR system admin executables [EPREFIX/sbin]
1328 --libexecdir=DIR program executables [EPREFIX/libexec]
1329 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1330 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1331 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1332 --libdir=DIR object code libraries [EPREFIX/lib]
1333 --includedir=DIR C header files [PREFIX/include]
1334 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1335 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1336 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1337 --infodir=DIR info documentation [DATAROOTDIR/info]
1338 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1339 --mandir=DIR man documentation [DATAROOTDIR/man]
1340 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1341 --htmldir=DIR html documentation [DOCDIR]
1342 --dvidir=DIR dvi documentation [DOCDIR]
1343 --pdfdir=DIR pdf documentation [DOCDIR]
1344 --psdir=DIR ps documentation [DOCDIR]
1350 --x-includes=DIR X include files are in DIR
1351 --x-libraries=DIR X library files are in DIR
1354 --build=BUILD configure for building on BUILD [guessed]
1355 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1359 if test -n "$ac_init_help"; then
1360 case $ac_init_help in
1361 short | recursive ) echo "Configuration of Wine 0.9.40:";;
1366 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1367 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1368 --disable-win16 do not include Win16 support
1369 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1373 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1374 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1375 --without-opengl do not use OpenGL
1376 --with-wine-tools=<dir> use Wine tools from directory <dir>
1377 --with-x use the X Window System
1379 Some influential environment variables:
1380 CC C compiler command
1381 CFLAGS C compiler flags
1382 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1383 nonstandard directory <lib dir>
1384 LIBS libraries to pass to the linker, e.g. -l<library>
1385 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1386 you have headers in a nonstandard directory <include dir>
1387 CXX C++ compiler command
1388 CXXFLAGS C++ compiler flags
1389 XMKMF Path to xmkmf, Makefile generator for X Window System
1392 Use these variables to override the choices made by `configure' or to help
1393 it to find libraries and programs with nonstandard names/locations.
1395 Report bugs to <wine-devel@winehq.org>.
1400 if test "$ac_init_help" = "recursive"; then
1401 # If there are subdirs, report their specific --help.
1402 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1403 test -d "$ac_dir" || continue
1407 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1409 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1410 # A ".." for each directory in $ac_dir_suffix.
1411 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1412 case $ac_top_builddir_sub in
1413 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1414 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1417 ac_abs_top_builddir=$ac_pwd
1418 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1419 # for backward compatibility:
1420 ac_top_builddir=$ac_top_build_prefix
1423 .) # We are building in place.
1425 ac_top_srcdir=$ac_top_builddir_sub
1426 ac_abs_top_srcdir=$ac_pwd ;;
1427 [\\/]* | ?:[\\/]* ) # Absolute name.
1428 ac_srcdir=$srcdir$ac_dir_suffix;
1429 ac_top_srcdir=$srcdir
1430 ac_abs_top_srcdir=$srcdir ;;
1432 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1433 ac_top_srcdir=$ac_top_build_prefix$srcdir
1434 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1436 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1438 cd "$ac_dir" || { ac_status=$?; continue; }
1439 # Check for guested configure.
1440 if test -f "$ac_srcdir/configure.gnu"; then
1442 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1443 elif test -f "$ac_srcdir/configure"; then
1445 $SHELL "$ac_srcdir/configure" --help=recursive
1447 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1449 cd "$ac_pwd" || { ac_status=$?; break; }
1453 test -n "$ac_init_help" && exit $ac_status
1454 if $ac_init_version; then
1456 Wine configure 0.9.40
1457 generated by GNU Autoconf 2.61
1459 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1460 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1461 This configure script is free software; the Free Software Foundation
1462 gives unlimited permission to copy, distribute and modify it.
1466 cat >config.log <<_ACEOF
1467 This file contains any messages produced by compilers while
1468 running configure, to aid debugging if configure makes a mistake.
1470 It was created by Wine $as_me 0.9.40, which was
1471 generated by GNU Autoconf 2.61. Invocation command line was
1483 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1484 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1485 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1486 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1487 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1489 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1490 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1492 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1493 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1494 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1495 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1496 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1497 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1498 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1506 test -z "$as_dir" && as_dir=.
1507 echo "PATH: $as_dir"
1523 # Keep a trace of the command line.
1524 # Strip out --no-create and --no-recursion so they do not pile up.
1525 # Strip out --silent because we don't want to record it for future runs.
1526 # Also quote any args containing shell meta-characters.
1527 # Make two passes to allow for proper duplicate-argument suppression.
1531 ac_must_keep_next=false
1537 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1539 | -silent | --silent | --silen | --sile | --sil)
1542 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1545 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1547 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1548 if test $ac_must_keep_next = true; then
1549 ac_must_keep_next=false # Got value, back to normal.
1552 *=* | --config-cache | -C | -disable-* | --disable-* \
1553 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1554 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1555 | -with-* | --with-* | -without-* | --without-* | --x)
1556 case "$ac_configure_args0 " in
1557 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1560 -* ) ac_must_keep_next=true ;;
1563 ac_configure_args="$ac_configure_args '$ac_arg'"
1568 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1569 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1571 # When interrupted or exit'd, cleanup temporary files, and complete
1572 # config.log. We remove comments because anyway the quotes in there
1573 # would cause problems or look ugly.
1574 # WARNING: Use '\'' to represent an apostrophe within the trap.
1575 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1576 trap 'exit_status=$?
1577 # Save into config.log some information that might help in debugging.
1582 ## ---------------- ##
1583 ## Cache variables. ##
1584 ## ---------------- ##
1587 # The following way of writing the cache mishandles newlines in values,
1589 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1590 eval ac_val=\$$ac_var
1594 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1595 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1598 _ | IFS | as_nl) ;; #(
1599 *) $as_unset $ac_var ;;
1604 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1605 *${as_nl}ac_space=\ *)
1607 "s/'\''/'\''\\\\'\'''\''/g;
1608 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1611 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1619 ## ----------------- ##
1620 ## Output variables. ##
1621 ## ----------------- ##
1624 for ac_var in $ac_subst_vars
1626 eval ac_val=\$$ac_var
1628 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1630 echo "$ac_var='\''$ac_val'\''"
1634 if test -n "$ac_subst_files"; then
1636 ## ------------------- ##
1637 ## File substitutions. ##
1638 ## ------------------- ##
1641 for ac_var in $ac_subst_files
1643 eval ac_val=\$$ac_var
1645 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1647 echo "$ac_var='\''$ac_val'\''"
1652 if test -s confdefs.h; then
1662 test "$ac_signal" != 0 &&
1663 echo "$as_me: caught signal $ac_signal"
1664 echo "$as_me: exit $exit_status"
1666 rm -f core *.core core.conftest.* &&
1667 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1670 for ac_signal in 1 2 13 15; do
1671 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1675 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1676 rm -f -r conftest* confdefs.h
1678 # Predefined preprocessor variables.
1680 cat >>confdefs.h <<_ACEOF
1681 #define PACKAGE_NAME "$PACKAGE_NAME"
1685 cat >>confdefs.h <<_ACEOF
1686 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1690 cat >>confdefs.h <<_ACEOF
1691 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1695 cat >>confdefs.h <<_ACEOF
1696 #define PACKAGE_STRING "$PACKAGE_STRING"
1700 cat >>confdefs.h <<_ACEOF
1701 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1705 # Let the site file select an alternate cache file if it wants to.
1706 # Prefer explicitly selected file to automatically selected ones.
1707 if test -n "$CONFIG_SITE"; then
1708 set x "$CONFIG_SITE"
1709 elif test "x$prefix" != xNONE; then
1710 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1712 set x "$ac_default_prefix/share/config.site" \
1713 "$ac_default_prefix/etc/config.site"
1718 if test -r "$ac_site_file"; then
1719 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1720 echo "$as_me: loading site script $ac_site_file" >&6;}
1721 sed 's/^/| /' "$ac_site_file" >&5
1726 if test -r "$cache_file"; then
1727 # Some versions of bash will fail to source /dev/null (special
1728 # files actually), so we avoid doing that.
1729 if test -f "$cache_file"; then
1730 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1731 echo "$as_me: loading cache $cache_file" >&6;}
1733 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1734 *) . "./$cache_file";;
1738 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1739 echo "$as_me: creating cache $cache_file" >&6;}
1743 # Check that the precious variables saved in the cache have kept the same
1745 ac_cache_corrupted=false
1746 for ac_var in $ac_precious_vars; do
1747 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1748 eval ac_new_set=\$ac_env_${ac_var}_set
1749 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1750 eval ac_new_val=\$ac_env_${ac_var}_value
1751 case $ac_old_set,$ac_new_set in
1753 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1754 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1755 ac_cache_corrupted=: ;;
1757 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1758 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1759 ac_cache_corrupted=: ;;
1762 if test "x$ac_old_val" != "x$ac_new_val"; then
1763 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1764 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1765 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1766 echo "$as_me: former value: $ac_old_val" >&2;}
1767 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1768 echo "$as_me: current value: $ac_new_val" >&2;}
1769 ac_cache_corrupted=:
1772 # Pass precious variables to config.status.
1773 if test "$ac_new_set" = set; then
1775 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1776 *) ac_arg=$ac_var=$ac_new_val ;;
1778 case " $ac_configure_args " in
1779 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1780 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1784 if $ac_cache_corrupted; then
1785 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1786 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1787 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1788 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1789 { (exit 1); exit 1; }; }
1817 ac_cpp='$CPP $CPPFLAGS'
1818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1824 ac_config_headers="$ac_config_headers include/config.h"
1827 for ac_dir in tools "$srcdir"/tools; do
1828 if test -f "$ac_dir/install-sh"; then
1830 ac_install_sh="$ac_aux_dir/install-sh -c"
1832 elif test -f "$ac_dir/install.sh"; then
1834 ac_install_sh="$ac_aux_dir/install.sh -c"
1836 elif test -f "$ac_dir/shtool"; then
1838 ac_install_sh="$ac_aux_dir/shtool install -c"
1842 if test -z "$ac_aux_dir"; then
1843 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1844 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1845 { (exit 1); exit 1; }; }
1848 # These three variables are undocumented and unsupported,
1849 # and are intended to be withdrawn in a future Autoconf release.
1850 # They can cause serious problems if a builder's source tree is in a directory
1851 # whose full name contains unusual characters.
1852 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1853 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1854 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1859 # Check whether --enable-win16 was given.
1860 if test "${enable_win16+set}" = set; then
1861 enableval=$enable_win16;
1864 # Check whether --enable-win64 was given.
1865 if test "${enable_win64+set}" = set; then
1866 enableval=$enable_win64;
1871 # Check whether --with-opengl was given.
1872 if test "${with_opengl+set}" = set; then
1873 withval=$with_opengl;
1877 # Check whether --with-wine-tools was given.
1878 if test "${with_wine_tools+set}" = set; then
1879 withval=$with_wine_tools;
1883 # Make sure we can run config.sub.
1884 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1885 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1886 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1887 { (exit 1); exit 1; }; }
1889 { echo "$as_me:$LINENO: checking build system type" >&5
1890 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1891 if test "${ac_cv_build+set}" = set; then
1892 echo $ECHO_N "(cached) $ECHO_C" >&6
1894 ac_build_alias=$build_alias
1895 test "x$ac_build_alias" = x &&
1896 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1897 test "x$ac_build_alias" = x &&
1898 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1899 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1900 { (exit 1); exit 1; }; }
1901 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1902 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1903 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1904 { (exit 1); exit 1; }; }
1907 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1908 echo "${ECHO_T}$ac_cv_build" >&6; }
1909 case $ac_cv_build in
1911 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1912 echo "$as_me: error: invalid value of canonical build" >&2;}
1913 { (exit 1); exit 1; }; };;
1916 ac_save_IFS=$IFS; IFS='-'
1922 # Remember, the first character of IFS is used to create $*,
1923 # except with old shells:
1926 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1929 { echo "$as_me:$LINENO: checking host system type" >&5
1930 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1931 if test "${ac_cv_host+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1934 if test "x$host_alias" = x; then
1935 ac_cv_host=$ac_cv_build
1937 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1938 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1939 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1940 { (exit 1); exit 1; }; }
1944 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1945 echo "${ECHO_T}$ac_cv_host" >&6; }
1948 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1949 echo "$as_me: error: invalid value of canonical host" >&2;}
1950 { (exit 1); exit 1; }; };;
1953 ac_save_IFS=$IFS; IFS='-'
1959 # Remember, the first character of IFS is used to create $*,
1960 # except with old shells:
1963 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1968 if test "x$enable_win64" != "xyes"
1970 test -n "$CC" || CC="gcc -m32"
1971 test -n "$LD" || LD="ld -m elf_i386"
1972 test -n "$AS" || AS="as --32"
1980 if test "x$enable_win16" != "xno"
1987 WIN16_FILES="\$(WIN16_FILES)"
1989 WIN16_INSTALL="\$(WIN16_INSTALL)"
1991 if test "x$enable_win16" != "xyes"
1999 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2000 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2001 You need to run 'make distclean' in the source tree first." >&5
2002 echo "$as_me: 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." >&2;}
2004 { (exit 1); exit 1; }; }
2009 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2010 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2011 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2012 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2013 echo $ECHO_N "(cached) $ECHO_C" >&6
2015 cat >conftest.make <<\_ACEOF
2018 @echo '@@@%%%=$(MAKE)=@@@%%%'
2020 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2021 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2023 eval ac_cv_prog_make_${ac_make}_set=yes;;
2025 eval ac_cv_prog_make_${ac_make}_set=no;;
2029 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2030 { echo "$as_me:$LINENO: result: yes" >&5
2031 echo "${ECHO_T}yes" >&6; }
2034 { echo "$as_me:$LINENO: result: no" >&5
2035 echo "${ECHO_T}no" >&6; }
2036 SET_MAKE="MAKE=${MAKE-make}"
2040 ac_cpp='$CPP $CPPFLAGS'
2041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2044 if test -n "$ac_tool_prefix"; then
2045 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2046 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2049 if test "${ac_cv_prog_CC+set}" = set; then
2050 echo $ECHO_N "(cached) $ECHO_C" >&6
2052 if test -n "$CC"; then
2053 ac_cv_prog_CC="$CC" # Let the user override the test.
2055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2059 test -z "$as_dir" && as_dir=.
2060 for ac_exec_ext in '' $ac_executable_extensions; do
2061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2062 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2073 if test -n "$CC"; then
2074 { echo "$as_me:$LINENO: result: $CC" >&5
2075 echo "${ECHO_T}$CC" >&6; }
2077 { echo "$as_me:$LINENO: result: no" >&5
2078 echo "${ECHO_T}no" >&6; }
2083 if test -z "$ac_cv_prog_CC"; then
2085 # Extract the first word of "gcc", so it can be a program name with args.
2086 set dummy gcc; ac_word=$2
2087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2089 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2090 echo $ECHO_N "(cached) $ECHO_C" >&6
2092 if test -n "$ac_ct_CC"; then
2093 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2099 test -z "$as_dir" && as_dir=.
2100 for ac_exec_ext in '' $ac_executable_extensions; do
2101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2102 ac_cv_prog_ac_ct_CC="gcc"
2103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2112 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2113 if test -n "$ac_ct_CC"; then
2114 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2115 echo "${ECHO_T}$ac_ct_CC" >&6; }
2117 { echo "$as_me:$LINENO: result: no" >&5
2118 echo "${ECHO_T}no" >&6; }
2121 if test "x$ac_ct_CC" = x; then
2124 case $cross_compiling:$ac_tool_warned in
2126 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2127 whose name does not start with the host triplet. If you think this
2128 configuration is useful to you, please write to autoconf@gnu.org." >&5
2129 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2130 whose name does not start with the host triplet. If you think this
2131 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2132 ac_tool_warned=yes ;;
2140 if test -z "$CC"; then
2141 if test -n "$ac_tool_prefix"; then
2142 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2143 set dummy ${ac_tool_prefix}cc; ac_word=$2
2144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2146 if test "${ac_cv_prog_CC+set}" = set; then
2147 echo $ECHO_N "(cached) $ECHO_C" >&6
2149 if test -n "$CC"; then
2150 ac_cv_prog_CC="$CC" # Let the user override the test.
2152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2156 test -z "$as_dir" && as_dir=.
2157 for ac_exec_ext in '' $ac_executable_extensions; do
2158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2159 ac_cv_prog_CC="${ac_tool_prefix}cc"
2160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2170 if test -n "$CC"; then
2171 { echo "$as_me:$LINENO: result: $CC" >&5
2172 echo "${ECHO_T}$CC" >&6; }
2174 { echo "$as_me:$LINENO: result: no" >&5
2175 echo "${ECHO_T}no" >&6; }
2181 if test -z "$CC"; then
2182 # Extract the first word of "cc", so it can be a program name with args.
2183 set dummy cc; ac_word=$2
2184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2186 if test "${ac_cv_prog_CC+set}" = set; then
2187 echo $ECHO_N "(cached) $ECHO_C" >&6
2189 if test -n "$CC"; then
2190 ac_cv_prog_CC="$CC" # Let the user override the test.
2193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2197 test -z "$as_dir" && as_dir=.
2198 for ac_exec_ext in '' $ac_executable_extensions; do
2199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2200 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2201 ac_prog_rejected=yes
2205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2212 if test $ac_prog_rejected = yes; then
2213 # We found a bogon in the path, so make sure we never use it.
2214 set dummy $ac_cv_prog_CC
2216 if test $# != 0; then
2217 # We chose a different compiler from the bogus one.
2218 # However, it has the same basename, so the bogon will be chosen
2219 # first if we set CC to just the basename; use the full file name.
2221 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2227 if test -n "$CC"; then
2228 { echo "$as_me:$LINENO: result: $CC" >&5
2229 echo "${ECHO_T}$CC" >&6; }
2231 { echo "$as_me:$LINENO: result: no" >&5
2232 echo "${ECHO_T}no" >&6; }
2237 if test -z "$CC"; then
2238 if test -n "$ac_tool_prefix"; then
2239 for ac_prog in cl.exe
2241 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2242 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2245 if test "${ac_cv_prog_CC+set}" = set; then
2246 echo $ECHO_N "(cached) $ECHO_C" >&6
2248 if test -n "$CC"; then
2249 ac_cv_prog_CC="$CC" # Let the user override the test.
2251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2255 test -z "$as_dir" && as_dir=.
2256 for ac_exec_ext in '' $ac_executable_extensions; do
2257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2258 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2269 if test -n "$CC"; then
2270 { echo "$as_me:$LINENO: result: $CC" >&5
2271 echo "${ECHO_T}$CC" >&6; }
2273 { echo "$as_me:$LINENO: result: no" >&5
2274 echo "${ECHO_T}no" >&6; }
2278 test -n "$CC" && break
2281 if test -z "$CC"; then
2283 for ac_prog in cl.exe
2285 # Extract the first word of "$ac_prog", so it can be a program name with args.
2286 set dummy $ac_prog; ac_word=$2
2287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2289 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2290 echo $ECHO_N "(cached) $ECHO_C" >&6
2292 if test -n "$ac_ct_CC"; then
2293 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2299 test -z "$as_dir" && as_dir=.
2300 for ac_exec_ext in '' $ac_executable_extensions; do
2301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2302 ac_cv_prog_ac_ct_CC="$ac_prog"
2303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2312 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2313 if test -n "$ac_ct_CC"; then
2314 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2315 echo "${ECHO_T}$ac_ct_CC" >&6; }
2317 { echo "$as_me:$LINENO: result: no" >&5
2318 echo "${ECHO_T}no" >&6; }
2322 test -n "$ac_ct_CC" && break
2325 if test "x$ac_ct_CC" = x; then
2328 case $cross_compiling:$ac_tool_warned in
2330 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2331 whose name does not start with the host triplet. If you think this
2332 configuration is useful to you, please write to autoconf@gnu.org." >&5
2333 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2334 whose name does not start with the host triplet. If you think this
2335 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2336 ac_tool_warned=yes ;;
2345 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2346 See \`config.log' for more details." >&5
2347 echo "$as_me: error: no acceptable C compiler found in \$PATH
2348 See \`config.log' for more details." >&2;}
2349 { (exit 1); exit 1; }; }
2351 # Provide some information about the compiler.
2352 echo "$as_me:$LINENO: checking for C compiler version" >&5
2353 ac_compiler=`set X $ac_compile; echo $2`
2354 { (ac_try="$ac_compiler --version >&5"
2356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2357 *) ac_try_echo=$ac_try;;
2359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2360 (eval "$ac_compiler --version >&5") 2>&5
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); }
2364 { (ac_try="$ac_compiler -v >&5"
2366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2367 *) ac_try_echo=$ac_try;;
2369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2370 (eval "$ac_compiler -v >&5") 2>&5
2372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373 (exit $ac_status); }
2374 { (ac_try="$ac_compiler -V >&5"
2376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2377 *) ac_try_echo=$ac_try;;
2379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2380 (eval "$ac_compiler -V >&5") 2>&5
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }
2385 cat >conftest.$ac_ext <<_ACEOF
2388 cat confdefs.h >>conftest.$ac_ext
2389 cat >>conftest.$ac_ext <<_ACEOF
2390 /* end confdefs.h. */
2400 ac_clean_files_save=$ac_clean_files
2401 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2402 # Try to create an executable without -o first, disregard a.out.
2403 # It will help us diagnose broken compilers, and finding out an intuition
2405 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2406 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2407 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2409 # List of possible output files, starting from the most likely.
2410 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2411 # only as a last resort. b.out is created by i960 compilers.
2412 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2414 # The IRIX 6 linker writes into existing files which may not be
2415 # executable, retaining their permissions. Remove them first so a
2416 # subsequent execution test works.
2418 for ac_file in $ac_files
2421 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2422 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2427 if { (ac_try="$ac_link_default"
2429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2430 *) ac_try_echo=$ac_try;;
2432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2433 (eval "$ac_link_default") 2>&5
2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); }; then
2437 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2438 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2439 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2440 # so that the user can short-circuit this test for compilers unknown to
2442 for ac_file in $ac_files ''
2444 test -f "$ac_file" || continue
2446 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2449 # We found the default executable, but exeext='' is most
2453 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2455 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2457 # We set ac_cv_exeext here because the later test for it is not
2458 # safe: cross compilers may not add the suffix if given an `-o'
2459 # argument, so we may need to know it at that point already.
2460 # Even if this section looks crufty: it has the advantage of
2467 test "$ac_cv_exeext" = no && ac_cv_exeext=
2473 { echo "$as_me:$LINENO: result: $ac_file" >&5
2474 echo "${ECHO_T}$ac_file" >&6; }
2475 if test -z "$ac_file"; then
2476 echo "$as_me: failed program was:" >&5
2477 sed 's/^/| /' conftest.$ac_ext >&5
2479 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2480 See \`config.log' for more details." >&5
2481 echo "$as_me: error: C compiler cannot create executables
2482 See \`config.log' for more details." >&2;}
2483 { (exit 77); exit 77; }; }
2486 ac_exeext=$ac_cv_exeext
2488 # Check that the compiler produces executables we can run. If not, either
2489 # the compiler is broken, or we cross compile.
2490 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2491 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2492 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2493 # If not cross compiling, check that we can run a simple program.
2494 if test "$cross_compiling" != yes; then
2495 if { ac_try='./$ac_file'
2496 { (case "(($ac_try" in
2497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2498 *) ac_try_echo=$ac_try;;
2500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2501 (eval "$ac_try") 2>&5
2503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504 (exit $ac_status); }; }; then
2507 if test "$cross_compiling" = maybe; then
2510 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2511 If you meant to cross compile, use \`--host'.
2512 See \`config.log' for more details." >&5
2513 echo "$as_me: error: cannot run C compiled programs.
2514 If you meant to cross compile, use \`--host'.
2515 See \`config.log' for more details." >&2;}
2516 { (exit 1); exit 1; }; }
2520 { echo "$as_me:$LINENO: result: yes" >&5
2521 echo "${ECHO_T}yes" >&6; }
2523 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2524 ac_clean_files=$ac_clean_files_save
2525 # Check that the compiler produces executables we can run. If not, either
2526 # the compiler is broken, or we cross compile.
2527 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2528 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2529 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2530 echo "${ECHO_T}$cross_compiling" >&6; }
2532 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2533 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2534 if { (ac_try="$ac_link"
2536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2537 *) ac_try_echo=$ac_try;;
2539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2540 (eval "$ac_link") 2>&5
2542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2543 (exit $ac_status); }; then
2544 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2545 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2546 # work properly (i.e., refer to `conftest.exe'), while it won't with
2548 for ac_file in conftest.exe conftest conftest.*; do
2549 test -f "$ac_file" || continue
2551 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2552 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2558 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2559 See \`config.log' for more details." >&5
2560 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2561 See \`config.log' for more details." >&2;}
2562 { (exit 1); exit 1; }; }
2565 rm -f conftest$ac_cv_exeext
2566 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2567 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2569 rm -f conftest.$ac_ext
2570 EXEEXT=$ac_cv_exeext
2572 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2573 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2574 if test "${ac_cv_objext+set}" = set; then
2575 echo $ECHO_N "(cached) $ECHO_C" >&6
2577 cat >conftest.$ac_ext <<_ACEOF
2580 cat confdefs.h >>conftest.$ac_ext
2581 cat >>conftest.$ac_ext <<_ACEOF
2582 /* end confdefs.h. */
2592 rm -f conftest.o conftest.obj
2593 if { (ac_try="$ac_compile"
2595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2596 *) ac_try_echo=$ac_try;;
2598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2599 (eval "$ac_compile") 2>&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); }; then
2603 for ac_file in conftest.o conftest.obj conftest.*; do
2604 test -f "$ac_file" || continue;
2606 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2607 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2612 echo "$as_me: failed program was:" >&5
2613 sed 's/^/| /' conftest.$ac_ext >&5
2615 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2616 See \`config.log' for more details." >&5
2617 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2618 See \`config.log' for more details." >&2;}
2619 { (exit 1); exit 1; }; }
2622 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2624 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2625 echo "${ECHO_T}$ac_cv_objext" >&6; }
2626 OBJEXT=$ac_cv_objext
2628 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2629 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2630 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2631 echo $ECHO_N "(cached) $ECHO_C" >&6
2633 cat >conftest.$ac_ext <<_ACEOF
2636 cat confdefs.h >>conftest.$ac_ext
2637 cat >>conftest.$ac_ext <<_ACEOF
2638 /* end confdefs.h. */
2651 rm -f conftest.$ac_objext
2652 if { (ac_try="$ac_compile"
2654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2655 *) ac_try_echo=$ac_try;;
2657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2658 (eval "$ac_compile") 2>conftest.er1
2660 grep -v '^ *+' conftest.er1 >conftest.err
2662 cat conftest.err >&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); } && {
2665 test -z "$ac_c_werror_flag" ||
2666 test ! -s conftest.err
2667 } && test -s conftest.$ac_objext; then
2670 echo "$as_me: failed program was:" >&5
2671 sed 's/^/| /' conftest.$ac_ext >&5
2676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2677 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2680 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2681 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2682 GCC=`test $ac_compiler_gnu = yes && echo yes`
2683 ac_test_CFLAGS=${CFLAGS+set}
2684 ac_save_CFLAGS=$CFLAGS
2685 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2686 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2687 if test "${ac_cv_prog_cc_g+set}" = set; then
2688 echo $ECHO_N "(cached) $ECHO_C" >&6
2690 ac_save_c_werror_flag=$ac_c_werror_flag
2691 ac_c_werror_flag=yes
2694 cat >conftest.$ac_ext <<_ACEOF
2697 cat confdefs.h >>conftest.$ac_ext
2698 cat >>conftest.$ac_ext <<_ACEOF
2699 /* end confdefs.h. */
2709 rm -f conftest.$ac_objext
2710 if { (ac_try="$ac_compile"
2712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2713 *) ac_try_echo=$ac_try;;
2715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2716 (eval "$ac_compile") 2>conftest.er1
2718 grep -v '^ *+' conftest.er1 >conftest.err
2720 cat conftest.err >&5
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); } && {
2723 test -z "$ac_c_werror_flag" ||
2724 test ! -s conftest.err
2725 } && test -s conftest.$ac_objext; then
2728 echo "$as_me: failed program was:" >&5
2729 sed 's/^/| /' conftest.$ac_ext >&5
2732 cat >conftest.$ac_ext <<_ACEOF
2735 cat confdefs.h >>conftest.$ac_ext
2736 cat >>conftest.$ac_ext <<_ACEOF
2737 /* end confdefs.h. */
2747 rm -f conftest.$ac_objext
2748 if { (ac_try="$ac_compile"
2750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2751 *) ac_try_echo=$ac_try;;
2753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2754 (eval "$ac_compile") 2>conftest.er1
2756 grep -v '^ *+' conftest.er1 >conftest.err
2758 cat conftest.err >&5
2759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760 (exit $ac_status); } && {
2761 test -z "$ac_c_werror_flag" ||
2762 test ! -s conftest.err
2763 } && test -s conftest.$ac_objext; then
2766 echo "$as_me: failed program was:" >&5
2767 sed 's/^/| /' conftest.$ac_ext >&5
2769 ac_c_werror_flag=$ac_save_c_werror_flag
2771 cat >conftest.$ac_ext <<_ACEOF
2774 cat confdefs.h >>conftest.$ac_ext
2775 cat >>conftest.$ac_ext <<_ACEOF
2776 /* end confdefs.h. */
2786 rm -f conftest.$ac_objext
2787 if { (ac_try="$ac_compile"
2789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2790 *) ac_try_echo=$ac_try;;
2792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2793 (eval "$ac_compile") 2>conftest.er1
2795 grep -v '^ *+' conftest.er1 >conftest.err
2797 cat conftest.err >&5
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); } && {
2800 test -z "$ac_c_werror_flag" ||
2801 test ! -s conftest.err
2802 } && test -s conftest.$ac_objext; then
2805 echo "$as_me: failed program was:" >&5
2806 sed 's/^/| /' conftest.$ac_ext >&5
2811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2818 ac_c_werror_flag=$ac_save_c_werror_flag
2820 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2821 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2822 if test "$ac_test_CFLAGS" = set; then
2823 CFLAGS=$ac_save_CFLAGS
2824 elif test $ac_cv_prog_cc_g = yes; then
2825 if test "$GCC" = yes; then
2831 if test "$GCC" = yes; then
2837 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2838 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2839 if test "${ac_cv_prog_cc_c89+set}" = set; then
2840 echo $ECHO_N "(cached) $ECHO_C" >&6
2842 ac_cv_prog_cc_c89=no
2844 cat >conftest.$ac_ext <<_ACEOF
2847 cat confdefs.h >>conftest.$ac_ext
2848 cat >>conftest.$ac_ext <<_ACEOF
2849 /* end confdefs.h. */
2852 #include <sys/types.h>
2853 #include <sys/stat.h>
2854 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2855 struct buf { int x; };
2856 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2857 static char *e (p, i)
2863 static char *f (char * (*g) (char **, int), char **p, ...)
2868 s = g (p, va_arg (v,int));
2873 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2874 function prototypes and stuff, but not '\xHH' hex character constants.
2875 These don't provoke an error unfortunately, instead are silently treated
2876 as 'x'. The following induces an error, until -std is added to get
2877 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2878 array size at least. It's necessary to write '\x00'==0 to get something
2879 that's true only with -std. */
2880 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2882 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2883 inside strings and character constants. */
2885 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2887 int test (int i, double x);
2888 struct s1 {int (*f) (int a);};
2889 struct s2 {int (*f) (double a);};
2890 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2896 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2901 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2902 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2904 CC="$ac_save_CC $ac_arg"
2905 rm -f conftest.$ac_objext
2906 if { (ac_try="$ac_compile"
2908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2909 *) ac_try_echo=$ac_try;;
2911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2912 (eval "$ac_compile") 2>conftest.er1
2914 grep -v '^ *+' conftest.er1 >conftest.err
2916 cat conftest.err >&5
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); } && {
2919 test -z "$ac_c_werror_flag" ||
2920 test ! -s conftest.err
2921 } && test -s conftest.$ac_objext; then
2922 ac_cv_prog_cc_c89=$ac_arg
2924 echo "$as_me: failed program was:" >&5
2925 sed 's/^/| /' conftest.$ac_ext >&5
2930 rm -f core conftest.err conftest.$ac_objext
2931 test "x$ac_cv_prog_cc_c89" != "xno" && break
2933 rm -f conftest.$ac_ext
2938 case "x$ac_cv_prog_cc_c89" in
2940 { echo "$as_me:$LINENO: result: none needed" >&5
2941 echo "${ECHO_T}none needed" >&6; } ;;
2943 { echo "$as_me:$LINENO: result: unsupported" >&5
2944 echo "${ECHO_T}unsupported" >&6; } ;;
2946 CC="$CC $ac_cv_prog_cc_c89"
2947 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2948 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2953 ac_cpp='$CPP $CPPFLAGS'
2954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2959 ac_cpp='$CXXCPP $CPPFLAGS'
2960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2963 if test -z "$CXX"; then
2964 if test -n "$CCC"; then
2967 if test -n "$ac_tool_prefix"; then
2968 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2970 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2971 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2974 if test "${ac_cv_prog_CXX+set}" = set; then
2975 echo $ECHO_N "(cached) $ECHO_C" >&6
2977 if test -n "$CXX"; then
2978 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2984 test -z "$as_dir" && as_dir=.
2985 for ac_exec_ext in '' $ac_executable_extensions; do
2986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2987 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2998 if test -n "$CXX"; then
2999 { echo "$as_me:$LINENO: result: $CXX" >&5
3000 echo "${ECHO_T}$CXX" >&6; }
3002 { echo "$as_me:$LINENO: result: no" >&5
3003 echo "${ECHO_T}no" >&6; }
3007 test -n "$CXX" && break
3010 if test -z "$CXX"; then
3012 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3014 # Extract the first word of "$ac_prog", so it can be a program name with args.
3015 set dummy $ac_prog; ac_word=$2
3016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3018 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3019 echo $ECHO_N "(cached) $ECHO_C" >&6
3021 if test -n "$ac_ct_CXX"; then
3022 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3028 test -z "$as_dir" && as_dir=.
3029 for ac_exec_ext in '' $ac_executable_extensions; do
3030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3031 ac_cv_prog_ac_ct_CXX="$ac_prog"
3032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3041 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3042 if test -n "$ac_ct_CXX"; then
3043 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3044 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3046 { echo "$as_me:$LINENO: result: no" >&5
3047 echo "${ECHO_T}no" >&6; }
3051 test -n "$ac_ct_CXX" && break
3054 if test "x$ac_ct_CXX" = x; then
3057 case $cross_compiling:$ac_tool_warned in
3059 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3060 whose name does not start with the host triplet. If you think this
3061 configuration is useful to you, please write to autoconf@gnu.org." >&5
3062 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3063 whose name does not start with the host triplet. If you think this
3064 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3065 ac_tool_warned=yes ;;
3073 # Provide some information about the compiler.
3074 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3075 ac_compiler=`set X $ac_compile; echo $2`
3076 { (ac_try="$ac_compiler --version >&5"
3078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3079 *) ac_try_echo=$ac_try;;
3081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3082 (eval "$ac_compiler --version >&5") 2>&5
3084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 (exit $ac_status); }
3086 { (ac_try="$ac_compiler -v >&5"
3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089 *) ac_try_echo=$ac_try;;
3091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3092 (eval "$ac_compiler -v >&5") 2>&5
3094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095 (exit $ac_status); }
3096 { (ac_try="$ac_compiler -V >&5"
3098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099 *) ac_try_echo=$ac_try;;
3101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3102 (eval "$ac_compiler -V >&5") 2>&5
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); }
3107 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3108 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3109 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3110 echo $ECHO_N "(cached) $ECHO_C" >&6
3112 cat >conftest.$ac_ext <<_ACEOF
3115 cat confdefs.h >>conftest.$ac_ext
3116 cat >>conftest.$ac_ext <<_ACEOF
3117 /* end confdefs.h. */
3130 rm -f conftest.$ac_objext
3131 if { (ac_try="$ac_compile"
3133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3134 *) ac_try_echo=$ac_try;;
3136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3137 (eval "$ac_compile") 2>conftest.er1
3139 grep -v '^ *+' conftest.er1 >conftest.err
3141 cat conftest.err >&5
3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 (exit $ac_status); } && {
3144 test -z "$ac_cxx_werror_flag" ||
3145 test ! -s conftest.err
3146 } && test -s conftest.$ac_objext; then
3149 echo "$as_me: failed program was:" >&5
3150 sed 's/^/| /' conftest.$ac_ext >&5
3155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3156 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3159 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3160 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3161 GXX=`test $ac_compiler_gnu = yes && echo yes`
3162 ac_test_CXXFLAGS=${CXXFLAGS+set}
3163 ac_save_CXXFLAGS=$CXXFLAGS
3164 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3165 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3166 if test "${ac_cv_prog_cxx_g+set}" = set; then
3167 echo $ECHO_N "(cached) $ECHO_C" >&6
3169 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3170 ac_cxx_werror_flag=yes
3173 cat >conftest.$ac_ext <<_ACEOF
3176 cat confdefs.h >>conftest.$ac_ext
3177 cat >>conftest.$ac_ext <<_ACEOF
3178 /* end confdefs.h. */
3188 rm -f conftest.$ac_objext
3189 if { (ac_try="$ac_compile"
3191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3192 *) ac_try_echo=$ac_try;;
3194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3195 (eval "$ac_compile") 2>conftest.er1
3197 grep -v '^ *+' conftest.er1 >conftest.err
3199 cat conftest.err >&5
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); } && {
3202 test -z "$ac_cxx_werror_flag" ||
3203 test ! -s conftest.err
3204 } && test -s conftest.$ac_objext; then
3205 ac_cv_prog_cxx_g=yes
3207 echo "$as_me: failed program was:" >&5
3208 sed 's/^/| /' conftest.$ac_ext >&5
3211 cat >conftest.$ac_ext <<_ACEOF
3214 cat confdefs.h >>conftest.$ac_ext
3215 cat >>conftest.$ac_ext <<_ACEOF
3216 /* end confdefs.h. */
3226 rm -f conftest.$ac_objext
3227 if { (ac_try="$ac_compile"
3229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3230 *) ac_try_echo=$ac_try;;
3232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3233 (eval "$ac_compile") 2>conftest.er1
3235 grep -v '^ *+' conftest.er1 >conftest.err
3237 cat conftest.err >&5
3238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 (exit $ac_status); } && {
3240 test -z "$ac_cxx_werror_flag" ||
3241 test ! -s conftest.err
3242 } && test -s conftest.$ac_objext; then
3245 echo "$as_me: failed program was:" >&5
3246 sed 's/^/| /' conftest.$ac_ext >&5
3248 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3250 cat >conftest.$ac_ext <<_ACEOF
3253 cat confdefs.h >>conftest.$ac_ext
3254 cat >>conftest.$ac_ext <<_ACEOF
3255 /* end confdefs.h. */
3265 rm -f conftest.$ac_objext
3266 if { (ac_try="$ac_compile"
3268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3269 *) ac_try_echo=$ac_try;;
3271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3272 (eval "$ac_compile") 2>conftest.er1
3274 grep -v '^ *+' conftest.er1 >conftest.err
3276 cat conftest.err >&5
3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); } && {
3279 test -z "$ac_cxx_werror_flag" ||
3280 test ! -s conftest.err
3281 } && test -s conftest.$ac_objext; then
3282 ac_cv_prog_cxx_g=yes
3284 echo "$as_me: failed program was:" >&5
3285 sed 's/^/| /' conftest.$ac_ext >&5
3290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3299 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3300 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3301 if test "$ac_test_CXXFLAGS" = set; then
3302 CXXFLAGS=$ac_save_CXXFLAGS
3303 elif test $ac_cv_prog_cxx_g = yes; then
3304 if test "$GXX" = yes; then
3310 if test "$GXX" = yes; then
3317 ac_cpp='$CPP $CPPFLAGS'
3318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3322 if test -n "$ac_tool_prefix"; then
3323 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3324 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3327 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3328 echo $ECHO_N "(cached) $ECHO_C" >&6
3330 if test -n "$CPPBIN"; then
3331 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3337 test -z "$as_dir" && as_dir=.
3338 for ac_exec_ext in '' $ac_executable_extensions; do
3339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3340 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3350 CPPBIN=$ac_cv_prog_CPPBIN
3351 if test -n "$CPPBIN"; then
3352 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3353 echo "${ECHO_T}$CPPBIN" >&6; }
3355 { echo "$as_me:$LINENO: result: no" >&5
3356 echo "${ECHO_T}no" >&6; }
3361 if test -z "$ac_cv_prog_CPPBIN"; then
3362 ac_ct_CPPBIN=$CPPBIN
3363 # Extract the first word of "cpp", so it can be a program name with args.
3364 set dummy cpp; ac_word=$2
3365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3367 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3368 echo $ECHO_N "(cached) $ECHO_C" >&6
3370 if test -n "$ac_ct_CPPBIN"; then
3371 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3377 test -z "$as_dir" && as_dir=.
3378 for ac_exec_ext in '' $ac_executable_extensions; do
3379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3380 ac_cv_prog_ac_ct_CPPBIN="cpp"
3381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3390 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3391 if test -n "$ac_ct_CPPBIN"; then
3392 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3393 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3395 { echo "$as_me:$LINENO: result: no" >&5
3396 echo "${ECHO_T}no" >&6; }
3399 if test "x$ac_ct_CPPBIN" = x; then
3402 case $cross_compiling:$ac_tool_warned in
3404 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3405 whose name does not start with the host triplet. If you think this
3406 configuration is useful to you, please write to autoconf@gnu.org." >&5
3407 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3408 whose name does not start with the host triplet. If you think this
3409 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3410 ac_tool_warned=yes ;;
3412 CPPBIN=$ac_ct_CPPBIN
3415 CPPBIN="$ac_cv_prog_CPPBIN"
3419 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3420 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3421 if test "${wine_cv_toolsdir+set}" = set; then
3422 echo $ECHO_N "(cached) $ECHO_C" >&6
3424 if test -z "$with_wine_tools"; then
3425 if test "$cross_compiling" = "yes"; then
3426 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3427 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3428 { (exit 1); exit 1; }; }
3430 wine_cv_toolsdir="\$(TOPOBJDIR)"
3432 elif test -d "$with_wine_tools/tools/winebuild"; then
3433 case $with_wine_tools in
3434 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3435 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3438 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3439 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3440 { (exit 1); exit 1; }; }
3443 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3444 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3445 TOOLSDIR=$wine_cv_toolsdir
3450 ac_cpp='$CPP $CPPFLAGS'
3451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3454 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3455 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3456 # On Suns, sometimes $CPP names a directory.
3457 if test -n "$CPP" && test -d "$CPP"; then
3460 if test -z "$CPP"; then
3461 if test "${ac_cv_prog_CPP+set}" = set; then
3462 echo $ECHO_N "(cached) $ECHO_C" >&6
3464 # Double quotes because CPP needs to be expanded
3465 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3468 for ac_c_preproc_warn_flag in '' yes
3470 # Use a header file that comes with gcc, so configuring glibc
3471 # with a fresh cross-compiler works.
3472 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3473 # <limits.h> exists even on freestanding compilers.
3474 # On the NeXT, cc -E runs the code through the compiler's parser,
3475 # not just through cpp. "Syntax error" is here to catch this case.
3476 cat >conftest.$ac_ext <<_ACEOF
3479 cat confdefs.h >>conftest.$ac_ext
3480 cat >>conftest.$ac_ext <<_ACEOF
3481 /* end confdefs.h. */
3483 # include <limits.h>
3485 # include <assert.h>
3489 if { (ac_try="$ac_cpp conftest.$ac_ext"
3491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3492 *) ac_try_echo=$ac_try;;
3494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3495 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3497 grep -v '^ *+' conftest.er1 >conftest.err
3499 cat conftest.err >&5
3500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501 (exit $ac_status); } >/dev/null && {
3502 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3503 test ! -s conftest.err
3507 echo "$as_me: failed program was:" >&5
3508 sed 's/^/| /' conftest.$ac_ext >&5
3510 # Broken: fails on valid input.
3514 rm -f conftest.err conftest.$ac_ext
3516 # OK, works on sane cases. Now check whether nonexistent headers
3517 # can be detected and how.
3518 cat >conftest.$ac_ext <<_ACEOF
3521 cat confdefs.h >>conftest.$ac_ext
3522 cat >>conftest.$ac_ext <<_ACEOF
3523 /* end confdefs.h. */
3524 #include <ac_nonexistent.h>
3526 if { (ac_try="$ac_cpp conftest.$ac_ext"
3528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3529 *) ac_try_echo=$ac_try;;
3531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3532 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3534 grep -v '^ *+' conftest.er1 >conftest.err
3536 cat conftest.err >&5
3537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538 (exit $ac_status); } >/dev/null && {
3539 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3540 test ! -s conftest.err
3542 # Broken: success on invalid input.
3545 echo "$as_me: failed program was:" >&5
3546 sed 's/^/| /' conftest.$ac_ext >&5
3548 # Passes both tests.
3553 rm -f conftest.err conftest.$ac_ext
3556 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3557 rm -f conftest.err conftest.$ac_ext
3558 if $ac_preproc_ok; then
3570 { echo "$as_me:$LINENO: result: $CPP" >&5
3571 echo "${ECHO_T}$CPP" >&6; }
3573 for ac_c_preproc_warn_flag in '' yes
3575 # Use a header file that comes with gcc, so configuring glibc
3576 # with a fresh cross-compiler works.
3577 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3578 # <limits.h> exists even on freestanding compilers.
3579 # On the NeXT, cc -E runs the code through the compiler's parser,
3580 # not just through cpp. "Syntax error" is here to catch this case.
3581 cat >conftest.$ac_ext <<_ACEOF
3584 cat confdefs.h >>conftest.$ac_ext
3585 cat >>conftest.$ac_ext <<_ACEOF
3586 /* end confdefs.h. */
3588 # include <limits.h>
3590 # include <assert.h>
3594 if { (ac_try="$ac_cpp conftest.$ac_ext"
3596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3597 *) ac_try_echo=$ac_try;;
3599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3600 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3602 grep -v '^ *+' conftest.er1 >conftest.err
3604 cat conftest.err >&5
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); } >/dev/null && {
3607 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3608 test ! -s conftest.err
3612 echo "$as_me: failed program was:" >&5
3613 sed 's/^/| /' conftest.$ac_ext >&5
3615 # Broken: fails on valid input.
3619 rm -f conftest.err conftest.$ac_ext
3621 # OK, works on sane cases. Now check whether nonexistent headers
3622 # can be detected and how.
3623 cat >conftest.$ac_ext <<_ACEOF
3626 cat confdefs.h >>conftest.$ac_ext
3627 cat >>conftest.$ac_ext <<_ACEOF
3628 /* end confdefs.h. */
3629 #include <ac_nonexistent.h>
3631 if { (ac_try="$ac_cpp conftest.$ac_ext"
3633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3634 *) ac_try_echo=$ac_try;;
3636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3637 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3639 grep -v '^ *+' conftest.er1 >conftest.err
3641 cat conftest.err >&5
3642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643 (exit $ac_status); } >/dev/null && {
3644 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3645 test ! -s conftest.err
3647 # Broken: success on invalid input.
3650 echo "$as_me: failed program was:" >&5
3651 sed 's/^/| /' conftest.$ac_ext >&5
3653 # Passes both tests.
3658 rm -f conftest.err conftest.$ac_ext
3661 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3662 rm -f conftest.err conftest.$ac_ext
3663 if $ac_preproc_ok; then
3666 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3667 See \`config.log' for more details." >&5
3668 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3669 See \`config.log' for more details." >&2;}
3670 { (exit 1); exit 1; }; }
3674 ac_cpp='$CPP $CPPFLAGS'
3675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3680 { echo "$as_me:$LINENO: checking for X" >&5
3681 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3684 # Check whether --with-x was given.
3685 if test "${with_x+set}" = set; then
3689 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3690 if test "x$with_x" = xno; then
3691 # The user explicitly disabled X.
3694 case $x_includes,$x_libraries in #(
3695 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3696 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3697 { (exit 1); exit 1; }; };; #(
3698 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3699 echo $ECHO_N "(cached) $ECHO_C" >&6
3701 # One or both of the vars are not set, and there is no cached value.
3702 ac_x_includes=no ac_x_libraries=no
3703 rm -f -r conftest.dir
3704 if mkdir conftest.dir; then
3706 cat >Imakefile <<'_ACEOF'
3708 @echo incroot='${INCROOT}'
3710 @echo usrlibdir='${USRLIBDIR}'
3712 @echo libdir='${LIBDIR}'
3714 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3715 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3716 for ac_var in incroot usrlibdir libdir; do
3717 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3719 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3720 for ac_extension in a so sl; do
3721 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3722 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3723 ac_im_usrlibdir=$ac_im_libdir; break
3726 # Screen out bogus values from the imake configuration. They are
3727 # bogus both because they are the default anyway, and because
3728 # using them would break gcc on systems where it needs fixed includes.
3729 case $ac_im_incroot in
3730 /usr/include) ac_x_includes= ;;
3731 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3733 case $ac_im_usrlibdir in
3735 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3739 rm -f -r conftest.dir
3742 # Standard set of common directories for X headers.
3743 # Check X11 before X11Rn because it is often a symlink to the current release.
3755 /usr/local/X11/include
3756 /usr/local/X11R6/include
3757 /usr/local/X11R5/include
3758 /usr/local/X11R4/include
3760 /usr/local/include/X11
3761 /usr/local/include/X11R6
3762 /usr/local/include/X11R5
3763 /usr/local/include/X11R4
3767 /usr/XFree86/include/X11
3771 /usr/unsupported/include
3773 /usr/local/x11r5/include
3774 /usr/lpp/Xamples/include
3776 /usr/openwin/include
3777 /usr/openwin/share/include'
3779 if test "$ac_x_includes" = no; then
3780 # Guess where to find include files, by looking for Xlib.h.
3781 # First, try using that file with no special directory specified.
3782 cat >conftest.$ac_ext <<_ACEOF
3785 cat confdefs.h >>conftest.$ac_ext
3786 cat >>conftest.$ac_ext <<_ACEOF
3787 /* end confdefs.h. */
3788 #include <X11/Xlib.h>
3790 if { (ac_try="$ac_cpp conftest.$ac_ext"
3792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3793 *) ac_try_echo=$ac_try;;
3795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3798 grep -v '^ *+' conftest.er1 >conftest.err
3800 cat conftest.err >&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); } >/dev/null && {
3803 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3804 test ! -s conftest.err
3806 # We can compile using X headers with no special include directory.
3809 echo "$as_me: failed program was:" >&5
3810 sed 's/^/| /' conftest.$ac_ext >&5
3812 for ac_dir in $ac_x_header_dirs; do
3813 if test -r "$ac_dir/X11/Xlib.h"; then
3814 ac_x_includes=$ac_dir
3820 rm -f conftest.err conftest.$ac_ext
3821 fi # $ac_x_includes = no
3823 if test "$ac_x_libraries" = no; then
3824 # Check for the libraries.
3825 # See if we find them without any special options.
3826 # Don't add to $LIBS permanently.
3829 cat >conftest.$ac_ext <<_ACEOF
3832 cat confdefs.h >>conftest.$ac_ext
3833 cat >>conftest.$ac_ext <<_ACEOF
3834 /* end confdefs.h. */
3835 #include <X11/Xlib.h>
3844 rm -f conftest.$ac_objext conftest$ac_exeext
3845 if { (ac_try="$ac_link"
3847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3848 *) ac_try_echo=$ac_try;;
3850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3851 (eval "$ac_link") 2>conftest.er1
3853 grep -v '^ *+' conftest.er1 >conftest.err
3855 cat conftest.err >&5
3856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857 (exit $ac_status); } && {
3858 test -z "$ac_c_werror_flag" ||
3859 test ! -s conftest.err
3860 } && test -s conftest$ac_exeext &&
3861 $as_test_x conftest$ac_exeext; then
3863 # We can link X programs with no special library path.
3866 echo "$as_me: failed program was:" >&5
3867 sed 's/^/| /' conftest.$ac_ext >&5
3870 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3872 # Don't even attempt the hair of trying to link an X program!
3873 for ac_extension in a so sl; do
3874 if test -r "$ac_dir/libX11.$ac_extension"; then
3875 ac_x_libraries=$ac_dir
3882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3883 conftest$ac_exeext conftest.$ac_ext
3884 fi # $ac_x_libraries = no
3886 case $ac_x_includes,$ac_x_libraries in #(
3888 # Didn't find X, or a directory has "'" in its name.
3889 ac_cv_have_x="have_x=no";; #(
3891 # Record where we found X for the cache.
3892 ac_cv_have_x="have_x=yes\
3893 ac_x_includes='$ac_x_includes'\
3894 ac_x_libraries='$ac_x_libraries'"
3900 eval "$ac_cv_have_x"
3903 if test "$have_x" != yes; then
3904 { echo "$as_me:$LINENO: result: $have_x" >&5
3905 echo "${ECHO_T}$have_x" >&6; }
3908 # If each of the values was on the command line, it overrides each guess.
3909 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3910 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3911 # Update the cache value to reflect the command line values.
3912 ac_cv_have_x="have_x=yes\
3913 ac_x_includes='$x_includes'\
3914 ac_x_libraries='$x_libraries'"
3915 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3916 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3919 if test "$no_x" = yes; then
3920 # Not all programs may use this symbol, but it does not hurt to define it.
3922 cat >>confdefs.h <<\_ACEOF
3923 #define X_DISPLAY_MISSING 1
3926 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3928 if test -n "$x_includes"; then
3929 X_CFLAGS="$X_CFLAGS -I$x_includes"
3932 # It would also be nice to do this for all -L options, not just this one.
3933 if test -n "$x_libraries"; then
3934 X_LIBS="$X_LIBS -L$x_libraries"
3935 # For Solaris; some versions of Sun CC require a space after -R and
3936 # others require no space. Words are not sufficient . . . .
3937 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3938 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3939 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3940 ac_xsave_c_werror_flag=$ac_c_werror_flag
3941 ac_c_werror_flag=yes
3942 cat >conftest.$ac_ext <<_ACEOF
3945 cat confdefs.h >>conftest.$ac_ext
3946 cat >>conftest.$ac_ext <<_ACEOF
3947 /* end confdefs.h. */
3957 rm -f conftest.$ac_objext conftest$ac_exeext
3958 if { (ac_try="$ac_link"
3960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3961 *) ac_try_echo=$ac_try;;
3963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3964 (eval "$ac_link") 2>conftest.er1
3966 grep -v '^ *+' conftest.er1 >conftest.err
3968 cat conftest.err >&5
3969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970 (exit $ac_status); } && {
3971 test -z "$ac_c_werror_flag" ||
3972 test ! -s conftest.err
3973 } && test -s conftest$ac_exeext &&
3974 $as_test_x conftest$ac_exeext; then
3975 { echo "$as_me:$LINENO: result: no" >&5
3976 echo "${ECHO_T}no" >&6; }
3977 X_LIBS="$X_LIBS -R$x_libraries"
3979 echo "$as_me: failed program was:" >&5
3980 sed 's/^/| /' conftest.$ac_ext >&5
3982 LIBS="$ac_xsave_LIBS -R $x_libraries"
3983 cat >conftest.$ac_ext <<_ACEOF
3986 cat confdefs.h >>conftest.$ac_ext
3987 cat >>conftest.$ac_ext <<_ACEOF
3988 /* end confdefs.h. */
3998 rm -f conftest.$ac_objext conftest$ac_exeext
3999 if { (ac_try="$ac_link"
4001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4002 *) ac_try_echo=$ac_try;;
4004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4005 (eval "$ac_link") 2>conftest.er1
4007 grep -v '^ *+' conftest.er1 >conftest.err
4009 cat conftest.err >&5
4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011 (exit $ac_status); } && {
4012 test -z "$ac_c_werror_flag" ||
4013 test ! -s conftest.err
4014 } && test -s conftest$ac_exeext &&
4015 $as_test_x conftest$ac_exeext; then
4016 { echo "$as_me:$LINENO: result: yes" >&5
4017 echo "${ECHO_T}yes" >&6; }
4018 X_LIBS="$X_LIBS -R $x_libraries"
4020 echo "$as_me: failed program was:" >&5
4021 sed 's/^/| /' conftest.$ac_ext >&5
4023 { echo "$as_me:$LINENO: result: neither works" >&5
4024 echo "${ECHO_T}neither works" >&6; }
4027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4028 conftest$ac_exeext conftest.$ac_ext
4031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4032 conftest$ac_exeext conftest.$ac_ext
4033 ac_c_werror_flag=$ac_xsave_c_werror_flag
4037 # Check for system-dependent libraries X programs must link with.
4038 # Do this before checking for the system-independent R6 libraries
4039 # (-lICE), since we may need -lsocket or whatever for X linking.
4041 if test "$ISC" = yes; then
4042 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4044 # Martyn Johnson says this is needed for Ultrix, if the X
4045 # libraries were built with DECnet support. And Karl Berry says
4046 # the Alpha needs dnet_stub (dnet does not exist).
4047 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4048 cat >conftest.$ac_ext <<_ACEOF
4051 cat confdefs.h >>conftest.$ac_ext
4052 cat >>conftest.$ac_ext <<_ACEOF
4053 /* end confdefs.h. */
4055 /* Override any GCC internal prototype to avoid an error.
4056 Use char because int might match the return type of a GCC
4057 builtin and then its argument prototype would still apply. */
4061 char XOpenDisplay ();
4065 return XOpenDisplay ();
4070 rm -f conftest.$ac_objext conftest$ac_exeext
4071 if { (ac_try="$ac_link"
4073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4074 *) ac_try_echo=$ac_try;;
4076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4077 (eval "$ac_link") 2>conftest.er1
4079 grep -v '^ *+' conftest.er1 >conftest.err
4081 cat conftest.err >&5
4082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083 (exit $ac_status); } && {
4084 test -z "$ac_c_werror_flag" ||
4085 test ! -s conftest.err
4086 } && test -s conftest$ac_exeext &&
4087 $as_test_x conftest$ac_exeext; then
4090 echo "$as_me: failed program was:" >&5
4091 sed 's/^/| /' conftest.$ac_ext >&5
4093 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4094 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4095 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4096 echo $ECHO_N "(cached) $ECHO_C" >&6
4098 ac_check_lib_save_LIBS=$LIBS
4100 cat >conftest.$ac_ext <<_ACEOF
4103 cat confdefs.h >>conftest.$ac_ext
4104 cat >>conftest.$ac_ext <<_ACEOF
4105 /* end confdefs.h. */
4107 /* Override any GCC internal prototype to avoid an error.
4108 Use char because int might match the return type of a GCC
4109 builtin and then its argument prototype would still apply. */
4117 return dnet_ntoa ();
4122 rm -f conftest.$ac_objext conftest$ac_exeext
4123 if { (ac_try="$ac_link"
4125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4126 *) ac_try_echo=$ac_try;;
4128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4129 (eval "$ac_link") 2>conftest.er1
4131 grep -v '^ *+' conftest.er1 >conftest.err
4133 cat conftest.err >&5
4134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135 (exit $ac_status); } && {
4136 test -z "$ac_c_werror_flag" ||
4137 test ! -s conftest.err
4138 } && test -s conftest$ac_exeext &&
4139 $as_test_x conftest$ac_exeext; then
4140 ac_cv_lib_dnet_dnet_ntoa=yes
4142 echo "$as_me: failed program was:" >&5
4143 sed 's/^/| /' conftest.$ac_ext >&5
4145 ac_cv_lib_dnet_dnet_ntoa=no
4148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4149 conftest$ac_exeext conftest.$ac_ext
4150 LIBS=$ac_check_lib_save_LIBS
4152 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4153 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4154 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4155 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4158 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4159 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4160 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4161 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4162 echo $ECHO_N "(cached) $ECHO_C" >&6
4164 ac_check_lib_save_LIBS=$LIBS
4165 LIBS="-ldnet_stub $LIBS"
4166 cat >conftest.$ac_ext <<_ACEOF
4169 cat confdefs.h >>conftest.$ac_ext
4170 cat >>conftest.$ac_ext <<_ACEOF
4171 /* end confdefs.h. */
4173 /* Override any GCC internal prototype to avoid an error.
4174 Use char because int might match the return type of a GCC
4175 builtin and then its argument prototype would still apply. */
4183 return dnet_ntoa ();
4188 rm -f conftest.$ac_objext conftest$ac_exeext
4189 if { (ac_try="$ac_link"
4191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4192 *) ac_try_echo=$ac_try;;
4194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4195 (eval "$ac_link") 2>conftest.er1
4197 grep -v '^ *+' conftest.er1 >conftest.err
4199 cat conftest.err >&5
4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); } && {
4202 test -z "$ac_c_werror_flag" ||
4203 test ! -s conftest.err
4204 } && test -s conftest$ac_exeext &&
4205 $as_test_x conftest$ac_exeext; then
4206 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4208 echo "$as_me: failed program was:" >&5
4209 sed 's/^/| /' conftest.$ac_ext >&5
4211 ac_cv_lib_dnet_stub_dnet_ntoa=no
4214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4215 conftest$ac_exeext conftest.$ac_ext
4216 LIBS=$ac_check_lib_save_LIBS
4218 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4219 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4220 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4221 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4228 conftest$ac_exeext conftest.$ac_ext
4229 LIBS="$ac_xsave_LIBS"
4231 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4232 # to get the SysV transport functions.
4233 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4235 # The nsl library prevents programs from opening the X display
4236 # on Irix 5.2, according to T.E. Dickey.
4237 # The functions gethostbyname, getservbyname, and inet_addr are
4238 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4239 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4240 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4241 if test "${ac_cv_func_gethostbyname+set}" = set; then
4242 echo $ECHO_N "(cached) $ECHO_C" >&6
4244 cat >conftest.$ac_ext <<_ACEOF
4247 cat confdefs.h >>conftest.$ac_ext
4248 cat >>conftest.$ac_ext <<_ACEOF
4249 /* end confdefs.h. */
4250 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4252 #define gethostbyname innocuous_gethostbyname
4254 /* System header to define __stub macros and hopefully few prototypes,
4255 which can conflict with char gethostbyname (); below.
4256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4257 <limits.h> exists even on freestanding compilers. */
4260 # include <limits.h>
4262 # include <assert.h>
4265 #undef gethostbyname
4267 /* Override any GCC internal prototype to avoid an error.
4268 Use char because int might match the return type of a GCC
4269 builtin and then its argument prototype would still apply. */
4273 char gethostbyname ();
4274 /* The GNU C library defines this for functions which it implements
4275 to always fail with ENOSYS. Some functions are actually named
4276 something starting with __ and the normal name is an alias. */
4277 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4284 return gethostbyname ();
4289 rm -f conftest.$ac_objext conftest$ac_exeext
4290 if { (ac_try="$ac_link"
4292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4293 *) ac_try_echo=$ac_try;;
4295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4296 (eval "$ac_link") 2>conftest.er1
4298 grep -v '^ *+' conftest.er1 >conftest.err
4300 cat conftest.err >&5
4301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4302 (exit $ac_status); } && {
4303 test -z "$ac_c_werror_flag" ||
4304 test ! -s conftest.err
4305 } && test -s conftest$ac_exeext &&
4306 $as_test_x conftest$ac_exeext; then
4307 ac_cv_func_gethostbyname=yes
4309 echo "$as_me: failed program was:" >&5
4310 sed 's/^/| /' conftest.$ac_ext >&5
4312 ac_cv_func_gethostbyname=no
4315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4316 conftest$ac_exeext conftest.$ac_ext
4318 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4319 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4321 if test $ac_cv_func_gethostbyname = no; then
4322 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4323 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4324 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4325 echo $ECHO_N "(cached) $ECHO_C" >&6
4327 ac_check_lib_save_LIBS=$LIBS
4329 cat >conftest.$ac_ext <<_ACEOF
4332 cat confdefs.h >>conftest.$ac_ext
4333 cat >>conftest.$ac_ext <<_ACEOF
4334 /* end confdefs.h. */
4336 /* Override any GCC internal prototype to avoid an error.
4337 Use char because int might match the return type of a GCC
4338 builtin and then its argument prototype would still apply. */
4342 char gethostbyname ();
4346 return gethostbyname ();
4351 rm -f conftest.$ac_objext conftest$ac_exeext
4352 if { (ac_try="$ac_link"
4354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4355 *) ac_try_echo=$ac_try;;
4357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4358 (eval "$ac_link") 2>conftest.er1
4360 grep -v '^ *+' conftest.er1 >conftest.err
4362 cat conftest.err >&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); } && {
4365 test -z "$ac_c_werror_flag" ||
4366 test ! -s conftest.err
4367 } && test -s conftest$ac_exeext &&
4368 $as_test_x conftest$ac_exeext; then
4369 ac_cv_lib_nsl_gethostbyname=yes
4371 echo "$as_me: failed program was:" >&5
4372 sed 's/^/| /' conftest.$ac_ext >&5
4374 ac_cv_lib_nsl_gethostbyname=no
4377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4378 conftest$ac_exeext conftest.$ac_ext
4379 LIBS=$ac_check_lib_save_LIBS
4381 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4382 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4383 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4384 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4387 if test $ac_cv_lib_nsl_gethostbyname = no; then
4388 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4389 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4390 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4391 echo $ECHO_N "(cached) $ECHO_C" >&6
4393 ac_check_lib_save_LIBS=$LIBS
4395 cat >conftest.$ac_ext <<_ACEOF
4398 cat confdefs.h >>conftest.$ac_ext
4399 cat >>conftest.$ac_ext <<_ACEOF
4400 /* end confdefs.h. */
4402 /* Override any GCC internal prototype to avoid an error.
4403 Use char because int might match the return type of a GCC
4404 builtin and then its argument prototype would still apply. */
4408 char gethostbyname ();
4412 return gethostbyname ();
4417 rm -f conftest.$ac_objext conftest$ac_exeext
4418 if { (ac_try="$ac_link"
4420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4421 *) ac_try_echo=$ac_try;;
4423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4424 (eval "$ac_link") 2>conftest.er1
4426 grep -v '^ *+' conftest.er1 >conftest.err
4428 cat conftest.err >&5
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); } && {
4431 test -z "$ac_c_werror_flag" ||
4432 test ! -s conftest.err
4433 } && test -s conftest$ac_exeext &&
4434 $as_test_x conftest$ac_exeext; then
4435 ac_cv_lib_bsd_gethostbyname=yes
4437 echo "$as_me: failed program was:" >&5
4438 sed 's/^/| /' conftest.$ac_ext >&5
4440 ac_cv_lib_bsd_gethostbyname=no
4443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4444 conftest$ac_exeext conftest.$ac_ext
4445 LIBS=$ac_check_lib_save_LIBS
4447 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4448 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4449 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4450 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4456 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4457 # socket/setsockopt and other routines are undefined under SCO ODT
4458 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4459 # on later versions), says Simon Leinen: it contains gethostby*
4460 # variants that don't use the name server (or something). -lsocket
4461 # must be given before -lnsl if both are needed. We assume that
4462 # if connect needs -lnsl, so does gethostbyname.
4463 { echo "$as_me:$LINENO: checking for connect" >&5
4464 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4465 if test "${ac_cv_func_connect+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4468 cat >conftest.$ac_ext <<_ACEOF
4471 cat confdefs.h >>conftest.$ac_ext
4472 cat >>conftest.$ac_ext <<_ACEOF
4473 /* end confdefs.h. */
4474 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4476 #define connect innocuous_connect
4478 /* System header to define __stub macros and hopefully few prototypes,
4479 which can conflict with char connect (); below.
4480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4481 <limits.h> exists even on freestanding compilers. */
4484 # include <limits.h>
4486 # include <assert.h>
4491 /* Override any GCC internal prototype to avoid an error.
4492 Use char because int might match the return type of a GCC
4493 builtin and then its argument prototype would still apply. */
4498 /* The GNU C library defines this for functions which it implements
4499 to always fail with ENOSYS. Some functions are actually named
4500 something starting with __ and the normal name is an alias. */
4501 #if defined __stub_connect || defined __stub___connect
4513 rm -f conftest.$ac_objext conftest$ac_exeext
4514 if { (ac_try="$ac_link"
4516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4517 *) ac_try_echo=$ac_try;;
4519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4520 (eval "$ac_link") 2>conftest.er1
4522 grep -v '^ *+' conftest.er1 >conftest.err
4524 cat conftest.err >&5
4525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4526 (exit $ac_status); } && {
4527 test -z "$ac_c_werror_flag" ||
4528 test ! -s conftest.err
4529 } && test -s conftest$ac_exeext &&
4530 $as_test_x conftest$ac_exeext; then
4531 ac_cv_func_connect=yes
4533 echo "$as_me: failed program was:" >&5
4534 sed 's/^/| /' conftest.$ac_ext >&5
4536 ac_cv_func_connect=no
4539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4540 conftest$ac_exeext conftest.$ac_ext
4542 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4543 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4545 if test $ac_cv_func_connect = no; then
4546 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4547 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4548 if test "${ac_cv_lib_socket_connect+set}" = set; then
4549 echo $ECHO_N "(cached) $ECHO_C" >&6
4551 ac_check_lib_save_LIBS=$LIBS
4552 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4553 cat >conftest.$ac_ext <<_ACEOF
4556 cat confdefs.h >>conftest.$ac_ext
4557 cat >>conftest.$ac_ext <<_ACEOF
4558 /* end confdefs.h. */
4560 /* Override any GCC internal prototype to avoid an error.
4561 Use char because int might match the return type of a GCC
4562 builtin and then its argument prototype would still apply. */
4575 rm -f conftest.$ac_objext conftest$ac_exeext
4576 if { (ac_try="$ac_link"
4578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4579 *) ac_try_echo=$ac_try;;
4581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4582 (eval "$ac_link") 2>conftest.er1
4584 grep -v '^ *+' conftest.er1 >conftest.err
4586 cat conftest.err >&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); } && {
4589 test -z "$ac_c_werror_flag" ||
4590 test ! -s conftest.err
4591 } && test -s conftest$ac_exeext &&
4592 $as_test_x conftest$ac_exeext; then
4593 ac_cv_lib_socket_connect=yes
4595 echo "$as_me: failed program was:" >&5
4596 sed 's/^/| /' conftest.$ac_ext >&5
4598 ac_cv_lib_socket_connect=no
4601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4602 conftest$ac_exeext conftest.$ac_ext
4603 LIBS=$ac_check_lib_save_LIBS
4605 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4606 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4607 if test $ac_cv_lib_socket_connect = yes; then
4608 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4613 # Guillermo Gomez says -lposix is necessary on A/UX.
4614 { echo "$as_me:$LINENO: checking for remove" >&5
4615 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4616 if test "${ac_cv_func_remove+set}" = set; then
4617 echo $ECHO_N "(cached) $ECHO_C" >&6
4619 cat >conftest.$ac_ext <<_ACEOF
4622 cat confdefs.h >>conftest.$ac_ext
4623 cat >>conftest.$ac_ext <<_ACEOF
4624 /* end confdefs.h. */
4625 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4627 #define remove innocuous_remove
4629 /* System header to define __stub macros and hopefully few prototypes,
4630 which can conflict with char remove (); below.
4631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4632 <limits.h> exists even on freestanding compilers. */
4635 # include <limits.h>
4637 # include <assert.h>
4642 /* Override any GCC internal prototype to avoid an error.
4643 Use char because int might match the return type of a GCC
4644 builtin and then its argument prototype would still apply. */
4649 /* The GNU C library defines this for functions which it implements
4650 to always fail with ENOSYS. Some functions are actually named
4651 something starting with __ and the normal name is an alias. */
4652 #if defined __stub_remove || defined __stub___remove
4664 rm -f conftest.$ac_objext conftest$ac_exeext
4665 if { (ac_try="$ac_link"
4667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4668 *) ac_try_echo=$ac_try;;
4670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4671 (eval "$ac_link") 2>conftest.er1
4673 grep -v '^ *+' conftest.er1 >conftest.err
4675 cat conftest.err >&5
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); } && {
4678 test -z "$ac_c_werror_flag" ||
4679 test ! -s conftest.err
4680 } && test -s conftest$ac_exeext &&
4681 $as_test_x conftest$ac_exeext; then
4682 ac_cv_func_remove=yes
4684 echo "$as_me: failed program was:" >&5
4685 sed 's/^/| /' conftest.$ac_ext >&5
4687 ac_cv_func_remove=no
4690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4691 conftest$ac_exeext conftest.$ac_ext
4693 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4694 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4696 if test $ac_cv_func_remove = no; then
4697 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4698 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4699 if test "${ac_cv_lib_posix_remove+set}" = set; then
4700 echo $ECHO_N "(cached) $ECHO_C" >&6
4702 ac_check_lib_save_LIBS=$LIBS
4703 LIBS="-lposix $LIBS"
4704 cat >conftest.$ac_ext <<_ACEOF
4707 cat confdefs.h >>conftest.$ac_ext
4708 cat >>conftest.$ac_ext <<_ACEOF
4709 /* end confdefs.h. */
4711 /* Override any GCC internal prototype to avoid an error.
4712 Use char because int might match the return type of a GCC
4713 builtin and then its argument prototype would still apply. */
4726 rm -f conftest.$ac_objext conftest$ac_exeext
4727 if { (ac_try="$ac_link"
4729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4730 *) ac_try_echo=$ac_try;;
4732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4733 (eval "$ac_link") 2>conftest.er1
4735 grep -v '^ *+' conftest.er1 >conftest.err
4737 cat conftest.err >&5
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); } && {
4740 test -z "$ac_c_werror_flag" ||
4741 test ! -s conftest.err
4742 } && test -s conftest$ac_exeext &&
4743 $as_test_x conftest$ac_exeext; then
4744 ac_cv_lib_posix_remove=yes
4746 echo "$as_me: failed program was:" >&5
4747 sed 's/^/| /' conftest.$ac_ext >&5
4749 ac_cv_lib_posix_remove=no
4752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4753 conftest$ac_exeext conftest.$ac_ext
4754 LIBS=$ac_check_lib_save_LIBS
4756 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4757 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4758 if test $ac_cv_lib_posix_remove = yes; then
4759 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4764 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4765 { echo "$as_me:$LINENO: checking for shmat" >&5
4766 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4767 if test "${ac_cv_func_shmat+set}" = set; then
4768 echo $ECHO_N "(cached) $ECHO_C" >&6
4770 cat >conftest.$ac_ext <<_ACEOF
4773 cat confdefs.h >>conftest.$ac_ext
4774 cat >>conftest.$ac_ext <<_ACEOF
4775 /* end confdefs.h. */
4776 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4778 #define shmat innocuous_shmat
4780 /* System header to define __stub macros and hopefully few prototypes,
4781 which can conflict with char shmat (); below.
4782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4783 <limits.h> exists even on freestanding compilers. */
4786 # include <limits.h>
4788 # include <assert.h>
4793 /* Override any GCC internal prototype to avoid an error.
4794 Use char because int might match the return type of a GCC
4795 builtin and then its argument prototype would still apply. */
4800 /* The GNU C library defines this for functions which it implements
4801 to always fail with ENOSYS. Some functions are actually named
4802 something starting with __ and the normal name is an alias. */
4803 #if defined __stub_shmat || defined __stub___shmat
4815 rm -f conftest.$ac_objext conftest$ac_exeext
4816 if { (ac_try="$ac_link"
4818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4819 *) ac_try_echo=$ac_try;;
4821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4822 (eval "$ac_link") 2>conftest.er1
4824 grep -v '^ *+' conftest.er1 >conftest.err
4826 cat conftest.err >&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); } && {
4829 test -z "$ac_c_werror_flag" ||
4830 test ! -s conftest.err
4831 } && test -s conftest$ac_exeext &&
4832 $as_test_x conftest$ac_exeext; then
4833 ac_cv_func_shmat=yes
4835 echo "$as_me: failed program was:" >&5
4836 sed 's/^/| /' conftest.$ac_ext >&5
4841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4842 conftest$ac_exeext conftest.$ac_ext
4844 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4845 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4847 if test $ac_cv_func_shmat = no; then
4848 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4849 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4850 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4851 echo $ECHO_N "(cached) $ECHO_C" >&6
4853 ac_check_lib_save_LIBS=$LIBS
4855 cat >conftest.$ac_ext <<_ACEOF
4858 cat confdefs.h >>conftest.$ac_ext
4859 cat >>conftest.$ac_ext <<_ACEOF
4860 /* end confdefs.h. */
4862 /* Override any GCC internal prototype to avoid an error.
4863 Use char because int might match the return type of a GCC
4864 builtin and then its argument prototype would still apply. */
4877 rm -f conftest.$ac_objext conftest$ac_exeext
4878 if { (ac_try="$ac_link"
4880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4881 *) ac_try_echo=$ac_try;;
4883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4884 (eval "$ac_link") 2>conftest.er1
4886 grep -v '^ *+' conftest.er1 >conftest.err
4888 cat conftest.err >&5
4889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890 (exit $ac_status); } && {
4891 test -z "$ac_c_werror_flag" ||
4892 test ! -s conftest.err
4893 } && test -s conftest$ac_exeext &&
4894 $as_test_x conftest$ac_exeext; then
4895 ac_cv_lib_ipc_shmat=yes
4897 echo "$as_me: failed program was:" >&5
4898 sed 's/^/| /' conftest.$ac_ext >&5
4900 ac_cv_lib_ipc_shmat=no
4903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4904 conftest$ac_exeext conftest.$ac_ext
4905 LIBS=$ac_check_lib_save_LIBS
4907 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4908 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4909 if test $ac_cv_lib_ipc_shmat = yes; then
4910 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4916 # Check for libraries that X11R6 Xt/Xaw programs need.
4917 ac_save_LDFLAGS=$LDFLAGS
4918 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4919 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4920 # check for ICE first), but we must link in the order -lSM -lICE or
4921 # we get undefined symbols. So assume we have SM if we have ICE.
4922 # These have to be linked with before -lX11, unlike the other
4923 # libraries we check for below, so use a different variable.
4924 # John Interrante, Karl Berry
4925 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4926 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4927 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4928 echo $ECHO_N "(cached) $ECHO_C" >&6
4930 ac_check_lib_save_LIBS=$LIBS
4931 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4932 cat >conftest.$ac_ext <<_ACEOF
4935 cat confdefs.h >>conftest.$ac_ext
4936 cat >>conftest.$ac_ext <<_ACEOF
4937 /* end confdefs.h. */
4939 /* Override any GCC internal prototype to avoid an error.
4940 Use char because int might match the return type of a GCC
4941 builtin and then its argument prototype would still apply. */
4945 char IceConnectionNumber ();
4949 return IceConnectionNumber ();
4954 rm -f conftest.$ac_objext conftest$ac_exeext
4955 if { (ac_try="$ac_link"
4957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4958 *) ac_try_echo=$ac_try;;
4960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4961 (eval "$ac_link") 2>conftest.er1
4963 grep -v '^ *+' conftest.er1 >conftest.err
4965 cat conftest.err >&5
4966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4967 (exit $ac_status); } && {
4968 test -z "$ac_c_werror_flag" ||
4969 test ! -s conftest.err
4970 } && test -s conftest$ac_exeext &&
4971 $as_test_x conftest$ac_exeext; then
4972 ac_cv_lib_ICE_IceConnectionNumber=yes
4974 echo "$as_me: failed program was:" >&5
4975 sed 's/^/| /' conftest.$ac_ext >&5
4977 ac_cv_lib_ICE_IceConnectionNumber=no
4980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4981 conftest$ac_exeext conftest.$ac_ext
4982 LIBS=$ac_check_lib_save_LIBS
4984 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4985 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4986 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4987 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4990 LDFLAGS=$ac_save_LDFLAGS
4997 # Extract the first word of "$ac_prog", so it can be a program name with args.
4998 set dummy $ac_prog; ac_word=$2
4999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5001 if test "${ac_cv_prog_FLEX+set}" = set; then
5002 echo $ECHO_N "(cached) $ECHO_C" >&6
5004 if test -n "$FLEX"; then
5005 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5011 test -z "$as_dir" && as_dir=.
5012 for ac_exec_ext in '' $ac_executable_extensions; do
5013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5014 ac_cv_prog_FLEX="$ac_prog"
5015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5024 FLEX=$ac_cv_prog_FLEX
5025 if test -n "$FLEX"; then
5026 { echo "$as_me:$LINENO: result: $FLEX" >&5
5027 echo "${ECHO_T}$FLEX" >&6; }
5029 { echo "$as_me:$LINENO: result: no" >&5
5030 echo "${ECHO_T}no" >&6; }
5034 test -n "$FLEX" && break
5036 test -n "$FLEX" || FLEX="none"
5038 if test "$FLEX" = "none"
5040 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5041 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5042 { (exit 1); exit 1; }; }
5045 for ac_prog in bison
5047 # Extract the first word of "$ac_prog", so it can be a program name with args.
5048 set dummy $ac_prog; ac_word=$2
5049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5051 if test "${ac_cv_prog_BISON+set}" = set; then
5052 echo $ECHO_N "(cached) $ECHO_C" >&6
5054 if test -n "$BISON"; then
5055 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5061 test -z "$as_dir" && as_dir=.
5062 for ac_exec_ext in '' $ac_executable_extensions; do
5063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5064 ac_cv_prog_BISON="$ac_prog"
5065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5074 BISON=$ac_cv_prog_BISON
5075 if test -n "$BISON"; then
5076 { echo "$as_me:$LINENO: result: $BISON" >&5
5077 echo "${ECHO_T}$BISON" >&6; }
5079 { echo "$as_me:$LINENO: result: no" >&5
5080 echo "${ECHO_T}no" >&6; }
5084 test -n "$BISON" && break
5086 test -n "$BISON" || BISON="none"
5088 if test "$BISON" = "none"
5090 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5091 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5092 { (exit 1); exit 1; }; }
5095 if test -n "$ac_tool_prefix"; then
5096 for ac_prog in gas as
5098 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5099 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5102 if test "${ac_cv_prog_AS+set}" = set; then
5103 echo $ECHO_N "(cached) $ECHO_C" >&6
5105 if test -n "$AS"; then
5106 ac_cv_prog_AS="$AS" # Let the user override the test.
5108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5112 test -z "$as_dir" && as_dir=.
5113 for ac_exec_ext in '' $ac_executable_extensions; do
5114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5115 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5126 if test -n "$AS"; then
5127 { echo "$as_me:$LINENO: result: $AS" >&5
5128 echo "${ECHO_T}$AS" >&6; }
5130 { echo "$as_me:$LINENO: result: no" >&5
5131 echo "${ECHO_T}no" >&6; }
5135 test -n "$AS" && break
5138 if test -z "$AS"; then
5140 for ac_prog in gas as
5142 # Extract the first word of "$ac_prog", so it can be a program name with args.
5143 set dummy $ac_prog; ac_word=$2
5144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5146 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5147 echo $ECHO_N "(cached) $ECHO_C" >&6
5149 if test -n "$ac_ct_AS"; then
5150 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156 test -z "$as_dir" && as_dir=.
5157 for ac_exec_ext in '' $ac_executable_extensions; do
5158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5159 ac_cv_prog_ac_ct_AS="$ac_prog"
5160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5169 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5170 if test -n "$ac_ct_AS"; then
5171 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5172 echo "${ECHO_T}$ac_ct_AS" >&6; }
5174 { echo "$as_me:$LINENO: result: no" >&5
5175 echo "${ECHO_T}no" >&6; }
5179 test -n "$ac_ct_AS" && break
5182 if test "x$ac_ct_AS" = x; then
5185 case $cross_compiling:$ac_tool_warned in
5187 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5188 whose name does not start with the host triplet. If you think this
5189 configuration is useful to you, please write to autoconf@gnu.org." >&5
5190 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5191 whose name does not start with the host triplet. If you think this
5192 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5193 ac_tool_warned=yes ;;
5199 if test -n "$ac_tool_prefix"; then
5200 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5201 set dummy ${ac_tool_prefix}ld; ac_word=$2
5202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5204 if test "${ac_cv_prog_LD+set}" = set; then
5205 echo $ECHO_N "(cached) $ECHO_C" >&6
5207 if test -n "$LD"; then
5208 ac_cv_prog_LD="$LD" # Let the user override the test.
5210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5214 test -z "$as_dir" && as_dir=.
5215 for ac_exec_ext in '' $ac_executable_extensions; do
5216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5217 ac_cv_prog_LD="${ac_tool_prefix}ld"
5218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5228 if test -n "$LD"; then
5229 { echo "$as_me:$LINENO: result: $LD" >&5
5230 echo "${ECHO_T}$LD" >&6; }
5232 { echo "$as_me:$LINENO: result: no" >&5
5233 echo "${ECHO_T}no" >&6; }
5238 if test -z "$ac_cv_prog_LD"; then
5240 # Extract the first word of "ld", so it can be a program name with args.
5241 set dummy ld; ac_word=$2
5242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5244 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5245 echo $ECHO_N "(cached) $ECHO_C" >&6
5247 if test -n "$ac_ct_LD"; then
5248 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5254 test -z "$as_dir" && as_dir=.
5255 for ac_exec_ext in '' $ac_executable_extensions; do
5256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5257 ac_cv_prog_ac_ct_LD="ld"
5258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5267 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5268 if test -n "$ac_ct_LD"; then
5269 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5270 echo "${ECHO_T}$ac_ct_LD" >&6; }
5272 { echo "$as_me:$LINENO: result: no" >&5
5273 echo "${ECHO_T}no" >&6; }
5276 if test "x$ac_ct_LD" = x; then
5279 case $cross_compiling:$ac_tool_warned in
5281 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5282 whose name does not start with the host triplet. If you think this
5283 configuration is useful to you, please write to autoconf@gnu.org." >&5
5284 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5285 whose name does not start with the host triplet. If you think this
5286 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5287 ac_tool_warned=yes ;;
5295 if test -n "$ac_tool_prefix"; then
5296 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5297 set dummy ${ac_tool_prefix}ar; ac_word=$2
5298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5300 if test "${ac_cv_prog_AR+set}" = set; then
5301 echo $ECHO_N "(cached) $ECHO_C" >&6
5303 if test -n "$AR"; then
5304 ac_cv_prog_AR="$AR" # Let the user override the test.
5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5310 test -z "$as_dir" && as_dir=.
5311 for ac_exec_ext in '' $ac_executable_extensions; do
5312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5313 ac_cv_prog_AR="${ac_tool_prefix}ar"
5314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5324 if test -n "$AR"; then
5325 { echo "$as_me:$LINENO: result: $AR" >&5
5326 echo "${ECHO_T}$AR" >&6; }
5328 { echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6; }
5334 if test -z "$ac_cv_prog_AR"; then
5336 # Extract the first word of "ar", so it can be a program name with args.
5337 set dummy ar; ac_word=$2
5338 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5340 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5341 echo $ECHO_N "(cached) $ECHO_C" >&6
5343 if test -n "$ac_ct_AR"; then
5344 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5350 test -z "$as_dir" && as_dir=.
5351 for ac_exec_ext in '' $ac_executable_extensions; do
5352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5353 ac_cv_prog_ac_ct_AR="ar"
5354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5363 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5364 if test -n "$ac_ct_AR"; then
5365 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5366 echo "${ECHO_T}$ac_ct_AR" >&6; }
5368 { echo "$as_me:$LINENO: result: no" >&5
5369 echo "${ECHO_T}no" >&6; }
5372 if test "x$ac_ct_AR" = x; then
5375 case $cross_compiling:$ac_tool_warned in
5377 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5378 whose name does not start with the host triplet. If you think this
5379 configuration is useful to you, please write to autoconf@gnu.org." >&5
5380 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5381 whose name does not start with the host triplet. If you think this
5382 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5383 ac_tool_warned=yes ;;
5391 if test -n "$ac_tool_prefix"; then
5392 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5393 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5396 if test "${ac_cv_prog_RANLIB+set}" = set; then
5397 echo $ECHO_N "(cached) $ECHO_C" >&6
5399 if test -n "$RANLIB"; then
5400 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406 test -z "$as_dir" && as_dir=.
5407 for ac_exec_ext in '' $ac_executable_extensions; do
5408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5409 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 RANLIB=$ac_cv_prog_RANLIB
5420 if test -n "$RANLIB"; then
5421 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5422 echo "${ECHO_T}$RANLIB" >&6; }
5424 { echo "$as_me:$LINENO: result: no" >&5
5425 echo "${ECHO_T}no" >&6; }
5430 if test -z "$ac_cv_prog_RANLIB"; then
5431 ac_ct_RANLIB=$RANLIB
5432 # Extract the first word of "ranlib", so it can be a program name with args.
5433 set dummy ranlib; ac_word=$2
5434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5436 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5437 echo $ECHO_N "(cached) $ECHO_C" >&6
5439 if test -n "$ac_ct_RANLIB"; then
5440 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5446 test -z "$as_dir" && as_dir=.
5447 for ac_exec_ext in '' $ac_executable_extensions; do
5448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5449 ac_cv_prog_ac_ct_RANLIB="ranlib"
5450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5459 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5460 if test -n "$ac_ct_RANLIB"; then
5461 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5462 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5464 { echo "$as_me:$LINENO: result: no" >&5
5465 echo "${ECHO_T}no" >&6; }
5468 if test "x$ac_ct_RANLIB" = x; then
5471 case $cross_compiling:$ac_tool_warned in
5473 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5474 whose name does not start with the host triplet. If you think this
5475 configuration is useful to you, please write to autoconf@gnu.org." >&5
5476 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5477 whose name does not start with the host triplet. If you think this
5478 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5479 ac_tool_warned=yes ;;
5481 RANLIB=$ac_ct_RANLIB
5484 RANLIB="$ac_cv_prog_RANLIB"
5487 if test -n "$ac_tool_prefix"; then
5488 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5489 set dummy ${ac_tool_prefix}strip; ac_word=$2
5490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5492 if test "${ac_cv_prog_STRIP+set}" = set; then
5493 echo $ECHO_N "(cached) $ECHO_C" >&6
5495 if test -n "$STRIP"; then
5496 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5502 test -z "$as_dir" && as_dir=.
5503 for ac_exec_ext in '' $ac_executable_extensions; do
5504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5505 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5515 STRIP=$ac_cv_prog_STRIP
5516 if test -n "$STRIP"; then
5517 { echo "$as_me:$LINENO: result: $STRIP" >&5
5518 echo "${ECHO_T}$STRIP" >&6; }
5520 { echo "$as_me:$LINENO: result: no" >&5
5521 echo "${ECHO_T}no" >&6; }
5526 if test -z "$ac_cv_prog_STRIP"; then
5528 # Extract the first word of "strip", so it can be a program name with args.
5529 set dummy strip; ac_word=$2
5530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5532 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5533 echo $ECHO_N "(cached) $ECHO_C" >&6
5535 if test -n "$ac_ct_STRIP"; then
5536 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5542 test -z "$as_dir" && as_dir=.
5543 for ac_exec_ext in '' $ac_executable_extensions; do
5544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5545 ac_cv_prog_ac_ct_STRIP="strip"
5546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5555 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5556 if test -n "$ac_ct_STRIP"; then
5557 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5558 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5560 { echo "$as_me:$LINENO: result: no" >&5
5561 echo "${ECHO_T}no" >&6; }
5564 if test "x$ac_ct_STRIP" = x; then
5567 case $cross_compiling:$ac_tool_warned in
5569 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5570 whose name does not start with the host triplet. If you think this
5571 configuration is useful to you, please write to autoconf@gnu.org." >&5
5572 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5573 whose name does not start with the host triplet. If you think this
5574 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5575 ac_tool_warned=yes ;;
5580 STRIP="$ac_cv_prog_STRIP"
5583 if test -n "$ac_tool_prefix"; then
5584 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5585 set dummy ${ac_tool_prefix}windres; ac_word=$2
5586 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5588 if test "${ac_cv_prog_WINDRES+set}" = set; then
5589 echo $ECHO_N "(cached) $ECHO_C" >&6
5591 if test -n "$WINDRES"; then
5592 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5598 test -z "$as_dir" && as_dir=.
5599 for ac_exec_ext in '' $ac_executable_extensions; do
5600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5601 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5611 WINDRES=$ac_cv_prog_WINDRES
5612 if test -n "$WINDRES"; then
5613 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5614 echo "${ECHO_T}$WINDRES" >&6; }
5616 { echo "$as_me:$LINENO: result: no" >&5
5617 echo "${ECHO_T}no" >&6; }
5622 if test -z "$ac_cv_prog_WINDRES"; then
5623 ac_ct_WINDRES=$WINDRES
5624 # Extract the first word of "windres", so it can be a program name with args.
5625 set dummy windres; ac_word=$2
5626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5628 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5629 echo $ECHO_N "(cached) $ECHO_C" >&6
5631 if test -n "$ac_ct_WINDRES"; then
5632 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5638 test -z "$as_dir" && as_dir=.
5639 for ac_exec_ext in '' $ac_executable_extensions; do
5640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5641 ac_cv_prog_ac_ct_WINDRES="windres"
5642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5651 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5652 if test -n "$ac_ct_WINDRES"; then
5653 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5654 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5656 { echo "$as_me:$LINENO: result: no" >&5
5657 echo "${ECHO_T}no" >&6; }
5660 if test "x$ac_ct_WINDRES" = x; then
5663 case $cross_compiling:$ac_tool_warned in
5665 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5666 whose name does not start with the host triplet. If you think this
5667 configuration is useful to you, please write to autoconf@gnu.org." >&5
5668 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5669 whose name does not start with the host triplet. If you think this
5670 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5671 ac_tool_warned=yes ;;
5673 WINDRES=$ac_ct_WINDRES
5676 WINDRES="$ac_cv_prog_WINDRES"
5679 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5680 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5682 if test "$LN_S" = "ln -s"; then
5683 { echo "$as_me:$LINENO: result: yes" >&5
5684 echo "${ECHO_T}yes" >&6; }
5686 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5687 echo "${ECHO_T}no, using $LN_S" >&6; }
5690 { echo "$as_me:$LINENO: checking whether ln works" >&5
5691 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5692 rm -f conf$$ conf$$.file
5694 if ln conf$$.file conf$$ 2>/dev/null; then
5697 { echo "$as_me:$LINENO: result: yes" >&5
5698 echo "${ECHO_T}yes" >&6; }
5702 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5703 echo "${ECHO_T}no, using $LN" >&6; }
5705 rm -f conf$$ conf$$.file
5706 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5707 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5708 if test "${ac_cv_path_GREP+set}" = set; then
5709 echo $ECHO_N "(cached) $ECHO_C" >&6
5711 # Extract the first word of "grep ggrep" to use in msg output
5712 if test -z "$GREP"; then
5713 set dummy grep ggrep; ac_prog_name=$2
5714 if test "${ac_cv_path_GREP+set}" = set; then
5715 echo $ECHO_N "(cached) $ECHO_C" >&6
5717 ac_path_GREP_found=false
5718 # Loop through the user's path and test for each of PROGNAME-LIST
5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5723 test -z "$as_dir" && as_dir=.
5724 for ac_prog in grep ggrep; do
5725 for ac_exec_ext in '' $ac_executable_extensions; do
5726 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5727 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5728 # Check for GNU ac_path_GREP and select it if it is found.
5729 # Check for GNU $ac_path_GREP
5730 case `"$ac_path_GREP" --version 2>&1` in
5732 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5735 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5738 cat "conftest.in" "conftest.in" >"conftest.tmp"
5739 mv "conftest.tmp" "conftest.in"
5740 cp "conftest.in" "conftest.nl"
5741 echo 'GREP' >> "conftest.nl"
5742 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5743 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5744 ac_count=`expr $ac_count + 1`
5745 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5746 # Best one so far, save it but keep looking for a better one
5747 ac_cv_path_GREP="$ac_path_GREP"
5748 ac_path_GREP_max=$ac_count
5750 # 10*(2^10) chars as input seems more than enough
5751 test $ac_count -gt 10 && break
5753 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5757 $ac_path_GREP_found && break 3
5767 GREP="$ac_cv_path_GREP"
5768 if test -z "$GREP"; then
5769 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5770 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5771 { (exit 1); exit 1; }; }
5775 ac_cv_path_GREP=$GREP
5780 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5781 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5782 GREP="$ac_cv_path_GREP"
5785 { echo "$as_me:$LINENO: checking for egrep" >&5
5786 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5787 if test "${ac_cv_path_EGREP+set}" = set; then
5788 echo $ECHO_N "(cached) $ECHO_C" >&6
5790 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5791 then ac_cv_path_EGREP="$GREP -E"
5793 # Extract the first word of "egrep" to use in msg output
5794 if test -z "$EGREP"; then
5795 set dummy egrep; ac_prog_name=$2
5796 if test "${ac_cv_path_EGREP+set}" = set; then
5797 echo $ECHO_N "(cached) $ECHO_C" >&6
5799 ac_path_EGREP_found=false
5800 # Loop through the user's path and test for each of PROGNAME-LIST
5801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5802 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5805 test -z "$as_dir" && as_dir=.
5806 for ac_prog in egrep; do
5807 for ac_exec_ext in '' $ac_executable_extensions; do
5808 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5809 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5810 # Check for GNU ac_path_EGREP and select it if it is found.
5811 # Check for GNU $ac_path_EGREP
5812 case `"$ac_path_EGREP" --version 2>&1` in
5814 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5817 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5820 cat "conftest.in" "conftest.in" >"conftest.tmp"
5821 mv "conftest.tmp" "conftest.in"
5822 cp "conftest.in" "conftest.nl"
5823 echo 'EGREP' >> "conftest.nl"
5824 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5825 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5826 ac_count=`expr $ac_count + 1`
5827 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5828 # Best one so far, save it but keep looking for a better one
5829 ac_cv_path_EGREP="$ac_path_EGREP"
5830 ac_path_EGREP_max=$ac_count
5832 # 10*(2^10) chars as input seems more than enough
5833 test $ac_count -gt 10 && break
5835 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5839 $ac_path_EGREP_found && break 3
5849 EGREP="$ac_cv_path_EGREP"
5850 if test -z "$EGREP"; then
5851 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5852 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5853 { (exit 1); exit 1; }; }
5857 ac_cv_path_EGREP=$EGREP
5863 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5864 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5865 EGREP="$ac_cv_path_EGREP"
5868 # Extract the first word of "ldconfig", so it can be a program name with args.
5869 set dummy ldconfig; ac_word=$2
5870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5872 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5873 echo $ECHO_N "(cached) $ECHO_C" >&6
5877 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5881 for as_dir in /sbin /usr/sbin $PATH
5884 test -z "$as_dir" && as_dir=.
5885 for ac_exec_ext in '' $ac_executable_extensions; do
5886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5887 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5895 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5899 LDCONFIG=$ac_cv_path_LDCONFIG
5900 if test -n "$LDCONFIG"; then
5901 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5902 echo "${ECHO_T}$LDCONFIG" >&6; }
5904 { echo "$as_me:$LINENO: result: no" >&5
5905 echo "${ECHO_T}no" >&6; }
5909 # Find a good install program. We prefer a C program (faster),
5910 # so one script is as good as another. But avoid the broken or
5911 # incompatible versions:
5912 # SysV /etc/install, /usr/sbin/install
5913 # SunOS /usr/etc/install
5914 # IRIX /sbin/install
5916 # AmigaOS /C/install, which installs bootblocks on floppy discs
5917 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5918 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5919 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5920 # OS/2's system install, which has a completely different semantic
5921 # ./install, which can be erroneously created by make from ./install.sh.
5922 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5923 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5924 if test -z "$INSTALL"; then
5925 if test "${ac_cv_path_install+set}" = set; then
5926 echo $ECHO_N "(cached) $ECHO_C" >&6
5928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5932 test -z "$as_dir" && as_dir=.
5933 # Account for people who put trailing slashes in PATH elements.
5935 ./ | .// | /cC/* | \
5936 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5937 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5940 # OSF1 and SCO ODT 3.0 have their own names for install.
5941 # Don't use installbsd from OSF since it installs stuff as root
5943 for ac_prog in ginstall scoinst install; do
5944 for ac_exec_ext in '' $ac_executable_extensions; do
5945 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5946 if test $ac_prog = install &&
5947 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5948 # AIX install. It has an incompatible calling convention.
5950 elif test $ac_prog = install &&
5951 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5952 # program-specific install script used by HP pwplus--don't use.
5955 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5968 if test "${ac_cv_path_install+set}" = set; then
5969 INSTALL=$ac_cv_path_install
5971 # As a last resort, use the slow shell script. Don't cache a
5972 # value for INSTALL within a source directory, because that will
5973 # break other packages using the cache if that directory is
5974 # removed, or if the value is a relative name.
5975 INSTALL=$ac_install_sh
5978 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5979 echo "${ECHO_T}$INSTALL" >&6; }
5981 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5982 # It thinks the first close brace ends the variable substitution.
5983 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5985 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5987 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5990 [\\/$]* | ?:[\\/]* ) ;;
5991 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5994 for ac_prog in lclint lint
5996 # Extract the first word of "$ac_prog", so it can be a program name with args.
5997 set dummy $ac_prog; ac_word=$2
5998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6000 if test "${ac_cv_prog_LINT+set}" = set; then
6001 echo $ECHO_N "(cached) $ECHO_C" >&6
6003 if test -n "$LINT"; then
6004 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6010 test -z "$as_dir" && as_dir=.
6011 for ac_exec_ext in '' $ac_executable_extensions; do
6012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6013 ac_cv_prog_LINT="$ac_prog"
6014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6023 LINT=$ac_cv_prog_LINT
6024 if test -n "$LINT"; then
6025 { echo "$as_me:$LINENO: result: $LINT" >&5
6026 echo "${ECHO_T}$LINT" >&6; }
6028 { echo "$as_me:$LINENO: result: no" >&5
6029 echo "${ECHO_T}no" >&6; }
6033 test -n "$LINT" && break
6036 if test "$LINT" = "lint"
6038 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6043 for ac_prog in fontforge
6045 # Extract the first word of "$ac_prog", so it can be a program name with args.
6046 set dummy $ac_prog; ac_word=$2
6047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6049 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6050 echo $ECHO_N "(cached) $ECHO_C" >&6
6052 if test -n "$FONTFORGE"; then
6053 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6059 test -z "$as_dir" && as_dir=.
6060 for ac_exec_ext in '' $ac_executable_extensions; do
6061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6062 ac_cv_prog_FONTFORGE="$ac_prog"
6063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6072 FONTFORGE=$ac_cv_prog_FONTFORGE
6073 if test -n "$FONTFORGE"; then
6074 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6075 echo "${ECHO_T}$FONTFORGE" >&6; }
6077 { echo "$as_me:$LINENO: result: no" >&5
6078 echo "${ECHO_T}no" >&6; }
6082 test -n "$FONTFORGE" && break
6084 test -n "$FONTFORGE" || FONTFORGE="false"
6086 for ac_prog in pkg-config
6088 # Extract the first word of "$ac_prog", so it can be a program name with args.
6089 set dummy $ac_prog; ac_word=$2
6090 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6092 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6093 echo $ECHO_N "(cached) $ECHO_C" >&6
6095 if test -n "$PKG_CONFIG"; then
6096 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6102 test -z "$as_dir" && as_dir=.
6103 for ac_exec_ext in '' $ac_executable_extensions; do
6104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6105 ac_cv_prog_PKG_CONFIG="$ac_prog"
6106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6115 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6116 if test -n "$PKG_CONFIG"; then
6117 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6118 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6120 { echo "$as_me:$LINENO: result: no" >&5
6121 echo "${ECHO_T}no" >&6; }
6125 test -n "$PKG_CONFIG" && break
6127 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6132 # Extract the first word of "prelink", so it can be a program name with args.
6133 set dummy prelink; ac_word=$2
6134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6136 if test "${ac_cv_path_PRELINK+set}" = set; then
6137 echo $ECHO_N "(cached) $ECHO_C" >&6
6141 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6145 for as_dir in /sbin /usr/sbin $PATH
6148 test -z "$as_dir" && as_dir=.
6149 for ac_exec_ext in '' $ac_executable_extensions; do
6150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6151 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6159 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6163 PRELINK=$ac_cv_path_PRELINK
6164 if test -n "$PRELINK"; then
6165 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6166 echo "${ECHO_T}$PRELINK" >&6; }
6168 { echo "$as_me:$LINENO: result: no" >&5
6169 echo "${ECHO_T}no" >&6; }
6178 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6179 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6180 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6181 echo $ECHO_N "(cached) $ECHO_C" >&6
6183 ac_check_lib_save_LIBS=$LIBS
6185 cat >conftest.$ac_ext <<_ACEOF
6188 cat confdefs.h >>conftest.$ac_ext
6189 cat >>conftest.$ac_ext <<_ACEOF
6190 /* end confdefs.h. */
6192 /* Override any GCC internal prototype to avoid an error.
6193 Use char because int might match the return type of a GCC
6194 builtin and then its argument prototype would still apply. */
6198 char i386_set_ldt ();
6202 return i386_set_ldt ();
6207 rm -f conftest.$ac_objext conftest$ac_exeext
6208 if { (ac_try="$ac_link"
6210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6211 *) ac_try_echo=$ac_try;;
6213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6214 (eval "$ac_link") 2>conftest.er1
6216 grep -v '^ *+' conftest.er1 >conftest.err
6218 cat conftest.err >&5
6219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6220 (exit $ac_status); } && {
6221 test -z "$ac_c_werror_flag" ||
6222 test ! -s conftest.err
6223 } && test -s conftest$ac_exeext &&
6224 $as_test_x conftest$ac_exeext; then
6225 ac_cv_lib_i386_i386_set_ldt=yes
6227 echo "$as_me: failed program was:" >&5
6228 sed 's/^/| /' conftest.$ac_ext >&5
6230 ac_cv_lib_i386_i386_set_ldt=no
6233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6234 conftest$ac_exeext conftest.$ac_ext
6235 LIBS=$ac_check_lib_save_LIBS
6237 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6238 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6239 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6240 cat >>confdefs.h <<_ACEOF
6241 #define HAVE_LIBI386 1
6249 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6250 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6251 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6252 echo $ECHO_N "(cached) $ECHO_C" >&6
6254 ac_check_lib_save_LIBS=$LIBS
6255 LIBS="-lossaudio $LIBS"
6256 cat >conftest.$ac_ext <<_ACEOF
6259 cat confdefs.h >>conftest.$ac_ext
6260 cat >>conftest.$ac_ext <<_ACEOF
6261 /* end confdefs.h. */
6263 /* Override any GCC internal prototype to avoid an error.
6264 Use char because int might match the return type of a GCC
6265 builtin and then its argument prototype would still apply. */
6273 return _oss_ioctl ();
6278 rm -f conftest.$ac_objext conftest$ac_exeext
6279 if { (ac_try="$ac_link"
6281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6282 *) ac_try_echo=$ac_try;;
6284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6285 (eval "$ac_link") 2>conftest.er1
6287 grep -v '^ *+' conftest.er1 >conftest.err
6289 cat conftest.err >&5
6290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 (exit $ac_status); } && {
6292 test -z "$ac_c_werror_flag" ||
6293 test ! -s conftest.err
6294 } && test -s conftest$ac_exeext &&
6295 $as_test_x conftest$ac_exeext; then
6296 ac_cv_lib_ossaudio__oss_ioctl=yes
6298 echo "$as_me: failed program was:" >&5
6299 sed 's/^/| /' conftest.$ac_ext >&5
6301 ac_cv_lib_ossaudio__oss_ioctl=no
6304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6305 conftest$ac_exeext conftest.$ac_ext
6306 LIBS=$ac_check_lib_save_LIBS
6308 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6309 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6310 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6311 cat >>confdefs.h <<_ACEOF
6312 #define HAVE_LIBOSSAUDIO 1
6315 LIBS="-lossaudio $LIBS"
6320 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6321 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6322 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6323 echo $ECHO_N "(cached) $ECHO_C" >&6
6325 ac_check_lib_save_LIBS=$LIBS
6327 cat >conftest.$ac_ext <<_ACEOF
6330 cat confdefs.h >>conftest.$ac_ext
6331 cat >>conftest.$ac_ext <<_ACEOF
6332 /* end confdefs.h. */
6334 /* Override any GCC internal prototype to avoid an error.
6335 Use char because int might match the return type of a GCC
6336 builtin and then its argument prototype would still apply. */
6340 char _xpg4_setrunelocale ();
6344 return _xpg4_setrunelocale ();
6349 rm -f conftest.$ac_objext conftest$ac_exeext
6350 if { (ac_try="$ac_link"
6352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6353 *) ac_try_echo=$ac_try;;
6355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6356 (eval "$ac_link") 2>conftest.er1
6358 grep -v '^ *+' conftest.er1 >conftest.err
6360 cat conftest.err >&5
6361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362 (exit $ac_status); } && {
6363 test -z "$ac_c_werror_flag" ||
6364 test ! -s conftest.err
6365 } && test -s conftest$ac_exeext &&
6366 $as_test_x conftest$ac_exeext; then
6367 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6369 echo "$as_me: failed program was:" >&5
6370 sed 's/^/| /' conftest.$ac_ext >&5
6372 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6376 conftest$ac_exeext conftest.$ac_ext
6377 LIBS=$ac_check_lib_save_LIBS
6379 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6380 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6381 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6382 cat >>confdefs.h <<_ACEOF
6383 #define HAVE_LIBXPG4 1
6390 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6391 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6392 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6393 echo $ECHO_N "(cached) $ECHO_C" >&6
6395 ac_check_lib_save_LIBS=$LIBS
6396 LIBS="-lpthread $LIBS"
6397 cat >conftest.$ac_ext <<_ACEOF
6400 cat confdefs.h >>conftest.$ac_ext
6401 cat >>conftest.$ac_ext <<_ACEOF
6402 /* end confdefs.h. */
6404 /* Override any GCC internal prototype to avoid an error.
6405 Use char because int might match the return type of a GCC
6406 builtin and then its argument prototype would still apply. */
6410 char pthread_create ();
6414 return pthread_create ();
6419 rm -f conftest.$ac_objext conftest$ac_exeext
6420 if { (ac_try="$ac_link"
6422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6423 *) ac_try_echo=$ac_try;;
6425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6426 (eval "$ac_link") 2>conftest.er1
6428 grep -v '^ *+' conftest.er1 >conftest.err
6430 cat conftest.err >&5
6431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432 (exit $ac_status); } && {
6433 test -z "$ac_c_werror_flag" ||
6434 test ! -s conftest.err
6435 } && test -s conftest$ac_exeext &&
6436 $as_test_x conftest$ac_exeext; then
6437 ac_cv_lib_pthread_pthread_create=yes
6439 echo "$as_me: failed program was:" >&5
6440 sed 's/^/| /' conftest.$ac_ext >&5
6442 ac_cv_lib_pthread_pthread_create=no
6445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6446 conftest$ac_exeext conftest.$ac_ext
6447 LIBS=$ac_check_lib_save_LIBS
6449 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6450 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6451 if test $ac_cv_lib_pthread_pthread_create = yes; then
6452 LIBPTHREAD="-lpthread"
6471 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6472 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6473 if test "${ac_cv_header_stdc+set}" = set; then
6474 echo $ECHO_N "(cached) $ECHO_C" >&6
6476 cat >conftest.$ac_ext <<_ACEOF
6479 cat confdefs.h >>conftest.$ac_ext
6480 cat >>conftest.$ac_ext <<_ACEOF
6481 /* end confdefs.h. */
6495 rm -f conftest.$ac_objext
6496 if { (ac_try="$ac_compile"
6498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6499 *) ac_try_echo=$ac_try;;
6501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6502 (eval "$ac_compile") 2>conftest.er1
6504 grep -v '^ *+' conftest.er1 >conftest.err
6506 cat conftest.err >&5
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 (exit $ac_status); } && {
6509 test -z "$ac_c_werror_flag" ||
6510 test ! -s conftest.err
6511 } && test -s conftest.$ac_objext; then
6512 ac_cv_header_stdc=yes
6514 echo "$as_me: failed program was:" >&5
6515 sed 's/^/| /' conftest.$ac_ext >&5
6517 ac_cv_header_stdc=no
6520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6522 if test $ac_cv_header_stdc = yes; then
6523 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6524 cat >conftest.$ac_ext <<_ACEOF
6527 cat confdefs.h >>conftest.$ac_ext
6528 cat >>conftest.$ac_ext <<_ACEOF
6529 /* end confdefs.h. */
6533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6534 $EGREP "memchr" >/dev/null 2>&1; then
6537 ac_cv_header_stdc=no
6543 if test $ac_cv_header_stdc = yes; then
6544 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6545 cat >conftest.$ac_ext <<_ACEOF
6548 cat confdefs.h >>conftest.$ac_ext
6549 cat >>conftest.$ac_ext <<_ACEOF
6550 /* end confdefs.h. */
6554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6555 $EGREP "free" >/dev/null 2>&1; then
6558 ac_cv_header_stdc=no
6564 if test $ac_cv_header_stdc = yes; then
6565 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6566 if test "$cross_compiling" = yes; then
6569 cat >conftest.$ac_ext <<_ACEOF
6572 cat confdefs.h >>conftest.$ac_ext
6573 cat >>conftest.$ac_ext <<_ACEOF
6574 /* end confdefs.h. */
6577 #if ((' ' & 0x0FF) == 0x020)
6578 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6579 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6581 # define ISLOWER(c) \
6582 (('a' <= (c) && (c) <= 'i') \
6583 || ('j' <= (c) && (c) <= 'r') \
6584 || ('s' <= (c) && (c) <= 'z'))
6585 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6588 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6593 for (i = 0; i < 256; i++)
6594 if (XOR (islower (i), ISLOWER (i))
6595 || toupper (i) != TOUPPER (i))
6600 rm -f conftest$ac_exeext
6601 if { (ac_try="$ac_link"
6603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6604 *) ac_try_echo=$ac_try;;
6606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6607 (eval "$ac_link") 2>&5
6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6611 { (case "(($ac_try" in
6612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6613 *) ac_try_echo=$ac_try;;
6615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6616 (eval "$ac_try") 2>&5
6618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 (exit $ac_status); }; }; then
6622 echo "$as_me: program exited with status $ac_status" >&5
6623 echo "$as_me: failed program was:" >&5
6624 sed 's/^/| /' conftest.$ac_ext >&5
6627 ac_cv_header_stdc=no
6629 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6635 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6636 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6637 if test $ac_cv_header_stdc = yes; then
6639 cat >>confdefs.h <<\_ACEOF
6640 #define STDC_HEADERS 1
6645 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6655 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6656 inttypes.h stdint.h unistd.h
6658 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6659 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6661 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6662 echo $ECHO_N "(cached) $ECHO_C" >&6
6664 cat >conftest.$ac_ext <<_ACEOF
6667 cat confdefs.h >>conftest.$ac_ext
6668 cat >>conftest.$ac_ext <<_ACEOF
6669 /* end confdefs.h. */
6670 $ac_includes_default
6672 #include <$ac_header>
6674 rm -f conftest.$ac_objext
6675 if { (ac_try="$ac_compile"
6677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6678 *) ac_try_echo=$ac_try;;
6680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6681 (eval "$ac_compile") 2>conftest.er1
6683 grep -v '^ *+' conftest.er1 >conftest.err
6685 cat conftest.err >&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); } && {
6688 test -z "$ac_c_werror_flag" ||
6689 test ! -s conftest.err
6690 } && test -s conftest.$ac_objext; then
6691 eval "$as_ac_Header=yes"
6693 echo "$as_me: failed program was:" >&5
6694 sed 's/^/| /' conftest.$ac_ext >&5
6696 eval "$as_ac_Header=no"
6699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6701 ac_res=`eval echo '${'$as_ac_Header'}'`
6702 { echo "$as_me:$LINENO: result: $ac_res" >&5
6703 echo "${ECHO_T}$ac_res" >&6; }
6704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6705 cat >>confdefs.h <<_ACEOF
6706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6825 AudioUnit/AudioUnit.h \
6827 CoreAudio/CoreAudio.h \
6828 DiskArbitration/DiskArbitration.h \
6841 fontconfig/fontconfig.h \
6867 machine/soundcard.h \
6872 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
7661 DLLFLAGS="-D_REENTRANT"
7675 # Extract the first word of "ldd", so it can be a program name with args.
7676 set dummy ldd; ac_word=$2
7677 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7679 if test "${ac_cv_path_LDD+set}" = set; then
7680 echo $ECHO_N "(cached) $ECHO_C" >&6
7684 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7688 as_dummy="/sbin:/usr/sbin:$PATH"
7689 for as_dir in $as_dummy
7692 test -z "$as_dir" && as_dir=.
7693 for ac_exec_ext in '' $ac_executable_extensions; do
7694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7695 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7703 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7708 if test -n "$LDD"; then
7709 { echo "$as_me:$LINENO: result: $LDD" >&5
7710 echo "${ECHO_T}$LDD" >&6; }
7712 { echo "$as_me:$LINENO: result: no" >&5
7713 echo "${ECHO_T}no" >&6; }
7720 if test -n "$ac_tool_prefix"; then
7721 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7722 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7723 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7725 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7726 echo $ECHO_N "(cached) $ECHO_C" >&6
7728 if test -n "$DLLTOOL"; then
7729 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7735 test -z "$as_dir" && as_dir=.
7736 for ac_exec_ext in '' $ac_executable_extensions; do
7737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7738 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7748 DLLTOOL=$ac_cv_prog_DLLTOOL
7749 if test -n "$DLLTOOL"; then
7750 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7751 echo "${ECHO_T}$DLLTOOL" >&6; }
7753 { echo "$as_me:$LINENO: result: no" >&5
7754 echo "${ECHO_T}no" >&6; }
7759 if test -z "$ac_cv_prog_DLLTOOL"; then
7760 ac_ct_DLLTOOL=$DLLTOOL
7761 # Extract the first word of "dlltool", so it can be a program name with args.
7762 set dummy dlltool; ac_word=$2
7763 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7765 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7766 echo $ECHO_N "(cached) $ECHO_C" >&6
7768 if test -n "$ac_ct_DLLTOOL"; then
7769 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7775 test -z "$as_dir" && as_dir=.
7776 for ac_exec_ext in '' $ac_executable_extensions; do
7777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7778 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7788 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7789 if test -n "$ac_ct_DLLTOOL"; then
7790 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7791 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7793 { echo "$as_me:$LINENO: result: no" >&5
7794 echo "${ECHO_T}no" >&6; }
7797 if test "x$ac_ct_DLLTOOL" = x; then
7800 case $cross_compiling:$ac_tool_warned in
7802 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7803 whose name does not start with the host triplet. If you think this
7804 configuration is useful to you, please write to autoconf@gnu.org." >&5
7805 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7806 whose name does not start with the host triplet. If you think this
7807 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7808 ac_tool_warned=yes ;;
7810 DLLTOOL=$ac_ct_DLLTOOL
7813 DLLTOOL="$ac_cv_prog_DLLTOOL"
7816 if test -n "$ac_tool_prefix"; then
7817 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7818 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
7819 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7821 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7822 echo $ECHO_N "(cached) $ECHO_C" >&6
7824 if test -n "$DLLWRAP"; then
7825 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
7827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7831 test -z "$as_dir" && as_dir=.
7832 for ac_exec_ext in '' $ac_executable_extensions; do
7833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7834 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
7835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7844 DLLWRAP=$ac_cv_prog_DLLWRAP
7845 if test -n "$DLLWRAP"; then
7846 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7847 echo "${ECHO_T}$DLLWRAP" >&6; }
7849 { echo "$as_me:$LINENO: result: no" >&5
7850 echo "${ECHO_T}no" >&6; }
7855 if test -z "$ac_cv_prog_DLLWRAP"; then
7856 ac_ct_DLLWRAP=$DLLWRAP
7857 # Extract the first word of "dllwrap", so it can be a program name with args.
7858 set dummy dllwrap; ac_word=$2
7859 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7861 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7862 echo $ECHO_N "(cached) $ECHO_C" >&6
7864 if test -n "$ac_ct_DLLWRAP"; then
7865 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
7867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7871 test -z "$as_dir" && as_dir=.
7872 for ac_exec_ext in '' $ac_executable_extensions; do
7873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7874 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
7875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7884 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
7885 if test -n "$ac_ct_DLLWRAP"; then
7886 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7887 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7889 { echo "$as_me:$LINENO: result: no" >&5
7890 echo "${ECHO_T}no" >&6; }
7893 if test "x$ac_ct_DLLWRAP" = x; then
7896 case $cross_compiling:$ac_tool_warned in
7898 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7899 whose name does not start with the host triplet. If you think this
7900 configuration is useful to you, please write to autoconf@gnu.org." >&5
7901 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7902 whose name does not start with the host triplet. If you think this
7903 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7904 ac_tool_warned=yes ;;
7906 DLLWRAP=$ac_ct_DLLWRAP
7909 DLLWRAP="$ac_cv_prog_DLLWRAP"
7912 if test -n "$ac_tool_prefix"; then
7913 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7914 set dummy ${ac_tool_prefix}ar; ac_word=$2
7915 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7917 if test "${ac_cv_prog_MINGWAR+set}" = set; then
7918 echo $ECHO_N "(cached) $ECHO_C" >&6
7920 if test -n "$MINGWAR"; then
7921 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
7923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7927 test -z "$as_dir" && as_dir=.
7928 for ac_exec_ext in '' $ac_executable_extensions; do
7929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7930 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
7931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7940 MINGWAR=$ac_cv_prog_MINGWAR
7941 if test -n "$MINGWAR"; then
7942 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
7943 echo "${ECHO_T}$MINGWAR" >&6; }
7945 { echo "$as_me:$LINENO: result: no" >&5
7946 echo "${ECHO_T}no" >&6; }
7951 if test -z "$ac_cv_prog_MINGWAR"; then
7952 ac_ct_MINGWAR=$MINGWAR
7953 # Extract the first word of "ar", so it can be a program name with args.
7954 set dummy ar; ac_word=$2
7955 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7957 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
7958 echo $ECHO_N "(cached) $ECHO_C" >&6
7960 if test -n "$ac_ct_MINGWAR"; then
7961 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
7963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7967 test -z "$as_dir" && as_dir=.
7968 for ac_exec_ext in '' $ac_executable_extensions; do
7969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7970 ac_cv_prog_ac_ct_MINGWAR="ar"
7971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7980 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
7981 if test -n "$ac_ct_MINGWAR"; then
7982 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
7983 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
7985 { echo "$as_me:$LINENO: result: no" >&5
7986 echo "${ECHO_T}no" >&6; }
7989 if test "x$ac_ct_MINGWAR" = x; then
7992 case $cross_compiling:$ac_tool_warned in
7994 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7995 whose name does not start with the host triplet. If you think this
7996 configuration is useful to you, please write to autoconf@gnu.org." >&5
7997 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7998 whose name does not start with the host triplet. If you think this
7999 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8000 ac_tool_warned=yes ;;
8002 MINGWAR=$ac_ct_MINGWAR
8005 MINGWAR="$ac_cv_prog_MINGWAR"
8008 if test "$DLLWRAP" = "false"; then
8020 DLLFLAGS="$DLLFLAGS -fPIC"
8021 LDDLLFLAGS="-bundle -multiply_defined suppress"
8022 LIBWINE_LDFLAGS="-multiply_defined suppress"
8023 LDSHARED="\$(CC) -dynamiclib"
8025 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8026 COREFOUNDATIONLIB="-framework CoreFoundation"
8028 IOKITLIB="-framework IOKit -framework CoreFoundation"
8030 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8032 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8034 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8037 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8039 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8044 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8046 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8048 CARBONLIB="-framework Carbon"
8050 QUARTZFILES='$(QUARTZFILES)'
8054 DLLFLAGS="$DLLFLAGS -fPIC"
8056 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8057 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8058 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8059 echo $ECHO_N "(cached) $ECHO_C" >&6
8061 ac_wine_try_cflags_saved=$CFLAGS
8062 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8063 cat >conftest.$ac_ext <<_ACEOF
8066 rm -f conftest.$ac_objext conftest$ac_exeext
8067 if { (ac_try="$ac_link"
8069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8070 *) ac_try_echo=$ac_try;;
8072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8073 (eval "$ac_link") 2>conftest.er1
8075 grep -v '^ *+' conftest.er1 >conftest.err
8077 cat conftest.err >&5
8078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8079 (exit $ac_status); } && {
8080 test -z "$ac_c_werror_flag" ||
8081 test ! -s conftest.err
8082 } && test -s conftest$ac_exeext &&
8083 $as_test_x conftest$ac_exeext; then
8084 ac_cv_c_dll_gnuelf="yes"
8086 echo "$as_me: failed program was:" >&5
8087 sed 's/^/| /' conftest.$ac_ext >&5
8089 ac_cv_c_dll_gnuelf="no"
8092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8093 conftest$ac_exeext conftest.$ac_ext
8094 CFLAGS=$ac_wine_try_cflags_saved
8096 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8097 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8098 if test "$ac_cv_c_dll_gnuelf" = "yes"
8100 LDSHARED="\$(CC) -shared"
8101 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8102 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8103 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8104 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8105 echo $ECHO_N "(cached) $ECHO_C" >&6
8107 ac_wine_try_cflags_saved=$CFLAGS
8108 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8109 cat >conftest.$ac_ext <<_ACEOF
8112 cat confdefs.h >>conftest.$ac_ext
8113 cat >>conftest.$ac_ext <<_ACEOF
8114 /* end confdefs.h. */
8124 rm -f conftest.$ac_objext conftest$ac_exeext
8125 if { (ac_try="$ac_link"
8127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8128 *) ac_try_echo=$ac_try;;
8130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8131 (eval "$ac_link") 2>conftest.er1
8133 grep -v '^ *+' conftest.er1 >conftest.err
8135 cat conftest.err >&5
8136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8137 (exit $ac_status); } && {
8138 test -z "$ac_c_werror_flag" ||
8139 test ! -s conftest.err
8140 } && test -s conftest$ac_exeext &&
8141 $as_test_x conftest$ac_exeext; then
8142 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8144 echo "$as_me: failed program was:" >&5
8145 sed 's/^/| /' conftest.$ac_ext >&5
8147 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8151 conftest$ac_exeext conftest.$ac_ext
8152 CFLAGS=$ac_wine_try_cflags_saved
8154 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8155 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8156 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8157 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8159 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8160 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8161 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8162 echo $ECHO_N "(cached) $ECHO_C" >&6
8164 ac_wine_try_cflags_saved=$CFLAGS
8165 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8166 cat >conftest.$ac_ext <<_ACEOF
8169 cat confdefs.h >>conftest.$ac_ext
8170 cat >>conftest.$ac_ext <<_ACEOF
8171 /* end confdefs.h. */
8181 rm -f conftest.$ac_objext conftest$ac_exeext
8182 if { (ac_try="$ac_link"
8184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8185 *) ac_try_echo=$ac_try;;
8187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8188 (eval "$ac_link") 2>conftest.er1
8190 grep -v '^ *+' conftest.er1 >conftest.err
8192 cat conftest.err >&5
8193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8194 (exit $ac_status); } && {
8195 test -z "$ac_c_werror_flag" ||
8196 test ! -s conftest.err
8197 } && test -s conftest$ac_exeext &&
8198 $as_test_x conftest$ac_exeext; then
8199 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8201 echo "$as_me: failed program was:" >&5
8202 sed 's/^/| /' conftest.$ac_ext >&5
8204 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8208 conftest$ac_exeext conftest.$ac_ext
8209 CFLAGS=$ac_wine_try_cflags_saved
8211 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8212 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8213 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8214 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8220 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8221 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8222 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8223 echo $ECHO_N "(cached) $ECHO_C" >&6
8225 ac_wine_try_cflags_saved=$CFLAGS
8226 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8227 cat >conftest.$ac_ext <<_ACEOF
8230 cat confdefs.h >>conftest.$ac_ext
8231 cat >>conftest.$ac_ext <<_ACEOF
8232 /* end confdefs.h. */
8242 rm -f conftest.$ac_objext conftest$ac_exeext
8243 if { (ac_try="$ac_link"
8245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8246 *) ac_try_echo=$ac_try;;
8248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8249 (eval "$ac_link") 2>conftest.er1
8251 grep -v '^ *+' conftest.er1 >conftest.err
8253 cat conftest.err >&5
8254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8255 (exit $ac_status); } && {
8256 test -z "$ac_c_werror_flag" ||
8257 test ! -s conftest.err
8258 } && test -s conftest$ac_exeext &&
8259 $as_test_x conftest$ac_exeext; then
8260 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8262 echo "$as_me: failed program was:" >&5
8263 sed 's/^/| /' conftest.$ac_ext >&5
8265 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8269 conftest$ac_exeext conftest.$ac_ext
8270 CFLAGS=$ac_wine_try_cflags_saved
8272 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8273 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8274 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8275 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8279 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8280 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8281 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8282 echo $ECHO_N "(cached) $ECHO_C" >&6
8284 ac_wine_try_cflags_saved=$CFLAGS
8285 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8286 cat >conftest.$ac_ext <<_ACEOF
8289 cat confdefs.h >>conftest.$ac_ext
8290 cat >>conftest.$ac_ext <<_ACEOF
8291 /* end confdefs.h. */
8301 rm -f conftest.$ac_objext conftest$ac_exeext
8302 if { (ac_try="$ac_link"
8304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8305 *) ac_try_echo=$ac_try;;
8307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8308 (eval "$ac_link") 2>conftest.er1
8310 grep -v '^ *+' conftest.er1 >conftest.err
8312 cat conftest.err >&5
8313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8314 (exit $ac_status); } && {
8315 test -z "$ac_c_werror_flag" ||
8316 test ! -s conftest.err
8317 } && test -s conftest$ac_exeext &&
8318 $as_test_x conftest$ac_exeext; then
8319 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8321 echo "$as_me: failed program was:" >&5
8322 sed 's/^/| /' conftest.$ac_ext >&5
8324 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8328 conftest$ac_exeext conftest.$ac_ext
8329 CFLAGS=$ac_wine_try_cflags_saved
8331 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8332 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8333 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8334 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8338 echo '{ global: *; };' >conftest.map
8339 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8340 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8341 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8342 echo $ECHO_N "(cached) $ECHO_C" >&6
8344 ac_wine_try_cflags_saved=$CFLAGS
8345 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8346 cat >conftest.$ac_ext <<_ACEOF
8349 cat confdefs.h >>conftest.$ac_ext
8350 cat >>conftest.$ac_ext <<_ACEOF
8351 /* end confdefs.h. */
8361 rm -f conftest.$ac_objext conftest$ac_exeext
8362 if { (ac_try="$ac_link"
8364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8365 *) ac_try_echo=$ac_try;;
8367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8368 (eval "$ac_link") 2>conftest.er1
8370 grep -v '^ *+' conftest.er1 >conftest.err
8372 cat conftest.err >&5
8373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8374 (exit $ac_status); } && {
8375 test -z "$ac_c_werror_flag" ||
8376 test ! -s conftest.err
8377 } && test -s conftest$ac_exeext &&
8378 $as_test_x conftest$ac_exeext; then
8379 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8381 echo "$as_me: failed program was:" >&5
8382 sed 's/^/| /' conftest.$ac_ext >&5
8384 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8388 conftest$ac_exeext conftest.$ac_ext
8389 CFLAGS=$ac_wine_try_cflags_saved
8391 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8392 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8393 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8394 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8399 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8400 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8401 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8402 echo $ECHO_N "(cached) $ECHO_C" >&6
8404 ac_wine_try_cflags_saved=$CFLAGS
8405 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8406 cat >conftest.$ac_ext <<_ACEOF
8409 cat confdefs.h >>conftest.$ac_ext
8410 cat >>conftest.$ac_ext <<_ACEOF
8411 /* end confdefs.h. */
8421 rm -f conftest.$ac_objext conftest$ac_exeext
8422 if { (ac_try="$ac_link"
8424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8425 *) ac_try_echo=$ac_try;;
8427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8428 (eval "$ac_link") 2>conftest.er1
8430 grep -v '^ *+' conftest.er1 >conftest.err
8432 cat conftest.err >&5
8433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8434 (exit $ac_status); } && {
8435 test -z "$ac_c_werror_flag" ||
8436 test ! -s conftest.err
8437 } && test -s conftest$ac_exeext &&
8438 $as_test_x conftest$ac_exeext; then
8439 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8441 echo "$as_me: failed program was:" >&5
8442 sed 's/^/| /' conftest.$ac_ext >&5
8444 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8448 conftest$ac_exeext conftest.$ac_ext
8449 CFLAGS=$ac_wine_try_cflags_saved
8451 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8452 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8453 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8454 LDEXECFLAGS="-Wl,--export-dynamic"
8459 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8460 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8461 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8462 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8463 echo $ECHO_N "(cached) $ECHO_C" >&6
8465 ac_wine_try_cflags_saved=$CFLAGS
8466 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8467 cat >conftest.$ac_ext <<_ACEOF
8470 cat confdefs.h >>conftest.$ac_ext
8471 cat >>conftest.$ac_ext <<_ACEOF
8472 /* end confdefs.h. */
8482 rm -f conftest.$ac_objext conftest$ac_exeext
8483 if { (ac_try="$ac_link"
8485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8486 *) ac_try_echo=$ac_try;;
8488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8489 (eval "$ac_link") 2>conftest.er1
8491 grep -v '^ *+' conftest.er1 >conftest.err
8493 cat conftest.err >&5
8494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8495 (exit $ac_status); } && {
8496 test -z "$ac_c_werror_flag" ||
8497 test ! -s conftest.err
8498 } && test -s conftest$ac_exeext &&
8499 $as_test_x conftest$ac_exeext; then
8500 eval "$as_ac_var=yes"
8502 echo "$as_me: failed program was:" >&5
8503 sed 's/^/| /' conftest.$ac_ext >&5
8505 eval "$as_ac_var=no"
8508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8509 conftest$ac_exeext conftest.$ac_ext
8510 CFLAGS=$ac_wine_try_cflags_saved
8512 ac_res=`eval echo '${'$as_ac_var'}'`
8513 { echo "$as_me:$LINENO: result: $ac_res" >&5
8514 echo "${ECHO_T}$ac_res" >&6; }
8515 if test `eval echo '${'$as_ac_var'}'` = yes; then
8516 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8517 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8519 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8520 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8521 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8522 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8523 echo $ECHO_N "(cached) $ECHO_C" >&6
8525 ac_wine_try_cflags_saved=$CFLAGS
8526 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8527 cat >conftest.$ac_ext <<_ACEOF
8530 cat confdefs.h >>conftest.$ac_ext
8531 cat >>conftest.$ac_ext <<_ACEOF
8532 /* end confdefs.h. */
8542 rm -f conftest.$ac_objext conftest$ac_exeext
8543 if { (ac_try="$ac_link"
8545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8546 *) ac_try_echo=$ac_try;;
8548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8549 (eval "$ac_link") 2>conftest.er1
8551 grep -v '^ *+' conftest.er1 >conftest.err
8553 cat conftest.err >&5
8554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8555 (exit $ac_status); } && {
8556 test -z "$ac_c_werror_flag" ||
8557 test ! -s conftest.err
8558 } && test -s conftest$ac_exeext &&
8559 $as_test_x conftest$ac_exeext; then
8560 eval "$as_ac_var=yes"
8562 echo "$as_me: failed program was:" >&5
8563 sed 's/^/| /' conftest.$ac_ext >&5
8565 eval "$as_ac_var=no"
8568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8569 conftest$ac_exeext conftest.$ac_ext
8570 CFLAGS=$ac_wine_try_cflags_saved
8572 ac_res=`eval echo '${'$as_ac_var'}'`
8573 { echo "$as_me:$LINENO: result: $ac_res" >&5
8574 echo "${ECHO_T}$ac_res" >&6; }
8575 if test `eval echo '${'$as_ac_var'}'` = yes; then
8576 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8577 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8584 *i[3456789]86* | x86_64)
8585 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8586 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8587 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8588 echo $ECHO_N "(cached) $ECHO_C" >&6
8590 ac_wine_try_cflags_saved=$CFLAGS
8591 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8592 cat >conftest.$ac_ext <<_ACEOF
8595 cat confdefs.h >>conftest.$ac_ext
8596 cat >>conftest.$ac_ext <<_ACEOF
8597 /* end confdefs.h. */
8607 rm -f conftest.$ac_objext conftest$ac_exeext
8608 if { (ac_try="$ac_link"
8610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8611 *) ac_try_echo=$ac_try;;
8613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8614 (eval "$ac_link") 2>conftest.er1
8616 grep -v '^ *+' conftest.er1 >conftest.err
8618 cat conftest.err >&5
8619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8620 (exit $ac_status); } && {
8621 test -z "$ac_c_werror_flag" ||
8622 test ! -s conftest.err
8623 } && test -s conftest$ac_exeext &&
8624 $as_test_x conftest$ac_exeext; then
8625 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8627 echo "$as_me: failed program was:" >&5
8628 sed 's/^/| /' conftest.$ac_ext >&5
8630 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8634 conftest$ac_exeext conftest.$ac_ext
8635 CFLAGS=$ac_wine_try_cflags_saved
8637 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8638 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8639 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8640 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8647 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8648 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8649 if test "${ac_cv_c_dll_unixware+set}" = set; then
8650 echo $ECHO_N "(cached) $ECHO_C" >&6
8652 ac_wine_try_cflags_saved=$CFLAGS
8653 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8654 cat >conftest.$ac_ext <<_ACEOF
8657 rm -f conftest.$ac_objext conftest$ac_exeext
8658 if { (ac_try="$ac_link"
8660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8661 *) ac_try_echo=$ac_try;;
8663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8664 (eval "$ac_link") 2>conftest.er1
8666 grep -v '^ *+' conftest.er1 >conftest.err
8668 cat conftest.err >&5
8669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8670 (exit $ac_status); } && {
8671 test -z "$ac_c_werror_flag" ||
8672 test ! -s conftest.err
8673 } && test -s conftest$ac_exeext &&
8674 $as_test_x conftest$ac_exeext; then
8675 ac_cv_c_dll_unixware="yes"
8677 echo "$as_me: failed program was:" >&5
8678 sed 's/^/| /' conftest.$ac_ext >&5
8680 ac_cv_c_dll_unixware="no"
8683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8684 conftest$ac_exeext conftest.$ac_ext
8685 CFLAGS=$ac_wine_try_cflags_saved
8687 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8688 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8689 if test "$ac_cv_c_dll_unixware" = "yes"
8691 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8692 LDDLLFLAGS="-Wl,-G,-B,symbolic"
8695 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8696 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8697 if test "${ac_cv_c_dll_hpux+set}" = set; then
8698 echo $ECHO_N "(cached) $ECHO_C" >&6
8700 ac_wine_try_cflags_saved=$CFLAGS
8701 CFLAGS="$CFLAGS -shared"
8702 cat >conftest.$ac_ext <<_ACEOF
8705 rm -f conftest.$ac_objext conftest$ac_exeext
8706 if { (ac_try="$ac_link"
8708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8709 *) ac_try_echo=$ac_try;;
8711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8712 (eval "$ac_link") 2>conftest.er1
8714 grep -v '^ *+' conftest.er1 >conftest.err
8716 cat conftest.err >&5
8717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718 (exit $ac_status); } && {
8719 test -z "$ac_c_werror_flag" ||
8720 test ! -s conftest.err
8721 } && test -s conftest$ac_exeext &&
8722 $as_test_x conftest$ac_exeext; then
8723 ac_cv_c_dll_hpux="yes"
8725 echo "$as_me: failed program was:" >&5
8726 sed 's/^/| /' conftest.$ac_ext >&5
8728 ac_cv_c_dll_hpux="no"
8731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8732 conftest$ac_exeext conftest.$ac_ext
8733 CFLAGS=$ac_wine_try_cflags_saved
8735 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8736 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8737 if test "$ac_cv_c_dll_hpux" = "yes"
8741 LDDLLFLAGS="-shared -fPIC"
8742 LDSHARED="\$(CC) -shared"
8749 if test "$cross_compiling" = "no"
8751 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8753 # Extract the first word of "$ac_prog", so it can be a program name with args.
8754 set dummy $ac_prog; ac_word=$2
8755 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8757 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8758 echo $ECHO_N "(cached) $ECHO_C" >&6
8760 if test -n "$CROSSCC"; then
8761 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8767 test -z "$as_dir" && as_dir=.
8768 for ac_exec_ext in '' $ac_executable_extensions; do
8769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8770 ac_cv_prog_CROSSCC="$ac_prog"
8771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8780 CROSSCC=$ac_cv_prog_CROSSCC
8781 if test -n "$CROSSCC"; then
8782 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8783 echo "${ECHO_T}$CROSSCC" >&6; }
8785 { echo "$as_me:$LINENO: result: no" >&5
8786 echo "${ECHO_T}no" >&6; }
8790 test -n "$CROSSCC" && break
8792 test -n "$CROSSCC" || CROSSCC="false"
8794 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8796 # Extract the first word of "$ac_prog", so it can be a program name with args.
8797 set dummy $ac_prog; ac_word=$2
8798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8800 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8801 echo $ECHO_N "(cached) $ECHO_C" >&6
8803 if test -n "$DLLTOOL"; then
8804 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8810 test -z "$as_dir" && as_dir=.
8811 for ac_exec_ext in '' $ac_executable_extensions; do
8812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8813 ac_cv_prog_DLLTOOL="$ac_prog"
8814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8823 DLLTOOL=$ac_cv_prog_DLLTOOL
8824 if test -n "$DLLTOOL"; then
8825 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8826 echo "${ECHO_T}$DLLTOOL" >&6; }
8828 { echo "$as_me:$LINENO: result: no" >&5
8829 echo "${ECHO_T}no" >&6; }
8833 test -n "$DLLTOOL" && break
8835 test -n "$DLLTOOL" || DLLTOOL="false"
8837 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
8839 # Extract the first word of "$ac_prog", so it can be a program name with args.
8840 set dummy $ac_prog; ac_word=$2
8841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8843 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8844 echo $ECHO_N "(cached) $ECHO_C" >&6
8846 if test -n "$CROSSWINDRES"; then
8847 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8853 test -z "$as_dir" && as_dir=.
8854 for ac_exec_ext in '' $ac_executable_extensions; do
8855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8856 ac_cv_prog_CROSSWINDRES="$ac_prog"
8857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8866 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
8867 if test -n "$CROSSWINDRES"; then
8868 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
8869 echo "${ECHO_T}$CROSSWINDRES" >&6; }
8871 { echo "$as_me:$LINENO: result: no" >&5
8872 echo "${ECHO_T}no" >&6; }
8876 test -n "$CROSSWINDRES" && break
8878 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
8880 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
8882 # Extract the first word of "$ac_prog", so it can be a program name with args.
8883 set dummy $ac_prog; ac_word=$2
8884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8886 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8887 echo $ECHO_N "(cached) $ECHO_C" >&6
8889 if test -n "$MINGWAR"; then
8890 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8896 test -z "$as_dir" && as_dir=.
8897 for ac_exec_ext in '' $ac_executable_extensions; do
8898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8899 ac_cv_prog_MINGWAR="$ac_prog"
8900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8909 MINGWAR=$ac_cv_prog_MINGWAR
8910 if test -n "$MINGWAR"; then
8911 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8912 echo "${ECHO_T}$MINGWAR" >&6; }
8914 { echo "$as_me:$LINENO: result: no" >&5
8915 echo "${ECHO_T}no" >&6; }
8919 test -n "$MINGWAR" && break
8921 test -n "$MINGWAR" || MINGWAR="false"
8923 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
8928 if test "$LIBEXT" = "a"; then
8929 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
8930 It is currently not possible to build Wine without shared library
8931 (.so) support to allow transparent switch between .so and .dll files.
8932 If you are using Linux, you will need a newer binutils.
8934 echo "$as_me: error: could not find a way to build shared libraries.
8935 It is currently not possible to build Wine without shared library
8936 (.so) support to allow transparent switch between .so and .dll files.
8937 If you are using Linux, you will need a newer binutils.
8939 { (exit 1); exit 1; }; }
8943 if test "$have_x" = "yes"
8946 ac_save_CPPFLAGS="$CPPFLAGS"
8947 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8960 for ac_header in X11/Xlib.h \
8963 X11/Xcursor/Xcursor.h \
8964 X11/extensions/shape.h \
8965 X11/extensions/XInput.h \
8966 X11/extensions/XShm.h \
8967 X11/extensions/Xinerama.h \
8968 X11/extensions/Xrandr.h \
8969 X11/extensions/Xrender.h \
8970 X11/extensions/xf86vmode.h
8972 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8973 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8975 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8976 echo $ECHO_N "(cached) $ECHO_C" >&6
8978 cat >conftest.$ac_ext <<_ACEOF
8981 cat confdefs.h >>conftest.$ac_ext
8982 cat >>conftest.$ac_ext <<_ACEOF
8983 /* end confdefs.h. */
8984 #ifdef HAVE_X11_XLIB_H
8985 # include <X11/Xlib.h>
8987 #ifdef HAVE_X11_XUTIL_H
8988 # include <X11/Xutil.h>
8991 #include <$ac_header>
8993 rm -f conftest.$ac_objext
8994 if { (ac_try="$ac_compile"
8996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8997 *) ac_try_echo=$ac_try;;
8999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9000 (eval "$ac_compile") 2>conftest.er1
9002 grep -v '^ *+' conftest.er1 >conftest.err
9004 cat conftest.err >&5
9005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9006 (exit $ac_status); } && {
9007 test -z "$ac_c_werror_flag" ||
9008 test ! -s conftest.err
9009 } && test -s conftest.$ac_objext; then
9010 eval "$as_ac_Header=yes"
9012 echo "$as_me: failed program was:" >&5
9013 sed 's/^/| /' conftest.$ac_ext >&5
9015 eval "$as_ac_Header=no"
9018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9020 ac_res=`eval echo '${'$as_ac_Header'}'`
9021 { echo "$as_me:$LINENO: result: $ac_res" >&5
9022 echo "${ECHO_T}$ac_res" >&6; }
9023 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9024 cat >>confdefs.h <<_ACEOF
9025 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9033 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9035 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9036 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9037 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9038 echo $ECHO_N "(cached) $ECHO_C" >&6
9040 ac_check_lib_save_LIBS=$LIBS
9041 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9042 cat >conftest.$ac_ext <<_ACEOF
9045 cat confdefs.h >>conftest.$ac_ext
9046 cat >>conftest.$ac_ext <<_ACEOF
9047 /* end confdefs.h. */
9049 /* Override any GCC internal prototype to avoid an error.
9050 Use char because int might match the return type of a GCC
9051 builtin and then its argument prototype would still apply. */
9055 char XkbQueryExtension ();
9059 return XkbQueryExtension ();
9064 rm -f conftest.$ac_objext conftest$ac_exeext
9065 if { (ac_try="$ac_link"
9067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9068 *) ac_try_echo=$ac_try;;
9070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9071 (eval "$ac_link") 2>conftest.er1
9073 grep -v '^ *+' conftest.er1 >conftest.err
9075 cat conftest.err >&5
9076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9077 (exit $ac_status); } && {
9078 test -z "$ac_c_werror_flag" ||
9079 test ! -s conftest.err
9080 } && test -s conftest$ac_exeext &&
9081 $as_test_x conftest$ac_exeext; then
9082 ac_cv_lib_X11_XkbQueryExtension=yes
9084 echo "$as_me: failed program was:" >&5
9085 sed 's/^/| /' conftest.$ac_ext >&5
9087 ac_cv_lib_X11_XkbQueryExtension=no
9090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9091 conftest$ac_exeext conftest.$ac_ext
9092 LIBS=$ac_check_lib_save_LIBS
9094 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9095 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9096 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9098 cat >>confdefs.h <<\_ACEOF
9106 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9108 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9109 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9110 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9111 echo $ECHO_N "(cached) $ECHO_C" >&6
9113 ac_check_lib_save_LIBS=$LIBS
9114 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9115 cat >conftest.$ac_ext <<_ACEOF
9118 cat confdefs.h >>conftest.$ac_ext
9119 cat >>conftest.$ac_ext <<_ACEOF
9120 /* end confdefs.h. */
9122 /* Override any GCC internal prototype to avoid an error.
9123 Use char because int might match the return type of a GCC
9124 builtin and then its argument prototype would still apply. */
9128 char XShmQueryExtension ();
9132 return XShmQueryExtension ();
9137 rm -f conftest.$ac_objext conftest$ac_exeext
9138 if { (ac_try="$ac_link"
9140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9141 *) ac_try_echo=$ac_try;;
9143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9144 (eval "$ac_link") 2>conftest.er1
9146 grep -v '^ *+' conftest.er1 >conftest.err
9148 cat conftest.err >&5
9149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9150 (exit $ac_status); } && {
9151 test -z "$ac_c_werror_flag" ||
9152 test ! -s conftest.err
9153 } && test -s conftest$ac_exeext &&
9154 $as_test_x conftest$ac_exeext; then
9155 ac_cv_lib_Xext_XShmQueryExtension=yes
9157 echo "$as_me: failed program was:" >&5
9158 sed 's/^/| /' conftest.$ac_ext >&5
9160 ac_cv_lib_Xext_XShmQueryExtension=no
9163 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9164 conftest$ac_exeext conftest.$ac_ext
9165 LIBS=$ac_check_lib_save_LIBS
9167 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9168 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9169 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9171 cat >>confdefs.h <<\_ACEOF
9172 #define HAVE_LIBXXSHM 1
9179 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9181 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9182 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9183 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9184 echo $ECHO_N "(cached) $ECHO_C" >&6
9186 ac_check_lib_save_LIBS=$LIBS
9187 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9188 cat >conftest.$ac_ext <<_ACEOF
9191 cat confdefs.h >>conftest.$ac_ext
9192 cat >>conftest.$ac_ext <<_ACEOF
9193 /* end confdefs.h. */
9195 /* Override any GCC internal prototype to avoid an error.
9196 Use char because int might match the return type of a GCC
9197 builtin and then its argument prototype would still apply. */
9201 char XShapeQueryExtension ();
9205 return XShapeQueryExtension ();
9210 rm -f conftest.$ac_objext conftest$ac_exeext
9211 if { (ac_try="$ac_link"
9213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9214 *) ac_try_echo=$ac_try;;
9216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9217 (eval "$ac_link") 2>conftest.er1
9219 grep -v '^ *+' conftest.er1 >conftest.err
9221 cat conftest.err >&5
9222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9223 (exit $ac_status); } && {
9224 test -z "$ac_c_werror_flag" ||
9225 test ! -s conftest.err
9226 } && test -s conftest$ac_exeext &&
9227 $as_test_x conftest$ac_exeext; then
9228 ac_cv_lib_Xext_XShapeQueryExtension=yes
9230 echo "$as_me: failed program was:" >&5
9231 sed 's/^/| /' conftest.$ac_ext >&5
9233 ac_cv_lib_Xext_XShapeQueryExtension=no
9236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9237 conftest$ac_exeext conftest.$ac_ext
9238 LIBS=$ac_check_lib_save_LIBS
9240 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9241 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9242 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9244 cat >>confdefs.h <<\_ACEOF
9245 #define HAVE_LIBXSHAPE 1
9252 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9254 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9255 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9256 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9257 echo $ECHO_N "(cached) $ECHO_C" >&6
9259 ac_check_lib_save_LIBS=$LIBS
9260 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9261 cat >conftest.$ac_ext <<_ACEOF
9264 cat confdefs.h >>conftest.$ac_ext
9265 cat >>conftest.$ac_ext <<_ACEOF
9266 /* end confdefs.h. */
9268 /* Override any GCC internal prototype to avoid an error.
9269 Use char because int might match the return type of a GCC
9270 builtin and then its argument prototype would still apply. */
9274 char XF86VidModeQueryExtension ();
9278 return XF86VidModeQueryExtension ();
9283 rm -f conftest.$ac_objext conftest$ac_exeext
9284 if { (ac_try="$ac_link"
9286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9287 *) ac_try_echo=$ac_try;;
9289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9290 (eval "$ac_link") 2>conftest.er1
9292 grep -v '^ *+' conftest.er1 >conftest.err
9294 cat conftest.err >&5
9295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9296 (exit $ac_status); } && {
9297 test -z "$ac_c_werror_flag" ||
9298 test ! -s conftest.err
9299 } && test -s conftest$ac_exeext &&
9300 $as_test_x conftest$ac_exeext; then
9301 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9303 echo "$as_me: failed program was:" >&5
9304 sed 's/^/| /' conftest.$ac_ext >&5
9306 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9310 conftest$ac_exeext conftest.$ac_ext
9311 LIBS=$ac_check_lib_save_LIBS
9313 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9314 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9315 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9317 cat >>confdefs.h <<\_ACEOF
9318 #define HAVE_LIBXXF86VM 1
9321 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9327 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9329 cat >conftest.$ac_ext <<_ACEOF
9332 cat confdefs.h >>conftest.$ac_ext
9333 cat >>conftest.$ac_ext <<_ACEOF
9334 /* end confdefs.h. */
9335 #include <X11/Xlib.h>
9336 #include <X11/extensions/Xrandr.h>
9340 static typeof(XRRSetScreenConfigAndRate) * func;
9345 rm -f conftest.$ac_objext
9346 if { (ac_try="$ac_compile"
9348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9349 *) ac_try_echo=$ac_try;;
9351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9352 (eval "$ac_compile") 2>conftest.er1
9354 grep -v '^ *+' conftest.er1 >conftest.err
9356 cat conftest.err >&5
9357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9358 (exit $ac_status); } && {
9359 test -z "$ac_c_werror_flag" ||
9360 test ! -s conftest.err
9361 } && test -s conftest.$ac_objext; then
9363 cat >>confdefs.h <<\_ACEOF
9364 #define HAVE_LIBXRANDR 1
9368 echo "$as_me: failed program was:" >&5
9369 sed 's/^/| /' conftest.$ac_ext >&5
9374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9377 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9379 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9380 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9381 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9382 echo $ECHO_N "(cached) $ECHO_C" >&6
9384 ac_check_lib_save_LIBS=$LIBS
9385 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9386 cat >conftest.$ac_ext <<_ACEOF
9389 cat confdefs.h >>conftest.$ac_ext
9390 cat >>conftest.$ac_ext <<_ACEOF
9391 /* end confdefs.h. */
9393 /* Override any GCC internal prototype to avoid an error.
9394 Use char because int might match the return type of a GCC
9395 builtin and then its argument prototype would still apply. */
9399 char XRenderSetPictureTransform ();
9403 return XRenderSetPictureTransform ();
9408 rm -f conftest.$ac_objext conftest$ac_exeext
9409 if { (ac_try="$ac_link"
9411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9412 *) ac_try_echo=$ac_try;;
9414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9415 (eval "$ac_link") 2>conftest.er1
9417 grep -v '^ *+' conftest.er1 >conftest.err
9419 cat conftest.err >&5
9420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9421 (exit $ac_status); } && {
9422 test -z "$ac_c_werror_flag" ||
9423 test ! -s conftest.err
9424 } && test -s conftest$ac_exeext &&
9425 $as_test_x conftest$ac_exeext; then
9426 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9428 echo "$as_me: failed program was:" >&5
9429 sed 's/^/| /' conftest.$ac_ext >&5
9431 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9435 conftest$ac_exeext conftest.$ac_ext
9436 LIBS=$ac_check_lib_save_LIBS
9438 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9439 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9440 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9442 cat >>confdefs.h <<\_ACEOF
9443 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9450 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9452 cat >conftest.$ac_ext <<_ACEOF
9455 cat confdefs.h >>conftest.$ac_ext
9456 cat >>conftest.$ac_ext <<_ACEOF
9457 /* end confdefs.h. */
9458 #include <X11/Xlib.h>
9459 #include <X11/extensions/Xinerama.h>
9463 static typeof(XineramaQueryScreens) * func;
9468 rm -f conftest.$ac_objext
9469 if { (ac_try="$ac_compile"
9471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9472 *) ac_try_echo=$ac_try;;
9474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9475 (eval "$ac_compile") 2>conftest.er1
9477 grep -v '^ *+' conftest.er1 >conftest.err
9479 cat conftest.err >&5
9480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9481 (exit $ac_status); } && {
9482 test -z "$ac_c_werror_flag" ||
9483 test ! -s conftest.err
9484 } && test -s conftest.$ac_objext; then
9486 cat >>confdefs.h <<\_ACEOF
9487 #define HAVE_LIBXINERAMA 1
9491 echo "$as_me: failed program was:" >&5
9492 sed 's/^/| /' conftest.$ac_ext >&5
9497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9501 if test "x$with_opengl" != "xno"
9507 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9509 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9510 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9512 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9513 echo $ECHO_N "(cached) $ECHO_C" >&6
9515 cat >conftest.$ac_ext <<_ACEOF
9518 cat confdefs.h >>conftest.$ac_ext
9519 cat >>conftest.$ac_ext <<_ACEOF
9520 /* end confdefs.h. */
9521 #ifdef HAVE_GL_GLX_H
9522 # include <GL/glx.h>
9525 #include <$ac_header>
9527 rm -f conftest.$ac_objext
9528 if { (ac_try="$ac_compile"
9530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9531 *) ac_try_echo=$ac_try;;
9533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9534 (eval "$ac_compile") 2>conftest.er1
9536 grep -v '^ *+' conftest.er1 >conftest.err
9538 cat conftest.err >&5
9539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9540 (exit $ac_status); } && {
9541 test -z "$ac_c_werror_flag" ||
9542 test ! -s conftest.err
9543 } && test -s conftest.$ac_objext; then
9544 eval "$as_ac_Header=yes"
9546 echo "$as_me: failed program was:" >&5
9547 sed 's/^/| /' conftest.$ac_ext >&5
9549 eval "$as_ac_Header=no"
9552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9554 ac_res=`eval echo '${'$as_ac_Header'}'`
9555 { echo "$as_me:$LINENO: result: $ac_res" >&5
9556 echo "${ECHO_T}$ac_res" >&6; }
9557 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9558 cat >>confdefs.h <<_ACEOF
9559 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9566 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9568 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9569 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9570 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
9571 echo $ECHO_N "(cached) $ECHO_C" >&6
9573 cat >conftest.$ac_ext <<_ACEOF
9576 cat confdefs.h >>conftest.$ac_ext
9577 cat >>conftest.$ac_ext <<_ACEOF
9578 /* end confdefs.h. */
9583 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9588 rm -f conftest.$ac_objext
9589 if { (ac_try="$ac_compile"
9591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9592 *) ac_try_echo=$ac_try;;
9594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9595 (eval "$ac_compile") 2>conftest.er1
9597 grep -v '^ *+' conftest.er1 >conftest.err
9599 cat conftest.err >&5
9600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9601 (exit $ac_status); } && {
9602 test -z "$ac_c_werror_flag" ||
9603 test ! -s conftest.err
9604 } && test -s conftest.$ac_objext; then
9605 wine_cv_opengl_header_version_OK="yes"
9607 echo "$as_me: failed program was:" >&5
9608 sed 's/^/| /' conftest.$ac_ext >&5
9610 wine_cv_opengl_header_version_OK="no"
9613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9615 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
9616 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
9618 if test "$wine_cv_opengl_header_version_OK" = "yes"
9620 { echo "$as_me:$LINENO: checking for -lGL" >&5
9621 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
9622 if test "${ac_cv_lib_soname_GL+set}" = set; then
9623 echo $ECHO_N "(cached) $ECHO_C" >&6
9625 ac_check_soname_save_LIBS=$LIBS
9626 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
9627 cat >conftest.$ac_ext <<_ACEOF
9630 cat confdefs.h >>conftest.$ac_ext
9631 cat >>conftest.$ac_ext <<_ACEOF
9632 /* end confdefs.h. */
9634 /* Override any GCC internal prototype to avoid an error.
9635 Use char because int might match the return type of a GCC
9636 builtin and then its argument prototype would still apply. */
9640 char glXCreateContext ();
9644 return glXCreateContext ();
9649 rm -f conftest.$ac_objext conftest$ac_exeext
9650 if { (ac_try="$ac_link"
9652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9653 *) ac_try_echo=$ac_try;;
9655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9656 (eval "$ac_link") 2>conftest.er1
9658 grep -v '^ *+' conftest.er1 >conftest.err
9660 cat conftest.err >&5
9661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9662 (exit $ac_status); } && {
9663 test -z "$ac_c_werror_flag" ||
9664 test ! -s conftest.err
9665 } && test -s conftest$ac_exeext &&
9666 $as_test_x conftest$ac_exeext; then
9669 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'` ;;
9670 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9673 echo "$as_me: failed program was:" >&5
9674 sed 's/^/| /' conftest.$ac_ext >&5
9679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9680 conftest$ac_exeext conftest.$ac_ext
9681 LIBS=$ac_check_soname_save_LIBS
9683 if test "x$ac_cv_lib_soname_GL" = "x"; then
9684 { echo "$as_me:$LINENO: result: not found" >&5
9685 echo "${ECHO_T}not found" >&6; }
9688 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
9689 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
9691 cat >>confdefs.h <<_ACEOF
9692 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9696 OPENGLFILES='$(OPENGLFILES)'
9698 cat >>confdefs.h <<\_ACEOF
9699 #define HAVE_OPENGL 1
9706 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
9707 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
9708 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
9709 echo $ECHO_N "(cached) $ECHO_C" >&6
9711 ac_check_lib_save_LIBS=$LIBS
9712 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
9714 cat >conftest.$ac_ext <<_ACEOF
9717 cat confdefs.h >>conftest.$ac_ext
9718 cat >>conftest.$ac_ext <<_ACEOF
9719 /* end confdefs.h. */
9721 /* Override any GCC internal prototype to avoid an error.
9722 Use char because int might match the return type of a GCC
9723 builtin and then its argument prototype would still apply. */
9731 return gluLookAt ();
9736 rm -f conftest.$ac_objext conftest$ac_exeext
9737 if { (ac_try="$ac_link"
9739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9740 *) ac_try_echo=$ac_try;;
9742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9743 (eval "$ac_link") 2>conftest.er1
9745 grep -v '^ *+' conftest.er1 >conftest.err
9747 cat conftest.err >&5
9748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9749 (exit $ac_status); } && {
9750 test -z "$ac_c_werror_flag" ||
9751 test ! -s conftest.err
9752 } && test -s conftest$ac_exeext &&
9753 $as_test_x conftest$ac_exeext; then
9754 ac_cv_lib_GLU_gluLookAt=yes
9756 echo "$as_me: failed program was:" >&5
9757 sed 's/^/| /' conftest.$ac_ext >&5
9759 ac_cv_lib_GLU_gluLookAt=no
9762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9763 conftest$ac_exeext conftest.$ac_ext
9764 LIBS=$ac_check_lib_save_LIBS
9766 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
9767 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
9768 if test $ac_cv_lib_GLU_gluLookAt = yes; then
9769 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
9770 GLU32FILES='$(GLU32FILES)'
9776 wine_cv_opengl_headers_found="no"
9782 for ac_header in audio/audiolib.h
9784 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9785 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9786 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9788 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9789 echo $ECHO_N "(cached) $ECHO_C" >&6
9791 ac_res=`eval echo '${'$as_ac_Header'}'`
9792 { echo "$as_me:$LINENO: result: $ac_res" >&5
9793 echo "${ECHO_T}$ac_res" >&6; }
9795 # Is the header compilable?
9796 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9797 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9798 cat >conftest.$ac_ext <<_ACEOF
9801 cat confdefs.h >>conftest.$ac_ext
9802 cat >>conftest.$ac_ext <<_ACEOF
9803 /* end confdefs.h. */
9804 $ac_includes_default
9805 #include <$ac_header>
9807 rm -f conftest.$ac_objext
9808 if { (ac_try="$ac_compile"
9810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9811 *) ac_try_echo=$ac_try;;
9813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9814 (eval "$ac_compile") 2>conftest.er1
9816 grep -v '^ *+' conftest.er1 >conftest.err
9818 cat conftest.err >&5
9819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9820 (exit $ac_status); } && {
9821 test -z "$ac_c_werror_flag" ||
9822 test ! -s conftest.err
9823 } && test -s conftest.$ac_objext; then
9824 ac_header_compiler=yes
9826 echo "$as_me: failed program was:" >&5
9827 sed 's/^/| /' conftest.$ac_ext >&5
9829 ac_header_compiler=no
9832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9833 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9834 echo "${ECHO_T}$ac_header_compiler" >&6; }
9836 # Is the header present?
9837 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9838 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9839 cat >conftest.$ac_ext <<_ACEOF
9842 cat confdefs.h >>conftest.$ac_ext
9843 cat >>conftest.$ac_ext <<_ACEOF
9844 /* end confdefs.h. */
9845 #include <$ac_header>
9847 if { (ac_try="$ac_cpp conftest.$ac_ext"
9849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9850 *) ac_try_echo=$ac_try;;
9852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9853 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9855 grep -v '^ *+' conftest.er1 >conftest.err
9857 cat conftest.err >&5
9858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9859 (exit $ac_status); } >/dev/null && {
9860 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9861 test ! -s conftest.err
9863 ac_header_preproc=yes
9865 echo "$as_me: failed program was:" >&5
9866 sed 's/^/| /' conftest.$ac_ext >&5
9868 ac_header_preproc=no
9871 rm -f conftest.err conftest.$ac_ext
9872 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9873 echo "${ECHO_T}$ac_header_preproc" >&6; }
9875 # So? What about this header?
9876 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9878 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9879 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9881 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9882 ac_header_preproc=yes
9885 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9886 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9887 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9888 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9889 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9890 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9891 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9892 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9893 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9894 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9895 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9896 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9898 ## ------------------------------------ ##
9899 ## Report this to wine-devel@winehq.org ##
9900 ## ------------------------------------ ##
9902 ) | sed "s/^/$as_me: WARNING: /" >&2
9905 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9907 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9908 echo $ECHO_N "(cached) $ECHO_C" >&6
9910 eval "$as_ac_Header=\$ac_header_preproc"
9912 ac_res=`eval echo '${'$as_ac_Header'}'`
9913 { echo "$as_me:$LINENO: result: $ac_res" >&5
9914 echo "${ECHO_T}$ac_res" >&6; }
9917 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9918 cat >>confdefs.h <<_ACEOF
9919 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9922 for ac_header in audio/soundlib.h
9924 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9925 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9927 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9928 echo $ECHO_N "(cached) $ECHO_C" >&6
9930 cat >conftest.$ac_ext <<_ACEOF
9933 cat confdefs.h >>conftest.$ac_ext
9934 cat >>conftest.$ac_ext <<_ACEOF
9935 /* end confdefs.h. */
9936 #include <audio/audiolib.h>
9938 #include <$ac_header>
9940 rm -f conftest.$ac_objext
9941 if { (ac_try="$ac_compile"
9943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9944 *) ac_try_echo=$ac_try;;
9946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9947 (eval "$ac_compile") 2>conftest.er1
9949 grep -v '^ *+' conftest.er1 >conftest.err
9951 cat conftest.err >&5
9952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9953 (exit $ac_status); } && {
9954 test -z "$ac_c_werror_flag" ||
9955 test ! -s conftest.err
9956 } && test -s conftest.$ac_objext; then
9957 eval "$as_ac_Header=yes"
9959 echo "$as_me: failed program was:" >&5
9960 sed 's/^/| /' conftest.$ac_ext >&5
9962 eval "$as_ac_Header=no"
9965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9967 ac_res=`eval echo '${'$as_ac_Header'}'`
9968 { echo "$as_me:$LINENO: result: $ac_res" >&5
9969 echo "${ECHO_T}$ac_res" >&6; }
9970 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9971 cat >>confdefs.h <<_ACEOF
9972 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9979 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9980 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
9981 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9982 echo $ECHO_N "(cached) $ECHO_C" >&6
9984 ac_check_lib_save_LIBS=$LIBS
9985 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9986 cat >conftest.$ac_ext <<_ACEOF
9989 cat confdefs.h >>conftest.$ac_ext
9990 cat >>conftest.$ac_ext <<_ACEOF
9991 /* end confdefs.h. */
9993 /* Override any GCC internal prototype to avoid an error.
9994 Use char because int might match the return type of a GCC
9995 builtin and then its argument prototype would still apply. */
9999 char AuCreateFlow ();
10003 return AuCreateFlow ();
10008 rm -f conftest.$ac_objext conftest$ac_exeext
10009 if { (ac_try="$ac_link"
10010 case "(($ac_try" in
10011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10012 *) ac_try_echo=$ac_try;;
10014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10015 (eval "$ac_link") 2>conftest.er1
10017 grep -v '^ *+' conftest.er1 >conftest.err
10019 cat conftest.err >&5
10020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10021 (exit $ac_status); } && {
10022 test -z "$ac_c_werror_flag" ||
10023 test ! -s conftest.err
10024 } && test -s conftest$ac_exeext &&
10025 $as_test_x conftest$ac_exeext; then
10026 ac_cv_lib_audio_AuCreateFlow=yes
10028 echo "$as_me: failed program was:" >&5
10029 sed 's/^/| /' conftest.$ac_ext >&5
10031 ac_cv_lib_audio_AuCreateFlow=no
10034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10035 conftest$ac_exeext conftest.$ac_ext
10036 LIBS=$ac_check_lib_save_LIBS
10038 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10039 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10040 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10042 cat >>confdefs.h <<\_ACEOF
10046 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10047 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10048 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10049 echo $ECHO_N "(cached) $ECHO_C" >&6
10051 ac_check_lib_save_LIBS=$LIBS
10052 LIBS="-lXau $X_LIBS $LIBS"
10053 cat >conftest.$ac_ext <<_ACEOF
10056 cat confdefs.h >>conftest.$ac_ext
10057 cat >>conftest.$ac_ext <<_ACEOF
10058 /* end confdefs.h. */
10060 /* Override any GCC internal prototype to avoid an error.
10061 Use char because int might match the return type of a GCC
10062 builtin and then its argument prototype would still apply. */
10066 char XauGetBestAuthByAddr ();
10070 return XauGetBestAuthByAddr ();
10075 rm -f conftest.$ac_objext conftest$ac_exeext
10076 if { (ac_try="$ac_link"
10077 case "(($ac_try" in
10078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10079 *) ac_try_echo=$ac_try;;
10081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10082 (eval "$ac_link") 2>conftest.er1
10084 grep -v '^ *+' conftest.er1 >conftest.err
10086 cat conftest.err >&5
10087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10088 (exit $ac_status); } && {
10089 test -z "$ac_c_werror_flag" ||
10090 test ! -s conftest.err
10091 } && test -s conftest$ac_exeext &&
10092 $as_test_x conftest$ac_exeext; then
10093 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
10095 echo "$as_me: failed program was:" >&5
10096 sed 's/^/| /' conftest.$ac_ext >&5
10098 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
10101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10102 conftest$ac_exeext conftest.$ac_ext
10103 LIBS=$ac_check_lib_save_LIBS
10105 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10106 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10107 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10108 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10110 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10121 CPPFLAGS="$ac_save_CPPFLAGS"
10138 ac_save_CPPFLAGS="$CPPFLAGS"
10139 if test "$PKG_CONFIG" != "false"
10141 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10142 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10144 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
10145 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
10147 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10149 for ac_header in libxml/parser.h
10151 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10152 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10153 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10154 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10155 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10156 echo $ECHO_N "(cached) $ECHO_C" >&6
10158 ac_res=`eval echo '${'$as_ac_Header'}'`
10159 { echo "$as_me:$LINENO: result: $ac_res" >&5
10160 echo "${ECHO_T}$ac_res" >&6; }
10162 # Is the header compilable?
10163 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10164 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10165 cat >conftest.$ac_ext <<_ACEOF
10168 cat confdefs.h >>conftest.$ac_ext
10169 cat >>conftest.$ac_ext <<_ACEOF
10170 /* end confdefs.h. */
10171 $ac_includes_default
10172 #include <$ac_header>
10174 rm -f conftest.$ac_objext
10175 if { (ac_try="$ac_compile"
10176 case "(($ac_try" in
10177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10178 *) ac_try_echo=$ac_try;;
10180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10181 (eval "$ac_compile") 2>conftest.er1
10183 grep -v '^ *+' conftest.er1 >conftest.err
10185 cat conftest.err >&5
10186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10187 (exit $ac_status); } && {
10188 test -z "$ac_c_werror_flag" ||
10189 test ! -s conftest.err
10190 } && test -s conftest.$ac_objext; then
10191 ac_header_compiler=yes
10193 echo "$as_me: failed program was:" >&5
10194 sed 's/^/| /' conftest.$ac_ext >&5
10196 ac_header_compiler=no
10199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10200 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10201 echo "${ECHO_T}$ac_header_compiler" >&6; }
10203 # Is the header present?
10204 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10205 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10206 cat >conftest.$ac_ext <<_ACEOF
10209 cat confdefs.h >>conftest.$ac_ext
10210 cat >>conftest.$ac_ext <<_ACEOF
10211 /* end confdefs.h. */
10212 #include <$ac_header>
10214 if { (ac_try="$ac_cpp conftest.$ac_ext"
10215 case "(($ac_try" in
10216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10217 *) ac_try_echo=$ac_try;;
10219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10220 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10222 grep -v '^ *+' conftest.er1 >conftest.err
10224 cat conftest.err >&5
10225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10226 (exit $ac_status); } >/dev/null && {
10227 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10228 test ! -s conftest.err
10230 ac_header_preproc=yes
10232 echo "$as_me: failed program was:" >&5
10233 sed 's/^/| /' conftest.$ac_ext >&5
10235 ac_header_preproc=no
10238 rm -f conftest.err conftest.$ac_ext
10239 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10240 echo "${ECHO_T}$ac_header_preproc" >&6; }
10242 # So? What about this header?
10243 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10245 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10246 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10247 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10248 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10249 ac_header_preproc=yes
10252 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10253 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10254 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10255 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10256 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10257 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10258 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10259 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10260 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10261 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10262 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10263 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10265 ## ------------------------------------ ##
10266 ## Report this to wine-devel@winehq.org ##
10267 ## ------------------------------------ ##
10269 ) | sed "s/^/$as_me: WARNING: /" >&2
10272 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10274 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10275 echo $ECHO_N "(cached) $ECHO_C" >&6
10277 eval "$as_ac_Header=\$ac_header_preproc"
10279 ac_res=`eval echo '${'$as_ac_Header'}'`
10280 { echo "$as_me:$LINENO: result: $ac_res" >&5
10281 echo "${ECHO_T}$ac_res" >&6; }
10284 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10285 cat >>confdefs.h <<_ACEOF
10286 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10288 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10289 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10290 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10291 echo $ECHO_N "(cached) $ECHO_C" >&6
10293 ac_check_lib_save_LIBS=$LIBS
10294 LIBS="-lxml2 $ac_xml_libs $LIBS"
10295 cat >conftest.$ac_ext <<_ACEOF
10298 cat confdefs.h >>conftest.$ac_ext
10299 cat >>conftest.$ac_ext <<_ACEOF
10300 /* end confdefs.h. */
10302 /* Override any GCC internal prototype to avoid an error.
10303 Use char because int might match the return type of a GCC
10304 builtin and then its argument prototype would still apply. */
10308 char xmlParseMemory ();
10312 return xmlParseMemory ();
10317 rm -f conftest.$ac_objext conftest$ac_exeext
10318 if { (ac_try="$ac_link"
10319 case "(($ac_try" in
10320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10321 *) ac_try_echo=$ac_try;;
10323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10324 (eval "$ac_link") 2>conftest.er1
10326 grep -v '^ *+' conftest.er1 >conftest.err
10328 cat conftest.err >&5
10329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10330 (exit $ac_status); } && {
10331 test -z "$ac_c_werror_flag" ||
10332 test ! -s conftest.err
10333 } && test -s conftest$ac_exeext &&
10334 $as_test_x conftest$ac_exeext; then
10335 ac_cv_lib_xml2_xmlParseMemory=yes
10337 echo "$as_me: failed program was:" >&5
10338 sed 's/^/| /' conftest.$ac_ext >&5
10340 ac_cv_lib_xml2_xmlParseMemory=no
10343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10344 conftest$ac_exeext conftest.$ac_ext
10345 LIBS=$ac_check_lib_save_LIBS
10347 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10348 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10349 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10351 cat >>confdefs.h <<\_ACEOF
10352 #define HAVE_LIBXML2 1
10355 XML2LIBS="$ac_xml_libs"
10356 XML2INCL="$ac_xml_cflags"
10359 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10360 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10361 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10362 echo $ECHO_N "(cached) $ECHO_C" >&6
10364 ac_check_lib_save_LIBS=$LIBS
10365 LIBS="-lxml2 $ac_xml_libs $LIBS"
10366 cat >conftest.$ac_ext <<_ACEOF
10369 cat confdefs.h >>conftest.$ac_ext
10370 cat >>conftest.$ac_ext <<_ACEOF
10371 /* end confdefs.h. */
10373 /* Override any GCC internal prototype to avoid an error.
10374 Use char because int might match the return type of a GCC
10375 builtin and then its argument prototype would still apply. */
10379 char xmlReadMemory ();
10383 return xmlReadMemory ();
10388 rm -f conftest.$ac_objext conftest$ac_exeext
10389 if { (ac_try="$ac_link"
10390 case "(($ac_try" in
10391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10392 *) ac_try_echo=$ac_try;;
10394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10395 (eval "$ac_link") 2>conftest.er1
10397 grep -v '^ *+' conftest.er1 >conftest.err
10399 cat conftest.err >&5
10400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10401 (exit $ac_status); } && {
10402 test -z "$ac_c_werror_flag" ||
10403 test ! -s conftest.err
10404 } && test -s conftest$ac_exeext &&
10405 $as_test_x conftest$ac_exeext; then
10406 ac_cv_lib_xml2_xmlReadMemory=yes
10408 echo "$as_me: failed program was:" >&5
10409 sed 's/^/| /' conftest.$ac_ext >&5
10411 ac_cv_lib_xml2_xmlReadMemory=no
10414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10415 conftest$ac_exeext conftest.$ac_ext
10416 LIBS=$ac_check_lib_save_LIBS
10418 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10419 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10420 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10422 cat >>confdefs.h <<\_ACEOF
10423 #define HAVE_XMLREADMEMORY 1
10428 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
10429 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
10430 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
10431 echo $ECHO_N "(cached) $ECHO_C" >&6
10433 ac_check_lib_save_LIBS=$LIBS
10434 LIBS="-lxml2 $ac_xml_libs $LIBS"
10435 cat >conftest.$ac_ext <<_ACEOF
10438 cat confdefs.h >>conftest.$ac_ext
10439 cat >>conftest.$ac_ext <<_ACEOF
10440 /* end confdefs.h. */
10442 /* Override any GCC internal prototype to avoid an error.
10443 Use char because int might match the return type of a GCC
10444 builtin and then its argument prototype would still apply. */
10448 char xmlNewDocPI ();
10452 return xmlNewDocPI ();
10457 rm -f conftest.$ac_objext conftest$ac_exeext
10458 if { (ac_try="$ac_link"
10459 case "(($ac_try" in
10460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10461 *) ac_try_echo=$ac_try;;
10463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10464 (eval "$ac_link") 2>conftest.er1
10466 grep -v '^ *+' conftest.er1 >conftest.err
10468 cat conftest.err >&5
10469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10470 (exit $ac_status); } && {
10471 test -z "$ac_c_werror_flag" ||
10472 test ! -s conftest.err
10473 } && test -s conftest$ac_exeext &&
10474 $as_test_x conftest$ac_exeext; then
10475 ac_cv_lib_xml2_xmlNewDocPI=yes
10477 echo "$as_me: failed program was:" >&5
10478 sed 's/^/| /' conftest.$ac_ext >&5
10480 ac_cv_lib_xml2_xmlNewDocPI=no
10483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10484 conftest$ac_exeext conftest.$ac_ext
10485 LIBS=$ac_check_lib_save_LIBS
10487 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10488 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10489 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
10491 cat >>confdefs.h <<\_ACEOF
10492 #define HAVE_XMLNEWDOCPI 1
10502 CPPFLAGS="$ac_save_CPPFLAGS"
10503 if test "$PKG_CONFIG" != "false"
10505 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
10506 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
10508 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
10509 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
10511 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
10514 for ac_header in libxslt/pattern.h libxslt/transform.h
10516 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10517 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10519 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10520 echo $ECHO_N "(cached) $ECHO_C" >&6
10522 cat >conftest.$ac_ext <<_ACEOF
10525 cat confdefs.h >>conftest.$ac_ext
10526 cat >>conftest.$ac_ext <<_ACEOF
10527 /* end confdefs.h. */
10528 #ifdef HAVE_LIBXSLT_PATTERN_H
10529 # include <libxslt/pattern.h>
10532 #include <$ac_header>
10534 rm -f conftest.$ac_objext
10535 if { (ac_try="$ac_compile"
10536 case "(($ac_try" in
10537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10538 *) ac_try_echo=$ac_try;;
10540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10541 (eval "$ac_compile") 2>conftest.er1
10543 grep -v '^ *+' conftest.er1 >conftest.err
10545 cat conftest.err >&5
10546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10547 (exit $ac_status); } && {
10548 test -z "$ac_c_werror_flag" ||
10549 test ! -s conftest.err
10550 } && test -s conftest.$ac_objext; then
10551 eval "$as_ac_Header=yes"
10553 echo "$as_me: failed program was:" >&5
10554 sed 's/^/| /' conftest.$ac_ext >&5
10556 eval "$as_ac_Header=no"
10559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10561 ac_res=`eval echo '${'$as_ac_Header'}'`
10562 { echo "$as_me:$LINENO: result: $ac_res" >&5
10563 echo "${ECHO_T}$ac_res" >&6; }
10564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10565 cat >>confdefs.h <<_ACEOF
10566 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10568 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10569 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10570 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10571 echo $ECHO_N "(cached) $ECHO_C" >&6
10573 ac_check_lib_save_LIBS=$LIBS
10574 LIBS="-lxslt $ac_xslt_libs $LIBS"
10575 cat >conftest.$ac_ext <<_ACEOF
10578 cat confdefs.h >>conftest.$ac_ext
10579 cat >>conftest.$ac_ext <<_ACEOF
10580 /* end confdefs.h. */
10582 /* Override any GCC internal prototype to avoid an error.
10583 Use char because int might match the return type of a GCC
10584 builtin and then its argument prototype would still apply. */
10588 char xsltCompilePattern ();
10592 return xsltCompilePattern ();
10597 rm -f conftest.$ac_objext conftest$ac_exeext
10598 if { (ac_try="$ac_link"
10599 case "(($ac_try" in
10600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10601 *) ac_try_echo=$ac_try;;
10603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10604 (eval "$ac_link") 2>conftest.er1
10606 grep -v '^ *+' conftest.er1 >conftest.err
10608 cat conftest.err >&5
10609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10610 (exit $ac_status); } && {
10611 test -z "$ac_c_werror_flag" ||
10612 test ! -s conftest.err
10613 } && test -s conftest$ac_exeext &&
10614 $as_test_x conftest$ac_exeext; then
10615 ac_cv_lib_xslt_xsltCompilePattern=yes
10617 echo "$as_me: failed program was:" >&5
10618 sed 's/^/| /' conftest.$ac_ext >&5
10620 ac_cv_lib_xslt_xsltCompilePattern=no
10623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10624 conftest$ac_exeext conftest.$ac_ext
10625 LIBS=$ac_check_lib_save_LIBS
10627 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
10628 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
10629 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
10631 cat >>confdefs.h <<\_ACEOF
10632 #define HAVE_LIBXSLT 1
10635 XSLTLIBS="$ac_xslt_libs"
10636 XSLTINCL="$ac_xslt_cflags"
10644 CPPFLAGS="$ac_save_CPPFLAGS"
10648 if test "$PKG_CONFIG" != "false"
10650 ac_save_CPPFLAGS="$CPPFLAGS"
10651 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
10652 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
10653 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
10656 for ac_header in dbus/dbus.h hal/libhal.h
10658 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10659 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10660 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10661 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10662 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10663 echo $ECHO_N "(cached) $ECHO_C" >&6
10665 ac_res=`eval echo '${'$as_ac_Header'}'`
10666 { echo "$as_me:$LINENO: result: $ac_res" >&5
10667 echo "${ECHO_T}$ac_res" >&6; }
10669 # Is the header compilable?
10670 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10671 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
10679 #include <$ac_header>
10681 rm -f conftest.$ac_objext
10682 if { (ac_try="$ac_compile"
10683 case "(($ac_try" in
10684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10685 *) ac_try_echo=$ac_try;;
10687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10688 (eval "$ac_compile") 2>conftest.er1
10690 grep -v '^ *+' conftest.er1 >conftest.err
10692 cat conftest.err >&5
10693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10694 (exit $ac_status); } && {
10695 test -z "$ac_c_werror_flag" ||
10696 test ! -s conftest.err
10697 } && test -s conftest.$ac_objext; then
10698 ac_header_compiler=yes
10700 echo "$as_me: failed program was:" >&5
10701 sed 's/^/| /' conftest.$ac_ext >&5
10703 ac_header_compiler=no
10706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10707 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10708 echo "${ECHO_T}$ac_header_compiler" >&6; }
10710 # Is the header present?
10711 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10712 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10713 cat >conftest.$ac_ext <<_ACEOF
10716 cat confdefs.h >>conftest.$ac_ext
10717 cat >>conftest.$ac_ext <<_ACEOF
10718 /* end confdefs.h. */
10719 #include <$ac_header>
10721 if { (ac_try="$ac_cpp conftest.$ac_ext"
10722 case "(($ac_try" in
10723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10724 *) ac_try_echo=$ac_try;;
10726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10727 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10729 grep -v '^ *+' conftest.er1 >conftest.err
10731 cat conftest.err >&5
10732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10733 (exit $ac_status); } >/dev/null && {
10734 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10735 test ! -s conftest.err
10737 ac_header_preproc=yes
10739 echo "$as_me: failed program was:" >&5
10740 sed 's/^/| /' conftest.$ac_ext >&5
10742 ac_header_preproc=no
10745 rm -f conftest.err conftest.$ac_ext
10746 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10747 echo "${ECHO_T}$ac_header_preproc" >&6; }
10749 # So? What about this header?
10750 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10752 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10753 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10754 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10755 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10756 ac_header_preproc=yes
10759 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10760 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10761 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10762 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10763 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10764 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10765 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10766 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10767 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10768 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10769 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10770 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10772 ## ------------------------------------ ##
10773 ## Report this to wine-devel@winehq.org ##
10774 ## ------------------------------------ ##
10776 ) | sed "s/^/$as_me: WARNING: /" >&2
10779 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10781 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10782 echo $ECHO_N "(cached) $ECHO_C" >&6
10784 eval "$as_ac_Header=\$ac_header_preproc"
10786 ac_res=`eval echo '${'$as_ac_Header'}'`
10787 { echo "$as_me:$LINENO: result: $ac_res" >&5
10788 echo "${ECHO_T}$ac_res" >&6; }
10791 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10792 cat >>confdefs.h <<_ACEOF
10793 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10800 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
10802 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
10803 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
10804 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
10805 echo $ECHO_N "(cached) $ECHO_C" >&6
10807 ac_check_lib_save_LIBS=$LIBS
10808 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
10809 cat >conftest.$ac_ext <<_ACEOF
10812 cat confdefs.h >>conftest.$ac_ext
10813 cat >>conftest.$ac_ext <<_ACEOF
10814 /* end confdefs.h. */
10816 /* Override any GCC internal prototype to avoid an error.
10817 Use char because int might match the return type of a GCC
10818 builtin and then its argument prototype would still apply. */
10822 char dbus_connection_close ();
10826 return dbus_connection_close ();
10831 rm -f conftest.$ac_objext conftest$ac_exeext
10832 if { (ac_try="$ac_link"
10833 case "(($ac_try" in
10834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10835 *) ac_try_echo=$ac_try;;
10837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10838 (eval "$ac_link") 2>conftest.er1
10840 grep -v '^ *+' conftest.er1 >conftest.err
10842 cat conftest.err >&5
10843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10844 (exit $ac_status); } && {
10845 test -z "$ac_c_werror_flag" ||
10846 test ! -s conftest.err
10847 } && test -s conftest$ac_exeext &&
10848 $as_test_x conftest$ac_exeext; then
10849 ac_cv_lib_dbus_1_dbus_connection_close=yes
10851 echo "$as_me: failed program was:" >&5
10852 sed 's/^/| /' conftest.$ac_ext >&5
10854 ac_cv_lib_dbus_1_dbus_connection_close=no
10857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10858 conftest$ac_exeext conftest.$ac_ext
10859 LIBS=$ac_check_lib_save_LIBS
10861 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
10862 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
10863 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
10864 { echo "$as_me:$LINENO: checking for -lhal" >&5
10865 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
10866 if test "${ac_cv_lib_soname_hal+set}" = set; then
10867 echo $ECHO_N "(cached) $ECHO_C" >&6
10869 ac_check_soname_save_LIBS=$LIBS
10870 LIBS="-lhal $ac_hal_libs $LIBS"
10871 cat >conftest.$ac_ext <<_ACEOF
10874 cat confdefs.h >>conftest.$ac_ext
10875 cat >>conftest.$ac_ext <<_ACEOF
10876 /* end confdefs.h. */
10878 /* Override any GCC internal prototype to avoid an error.
10879 Use char because int might match the return type of a GCC
10880 builtin and then its argument prototype would still apply. */
10884 char libhal_ctx_new ();
10888 return libhal_ctx_new ();
10893 rm -f conftest.$ac_objext conftest$ac_exeext
10894 if { (ac_try="$ac_link"
10895 case "(($ac_try" in
10896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10897 *) ac_try_echo=$ac_try;;
10899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10900 (eval "$ac_link") 2>conftest.er1
10902 grep -v '^ *+' conftest.er1 >conftest.err
10904 cat conftest.err >&5
10905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10906 (exit $ac_status); } && {
10907 test -z "$ac_c_werror_flag" ||
10908 test ! -s conftest.err
10909 } && test -s conftest$ac_exeext &&
10910 $as_test_x conftest$ac_exeext; then
10913 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'` ;;
10914 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10917 echo "$as_me: failed program was:" >&5
10918 sed 's/^/| /' conftest.$ac_ext >&5
10923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10924 conftest$ac_exeext conftest.$ac_ext
10925 LIBS=$ac_check_soname_save_LIBS
10927 if test "x$ac_cv_lib_soname_hal" = "x"; then
10928 { echo "$as_me:$LINENO: result: not found" >&5
10929 echo "${ECHO_T}not found" >&6; }
10932 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
10933 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
10935 cat >>confdefs.h <<_ACEOF
10936 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10939 HALINCL="$ac_hal_cflags"
10945 CPPFLAGS="$ac_save_CPPFLAGS"
10949 if test "$ac_cv_header_ncurses_h" = "yes"
10951 { echo "$as_me:$LINENO: checking for -lncurses" >&5
10952 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
10953 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
10954 echo $ECHO_N "(cached) $ECHO_C" >&6
10956 ac_check_soname_save_LIBS=$LIBS
10957 LIBS="-lncurses $LIBS"
10958 cat >conftest.$ac_ext <<_ACEOF
10961 cat confdefs.h >>conftest.$ac_ext
10962 cat >>conftest.$ac_ext <<_ACEOF
10963 /* end confdefs.h. */
10965 /* Override any GCC internal prototype to avoid an error.
10966 Use char because int might match the return type of a GCC
10967 builtin and then its argument prototype would still apply. */
10980 rm -f conftest.$ac_objext conftest$ac_exeext
10981 if { (ac_try="$ac_link"
10982 case "(($ac_try" in
10983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10984 *) ac_try_echo=$ac_try;;
10986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10987 (eval "$ac_link") 2>conftest.er1
10989 grep -v '^ *+' conftest.er1 >conftest.err
10991 cat conftest.err >&5
10992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10993 (exit $ac_status); } && {
10994 test -z "$ac_c_werror_flag" ||
10995 test ! -s conftest.err
10996 } && test -s conftest$ac_exeext &&
10997 $as_test_x conftest$ac_exeext; then
11000 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'` ;;
11001 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11004 echo "$as_me: failed program was:" >&5
11005 sed 's/^/| /' conftest.$ac_ext >&5
11010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11011 conftest$ac_exeext conftest.$ac_ext
11012 LIBS=$ac_check_soname_save_LIBS
11014 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11015 { echo "$as_me:$LINENO: result: not found" >&5
11016 echo "${ECHO_T}not found" >&6; }
11019 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11020 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11022 cat >>confdefs.h <<_ACEOF
11023 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11026 CURSESLIBS="-lncurses"
11029 elif test "$ac_cv_header_curses_h" = "yes"
11031 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11032 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11033 if test "${ac_cv_lib_soname_curses+set}" = set; then
11034 echo $ECHO_N "(cached) $ECHO_C" >&6
11036 ac_check_soname_save_LIBS=$LIBS
11037 LIBS="-lcurses $LIBS"
11038 cat >conftest.$ac_ext <<_ACEOF
11041 cat confdefs.h >>conftest.$ac_ext
11042 cat >>conftest.$ac_ext <<_ACEOF
11043 /* end confdefs.h. */
11045 /* Override any GCC internal prototype to avoid an error.
11046 Use char because int might match the return type of a GCC
11047 builtin and then its argument prototype would still apply. */
11060 rm -f conftest.$ac_objext conftest$ac_exeext
11061 if { (ac_try="$ac_link"
11062 case "(($ac_try" in
11063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11064 *) ac_try_echo=$ac_try;;
11066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11067 (eval "$ac_link") 2>conftest.er1
11069 grep -v '^ *+' conftest.er1 >conftest.err
11071 cat conftest.err >&5
11072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11073 (exit $ac_status); } && {
11074 test -z "$ac_c_werror_flag" ||
11075 test ! -s conftest.err
11076 } && test -s conftest$ac_exeext &&
11077 $as_test_x conftest$ac_exeext; then
11080 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'` ;;
11081 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11084 echo "$as_me: failed program was:" >&5
11085 sed 's/^/| /' conftest.$ac_ext >&5
11090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11091 conftest$ac_exeext conftest.$ac_ext
11092 LIBS=$ac_check_soname_save_LIBS
11094 if test "x$ac_cv_lib_soname_curses" = "x"; then
11095 { echo "$as_me:$LINENO: result: not found" >&5
11096 echo "${ECHO_T}not found" >&6; }
11099 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11100 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11102 cat >>confdefs.h <<_ACEOF
11103 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11106 CURSESLIBS="-lcurses"
11110 ac_save_LIBS="$LIBS"
11111 LIBS="$LIBS $CURSESLIBS"
11113 for ac_func in mousemask
11115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11116 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11118 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11119 echo $ECHO_N "(cached) $ECHO_C" >&6
11121 cat >conftest.$ac_ext <<_ACEOF
11124 cat confdefs.h >>conftest.$ac_ext
11125 cat >>conftest.$ac_ext <<_ACEOF
11126 /* end confdefs.h. */
11127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11129 #define $ac_func innocuous_$ac_func
11131 /* System header to define __stub macros and hopefully few prototypes,
11132 which can conflict with char $ac_func (); below.
11133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11134 <limits.h> exists even on freestanding compilers. */
11137 # include <limits.h>
11139 # include <assert.h>
11144 /* Override any GCC internal prototype to avoid an error.
11145 Use char because int might match the return type of a GCC
11146 builtin and then its argument prototype would still apply. */
11151 /* The GNU C library defines this for functions which it implements
11152 to always fail with ENOSYS. Some functions are actually named
11153 something starting with __ and the normal name is an alias. */
11154 #if defined __stub_$ac_func || defined __stub___$ac_func
11161 return $ac_func ();
11166 rm -f conftest.$ac_objext conftest$ac_exeext
11167 if { (ac_try="$ac_link"
11168 case "(($ac_try" in
11169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11170 *) ac_try_echo=$ac_try;;
11172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11173 (eval "$ac_link") 2>conftest.er1
11175 grep -v '^ *+' conftest.er1 >conftest.err
11177 cat conftest.err >&5
11178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11179 (exit $ac_status); } && {
11180 test -z "$ac_c_werror_flag" ||
11181 test ! -s conftest.err
11182 } && test -s conftest$ac_exeext &&
11183 $as_test_x conftest$ac_exeext; then
11184 eval "$as_ac_var=yes"
11186 echo "$as_me: failed program was:" >&5
11187 sed 's/^/| /' conftest.$ac_ext >&5
11189 eval "$as_ac_var=no"
11192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11193 conftest$ac_exeext conftest.$ac_ext
11195 ac_res=`eval echo '${'$as_ac_var'}'`
11196 { echo "$as_me:$LINENO: result: $ac_res" >&5
11197 echo "${ECHO_T}$ac_res" >&6; }
11198 if test `eval echo '${'$as_ac_var'}'` = yes; then
11199 cat >>confdefs.h <<_ACEOF
11200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11206 LIBS="$ac_save_LIBS"
11208 # Extract the first word of "sane-config", so it can be a program name with args.
11209 set dummy sane-config; ac_word=$2
11210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11212 if test "${ac_cv_prog_sane_devel+set}" = set; then
11213 echo $ECHO_N "(cached) $ECHO_C" >&6
11215 if test -n "$sane_devel"; then
11216 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11219 for as_dir in $PATH
11222 test -z "$as_dir" && as_dir=.
11223 for ac_exec_ext in '' $ac_executable_extensions; do
11224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11225 ac_cv_prog_sane_devel="sane-config"
11226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11233 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11236 sane_devel=$ac_cv_prog_sane_devel
11237 if test -n "$sane_devel"; then
11238 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11239 echo "${ECHO_T}$sane_devel" >&6; }
11241 { echo "$as_me:$LINENO: result: no" >&5
11242 echo "${ECHO_T}no" >&6; }
11246 if test "$sane_devel" != "no"
11248 ac_sane_incl="`$sane_devel --cflags`"
11249 ac_save_CPPFLAGS="$CPPFLAGS"
11250 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
11251 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11252 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11253 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11254 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11255 echo $ECHO_N "(cached) $ECHO_C" >&6
11257 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11258 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11260 # Is the header compilable?
11261 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11262 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11263 cat >conftest.$ac_ext <<_ACEOF
11266 cat confdefs.h >>conftest.$ac_ext
11267 cat >>conftest.$ac_ext <<_ACEOF
11268 /* end confdefs.h. */
11269 $ac_includes_default
11270 #include <sane/sane.h>
11272 rm -f conftest.$ac_objext
11273 if { (ac_try="$ac_compile"
11274 case "(($ac_try" in
11275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11276 *) ac_try_echo=$ac_try;;
11278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11279 (eval "$ac_compile") 2>conftest.er1
11281 grep -v '^ *+' conftest.er1 >conftest.err
11283 cat conftest.err >&5
11284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11285 (exit $ac_status); } && {
11286 test -z "$ac_c_werror_flag" ||
11287 test ! -s conftest.err
11288 } && test -s conftest.$ac_objext; then
11289 ac_header_compiler=yes
11291 echo "$as_me: failed program was:" >&5
11292 sed 's/^/| /' conftest.$ac_ext >&5
11294 ac_header_compiler=no
11297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11298 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11299 echo "${ECHO_T}$ac_header_compiler" >&6; }
11301 # Is the header present?
11302 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11303 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11304 cat >conftest.$ac_ext <<_ACEOF
11307 cat confdefs.h >>conftest.$ac_ext
11308 cat >>conftest.$ac_ext <<_ACEOF
11309 /* end confdefs.h. */
11310 #include <sane/sane.h>
11312 if { (ac_try="$ac_cpp conftest.$ac_ext"
11313 case "(($ac_try" in
11314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11315 *) ac_try_echo=$ac_try;;
11317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11318 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11320 grep -v '^ *+' conftest.er1 >conftest.err
11322 cat conftest.err >&5
11323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11324 (exit $ac_status); } >/dev/null && {
11325 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11326 test ! -s conftest.err
11328 ac_header_preproc=yes
11330 echo "$as_me: failed program was:" >&5
11331 sed 's/^/| /' conftest.$ac_ext >&5
11333 ac_header_preproc=no
11336 rm -f conftest.err conftest.$ac_ext
11337 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11338 echo "${ECHO_T}$ac_header_preproc" >&6; }
11340 # So? What about this header?
11341 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11343 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11344 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11345 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11346 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11347 ac_header_preproc=yes
11350 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11351 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11352 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11353 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11354 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11355 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11356 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11357 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11358 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11359 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11360 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11361 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11363 ## ------------------------------------ ##
11364 ## Report this to wine-devel@winehq.org ##
11365 ## ------------------------------------ ##
11367 ) | sed "s/^/$as_me: WARNING: /" >&2
11370 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11371 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11372 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11373 echo $ECHO_N "(cached) $ECHO_C" >&6
11375 ac_cv_header_sane_sane_h=$ac_header_preproc
11377 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11378 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11381 if test $ac_cv_header_sane_sane_h = yes; then
11382 { echo "$as_me:$LINENO: checking for -lsane" >&5
11383 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
11384 if test "${ac_cv_lib_soname_sane+set}" = set; then
11385 echo $ECHO_N "(cached) $ECHO_C" >&6
11387 ac_check_soname_save_LIBS=$LIBS
11388 LIBS="-lsane $LIBS"
11389 cat >conftest.$ac_ext <<_ACEOF
11392 cat confdefs.h >>conftest.$ac_ext
11393 cat >>conftest.$ac_ext <<_ACEOF
11394 /* end confdefs.h. */
11396 /* Override any GCC internal prototype to avoid an error.
11397 Use char because int might match the return type of a GCC
11398 builtin and then its argument prototype would still apply. */
11406 return sane_init ();
11411 rm -f conftest.$ac_objext conftest$ac_exeext
11412 if { (ac_try="$ac_link"
11413 case "(($ac_try" in
11414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11415 *) ac_try_echo=$ac_try;;
11417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11418 (eval "$ac_link") 2>conftest.er1
11420 grep -v '^ *+' conftest.er1 >conftest.err
11422 cat conftest.err >&5
11423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11424 (exit $ac_status); } && {
11425 test -z "$ac_c_werror_flag" ||
11426 test ! -s conftest.err
11427 } && test -s conftest$ac_exeext &&
11428 $as_test_x conftest$ac_exeext; then
11431 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'` ;;
11432 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11435 echo "$as_me: failed program was:" >&5
11436 sed 's/^/| /' conftest.$ac_ext >&5
11441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11442 conftest$ac_exeext conftest.$ac_ext
11443 LIBS=$ac_check_soname_save_LIBS
11445 if test "x$ac_cv_lib_soname_sane" = "x"; then
11446 { echo "$as_me:$LINENO: result: not found" >&5
11447 echo "${ECHO_T}not found" >&6; }
11450 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
11451 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
11453 cat >>confdefs.h <<_ACEOF
11454 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11457 SANEINCL="$ac_sane_incl"
11464 CPPFLAGS="$ac_save_CPPFLAGS"
11467 # Extract the first word of "gphoto2-config", so it can be a program name with args.
11468 set dummy gphoto2-config; ac_word=$2
11469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11471 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
11472 echo $ECHO_N "(cached) $ECHO_C" >&6
11474 if test -n "$gphoto2_devel"; then
11475 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
11477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11478 for as_dir in $PATH
11481 test -z "$as_dir" && as_dir=.
11482 for ac_exec_ext in '' $ac_executable_extensions; do
11483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11484 ac_cv_prog_gphoto2_devel="gphoto2-config"
11485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11492 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
11495 gphoto2_devel=$ac_cv_prog_gphoto2_devel
11496 if test -n "$gphoto2_devel"; then
11497 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
11498 echo "${ECHO_T}$gphoto2_devel" >&6; }
11500 { echo "$as_me:$LINENO: result: no" >&5
11501 echo "${ECHO_T}no" >&6; }
11505 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
11506 set dummy gphoto2-port-config; ac_word=$2
11507 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11509 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
11510 echo $ECHO_N "(cached) $ECHO_C" >&6
11512 if test -n "$gphoto2port_devel"; then
11513 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
11515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11516 for as_dir in $PATH
11519 test -z "$as_dir" && as_dir=.
11520 for ac_exec_ext in '' $ac_executable_extensions; do
11521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11522 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
11523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11530 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
11533 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
11534 if test -n "$gphoto2port_devel"; then
11535 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
11536 echo "${ECHO_T}$gphoto2port_devel" >&6; }
11538 { echo "$as_me:$LINENO: result: no" >&5
11539 echo "${ECHO_T}no" >&6; }
11547 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
11549 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
11551 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
11554 -L/usr/lib|-L/usr/lib64) ;;
11555 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
11558 ac_save_CPPFLAGS="$CPPFLAGS"
11559 ac_save_LIBS="$LIBS"
11560 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
11561 LIBS="$LIBS $GPHOTO2LIBS"
11562 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11563 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11564 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11565 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11566 echo $ECHO_N "(cached) $ECHO_C" >&6
11568 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11569 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11571 # Is the header compilable?
11572 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
11573 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
11574 cat >conftest.$ac_ext <<_ACEOF
11577 cat confdefs.h >>conftest.$ac_ext
11578 cat >>conftest.$ac_ext <<_ACEOF
11579 /* end confdefs.h. */
11580 $ac_includes_default
11581 #include <gphoto2-camera.h>
11583 rm -f conftest.$ac_objext
11584 if { (ac_try="$ac_compile"
11585 case "(($ac_try" in
11586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11587 *) ac_try_echo=$ac_try;;
11589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11590 (eval "$ac_compile") 2>conftest.er1
11592 grep -v '^ *+' conftest.er1 >conftest.err
11594 cat conftest.err >&5
11595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11596 (exit $ac_status); } && {
11597 test -z "$ac_c_werror_flag" ||
11598 test ! -s conftest.err
11599 } && test -s conftest.$ac_objext; then
11600 ac_header_compiler=yes
11602 echo "$as_me: failed program was:" >&5
11603 sed 's/^/| /' conftest.$ac_ext >&5
11605 ac_header_compiler=no
11608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11609 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11610 echo "${ECHO_T}$ac_header_compiler" >&6; }
11612 # Is the header present?
11613 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
11614 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
11615 cat >conftest.$ac_ext <<_ACEOF
11618 cat confdefs.h >>conftest.$ac_ext
11619 cat >>conftest.$ac_ext <<_ACEOF
11620 /* end confdefs.h. */
11621 #include <gphoto2-camera.h>
11623 if { (ac_try="$ac_cpp conftest.$ac_ext"
11624 case "(($ac_try" in
11625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11626 *) ac_try_echo=$ac_try;;
11628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11629 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11631 grep -v '^ *+' conftest.er1 >conftest.err
11633 cat conftest.err >&5
11634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11635 (exit $ac_status); } >/dev/null && {
11636 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11637 test ! -s conftest.err
11639 ac_header_preproc=yes
11641 echo "$as_me: failed program was:" >&5
11642 sed 's/^/| /' conftest.$ac_ext >&5
11644 ac_header_preproc=no
11647 rm -f conftest.err conftest.$ac_ext
11648 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11649 echo "${ECHO_T}$ac_header_preproc" >&6; }
11651 # So? What about this header?
11652 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11654 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
11655 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11656 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
11657 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
11658 ac_header_preproc=yes
11661 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
11662 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
11663 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
11664 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
11665 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
11666 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
11667 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
11668 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
11669 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
11670 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
11671 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
11672 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
11674 ## ------------------------------------ ##
11675 ## Report this to wine-devel@winehq.org ##
11676 ## ------------------------------------ ##
11678 ) | sed "s/^/$as_me: WARNING: /" >&2
11681 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11682 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11683 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11684 echo $ECHO_N "(cached) $ECHO_C" >&6
11686 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
11688 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11689 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11692 if test $ac_cv_header_gphoto2_camera_h = yes; then
11693 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
11694 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
11695 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
11696 echo $ECHO_N "(cached) $ECHO_C" >&6
11698 ac_check_lib_save_LIBS=$LIBS
11699 LIBS="-lgphoto2 $LIBS"
11700 cat >conftest.$ac_ext <<_ACEOF
11703 cat confdefs.h >>conftest.$ac_ext
11704 cat >>conftest.$ac_ext <<_ACEOF
11705 /* end confdefs.h. */
11707 /* Override any GCC internal prototype to avoid an error.
11708 Use char because int might match the return type of a GCC
11709 builtin and then its argument prototype would still apply. */
11713 char gp_camera_new ();
11717 return gp_camera_new ();
11722 rm -f conftest.$ac_objext conftest$ac_exeext
11723 if { (ac_try="$ac_link"
11724 case "(($ac_try" in
11725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11726 *) ac_try_echo=$ac_try;;
11728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11729 (eval "$ac_link") 2>conftest.er1
11731 grep -v '^ *+' conftest.er1 >conftest.err
11733 cat conftest.err >&5
11734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11735 (exit $ac_status); } && {
11736 test -z "$ac_c_werror_flag" ||
11737 test ! -s conftest.err
11738 } && test -s conftest$ac_exeext &&
11739 $as_test_x conftest$ac_exeext; then
11740 ac_cv_lib_gphoto2_gp_camera_new=yes
11742 echo "$as_me: failed program was:" >&5
11743 sed 's/^/| /' conftest.$ac_ext >&5
11745 ac_cv_lib_gphoto2_gp_camera_new=no
11748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11749 conftest$ac_exeext conftest.$ac_ext
11750 LIBS=$ac_check_lib_save_LIBS
11752 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11753 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11754 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
11756 cat >>confdefs.h <<\_ACEOF
11757 #define HAVE_GPHOTO2 1
11771 LIBS="$ac_save_LIBS"
11772 CPPFLAGS="$ac_save_CPPFLAGS"
11775 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
11778 icu_libs="-lsicuuc -lsicudata -lstdc++ -lgcc_s"
11779 if test -n "$ICU_LIB_DIR"
11781 icu_libs="-L$ICU_LIB_DIR $icu_libs"
11783 { echo "$as_me:$LINENO: checking whether can link with ICU libraries" >&5
11784 echo $ECHO_N "checking whether can link with ICU libraries... $ECHO_C" >&6; }
11785 LIBS="$saved_libs $icu_libs"
11786 if test "$cross_compiling" = yes; then
11787 { echo "$as_me:$LINENO: result: no" >&5
11788 echo "${ECHO_T}no" >&6; }
11790 cat >conftest.$ac_ext <<_ACEOF
11793 cat confdefs.h >>conftest.$ac_ext
11794 cat >>conftest.$ac_ext <<_ACEOF
11795 /* end confdefs.h. */
11796 #include <unicode/ubidi.h>
11805 rm -f conftest$ac_exeext
11806 if { (ac_try="$ac_link"
11807 case "(($ac_try" in
11808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11809 *) ac_try_echo=$ac_try;;
11811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11812 (eval "$ac_link") 2>&5
11814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11815 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11816 { (case "(($ac_try" in
11817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11818 *) ac_try_echo=$ac_try;;
11820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11821 (eval "$ac_try") 2>&5
11823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11824 (exit $ac_status); }; }; then
11826 cat >>confdefs.h <<\_ACEOF
11830 ICULIBS="$icu_libs"
11832 { echo "$as_me:$LINENO: result: yes" >&5
11833 echo "${ECHO_T}yes" >&6; }
11835 echo "$as_me: program exited with status $ac_status" >&5
11836 echo "$as_me: failed program was:" >&5
11837 sed 's/^/| /' conftest.$ac_ext >&5
11839 ( exit $ac_status )
11840 { echo "$as_me:$LINENO: result: no" >&5
11841 echo "${ECHO_T}no" >&6; }
11843 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11852 if test "$ac_cv_header_resolv_h" = "yes"
11854 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
11855 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
11856 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
11857 echo $ECHO_N "(cached) $ECHO_C" >&6
11859 ac_check_lib_save_LIBS=$LIBS
11860 LIBS="-lresolv $LIBS"
11861 cat >conftest.$ac_ext <<_ACEOF
11864 cat confdefs.h >>conftest.$ac_ext
11865 cat >>conftest.$ac_ext <<_ACEOF
11866 /* end confdefs.h. */
11868 /* Override any GCC internal prototype to avoid an error.
11869 Use char because int might match the return type of a GCC
11870 builtin and then its argument prototype would still apply. */
11878 return res_query ();
11883 rm -f conftest.$ac_objext conftest$ac_exeext
11884 if { (ac_try="$ac_link"
11885 case "(($ac_try" in
11886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11887 *) ac_try_echo=$ac_try;;
11889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11890 (eval "$ac_link") 2>conftest.er1
11892 grep -v '^ *+' conftest.er1 >conftest.err
11894 cat conftest.err >&5
11895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11896 (exit $ac_status); } && {
11897 test -z "$ac_c_werror_flag" ||
11898 test ! -s conftest.err
11899 } && test -s conftest$ac_exeext &&
11900 $as_test_x conftest$ac_exeext; then
11901 ac_cv_lib_resolv_res_query=yes
11903 echo "$as_me: failed program was:" >&5
11904 sed 's/^/| /' conftest.$ac_ext >&5
11906 ac_cv_lib_resolv_res_query=no
11909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11910 conftest$ac_exeext conftest.$ac_ext
11911 LIBS=$ac_check_lib_save_LIBS
11913 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
11914 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
11915 if test $ac_cv_lib_resolv_res_query = yes; then
11917 cat >>confdefs.h <<\_ACEOF
11918 #define HAVE_RESOLV 1
11921 RESOLVLIBS="-lresolv"
11928 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
11930 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
11931 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
11932 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
11933 echo $ECHO_N "(cached) $ECHO_C" >&6
11935 ac_check_lib_save_LIBS=$LIBS
11936 LIBS="-llcms $LIBS"
11937 cat >conftest.$ac_ext <<_ACEOF
11940 cat confdefs.h >>conftest.$ac_ext
11941 cat >>conftest.$ac_ext <<_ACEOF
11942 /* end confdefs.h. */
11944 /* Override any GCC internal prototype to avoid an error.
11945 Use char because int might match the return type of a GCC
11946 builtin and then its argument prototype would still apply. */
11950 char cmsOpenProfileFromFile ();
11954 return cmsOpenProfileFromFile ();
11959 rm -f conftest.$ac_objext conftest$ac_exeext
11960 if { (ac_try="$ac_link"
11961 case "(($ac_try" in
11962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11963 *) ac_try_echo=$ac_try;;
11965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11966 (eval "$ac_link") 2>conftest.er1
11968 grep -v '^ *+' conftest.er1 >conftest.err
11970 cat conftest.err >&5
11971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11972 (exit $ac_status); } && {
11973 test -z "$ac_c_werror_flag" ||
11974 test ! -s conftest.err
11975 } && test -s conftest$ac_exeext &&
11976 $as_test_x conftest$ac_exeext; then
11977 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
11979 echo "$as_me: failed program was:" >&5
11980 sed 's/^/| /' conftest.$ac_ext >&5
11982 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
11985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11986 conftest$ac_exeext conftest.$ac_ext
11987 LIBS=$ac_check_lib_save_LIBS
11989 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
11990 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
11991 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
11993 cat >>confdefs.h <<\_ACEOF
11994 #define HAVE_LCMS 1
12004 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12006 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12007 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12008 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12009 echo $ECHO_N "(cached) $ECHO_C" >&6
12011 ac_check_lib_save_LIBS=$LIBS
12012 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12013 cat >conftest.$ac_ext <<_ACEOF
12016 cat confdefs.h >>conftest.$ac_ext
12017 cat >>conftest.$ac_ext <<_ACEOF
12018 /* end confdefs.h. */
12020 /* Override any GCC internal prototype to avoid an error.
12021 Use char because int might match the return type of a GCC
12022 builtin and then its argument prototype would still apply. */
12026 char ldap_initialize ();
12030 return ldap_initialize ();
12035 rm -f conftest.$ac_objext conftest$ac_exeext
12036 if { (ac_try="$ac_link"
12037 case "(($ac_try" in
12038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12039 *) ac_try_echo=$ac_try;;
12041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12042 (eval "$ac_link") 2>conftest.er1
12044 grep -v '^ *+' conftest.er1 >conftest.err
12046 cat conftest.err >&5
12047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12048 (exit $ac_status); } && {
12049 test -z "$ac_c_werror_flag" ||
12050 test ! -s conftest.err
12051 } && test -s conftest$ac_exeext &&
12052 $as_test_x conftest$ac_exeext; then
12053 ac_cv_lib_ldap_r_ldap_initialize=yes
12055 echo "$as_me: failed program was:" >&5
12056 sed 's/^/| /' conftest.$ac_ext >&5
12058 ac_cv_lib_ldap_r_ldap_initialize=no
12061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12062 conftest$ac_exeext conftest.$ac_ext
12063 LIBS=$ac_check_lib_save_LIBS
12065 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12066 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12067 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12068 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12069 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12070 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12071 echo $ECHO_N "(cached) $ECHO_C" >&6
12073 ac_check_lib_save_LIBS=$LIBS
12074 LIBS="-llber $LIBPTHREAD $LIBS"
12075 cat >conftest.$ac_ext <<_ACEOF
12078 cat confdefs.h >>conftest.$ac_ext
12079 cat >>conftest.$ac_ext <<_ACEOF
12080 /* end confdefs.h. */
12082 /* Override any GCC internal prototype to avoid an error.
12083 Use char because int might match the return type of a GCC
12084 builtin and then its argument prototype would still apply. */
12092 return ber_init ();
12097 rm -f conftest.$ac_objext conftest$ac_exeext
12098 if { (ac_try="$ac_link"
12099 case "(($ac_try" in
12100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12101 *) ac_try_echo=$ac_try;;
12103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12104 (eval "$ac_link") 2>conftest.er1
12106 grep -v '^ *+' conftest.er1 >conftest.err
12108 cat conftest.err >&5
12109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12110 (exit $ac_status); } && {
12111 test -z "$ac_c_werror_flag" ||
12112 test ! -s conftest.err
12113 } && test -s conftest$ac_exeext &&
12114 $as_test_x conftest$ac_exeext; then
12115 ac_cv_lib_lber_ber_init=yes
12117 echo "$as_me: failed program was:" >&5
12118 sed 's/^/| /' conftest.$ac_ext >&5
12120 ac_cv_lib_lber_ber_init=no
12123 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12124 conftest$ac_exeext conftest.$ac_ext
12125 LIBS=$ac_check_lib_save_LIBS
12127 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12128 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12129 if test $ac_cv_lib_lber_ber_init = yes; then
12131 cat >>confdefs.h <<\_ACEOF
12132 #define HAVE_LDAP 1
12135 LDAPLIBS="-lldap_r -llber"
12140 ac_wine_check_funcs_save_LIBS="$LIBS"
12141 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12147 ldap_count_references \
12148 ldap_first_reference \
12149 ldap_next_reference \
12150 ldap_parse_reference
12152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12153 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12155 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12156 echo $ECHO_N "(cached) $ECHO_C" >&6
12158 cat >conftest.$ac_ext <<_ACEOF
12161 cat confdefs.h >>conftest.$ac_ext
12162 cat >>conftest.$ac_ext <<_ACEOF
12163 /* end confdefs.h. */
12164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12166 #define $ac_func innocuous_$ac_func
12168 /* System header to define __stub macros and hopefully few prototypes,
12169 which can conflict with char $ac_func (); below.
12170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12171 <limits.h> exists even on freestanding compilers. */
12174 # include <limits.h>
12176 # include <assert.h>
12181 /* Override any GCC internal prototype to avoid an error.
12182 Use char because int might match the return type of a GCC
12183 builtin and then its argument prototype would still apply. */
12188 /* The GNU C library defines this for functions which it implements
12189 to always fail with ENOSYS. Some functions are actually named
12190 something starting with __ and the normal name is an alias. */
12191 #if defined __stub_$ac_func || defined __stub___$ac_func
12198 return $ac_func ();
12203 rm -f conftest.$ac_objext conftest$ac_exeext
12204 if { (ac_try="$ac_link"
12205 case "(($ac_try" in
12206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12207 *) ac_try_echo=$ac_try;;
12209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12210 (eval "$ac_link") 2>conftest.er1
12212 grep -v '^ *+' conftest.er1 >conftest.err
12214 cat conftest.err >&5
12215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12216 (exit $ac_status); } && {
12217 test -z "$ac_c_werror_flag" ||
12218 test ! -s conftest.err
12219 } && test -s conftest$ac_exeext &&
12220 $as_test_x conftest$ac_exeext; then
12221 eval "$as_ac_var=yes"
12223 echo "$as_me: failed program was:" >&5
12224 sed 's/^/| /' conftest.$ac_ext >&5
12226 eval "$as_ac_var=no"
12229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12230 conftest$ac_exeext conftest.$ac_ext
12232 ac_res=`eval echo '${'$as_ac_var'}'`
12233 { echo "$as_me:$LINENO: result: $ac_res" >&5
12234 echo "${ECHO_T}$ac_res" >&6; }
12235 if test `eval echo '${'$as_ac_var'}'` = yes; then
12236 cat >>confdefs.h <<_ACEOF
12237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12243 LIBS="$ac_wine_check_funcs_save_LIBS"
12250 # Extract the first word of "freetype-config", so it can be a program name with args.
12251 set dummy freetype-config; ac_word=$2
12252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12254 if test "${ac_cv_prog_ft_devel+set}" = set; then
12255 echo $ECHO_N "(cached) $ECHO_C" >&6
12257 if test -n "$ft_devel"; then
12258 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12261 for as_dir in $PATH
12264 test -z "$as_dir" && as_dir=.
12265 for ac_exec_ext in '' $ac_executable_extensions; do
12266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12267 ac_cv_prog_ft_devel="freetype-config"
12268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12275 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
12278 ft_devel=$ac_cv_prog_ft_devel
12279 if test -n "$ft_devel"; then
12280 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12281 echo "${ECHO_T}$ft_devel" >&6; }
12283 { echo "$as_me:$LINENO: result: no" >&5
12284 echo "${ECHO_T}no" >&6; }
12288 if test "$ft_devel" = "no"
12290 # Extract the first word of "freetype2-config", so it can be a program name with args.
12291 set dummy freetype2-config; ac_word=$2
12292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12294 if test "${ac_cv_prog_ft_devel2+set}" = set; then
12295 echo $ECHO_N "(cached) $ECHO_C" >&6
12297 if test -n "$ft_devel2"; then
12298 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
12300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12301 for as_dir in $PATH
12304 test -z "$as_dir" && as_dir=.
12305 for ac_exec_ext in '' $ac_executable_extensions; do
12306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12307 ac_cv_prog_ft_devel2="freetype2-config"
12308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12315 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
12318 ft_devel2=$ac_cv_prog_ft_devel2
12319 if test -n "$ft_devel2"; then
12320 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
12321 echo "${ECHO_T}$ft_devel2" >&6; }
12323 { echo "$as_me:$LINENO: result: no" >&5
12324 echo "${ECHO_T}no" >&6; }
12328 if test "$ft_devel2" = "freetype2-config"
12330 ft_devel=$ft_devel2
12334 if test "$ft_devel" = "no"
12336 wine_cv_msg_freetype=yes
12338 FREETYPELIBS=`$ft_devel --libs`
12339 FREETYPEINCL=`$ft_devel --cflags`
12340 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
12341 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
12342 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
12343 echo $ECHO_N "(cached) $ECHO_C" >&6
12345 ac_check_lib_save_LIBS=$LIBS
12346 LIBS="-lfreetype $FREETYPELIBS $LIBS"
12347 cat >conftest.$ac_ext <<_ACEOF
12350 cat confdefs.h >>conftest.$ac_ext
12351 cat >>conftest.$ac_ext <<_ACEOF
12352 /* end confdefs.h. */
12354 /* Override any GCC internal prototype to avoid an error.
12355 Use char because int might match the return type of a GCC
12356 builtin and then its argument prototype would still apply. */
12360 char FT_Init_FreeType ();
12364 return FT_Init_FreeType ();
12369 rm -f conftest.$ac_objext conftest$ac_exeext
12370 if { (ac_try="$ac_link"
12371 case "(($ac_try" in
12372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12373 *) ac_try_echo=$ac_try;;
12375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12376 (eval "$ac_link") 2>conftest.er1
12378 grep -v '^ *+' conftest.er1 >conftest.err
12380 cat conftest.err >&5
12381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12382 (exit $ac_status); } && {
12383 test -z "$ac_c_werror_flag" ||
12384 test ! -s conftest.err
12385 } && test -s conftest$ac_exeext &&
12386 $as_test_x conftest$ac_exeext; then
12387 ac_cv_lib_freetype_FT_Init_FreeType=yes
12389 echo "$as_me: failed program was:" >&5
12390 sed 's/^/| /' conftest.$ac_ext >&5
12392 ac_cv_lib_freetype_FT_Init_FreeType=no
12395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12396 conftest$ac_exeext conftest.$ac_ext
12397 LIBS=$ac_check_lib_save_LIBS
12399 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
12400 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
12401 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
12407 if test "$ft_lib" = "no"
12409 wine_cv_msg_freetype=yes
12413 ac_save_CPPFLAGS="$CPPFLAGS"
12414 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
12426 for ac_header in ft2build.h \
12427 freetype/freetype.h \
12428 freetype/ftglyph.h \
12429 freetype/tttables.h \
12430 freetype/ftnames.h \
12431 freetype/ftsnames.h \
12432 freetype/ttnameid.h \
12433 freetype/ftoutln.h \
12434 freetype/ftwinfnt.h \
12435 freetype/ftmodapi.h \
12436 freetype/internal/sfnt.h
12438 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12439 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12440 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12441 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12442 echo $ECHO_N "(cached) $ECHO_C" >&6
12444 cat >conftest.$ac_ext <<_ACEOF
12447 cat confdefs.h >>conftest.$ac_ext
12448 cat >>conftest.$ac_ext <<_ACEOF
12449 /* end confdefs.h. */
12450 #if HAVE_FT2BUILD_H
12451 #include <ft2build.h>
12454 #include <$ac_header>
12456 rm -f conftest.$ac_objext
12457 if { (ac_try="$ac_compile"
12458 case "(($ac_try" in
12459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12460 *) ac_try_echo=$ac_try;;
12462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12463 (eval "$ac_compile") 2>conftest.er1
12465 grep -v '^ *+' conftest.er1 >conftest.err
12467 cat conftest.err >&5
12468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12469 (exit $ac_status); } && {
12470 test -z "$ac_c_werror_flag" ||
12471 test ! -s conftest.err
12472 } && test -s conftest.$ac_objext; then
12473 eval "$as_ac_Header=yes"
12475 echo "$as_me: failed program was:" >&5
12476 sed 's/^/| /' conftest.$ac_ext >&5
12478 eval "$as_ac_Header=no"
12481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12483 ac_res=`eval echo '${'$as_ac_Header'}'`
12484 { echo "$as_me:$LINENO: result: $ac_res" >&5
12485 echo "${ECHO_T}$ac_res" >&6; }
12486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12487 cat >>confdefs.h <<_ACEOF
12488 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12495 cat >conftest.$ac_ext <<_ACEOF
12498 cat confdefs.h >>conftest.$ac_ext
12499 cat >>conftest.$ac_ext <<_ACEOF
12500 /* end confdefs.h. */
12501 #include <ft2build.h>
12502 #include <freetype/fttrigon.h>
12504 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null && {
12517 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12518 test ! -s conftest.err
12521 cat >>confdefs.h <<\_ACEOF
12522 #define HAVE_FREETYPE_FTTRIGON_H 1
12525 wine_cv_fttrigon=yes
12527 echo "$as_me: failed program was:" >&5
12528 sed 's/^/| /' conftest.$ac_ext >&5
12530 wine_cv_fttrigon=no
12533 rm -f conftest.err conftest.$ac_ext
12534 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
12535 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
12536 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
12537 echo $ECHO_N "(cached) $ECHO_C" >&6
12539 cat >conftest.$ac_ext <<_ACEOF
12542 cat confdefs.h >>conftest.$ac_ext
12543 cat >>conftest.$ac_ext <<_ACEOF
12544 /* end confdefs.h. */
12545 #include <freetype/ftmodapi.h>
12547 typedef FT_TrueTypeEngineType ac__type_new_;
12551 if ((ac__type_new_ *) 0)
12553 if (sizeof (ac__type_new_))
12559 rm -f conftest.$ac_objext
12560 if { (ac_try="$ac_compile"
12561 case "(($ac_try" in
12562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12563 *) ac_try_echo=$ac_try;;
12565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12566 (eval "$ac_compile") 2>conftest.er1
12568 grep -v '^ *+' conftest.er1 >conftest.err
12570 cat conftest.err >&5
12571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12572 (exit $ac_status); } && {
12573 test -z "$ac_c_werror_flag" ||
12574 test ! -s conftest.err
12575 } && test -s conftest.$ac_objext; then
12576 ac_cv_type_FT_TrueTypeEngineType=yes
12578 echo "$as_me: failed program was:" >&5
12579 sed 's/^/| /' conftest.$ac_ext >&5
12581 ac_cv_type_FT_TrueTypeEngineType=no
12584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12586 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
12587 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
12588 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
12590 cat >>confdefs.h <<_ACEOF
12591 #define HAVE_FT_TRUETYPEENGINETYPE 1
12597 ac_save_CFLAGS="$CFLAGS"
12598 CFLAGS="$CFLAGS $FREETYPELIBS"
12600 for ac_func in FT_Load_Sfnt_Table
12602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12603 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12605 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12606 echo $ECHO_N "(cached) $ECHO_C" >&6
12608 cat >conftest.$ac_ext <<_ACEOF
12611 cat confdefs.h >>conftest.$ac_ext
12612 cat >>conftest.$ac_ext <<_ACEOF
12613 /* end confdefs.h. */
12614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12616 #define $ac_func innocuous_$ac_func
12618 /* System header to define __stub macros and hopefully few prototypes,
12619 which can conflict with char $ac_func (); below.
12620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12621 <limits.h> exists even on freestanding compilers. */
12624 # include <limits.h>
12626 # include <assert.h>
12631 /* Override any GCC internal prototype to avoid an error.
12632 Use char because int might match the return type of a GCC
12633 builtin and then its argument prototype would still apply. */
12638 /* The GNU C library defines this for functions which it implements
12639 to always fail with ENOSYS. Some functions are actually named
12640 something starting with __ and the normal name is an alias. */
12641 #if defined __stub_$ac_func || defined __stub___$ac_func
12648 return $ac_func ();
12653 rm -f conftest.$ac_objext conftest$ac_exeext
12654 if { (ac_try="$ac_link"
12655 case "(($ac_try" in
12656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12657 *) ac_try_echo=$ac_try;;
12659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12660 (eval "$ac_link") 2>conftest.er1
12662 grep -v '^ *+' conftest.er1 >conftest.err
12664 cat conftest.err >&5
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); } && {
12667 test -z "$ac_c_werror_flag" ||
12668 test ! -s conftest.err
12669 } && test -s conftest$ac_exeext &&
12670 $as_test_x conftest$ac_exeext; then
12671 eval "$as_ac_var=yes"
12673 echo "$as_me: failed program was:" >&5
12674 sed 's/^/| /' conftest.$ac_ext >&5
12676 eval "$as_ac_var=no"
12679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12680 conftest$ac_exeext conftest.$ac_ext
12682 ac_res=`eval echo '${'$as_ac_var'}'`
12683 { echo "$as_me:$LINENO: result: $ac_res" >&5
12684 echo "${ECHO_T}$ac_res" >&6; }
12685 if test `eval echo '${'$as_ac_var'}'` = yes; then
12686 cat >>confdefs.h <<_ACEOF
12687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12693 CFLAGS="$ac_save_CFLAGS"
12694 CPPFLAGS="$ac_save_CPPFLAGS"
12695 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
12698 cat >>confdefs.h <<\_ACEOF
12699 #define HAVE_FREETYPE 1
12702 wine_cv_msg_freetype=no
12706 wine_cv_msg_freetype=yes
12711 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
12713 FONTSSUBDIRS="fonts"
12717 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
12718 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
12719 if test "${ac_cv_c_ppdev+set}" = set; then
12720 echo $ECHO_N "(cached) $ECHO_C" >&6
12722 cat >conftest.$ac_ext <<_ACEOF
12725 cat confdefs.h >>conftest.$ac_ext
12726 cat >>conftest.$ac_ext <<_ACEOF
12727 /* end confdefs.h. */
12728 #include <linux/ppdev.h>
12732 ioctl (1,PPCLAIM,0)
12737 rm -f conftest.$ac_objext
12738 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
12754 ac_cv_c_ppdev="yes"
12756 echo "$as_me: failed program was:" >&5
12757 sed 's/^/| /' conftest.$ac_ext >&5
12762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12764 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
12765 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
12766 if test "$ac_cv_c_ppdev" = "yes"
12769 cat >>confdefs.h <<\_ACEOF
12770 #define HAVE_PPDEV 1
12775 { echo "$as_me:$LINENO: checking for va_copy" >&5
12776 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
12777 if test "${ac_cv_c_va_copy+set}" = set; then
12778 echo $ECHO_N "(cached) $ECHO_C" >&6
12780 cat >conftest.$ac_ext <<_ACEOF
12783 cat confdefs.h >>conftest.$ac_ext
12784 cat >>conftest.$ac_ext <<_ACEOF
12785 /* end confdefs.h. */
12786 #include <stdarg.h>
12790 va_list ap1, ap2; va_copy(ap1,ap2);
12795 rm -f conftest.$ac_objext conftest$ac_exeext
12796 if { (ac_try="$ac_link"
12797 case "(($ac_try" in
12798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12799 *) ac_try_echo=$ac_try;;
12801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12802 (eval "$ac_link") 2>conftest.er1
12804 grep -v '^ *+' conftest.er1 >conftest.err
12806 cat conftest.err >&5
12807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808 (exit $ac_status); } && {
12809 test -z "$ac_c_werror_flag" ||
12810 test ! -s conftest.err
12811 } && test -s conftest$ac_exeext &&
12812 $as_test_x conftest$ac_exeext; then
12813 ac_cv_c_va_copy="yes"
12815 echo "$as_me: failed program was:" >&5
12816 sed 's/^/| /' conftest.$ac_ext >&5
12818 ac_cv_c_va_copy="no"
12821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12822 conftest$ac_exeext conftest.$ac_ext
12825 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
12826 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
12827 if test "$ac_cv_c_va_copy" = "yes"
12830 cat >>confdefs.h <<\_ACEOF
12831 #define HAVE_VA_COPY 1
12835 { echo "$as_me:$LINENO: checking for __va_copy" >&5
12836 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
12837 if test "${ac_cv_c___va_copy+set}" = set; then
12838 echo $ECHO_N "(cached) $ECHO_C" >&6
12840 cat >conftest.$ac_ext <<_ACEOF
12843 cat confdefs.h >>conftest.$ac_ext
12844 cat >>conftest.$ac_ext <<_ACEOF
12845 /* end confdefs.h. */
12846 #include <stdarg.h>
12850 va_list ap1, ap2; __va_copy(ap1,ap2);
12855 rm -f conftest.$ac_objext conftest$ac_exeext
12856 if { (ac_try="$ac_link"
12857 case "(($ac_try" in
12858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12859 *) ac_try_echo=$ac_try;;
12861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12862 (eval "$ac_link") 2>conftest.er1
12864 grep -v '^ *+' conftest.er1 >conftest.err
12866 cat conftest.err >&5
12867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868 (exit $ac_status); } && {
12869 test -z "$ac_c_werror_flag" ||
12870 test ! -s conftest.err
12871 } && test -s conftest$ac_exeext &&
12872 $as_test_x conftest$ac_exeext; then
12873 ac_cv_c___va_copy="yes"
12875 echo "$as_me: failed program was:" >&5
12876 sed 's/^/| /' conftest.$ac_ext >&5
12878 ac_cv_c___va_copy="no"
12881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12882 conftest$ac_exeext conftest.$ac_ext
12885 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
12886 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
12887 if test "$ac_cv_c___va_copy" = "yes"
12890 cat >>confdefs.h <<\_ACEOF
12891 #define HAVE___VA_COPY 1
12896 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
12897 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
12898 if test "${ac_cv_c_sigsetjmp+set}" = set; then
12899 echo $ECHO_N "(cached) $ECHO_C" >&6
12901 cat >conftest.$ac_ext <<_ACEOF
12904 cat confdefs.h >>conftest.$ac_ext
12905 cat >>conftest.$ac_ext <<_ACEOF
12906 /* end confdefs.h. */
12907 #include <setjmp.h>
12912 sigsetjmp( buf, 1 );
12913 siglongjmp( buf, 1 );
12918 rm -f conftest.$ac_objext conftest$ac_exeext
12919 if { (ac_try="$ac_link"
12920 case "(($ac_try" in
12921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12922 *) ac_try_echo=$ac_try;;
12924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12925 (eval "$ac_link") 2>conftest.er1
12927 grep -v '^ *+' conftest.er1 >conftest.err
12929 cat conftest.err >&5
12930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12931 (exit $ac_status); } && {
12932 test -z "$ac_c_werror_flag" ||
12933 test ! -s conftest.err
12934 } && test -s conftest$ac_exeext &&
12935 $as_test_x conftest$ac_exeext; then
12936 ac_cv_c_sigsetjmp="yes"
12938 echo "$as_me: failed program was:" >&5
12939 sed 's/^/| /' conftest.$ac_ext >&5
12941 ac_cv_c_sigsetjmp="no"
12944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12945 conftest$ac_exeext conftest.$ac_ext
12948 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
12949 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
12950 if test "$ac_cv_c_sigsetjmp" = "yes"
12953 cat >>confdefs.h <<\_ACEOF
12954 #define HAVE_SIGSETJMP 1
12959 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
12960 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
12961 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
12962 echo $ECHO_N "(cached) $ECHO_C" >&6
12964 cat >conftest.$ac_ext <<_ACEOF
12967 cat confdefs.h >>conftest.$ac_ext
12968 cat >>conftest.$ac_ext <<_ACEOF
12969 /* end confdefs.h. */
12970 #define _GNU_SOURCE
12971 #include <pthread.h>
12973 typedef pthread_rwlock_t ac__type_new_;
12977 if ((ac__type_new_ *) 0)
12979 if (sizeof (ac__type_new_))
12985 rm -f conftest.$ac_objext
12986 if { (ac_try="$ac_compile"
12987 case "(($ac_try" in
12988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12989 *) ac_try_echo=$ac_try;;
12991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12992 (eval "$ac_compile") 2>conftest.er1
12994 grep -v '^ *+' conftest.er1 >conftest.err
12996 cat conftest.err >&5
12997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); } && {
12999 test -z "$ac_c_werror_flag" ||
13000 test ! -s conftest.err
13001 } && test -s conftest.$ac_objext; then
13002 ac_cv_type_pthread_rwlock_t=yes
13004 echo "$as_me: failed program was:" >&5
13005 sed 's/^/| /' conftest.$ac_ext >&5
13007 ac_cv_type_pthread_rwlock_t=no
13010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13012 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13013 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13014 if test $ac_cv_type_pthread_rwlock_t = yes; then
13016 cat >>confdefs.h <<_ACEOF
13017 #define HAVE_PTHREAD_RWLOCK_T 1
13022 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13023 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13024 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13025 echo $ECHO_N "(cached) $ECHO_C" >&6
13027 cat >conftest.$ac_ext <<_ACEOF
13030 cat confdefs.h >>conftest.$ac_ext
13031 cat >>conftest.$ac_ext <<_ACEOF
13032 /* end confdefs.h. */
13033 #define _GNU_SOURCE
13034 #include <pthread.h>
13036 typedef pthread_rwlockattr_t ac__type_new_;
13040 if ((ac__type_new_ *) 0)
13042 if (sizeof (ac__type_new_))
13048 rm -f conftest.$ac_objext
13049 if { (ac_try="$ac_compile"
13050 case "(($ac_try" in
13051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13052 *) ac_try_echo=$ac_try;;
13054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13055 (eval "$ac_compile") 2>conftest.er1
13057 grep -v '^ *+' conftest.er1 >conftest.err
13059 cat conftest.err >&5
13060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061 (exit $ac_status); } && {
13062 test -z "$ac_c_werror_flag" ||
13063 test ! -s conftest.err
13064 } && test -s conftest.$ac_objext; then
13065 ac_cv_type_pthread_rwlockattr_t=yes
13067 echo "$as_me: failed program was:" >&5
13068 sed 's/^/| /' conftest.$ac_ext >&5
13070 ac_cv_type_pthread_rwlockattr_t=no
13073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13075 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13076 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13077 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13079 cat >>confdefs.h <<_ACEOF
13080 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13087 ac_wine_check_funcs_save_LIBS="$LIBS"
13088 LIBS="$LIBS $LIBPTHREAD"
13094 pthread_attr_get_np \
13095 pthread_getattr_np \
13096 pthread_get_stackaddr_np \
13097 pthread_get_stacksize_np
13099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13100 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13102 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13103 echo $ECHO_N "(cached) $ECHO_C" >&6
13105 cat >conftest.$ac_ext <<_ACEOF
13108 cat confdefs.h >>conftest.$ac_ext
13109 cat >>conftest.$ac_ext <<_ACEOF
13110 /* end confdefs.h. */
13111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13113 #define $ac_func innocuous_$ac_func
13115 /* System header to define __stub macros and hopefully few prototypes,
13116 which can conflict with char $ac_func (); below.
13117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13118 <limits.h> exists even on freestanding compilers. */
13121 # include <limits.h>
13123 # include <assert.h>
13128 /* Override any GCC internal prototype to avoid an error.
13129 Use char because int might match the return type of a GCC
13130 builtin and then its argument prototype would still apply. */
13135 /* The GNU C library defines this for functions which it implements
13136 to always fail with ENOSYS. Some functions are actually named
13137 something starting with __ and the normal name is an alias. */
13138 #if defined __stub_$ac_func || defined __stub___$ac_func
13145 return $ac_func ();
13150 rm -f conftest.$ac_objext conftest$ac_exeext
13151 if { (ac_try="$ac_link"
13152 case "(($ac_try" in
13153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13154 *) ac_try_echo=$ac_try;;
13156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13157 (eval "$ac_link") 2>conftest.er1
13159 grep -v '^ *+' conftest.er1 >conftest.err
13161 cat conftest.err >&5
13162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13163 (exit $ac_status); } && {
13164 test -z "$ac_c_werror_flag" ||
13165 test ! -s conftest.err
13166 } && test -s conftest$ac_exeext &&
13167 $as_test_x conftest$ac_exeext; then
13168 eval "$as_ac_var=yes"
13170 echo "$as_me: failed program was:" >&5
13171 sed 's/^/| /' conftest.$ac_ext >&5
13173 eval "$as_ac_var=no"
13176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13177 conftest$ac_exeext conftest.$ac_ext
13179 ac_res=`eval echo '${'$as_ac_var'}'`
13180 { echo "$as_me:$LINENO: result: $ac_res" >&5
13181 echo "${ECHO_T}$ac_res" >&6; }
13182 if test `eval echo '${'$as_ac_var'}'` = yes; then
13183 cat >>confdefs.h <<_ACEOF
13184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13190 LIBS="$ac_wine_check_funcs_save_LIBS"
13192 # Extract the first word of "esd-config", so it can be a program name with args.
13193 set dummy esd-config; ac_word=$2
13194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13196 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13197 echo $ECHO_N "(cached) $ECHO_C" >&6
13201 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13205 for as_dir in $PATH
13208 test -z "$as_dir" && as_dir=.
13209 for ac_exec_ext in '' $ac_executable_extensions; do
13210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13211 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13222 ESDCONFIG=$ac_cv_path_ESDCONFIG
13223 if test -n "$ESDCONFIG"; then
13224 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13225 echo "${ECHO_T}$ESDCONFIG" >&6; }
13227 { echo "$as_me:$LINENO: result: no" >&5
13228 echo "${ECHO_T}no" >&6; }
13232 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13235 for i in `$ESDCONFIG --cflags`
13238 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13241 ESD_LIBS=`$ESDCONFIG --libs`
13242 save_CFLAGS="$CFLAGS"
13243 CFLAGS="$CFLAGS $ESD_CFLAGS"
13244 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13245 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13246 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13247 echo $ECHO_N "(cached) $ECHO_C" >&6
13249 ac_check_lib_save_LIBS=$LIBS
13251 cat >conftest.$ac_ext <<_ACEOF
13254 cat confdefs.h >>conftest.$ac_ext
13255 cat >>conftest.$ac_ext <<_ACEOF
13256 /* end confdefs.h. */
13258 /* Override any GCC internal prototype to avoid an error.
13259 Use char because int might match the return type of a GCC
13260 builtin and then its argument prototype would still apply. */
13264 char esd_open_sound ();
13268 return esd_open_sound ();
13273 rm -f conftest.$ac_objext conftest$ac_exeext
13274 if { (ac_try="$ac_link"
13275 case "(($ac_try" in
13276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13277 *) ac_try_echo=$ac_try;;
13279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13280 (eval "$ac_link") 2>conftest.er1
13282 grep -v '^ *+' conftest.er1 >conftest.err
13284 cat conftest.err >&5
13285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286 (exit $ac_status); } && {
13287 test -z "$ac_c_werror_flag" ||
13288 test ! -s conftest.err
13289 } && test -s conftest$ac_exeext &&
13290 $as_test_x conftest$ac_exeext; then
13291 ac_cv_lib_esd_esd_open_sound=yes
13293 echo "$as_me: failed program was:" >&5
13294 sed 's/^/| /' conftest.$ac_ext >&5
13296 ac_cv_lib_esd_esd_open_sound=no
13299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13300 conftest$ac_exeext conftest.$ac_ext
13301 LIBS=$ac_check_lib_save_LIBS
13303 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13304 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13305 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13308 ESDINCL=$ESD_CFLAGS
13311 cat >>confdefs.h <<\_ACEOF
13317 CFLAGS="$save_CFLAGS"
13322 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13324 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13325 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13326 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13327 echo $ECHO_N "(cached) $ECHO_C" >&6
13329 ac_check_lib_save_LIBS=$LIBS
13330 LIBS="-lasound $LIBS"
13331 cat >conftest.$ac_ext <<_ACEOF
13334 cat confdefs.h >>conftest.$ac_ext
13335 cat >>conftest.$ac_ext <<_ACEOF
13336 /* end confdefs.h. */
13338 /* Override any GCC internal prototype to avoid an error.
13339 Use char because int might match the return type of a GCC
13340 builtin and then its argument prototype would still apply. */
13344 char snd_pcm_hw_params_get_access ();
13348 return snd_pcm_hw_params_get_access ();
13353 rm -f conftest.$ac_objext conftest$ac_exeext
13354 if { (ac_try="$ac_link"
13355 case "(($ac_try" in
13356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13357 *) ac_try_echo=$ac_try;;
13359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13360 (eval "$ac_link") 2>conftest.er1
13362 grep -v '^ *+' conftest.er1 >conftest.err
13364 cat conftest.err >&5
13365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13366 (exit $ac_status); } && {
13367 test -z "$ac_c_werror_flag" ||
13368 test ! -s conftest.err
13369 } && test -s conftest$ac_exeext &&
13370 $as_test_x conftest$ac_exeext; then
13371 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
13373 echo "$as_me: failed program was:" >&5
13374 sed 's/^/| /' conftest.$ac_ext >&5
13376 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
13379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13380 conftest$ac_exeext conftest.$ac_ext
13381 LIBS=$ac_check_lib_save_LIBS
13383 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
13384 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
13385 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
13386 cat >conftest.$ac_ext <<_ACEOF
13389 cat confdefs.h >>conftest.$ac_ext
13390 cat >>conftest.$ac_ext <<_ACEOF
13391 /* end confdefs.h. */
13392 #ifdef HAVE_ALSA_ASOUNDLIB_H
13393 #include <alsa/asoundlib.h>
13394 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13395 #include <sys/asoundlib.h>
13400 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
13405 rm -f conftest.$ac_objext
13406 if { (ac_try="$ac_compile"
13407 case "(($ac_try" in
13408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13409 *) ac_try_echo=$ac_try;;
13411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13412 (eval "$ac_compile") 2>conftest.er1
13414 grep -v '^ *+' conftest.er1 >conftest.err
13416 cat conftest.err >&5
13417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13418 (exit $ac_status); } && {
13419 test -z "$ac_c_werror_flag" ||
13420 test ! -s conftest.err
13421 } && test -s conftest.$ac_objext; then
13423 cat >>confdefs.h <<\_ACEOF
13424 #define HAVE_ALSA 1
13427 ALSALIBS="-lasound"
13429 echo "$as_me: failed program was:" >&5
13430 sed 's/^/| /' conftest.$ac_ext >&5
13435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13443 if test "$ac_cv_header_libaudioio_h" = "yes"
13445 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
13446 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
13447 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
13448 echo $ECHO_N "(cached) $ECHO_C" >&6
13450 ac_check_lib_save_LIBS=$LIBS
13451 LIBS="-laudioio $LIBS"
13452 cat >conftest.$ac_ext <<_ACEOF
13455 cat confdefs.h >>conftest.$ac_ext
13456 cat >>conftest.$ac_ext <<_ACEOF
13457 /* end confdefs.h. */
13459 /* Override any GCC internal prototype to avoid an error.
13460 Use char because int might match the return type of a GCC
13461 builtin and then its argument prototype would still apply. */
13465 char AudioIOGetVersion ();
13469 return AudioIOGetVersion ();
13474 rm -f conftest.$ac_objext conftest$ac_exeext
13475 if { (ac_try="$ac_link"
13476 case "(($ac_try" in
13477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13478 *) ac_try_echo=$ac_try;;
13480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13481 (eval "$ac_link") 2>conftest.er1
13483 grep -v '^ *+' conftest.er1 >conftest.err
13485 cat conftest.err >&5
13486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13487 (exit $ac_status); } && {
13488 test -z "$ac_c_werror_flag" ||
13489 test ! -s conftest.err
13490 } && test -s conftest$ac_exeext &&
13491 $as_test_x conftest$ac_exeext; then
13492 ac_cv_lib_audioio_AudioIOGetVersion=yes
13494 echo "$as_me: failed program was:" >&5
13495 sed 's/^/| /' conftest.$ac_ext >&5
13497 ac_cv_lib_audioio_AudioIOGetVersion=no
13500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13501 conftest$ac_exeext conftest.$ac_ext
13502 LIBS=$ac_check_lib_save_LIBS
13504 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
13505 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
13506 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
13507 AUDIOIOLIBS="-laudioio"
13509 cat >>confdefs.h <<\_ACEOF
13510 #define HAVE_LIBAUDIOIO 1
13518 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13520 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
13521 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
13522 if test "${ac_cv_lib_soname_capi20+set}" = set; then
13523 echo $ECHO_N "(cached) $ECHO_C" >&6
13525 ac_check_soname_save_LIBS=$LIBS
13526 LIBS="-lcapi20 $LIBS"
13527 cat >conftest.$ac_ext <<_ACEOF
13530 cat confdefs.h >>conftest.$ac_ext
13531 cat >>conftest.$ac_ext <<_ACEOF
13532 /* end confdefs.h. */
13534 /* Override any GCC internal prototype to avoid an error.
13535 Use char because int might match the return type of a GCC
13536 builtin and then its argument prototype would still apply. */
13540 char capi20_register ();
13544 return capi20_register ();
13549 rm -f conftest.$ac_objext conftest$ac_exeext
13550 if { (ac_try="$ac_link"
13551 case "(($ac_try" in
13552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13553 *) ac_try_echo=$ac_try;;
13555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13556 (eval "$ac_link") 2>conftest.er1
13558 grep -v '^ *+' conftest.er1 >conftest.err
13560 cat conftest.err >&5
13561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13562 (exit $ac_status); } && {
13563 test -z "$ac_c_werror_flag" ||
13564 test ! -s conftest.err
13565 } && test -s conftest$ac_exeext &&
13566 $as_test_x conftest$ac_exeext; then
13569 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'` ;;
13570 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13573 echo "$as_me: failed program was:" >&5
13574 sed 's/^/| /' conftest.$ac_ext >&5
13579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13580 conftest$ac_exeext conftest.$ac_ext
13581 LIBS=$ac_check_soname_save_LIBS
13583 if test "x$ac_cv_lib_soname_capi20" = "x"; then
13584 { echo "$as_me:$LINENO: result: not found" >&5
13585 echo "${ECHO_T}not found" >&6; }
13588 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
13589 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
13591 cat >>confdefs.h <<_ACEOF
13592 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13600 if test "$ac_cv_header_cups_cups_h" = "yes"
13602 { echo "$as_me:$LINENO: checking for -lcups" >&5
13603 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
13604 if test "${ac_cv_lib_soname_cups+set}" = set; then
13605 echo $ECHO_N "(cached) $ECHO_C" >&6
13607 ac_check_soname_save_LIBS=$LIBS
13608 LIBS="-lcups $LIBS"
13609 cat >conftest.$ac_ext <<_ACEOF
13612 cat confdefs.h >>conftest.$ac_ext
13613 cat >>conftest.$ac_ext <<_ACEOF
13614 /* end confdefs.h. */
13616 /* Override any GCC internal prototype to avoid an error.
13617 Use char because int might match the return type of a GCC
13618 builtin and then its argument prototype would still apply. */
13622 char cupsGetDefault ();
13626 return cupsGetDefault ();
13631 rm -f conftest.$ac_objext conftest$ac_exeext
13632 if { (ac_try="$ac_link"
13633 case "(($ac_try" in
13634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13635 *) ac_try_echo=$ac_try;;
13637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13638 (eval "$ac_link") 2>conftest.er1
13640 grep -v '^ *+' conftest.er1 >conftest.err
13642 cat conftest.err >&5
13643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13644 (exit $ac_status); } && {
13645 test -z "$ac_c_werror_flag" ||
13646 test ! -s conftest.err
13647 } && test -s conftest$ac_exeext &&
13648 $as_test_x conftest$ac_exeext; then
13651 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'` ;;
13652 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13655 echo "$as_me: failed program was:" >&5
13656 sed 's/^/| /' conftest.$ac_ext >&5
13661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13662 conftest$ac_exeext conftest.$ac_ext
13663 LIBS=$ac_check_soname_save_LIBS
13665 if test "x$ac_cv_lib_soname_cups" = "x"; then
13666 { echo "$as_me:$LINENO: result: not found" >&5
13667 echo "${ECHO_T}not found" >&6; }
13670 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
13671 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
13673 cat >>confdefs.h <<_ACEOF
13674 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13682 if test "$ac_cv_header_jack_jack_h" = "yes"
13684 { echo "$as_me:$LINENO: checking for -ljack" >&5
13685 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
13686 if test "${ac_cv_lib_soname_jack+set}" = set; then
13687 echo $ECHO_N "(cached) $ECHO_C" >&6
13689 ac_check_soname_save_LIBS=$LIBS
13690 LIBS="-ljack $LIBS"
13691 cat >conftest.$ac_ext <<_ACEOF
13694 cat confdefs.h >>conftest.$ac_ext
13695 cat >>conftest.$ac_ext <<_ACEOF
13696 /* end confdefs.h. */
13698 /* Override any GCC internal prototype to avoid an error.
13699 Use char because int might match the return type of a GCC
13700 builtin and then its argument prototype would still apply. */
13704 char jack_client_new ();
13708 return jack_client_new ();
13713 rm -f conftest.$ac_objext conftest$ac_exeext
13714 if { (ac_try="$ac_link"
13715 case "(($ac_try" in
13716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13717 *) ac_try_echo=$ac_try;;
13719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13720 (eval "$ac_link") 2>conftest.er1
13722 grep -v '^ *+' conftest.er1 >conftest.err
13724 cat conftest.err >&5
13725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13726 (exit $ac_status); } && {
13727 test -z "$ac_c_werror_flag" ||
13728 test ! -s conftest.err
13729 } && test -s conftest$ac_exeext &&
13730 $as_test_x conftest$ac_exeext; then
13733 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'` ;;
13734 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13737 echo "$as_me: failed program was:" >&5
13738 sed 's/^/| /' conftest.$ac_ext >&5
13743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13744 conftest$ac_exeext conftest.$ac_ext
13745 LIBS=$ac_check_soname_save_LIBS
13747 if test "x$ac_cv_lib_soname_jack" = "x"; then
13748 { echo "$as_me:$LINENO: result: not found" >&5
13749 echo "${ECHO_T}not found" >&6; }
13752 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
13753 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
13755 cat >>confdefs.h <<_ACEOF
13756 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
13764 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13766 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
13767 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
13768 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
13769 echo $ECHO_N "(cached) $ECHO_C" >&6
13771 ac_check_soname_save_LIBS=$LIBS
13772 LIBS="-lfontconfig $LIBS"
13773 cat >conftest.$ac_ext <<_ACEOF
13776 cat confdefs.h >>conftest.$ac_ext
13777 cat >>conftest.$ac_ext <<_ACEOF
13778 /* end confdefs.h. */
13780 /* Override any GCC internal prototype to avoid an error.
13781 Use char because int might match the return type of a GCC
13782 builtin and then its argument prototype would still apply. */
13795 rm -f conftest.$ac_objext conftest$ac_exeext
13796 if { (ac_try="$ac_link"
13797 case "(($ac_try" in
13798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13799 *) ac_try_echo=$ac_try;;
13801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13802 (eval "$ac_link") 2>conftest.er1
13804 grep -v '^ *+' conftest.er1 >conftest.err
13806 cat conftest.err >&5
13807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13808 (exit $ac_status); } && {
13809 test -z "$ac_c_werror_flag" ||
13810 test ! -s conftest.err
13811 } && test -s conftest$ac_exeext &&
13812 $as_test_x conftest$ac_exeext; then
13815 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'` ;;
13816 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13819 echo "$as_me: failed program was:" >&5
13820 sed 's/^/| /' conftest.$ac_ext >&5
13825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13826 conftest$ac_exeext conftest.$ac_ext
13827 LIBS=$ac_check_soname_save_LIBS
13829 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
13830 { echo "$as_me:$LINENO: result: not found" >&5
13831 echo "${ECHO_T}not found" >&6; }
13834 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
13835 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
13837 cat >>confdefs.h <<_ACEOF
13838 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13846 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
13848 { echo "$as_me:$LINENO: checking for -lssl" >&5
13849 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
13850 if test "${ac_cv_lib_soname_ssl+set}" = set; then
13851 echo $ECHO_N "(cached) $ECHO_C" >&6
13853 ac_check_soname_save_LIBS=$LIBS
13855 cat >conftest.$ac_ext <<_ACEOF
13858 cat confdefs.h >>conftest.$ac_ext
13859 cat >>conftest.$ac_ext <<_ACEOF
13860 /* end confdefs.h. */
13862 /* Override any GCC internal prototype to avoid an error.
13863 Use char because int might match the return type of a GCC
13864 builtin and then its argument prototype would still apply. */
13868 char SSL_library_init ();
13872 return SSL_library_init ();
13877 rm -f conftest.$ac_objext conftest$ac_exeext
13878 if { (ac_try="$ac_link"
13879 case "(($ac_try" in
13880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13881 *) ac_try_echo=$ac_try;;
13883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13884 (eval "$ac_link") 2>conftest.er1
13886 grep -v '^ *+' conftest.er1 >conftest.err
13888 cat conftest.err >&5
13889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890 (exit $ac_status); } && {
13891 test -z "$ac_c_werror_flag" ||
13892 test ! -s conftest.err
13893 } && test -s conftest$ac_exeext &&
13894 $as_test_x conftest$ac_exeext; then
13897 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'` ;;
13898 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13901 echo "$as_me: failed program was:" >&5
13902 sed 's/^/| /' conftest.$ac_ext >&5
13907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13908 conftest$ac_exeext conftest.$ac_ext
13909 LIBS=$ac_check_soname_save_LIBS
13911 if test "x$ac_cv_lib_soname_ssl" = "x"; then
13912 { echo "$as_me:$LINENO: result: not found" >&5
13913 echo "${ECHO_T}not found" >&6; }
13916 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
13917 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
13919 cat >>confdefs.h <<_ACEOF
13920 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
13926 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
13927 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
13928 if test "${ac_cv_lib_soname_crypto+set}" = set; then
13929 echo $ECHO_N "(cached) $ECHO_C" >&6
13931 ac_check_soname_save_LIBS=$LIBS
13932 LIBS="-lcrypto $LIBS"
13933 cat >conftest.$ac_ext <<_ACEOF
13936 cat confdefs.h >>conftest.$ac_ext
13937 cat >>conftest.$ac_ext <<_ACEOF
13938 /* end confdefs.h. */
13940 /* Override any GCC internal prototype to avoid an error.
13941 Use char because int might match the return type of a GCC
13942 builtin and then its argument prototype would still apply. */
13946 char BIO_new_socket ();
13950 return BIO_new_socket ();
13955 rm -f conftest.$ac_objext conftest$ac_exeext
13956 if { (ac_try="$ac_link"
13957 case "(($ac_try" in
13958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13959 *) ac_try_echo=$ac_try;;
13961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13962 (eval "$ac_link") 2>conftest.er1
13964 grep -v '^ *+' conftest.er1 >conftest.err
13966 cat conftest.err >&5
13967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13968 (exit $ac_status); } && {
13969 test -z "$ac_c_werror_flag" ||
13970 test ! -s conftest.err
13971 } && test -s conftest$ac_exeext &&
13972 $as_test_x conftest$ac_exeext; then
13975 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'` ;;
13976 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13979 echo "$as_me: failed program was:" >&5
13980 sed 's/^/| /' conftest.$ac_ext >&5
13985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13986 conftest$ac_exeext conftest.$ac_ext
13987 LIBS=$ac_check_soname_save_LIBS
13989 if test "x$ac_cv_lib_soname_crypto" = "x"; then
13990 { echo "$as_me:$LINENO: result: not found" >&5
13991 echo "${ECHO_T}not found" >&6; }
13994 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
13995 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
13997 cat >>confdefs.h <<_ACEOF
13998 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
14006 if test "$ac_cv_header_jpeglib_h" = "yes"
14008 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
14009 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
14010 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
14011 echo $ECHO_N "(cached) $ECHO_C" >&6
14013 ac_check_soname_save_LIBS=$LIBS
14014 LIBS="-ljpeg $LIBS"
14015 cat >conftest.$ac_ext <<_ACEOF
14018 cat confdefs.h >>conftest.$ac_ext
14019 cat >>conftest.$ac_ext <<_ACEOF
14020 /* end confdefs.h. */
14022 /* Override any GCC internal prototype to avoid an error.
14023 Use char because int might match the return type of a GCC
14024 builtin and then its argument prototype would still apply. */
14028 char jpeg_start_decompress ();
14032 return jpeg_start_decompress ();
14037 rm -f conftest.$ac_objext conftest$ac_exeext
14038 if { (ac_try="$ac_link"
14039 case "(($ac_try" in
14040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14041 *) ac_try_echo=$ac_try;;
14043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14044 (eval "$ac_link") 2>conftest.er1
14046 grep -v '^ *+' conftest.er1 >conftest.err
14048 cat conftest.err >&5
14049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14050 (exit $ac_status); } && {
14051 test -z "$ac_c_werror_flag" ||
14052 test ! -s conftest.err
14053 } && test -s conftest$ac_exeext &&
14054 $as_test_x conftest$ac_exeext; then
14057 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'` ;;
14058 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14061 echo "$as_me: failed program was:" >&5
14062 sed 's/^/| /' conftest.$ac_ext >&5
14067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14068 conftest$ac_exeext conftest.$ac_ext
14069 LIBS=$ac_check_soname_save_LIBS
14071 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14072 { echo "$as_me:$LINENO: result: not found" >&5
14073 echo "${ECHO_T}not found" >&6; }
14076 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
14077 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
14079 cat >>confdefs.h <<_ACEOF
14080 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14088 if test "$ac_cv_header_png_h" = "yes"
14090 { echo "$as_me:$LINENO: checking for -lpng" >&5
14091 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
14092 if test "${ac_cv_lib_soname_png+set}" = set; then
14093 echo $ECHO_N "(cached) $ECHO_C" >&6
14095 ac_check_soname_save_LIBS=$LIBS
14097 cat >conftest.$ac_ext <<_ACEOF
14100 cat confdefs.h >>conftest.$ac_ext
14101 cat >>conftest.$ac_ext <<_ACEOF
14102 /* end confdefs.h. */
14104 /* Override any GCC internal prototype to avoid an error.
14105 Use char because int might match the return type of a GCC
14106 builtin and then its argument prototype would still apply. */
14110 char png_create_read_struct ();
14114 return png_create_read_struct ();
14119 rm -f conftest.$ac_objext conftest$ac_exeext
14120 if { (ac_try="$ac_link"
14121 case "(($ac_try" in
14122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14123 *) ac_try_echo=$ac_try;;
14125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14126 (eval "$ac_link") 2>conftest.er1
14128 grep -v '^ *+' conftest.er1 >conftest.err
14130 cat conftest.err >&5
14131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14132 (exit $ac_status); } && {
14133 test -z "$ac_c_werror_flag" ||
14134 test ! -s conftest.err
14135 } && test -s conftest$ac_exeext &&
14136 $as_test_x conftest$ac_exeext; then
14139 dylib) ac_cv_lib_soname_png=`otool -L conftest$ac_exeext | grep "libpng[0-9]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libpng[0-9]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14140 *) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14143 echo "$as_me: failed program was:" >&5
14144 sed 's/^/| /' conftest.$ac_ext >&5
14149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14150 conftest$ac_exeext conftest.$ac_ext
14151 LIBS=$ac_check_soname_save_LIBS
14153 if test "x$ac_cv_lib_soname_png" = "x"; then
14154 { echo "$as_me:$LINENO: result: not found" >&5
14155 echo "${ECHO_T}not found" >&6; }
14158 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
14159 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
14161 cat >>confdefs.h <<_ACEOF
14162 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14173 if test "x${GCC}" = "xyes"
14175 EXTRACFLAGS="-Wall -pipe"
14177 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14178 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14179 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14180 echo $ECHO_N "(cached) $ECHO_C" >&6
14182 if test "$cross_compiling" = yes; then
14183 ac_cv_c_gcc_strength_bug="yes"
14185 cat >conftest.$ac_ext <<_ACEOF
14188 cat confdefs.h >>conftest.$ac_ext
14189 cat >>conftest.$ac_ext <<_ACEOF
14190 /* end confdefs.h. */
14191 int L[4] = {0,1,2,3};
14195 static int Array[3];
14196 unsigned int B = 3;
14198 for(i=0; i<B; i++) Array[i] = i - 3;
14199 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14201 exit( Array[1] != -2 || L[2] != 3)
14206 rm -f conftest$ac_exeext
14207 if { (ac_try="$ac_link"
14208 case "(($ac_try" in
14209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14210 *) ac_try_echo=$ac_try;;
14212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14213 (eval "$ac_link") 2>&5
14215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14216 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14217 { (case "(($ac_try" in
14218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14219 *) ac_try_echo=$ac_try;;
14221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14222 (eval "$ac_try") 2>&5
14224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14225 (exit $ac_status); }; }; then
14226 ac_cv_c_gcc_strength_bug="no"
14228 echo "$as_me: program exited with status $ac_status" >&5
14229 echo "$as_me: failed program was:" >&5
14230 sed 's/^/| /' conftest.$ac_ext >&5
14232 ( exit $ac_status )
14233 ac_cv_c_gcc_strength_bug="yes"
14235 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14240 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14241 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14242 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14244 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14248 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
14249 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
14250 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
14251 echo $ECHO_N "(cached) $ECHO_C" >&6
14253 ac_wine_try_cflags_saved=$CFLAGS
14254 CFLAGS="$CFLAGS -fshort-wchar"
14255 cat >conftest.$ac_ext <<_ACEOF
14258 cat confdefs.h >>conftest.$ac_ext
14259 cat >>conftest.$ac_ext <<_ACEOF
14260 /* end confdefs.h. */
14270 rm -f conftest.$ac_objext conftest$ac_exeext
14271 if { (ac_try="$ac_link"
14272 case "(($ac_try" in
14273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14274 *) ac_try_echo=$ac_try;;
14276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14277 (eval "$ac_link") 2>conftest.er1
14279 grep -v '^ *+' conftest.er1 >conftest.err
14281 cat conftest.err >&5
14282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14283 (exit $ac_status); } && {
14284 test -z "$ac_c_werror_flag" ||
14285 test ! -s conftest.err
14286 } && test -s conftest$ac_exeext &&
14287 $as_test_x conftest$ac_exeext; then
14288 ac_cv_cflags__fshort_wchar=yes
14290 echo "$as_me: failed program was:" >&5
14291 sed 's/^/| /' conftest.$ac_ext >&5
14293 ac_cv_cflags__fshort_wchar=no
14296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14297 conftest$ac_exeext conftest.$ac_ext
14298 CFLAGS=$ac_wine_try_cflags_saved
14300 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
14301 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
14302 if test $ac_cv_cflags__fshort_wchar = yes; then
14304 cat >>confdefs.h <<\_ACEOF
14305 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14310 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
14311 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
14312 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
14313 echo $ECHO_N "(cached) $ECHO_C" >&6
14315 ac_wine_try_cflags_saved=$CFLAGS
14316 CFLAGS="$CFLAGS -fno-strict-aliasing"
14317 cat >conftest.$ac_ext <<_ACEOF
14320 cat confdefs.h >>conftest.$ac_ext
14321 cat >>conftest.$ac_ext <<_ACEOF
14322 /* end confdefs.h. */
14332 rm -f conftest.$ac_objext conftest$ac_exeext
14333 if { (ac_try="$ac_link"
14334 case "(($ac_try" in
14335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14336 *) ac_try_echo=$ac_try;;
14338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14339 (eval "$ac_link") 2>conftest.er1
14341 grep -v '^ *+' conftest.er1 >conftest.err
14343 cat conftest.err >&5
14344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14345 (exit $ac_status); } && {
14346 test -z "$ac_c_werror_flag" ||
14347 test ! -s conftest.err
14348 } && test -s conftest$ac_exeext &&
14349 $as_test_x conftest$ac_exeext; then
14350 ac_cv_cflags__fno_strict_aliasing=yes
14352 echo "$as_me: failed program was:" >&5
14353 sed 's/^/| /' conftest.$ac_ext >&5
14355 ac_cv_cflags__fno_strict_aliasing=no
14358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14359 conftest$ac_exeext conftest.$ac_ext
14360 CFLAGS=$ac_wine_try_cflags_saved
14362 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14363 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
14364 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
14365 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14368 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14369 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
14370 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
14371 echo $ECHO_N "(cached) $ECHO_C" >&6
14373 ac_wine_try_cflags_saved=$CFLAGS
14374 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14375 cat >conftest.$ac_ext <<_ACEOF
14378 cat confdefs.h >>conftest.$ac_ext
14379 cat >>conftest.$ac_ext <<_ACEOF
14380 /* end confdefs.h. */
14390 rm -f conftest.$ac_objext conftest$ac_exeext
14391 if { (ac_try="$ac_link"
14392 case "(($ac_try" in
14393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14394 *) ac_try_echo=$ac_try;;
14396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14397 (eval "$ac_link") 2>conftest.er1
14399 grep -v '^ *+' conftest.er1 >conftest.err
14401 cat conftest.err >&5
14402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403 (exit $ac_status); } && {
14404 test -z "$ac_c_werror_flag" ||
14405 test ! -s conftest.err
14406 } && test -s conftest$ac_exeext &&
14407 $as_test_x conftest$ac_exeext; then
14408 ac_cv_cflags__Wdeclaration_after_statement=yes
14410 echo "$as_me: failed program was:" >&5
14411 sed 's/^/| /' conftest.$ac_ext >&5
14413 ac_cv_cflags__Wdeclaration_after_statement=no
14416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14417 conftest$ac_exeext conftest.$ac_ext
14418 CFLAGS=$ac_wine_try_cflags_saved
14420 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14421 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14422 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
14423 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14426 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
14427 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
14428 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
14429 echo $ECHO_N "(cached) $ECHO_C" >&6
14431 ac_wine_try_cflags_saved=$CFLAGS
14432 CFLAGS="$CFLAGS -Wwrite-strings"
14433 cat >conftest.$ac_ext <<_ACEOF
14436 cat confdefs.h >>conftest.$ac_ext
14437 cat >>conftest.$ac_ext <<_ACEOF
14438 /* end confdefs.h. */
14448 rm -f conftest.$ac_objext conftest$ac_exeext
14449 if { (ac_try="$ac_link"
14450 case "(($ac_try" in
14451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14452 *) ac_try_echo=$ac_try;;
14454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14455 (eval "$ac_link") 2>conftest.er1
14457 grep -v '^ *+' conftest.er1 >conftest.err
14459 cat conftest.err >&5
14460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14461 (exit $ac_status); } && {
14462 test -z "$ac_c_werror_flag" ||
14463 test ! -s conftest.err
14464 } && test -s conftest$ac_exeext &&
14465 $as_test_x conftest$ac_exeext; then
14466 ac_cv_cflags__Wwrite_strings=yes
14468 echo "$as_me: failed program was:" >&5
14469 sed 's/^/| /' conftest.$ac_ext >&5
14471 ac_cv_cflags__Wwrite_strings=no
14474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14475 conftest$ac_exeext conftest.$ac_ext
14476 CFLAGS=$ac_wine_try_cflags_saved
14478 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
14479 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
14480 if test $ac_cv_cflags__Wwrite_strings = yes; then
14481 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14485 saved_CFLAGS="$CFLAGS"
14486 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14487 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
14488 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
14489 if test "${ac_cv_c_string_h_warnings+set}" = set; then
14490 echo $ECHO_N "(cached) $ECHO_C" >&6
14492 cat >conftest.$ac_ext <<_ACEOF
14495 cat confdefs.h >>conftest.$ac_ext
14496 cat >>conftest.$ac_ext <<_ACEOF
14497 /* end confdefs.h. */
14498 #include <string.h>
14507 rm -f conftest.$ac_objext
14508 if { (ac_try="$ac_compile"
14509 case "(($ac_try" in
14510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14511 *) ac_try_echo=$ac_try;;
14513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14514 (eval "$ac_compile") 2>conftest.er1
14516 grep -v '^ *+' conftest.er1 >conftest.err
14518 cat conftest.err >&5
14519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14520 (exit $ac_status); } && {
14521 test -z "$ac_c_werror_flag" ||
14522 test ! -s conftest.err
14523 } && test -s conftest.$ac_objext; then
14524 ac_cv_c_string_h_warnings=no
14526 echo "$as_me: failed program was:" >&5
14527 sed 's/^/| /' conftest.$ac_ext >&5
14529 ac_cv_c_string_h_warnings=yes
14532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14534 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
14535 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
14536 CFLAGS="$saved_CFLAGS"
14537 if test "$ac_cv_c_string_h_warnings" = "no"
14539 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14544 saved_CFLAGS="$CFLAGS"
14545 CFLAGS="$CFLAGS -Werror"
14546 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
14547 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
14548 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
14549 echo $ECHO_N "(cached) $ECHO_C" >&6
14551 cat >conftest.$ac_ext <<_ACEOF
14554 cat confdefs.h >>conftest.$ac_ext
14555 cat >>conftest.$ac_ext <<_ACEOF
14556 /* end confdefs.h. */
14561 int iswlower(unsigned short);
14566 rm -f conftest.$ac_objext
14567 if { (ac_try="$ac_compile"
14568 case "(($ac_try" in
14569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14570 *) ac_try_echo=$ac_try;;
14572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14573 (eval "$ac_compile") 2>conftest.er1
14575 grep -v '^ *+' conftest.er1 >conftest.err
14577 cat conftest.err >&5
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); } && {
14580 test -z "$ac_c_werror_flag" ||
14581 test ! -s conftest.err
14582 } && test -s conftest.$ac_objext; then
14583 ac_cv_c_builtin_wchar_ctype=no
14585 echo "$as_me: failed program was:" >&5
14586 sed 's/^/| /' conftest.$ac_ext >&5
14588 ac_cv_c_builtin_wchar_ctype=yes
14591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14593 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
14594 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
14595 CFLAGS="$saved_CFLAGS"
14596 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
14598 BUILTINFLAG="-fno-builtin"
14603 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
14604 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
14605 if test "${ac_cv_asm_func_def+set}" = set; then
14606 echo $ECHO_N "(cached) $ECHO_C" >&6
14608 cat >conftest.$ac_ext <<_ACEOF
14611 cat confdefs.h >>conftest.$ac_ext
14612 cat >>conftest.$ac_ext <<_ACEOF
14613 /* end confdefs.h. */
14618 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14623 rm -f conftest.$ac_objext conftest$ac_exeext
14624 if { (ac_try="$ac_link"
14625 case "(($ac_try" in
14626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14627 *) ac_try_echo=$ac_try;;
14629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14630 (eval "$ac_link") 2>conftest.er1
14632 grep -v '^ *+' conftest.er1 >conftest.err
14634 cat conftest.err >&5
14635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14636 (exit $ac_status); } && {
14637 test -z "$ac_c_werror_flag" ||
14638 test ! -s conftest.err
14639 } && test -s conftest$ac_exeext &&
14640 $as_test_x conftest$ac_exeext; then
14641 ac_cv_asm_func_def=".def"
14643 echo "$as_me: failed program was:" >&5
14644 sed 's/^/| /' conftest.$ac_ext >&5
14646 cat >conftest.$ac_ext <<_ACEOF
14649 cat confdefs.h >>conftest.$ac_ext
14650 cat >>conftest.$ac_ext <<_ACEOF
14651 /* end confdefs.h. */
14656 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14661 rm -f conftest.$ac_objext conftest$ac_exeext
14662 if { (ac_try="$ac_link"
14663 case "(($ac_try" in
14664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14665 *) ac_try_echo=$ac_try;;
14667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14668 (eval "$ac_link") 2>conftest.er1
14670 grep -v '^ *+' conftest.er1 >conftest.err
14672 cat conftest.err >&5
14673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14674 (exit $ac_status); } && {
14675 test -z "$ac_c_werror_flag" ||
14676 test ! -s conftest.err
14677 } && test -s conftest$ac_exeext &&
14678 $as_test_x conftest$ac_exeext; then
14679 ac_cv_asm_func_def=".type @function"
14681 echo "$as_me: failed program was:" >&5
14682 sed 's/^/| /' conftest.$ac_ext >&5
14684 cat >conftest.$ac_ext <<_ACEOF
14687 cat confdefs.h >>conftest.$ac_ext
14688 cat >>conftest.$ac_ext <<_ACEOF
14689 /* end confdefs.h. */
14694 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14699 rm -f conftest.$ac_objext conftest$ac_exeext
14700 if { (ac_try="$ac_link"
14701 case "(($ac_try" in
14702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14703 *) ac_try_echo=$ac_try;;
14705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14706 (eval "$ac_link") 2>conftest.er1
14708 grep -v '^ *+' conftest.er1 >conftest.err
14710 cat conftest.err >&5
14711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14712 (exit $ac_status); } && {
14713 test -z "$ac_c_werror_flag" ||
14714 test ! -s conftest.err
14715 } && test -s conftest$ac_exeext &&
14716 $as_test_x conftest$ac_exeext; then
14717 ac_cv_asm_func_def=".type 2"
14719 echo "$as_me: failed program was:" >&5
14720 sed 's/^/| /' conftest.$ac_ext >&5
14722 ac_cv_asm_func_def="unknown"
14725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14726 conftest$ac_exeext conftest.$ac_ext
14729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14730 conftest$ac_exeext conftest.$ac_ext
14733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14734 conftest$ac_exeext conftest.$ac_ext
14736 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
14737 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
14741 case "$ac_cv_asm_func_def" in
14743 cat >>confdefs.h <<\_ACEOF
14744 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
14748 cat >>confdefs.h <<\_ACEOF
14749 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
14753 cat >>confdefs.h <<\_ACEOF
14754 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
14758 cat >>confdefs.h <<\_ACEOF
14759 #define __ASM_FUNC(name) ""
14765 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
14766 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
14767 if test "${ac_cv_c_extern_prefix+set}" = set; then
14768 echo $ECHO_N "(cached) $ECHO_C" >&6
14770 cat >conftest.$ac_ext <<_ACEOF
14773 cat confdefs.h >>conftest.$ac_ext
14774 cat >>conftest.$ac_ext <<_ACEOF
14775 /* end confdefs.h. */
14776 extern int ac_test;
14780 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14785 rm -f conftest.$ac_objext conftest$ac_exeext
14786 if { (ac_try="$ac_link"
14787 case "(($ac_try" in
14788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14789 *) ac_try_echo=$ac_try;;
14791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14792 (eval "$ac_link") 2>conftest.er1
14794 grep -v '^ *+' conftest.er1 >conftest.err
14796 cat conftest.err >&5
14797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14798 (exit $ac_status); } && {
14799 test -z "$ac_c_werror_flag" ||
14800 test ! -s conftest.err
14801 } && test -s conftest$ac_exeext &&
14802 $as_test_x conftest$ac_exeext; then
14803 ac_cv_c_extern_prefix="yes"
14805 echo "$as_me: failed program was:" >&5
14806 sed 's/^/| /' conftest.$ac_ext >&5
14808 ac_cv_c_extern_prefix="no"
14811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14812 conftest$ac_exeext conftest.$ac_ext
14814 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
14815 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
14819 if test "$ac_cv_c_extern_prefix" = "yes"
14821 cat >>confdefs.h <<\_ACEOF
14822 #define __ASM_NAME(name) "_" name
14826 cat >>confdefs.h <<\_ACEOF
14827 #define __ASM_NAME(name) name
14837 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14841 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
14843 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14847 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14855 SOCKETLIBS="-lws2_32"
14860 MAIN_BINARY="wine-pthread"
14864 linux* | k*bsd*-gnu)
14865 MAIN_BINARY="wine-glibc"
14867 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
14875 cat >>confdefs.h <<_ACEOF
14876 #define SONAME_EXT ".$LIBEXT"
14880 { echo "$as_me:$LINENO: checking for -lX11" >&5
14881 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
14882 if test "${ac_cv_lib_soname_X11+set}" = set; then
14883 echo $ECHO_N "(cached) $ECHO_C" >&6
14885 ac_check_soname_save_LIBS=$LIBS
14886 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14887 cat >conftest.$ac_ext <<_ACEOF
14890 cat confdefs.h >>conftest.$ac_ext
14891 cat >>conftest.$ac_ext <<_ACEOF
14892 /* end confdefs.h. */
14894 /* Override any GCC internal prototype to avoid an error.
14895 Use char because int might match the return type of a GCC
14896 builtin and then its argument prototype would still apply. */
14900 char XCreateWindow ();
14904 return XCreateWindow ();
14909 rm -f conftest.$ac_objext conftest$ac_exeext
14910 if { (ac_try="$ac_link"
14911 case "(($ac_try" in
14912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14913 *) ac_try_echo=$ac_try;;
14915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14916 (eval "$ac_link") 2>conftest.er1
14918 grep -v '^ *+' conftest.er1 >conftest.err
14920 cat conftest.err >&5
14921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14922 (exit $ac_status); } && {
14923 test -z "$ac_c_werror_flag" ||
14924 test ! -s conftest.err
14925 } && test -s conftest$ac_exeext &&
14926 $as_test_x conftest$ac_exeext; then
14929 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'` ;;
14930 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14933 echo "$as_me: failed program was:" >&5
14934 sed 's/^/| /' conftest.$ac_ext >&5
14939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14940 conftest$ac_exeext conftest.$ac_ext
14941 LIBS=$ac_check_soname_save_LIBS
14943 if test "x$ac_cv_lib_soname_X11" = "x"; then
14944 { echo "$as_me:$LINENO: result: not found" >&5
14945 echo "${ECHO_T}not found" >&6; }
14948 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14949 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
14951 cat >>confdefs.h <<_ACEOF
14952 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14958 { echo "$as_me:$LINENO: checking for -lXext" >&5
14959 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
14960 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14961 echo $ECHO_N "(cached) $ECHO_C" >&6
14963 ac_check_soname_save_LIBS=$LIBS
14964 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14965 cat >conftest.$ac_ext <<_ACEOF
14968 cat confdefs.h >>conftest.$ac_ext
14969 cat >>conftest.$ac_ext <<_ACEOF
14970 /* end confdefs.h. */
14972 /* Override any GCC internal prototype to avoid an error.
14973 Use char because int might match the return type of a GCC
14974 builtin and then its argument prototype would still apply. */
14978 char XextCreateExtension ();
14982 return XextCreateExtension ();
14987 rm -f conftest.$ac_objext conftest$ac_exeext
14988 if { (ac_try="$ac_link"
14989 case "(($ac_try" in
14990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14991 *) ac_try_echo=$ac_try;;
14993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14994 (eval "$ac_link") 2>conftest.er1
14996 grep -v '^ *+' conftest.er1 >conftest.err
14998 cat conftest.err >&5
14999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15000 (exit $ac_status); } && {
15001 test -z "$ac_c_werror_flag" ||
15002 test ! -s conftest.err
15003 } && test -s conftest$ac_exeext &&
15004 $as_test_x conftest$ac_exeext; then
15007 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'` ;;
15008 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15011 echo "$as_me: failed program was:" >&5
15012 sed 's/^/| /' conftest.$ac_ext >&5
15017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15018 conftest$ac_exeext conftest.$ac_ext
15019 LIBS=$ac_check_soname_save_LIBS
15021 if test "x$ac_cv_lib_soname_Xext" = "x"; then
15022 { echo "$as_me:$LINENO: result: not found" >&5
15023 echo "${ECHO_T}not found" >&6; }
15026 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
15027 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
15029 cat >>confdefs.h <<_ACEOF
15030 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
15036 { echo "$as_me:$LINENO: checking for -lXi" >&5
15037 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
15038 if test "${ac_cv_lib_soname_Xi+set}" = set; then
15039 echo $ECHO_N "(cached) $ECHO_C" >&6
15041 ac_check_soname_save_LIBS=$LIBS
15042 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
15043 cat >conftest.$ac_ext <<_ACEOF
15046 cat confdefs.h >>conftest.$ac_ext
15047 cat >>conftest.$ac_ext <<_ACEOF
15048 /* end confdefs.h. */
15050 /* Override any GCC internal prototype to avoid an error.
15051 Use char because int might match the return type of a GCC
15052 builtin and then its argument prototype would still apply. */
15056 char XOpenDevice ();
15060 return XOpenDevice ();
15065 rm -f conftest.$ac_objext conftest$ac_exeext
15066 if { (ac_try="$ac_link"
15067 case "(($ac_try" in
15068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15069 *) ac_try_echo=$ac_try;;
15071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15072 (eval "$ac_link") 2>conftest.er1
15074 grep -v '^ *+' conftest.er1 >conftest.err
15076 cat conftest.err >&5
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); } && {
15079 test -z "$ac_c_werror_flag" ||
15080 test ! -s conftest.err
15081 } && test -s conftest$ac_exeext &&
15082 $as_test_x conftest$ac_exeext; then
15085 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'` ;;
15086 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15089 echo "$as_me: failed program was:" >&5
15090 sed 's/^/| /' conftest.$ac_ext >&5
15095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15096 conftest$ac_exeext conftest.$ac_ext
15097 LIBS=$ac_check_soname_save_LIBS
15099 if test "x$ac_cv_lib_soname_Xi" = "x"; then
15100 { echo "$as_me:$LINENO: result: not found" >&5
15101 echo "${ECHO_T}not found" >&6; }
15104 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
15105 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
15107 cat >>confdefs.h <<_ACEOF
15108 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
15114 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
15115 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
15116 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
15117 echo $ECHO_N "(cached) $ECHO_C" >&6
15119 ac_check_soname_save_LIBS=$LIBS
15120 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
15121 cat >conftest.$ac_ext <<_ACEOF
15124 cat confdefs.h >>conftest.$ac_ext
15125 cat >>conftest.$ac_ext <<_ACEOF
15126 /* end confdefs.h. */
15128 /* Override any GCC internal prototype to avoid an error.
15129 Use char because int might match the return type of a GCC
15130 builtin and then its argument prototype would still apply. */
15134 char XineramaQueryScreens ();
15138 return XineramaQueryScreens ();
15143 rm -f conftest.$ac_objext conftest$ac_exeext
15144 if { (ac_try="$ac_link"
15145 case "(($ac_try" in
15146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15147 *) ac_try_echo=$ac_try;;
15149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15150 (eval "$ac_link") 2>conftest.er1
15152 grep -v '^ *+' conftest.er1 >conftest.err
15154 cat conftest.err >&5
15155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15156 (exit $ac_status); } && {
15157 test -z "$ac_c_werror_flag" ||
15158 test ! -s conftest.err
15159 } && test -s conftest$ac_exeext &&
15160 $as_test_x conftest$ac_exeext; then
15163 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'` ;;
15164 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15167 echo "$as_me: failed program was:" >&5
15168 sed 's/^/| /' conftest.$ac_ext >&5
15173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15174 conftest$ac_exeext conftest.$ac_ext
15175 LIBS=$ac_check_soname_save_LIBS
15177 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
15178 { echo "$as_me:$LINENO: result: not found" >&5
15179 echo "${ECHO_T}not found" >&6; }
15182 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
15183 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
15185 cat >>confdefs.h <<_ACEOF
15186 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
15192 { echo "$as_me:$LINENO: checking for -lXrender" >&5
15193 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
15194 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
15195 echo $ECHO_N "(cached) $ECHO_C" >&6
15197 ac_check_soname_save_LIBS=$LIBS
15198 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_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 XRenderQueryExtension ();
15216 return XRenderQueryExtension ();
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
15241 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'` ;;
15242 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15245 echo "$as_me: failed program was:" >&5
15246 sed 's/^/| /' conftest.$ac_ext >&5
15251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15252 conftest$ac_exeext conftest.$ac_ext
15253 LIBS=$ac_check_soname_save_LIBS
15255 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
15256 { echo "$as_me:$LINENO: result: not found" >&5
15257 echo "${ECHO_T}not found" >&6; }
15260 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
15261 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
15263 cat >>confdefs.h <<_ACEOF
15264 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
15270 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
15271 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
15272 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
15273 echo $ECHO_N "(cached) $ECHO_C" >&6
15275 ac_check_soname_save_LIBS=$LIBS
15276 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
15277 cat >conftest.$ac_ext <<_ACEOF
15280 cat confdefs.h >>conftest.$ac_ext
15281 cat >>conftest.$ac_ext <<_ACEOF
15282 /* end confdefs.h. */
15284 /* Override any GCC internal prototype to avoid an error.
15285 Use char because int might match the return type of a GCC
15286 builtin and then its argument prototype would still apply. */
15290 char XRRQueryExtension ();
15294 return XRRQueryExtension ();
15299 rm -f conftest.$ac_objext conftest$ac_exeext
15300 if { (ac_try="$ac_link"
15301 case "(($ac_try" in
15302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15303 *) ac_try_echo=$ac_try;;
15305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15306 (eval "$ac_link") 2>conftest.er1
15308 grep -v '^ *+' conftest.er1 >conftest.err
15310 cat conftest.err >&5
15311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312 (exit $ac_status); } && {
15313 test -z "$ac_c_werror_flag" ||
15314 test ! -s conftest.err
15315 } && test -s conftest$ac_exeext &&
15316 $as_test_x conftest$ac_exeext; then
15319 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'` ;;
15320 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15323 echo "$as_me: failed program was:" >&5
15324 sed 's/^/| /' conftest.$ac_ext >&5
15329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15330 conftest$ac_exeext conftest.$ac_ext
15331 LIBS=$ac_check_soname_save_LIBS
15333 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
15334 { echo "$as_me:$LINENO: result: not found" >&5
15335 echo "${ECHO_T}not found" >&6; }
15338 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
15339 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
15341 cat >>confdefs.h <<_ACEOF
15342 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
15348 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
15349 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
15350 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
15351 echo $ECHO_N "(cached) $ECHO_C" >&6
15353 ac_check_soname_save_LIBS=$LIBS
15354 LIBS="-lXcursor $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
15355 cat >conftest.$ac_ext <<_ACEOF
15358 cat confdefs.h >>conftest.$ac_ext
15359 cat >>conftest.$ac_ext <<_ACEOF
15360 /* end confdefs.h. */
15362 /* Override any GCC internal prototype to avoid an error.
15363 Use char because int might match the return type of a GCC
15364 builtin and then its argument prototype would still apply. */
15368 char XcursorImageLoadCursor ();
15372 return XcursorImageLoadCursor ();
15377 rm -f conftest.$ac_objext conftest$ac_exeext
15378 if { (ac_try="$ac_link"
15379 case "(($ac_try" in
15380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15381 *) ac_try_echo=$ac_try;;
15383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15384 (eval "$ac_link") 2>conftest.er1
15386 grep -v '^ *+' conftest.er1 >conftest.err
15388 cat conftest.err >&5
15389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15390 (exit $ac_status); } && {
15391 test -z "$ac_c_werror_flag" ||
15392 test ! -s conftest.err
15393 } && test -s conftest$ac_exeext &&
15394 $as_test_x conftest$ac_exeext; then
15397 dylib) ac_cv_lib_soname_Xcursor=`otool -L conftest$ac_exeext | grep "libXcursor\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXcursor\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15398 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15401 echo "$as_me: failed program was:" >&5
15402 sed 's/^/| /' conftest.$ac_ext >&5
15407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15408 conftest$ac_exeext conftest.$ac_ext
15409 LIBS=$ac_check_soname_save_LIBS
15411 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
15412 { echo "$as_me:$LINENO: result: not found" >&5
15413 echo "${ECHO_T}not found" >&6; }
15416 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
15417 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
15419 cat >>confdefs.h <<_ACEOF
15420 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
15426 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
15427 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
15428 if test "${ac_cv_lib_soname_freetype+set}" = set; then
15429 echo $ECHO_N "(cached) $ECHO_C" >&6
15431 ac_check_soname_save_LIBS=$LIBS
15432 LIBS="-lfreetype $X_LIBS $LIBS"
15433 cat >conftest.$ac_ext <<_ACEOF
15436 cat confdefs.h >>conftest.$ac_ext
15437 cat >>conftest.$ac_ext <<_ACEOF
15438 /* end confdefs.h. */
15440 /* Override any GCC internal prototype to avoid an error.
15441 Use char because int might match the return type of a GCC
15442 builtin and then its argument prototype would still apply. */
15446 char FT_Init_FreeType ();
15450 return FT_Init_FreeType ();
15455 rm -f conftest.$ac_objext conftest$ac_exeext
15456 if { (ac_try="$ac_link"
15457 case "(($ac_try" in
15458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15459 *) ac_try_echo=$ac_try;;
15461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15462 (eval "$ac_link") 2>conftest.er1
15464 grep -v '^ *+' conftest.er1 >conftest.err
15466 cat conftest.err >&5
15467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15468 (exit $ac_status); } && {
15469 test -z "$ac_c_werror_flag" ||
15470 test ! -s conftest.err
15471 } && test -s conftest$ac_exeext &&
15472 $as_test_x conftest$ac_exeext; then
15475 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'` ;;
15476 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15479 echo "$as_me: failed program was:" >&5
15480 sed 's/^/| /' conftest.$ac_ext >&5
15485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15486 conftest$ac_exeext conftest.$ac_ext
15487 LIBS=$ac_check_soname_save_LIBS
15489 if test "x$ac_cv_lib_soname_freetype" = "x"; then
15490 { echo "$as_me:$LINENO: result: not found" >&5
15491 echo "${ECHO_T}not found" >&6; }
15494 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
15495 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
15497 cat >>confdefs.h <<_ACEOF
15498 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
15504 { echo "$as_me:$LINENO: checking for -ltxc_dxtn" >&5
15505 echo $ECHO_N "checking for -ltxc_dxtn... $ECHO_C" >&6; }
15506 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15507 echo $ECHO_N "(cached) $ECHO_C" >&6
15509 ac_check_soname_save_LIBS=$LIBS
15510 LIBS="-ltxc_dxtn $LIBS"
15511 cat >conftest.$ac_ext <<_ACEOF
15514 cat confdefs.h >>conftest.$ac_ext
15515 cat >>conftest.$ac_ext <<_ACEOF
15516 /* end confdefs.h. */
15518 /* Override any GCC internal prototype to avoid an error.
15519 Use char because int might match the return type of a GCC
15520 builtin and then its argument prototype would still apply. */
15524 char fetch_2d_texel_rgba_dxt1 ();
15528 return fetch_2d_texel_rgba_dxt1 ();
15533 rm -f conftest.$ac_objext conftest$ac_exeext
15534 if { (ac_try="$ac_link"
15535 case "(($ac_try" in
15536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15537 *) ac_try_echo=$ac_try;;
15539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15540 (eval "$ac_link") 2>conftest.er1
15542 grep -v '^ *+' conftest.er1 >conftest.err
15544 cat conftest.err >&5
15545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546 (exit $ac_status); } && {
15547 test -z "$ac_c_werror_flag" ||
15548 test ! -s conftest.err
15549 } && test -s conftest$ac_exeext &&
15550 $as_test_x conftest$ac_exeext; then
15553 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'` ;;
15554 *) ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtxc_dxtn\\.$LIBEXT" | sed -e "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15557 echo "$as_me: failed program was:" >&5
15558 sed 's/^/| /' conftest.$ac_ext >&5
15563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15564 conftest$ac_exeext conftest.$ac_ext
15565 LIBS=$ac_check_soname_save_LIBS
15567 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"; then
15568 { echo "$as_me:$LINENO: result: not found" >&5
15569 echo "${ECHO_T}not found" >&6; }
15572 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
15573 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
15575 cat >>confdefs.h <<_ACEOF
15576 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15711 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15713 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15714 echo $ECHO_N "(cached) $ECHO_C" >&6
15716 cat >conftest.$ac_ext <<_ACEOF
15719 cat confdefs.h >>conftest.$ac_ext
15720 cat >>conftest.$ac_ext <<_ACEOF
15721 /* end confdefs.h. */
15722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15724 #define $ac_func innocuous_$ac_func
15726 /* System header to define __stub macros and hopefully few prototypes,
15727 which can conflict with char $ac_func (); below.
15728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15729 <limits.h> exists even on freestanding compilers. */
15732 # include <limits.h>
15734 # include <assert.h>
15739 /* Override any GCC internal prototype to avoid an error.
15740 Use char because int might match the return type of a GCC
15741 builtin and then its argument prototype would still apply. */
15746 /* The GNU C library defines this for functions which it implements
15747 to always fail with ENOSYS. Some functions are actually named
15748 something starting with __ and the normal name is an alias. */
15749 #if defined __stub_$ac_func || defined __stub___$ac_func
15756 return $ac_func ();
15761 rm -f conftest.$ac_objext conftest$ac_exeext
15762 if { (ac_try="$ac_link"
15763 case "(($ac_try" in
15764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15765 *) ac_try_echo=$ac_try;;
15767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15768 (eval "$ac_link") 2>conftest.er1
15770 grep -v '^ *+' conftest.er1 >conftest.err
15772 cat conftest.err >&5
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); } && {
15775 test -z "$ac_c_werror_flag" ||
15776 test ! -s conftest.err
15777 } && test -s conftest$ac_exeext &&
15778 $as_test_x conftest$ac_exeext; then
15779 eval "$as_ac_var=yes"
15781 echo "$as_me: failed program was:" >&5
15782 sed 's/^/| /' conftest.$ac_ext >&5
15784 eval "$as_ac_var=no"
15787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15788 conftest$ac_exeext conftest.$ac_ext
15790 ac_res=`eval echo '${'$as_ac_var'}'`
15791 { echo "$as_me:$LINENO: result: $ac_res" >&5
15792 echo "${ECHO_T}$ac_res" >&6; }
15793 if test `eval echo '${'$as_ac_var'}'` = yes; then
15794 cat >>confdefs.h <<_ACEOF
15795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15802 if test "$ac_cv_func_dlopen" = no
15804 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15805 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15806 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15807 echo $ECHO_N "(cached) $ECHO_C" >&6
15809 ac_check_lib_save_LIBS=$LIBS
15811 cat >conftest.$ac_ext <<_ACEOF
15814 cat confdefs.h >>conftest.$ac_ext
15815 cat >>conftest.$ac_ext <<_ACEOF
15816 /* end confdefs.h. */
15818 /* Override any GCC internal prototype to avoid an error.
15819 Use char because int might match the return type of a GCC
15820 builtin and then its argument prototype would still apply. */
15833 rm -f conftest.$ac_objext conftest$ac_exeext
15834 if { (ac_try="$ac_link"
15835 case "(($ac_try" in
15836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15837 *) ac_try_echo=$ac_try;;
15839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15840 (eval "$ac_link") 2>conftest.er1
15842 grep -v '^ *+' conftest.er1 >conftest.err
15844 cat conftest.err >&5
15845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15846 (exit $ac_status); } && {
15847 test -z "$ac_c_werror_flag" ||
15848 test ! -s conftest.err
15849 } && test -s conftest$ac_exeext &&
15850 $as_test_x conftest$ac_exeext; then
15851 ac_cv_lib_dl_dlopen=yes
15853 echo "$as_me: failed program was:" >&5
15854 sed 's/^/| /' conftest.$ac_ext >&5
15856 ac_cv_lib_dl_dlopen=no
15859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15860 conftest$ac_exeext conftest.$ac_ext
15861 LIBS=$ac_check_lib_save_LIBS
15863 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15864 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15865 if test $ac_cv_lib_dl_dlopen = yes; then
15866 cat >>confdefs.h <<\_ACEOF
15867 #define HAVE_DLOPEN 1
15874 ac_wine_check_funcs_save_LIBS="$LIBS"
15875 LIBS="$LIBS $LIBDL"
15877 for ac_func in dladdr
15879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15880 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15882 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15883 echo $ECHO_N "(cached) $ECHO_C" >&6
15885 cat >conftest.$ac_ext <<_ACEOF
15888 cat confdefs.h >>conftest.$ac_ext
15889 cat >>conftest.$ac_ext <<_ACEOF
15890 /* end confdefs.h. */
15891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15893 #define $ac_func innocuous_$ac_func
15895 /* System header to define __stub macros and hopefully few prototypes,
15896 which can conflict with char $ac_func (); below.
15897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15898 <limits.h> exists even on freestanding compilers. */
15901 # include <limits.h>
15903 # include <assert.h>
15908 /* Override any GCC internal prototype to avoid an error.
15909 Use char because int might match the return type of a GCC
15910 builtin and then its argument prototype would still apply. */
15915 /* The GNU C library defines this for functions which it implements
15916 to always fail with ENOSYS. Some functions are actually named
15917 something starting with __ and the normal name is an alias. */
15918 #if defined __stub_$ac_func || defined __stub___$ac_func
15925 return $ac_func ();
15930 rm -f conftest.$ac_objext conftest$ac_exeext
15931 if { (ac_try="$ac_link"
15932 case "(($ac_try" in
15933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15934 *) ac_try_echo=$ac_try;;
15936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15937 (eval "$ac_link") 2>conftest.er1
15939 grep -v '^ *+' conftest.er1 >conftest.err
15941 cat conftest.err >&5
15942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15943 (exit $ac_status); } && {
15944 test -z "$ac_c_werror_flag" ||
15945 test ! -s conftest.err
15946 } && test -s conftest$ac_exeext &&
15947 $as_test_x conftest$ac_exeext; then
15948 eval "$as_ac_var=yes"
15950 echo "$as_me: failed program was:" >&5
15951 sed 's/^/| /' conftest.$ac_ext >&5
15953 eval "$as_ac_var=no"
15956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15957 conftest$ac_exeext conftest.$ac_ext
15959 ac_res=`eval echo '${'$as_ac_var'}'`
15960 { echo "$as_me:$LINENO: result: $ac_res" >&5
15961 echo "${ECHO_T}$ac_res" >&6; }
15962 if test `eval echo '${'$as_ac_var'}'` = yes; then
15963 cat >>confdefs.h <<_ACEOF
15964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15970 LIBS="$ac_wine_check_funcs_save_LIBS"
15972 if test "$ac_cv_func_poll" = no
15974 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
15975 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
15976 if test "${ac_cv_lib_poll_poll+set}" = set; then
15977 echo $ECHO_N "(cached) $ECHO_C" >&6
15979 ac_check_lib_save_LIBS=$LIBS
15980 LIBS="-lpoll $LIBS"
15981 cat >conftest.$ac_ext <<_ACEOF
15984 cat confdefs.h >>conftest.$ac_ext
15985 cat >>conftest.$ac_ext <<_ACEOF
15986 /* end confdefs.h. */
15988 /* Override any GCC internal prototype to avoid an error.
15989 Use char because int might match the return type of a GCC
15990 builtin and then its argument prototype would still apply. */
16003 rm -f conftest.$ac_objext conftest$ac_exeext
16004 if { (ac_try="$ac_link"
16005 case "(($ac_try" in
16006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16007 *) ac_try_echo=$ac_try;;
16009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16010 (eval "$ac_link") 2>conftest.er1
16012 grep -v '^ *+' conftest.er1 >conftest.err
16014 cat conftest.err >&5
16015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16016 (exit $ac_status); } && {
16017 test -z "$ac_c_werror_flag" ||
16018 test ! -s conftest.err
16019 } && test -s conftest$ac_exeext &&
16020 $as_test_x conftest$ac_exeext; then
16021 ac_cv_lib_poll_poll=yes
16023 echo "$as_me: failed program was:" >&5
16024 sed 's/^/| /' conftest.$ac_ext >&5
16026 ac_cv_lib_poll_poll=no
16029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16030 conftest$ac_exeext conftest.$ac_ext
16031 LIBS=$ac_check_lib_save_LIBS
16033 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16034 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16035 if test $ac_cv_lib_poll_poll = yes; then
16036 cat >>confdefs.h <<\_ACEOF
16037 #define HAVE_POLL 1
16045 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16046 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16047 if test "${ac_cv_search_gethostbyname+set}" = set; then
16048 echo $ECHO_N "(cached) $ECHO_C" >&6
16050 ac_func_search_save_LIBS=$LIBS
16051 cat >conftest.$ac_ext <<_ACEOF
16054 cat confdefs.h >>conftest.$ac_ext
16055 cat >>conftest.$ac_ext <<_ACEOF
16056 /* end confdefs.h. */
16058 /* Override any GCC internal prototype to avoid an error.
16059 Use char because int might match the return type of a GCC
16060 builtin and then its argument prototype would still apply. */
16064 char gethostbyname ();
16068 return gethostbyname ();
16073 for ac_lib in '' nsl; do
16074 if test -z "$ac_lib"; then
16075 ac_res="none required"
16078 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16080 rm -f conftest.$ac_objext conftest$ac_exeext
16081 if { (ac_try="$ac_link"
16082 case "(($ac_try" in
16083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16084 *) ac_try_echo=$ac_try;;
16086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16087 (eval "$ac_link") 2>conftest.er1
16089 grep -v '^ *+' conftest.er1 >conftest.err
16091 cat conftest.err >&5
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); } && {
16094 test -z "$ac_c_werror_flag" ||
16095 test ! -s conftest.err
16096 } && test -s conftest$ac_exeext &&
16097 $as_test_x conftest$ac_exeext; then
16098 ac_cv_search_gethostbyname=$ac_res
16100 echo "$as_me: failed program was:" >&5
16101 sed 's/^/| /' conftest.$ac_ext >&5
16106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16108 if test "${ac_cv_search_gethostbyname+set}" = set; then
16112 if test "${ac_cv_search_gethostbyname+set}" = set; then
16115 ac_cv_search_gethostbyname=no
16117 rm conftest.$ac_ext
16118 LIBS=$ac_func_search_save_LIBS
16120 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16121 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16122 ac_res=$ac_cv_search_gethostbyname
16123 if test "$ac_res" != no; then
16124 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16129 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16130 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16131 if test "${ac_cv_search_connect+set}" = set; then
16132 echo $ECHO_N "(cached) $ECHO_C" >&6
16134 ac_func_search_save_LIBS=$LIBS
16135 cat >conftest.$ac_ext <<_ACEOF
16138 cat confdefs.h >>conftest.$ac_ext
16139 cat >>conftest.$ac_ext <<_ACEOF
16140 /* end confdefs.h. */
16142 /* Override any GCC internal prototype to avoid an error.
16143 Use char because int might match the return type of a GCC
16144 builtin and then its argument prototype would still apply. */
16157 for ac_lib in '' socket; do
16158 if test -z "$ac_lib"; then
16159 ac_res="none required"
16162 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16164 rm -f conftest.$ac_objext conftest$ac_exeext
16165 if { (ac_try="$ac_link"
16166 case "(($ac_try" in
16167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16168 *) ac_try_echo=$ac_try;;
16170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16171 (eval "$ac_link") 2>conftest.er1
16173 grep -v '^ *+' conftest.er1 >conftest.err
16175 cat conftest.err >&5
16176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16177 (exit $ac_status); } && {
16178 test -z "$ac_c_werror_flag" ||
16179 test ! -s conftest.err
16180 } && test -s conftest$ac_exeext &&
16181 $as_test_x conftest$ac_exeext; then
16182 ac_cv_search_connect=$ac_res
16184 echo "$as_me: failed program was:" >&5
16185 sed 's/^/| /' conftest.$ac_ext >&5
16190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16192 if test "${ac_cv_search_connect+set}" = set; then
16196 if test "${ac_cv_search_connect+set}" = set; then
16199 ac_cv_search_connect=no
16201 rm conftest.$ac_ext
16202 LIBS=$ac_func_search_save_LIBS
16204 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16205 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16206 ac_res=$ac_cv_search_connect
16207 if test "$ac_res" != no; then
16208 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16213 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16214 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16215 if test "${ac_cv_search_inet_aton+set}" = set; then
16216 echo $ECHO_N "(cached) $ECHO_C" >&6
16218 ac_func_search_save_LIBS=$LIBS
16219 cat >conftest.$ac_ext <<_ACEOF
16222 cat confdefs.h >>conftest.$ac_ext
16223 cat >>conftest.$ac_ext <<_ACEOF
16224 /* end confdefs.h. */
16226 /* Override any GCC internal prototype to avoid an error.
16227 Use char because int might match the return type of a GCC
16228 builtin and then its argument prototype would still apply. */
16236 return inet_aton ();
16241 for ac_lib in '' resolv; do
16242 if test -z "$ac_lib"; then
16243 ac_res="none required"
16246 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16248 rm -f conftest.$ac_objext conftest$ac_exeext
16249 if { (ac_try="$ac_link"
16250 case "(($ac_try" in
16251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16252 *) ac_try_echo=$ac_try;;
16254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16255 (eval "$ac_link") 2>conftest.er1
16257 grep -v '^ *+' conftest.er1 >conftest.err
16259 cat conftest.err >&5
16260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16261 (exit $ac_status); } && {
16262 test -z "$ac_c_werror_flag" ||
16263 test ! -s conftest.err
16264 } && test -s conftest$ac_exeext &&
16265 $as_test_x conftest$ac_exeext; then
16266 ac_cv_search_inet_aton=$ac_res
16268 echo "$as_me: failed program was:" >&5
16269 sed 's/^/| /' conftest.$ac_ext >&5
16274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16276 if test "${ac_cv_search_inet_aton+set}" = set; then
16280 if test "${ac_cv_search_inet_aton+set}" = set; then
16283 ac_cv_search_inet_aton=no
16285 rm conftest.$ac_ext
16286 LIBS=$ac_func_search_save_LIBS
16288 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16289 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16290 ac_res=$ac_cv_search_inet_aton
16291 if test "$ac_res" != no; then
16292 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16317 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16319 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16320 echo $ECHO_N "(cached) $ECHO_C" >&6
16322 cat >conftest.$ac_ext <<_ACEOF
16325 cat confdefs.h >>conftest.$ac_ext
16326 cat >>conftest.$ac_ext <<_ACEOF
16327 /* end confdefs.h. */
16328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16330 #define $ac_func innocuous_$ac_func
16332 /* System header to define __stub macros and hopefully few prototypes,
16333 which can conflict with char $ac_func (); below.
16334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16335 <limits.h> exists even on freestanding compilers. */
16338 # include <limits.h>
16340 # include <assert.h>
16345 /* Override any GCC internal prototype to avoid an error.
16346 Use char because int might match the return type of a GCC
16347 builtin and then its argument prototype would still apply. */
16352 /* The GNU C library defines this for functions which it implements
16353 to always fail with ENOSYS. Some functions are actually named
16354 something starting with __ and the normal name is an alias. */
16355 #if defined __stub_$ac_func || defined __stub___$ac_func
16362 return $ac_func ();
16367 rm -f conftest.$ac_objext conftest$ac_exeext
16368 if { (ac_try="$ac_link"
16369 case "(($ac_try" in
16370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16371 *) ac_try_echo=$ac_try;;
16373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16374 (eval "$ac_link") 2>conftest.er1
16376 grep -v '^ *+' conftest.er1 >conftest.err
16378 cat conftest.err >&5
16379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16380 (exit $ac_status); } && {
16381 test -z "$ac_c_werror_flag" ||
16382 test ! -s conftest.err
16383 } && test -s conftest$ac_exeext &&
16384 $as_test_x conftest$ac_exeext; then
16385 eval "$as_ac_var=yes"
16387 echo "$as_me: failed program was:" >&5
16388 sed 's/^/| /' conftest.$ac_ext >&5
16390 eval "$as_ac_var=no"
16393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16394 conftest$ac_exeext conftest.$ac_ext
16396 ac_res=`eval echo '${'$as_ac_var'}'`
16397 { echo "$as_me:$LINENO: result: $ac_res" >&5
16398 echo "${ECHO_T}$ac_res" >&6; }
16399 if test `eval echo '${'$as_ac_var'}'` = yes; then
16400 cat >>confdefs.h <<_ACEOF
16401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16409 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16410 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16411 if test "${ac_cv_c_const+set}" = set; then
16412 echo $ECHO_N "(cached) $ECHO_C" >&6
16414 cat >conftest.$ac_ext <<_ACEOF
16417 cat confdefs.h >>conftest.$ac_ext
16418 cat >>conftest.$ac_ext <<_ACEOF
16419 /* end confdefs.h. */
16424 /* FIXME: Include the comments suggested by Paul. */
16425 #ifndef __cplusplus
16426 /* Ultrix mips cc rejects this. */
16427 typedef int charset[2];
16429 /* SunOS 4.1.1 cc rejects this. */
16430 char const *const *pcpcc;
16432 /* NEC SVR4.0.2 mips cc rejects this. */
16433 struct point {int x, y;};
16434 static struct point const zero = {0,0};
16435 /* AIX XL C 1.02.0.0 rejects this.
16436 It does not let you subtract one const X* pointer from another in
16437 an arm of an if-expression whose if-part is not a constant
16439 const char *g = "string";
16440 pcpcc = &g + (g ? g-g : 0);
16441 /* HPUX 7.0 cc rejects these. */
16443 ppc = (char**) pcpcc;
16444 pcpcc = (char const *const *) ppc;
16445 { /* SCO 3.2v4 cc rejects this. */
16447 char const *s = 0 ? (char *) 0 : (char const *) 0;
16452 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16453 int x[] = {25, 17};
16454 const int *foo = &x[0];
16457 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16458 typedef const int *iptr;
16462 { /* AIX XL C 1.02.0.0 rejects this saying
16463 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16464 struct s { int j; const int *ap[3]; };
16465 struct s *b; b->j = 5;
16467 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16468 const int foo = 10;
16469 if (!foo) return 0;
16471 return !cs[0] && !zero.x;
16478 rm -f conftest.$ac_objext
16479 if { (ac_try="$ac_compile"
16480 case "(($ac_try" in
16481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16482 *) ac_try_echo=$ac_try;;
16484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16485 (eval "$ac_compile") 2>conftest.er1
16487 grep -v '^ *+' conftest.er1 >conftest.err
16489 cat conftest.err >&5
16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16491 (exit $ac_status); } && {
16492 test -z "$ac_c_werror_flag" ||
16493 test ! -s conftest.err
16494 } && test -s conftest.$ac_objext; then
16497 echo "$as_me: failed program was:" >&5
16498 sed 's/^/| /' conftest.$ac_ext >&5
16503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16505 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16506 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16507 if test $ac_cv_c_const = no; then
16509 cat >>confdefs.h <<\_ACEOF
16515 { echo "$as_me:$LINENO: checking for inline" >&5
16516 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16517 if test "${ac_cv_c_inline+set}" = set; then
16518 echo $ECHO_N "(cached) $ECHO_C" >&6
16521 for ac_kw in inline __inline__ __inline; do
16522 cat >conftest.$ac_ext <<_ACEOF
16525 cat confdefs.h >>conftest.$ac_ext
16526 cat >>conftest.$ac_ext <<_ACEOF
16527 /* end confdefs.h. */
16528 #ifndef __cplusplus
16530 static $ac_kw foo_t static_foo () {return 0; }
16531 $ac_kw foo_t foo () {return 0; }
16535 rm -f conftest.$ac_objext
16536 if { (ac_try="$ac_compile"
16537 case "(($ac_try" in
16538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16539 *) ac_try_echo=$ac_try;;
16541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16542 (eval "$ac_compile") 2>conftest.er1
16544 grep -v '^ *+' conftest.er1 >conftest.err
16546 cat conftest.err >&5
16547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16548 (exit $ac_status); } && {
16549 test -z "$ac_c_werror_flag" ||
16550 test ! -s conftest.err
16551 } && test -s conftest.$ac_objext; then
16552 ac_cv_c_inline=$ac_kw
16554 echo "$as_me: failed program was:" >&5
16555 sed 's/^/| /' conftest.$ac_ext >&5
16560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16561 test "$ac_cv_c_inline" != no && break
16565 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16566 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16569 case $ac_cv_c_inline in
16572 case $ac_cv_c_inline in
16574 *) ac_val=$ac_cv_c_inline;;
16576 cat >>confdefs.h <<_ACEOF
16577 #ifndef __cplusplus
16578 #define inline $ac_val
16584 { echo "$as_me:$LINENO: checking for mode_t" >&5
16585 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16586 if test "${ac_cv_type_mode_t+set}" = set; then
16587 echo $ECHO_N "(cached) $ECHO_C" >&6
16589 cat >conftest.$ac_ext <<_ACEOF
16592 cat confdefs.h >>conftest.$ac_ext
16593 cat >>conftest.$ac_ext <<_ACEOF
16594 /* end confdefs.h. */
16595 $ac_includes_default
16596 typedef mode_t ac__type_new_;
16600 if ((ac__type_new_ *) 0)
16602 if (sizeof (ac__type_new_))
16608 rm -f conftest.$ac_objext
16609 if { (ac_try="$ac_compile"
16610 case "(($ac_try" in
16611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16612 *) ac_try_echo=$ac_try;;
16614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16615 (eval "$ac_compile") 2>conftest.er1
16617 grep -v '^ *+' conftest.er1 >conftest.err
16619 cat conftest.err >&5
16620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621 (exit $ac_status); } && {
16622 test -z "$ac_c_werror_flag" ||
16623 test ! -s conftest.err
16624 } && test -s conftest.$ac_objext; then
16625 ac_cv_type_mode_t=yes
16627 echo "$as_me: failed program was:" >&5
16628 sed 's/^/| /' conftest.$ac_ext >&5
16630 ac_cv_type_mode_t=no
16633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16635 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16636 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16637 if test $ac_cv_type_mode_t = yes; then
16639 cat >>confdefs.h <<_ACEOF
16640 #define HAVE_MODE_T 1
16645 { echo "$as_me:$LINENO: checking for off_t" >&5
16646 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16647 if test "${ac_cv_type_off_t+set}" = set; then
16648 echo $ECHO_N "(cached) $ECHO_C" >&6
16650 cat >conftest.$ac_ext <<_ACEOF
16653 cat confdefs.h >>conftest.$ac_ext
16654 cat >>conftest.$ac_ext <<_ACEOF
16655 /* end confdefs.h. */
16656 $ac_includes_default
16657 typedef off_t ac__type_new_;
16661 if ((ac__type_new_ *) 0)
16663 if (sizeof (ac__type_new_))
16669 rm -f conftest.$ac_objext
16670 if { (ac_try="$ac_compile"
16671 case "(($ac_try" in
16672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16673 *) ac_try_echo=$ac_try;;
16675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16676 (eval "$ac_compile") 2>conftest.er1
16678 grep -v '^ *+' conftest.er1 >conftest.err
16680 cat conftest.err >&5
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); } && {
16683 test -z "$ac_c_werror_flag" ||
16684 test ! -s conftest.err
16685 } && test -s conftest.$ac_objext; then
16686 ac_cv_type_off_t=yes
16688 echo "$as_me: failed program was:" >&5
16689 sed 's/^/| /' conftest.$ac_ext >&5
16691 ac_cv_type_off_t=no
16694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16696 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16697 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16698 if test $ac_cv_type_off_t = yes; then
16700 cat >>confdefs.h <<_ACEOF
16701 #define HAVE_OFF_T 1
16706 { echo "$as_me:$LINENO: checking for pid_t" >&5
16707 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16708 if test "${ac_cv_type_pid_t+set}" = set; then
16709 echo $ECHO_N "(cached) $ECHO_C" >&6
16711 cat >conftest.$ac_ext <<_ACEOF
16714 cat confdefs.h >>conftest.$ac_ext
16715 cat >>conftest.$ac_ext <<_ACEOF
16716 /* end confdefs.h. */
16717 $ac_includes_default
16718 typedef pid_t ac__type_new_;
16722 if ((ac__type_new_ *) 0)
16724 if (sizeof (ac__type_new_))
16730 rm -f conftest.$ac_objext
16731 if { (ac_try="$ac_compile"
16732 case "(($ac_try" in
16733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16734 *) ac_try_echo=$ac_try;;
16736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16737 (eval "$ac_compile") 2>conftest.er1
16739 grep -v '^ *+' conftest.er1 >conftest.err
16741 cat conftest.err >&5
16742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16743 (exit $ac_status); } && {
16744 test -z "$ac_c_werror_flag" ||
16745 test ! -s conftest.err
16746 } && test -s conftest.$ac_objext; then
16747 ac_cv_type_pid_t=yes
16749 echo "$as_me: failed program was:" >&5
16750 sed 's/^/| /' conftest.$ac_ext >&5
16752 ac_cv_type_pid_t=no
16755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16757 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16758 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16759 if test $ac_cv_type_pid_t = yes; then
16761 cat >>confdefs.h <<_ACEOF
16762 #define HAVE_PID_T 1
16767 { echo "$as_me:$LINENO: checking for size_t" >&5
16768 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16769 if test "${ac_cv_type_size_t+set}" = set; then
16770 echo $ECHO_N "(cached) $ECHO_C" >&6
16772 cat >conftest.$ac_ext <<_ACEOF
16775 cat confdefs.h >>conftest.$ac_ext
16776 cat >>conftest.$ac_ext <<_ACEOF
16777 /* end confdefs.h. */
16778 $ac_includes_default
16779 typedef size_t ac__type_new_;
16783 if ((ac__type_new_ *) 0)
16785 if (sizeof (ac__type_new_))
16791 rm -f conftest.$ac_objext
16792 if { (ac_try="$ac_compile"
16793 case "(($ac_try" in
16794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16795 *) ac_try_echo=$ac_try;;
16797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16798 (eval "$ac_compile") 2>conftest.er1
16800 grep -v '^ *+' conftest.er1 >conftest.err
16802 cat conftest.err >&5
16803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16804 (exit $ac_status); } && {
16805 test -z "$ac_c_werror_flag" ||
16806 test ! -s conftest.err
16807 } && test -s conftest.$ac_objext; then
16808 ac_cv_type_size_t=yes
16810 echo "$as_me: failed program was:" >&5
16811 sed 's/^/| /' conftest.$ac_ext >&5
16813 ac_cv_type_size_t=no
16816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16818 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16819 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16820 if test $ac_cv_type_size_t = yes; then
16822 cat >>confdefs.h <<_ACEOF
16823 #define HAVE_SIZE_T 1
16828 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16829 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16830 if test "${ac_cv_type_ssize_t+set}" = set; then
16831 echo $ECHO_N "(cached) $ECHO_C" >&6
16833 cat >conftest.$ac_ext <<_ACEOF
16836 cat confdefs.h >>conftest.$ac_ext
16837 cat >>conftest.$ac_ext <<_ACEOF
16838 /* end confdefs.h. */
16839 $ac_includes_default
16840 typedef ssize_t ac__type_new_;
16844 if ((ac__type_new_ *) 0)
16846 if (sizeof (ac__type_new_))
16852 rm -f conftest.$ac_objext
16853 if { (ac_try="$ac_compile"
16854 case "(($ac_try" in
16855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16856 *) ac_try_echo=$ac_try;;
16858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16859 (eval "$ac_compile") 2>conftest.er1
16861 grep -v '^ *+' conftest.er1 >conftest.err
16863 cat conftest.err >&5
16864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16865 (exit $ac_status); } && {
16866 test -z "$ac_c_werror_flag" ||
16867 test ! -s conftest.err
16868 } && test -s conftest.$ac_objext; then
16869 ac_cv_type_ssize_t=yes
16871 echo "$as_me: failed program was:" >&5
16872 sed 's/^/| /' conftest.$ac_ext >&5
16874 ac_cv_type_ssize_t=no
16877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16879 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16880 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16881 if test $ac_cv_type_ssize_t = yes; then
16883 cat >>confdefs.h <<_ACEOF
16884 #define HAVE_SSIZE_T 1
16889 { echo "$as_me:$LINENO: checking for long long" >&5
16890 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16891 if test "${ac_cv_type_long_long+set}" = set; then
16892 echo $ECHO_N "(cached) $ECHO_C" >&6
16894 cat >conftest.$ac_ext <<_ACEOF
16897 cat confdefs.h >>conftest.$ac_ext
16898 cat >>conftest.$ac_ext <<_ACEOF
16899 /* end confdefs.h. */
16900 $ac_includes_default
16901 typedef long long ac__type_new_;
16905 if ((ac__type_new_ *) 0)
16907 if (sizeof (ac__type_new_))
16913 rm -f conftest.$ac_objext
16914 if { (ac_try="$ac_compile"
16915 case "(($ac_try" in
16916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16917 *) ac_try_echo=$ac_try;;
16919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16920 (eval "$ac_compile") 2>conftest.er1
16922 grep -v '^ *+' conftest.er1 >conftest.err
16924 cat conftest.err >&5
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); } && {
16927 test -z "$ac_c_werror_flag" ||
16928 test ! -s conftest.err
16929 } && test -s conftest.$ac_objext; then
16930 ac_cv_type_long_long=yes
16932 echo "$as_me: failed program was:" >&5
16933 sed 's/^/| /' conftest.$ac_ext >&5
16935 ac_cv_type_long_long=no
16938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16940 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16941 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
16942 if test $ac_cv_type_long_long = yes; then
16944 cat >>confdefs.h <<_ACEOF
16945 #define HAVE_LONG_LONG 1
16950 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
16951 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
16952 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
16953 echo $ECHO_N "(cached) $ECHO_C" >&6
16955 cat >conftest.$ac_ext <<_ACEOF
16958 cat confdefs.h >>conftest.$ac_ext
16959 cat >>conftest.$ac_ext <<_ACEOF
16960 /* end confdefs.h. */
16961 $ac_includes_default
16962 typedef fsblkcnt_t ac__type_new_;
16966 if ((ac__type_new_ *) 0)
16968 if (sizeof (ac__type_new_))
16974 rm -f conftest.$ac_objext
16975 if { (ac_try="$ac_compile"
16976 case "(($ac_try" in
16977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16978 *) ac_try_echo=$ac_try;;
16980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16981 (eval "$ac_compile") 2>conftest.er1
16983 grep -v '^ *+' conftest.er1 >conftest.err
16985 cat conftest.err >&5
16986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16987 (exit $ac_status); } && {
16988 test -z "$ac_c_werror_flag" ||
16989 test ! -s conftest.err
16990 } && test -s conftest.$ac_objext; then
16991 ac_cv_type_fsblkcnt_t=yes
16993 echo "$as_me: failed program was:" >&5
16994 sed 's/^/| /' conftest.$ac_ext >&5
16996 ac_cv_type_fsblkcnt_t=no
16999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17001 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17002 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17003 if test $ac_cv_type_fsblkcnt_t = yes; then
17005 cat >>confdefs.h <<_ACEOF
17006 #define HAVE_FSBLKCNT_T 1
17011 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17012 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17013 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17014 echo $ECHO_N "(cached) $ECHO_C" >&6
17016 cat >conftest.$ac_ext <<_ACEOF
17019 cat confdefs.h >>conftest.$ac_ext
17020 cat >>conftest.$ac_ext <<_ACEOF
17021 /* end confdefs.h. */
17022 $ac_includes_default
17023 typedef fsfilcnt_t ac__type_new_;
17027 if ((ac__type_new_ *) 0)
17029 if (sizeof (ac__type_new_))
17035 rm -f conftest.$ac_objext
17036 if { (ac_try="$ac_compile"
17037 case "(($ac_try" in
17038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17039 *) ac_try_echo=$ac_try;;
17041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17042 (eval "$ac_compile") 2>conftest.er1
17044 grep -v '^ *+' conftest.er1 >conftest.err
17046 cat conftest.err >&5
17047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17048 (exit $ac_status); } && {
17049 test -z "$ac_c_werror_flag" ||
17050 test ! -s conftest.err
17051 } && test -s conftest.$ac_objext; then
17052 ac_cv_type_fsfilcnt_t=yes
17054 echo "$as_me: failed program was:" >&5
17055 sed 's/^/| /' conftest.$ac_ext >&5
17057 ac_cv_type_fsfilcnt_t=no
17060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17062 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17063 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17064 if test $ac_cv_type_fsfilcnt_t = yes; then
17066 cat >>confdefs.h <<_ACEOF
17067 #define HAVE_FSFILCNT_T 1
17073 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17074 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17075 if test "${ac_cv_type_sigset_t+set}" = set; then
17076 echo $ECHO_N "(cached) $ECHO_C" >&6
17078 cat >conftest.$ac_ext <<_ACEOF
17081 cat confdefs.h >>conftest.$ac_ext
17082 cat >>conftest.$ac_ext <<_ACEOF
17083 /* end confdefs.h. */
17084 #include <signal.h>
17086 typedef sigset_t ac__type_new_;
17090 if ((ac__type_new_ *) 0)
17092 if (sizeof (ac__type_new_))
17098 rm -f conftest.$ac_objext
17099 if { (ac_try="$ac_compile"
17100 case "(($ac_try" in
17101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17102 *) ac_try_echo=$ac_try;;
17104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17105 (eval "$ac_compile") 2>conftest.er1
17107 grep -v '^ *+' conftest.er1 >conftest.err
17109 cat conftest.err >&5
17110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17111 (exit $ac_status); } && {
17112 test -z "$ac_c_werror_flag" ||
17113 test ! -s conftest.err
17114 } && test -s conftest.$ac_objext; then
17115 ac_cv_type_sigset_t=yes
17117 echo "$as_me: failed program was:" >&5
17118 sed 's/^/| /' conftest.$ac_ext >&5
17120 ac_cv_type_sigset_t=no
17123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17125 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17126 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17127 if test $ac_cv_type_sigset_t = yes; then
17129 cat >>confdefs.h <<_ACEOF
17130 #define HAVE_SIGSET_T 1
17136 { echo "$as_me:$LINENO: checking for request_sense" >&5
17137 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17138 if test "${ac_cv_type_request_sense+set}" = set; then
17139 echo $ECHO_N "(cached) $ECHO_C" >&6
17141 cat >conftest.$ac_ext <<_ACEOF
17144 cat confdefs.h >>conftest.$ac_ext
17145 cat >>conftest.$ac_ext <<_ACEOF
17146 /* end confdefs.h. */
17147 #include <linux/cdrom.h>
17149 typedef request_sense ac__type_new_;
17153 if ((ac__type_new_ *) 0)
17155 if (sizeof (ac__type_new_))
17161 rm -f conftest.$ac_objext
17162 if { (ac_try="$ac_compile"
17163 case "(($ac_try" in
17164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17165 *) ac_try_echo=$ac_try;;
17167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17168 (eval "$ac_compile") 2>conftest.er1
17170 grep -v '^ *+' conftest.er1 >conftest.err
17172 cat conftest.err >&5
17173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174 (exit $ac_status); } && {
17175 test -z "$ac_c_werror_flag" ||
17176 test ! -s conftest.err
17177 } && test -s conftest.$ac_objext; then
17178 ac_cv_type_request_sense=yes
17180 echo "$as_me: failed program was:" >&5
17181 sed 's/^/| /' conftest.$ac_ext >&5
17183 ac_cv_type_request_sense=no
17186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17188 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17189 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17190 if test $ac_cv_type_request_sense = yes; then
17192 cat >>confdefs.h <<_ACEOF
17193 #define HAVE_REQUEST_SENSE 1
17200 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17201 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17202 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17203 echo $ECHO_N "(cached) $ECHO_C" >&6
17205 cat >conftest.$ac_ext <<_ACEOF
17208 cat confdefs.h >>conftest.$ac_ext
17209 cat >>conftest.$ac_ext <<_ACEOF
17210 /* end confdefs.h. */
17211 #ifdef HAVE_LINUX_INPUT_H
17212 #include <linux/input.h>
17218 static struct ff_effect ac_aggr;
17219 if (ac_aggr.direction)
17225 rm -f conftest.$ac_objext
17226 if { (ac_try="$ac_compile"
17227 case "(($ac_try" in
17228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17229 *) ac_try_echo=$ac_try;;
17231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17232 (eval "$ac_compile") 2>conftest.er1
17234 grep -v '^ *+' conftest.er1 >conftest.err
17236 cat conftest.err >&5
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); } && {
17239 test -z "$ac_c_werror_flag" ||
17240 test ! -s conftest.err
17241 } && test -s conftest.$ac_objext; then
17242 ac_cv_member_struct_ff_effect_direction=yes
17244 echo "$as_me: failed program was:" >&5
17245 sed 's/^/| /' conftest.$ac_ext >&5
17247 cat >conftest.$ac_ext <<_ACEOF
17250 cat confdefs.h >>conftest.$ac_ext
17251 cat >>conftest.$ac_ext <<_ACEOF
17252 /* end confdefs.h. */
17253 #ifdef HAVE_LINUX_INPUT_H
17254 #include <linux/input.h>
17260 static struct ff_effect ac_aggr;
17261 if (sizeof ac_aggr.direction)
17267 rm -f conftest.$ac_objext
17268 if { (ac_try="$ac_compile"
17269 case "(($ac_try" in
17270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17271 *) ac_try_echo=$ac_try;;
17273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17274 (eval "$ac_compile") 2>conftest.er1
17276 grep -v '^ *+' conftest.er1 >conftest.err
17278 cat conftest.err >&5
17279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17280 (exit $ac_status); } && {
17281 test -z "$ac_c_werror_flag" ||
17282 test ! -s conftest.err
17283 } && test -s conftest.$ac_objext; then
17284 ac_cv_member_struct_ff_effect_direction=yes
17286 echo "$as_me: failed program was:" >&5
17287 sed 's/^/| /' conftest.$ac_ext >&5
17289 ac_cv_member_struct_ff_effect_direction=no
17292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17297 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17298 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17299 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17301 cat >>confdefs.h <<_ACEOF
17302 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17309 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17310 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17311 if test "${wine_cv_have_sigaddset+set}" = set; then
17312 echo $ECHO_N "(cached) $ECHO_C" >&6
17314 cat >conftest.$ac_ext <<_ACEOF
17317 cat confdefs.h >>conftest.$ac_ext
17318 cat >>conftest.$ac_ext <<_ACEOF
17319 /* end confdefs.h. */
17320 #include <signal.h>
17324 sigset_t set; sigaddset(&set,SIGTERM);
17329 rm -f conftest.$ac_objext conftest$ac_exeext
17330 if { (ac_try="$ac_link"
17331 case "(($ac_try" in
17332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17333 *) ac_try_echo=$ac_try;;
17335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17336 (eval "$ac_link") 2>conftest.er1
17338 grep -v '^ *+' conftest.er1 >conftest.err
17340 cat conftest.err >&5
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); } && {
17343 test -z "$ac_c_werror_flag" ||
17344 test ! -s conftest.err
17345 } && test -s conftest$ac_exeext &&
17346 $as_test_x conftest$ac_exeext; then
17347 wine_cv_have_sigaddset=yes
17349 echo "$as_me: failed program was:" >&5
17350 sed 's/^/| /' conftest.$ac_ext >&5
17352 wine_cv_have_sigaddset=no
17355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17356 conftest$ac_exeext conftest.$ac_ext
17358 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17359 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17360 if test "$wine_cv_have_sigaddset" = "yes"
17363 cat >>confdefs.h <<\_ACEOF
17364 #define HAVE_SIGADDSET 1
17370 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17371 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17372 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17373 echo $ECHO_N "(cached) $ECHO_C" >&6
17375 cat >conftest.$ac_ext <<_ACEOF
17378 cat confdefs.h >>conftest.$ac_ext
17379 cat >>conftest.$ac_ext <<_ACEOF
17380 /* end confdefs.h. */
17388 struct hostent *result;
17395 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17396 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17402 rm -f conftest.$ac_objext conftest$ac_exeext
17403 if { (ac_try="$ac_link"
17404 case "(($ac_try" in
17405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17406 *) ac_try_echo=$ac_try;;
17408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17409 (eval "$ac_link") 2>conftest.er1
17411 grep -v '^ *+' conftest.er1 >conftest.err
17413 cat conftest.err >&5
17414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17415 (exit $ac_status); } && {
17416 test -z "$ac_c_werror_flag" ||
17417 test ! -s conftest.err
17418 } && test -s conftest$ac_exeext &&
17419 $as_test_x conftest$ac_exeext; then
17420 wine_cv_linux_gethostbyname_r_6=yes
17422 echo "$as_me: failed program was:" >&5
17423 sed 's/^/| /' conftest.$ac_ext >&5
17425 wine_cv_linux_gethostbyname_r_6=no
17429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17430 conftest$ac_exeext conftest.$ac_ext
17433 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17434 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17435 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17438 cat >>confdefs.h <<\_ACEOF
17439 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17444 if test "$ac_cv_header_linux_joystick_h" = "yes"
17446 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17447 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17448 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17449 echo $ECHO_N "(cached) $ECHO_C" >&6
17451 cat >conftest.$ac_ext <<_ACEOF
17454 cat confdefs.h >>conftest.$ac_ext
17455 cat >>conftest.$ac_ext <<_ACEOF
17456 /* end confdefs.h. */
17458 #include <sys/ioctl.h>
17459 #include <sys/types.h>
17460 #include <linux/joystick.h>
17462 struct js_event blub;
17463 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17464 #error "no 2.2 header"
17475 rm -f conftest.$ac_objext
17476 if { (ac_try="$ac_compile"
17477 case "(($ac_try" in
17478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17479 *) ac_try_echo=$ac_try;;
17481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17482 (eval "$ac_compile") 2>conftest.er1
17484 grep -v '^ *+' conftest.er1 >conftest.err
17486 cat conftest.err >&5
17487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17488 (exit $ac_status); } && {
17489 test -z "$ac_c_werror_flag" ||
17490 test ! -s conftest.err
17491 } && test -s conftest.$ac_objext; then
17492 wine_cv_linux_joystick_22_api=yes
17494 echo "$as_me: failed program was:" >&5
17495 sed 's/^/| /' conftest.$ac_ext >&5
17497 wine_cv_linux_joystick_22_api=no
17500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17503 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17504 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17505 if test "$wine_cv_linux_joystick_22_api" = "yes"
17508 cat >>confdefs.h <<\_ACEOF
17509 #define HAVE_LINUX_22_JOYSTICK_API 1
17516 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17517 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17518 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17519 echo $ECHO_N "(cached) $ECHO_C" >&6
17521 cat >conftest.$ac_ext <<_ACEOF
17524 cat confdefs.h >>conftest.$ac_ext
17525 cat >>conftest.$ac_ext <<_ACEOF
17526 /* end confdefs.h. */
17527 #include <sys/types.h>
17528 #ifdef HAVE_SYS_PARAM_H
17529 # include <sys/param.h>
17531 #ifdef HAVE_SYS_MOUNT_H
17532 # include <sys/mount.h>
17534 #ifdef HAVE_SYS_VFS_H
17535 # include <sys/vfs.h>
17537 #ifdef HAVE_SYS_STATFS_H
17538 # include <sys/statfs.h>
17544 static struct statfs ac_aggr;
17545 if (ac_aggr.f_bfree)
17551 rm -f conftest.$ac_objext
17552 if { (ac_try="$ac_compile"
17553 case "(($ac_try" in
17554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17555 *) ac_try_echo=$ac_try;;
17557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17558 (eval "$ac_compile") 2>conftest.er1
17560 grep -v '^ *+' conftest.er1 >conftest.err
17562 cat conftest.err >&5
17563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17564 (exit $ac_status); } && {
17565 test -z "$ac_c_werror_flag" ||
17566 test ! -s conftest.err
17567 } && test -s conftest.$ac_objext; then
17568 ac_cv_member_struct_statfs_f_bfree=yes
17570 echo "$as_me: failed program was:" >&5
17571 sed 's/^/| /' conftest.$ac_ext >&5
17573 cat >conftest.$ac_ext <<_ACEOF
17576 cat confdefs.h >>conftest.$ac_ext
17577 cat >>conftest.$ac_ext <<_ACEOF
17578 /* end confdefs.h. */
17579 #include <sys/types.h>
17580 #ifdef HAVE_SYS_PARAM_H
17581 # include <sys/param.h>
17583 #ifdef HAVE_SYS_MOUNT_H
17584 # include <sys/mount.h>
17586 #ifdef HAVE_SYS_VFS_H
17587 # include <sys/vfs.h>
17589 #ifdef HAVE_SYS_STATFS_H
17590 # include <sys/statfs.h>
17596 static struct statfs ac_aggr;
17597 if (sizeof ac_aggr.f_bfree)
17603 rm -f conftest.$ac_objext
17604 if { (ac_try="$ac_compile"
17605 case "(($ac_try" in
17606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17607 *) ac_try_echo=$ac_try;;
17609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17610 (eval "$ac_compile") 2>conftest.er1
17612 grep -v '^ *+' conftest.er1 >conftest.err
17614 cat conftest.err >&5
17615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17616 (exit $ac_status); } && {
17617 test -z "$ac_c_werror_flag" ||
17618 test ! -s conftest.err
17619 } && test -s conftest.$ac_objext; then
17620 ac_cv_member_struct_statfs_f_bfree=yes
17622 echo "$as_me: failed program was:" >&5
17623 sed 's/^/| /' conftest.$ac_ext >&5
17625 ac_cv_member_struct_statfs_f_bfree=no
17628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17633 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17634 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17635 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17637 cat >>confdefs.h <<_ACEOF
17638 #define HAVE_STRUCT_STATFS_F_BFREE 1
17643 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17644 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17645 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17646 echo $ECHO_N "(cached) $ECHO_C" >&6
17648 cat >conftest.$ac_ext <<_ACEOF
17651 cat confdefs.h >>conftest.$ac_ext
17652 cat >>conftest.$ac_ext <<_ACEOF
17653 /* end confdefs.h. */
17654 #include <sys/types.h>
17655 #ifdef HAVE_SYS_PARAM_H
17656 # include <sys/param.h>
17658 #ifdef HAVE_SYS_MOUNT_H
17659 # include <sys/mount.h>
17661 #ifdef HAVE_SYS_VFS_H
17662 # include <sys/vfs.h>
17664 #ifdef HAVE_SYS_STATFS_H
17665 # include <sys/statfs.h>
17671 static struct statfs ac_aggr;
17672 if (ac_aggr.f_bavail)
17678 rm -f conftest.$ac_objext
17679 if { (ac_try="$ac_compile"
17680 case "(($ac_try" in
17681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17682 *) ac_try_echo=$ac_try;;
17684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17685 (eval "$ac_compile") 2>conftest.er1
17687 grep -v '^ *+' conftest.er1 >conftest.err
17689 cat conftest.err >&5
17690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17691 (exit $ac_status); } && {
17692 test -z "$ac_c_werror_flag" ||
17693 test ! -s conftest.err
17694 } && test -s conftest.$ac_objext; then
17695 ac_cv_member_struct_statfs_f_bavail=yes
17697 echo "$as_me: failed program was:" >&5
17698 sed 's/^/| /' conftest.$ac_ext >&5
17700 cat >conftest.$ac_ext <<_ACEOF
17703 cat confdefs.h >>conftest.$ac_ext
17704 cat >>conftest.$ac_ext <<_ACEOF
17705 /* end confdefs.h. */
17706 #include <sys/types.h>
17707 #ifdef HAVE_SYS_PARAM_H
17708 # include <sys/param.h>
17710 #ifdef HAVE_SYS_MOUNT_H
17711 # include <sys/mount.h>
17713 #ifdef HAVE_SYS_VFS_H
17714 # include <sys/vfs.h>
17716 #ifdef HAVE_SYS_STATFS_H
17717 # include <sys/statfs.h>
17723 static struct statfs ac_aggr;
17724 if (sizeof ac_aggr.f_bavail)
17730 rm -f conftest.$ac_objext
17731 if { (ac_try="$ac_compile"
17732 case "(($ac_try" in
17733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17734 *) ac_try_echo=$ac_try;;
17736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17737 (eval "$ac_compile") 2>conftest.er1
17739 grep -v '^ *+' conftest.er1 >conftest.err
17741 cat conftest.err >&5
17742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17743 (exit $ac_status); } && {
17744 test -z "$ac_c_werror_flag" ||
17745 test ! -s conftest.err
17746 } && test -s conftest.$ac_objext; then
17747 ac_cv_member_struct_statfs_f_bavail=yes
17749 echo "$as_me: failed program was:" >&5
17750 sed 's/^/| /' conftest.$ac_ext >&5
17752 ac_cv_member_struct_statfs_f_bavail=no
17755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17760 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17761 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17762 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17764 cat >>confdefs.h <<_ACEOF
17765 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17770 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17771 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17772 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17773 echo $ECHO_N "(cached) $ECHO_C" >&6
17775 cat >conftest.$ac_ext <<_ACEOF
17778 cat confdefs.h >>conftest.$ac_ext
17779 cat >>conftest.$ac_ext <<_ACEOF
17780 /* end confdefs.h. */
17781 #include <sys/types.h>
17782 #ifdef HAVE_SYS_PARAM_H
17783 # include <sys/param.h>
17785 #ifdef HAVE_SYS_MOUNT_H
17786 # include <sys/mount.h>
17788 #ifdef HAVE_SYS_VFS_H
17789 # include <sys/vfs.h>
17791 #ifdef HAVE_SYS_STATFS_H
17792 # include <sys/statfs.h>
17798 static struct statfs ac_aggr;
17799 if (ac_aggr.f_frsize)
17805 rm -f conftest.$ac_objext
17806 if { (ac_try="$ac_compile"
17807 case "(($ac_try" in
17808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17809 *) ac_try_echo=$ac_try;;
17811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17812 (eval "$ac_compile") 2>conftest.er1
17814 grep -v '^ *+' conftest.er1 >conftest.err
17816 cat conftest.err >&5
17817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17818 (exit $ac_status); } && {
17819 test -z "$ac_c_werror_flag" ||
17820 test ! -s conftest.err
17821 } && test -s conftest.$ac_objext; then
17822 ac_cv_member_struct_statfs_f_frsize=yes
17824 echo "$as_me: failed program was:" >&5
17825 sed 's/^/| /' conftest.$ac_ext >&5
17827 cat >conftest.$ac_ext <<_ACEOF
17830 cat confdefs.h >>conftest.$ac_ext
17831 cat >>conftest.$ac_ext <<_ACEOF
17832 /* end confdefs.h. */
17833 #include <sys/types.h>
17834 #ifdef HAVE_SYS_PARAM_H
17835 # include <sys/param.h>
17837 #ifdef HAVE_SYS_MOUNT_H
17838 # include <sys/mount.h>
17840 #ifdef HAVE_SYS_VFS_H
17841 # include <sys/vfs.h>
17843 #ifdef HAVE_SYS_STATFS_H
17844 # include <sys/statfs.h>
17850 static struct statfs ac_aggr;
17851 if (sizeof ac_aggr.f_frsize)
17857 rm -f conftest.$ac_objext
17858 if { (ac_try="$ac_compile"
17859 case "(($ac_try" in
17860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17861 *) ac_try_echo=$ac_try;;
17863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17864 (eval "$ac_compile") 2>conftest.er1
17866 grep -v '^ *+' conftest.er1 >conftest.err
17868 cat conftest.err >&5
17869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17870 (exit $ac_status); } && {
17871 test -z "$ac_c_werror_flag" ||
17872 test ! -s conftest.err
17873 } && test -s conftest.$ac_objext; then
17874 ac_cv_member_struct_statfs_f_frsize=yes
17876 echo "$as_me: failed program was:" >&5
17877 sed 's/^/| /' conftest.$ac_ext >&5
17879 ac_cv_member_struct_statfs_f_frsize=no
17882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17887 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17888 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17889 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17891 cat >>confdefs.h <<_ACEOF
17892 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17897 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17898 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17899 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17900 echo $ECHO_N "(cached) $ECHO_C" >&6
17902 cat >conftest.$ac_ext <<_ACEOF
17905 cat confdefs.h >>conftest.$ac_ext
17906 cat >>conftest.$ac_ext <<_ACEOF
17907 /* end confdefs.h. */
17908 #include <sys/types.h>
17909 #ifdef HAVE_SYS_PARAM_H
17910 # include <sys/param.h>
17912 #ifdef HAVE_SYS_MOUNT_H
17913 # include <sys/mount.h>
17915 #ifdef HAVE_SYS_VFS_H
17916 # include <sys/vfs.h>
17918 #ifdef HAVE_SYS_STATFS_H
17919 # include <sys/statfs.h>
17925 static struct statfs ac_aggr;
17926 if (ac_aggr.f_ffree)
17932 rm -f conftest.$ac_objext
17933 if { (ac_try="$ac_compile"
17934 case "(($ac_try" in
17935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17936 *) ac_try_echo=$ac_try;;
17938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17939 (eval "$ac_compile") 2>conftest.er1
17941 grep -v '^ *+' conftest.er1 >conftest.err
17943 cat conftest.err >&5
17944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17945 (exit $ac_status); } && {
17946 test -z "$ac_c_werror_flag" ||
17947 test ! -s conftest.err
17948 } && test -s conftest.$ac_objext; then
17949 ac_cv_member_struct_statfs_f_ffree=yes
17951 echo "$as_me: failed program was:" >&5
17952 sed 's/^/| /' conftest.$ac_ext >&5
17954 cat >conftest.$ac_ext <<_ACEOF
17957 cat confdefs.h >>conftest.$ac_ext
17958 cat >>conftest.$ac_ext <<_ACEOF
17959 /* end confdefs.h. */
17960 #include <sys/types.h>
17961 #ifdef HAVE_SYS_PARAM_H
17962 # include <sys/param.h>
17964 #ifdef HAVE_SYS_MOUNT_H
17965 # include <sys/mount.h>
17967 #ifdef HAVE_SYS_VFS_H
17968 # include <sys/vfs.h>
17970 #ifdef HAVE_SYS_STATFS_H
17971 # include <sys/statfs.h>
17977 static struct statfs ac_aggr;
17978 if (sizeof ac_aggr.f_ffree)
17984 rm -f conftest.$ac_objext
17985 if { (ac_try="$ac_compile"
17986 case "(($ac_try" in
17987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17988 *) ac_try_echo=$ac_try;;
17990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17991 (eval "$ac_compile") 2>conftest.er1
17993 grep -v '^ *+' conftest.er1 >conftest.err
17995 cat conftest.err >&5
17996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17997 (exit $ac_status); } && {
17998 test -z "$ac_c_werror_flag" ||
17999 test ! -s conftest.err
18000 } && test -s conftest.$ac_objext; then
18001 ac_cv_member_struct_statfs_f_ffree=yes
18003 echo "$as_me: failed program was:" >&5
18004 sed 's/^/| /' conftest.$ac_ext >&5
18006 ac_cv_member_struct_statfs_f_ffree=no
18009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18014 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18015 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18016 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18018 cat >>confdefs.h <<_ACEOF
18019 #define HAVE_STRUCT_STATFS_F_FFREE 1
18024 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18025 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18026 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18027 echo $ECHO_N "(cached) $ECHO_C" >&6
18029 cat >conftest.$ac_ext <<_ACEOF
18032 cat confdefs.h >>conftest.$ac_ext
18033 cat >>conftest.$ac_ext <<_ACEOF
18034 /* end confdefs.h. */
18035 #include <sys/types.h>
18036 #ifdef HAVE_SYS_PARAM_H
18037 # include <sys/param.h>
18039 #ifdef HAVE_SYS_MOUNT_H
18040 # include <sys/mount.h>
18042 #ifdef HAVE_SYS_VFS_H
18043 # include <sys/vfs.h>
18045 #ifdef HAVE_SYS_STATFS_H
18046 # include <sys/statfs.h>
18052 static struct statfs ac_aggr;
18053 if (ac_aggr.f_favail)
18059 rm -f conftest.$ac_objext
18060 if { (ac_try="$ac_compile"
18061 case "(($ac_try" in
18062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18063 *) ac_try_echo=$ac_try;;
18065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18066 (eval "$ac_compile") 2>conftest.er1
18068 grep -v '^ *+' conftest.er1 >conftest.err
18070 cat conftest.err >&5
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); } && {
18073 test -z "$ac_c_werror_flag" ||
18074 test ! -s conftest.err
18075 } && test -s conftest.$ac_objext; then
18076 ac_cv_member_struct_statfs_f_favail=yes
18078 echo "$as_me: failed program was:" >&5
18079 sed 's/^/| /' conftest.$ac_ext >&5
18081 cat >conftest.$ac_ext <<_ACEOF
18084 cat confdefs.h >>conftest.$ac_ext
18085 cat >>conftest.$ac_ext <<_ACEOF
18086 /* end confdefs.h. */
18087 #include <sys/types.h>
18088 #ifdef HAVE_SYS_PARAM_H
18089 # include <sys/param.h>
18091 #ifdef HAVE_SYS_MOUNT_H
18092 # include <sys/mount.h>
18094 #ifdef HAVE_SYS_VFS_H
18095 # include <sys/vfs.h>
18097 #ifdef HAVE_SYS_STATFS_H
18098 # include <sys/statfs.h>
18104 static struct statfs ac_aggr;
18105 if (sizeof ac_aggr.f_favail)
18111 rm -f conftest.$ac_objext
18112 if { (ac_try="$ac_compile"
18113 case "(($ac_try" in
18114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18115 *) ac_try_echo=$ac_try;;
18117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18118 (eval "$ac_compile") 2>conftest.er1
18120 grep -v '^ *+' conftest.er1 >conftest.err
18122 cat conftest.err >&5
18123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124 (exit $ac_status); } && {
18125 test -z "$ac_c_werror_flag" ||
18126 test ! -s conftest.err
18127 } && test -s conftest.$ac_objext; then
18128 ac_cv_member_struct_statfs_f_favail=yes
18130 echo "$as_me: failed program was:" >&5
18131 sed 's/^/| /' conftest.$ac_ext >&5
18133 ac_cv_member_struct_statfs_f_favail=no
18136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18141 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18142 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18143 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18145 cat >>confdefs.h <<_ACEOF
18146 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18151 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18152 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18153 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18154 echo $ECHO_N "(cached) $ECHO_C" >&6
18156 cat >conftest.$ac_ext <<_ACEOF
18159 cat confdefs.h >>conftest.$ac_ext
18160 cat >>conftest.$ac_ext <<_ACEOF
18161 /* end confdefs.h. */
18162 #include <sys/types.h>
18163 #ifdef HAVE_SYS_PARAM_H
18164 # include <sys/param.h>
18166 #ifdef HAVE_SYS_MOUNT_H
18167 # include <sys/mount.h>
18169 #ifdef HAVE_SYS_VFS_H
18170 # include <sys/vfs.h>
18172 #ifdef HAVE_SYS_STATFS_H
18173 # include <sys/statfs.h>
18179 static struct statfs ac_aggr;
18180 if (ac_aggr.f_namelen)
18186 rm -f conftest.$ac_objext
18187 if { (ac_try="$ac_compile"
18188 case "(($ac_try" in
18189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18190 *) ac_try_echo=$ac_try;;
18192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18193 (eval "$ac_compile") 2>conftest.er1
18195 grep -v '^ *+' conftest.er1 >conftest.err
18197 cat conftest.err >&5
18198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18199 (exit $ac_status); } && {
18200 test -z "$ac_c_werror_flag" ||
18201 test ! -s conftest.err
18202 } && test -s conftest.$ac_objext; then
18203 ac_cv_member_struct_statfs_f_namelen=yes
18205 echo "$as_me: failed program was:" >&5
18206 sed 's/^/| /' conftest.$ac_ext >&5
18208 cat >conftest.$ac_ext <<_ACEOF
18211 cat confdefs.h >>conftest.$ac_ext
18212 cat >>conftest.$ac_ext <<_ACEOF
18213 /* end confdefs.h. */
18214 #include <sys/types.h>
18215 #ifdef HAVE_SYS_PARAM_H
18216 # include <sys/param.h>
18218 #ifdef HAVE_SYS_MOUNT_H
18219 # include <sys/mount.h>
18221 #ifdef HAVE_SYS_VFS_H
18222 # include <sys/vfs.h>
18224 #ifdef HAVE_SYS_STATFS_H
18225 # include <sys/statfs.h>
18231 static struct statfs ac_aggr;
18232 if (sizeof ac_aggr.f_namelen)
18238 rm -f conftest.$ac_objext
18239 if { (ac_try="$ac_compile"
18240 case "(($ac_try" in
18241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18242 *) ac_try_echo=$ac_try;;
18244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18245 (eval "$ac_compile") 2>conftest.er1
18247 grep -v '^ *+' conftest.er1 >conftest.err
18249 cat conftest.err >&5
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); } && {
18252 test -z "$ac_c_werror_flag" ||
18253 test ! -s conftest.err
18254 } && test -s conftest.$ac_objext; then
18255 ac_cv_member_struct_statfs_f_namelen=yes
18257 echo "$as_me: failed program was:" >&5
18258 sed 's/^/| /' conftest.$ac_ext >&5
18260 ac_cv_member_struct_statfs_f_namelen=no
18263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18268 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18269 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18270 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18272 cat >>confdefs.h <<_ACEOF
18273 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18280 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18281 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18282 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18283 echo $ECHO_N "(cached) $ECHO_C" >&6
18285 cat >conftest.$ac_ext <<_ACEOF
18288 cat confdefs.h >>conftest.$ac_ext
18289 cat >>conftest.$ac_ext <<_ACEOF
18290 /* end confdefs.h. */
18291 #ifdef HAVE_SYS_STATVFS_H
18292 #include <sys/statvfs.h>
18298 static struct statvfs ac_aggr;
18299 if (ac_aggr.f_blocks)
18305 rm -f conftest.$ac_objext
18306 if { (ac_try="$ac_compile"
18307 case "(($ac_try" in
18308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18309 *) ac_try_echo=$ac_try;;
18311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18312 (eval "$ac_compile") 2>conftest.er1
18314 grep -v '^ *+' conftest.er1 >conftest.err
18316 cat conftest.err >&5
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); } && {
18319 test -z "$ac_c_werror_flag" ||
18320 test ! -s conftest.err
18321 } && test -s conftest.$ac_objext; then
18322 ac_cv_member_struct_statvfs_f_blocks=yes
18324 echo "$as_me: failed program was:" >&5
18325 sed 's/^/| /' conftest.$ac_ext >&5
18327 cat >conftest.$ac_ext <<_ACEOF
18330 cat confdefs.h >>conftest.$ac_ext
18331 cat >>conftest.$ac_ext <<_ACEOF
18332 /* end confdefs.h. */
18333 #ifdef HAVE_SYS_STATVFS_H
18334 #include <sys/statvfs.h>
18340 static struct statvfs ac_aggr;
18341 if (sizeof ac_aggr.f_blocks)
18347 rm -f conftest.$ac_objext
18348 if { (ac_try="$ac_compile"
18349 case "(($ac_try" in
18350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18351 *) ac_try_echo=$ac_try;;
18353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18354 (eval "$ac_compile") 2>conftest.er1
18356 grep -v '^ *+' conftest.er1 >conftest.err
18358 cat conftest.err >&5
18359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); } && {
18361 test -z "$ac_c_werror_flag" ||
18362 test ! -s conftest.err
18363 } && test -s conftest.$ac_objext; then
18364 ac_cv_member_struct_statvfs_f_blocks=yes
18366 echo "$as_me: failed program was:" >&5
18367 sed 's/^/| /' conftest.$ac_ext >&5
18369 ac_cv_member_struct_statvfs_f_blocks=no
18372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18377 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18378 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18379 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18381 cat >>confdefs.h <<_ACEOF
18382 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18389 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18390 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18391 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18392 echo $ECHO_N "(cached) $ECHO_C" >&6
18394 cat >conftest.$ac_ext <<_ACEOF
18397 cat confdefs.h >>conftest.$ac_ext
18398 cat >>conftest.$ac_ext <<_ACEOF
18399 /* end confdefs.h. */
18400 #include <sys/types.h>
18401 #ifdef HAVE_SYS_SOCKET_H
18402 # include <sys/socket.h>
18404 #ifdef HAVE_SYS_UN_H
18405 # include <sys/un.h>
18411 static struct msghdr ac_aggr;
18412 if (ac_aggr.msg_accrights)
18418 rm -f conftest.$ac_objext
18419 if { (ac_try="$ac_compile"
18420 case "(($ac_try" in
18421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18422 *) ac_try_echo=$ac_try;;
18424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18425 (eval "$ac_compile") 2>conftest.er1
18427 grep -v '^ *+' conftest.er1 >conftest.err
18429 cat conftest.err >&5
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); } && {
18432 test -z "$ac_c_werror_flag" ||
18433 test ! -s conftest.err
18434 } && test -s conftest.$ac_objext; then
18435 ac_cv_member_struct_msghdr_msg_accrights=yes
18437 echo "$as_me: failed program was:" >&5
18438 sed 's/^/| /' conftest.$ac_ext >&5
18440 cat >conftest.$ac_ext <<_ACEOF
18443 cat confdefs.h >>conftest.$ac_ext
18444 cat >>conftest.$ac_ext <<_ACEOF
18445 /* end confdefs.h. */
18446 #include <sys/types.h>
18447 #ifdef HAVE_SYS_SOCKET_H
18448 # include <sys/socket.h>
18450 #ifdef HAVE_SYS_UN_H
18451 # include <sys/un.h>
18457 static struct msghdr ac_aggr;
18458 if (sizeof ac_aggr.msg_accrights)
18464 rm -f conftest.$ac_objext
18465 if { (ac_try="$ac_compile"
18466 case "(($ac_try" in
18467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18468 *) ac_try_echo=$ac_try;;
18470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18471 (eval "$ac_compile") 2>conftest.er1
18473 grep -v '^ *+' conftest.er1 >conftest.err
18475 cat conftest.err >&5
18476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18477 (exit $ac_status); } && {
18478 test -z "$ac_c_werror_flag" ||
18479 test ! -s conftest.err
18480 } && test -s conftest.$ac_objext; then
18481 ac_cv_member_struct_msghdr_msg_accrights=yes
18483 echo "$as_me: failed program was:" >&5
18484 sed 's/^/| /' conftest.$ac_ext >&5
18486 ac_cv_member_struct_msghdr_msg_accrights=no
18489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18494 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18495 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18496 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18498 cat >>confdefs.h <<_ACEOF
18499 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18504 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18505 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18506 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18507 echo $ECHO_N "(cached) $ECHO_C" >&6
18509 cat >conftest.$ac_ext <<_ACEOF
18512 cat confdefs.h >>conftest.$ac_ext
18513 cat >>conftest.$ac_ext <<_ACEOF
18514 /* end confdefs.h. */
18515 #include <sys/types.h>
18516 #ifdef HAVE_SYS_SOCKET_H
18517 # include <sys/socket.h>
18519 #ifdef HAVE_SYS_UN_H
18520 # include <sys/un.h>
18526 static struct sockaddr ac_aggr;
18527 if (ac_aggr.sa_len)
18533 rm -f conftest.$ac_objext
18534 if { (ac_try="$ac_compile"
18535 case "(($ac_try" in
18536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18537 *) ac_try_echo=$ac_try;;
18539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18540 (eval "$ac_compile") 2>conftest.er1
18542 grep -v '^ *+' conftest.er1 >conftest.err
18544 cat conftest.err >&5
18545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546 (exit $ac_status); } && {
18547 test -z "$ac_c_werror_flag" ||
18548 test ! -s conftest.err
18549 } && test -s conftest.$ac_objext; then
18550 ac_cv_member_struct_sockaddr_sa_len=yes
18552 echo "$as_me: failed program was:" >&5
18553 sed 's/^/| /' conftest.$ac_ext >&5
18555 cat >conftest.$ac_ext <<_ACEOF
18558 cat confdefs.h >>conftest.$ac_ext
18559 cat >>conftest.$ac_ext <<_ACEOF
18560 /* end confdefs.h. */
18561 #include <sys/types.h>
18562 #ifdef HAVE_SYS_SOCKET_H
18563 # include <sys/socket.h>
18565 #ifdef HAVE_SYS_UN_H
18566 # include <sys/un.h>
18572 static struct sockaddr ac_aggr;
18573 if (sizeof ac_aggr.sa_len)
18579 rm -f conftest.$ac_objext
18580 if { (ac_try="$ac_compile"
18581 case "(($ac_try" in
18582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18583 *) ac_try_echo=$ac_try;;
18585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18586 (eval "$ac_compile") 2>conftest.er1
18588 grep -v '^ *+' conftest.er1 >conftest.err
18590 cat conftest.err >&5
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); } && {
18593 test -z "$ac_c_werror_flag" ||
18594 test ! -s conftest.err
18595 } && test -s conftest.$ac_objext; then
18596 ac_cv_member_struct_sockaddr_sa_len=yes
18598 echo "$as_me: failed program was:" >&5
18599 sed 's/^/| /' conftest.$ac_ext >&5
18601 ac_cv_member_struct_sockaddr_sa_len=no
18604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18609 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18610 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18611 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18613 cat >>confdefs.h <<_ACEOF
18614 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18619 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18620 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18621 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18622 echo $ECHO_N "(cached) $ECHO_C" >&6
18624 cat >conftest.$ac_ext <<_ACEOF
18627 cat confdefs.h >>conftest.$ac_ext
18628 cat >>conftest.$ac_ext <<_ACEOF
18629 /* end confdefs.h. */
18630 #include <sys/types.h>
18631 #ifdef HAVE_SYS_SOCKET_H
18632 # include <sys/socket.h>
18634 #ifdef HAVE_SYS_UN_H
18635 # include <sys/un.h>
18641 static struct sockaddr_un ac_aggr;
18642 if (ac_aggr.sun_len)
18648 rm -f conftest.$ac_objext
18649 if { (ac_try="$ac_compile"
18650 case "(($ac_try" in
18651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18652 *) ac_try_echo=$ac_try;;
18654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18655 (eval "$ac_compile") 2>conftest.er1
18657 grep -v '^ *+' conftest.er1 >conftest.err
18659 cat conftest.err >&5
18660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661 (exit $ac_status); } && {
18662 test -z "$ac_c_werror_flag" ||
18663 test ! -s conftest.err
18664 } && test -s conftest.$ac_objext; then
18665 ac_cv_member_struct_sockaddr_un_sun_len=yes
18667 echo "$as_me: failed program was:" >&5
18668 sed 's/^/| /' conftest.$ac_ext >&5
18670 cat >conftest.$ac_ext <<_ACEOF
18673 cat confdefs.h >>conftest.$ac_ext
18674 cat >>conftest.$ac_ext <<_ACEOF
18675 /* end confdefs.h. */
18676 #include <sys/types.h>
18677 #ifdef HAVE_SYS_SOCKET_H
18678 # include <sys/socket.h>
18680 #ifdef HAVE_SYS_UN_H
18681 # include <sys/un.h>
18687 static struct sockaddr_un ac_aggr;
18688 if (sizeof ac_aggr.sun_len)
18694 rm -f conftest.$ac_objext
18695 if { (ac_try="$ac_compile"
18696 case "(($ac_try" in
18697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18698 *) ac_try_echo=$ac_try;;
18700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18701 (eval "$ac_compile") 2>conftest.er1
18703 grep -v '^ *+' conftest.er1 >conftest.err
18705 cat conftest.err >&5
18706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18707 (exit $ac_status); } && {
18708 test -z "$ac_c_werror_flag" ||
18709 test ! -s conftest.err
18710 } && test -s conftest.$ac_objext; then
18711 ac_cv_member_struct_sockaddr_un_sun_len=yes
18713 echo "$as_me: failed program was:" >&5
18714 sed 's/^/| /' conftest.$ac_ext >&5
18716 ac_cv_member_struct_sockaddr_un_sun_len=no
18719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18724 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18725 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18726 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18728 cat >>confdefs.h <<_ACEOF
18729 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18736 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18737 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18738 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18739 echo $ECHO_N "(cached) $ECHO_C" >&6
18741 cat >conftest.$ac_ext <<_ACEOF
18744 cat confdefs.h >>conftest.$ac_ext
18745 cat >>conftest.$ac_ext <<_ACEOF
18746 /* end confdefs.h. */
18747 #include <sys/types.h>
18748 #ifdef HAVE_SCSI_SG_H
18749 #include <scsi/sg.h>
18755 static scsireq_t ac_aggr;
18762 rm -f conftest.$ac_objext
18763 if { (ac_try="$ac_compile"
18764 case "(($ac_try" in
18765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18766 *) ac_try_echo=$ac_try;;
18768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18769 (eval "$ac_compile") 2>conftest.er1
18771 grep -v '^ *+' conftest.er1 >conftest.err
18773 cat conftest.err >&5
18774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775 (exit $ac_status); } && {
18776 test -z "$ac_c_werror_flag" ||
18777 test ! -s conftest.err
18778 } && test -s conftest.$ac_objext; then
18779 ac_cv_member_scsireq_t_cmd=yes
18781 echo "$as_me: failed program was:" >&5
18782 sed 's/^/| /' conftest.$ac_ext >&5
18784 cat >conftest.$ac_ext <<_ACEOF
18787 cat confdefs.h >>conftest.$ac_ext
18788 cat >>conftest.$ac_ext <<_ACEOF
18789 /* end confdefs.h. */
18790 #include <sys/types.h>
18791 #ifdef HAVE_SCSI_SG_H
18792 #include <scsi/sg.h>
18798 static scsireq_t ac_aggr;
18799 if (sizeof ac_aggr.cmd)
18805 rm -f conftest.$ac_objext
18806 if { (ac_try="$ac_compile"
18807 case "(($ac_try" in
18808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18809 *) ac_try_echo=$ac_try;;
18811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18812 (eval "$ac_compile") 2>conftest.er1
18814 grep -v '^ *+' conftest.er1 >conftest.err
18816 cat conftest.err >&5
18817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18818 (exit $ac_status); } && {
18819 test -z "$ac_c_werror_flag" ||
18820 test ! -s conftest.err
18821 } && test -s conftest.$ac_objext; then
18822 ac_cv_member_scsireq_t_cmd=yes
18824 echo "$as_me: failed program was:" >&5
18825 sed 's/^/| /' conftest.$ac_ext >&5
18827 ac_cv_member_scsireq_t_cmd=no
18830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18835 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18836 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18837 if test $ac_cv_member_scsireq_t_cmd = yes; then
18839 cat >>confdefs.h <<_ACEOF
18840 #define HAVE_SCSIREQ_T_CMD 1
18845 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18846 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18847 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18848 echo $ECHO_N "(cached) $ECHO_C" >&6
18850 cat >conftest.$ac_ext <<_ACEOF
18853 cat confdefs.h >>conftest.$ac_ext
18854 cat >>conftest.$ac_ext <<_ACEOF
18855 /* end confdefs.h. */
18856 #include <sys/types.h>
18857 #ifdef HAVE_SCSI_SG_H
18858 #include <scsi/sg.h>
18864 static sg_io_hdr_t ac_aggr;
18865 if (ac_aggr.interface_id)
18871 rm -f conftest.$ac_objext
18872 if { (ac_try="$ac_compile"
18873 case "(($ac_try" in
18874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18875 *) ac_try_echo=$ac_try;;
18877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18878 (eval "$ac_compile") 2>conftest.er1
18880 grep -v '^ *+' conftest.er1 >conftest.err
18882 cat conftest.err >&5
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); } && {
18885 test -z "$ac_c_werror_flag" ||
18886 test ! -s conftest.err
18887 } && test -s conftest.$ac_objext; then
18888 ac_cv_member_sg_io_hdr_t_interface_id=yes
18890 echo "$as_me: failed program was:" >&5
18891 sed 's/^/| /' conftest.$ac_ext >&5
18893 cat >conftest.$ac_ext <<_ACEOF
18896 cat confdefs.h >>conftest.$ac_ext
18897 cat >>conftest.$ac_ext <<_ACEOF
18898 /* end confdefs.h. */
18899 #include <sys/types.h>
18900 #ifdef HAVE_SCSI_SG_H
18901 #include <scsi/sg.h>
18907 static sg_io_hdr_t ac_aggr;
18908 if (sizeof ac_aggr.interface_id)
18914 rm -f conftest.$ac_objext
18915 if { (ac_try="$ac_compile"
18916 case "(($ac_try" in
18917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18918 *) ac_try_echo=$ac_try;;
18920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18921 (eval "$ac_compile") 2>conftest.er1
18923 grep -v '^ *+' conftest.er1 >conftest.err
18925 cat conftest.err >&5
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 (exit $ac_status); } && {
18928 test -z "$ac_c_werror_flag" ||
18929 test ! -s conftest.err
18930 } && test -s conftest.$ac_objext; then
18931 ac_cv_member_sg_io_hdr_t_interface_id=yes
18933 echo "$as_me: failed program was:" >&5
18934 sed 's/^/| /' conftest.$ac_ext >&5
18936 ac_cv_member_sg_io_hdr_t_interface_id=no
18939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18944 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
18945 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
18946 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
18948 cat >>confdefs.h <<_ACEOF
18949 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18956 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
18957 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
18958 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
18959 echo $ECHO_N "(cached) $ECHO_C" >&6
18961 cat >conftest.$ac_ext <<_ACEOF
18964 cat confdefs.h >>conftest.$ac_ext
18965 cat >>conftest.$ac_ext <<_ACEOF
18966 /* end confdefs.h. */
18967 #include <signal.h>
18972 static siginfo_t ac_aggr;
18979 rm -f conftest.$ac_objext
18980 if { (ac_try="$ac_compile"
18981 case "(($ac_try" in
18982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18983 *) ac_try_echo=$ac_try;;
18985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18986 (eval "$ac_compile") 2>conftest.er1
18988 grep -v '^ *+' conftest.er1 >conftest.err
18990 cat conftest.err >&5
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); } && {
18993 test -z "$ac_c_werror_flag" ||
18994 test ! -s conftest.err
18995 } && test -s conftest.$ac_objext; then
18996 ac_cv_member_siginfo_t_si_fd=yes
18998 echo "$as_me: failed program was:" >&5
18999 sed 's/^/| /' conftest.$ac_ext >&5
19001 cat >conftest.$ac_ext <<_ACEOF
19004 cat confdefs.h >>conftest.$ac_ext
19005 cat >>conftest.$ac_ext <<_ACEOF
19006 /* end confdefs.h. */
19007 #include <signal.h>
19012 static siginfo_t ac_aggr;
19013 if (sizeof ac_aggr.si_fd)
19019 rm -f conftest.$ac_objext
19020 if { (ac_try="$ac_compile"
19021 case "(($ac_try" in
19022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19023 *) ac_try_echo=$ac_try;;
19025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19026 (eval "$ac_compile") 2>conftest.er1
19028 grep -v '^ *+' conftest.er1 >conftest.err
19030 cat conftest.err >&5
19031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19032 (exit $ac_status); } && {
19033 test -z "$ac_c_werror_flag" ||
19034 test ! -s conftest.err
19035 } && test -s conftest.$ac_objext; then
19036 ac_cv_member_siginfo_t_si_fd=yes
19038 echo "$as_me: failed program was:" >&5
19039 sed 's/^/| /' conftest.$ac_ext >&5
19041 ac_cv_member_siginfo_t_si_fd=no
19044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19049 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19050 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19051 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19053 cat >>confdefs.h <<_ACEOF
19054 #define HAVE_SIGINFO_T_SI_FD 1
19061 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19062 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19063 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19064 echo $ECHO_N "(cached) $ECHO_C" >&6
19066 cat >conftest.$ac_ext <<_ACEOF
19069 cat confdefs.h >>conftest.$ac_ext
19070 cat >>conftest.$ac_ext <<_ACEOF
19071 /* end confdefs.h. */
19072 #include <sys/types.h>
19073 #ifdef HAVE_SYS_MTIO_H
19074 #include <sys/mtio.h>
19080 static struct mtget ac_aggr;
19081 if (ac_aggr.mt_blksiz)
19087 rm -f conftest.$ac_objext
19088 if { (ac_try="$ac_compile"
19089 case "(($ac_try" in
19090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19091 *) ac_try_echo=$ac_try;;
19093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19094 (eval "$ac_compile") 2>conftest.er1
19096 grep -v '^ *+' conftest.er1 >conftest.err
19098 cat conftest.err >&5
19099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100 (exit $ac_status); } && {
19101 test -z "$ac_c_werror_flag" ||
19102 test ! -s conftest.err
19103 } && test -s conftest.$ac_objext; then
19104 ac_cv_member_struct_mtget_mt_blksiz=yes
19106 echo "$as_me: failed program was:" >&5
19107 sed 's/^/| /' conftest.$ac_ext >&5
19109 cat >conftest.$ac_ext <<_ACEOF
19112 cat confdefs.h >>conftest.$ac_ext
19113 cat >>conftest.$ac_ext <<_ACEOF
19114 /* end confdefs.h. */
19115 #include <sys/types.h>
19116 #ifdef HAVE_SYS_MTIO_H
19117 #include <sys/mtio.h>
19123 static struct mtget ac_aggr;
19124 if (sizeof ac_aggr.mt_blksiz)
19130 rm -f conftest.$ac_objext
19131 if { (ac_try="$ac_compile"
19132 case "(($ac_try" in
19133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19134 *) ac_try_echo=$ac_try;;
19136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19137 (eval "$ac_compile") 2>conftest.er1
19139 grep -v '^ *+' conftest.er1 >conftest.err
19141 cat conftest.err >&5
19142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19143 (exit $ac_status); } && {
19144 test -z "$ac_c_werror_flag" ||
19145 test ! -s conftest.err
19146 } && test -s conftest.$ac_objext; then
19147 ac_cv_member_struct_mtget_mt_blksiz=yes
19149 echo "$as_me: failed program was:" >&5
19150 sed 's/^/| /' conftest.$ac_ext >&5
19152 ac_cv_member_struct_mtget_mt_blksiz=no
19155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19160 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19161 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19162 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19164 cat >>confdefs.h <<_ACEOF
19165 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19170 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19171 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19172 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19173 echo $ECHO_N "(cached) $ECHO_C" >&6
19175 cat >conftest.$ac_ext <<_ACEOF
19178 cat confdefs.h >>conftest.$ac_ext
19179 cat >>conftest.$ac_ext <<_ACEOF
19180 /* end confdefs.h. */
19181 #include <sys/types.h>
19182 #ifdef HAVE_SYS_MTIO_H
19183 #include <sys/mtio.h>
19189 static struct mtget ac_aggr;
19190 if (ac_aggr.mt_gstat)
19196 rm -f conftest.$ac_objext
19197 if { (ac_try="$ac_compile"
19198 case "(($ac_try" in
19199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19200 *) ac_try_echo=$ac_try;;
19202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19203 (eval "$ac_compile") 2>conftest.er1
19205 grep -v '^ *+' conftest.er1 >conftest.err
19207 cat conftest.err >&5
19208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19209 (exit $ac_status); } && {
19210 test -z "$ac_c_werror_flag" ||
19211 test ! -s conftest.err
19212 } && test -s conftest.$ac_objext; then
19213 ac_cv_member_struct_mtget_mt_gstat=yes
19215 echo "$as_me: failed program was:" >&5
19216 sed 's/^/| /' conftest.$ac_ext >&5
19218 cat >conftest.$ac_ext <<_ACEOF
19221 cat confdefs.h >>conftest.$ac_ext
19222 cat >>conftest.$ac_ext <<_ACEOF
19223 /* end confdefs.h. */
19224 #include <sys/types.h>
19225 #ifdef HAVE_SYS_MTIO_H
19226 #include <sys/mtio.h>
19232 static struct mtget ac_aggr;
19233 if (sizeof ac_aggr.mt_gstat)
19239 rm -f conftest.$ac_objext
19240 if { (ac_try="$ac_compile"
19241 case "(($ac_try" in
19242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19243 *) ac_try_echo=$ac_try;;
19245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19246 (eval "$ac_compile") 2>conftest.er1
19248 grep -v '^ *+' conftest.er1 >conftest.err
19250 cat conftest.err >&5
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); } && {
19253 test -z "$ac_c_werror_flag" ||
19254 test ! -s conftest.err
19255 } && test -s conftest.$ac_objext; then
19256 ac_cv_member_struct_mtget_mt_gstat=yes
19258 echo "$as_me: failed program was:" >&5
19259 sed 's/^/| /' conftest.$ac_ext >&5
19261 ac_cv_member_struct_mtget_mt_gstat=no
19264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19269 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19270 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19271 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19273 cat >>confdefs.h <<_ACEOF
19274 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19279 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19280 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19281 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19282 echo $ECHO_N "(cached) $ECHO_C" >&6
19284 cat >conftest.$ac_ext <<_ACEOF
19287 cat confdefs.h >>conftest.$ac_ext
19288 cat >>conftest.$ac_ext <<_ACEOF
19289 /* end confdefs.h. */
19290 #include <sys/types.h>
19291 #ifdef HAVE_SYS_MTIO_H
19292 #include <sys/mtio.h>
19298 static struct mtget ac_aggr;
19299 if (ac_aggr.mt_blkno)
19305 rm -f conftest.$ac_objext
19306 if { (ac_try="$ac_compile"
19307 case "(($ac_try" in
19308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19309 *) ac_try_echo=$ac_try;;
19311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19312 (eval "$ac_compile") 2>conftest.er1
19314 grep -v '^ *+' conftest.er1 >conftest.err
19316 cat conftest.err >&5
19317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19318 (exit $ac_status); } && {
19319 test -z "$ac_c_werror_flag" ||
19320 test ! -s conftest.err
19321 } && test -s conftest.$ac_objext; then
19322 ac_cv_member_struct_mtget_mt_blkno=yes
19324 echo "$as_me: failed program was:" >&5
19325 sed 's/^/| /' conftest.$ac_ext >&5
19327 cat >conftest.$ac_ext <<_ACEOF
19330 cat confdefs.h >>conftest.$ac_ext
19331 cat >>conftest.$ac_ext <<_ACEOF
19332 /* end confdefs.h. */
19333 #include <sys/types.h>
19334 #ifdef HAVE_SYS_MTIO_H
19335 #include <sys/mtio.h>
19341 static struct mtget ac_aggr;
19342 if (sizeof ac_aggr.mt_blkno)
19348 rm -f conftest.$ac_objext
19349 if { (ac_try="$ac_compile"
19350 case "(($ac_try" in
19351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19352 *) ac_try_echo=$ac_try;;
19354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19355 (eval "$ac_compile") 2>conftest.er1
19357 grep -v '^ *+' conftest.er1 >conftest.err
19359 cat conftest.err >&5
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); } && {
19362 test -z "$ac_c_werror_flag" ||
19363 test ! -s conftest.err
19364 } && test -s conftest.$ac_objext; then
19365 ac_cv_member_struct_mtget_mt_blkno=yes
19367 echo "$as_me: failed program was:" >&5
19368 sed 's/^/| /' conftest.$ac_ext >&5
19370 ac_cv_member_struct_mtget_mt_blkno=no
19373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19378 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19379 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19380 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19382 cat >>confdefs.h <<_ACEOF
19383 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19390 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19391 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19392 if test "${ac_cv_member_struct_option_name+set}" = set; then
19393 echo $ECHO_N "(cached) $ECHO_C" >&6
19395 cat >conftest.$ac_ext <<_ACEOF
19398 cat confdefs.h >>conftest.$ac_ext
19399 cat >>conftest.$ac_ext <<_ACEOF
19400 /* end confdefs.h. */
19401 #ifdef HAVE_GETOPT_H
19402 #include <getopt.h>
19408 static struct option ac_aggr;
19415 rm -f conftest.$ac_objext
19416 if { (ac_try="$ac_compile"
19417 case "(($ac_try" in
19418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19419 *) ac_try_echo=$ac_try;;
19421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19422 (eval "$ac_compile") 2>conftest.er1
19424 grep -v '^ *+' conftest.er1 >conftest.err
19426 cat conftest.err >&5
19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19428 (exit $ac_status); } && {
19429 test -z "$ac_c_werror_flag" ||
19430 test ! -s conftest.err
19431 } && test -s conftest.$ac_objext; then
19432 ac_cv_member_struct_option_name=yes
19434 echo "$as_me: failed program was:" >&5
19435 sed 's/^/| /' conftest.$ac_ext >&5
19437 cat >conftest.$ac_ext <<_ACEOF
19440 cat confdefs.h >>conftest.$ac_ext
19441 cat >>conftest.$ac_ext <<_ACEOF
19442 /* end confdefs.h. */
19443 #ifdef HAVE_GETOPT_H
19444 #include <getopt.h>
19450 static struct option ac_aggr;
19451 if (sizeof ac_aggr.name)
19457 rm -f conftest.$ac_objext
19458 if { (ac_try="$ac_compile"
19459 case "(($ac_try" in
19460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19461 *) ac_try_echo=$ac_try;;
19463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19464 (eval "$ac_compile") 2>conftest.er1
19466 grep -v '^ *+' conftest.er1 >conftest.err
19468 cat conftest.err >&5
19469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19470 (exit $ac_status); } && {
19471 test -z "$ac_c_werror_flag" ||
19472 test ! -s conftest.err
19473 } && test -s conftest.$ac_objext; then
19474 ac_cv_member_struct_option_name=yes
19476 echo "$as_me: failed program was:" >&5
19477 sed 's/^/| /' conftest.$ac_ext >&5
19479 ac_cv_member_struct_option_name=no
19482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19487 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19488 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19489 if test $ac_cv_member_struct_option_name = yes; then
19491 cat >>confdefs.h <<_ACEOF
19492 #define HAVE_STRUCT_OPTION_NAME 1
19499 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19500 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19501 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19502 echo $ECHO_N "(cached) $ECHO_C" >&6
19504 cat >conftest.$ac_ext <<_ACEOF
19507 cat confdefs.h >>conftest.$ac_ext
19508 cat >>conftest.$ac_ext <<_ACEOF
19509 /* end confdefs.h. */
19510 $ac_includes_default
19514 static struct stat ac_aggr;
19515 if (ac_aggr.st_blocks)
19521 rm -f conftest.$ac_objext
19522 if { (ac_try="$ac_compile"
19523 case "(($ac_try" in
19524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19525 *) ac_try_echo=$ac_try;;
19527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19528 (eval "$ac_compile") 2>conftest.er1
19530 grep -v '^ *+' conftest.er1 >conftest.err
19532 cat conftest.err >&5
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); } && {
19535 test -z "$ac_c_werror_flag" ||
19536 test ! -s conftest.err
19537 } && test -s conftest.$ac_objext; then
19538 ac_cv_member_struct_stat_st_blocks=yes
19540 echo "$as_me: failed program was:" >&5
19541 sed 's/^/| /' conftest.$ac_ext >&5
19543 cat >conftest.$ac_ext <<_ACEOF
19546 cat confdefs.h >>conftest.$ac_ext
19547 cat >>conftest.$ac_ext <<_ACEOF
19548 /* end confdefs.h. */
19549 $ac_includes_default
19553 static struct stat ac_aggr;
19554 if (sizeof ac_aggr.st_blocks)
19560 rm -f conftest.$ac_objext
19561 if { (ac_try="$ac_compile"
19562 case "(($ac_try" in
19563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19564 *) ac_try_echo=$ac_try;;
19566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19567 (eval "$ac_compile") 2>conftest.er1
19569 grep -v '^ *+' conftest.er1 >conftest.err
19571 cat conftest.err >&5
19572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19573 (exit $ac_status); } && {
19574 test -z "$ac_c_werror_flag" ||
19575 test ! -s conftest.err
19576 } && test -s conftest.$ac_objext; then
19577 ac_cv_member_struct_stat_st_blocks=yes
19579 echo "$as_me: failed program was:" >&5
19580 sed 's/^/| /' conftest.$ac_ext >&5
19582 ac_cv_member_struct_stat_st_blocks=no
19585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19590 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19591 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19592 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19594 cat >>confdefs.h <<_ACEOF
19595 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19602 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19603 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19604 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19605 echo $ECHO_N "(cached) $ECHO_C" >&6
19607 cat >conftest.$ac_ext <<_ACEOF
19610 cat confdefs.h >>conftest.$ac_ext
19611 cat >>conftest.$ac_ext <<_ACEOF
19612 /* end confdefs.h. */
19613 #ifdef HAVE_SYS_TYPES_H
19614 #include <sys/types.h>
19616 #ifdef HAVE_NETINET_IN_H
19617 #include <netinet/in.h>
19623 static struct sockaddr_in6 ac_aggr;
19624 if (ac_aggr.sin6_scope_id)
19630 rm -f conftest.$ac_objext
19631 if { (ac_try="$ac_compile"
19632 case "(($ac_try" in
19633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19634 *) ac_try_echo=$ac_try;;
19636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19637 (eval "$ac_compile") 2>conftest.er1
19639 grep -v '^ *+' conftest.er1 >conftest.err
19641 cat conftest.err >&5
19642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643 (exit $ac_status); } && {
19644 test -z "$ac_c_werror_flag" ||
19645 test ! -s conftest.err
19646 } && test -s conftest.$ac_objext; then
19647 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19649 echo "$as_me: failed program was:" >&5
19650 sed 's/^/| /' conftest.$ac_ext >&5
19652 cat >conftest.$ac_ext <<_ACEOF
19655 cat confdefs.h >>conftest.$ac_ext
19656 cat >>conftest.$ac_ext <<_ACEOF
19657 /* end confdefs.h. */
19658 #ifdef HAVE_SYS_TYPES_H
19659 #include <sys/types.h>
19661 #ifdef HAVE_NETINET_IN_H
19662 #include <netinet/in.h>
19668 static struct sockaddr_in6 ac_aggr;
19669 if (sizeof ac_aggr.sin6_scope_id)
19675 rm -f conftest.$ac_objext
19676 if { (ac_try="$ac_compile"
19677 case "(($ac_try" in
19678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19679 *) ac_try_echo=$ac_try;;
19681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19682 (eval "$ac_compile") 2>conftest.er1
19684 grep -v '^ *+' conftest.er1 >conftest.err
19686 cat conftest.err >&5
19687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19688 (exit $ac_status); } && {
19689 test -z "$ac_c_werror_flag" ||
19690 test ! -s conftest.err
19691 } && test -s conftest.$ac_objext; then
19692 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19694 echo "$as_me: failed program was:" >&5
19695 sed 's/^/| /' conftest.$ac_ext >&5
19697 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19705 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19706 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19707 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19709 cat >>confdefs.h <<_ACEOF
19710 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19717 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19718 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19719 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19720 echo $ECHO_N "(cached) $ECHO_C" >&6
19722 cat >conftest.$ac_ext <<_ACEOF
19725 cat confdefs.h >>conftest.$ac_ext
19726 cat >>conftest.$ac_ext <<_ACEOF
19727 /* end confdefs.h. */
19728 #ifdef HAVE_SYS_TYPES_H
19729 #include <sys/types.h>
19731 #ifdef HAVE_NETINET_IN_H
19732 # include <netinet/in.h>
19734 #ifdef HAVE_ARPA_NAMESER_H
19735 # include <arpa/nameser.h>
19741 static ns_msg ac_aggr;
19742 if (ac_aggr._msg_ptr)
19748 rm -f conftest.$ac_objext
19749 if { (ac_try="$ac_compile"
19750 case "(($ac_try" in
19751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19752 *) ac_try_echo=$ac_try;;
19754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19755 (eval "$ac_compile") 2>conftest.er1
19757 grep -v '^ *+' conftest.er1 >conftest.err
19759 cat conftest.err >&5
19760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19761 (exit $ac_status); } && {
19762 test -z "$ac_c_werror_flag" ||
19763 test ! -s conftest.err
19764 } && test -s conftest.$ac_objext; then
19765 ac_cv_member_ns_msg__msg_ptr=yes
19767 echo "$as_me: failed program was:" >&5
19768 sed 's/^/| /' conftest.$ac_ext >&5
19770 cat >conftest.$ac_ext <<_ACEOF
19773 cat confdefs.h >>conftest.$ac_ext
19774 cat >>conftest.$ac_ext <<_ACEOF
19775 /* end confdefs.h. */
19776 #ifdef HAVE_SYS_TYPES_H
19777 #include <sys/types.h>
19779 #ifdef HAVE_NETINET_IN_H
19780 # include <netinet/in.h>
19782 #ifdef HAVE_ARPA_NAMESER_H
19783 # include <arpa/nameser.h>
19789 static ns_msg ac_aggr;
19790 if (sizeof ac_aggr._msg_ptr)
19796 rm -f conftest.$ac_objext
19797 if { (ac_try="$ac_compile"
19798 case "(($ac_try" in
19799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19800 *) ac_try_echo=$ac_try;;
19802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19803 (eval "$ac_compile") 2>conftest.er1
19805 grep -v '^ *+' conftest.er1 >conftest.err
19807 cat conftest.err >&5
19808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19809 (exit $ac_status); } && {
19810 test -z "$ac_c_werror_flag" ||
19811 test ! -s conftest.err
19812 } && test -s conftest.$ac_objext; then
19813 ac_cv_member_ns_msg__msg_ptr=yes
19815 echo "$as_me: failed program was:" >&5
19816 sed 's/^/| /' conftest.$ac_ext >&5
19818 ac_cv_member_ns_msg__msg_ptr=no
19821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19826 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19827 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19828 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19830 cat >>confdefs.h <<_ACEOF
19831 #define HAVE_NS_MSG__MSG_PTR 1
19838 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19839 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19840 if test "${ac_cv_have_timezone+set}" = set; then
19841 echo $ECHO_N "(cached) $ECHO_C" >&6
19843 cat >conftest.$ac_ext <<_ACEOF
19846 cat confdefs.h >>conftest.$ac_ext
19847 cat >>conftest.$ac_ext <<_ACEOF
19848 /* end confdefs.h. */
19858 rm -f conftest.$ac_objext conftest$ac_exeext
19859 if { (ac_try="$ac_link"
19860 case "(($ac_try" in
19861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19862 *) ac_try_echo=$ac_try;;
19864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19865 (eval "$ac_link") 2>conftest.er1
19867 grep -v '^ *+' conftest.er1 >conftest.err
19869 cat conftest.err >&5
19870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19871 (exit $ac_status); } && {
19872 test -z "$ac_c_werror_flag" ||
19873 test ! -s conftest.err
19874 } && test -s conftest$ac_exeext &&
19875 $as_test_x conftest$ac_exeext; then
19876 ac_cv_have_timezone="yes"
19878 echo "$as_me: failed program was:" >&5
19879 sed 's/^/| /' conftest.$ac_ext >&5
19881 ac_cv_have_timezone="no"
19884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19885 conftest$ac_exeext conftest.$ac_ext
19887 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19888 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19889 if test "$ac_cv_have_timezone" = "yes"
19892 cat >>confdefs.h <<\_ACEOF
19893 #define HAVE_TIMEZONE 1
19897 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19898 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19899 if test "${ac_cv_have_daylight+set}" = set; then
19900 echo $ECHO_N "(cached) $ECHO_C" >&6
19902 cat >conftest.$ac_ext <<_ACEOF
19905 cat confdefs.h >>conftest.$ac_ext
19906 cat >>conftest.$ac_ext <<_ACEOF
19907 /* end confdefs.h. */
19917 rm -f conftest.$ac_objext conftest$ac_exeext
19918 if { (ac_try="$ac_link"
19919 case "(($ac_try" in
19920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19921 *) ac_try_echo=$ac_try;;
19923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19924 (eval "$ac_link") 2>conftest.er1
19926 grep -v '^ *+' conftest.er1 >conftest.err
19928 cat conftest.err >&5
19929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930 (exit $ac_status); } && {
19931 test -z "$ac_c_werror_flag" ||
19932 test ! -s conftest.err
19933 } && test -s conftest$ac_exeext &&
19934 $as_test_x conftest$ac_exeext; then
19935 ac_cv_have_daylight="yes"
19937 echo "$as_me: failed program was:" >&5
19938 sed 's/^/| /' conftest.$ac_ext >&5
19940 ac_cv_have_daylight="no"
19943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19944 conftest$ac_exeext conftest.$ac_ext
19946 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
19947 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
19948 if test "$ac_cv_have_daylight" = "yes"
19951 cat >>confdefs.h <<\_ACEOF
19952 #define HAVE_DAYLIGHT 1
19959 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19960 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
19961 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19962 echo $ECHO_N "(cached) $ECHO_C" >&6
19964 cat >conftest.$ac_ext <<_ACEOF
19967 cat confdefs.h >>conftest.$ac_ext
19968 cat >>conftest.$ac_ext <<_ACEOF
19969 /* end confdefs.h. */
19974 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19975 $EGREP "yes" >/dev/null 2>&1; then
19976 ac_cv_cpp_def___i386__=yes
19978 ac_cv_cpp_def___i386__=no
19983 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19984 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
19985 if test $ac_cv_cpp_def___i386__ = yes; then
19986 CFLAGS="$CFLAGS -D__i386__"
19987 LINTFLAGS="$LINTFLAGS -D__i386__"
19990 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
19991 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
19992 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
19993 echo $ECHO_N "(cached) $ECHO_C" >&6
19995 cat >conftest.$ac_ext <<_ACEOF
19998 cat confdefs.h >>conftest.$ac_ext
19999 cat >>conftest.$ac_ext <<_ACEOF
20000 /* end confdefs.h. */
20005 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20006 $EGREP "yes" >/dev/null 2>&1; then
20007 ac_cv_cpp_def___x86_64__=yes
20009 ac_cv_cpp_def___x86_64__=no
20014 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20015 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20016 if test $ac_cv_cpp_def___x86_64__ = yes; then
20017 CFLAGS="$CFLAGS -D__x86_64__"
20018 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20021 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20022 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20023 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20024 echo $ECHO_N "(cached) $ECHO_C" >&6
20026 cat >conftest.$ac_ext <<_ACEOF
20029 cat confdefs.h >>conftest.$ac_ext
20030 cat >>conftest.$ac_ext <<_ACEOF
20031 /* end confdefs.h. */
20036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20037 $EGREP "yes" >/dev/null 2>&1; then
20038 ac_cv_cpp_def___ALPHA__=yes
20040 ac_cv_cpp_def___ALPHA__=no
20045 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20046 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20047 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20048 CFLAGS="$CFLAGS -D__ALPHA__"
20049 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20052 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20053 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20054 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20055 echo $ECHO_N "(cached) $ECHO_C" >&6
20057 cat >conftest.$ac_ext <<_ACEOF
20060 cat confdefs.h >>conftest.$ac_ext
20061 cat >>conftest.$ac_ext <<_ACEOF
20062 /* end confdefs.h. */
20067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20068 $EGREP "yes" >/dev/null 2>&1; then
20069 ac_cv_cpp_def___sparc__=yes
20071 ac_cv_cpp_def___sparc__=no
20076 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20077 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20078 if test $ac_cv_cpp_def___sparc__ = yes; then
20079 CFLAGS="$CFLAGS -D__sparc__"
20080 LINTFLAGS="$LINTFLAGS -D__sparc__"
20083 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20084 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20085 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20086 echo $ECHO_N "(cached) $ECHO_C" >&6
20088 cat >conftest.$ac_ext <<_ACEOF
20091 cat confdefs.h >>conftest.$ac_ext
20092 cat >>conftest.$ac_ext <<_ACEOF
20093 /* end confdefs.h. */
20094 #ifndef __powerpc__
20098 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20099 $EGREP "yes" >/dev/null 2>&1; then
20100 ac_cv_cpp_def___powerpc__=yes
20102 ac_cv_cpp_def___powerpc__=no
20107 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20108 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20109 if test $ac_cv_cpp_def___powerpc__ = yes; then
20110 CFLAGS="$CFLAGS -D__powerpc__"
20111 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20116 case $host_vendor in
20117 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20118 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20119 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20120 echo $ECHO_N "(cached) $ECHO_C" >&6
20122 cat >conftest.$ac_ext <<_ACEOF
20125 cat confdefs.h >>conftest.$ac_ext
20126 cat >>conftest.$ac_ext <<_ACEOF
20127 /* end confdefs.h. */
20132 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20133 $EGREP "yes" >/dev/null 2>&1; then
20134 ac_cv_cpp_def___sun__=yes
20136 ac_cv_cpp_def___sun__=no
20141 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20142 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20143 if test $ac_cv_cpp_def___sun__ = yes; then
20144 CFLAGS="$CFLAGS -D__sun__"
20145 LINTFLAGS="$LINTFLAGS -D__sun__"
20151 DEPENDENCIES="### Dependencies:
20156 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20158 \$(OBJS): \$(IDL_GEN_HEADERS)
20159 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20160 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20161 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20167 ac_config_commands="$ac_config_commands include/stamp-h"
20170 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20172 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20174 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20176 ac_config_commands="$ac_config_commands dlls/user32/resources"
20178 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20180 ac_config_commands="$ac_config_commands include/wine"
20183 MAKE_RULES=Make.rules
20186 MAKE_DLL_RULES=dlls/Makedll.rules
20189 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20192 MAKE_TEST_RULES=dlls/Maketest.rules
20195 MAKE_PROG_RULES=programs/Makeprog.rules
20198 ac_config_files="$ac_config_files Make.rules"
20200 ac_config_files="$ac_config_files dlls/Makedll.rules"
20202 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20204 ac_config_files="$ac_config_files dlls/Maketest.rules"
20206 ac_config_files="$ac_config_files programs/Makeprog.rules"
20208 ac_config_files="$ac_config_files Makefile"
20210 ac_config_files="$ac_config_files dlls/Makefile"
20212 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20214 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20216 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20218 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20220 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20222 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20224 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20226 ac_config_files="$ac_config_files dlls/atl/Makefile"
20228 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20230 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20232 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20234 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20236 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20238 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20240 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20242 ac_config_files="$ac_config_files dlls/cards/Makefile"
20244 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20246 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20248 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20250 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20252 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20254 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20256 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20258 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20260 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20262 ac_config_files="$ac_config_files dlls/credui/Makefile"
20264 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20266 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20268 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20270 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20272 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20274 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20276 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20278 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20280 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20282 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20284 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20286 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20288 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20290 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20292 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20294 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20296 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20298 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20300 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20302 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20304 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20306 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20308 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20310 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20312 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20314 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20316 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20318 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20320 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20322 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20324 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20326 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20328 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20330 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20332 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20334 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20336 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20338 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20340 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20342 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20344 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20346 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20348 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20350 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20352 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20354 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20356 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20358 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20360 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20362 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20364 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20366 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20368 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20370 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20372 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20374 ac_config_files="$ac_config_files dlls/hal/Makefile"
20376 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20378 ac_config_files="$ac_config_files dlls/hid/Makefile"
20380 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20382 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20384 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20386 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20388 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20390 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20392 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20394 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20396 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20398 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20400 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20402 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20404 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20406 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20408 ac_config_files="$ac_config_files dlls/itss/Makefile"
20410 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20412 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20414 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20416 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20418 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20420 ac_config_files="$ac_config_files dlls/localui/Makefile"
20422 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20424 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20426 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20428 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20430 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20432 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20434 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20436 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20438 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20440 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20442 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20444 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20446 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20448 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20450 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20452 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20454 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20456 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20458 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20460 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20462 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20464 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20466 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20468 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20470 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20472 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20474 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20476 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20478 ac_config_files="$ac_config_files dlls/msi/Makefile"
20480 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20482 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20484 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20486 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20488 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20490 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20492 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20494 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20496 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20498 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20500 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20502 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20504 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20506 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20508 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20510 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20512 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20514 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20516 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20518 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20520 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20522 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20524 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20526 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20528 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20530 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20532 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20534 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20536 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20538 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20540 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20542 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20544 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20546 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20548 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20550 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20552 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20554 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20556 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20558 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20560 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20562 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20564 ac_config_files="$ac_config_files dlls/printui/Makefile"
20566 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20568 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20570 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20572 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20574 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20576 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20578 ac_config_files="$ac_config_files dlls/query/Makefile"
20580 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20582 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20584 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20586 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20588 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20590 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20592 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20594 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20596 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20598 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20600 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20602 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20604 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20606 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20608 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20610 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20612 ac_config_files="$ac_config_files dlls/security/Makefile"
20614 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20616 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20618 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20620 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20622 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20624 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20626 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20628 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20630 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20632 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20634 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20636 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20638 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20640 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20642 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20644 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20646 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20648 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20650 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20652 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20654 ac_config_files="$ac_config_files dlls/sti/Makefile"
20656 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20658 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20660 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20662 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20664 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20666 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20668 ac_config_files="$ac_config_files dlls/url/Makefile"
20670 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20672 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20674 ac_config_files="$ac_config_files dlls/user32/Makefile"
20676 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20678 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20680 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20682 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20684 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20686 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20688 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20690 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20692 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20694 ac_config_files="$ac_config_files dlls/version/Makefile"
20696 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20698 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20700 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20702 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20704 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20706 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20708 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20710 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20712 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20714 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20716 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20718 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20720 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20722 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20724 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20726 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20728 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20730 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20732 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20734 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20736 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20738 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20740 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20742 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20744 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20746 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20748 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20750 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20752 ac_config_files="$ac_config_files dlls/winscard/Makefile"
20754 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20756 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20758 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20760 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20762 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20764 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20766 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20768 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20770 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20772 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20774 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20776 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20778 ac_config_files="$ac_config_files documentation/Makefile"
20780 ac_config_files="$ac_config_files fonts/Makefile"
20782 ac_config_files="$ac_config_files include/Makefile"
20784 ac_config_files="$ac_config_files libs/Makefile"
20786 ac_config_files="$ac_config_files libs/port/Makefile"
20788 ac_config_files="$ac_config_files libs/wine/Makefile"
20790 ac_config_files="$ac_config_files libs/wpp/Makefile"
20792 ac_config_files="$ac_config_files loader/Makefile"
20794 ac_config_files="$ac_config_files programs/Makefile"
20796 ac_config_files="$ac_config_files programs/clock/Makefile"
20798 ac_config_files="$ac_config_files programs/cmd/Makefile"
20800 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20802 ac_config_files="$ac_config_files programs/control/Makefile"
20804 ac_config_files="$ac_config_files programs/eject/Makefile"
20806 ac_config_files="$ac_config_files programs/expand/Makefile"
20808 ac_config_files="$ac_config_files programs/explorer/Makefile"
20810 ac_config_files="$ac_config_files programs/hh/Makefile"
20812 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20814 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20816 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20818 ac_config_files="$ac_config_files programs/net/Makefile"
20820 ac_config_files="$ac_config_files programs/notepad/Makefile"
20822 ac_config_files="$ac_config_files programs/oleview/Makefile"
20824 ac_config_files="$ac_config_files programs/progman/Makefile"
20826 ac_config_files="$ac_config_files programs/regedit/Makefile"
20828 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20830 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20832 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20834 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20836 ac_config_files="$ac_config_files programs/start/Makefile"
20838 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20840 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20842 ac_config_files="$ac_config_files programs/view/Makefile"
20844 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20846 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20848 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20850 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20852 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20854 ac_config_files="$ac_config_files programs/winedevice/Makefile"
20856 ac_config_files="$ac_config_files programs/winefile/Makefile"
20858 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20860 ac_config_files="$ac_config_files programs/winemine/Makefile"
20862 ac_config_files="$ac_config_files programs/winepath/Makefile"
20864 ac_config_files="$ac_config_files programs/winetest/Makefile"
20866 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20868 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20870 ac_config_files="$ac_config_files programs/winver/Makefile"
20872 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20874 ac_config_files="$ac_config_files programs/xcopy/Makefile"
20876 ac_config_files="$ac_config_files server/Makefile"
20878 ac_config_files="$ac_config_files tools/Makefile"
20880 ac_config_files="$ac_config_files tools/widl/Makefile"
20882 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20884 ac_config_files="$ac_config_files tools/winedump/Makefile"
20886 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20888 ac_config_files="$ac_config_files tools/wmc/Makefile"
20890 ac_config_files="$ac_config_files tools/wrc/Makefile"
20893 cat >confcache <<\_ACEOF
20894 # This file is a shell script that caches the results of configure
20895 # tests run on this system so they can be shared between configure
20896 # scripts and configure runs, see configure's option --config-cache.
20897 # It is not useful on other systems. If it contains results you don't
20898 # want to keep, you may remove or edit it.
20900 # config.status only pays attention to the cache file if you give it
20901 # the --recheck option to rerun configure.
20903 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20904 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20905 # following values.
20909 # The following way of writing the cache mishandles newlines in values,
20910 # but we know of no workaround that is simple, portable, and efficient.
20911 # So, we kill variables containing newlines.
20912 # Ultrix sh set writes to stderr and can't be redirected directly,
20913 # and sets the high bit in the cache file unless we assign to the vars.
20915 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20916 eval ac_val=\$$ac_var
20920 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20921 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20924 _ | IFS | as_nl) ;; #(
20925 *) $as_unset $ac_var ;;
20931 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20932 *${as_nl}ac_space=\ *)
20933 # `set' does not quote correctly, so add quotes (double-quote
20934 # substitution turns \\\\ into \\, and sed turns \\ into \).
20937 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20940 # `set' quotes correctly as required by POSIX, so do not add quotes.
20941 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20950 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20952 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20954 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20955 if test -w "$cache_file"; then
20956 test "x$cache_file" != "x/dev/null" &&
20957 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20958 echo "$as_me: updating cache $cache_file" >&6;}
20959 cat confcache >$cache_file
20961 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20962 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20967 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20968 # Let make expand exec_prefix.
20969 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20971 DEFS=-DHAVE_CONFIG_H
20975 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20976 # 1. Remove the extension, and $U if already installed.
20977 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20978 ac_i=`echo "$ac_i" | sed "$ac_script"`
20979 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20980 # will be set to the directory where LIBOBJS objects are built.
20981 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20982 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20984 LIBOBJS=$ac_libobjs
20986 LTLIBOBJS=$ac_ltlibobjs
20990 : ${CONFIG_STATUS=./config.status}
20991 ac_clean_files_save=$ac_clean_files
20992 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20993 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20994 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20995 cat >$CONFIG_STATUS <<_ACEOF
20997 # Generated by $as_me.
20998 # Run this file to recreate the current configuration.
20999 # Compiler output produced by configure, useful for debugging
21000 # configure, is in config.log if it exists.
21003 ac_cs_recheck=false
21005 SHELL=\${CONFIG_SHELL-$SHELL}
21008 cat >>$CONFIG_STATUS <<\_ACEOF
21009 ## --------------------- ##
21010 ## M4sh Initialization. ##
21011 ## --------------------- ##
21013 # Be more Bourne compatible
21014 DUALCASE=1; export DUALCASE # for MKS sh
21015 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21018 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21019 # is contrary to our usage. Disable this feature.
21020 alias -g '${1+"$@"}'='"$@"'
21021 setopt NO_GLOB_SUBST
21023 case `(set -o) 2>/dev/null` in
21024 *posix*) set -o posix ;;
21033 # Avoid depending upon Character Ranges.
21034 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21035 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21036 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21037 as_cr_digits='0123456789'
21038 as_cr_alnum=$as_cr_Letters$as_cr_digits
21040 # The user is always right.
21041 if test "${PATH_SEPARATOR+set}" != set; then
21042 echo "#! /bin/sh" >conf$$.sh
21043 echo "exit 0" >>conf$$.sh
21045 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21053 # Support unset when possible.
21054 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21062 # We need space, tab and new line, in precisely that order. Quoting is
21063 # there to prevent editors from complaining about space-tab.
21064 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21065 # splitting by setting IFS to empty value.)
21070 # Find who we are. Look in the path if we contain no directory separator.
21072 *[\\/]* ) as_myself=$0 ;;
21073 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21074 for as_dir in $PATH
21077 test -z "$as_dir" && as_dir=.
21078 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21084 # We did not find ourselves, most probably we were run as `sh COMMAND'
21085 # in which case we are not to be found in the path.
21086 if test "x$as_myself" = x; then
21089 if test ! -f "$as_myself"; then
21090 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21091 { (exit 1); exit 1; }
21094 # Work around bugs in pre-3.0 UWIN ksh.
21095 for as_var in ENV MAIL MAILPATH
21096 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21106 LC_TELEPHONE LC_TIME
21108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21109 eval $as_var=C; export $as_var
21111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21115 # Required to use basename.
21116 if expr a : '\(a\)' >/dev/null 2>&1 &&
21117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21124 as_basename=basename
21130 # Name of the executable.
21131 as_me=`$as_basename -- "$0" ||
21132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21133 X"$0" : 'X\(//\)$' \| \
21134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21136 sed '/^.*\/\([^/][^/]*\)\/*$/{
21155 as_lineno_1=$LINENO
21156 as_lineno_2=$LINENO
21157 test "x$as_lineno_1" != "x$as_lineno_2" &&
21158 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21160 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21161 # uniformly replaced by the line number. The first 'sed' inserts a
21162 # line-number line after each line using $LINENO; the second 'sed'
21163 # does the real work. The second script uses 'N' to pair each
21164 # line-number line with the line containing $LINENO, and appends
21165 # trailing '-' during substitution so that $LINENO is not a special
21166 # case at line end.
21167 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21168 # scripts with optimization help from Paolo Bonzini. Blame Lee
21169 # E. McMahon (1931-1989) for sed's syntax. :-)
21181 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21184 ' >$as_me.lineno &&
21185 chmod +x "$as_me.lineno" ||
21186 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21187 { (exit 1); exit 1; }; }
21189 # Don't try to exec as it changes $[0], causing all sort of problems
21190 # (the dirname of $[0] is not the place where we might find the
21191 # original and so on. Autoconf is especially sensitive to this).
21192 . "./$as_me.lineno"
21193 # Exit status is that of the last command.
21198 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21204 ECHO_C= ECHO_N= ECHO_T=
21205 case `echo -n x` in
21207 case `echo 'x\c'` in
21208 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21215 if expr a : '\(a\)' >/dev/null 2>&1 &&
21216 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21222 rm -f conf$$ conf$$.exe conf$$.file
21223 if test -d conf$$.dir; then
21224 rm -f conf$$.dir/conf$$.file
21230 if ln -s conf$$.file conf$$ 2>/dev/null; then
21232 # ... but there are two gotchas:
21233 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21234 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21235 # In both cases, we have to default to `cp -p'.
21236 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21238 elif ln conf$$.file conf$$ 2>/dev/null; then
21243 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21244 rmdir conf$$.dir 2>/dev/null
21246 if mkdir -p . 2>/dev/null; then
21249 test -d ./-p && rmdir ./-p
21253 if test -x / >/dev/null 2>&1; then
21254 as_test_x='test -x'
21256 if ls -dL / >/dev/null 2>&1; then
21263 if test -d "$1"; then
21269 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21270 ???[sx]*):;;*)false;;esac;fi
21274 as_executable_p=$as_test_x
21276 # Sed expression to map a string onto a valid CPP name.
21277 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21279 # Sed expression to map a string onto a valid variable name.
21280 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21285 # Save the log message, to keep $[0] and so on meaningful, and to
21286 # report actual input values of CONFIG_FILES etc. instead of their
21287 # values after options handling.
21289 This file was extended by Wine $as_me 0.9.40, which was
21290 generated by GNU Autoconf 2.61. Invocation command line was
21292 CONFIG_FILES = $CONFIG_FILES
21293 CONFIG_HEADERS = $CONFIG_HEADERS
21294 CONFIG_LINKS = $CONFIG_LINKS
21295 CONFIG_COMMANDS = $CONFIG_COMMANDS
21298 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21303 cat >>$CONFIG_STATUS <<_ACEOF
21304 # Files that config.status was made for.
21305 config_files="$ac_config_files"
21306 config_headers="$ac_config_headers"
21307 config_commands="$ac_config_commands"
21311 cat >>$CONFIG_STATUS <<\_ACEOF
21313 \`$as_me' instantiates files from templates according to the
21314 current configuration.
21316 Usage: $0 [OPTIONS] [FILE]...
21318 -h, --help print this help, then exit
21319 -V, --version print version number and configuration settings, then exit
21320 -q, --quiet do not print progress messages
21321 -d, --debug don't remove temporary files
21322 --recheck update $as_me by reconfiguring in the same conditions
21323 --file=FILE[:TEMPLATE]
21324 instantiate the configuration file FILE
21325 --header=FILE[:TEMPLATE]
21326 instantiate the configuration header FILE
21328 Configuration files:
21331 Configuration headers:
21334 Configuration commands:
21337 Report bugs to <bug-autoconf@gnu.org>."
21340 cat >>$CONFIG_STATUS <<_ACEOF
21342 Wine config.status 0.9.40
21343 configured by $0, generated by GNU Autoconf 2.61,
21344 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21346 Copyright (C) 2006 Free Software Foundation, Inc.
21347 This config.status script is free software; the Free Software Foundation
21348 gives unlimited permission to copy, distribute and modify it."
21355 cat >>$CONFIG_STATUS <<\_ACEOF
21356 # If no file are specified by the user, then we need to provide default
21357 # value. By we need to know if files were specified by the user.
21363 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21364 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21375 # Handling of the options.
21376 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21378 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21379 echo "$ac_cs_version"; exit ;;
21380 --debug | --debu | --deb | --de | --d | -d )
21382 --file | --fil | --fi | --f )
21384 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21385 ac_need_defaults=false;;
21386 --header | --heade | --head | --hea )
21388 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21389 ac_need_defaults=false;;
21391 # Conflict between --help and --header
21392 { echo "$as_me: error: ambiguous option: $1
21393 Try \`$0 --help' for more information." >&2
21394 { (exit 1); exit 1; }; };;
21395 --help | --hel | -h )
21396 echo "$ac_cs_usage"; exit ;;
21397 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21398 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21401 # This is an error.
21402 -*) { echo "$as_me: error: unrecognized option: $1
21403 Try \`$0 --help' for more information." >&2
21404 { (exit 1); exit 1; }; } ;;
21406 *) ac_config_targets="$ac_config_targets $1"
21407 ac_need_defaults=false ;;
21413 ac_configure_extra_args=
21415 if $ac_cs_silent; then
21417 ac_configure_extra_args="$ac_configure_extra_args --silent"
21421 cat >>$CONFIG_STATUS <<_ACEOF
21422 if \$ac_cs_recheck; then
21423 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21424 CONFIG_SHELL=$SHELL
21425 export CONFIG_SHELL
21426 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21430 cat >>$CONFIG_STATUS <<\_ACEOF
21434 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21435 ## Running $as_me. ##
21441 cat >>$CONFIG_STATUS <<_ACEOF
21444 cat >>$CONFIG_STATUS <<\_ACEOF
21446 # Handling of arguments.
21447 for ac_config_target in $ac_config_targets
21449 case $ac_config_target in
21450 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21451 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21452 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21453 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21454 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21455 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21456 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21457 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21458 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21459 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21460 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21461 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21462 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21463 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21464 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21465 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21466 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21467 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21468 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21469 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21470 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21471 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21472 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21473 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21474 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21475 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21476 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21477 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21478 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21479 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21480 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21481 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21482 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21483 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21484 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21485 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21486 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21487 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21488 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21489 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21490 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21491 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21492 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21493 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21494 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21495 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21496 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21497 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21498 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21499 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21500 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21501 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21502 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21503 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21504 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21505 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21506 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21507 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21508 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21509 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21510 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21511 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21512 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21513 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21514 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21515 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21516 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21517 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21518 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21519 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21520 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21521 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21522 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21523 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21524 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21525 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21526 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21527 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21528 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21529 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21530 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21531 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21532 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21533 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21534 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21535 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21536 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21537 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21538 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21539 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21540 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21541 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21542 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21543 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21544 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21545 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21546 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
21547 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21548 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21549 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21550 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21551 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21552 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21553 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21554 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21555 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21556 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21557 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21558 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21559 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21560 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21561 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21562 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21563 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21564 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21565 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21566 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21567 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21568 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21569 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21570 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21571 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21572 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21573 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21574 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21575 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21576 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21577 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21578 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21579 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21580 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21581 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21582 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21583 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21584 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21585 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21586 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21587 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21588 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21589 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21590 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21591 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21592 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21593 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21594 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21595 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21596 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21597 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21598 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21599 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21600 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21601 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21602 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21603 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21604 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21605 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21606 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21607 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21608 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21609 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21610 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21611 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21612 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21613 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21614 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21615 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21616 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21617 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21618 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21619 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21620 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21621 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21622 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21623 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21624 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21625 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21626 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21627 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21628 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21629 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21630 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21631 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21632 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21633 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21634 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21635 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21636 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21637 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21638 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21639 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
21640 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21641 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
21642 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21643 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21644 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21645 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21646 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21647 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21648 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21649 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21650 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21651 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21652 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21653 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21654 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21655 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21656 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21657 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21658 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21659 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21660 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21661 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21662 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21663 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21664 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21665 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21666 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21667 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21668 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21669 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21670 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21671 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21672 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21673 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21674 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21675 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21676 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21677 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21678 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21679 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21680 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21681 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21682 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21683 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21684 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21685 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21686 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21687 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21688 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21689 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
21690 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21691 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21692 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21693 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21694 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21695 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21696 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21697 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21698 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21699 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21700 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21701 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21702 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21703 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21704 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21705 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21706 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21707 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21708 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21709 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21710 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21711 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21712 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21713 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21714 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21715 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21716 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21717 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21718 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21719 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21720 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21721 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21722 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21723 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21724 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21725 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21726 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21727 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21728 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21729 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21730 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21731 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21732 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21733 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21734 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21735 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
21736 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21737 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21738 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21739 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21740 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21741 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21742 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21743 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21744 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21745 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21746 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21747 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21748 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21749 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21750 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21751 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21752 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21753 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21754 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21755 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21756 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21757 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21758 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21759 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21760 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21761 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21762 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21763 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21764 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21765 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21766 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21767 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21768 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
21769 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21770 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21771 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21772 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21773 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21774 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21775 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21776 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21777 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21778 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21779 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21780 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21781 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21782 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21783 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21784 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21785 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21786 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
21787 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21788 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21789 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21790 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21791 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21792 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21793 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21794 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21795 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21796 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
21797 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21798 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21799 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21800 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21801 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21802 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21803 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21804 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21806 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21807 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21808 { (exit 1); exit 1; }; };;
21813 # If the user did not use the arguments to specify the items to instantiate,
21814 # then the envvar interface is used. Set only those that are not.
21815 # We use the long form for the default assignment because of an extremely
21816 # bizarre bug on SunOS 4.1.3.
21817 if $ac_need_defaults; then
21818 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21819 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21820 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21823 # Have a temporary directory for convenience. Make it in the build tree
21824 # simply because there is no reason against having it here, and in addition,
21825 # creating and moving files from /tmp can sometimes cause problems.
21826 # Hook for its removal unless debugging.
21827 # Note that there is a small window in which the directory will not be cleaned:
21828 # after its creation but before its name has been assigned to `$tmp'.
21832 trap 'exit_status=$?
21833 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21835 trap '{ (exit 1); exit 1; }' 1 2 13 15
21837 # Create a (secure) tmp directory for tmp files.
21840 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21841 test -n "$tmp" && test -d "$tmp"
21844 tmp=./conf$$-$RANDOM
21845 (umask 077 && mkdir "$tmp")
21848 echo "$me: cannot create a temporary directory in ." >&2
21849 { (exit 1); exit 1; }
21853 # Set up the sed scripts for CONFIG_FILES section.
21856 # No need to generate the scripts if there are no CONFIG_FILES.
21857 # This happens for instance when ./config.status config.h
21858 if test -n "$CONFIG_FILES"; then
21862 # Create sed commands to just substitute file output variables.
21864 # Remaining file output variables are in a fragment that also has non-file
21870 for ac_last_try in false false false false false :; do
21871 cat >conf$$subs.sed <<_ACEOF
21872 SHELL!$SHELL$ac_delim
21873 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21874 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21875 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21876 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21877 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21878 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21879 exec_prefix!$exec_prefix$ac_delim
21880 prefix!$prefix$ac_delim
21881 program_transform_name!$program_transform_name$ac_delim
21882 bindir!$bindir$ac_delim
21883 sbindir!$sbindir$ac_delim
21884 libexecdir!$libexecdir$ac_delim
21885 datarootdir!$datarootdir$ac_delim
21886 datadir!$datadir$ac_delim
21887 sysconfdir!$sysconfdir$ac_delim
21888 sharedstatedir!$sharedstatedir$ac_delim
21889 localstatedir!$localstatedir$ac_delim
21890 includedir!$includedir$ac_delim
21891 oldincludedir!$oldincludedir$ac_delim
21892 docdir!$docdir$ac_delim
21893 infodir!$infodir$ac_delim
21894 htmldir!$htmldir$ac_delim
21895 dvidir!$dvidir$ac_delim
21896 pdfdir!$pdfdir$ac_delim
21897 psdir!$psdir$ac_delim
21898 libdir!$libdir$ac_delim
21899 localedir!$localedir$ac_delim
21900 mandir!$mandir$ac_delim
21901 DEFS!$DEFS$ac_delim
21902 ECHO_C!$ECHO_C$ac_delim
21903 ECHO_N!$ECHO_N$ac_delim
21904 ECHO_T!$ECHO_T$ac_delim
21905 LIBS!$LIBS$ac_delim
21906 build_alias!$build_alias$ac_delim
21907 host_alias!$host_alias$ac_delim
21908 target_alias!$target_alias$ac_delim
21909 build!$build$ac_delim
21910 build_cpu!$build_cpu$ac_delim
21911 build_vendor!$build_vendor$ac_delim
21912 build_os!$build_os$ac_delim
21913 host!$host$ac_delim
21914 host_cpu!$host_cpu$ac_delim
21915 host_vendor!$host_vendor$ac_delim
21916 host_os!$host_os$ac_delim
21917 WIN16_FILES!$WIN16_FILES$ac_delim
21918 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21919 SET_MAKE!$SET_MAKE$ac_delim
21921 CFLAGS!$CFLAGS$ac_delim
21922 LDFLAGS!$LDFLAGS$ac_delim
21923 CPPFLAGS!$CPPFLAGS$ac_delim
21924 ac_ct_CC!$ac_ct_CC$ac_delim
21925 EXEEXT!$EXEEXT$ac_delim
21926 OBJEXT!$OBJEXT$ac_delim
21928 CXXFLAGS!$CXXFLAGS$ac_delim
21929 ac_ct_CXX!$ac_ct_CXX$ac_delim
21930 CPPBIN!$CPPBIN$ac_delim
21931 TOOLSDIR!$TOOLSDIR$ac_delim
21932 XMKMF!$XMKMF$ac_delim
21934 X_CFLAGS!$X_CFLAGS$ac_delim
21935 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
21936 X_LIBS!$X_LIBS$ac_delim
21937 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
21938 FLEX!$FLEX$ac_delim
21939 BISON!$BISON$ac_delim
21941 ac_ct_AS!$ac_ct_AS$ac_delim
21944 RANLIB!$RANLIB$ac_delim
21945 STRIP!$STRIP$ac_delim
21946 WINDRES!$WINDRES$ac_delim
21947 LN_S!$LN_S$ac_delim
21949 GREP!$GREP$ac_delim
21950 EGREP!$EGREP$ac_delim
21951 LDCONFIG!$LDCONFIG$ac_delim
21952 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21953 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21956 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
21958 elif $ac_last_try; then
21959 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21960 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21961 { (exit 1); exit 1; }; }
21963 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21967 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21968 if test -n "$ac_eof"; then
21969 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21970 ac_eof=`expr $ac_eof + 1`
21973 cat >>$CONFIG_STATUS <<_ACEOF
21974 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21975 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21976 /^[ ]*@MAKE_RULES@[ ]*$/{
21980 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
21984 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
21985 r $MAKE_IMPLIB_RULES
21988 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
21992 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
21998 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21999 s/^/s,@/; s/!/@,|#_!!_#|/
22002 s/'"$ac_delim"'$/,g/; t
22004 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22005 ' >>$CONFIG_STATUS <conf$$subs.sed
22006 rm -f conf$$subs.sed
22007 cat >>$CONFIG_STATUS <<_ACEOF
22013 for ac_last_try in false false false false false :; do
22014 cat >conf$$subs.sed <<_ACEOF
22015 INSTALL_DATA!$INSTALL_DATA$ac_delim
22016 LINT!$LINT$ac_delim
22017 LINTFLAGS!$LINTFLAGS$ac_delim
22018 FONTFORGE!$FONTFORGE$ac_delim
22019 PKG_CONFIG!$PKG_CONFIG$ac_delim
22020 PRELINK!$PRELINK$ac_delim
22021 LIBPTHREAD!$LIBPTHREAD$ac_delim
22022 XLIB!$XLIB$ac_delim
22023 XFILES!$XFILES$ac_delim
22024 OPENGLFILES!$OPENGLFILES$ac_delim
22025 GLU32FILES!$GLU32FILES$ac_delim
22026 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22027 QUARTZFILES!$QUARTZFILES$ac_delim
22028 DLLEXT!$DLLEXT$ac_delim
22029 DLLFLAGS!$DLLFLAGS$ac_delim
22030 LDSHARED!$LDSHARED$ac_delim
22031 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22032 LIBEXT!$LIBEXT$ac_delim
22033 IMPLIBEXT!$IMPLIBEXT$ac_delim
22034 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22035 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22037 DLLTOOL!$DLLTOOL$ac_delim
22038 DLLWRAP!$DLLWRAP$ac_delim
22039 MINGWAR!$MINGWAR$ac_delim
22040 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22041 IOKITLIB!$IOKITLIB$ac_delim
22042 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22043 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22044 COREAUDIO!$COREAUDIO$ac_delim
22045 CARBONLIB!$CARBONLIB$ac_delim
22046 CROSSTEST!$CROSSTEST$ac_delim
22047 CROSSCC!$CROSSCC$ac_delim
22048 CROSSWINDRES!$CROSSWINDRES$ac_delim
22049 NASLIBS!$NASLIBS$ac_delim
22050 XML2LIBS!$XML2LIBS$ac_delim
22051 XML2INCL!$XML2INCL$ac_delim
22052 XSLTLIBS!$XSLTLIBS$ac_delim
22053 XSLTINCL!$XSLTINCL$ac_delim
22054 HALINCL!$HALINCL$ac_delim
22055 sane_devel!$sane_devel$ac_delim
22056 SANEINCL!$SANEINCL$ac_delim
22057 gphoto2_devel!$gphoto2_devel$ac_delim
22058 gphoto2port_devel!$gphoto2port_devel$ac_delim
22059 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22060 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22061 ICULIBS!$ICULIBS$ac_delim
22062 RESOLVLIBS!$RESOLVLIBS$ac_delim
22063 LCMSLIBS!$LCMSLIBS$ac_delim
22064 LDAPLIBS!$LDAPLIBS$ac_delim
22065 FREETYPELIBS!$FREETYPELIBS$ac_delim
22066 FREETYPEINCL!$FREETYPEINCL$ac_delim
22067 ft_devel!$ft_devel$ac_delim
22068 ft_devel2!$ft_devel2$ac_delim
22069 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22070 ESDCONFIG!$ESDCONFIG$ac_delim
22071 ESDLIBS!$ESDLIBS$ac_delim
22072 ESDINCL!$ESDINCL$ac_delim
22073 ALSALIBS!$ALSALIBS$ac_delim
22074 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22075 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22076 BUILTINFLAG!$BUILTINFLAG$ac_delim
22077 LDPATH!$LDPATH$ac_delim
22078 CRTLIBS!$CRTLIBS$ac_delim
22079 SOCKETLIBS!$SOCKETLIBS$ac_delim
22080 MAIN_BINARY!$MAIN_BINARY$ac_delim
22081 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22082 LIBDL!$LIBDL$ac_delim
22083 LIBPOLL!$LIBPOLL$ac_delim
22084 DEPENDENCIES!$DEPENDENCIES$ac_delim
22085 LIBOBJS!$LIBOBJS$ac_delim
22086 LTLIBOBJS!$LTLIBOBJS$ac_delim
22089 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
22091 elif $ac_last_try; then
22092 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22093 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22094 { (exit 1); exit 1; }; }
22096 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22100 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22101 if test -n "$ac_eof"; then
22102 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22103 ac_eof=`expr $ac_eof + 1`
22106 cat >>$CONFIG_STATUS <<_ACEOF
22107 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22108 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22111 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22112 s/^/s,@/; s/!/@,|#_!!_#|/
22115 s/'"$ac_delim"'$/,g/; t
22117 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22118 ' >>$CONFIG_STATUS <conf$$subs.sed
22119 rm -f conf$$subs.sed
22120 cat >>$CONFIG_STATUS <<_ACEOF
22127 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22128 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22129 # trailing colons and then remove the whole line if VPATH becomes empty
22130 # (actually we leave an empty line to preserve line numbers).
22131 if test "x$srcdir" = x.; then
22132 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22133 s/:*\$(srcdir):*/:/
22134 s/:*\${srcdir}:*/:/
22136 s/^\([^=]*=[ ]*\):*/\1/
22142 cat >>$CONFIG_STATUS <<\_ACEOF
22143 fi # test -n "$CONFIG_FILES"
22146 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22149 :[FHLC]) ac_mode=$ac_tag; continue;;
22151 case $ac_mode$ac_tag in
22153 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22154 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22155 { (exit 1); exit 1; }; };;
22156 :[FH]-) ac_tag=-:-;;
22157 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22174 -) ac_f="$tmp/stdin";;
22175 *) # Look for the file first in the build tree, then in the source tree
22176 # (if the path is not absolute). The absolute path cannot be DOS-style,
22177 # because $ac_f cannot contain `:'.
22181 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22183 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22184 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22185 { (exit 1); exit 1; }; };;
22187 ac_file_inputs="$ac_file_inputs $ac_f"
22190 # Let's still pretend it is `configure' which instantiates (i.e., don't
22191 # use $as_me), people would be surprised to read:
22192 # /* config.h. Generated by config.status. */
22193 configure_input="Generated from "`IFS=:
22194 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22195 if test x"$ac_file" != x-; then
22196 configure_input="$ac_file. $configure_input"
22197 { echo "$as_me:$LINENO: creating $ac_file" >&5
22198 echo "$as_me: creating $ac_file" >&6;}
22202 *:-:* | *:-) cat >"$tmp/stdin";;
22207 ac_dir=`$as_dirname -- "$ac_file" ||
22208 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22209 X"$ac_file" : 'X\(//\)[^/]' \| \
22210 X"$ac_file" : 'X\(//\)$' \| \
22211 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22217 /^X\(\/\/\)[^/].*/{
22232 -*) as_dir=./$as_dir;;
22234 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22238 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22239 *) as_qdir=$as_dir;;
22241 as_dirs="'$as_qdir' $as_dirs"
22242 as_dir=`$as_dirname -- "$as_dir" ||
22243 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22244 X"$as_dir" : 'X\(//\)[^/]' \| \
22245 X"$as_dir" : 'X\(//\)$' \| \
22246 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22252 /^X\(\/\/\)[^/].*/{
22265 test -d "$as_dir" && break
22267 test -z "$as_dirs" || eval "mkdir $as_dirs"
22268 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22269 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22270 { (exit 1); exit 1; }; }; }
22274 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22276 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22277 # A ".." for each directory in $ac_dir_suffix.
22278 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22279 case $ac_top_builddir_sub in
22280 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22281 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22284 ac_abs_top_builddir=$ac_pwd
22285 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22286 # for backward compatibility:
22287 ac_top_builddir=$ac_top_build_prefix
22290 .) # We are building in place.
22292 ac_top_srcdir=$ac_top_builddir_sub
22293 ac_abs_top_srcdir=$ac_pwd ;;
22294 [\\/]* | ?:[\\/]* ) # Absolute name.
22295 ac_srcdir=$srcdir$ac_dir_suffix;
22296 ac_top_srcdir=$srcdir
22297 ac_abs_top_srcdir=$srcdir ;;
22298 *) # Relative name.
22299 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22300 ac_top_srcdir=$ac_top_build_prefix$srcdir
22301 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22303 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22313 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22314 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22318 cat >>$CONFIG_STATUS <<\_ACEOF
22319 # If the template does not know about datarootdir, expand it.
22320 # FIXME: This hack should be removed a few years after 2.60.
22321 ac_datarootdir_hack=; ac_datarootdir_seen=
22323 case `sed -n '/datarootdir/ {
22332 ' $ac_file_inputs` in
22333 *datarootdir*) ac_datarootdir_seen=yes;;
22334 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22335 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22336 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22338 cat >>$CONFIG_STATUS <<_ACEOF
22339 ac_datarootdir_hack='
22340 s&@datadir@&$datadir&g
22341 s&@docdir@&$docdir&g
22342 s&@infodir@&$infodir&g
22343 s&@localedir@&$localedir&g
22344 s&@mandir@&$mandir&g
22345 s&\\\${datarootdir}&$datarootdir&g' ;;
22349 # Neutralize VPATH when `$srcdir' = `.'.
22350 # Shell code in configure.ac might set extrasub.
22351 # FIXME: do we really want to maintain this feature?
22352 cat >>$CONFIG_STATUS <<_ACEOF
22356 cat >>$CONFIG_STATUS <<\_ACEOF
22358 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22359 s&@configure_input@&$configure_input&;t t
22360 s&@top_builddir@&$ac_top_builddir_sub&;t t
22361 s&@srcdir@&$ac_srcdir&;t t
22362 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22363 s&@top_srcdir@&$ac_top_srcdir&;t t
22364 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22365 s&@builddir@&$ac_builddir&;t t
22366 s&@abs_builddir@&$ac_abs_builddir&;t t
22367 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22368 s&@INSTALL@&$ac_INSTALL&;t t
22369 $ac_datarootdir_hack
22370 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22372 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22373 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22374 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22375 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22376 which seems to be undefined. Please make sure it is defined." >&5
22377 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22378 which seems to be undefined. Please make sure it is defined." >&2;}
22382 -) cat "$tmp/out"; rm -f "$tmp/out";;
22383 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22392 # Transform confdefs.h into a sed script `conftest.defines', that
22393 # substitutes the proper values into config.h.in to produce config.h.
22394 rm -f conftest.defines conftest.tail
22395 # First, append a space to every undef/define line, to ease matching.
22396 echo 's/$/ /' >conftest.defines
22397 # Then, protect against being on the right side of a sed subst, or in
22398 # an unquoted here document, in config.status. If some macros were
22399 # called several times there might be several #defines for the same
22400 # symbol, which is useless. But do not sort them, since the last
22401 # AC_DEFINE must be honored.
22402 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22403 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22404 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22405 # PARAMS is the parameter list in the macro definition--in most cases, it's
22406 # just an empty string.
22407 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22408 ac_dB='\\)[ (].*,\\1define\\2'
22416 s/^[ ]*#[ ]*define[ ][ ]*//
22421 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22422 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22423 ' >>conftest.defines
22425 # Remove the space that was appended to ease matching.
22426 # Then replace #undef with comments. This is necessary, for
22427 # example, in the case of _POSIX_SOURCE, which is predefined and required
22428 # on some systems where configure will not decide to define it.
22429 # (The regexp can be short, since the line contains either #define or #undef.)
22431 s,^[ #]*u.*,/* & */,' >>conftest.defines
22433 # Break up conftest.defines:
22434 ac_max_sed_lines=50
22436 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22437 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22438 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22440 ac_in='$ac_file_inputs'
22441 ac_out='"$tmp/out1"'
22442 ac_nxt='"$tmp/out2"'
22446 # Write a here document:
22447 cat >>$CONFIG_STATUS <<_ACEOF
22448 # First, check the format of the line:
22449 cat >"\$tmp/defines.sed" <<\\CEOF
22450 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22451 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22455 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22457 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22458 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22459 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22460 grep . conftest.tail >/dev/null || break
22461 rm -f conftest.defines
22462 mv conftest.tail conftest.defines
22464 rm -f conftest.defines conftest.tail
22466 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22467 cat >>$CONFIG_STATUS <<\_ACEOF
22468 if test x"$ac_file" != x-; then
22469 echo "/* $configure_input */" >"$tmp/config.h"
22470 cat "$ac_result" >>"$tmp/config.h"
22471 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22472 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22473 echo "$as_me: $ac_file is unchanged" >&6;}
22476 mv "$tmp/config.h" $ac_file
22479 echo "/* $configure_input */"
22485 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22486 echo "$as_me: executing $ac_file commands" >&6;}
22491 case $ac_file$ac_mode in
22492 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22493 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22494 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22495 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22496 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22497 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22498 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22499 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22500 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22501 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22502 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22503 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22504 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22510 { (exit 0); exit 0; }
22512 chmod +x $CONFIG_STATUS
22513 ac_clean_files=$ac_clean_files_save
22516 # configure is writing to config.log, and then calls config.status.
22517 # config.status does its own redirection, appending to config.log.
22518 # Unfortunately, on DOS this fails, as config.log is still kept open
22519 # by configure, so config.status won't be able to write to it; its
22520 # output is simply discarded. So we exec the FD to /dev/null,
22521 # effectively closing config.log, so it can be properly (re)opened and
22522 # appended to by config.status. When coming back to configure, we
22523 # need to make the FD available again.
22524 if test "$no_create" != yes; then
22526 ac_config_status_args=
22527 test "$silent" = yes &&
22528 ac_config_status_args="$ac_config_status_args --quiet"
22530 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22532 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22533 # would make configure fail if this is the last instruction.
22534 $ac_cs_success || { (exit 1); exit 1; }
22539 if test "$no_create" = "yes"
22544 if test "$verbose" = "yes"
22546 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
22549 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
22550 echo "$as_me: libcapi20 development files not found." >&6;}
22551 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
22552 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
22555 if test "$ac_cv_header_cups_cups_h" != "yes"
22558 { echo "$as_me:$LINENO: libcups development files not found." >&5
22559 echo "$as_me: libcups development files not found." >&6;}
22560 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
22561 echo "$as_me: Wine will be built without CUPS support." >&6;}
22565 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
22568 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
22569 echo "$as_me: libgphoto2 development files not found." >&6;}
22570 if test "$ac_cv_header_sane_sane_h" = "yes"
22572 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
22573 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
22575 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
22576 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
22580 if test "$ac_cv_header_hal_libhal_h" != "yes"
22583 { echo "$as_me:$LINENO: libhal development files not found." >&5
22584 echo "$as_me: libhal development files not found." >&6;}
22585 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
22586 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
22589 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
22592 { echo "$as_me:$LINENO: libicu development files not found." >&5
22593 echo "$as_me: libicu development files not found." >&6;}
22594 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
22595 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
22598 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
22601 { echo "$as_me:$LINENO: liblcms development files not found." >&5
22602 echo "$as_me: liblcms development files not found." >&6;}
22603 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
22604 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
22607 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
22610 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
22611 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
22612 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
22613 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
22616 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
22619 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
22620 echo "$as_me: lib(n)curses development files not found." >&6;}
22621 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
22622 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
22625 if test "$ac_cv_header_sane_sane_h" != "yes"
22628 { echo "$as_me:$LINENO: libsane development files not found." >&5
22629 echo "$as_me: libsane development files not found." >&6;}
22630 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
22631 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
22634 if test "$have_x" = "yes"
22636 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
22639 { echo "$as_me:$LINENO: libxext development files not found." >&5
22640 echo "$as_me: libxext development files not found." >&6;}
22641 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22642 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22645 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22648 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22649 echo "$as_me: libXrandr development files not found." >&6;}
22650 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22651 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22654 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22657 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22658 echo "$as_me: libXrender development files not found." >&6;}
22659 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22660 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22663 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22666 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22667 echo "$as_me: libXxf86vm development files not found." >&6;}
22668 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22669 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22673 if test "$ac_cv_header_libxml_parser_h" != "yes"
22676 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22677 echo "$as_me: libxml2 development files not found." >&6;}
22678 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22679 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22682 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22685 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22686 echo "$as_me: libxslt development files not found." >&6;}
22687 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22688 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22693 if test "$have_x" = "no"
22696 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22697 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22698 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22699 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22700 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22701 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22702 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22703 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22706 if test -z "$OPENGLFILES"
22709 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22710 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22711 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22712 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22713 if test "$wine_cv_opengl_headers_found" = "no"
22715 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22716 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22718 if test "$wine_cv_opengl_header_version_OK" = "no"
22720 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22721 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22722 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22724 if test -f /usr/X11R6/lib/libGL.a
22726 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22727 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22728 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22729 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22731 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22732 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22737 if test "$wine_cv_msg_freetype" = "yes"
22740 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22741 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22742 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22743 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22744 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22745 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22746 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22747 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22750 if test -z "$FONTSSUBDIRS"
22753 if test "$FONTFORGE" = "false"
22755 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22756 echo "$as_me: WARNING: FontForge is missing." >&2;}
22758 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22759 echo "$as_me: WARNING: FreeType is missing." >&2;}
22761 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22762 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22765 if test -z "$ALSALIBS" -a \
22766 -z "$AUDIOIOLIBS" -a \
22768 -z "$ESD_LIBS" -a \
22769 -z "$ac_cv_lib_soname_jack" -a \
22770 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22771 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22772 "$ac_cv_header_soundcard_h" != "yes"
22775 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22776 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22777 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22778 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22779 { echo "$as_me:$LINENO: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&5
22780 echo "$as_me: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22784 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."