2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for Wine 1.3.10.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: wine-devel@winehq.org about your system, including any
235 $0: error possibly output before this message. Then install
236 $0: a modern shell, or manually run the script under such a
237 $0: shell if you do have one."
243 SHELL=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir=./$as_dir;;
288 test -d "$as_dir" || eval $as_mkdir_p || {
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs="'$as_qdir' $as_dirs"
296 as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357 as_val=`expr "$@" || test $? -eq 1`
362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
363 # ----------------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with STATUS, using 1 if that was 0.
369 as_status=$1; test $as_status -eq 0 && as_status=1
371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit $as_status
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x "$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
473 mkdir conf$$.dir 2>/dev/null
475 if (echo >conf$$.file) 2>/dev/null; then
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484 elif ln conf$$.file conf$$ 2>/dev/null; then
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
495 if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'
498 test -d ./-p && rmdir ./-p
502 if test -x / >/dev/null 2>&1; then
505 if ls -dL / >/dev/null 2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532 test -n "$DJDIR" || exec 7<&0 </dev/null
536 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
537 # so uname gets run too.
538 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543 ac_default_prefix=/usr/local
545 ac_config_libobj_dir=.
552 # Identity of this package.
554 PACKAGE_TARNAME='wine'
555 PACKAGE_VERSION='1.3.10'
556 PACKAGE_STRING='Wine 1.3.10'
557 PACKAGE_BUGREPORT='wine-devel@winehq.org'
558 PACKAGE_URL='http://www.winehq.org'
560 ac_unique_file="server/atom.c"
561 # Factoring default headers for most tests.
562 ac_includes_default="\
564 #ifdef HAVE_SYS_TYPES_H
565 # include <sys/types.h>
567 #ifdef HAVE_SYS_STAT_H
568 # include <sys/stat.h>
574 # ifdef HAVE_STDLIB_H
579 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 #ifdef HAVE_STRINGS_H
585 # include <strings.h>
587 #ifdef HAVE_INTTYPES_H
588 # include <inttypes.h>
597 ac_subst_vars='LTLIBOBJS
751 program_transform_name
762 ac_subst_files='MAKE_RULES
768 enable_option_checking
772 enable_maintainer_mode
821 ac_precious_vars='build_alias
836 # Initialize some variables set by options.
838 ac_init_version=false
839 ac_unrecognized_opts=
841 # The variables have the same names as the options, with
842 # dashes changed to underlines.
850 program_transform_name=s,x,x,
858 # Installation directory options.
859 # These are left unexpanded so users can "make install exec_prefix=/foo"
860 # and all the variables that are supposed to be based on exec_prefix
861 # by default will actually change.
862 # Use braces instead of parens because sh, perl, etc. also accept them.
863 # (The list follows the same order as the GNU Coding Standards.)
864 bindir='${exec_prefix}/bin'
865 sbindir='${exec_prefix}/sbin'
866 libexecdir='${exec_prefix}/libexec'
867 datarootdir='${prefix}/share'
868 datadir='${datarootdir}'
869 sysconfdir='${prefix}/etc'
870 sharedstatedir='${prefix}/com'
871 localstatedir='${prefix}/var'
872 includedir='${prefix}/include'
873 oldincludedir='/usr/include'
874 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
875 infodir='${datarootdir}/info'
880 libdir='${exec_prefix}/lib'
881 localedir='${datarootdir}/locale'
882 mandir='${datarootdir}/man'
888 # If the previous option needs an argument, assign it.
889 if test -n "$ac_prev"; then
890 eval $ac_prev=\$ac_option
896 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
901 # Accept the important Cygnus configure options, so we can diagnose typos.
903 case $ac_dashdash$ac_option in
907 -bindir | --bindir | --bindi | --bind | --bin | --bi)
909 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
912 -build | --build | --buil | --bui | --bu)
913 ac_prev=build_alias ;;
914 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
915 build_alias=$ac_optarg ;;
917 -cache-file | --cache-file | --cache-fil | --cache-fi \
918 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
919 ac_prev=cache_file ;;
920 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
921 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
922 cache_file=$ac_optarg ;;
925 cache_file=config.cache ;;
927 -datadir | --datadir | --datadi | --datad)
929 -datadir=* | --datadir=* | --datadi=* | --datad=*)
930 datadir=$ac_optarg ;;
932 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
933 | --dataroo | --dataro | --datar)
934 ac_prev=datarootdir ;;
935 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
936 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
937 datarootdir=$ac_optarg ;;
939 -disable-* | --disable-*)
940 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
941 # Reject names that are not valid shell variable names.
942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
943 as_fn_error $? "invalid feature name: $ac_useropt"
944 ac_useropt_orig=$ac_useropt
945 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
946 case $ac_user_opts in
950 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
951 ac_unrecognized_sep=', ';;
953 eval enable_$ac_useropt=no ;;
955 -docdir | --docdir | --docdi | --doc | --do)
957 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
960 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
962 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
965 -enable-* | --enable-*)
966 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
967 # Reject names that are not valid shell variable names.
968 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
969 as_fn_error $? "invalid feature name: $ac_useropt"
970 ac_useropt_orig=$ac_useropt
971 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
972 case $ac_user_opts in
976 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
977 ac_unrecognized_sep=', ';;
979 eval enable_$ac_useropt=\$ac_optarg ;;
981 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
982 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
983 | --exec | --exe | --ex)
984 ac_prev=exec_prefix ;;
985 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
986 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
987 | --exec=* | --exe=* | --ex=*)
988 exec_prefix=$ac_optarg ;;
990 -gas | --gas | --ga | --g)
991 # Obsolete; use --with-gas.
994 -help | --help | --hel | --he | -h)
996 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
997 ac_init_help=recursive ;;
998 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
999 ac_init_help=short ;;
1001 -host | --host | --hos | --ho)
1002 ac_prev=host_alias ;;
1003 -host=* | --host=* | --hos=* | --ho=*)
1004 host_alias=$ac_optarg ;;
1006 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1008 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1010 htmldir=$ac_optarg ;;
1012 -includedir | --includedir | --includedi | --included | --include \
1013 | --includ | --inclu | --incl | --inc)
1014 ac_prev=includedir ;;
1015 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1016 | --includ=* | --inclu=* | --incl=* | --inc=*)
1017 includedir=$ac_optarg ;;
1019 -infodir | --infodir | --infodi | --infod | --info | --inf)
1021 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1022 infodir=$ac_optarg ;;
1024 -libdir | --libdir | --libdi | --libd)
1026 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1027 libdir=$ac_optarg ;;
1029 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1030 | --libexe | --libex | --libe)
1031 ac_prev=libexecdir ;;
1032 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1033 | --libexe=* | --libex=* | --libe=*)
1034 libexecdir=$ac_optarg ;;
1036 -localedir | --localedir | --localedi | --localed | --locale)
1037 ac_prev=localedir ;;
1038 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1039 localedir=$ac_optarg ;;
1041 -localstatedir | --localstatedir | --localstatedi | --localstated \
1042 | --localstate | --localstat | --localsta | --localst | --locals)
1043 ac_prev=localstatedir ;;
1044 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1045 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1046 localstatedir=$ac_optarg ;;
1048 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1050 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1051 mandir=$ac_optarg ;;
1053 -nfp | --nfp | --nf)
1054 # Obsolete; use --without-fp.
1057 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1058 | --no-cr | --no-c | -n)
1061 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1062 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1065 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1066 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1067 | --oldin | --oldi | --old | --ol | --o)
1068 ac_prev=oldincludedir ;;
1069 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1070 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1071 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1072 oldincludedir=$ac_optarg ;;
1074 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1076 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1077 prefix=$ac_optarg ;;
1079 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1080 | --program-pre | --program-pr | --program-p)
1081 ac_prev=program_prefix ;;
1082 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1083 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1084 program_prefix=$ac_optarg ;;
1086 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1087 | --program-suf | --program-su | --program-s)
1088 ac_prev=program_suffix ;;
1089 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1090 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1091 program_suffix=$ac_optarg ;;
1093 -program-transform-name | --program-transform-name \
1094 | --program-transform-nam | --program-transform-na \
1095 | --program-transform-n | --program-transform- \
1096 | --program-transform | --program-transfor \
1097 | --program-transfo | --program-transf \
1098 | --program-trans | --program-tran \
1099 | --progr-tra | --program-tr | --program-t)
1100 ac_prev=program_transform_name ;;
1101 -program-transform-name=* | --program-transform-name=* \
1102 | --program-transform-nam=* | --program-transform-na=* \
1103 | --program-transform-n=* | --program-transform-=* \
1104 | --program-transform=* | --program-transfor=* \
1105 | --program-transfo=* | --program-transf=* \
1106 | --program-trans=* | --program-tran=* \
1107 | --progr-tra=* | --program-tr=* | --program-t=*)
1108 program_transform_name=$ac_optarg ;;
1110 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1112 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1113 pdfdir=$ac_optarg ;;
1115 -psdir | --psdir | --psdi | --psd | --ps)
1117 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1120 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1121 | -silent | --silent | --silen | --sile | --sil)
1124 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1126 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1128 sbindir=$ac_optarg ;;
1130 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1131 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1132 | --sharedst | --shareds | --shared | --share | --shar \
1134 ac_prev=sharedstatedir ;;
1135 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1136 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1137 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1139 sharedstatedir=$ac_optarg ;;
1141 -site | --site | --sit)
1143 -site=* | --site=* | --sit=*)
1146 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1148 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1149 srcdir=$ac_optarg ;;
1151 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1152 | --syscon | --sysco | --sysc | --sys | --sy)
1153 ac_prev=sysconfdir ;;
1154 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1155 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1156 sysconfdir=$ac_optarg ;;
1158 -target | --target | --targe | --targ | --tar | --ta | --t)
1159 ac_prev=target_alias ;;
1160 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1161 target_alias=$ac_optarg ;;
1163 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1166 -version | --version | --versio | --versi | --vers | -V)
1167 ac_init_version=: ;;
1170 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1171 # Reject names that are not valid shell variable names.
1172 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1173 as_fn_error $? "invalid package name: $ac_useropt"
1174 ac_useropt_orig=$ac_useropt
1175 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1176 case $ac_user_opts in
1180 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1181 ac_unrecognized_sep=', ';;
1183 eval with_$ac_useropt=\$ac_optarg ;;
1185 -without-* | --without-*)
1186 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1187 # Reject names that are not valid shell variable names.
1188 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1189 as_fn_error $? "invalid package name: $ac_useropt"
1190 ac_useropt_orig=$ac_useropt
1191 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1192 case $ac_user_opts in
1196 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1197 ac_unrecognized_sep=', ';;
1199 eval with_$ac_useropt=no ;;
1202 # Obsolete; use --with-x.
1205 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1206 | --x-incl | --x-inc | --x-in | --x-i)
1207 ac_prev=x_includes ;;
1208 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1209 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1210 x_includes=$ac_optarg ;;
1212 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1213 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1214 ac_prev=x_libraries ;;
1215 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1216 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1217 x_libraries=$ac_optarg ;;
1219 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1220 Try \`$0 --help' for more information"
1224 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1225 # Reject names that are not valid shell variable names.
1226 case $ac_envvar in #(
1227 '' | [0-9]* | *[!_$as_cr_alnum]* )
1228 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1230 eval $ac_envvar=\$ac_optarg
1231 export $ac_envvar ;;
1234 # FIXME: should be removed in autoconf 3.0.
1235 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1236 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1237 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1238 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1244 if test -n "$ac_prev"; then
1245 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1246 as_fn_error $? "missing argument to $ac_option"
1249 if test -n "$ac_unrecognized_opts"; then
1250 case $enable_option_checking in
1252 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1253 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1257 # Check all directory arguments for consistency.
1258 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1259 datadir sysconfdir sharedstatedir localstatedir includedir \
1260 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1261 libdir localedir mandir
1263 eval ac_val=\$$ac_var
1264 # Remove trailing slashes.
1267 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1268 eval $ac_var=\$ac_val;;
1270 # Be sure to have absolute directory names.
1272 [\\/$]* | ?:[\\/]* ) continue;;
1273 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1275 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1278 # There might be people who depend on the old broken behavior: `$host'
1279 # used to hold the argument of --host etc.
1280 # FIXME: To remove some day.
1283 target=$target_alias
1285 # FIXME: To remove some day.
1286 if test "x$host_alias" != x; then
1287 if test "x$build_alias" = x; then
1288 cross_compiling=maybe
1289 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1290 If a cross compiler is detected then cross compile mode will be used" >&2
1291 elif test "x$build_alias" != "x$host_alias"; then
1297 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1299 test "$silent" = yes && exec 6>/dev/null
1302 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1303 ac_ls_di=`ls -di .` &&
1304 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1305 as_fn_error $? "working directory cannot be determined"
1306 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1307 as_fn_error $? "pwd does not report name of working directory"
1310 # Find the source files, if location was not specified.
1311 if test -z "$srcdir"; then
1312 ac_srcdir_defaulted=yes
1313 # Try the directory containing this script, then the parent directory.
1314 ac_confdir=`$as_dirname -- "$as_myself" ||
1315 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1316 X"$as_myself" : 'X\(//\)[^/]' \| \
1317 X"$as_myself" : 'X\(//\)$' \| \
1318 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1319 $as_echo X"$as_myself" |
1320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1338 if test ! -r "$srcdir/$ac_unique_file"; then
1342 ac_srcdir_defaulted=no
1344 if test ! -r "$srcdir/$ac_unique_file"; then
1345 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1346 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1348 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1350 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1352 # When building in place, set srcdir=.
1353 if test "$ac_abs_confdir" = "$ac_pwd"; then
1356 # Remove unnecessary trailing slashes from srcdir.
1357 # Double slashes in file names in object file debugging info
1358 # mess up M-x gdb in Emacs.
1360 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1362 for ac_var in $ac_precious_vars; do
1363 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1364 eval ac_env_${ac_var}_value=\$${ac_var}
1365 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1366 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1370 # Report the --help message.
1372 if test "$ac_init_help" = "long"; then
1373 # Omit some internal or obsolete options to make the list less imposing.
1374 # This message is too long to be a string in the A/UX 3.1 sh.
1376 \`configure' configures Wine 1.3.10 to adapt to many kinds of systems.
1378 Usage: $0 [OPTION]... [VAR=VALUE]...
1380 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1381 VAR=VALUE. See below for descriptions of some of the useful variables.
1383 Defaults for the options are specified in brackets.
1386 -h, --help display this help and exit
1387 --help=short display options specific to this package
1388 --help=recursive display the short help of all the included packages
1389 -V, --version display version information and exit
1390 -q, --quiet, --silent do not print \`checking ...' messages
1391 --cache-file=FILE cache test results in FILE [disabled]
1392 -C, --config-cache alias for \`--cache-file=config.cache'
1393 -n, --no-create do not create output files
1394 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1396 Installation directories:
1397 --prefix=PREFIX install architecture-independent files in PREFIX
1398 [$ac_default_prefix]
1399 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1402 By default, \`make install' will install all the files in
1403 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1404 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1405 for instance \`--prefix=\$HOME'.
1407 For better control, use the options below.
1409 Fine tuning of the installation directories:
1410 --bindir=DIR user executables [EPREFIX/bin]
1411 --sbindir=DIR system admin executables [EPREFIX/sbin]
1412 --libexecdir=DIR program executables [EPREFIX/libexec]
1413 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1414 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1415 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1416 --libdir=DIR object code libraries [EPREFIX/lib]
1417 --includedir=DIR C header files [PREFIX/include]
1418 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1419 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1420 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1421 --infodir=DIR info documentation [DATAROOTDIR/info]
1422 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1423 --mandir=DIR man documentation [DATAROOTDIR/man]
1424 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1425 --htmldir=DIR html documentation [DOCDIR]
1426 --dvidir=DIR dvi documentation [DOCDIR]
1427 --pdfdir=DIR pdf documentation [DOCDIR]
1428 --psdir=DIR ps documentation [DOCDIR]
1434 --x-includes=DIR X include files are in DIR
1435 --x-libraries=DIR X library files are in DIR
1438 --build=BUILD configure for building on BUILD [guessed]
1439 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1443 if test -n "$ac_init_help"; then
1444 case $ac_init_help in
1445 short | recursive ) echo "Configuration of Wine 1.3.10:";;
1450 --disable-option-checking ignore unrecognized --enable/--with options
1451 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1452 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1453 --disable-win16 do not include Win16 support
1454 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1456 --disable-tests do not build the regression tests
1457 --enable-maintainer-mode
1458 enable maintainer-specific build rules
1459 --disable-largefile omit support for large files
1462 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1463 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1464 --without-alsa do not use the Alsa sound support
1465 --without-capi do not use CAPI (ISDN support)
1466 --without-cms do not use CMS (color management support)
1467 --without-coreaudio do not use the CoreAudio sound support
1468 --without-cups do not use CUPS
1469 --without-curses do not use (n)curses
1470 --without-esd do not use the EsounD sound support
1471 --without-fontconfig do not use fontconfig
1472 --without-freetype do not use the FreeType library
1473 --without-gettextpo do not use the GetTextPO library
1474 --without-gphoto do not use gphoto (Digital Camera support)
1475 --without-glu do not use the GLU library
1476 --without-gnutls do not use GnuTLS (schannel support)
1477 --without-gsm do not use libgsm (GSM 06.10 codec support)
1478 --without-gstreamer do not use GStreamer (codecs support)
1479 --without-hal do not use HAL (dynamic device support)
1480 --without-icns do not use ICNS icon support
1481 --without-jack do not use the Jack sound support
1482 --without-jpeg do not use JPEG
1483 --without-ldap do not use LDAP
1484 --without-mpg123 do not use the mpg123 library
1485 --without-nas do not use the NAS sound support
1486 --without-openal do not use OpenAL
1487 --without-opencl do not use OpenCL
1488 --without-opengl do not use OpenGL
1489 --without-openssl do not use OpenSSL
1490 --without-oss do not use the OSS sound support
1491 --without-png do not use PNG
1492 --without-pthread do not use the pthread library
1493 --without-sane do not use SANE (scanner support)
1494 --without-tiff do not use TIFF
1495 --without-v4l do not use v4l1 (v4l support)
1496 --without-xcomposite do not use the Xcomposite extension
1497 --without-xcursor do not use the Xcursor extension
1498 --without-xinerama do not use Xinerama (multi-monitor support)
1499 --without-xinput do not use the Xinput extension
1500 --without-xml do not use XML
1501 --without-xrandr do not use Xrandr (resolution changes)
1502 --without-xrender do not use the Xrender extension
1503 --without-xshape do not use the Xshape extension
1504 --without-xshm do not use XShm (shared memory extension)
1505 --without-xslt do not use XSLT
1506 --without-xxf86vm do not use XFree video mode extension
1507 --with-wine-tools=DIR use Wine tools from directory DIR
1508 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1509 --with-x use the X Window System
1511 Some influential environment variables:
1512 CC C compiler command
1513 CFLAGS C compiler flags
1514 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1515 nonstandard directory <lib dir>
1516 LIBS libraries to pass to the linker, e.g. -l<library>
1517 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1518 you have headers in a nonstandard directory <include dir>
1519 CXX C++ compiler command
1520 CXXFLAGS C++ compiler flags
1522 XMKMF Path to xmkmf, Makefile generator for X Window System
1524 Use these variables to override the choices made by `configure' or to help
1525 it to find libraries and programs with nonstandard names/locations.
1527 Report bugs to <wine-devel@winehq.org>.
1528 Wine home page: <http://www.winehq.org>.
1533 if test "$ac_init_help" = "recursive"; then
1534 # If there are subdirs, report their specific --help.
1535 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1536 test -d "$ac_dir" ||
1537 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1542 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1544 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1545 # A ".." for each directory in $ac_dir_suffix.
1546 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1547 case $ac_top_builddir_sub in
1548 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1549 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1552 ac_abs_top_builddir=$ac_pwd
1553 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1554 # for backward compatibility:
1555 ac_top_builddir=$ac_top_build_prefix
1558 .) # We are building in place.
1560 ac_top_srcdir=$ac_top_builddir_sub
1561 ac_abs_top_srcdir=$ac_pwd ;;
1562 [\\/]* | ?:[\\/]* ) # Absolute name.
1563 ac_srcdir=$srcdir$ac_dir_suffix;
1564 ac_top_srcdir=$srcdir
1565 ac_abs_top_srcdir=$srcdir ;;
1567 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1568 ac_top_srcdir=$ac_top_build_prefix$srcdir
1569 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1571 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1573 cd "$ac_dir" || { ac_status=$?; continue; }
1574 # Check for guested configure.
1575 if test -f "$ac_srcdir/configure.gnu"; then
1577 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1578 elif test -f "$ac_srcdir/configure"; then
1580 $SHELL "$ac_srcdir/configure" --help=recursive
1582 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1584 cd "$ac_pwd" || { ac_status=$?; break; }
1588 test -n "$ac_init_help" && exit $ac_status
1589 if $ac_init_version; then
1591 Wine configure 1.3.10
1592 generated by GNU Autoconf 2.67
1594 Copyright (C) 2010 Free Software Foundation, Inc.
1595 This configure script is free software; the Free Software Foundation
1596 gives unlimited permission to copy, distribute and modify it.
1601 ## ------------------------ ##
1602 ## Autoconf initialization. ##
1603 ## ------------------------ ##
1605 # ac_fn_c_try_compile LINENO
1606 # --------------------------
1607 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1608 ac_fn_c_try_compile ()
1610 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1611 rm -f conftest.$ac_objext
1612 if { { ac_try="$ac_compile"
1614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1615 *) ac_try_echo=$ac_try;;
1617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1618 $as_echo "$ac_try_echo"; } >&5
1619 (eval "$ac_compile") 2>conftest.err
1621 if test -s conftest.err; then
1622 grep -v '^ *+' conftest.err >conftest.er1
1623 cat conftest.er1 >&5
1624 mv -f conftest.er1 conftest.err
1626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1627 test $ac_status = 0; } && {
1628 test -z "$ac_c_werror_flag" ||
1629 test ! -s conftest.err
1630 } && test -s conftest.$ac_objext; then :
1633 $as_echo "$as_me: failed program was:" >&5
1634 sed 's/^/| /' conftest.$ac_ext >&5
1638 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1639 as_fn_set_status $ac_retval
1641 } # ac_fn_c_try_compile
1643 # ac_fn_cxx_try_compile LINENO
1644 # ----------------------------
1645 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1646 ac_fn_cxx_try_compile ()
1648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1649 rm -f conftest.$ac_objext
1650 if { { ac_try="$ac_compile"
1652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1653 *) ac_try_echo=$ac_try;;
1655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1656 $as_echo "$ac_try_echo"; } >&5
1657 (eval "$ac_compile") 2>conftest.err
1659 if test -s conftest.err; then
1660 grep -v '^ *+' conftest.err >conftest.er1
1661 cat conftest.er1 >&5
1662 mv -f conftest.er1 conftest.err
1664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1665 test $ac_status = 0; } && {
1666 test -z "$ac_cxx_werror_flag" ||
1667 test ! -s conftest.err
1668 } && test -s conftest.$ac_objext; then :
1671 $as_echo "$as_me: failed program was:" >&5
1672 sed 's/^/| /' conftest.$ac_ext >&5
1676 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1677 as_fn_set_status $ac_retval
1679 } # ac_fn_cxx_try_compile
1681 # ac_fn_c_try_link LINENO
1682 # -----------------------
1683 # Try to link conftest.$ac_ext, and return whether this succeeded.
1686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1687 rm -f conftest.$ac_objext conftest$ac_exeext
1688 if { { ac_try="$ac_link"
1690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1691 *) ac_try_echo=$ac_try;;
1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1694 $as_echo "$ac_try_echo"; } >&5
1695 (eval "$ac_link") 2>conftest.err
1697 if test -s conftest.err; then
1698 grep -v '^ *+' conftest.err >conftest.er1
1699 cat conftest.er1 >&5
1700 mv -f conftest.er1 conftest.err
1702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1703 test $ac_status = 0; } && {
1704 test -z "$ac_c_werror_flag" ||
1705 test ! -s conftest.err
1706 } && test -s conftest$ac_exeext && {
1707 test "$cross_compiling" = yes ||
1708 $as_test_x conftest$ac_exeext
1712 $as_echo "$as_me: failed program was:" >&5
1713 sed 's/^/| /' conftest.$ac_ext >&5
1717 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1718 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1719 # interfere with the next link command; also delete a directory that is
1720 # left behind by Apple's compiler. We do this before executing the actions.
1721 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1722 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1723 as_fn_set_status $ac_retval
1725 } # ac_fn_c_try_link
1727 # ac_fn_c_try_cpp LINENO
1728 # ----------------------
1729 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1733 if { { ac_try="$ac_cpp conftest.$ac_ext"
1735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1736 *) ac_try_echo=$ac_try;;
1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739 $as_echo "$ac_try_echo"; } >&5
1740 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1742 if test -s conftest.err; then
1743 grep -v '^ *+' conftest.err >conftest.er1
1744 cat conftest.er1 >&5
1745 mv -f conftest.er1 conftest.err
1747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1748 test $ac_status = 0; } > conftest.i && {
1749 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1750 test ! -s conftest.err
1754 $as_echo "$as_me: failed program was:" >&5
1755 sed 's/^/| /' conftest.$ac_ext >&5
1759 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1760 as_fn_set_status $ac_retval
1764 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1765 # -------------------------------------------------------
1766 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1767 # the include files in INCLUDES and setting the cache variable VAR
1769 ac_fn_c_check_header_mongrel ()
1771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1772 if eval "test \"\${$3+set}\"" = set; then :
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1774 $as_echo_n "checking for $2... " >&6; }
1775 if eval "test \"\${$3+set}\"" = set; then :
1776 $as_echo_n "(cached) " >&6
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1780 $as_echo "$ac_res" >&6; }
1782 # Is the header compilable?
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1784 $as_echo_n "checking $2 usability... " >&6; }
1785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1786 /* end confdefs.h. */
1790 if ac_fn_c_try_compile "$LINENO"; then :
1791 ac_header_compiler=yes
1793 ac_header_compiler=no
1795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1797 $as_echo "$ac_header_compiler" >&6; }
1799 # Is the header present?
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1801 $as_echo_n "checking $2 presence... " >&6; }
1802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1803 /* end confdefs.h. */
1806 if ac_fn_c_try_cpp "$LINENO"; then :
1807 ac_header_preproc=yes
1809 ac_header_preproc=no
1811 rm -f conftest.err conftest.i conftest.$ac_ext
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1813 $as_echo "$ac_header_preproc" >&6; }
1815 # So? What about this header?
1816 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1819 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1821 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1825 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1827 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1829 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1831 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1833 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1834 ( $as_echo "## ------------------------------------ ##
1835 ## Report this to wine-devel@winehq.org ##
1836 ## ------------------------------------ ##"
1837 ) | sed "s/^/$as_me: WARNING: /" >&2
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1841 $as_echo_n "checking for $2... " >&6; }
1842 if eval "test \"\${$3+set}\"" = set; then :
1843 $as_echo_n "(cached) " >&6
1845 eval "$3=\$ac_header_compiler"
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1849 $as_echo "$ac_res" >&6; }
1851 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1853 } # ac_fn_c_check_header_mongrel
1855 # ac_fn_c_try_run LINENO
1856 # ----------------------
1857 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1858 # that executables *can* be run.
1861 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1862 if { { ac_try="$ac_link"
1864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1865 *) ac_try_echo=$ac_try;;
1867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1868 $as_echo "$ac_try_echo"; } >&5
1869 (eval "$ac_link") 2>&5
1871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1872 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1873 { { case "(($ac_try" in
1874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1875 *) ac_try_echo=$ac_try;;
1877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1878 $as_echo "$ac_try_echo"; } >&5
1879 (eval "$ac_try") 2>&5
1881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1882 test $ac_status = 0; }; }; then :
1885 $as_echo "$as_me: program exited with status $ac_status" >&5
1886 $as_echo "$as_me: failed program was:" >&5
1887 sed 's/^/| /' conftest.$ac_ext >&5
1889 ac_retval=$ac_status
1891 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1892 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1893 as_fn_set_status $ac_retval
1897 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1898 # -------------------------------------------------------
1899 # Tests whether HEADER exists and can be compiled using the include files in
1900 # INCLUDES, setting the cache variable VAR accordingly.
1901 ac_fn_c_check_header_compile ()
1903 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1905 $as_echo_n "checking for $2... " >&6; }
1906 if eval "test \"\${$3+set}\"" = set; then :
1907 $as_echo_n "(cached) " >&6
1909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1910 /* end confdefs.h. */
1914 if ac_fn_c_try_compile "$LINENO"; then :
1919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1923 $as_echo "$ac_res" >&6; }
1924 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1926 } # ac_fn_c_check_header_compile
1928 # ac_fn_c_check_func LINENO FUNC VAR
1929 # ----------------------------------
1930 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1931 ac_fn_c_check_func ()
1933 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1935 $as_echo_n "checking for $2... " >&6; }
1936 if eval "test \"\${$3+set}\"" = set; then :
1937 $as_echo_n "(cached) " >&6
1939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1940 /* end confdefs.h. */
1941 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1943 #define $2 innocuous_$2
1945 /* System header to define __stub macros and hopefully few prototypes,
1946 which can conflict with char $2 (); below.
1947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1948 <limits.h> exists even on freestanding compilers. */
1951 # include <limits.h>
1953 # include <assert.h>
1958 /* Override any GCC internal prototype to avoid an error.
1959 Use char because int might match the return type of a GCC
1960 builtin and then its argument prototype would still apply. */
1965 /* The GNU C library defines this for functions which it implements
1966 to always fail with ENOSYS. Some functions are actually named
1967 something starting with __ and the normal name is an alias. */
1968 #if defined __stub_$2 || defined __stub___$2
1980 if ac_fn_c_try_link "$LINENO"; then :
1985 rm -f core conftest.err conftest.$ac_objext \
1986 conftest$ac_exeext conftest.$ac_ext
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1990 $as_echo "$ac_res" >&6; }
1991 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1993 } # ac_fn_c_check_func
1995 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1996 # ----------------------------------------------------
1997 # Tries to find if the field MEMBER exists in type AGGR, after including
1998 # INCLUDES, setting cache variable VAR accordingly.
1999 ac_fn_c_check_member ()
2001 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2003 $as_echo_n "checking for $2.$3... " >&6; }
2004 if eval "test \"\${$4+set}\"" = set; then :
2005 $as_echo_n "(cached) " >&6
2007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2008 /* end confdefs.h. */
2020 if ac_fn_c_try_compile "$LINENO"; then :
2023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2024 /* end confdefs.h. */
2030 if (sizeof ac_aggr.$3)
2036 if ac_fn_c_try_compile "$LINENO"; then :
2041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2047 $as_echo "$ac_res" >&6; }
2048 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2050 } # ac_fn_c_check_member
2052 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2053 # -------------------------------------------
2054 # Tests whether TYPE exists after having included INCLUDES, setting cache
2055 # variable VAR accordingly.
2056 ac_fn_c_check_type ()
2058 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2060 $as_echo_n "checking for $2... " >&6; }
2061 if eval "test \"\${$3+set}\"" = set; then :
2062 $as_echo_n "(cached) " >&6
2065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2066 /* end confdefs.h. */
2077 if ac_fn_c_try_compile "$LINENO"; then :
2078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2079 /* end confdefs.h. */
2090 if ac_fn_c_try_compile "$LINENO"; then :
2095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2101 $as_echo "$ac_res" >&6; }
2102 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2104 } # ac_fn_c_check_type
2105 cat >config.log <<_ACEOF
2106 This file contains any messages produced by compilers while
2107 running configure, to aid debugging if configure makes a mistake.
2109 It was created by Wine $as_me 1.3.10, which was
2110 generated by GNU Autoconf 2.67. Invocation command line was
2122 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2123 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2124 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2125 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2126 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2128 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2129 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2131 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2132 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2133 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2134 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2135 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2136 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2137 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2145 test -z "$as_dir" && as_dir=.
2146 $as_echo "PATH: $as_dir"
2162 # Keep a trace of the command line.
2163 # Strip out --no-create and --no-recursion so they do not pile up.
2164 # Strip out --silent because we don't want to record it for future runs.
2165 # Also quote any args containing shell meta-characters.
2166 # Make two passes to allow for proper duplicate-argument suppression.
2170 ac_must_keep_next=false
2176 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2177 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2178 | -silent | --silent | --silen | --sile | --sil)
2181 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2184 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2186 as_fn_append ac_configure_args1 " '$ac_arg'"
2187 if test $ac_must_keep_next = true; then
2188 ac_must_keep_next=false # Got value, back to normal.
2191 *=* | --config-cache | -C | -disable-* | --disable-* \
2192 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2193 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2194 | -with-* | --with-* | -without-* | --without-* | --x)
2195 case "$ac_configure_args0 " in
2196 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2199 -* ) ac_must_keep_next=true ;;
2202 as_fn_append ac_configure_args " '$ac_arg'"
2207 { ac_configure_args0=; unset ac_configure_args0;}
2208 { ac_configure_args1=; unset ac_configure_args1;}
2210 # When interrupted or exit'd, cleanup temporary files, and complete
2211 # config.log. We remove comments because anyway the quotes in there
2212 # would cause problems or look ugly.
2213 # WARNING: Use '\'' to represent an apostrophe within the trap.
2214 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2215 trap 'exit_status=$?
2216 # Save into config.log some information that might help in debugging.
2220 $as_echo "## ---------------- ##
2221 ## Cache variables. ##
2222 ## ---------------- ##"
2224 # The following way of writing the cache mishandles newlines in values,
2226 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2227 eval ac_val=\$$ac_var
2231 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2232 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2235 _ | IFS | as_nl) ;; #(
2236 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2237 *) { eval $ac_var=; unset $ac_var;} ;;
2242 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2243 *${as_nl}ac_space=\ *)
2245 "s/'\''/'\''\\\\'\'''\''/g;
2246 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2249 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2256 $as_echo "## ----------------- ##
2257 ## Output variables. ##
2258 ## ----------------- ##"
2260 for ac_var in $ac_subst_vars
2262 eval ac_val=\$$ac_var
2264 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2266 $as_echo "$ac_var='\''$ac_val'\''"
2270 if test -n "$ac_subst_files"; then
2271 $as_echo "## ------------------- ##
2272 ## File substitutions. ##
2273 ## ------------------- ##"
2275 for ac_var in $ac_subst_files
2277 eval ac_val=\$$ac_var
2279 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2281 $as_echo "$ac_var='\''$ac_val'\''"
2286 if test -s confdefs.h; then
2287 $as_echo "## ----------- ##
2294 test "$ac_signal" != 0 &&
2295 $as_echo "$as_me: caught signal $ac_signal"
2296 $as_echo "$as_me: exit $exit_status"
2298 rm -f core *.core core.conftest.* &&
2299 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2302 for ac_signal in 1 2 13 15; do
2303 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2307 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2308 rm -f -r conftest* confdefs.h
2310 $as_echo "/* confdefs.h */" > confdefs.h
2312 # Predefined preprocessor variables.
2314 cat >>confdefs.h <<_ACEOF
2315 #define PACKAGE_NAME "$PACKAGE_NAME"
2318 cat >>confdefs.h <<_ACEOF
2319 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2322 cat >>confdefs.h <<_ACEOF
2323 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2326 cat >>confdefs.h <<_ACEOF
2327 #define PACKAGE_STRING "$PACKAGE_STRING"
2330 cat >>confdefs.h <<_ACEOF
2331 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2334 cat >>confdefs.h <<_ACEOF
2335 #define PACKAGE_URL "$PACKAGE_URL"
2339 # Let the site file select an alternate cache file if it wants to.
2340 # Prefer an explicitly selected file to automatically selected ones.
2343 if test -n "$CONFIG_SITE"; then
2344 # We do not want a PATH search for config.site.
2345 case $CONFIG_SITE in #((
2346 -*) ac_site_file1=./$CONFIG_SITE;;
2347 */*) ac_site_file1=$CONFIG_SITE;;
2348 *) ac_site_file1=./$CONFIG_SITE;;
2350 elif test "x$prefix" != xNONE; then
2351 ac_site_file1=$prefix/share/config.site
2352 ac_site_file2=$prefix/etc/config.site
2354 ac_site_file1=$ac_default_prefix/share/config.site
2355 ac_site_file2=$ac_default_prefix/etc/config.site
2357 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2359 test "x$ac_site_file" = xNONE && continue
2360 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2362 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2363 sed 's/^/| /' "$ac_site_file" >&5
2365 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2367 as_fn_error $? "failed to load site script $ac_site_file
2368 See \`config.log' for more details" "$LINENO" 5 ; }
2372 if test -r "$cache_file"; then
2373 # Some versions of bash will fail to source /dev/null (special files
2374 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2375 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2377 $as_echo "$as_me: loading cache $cache_file" >&6;}
2379 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2380 *) . "./$cache_file";;
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2385 $as_echo "$as_me: creating cache $cache_file" >&6;}
2389 # Check that the precious variables saved in the cache have kept the same
2391 ac_cache_corrupted=false
2392 for ac_var in $ac_precious_vars; do
2393 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2394 eval ac_new_set=\$ac_env_${ac_var}_set
2395 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2396 eval ac_new_val=\$ac_env_${ac_var}_value
2397 case $ac_old_set,$ac_new_set in
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2400 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2401 ac_cache_corrupted=: ;;
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2404 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2405 ac_cache_corrupted=: ;;
2408 if test "x$ac_old_val" != "x$ac_new_val"; then
2409 # differences in whitespace do not lead to failure.
2410 ac_old_val_w=`echo x $ac_old_val`
2411 ac_new_val_w=`echo x $ac_new_val`
2412 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2414 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2415 ac_cache_corrupted=:
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2418 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2419 eval $ac_var=\$ac_old_val
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2422 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2424 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2427 # Pass precious variables to config.status.
2428 if test "$ac_new_set" = set; then
2430 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2431 *) ac_arg=$ac_var=$ac_new_val ;;
2433 case " $ac_configure_args " in
2434 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2435 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2439 if $ac_cache_corrupted; then
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2443 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2444 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2446 ## -------------------- ##
2447 ## Main body of script. ##
2448 ## -------------------- ##
2451 ac_cpp='$CPP $CPPFLAGS'
2452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2458 ac_config_headers="$ac_config_headers include/config.h"
2461 for ac_dir in tools "$srcdir"/tools; do
2462 if test -f "$ac_dir/install-sh"; then
2464 ac_install_sh="$ac_aux_dir/install-sh -c"
2466 elif test -f "$ac_dir/install.sh"; then
2468 ac_install_sh="$ac_aux_dir/install.sh -c"
2470 elif test -f "$ac_dir/shtool"; then
2472 ac_install_sh="$ac_aux_dir/shtool install -c"
2476 if test -z "$ac_aux_dir"; then
2477 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2480 # These three variables are undocumented and unsupported,
2481 # and are intended to be withdrawn in a future Autoconf release.
2482 # They can cause serious problems if a builder's source tree is in a directory
2483 # whose full name contains unusual characters.
2484 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2485 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2486 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2492 # Check whether --enable-win16 was given.
2493 if test "${enable_win16+set}" = set; then :
2494 enableval=$enable_win16;
2497 # Check whether --enable-win64 was given.
2498 if test "${enable_win64+set}" = set; then :
2499 enableval=$enable_win64;
2502 # Check whether --enable-tests was given.
2503 if test "${enable_tests+set}" = set; then :
2504 enableval=$enable_tests;
2507 # Check whether --enable-maintainer-mode was given.
2508 if test "${enable_maintainer_mode+set}" = set; then :
2509 enableval=$enable_maintainer_mode;
2514 # Check whether --with-alsa was given.
2515 if test "${with_alsa+set}" = set; then :
2516 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
2520 # Check whether --with-capi was given.
2521 if test "${with_capi+set}" = set; then :
2522 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
2526 # Check whether --with-cms was given.
2527 if test "${with_cms+set}" = set; then :
2528 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
2532 # Check whether --with-coreaudio was given.
2533 if test "${with_coreaudio+set}" = set; then :
2534 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
2538 # Check whether --with-cups was given.
2539 if test "${with_cups+set}" = set; then :
2544 # Check whether --with-curses was given.
2545 if test "${with_curses+set}" = set; then :
2546 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
2550 # Check whether --with-esd was given.
2551 if test "${with_esd+set}" = set; then :
2556 # Check whether --with-fontconfig was given.
2557 if test "${with_fontconfig+set}" = set; then :
2558 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
2562 # Check whether --with-freetype was given.
2563 if test "${with_freetype+set}" = set; then :
2564 withval=$with_freetype;
2568 # Check whether --with-gettextpo was given.
2569 if test "${with_gettextpo+set}" = set; then :
2570 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
2574 # Check whether --with-gphoto was given.
2575 if test "${with_gphoto+set}" = set; then :
2576 withval=$with_gphoto;
2580 # Check whether --with-glu was given.
2581 if test "${with_glu+set}" = set; then :
2582 withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
2586 # Check whether --with-gnutls was given.
2587 if test "${with_gnutls+set}" = set; then :
2588 withval=$with_gnutls;
2592 # Check whether --with-gsm was given.
2593 if test "${with_gsm+set}" = set; then :
2594 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
2598 # Check whether --with-gstreamer was given.
2599 if test "${with_gstreamer+set}" = set; then :
2600 withval=$with_gstreamer;
2604 # Check whether --with-hal was given.
2605 if test "${with_hal+set}" = set; then :
2610 # Check whether --with-icns was given.
2611 if test "${with_icns+set}" = set; then :
2612 withval=$with_icns; if test "x$withval" = "xno"; then ac_cv_header_icns_h=no; fi
2616 # Check whether --with-jack was given.
2617 if test "${with_jack+set}" = set; then :
2618 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
2622 # Check whether --with-jpeg was given.
2623 if test "${with_jpeg+set}" = set; then :
2624 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2628 # Check whether --with-ldap was given.
2629 if test "${with_ldap+set}" = set; then :
2630 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2634 # Check whether --with-mpg123 was given.
2635 if test "${with_mpg123+set}" = set; then :
2636 withval=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h=no; fi
2640 # Check whether --with-nas was given.
2641 if test "${with_nas+set}" = set; then :
2642 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2646 # Check whether --with-openal was given.
2647 if test "${with_openal+set}" = set; then :
2648 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
2652 # Check whether --with-opencl was given.
2653 if test "${with_opencl+set}" = set; then :
2654 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
2658 # Check whether --with-opengl was given.
2659 if test "${with_opengl+set}" = set; then :
2660 withval=$with_opengl;
2664 # Check whether --with-openssl was given.
2665 if test "${with_openssl+set}" = set; then :
2666 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2670 # Check whether --with-oss was given.
2671 if test "${with_oss+set}" = set; then :
2672 withval=$with_oss; if test "x$withval" = "xno"; then ac_cv_header_soundcard_h=no; ac_cv_header_sys_soundcard_h=no; ac_cv_header_machine_soundcard_h=no; fi
2676 # Check whether --with-png was given.
2677 if test "${with_png+set}" = set; then :
2678 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2682 # Check whether --with-pthread was given.
2683 if test "${with_pthread+set}" = set; then :
2684 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
2688 # Check whether --with-sane was given.
2689 if test "${with_sane+set}" = set; then :
2694 # Check whether --with-tiff was given.
2695 if test "${with_tiff+set}" = set; then :
2696 withval=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h=no; fi
2700 # Check whether --with-v4l was given.
2701 if test "${with_v4l+set}" = set; then :
2706 # Check whether --with-xcomposite was given.
2707 if test "${with_xcomposite+set}" = set; then :
2708 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2712 # Check whether --with-xcursor was given.
2713 if test "${with_xcursor+set}" = set; then :
2714 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2718 # Check whether --with-xinerama was given.
2719 if test "${with_xinerama+set}" = set; then :
2720 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2724 # Check whether --with-xinput was given.
2725 if test "${with_xinput+set}" = set; then :
2726 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2730 # Check whether --with-xml was given.
2731 if test "${with_xml+set}" = set; then :
2736 # Check whether --with-xrandr was given.
2737 if test "${with_xrandr+set}" = set; then :
2738 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2742 # Check whether --with-xrender was given.
2743 if test "${with_xrender+set}" = set; then :
2744 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2748 # Check whether --with-xshape was given.
2749 if test "${with_xshape+set}" = set; then :
2750 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2754 # Check whether --with-xshm was given.
2755 if test "${with_xshm+set}" = set; then :
2756 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2760 # Check whether --with-xslt was given.
2761 if test "${with_xslt+set}" = set; then :
2766 # Check whether --with-xxf86vm was given.
2767 if test "${with_xxf86vm+set}" = set; then :
2768 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
2773 # Check whether --with-wine-tools was given.
2774 if test "${with_wine_tools+set}" = set; then :
2775 withval=$with_wine_tools;
2779 # Check whether --with-wine64 was given.
2780 if test "${with_wine64+set}" = set; then :
2781 withval=$with_wine64;
2785 # Make sure we can run config.sub.
2786 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2787 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2790 $as_echo_n "checking build system type... " >&6; }
2791 if test "${ac_cv_build+set}" = set; then :
2792 $as_echo_n "(cached) " >&6
2794 ac_build_alias=$build_alias
2795 test "x$ac_build_alias" = x &&
2796 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2797 test "x$ac_build_alias" = x &&
2798 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2799 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2800 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2804 $as_echo "$ac_cv_build" >&6; }
2805 case $ac_cv_build in
2807 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2810 ac_save_IFS=$IFS; IFS='-'
2816 # Remember, the first character of IFS is used to create $*,
2817 # except with old shells:
2820 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2824 $as_echo_n "checking host system type... " >&6; }
2825 if test "${ac_cv_host+set}" = set; then :
2826 $as_echo_n "(cached) " >&6
2828 if test "x$host_alias" = x; then
2829 ac_cv_host=$ac_cv_build
2831 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2832 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2837 $as_echo "$ac_cv_host" >&6; }
2840 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2843 ac_save_IFS=$IFS; IFS='-'
2849 # Remember, the first character of IFS is used to create $*,
2850 # except with old shells:
2853 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2859 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2860 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
2861 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2867 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2869 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2870 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2871 $as_echo_n "(cached) " >&6
2873 cat >conftest.make <<\_ACEOF
2876 @echo '@@@%%%=$(MAKE)=@@@%%%'
2878 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2879 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2881 eval ac_cv_prog_make_${ac_make}_set=yes;;
2883 eval ac_cv_prog_make_${ac_make}_set=no;;
2887 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2889 $as_echo "yes" >&6; }
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2893 $as_echo "no" >&6; }
2894 SET_MAKE="MAKE=${MAKE-make}"
2898 ac_cpp='$CPP $CPPFLAGS'
2899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2902 if test -n "$ac_tool_prefix"; then
2903 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2904 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2906 $as_echo_n "checking for $ac_word... " >&6; }
2907 if test "${ac_cv_prog_CC+set}" = set; then :
2908 $as_echo_n "(cached) " >&6
2910 if test -n "$CC"; then
2911 ac_cv_prog_CC="$CC" # Let the user override the test.
2913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2917 test -z "$as_dir" && as_dir=.
2918 for ac_exec_ext in '' $ac_executable_extensions; do
2919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2920 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2931 if test -n "$CC"; then
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2933 $as_echo "$CC" >&6; }
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2936 $as_echo "no" >&6; }
2941 if test -z "$ac_cv_prog_CC"; then
2943 # Extract the first word of "gcc", so it can be a program name with args.
2944 set dummy gcc; ac_word=$2
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2946 $as_echo_n "checking for $ac_word... " >&6; }
2947 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2948 $as_echo_n "(cached) " >&6
2950 if test -n "$ac_ct_CC"; then
2951 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2957 test -z "$as_dir" && as_dir=.
2958 for ac_exec_ext in '' $ac_executable_extensions; do
2959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2960 ac_cv_prog_ac_ct_CC="gcc"
2961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2970 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2971 if test -n "$ac_ct_CC"; then
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2973 $as_echo "$ac_ct_CC" >&6; }
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2976 $as_echo "no" >&6; }
2979 if test "x$ac_ct_CC" = x; then
2982 case $cross_compiling:$ac_tool_warned in
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2985 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2986 ac_tool_warned=yes ;;
2994 if test -z "$CC"; then
2995 if test -n "$ac_tool_prefix"; then
2996 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2997 set dummy ${ac_tool_prefix}cc; ac_word=$2
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2999 $as_echo_n "checking for $ac_word... " >&6; }
3000 if test "${ac_cv_prog_CC+set}" = set; then :
3001 $as_echo_n "(cached) " >&6
3003 if test -n "$CC"; then
3004 ac_cv_prog_CC="$CC" # Let the user override the test.
3006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3010 test -z "$as_dir" && as_dir=.
3011 for ac_exec_ext in '' $ac_executable_extensions; do
3012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3013 ac_cv_prog_CC="${ac_tool_prefix}cc"
3014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3024 if test -n "$CC"; then
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3026 $as_echo "$CC" >&6; }
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3029 $as_echo "no" >&6; }
3035 if test -z "$CC"; then
3036 # Extract the first word of "cc", so it can be a program name with args.
3037 set dummy cc; ac_word=$2
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3039 $as_echo_n "checking for $ac_word... " >&6; }
3040 if test "${ac_cv_prog_CC+set}" = set; then :
3041 $as_echo_n "(cached) " >&6
3043 if test -n "$CC"; then
3044 ac_cv_prog_CC="$CC" # Let the user override the test.
3047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3051 test -z "$as_dir" && as_dir=.
3052 for ac_exec_ext in '' $ac_executable_extensions; do
3053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3054 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3055 ac_prog_rejected=yes
3059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3066 if test $ac_prog_rejected = yes; then
3067 # We found a bogon in the path, so make sure we never use it.
3068 set dummy $ac_cv_prog_CC
3070 if test $# != 0; then
3071 # We chose a different compiler from the bogus one.
3072 # However, it has the same basename, so the bogon will be chosen
3073 # first if we set CC to just the basename; use the full file name.
3075 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3081 if test -n "$CC"; then
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3083 $as_echo "$CC" >&6; }
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3086 $as_echo "no" >&6; }
3091 if test -z "$CC"; then
3092 if test -n "$ac_tool_prefix"; then
3093 for ac_prog in cl.exe
3095 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3096 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3098 $as_echo_n "checking for $ac_word... " >&6; }
3099 if test "${ac_cv_prog_CC+set}" = set; then :
3100 $as_echo_n "(cached) " >&6
3102 if test -n "$CC"; then
3103 ac_cv_prog_CC="$CC" # Let the user override the test.
3105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3109 test -z "$as_dir" && as_dir=.
3110 for ac_exec_ext in '' $ac_executable_extensions; do
3111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3112 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3123 if test -n "$CC"; then
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3125 $as_echo "$CC" >&6; }
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3128 $as_echo "no" >&6; }
3132 test -n "$CC" && break
3135 if test -z "$CC"; then
3137 for ac_prog in cl.exe
3139 # Extract the first word of "$ac_prog", so it can be a program name with args.
3140 set dummy $ac_prog; ac_word=$2
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3142 $as_echo_n "checking for $ac_word... " >&6; }
3143 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3144 $as_echo_n "(cached) " >&6
3146 if test -n "$ac_ct_CC"; then
3147 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3153 test -z "$as_dir" && as_dir=.
3154 for ac_exec_ext in '' $ac_executable_extensions; do
3155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3156 ac_cv_prog_ac_ct_CC="$ac_prog"
3157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3166 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3167 if test -n "$ac_ct_CC"; then
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3169 $as_echo "$ac_ct_CC" >&6; }
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3172 $as_echo "no" >&6; }
3176 test -n "$ac_ct_CC" && break
3179 if test "x$ac_ct_CC" = x; then
3182 case $cross_compiling:$ac_tool_warned in
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3186 ac_tool_warned=yes ;;
3195 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3197 as_fn_error $? "no acceptable C compiler found in \$PATH
3198 See \`config.log' for more details" "$LINENO" 5 ; }
3200 # Provide some information about the compiler.
3201 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3204 for ac_option in --version -v -V -qversion; do
3205 { { ac_try="$ac_compiler $ac_option >&5"
3207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3208 *) ac_try_echo=$ac_try;;
3210 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3211 $as_echo "$ac_try_echo"; } >&5
3212 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3214 if test -s conftest.err; then
3216 ... rest of stderr output deleted ...
3217 10q' conftest.err >conftest.er1
3218 cat conftest.er1 >&5
3220 rm -f conftest.er1 conftest.err
3221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3222 test $ac_status = 0; }
3225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3226 /* end confdefs.h. */
3236 ac_clean_files_save=$ac_clean_files
3237 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3238 # Try to create an executable without -o first, disregard a.out.
3239 # It will help us diagnose broken compilers, and finding out an intuition
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3242 $as_echo_n "checking whether the C compiler works... " >&6; }
3243 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3245 # The possible output files:
3246 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3249 for ac_file in $ac_files
3252 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3253 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3258 if { { ac_try="$ac_link_default"
3260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3261 *) ac_try_echo=$ac_try;;
3263 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3264 $as_echo "$ac_try_echo"; } >&5
3265 (eval "$ac_link_default") 2>&5
3267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3268 test $ac_status = 0; }; then :
3269 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3270 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3271 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3272 # so that the user can short-circuit this test for compilers unknown to
3274 for ac_file in $ac_files ''
3276 test -f "$ac_file" || continue
3278 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3281 # We found the default executable, but exeext='' is most
3285 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3287 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3289 # We set ac_cv_exeext here because the later test for it is not
3290 # safe: cross compilers may not add the suffix if given an `-o'
3291 # argument, so we may need to know it at that point already.
3292 # Even if this section looks crufty: it has the advantage of
3299 test "$ac_cv_exeext" = no && ac_cv_exeext=
3304 if test -z "$ac_file"; then :
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3306 $as_echo "no" >&6; }
3307 $as_echo "$as_me: failed program was:" >&5
3308 sed 's/^/| /' conftest.$ac_ext >&5
3310 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3311 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3312 as_fn_error 77 "C compiler cannot create executables
3313 See \`config.log' for more details" "$LINENO" 5 ; }
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3316 $as_echo "yes" >&6; }
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3319 $as_echo_n "checking for C compiler default output file name... " >&6; }
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3321 $as_echo "$ac_file" >&6; }
3322 ac_exeext=$ac_cv_exeext
3324 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3325 ac_clean_files=$ac_clean_files_save
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3327 $as_echo_n "checking for suffix of executables... " >&6; }
3328 if { { ac_try="$ac_link"
3330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3331 *) ac_try_echo=$ac_try;;
3333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3334 $as_echo "$ac_try_echo"; } >&5
3335 (eval "$ac_link") 2>&5
3337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3338 test $ac_status = 0; }; then :
3339 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3340 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3341 # work properly (i.e., refer to `conftest.exe'), while it won't with
3343 for ac_file in conftest.exe conftest conftest.*; do
3344 test -f "$ac_file" || continue
3346 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3347 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3353 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3355 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3356 See \`config.log' for more details" "$LINENO" 5 ; }
3358 rm -f conftest conftest$ac_cv_exeext
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3360 $as_echo "$ac_cv_exeext" >&6; }
3362 rm -f conftest.$ac_ext
3363 EXEEXT=$ac_cv_exeext
3365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3366 /* end confdefs.h. */
3371 FILE *f = fopen ("conftest.out", "w");
3372 return ferror (f) || fclose (f) != 0;
3378 ac_clean_files="$ac_clean_files conftest.out"
3379 # Check that the compiler produces executables we can run. If not, either
3380 # the compiler is broken, or we cross compile.
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3382 $as_echo_n "checking whether we are cross compiling... " >&6; }
3383 if test "$cross_compiling" != yes; then
3384 { { ac_try="$ac_link"
3386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3387 *) ac_try_echo=$ac_try;;
3389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3390 $as_echo "$ac_try_echo"; } >&5
3391 (eval "$ac_link") 2>&5
3393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3394 test $ac_status = 0; }
3395 if { ac_try='./conftest$ac_cv_exeext'
3396 { { case "(($ac_try" in
3397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3398 *) ac_try_echo=$ac_try;;
3400 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3401 $as_echo "$ac_try_echo"; } >&5
3402 (eval "$ac_try") 2>&5
3404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3405 test $ac_status = 0; }; }; then
3408 if test "$cross_compiling" = maybe; then
3411 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3413 as_fn_error $? "cannot run C compiled programs.
3414 If you meant to cross compile, use \`--host'.
3415 See \`config.log' for more details" "$LINENO" 5 ; }
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3420 $as_echo "$cross_compiling" >&6; }
3422 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3423 ac_clean_files=$ac_clean_files_save
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3425 $as_echo_n "checking for suffix of object files... " >&6; }
3426 if test "${ac_cv_objext+set}" = set; then :
3427 $as_echo_n "(cached) " >&6
3429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3430 /* end confdefs.h. */
3440 rm -f conftest.o conftest.obj
3441 if { { ac_try="$ac_compile"
3443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3444 *) ac_try_echo=$ac_try;;
3446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3447 $as_echo "$ac_try_echo"; } >&5
3448 (eval "$ac_compile") 2>&5
3450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3451 test $ac_status = 0; }; then :
3452 for ac_file in conftest.o conftest.obj conftest.*; do
3453 test -f "$ac_file" || continue;
3455 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3456 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3461 $as_echo "$as_me: failed program was:" >&5
3462 sed 's/^/| /' conftest.$ac_ext >&5
3464 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3466 as_fn_error $? "cannot compute suffix of object files: cannot compile
3467 See \`config.log' for more details" "$LINENO" 5 ; }
3469 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3472 $as_echo "$ac_cv_objext" >&6; }
3473 OBJEXT=$ac_cv_objext
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3476 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3477 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3478 $as_echo_n "(cached) " >&6
3480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3481 /* end confdefs.h. */
3494 if ac_fn_c_try_compile "$LINENO"; then :
3499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3500 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3504 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3505 if test $ac_compiler_gnu = yes; then
3510 ac_test_CFLAGS=${CFLAGS+set}
3511 ac_save_CFLAGS=$CFLAGS
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3513 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3514 if test "${ac_cv_prog_cc_g+set}" = set; then :
3515 $as_echo_n "(cached) " >&6
3517 ac_save_c_werror_flag=$ac_c_werror_flag
3518 ac_c_werror_flag=yes
3521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3522 /* end confdefs.h. */
3532 if ac_fn_c_try_compile "$LINENO"; then :
3536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3537 /* end confdefs.h. */
3547 if ac_fn_c_try_compile "$LINENO"; then :
3550 ac_c_werror_flag=$ac_save_c_werror_flag
3552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3553 /* end confdefs.h. */
3563 if ac_fn_c_try_compile "$LINENO"; then :
3566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3571 ac_c_werror_flag=$ac_save_c_werror_flag
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3574 $as_echo "$ac_cv_prog_cc_g" >&6; }
3575 if test "$ac_test_CFLAGS" = set; then
3576 CFLAGS=$ac_save_CFLAGS
3577 elif test $ac_cv_prog_cc_g = yes; then
3578 if test "$GCC" = yes; then
3584 if test "$GCC" = yes; then
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3591 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3592 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3593 $as_echo_n "(cached) " >&6
3595 ac_cv_prog_cc_c89=no
3597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3598 /* end confdefs.h. */
3601 #include <sys/types.h>
3602 #include <sys/stat.h>
3603 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3604 struct buf { int x; };
3605 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3606 static char *e (p, i)
3612 static char *f (char * (*g) (char **, int), char **p, ...)
3617 s = g (p, va_arg (v,int));
3622 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3623 function prototypes and stuff, but not '\xHH' hex character constants.
3624 These don't provoke an error unfortunately, instead are silently treated
3625 as 'x'. The following induces an error, until -std is added to get
3626 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3627 array size at least. It's necessary to write '\x00'==0 to get something
3628 that's true only with -std. */
3629 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3631 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3632 inside strings and character constants. */
3634 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3636 int test (int i, double x);
3637 struct s1 {int (*f) (int a);};
3638 struct s2 {int (*f) (double a);};
3639 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3645 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3650 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3651 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3653 CC="$ac_save_CC $ac_arg"
3654 if ac_fn_c_try_compile "$LINENO"; then :
3655 ac_cv_prog_cc_c89=$ac_arg
3657 rm -f core conftest.err conftest.$ac_objext
3658 test "x$ac_cv_prog_cc_c89" != "xno" && break
3660 rm -f conftest.$ac_ext
3665 case "x$ac_cv_prog_cc_c89" in
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3668 $as_echo "none needed" >&6; } ;;
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3671 $as_echo "unsupported" >&6; } ;;
3673 CC="$CC $ac_cv_prog_cc_c89"
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3675 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3677 if test "x$ac_cv_prog_cc_c89" != xno; then :
3682 ac_cpp='$CPP $CPPFLAGS'
3683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3688 ac_cpp='$CXXCPP $CPPFLAGS'
3689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3692 if test -z "$CXX"; then
3693 if test -n "$CCC"; then
3696 if test -n "$ac_tool_prefix"; then
3697 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3699 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3700 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3702 $as_echo_n "checking for $ac_word... " >&6; }
3703 if test "${ac_cv_prog_CXX+set}" = set; then :
3704 $as_echo_n "(cached) " >&6
3706 if test -n "$CXX"; then
3707 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3713 test -z "$as_dir" && as_dir=.
3714 for ac_exec_ext in '' $ac_executable_extensions; do
3715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3716 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3727 if test -n "$CXX"; then
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3729 $as_echo "$CXX" >&6; }
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3732 $as_echo "no" >&6; }
3736 test -n "$CXX" && break
3739 if test -z "$CXX"; then
3741 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3743 # Extract the first word of "$ac_prog", so it can be a program name with args.
3744 set dummy $ac_prog; ac_word=$2
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3746 $as_echo_n "checking for $ac_word... " >&6; }
3747 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3748 $as_echo_n "(cached) " >&6
3750 if test -n "$ac_ct_CXX"; then
3751 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3757 test -z "$as_dir" && as_dir=.
3758 for ac_exec_ext in '' $ac_executable_extensions; do
3759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3760 ac_cv_prog_ac_ct_CXX="$ac_prog"
3761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3770 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3771 if test -n "$ac_ct_CXX"; then
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3773 $as_echo "$ac_ct_CXX" >&6; }
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3776 $as_echo "no" >&6; }
3780 test -n "$ac_ct_CXX" && break
3783 if test "x$ac_ct_CXX" = x; then
3786 case $cross_compiling:$ac_tool_warned in
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3790 ac_tool_warned=yes ;;
3798 # Provide some information about the compiler.
3799 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3802 for ac_option in --version -v -V -qversion; do
3803 { { ac_try="$ac_compiler $ac_option >&5"
3805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3806 *) ac_try_echo=$ac_try;;
3808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3809 $as_echo "$ac_try_echo"; } >&5
3810 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3812 if test -s conftest.err; then
3814 ... rest of stderr output deleted ...
3815 10q' conftest.err >conftest.er1
3816 cat conftest.er1 >&5
3818 rm -f conftest.er1 conftest.err
3819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3820 test $ac_status = 0; }
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3824 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3825 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3826 $as_echo_n "(cached) " >&6
3828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3829 /* end confdefs.h. */
3842 if ac_fn_cxx_try_compile "$LINENO"; then :
3847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3848 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3852 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3853 if test $ac_compiler_gnu = yes; then
3858 ac_test_CXXFLAGS=${CXXFLAGS+set}
3859 ac_save_CXXFLAGS=$CXXFLAGS
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3861 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3862 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3863 $as_echo_n "(cached) " >&6
3865 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3866 ac_cxx_werror_flag=yes
3869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3870 /* end confdefs.h. */
3880 if ac_fn_cxx_try_compile "$LINENO"; then :
3881 ac_cv_prog_cxx_g=yes
3884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3885 /* end confdefs.h. */
3895 if ac_fn_cxx_try_compile "$LINENO"; then :
3898 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3901 /* end confdefs.h. */
3911 if ac_fn_cxx_try_compile "$LINENO"; then :
3912 ac_cv_prog_cxx_g=yes
3914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3919 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3922 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3923 if test "$ac_test_CXXFLAGS" = set; then
3924 CXXFLAGS=$ac_save_CXXFLAGS
3925 elif test $ac_cv_prog_cxx_g = yes; then
3926 if test "$GXX" = yes; then
3932 if test "$GXX" = yes; then
3939 ac_cpp='$CPP $CPPFLAGS'
3940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3944 if test -n "$ac_tool_prefix"; then
3945 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3946 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3948 $as_echo_n "checking for $ac_word... " >&6; }
3949 if test "${ac_cv_prog_CPPBIN+set}" = set; then :
3950 $as_echo_n "(cached) " >&6
3952 if test -n "$CPPBIN"; then
3953 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3959 test -z "$as_dir" && as_dir=.
3960 for ac_exec_ext in '' $ac_executable_extensions; do
3961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3962 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3972 CPPBIN=$ac_cv_prog_CPPBIN
3973 if test -n "$CPPBIN"; then
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
3975 $as_echo "$CPPBIN" >&6; }
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3978 $as_echo "no" >&6; }
3983 if test -z "$ac_cv_prog_CPPBIN"; then
3984 ac_ct_CPPBIN=$CPPBIN
3985 # Extract the first word of "cpp", so it can be a program name with args.
3986 set dummy cpp; ac_word=$2
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3988 $as_echo_n "checking for $ac_word... " >&6; }
3989 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then :
3990 $as_echo_n "(cached) " >&6
3992 if test -n "$ac_ct_CPPBIN"; then
3993 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3999 test -z "$as_dir" && as_dir=.
4000 for ac_exec_ext in '' $ac_executable_extensions; do
4001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4002 ac_cv_prog_ac_ct_CPPBIN="cpp"
4003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4012 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4013 if test -n "$ac_ct_CPPBIN"; then
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4015 $as_echo "$ac_ct_CPPBIN" >&6; }
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4018 $as_echo "no" >&6; }
4021 if test "x$ac_ct_CPPBIN" = x; then
4024 case $cross_compiling:$ac_tool_warned in
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4028 ac_tool_warned=yes ;;
4030 CPPBIN=$ac_ct_CPPBIN
4033 CPPBIN="$ac_cv_prog_CPPBIN"
4037 cat >>confdefs.h <<_ACEOF
4038 #define EXEEXT "$ac_exeext"
4044 if test "x$enable_win64" = "xyes"
4048 LD="${LD:-ld} -arch x86_64"
4049 AS="${AS:-as} -arch x86_64"
4051 notice_platform="64-bit "
4057 LD="${LD:-ld} -arch i386"
4058 AS="${AS:-as} -arch i386"
4060 notice_platform="32-bit "
4063 enable_win16=${enable_win16:-yes}
4067 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4072 $as_echo_n "checking whether $CC works... " >&6; }
4074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4075 /* end confdefs.h. */
4085 if ac_fn_c_try_link "$LINENO"; then :
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4087 $as_echo "yes" >&6; }
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4090 $as_echo "no" >&6; }
4091 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4093 rm -f core conftest.err conftest.$ac_objext \
4094 conftest$ac_exeext conftest.$ac_ext
4095 LD="${LD:-ld} -m elf_i386"
4098 notice_platform="32-bit "
4101 enable_win16=${enable_win16:-yes}
4103 if test "x${GCC}" = "xyes"
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4106 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4108 /* end confdefs.h. */
4113 void func(__builtin_ms_va_list *args);
4118 if ac_fn_c_try_compile "$LINENO"; then :
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4120 $as_echo "yes" >&6; }
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4123 $as_echo "no" >&6; }
4124 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4132 *-mingw32*|*-cygwin*)
4133 enable_win16=${enable_win16:-no}
4134 CFLAGS="$CFLAGS -D_WIN32"
4137 enable_win16=${enable_win16:-yes}
4141 enable_win16=${enable_win16:-no}
4143 enable_winetest=${enable_winetest:-$enable_tests}
4145 if test -n "$with_wine64"
4147 if test "x$enable_win64" = "xyes"
4149 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4150 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4154 enable_fonts=${enable_fonts:-no}
4155 enable_server=${enable_server:-no}
4156 enable_tools=${enable_tools:-no}
4157 elif test "x$enable_win64" = "xyes"
4159 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4163 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4164 if test "${wine_cv_toolsdir+set}" = set; then :
4165 $as_echo_n "(cached) " >&6
4167 wine_cv_toolsdir="$with_wine_tools"
4168 if test -z "$with_wine_tools"; then
4169 if test "$cross_compiling" = "yes"; then
4170 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4171 elif test -n "$with_wine64"; then
4172 wine_cv_toolsdir="$with_wine64"
4175 if test -z "$wine_cv_toolsdir"; then
4176 wine_cv_toolsdir="\$(top_builddir)"
4177 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4178 case "$wine_cv_toolsdir" in
4180 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4183 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4187 $as_echo "$wine_cv_toolsdir" >&6; }
4188 TOOLSDIR=$wine_cv_toolsdir
4190 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4192 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4198 # Extract the first word of "$ac_prog", so it can be a program name with args.
4199 set dummy $ac_prog; ac_word=$2
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4201 $as_echo_n "checking for $ac_word... " >&6; }
4202 if test "${ac_cv_prog_FLEX+set}" = set; then :
4203 $as_echo_n "(cached) " >&6
4205 if test -n "$FLEX"; then
4206 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4212 test -z "$as_dir" && as_dir=.
4213 for ac_exec_ext in '' $ac_executable_extensions; do
4214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4215 ac_cv_prog_FLEX="$ac_prog"
4216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4225 FLEX=$ac_cv_prog_FLEX
4226 if test -n "$FLEX"; then
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4228 $as_echo "$FLEX" >&6; }
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4231 $as_echo "no" >&6; }
4235 test -n "$FLEX" && break
4237 test -n "$FLEX" || FLEX="none"
4239 if test "$FLEX" = "none"
4241 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4244 $as_echo_n "checking whether flex is recent enough... " >&6; }
4245 cat >conftest.l <<EOF
4247 #include "prediluvian.h"
4251 if $FLEX -t conftest.l >/dev/null 2>&5
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4254 $as_echo "yes" >&6; }
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4257 $as_echo "no" >&6; }
4258 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4261 for ac_prog in bison
4263 # Extract the first word of "$ac_prog", so it can be a program name with args.
4264 set dummy $ac_prog; ac_word=$2
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4266 $as_echo_n "checking for $ac_word... " >&6; }
4267 if test "${ac_cv_prog_BISON+set}" = set; then :
4268 $as_echo_n "(cached) " >&6
4270 if test -n "$BISON"; then
4271 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4277 test -z "$as_dir" && as_dir=.
4278 for ac_exec_ext in '' $ac_executable_extensions; do
4279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4280 ac_cv_prog_BISON="$ac_prog"
4281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4290 BISON=$ac_cv_prog_BISON
4291 if test -n "$BISON"; then
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4293 $as_echo "$BISON" >&6; }
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4296 $as_echo "no" >&6; }
4300 test -n "$BISON" && break
4302 test -n "$BISON" || BISON="none"
4304 if test "$BISON" = "none"
4306 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4309 if test -n "$ac_tool_prefix"; then
4310 for ac_prog in ar gar
4312 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4313 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4315 $as_echo_n "checking for $ac_word... " >&6; }
4316 if test "${ac_cv_prog_AR+set}" = set; then :
4317 $as_echo_n "(cached) " >&6
4319 if test -n "$AR"; then
4320 ac_cv_prog_AR="$AR" # Let the user override the test.
4322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4326 test -z "$as_dir" && as_dir=.
4327 for ac_exec_ext in '' $ac_executable_extensions; do
4328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4329 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4340 if test -n "$AR"; then
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4342 $as_echo "$AR" >&6; }
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4345 $as_echo "no" >&6; }
4349 test -n "$AR" && break
4352 if test -z "$AR"; then
4354 for ac_prog in ar gar
4356 # Extract the first word of "$ac_prog", so it can be a program name with args.
4357 set dummy $ac_prog; ac_word=$2
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4359 $as_echo_n "checking for $ac_word... " >&6; }
4360 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4361 $as_echo_n "(cached) " >&6
4363 if test -n "$ac_ct_AR"; then
4364 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4370 test -z "$as_dir" && as_dir=.
4371 for ac_exec_ext in '' $ac_executable_extensions; do
4372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4373 ac_cv_prog_ac_ct_AR="$ac_prog"
4374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4383 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4384 if test -n "$ac_ct_AR"; then
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4386 $as_echo "$ac_ct_AR" >&6; }
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4389 $as_echo "no" >&6; }
4393 test -n "$ac_ct_AR" && break
4396 if test "x$ac_ct_AR" = x; then
4399 case $cross_compiling:$ac_tool_warned in
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4403 ac_tool_warned=yes ;;
4411 if test -n "$ac_tool_prefix"; then
4412 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4413 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4415 $as_echo_n "checking for $ac_word... " >&6; }
4416 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4417 $as_echo_n "(cached) " >&6
4419 if test -n "$RANLIB"; then
4420 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4426 test -z "$as_dir" && as_dir=.
4427 for ac_exec_ext in '' $ac_executable_extensions; do
4428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4429 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4439 RANLIB=$ac_cv_prog_RANLIB
4440 if test -n "$RANLIB"; then
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4442 $as_echo "$RANLIB" >&6; }
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4445 $as_echo "no" >&6; }
4450 if test -z "$ac_cv_prog_RANLIB"; then
4451 ac_ct_RANLIB=$RANLIB
4452 # Extract the first word of "ranlib", so it can be a program name with args.
4453 set dummy ranlib; ac_word=$2
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4455 $as_echo_n "checking for $ac_word... " >&6; }
4456 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4457 $as_echo_n "(cached) " >&6
4459 if test -n "$ac_ct_RANLIB"; then
4460 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4466 test -z "$as_dir" && as_dir=.
4467 for ac_exec_ext in '' $ac_executable_extensions; do
4468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4469 ac_cv_prog_ac_ct_RANLIB="ranlib"
4470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4479 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4480 if test -n "$ac_ct_RANLIB"; then
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4482 $as_echo "$ac_ct_RANLIB" >&6; }
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4485 $as_echo "no" >&6; }
4488 if test "x$ac_ct_RANLIB" = x; then
4491 case $cross_compiling:$ac_tool_warned in
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4495 ac_tool_warned=yes ;;
4497 RANLIB=$ac_ct_RANLIB
4500 RANLIB="$ac_cv_prog_RANLIB"
4503 if test -n "$ac_tool_prefix"; then
4504 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4505 set dummy ${ac_tool_prefix}strip; ac_word=$2
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4507 $as_echo_n "checking for $ac_word... " >&6; }
4508 if test "${ac_cv_prog_STRIP+set}" = set; then :
4509 $as_echo_n "(cached) " >&6
4511 if test -n "$STRIP"; then
4512 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4518 test -z "$as_dir" && as_dir=.
4519 for ac_exec_ext in '' $ac_executable_extensions; do
4520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4521 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4531 STRIP=$ac_cv_prog_STRIP
4532 if test -n "$STRIP"; then
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4534 $as_echo "$STRIP" >&6; }
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4537 $as_echo "no" >&6; }
4542 if test -z "$ac_cv_prog_STRIP"; then
4544 # Extract the first word of "strip", so it can be a program name with args.
4545 set dummy strip; ac_word=$2
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4547 $as_echo_n "checking for $ac_word... " >&6; }
4548 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4549 $as_echo_n "(cached) " >&6
4551 if test -n "$ac_ct_STRIP"; then
4552 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4558 test -z "$as_dir" && as_dir=.
4559 for ac_exec_ext in '' $ac_executable_extensions; do
4560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4561 ac_cv_prog_ac_ct_STRIP="strip"
4562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4571 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4572 if test -n "$ac_ct_STRIP"; then
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4574 $as_echo "$ac_ct_STRIP" >&6; }
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4577 $as_echo "no" >&6; }
4580 if test "x$ac_ct_STRIP" = x; then
4583 case $cross_compiling:$ac_tool_warned in
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4587 ac_tool_warned=yes ;;
4592 STRIP="$ac_cv_prog_STRIP"
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4596 $as_echo_n "checking whether ln -s works... " >&6; }
4598 if test "$LN_S" = "ln -s"; then
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4600 $as_echo "yes" >&6; }
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4603 $as_echo "no, using $LN_S" >&6; }
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4607 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4608 if test "${ac_cv_path_GREP+set}" = set; then :
4609 $as_echo_n "(cached) " >&6
4611 if test -z "$GREP"; then
4612 ac_path_GREP_found=false
4613 # Loop through the user's path and test for each of PROGNAME-LIST
4614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4618 test -z "$as_dir" && as_dir=.
4619 for ac_prog in grep ggrep; do
4620 for ac_exec_ext in '' $ac_executable_extensions; do
4621 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4622 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4623 # Check for GNU ac_path_GREP and select it if it is found.
4624 # Check for GNU $ac_path_GREP
4625 case `"$ac_path_GREP" --version 2>&1` in
4627 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4630 $as_echo_n 0123456789 >"conftest.in"
4633 cat "conftest.in" "conftest.in" >"conftest.tmp"
4634 mv "conftest.tmp" "conftest.in"
4635 cp "conftest.in" "conftest.nl"
4636 $as_echo 'GREP' >> "conftest.nl"
4637 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4638 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4639 as_fn_arith $ac_count + 1 && ac_count=$as_val
4640 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4641 # Best one so far, save it but keep looking for a better one
4642 ac_cv_path_GREP="$ac_path_GREP"
4643 ac_path_GREP_max=$ac_count
4645 # 10*(2^10) chars as input seems more than enough
4646 test $ac_count -gt 10 && break
4648 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4651 $ac_path_GREP_found && break 3
4656 if test -z "$ac_cv_path_GREP"; then
4657 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4660 ac_cv_path_GREP=$GREP
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4665 $as_echo "$ac_cv_path_GREP" >&6; }
4666 GREP="$ac_cv_path_GREP"
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4670 $as_echo_n "checking for egrep... " >&6; }
4671 if test "${ac_cv_path_EGREP+set}" = set; then :
4672 $as_echo_n "(cached) " >&6
4674 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4675 then ac_cv_path_EGREP="$GREP -E"
4677 if test -z "$EGREP"; then
4678 ac_path_EGREP_found=false
4679 # Loop through the user's path and test for each of PROGNAME-LIST
4680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4681 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4684 test -z "$as_dir" && as_dir=.
4685 for ac_prog in egrep; do
4686 for ac_exec_ext in '' $ac_executable_extensions; do
4687 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4688 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4689 # Check for GNU ac_path_EGREP and select it if it is found.
4690 # Check for GNU $ac_path_EGREP
4691 case `"$ac_path_EGREP" --version 2>&1` in
4693 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4696 $as_echo_n 0123456789 >"conftest.in"
4699 cat "conftest.in" "conftest.in" >"conftest.tmp"
4700 mv "conftest.tmp" "conftest.in"
4701 cp "conftest.in" "conftest.nl"
4702 $as_echo 'EGREP' >> "conftest.nl"
4703 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4704 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4705 as_fn_arith $ac_count + 1 && ac_count=$as_val
4706 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4707 # Best one so far, save it but keep looking for a better one
4708 ac_cv_path_EGREP="$ac_path_EGREP"
4709 ac_path_EGREP_max=$ac_count
4711 # 10*(2^10) chars as input seems more than enough
4712 test $ac_count -gt 10 && break
4714 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4717 $ac_path_EGREP_found && break 3
4722 if test -z "$ac_cv_path_EGREP"; then
4723 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4726 ac_cv_path_EGREP=$EGREP
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4732 $as_echo "$ac_cv_path_EGREP" >&6; }
4733 EGREP="$ac_cv_path_EGREP"
4736 # Extract the first word of "ldconfig", so it can be a program name with args.
4737 set dummy ldconfig; ac_word=$2
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4739 $as_echo_n "checking for $ac_word... " >&6; }
4740 if test "${ac_cv_path_LDCONFIG+set}" = set; then :
4741 $as_echo_n "(cached) " >&6
4745 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4749 for as_dir in /sbin /usr/sbin $PATH
4752 test -z "$as_dir" && as_dir=.
4753 for ac_exec_ext in '' $ac_executable_extensions; do
4754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4755 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4763 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4767 LDCONFIG=$ac_cv_path_LDCONFIG
4768 if test -n "$LDCONFIG"; then
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4770 $as_echo "$LDCONFIG" >&6; }
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4773 $as_echo "no" >&6; }
4777 # Find a good install program. We prefer a C program (faster),
4778 # so one script is as good as another. But avoid the broken or
4779 # incompatible versions:
4780 # SysV /etc/install, /usr/sbin/install
4781 # SunOS /usr/etc/install
4782 # IRIX /sbin/install
4784 # AmigaOS /C/install, which installs bootblocks on floppy discs
4785 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4786 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4787 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4788 # OS/2's system install, which has a completely different semantic
4789 # ./install, which can be erroneously created by make from ./install.sh.
4790 # Reject install programs that cannot install multiple files.
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4792 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4793 if test -z "$INSTALL"; then
4794 if test "${ac_cv_path_install+set}" = set; then :
4795 $as_echo_n "(cached) " >&6
4797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4801 test -z "$as_dir" && as_dir=.
4802 # Account for people who put trailing slashes in PATH elements.
4803 case $as_dir/ in #((
4804 ./ | .// | /[cC]/* | \
4805 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4806 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4809 # OSF1 and SCO ODT 3.0 have their own names for install.
4810 # Don't use installbsd from OSF since it installs stuff as root
4812 for ac_prog in ginstall scoinst install; do
4813 for ac_exec_ext in '' $ac_executable_extensions; do
4814 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4815 if test $ac_prog = install &&
4816 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4817 # AIX install. It has an incompatible calling convention.
4819 elif test $ac_prog = install &&
4820 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4821 # program-specific install script used by HP pwplus--don't use.
4824 rm -rf conftest.one conftest.two conftest.dir
4825 echo one > conftest.one
4826 echo two > conftest.two
4828 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4829 test -s conftest.one && test -s conftest.two &&
4830 test -s conftest.dir/conftest.one &&
4831 test -s conftest.dir/conftest.two
4833 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4846 rm -rf conftest.one conftest.two conftest.dir
4849 if test "${ac_cv_path_install+set}" = set; then
4850 INSTALL=$ac_cv_path_install
4852 # As a last resort, use the slow shell script. Don't cache a
4853 # value for INSTALL within a source directory, because that will
4854 # break other packages using the cache if that directory is
4855 # removed, or if the value is a relative name.
4856 INSTALL=$ac_install_sh
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4860 $as_echo "$INSTALL" >&6; }
4862 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4863 # It thinks the first close brace ends the variable substitution.
4864 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4866 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4868 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4871 [\\/$]* | ?:[\\/]* ) ;;
4872 *) INSTALL="\\\$(top_srcdir)/$INSTALL" ;;
4875 for ac_prog in lclint lint
4877 # Extract the first word of "$ac_prog", so it can be a program name with args.
4878 set dummy $ac_prog; ac_word=$2
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4880 $as_echo_n "checking for $ac_word... " >&6; }
4881 if test "${ac_cv_prog_LINT+set}" = set; then :
4882 $as_echo_n "(cached) " >&6
4884 if test -n "$LINT"; then
4885 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4891 test -z "$as_dir" && as_dir=.
4892 for ac_exec_ext in '' $ac_executable_extensions; do
4893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4894 ac_cv_prog_LINT="$ac_prog"
4895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4904 LINT=$ac_cv_prog_LINT
4905 if test -n "$LINT"; then
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4907 $as_echo "$LINT" >&6; }
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4910 $as_echo "no" >&6; }
4914 test -n "$LINT" && break
4917 if test "$LINT" = "lint"
4919 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4924 for ac_prog in fontforge
4926 # Extract the first word of "$ac_prog", so it can be a program name with args.
4927 set dummy $ac_prog; ac_word=$2
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4929 $as_echo_n "checking for $ac_word... " >&6; }
4930 if test "${ac_cv_prog_FONTFORGE+set}" = set; then :
4931 $as_echo_n "(cached) " >&6
4933 if test -n "$FONTFORGE"; then
4934 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
4936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 test -z "$as_dir" && as_dir=.
4941 for ac_exec_ext in '' $ac_executable_extensions; do
4942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4943 ac_cv_prog_FONTFORGE="$ac_prog"
4944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4953 FONTFORGE=$ac_cv_prog_FONTFORGE
4954 if test -n "$FONTFORGE"; then
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4956 $as_echo "$FONTFORGE" >&6; }
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4959 $as_echo "no" >&6; }
4963 test -n "$FONTFORGE" && break
4965 test -n "$FONTFORGE" || FONTFORGE="false"
4967 for ac_prog in pkg-config
4969 # Extract the first word of "$ac_prog", so it can be a program name with args.
4970 set dummy $ac_prog; ac_word=$2
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4972 $as_echo_n "checking for $ac_word... " >&6; }
4973 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then :
4974 $as_echo_n "(cached) " >&6
4976 if test -n "$PKG_CONFIG"; then
4977 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
4979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4983 test -z "$as_dir" && as_dir=.
4984 for ac_exec_ext in '' $ac_executable_extensions; do
4985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4986 ac_cv_prog_PKG_CONFIG="$ac_prog"
4987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4996 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
4997 if test -n "$PKG_CONFIG"; then
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4999 $as_echo "$PKG_CONFIG" >&6; }
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 $as_echo "no" >&6; }
5006 test -n "$PKG_CONFIG" && break
5008 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
5012 # Extract the first word of "$ac_prog", so it can be a program name with args.
5013 set dummy $ac_prog; ac_word=$2
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5015 $as_echo_n "checking for $ac_word... " >&6; }
5016 if test "${ac_cv_prog_RSVG+set}" = set; then :
5017 $as_echo_n "(cached) " >&6
5019 if test -n "$RSVG"; then
5020 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5026 test -z "$as_dir" && as_dir=.
5027 for ac_exec_ext in '' $ac_executable_extensions; do
5028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5029 ac_cv_prog_RSVG="$ac_prog"
5030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5039 RSVG=$ac_cv_prog_RSVG
5040 if test -n "$RSVG"; then
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5042 $as_echo "$RSVG" >&6; }
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 $as_echo "no" >&6; }
5049 test -n "$RSVG" && break
5051 test -n "$RSVG" || RSVG="false"
5053 for ac_prog in convert
5055 # Extract the first word of "$ac_prog", so it can be a program name with args.
5056 set dummy $ac_prog; ac_word=$2
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5058 $as_echo_n "checking for $ac_word... " >&6; }
5059 if test "${ac_cv_prog_CONVERT+set}" = set; then :
5060 $as_echo_n "(cached) " >&6
5062 if test -n "$CONVERT"; then
5063 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5069 test -z "$as_dir" && as_dir=.
5070 for ac_exec_ext in '' $ac_executable_extensions; do
5071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5072 ac_cv_prog_CONVERT="$ac_prog"
5073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5082 CONVERT=$ac_cv_prog_CONVERT
5083 if test -n "$CONVERT"; then
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5085 $as_echo "$CONVERT" >&6; }
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5088 $as_echo "no" >&6; }
5092 test -n "$CONVERT" && break
5094 test -n "$CONVERT" || CONVERT="false"
5096 for ac_prog in icotool
5098 # Extract the first word of "$ac_prog", so it can be a program name with args.
5099 set dummy $ac_prog; ac_word=$2
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5101 $as_echo_n "checking for $ac_word... " >&6; }
5102 if test "${ac_cv_prog_ICOTOOL+set}" = set; then :
5103 $as_echo_n "(cached) " >&6
5105 if test -n "$ICOTOOL"; then
5106 ac_cv_prog_ICOTOOL="$ICOTOOL" # 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_ICOTOOL="$ac_prog"
5116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5125 ICOTOOL=$ac_cv_prog_ICOTOOL
5126 if test -n "$ICOTOOL"; then
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5128 $as_echo "$ICOTOOL" >&6; }
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5131 $as_echo "no" >&6; }
5135 test -n "$ICOTOOL" && break
5137 test -n "$ICOTOOL" || ICOTOOL="false"
5140 if test "x$enable_maintainer_mode" != "xyes"
5145 if test "$FONTFORGE" = "false"; then as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5 ; fi
5146 if test "$RSVG" = "false"; then as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5 ; fi
5148 if test "$CONVERT" = false
5150 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5153 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5154 convert_version=`convert --version | head -n1`
5155 if test "x$convert_version" != "x"
5157 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5158 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5159 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5164 if test "$CONVERT" = false
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5167 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5168 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5171 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5175 if test "$ICOTOOL" = false
5177 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5180 $as_echo_n "checking for recent enough icotool... " >&6; }
5181 icotool_version=`icotool --version | head -n1`
5182 if test "x$icotool_version" != "x"
5184 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5185 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5186 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5189 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5192 if test "$ICOTOOL" = false
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5195 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5196 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5199 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5207 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5208 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then :
5209 $as_echo_n "(cached) " >&6
5211 ac_check_lib_save_LIBS=$LIBS
5213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5214 /* end confdefs.h. */
5216 /* Override any GCC internal prototype to avoid an error.
5217 Use char because int might match the return type of a GCC
5218 builtin and then its argument prototype would still apply. */
5222 char i386_set_ldt ();
5226 return i386_set_ldt ();
5231 if ac_fn_c_try_link "$LINENO"; then :
5232 ac_cv_lib_i386_i386_set_ldt=yes
5234 ac_cv_lib_i386_i386_set_ldt=no
5236 rm -f core conftest.err conftest.$ac_objext \
5237 conftest$ac_exeext conftest.$ac_ext
5238 LIBS=$ac_check_lib_save_LIBS
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5241 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5242 if test "x$ac_cv_lib_i386_i386_set_ldt" = x""yes; then :
5243 cat >>confdefs.h <<_ACEOF
5244 #define HAVE_LIBI386 1
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5252 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5253 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then :
5254 $as_echo_n "(cached) " >&6
5256 ac_check_lib_save_LIBS=$LIBS
5257 LIBS="-lossaudio $LIBS"
5258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5259 /* end confdefs.h. */
5261 /* Override any GCC internal prototype to avoid an error.
5262 Use char because int might match the return type of a GCC
5263 builtin and then its argument prototype would still apply. */
5271 return _oss_ioctl ();
5276 if ac_fn_c_try_link "$LINENO"; then :
5277 ac_cv_lib_ossaudio__oss_ioctl=yes
5279 ac_cv_lib_ossaudio__oss_ioctl=no
5281 rm -f core conftest.err conftest.$ac_objext \
5282 conftest$ac_exeext conftest.$ac_ext
5283 LIBS=$ac_check_lib_save_LIBS
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5286 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5287 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then :
5288 cat >>confdefs.h <<_ACEOF
5289 #define HAVE_LIBOSSAUDIO 1
5292 LIBS="-lossaudio $LIBS"
5303 # Check whether --enable-largefile was given.
5304 if test "${enable_largefile+set}" = set; then :
5305 enableval=$enable_largefile;
5308 if test "$enable_largefile" != no; then
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5311 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5312 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
5313 $as_echo_n "(cached) " >&6
5315 ac_cv_sys_largefile_CC=no
5316 if test "$GCC" != yes; then
5319 # IRIX 6.2 and later do not support large files by default,
5320 # so use the C compiler's -n32 option if that helps.
5321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5322 /* end confdefs.h. */
5323 #include <sys/types.h>
5324 /* Check that off_t can represent 2**63 - 1 correctly.
5325 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5326 since some C++ compilers masquerading as C compilers
5327 incorrectly reject 9223372036854775807. */
5328 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5329 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5330 && LARGE_OFF_T % 2147483647 == 1)
5340 if ac_fn_c_try_compile "$LINENO"; then :
5343 rm -f core conftest.err conftest.$ac_objext
5345 if ac_fn_c_try_compile "$LINENO"; then :
5346 ac_cv_sys_largefile_CC=' -n32'; break
5348 rm -f core conftest.err conftest.$ac_objext
5352 rm -f conftest.$ac_ext
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5356 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5357 if test "$ac_cv_sys_largefile_CC" != no; then
5358 CC=$CC$ac_cv_sys_largefile_CC
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5362 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5363 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
5364 $as_echo_n "(cached) " >&6
5367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5368 /* end confdefs.h. */
5369 #include <sys/types.h>
5370 /* Check that off_t can represent 2**63 - 1 correctly.
5371 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5372 since some C++ compilers masquerading as C compilers
5373 incorrectly reject 9223372036854775807. */
5374 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5375 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5376 && LARGE_OFF_T % 2147483647 == 1)
5386 if ac_fn_c_try_compile "$LINENO"; then :
5387 ac_cv_sys_file_offset_bits=no; break
5389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5391 /* end confdefs.h. */
5392 #define _FILE_OFFSET_BITS 64
5393 #include <sys/types.h>
5394 /* Check that off_t can represent 2**63 - 1 correctly.
5395 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5396 since some C++ compilers masquerading as C compilers
5397 incorrectly reject 9223372036854775807. */
5398 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5399 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5400 && LARGE_OFF_T % 2147483647 == 1)
5410 if ac_fn_c_try_compile "$LINENO"; then :
5411 ac_cv_sys_file_offset_bits=64; break
5413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5414 ac_cv_sys_file_offset_bits=unknown
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5419 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5420 case $ac_cv_sys_file_offset_bits in #(
5423 cat >>confdefs.h <<_ACEOF
5424 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5429 if test $ac_cv_sys_file_offset_bits = unknown; then
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5431 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5432 if test "${ac_cv_sys_large_files+set}" = set; then :
5433 $as_echo_n "(cached) " >&6
5436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5437 /* end confdefs.h. */
5438 #include <sys/types.h>
5439 /* Check that off_t can represent 2**63 - 1 correctly.
5440 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5441 since some C++ compilers masquerading as C compilers
5442 incorrectly reject 9223372036854775807. */
5443 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5444 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5445 && LARGE_OFF_T % 2147483647 == 1)
5455 if ac_fn_c_try_compile "$LINENO"; then :
5456 ac_cv_sys_large_files=no; break
5458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5460 /* end confdefs.h. */
5461 #define _LARGE_FILES 1
5462 #include <sys/types.h>
5463 /* Check that off_t can represent 2**63 - 1 correctly.
5464 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5465 since some C++ compilers masquerading as C compilers
5466 incorrectly reject 9223372036854775807. */
5467 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5468 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5469 && LARGE_OFF_T % 2147483647 == 1)
5479 if ac_fn_c_try_compile "$LINENO"; then :
5480 ac_cv_sys_large_files=1; break
5482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5483 ac_cv_sys_large_files=unknown
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5488 $as_echo "$ac_cv_sys_large_files" >&6; }
5489 case $ac_cv_sys_large_files in #(
5492 cat >>confdefs.h <<_ACEOF
5493 #define _LARGE_FILES $ac_cv_sys_large_files
5503 ac_cpp='$CPP $CPPFLAGS'
5504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5508 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5509 # On Suns, sometimes $CPP names a directory.
5510 if test -n "$CPP" && test -d "$CPP"; then
5513 if test -z "$CPP"; then
5514 if test "${ac_cv_prog_CPP+set}" = set; then :
5515 $as_echo_n "(cached) " >&6
5517 # Double quotes because CPP needs to be expanded
5518 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5521 for ac_c_preproc_warn_flag in '' yes
5523 # Use a header file that comes with gcc, so configuring glibc
5524 # with a fresh cross-compiler works.
5525 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5526 # <limits.h> exists even on freestanding compilers.
5527 # On the NeXT, cc -E runs the code through the compiler's parser,
5528 # not just through cpp. "Syntax error" is here to catch this case.
5529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5530 /* end confdefs.h. */
5532 # include <limits.h>
5534 # include <assert.h>
5538 if ac_fn_c_try_cpp "$LINENO"; then :
5541 # Broken: fails on valid input.
5544 rm -f conftest.err conftest.i conftest.$ac_ext
5546 # OK, works on sane cases. Now check whether nonexistent headers
5547 # can be detected and how.
5548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5549 /* end confdefs.h. */
5550 #include <ac_nonexistent.h>
5552 if ac_fn_c_try_cpp "$LINENO"; then :
5553 # Broken: success on invalid input.
5556 # Passes both tests.
5560 rm -f conftest.err conftest.i conftest.$ac_ext
5563 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5564 rm -f conftest.i conftest.err conftest.$ac_ext
5565 if $ac_preproc_ok; then :
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5578 $as_echo "$CPP" >&6; }
5580 for ac_c_preproc_warn_flag in '' yes
5582 # Use a header file that comes with gcc, so configuring glibc
5583 # with a fresh cross-compiler works.
5584 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5585 # <limits.h> exists even on freestanding compilers.
5586 # On the NeXT, cc -E runs the code through the compiler's parser,
5587 # not just through cpp. "Syntax error" is here to catch this case.
5588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5589 /* end confdefs.h. */
5591 # include <limits.h>
5593 # include <assert.h>
5597 if ac_fn_c_try_cpp "$LINENO"; then :
5600 # Broken: fails on valid input.
5603 rm -f conftest.err conftest.i conftest.$ac_ext
5605 # OK, works on sane cases. Now check whether nonexistent headers
5606 # can be detected and how.
5607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5608 /* end confdefs.h. */
5609 #include <ac_nonexistent.h>
5611 if ac_fn_c_try_cpp "$LINENO"; then :
5612 # Broken: success on invalid input.
5615 # Passes both tests.
5619 rm -f conftest.err conftest.i conftest.$ac_ext
5622 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5623 rm -f conftest.i conftest.err conftest.$ac_ext
5624 if $ac_preproc_ok; then :
5627 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5629 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5630 See \`config.log' for more details" "$LINENO" 5 ; }
5634 ac_cpp='$CPP $CPPFLAGS'
5635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5641 $as_echo_n "checking for ANSI C header files... " >&6; }
5642 if test "${ac_cv_header_stdc+set}" = set; then :
5643 $as_echo_n "(cached) " >&6
5645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5646 /* end confdefs.h. */
5660 if ac_fn_c_try_compile "$LINENO"; then :
5661 ac_cv_header_stdc=yes
5663 ac_cv_header_stdc=no
5665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5667 if test $ac_cv_header_stdc = yes; then
5668 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5670 /* end confdefs.h. */
5674 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5675 $EGREP "memchr" >/dev/null 2>&1; then :
5678 ac_cv_header_stdc=no
5684 if test $ac_cv_header_stdc = yes; then
5685 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5687 /* end confdefs.h. */
5691 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5692 $EGREP "free" >/dev/null 2>&1; then :
5695 ac_cv_header_stdc=no
5701 if test $ac_cv_header_stdc = yes; then
5702 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5703 if test "$cross_compiling" = yes; then :
5706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5707 /* end confdefs.h. */
5710 #if ((' ' & 0x0FF) == 0x020)
5711 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5712 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5714 # define ISLOWER(c) \
5715 (('a' <= (c) && (c) <= 'i') \
5716 || ('j' <= (c) && (c) <= 'r') \
5717 || ('s' <= (c) && (c) <= 'z'))
5718 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5721 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5726 for (i = 0; i < 256; i++)
5727 if (XOR (islower (i), ISLOWER (i))
5728 || toupper (i) != TOUPPER (i))
5733 if ac_fn_c_try_run "$LINENO"; then :
5736 ac_cv_header_stdc=no
5738 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5739 conftest.$ac_objext conftest.beam conftest.$ac_ext
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5745 $as_echo "$ac_cv_header_stdc" >&6; }
5746 if test $ac_cv_header_stdc = yes; then
5748 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5752 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5753 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5754 inttypes.h stdint.h unistd.h
5756 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5757 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5759 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5760 cat >>confdefs.h <<_ACEOF
5761 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5771 AudioToolbox/AudioConverter.h \
5772 AudioUnit/AudioUnit.h \
5775 CoreAudio/CoreAudio.h \
5776 DiskArbitration/DiskArbitration.h \
5778 IOKit/hid/IOHIDLib.h \
5794 fontconfig/fontconfig.h \
5829 machine/soundcard.h \
5836 netinet/in_systm.h \
5904 valgrind/memcheck.h \
5905 valgrind/valgrind.h \
5909 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5910 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5911 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5912 cat >>confdefs.h <<_ACEOF
5913 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5921 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5922 if test "${ac_cv_header_stat_broken+set}" = set; then :
5923 $as_echo_n "(cached) " >&6
5925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5926 /* end confdefs.h. */
5927 #include <sys/types.h>
5928 #include <sys/stat.h>
5930 #if defined S_ISBLK && defined S_IFDIR
5931 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5934 #if defined S_ISBLK && defined S_IFCHR
5935 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5938 #if defined S_ISLNK && defined S_IFREG
5939 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5942 #if defined S_ISSOCK && defined S_IFREG
5943 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5947 if ac_fn_c_try_compile "$LINENO"; then :
5948 ac_cv_header_stat_broken=no
5950 ac_cv_header_stat_broken=yes
5952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5955 $as_echo "$ac_cv_header_stat_broken" >&6; }
5956 if test $ac_cv_header_stat_broken = yes; then
5958 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5964 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
5966 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5967 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5968 #ifdef HAVE_SYS_PARAM_H
5969 # include <sys/param.h>
5972 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5973 cat >>confdefs.h <<_ACEOF
5974 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5989 netinet/if_ether.h \
5990 netinet/if_inarp.h \
5998 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5999 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6000 #ifdef HAVE_SYS_SOCKET_H
6001 # include <sys/socket.h>
6003 #ifdef HAVE_SYS_SOCKETVAR_H
6004 # include <sys/socketvar.h>
6006 #ifdef HAVE_NET_ROUTE_H
6007 # include <net/route.h>
6009 #ifdef HAVE_NETINET_IN_H
6010 # include <netinet/in.h>
6012 #ifdef HAVE_NETINET_IN_SYSTM_H
6013 # include <netinet/in_systm.h>
6015 #ifdef HAVE_NET_IF_H
6016 # include <net/if.h>
6018 #ifdef HAVE_NETINET_IP_H
6019 # include <netinet/ip.h>
6022 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6023 cat >>confdefs.h <<_ACEOF
6024 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6032 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6034 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6035 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6039 #ifdef HAVE_SYS_SOCKET_H
6040 # include <sys/socket.h>
6042 #ifdef HAVE_SYS_SOCKETVAR_H
6043 # include <sys/socketvar.h>
6045 #ifdef HAVE_SYS_TIMEOUT_H
6046 # include <sys/timeout.h>
6048 #ifdef HAVE_NETINET_IN_H
6049 # include <netinet/in.h>
6051 #ifdef HAVE_NETINET_IN_SYSTM_H
6052 # include <netinet/in_systm.h>
6054 #ifdef HAVE_NETINET_IP_H
6055 # include <netinet/ip.h>
6057 #ifdef HAVE_NETINET_IP_VAR_H
6058 # include <netinet/ip_var.h>
6060 #ifdef HAVE_NETINET_IP_ICMP_H
6061 # include <netinet/ip_icmp.h>
6063 #ifdef HAVE_NETINET_UDP_H
6064 # include <netinet/udp.h>
6066 #ifdef HAVE_NETINET_TCP_H
6067 # include <netinet/tcp.h>
6069 #ifdef HAVE_NETINET_TCP_TIMER_H
6070 #include <netinet/tcp_timer.h>
6073 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6074 cat >>confdefs.h <<_ACEOF
6075 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6083 for ac_header in linux/ipx.h linux/irda.h
6085 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6086 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6087 #ifdef HAVE_ASM_TYPES_H
6088 # include <asm/types.h>
6090 #ifdef HAVE_SYS_SOCKET_H
6091 # include <sys/socket.h>
6093 #ifdef HAVE_LINUX_TYPES_H
6094 # include <linux/types.h>
6097 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6098 cat >>confdefs.h <<_ACEOF
6099 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6107 for ac_header in mach-o/dyld_images.h
6109 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6110 # include <stdbool.h>
6112 #ifdef HAVE_STDINT_H
6113 # include <stdint.h>
6116 if test "x$ac_cv_header_mach_o_dyld_images_h" = x""yes; then :
6117 cat >>confdefs.h <<_ACEOF
6118 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6126 for ac_header in resolv.h
6128 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6129 #ifdef HAVE_SYS_SOCKET_H
6130 # include <sys/socket.h>
6132 #ifdef HAVE_NETINET_IN_H
6133 # include <netinet/in.h>
6135 #ifdef HAVE_ARPA_NAMESER_H
6136 # include <arpa/nameser.h>
6139 if test "x$ac_cv_header_resolv_h" = x""yes; then :
6140 cat >>confdefs.h <<_ACEOF
6141 #define HAVE_RESOLV_H 1
6149 for ac_header in ifaddrs.h
6151 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6153 if test "x$ac_cv_header_ifaddrs_h" = x""yes; then :
6154 cat >>confdefs.h <<_ACEOF
6155 #define HAVE_IFADDRS_H 1
6163 for ac_header in ucontext.h
6165 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6167 if test "x$ac_cv_header_ucontext_h" = x""yes; then :
6168 cat >>confdefs.h <<_ACEOF
6169 #define HAVE_UCONTEXT_H 1
6177 for ac_header in sys/thr.h
6179 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6180 #ifdef HAVE_UCONTEXT_H
6181 #include <ucontext.h>
6184 if test "x$ac_cv_header_sys_thr_h" = x""yes; then :
6185 cat >>confdefs.h <<_ACEOF
6186 #define HAVE_SYS_THR_H 1
6194 for ac_header in pthread_np.h
6196 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6197 #include <pthread.h>
6200 if test "x$ac_cv_header_pthread_np_h" = x""yes; then :
6201 cat >>confdefs.h <<_ACEOF
6202 #define HAVE_PTHREAD_NP_H 1
6210 for ac_header in linux/videodev.h
6212 ac_fn_c_check_header_compile "$LINENO" "linux/videodev.h" "ac_cv_header_linux_videodev_h" "#ifdef HAVE_SYS_TIME_H
6213 #include <sys/time.h>
6215 #include <sys/types.h>
6216 #ifdef HAVE_ASM_TYPES_H
6217 #include <asm/types.h>
6220 if test "x$ac_cv_header_linux_videodev_h" = x""yes; then :
6221 cat >>confdefs.h <<_ACEOF
6222 #define HAVE_LINUX_VIDEODEV_H 1
6230 for ac_header in linux/capi.h
6232 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6234 if test "x$ac_cv_header_linux_capi_h" = x""yes; then :
6235 cat >>confdefs.h <<_ACEOF
6236 #define HAVE_LINUX_CAPI_H 1
6247 DLLFLAGS="-D_REENTRANT"
6261 STATIC_IMPLIBEXT="def.a"
6262 # Extract the first word of "ldd", so it can be a program name with args.
6263 set dummy ldd; ac_word=$2
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6265 $as_echo_n "checking for $ac_word... " >&6; }
6266 if test "${ac_cv_path_LDD+set}" = set; then :
6267 $as_echo_n "(cached) " >&6
6271 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6275 as_dummy="/sbin:/usr/sbin:$PATH"
6276 for as_dir in $as_dummy
6279 test -z "$as_dir" && as_dir=.
6280 for ac_exec_ext in '' $ac_executable_extensions; do
6281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6282 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6290 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6295 if test -n "$LDD"; then
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6297 $as_echo "$LDD" >&6; }
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6300 $as_echo "no" >&6; }
6307 if test -n "$ac_tool_prefix"; then
6308 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6309 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6311 $as_echo_n "checking for $ac_word... " >&6; }
6312 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
6313 $as_echo_n "(cached) " >&6
6315 if test -n "$DLLTOOL"; then
6316 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6322 test -z "$as_dir" && as_dir=.
6323 for ac_exec_ext in '' $ac_executable_extensions; do
6324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6325 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6335 DLLTOOL=$ac_cv_prog_DLLTOOL
6336 if test -n "$DLLTOOL"; then
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6338 $as_echo "$DLLTOOL" >&6; }
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6341 $as_echo "no" >&6; }
6346 if test -z "$ac_cv_prog_DLLTOOL"; then
6347 ac_ct_DLLTOOL=$DLLTOOL
6348 # Extract the first word of "dlltool", so it can be a program name with args.
6349 set dummy dlltool; ac_word=$2
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6351 $as_echo_n "checking for $ac_word... " >&6; }
6352 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
6353 $as_echo_n "(cached) " >&6
6355 if test -n "$ac_ct_DLLTOOL"; then
6356 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6362 test -z "$as_dir" && as_dir=.
6363 for ac_exec_ext in '' $ac_executable_extensions; do
6364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6365 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6375 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6376 if test -n "$ac_ct_DLLTOOL"; then
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6378 $as_echo "$ac_ct_DLLTOOL" >&6; }
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6381 $as_echo "no" >&6; }
6384 if test "x$ac_ct_DLLTOOL" = x; then
6387 case $cross_compiling:$ac_tool_warned in
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6390 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6391 ac_tool_warned=yes ;;
6393 DLLTOOL=$ac_ct_DLLTOOL
6396 DLLTOOL="$ac_cv_prog_DLLTOOL"
6399 if test -n "$ac_tool_prefix"; then
6400 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6401 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6403 $as_echo_n "checking for $ac_word... " >&6; }
6404 if test "${ac_cv_prog_DLLWRAP+set}" = set; then :
6405 $as_echo_n "(cached) " >&6
6407 if test -n "$DLLWRAP"; then
6408 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
6410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6414 test -z "$as_dir" && as_dir=.
6415 for ac_exec_ext in '' $ac_executable_extensions; do
6416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6417 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
6418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6427 DLLWRAP=$ac_cv_prog_DLLWRAP
6428 if test -n "$DLLWRAP"; then
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6430 $as_echo "$DLLWRAP" >&6; }
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6433 $as_echo "no" >&6; }
6438 if test -z "$ac_cv_prog_DLLWRAP"; then
6439 ac_ct_DLLWRAP=$DLLWRAP
6440 # Extract the first word of "dllwrap", so it can be a program name with args.
6441 set dummy dllwrap; ac_word=$2
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6443 $as_echo_n "checking for $ac_word... " >&6; }
6444 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then :
6445 $as_echo_n "(cached) " >&6
6447 if test -n "$ac_ct_DLLWRAP"; then
6448 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
6450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6454 test -z "$as_dir" && as_dir=.
6455 for ac_exec_ext in '' $ac_executable_extensions; do
6456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6457 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
6458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6467 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
6468 if test -n "$ac_ct_DLLWRAP"; then
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6470 $as_echo "$ac_ct_DLLWRAP" >&6; }
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6473 $as_echo "no" >&6; }
6476 if test "x$ac_ct_DLLWRAP" = x; then
6479 case $cross_compiling:$ac_tool_warned in
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6482 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6483 ac_tool_warned=yes ;;
6485 DLLWRAP=$ac_ct_DLLWRAP
6488 DLLWRAP="$ac_cv_prog_DLLWRAP"
6491 if test "$DLLWRAP" = "false"; then
6497 STATIC_IMPLIBEXT="a"
6498 enable_iphlpapi=${enable_iphlpapi:-no}
6499 enable_kernel32=${enable_kernel32:-no}
6500 enable_msvcrt=${enable_msvcrt:-no}
6501 enable_ntdll=${enable_ntdll:-no}
6502 enable_ws2_32=${enable_ws2_32:-no}
6503 enable_loader=${enable_loader:-no}
6504 enable_server=${enable_server:-no}
6505 with_x=${with_x:-no}
6506 with_pthread=${with_pthread:-no}
6511 DLLFLAGS="$DLLFLAGS -fPIC"
6512 LDDLLFLAGS="-bundle -multiply_defined suppress"
6513 LIBWINE_LDFLAGS="-multiply_defined suppress"
6514 LDSHARED="\$(CC) -dynamiclib"
6516 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(top_builddir)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
6517 SECURITYLIB="-framework Security -framework CoreFoundation"
6519 COREFOUNDATIONLIB="-framework CoreFoundation"
6521 IOKITLIB="-framework IOKit -framework CoreFoundation"
6523 QUICKTIMELIB="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6525 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6527 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6529 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
6532 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6534 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6537 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6539 FRAMEWORK_OPENAL="-framework OpenAL"
6542 cat >>confdefs.h <<_ACEOF
6543 #define HAVE_OPENAL 1
6546 ac_cv_lib_openal=yes
6548 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6550 LIBOPENCL="-framework OpenCL"
6552 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
6554 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6556 ac_save_LIBS="$LIBS"
6557 LIBS="$LIBS $IOKITLIB"
6558 for ac_func in IOHIDManagerCreate
6560 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6561 if test "x$ac_cv_func_IOHIDManagerCreate" = x""yes; then :
6562 cat >>confdefs.h <<_ACEOF
6563 #define HAVE_IOHIDMANAGERCREATE 1
6569 LIBS="$ac_save_LIBS"
6571 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
6574 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
6576 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6578 CARBONLIB="-framework Carbon"
6580 enable_winequartz_drv=${enable_winequartz_drv:-yes}
6582 if test "x$enable_win16" = "xyes"
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6585 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6586 if test "$cross_compiling" = yes; then :
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6588 $as_echo "cross-compiling, assuming yes" >&6; }
6590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6591 /* end confdefs.h. */
6594 "good:\tnop;nop\n\t"
6595 ".globl _testfunc\n"
6596 "_testfunc:\tcallw good");
6597 extern void testfunc();
6601 unsigned short *p = (unsigned short *)testfunc;
6602 return p[0] != 0xe866 || p[1] != 0xfffa
6607 if ac_fn_c_try_run "$LINENO"; then :
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6609 $as_echo "yes" >&6; }
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6612 $as_echo "no" >&6; }
6613 as_fn_error $? "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support." "$LINENO" 5
6615 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6616 conftest.$ac_objext conftest.beam conftest.$ac_ext
6622 DLLFLAGS="$DLLFLAGS -fPIC"
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6625 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6626 if test "${ac_cv_c_dll_gnuelf+set}" = set; then :
6627 $as_echo_n "(cached) " >&6
6629 ac_wine_try_cflags_saved=$CFLAGS
6630 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6632 /* end confdefs.h. */
6635 if ac_fn_c_try_link "$LINENO"; then :
6636 ac_cv_c_dll_gnuelf="yes"
6638 ac_cv_c_dll_gnuelf="no"
6640 rm -f core conftest.err conftest.$ac_objext \
6641 conftest$ac_exeext conftest.$ac_ext
6642 CFLAGS=$ac_wine_try_cflags_saved
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6645 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6646 if test "$ac_cv_c_dll_gnuelf" = "yes"
6648 LDSHARED="\$(CC) -shared"
6649 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6651 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6652 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then :
6653 $as_echo_n "(cached) " >&6
6655 ac_wine_try_cflags_saved=$CFLAGS
6656 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6658 /* end confdefs.h. */
6659 int main(int argc, char **argv) { return 0; }
6661 if ac_fn_c_try_link "$LINENO"; then :
6662 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
6664 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
6666 rm -f core conftest.err conftest.$ac_objext \
6667 conftest$ac_exeext conftest.$ac_ext
6668 CFLAGS=$ac_wine_try_cflags_saved
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6671 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6672 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6673 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6676 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6677 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then :
6678 $as_echo_n "(cached) " >&6
6680 ac_wine_try_cflags_saved=$CFLAGS
6681 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6683 /* end confdefs.h. */
6684 int main(int argc, char **argv) { return 0; }
6686 if ac_fn_c_try_link "$LINENO"; then :
6687 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
6689 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
6691 rm -f core conftest.err conftest.$ac_objext \
6692 conftest$ac_exeext conftest.$ac_ext
6693 CFLAGS=$ac_wine_try_cflags_saved
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6696 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6697 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6698 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6703 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6704 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then :
6705 $as_echo_n "(cached) " >&6
6707 ac_wine_try_cflags_saved=$CFLAGS
6708 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6710 /* end confdefs.h. */
6711 int main(int argc, char **argv) { return 0; }
6713 if ac_fn_c_try_link "$LINENO"; then :
6714 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
6716 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
6718 rm -f core conftest.err conftest.$ac_objext \
6719 conftest$ac_exeext conftest.$ac_ext
6720 CFLAGS=$ac_wine_try_cflags_saved
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6723 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6724 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6725 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
6729 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6730 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then :
6731 $as_echo_n "(cached) " >&6
6733 ac_wine_try_cflags_saved=$CFLAGS
6734 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6736 /* end confdefs.h. */
6737 int main(int argc, char **argv) { return 0; }
6739 if ac_fn_c_try_link "$LINENO"; then :
6740 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
6742 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
6744 rm -f core conftest.err conftest.$ac_objext \
6745 conftest$ac_exeext conftest.$ac_ext
6746 CFLAGS=$ac_wine_try_cflags_saved
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6749 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6750 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6751 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6754 echo '{ global: *; };' >conftest.map
6755 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -shared -Wl,--version-script=conftest.map" | $as_tr_sh`
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6757 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6758 if eval "test \"\${$as_ac_var+set}\"" = set; then :
6759 $as_echo_n "(cached) " >&6
6761 ac_wine_try_cflags_saved=$CFLAGS
6762 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6764 /* end confdefs.h. */
6765 int main(int argc, char **argv) { return 0; }
6767 if ac_fn_c_try_link "$LINENO"; then :
6768 eval "$as_ac_var=yes"
6770 eval "$as_ac_var=no"
6772 rm -f core conftest.err conftest.$ac_objext \
6773 conftest$ac_exeext conftest.$ac_ext
6774 CFLAGS=$ac_wine_try_cflags_saved
6776 eval ac_res=\$$as_ac_var
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6778 $as_echo "$ac_res" >&6; }
6779 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6780 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6785 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6786 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then :
6787 $as_echo_n "(cached) " >&6
6789 ac_wine_try_cflags_saved=$CFLAGS
6790 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
6791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6792 /* end confdefs.h. */
6793 int main(int argc, char **argv) { return 0; }
6795 if ac_fn_c_try_link "$LINENO"; then :
6796 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
6798 ac_cv_cflags__fPIC__Wl___export_dynamic=no
6800 rm -f core conftest.err conftest.$ac_objext \
6801 conftest$ac_exeext conftest.$ac_ext
6802 CFLAGS=$ac_wine_try_cflags_saved
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6805 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6806 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6807 LDEXECFLAGS="-Wl,--export-dynamic"
6811 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6813 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6814 if eval "test \"\${$as_ac_var+set}\"" = set; then :
6815 $as_echo_n "(cached) " >&6
6817 ac_wine_try_cflags_saved=$CFLAGS
6818 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6820 /* end confdefs.h. */
6821 int main(int argc, char **argv) { return 0; }
6823 if ac_fn_c_try_link "$LINENO"; then :
6824 eval "$as_ac_var=yes"
6826 eval "$as_ac_var=no"
6828 rm -f core conftest.err conftest.$ac_objext \
6829 conftest$ac_exeext conftest.$ac_ext
6830 CFLAGS=$ac_wine_try_cflags_saved
6832 eval ac_res=\$$as_ac_var
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6834 $as_echo "$ac_res" >&6; }
6835 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6836 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6837 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6839 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6841 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6842 if eval "test \"\${$as_ac_var+set}\"" = set; then :
6843 $as_echo_n "(cached) " >&6
6845 ac_wine_try_cflags_saved=$CFLAGS
6846 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6848 /* end confdefs.h. */
6849 int main(int argc, char **argv) { return 0; }
6851 if ac_fn_c_try_link "$LINENO"; then :
6852 eval "$as_ac_var=yes"
6854 eval "$as_ac_var=no"
6856 rm -f core conftest.err conftest.$ac_objext \
6857 conftest$ac_exeext conftest.$ac_ext
6858 CFLAGS=$ac_wine_try_cflags_saved
6860 eval ac_res=\$$as_ac_var
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6862 $as_echo "$ac_res" >&6; }
6863 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6864 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6865 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6870 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6871 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then :
6872 $as_echo_n "(cached) " >&6
6874 ac_wine_try_cflags_saved=$CFLAGS
6875 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
6876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6877 /* end confdefs.h. */
6878 int main(int argc, char **argv) { return 0; }
6880 if ac_fn_c_try_link "$LINENO"; then :
6881 ac_cv_cflags__Wl___enable_new_dtags=yes
6883 ac_cv_cflags__Wl___enable_new_dtags=no
6885 rm -f core conftest.err conftest.$ac_objext \
6886 conftest$ac_exeext conftest.$ac_ext
6887 CFLAGS=$ac_wine_try_cflags_saved
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6890 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6891 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6892 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6896 *i[3456789]86* | x86_64)
6897 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--section-start,.interp=0x7bf00400" | $as_tr_sh`
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6899 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6900 if eval "test \"\${$as_ac_var+set}\"" = set; then :
6901 $as_echo_n "(cached) " >&6
6903 ac_wine_try_cflags_saved=$CFLAGS
6904 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6906 /* end confdefs.h. */
6907 int main(int argc, char **argv) { return 0; }
6909 if ac_fn_c_try_link "$LINENO"; then :
6910 eval "$as_ac_var=yes"
6912 eval "$as_ac_var=no"
6914 rm -f core conftest.err conftest.$ac_objext \
6915 conftest$ac_exeext conftest.$ac_ext
6916 CFLAGS=$ac_wine_try_cflags_saved
6918 eval ac_res=\$$as_ac_var
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6920 $as_echo "$ac_res" >&6; }
6921 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6923 freebsd*) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
6924 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
6928 # Extract the first word of "prelink", so it can be a program name with args.
6929 set dummy prelink; ac_word=$2
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6931 $as_echo_n "checking for $ac_word... " >&6; }
6932 if test "${ac_cv_path_PRELINK+set}" = set; then :
6933 $as_echo_n "(cached) " >&6
6937 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6941 for as_dir in /sbin /usr/sbin $PATH
6944 test -z "$as_dir" && as_dir=.
6945 for ac_exec_ext in '' $ac_executable_extensions; do
6946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6947 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6955 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6959 PRELINK=$ac_cv_path_PRELINK
6960 if test -n "$PRELINK"; then
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
6962 $as_echo "$PRELINK" >&6; }
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6965 $as_echo "no" >&6; }
6969 if test "x$PRELINK" = xfalse
6971 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
6978 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
6979 if test "${ac_cv_c_dll_unixware+set}" = set; then :
6980 $as_echo_n "(cached) " >&6
6982 ac_wine_try_cflags_saved=$CFLAGS
6983 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
6984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6985 /* end confdefs.h. */
6988 if ac_fn_c_try_link "$LINENO"; then :
6989 ac_cv_c_dll_unixware="yes"
6991 ac_cv_c_dll_unixware="no"
6993 rm -f core conftest.err conftest.$ac_objext \
6994 conftest$ac_exeext conftest.$ac_ext
6995 CFLAGS=$ac_wine_try_cflags_saved
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
6998 $as_echo "$ac_cv_c_dll_unixware" >&6; }
6999 if test "$ac_cv_c_dll_unixware" = "yes"
7001 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
7002 LDDLLFLAGS="-Wl,-G,-B,symbolic"
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
7006 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
7007 if test "${ac_cv_c_dll_hpux+set}" = set; then :
7008 $as_echo_n "(cached) " >&6
7010 ac_wine_try_cflags_saved=$CFLAGS
7011 CFLAGS="$CFLAGS -shared"
7012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7013 /* end confdefs.h. */
7016 if ac_fn_c_try_link "$LINENO"; then :
7017 ac_cv_c_dll_hpux="yes"
7019 ac_cv_c_dll_hpux="no"
7021 rm -f core conftest.err conftest.$ac_objext \
7022 conftest$ac_exeext conftest.$ac_ext
7023 CFLAGS=$ac_wine_try_cflags_saved
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
7026 $as_echo "$ac_cv_c_dll_hpux" >&6; }
7027 if test "$ac_cv_c_dll_hpux" = "yes"
7031 LDDLLFLAGS="-shared -fPIC"
7032 LDSHARED="\$(CC) -shared"
7039 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
7040 enable_winequartz_drv=${enable_winequartz_drv:-no}
7042 if test "$LIBEXT" = "a"; then
7043 as_fn_error $? "could not find a way to build shared libraries.
7044 It is currently not possible to build Wine without shared library
7045 (.so) support to allow transparent switch between .so and .dll files.
7046 If you are using Linux, you will need a newer binutils.
7050 CROSSTEST_DISABLE=\#
7052 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
7056 ac_prefix_list="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-pc-mingw32-gcc i586-pc-mingw32-gcc i486-pc-mingw32-gcc i386-pc-mingw32-gcc i686-mingw32msvc-gcc i586-mingw32msvc-gcc i486-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i486-mingw32-gcc i386-mingw32-gcc " ;;
7058 ac_prefix_list="x86_64-pc-mingw32-gcc amd64-pc-mingw32-gcc x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-mingw32msvc-gcc amd64-mingw32msvc-gcc " ;;
7060 ac_prefix_list="" ;;
7062 for ac_prog in $ac_prefix_list
7064 # Extract the first word of "$ac_prog", so it can be a program name with args.
7065 set dummy $ac_prog; ac_word=$2
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7067 $as_echo_n "checking for $ac_word... " >&6; }
7068 if test "${ac_cv_prog_CROSSCC+set}" = set; then :
7069 $as_echo_n "(cached) " >&6
7071 if test -n "$CROSSCC"; then
7072 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
7074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7078 test -z "$as_dir" && as_dir=.
7079 for ac_exec_ext in '' $ac_executable_extensions; do
7080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7081 ac_cv_prog_CROSSCC="$ac_prog"
7082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7091 CROSSCC=$ac_cv_prog_CROSSCC
7092 if test -n "$CROSSCC"; then
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7094 $as_echo "$CROSSCC" >&6; }
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7097 $as_echo "no" >&6; }
7101 test -n "$CROSSCC" && break
7103 test -n "$CROSSCC" || CROSSCC="false"
7105 if test "$CROSSCC" != "false"
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7110 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7112 /* end confdefs.h. */
7122 if ac_fn_c_try_compile "$LINENO"; then :
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7124 $as_echo "yes" >&6; }
7131 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
7135 if test -n "$target"
7137 CROSSTEST_DISABLE=""
7138 CROSSTARGET="$target"
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7143 $as_echo "no" >&6; }
7145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7151 if test "$ac_cv_header_pthread_h" = "yes"
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7154 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7155 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
7156 $as_echo_n "(cached) " >&6
7158 ac_check_lib_save_LIBS=$LIBS
7159 LIBS="-lpthread $LIBS"
7160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7161 /* end confdefs.h. */
7163 /* Override any GCC internal prototype to avoid an error.
7164 Use char because int might match the return type of a GCC
7165 builtin and then its argument prototype would still apply. */
7169 char pthread_create ();
7173 return pthread_create ();
7178 if ac_fn_c_try_link "$LINENO"; then :
7179 ac_cv_lib_pthread_pthread_create=yes
7181 ac_cv_lib_pthread_pthread_create=no
7183 rm -f core conftest.err conftest.$ac_objext \
7184 conftest$ac_exeext conftest.$ac_ext
7185 LIBS=$ac_check_lib_save_LIBS
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7188 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7189 if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then :
7190 LIBPTHREAD="-lpthread"
7195 if test "x$LIBPTHREAD" = "x"; then :
7196 case "x$with_pthread" in
7198 *) as_fn_error $? "pthread ${notice_platform}development files not found.
7199 Wine cannot support threads without libpthread.
7200 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7206 $as_echo_n "checking for X... " >&6; }
7209 # Check whether --with-x was given.
7210 if test "${with_x+set}" = set; then :
7214 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7215 if test "x$with_x" = xno; then
7216 # The user explicitly disabled X.
7219 case $x_includes,$x_libraries in #(
7220 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
7221 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
7222 $as_echo_n "(cached) " >&6
7224 # One or both of the vars are not set, and there is no cached value.
7225 ac_x_includes=no ac_x_libraries=no
7226 rm -f -r conftest.dir
7227 if mkdir conftest.dir; then
7229 cat >Imakefile <<'_ACEOF'
7231 @echo incroot='${INCROOT}'
7233 @echo usrlibdir='${USRLIBDIR}'
7235 @echo libdir='${LIBDIR}'
7237 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7238 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7239 for ac_var in incroot usrlibdir libdir; do
7240 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7242 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7243 for ac_extension in a so sl dylib la dll; do
7244 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7245 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7246 ac_im_usrlibdir=$ac_im_libdir; break
7249 # Screen out bogus values from the imake configuration. They are
7250 # bogus both because they are the default anyway, and because
7251 # using them would break gcc on systems where it needs fixed includes.
7252 case $ac_im_incroot in
7253 /usr/include) ac_x_includes= ;;
7254 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
7256 case $ac_im_usrlibdir in
7257 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
7258 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
7262 rm -f -r conftest.dir
7265 # Standard set of common directories for X headers.
7266 # Check X11 before X11Rn because it is often a symlink to the current release.
7280 /usr/local/X11/include
7281 /usr/local/X11R7/include
7282 /usr/local/X11R6/include
7283 /usr/local/X11R5/include
7284 /usr/local/X11R4/include
7286 /usr/local/include/X11
7287 /usr/local/include/X11R7
7288 /usr/local/include/X11R6
7289 /usr/local/include/X11R5
7290 /usr/local/include/X11R4
7294 /usr/XFree86/include/X11
7298 /usr/unsupported/include
7300 /usr/local/x11r5/include
7301 /usr/lpp/Xamples/include
7303 /usr/openwin/include
7304 /usr/openwin/share/include'
7306 if test "$ac_x_includes" = no; then
7307 # Guess where to find include files, by looking for Xlib.h.
7308 # First, try using that file with no special directory specified.
7309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7310 /* end confdefs.h. */
7311 #include <X11/Xlib.h>
7313 if ac_fn_c_try_cpp "$LINENO"; then :
7314 # We can compile using X headers with no special include directory.
7317 for ac_dir in $ac_x_header_dirs; do
7318 if test -r "$ac_dir/X11/Xlib.h"; then
7319 ac_x_includes=$ac_dir
7324 rm -f conftest.err conftest.i conftest.$ac_ext
7325 fi # $ac_x_includes = no
7327 if test "$ac_x_libraries" = no; then
7328 # Check for the libraries.
7329 # See if we find them without any special options.
7330 # Don't add to $LIBS permanently.
7333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7334 /* end confdefs.h. */
7335 #include <X11/Xlib.h>
7344 if ac_fn_c_try_link "$LINENO"; then :
7346 # We can link X programs with no special library path.
7350 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7352 # Don't even attempt the hair of trying to link an X program!
7353 for ac_extension in a so sl dylib la dll; do
7354 if test -r "$ac_dir/libX11.$ac_extension"; then
7355 ac_x_libraries=$ac_dir
7361 rm -f core conftest.err conftest.$ac_objext \
7362 conftest$ac_exeext conftest.$ac_ext
7363 fi # $ac_x_libraries = no
7365 case $ac_x_includes,$ac_x_libraries in #(
7367 # Didn't find X, or a directory has "'" in its name.
7368 ac_cv_have_x="have_x=no";; #(
7370 # Record where we found X for the cache.
7371 ac_cv_have_x="have_x=yes\
7372 ac_x_includes='$ac_x_includes'\
7373 ac_x_libraries='$ac_x_libraries'"
7379 eval "$ac_cv_have_x"
7382 if test "$have_x" != yes; then
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7384 $as_echo "$have_x" >&6; }
7387 # If each of the values was on the command line, it overrides each guess.
7388 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
7389 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
7390 # Update the cache value to reflect the command line values.
7391 ac_cv_have_x="have_x=yes\
7392 ac_x_includes='$x_includes'\
7393 ac_x_libraries='$x_libraries'"
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7395 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7398 if test "$no_x" = yes; then
7399 # Not all programs may use this symbol, but it does not hurt to define it.
7401 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7403 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
7405 if test -n "$x_includes"; then
7406 X_CFLAGS="$X_CFLAGS -I$x_includes"
7409 # It would also be nice to do this for all -L options, not just this one.
7410 if test -n "$x_libraries"; then
7411 X_LIBS="$X_LIBS -L$x_libraries"
7412 # For Solaris; some versions of Sun CC require a space after -R and
7413 # others require no space. Words are not sufficient . . . .
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7415 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7416 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
7417 ac_xsave_c_werror_flag=$ac_c_werror_flag
7418 ac_c_werror_flag=yes
7419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7420 /* end confdefs.h. */
7430 if ac_fn_c_try_link "$LINENO"; then :
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7432 $as_echo "no" >&6; }
7433 X_LIBS="$X_LIBS -R$x_libraries"
7435 LIBS="$ac_xsave_LIBS -R $x_libraries"
7436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7437 /* end confdefs.h. */
7447 if ac_fn_c_try_link "$LINENO"; then :
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7449 $as_echo "yes" >&6; }
7450 X_LIBS="$X_LIBS -R $x_libraries"
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7453 $as_echo "neither works" >&6; }
7455 rm -f core conftest.err conftest.$ac_objext \
7456 conftest$ac_exeext conftest.$ac_ext
7458 rm -f core conftest.err conftest.$ac_objext \
7459 conftest$ac_exeext conftest.$ac_ext
7460 ac_c_werror_flag=$ac_xsave_c_werror_flag
7464 # Check for system-dependent libraries X programs must link with.
7465 # Do this before checking for the system-independent R6 libraries
7466 # (-lICE), since we may need -lsocket or whatever for X linking.
7468 if test "$ISC" = yes; then
7469 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
7471 # Martyn Johnson says this is needed for Ultrix, if the X
7472 # libraries were built with DECnet support. And Karl Berry says
7473 # the Alpha needs dnet_stub (dnet does not exist).
7474 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
7475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7476 /* end confdefs.h. */
7478 /* Override any GCC internal prototype to avoid an error.
7479 Use char because int might match the return type of a GCC
7480 builtin and then its argument prototype would still apply. */
7484 char XOpenDisplay ();
7488 return XOpenDisplay ();
7493 if ac_fn_c_try_link "$LINENO"; then :
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7497 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7498 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
7499 $as_echo_n "(cached) " >&6
7501 ac_check_lib_save_LIBS=$LIBS
7503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7504 /* end confdefs.h. */
7506 /* Override any GCC internal prototype to avoid an error.
7507 Use char because int might match the return type of a GCC
7508 builtin and then its argument prototype would still apply. */
7516 return dnet_ntoa ();
7521 if ac_fn_c_try_link "$LINENO"; then :
7522 ac_cv_lib_dnet_dnet_ntoa=yes
7524 ac_cv_lib_dnet_dnet_ntoa=no
7526 rm -f core conftest.err conftest.$ac_objext \
7527 conftest$ac_exeext conftest.$ac_ext
7528 LIBS=$ac_check_lib_save_LIBS
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7531 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7532 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
7533 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7536 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7538 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7539 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
7540 $as_echo_n "(cached) " >&6
7542 ac_check_lib_save_LIBS=$LIBS
7543 LIBS="-ldnet_stub $LIBS"
7544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7545 /* end confdefs.h. */
7547 /* Override any GCC internal prototype to avoid an error.
7548 Use char because int might match the return type of a GCC
7549 builtin and then its argument prototype would still apply. */
7557 return dnet_ntoa ();
7562 if ac_fn_c_try_link "$LINENO"; then :
7563 ac_cv_lib_dnet_stub_dnet_ntoa=yes
7565 ac_cv_lib_dnet_stub_dnet_ntoa=no
7567 rm -f core conftest.err conftest.$ac_objext \
7568 conftest$ac_exeext conftest.$ac_ext
7569 LIBS=$ac_check_lib_save_LIBS
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7572 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7573 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
7574 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
7579 rm -f core conftest.err conftest.$ac_objext \
7580 conftest$ac_exeext conftest.$ac_ext
7581 LIBS="$ac_xsave_LIBS"
7583 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7584 # to get the SysV transport functions.
7585 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7587 # The nsl library prevents programs from opening the X display
7588 # on Irix 5.2, according to T.E. Dickey.
7589 # The functions gethostbyname, getservbyname, and inet_addr are
7590 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7591 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7592 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
7596 if test $ac_cv_func_gethostbyname = no; then
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7598 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7599 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
7600 $as_echo_n "(cached) " >&6
7602 ac_check_lib_save_LIBS=$LIBS
7604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7605 /* end confdefs.h. */
7607 /* Override any GCC internal prototype to avoid an error.
7608 Use char because int might match the return type of a GCC
7609 builtin and then its argument prototype would still apply. */
7613 char gethostbyname ();
7617 return gethostbyname ();
7622 if ac_fn_c_try_link "$LINENO"; then :
7623 ac_cv_lib_nsl_gethostbyname=yes
7625 ac_cv_lib_nsl_gethostbyname=no
7627 rm -f core conftest.err conftest.$ac_objext \
7628 conftest$ac_exeext conftest.$ac_ext
7629 LIBS=$ac_check_lib_save_LIBS
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7632 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7633 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
7634 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
7637 if test $ac_cv_lib_nsl_gethostbyname = no; then
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7639 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7640 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
7641 $as_echo_n "(cached) " >&6
7643 ac_check_lib_save_LIBS=$LIBS
7645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7646 /* end confdefs.h. */
7648 /* Override any GCC internal prototype to avoid an error.
7649 Use char because int might match the return type of a GCC
7650 builtin and then its argument prototype would still apply. */
7654 char gethostbyname ();
7658 return gethostbyname ();
7663 if ac_fn_c_try_link "$LINENO"; then :
7664 ac_cv_lib_bsd_gethostbyname=yes
7666 ac_cv_lib_bsd_gethostbyname=no
7668 rm -f core conftest.err conftest.$ac_objext \
7669 conftest$ac_exeext conftest.$ac_ext
7670 LIBS=$ac_check_lib_save_LIBS
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7673 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7674 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
7675 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
7681 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7682 # socket/setsockopt and other routines are undefined under SCO ODT
7683 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7684 # on later versions), says Simon Leinen: it contains gethostby*
7685 # variants that don't use the name server (or something). -lsocket
7686 # must be given before -lnsl if both are needed. We assume that
7687 # if connect needs -lnsl, so does gethostbyname.
7688 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
7689 if test "x$ac_cv_func_connect" = x""yes; then :
7693 if test $ac_cv_func_connect = no; then
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7695 $as_echo_n "checking for connect in -lsocket... " >&6; }
7696 if test "${ac_cv_lib_socket_connect+set}" = set; then :
7697 $as_echo_n "(cached) " >&6
7699 ac_check_lib_save_LIBS=$LIBS
7700 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
7701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7702 /* end confdefs.h. */
7704 /* Override any GCC internal prototype to avoid an error.
7705 Use char because int might match the return type of a GCC
7706 builtin and then its argument prototype would still apply. */
7719 if ac_fn_c_try_link "$LINENO"; then :
7720 ac_cv_lib_socket_connect=yes
7722 ac_cv_lib_socket_connect=no
7724 rm -f core conftest.err conftest.$ac_objext \
7725 conftest$ac_exeext conftest.$ac_ext
7726 LIBS=$ac_check_lib_save_LIBS
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7729 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7730 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
7731 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
7736 # Guillermo Gomez says -lposix is necessary on A/UX.
7737 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
7738 if test "x$ac_cv_func_remove" = x""yes; then :
7742 if test $ac_cv_func_remove = no; then
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7744 $as_echo_n "checking for remove in -lposix... " >&6; }
7745 if test "${ac_cv_lib_posix_remove+set}" = set; then :
7746 $as_echo_n "(cached) " >&6
7748 ac_check_lib_save_LIBS=$LIBS
7749 LIBS="-lposix $LIBS"
7750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7751 /* end confdefs.h. */
7753 /* Override any GCC internal prototype to avoid an error.
7754 Use char because int might match the return type of a GCC
7755 builtin and then its argument prototype would still apply. */
7768 if ac_fn_c_try_link "$LINENO"; then :
7769 ac_cv_lib_posix_remove=yes
7771 ac_cv_lib_posix_remove=no
7773 rm -f core conftest.err conftest.$ac_objext \
7774 conftest$ac_exeext conftest.$ac_ext
7775 LIBS=$ac_check_lib_save_LIBS
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7778 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7779 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
7780 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
7785 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7786 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
7787 if test "x$ac_cv_func_shmat" = x""yes; then :
7791 if test $ac_cv_func_shmat = no; then
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7793 $as_echo_n "checking for shmat in -lipc... " >&6; }
7794 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
7795 $as_echo_n "(cached) " >&6
7797 ac_check_lib_save_LIBS=$LIBS
7799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7800 /* end confdefs.h. */
7802 /* Override any GCC internal prototype to avoid an error.
7803 Use char because int might match the return type of a GCC
7804 builtin and then its argument prototype would still apply. */
7817 if ac_fn_c_try_link "$LINENO"; then :
7818 ac_cv_lib_ipc_shmat=yes
7820 ac_cv_lib_ipc_shmat=no
7822 rm -f core conftest.err conftest.$ac_objext \
7823 conftest$ac_exeext conftest.$ac_ext
7824 LIBS=$ac_check_lib_save_LIBS
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
7827 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7828 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
7829 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
7835 # Check for libraries that X11R6 Xt/Xaw programs need.
7836 ac_save_LDFLAGS=$LDFLAGS
7837 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
7838 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7839 # check for ICE first), but we must link in the order -lSM -lICE or
7840 # we get undefined symbols. So assume we have SM if we have ICE.
7841 # These have to be linked with before -lX11, unlike the other
7842 # libraries we check for below, so use a different variable.
7843 # John Interrante, Karl Berry
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7845 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7846 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
7847 $as_echo_n "(cached) " >&6
7849 ac_check_lib_save_LIBS=$LIBS
7850 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
7851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7852 /* end confdefs.h. */
7854 /* Override any GCC internal prototype to avoid an error.
7855 Use char because int might match the return type of a GCC
7856 builtin and then its argument prototype would still apply. */
7860 char IceConnectionNumber ();
7864 return IceConnectionNumber ();
7869 if ac_fn_c_try_link "$LINENO"; then :
7870 ac_cv_lib_ICE_IceConnectionNumber=yes
7872 ac_cv_lib_ICE_IceConnectionNumber=no
7874 rm -f core conftest.err conftest.$ac_objext \
7875 conftest$ac_exeext conftest.$ac_ext
7876 LIBS=$ac_check_lib_save_LIBS
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7879 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7880 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
7881 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
7884 LDFLAGS=$ac_save_LDFLAGS
7889 if test "$have_x" = "yes"
7892 ac_save_CPPFLAGS="$CPPFLAGS"
7893 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
7896 $as_echo_n "checking for -lX11... " >&6; }
7897 if test "${ac_cv_lib_soname_X11+set}" = set; then :
7898 $as_echo_n "(cached) " >&6
7900 ac_check_soname_save_LIBS=$LIBS
7901 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
7902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7903 /* end confdefs.h. */
7905 /* Override any GCC internal prototype to avoid an error.
7906 Use char because int might match the return type of a GCC
7907 builtin and then its argument prototype would still apply. */
7911 char XCreateWindow ();
7915 return XCreateWindow ();
7920 if ac_fn_c_try_link "$LINENO"; then :
7922 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7923 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'` ;;
7924 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7927 rm -f core conftest.err conftest.$ac_objext \
7928 conftest$ac_exeext conftest.$ac_ext
7929 LIBS=$ac_check_soname_save_LIBS
7931 if test "x$ac_cv_lib_soname_X11" = "x"; then :
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7933 $as_echo "not found" >&6; }
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
7937 $as_echo "$ac_cv_lib_soname_X11" >&6; }
7939 cat >>confdefs.h <<_ACEOF
7940 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
7946 $as_echo_n "checking for -lXext... " >&6; }
7947 if test "${ac_cv_lib_soname_Xext+set}" = set; then :
7948 $as_echo_n "(cached) " >&6
7950 ac_check_soname_save_LIBS=$LIBS
7951 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
7952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7953 /* end confdefs.h. */
7955 /* Override any GCC internal prototype to avoid an error.
7956 Use char because int might match the return type of a GCC
7957 builtin and then its argument prototype would still apply. */
7961 char XextCreateExtension ();
7965 return XextCreateExtension ();
7970 if ac_fn_c_try_link "$LINENO"; then :
7972 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7973 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'` ;;
7974 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7977 rm -f core conftest.err conftest.$ac_objext \
7978 conftest$ac_exeext conftest.$ac_ext
7979 LIBS=$ac_check_soname_save_LIBS
7981 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7983 $as_echo "not found" >&6; }
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
7987 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
7989 cat >>confdefs.h <<_ACEOF
7990 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
7996 for ac_header in X11/Xlib.h \
7999 X11/Xcursor/Xcursor.h \
8000 X11/extensions/shape.h \
8001 X11/extensions/XInput.h \
8002 X11/extensions/XShm.h \
8003 X11/extensions/Xcomposite.h \
8004 X11/extensions/Xinerama.h \
8005 X11/extensions/Xrandr.h \
8006 X11/extensions/Xrender.h \
8007 X11/extensions/xf86vmode.h \
8008 X11/extensions/xf86vmproto.h
8010 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8011 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8012 # include <X11/Xlib.h>
8014 #ifdef HAVE_X11_XUTIL_H
8015 # include <X11/Xutil.h>
8018 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8019 cat >>confdefs.h <<_ACEOF
8020 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8028 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8031 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8032 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then :
8033 $as_echo_n "(cached) " >&6
8035 ac_check_lib_save_LIBS=$LIBS
8036 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8038 /* end confdefs.h. */
8040 /* Override any GCC internal prototype to avoid an error.
8041 Use char because int might match the return type of a GCC
8042 builtin and then its argument prototype would still apply. */
8046 char XkbQueryExtension ();
8050 return XkbQueryExtension ();
8055 if ac_fn_c_try_link "$LINENO"; then :
8056 ac_cv_lib_X11_XkbQueryExtension=yes
8058 ac_cv_lib_X11_XkbQueryExtension=no
8060 rm -f core conftest.err conftest.$ac_objext \
8061 conftest$ac_exeext conftest.$ac_ext
8062 LIBS=$ac_check_lib_save_LIBS
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8065 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8066 if test "x$ac_cv_lib_X11_XkbQueryExtension" = x""yes; then :
8068 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8074 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8077 $as_echo_n "checking for -lXcursor... " >&6; }
8078 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then :
8079 $as_echo_n "(cached) " >&6
8081 ac_check_soname_save_LIBS=$LIBS
8082 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8084 /* end confdefs.h. */
8086 /* Override any GCC internal prototype to avoid an error.
8087 Use char because int might match the return type of a GCC
8088 builtin and then its argument prototype would still apply. */
8092 char XcursorImageLoadCursor ();
8096 return XcursorImageLoadCursor ();
8101 if ac_fn_c_try_link "$LINENO"; then :
8103 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8104 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'` ;;
8105 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8108 rm -f core conftest.err conftest.$ac_objext \
8109 conftest$ac_exeext conftest.$ac_ext
8110 LIBS=$ac_check_soname_save_LIBS
8112 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8114 $as_echo "not found" >&6; }
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8118 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8120 cat >>confdefs.h <<_ACEOF
8121 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8127 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8128 case "x$with_xcursor" in
8129 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8131 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8132 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8136 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8139 $as_echo_n "checking for -lXi... " >&6; }
8140 if test "${ac_cv_lib_soname_Xi+set}" = set; then :
8141 $as_echo_n "(cached) " >&6
8143 ac_check_soname_save_LIBS=$LIBS
8144 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8146 /* end confdefs.h. */
8148 /* Override any GCC internal prototype to avoid an error.
8149 Use char because int might match the return type of a GCC
8150 builtin and then its argument prototype would still apply. */
8154 char XOpenDevice ();
8158 return XOpenDevice ();
8163 if ac_fn_c_try_link "$LINENO"; then :
8165 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8166 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'` ;;
8167 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8170 rm -f core conftest.err conftest.$ac_objext \
8171 conftest$ac_exeext conftest.$ac_ext
8172 LIBS=$ac_check_soname_save_LIBS
8174 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8176 $as_echo "not found" >&6; }
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8180 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8182 cat >>confdefs.h <<_ACEOF
8183 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8189 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8190 case "x$with_xinput" in
8191 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8193 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8194 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8198 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8201 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8202 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then :
8203 $as_echo_n "(cached) " >&6
8205 ac_check_lib_save_LIBS=$LIBS
8206 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8208 /* end confdefs.h. */
8210 /* Override any GCC internal prototype to avoid an error.
8211 Use char because int might match the return type of a GCC
8212 builtin and then its argument prototype would still apply. */
8216 char XShmQueryExtension ();
8220 return XShmQueryExtension ();
8225 if ac_fn_c_try_link "$LINENO"; then :
8226 ac_cv_lib_Xext_XShmQueryExtension=yes
8228 ac_cv_lib_Xext_XShmQueryExtension=no
8230 rm -f core conftest.err conftest.$ac_objext \
8231 conftest$ac_exeext conftest.$ac_ext
8232 LIBS=$ac_check_lib_save_LIBS
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8235 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8236 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x""yes; then :
8238 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8243 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8244 case "x$with_xshm" in
8245 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8247 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8248 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8252 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8255 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8256 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then :
8257 $as_echo_n "(cached) " >&6
8259 ac_check_lib_save_LIBS=$LIBS
8260 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8262 /* end confdefs.h. */
8264 /* Override any GCC internal prototype to avoid an error.
8265 Use char because int might match the return type of a GCC
8266 builtin and then its argument prototype would still apply. */
8270 char XShapeQueryExtension ();
8274 return XShapeQueryExtension ();
8279 if ac_fn_c_try_link "$LINENO"; then :
8280 ac_cv_lib_Xext_XShapeQueryExtension=yes
8282 ac_cv_lib_Xext_XShapeQueryExtension=no
8284 rm -f core conftest.err conftest.$ac_objext \
8285 conftest$ac_exeext conftest.$ac_ext
8286 LIBS=$ac_check_lib_save_LIBS
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8289 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8290 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then :
8292 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8297 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8298 case "x$with_xshape" in
8299 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8301 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
8302 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8306 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8309 $as_echo_n "checking for -lXxf86vm... " >&6; }
8310 if test "${ac_cv_lib_soname_Xxf86vm+set}" = set; then :
8311 $as_echo_n "(cached) " >&6
8313 ac_check_soname_save_LIBS=$LIBS
8314 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8316 /* end confdefs.h. */
8318 /* Override any GCC internal prototype to avoid an error.
8319 Use char because int might match the return type of a GCC
8320 builtin and then its argument prototype would still apply. */
8324 char XF86VidModeQueryExtension ();
8328 return XF86VidModeQueryExtension ();
8333 if ac_fn_c_try_link "$LINENO"; then :
8335 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8336 dylib) ac_cv_lib_soname_Xxf86vm=`otool -L conftest$ac_exeext | grep "libXxf86vm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXxf86vm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
8337 *) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8340 rm -f core conftest.err conftest.$ac_objext \
8341 conftest$ac_exeext conftest.$ac_ext
8342 LIBS=$ac_check_soname_save_LIBS
8344 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8346 $as_echo "not found" >&6; }
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8350 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8352 cat >>confdefs.h <<_ACEOF
8353 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8359 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8360 case "x$with_xxf86vm" in
8361 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8363 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8364 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8368 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x" -a "x$ac_cv_lib_soname_Xext" != "x"
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8371 $as_echo_n "checking for -lXrender... " >&6; }
8372 if test "${ac_cv_lib_soname_Xrender+set}" = set; then :
8373 $as_echo_n "(cached) " >&6
8375 ac_check_soname_save_LIBS=$LIBS
8376 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8378 /* end confdefs.h. */
8380 /* Override any GCC internal prototype to avoid an error.
8381 Use char because int might match the return type of a GCC
8382 builtin and then its argument prototype would still apply. */
8386 char XRenderQueryExtension ();
8390 return XRenderQueryExtension ();
8395 if ac_fn_c_try_link "$LINENO"; then :
8397 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8398 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'` ;;
8399 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8402 rm -f core conftest.err conftest.$ac_objext \
8403 conftest$ac_exeext conftest.$ac_ext
8404 LIBS=$ac_check_soname_save_LIBS
8406 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8408 $as_echo "not found" >&6; }
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8412 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8414 cat >>confdefs.h <<_ACEOF
8415 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8419 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8420 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then :
8421 $as_echo_n "(cached) " >&6
8423 ac_check_lib_save_LIBS=$LIBS
8424 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8426 /* end confdefs.h. */
8428 /* Override any GCC internal prototype to avoid an error.
8429 Use char because int might match the return type of a GCC
8430 builtin and then its argument prototype would still apply. */
8434 char XRenderSetPictureTransform ();
8438 return XRenderSetPictureTransform ();
8443 if ac_fn_c_try_link "$LINENO"; then :
8444 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8446 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8448 rm -f core conftest.err conftest.$ac_objext \
8449 conftest$ac_exeext conftest.$ac_ext
8450 LIBS=$ac_check_lib_save_LIBS
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8453 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8454 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = x""yes; then :
8456 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8463 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8464 case "x$with_xrender" in
8465 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8467 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
8468 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8472 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8475 /* end confdefs.h. */
8476 #include <X11/Xlib.h>
8477 #include <X11/extensions/Xrandr.h>
8481 static typeof(XRRSetScreenConfigAndRate) * func;
8486 if ac_fn_c_try_compile "$LINENO"; then :
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8488 $as_echo_n "checking for -lXrandr... " >&6; }
8489 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then :
8490 $as_echo_n "(cached) " >&6
8492 ac_check_soname_save_LIBS=$LIBS
8493 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8495 /* end confdefs.h. */
8497 /* Override any GCC internal prototype to avoid an error.
8498 Use char because int might match the return type of a GCC
8499 builtin and then its argument prototype would still apply. */
8503 char XRRQueryExtension ();
8507 return XRRQueryExtension ();
8512 if ac_fn_c_try_link "$LINENO"; then :
8514 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8515 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'` ;;
8516 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8519 rm -f core conftest.err conftest.$ac_objext \
8520 conftest$ac_exeext conftest.$ac_ext
8521 LIBS=$ac_check_soname_save_LIBS
8523 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8525 $as_echo "not found" >&6; }
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8529 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8531 cat >>confdefs.h <<_ACEOF
8532 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8540 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8541 case "x$with_xrandr" in
8542 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8544 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8545 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8549 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8552 /* end confdefs.h. */
8553 #include <X11/Xlib.h>
8554 #include <X11/extensions/Xinerama.h>
8558 static typeof(XineramaQueryScreens) * func;
8563 if ac_fn_c_try_compile "$LINENO"; then :
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8565 $as_echo_n "checking for -lXinerama... " >&6; }
8566 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then :
8567 $as_echo_n "(cached) " >&6
8569 ac_check_soname_save_LIBS=$LIBS
8570 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8572 /* end confdefs.h. */
8574 /* Override any GCC internal prototype to avoid an error.
8575 Use char because int might match the return type of a GCC
8576 builtin and then its argument prototype would still apply. */
8580 char XineramaQueryScreens ();
8584 return XineramaQueryScreens ();
8589 if ac_fn_c_try_link "$LINENO"; then :
8591 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8592 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'` ;;
8593 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8596 rm -f core conftest.err conftest.$ac_objext \
8597 conftest$ac_exeext conftest.$ac_ext
8598 LIBS=$ac_check_soname_save_LIBS
8600 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8602 $as_echo "not found" >&6; }
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8606 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8608 cat >>confdefs.h <<_ACEOF
8609 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8617 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8618 case "x$with_xinerama" in
8619 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8621 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8622 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8626 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8629 $as_echo_n "checking for -lXcomposite... " >&6; }
8630 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then :
8631 $as_echo_n "(cached) " >&6
8633 ac_check_soname_save_LIBS=$LIBS
8634 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8636 /* end confdefs.h. */
8638 /* Override any GCC internal prototype to avoid an error.
8639 Use char because int might match the return type of a GCC
8640 builtin and then its argument prototype would still apply. */
8644 char XCompositeRedirectWindow ();
8648 return XCompositeRedirectWindow ();
8653 if ac_fn_c_try_link "$LINENO"; then :
8655 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8656 dylib) ac_cv_lib_soname_Xcomposite=`otool -L conftest$ac_exeext | grep "libXcomposite\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXcomposite\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
8657 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8660 rm -f core conftest.err conftest.$ac_objext \
8661 conftest$ac_exeext conftest.$ac_ext
8662 LIBS=$ac_check_soname_save_LIBS
8664 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8666 $as_echo "not found" >&6; }
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8670 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8672 cat >>confdefs.h <<_ACEOF
8673 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8679 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8680 case "x$with_xcomposite" in
8681 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8683 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8684 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8688 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8689 #include <X11/Xlib.h>
8692 if test "x$ac_cv_member_XICCallback_callback" = x""yes; then :
8694 cat >>confdefs.h <<_ACEOF
8695 #define HAVE_XICCALLBACK_CALLBACK 1
8704 if test "x$with_opengl" != "xno"
8706 for ac_header in GL/gl.h GL/glx.h GL/glu.h
8708 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8709 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_GL_GLX_H
8710 # include <GL/glx.h>
8713 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8714 cat >>confdefs.h <<_ACEOF
8715 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8722 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for up-to-date OpenGL version" >&5
8725 $as_echo_n "checking for up-to-date OpenGL version... " >&6; }
8726 if test "${wine_cv_opengl_header_version_OK+set}" = set; then :
8727 $as_echo_n "(cached) " >&6
8729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8730 /* end confdefs.h. */
8735 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8740 if ac_fn_c_try_compile "$LINENO"; then :
8741 wine_cv_opengl_header_version_OK="yes"
8743 wine_cv_opengl_header_version_OK="no"
8745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_opengl_header_version_OK" >&5
8748 $as_echo "$wine_cv_opengl_header_version_OK" >&6; }
8750 if test "$wine_cv_opengl_header_version_OK" = "yes"
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8753 $as_echo_n "checking for -lGL... " >&6; }
8754 if test "${ac_cv_lib_soname_GL+set}" = set; then :
8755 $as_echo_n "(cached) " >&6
8757 ac_check_soname_save_LIBS=$LIBS
8758 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8760 /* end confdefs.h. */
8762 /* Override any GCC internal prototype to avoid an error.
8763 Use char because int might match the return type of a GCC
8764 builtin and then its argument prototype would still apply. */
8768 char glXCreateContext ();
8772 return glXCreateContext ();
8777 if ac_fn_c_try_link "$LINENO"; then :
8779 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8780 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'` ;;
8781 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8784 rm -f core conftest.err conftest.$ac_objext \
8785 conftest$ac_exeext conftest.$ac_ext
8786 LIBS=$ac_check_soname_save_LIBS
8788 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8790 $as_echo "not found" >&6; }
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8792 $as_echo_n "checking for -lGL... " >&6; }
8793 if test "${ac_cv_lib_soname_GL+set}" = set; then :
8794 $as_echo_n "(cached) " >&6
8796 ac_check_soname_save_LIBS=$LIBS
8797 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
8798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8799 /* end confdefs.h. */
8801 /* Override any GCC internal prototype to avoid an error.
8802 Use char because int might match the return type of a GCC
8803 builtin and then its argument prototype would still apply. */
8807 char glXCreateContext ();
8811 return glXCreateContext ();
8816 if ac_fn_c_try_link "$LINENO"; then :
8818 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8819 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'` ;;
8820 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8823 rm -f core conftest.err conftest.$ac_objext \
8824 conftest$ac_exeext conftest.$ac_ext
8825 LIBS=$ac_check_soname_save_LIBS
8827 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8829 $as_echo "not found" >&6; }
8830 if test -f /usr/X11R6/lib/libGL.a
8832 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
8833 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
8835 opengl_msg="No OpenGL library found on this system."
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8839 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8841 cat >>confdefs.h <<_ACEOF
8842 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8845 OPENGL_LIBS="-Xlinker -dylib_file -Xlinker /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -lGL"
8847 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8852 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8854 cat >>confdefs.h <<_ACEOF
8855 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8860 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8863 if test "$ac_cv_header_GL_glu_h" = "yes"
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
8866 $as_echo_n "checking for -lGLU... " >&6; }
8867 if test "${ac_cv_lib_soname_GLU+set}" = set; then :
8868 $as_echo_n "(cached) " >&6
8870 ac_check_soname_save_LIBS=$LIBS
8871 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8873 /* end confdefs.h. */
8875 /* Override any GCC internal prototype to avoid an error.
8876 Use char because int might match the return type of a GCC
8877 builtin and then its argument prototype would still apply. */
8885 return gluLookAt ();
8890 if ac_fn_c_try_link "$LINENO"; then :
8892 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8893 dylib) ac_cv_lib_soname_GLU=`otool -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
8894 *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8897 rm -f core conftest.err conftest.$ac_objext \
8898 conftest$ac_exeext conftest.$ac_ext
8899 LIBS=$ac_check_soname_save_LIBS
8901 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8903 $as_echo "not found" >&6; }
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
8907 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
8909 cat >>confdefs.h <<_ACEOF
8910 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
8916 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8917 case "x$with_glu" in
8918 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
8920 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
8921 This is an error since --with-glu was requested." "$LINENO" 5 ;;
8925 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
8928 opengl_msg="OpenGL development headers not found."
8930 test -n "$opengl_msg" && enable_opengl32=${enable_opengl32:-no}
8931 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32=${enable_glu32:-no}
8933 enable_opengl32=${enable_opengl32:-no}
8934 enable_glu32=${enable_glu32:-no}
8936 if test -n "$opengl_msg"; then :
8937 case "x$with_opengl" in
8938 x) as_fn_append wine_warnings "|$opengl_msg
8939 OpenGL and Direct3D won't be supported." ;;
8941 *) as_fn_error $? "$opengl_msg
8942 OpenGL and Direct3D won't be supported.
8943 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
8949 for ac_header in audio/audiolib.h
8951 ac_fn_c_check_header_mongrel "$LINENO" "audio/audiolib.h" "ac_cv_header_audio_audiolib_h" "$ac_includes_default"
8952 if test "x$ac_cv_header_audio_audiolib_h" = x""yes; then :
8953 cat >>confdefs.h <<_ACEOF
8954 #define HAVE_AUDIO_AUDIOLIB_H 1
8956 for ac_header in audio/soundlib.h
8958 ac_fn_c_check_header_compile "$LINENO" "audio/soundlib.h" "ac_cv_header_audio_soundlib_h" "#include <audio/audiolib.h>
8960 if test "x$ac_cv_header_audio_soundlib_h" = x""yes; then :
8961 cat >>confdefs.h <<_ACEOF
8962 #define HAVE_AUDIO_SOUNDLIB_H 1
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AuCreateFlow in -laudio" >&5
8970 $as_echo_n "checking for AuCreateFlow in -laudio... " >&6; }
8971 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then :
8972 $as_echo_n "(cached) " >&6
8974 ac_check_lib_save_LIBS=$LIBS
8975 LIBS="-laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8977 /* end confdefs.h. */
8979 /* Override any GCC internal prototype to avoid an error.
8980 Use char because int might match the return type of a GCC
8981 builtin and then its argument prototype would still apply. */
8985 char AuCreateFlow ();
8989 return AuCreateFlow ();
8994 if ac_fn_c_try_link "$LINENO"; then :
8995 ac_cv_lib_audio_AuCreateFlow=yes
8997 ac_cv_lib_audio_AuCreateFlow=no
8999 rm -f core conftest.err conftest.$ac_objext \
9000 conftest$ac_exeext conftest.$ac_ext
9001 LIBS=$ac_check_lib_save_LIBS
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9004 $as_echo "$ac_cv_lib_audio_AuCreateFlow" >&6; }
9005 if test "x$ac_cv_lib_audio_AuCreateFlow" = x""yes; then :
9007 $as_echo "#define HAVE_NAS 1" >>confdefs.h
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XauGetBestAuthByAddr in -lXau" >&5
9010 $as_echo_n "checking for XauGetBestAuthByAddr in -lXau... " >&6; }
9011 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then :
9012 $as_echo_n "(cached) " >&6
9014 ac_check_lib_save_LIBS=$LIBS
9015 LIBS="-lXau $X_LIBS $LIBS"
9016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9017 /* end confdefs.h. */
9019 /* Override any GCC internal prototype to avoid an error.
9020 Use char because int might match the return type of a GCC
9021 builtin and then its argument prototype would still apply. */
9025 char XauGetBestAuthByAddr ();
9029 return XauGetBestAuthByAddr ();
9034 if ac_fn_c_try_link "$LINENO"; then :
9035 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
9037 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
9039 rm -f core conftest.err conftest.$ac_objext \
9040 conftest$ac_exeext conftest.$ac_ext
9041 LIBS=$ac_check_lib_save_LIBS
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
9044 $as_echo "$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
9045 if test "x$ac_cv_lib_Xau_XauGetBestAuthByAddr" = x""yes; then :
9046 NASLIBS="-lXau -laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS"
9048 NASLIBS="-laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS"
9059 CPPFLAGS="$ac_save_CPPFLAGS"
9064 enable_winex11_drv=${enable_winex11_drv:-no}
9065 enable_opengl32=${enable_opengl32:-no}
9066 enable_glu32=${enable_glu32:-no}
9068 if test "x$XLIB" = "x"; then :
9071 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
9072 without X support, which probably isn't what you want. You will need
9073 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9074 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9078 if test "$ac_cv_header_CL_cl_h" = "yes"
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9081 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9082 if test "${ac_cv_lib_OpenCL_clGetPlatformInfo+set}" = set; then :
9083 $as_echo_n "(cached) " >&6
9085 ac_check_lib_save_LIBS=$LIBS
9086 LIBS="-lOpenCL $LIBS"
9087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9088 /* end confdefs.h. */
9090 /* Override any GCC internal prototype to avoid an error.
9091 Use char because int might match the return type of a GCC
9092 builtin and then its argument prototype would still apply. */
9096 char clGetPlatformInfo ();
9100 return clGetPlatformInfo ();
9105 if ac_fn_c_try_link "$LINENO"; then :
9106 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9108 ac_cv_lib_OpenCL_clGetPlatformInfo=no
9110 rm -f core conftest.err conftest.$ac_objext \
9111 conftest$ac_exeext conftest.$ac_ext
9112 LIBS=$ac_check_lib_save_LIBS
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9115 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9116 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = x""yes; then :
9117 LIBOPENCL="-lOpenCL"
9122 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
9123 case "x$with_opencl" in
9124 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9126 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9127 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9130 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
9139 if test "x$with_xml" != "xno"
9141 ac_save_CPPFLAGS="$CPPFLAGS"
9142 if test "$PKG_CONFIG" != "false"
9144 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9145 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9147 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
9148 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
9150 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
9151 for ac_header in libxml/parser.h
9153 ac_fn_c_check_header_mongrel "$LINENO" "libxml/parser.h" "ac_cv_header_libxml_parser_h" "$ac_includes_default"
9154 if test "x$ac_cv_header_libxml_parser_h" = x""yes; then :
9155 cat >>confdefs.h <<_ACEOF
9156 #define HAVE_LIBXML_PARSER_H 1
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9159 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9160 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then :
9161 $as_echo_n "(cached) " >&6
9163 ac_check_lib_save_LIBS=$LIBS
9164 LIBS="-lxml2 $ac_xml_libs $LIBS"
9165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9166 /* end confdefs.h. */
9168 /* Override any GCC internal prototype to avoid an error.
9169 Use char because int might match the return type of a GCC
9170 builtin and then its argument prototype would still apply. */
9174 char xmlParseMemory ();
9178 return xmlParseMemory ();
9183 if ac_fn_c_try_link "$LINENO"; then :
9184 ac_cv_lib_xml2_xmlParseMemory=yes
9186 ac_cv_lib_xml2_xmlParseMemory=no
9188 rm -f core conftest.err conftest.$ac_objext \
9189 conftest$ac_exeext conftest.$ac_ext
9190 LIBS=$ac_check_lib_save_LIBS
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9193 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9194 if test "x$ac_cv_lib_xml2_xmlParseMemory" = x""yes; then :
9196 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9198 XML2LIBS="$ac_xml_libs"
9199 XML2INCL="$ac_xml_cflags"
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9203 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9204 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then :
9205 $as_echo_n "(cached) " >&6
9207 ac_check_lib_save_LIBS=$LIBS
9208 LIBS="-lxml2 $ac_xml_libs $LIBS"
9209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9210 /* end confdefs.h. */
9212 /* Override any GCC internal prototype to avoid an error.
9213 Use char because int might match the return type of a GCC
9214 builtin and then its argument prototype would still apply. */
9218 char xmlReadMemory ();
9222 return xmlReadMemory ();
9227 if ac_fn_c_try_link "$LINENO"; then :
9228 ac_cv_lib_xml2_xmlReadMemory=yes
9230 ac_cv_lib_xml2_xmlReadMemory=no
9232 rm -f core conftest.err conftest.$ac_objext \
9233 conftest$ac_exeext conftest.$ac_ext
9234 LIBS=$ac_check_lib_save_LIBS
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9237 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9238 if test "x$ac_cv_lib_xml2_xmlReadMemory" = x""yes; then :
9240 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9245 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9246 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then :
9247 $as_echo_n "(cached) " >&6
9249 ac_check_lib_save_LIBS=$LIBS
9250 LIBS="-lxml2 $ac_xml_libs $LIBS"
9251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9252 /* end confdefs.h. */
9254 /* Override any GCC internal prototype to avoid an error.
9255 Use char because int might match the return type of a GCC
9256 builtin and then its argument prototype would still apply. */
9260 char xmlNewDocPI ();
9264 return xmlNewDocPI ();
9269 if ac_fn_c_try_link "$LINENO"; then :
9270 ac_cv_lib_xml2_xmlNewDocPI=yes
9272 ac_cv_lib_xml2_xmlNewDocPI=no
9274 rm -f core conftest.err conftest.$ac_objext \
9275 conftest$ac_exeext conftest.$ac_ext
9276 LIBS=$ac_check_lib_save_LIBS
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9279 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9280 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = x""yes; then :
9282 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9287 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9288 if test "${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+set}" = set; then :
9289 $as_echo_n "(cached) " >&6
9291 ac_check_lib_save_LIBS=$LIBS
9292 LIBS="-lxml2 $ac_xml_libs $LIBS"
9293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9294 /* end confdefs.h. */
9296 /* Override any GCC internal prototype to avoid an error.
9297 Use char because int might match the return type of a GCC
9298 builtin and then its argument prototype would still apply. */
9302 char xmlSchemaSetParserStructuredErrors ();
9306 return xmlSchemaSetParserStructuredErrors ();
9311 if ac_fn_c_try_link "$LINENO"; then :
9312 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
9314 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
9316 rm -f core conftest.err conftest.$ac_objext \
9317 conftest$ac_exeext conftest.$ac_ext
9318 LIBS=$ac_check_lib_save_LIBS
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9321 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9322 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = x""yes; then :
9324 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9329 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9330 if test "${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+set}" = set; then :
9331 $as_echo_n "(cached) " >&6
9333 ac_check_lib_save_LIBS=$LIBS
9334 LIBS="-lxml2 $ac_xml_libs $LIBS"
9335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9336 /* end confdefs.h. */
9338 /* Override any GCC internal prototype to avoid an error.
9339 Use char because int might match the return type of a GCC
9340 builtin and then its argument prototype would still apply. */
9344 char xmlSchemaSetValidStructuredErrors ();
9348 return xmlSchemaSetValidStructuredErrors ();
9353 if ac_fn_c_try_link "$LINENO"; then :
9354 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
9356 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
9358 rm -f core conftest.err conftest.$ac_objext \
9359 conftest$ac_exeext conftest.$ac_ext
9360 LIBS=$ac_check_lib_save_LIBS
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9363 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9364 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = x""yes; then :
9366 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9371 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9372 if test "${ac_cv_lib_xml2_xmlFirstElementChild+set}" = set; then :
9373 $as_echo_n "(cached) " >&6
9375 ac_check_lib_save_LIBS=$LIBS
9376 LIBS="-lxml2 $ac_xml_libs $LIBS"
9377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9378 /* end confdefs.h. */
9380 /* Override any GCC internal prototype to avoid an error.
9381 Use char because int might match the return type of a GCC
9382 builtin and then its argument prototype would still apply. */
9386 char xmlFirstElementChild ();
9390 return xmlFirstElementChild ();
9395 if ac_fn_c_try_link "$LINENO"; then :
9396 ac_cv_lib_xml2_xmlFirstElementChild=yes
9398 ac_cv_lib_xml2_xmlFirstElementChild=no
9400 rm -f core conftest.err conftest.$ac_objext \
9401 conftest$ac_exeext conftest.$ac_ext
9402 LIBS=$ac_check_lib_save_LIBS
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9405 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9406 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = x""yes; then :
9408 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9412 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9414 if test "x$ac_cv_type_xmlDocProperties" = x""yes; then :
9416 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9425 CPPFLAGS="$ac_save_CPPFLAGS"
9427 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9428 case "x$with_xml" in
9429 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found, XML won't be supported." ;;
9431 *) as_fn_error $? "libxml2 ${notice_platform}development files not found, XML won't be supported.
9432 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9436 if test "x$with_xslt" != "xno"
9438 if test "$PKG_CONFIG" != "false"
9440 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9441 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9443 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
9444 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
9446 ac_save_CPPFLAGS="$CPPFLAGS"
9447 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9448 for ac_header in libxslt/pattern.h libxslt/transform.h
9450 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9451 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9452 # include <libxslt/pattern.h>
9455 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9456 cat >>confdefs.h <<_ACEOF
9457 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9464 CPPFLAGS="$ac_save_CPPFLAGS"
9465 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9468 $as_echo_n "checking for -lxslt... " >&6; }
9469 if test "${ac_cv_lib_soname_xslt+set}" = set; then :
9470 $as_echo_n "(cached) " >&6
9472 ac_check_soname_save_LIBS=$LIBS
9473 LIBS="-lxslt $ac_xslt_libs $LIBS"
9474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9475 /* end confdefs.h. */
9477 /* Override any GCC internal prototype to avoid an error.
9478 Use char because int might match the return type of a GCC
9479 builtin and then its argument prototype would still apply. */
9483 char xsltCompilePattern ();
9487 return xsltCompilePattern ();
9492 if ac_fn_c_try_link "$LINENO"; then :
9494 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9495 dylib) ac_cv_lib_soname_xslt=`otool -L conftest$ac_exeext | grep "libxslt\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libxslt\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9496 *) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9499 rm -f core conftest.err conftest.$ac_objext \
9500 conftest$ac_exeext conftest.$ac_ext
9501 LIBS=$ac_check_soname_save_LIBS
9503 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9505 $as_echo "not found" >&6; }
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9509 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9511 cat >>confdefs.h <<_ACEOF
9512 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9515 XSLTINCL="$ac_xslt_cflags"
9519 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9520 case "x$with_xslt" in
9521 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9523 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
9524 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9530 if test "x$with_hal" != "xno"
9532 ac_save_CPPFLAGS="$CPPFLAGS"
9533 if test "$PKG_CONFIG" != "false"
9535 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9536 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9537 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9539 for ac_header in dbus/dbus.h hal/libhal.h
9541 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9542 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9543 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9544 cat >>confdefs.h <<_ACEOF
9545 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9552 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus_connection_close in -ldbus-1" >&5
9555 $as_echo_n "checking for dbus_connection_close in -ldbus-1... " >&6; }
9556 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then :
9557 $as_echo_n "(cached) " >&6
9559 ac_check_lib_save_LIBS=$LIBS
9560 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
9561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9562 /* end confdefs.h. */
9564 /* Override any GCC internal prototype to avoid an error.
9565 Use char because int might match the return type of a GCC
9566 builtin and then its argument prototype would still apply. */
9570 char dbus_connection_close ();
9574 return dbus_connection_close ();
9579 if ac_fn_c_try_link "$LINENO"; then :
9580 ac_cv_lib_dbus_1_dbus_connection_close=yes
9582 ac_cv_lib_dbus_1_dbus_connection_close=no
9584 rm -f core conftest.err conftest.$ac_objext \
9585 conftest$ac_exeext conftest.$ac_ext
9586 LIBS=$ac_check_lib_save_LIBS
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9589 $as_echo "$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9590 if test "x$ac_cv_lib_dbus_1_dbus_connection_close" = x""yes; then :
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9592 $as_echo_n "checking for -lhal... " >&6; }
9593 if test "${ac_cv_lib_soname_hal+set}" = set; then :
9594 $as_echo_n "(cached) " >&6
9596 ac_check_soname_save_LIBS=$LIBS
9597 LIBS="-lhal $ac_hal_libs $LIBS"
9598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9599 /* end confdefs.h. */
9601 /* Override any GCC internal prototype to avoid an error.
9602 Use char because int might match the return type of a GCC
9603 builtin and then its argument prototype would still apply. */
9607 char libhal_ctx_new ();
9611 return libhal_ctx_new ();
9616 if ac_fn_c_try_link "$LINENO"; then :
9618 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9619 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'` ;;
9620 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9623 rm -f core conftest.err conftest.$ac_objext \
9624 conftest$ac_exeext conftest.$ac_ext
9625 LIBS=$ac_check_soname_save_LIBS
9627 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9629 $as_echo "not found" >&6; }
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9633 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9635 cat >>confdefs.h <<_ACEOF
9636 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9639 HALINCL="$ac_hal_cflags"
9644 CPPFLAGS="$ac_save_CPPFLAGS"
9646 if test "x$ac_cv_lib_soname_hal" = "x" -a "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9647 case "x$with_hal" in
9648 x) as_fn_append wine_notices "|libhal/libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9650 *) as_fn_error $? "libhal/libdbus ${notice_platform}development files not found, no dynamic device support.
9651 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9655 if test "x$with_gnutls" != "xno"
9657 ac_save_CPPFLAGS="$CPPFLAGS"
9658 if test "$PKG_CONFIG" != "false"
9660 ac_gnutls_libs="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9661 ac_gnutls_cflags="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9662 CPPFLAGS="$CPPFLAGS $ac_gnutls_cflags"
9664 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9665 if test "x$ac_cv_header_gnutls_gnutls_h" = x""yes; then :
9666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9667 /* end confdefs.h. */
9668 #include <gnutls/gnutls.h>
9672 typeof(gnutls_mac_get_key_size) *pfunc;
9677 if ac_fn_c_try_compile "$LINENO"; then :
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9679 $as_echo_n "checking for -lgnutls... " >&6; }
9680 if test "${ac_cv_lib_soname_gnutls+set}" = set; then :
9681 $as_echo_n "(cached) " >&6
9683 ac_check_soname_save_LIBS=$LIBS
9684 LIBS="-lgnutls $ac_gnutls_libs $LIBS"
9685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9686 /* end confdefs.h. */
9688 /* Override any GCC internal prototype to avoid an error.
9689 Use char because int might match the return type of a GCC
9690 builtin and then its argument prototype would still apply. */
9694 char gnutls_global_init ();
9698 return gnutls_global_init ();
9703 if ac_fn_c_try_link "$LINENO"; then :
9705 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9706 dylib) ac_cv_lib_soname_gnutls=`otool -L conftest$ac_exeext | grep "libgnutls\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9707 *) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9710 rm -f core conftest.err conftest.$ac_objext \
9711 conftest$ac_exeext conftest.$ac_ext
9712 LIBS=$ac_check_soname_save_LIBS
9714 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9716 $as_echo "not found" >&6; }
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9720 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9722 cat >>confdefs.h <<_ACEOF
9723 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9726 GNUTLSINCL="$ac_gnutls_cflags"
9730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9734 CPPFLAGS="$ac_save_CPPFLAGS"
9736 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9737 case "x$with_gnutls" in
9738 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9740 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
9741 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9746 if test "$ac_cv_header_ncurses_h" = "yes"
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
9749 $as_echo_n "checking for -lncurses... " >&6; }
9750 if test "${ac_cv_lib_soname_ncurses+set}" = set; then :
9751 $as_echo_n "(cached) " >&6
9753 ac_check_soname_save_LIBS=$LIBS
9754 LIBS="-lncurses $LIBS"
9755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9756 /* end confdefs.h. */
9758 /* Override any GCC internal prototype to avoid an error.
9759 Use char because int might match the return type of a GCC
9760 builtin and then its argument prototype would still apply. */
9773 if ac_fn_c_try_link "$LINENO"; then :
9775 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9776 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'` ;;
9777 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9780 rm -f core conftest.err conftest.$ac_objext \
9781 conftest$ac_exeext conftest.$ac_ext
9782 LIBS=$ac_check_soname_save_LIBS
9784 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9786 $as_echo "not found" >&6; }
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
9790 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
9792 cat >>confdefs.h <<_ACEOF
9793 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
9796 CURSESLIBS="-lncurses"
9798 elif test "$ac_cv_header_curses_h" = "yes"
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
9801 $as_echo_n "checking for -lcurses... " >&6; }
9802 if test "${ac_cv_lib_soname_curses+set}" = set; then :
9803 $as_echo_n "(cached) " >&6
9805 ac_check_soname_save_LIBS=$LIBS
9806 LIBS="-lcurses $LIBS"
9807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9808 /* end confdefs.h. */
9810 /* Override any GCC internal prototype to avoid an error.
9811 Use char because int might match the return type of a GCC
9812 builtin and then its argument prototype would still apply. */
9825 if ac_fn_c_try_link "$LINENO"; then :
9827 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9828 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'` ;;
9829 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9832 rm -f core conftest.err conftest.$ac_objext \
9833 conftest$ac_exeext conftest.$ac_ext
9834 LIBS=$ac_check_soname_save_LIBS
9836 if test "x$ac_cv_lib_soname_curses" = "x"; then :
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9838 $as_echo "not found" >&6; }
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
9842 $as_echo "$ac_cv_lib_soname_curses" >&6; }
9844 cat >>confdefs.h <<_ACEOF
9845 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
9848 CURSESLIBS="-lcurses"
9851 ac_save_LIBS="$LIBS"
9852 LIBS="$LIBS $CURSESLIBS"
9853 for ac_func in mousemask
9855 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
9856 if test "x$ac_cv_func_mousemask" = x""yes; then :
9857 cat >>confdefs.h <<_ACEOF
9858 #define HAVE_MOUSEMASK 1
9864 LIBS="$ac_save_LIBS"
9865 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
9866 case "x$with_curses" in
9867 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
9869 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
9870 This is an error since --with-curses was requested." "$LINENO" 5 ;;
9874 if test "x$with_sane" != "xno"
9876 ac_save_CPPFLAGS="$CPPFLAGS"
9877 # Extract the first word of "sane-config", so it can be a program name with args.
9878 set dummy sane-config; ac_word=$2
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9880 $as_echo_n "checking for $ac_word... " >&6; }
9881 if test "${ac_cv_prog_sane_devel+set}" = set; then :
9882 $as_echo_n "(cached) " >&6
9884 if test -n "$sane_devel"; then
9885 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9891 test -z "$as_dir" && as_dir=.
9892 for ac_exec_ext in '' $ac_executable_extensions; do
9893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9894 ac_cv_prog_sane_devel="sane-config"
9895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9902 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9905 sane_devel=$ac_cv_prog_sane_devel
9906 if test -n "$sane_devel"; then
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
9908 $as_echo "$sane_devel" >&6; }
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9911 $as_echo "no" >&6; }
9915 if test "$sane_devel" != "no"
9917 ac_sane_incl="`$sane_devel --cflags`"
9918 ac_sane_libs="`$sane_devel --ldflags`"
9919 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
9921 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
9922 if test "x$ac_cv_header_sane_sane_h" = x""yes; then :
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
9924 $as_echo_n "checking for -lsane... " >&6; }
9925 if test "${ac_cv_lib_soname_sane+set}" = set; then :
9926 $as_echo_n "(cached) " >&6
9928 ac_check_soname_save_LIBS=$LIBS
9929 LIBS="-lsane $ac_sane_libs $LIBS"
9930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9931 /* end confdefs.h. */
9933 /* Override any GCC internal prototype to avoid an error.
9934 Use char because int might match the return type of a GCC
9935 builtin and then its argument prototype would still apply. */
9943 return sane_init ();
9948 if ac_fn_c_try_link "$LINENO"; then :
9950 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9951 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'` ;;
9952 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9955 rm -f core conftest.err conftest.$ac_objext \
9956 conftest$ac_exeext conftest.$ac_ext
9957 LIBS=$ac_check_soname_save_LIBS
9959 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9961 $as_echo "not found" >&6; }
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
9965 $as_echo "$ac_cv_lib_soname_sane" >&6; }
9967 cat >>confdefs.h <<_ACEOF
9968 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
9971 SANEINCL="$ac_sane_incl"
9977 CPPFLAGS="$ac_save_CPPFLAGS"
9979 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9980 case "x$with_sane" in
9981 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
9983 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
9984 This is an error since --with-sane was requested." "$LINENO" 5 ;;
9988 if test "x$with_v4l" != "xno"
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
9991 $as_echo_n "checking for -lv4l1... " >&6; }
9992 if test "${ac_cv_lib_soname_v4l1+set}" = set; then :
9993 $as_echo_n "(cached) " >&6
9995 ac_check_soname_save_LIBS=$LIBS
9997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9998 /* end confdefs.h. */
10000 /* Override any GCC internal prototype to avoid an error.
10001 Use char because int might match the return type of a GCC
10002 builtin and then its argument prototype would still apply. */
10010 return v4l1_open ();
10015 if ac_fn_c_try_link "$LINENO"; then :
10017 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10018 dylib) ac_cv_lib_soname_v4l1=`otool -L conftest$ac_exeext | grep "libv4l1\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libv4l1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10019 *) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10022 rm -f core conftest.err conftest.$ac_objext \
10023 conftest$ac_exeext conftest.$ac_ext
10024 LIBS=$ac_check_soname_save_LIBS
10026 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10028 $as_echo "not found" >&6; }
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10032 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10034 cat >>confdefs.h <<_ACEOF
10035 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10041 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10042 case "x$with_v4l" in
10043 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
10045 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
10046 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10050 if test "x$with_gphoto" != "xno"
10052 ac_save_CPPFLAGS="$CPPFLAGS"
10053 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10054 set dummy gphoto2-config; ac_word=$2
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10056 $as_echo_n "checking for $ac_word... " >&6; }
10057 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then :
10058 $as_echo_n "(cached) " >&6
10060 if test -n "$gphoto2_devel"; then
10061 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10064 for as_dir in $PATH
10067 test -z "$as_dir" && as_dir=.
10068 for ac_exec_ext in '' $ac_executable_extensions; do
10069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10070 ac_cv_prog_gphoto2_devel="gphoto2-config"
10071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10078 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10081 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10082 if test -n "$gphoto2_devel"; then
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
10084 $as_echo "$gphoto2_devel" >&6; }
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10087 $as_echo "no" >&6; }
10091 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10092 set dummy gphoto2-port-config; ac_word=$2
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10094 $as_echo_n "checking for $ac_word... " >&6; }
10095 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then :
10096 $as_echo_n "(cached) " >&6
10098 if test -n "$gphoto2port_devel"; then
10099 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10102 for as_dir in $PATH
10105 test -z "$as_dir" && as_dir=.
10106 for ac_exec_ext in '' $ac_executable_extensions; do
10107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10108 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10116 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10119 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10120 if test -n "$gphoto2port_devel"; then
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
10122 $as_echo "$gphoto2port_devel" >&6; }
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10125 $as_echo "no" >&6; }
10129 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10131 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10133 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10136 -L/usr/lib|-L/usr/lib64) ;;
10137 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
10140 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
10142 ac_gphoto2_libs=${ac_gphoto2_libs:-"-lgphoto2"}
10143 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10144 if test "x$ac_cv_header_gphoto2_camera_h" = x""yes; then :
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10146 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10147 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then :
10148 $as_echo_n "(cached) " >&6
10150 ac_check_lib_save_LIBS=$LIBS
10151 LIBS="-lgphoto2 $ac_gphoto2_libs $LIBS"
10152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10153 /* end confdefs.h. */
10155 /* Override any GCC internal prototype to avoid an error.
10156 Use char because int might match the return type of a GCC
10157 builtin and then its argument prototype would still apply. */
10161 char gp_camera_new ();
10165 return gp_camera_new ();
10170 if ac_fn_c_try_link "$LINENO"; then :
10171 ac_cv_lib_gphoto2_gp_camera_new=yes
10173 ac_cv_lib_gphoto2_gp_camera_new=no
10175 rm -f core conftest.err conftest.$ac_objext \
10176 conftest$ac_exeext conftest.$ac_ext
10177 LIBS=$ac_check_lib_save_LIBS
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10180 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10181 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = x""yes; then :
10183 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10185 GPHOTO2LIBS="$ac_gphoto2_libs"
10187 GPHOTO2INCL="$ac_gphoto2_incl"
10194 CPPFLAGS="$ac_save_CPPFLAGS"
10196 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10197 case "x$with_gphoto" in
10198 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10200 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10201 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10206 if test "$ac_cv_header_resolv_h" = "yes"
10208 ac_save_LIBS="$LIBS"
10209 for lib in '' -lresolv
10211 LIBS="$lib $ac_save_LIBS"
10212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10213 /* end confdefs.h. */
10214 #ifdef HAVE_NETINET_IN_H
10215 #include <netinet/in.h>
10217 #include <resolv.h>
10221 res_query("foo",ns_c_in,0,0,0);
10226 if ac_fn_c_try_link "$LINENO"; then :
10228 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10233 rm -f core conftest.err conftest.$ac_objext \
10234 conftest$ac_exeext conftest.$ac_ext
10235 if test "${RESOLVLIBS+set}" = set; then
10239 LIBS="$ac_save_LIBS"
10244 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10247 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10248 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then :
10249 $as_echo_n "(cached) " >&6
10251 ac_check_lib_save_LIBS=$LIBS
10252 LIBS="-llcms $LIBS"
10253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10254 /* end confdefs.h. */
10256 /* Override any GCC internal prototype to avoid an error.
10257 Use char because int might match the return type of a GCC
10258 builtin and then its argument prototype would still apply. */
10262 char cmsOpenProfileFromFile ();
10266 return cmsOpenProfileFromFile ();
10271 if ac_fn_c_try_link "$LINENO"; then :
10272 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10274 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10276 rm -f core conftest.err conftest.$ac_objext \
10277 conftest$ac_exeext conftest.$ac_ext
10278 LIBS=$ac_check_lib_save_LIBS
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10281 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10282 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = x""yes; then :
10284 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10290 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10291 case "x$with_cms" in
10292 x) as_fn_append wine_notices "|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10294 *) as_fn_error $? "liblcms ${notice_platform}development files not found, Color Management won't be supported.
10295 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10299 if test "x$with_freetype" != "xno"
10301 for ac_prog in freetype-config freetype2-config
10303 # Extract the first word of "$ac_prog", so it can be a program name with args.
10304 set dummy $ac_prog; ac_word=$2
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10306 $as_echo_n "checking for $ac_word... " >&6; }
10307 if test "${ac_cv_prog_ft_devel+set}" = set; then :
10308 $as_echo_n "(cached) " >&6
10310 if test -n "$ft_devel"; then
10311 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10314 for as_dir in $PATH
10317 test -z "$as_dir" && as_dir=.
10318 for ac_exec_ext in '' $ac_executable_extensions; do
10319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10320 ac_cv_prog_ft_devel="$ac_prog"
10321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10330 ft_devel=$ac_cv_prog_ft_devel
10331 if test -n "$ft_devel"; then
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10333 $as_echo "$ft_devel" >&6; }
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10336 $as_echo "no" >&6; }
10340 test -n "$ft_devel" && break
10342 test -n "$ft_devel" || ft_devel="no"
10344 if test "$ft_devel" != "no"
10346 ac_freetype_incl=`$ft_devel --cflags`
10347 ac_freetype_libs=`$ft_devel --libs`
10349 ac_freetype_libs=${ac_freetype_libs:-"-lfreetype"}
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10351 $as_echo_n "checking for -lfreetype... " >&6; }
10352 if test "${ac_cv_lib_soname_freetype+set}" = set; then :
10353 $as_echo_n "(cached) " >&6
10355 ac_check_soname_save_LIBS=$LIBS
10356 LIBS="-lfreetype $ac_freetype_libs $LIBS"
10357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10358 /* end confdefs.h. */
10360 /* Override any GCC internal prototype to avoid an error.
10361 Use char because int might match the return type of a GCC
10362 builtin and then its argument prototype would still apply. */
10366 char FT_Init_FreeType ();
10370 return FT_Init_FreeType ();
10375 if ac_fn_c_try_link "$LINENO"; then :
10377 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10378 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'` ;;
10379 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10382 rm -f core conftest.err conftest.$ac_objext \
10383 conftest$ac_exeext conftest.$ac_ext
10384 LIBS=$ac_check_soname_save_LIBS
10386 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10388 $as_echo "not found" >&6; }
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10392 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10394 cat >>confdefs.h <<_ACEOF
10395 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10400 if test "$ft_lib" = "yes"
10402 ac_save_CPPFLAGS="$CPPFLAGS"
10403 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
10404 for ac_header in ft2build.h \
10405 freetype/freetype.h \
10406 freetype/ftglyph.h \
10407 freetype/fttypes.h \
10408 freetype/tttables.h \
10409 freetype/ftsnames.h \
10410 freetype/ttnameid.h \
10411 freetype/ftoutln.h \
10412 freetype/ftwinfnt.h \
10413 freetype/ftmodapi.h \
10414 freetype/ftlcdfil.h \
10415 freetype/internal/sfnt.h
10417 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10418 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10419 # include <ft2build.h>
10422 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10423 cat >>confdefs.h <<_ACEOF
10424 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10432 /* end confdefs.h. */
10433 #include <ft2build.h>
10434 #include <freetype/fttrigon.h>
10436 if ac_fn_c_try_cpp "$LINENO"; then :
10438 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10440 wine_cv_fttrigon=yes
10442 wine_cv_fttrigon=no
10444 rm -f conftest.err conftest.i conftest.$ac_ext
10445 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10447 if test "x$ac_cv_type_FT_TrueTypeEngineType" = x""yes; then :
10449 cat >>confdefs.h <<_ACEOF
10450 #define HAVE_FT_TRUETYPEENGINETYPE 1
10456 ac_save_CFLAGS="$CFLAGS"
10457 CFLAGS="$CFLAGS $ac_freetype_libs"
10458 for ac_func in FT_Load_Sfnt_Table
10460 ac_fn_c_check_func "$LINENO" "FT_Load_Sfnt_Table" "ac_cv_func_FT_Load_Sfnt_Table"
10461 if test "x$ac_cv_func_FT_Load_Sfnt_Table" = x""yes; then :
10462 cat >>confdefs.h <<_ACEOF
10463 #define HAVE_FT_LOAD_SFNT_TABLE 1
10469 CFLAGS="$ac_save_CFLAGS"
10470 CPPFLAGS="$ac_save_CPPFLAGS"
10471 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10474 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10476 FREETYPELIBS="$ac_freetype_libs"
10478 FREETYPEINCL="$ac_freetype_incl"
10483 if test "x$FREETYPELIBS" = "x"; then :
10484 case "x$with_freetype" in
10486 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
10487 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10490 test "x$FREETYPELIBS" = "x" && enable_fonts=${enable_fonts:-no}
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10493 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10494 if test "${ac_cv_c_ppdev+set}" = set; then :
10495 $as_echo_n "(cached) " >&6
10497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10498 /* end confdefs.h. */
10499 #ifdef HAVE_SYS_IOCTL_H
10500 # include <sys/ioctl.h>
10502 #include <linux/ppdev.h>
10506 ioctl (1,PPCLAIM,0)
10511 if ac_fn_c_try_compile "$LINENO"; then :
10512 ac_cv_c_ppdev="yes"
10516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10519 $as_echo "$ac_cv_c_ppdev" >&6; }
10520 if test "$ac_cv_c_ppdev" = "yes"
10523 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10527 ac_wine_check_funcs_save_LIBS="$LIBS"
10528 LIBS="$LIBS $LIBPTHREAD"
10530 pthread_attr_get_np \
10531 pthread_getattr_np \
10532 pthread_get_stackaddr_np \
10533 pthread_get_stacksize_np
10535 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10536 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10537 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
10538 cat >>confdefs.h <<_ACEOF
10539 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10545 LIBS="$ac_wine_check_funcs_save_LIBS"
10547 if test "$ac_cv_header_zlib_h" = "yes"
10549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10550 $as_echo_n "checking for inflate in -lz... " >&6; }
10551 if test "${ac_cv_lib_z_inflate+set}" = set; then :
10552 $as_echo_n "(cached) " >&6
10554 ac_check_lib_save_LIBS=$LIBS
10556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10557 /* end confdefs.h. */
10559 /* Override any GCC internal prototype to avoid an error.
10560 Use char because int might match the return type of a GCC
10561 builtin and then its argument prototype would still apply. */
10574 if ac_fn_c_try_link "$LINENO"; then :
10575 ac_cv_lib_z_inflate=yes
10577 ac_cv_lib_z_inflate=no
10579 rm -f core conftest.err conftest.$ac_objext \
10580 conftest$ac_exeext conftest.$ac_ext
10581 LIBS=$ac_check_lib_save_LIBS
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10584 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10585 if test "x$ac_cv_lib_z_inflate" = x""yes; then :
10587 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10595 if test "x$enable_tools" != xno
10597 if test "$ac_cv_header_gettext_po_h" = "yes"
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_file_write in -lgettextpo" >&5
10600 $as_echo_n "checking for po_file_write in -lgettextpo... " >&6; }
10601 if test "${ac_cv_lib_gettextpo_po_file_write+set}" = set; then :
10602 $as_echo_n "(cached) " >&6
10604 ac_check_lib_save_LIBS=$LIBS
10605 LIBS="-lgettextpo $LIBS"
10606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10607 /* end confdefs.h. */
10609 /* Override any GCC internal prototype to avoid an error.
10610 Use char because int might match the return type of a GCC
10611 builtin and then its argument prototype would still apply. */
10615 char po_file_write ();
10619 return po_file_write ();
10624 if ac_fn_c_try_link "$LINENO"; then :
10625 ac_cv_lib_gettextpo_po_file_write=yes
10627 ac_cv_lib_gettextpo_po_file_write=no
10629 rm -f core conftest.err conftest.$ac_objext \
10630 conftest$ac_exeext conftest.$ac_ext
10631 LIBS=$ac_check_lib_save_LIBS
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_file_write" >&5
10634 $as_echo "$ac_cv_lib_gettextpo_po_file_write" >&6; }
10635 if test "x$ac_cv_lib_gettextpo_po_file_write" = x""yes; then :
10637 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
10639 LIBGETTEXTPO="-lgettextpo"
10644 if test "x$LIBGETTEXTPO" = "x"; then :
10645 case "x$with_gettextpo" in
10646 x) as_fn_append wine_warnings "|GetText ${notice_platform}development files not found. Internationalization won't be fully supported." ;;
10648 *) as_fn_error $? "GetText ${notice_platform}development files not found. Internationalization won't be fully supported.
10649 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
10654 if test "x$with_esd" != xno
10656 save_CFLAGS="$CFLAGS"
10657 # Extract the first word of "esd-config", so it can be a program name with args.
10658 set dummy esd-config; ac_word=$2
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10660 $as_echo_n "checking for $ac_word... " >&6; }
10661 if test "${ac_cv_path_ESDCONFIG+set}" = set; then :
10662 $as_echo_n "(cached) " >&6
10666 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
10669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10670 for as_dir in $PATH
10673 test -z "$as_dir" && as_dir=.
10674 for ac_exec_ext in '' $ac_executable_extensions; do
10675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10676 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
10677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10684 test -z "$ac_cv_path_ESDCONFIG" && ac_cv_path_ESDCONFIG="no"
10688 ESDCONFIG=$ac_cv_path_ESDCONFIG
10689 if test -n "$ESDCONFIG"; then
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ESDCONFIG" >&5
10691 $as_echo "$ESDCONFIG" >&6; }
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10694 $as_echo "no" >&6; }
10698 if test "x$ESDCONFIG" != "xno"
10701 for i in `$ESDCONFIG --cflags`
10704 -I*) ac_esd_incl="$ac_esd_incl $i";;
10707 ac_esd_libs=`$ESDCONFIG --libs`
10708 CFLAGS="$CFLAGS $ac_esd_incl"
10710 ac_esd_libs=${ac_esd_libs:-"-lesd"}
10711 ac_fn_c_check_header_mongrel "$LINENO" "esd.h" "ac_cv_header_esd_h" "$ac_includes_default"
10712 if test "x$ac_cv_header_esd_h" = x""yes; then :
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for esd_open_sound in -lesd" >&5
10714 $as_echo_n "checking for esd_open_sound in -lesd... " >&6; }
10715 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then :
10716 $as_echo_n "(cached) " >&6
10718 ac_check_lib_save_LIBS=$LIBS
10719 LIBS="-lesd $ac_esd_libs $LIBS"
10720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10721 /* end confdefs.h. */
10723 /* Override any GCC internal prototype to avoid an error.
10724 Use char because int might match the return type of a GCC
10725 builtin and then its argument prototype would still apply. */
10729 char esd_open_sound ();
10733 return esd_open_sound ();
10738 if ac_fn_c_try_link "$LINENO"; then :
10739 ac_cv_lib_esd_esd_open_sound=yes
10741 ac_cv_lib_esd_esd_open_sound=no
10743 rm -f core conftest.err conftest.$ac_objext \
10744 conftest$ac_exeext conftest.$ac_ext
10745 LIBS=$ac_check_lib_save_LIBS
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_esd_esd_open_sound" >&5
10748 $as_echo "$ac_cv_lib_esd_esd_open_sound" >&6; }
10749 if test "x$ac_cv_lib_esd_esd_open_sound" = x""yes; then :
10750 ESDINCL="$ac_esd_incl"
10752 ESDLIBS="$ac_esd_libs"
10755 $as_echo "#define HAVE_ESD 1" >>confdefs.h
10762 CFLAGS="$save_CFLAGS"
10765 if test "x$with_gstreamer" != "xno"
10767 ac_save_CPPFLAGS="$CPPFLAGS"
10768 if test "$PKG_CONFIG" != "false"; then
10770 for i in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
10773 -I*) ac_gst_incl="$ac_gst_incl $i";;
10776 ac_gst_libs="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
10777 CPPFLAGS="$CPPFLAGS $ac_gst_incl"
10778 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
10779 if test "x$ac_cv_header_gst_gstpad_h" = x""yes; then :
10780 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
10781 if test "x$ac_cv_header_gst_app_gstappsink_h" = x""yes; then :
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
10783 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
10784 if test "${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+set}" = set; then :
10785 $as_echo_n "(cached) " >&6
10787 ac_check_lib_save_LIBS=$LIBS
10788 LIBS="-lgstreamer-0.10 $LIBS"
10789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10790 /* end confdefs.h. */
10792 /* Override any GCC internal prototype to avoid an error.
10793 Use char because int might match the return type of a GCC
10794 builtin and then its argument prototype would still apply. */
10798 char gst_pad_get_caps_reffed ();
10802 return gst_pad_get_caps_reffed ();
10807 if ac_fn_c_try_link "$LINENO"; then :
10808 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
10810 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
10812 rm -f core conftest.err conftest.$ac_objext \
10813 conftest$ac_exeext conftest.$ac_ext
10814 LIBS=$ac_check_lib_save_LIBS
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
10817 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
10818 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = x""yes; then :
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
10820 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
10821 if test "${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+set}" = set; then :
10822 $as_echo_n "(cached) " >&6
10824 ac_check_lib_save_LIBS=$LIBS
10825 LIBS="-lgstapp-0.10 $ac_gst_libs $LIBS"
10826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10827 /* end confdefs.h. */
10829 /* Override any GCC internal prototype to avoid an error.
10830 Use char because int might match the return type of a GCC
10831 builtin and then its argument prototype would still apply. */
10835 char gst_app_buffer_new ();
10839 return gst_app_buffer_new ();
10844 if ac_fn_c_try_link "$LINENO"; then :
10845 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
10847 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
10849 rm -f core conftest.err conftest.$ac_objext \
10850 conftest$ac_exeext conftest.$ac_ext
10851 LIBS=$ac_check_lib_save_LIBS
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
10854 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
10855 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = x""yes; then :
10856 GSTREAMER_LIBS="$ac_gst_libs"
10858 GSTREAMER_INCL="$ac_gst_incl"
10871 CPPFLAGS="$ac_save_CPPFLAGS"
10873 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes; then :
10874 case "x$with_gstreamer" in
10875 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
10877 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
10878 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
10881 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
10885 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access in -lasound" >&5
10888 $as_echo_n "checking for snd_pcm_hw_params_get_access in -lasound... " >&6; }
10889 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then :
10890 $as_echo_n "(cached) " >&6
10892 ac_check_lib_save_LIBS=$LIBS
10893 LIBS="-lasound $LIBS"
10894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10895 /* end confdefs.h. */
10897 /* Override any GCC internal prototype to avoid an error.
10898 Use char because int might match the return type of a GCC
10899 builtin and then its argument prototype would still apply. */
10903 char snd_pcm_hw_params_get_access ();
10907 return snd_pcm_hw_params_get_access ();
10912 if ac_fn_c_try_link "$LINENO"; then :
10913 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
10915 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
10917 rm -f core conftest.err conftest.$ac_objext \
10918 conftest$ac_exeext conftest.$ac_ext
10919 LIBS=$ac_check_lib_save_LIBS
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
10922 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
10923 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access" = x""yes; then :
10924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10925 /* end confdefs.h. */
10926 #ifdef HAVE_ALSA_ASOUNDLIB_H
10927 #include <alsa/asoundlib.h>
10928 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10929 #include <sys/asoundlib.h>
10934 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
10939 if ac_fn_c_try_compile "$LINENO"; then :
10941 $as_echo "#define HAVE_ALSA 1" >>confdefs.h
10943 ALSALIBS="-lasound"
10945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10951 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
10954 $as_echo_n "checking for -lcapi20... " >&6; }
10955 if test "${ac_cv_lib_soname_capi20+set}" = set; then :
10956 $as_echo_n "(cached) " >&6
10958 ac_check_soname_save_LIBS=$LIBS
10959 LIBS="-lcapi20 $LIBS"
10960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961 /* end confdefs.h. */
10963 /* Override any GCC internal prototype to avoid an error.
10964 Use char because int might match the return type of a GCC
10965 builtin and then its argument prototype would still apply. */
10969 char capi20_register ();
10973 return capi20_register ();
10978 if ac_fn_c_try_link "$LINENO"; then :
10980 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10981 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'` ;;
10982 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10985 rm -f core conftest.err conftest.$ac_objext \
10986 conftest$ac_exeext conftest.$ac_ext
10987 LIBS=$ac_check_soname_save_LIBS
10989 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10991 $as_echo "not found" >&6; }
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
10995 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
10997 cat >>confdefs.h <<_ACEOF
10998 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11004 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11005 case "x$with_capi" in
11006 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11008 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11009 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11015 if test "x$with_cups" != "xno"
11017 ac_save_CPPFLAGS="$CPPFLAGS"
11018 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
11019 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
11020 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
11021 for ac_header in cups/cups.h
11023 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11024 if test "x$ac_cv_header_cups_cups_h" = x""yes; then :
11025 cat >>confdefs.h <<_ACEOF
11026 #define HAVE_CUPS_CUPS_H 1
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11029 $as_echo_n "checking for -lcups... " >&6; }
11030 if test "${ac_cv_lib_soname_cups+set}" = set; then :
11031 $as_echo_n "(cached) " >&6
11033 ac_check_soname_save_LIBS=$LIBS
11034 LIBS="-lcups $ac_cups_libs $LIBS"
11035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11036 /* end confdefs.h. */
11038 /* Override any GCC internal prototype to avoid an error.
11039 Use char because int might match the return type of a GCC
11040 builtin and then its argument prototype would still apply. */
11044 char cupsGetDefault ();
11048 return cupsGetDefault ();
11053 if ac_fn_c_try_link "$LINENO"; then :
11055 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11056 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'` ;;
11057 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11060 rm -f core conftest.err conftest.$ac_objext \
11061 conftest$ac_exeext conftest.$ac_ext
11062 LIBS=$ac_check_soname_save_LIBS
11064 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11066 $as_echo "not found" >&6; }
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11070 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11072 cat >>confdefs.h <<_ACEOF
11073 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11076 CUPSINCL="$ac_cups_cflags"
11082 CPPFLAGS="$ac_save_CPPFLAGS"
11084 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11085 case "x$with_cups" in
11086 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11088 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
11089 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11093 if test "$ac_cv_header_jack_jack_h" = "yes"
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljack" >&5
11096 $as_echo_n "checking for -ljack... " >&6; }
11097 if test "${ac_cv_lib_soname_jack+set}" = set; then :
11098 $as_echo_n "(cached) " >&6
11100 ac_check_soname_save_LIBS=$LIBS
11101 LIBS="-ljack $LIBS"
11102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11103 /* end confdefs.h. */
11105 /* Override any GCC internal prototype to avoid an error.
11106 Use char because int might match the return type of a GCC
11107 builtin and then its argument prototype would still apply. */
11111 char jack_client_new ();
11115 return jack_client_new ();
11120 if ac_fn_c_try_link "$LINENO"; then :
11122 dll) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest.exe | grep "jack" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11123 dylib) ac_cv_lib_soname_jack=`otool -L conftest$ac_exeext | grep "libjack-*[0-9.]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjack-*[0-9.]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11124 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack-*[0-9.]*\\.$LIBEXT" | sed -e "s/^.*\(libjack-*[0-9.]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11127 rm -f core conftest.err conftest.$ac_objext \
11128 conftest$ac_exeext conftest.$ac_ext
11129 LIBS=$ac_check_soname_save_LIBS
11131 if test "x$ac_cv_lib_soname_jack" = "x"; then :
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11133 $as_echo "not found" >&6; }
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jack" >&5
11137 $as_echo "$ac_cv_lib_soname_jack" >&6; }
11139 cat >>confdefs.h <<_ACEOF
11140 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
11147 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11150 $as_echo_n "checking for -lfontconfig... " >&6; }
11151 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then :
11152 $as_echo_n "(cached) " >&6
11154 ac_check_soname_save_LIBS=$LIBS
11155 LIBS="-lfontconfig $LIBS"
11156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11157 /* end confdefs.h. */
11159 /* Override any GCC internal prototype to avoid an error.
11160 Use char because int might match the return type of a GCC
11161 builtin and then its argument prototype would still apply. */
11174 if ac_fn_c_try_link "$LINENO"; then :
11176 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11177 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'` ;;
11178 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11181 rm -f core conftest.err conftest.$ac_objext \
11182 conftest$ac_exeext conftest.$ac_ext
11183 LIBS=$ac_check_soname_save_LIBS
11185 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11187 $as_echo "not found" >&6; }
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11191 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11193 cat >>confdefs.h <<_ACEOF
11194 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11199 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11201 ac_save_CPPFLAGS="$CPPFLAGS"
11202 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11203 $as_unset ac_cv_header_fontconfig_fontconfig_h
11204 for ac_header in fontconfig/fontconfig.h
11206 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11207 if test "x$ac_cv_header_fontconfig_fontconfig_h" = x""yes; then :
11208 cat >>confdefs.h <<_ACEOF
11209 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11216 CPPFLAGS="$ac_save_CPPFLAGS"
11217 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11219 FONTCONFIGINCL="$X_CFLAGS"
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11222 $as_echo_n "checking for -lfontconfig... " >&6; }
11223 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then :
11224 $as_echo_n "(cached) " >&6
11226 ac_check_soname_save_LIBS=$LIBS
11227 LIBS="-lfontconfig $X_LIBS $LIBS"
11228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11229 /* end confdefs.h. */
11231 /* Override any GCC internal prototype to avoid an error.
11232 Use char because int might match the return type of a GCC
11233 builtin and then its argument prototype would still apply. */
11246 if ac_fn_c_try_link "$LINENO"; then :
11248 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11249 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'` ;;
11250 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11253 rm -f core conftest.err conftest.$ac_objext \
11254 conftest$ac_exeext conftest.$ac_ext
11255 LIBS=$ac_check_soname_save_LIBS
11257 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11259 $as_echo "not found" >&6; }
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11263 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11265 cat >>confdefs.h <<_ACEOF
11266 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11273 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11274 case "x$with_fontconfig" in
11275 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11277 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11278 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11282 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
11285 $as_echo_n "checking for -lssl... " >&6; }
11286 if test "${ac_cv_lib_soname_ssl+set}" = set; then :
11287 $as_echo_n "(cached) " >&6
11289 ac_check_soname_save_LIBS=$LIBS
11291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11292 /* end confdefs.h. */
11294 /* Override any GCC internal prototype to avoid an error.
11295 Use char because int might match the return type of a GCC
11296 builtin and then its argument prototype would still apply. */
11300 char SSL_library_init ();
11304 return SSL_library_init ();
11309 if ac_fn_c_try_link "$LINENO"; then :
11311 dll) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11312 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'` ;;
11313 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11316 rm -f core conftest.err conftest.$ac_objext \
11317 conftest$ac_exeext conftest.$ac_ext
11318 LIBS=$ac_check_soname_save_LIBS
11320 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11322 $as_echo "not found" >&6; }
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
11326 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
11328 cat >>confdefs.h <<_ACEOF
11329 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
11335 $as_echo_n "checking for -lcrypto... " >&6; }
11336 if test "${ac_cv_lib_soname_crypto+set}" = set; then :
11337 $as_echo_n "(cached) " >&6
11339 ac_check_soname_save_LIBS=$LIBS
11340 LIBS="-lcrypto $LIBS"
11341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11342 /* end confdefs.h. */
11344 /* Override any GCC internal prototype to avoid an error.
11345 Use char because int might match the return type of a GCC
11346 builtin and then its argument prototype would still apply. */
11350 char BIO_new_socket ();
11354 return BIO_new_socket ();
11359 if ac_fn_c_try_link "$LINENO"; then :
11361 dll) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11362 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'` ;;
11363 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11366 rm -f core conftest.err conftest.$ac_objext \
11367 conftest$ac_exeext conftest.$ac_ext
11368 LIBS=$ac_check_soname_save_LIBS
11370 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11372 $as_echo "not found" >&6; }
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
11376 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
11378 cat >>confdefs.h <<_ACEOF
11379 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
11385 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
11386 case "x$with_openssl" in
11387 x) as_fn_append wine_warnings "|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
11389 *) as_fn_error $? "OpenSSL ${notice_platform}development files not found, SSL won't be supported.
11390 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
11394 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11397 $as_echo_n "checking for -lgsm... " >&6; }
11398 if test "${ac_cv_lib_soname_gsm+set}" = set; then :
11399 $as_echo_n "(cached) " >&6
11401 ac_check_soname_save_LIBS=$LIBS
11403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11404 /* end confdefs.h. */
11406 /* Override any GCC internal prototype to avoid an error.
11407 Use char because int might match the return type of a GCC
11408 builtin and then its argument prototype would still apply. */
11412 char gsm_create ();
11416 return gsm_create ();
11421 if ac_fn_c_try_link "$LINENO"; then :
11423 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11424 dylib) ac_cv_lib_soname_gsm=`otool -L conftest$ac_exeext | grep "libgsm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgsm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11425 *) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11428 rm -f core conftest.err conftest.$ac_objext \
11429 conftest$ac_exeext conftest.$ac_ext
11430 LIBS=$ac_check_soname_save_LIBS
11432 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11434 $as_echo "not found" >&6; }
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11438 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11440 cat >>confdefs.h <<_ACEOF
11441 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11447 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11448 case "x$with_gsm" in
11449 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11451 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11452 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11456 if test "$ac_cv_header_icns_h" = "yes"
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -licns" >&5
11459 $as_echo_n "checking for -licns... " >&6; }
11460 if test "${ac_cv_lib_soname_icns+set}" = set; then :
11461 $as_echo_n "(cached) " >&6
11463 ac_check_soname_save_LIBS=$LIBS
11464 LIBS="-licns $LIBS"
11465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11466 /* end confdefs.h. */
11468 /* Override any GCC internal prototype to avoid an error.
11469 Use char because int might match the return type of a GCC
11470 builtin and then its argument prototype would still apply. */
11474 char icns_write_family_to_file ();
11478 return icns_write_family_to_file ();
11483 if ac_fn_c_try_link "$LINENO"; then :
11485 dll) ac_cv_lib_soname_icns=`$ac_cv_path_LDD conftest.exe | grep "icns" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11486 dylib) ac_cv_lib_soname_icns=`otool -L conftest$ac_exeext | grep "libicns\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libicns\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11487 *) ac_cv_lib_soname_icns=`$ac_cv_path_LDD conftest$ac_exeext | grep "libicns\\.$LIBEXT" | sed -e "s/^.*\(libicns\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11490 rm -f core conftest.err conftest.$ac_objext \
11491 conftest$ac_exeext conftest.$ac_ext
11492 LIBS=$ac_check_soname_save_LIBS
11494 if test "x$ac_cv_lib_soname_icns" = "x"; then :
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11496 $as_echo "not found" >&6; }
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_icns" >&5
11500 $as_echo "$ac_cv_lib_soname_icns" >&6; }
11502 cat >>confdefs.h <<_ACEOF
11503 #define SONAME_LIBICNS "$ac_cv_lib_soname_icns"
11511 if test "x$ac_cv_lib_soname_icns" = "x"; then :
11512 case "x$with_icns" in
11513 x) as_fn_append wine_notices "|libicns ${notice_platform}development files not found, ICNS icons won't be supported." ;;
11515 *) as_fn_error $? "libicns ${notice_platform}development files not found, ICNS icons won't be supported.
11516 This is an error since --with-icns was requested." "$LINENO" 5 ;;
11521 if test "$ac_cv_header_jpeglib_h" = "yes"
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11524 $as_echo_n "checking for -ljpeg... " >&6; }
11525 if test "${ac_cv_lib_soname_jpeg+set}" = set; then :
11526 $as_echo_n "(cached) " >&6
11528 ac_check_soname_save_LIBS=$LIBS
11529 LIBS="-ljpeg $LIBS"
11530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11531 /* end confdefs.h. */
11533 /* Override any GCC internal prototype to avoid an error.
11534 Use char because int might match the return type of a GCC
11535 builtin and then its argument prototype would still apply. */
11539 char jpeg_start_decompress ();
11543 return jpeg_start_decompress ();
11548 if ac_fn_c_try_link "$LINENO"; then :
11550 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11551 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'` ;;
11552 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11555 rm -f core conftest.err conftest.$ac_objext \
11556 conftest$ac_exeext conftest.$ac_ext
11557 LIBS=$ac_check_soname_save_LIBS
11559 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11561 $as_echo "not found" >&6; }
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11565 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11567 cat >>confdefs.h <<_ACEOF
11568 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11574 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11575 case "x$with_jpeg" in
11576 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11578 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11579 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11583 if test "$ac_cv_header_png_h" = "yes"
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11586 $as_echo_n "checking for -lpng... " >&6; }
11587 if test "${ac_cv_lib_soname_png+set}" = set; then :
11588 $as_echo_n "(cached) " >&6
11590 ac_check_soname_save_LIBS=$LIBS
11591 LIBS="-lpng -lm -lz $LIBS"
11592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11593 /* end confdefs.h. */
11595 /* Override any GCC internal prototype to avoid an error.
11596 Use char because int might match the return type of a GCC
11597 builtin and then its argument prototype would still apply. */
11601 char png_create_read_struct ();
11605 return png_create_read_struct ();
11610 if ac_fn_c_try_link "$LINENO"; then :
11612 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11613 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'` ;;
11614 *) 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'` ;;
11617 rm -f core conftest.err conftest.$ac_objext \
11618 conftest$ac_exeext conftest.$ac_ext
11619 LIBS=$ac_check_soname_save_LIBS
11621 if test "x$ac_cv_lib_soname_png" = "x"; then :
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11623 $as_echo "not found" >&6; }
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11627 $as_echo "$ac_cv_lib_soname_png" >&6; }
11629 cat >>confdefs.h <<_ACEOF
11630 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11636 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11637 if test "${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+set}" = set; then :
11638 $as_echo_n "(cached) " >&6
11640 ac_check_lib_save_LIBS=$LIBS
11641 LIBS="-lpng -lm -lz $LIBS"
11642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11643 /* end confdefs.h. */
11645 /* Override any GCC internal prototype to avoid an error.
11646 Use char because int might match the return type of a GCC
11647 builtin and then its argument prototype would still apply. */
11651 char png_set_expand_gray_1_2_4_to_8 ();
11655 return png_set_expand_gray_1_2_4_to_8 ();
11660 if ac_fn_c_try_link "$LINENO"; then :
11661 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11663 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11665 rm -f core conftest.err conftest.$ac_objext \
11666 conftest$ac_exeext conftest.$ac_ext
11667 LIBS=$ac_check_lib_save_LIBS
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11670 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11671 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = x""yes; then :
11673 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11678 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11680 ac_save_CPPFLAGS="$CPPFLAGS"
11681 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11682 $as_unset ac_cv_header_png_h
11683 for ac_header in png.h
11685 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11686 if test "x$ac_cv_header_png_h" = x""yes; then :
11687 cat >>confdefs.h <<_ACEOF
11688 #define HAVE_PNG_H 1
11695 CPPFLAGS="$ac_save_CPPFLAGS"
11696 if test "$ac_cv_header_png_h" = "yes"
11698 PNGINCL="$X_CFLAGS"
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11701 $as_echo_n "checking for -lpng... " >&6; }
11702 if test "${ac_cv_lib_soname_png+set}" = set; then :
11703 $as_echo_n "(cached) " >&6
11705 ac_check_soname_save_LIBS=$LIBS
11706 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11708 /* end confdefs.h. */
11710 /* Override any GCC internal prototype to avoid an error.
11711 Use char because int might match the return type of a GCC
11712 builtin and then its argument prototype would still apply. */
11716 char png_create_read_struct ();
11720 return png_create_read_struct ();
11725 if ac_fn_c_try_link "$LINENO"; then :
11727 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11728 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'` ;;
11729 *) 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'` ;;
11732 rm -f core conftest.err conftest.$ac_objext \
11733 conftest$ac_exeext conftest.$ac_ext
11734 LIBS=$ac_check_soname_save_LIBS
11736 if test "x$ac_cv_lib_soname_png" = "x"; then :
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11738 $as_echo "not found" >&6; }
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11742 $as_echo "$ac_cv_lib_soname_png" >&6; }
11744 cat >>confdefs.h <<_ACEOF
11745 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11751 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11752 if test "${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+set}" = set; then :
11753 $as_echo_n "(cached) " >&6
11755 ac_check_lib_save_LIBS=$LIBS
11756 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11758 /* end confdefs.h. */
11760 /* Override any GCC internal prototype to avoid an error.
11761 Use char because int might match the return type of a GCC
11762 builtin and then its argument prototype would still apply. */
11766 char png_set_expand_gray_1_2_4_to_8 ();
11770 return png_set_expand_gray_1_2_4_to_8 ();
11775 if ac_fn_c_try_link "$LINENO"; then :
11776 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11778 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11780 rm -f core conftest.err conftest.$ac_objext \
11781 conftest$ac_exeext conftest.$ac_ext
11782 LIBS=$ac_check_lib_save_LIBS
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11785 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11786 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = x""yes; then :
11787 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11793 if test "x$ac_cv_lib_soname_png" = "x"; then :
11794 case "x$with_png" in
11795 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11797 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
11798 This is an error since --with-png was requested." "$LINENO" 5 ;;
11802 if test "$ac_cv_header_tiffio_h" = "yes"
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11805 $as_echo_n "checking for -ltiff... " >&6; }
11806 if test "${ac_cv_lib_soname_tiff+set}" = set; then :
11807 $as_echo_n "(cached) " >&6
11809 ac_check_soname_save_LIBS=$LIBS
11810 LIBS="-ltiff $LIBS"
11811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11812 /* end confdefs.h. */
11814 /* Override any GCC internal prototype to avoid an error.
11815 Use char because int might match the return type of a GCC
11816 builtin and then its argument prototype would still apply. */
11820 char TIFFClientOpen ();
11824 return TIFFClientOpen ();
11829 if ac_fn_c_try_link "$LINENO"; then :
11831 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11832 dylib) ac_cv_lib_soname_tiff=`otool -L conftest$ac_exeext | grep "libtiff\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libtiff\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11833 *) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11836 rm -f core conftest.err conftest.$ac_objext \
11837 conftest$ac_exeext conftest.$ac_ext
11838 LIBS=$ac_check_soname_save_LIBS
11840 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11842 $as_echo "not found" >&6; }
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11846 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11848 cat >>confdefs.h <<_ACEOF
11849 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11855 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11856 case "x$with_tiff" in
11857 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11859 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
11860 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11864 if test "$ac_cv_header_mpg123_h" = "yes"
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11867 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11868 if test "${ac_cv_lib_mpg123_mpg123_feed+set}" = set; then :
11869 $as_echo_n "(cached) " >&6
11871 ac_check_lib_save_LIBS=$LIBS
11872 LIBS="-lmpg123 $LIBS"
11873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11874 /* end confdefs.h. */
11876 /* Override any GCC internal prototype to avoid an error.
11877 Use char because int might match the return type of a GCC
11878 builtin and then its argument prototype would still apply. */
11882 char mpg123_feed ();
11886 return mpg123_feed ();
11891 if ac_fn_c_try_link "$LINENO"; then :
11892 ac_cv_lib_mpg123_mpg123_feed=yes
11894 ac_cv_lib_mpg123_mpg123_feed=no
11896 rm -f core conftest.err conftest.$ac_objext \
11897 conftest$ac_exeext conftest.$ac_ext
11898 LIBS=$ac_check_lib_save_LIBS
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11901 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11902 if test "x$ac_cv_lib_mpg123_mpg123_feed" = x""yes; then :
11903 LIBMPG123="-lmpg123"
11908 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
11909 case "x$with_mpg123" in
11910 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11912 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11913 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11916 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes -o "x$ac_cv_header_AudioToolbox_AudioConverter_h" = xyes || enable_winemp3_acm=${enable_winemp3_acm:-no}
11918 if test "$ac_cv_header_AL_al_h" = "yes"
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
11921 $as_echo_n "checking for -lopenal... " >&6; }
11922 if test "${ac_cv_lib_soname_openal+set}" = set; then :
11923 $as_echo_n "(cached) " >&6
11925 ac_check_soname_save_LIBS=$LIBS
11926 LIBS="-lopenal $LIBS"
11927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h. */
11930 /* Override any GCC internal prototype to avoid an error.
11931 Use char because int might match the return type of a GCC
11932 builtin and then its argument prototype would still apply. */
11936 char alGetSource3i ();
11940 return alGetSource3i ();
11945 if ac_fn_c_try_link "$LINENO"; then :
11947 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11948 dylib) ac_cv_lib_soname_openal=`otool -L conftest$ac_exeext | grep "libopenal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libopenal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11949 *) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11952 rm -f core conftest.err conftest.$ac_objext \
11953 conftest$ac_exeext conftest.$ac_ext
11954 LIBS=$ac_check_soname_save_LIBS
11956 if test "x$ac_cv_lib_soname_openal" = "x"; then :
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11958 $as_echo "not found" >&6; }
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
11962 $as_echo "$ac_cv_lib_soname_openal" >&6; }
11964 cat >>confdefs.h <<_ACEOF
11965 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
11968 LIBOPENAL="-lopenal"
11970 ac_cv_lib_openal=yes
11972 cat >>confdefs.h <<_ACEOF
11973 #define HAVE_OPENAL 1
11978 if test "x$ac_cv_lib_openal" != xyes; then :
11979 case "x$with_openal" in
11980 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
11982 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11983 This is an error since --with-openal was requested." "$LINENO" 5 ;;
11986 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
11988 if test "$ac_cv_header_kstat_h" = "yes"
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
11991 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11992 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then :
11993 $as_echo_n "(cached) " >&6
11995 ac_check_lib_save_LIBS=$LIBS
11996 LIBS="-lkstat $LIBS"
11997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11998 /* end confdefs.h. */
12000 /* Override any GCC internal prototype to avoid an error.
12001 Use char because int might match the return type of a GCC
12002 builtin and then its argument prototype would still apply. */
12006 char kstat_open ();
12010 return kstat_open ();
12015 if ac_fn_c_try_link "$LINENO"; then :
12016 ac_cv_lib_kstat_kstat_open=yes
12018 ac_cv_lib_kstat_kstat_open=no
12020 rm -f core conftest.err conftest.$ac_objext \
12021 conftest$ac_exeext conftest.$ac_ext
12022 LIBS=$ac_check_lib_save_LIBS
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12025 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12026 if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then :
12028 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12037 $as_echo_n "checking for -lodbc... " >&6; }
12038 if test "${ac_cv_lib_soname_odbc+set}" = set; then :
12039 $as_echo_n "(cached) " >&6
12041 ac_check_soname_save_LIBS=$LIBS
12042 LIBS="-lodbc $LIBS"
12043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12044 /* end confdefs.h. */
12046 /* Override any GCC internal prototype to avoid an error.
12047 Use char because int might match the return type of a GCC
12048 builtin and then its argument prototype would still apply. */
12052 char SQLConnect ();
12056 return SQLConnect ();
12061 if ac_fn_c_try_link "$LINENO"; then :
12063 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12064 dylib) ac_cv_lib_soname_odbc=`otool -L conftest$ac_exeext | grep "libodbc\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libodbc\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12065 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12068 rm -f core conftest.err conftest.$ac_objext \
12069 conftest$ac_exeext conftest.$ac_ext
12070 LIBS=$ac_check_soname_save_LIBS
12072 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12074 $as_echo "not found" >&6; }
12075 cat >>confdefs.h <<_ACEOF
12076 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12081 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12083 cat >>confdefs.h <<_ACEOF
12084 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12090 if test "x$ALSALIBS$COREAUDIO$NASLIBS$ESDLIBS$ac_cv_lib_soname_jack" = "x" -a \
12091 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
12092 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
12093 "$ac_cv_header_soundcard_h" != "yes" -a \
12094 "x$with_alsa$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnononononono
12096 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
12102 if test "x${GCC}" = "xyes"
12104 EXTRACFLAGS="-Wall -pipe"
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12107 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12108 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then :
12109 $as_echo_n "(cached) " >&6
12111 if test "$cross_compiling" = yes; then :
12112 ac_cv_c_gcc_strength_bug="yes"
12114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12115 /* end confdefs.h. */
12116 int L[4] = {0,1,2,3};
12120 static int Array[3];
12121 unsigned int B = 3;
12123 for(i=0; i<B; i++) Array[i] = i - 3;
12124 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12126 return (Array[1] != -2 || L[2] != 3)
12131 if ac_fn_c_try_run "$LINENO"; then :
12132 ac_cv_c_gcc_strength_bug="no"
12134 ac_cv_c_gcc_strength_bug="yes"
12136 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12137 conftest.$ac_objext conftest.beam conftest.$ac_ext
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12142 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12143 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12145 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12149 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12150 if test "${ac_cv_cflags__fno_builtin+set}" = set; then :
12151 $as_echo_n "(cached) " >&6
12153 ac_wine_try_cflags_saved=$CFLAGS
12154 CFLAGS="$CFLAGS -fno-builtin"
12155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12156 /* end confdefs.h. */
12157 int main(int argc, char **argv) { return 0; }
12159 if ac_fn_c_try_link "$LINENO"; then :
12160 ac_cv_cflags__fno_builtin=yes
12162 ac_cv_cflags__fno_builtin=no
12164 rm -f core conftest.err conftest.$ac_objext \
12165 conftest$ac_exeext conftest.$ac_ext
12166 CFLAGS=$ac_wine_try_cflags_saved
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12169 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12170 if test $ac_cv_cflags__fno_builtin = yes; then :
12171 BUILTINFLAG="-fno-builtin"
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12175 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12176 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then :
12177 $as_echo_n "(cached) " >&6
12179 ac_wine_try_cflags_saved=$CFLAGS
12180 CFLAGS="$CFLAGS -fno-strict-aliasing"
12181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12182 /* end confdefs.h. */
12183 int main(int argc, char **argv) { return 0; }
12185 if ac_fn_c_try_link "$LINENO"; then :
12186 ac_cv_cflags__fno_strict_aliasing=yes
12188 ac_cv_cflags__fno_strict_aliasing=no
12190 rm -f core conftest.err conftest.$ac_objext \
12191 conftest$ac_exeext conftest.$ac_ext
12192 CFLAGS=$ac_wine_try_cflags_saved
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12195 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12196 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12197 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12200 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12201 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then :
12202 $as_echo_n "(cached) " >&6
12204 ac_wine_try_cflags_saved=$CFLAGS
12205 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12207 /* end confdefs.h. */
12208 int main(int argc, char **argv) { return 0; }
12210 if ac_fn_c_try_link "$LINENO"; then :
12211 ac_cv_cflags__Wdeclaration_after_statement=yes
12213 ac_cv_cflags__Wdeclaration_after_statement=no
12215 rm -f core conftest.err conftest.$ac_objext \
12216 conftest$ac_exeext conftest.$ac_ext
12217 CFLAGS=$ac_wine_try_cflags_saved
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12220 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12221 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12222 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12225 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12226 if test "${ac_cv_cflags__Wstrict_prototypes+set}" = set; then :
12227 $as_echo_n "(cached) " >&6
12229 ac_wine_try_cflags_saved=$CFLAGS
12230 CFLAGS="$CFLAGS -Wstrict-prototypes"
12231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12232 /* end confdefs.h. */
12233 int main(int argc, char **argv) { return 0; }
12235 if ac_fn_c_try_link "$LINENO"; then :
12236 ac_cv_cflags__Wstrict_prototypes=yes
12238 ac_cv_cflags__Wstrict_prototypes=no
12240 rm -f core conftest.err conftest.$ac_objext \
12241 conftest$ac_exeext conftest.$ac_ext
12242 CFLAGS=$ac_wine_try_cflags_saved
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12245 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12246 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12247 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12250 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12251 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then :
12252 $as_echo_n "(cached) " >&6
12254 ac_wine_try_cflags_saved=$CFLAGS
12255 CFLAGS="$CFLAGS -Wtype-limits"
12256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12257 /* end confdefs.h. */
12258 int main(int argc, char **argv) { return 0; }
12260 if ac_fn_c_try_link "$LINENO"; then :
12261 ac_cv_cflags__Wtype_limits=yes
12263 ac_cv_cflags__Wtype_limits=no
12265 rm -f core conftest.err conftest.$ac_objext \
12266 conftest$ac_exeext conftest.$ac_ext
12267 CFLAGS=$ac_wine_try_cflags_saved
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12270 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12271 if test $ac_cv_cflags__Wtype_limits = yes; then :
12272 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12275 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12276 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then :
12277 $as_echo_n "(cached) " >&6
12279 ac_wine_try_cflags_saved=$CFLAGS
12280 CFLAGS="$CFLAGS -Wwrite-strings"
12281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12282 /* end confdefs.h. */
12283 int main(int argc, char **argv) { return 0; }
12285 if ac_fn_c_try_link "$LINENO"; then :
12286 ac_cv_cflags__Wwrite_strings=yes
12288 ac_cv_cflags__Wwrite_strings=no
12290 rm -f core conftest.err conftest.$ac_objext \
12291 conftest$ac_exeext conftest.$ac_ext
12292 CFLAGS=$ac_wine_try_cflags_saved
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12295 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12296 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12297 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12300 saved_CFLAGS="$CFLAGS"
12301 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12303 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12304 if test "${ac_cv_c_string_h_warnings+set}" = set; then :
12305 $as_echo_n "(cached) " >&6
12307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12308 /* end confdefs.h. */
12309 #include <string.h>
12318 if ac_fn_c_try_compile "$LINENO"; then :
12319 ac_cv_c_string_h_warnings=no
12321 ac_cv_c_string_h_warnings=yes
12323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12326 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12327 CFLAGS="$saved_CFLAGS"
12328 if test "$ac_cv_c_string_h_warnings" = "no"
12330 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12333 saved_CFLAGS="$CFLAGS"
12334 CFLAGS="$CFLAGS -Wlogical-op -Werror"
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12336 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12337 if test "${ac_cv_c_logicalop_noisy+set}" = set; then :
12338 $as_echo_n "(cached) " >&6
12340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12341 /* end confdefs.h. */
12342 #include <string.h>
12346 char*f(const char *h,char n) {return strchr(h,n);}
12351 if ac_fn_c_try_compile "$LINENO"; then :
12352 ac_cv_c_logicalop_noisy=no
12354 ac_cv_c_logicalop_noisy=yes
12356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12359 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12360 CFLAGS="$saved_CFLAGS"
12361 if test "$ac_cv_c_logicalop_noisy" = "no"
12363 EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
12366 if test "x$enable_maintainer_mode" = "xyes"
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12369 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12370 if test "${ac_cv_cflags__Werror+set}" = set; then :
12371 $as_echo_n "(cached) " >&6
12373 ac_wine_try_cflags_saved=$CFLAGS
12374 CFLAGS="$CFLAGS -Werror"
12375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12376 /* end confdefs.h. */
12377 int main(int argc, char **argv) { return 0; }
12379 if ac_fn_c_try_link "$LINENO"; then :
12380 ac_cv_cflags__Werror=yes
12382 ac_cv_cflags__Werror=no
12384 rm -f core conftest.err conftest.$ac_objext \
12385 conftest$ac_exeext conftest.$ac_ext
12386 CFLAGS=$ac_wine_try_cflags_saved
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12389 $as_echo "$ac_cv_cflags__Werror" >&6; }
12390 if test $ac_cv_cflags__Werror = yes; then :
12391 EXTRACFLAGS="$EXTRACFLAGS -Werror"
12395 saved_CFLAGS="$CFLAGS"
12396 CFLAGS="$CFLAGS -Werror"
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12398 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12399 if test "${ac_cv_have_ms_hook_prologue+set}" = set; then :
12400 $as_echo_n "(cached) " >&6
12402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12403 /* end confdefs.h. */
12404 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12413 if ac_fn_c_try_compile "$LINENO"; then :
12414 ac_cv_have_ms_hook_prologue="yes"
12416 ac_cv_have_ms_hook_prologue="no"
12418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12421 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12422 CFLAGS="$saved_CFLAGS"
12423 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12426 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12429 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12436 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12437 if test "${ac_cv_c_fortify_enabled+set}" = set; then :
12438 $as_echo_n "(cached) " >&6
12440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12441 /* end confdefs.h. */
12442 #include <string.h>
12446 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12447 #error Fortify enabled
12453 if ac_fn_c_try_compile "$LINENO"; then :
12454 ac_cv_c_fortify_enabled=no
12456 ac_cv_c_fortify_enabled=yes
12458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12461 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12462 if test "$ac_cv_c_fortify_enabled" = yes
12464 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12469 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12470 if test "${ac_cv_c_extern_prefix+set}" = set; then :
12471 $as_echo_n "(cached) " >&6
12473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12474 /* end confdefs.h. */
12475 extern int ac_test;
12479 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12484 if ac_fn_c_try_link "$LINENO"; then :
12485 ac_cv_c_extern_prefix="yes"
12487 ac_cv_c_extern_prefix="no"
12489 rm -f core conftest.err conftest.$ac_objext \
12490 conftest$ac_exeext conftest.$ac_ext
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12493 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12498 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12499 if test "${ac_cv_c_stdcall_suffix+set}" = set; then :
12500 $as_echo_n "(cached) " >&6
12502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12503 /* end confdefs.h. */
12505 #define __stdcall __attribute__((__stdcall__))
12507 int __stdcall ac_test(int i) { return i; }
12511 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12516 if ac_fn_c_try_link "$LINENO"; then :
12517 ac_cv_c_stdcall_suffix="yes"
12519 ac_cv_c_stdcall_suffix="no"
12521 rm -f core conftest.err conftest.$ac_objext \
12522 conftest$ac_exeext conftest.$ac_ext
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12525 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12526 *) ac_cv_c_stdcall_suffix="no" ;;
12530 if test "$ac_cv_c_extern_prefix" = "yes"
12532 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12534 asm_name_prefix="_"
12536 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12542 if test "$ac_cv_c_stdcall_suffix" = "yes"
12544 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12547 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12553 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12554 if test "${ac_cv_asm_func_def+set}" = set; then :
12555 $as_echo_n "(cached) " >&6
12557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12558 /* end confdefs.h. */
12563 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12568 if ac_fn_c_try_link "$LINENO"; then :
12569 ac_cv_asm_func_def=".def"
12571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12572 /* end confdefs.h. */
12577 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12582 if ac_fn_c_try_link "$LINENO"; then :
12583 ac_cv_asm_func_def=".type @function"
12585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12586 /* end confdefs.h. */
12591 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12596 if ac_fn_c_try_link "$LINENO"; then :
12597 ac_cv_asm_func_def=".type 2"
12599 ac_cv_asm_func_def="unknown"
12601 rm -f core conftest.err conftest.$ac_objext \
12602 conftest$ac_exeext conftest.$ac_ext
12604 rm -f core conftest.err conftest.$ac_objext \
12605 conftest$ac_exeext conftest.$ac_ext
12607 rm -f core conftest.err conftest.$ac_objext \
12608 conftest$ac_exeext conftest.$ac_ext
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12611 $as_echo "$ac_cv_asm_func_def" >&6; }
12614 case "$ac_cv_asm_func_def" in
12616 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12618 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12620 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12622 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
12624 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12626 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
12628 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12630 asm_func_header="" ;;
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12634 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12635 if test "${ac_cv_c_asm_outside_funcs+set}" = set; then :
12636 $as_echo_n "(cached) " >&6
12638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12639 /* end confdefs.h. */
12640 asm(".text\n\t.long 0");
12649 if ac_fn_c_try_compile "$LINENO"; then :
12650 ac_cv_c_asm_outside_funcs="yes"
12652 ac_cv_c_asm_outside_funcs="no"
12654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12657 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12660 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12661 if test "${ac_cv_c_dot_previous+set}" = set; then :
12662 $as_echo_n "(cached) " >&6
12664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12665 /* end confdefs.h. */
12670 asm(".text\nac_test:\t.long 0\n\t.previous");
12675 if ac_fn_c_try_link "$LINENO"; then :
12676 ac_cv_c_dot_previous="yes"
12678 ac_cv_c_dot_previous="no"
12680 rm -f core conftest.err conftest.$ac_objext \
12681 conftest$ac_exeext conftest.$ac_ext
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12684 $as_echo "$ac_cv_c_dot_previous" >&6; }
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12687 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12688 if test "${ac_cv_c_cfi_support+set}" = set; then :
12689 $as_echo_n "(cached) " >&6
12691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12692 /* end confdefs.h. */
12693 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12702 if ac_fn_c_try_compile "$LINENO"; then :
12703 ac_cv_c_cfi_support="yes"
12705 ac_cv_c_cfi_support="no"
12707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12710 $as_echo "$ac_cv_c_cfi_support" >&6; }
12712 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12713 asm_func_trailer=""
12714 if test "$ac_cv_c_dot_previous" = "yes"
12716 asm_func_trailer="\\n\\t.previous"
12718 if test "$ac_cv_c_cfi_support" = "yes"
12720 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
12721 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
12723 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12725 UNWINDFLAGS=-fasynchronous-unwind-tables
12728 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12732 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
12735 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12737 cat >>confdefs.h <<_ACEOF
12738 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12742 cat >>confdefs.h <<_ACEOF
12743 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12748 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12751 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12761 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12766 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12774 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
12781 test "x$enable_win64" != "xyes" || MAIN_BINARY="wine64"
12786 *i[3456789]86*) EXTRA_BINARIES="wine-preloader"
12788 x86_64*) EXTRA_BINARIES="wine64-preloader"
12795 ac_save_CFLAGS="$CFLAGS"
12796 CFLAGS="$CFLAGS $BUILTINFLAG"
12842 sched_setaffinity \
12871 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12872 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12873 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12874 cat >>confdefs.h <<_ACEOF
12875 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12881 CFLAGS="$ac_save_CFLAGS"
12883 if test "$ac_cv_func_dlopen" = no
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12886 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12887 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12888 $as_echo_n "(cached) " >&6
12890 ac_check_lib_save_LIBS=$LIBS
12892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12893 /* end confdefs.h. */
12895 /* Override any GCC internal prototype to avoid an error.
12896 Use char because int might match the return type of a GCC
12897 builtin and then its argument prototype would still apply. */
12910 if ac_fn_c_try_link "$LINENO"; then :
12911 ac_cv_lib_dl_dlopen=yes
12913 ac_cv_lib_dl_dlopen=no
12915 rm -f core conftest.err conftest.$ac_objext \
12916 conftest$ac_exeext conftest.$ac_ext
12917 LIBS=$ac_check_lib_save_LIBS
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12920 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12921 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12922 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
12928 ac_wine_check_funcs_save_LIBS="$LIBS"
12929 LIBS="$LIBS $LIBDL"
12930 for ac_func in dladdr
12932 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
12933 if test "x$ac_cv_func_dladdr" = x""yes; then :
12934 cat >>confdefs.h <<_ACEOF
12935 #define HAVE_DLADDR 1
12941 LIBS="$ac_wine_check_funcs_save_LIBS"
12943 if test "$ac_cv_func_poll" = no
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
12946 $as_echo_n "checking for poll in -lpoll... " >&6; }
12947 if test "${ac_cv_lib_poll_poll+set}" = set; then :
12948 $as_echo_n "(cached) " >&6
12950 ac_check_lib_save_LIBS=$LIBS
12951 LIBS="-lpoll $LIBS"
12952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12953 /* end confdefs.h. */
12955 /* Override any GCC internal prototype to avoid an error.
12956 Use char because int might match the return type of a GCC
12957 builtin and then its argument prototype would still apply. */
12970 if ac_fn_c_try_link "$LINENO"; then :
12971 ac_cv_lib_poll_poll=yes
12973 ac_cv_lib_poll_poll=no
12975 rm -f core conftest.err conftest.$ac_objext \
12976 conftest$ac_exeext conftest.$ac_ext
12977 LIBS=$ac_check_lib_save_LIBS
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
12980 $as_echo "$ac_cv_lib_poll_poll" >&6; }
12981 if test "x$ac_cv_lib_poll_poll" = x""yes; then :
12982 $as_echo "#define HAVE_POLL 1" >>confdefs.h
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
12990 $as_echo_n "checking for library containing gethostbyname... " >&6; }
12991 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12992 $as_echo_n "(cached) " >&6
12994 ac_func_search_save_LIBS=$LIBS
12995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12996 /* end confdefs.h. */
12998 /* Override any GCC internal prototype to avoid an error.
12999 Use char because int might match the return type of a GCC
13000 builtin and then its argument prototype would still apply. */
13004 char gethostbyname ();
13008 return gethostbyname ();
13013 for ac_lib in '' nsl; do
13014 if test -z "$ac_lib"; then
13015 ac_res="none required"
13018 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13020 if ac_fn_c_try_link "$LINENO"; then :
13021 ac_cv_search_gethostbyname=$ac_res
13023 rm -f core conftest.err conftest.$ac_objext \
13025 if test "${ac_cv_search_gethostbyname+set}" = set; then :
13029 if test "${ac_cv_search_gethostbyname+set}" = set; then :
13032 ac_cv_search_gethostbyname=no
13034 rm conftest.$ac_ext
13035 LIBS=$ac_func_search_save_LIBS
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13038 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13039 ac_res=$ac_cv_search_gethostbyname
13040 if test "$ac_res" != no; then :
13041 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13047 $as_echo_n "checking for library containing connect... " >&6; }
13048 if test "${ac_cv_search_connect+set}" = set; then :
13049 $as_echo_n "(cached) " >&6
13051 ac_func_search_save_LIBS=$LIBS
13052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13053 /* end confdefs.h. */
13055 /* Override any GCC internal prototype to avoid an error.
13056 Use char because int might match the return type of a GCC
13057 builtin and then its argument prototype would still apply. */
13070 for ac_lib in '' socket; do
13071 if test -z "$ac_lib"; then
13072 ac_res="none required"
13075 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13077 if ac_fn_c_try_link "$LINENO"; then :
13078 ac_cv_search_connect=$ac_res
13080 rm -f core conftest.err conftest.$ac_objext \
13082 if test "${ac_cv_search_connect+set}" = set; then :
13086 if test "${ac_cv_search_connect+set}" = set; then :
13089 ac_cv_search_connect=no
13091 rm conftest.$ac_ext
13092 LIBS=$ac_func_search_save_LIBS
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13095 $as_echo "$ac_cv_search_connect" >&6; }
13096 ac_res=$ac_cv_search_connect
13097 if test "$ac_res" != no; then :
13098 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13104 $as_echo_n "checking for library containing inet_aton... " >&6; }
13105 if test "${ac_cv_search_inet_aton+set}" = set; then :
13106 $as_echo_n "(cached) " >&6
13108 ac_func_search_save_LIBS=$LIBS
13109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13110 /* end confdefs.h. */
13112 /* Override any GCC internal prototype to avoid an error.
13113 Use char because int might match the return type of a GCC
13114 builtin and then its argument prototype would still apply. */
13122 return inet_aton ();
13127 for ac_lib in '' resolv; do
13128 if test -z "$ac_lib"; then
13129 ac_res="none required"
13132 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13134 if ac_fn_c_try_link "$LINENO"; then :
13135 ac_cv_search_inet_aton=$ac_res
13137 rm -f core conftest.err conftest.$ac_objext \
13139 if test "${ac_cv_search_inet_aton+set}" = set; then :
13143 if test "${ac_cv_search_inet_aton+set}" = set; then :
13146 ac_cv_search_inet_aton=no
13148 rm conftest.$ac_ext
13149 LIBS=$ac_func_search_save_LIBS
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13152 $as_echo "$ac_cv_search_inet_aton" >&6; }
13153 ac_res=$ac_cv_search_inet_aton
13154 if test "$ac_res" != no; then :
13155 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13174 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13175 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13176 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13177 cat >>confdefs.h <<_ACEOF
13178 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13187 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13189 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13191 if test "x$ac_cv_type_LDAPSortKey" = x""yes; then :
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13193 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13194 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then :
13195 $as_echo_n "(cached) " >&6
13197 ac_check_lib_save_LIBS=$LIBS
13198 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13200 /* end confdefs.h. */
13202 /* Override any GCC internal prototype to avoid an error.
13203 Use char because int might match the return type of a GCC
13204 builtin and then its argument prototype would still apply. */
13208 char ldap_initialize ();
13212 return ldap_initialize ();
13217 if ac_fn_c_try_link "$LINENO"; then :
13218 ac_cv_lib_ldap_r_ldap_initialize=yes
13220 ac_cv_lib_ldap_r_ldap_initialize=no
13222 rm -f core conftest.err conftest.$ac_objext \
13223 conftest$ac_exeext conftest.$ac_ext
13224 LIBS=$ac_check_lib_save_LIBS
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13227 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13228 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = x""yes; then :
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13230 $as_echo_n "checking for ber_init in -llber... " >&6; }
13231 if test "${ac_cv_lib_lber_ber_init+set}" = set; then :
13232 $as_echo_n "(cached) " >&6
13234 ac_check_lib_save_LIBS=$LIBS
13235 LIBS="-llber $LIBPTHREAD $LIBS"
13236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13237 /* end confdefs.h. */
13239 /* Override any GCC internal prototype to avoid an error.
13240 Use char because int might match the return type of a GCC
13241 builtin and then its argument prototype would still apply. */
13249 return ber_init ();
13254 if ac_fn_c_try_link "$LINENO"; then :
13255 ac_cv_lib_lber_ber_init=yes
13257 ac_cv_lib_lber_ber_init=no
13259 rm -f core conftest.err conftest.$ac_objext \
13260 conftest$ac_exeext conftest.$ac_ext
13261 LIBS=$ac_check_lib_save_LIBS
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13264 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13265 if test "x$ac_cv_lib_lber_ber_init" = x""yes; then :
13267 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13269 LDAPLIBS="-lldap_r -llber"
13276 ac_wine_check_funcs_save_LIBS="$LIBS"
13277 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13279 ldap_count_references \
13280 ldap_first_reference \
13281 ldap_next_reference \
13282 ldap_parse_reference \
13283 ldap_parse_sort_control \
13284 ldap_parse_sortresponse_control \
13285 ldap_parse_vlv_control \
13286 ldap_parse_vlvresponse_control
13288 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13289 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13290 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13291 cat >>confdefs.h <<_ACEOF
13292 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13298 LIBS="$ac_wine_check_funcs_save_LIBS"
13300 if test "x$LDAPLIBS" = "x"; then :
13301 case "x$with_ldap" in
13302 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13304 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13305 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13310 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13311 if test "${wine_cv_one_arg_mkdir+set}" = set; then :
13312 $as_echo_n "(cached) " >&6
13314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13315 /* end confdefs.h. */
13316 #include <sys/stat.h>
13325 if ac_fn_c_try_compile "$LINENO"; then :
13326 wine_cv_one_arg_mkdir=yes
13328 wine_cv_one_arg_mkdir=no
13330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13333 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13334 if test "$wine_cv_one_arg_mkdir" = "yes"
13337 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13343 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13344 if test "${ac_cv_c_const+set}" = set; then :
13345 $as_echo_n "(cached) " >&6
13347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13348 /* end confdefs.h. */
13353 /* FIXME: Include the comments suggested by Paul. */
13354 #ifndef __cplusplus
13355 /* Ultrix mips cc rejects this. */
13356 typedef int charset[2];
13358 /* SunOS 4.1.1 cc rejects this. */
13359 char const *const *pcpcc;
13361 /* NEC SVR4.0.2 mips cc rejects this. */
13362 struct point {int x, y;};
13363 static struct point const zero = {0,0};
13364 /* AIX XL C 1.02.0.0 rejects this.
13365 It does not let you subtract one const X* pointer from another in
13366 an arm of an if-expression whose if-part is not a constant
13368 const char *g = "string";
13369 pcpcc = &g + (g ? g-g : 0);
13370 /* HPUX 7.0 cc rejects these. */
13372 ppc = (char**) pcpcc;
13373 pcpcc = (char const *const *) ppc;
13374 { /* SCO 3.2v4 cc rejects this. */
13376 char const *s = 0 ? (char *) 0 : (char const *) 0;
13381 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13382 int x[] = {25, 17};
13383 const int *foo = &x[0];
13386 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13387 typedef const int *iptr;
13391 { /* AIX XL C 1.02.0.0 rejects this saying
13392 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13393 struct s { int j; const int *ap[3]; };
13394 struct s *b; b->j = 5;
13396 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13397 const int foo = 10;
13398 if (!foo) return 0;
13400 return !cs[0] && !zero.x;
13407 if ac_fn_c_try_compile "$LINENO"; then :
13412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13415 $as_echo "$ac_cv_c_const" >&6; }
13416 if test $ac_cv_c_const = no; then
13418 $as_echo "#define const /**/" >>confdefs.h
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13423 $as_echo_n "checking for inline... " >&6; }
13424 if test "${ac_cv_c_inline+set}" = set; then :
13425 $as_echo_n "(cached) " >&6
13428 for ac_kw in inline __inline__ __inline; do
13429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13430 /* end confdefs.h. */
13431 #ifndef __cplusplus
13433 static $ac_kw foo_t static_foo () {return 0; }
13434 $ac_kw foo_t foo () {return 0; }
13438 if ac_fn_c_try_compile "$LINENO"; then :
13439 ac_cv_c_inline=$ac_kw
13441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13442 test "$ac_cv_c_inline" != no && break
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13447 $as_echo "$ac_cv_c_inline" >&6; }
13449 case $ac_cv_c_inline in
13452 case $ac_cv_c_inline in
13454 *) ac_val=$ac_cv_c_inline;;
13456 cat >>confdefs.h <<_ACEOF
13457 #ifndef __cplusplus
13458 #define inline $ac_val
13464 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13465 if test "x$ac_cv_type_mode_t" = x""yes; then :
13467 cat >>confdefs.h <<_ACEOF
13468 #define HAVE_MODE_T 1
13473 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13474 if test "x$ac_cv_type_off_t" = x""yes; then :
13476 cat >>confdefs.h <<_ACEOF
13477 #define HAVE_OFF_T 1
13482 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13483 if test "x$ac_cv_type_pid_t" = x""yes; then :
13485 cat >>confdefs.h <<_ACEOF
13486 #define HAVE_PID_T 1
13491 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13492 if test "x$ac_cv_type_size_t" = x""yes; then :
13494 cat >>confdefs.h <<_ACEOF
13495 #define HAVE_SIZE_T 1
13500 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13501 if test "x$ac_cv_type_ssize_t" = x""yes; then :
13503 cat >>confdefs.h <<_ACEOF
13504 #define HAVE_SSIZE_T 1
13509 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13510 if test "x$ac_cv_type_long_long" = x""yes; then :
13512 cat >>confdefs.h <<_ACEOF
13513 #define HAVE_LONG_LONG 1
13518 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13519 if test "x$ac_cv_type_fsblkcnt_t" = x""yes; then :
13521 cat >>confdefs.h <<_ACEOF
13522 #define HAVE_FSBLKCNT_T 1
13527 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13528 if test "x$ac_cv_type_fsfilcnt_t" = x""yes; then :
13530 cat >>confdefs.h <<_ACEOF
13531 #define HAVE_FSFILCNT_T 1
13537 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13538 #include <signal.h>
13540 if test "x$ac_cv_type_sigset_t" = x""yes; then :
13542 cat >>confdefs.h <<_ACEOF
13543 #define HAVE_SIGSET_T 1
13549 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13551 if test "x$ac_cv_type_request_sense" = x""yes; then :
13553 cat >>confdefs.h <<_ACEOF
13554 #define HAVE_REQUEST_SENSE 1
13561 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13562 #ifdef HAVE_SYS_SOCKET_H
13563 #include <sys/socket.h>
13565 #ifdef HAVE_SYS_SOCKETVAR_H
13566 #include <sys/socketvar.h>
13568 #ifdef HAVE_NET_ROUTE_H
13569 #include <net/route.h>
13571 #ifdef HAVE_NETINET_IN_H
13572 #include <netinet/in.h>
13574 #ifdef HAVE_NETINET_IN_SYSTM_H
13575 #include <netinet/in_systm.h>
13577 #ifdef HAVE_NETINET_IP_H
13578 #include <netinet/ip.h>
13580 #ifdef HAVE_NETINET_IN_PCB_H
13581 #include <netinet/in_pcb.h>
13584 if test "x$ac_cv_type_struct_xinpgen" = x""yes; then :
13586 cat >>confdefs.h <<_ACEOF
13587 #define HAVE_STRUCT_XINPGEN 1
13594 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13595 #include <linux/input.h>
13598 if test "x$ac_cv_member_struct_ff_effect_direction" = x""yes; then :
13600 cat >>confdefs.h <<_ACEOF
13601 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13609 $as_echo_n "checking for sigaddset... " >&6; }
13610 if test "${wine_cv_have_sigaddset+set}" = set; then :
13611 $as_echo_n "(cached) " >&6
13613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13614 /* end confdefs.h. */
13615 #include <signal.h>
13619 sigset_t set; sigaddset(&set,SIGTERM);
13624 if ac_fn_c_try_link "$LINENO"; then :
13625 wine_cv_have_sigaddset=yes
13627 wine_cv_have_sigaddset=no
13629 rm -f core conftest.err conftest.$ac_objext \
13630 conftest$ac_exeext conftest.$ac_ext
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13633 $as_echo "$wine_cv_have_sigaddset" >&6; }
13634 if test "$wine_cv_have_sigaddset" = "yes"
13637 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13643 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13644 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then :
13645 $as_echo_n "(cached) " >&6
13647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13648 /* end confdefs.h. */
13656 struct hostent *result;
13663 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13664 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13670 if ac_fn_c_try_link "$LINENO"; then :
13671 wine_cv_linux_gethostbyname_r_6=yes
13673 wine_cv_linux_gethostbyname_r_6=no
13676 rm -f core conftest.err conftest.$ac_objext \
13677 conftest$ac_exeext conftest.$ac_ext
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13681 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13682 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13685 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13689 if test "$ac_cv_header_linux_joystick_h" = "yes"
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13692 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13693 if test "${wine_cv_linux_joystick_22_api+set}" = set; then :
13694 $as_echo_n "(cached) " >&6
13696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13697 /* end confdefs.h. */
13699 #include <sys/ioctl.h>
13700 #include <sys/types.h>
13701 #include <linux/joystick.h>
13703 struct js_event blub;
13704 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13705 #error "no 2.2 header"
13716 if ac_fn_c_try_compile "$LINENO"; then :
13717 wine_cv_linux_joystick_22_api=yes
13719 wine_cv_linux_joystick_22_api=no
13721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13725 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13726 if test "$wine_cv_linux_joystick_22_api" = "yes"
13729 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
13735 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
13736 #ifdef HAVE_SYS_PARAM_H
13737 # include <sys/param.h>
13739 #ifdef HAVE_SYS_MOUNT_H
13740 # include <sys/mount.h>
13742 #ifdef HAVE_SYS_VFS_H
13743 # include <sys/vfs.h>
13745 #ifdef HAVE_SYS_STATFS_H
13746 # include <sys/statfs.h>
13749 if test "x$ac_cv_member_struct_statfs_f_bfree" = x""yes; then :
13751 cat >>confdefs.h <<_ACEOF
13752 #define HAVE_STRUCT_STATFS_F_BFREE 1
13757 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
13758 #ifdef HAVE_SYS_PARAM_H
13759 # include <sys/param.h>
13761 #ifdef HAVE_SYS_MOUNT_H
13762 # include <sys/mount.h>
13764 #ifdef HAVE_SYS_VFS_H
13765 # include <sys/vfs.h>
13767 #ifdef HAVE_SYS_STATFS_H
13768 # include <sys/statfs.h>
13771 if test "x$ac_cv_member_struct_statfs_f_bavail" = x""yes; then :
13773 cat >>confdefs.h <<_ACEOF
13774 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
13779 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
13780 #ifdef HAVE_SYS_PARAM_H
13781 # include <sys/param.h>
13783 #ifdef HAVE_SYS_MOUNT_H
13784 # include <sys/mount.h>
13786 #ifdef HAVE_SYS_VFS_H
13787 # include <sys/vfs.h>
13789 #ifdef HAVE_SYS_STATFS_H
13790 # include <sys/statfs.h>
13793 if test "x$ac_cv_member_struct_statfs_f_frsize" = x""yes; then :
13795 cat >>confdefs.h <<_ACEOF
13796 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
13801 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
13802 #ifdef HAVE_SYS_PARAM_H
13803 # include <sys/param.h>
13805 #ifdef HAVE_SYS_MOUNT_H
13806 # include <sys/mount.h>
13808 #ifdef HAVE_SYS_VFS_H
13809 # include <sys/vfs.h>
13811 #ifdef HAVE_SYS_STATFS_H
13812 # include <sys/statfs.h>
13815 if test "x$ac_cv_member_struct_statfs_f_ffree" = x""yes; then :
13817 cat >>confdefs.h <<_ACEOF
13818 #define HAVE_STRUCT_STATFS_F_FFREE 1
13823 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
13824 #ifdef HAVE_SYS_PARAM_H
13825 # include <sys/param.h>
13827 #ifdef HAVE_SYS_MOUNT_H
13828 # include <sys/mount.h>
13830 #ifdef HAVE_SYS_VFS_H
13831 # include <sys/vfs.h>
13833 #ifdef HAVE_SYS_STATFS_H
13834 # include <sys/statfs.h>
13837 if test "x$ac_cv_member_struct_statfs_f_favail" = x""yes; then :
13839 cat >>confdefs.h <<_ACEOF
13840 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
13845 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
13846 #ifdef HAVE_SYS_PARAM_H
13847 # include <sys/param.h>
13849 #ifdef HAVE_SYS_MOUNT_H
13850 # include <sys/mount.h>
13852 #ifdef HAVE_SYS_VFS_H
13853 # include <sys/vfs.h>
13855 #ifdef HAVE_SYS_STATFS_H
13856 # include <sys/statfs.h>
13859 if test "x$ac_cv_member_struct_statfs_f_namelen" = x""yes; then :
13861 cat >>confdefs.h <<_ACEOF
13862 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
13869 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
13870 #include <sys/statvfs.h>
13873 if test "x$ac_cv_member_struct_statvfs_f_blocks" = x""yes; then :
13875 cat >>confdefs.h <<_ACEOF
13876 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
13883 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
13884 #ifdef HAVE_SYS_SOCKET_H
13885 # include <sys/socket.h>
13887 #ifdef HAVE_SYS_UN_H
13888 # include <sys/un.h>
13891 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = x""yes; then :
13893 cat >>confdefs.h <<_ACEOF
13894 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
13899 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
13900 #ifdef HAVE_SYS_SOCKET_H
13901 # include <sys/socket.h>
13903 #ifdef HAVE_SYS_UN_H
13904 # include <sys/un.h>
13907 if test "x$ac_cv_member_struct_sockaddr_sa_len" = x""yes; then :
13909 cat >>confdefs.h <<_ACEOF
13910 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
13915 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
13916 #ifdef HAVE_SYS_SOCKET_H
13917 # include <sys/socket.h>
13919 #ifdef HAVE_SYS_UN_H
13920 # include <sys/un.h>
13923 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = x""yes; then :
13925 cat >>confdefs.h <<_ACEOF
13926 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
13933 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
13934 #ifdef HAVE_SCSI_SG_H
13935 #include <scsi/sg.h>
13938 if test "x$ac_cv_member_scsireq_t_cmd" = x""yes; then :
13940 cat >>confdefs.h <<_ACEOF
13941 #define HAVE_SCSIREQ_T_CMD 1
13946 ac_fn_c_check_member "$LINENO" "sg_io_hdr_t" "interface_id" "ac_cv_member_sg_io_hdr_t_interface_id" "#include <sys/types.h>
13947 #ifdef HAVE_SCSI_SG_H
13948 #include <scsi/sg.h>
13951 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = x""yes; then :
13953 cat >>confdefs.h <<_ACEOF
13954 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
13961 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
13963 if test "x$ac_cv_member_siginfo_t_si_fd" = x""yes; then :
13965 cat >>confdefs.h <<_ACEOF
13966 #define HAVE_SIGINFO_T_SI_FD 1
13973 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
13974 #ifdef HAVE_SYS_MTIO_H
13975 #include <sys/mtio.h>
13978 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = x""yes; then :
13980 cat >>confdefs.h <<_ACEOF
13981 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
13986 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
13987 #ifdef HAVE_SYS_MTIO_H
13988 #include <sys/mtio.h>
13991 if test "x$ac_cv_member_struct_mtget_mt_gstat" = x""yes; then :
13993 cat >>confdefs.h <<_ACEOF
13994 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
13999 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
14000 #ifdef HAVE_SYS_MTIO_H
14001 #include <sys/mtio.h>
14004 if test "x$ac_cv_member_struct_mtget_mt_blkno" = x""yes; then :
14006 cat >>confdefs.h <<_ACEOF
14007 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
14014 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
14015 #include <getopt.h>
14018 if test "x$ac_cv_member_struct_option_name" = x""yes; then :
14020 cat >>confdefs.h <<_ACEOF
14021 #define HAVE_STRUCT_OPTION_NAME 1
14028 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
14029 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
14031 cat >>confdefs.h <<_ACEOF
14032 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14037 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14038 if test "x$ac_cv_member_struct_stat_st_mtim" = x""yes; then :
14040 cat >>confdefs.h <<_ACEOF
14041 #define HAVE_STRUCT_STAT_ST_MTIM 1
14046 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
14047 if test "x$ac_cv_member_struct_stat_st_ctim" = x""yes; then :
14049 cat >>confdefs.h <<_ACEOF
14050 #define HAVE_STRUCT_STAT_ST_CTIM 1
14055 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14056 if test "x$ac_cv_member_struct_stat_st_atim" = x""yes; then :
14058 cat >>confdefs.h <<_ACEOF
14059 #define HAVE_STRUCT_STAT_ST_ATIM 1
14066 ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "#ifdef HAVE_SYS_TYPES_H
14067 #include <sys/types.h>
14069 #ifdef HAVE_NETINET_IN_H
14070 #include <netinet/in.h>
14073 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = x""yes; then :
14075 cat >>confdefs.h <<_ACEOF
14076 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14083 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14084 #include <sys/types.h>
14086 #ifdef HAVE_NETINET_IN_H
14087 # include <netinet/in.h>
14089 #ifdef HAVE_ARPA_NAMESER_H
14090 # include <arpa/nameser.h>
14093 if test "x$ac_cv_member_ns_msg__msg_ptr" = x""yes; then :
14095 cat >>confdefs.h <<_ACEOF
14096 #define HAVE_NS_MSG__MSG_PTR 1
14103 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14104 #include <sys/types.h>
14106 #ifdef HAVE_ALIAS_H
14109 #ifdef HAVE_SYS_SOCKET_H
14110 #include <sys/socket.h>
14112 #ifdef HAVE_SYS_SOCKETVAR_H
14113 #include <sys/socketvar.h>
14115 #ifdef HAVE_SYS_TIMEOUT_H
14116 #include <sys/timeout.h>
14118 #ifdef HAVE_NETINET_IN_H
14119 #include <netinet/in.h>
14121 #ifdef HAVE_NETINET_IN_SYSTM_H
14122 #include <netinet/in_systm.h>
14124 #ifdef HAVE_NETINET_IP_H
14125 #include <netinet/ip.h>
14127 #ifdef HAVE_NETINET_IP_VAR_H
14128 #include <netinet/ip_var.h>
14130 #ifdef HAVE_NETINET_IP_ICMP_H
14131 #include <netinet/ip_icmp.h>
14133 #ifdef HAVE_NETINET_ICMP_VAR
14134 #include <netinet/icmp_var.h>
14137 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = x""yes; then :
14139 cat >>confdefs.h <<_ACEOF
14140 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14147 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14148 #include <sys/types.h>
14150 #ifdef HAVE_NET_IF_H
14151 # include <net/if.h>
14154 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x""yes; then :
14156 cat >>confdefs.h <<_ACEOF
14157 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14165 $as_echo_n "checking for timezone variable... " >&6; }
14166 if test "${ac_cv_have_timezone+set}" = set; then :
14167 $as_echo_n "(cached) " >&6
14169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14170 /* end confdefs.h. */
14180 if ac_fn_c_try_link "$LINENO"; then :
14181 ac_cv_have_timezone="yes"
14183 ac_cv_have_timezone="no"
14185 rm -f core conftest.err conftest.$ac_objext \
14186 conftest$ac_exeext conftest.$ac_ext
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14189 $as_echo "$ac_cv_have_timezone" >&6; }
14190 if test "$ac_cv_have_timezone" = "yes"
14193 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14197 $as_echo_n "checking for daylight variable... " >&6; }
14198 if test "${ac_cv_have_daylight+set}" = set; then :
14199 $as_echo_n "(cached) " >&6
14201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14202 /* end confdefs.h. */
14212 if ac_fn_c_try_link "$LINENO"; then :
14213 ac_cv_have_daylight="yes"
14215 ac_cv_have_daylight="no"
14217 rm -f core conftest.err conftest.$ac_objext \
14218 conftest$ac_exeext conftest.$ac_ext
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14221 $as_echo "$ac_cv_have_daylight" >&6; }
14222 if test "$ac_cv_have_daylight" = "yes"
14225 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14230 $as_echo_n "checking for isinf... " >&6; }
14231 if test "${ac_cv_have_isinf+set}" = set; then :
14232 $as_echo_n "(cached) " >&6
14234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14235 /* end confdefs.h. */
14240 float f = 0.0; int i=isinf(f)
14245 if ac_fn_c_try_link "$LINENO"; then :
14246 ac_cv_have_isinf="yes"
14248 ac_cv_have_isinf="no"
14250 rm -f core conftest.err conftest.$ac_objext \
14251 conftest$ac_exeext conftest.$ac_ext
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14254 $as_echo "$ac_cv_have_isinf" >&6; }
14255 if test "$ac_cv_have_isinf" = "yes"
14258 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14263 $as_echo_n "checking for isnan... " >&6; }
14264 if test "${ac_cv_have_isnan+set}" = set; then :
14265 $as_echo_n "(cached) " >&6
14267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14268 /* end confdefs.h. */
14273 float f = 0.0; int i=isnan(f)
14278 if ac_fn_c_try_link "$LINENO"; then :
14279 ac_cv_have_isnan="yes"
14281 ac_cv_have_isnan="no"
14283 rm -f core conftest.err conftest.$ac_objext \
14284 conftest$ac_exeext conftest.$ac_ext
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14287 $as_echo "$ac_cv_have_isnan" >&6; }
14288 if test "$ac_cv_have_isnan" = "yes"
14291 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14297 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14298 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14299 if test "${ac_cv_cpp_def___i386__+set}" = set; then :
14300 $as_echo_n "(cached) " >&6
14302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14303 /* end confdefs.h. */
14308 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14309 $EGREP "yes" >/dev/null 2>&1; then :
14310 ac_cv_cpp_def___i386__=yes
14312 ac_cv_cpp_def___i386__=no
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
14318 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
14319 if test $ac_cv_cpp_def___i386__ = yes; then :
14320 CFLAGS="$CFLAGS -D__i386__"
14321 LINTFLAGS="$LINTFLAGS -D__i386__"
14323 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
14324 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
14325 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then :
14326 $as_echo_n "(cached) " >&6
14328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14329 /* end confdefs.h. */
14334 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14335 $EGREP "yes" >/dev/null 2>&1; then :
14336 ac_cv_cpp_def___x86_64__=yes
14338 ac_cv_cpp_def___x86_64__=no
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
14344 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
14345 if test $ac_cv_cpp_def___x86_64__ = yes; then :
14346 CFLAGS="$CFLAGS -D__x86_64__"
14347 LINTFLAGS="$LINTFLAGS -D__x86_64__"
14349 *alpha*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __ALPHA__" >&5
14350 $as_echo_n "checking whether we need to define __ALPHA__... " >&6; }
14351 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then :
14352 $as_echo_n "(cached) " >&6
14354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14355 /* end confdefs.h. */
14360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14361 $EGREP "yes" >/dev/null 2>&1; then :
14362 ac_cv_cpp_def___ALPHA__=yes
14364 ac_cv_cpp_def___ALPHA__=no
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___ALPHA__" >&5
14370 $as_echo "$ac_cv_cpp_def___ALPHA__" >&6; }
14371 if test $ac_cv_cpp_def___ALPHA__ = yes; then :
14372 CFLAGS="$CFLAGS -D__ALPHA__"
14373 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
14375 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
14376 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
14377 if test "${ac_cv_cpp_def___sparc__+set}" = set; then :
14378 $as_echo_n "(cached) " >&6
14380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14381 /* end confdefs.h. */
14386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14387 $EGREP "yes" >/dev/null 2>&1; then :
14388 ac_cv_cpp_def___sparc__=yes
14390 ac_cv_cpp_def___sparc__=no
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
14396 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
14397 if test $ac_cv_cpp_def___sparc__ = yes; then :
14398 CFLAGS="$CFLAGS -D__sparc__"
14399 LINTFLAGS="$LINTFLAGS -D__sparc__"
14401 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
14402 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
14403 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then :
14404 $as_echo_n "(cached) " >&6
14406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14407 /* end confdefs.h. */
14408 #ifndef __powerpc__
14412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14413 $EGREP "yes" >/dev/null 2>&1; then :
14414 ac_cv_cpp_def___powerpc__=yes
14416 ac_cv_cpp_def___powerpc__=no
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
14422 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
14423 if test $ac_cv_cpp_def___powerpc__ = yes; then :
14424 CFLAGS="$CFLAGS -D__powerpc__"
14425 LINTFLAGS="$LINTFLAGS -D__powerpc__"
14429 case $host_vendor in
14430 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
14431 $as_echo_n "checking whether we need to define __sun__... " >&6; }
14432 if test "${ac_cv_cpp_def___sun__+set}" = set; then :
14433 $as_echo_n "(cached) " >&6
14435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14436 /* end confdefs.h. */
14441 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14442 $EGREP "yes" >/dev/null 2>&1; then :
14443 ac_cv_cpp_def___sun__=yes
14445 ac_cv_cpp_def___sun__=no
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
14451 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
14452 if test $ac_cv_cpp_def___sun__ = yes; then :
14453 CFLAGS="$CFLAGS -D__sun__"
14454 LINTFLAGS="$LINTFLAGS -D__sun__"
14462 ac_config_commands="$ac_config_commands include/stamp-h"
14465 ALL_MAKEFILE_DEPENDS="
14466 # Rules automatically generated by configure
14471 Makefile: Makefile.in Make.vars.in Make.rules config.status
14472 @./config.status Make.tmp Makefile"
14475 ALL_WINETEST_DEPENDS="# Test binaries"
14477 ALL_TEST_BINARIES=""
14480 wine_fn_append_file ()
14482 as_fn_append $1 " \\$as_nl $2"
14485 wine_fn_append_rule ()
14487 as_fn_append $1 "$as_nl$2"
14490 wine_fn_has_flag ()
14492 expr ",$2," : ".*,$1,.*" >/dev/null
14495 wine_fn_all_dir_rules ()
14499 ac_makedep="\$(MAKEDEP)"
14500 ac_input=Make.vars.in:$ac_dir/Makefile.in
14501 if test $ac_dir != tools
14503 ac_alldeps="$2 $ac_makedep"
14506 *.in) ac_input=$ac_input:$2 ;;
14507 *) ac_makedep="$2 $ac_makedep" ;;
14510 wine_fn_append_file ALL_DIRS $ac_dir
14511 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14512 "__clean__: $ac_dir/__clean__
14513 .PHONY: $ac_dir/__clean__
14514 $ac_dir/__clean__: $ac_dir/Makefile
14515 @cd $ac_dir && \$(MAKE) clean
14516 \$(RM) $ac_dir/Makefile
14517 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
14518 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
14519 depend: $ac_dir/__depend__
14520 .PHONY: $ac_dir/__depend__
14521 $ac_dir/__depend__: $ac_makedep dummy
14522 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
14525 wine_fn_config_makefile ()
14529 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14533 wine_fn_all_dir_rules $ac_dir Make.rules
14534 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14537 $ac_dir: $ac_dir/Makefile dummy
14538 @cd $ac_dir && \$(MAKE)
14540 @cd $ac_dir && \$(MAKE) install
14541 install-lib:: $ac_dir
14542 @cd $ac_dir && \$(MAKE) install-lib
14543 install-dev:: $ac_dir
14544 @cd $ac_dir && \$(MAKE) install-dev
14545 uninstall:: $ac_dir/Makefile
14546 @cd $ac_dir && \$(MAKE) uninstall"
14549 wine_fn_config_lib ()
14552 ac_dir=dlls/$ac_name
14553 wine_fn_all_dir_rules $ac_dir dlls/Makeimplib.rules
14554 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14555 "all __builddeps__: $ac_dir
14556 $ac_dir: $ac_dir/Makefile tools/widl tools/winebuild tools/winegcc include dummy
14557 @cd $ac_dir && \$(MAKE)
14558 install install-dev:: $ac_dir
14559 @cd $ac_dir && \$(MAKE) install
14560 uninstall:: $ac_dir/Makefile
14561 @cd $ac_dir && \$(MAKE) uninstall"
14564 wine_fn_config_dll ()
14567 ac_dir=dlls/$ac_name
14570 ac_implib=${4:-$ac_name}
14571 ac_file=$ac_dir/lib$ac_implib
14572 ac_deps="tools/widl tools/winebuild tools/winegcc include"
14576 *16) ac_implibflags=" -m16" ;;
14579 wine_fn_all_dir_rules $ac_dir dlls/Makedll.rules
14581 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14582 test "$ac_enable" != enable_win16 || return 0
14584 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14587 $ac_dir: $ac_dir/Makefile __builddeps__ dummy
14588 @cd $ac_dir && \$(MAKE)
14589 install:: $ac_dir/Makefile __builddeps__
14590 @cd $ac_dir && \$(MAKE) install
14591 install-lib:: $ac_dir/Makefile __builddeps__
14592 @cd $ac_dir && \$(MAKE) install-lib
14593 uninstall manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
14594 @cd $ac_dir && \$(MAKE) \$@"
14596 if test "x$enable_maintainer_mode" = xyes && wine_fn_has_flag po $ac_flags
14598 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
14599 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14600 "$ac_dir/rsrc.pot: $ac_dir"
14604 if wine_fn_has_flag staticimplib $ac_flags
14606 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14607 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
14608 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
14609 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
14610 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
14611 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
14612 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
14613 install-dev:: $ac_dir/Makefile __builddeps__
14614 @cd $ac_dir && \$(MAKE) install-dev"
14615 if test "x$CROSSTEST_DISABLE" = x
14617 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14618 "__builddeps__: $ac_file.cross.a
14619 $ac_file.cross.a: $ac_dir/Makefile dummy
14620 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
14623 elif wine_fn_has_flag implib $ac_flags
14625 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14626 "__builddeps__: $ac_file.$IMPLIBEXT
14627 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14628 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14629 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14630 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14631 install-dev:: $ac_dir/Makefile __builddeps__
14632 @cd $ac_dir && \$(MAKE) install-dev"
14633 if test "x$CROSSTEST_DISABLE" = x
14635 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14636 "__builddeps__: $ac_file.cross.a
14637 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14638 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
14641 if test "$ac_name" != "$ac_implib"
14643 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14644 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
14645 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
14646 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
14648 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
14649 if test "x$CROSSTEST_DISABLE" = x
14651 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14652 "__builddeps__: dlls/lib$ac_implib.cross.a
14653 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
14654 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
14660 wine_fn_config_program ()
14663 ac_dir=programs/$ac_name
14666 wine_fn_all_dir_rules $ac_dir programs/Makeprog.rules
14668 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14671 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14674 $ac_dir: $ac_dir/Makefile __builddeps__ dummy
14675 @cd $ac_dir && \$(MAKE)"
14677 if test "x$enable_maintainer_mode" = xyes && wine_fn_has_flag po $ac_flags
14679 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
14680 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14681 "$ac_dir/rsrc.pot: $ac_dir"
14684 wine_fn_has_flag install $ac_flags || return
14685 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14686 "install install-lib:: $ac_dir/Makefile __builddeps__
14687 @cd $ac_dir && \$(MAKE) install
14688 uninstall:: $ac_dir/Makefile
14689 @cd $ac_dir && \$(MAKE) uninstall"
14690 if test -n "$DLLEXT" -a "x$enable_tools" != xno && wine_fn_has_flag installbin $ac_flags
14692 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14693 "install install-lib:: tools \$(DESTDIR)\$(bindir)
14694 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
14696 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
14701 wine_fn_config_test ()
14705 wine_fn_append_file ALL_TEST_BINARIES $ac_name.exe
14706 wine_fn_append_rule ALL_WINETEST_DEPENDS \
14707 "$ac_name.exe: \$(top_builddir)/$ac_dir/$ac_name.exe$DLLEXT
14708 cp \$(top_builddir)/$ac_dir/$ac_name.exe$DLLEXT \$@ && \$(STRIP) \$@
14710 echo \"$ac_name.exe TESTRES \\\"$ac_name.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
14711 $ac_name.res: $ac_name.rc $ac_name.exe"
14712 wine_fn_all_dir_rules $ac_dir Maketest.rules
14714 if test "x$enable_tests" = x""no; then :
14717 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14718 "all programs/winetest: $ac_dir
14720 $ac_dir: $ac_dir/Makefile __builddeps__ dummy
14721 @cd $ac_dir && \$(MAKE)
14722 test: $ac_dir/__test__
14723 .PHONY: $ac_dir/__test__
14724 $ac_dir/__test__: dummy
14725 @cd $ac_dir && \$(MAKE) test
14727 \$(RM) $ac_dir/*.ok"
14729 if test "x$CROSSTEST_DISABLE" = x
14731 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14732 "crosstest: $ac_dir/__crosstest__
14733 .PHONY: $ac_dir/__crosstest__
14734 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
14735 @cd $ac_dir && \$(MAKE) crosstest"
14740 wine_fn_config_tool ()
14743 wine_fn_all_dir_rules $ac_dir Make.rules
14745 if test "x$enable_tools" = x""no; then :
14749 tools) wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14751 @cd $ac_dir && \$(MAKE) install
14752 install-lib:: $ac_dir
14753 @cd $ac_dir && \$(MAKE) install-lib
14754 install-dev:: $ac_dir
14755 @cd $ac_dir && \$(MAKE) install-dev" ;;
14756 *) wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14757 "install install-dev:: $ac_dir
14758 @cd $ac_dir && \$(MAKE) install" ;;
14760 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14761 "uninstall:: $ac_dir/Makefile
14762 @cd $ac_dir && \$(MAKE) uninstall
14763 all __tooldeps__: $ac_dir
14765 $ac_dir: $ac_dir/Makefile libs/port dummy
14766 @cd $ac_dir && \$(MAKE)"
14768 tools/winebuild) wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(WINEBUILD): $ac_dir" ;;
14773 wine_fn_config_makerules ()
14777 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14778 "$ac_rules: $ac_rules.in $ac_deps config.status
14779 @./config.status $ac_rules
14784 wine_fn_config_symlink ()
14787 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14789 @./config.status $ac_link
14794 if test "x$CROSSTEST_DISABLE" != x
14796 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14798 @echo \"crosstest is not supported (mingw not installed?)\" && false"
14800 ac_config_links="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
14801 wine_fn_config_symlink dlls/shell32/AUTHORS
14802 ac_config_links="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
14803 test "$srcdir" = "." || wine_fn_config_symlink dlls/wineps.drv/generic.ppd
14804 if test "x$enable_fonts" != xno; then
14805 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
14806 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf
14808 if test "x$enable_fonts" != xno; then
14809 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
14810 test "$srcdir" = "." || wine_fn_config_symlink fonts/symbol.ttf
14812 if test "x$enable_fonts" != xno; then
14813 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
14814 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahoma.ttf
14816 if test "x$enable_fonts" != xno; then
14817 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
14818 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahomabd.ttf
14820 ac_config_links="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
14821 test "$srcdir" = "." || wine_fn_config_symlink tools/l_intl.nls
14822 ac_config_links="$ac_config_links wine:tools/winewrapper"
14823 wine_fn_config_symlink wine
14825 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
14827 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
14829 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
14831 ac_config_commands="$ac_config_commands dlls/user32/resources"
14833 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
14835 ac_config_commands="$ac_config_commands include/wine"
14838 wine_fn_config_makerules Make.rules
14839 MAKE_RULES=Make.rules
14840 ac_config_files="$ac_config_files Make.rules"
14842 wine_fn_config_makerules Maketest.rules Make.rules
14843 MAKE_TEST_RULES=Maketest.rules
14844 ac_config_files="$ac_config_files Maketest.rules"
14846 wine_fn_config_makerules dlls/Makedll.rules Make.rules
14847 MAKE_DLL_RULES=dlls/Makedll.rules
14848 ac_config_files="$ac_config_files dlls/Makedll.rules"
14850 wine_fn_config_makerules dlls/Makeimplib.rules Make.rules
14851 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
14852 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
14854 wine_fn_config_makerules programs/Makeprog.rules Make.rules
14855 MAKE_PROG_RULES=programs/Makeprog.rules
14856 ac_config_files="$ac_config_files programs/Makeprog.rules"
14859 wine_fn_config_dll acledit enable_acledit
14860 wine_fn_config_dll aclui enable_aclui implib
14861 wine_fn_config_dll activeds enable_activeds implib
14862 wine_fn_config_dll actxprxy enable_actxprxy
14863 wine_fn_config_lib adsiid
14864 wine_fn_config_dll advapi32 enable_advapi32 implib
14865 wine_fn_config_test dlls/advapi32/tests advapi32_test
14866 wine_fn_config_dll advpack enable_advpack implib
14867 wine_fn_config_test dlls/advpack/tests advpack_test
14868 wine_fn_config_dll amstream enable_amstream
14869 wine_fn_config_test dlls/amstream/tests amstream_test
14870 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl
14871 wine_fn_config_dll atl enable_atl implib
14872 wine_fn_config_test dlls/atl/tests atl_test
14873 wine_fn_config_dll authz enable_authz
14874 wine_fn_config_dll avicap32 enable_avicap32 implib
14875 wine_fn_config_dll avifil32 enable_avifil32 implib
14876 wine_fn_config_test dlls/avifil32/tests avifil32_test
14877 wine_fn_config_dll avifile.dll16 enable_win16
14878 wine_fn_config_dll avrt enable_avrt implib
14879 wine_fn_config_dll bcrypt enable_bcrypt
14880 wine_fn_config_dll browseui enable_browseui
14881 wine_fn_config_test dlls/browseui/tests browseui_test
14882 wine_fn_config_dll cabinet enable_cabinet implib
14883 wine_fn_config_test dlls/cabinet/tests cabinet_test
14884 wine_fn_config_dll capi2032 enable_capi2032 implib
14885 wine_fn_config_dll cards enable_cards implib
14886 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
14887 wine_fn_config_dll clusapi enable_clusapi implib
14888 wine_fn_config_dll comcat enable_comcat
14889 wine_fn_config_test dlls/comcat/tests comcat_test
14890 wine_fn_config_dll comctl32 enable_comctl32 implib
14891 wine_fn_config_test dlls/comctl32/tests comctl32_test
14892 wine_fn_config_dll comdlg32 enable_comdlg32 implib
14893 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
14894 wine_fn_config_dll comm.drv16 enable_win16
14895 wine_fn_config_dll commdlg.dll16 enable_win16
14896 wine_fn_config_dll compobj.dll16 enable_win16
14897 wine_fn_config_dll compstui enable_compstui implib
14898 wine_fn_config_dll credui enable_credui implib
14899 wine_fn_config_test dlls/credui/tests credui_test
14900 wine_fn_config_dll crtdll enable_crtdll implib
14901 wine_fn_config_dll crypt32 enable_crypt32 implib
14902 wine_fn_config_test dlls/crypt32/tests crypt32_test
14903 wine_fn_config_dll cryptdlg enable_cryptdlg
14904 wine_fn_config_dll cryptdll enable_cryptdll implib
14905 wine_fn_config_dll cryptnet enable_cryptnet implib
14906 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
14907 wine_fn_config_dll cryptui enable_cryptui implib
14908 wine_fn_config_test dlls/cryptui/tests cryptui_test
14909 wine_fn_config_dll ctapi32 enable_ctapi32
14910 wine_fn_config_dll ctl3d.dll16 enable_win16
14911 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
14912 wine_fn_config_dll ctl3dv2.dll16 enable_win16
14913 wine_fn_config_dll d3d10 enable_d3d10 implib
14914 wine_fn_config_test dlls/d3d10/tests d3d10_test
14915 wine_fn_config_dll d3d10core enable_d3d10core implib
14916 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
14917 wine_fn_config_dll d3d8 enable_d3d8 implib
14918 wine_fn_config_test dlls/d3d8/tests d3d8_test
14919 wine_fn_config_dll d3d9 enable_d3d9 implib
14920 wine_fn_config_test dlls/d3d9/tests d3d9_test
14921 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
14922 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
14923 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
14924 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
14925 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
14926 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
14927 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
14928 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
14929 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
14930 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
14931 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
14932 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
14933 wine_fn_config_dll d3dim enable_d3dim implib
14934 wine_fn_config_dll d3drm enable_d3drm implib
14935 wine_fn_config_test dlls/d3drm/tests d3drm_test
14936 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
14937 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
14938 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
14939 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
14940 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
14941 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
14942 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
14943 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
14944 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
14945 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
14946 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
14947 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
14948 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
14949 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
14950 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
14951 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
14952 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
14953 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
14954 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
14955 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
14956 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
14957 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
14958 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
14959 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
14960 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
14961 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
14962 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
14963 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
14964 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
14965 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
14966 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
14967 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
14968 wine_fn_config_dll d3dxof enable_d3dxof implib
14969 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
14970 wine_fn_config_dll dbgeng enable_dbgeng implib
14971 wine_fn_config_dll dbghelp enable_dbghelp implib
14972 wine_fn_config_dll dciman32 enable_dciman32 implib
14973 wine_fn_config_dll ddeml.dll16 enable_win16
14974 wine_fn_config_dll ddraw enable_ddraw implib
14975 wine_fn_config_test dlls/ddraw/tests ddraw_test
14976 wine_fn_config_dll ddrawex enable_ddrawex
14977 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
14978 wine_fn_config_dll devenum enable_devenum
14979 wine_fn_config_dll dinput enable_dinput implib,staticimplib
14980 wine_fn_config_test dlls/dinput/tests dinput_test
14981 wine_fn_config_dll dinput8 enable_dinput8 implib
14982 wine_fn_config_dll dispdib.dll16 enable_win16
14983 wine_fn_config_dll dispex enable_dispex
14984 wine_fn_config_test dlls/dispex/tests dispex_test
14985 wine_fn_config_dll display.drv16 enable_win16
14986 wine_fn_config_dll dmband enable_dmband
14987 wine_fn_config_dll dmcompos enable_dmcompos
14988 wine_fn_config_dll dmime enable_dmime
14989 wine_fn_config_test dlls/dmime/tests dmime_test
14990 wine_fn_config_dll dmloader enable_dmloader
14991 wine_fn_config_test dlls/dmloader/tests dmloader_test
14992 wine_fn_config_dll dmscript enable_dmscript
14993 wine_fn_config_dll dmstyle enable_dmstyle
14994 wine_fn_config_dll dmsynth enable_dmsynth
14995 wine_fn_config_dll dmusic enable_dmusic
14996 wine_fn_config_dll dmusic32 enable_dmusic32 implib
14997 wine_fn_config_dll dnsapi enable_dnsapi implib
14998 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
14999 wine_fn_config_dll dplay enable_dplay implib
15000 wine_fn_config_dll dplayx enable_dplayx implib
15001 wine_fn_config_test dlls/dplayx/tests dplayx_test
15002 wine_fn_config_dll dpnaddr enable_dpnaddr
15003 wine_fn_config_dll dpnet enable_dpnet implib
15004 wine_fn_config_dll dpnhpast enable_dpnhpast
15005 wine_fn_config_dll dpnlobby enable_dpnlobby
15006 wine_fn_config_dll dpwsockx enable_dpwsockx
15007 wine_fn_config_dll drmclien enable_drmclien
15008 wine_fn_config_dll dsound enable_dsound implib
15009 wine_fn_config_test dlls/dsound/tests dsound_test
15010 wine_fn_config_dll dssenh enable_dssenh
15011 wine_fn_config_dll dswave enable_dswave
15012 wine_fn_config_dll dwmapi enable_dwmapi implib
15013 wine_fn_config_dll dxdiagn enable_dxdiagn
15014 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
15015 wine_fn_config_lib dxerr8
15016 wine_fn_config_lib dxerr9
15017 wine_fn_config_dll dxgi enable_dxgi implib
15018 wine_fn_config_test dlls/dxgi/tests dxgi_test
15019 wine_fn_config_lib dxguid
15020 wine_fn_config_dll explorerframe enable_explorerframe
15021 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
15022 wine_fn_config_dll faultrep enable_faultrep implib
15023 wine_fn_config_test dlls/faultrep/tests faultrep_test
15024 wine_fn_config_dll fltlib enable_fltlib
15025 wine_fn_config_dll fusion enable_fusion
15026 wine_fn_config_test dlls/fusion/tests fusion_test
15027 wine_fn_config_dll fwpuclnt enable_fwpuclnt
15028 wine_fn_config_dll gameux enable_gameux
15029 wine_fn_config_test dlls/gameux/tests gameux_test
15030 wine_fn_config_dll gdi.exe16 enable_win16
15031 wine_fn_config_dll gdi32 enable_gdi32 implib
15032 wine_fn_config_test dlls/gdi32/tests gdi32_test
15033 wine_fn_config_dll gdiplus enable_gdiplus implib
15034 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
15035 wine_fn_config_dll glu32 enable_glu32 implib
15036 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds
15037 wine_fn_config_dll gpkcsp enable_gpkcsp
15038 wine_fn_config_dll hal enable_hal
15039 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx
15040 wine_fn_config_dll hid enable_hid implib
15041 wine_fn_config_dll hlink enable_hlink implib
15042 wine_fn_config_test dlls/hlink/tests hlink_test
15043 wine_fn_config_dll hnetcfg enable_hnetcfg
15044 wine_fn_config_dll httpapi enable_httpapi
15045 wine_fn_config_dll iccvid enable_iccvid
15046 wine_fn_config_dll icmp enable_icmp
15047 wine_fn_config_dll ifsmgr.vxd enable_win16
15048 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
15049 wine_fn_config_dll imagehlp enable_imagehlp implib
15050 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
15051 wine_fn_config_dll imm.dll16 enable_win16
15052 wine_fn_config_dll imm32 enable_imm32 implib
15053 wine_fn_config_test dlls/imm32/tests imm32_test
15054 wine_fn_config_dll inetcomm enable_inetcomm implib
15055 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
15056 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl
15057 wine_fn_config_dll inetmib1 enable_inetmib1
15058 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
15059 wine_fn_config_dll infosoft enable_infosoft
15060 wine_fn_config_test dlls/infosoft/tests infosoft_test
15061 wine_fn_config_dll initpki enable_initpki
15062 wine_fn_config_dll inkobj enable_inkobj
15063 wine_fn_config_dll inseng enable_inseng
15064 wine_fn_config_dll iphlpapi enable_iphlpapi implib
15065 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
15066 wine_fn_config_dll itircl enable_itircl
15067 wine_fn_config_dll itss enable_itss
15068 wine_fn_config_test dlls/itss/tests itss_test
15069 wine_fn_config_dll jscript enable_jscript
15070 wine_fn_config_test dlls/jscript/tests jscript_test
15071 wine_fn_config_dll kernel32 enable_kernel32 implib
15072 wine_fn_config_test dlls/kernel32/tests kernel32_test
15073 wine_fn_config_dll keyboard.drv16 enable_win16
15074 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
15075 wine_fn_config_dll ktmw32 enable_ktmw32
15076 wine_fn_config_dll loadperf enable_loadperf implib
15077 wine_fn_config_dll localspl enable_localspl
15078 wine_fn_config_test dlls/localspl/tests localspl_test
15079 wine_fn_config_dll localui enable_localui
15080 wine_fn_config_test dlls/localui/tests localui_test
15081 wine_fn_config_dll lz32 enable_lz32 implib
15082 wine_fn_config_test dlls/lz32/tests lz32_test
15083 wine_fn_config_dll lzexpand.dll16 enable_win16
15084 wine_fn_config_dll mapi32 enable_mapi32 implib
15085 wine_fn_config_test dlls/mapi32/tests mapi32_test
15086 wine_fn_config_dll mapistub enable_mapistub
15087 wine_fn_config_dll mciavi32 enable_mciavi32
15088 wine_fn_config_dll mcicda enable_mcicda
15089 wine_fn_config_dll mciqtz32 enable_mciqtz32
15090 wine_fn_config_dll mciseq enable_mciseq
15091 wine_fn_config_dll mciwave enable_mciwave
15092 wine_fn_config_dll midimap enable_midimap
15093 wine_fn_config_dll mlang enable_mlang implib
15094 wine_fn_config_test dlls/mlang/tests mlang_test
15095 wine_fn_config_dll mmdevapi enable_mmdevapi
15096 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
15097 wine_fn_config_dll mmdevldr.vxd enable_win16
15098 wine_fn_config_dll mmsystem.dll16 enable_win16
15099 wine_fn_config_dll monodebg.vxd enable_win16
15100 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
15101 wine_fn_config_dll mouse.drv16 enable_win16
15102 wine_fn_config_dll mpr enable_mpr implib
15103 wine_fn_config_dll mprapi enable_mprapi implib
15104 wine_fn_config_dll msacm.dll16 enable_win16
15105 wine_fn_config_dll msacm32.drv enable_msacm32_drv
15106 wine_fn_config_dll msacm32 enable_msacm32 implib
15107 wine_fn_config_test dlls/msacm32/tests msacm32_test
15108 wine_fn_config_dll msadp32.acm enable_msadp32_acm
15109 wine_fn_config_dll mscat32 enable_mscat32
15110 wine_fn_config_dll mscms enable_mscms implib
15111 wine_fn_config_test dlls/mscms/tests mscms_test
15112 wine_fn_config_dll mscoree enable_mscoree
15113 wine_fn_config_test dlls/mscoree/tests mscoree_test
15114 wine_fn_config_dll msctf enable_msctf
15115 wine_fn_config_test dlls/msctf/tests msctf_test
15116 wine_fn_config_dll msdaps enable_msdaps
15117 wine_fn_config_dll msdmo enable_msdmo implib
15118 wine_fn_config_dll msftedit enable_msftedit
15119 wine_fn_config_dll msg711.acm enable_msg711_acm
15120 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
15121 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
15122 wine_fn_config_dll mshtml enable_mshtml implib
15123 wine_fn_config_test dlls/mshtml/tests mshtml_test
15124 wine_fn_config_dll msi enable_msi implib
15125 wine_fn_config_test dlls/msi/tests msi_test
15126 wine_fn_config_dll msimg32 enable_msimg32 implib
15127 wine_fn_config_dll msimtf enable_msimtf
15128 wine_fn_config_dll msisip enable_msisip
15129 wine_fn_config_dll msisys.ocx enable_msisys_ocx
15130 wine_fn_config_dll msnet32 enable_msnet32
15131 wine_fn_config_dll msrle32 enable_msrle32
15132 wine_fn_config_dll mssign32 enable_mssign32
15133 wine_fn_config_dll mssip32 enable_mssip32
15134 wine_fn_config_dll mstask enable_mstask
15135 wine_fn_config_test dlls/mstask/tests mstask_test
15136 wine_fn_config_dll msvcirt enable_msvcirt
15137 wine_fn_config_dll msvcp80 enable_msvcp80
15138 wine_fn_config_dll msvcp90 enable_msvcp90
15139 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
15140 wine_fn_config_dll msvcr100 enable_msvcr100
15141 wine_fn_config_dll msvcr70 enable_msvcr70 implib
15142 wine_fn_config_dll msvcr71 enable_msvcr71 implib
15143 wine_fn_config_dll msvcr80 enable_msvcr80
15144 wine_fn_config_dll msvcr90 enable_msvcr90
15145 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
15146 wine_fn_config_dll msvcrt enable_msvcrt implib
15147 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
15148 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
15149 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
15150 wine_fn_config_dll msvcrtd enable_msvcrtd implib
15151 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
15152 wine_fn_config_dll msvfw32 enable_msvfw32 implib
15153 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
15154 wine_fn_config_dll msvidc32 enable_msvidc32
15155 wine_fn_config_dll msvideo.dll16 enable_win16
15156 wine_fn_config_dll mswsock enable_mswsock implib
15157 wine_fn_config_dll msxml enable_msxml
15158 wine_fn_config_dll msxml2 enable_msxml2
15159 wine_fn_config_dll msxml3 enable_msxml3
15160 wine_fn_config_test dlls/msxml3/tests msxml3_test
15161 wine_fn_config_dll msxml4 enable_msxml4
15162 wine_fn_config_dll msxml6 enable_msxml6
15163 wine_fn_config_dll nddeapi enable_nddeapi implib
15164 wine_fn_config_dll netapi32 enable_netapi32 implib
15165 wine_fn_config_test dlls/netapi32/tests netapi32_test
15166 wine_fn_config_dll newdev enable_newdev implib
15167 wine_fn_config_dll normaliz enable_normaliz implib
15168 wine_fn_config_dll npmshtml enable_npmshtml
15169 wine_fn_config_dll ntdll enable_ntdll implib
15170 wine_fn_config_test dlls/ntdll/tests ntdll_test
15171 wine_fn_config_dll ntdsapi enable_ntdsapi implib
15172 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
15173 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
15174 wine_fn_config_dll ntprint enable_ntprint
15175 wine_fn_config_test dlls/ntprint/tests ntprint_test
15176 wine_fn_config_dll objsel enable_objsel
15177 wine_fn_config_dll odbc32 enable_odbc32 implib
15178 wine_fn_config_dll odbccp32 enable_odbccp32 implib
15179 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
15180 wine_fn_config_dll ole2.dll16 enable_win16
15181 wine_fn_config_dll ole2conv.dll16 enable_win16
15182 wine_fn_config_dll ole2disp.dll16 enable_win16
15183 wine_fn_config_dll ole2nls.dll16 enable_win16
15184 wine_fn_config_dll ole2prox.dll16 enable_win16
15185 wine_fn_config_dll ole2thk.dll16 enable_win16
15186 wine_fn_config_dll ole32 enable_ole32 implib
15187 wine_fn_config_test dlls/ole32/tests ole32_test
15188 wine_fn_config_dll oleacc enable_oleacc implib
15189 wine_fn_config_test dlls/oleacc/tests oleacc_test
15190 wine_fn_config_dll oleaut32 enable_oleaut32 implib
15191 wine_fn_config_test dlls/oleaut32/tests oleaut32_test
15192 wine_fn_config_dll olecli.dll16 enable_win16
15193 wine_fn_config_dll olecli32 enable_olecli32 implib
15194 wine_fn_config_dll oledb32 enable_oledb32
15195 wine_fn_config_test dlls/oledb32/tests oledb32_test
15196 wine_fn_config_dll oledlg enable_oledlg implib
15197 wine_fn_config_dll olepro32 enable_olepro32 implib
15198 wine_fn_config_dll olesvr.dll16 enable_win16
15199 wine_fn_config_dll olesvr32 enable_olesvr32 implib
15200 wine_fn_config_dll olethk32 enable_olethk32
15201 wine_fn_config_dll openal32 enable_openal32
15202 wine_fn_config_dll opencl enable_opencl
15203 wine_fn_config_dll opengl32 enable_opengl32 implib
15204 wine_fn_config_test dlls/opengl32/tests opengl32_test
15205 wine_fn_config_dll pdh enable_pdh implib
15206 wine_fn_config_test dlls/pdh/tests pdh_test
15207 wine_fn_config_dll pidgen enable_pidgen
15208 wine_fn_config_dll powrprof enable_powrprof implib
15209 wine_fn_config_dll printui enable_printui
15210 wine_fn_config_dll propsys enable_propsys implib
15211 wine_fn_config_test dlls/propsys/tests propsys_test
15212 wine_fn_config_dll psapi enable_psapi implib
15213 wine_fn_config_test dlls/psapi/tests psapi_test
15214 wine_fn_config_dll pstorec enable_pstorec
15215 wine_fn_config_dll qcap enable_qcap
15216 wine_fn_config_dll qedit enable_qedit
15217 wine_fn_config_test dlls/qedit/tests qedit_test
15218 wine_fn_config_dll qmgr enable_qmgr
15219 wine_fn_config_test dlls/qmgr/tests qmgr_test
15220 wine_fn_config_dll qmgrprxy enable_qmgrprxy
15221 wine_fn_config_dll quartz enable_quartz implib
15222 wine_fn_config_test dlls/quartz/tests quartz_test
15223 wine_fn_config_dll query enable_query
15224 wine_fn_config_dll rasapi16.dll16 enable_win16
15225 wine_fn_config_dll rasapi32 enable_rasapi32 implib
15226 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
15227 wine_fn_config_dll rasdlg enable_rasdlg implib
15228 wine_fn_config_dll resutils enable_resutils implib
15229 wine_fn_config_dll riched20 enable_riched20 implib
15230 wine_fn_config_test dlls/riched20/tests riched20_test
15231 wine_fn_config_dll riched32 enable_riched32
15232 wine_fn_config_test dlls/riched32/tests riched32_test
15233 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
15234 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test
15235 wine_fn_config_dll rsabase enable_rsabase
15236 wine_fn_config_dll rsaenh enable_rsaenh implib
15237 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
15238 wine_fn_config_dll rstrtmgr enable_rstrtmgr
15239 wine_fn_config_dll rtutils enable_rtutils implib
15240 wine_fn_config_dll samlib enable_samlib
15241 wine_fn_config_dll sane.ds enable_sane_ds
15242 wine_fn_config_dll sccbase enable_sccbase
15243 wine_fn_config_dll schannel enable_schannel
15244 wine_fn_config_test dlls/schannel/tests schannel_test
15245 wine_fn_config_dll secur32 enable_secur32 implib
15246 wine_fn_config_test dlls/secur32/tests secur32_test
15247 wine_fn_config_dll security enable_security
15248 wine_fn_config_dll sensapi enable_sensapi implib
15249 wine_fn_config_dll serialui enable_serialui implib
15250 wine_fn_config_test dlls/serialui/tests serialui_test
15251 wine_fn_config_dll setupapi enable_setupapi implib
15252 wine_fn_config_test dlls/setupapi/tests setupapi_test
15253 wine_fn_config_dll setupx.dll16 enable_win16
15254 wine_fn_config_dll sfc enable_sfc implib
15255 wine_fn_config_dll sfc_os enable_sfc_os implib
15256 wine_fn_config_dll shdoclc enable_shdoclc
15257 wine_fn_config_dll shdocvw enable_shdocvw implib
15258 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
15259 wine_fn_config_dll shell.dll16 enable_win16
15260 wine_fn_config_dll shell32 enable_shell32 implib
15261 wine_fn_config_test dlls/shell32/tests shell32_test
15262 wine_fn_config_dll shfolder enable_shfolder implib
15263 wine_fn_config_dll shlwapi enable_shlwapi implib
15264 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
15265 wine_fn_config_dll slbcsp enable_slbcsp
15266 wine_fn_config_dll slc enable_slc implib
15267 wine_fn_config_dll snmpapi enable_snmpapi implib
15268 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
15269 wine_fn_config_dll softpub enable_softpub
15270 wine_fn_config_dll sound.drv16 enable_win16
15271 wine_fn_config_dll spoolss enable_spoolss implib
15272 wine_fn_config_test dlls/spoolss/tests spoolss_test
15273 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
15274 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
15275 wine_fn_config_dll sti enable_sti implib
15276 wine_fn_config_test dlls/sti/tests sti_test
15277 wine_fn_config_dll storage.dll16 enable_win16
15278 wine_fn_config_dll stress.dll16 enable_win16
15279 wine_fn_config_lib strmbase
15280 wine_fn_config_lib strmiids
15281 wine_fn_config_dll svrapi enable_svrapi
15282 wine_fn_config_dll sxs enable_sxs
15283 wine_fn_config_dll system.drv16 enable_win16
15284 wine_fn_config_dll t2embed enable_t2embed
15285 wine_fn_config_dll tapi32 enable_tapi32 implib
15286 wine_fn_config_dll toolhelp.dll16 enable_win16
15287 wine_fn_config_dll traffic enable_traffic
15288 wine_fn_config_dll twain.dll16 enable_win16
15289 wine_fn_config_dll twain_32 enable_twain_32
15290 wine_fn_config_test dlls/twain_32/tests twain_32_test
15291 wine_fn_config_dll typelib.dll16 enable_win16
15292 wine_fn_config_dll unicows enable_unicows implib
15293 wine_fn_config_dll updspapi enable_updspapi
15294 wine_fn_config_dll url enable_url implib
15295 wine_fn_config_dll urlmon enable_urlmon implib
15296 wine_fn_config_test dlls/urlmon/tests urlmon_test
15297 wine_fn_config_dll usbd.sys enable_usbd_sys implib
15298 wine_fn_config_dll user.exe16 enable_win16
15299 wine_fn_config_dll user32 enable_user32 implib
15300 wine_fn_config_test dlls/user32/tests user32_test
15301 wine_fn_config_dll userenv enable_userenv implib
15302 wine_fn_config_test dlls/userenv/tests userenv_test
15303 wine_fn_config_dll usp10 enable_usp10 implib
15304 wine_fn_config_test dlls/usp10/tests usp10_test
15305 wine_fn_config_lib uuid
15306 wine_fn_config_dll uxtheme enable_uxtheme implib
15307 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
15308 wine_fn_config_dll vdhcp.vxd enable_win16
15309 wine_fn_config_dll vdmdbg enable_vdmdbg implib
15310 wine_fn_config_dll ver.dll16 enable_win16
15311 wine_fn_config_dll version enable_version implib
15312 wine_fn_config_test dlls/version/tests version_test
15313 wine_fn_config_dll vmm.vxd enable_win16
15314 wine_fn_config_dll vnbt.vxd enable_win16
15315 wine_fn_config_dll vnetbios.vxd enable_win16
15316 wine_fn_config_dll vtdapi.vxd enable_win16
15317 wine_fn_config_dll vwin32.vxd enable_win16
15318 wine_fn_config_dll w32skrnl enable_win16
15319 wine_fn_config_dll w32sys.dll16 enable_win16
15320 wine_fn_config_dll wbemprox enable_wbemprox
15321 wine_fn_config_dll wer enable_wer implib
15322 wine_fn_config_test dlls/wer/tests wer_test
15323 wine_fn_config_dll wiaservc enable_wiaservc
15324 wine_fn_config_dll win32s16.dll16 enable_win16
15325 wine_fn_config_dll win87em.dll16 enable_win16
15326 wine_fn_config_dll winaspi.dll16 enable_win16
15327 wine_fn_config_dll windebug.dll16 enable_win16
15328 wine_fn_config_dll windowscodecs enable_windowscodecs implib
15329 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
15330 wine_fn_config_dll winealsa.drv enable_winealsa_drv
15331 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
15332 wine_fn_config_lib winecrt0
15333 wine_fn_config_dll wined3d enable_wined3d implib
15334 wine_fn_config_dll wineesd.drv enable_wineesd_drv
15335 wine_fn_config_dll winegstreamer enable_winegstreamer
15336 wine_fn_config_dll winejack.drv enable_winejack_drv
15337 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
15338 wine_fn_config_dll winemapi enable_winemapi
15339 wine_fn_config_dll winemp3.acm enable_winemp3_acm
15340 wine_fn_config_dll winenas.drv enable_winenas_drv
15341 wine_fn_config_dll wineoss.drv enable_wineoss_drv
15342 wine_fn_config_dll wineps.drv enable_wineps_drv
15343 wine_fn_config_dll wineps16.drv16 enable_win16
15344 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
15345 wine_fn_config_dll winequartz.drv enable_winequartz_drv
15346 wine_fn_config_dll winex11.drv enable_winex11_drv
15347 wine_fn_config_dll wing.dll16 enable_win16
15348 wine_fn_config_dll wing32 enable_wing32
15349 wine_fn_config_dll winhttp enable_winhttp implib
15350 wine_fn_config_test dlls/winhttp/tests winhttp_test
15351 wine_fn_config_dll wininet enable_wininet implib
15352 wine_fn_config_test dlls/wininet/tests wininet_test
15353 wine_fn_config_dll winmm enable_winmm implib
15354 wine_fn_config_test dlls/winmm/tests winmm_test
15355 wine_fn_config_dll winnls.dll16 enable_win16
15356 wine_fn_config_dll winnls32 enable_winnls32 implib
15357 wine_fn_config_dll winscard enable_winscard implib
15358 wine_fn_config_dll winsock.dll16 enable_win16
15359 wine_fn_config_dll winspool.drv enable_winspool_drv implib winspool
15360 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
15361 wine_fn_config_dll wintab.dll16 enable_win16
15362 wine_fn_config_dll wintab32 enable_wintab32 implib
15363 wine_fn_config_test dlls/wintab32/tests wintab32_test
15364 wine_fn_config_dll wintrust enable_wintrust implib
15365 wine_fn_config_test dlls/wintrust/tests wintrust_test
15366 wine_fn_config_dll wlanapi enable_wlanapi
15367 wine_fn_config_dll wldap32 enable_wldap32 implib
15368 wine_fn_config_test dlls/wldap32/tests wldap32_test
15369 wine_fn_config_dll wmi enable_wmi
15370 wine_fn_config_dll wmiutils enable_wmiutils
15371 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
15372 wine_fn_config_dll wow32 enable_win16 implib
15373 wine_fn_config_dll ws2_32 enable_ws2_32 implib
15374 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
15375 wine_fn_config_dll wsock32 enable_wsock32 implib
15376 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
15377 wine_fn_config_dll wuapi enable_wuapi
15378 wine_fn_config_dll wuaueng enable_wuaueng
15379 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
15380 wine_fn_config_dll xinput1_1 enable_xinput1_1
15381 wine_fn_config_dll xinput1_2 enable_xinput1_2
15382 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
15383 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
15384 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
15385 wine_fn_config_dll xmllite enable_xmllite
15386 wine_fn_config_test dlls/xmllite/tests xmllite_test
15387 wine_fn_config_makefile documentation enable_documentation
15388 wine_fn_config_makefile fonts enable_fonts
15389 wine_fn_config_makefile include enable_include
15390 wine_fn_config_makefile libs/port enable_libs_port
15391 wine_fn_config_makefile libs/wine enable_libs_wine
15392 wine_fn_config_makefile libs/wpp enable_libs_wpp
15393 wine_fn_config_makefile loader enable_loader
15394 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
15395 wine_fn_config_program attrib enable_attrib install
15396 wine_fn_config_program cacls enable_cacls install
15397 wine_fn_config_program clock enable_clock po,install
15398 wine_fn_config_program cmd enable_cmd po,install
15399 wine_fn_config_test programs/cmd/tests cmd.exe_test
15400 wine_fn_config_program cmdlgtst enable_cmdlgtst
15401 wine_fn_config_program control enable_control install
15402 wine_fn_config_program dxdiag enable_dxdiag install
15403 wine_fn_config_program eject enable_eject install
15404 wine_fn_config_program expand enable_expand install
15405 wine_fn_config_program explorer enable_explorer install
15406 wine_fn_config_program extrac32 enable_extrac32 install
15407 wine_fn_config_program hh enable_hh install
15408 wine_fn_config_program icinfo enable_icinfo install
15409 wine_fn_config_program iexplore enable_iexplore install
15410 wine_fn_config_program ipconfig enable_ipconfig po,install
15411 wine_fn_config_program lodctr enable_lodctr install
15412 wine_fn_config_program mofcomp enable_mofcomp install
15413 wine_fn_config_program mshta enable_mshta install
15414 wine_fn_config_program msiexec enable_msiexec install,installbin
15415 wine_fn_config_program net enable_net po,install
15416 wine_fn_config_program netsh enable_netsh install
15417 wine_fn_config_program ngen enable_ngen install
15418 wine_fn_config_program notepad enable_notepad install,installbin
15419 wine_fn_config_program oleview enable_oleview install
15420 wine_fn_config_program ping enable_ping install
15421 wine_fn_config_program progman enable_progman install
15422 wine_fn_config_program reg enable_reg po,install
15423 wine_fn_config_program regedit enable_regedit install,installbin
15424 wine_fn_config_test programs/regedit/tests regedit.exe_test
15425 wine_fn_config_program regsvcs enable_regsvcs install
15426 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin
15427 wine_fn_config_program rpcss enable_rpcss install
15428 wine_fn_config_program rundll.exe16 enable_win16 install
15429 wine_fn_config_program rundll32 enable_rundll32 install
15430 wine_fn_config_program sc enable_sc install
15431 wine_fn_config_program secedit enable_secedit install
15432 wine_fn_config_program servicemodelreg enable_servicemodelreg install
15433 wine_fn_config_program services enable_services install
15434 wine_fn_config_program spoolsv enable_spoolsv install
15435 wine_fn_config_program start enable_start po,install
15436 wine_fn_config_program svchost enable_svchost install
15437 wine_fn_config_program taskkill enable_taskkill po,install
15438 wine_fn_config_program taskmgr enable_taskmgr install
15439 wine_fn_config_program termsv enable_termsv install
15440 wine_fn_config_program uninstaller enable_uninstaller po,install
15441 wine_fn_config_program unlodctr enable_unlodctr install
15442 wine_fn_config_program view enable_view
15443 wine_fn_config_program wineboot enable_wineboot install,installbin
15444 wine_fn_config_program winebrowser enable_winebrowser install
15445 wine_fn_config_program winecfg enable_winecfg install,installbin
15446 wine_fn_config_program wineconsole enable_wineconsole install,installbin
15447 wine_fn_config_program winedbg enable_winedbg install,installbin
15448 wine_fn_config_program winedevice enable_winedevice install
15449 wine_fn_config_program winefile enable_winefile install,installbin
15450 wine_fn_config_program winemenubuilder enable_winemenubuilder install
15451 wine_fn_config_program winemine enable_winemine install,installbin
15452 wine_fn_config_program winepath enable_winepath install,installbin
15453 wine_fn_config_program winetest enable_winetest
15454 wine_fn_config_program winevdm enable_win16 install
15455 wine_fn_config_program winhelp.exe16 enable_win16 install
15456 wine_fn_config_program winhlp32 enable_winhlp32 install
15457 wine_fn_config_program winoldap.mod16 enable_win16 install
15458 wine_fn_config_program winver enable_winver install
15459 wine_fn_config_program wmic enable_wmic install
15460 wine_fn_config_program wordpad enable_wordpad install
15461 wine_fn_config_program write enable_write po,install
15462 wine_fn_config_program wscript enable_wscript install
15463 wine_fn_config_program xcopy enable_xcopy po,install
15464 wine_fn_config_makefile server enable_server
15465 wine_fn_config_tool tools
15466 wine_fn_config_tool tools/widl
15467 wine_fn_config_tool tools/winebuild
15468 wine_fn_config_tool tools/winedump
15469 wine_fn_config_tool tools/winegcc
15470 wine_fn_config_tool tools/wmc
15471 wine_fn_config_tool tools/wrc
15515 ac_config_commands="$ac_config_commands Makefile"
15518 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
15522 if test "x$enable_maintainer_mode" = xyes
15524 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(srcdir)/configure: configure.ac aclocal.m4
15525 cd \$(srcdir) && autoconf --warnings=all
15526 \$(srcdir)/include/config.h.in: include/stamp-h.in
15527 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
15528 cd \$(srcdir) && autoheader --warnings=all
15529 @echo timestamp > \$@
15531 ALL_POT_FILES =$ALL_POT_FILES
15532 all: \$(ALL_PO_FILES)
15533 \$(ALL_PO_FILES): \$(srcdir)/po/wine.pot
15534 msgmerge -U -q --backup=none \$@ \$(srcdir)/po/wine.pot && touch \$@
15535 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
15536 msgcat -o \$@ \$(ALL_POT_FILES)"
15539 if test -n "$with_wine64"
15541 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
15543 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
15544 $with_wine64/loader/wine:
15545 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
15546 $with_wine64/loader/wine-preloader:
15547 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
15549 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
15552 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "uninstall::
15553 -rmdir \$(DESTDIR)\$(datadir)/wine \$(DESTDIR)\$(fakedlldir) \$(DESTDIR)\$(dlldir)"
15555 cat >confcache <<\_ACEOF
15556 # This file is a shell script that caches the results of configure
15557 # tests run on this system so they can be shared between configure
15558 # scripts and configure runs, see configure's option --config-cache.
15559 # It is not useful on other systems. If it contains results you don't
15560 # want to keep, you may remove or edit it.
15562 # config.status only pays attention to the cache file if you give it
15563 # the --recheck option to rerun configure.
15565 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15566 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15567 # following values.
15571 # The following way of writing the cache mishandles newlines in values,
15572 # but we know of no workaround that is simple, portable, and efficient.
15573 # So, we kill variables containing newlines.
15574 # Ultrix sh set writes to stderr and can't be redirected directly,
15575 # and sets the high bit in the cache file unless we assign to the vars.
15577 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15578 eval ac_val=\$$ac_var
15582 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15583 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15586 _ | IFS | as_nl) ;; #(
15587 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15588 *) { eval $ac_var=; unset $ac_var;} ;;
15594 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15595 *${as_nl}ac_space=\ *)
15596 # `set' does not quote correctly, so add quotes: double-quote
15597 # substitution turns \\\\ into \\, and sed turns \\ into \.
15600 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15603 # `set' quotes correctly as required by POSIX, so do not add quotes.
15604 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15613 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15615 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15617 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15618 if test -w "$cache_file"; then
15619 test "x$cache_file" != "x/dev/null" &&
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15621 $as_echo "$as_me: updating cache $cache_file" >&6;}
15622 cat confcache >$cache_file
15624 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15625 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15630 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15631 # Let make expand exec_prefix.
15632 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15634 DEFS=-DHAVE_CONFIG_H
15639 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15640 # 1. Remove the extension, and $U if already installed.
15641 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15642 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15643 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15644 # will be set to the directory where LIBOBJS objects are built.
15645 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15646 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15648 LIBOBJS=$ac_libobjs
15650 LTLIBOBJS=$ac_ltlibobjs
15654 : ${CONFIG_STATUS=./config.status}
15656 ac_clean_files_save=$ac_clean_files
15657 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15659 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15661 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15663 # Generated by $as_me.
15664 # Run this file to recreate the current configuration.
15665 # Compiler output produced by configure, useful for debugging
15666 # configure, is in config.log if it exists.
15669 ac_cs_recheck=false
15672 SHELL=\${CONFIG_SHELL-$SHELL}
15675 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15676 ## -------------------- ##
15677 ## M4sh Initialization. ##
15678 ## -------------------- ##
15680 # Be more Bourne compatible
15681 DUALCASE=1; export DUALCASE # for MKS sh
15682 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15685 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15686 # is contrary to our usage. Disable this feature.
15687 alias -g '${1+"$@"}'='"$@"'
15688 setopt NO_GLOB_SUBST
15690 case `(set -o) 2>/dev/null` in #(
15702 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15703 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15704 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15705 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15706 # Prefer a ksh shell builtin over an external printf program on Solaris,
15707 # but without wasting forks for bash or zsh.
15708 if test -z "$BASH_VERSION$ZSH_VERSION" \
15709 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15710 as_echo='print -r --'
15711 as_echo_n='print -rn --'
15712 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15713 as_echo='printf %s\n'
15714 as_echo_n='printf %s'
15716 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15717 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15718 as_echo_n='/usr/ucb/echo -n'
15720 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15721 as_echo_n_body='eval
15725 expr "X$arg" : "X\\(.*\\)$as_nl";
15726 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15728 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15730 export as_echo_n_body
15731 as_echo_n='sh -c $as_echo_n_body as_echo'
15733 export as_echo_body
15734 as_echo='sh -c $as_echo_body as_echo'
15737 # The user is always right.
15738 if test "${PATH_SEPARATOR+set}" != set; then
15740 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15741 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15748 # We need space, tab and new line, in precisely that order. Quoting is
15749 # there to prevent editors from complaining about space-tab.
15750 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15751 # splitting by setting IFS to empty value.)
15754 # Find who we are. Look in the path if we contain no directory separator.
15756 *[\\/]* ) as_myself=$0 ;;
15757 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15758 for as_dir in $PATH
15761 test -z "$as_dir" && as_dir=.
15762 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15768 # We did not find ourselves, most probably we were run as `sh COMMAND'
15769 # in which case we are not to be found in the path.
15770 if test "x$as_myself" = x; then
15773 if test ! -f "$as_myself"; then
15774 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15778 # Unset variables that we do not need and which cause bugs (e.g. in
15779 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15780 # suppresses any "Segmentation fault" message there. '((' could
15781 # trigger a bug in pdksh 5.2.14.
15782 for as_var in BASH_ENV ENV MAIL MAILPATH
15783 do eval test x\${$as_var+set} = xset \
15784 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15797 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15800 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15801 # ----------------------------------------
15802 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15803 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15804 # script with STATUS, using 1 if that was 0.
15807 as_status=$1; test $as_status -eq 0 && as_status=1
15809 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15810 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15812 $as_echo "$as_me: error: $2" >&2
15813 as_fn_exit $as_status
15817 # as_fn_set_status STATUS
15818 # -----------------------
15819 # Set $? to STATUS, without forking.
15820 as_fn_set_status ()
15823 } # as_fn_set_status
15825 # as_fn_exit STATUS
15826 # -----------------
15827 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15831 as_fn_set_status $1
15837 # Portably unset VAR.
15840 { eval $1=; unset $1;}
15842 as_unset=as_fn_unset
15843 # as_fn_append VAR VALUE
15844 # ----------------------
15845 # Append the text in VALUE to the end of the definition contained in VAR. Take
15846 # advantage of any shell optimizations that allow amortized linear growth over
15847 # repeated appends, instead of the typical quadratic growth present in naive
15849 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15850 eval 'as_fn_append ()
15861 # as_fn_arith ARG...
15862 # ------------------
15863 # Perform arithmetic evaluation on the ARGs, and store the result in the
15864 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15865 # must be portable across $(()) and expr.
15866 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15867 eval 'as_fn_arith ()
15874 as_val=`expr "$@" || test $? -eq 1`
15879 if expr a : '\(a\)' >/dev/null 2>&1 &&
15880 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15886 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15887 as_basename=basename
15892 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15898 as_me=`$as_basename -- "$0" ||
15899 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15900 X"$0" : 'X\(//\)$' \| \
15901 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15903 sed '/^.*\/\([^/][^/]*\)\/*$/{
15917 # Avoid depending upon Character Ranges.
15918 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15919 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15920 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15921 as_cr_digits='0123456789'
15922 as_cr_alnum=$as_cr_Letters$as_cr_digits
15924 ECHO_C= ECHO_N= ECHO_T=
15925 case `echo -n x` in #(((((
15927 case `echo 'xy\c'` in
15928 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15930 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15937 rm -f conf$$ conf$$.exe conf$$.file
15938 if test -d conf$$.dir; then
15939 rm -f conf$$.dir/conf$$.file
15942 mkdir conf$$.dir 2>/dev/null
15944 if (echo >conf$$.file) 2>/dev/null; then
15945 if ln -s conf$$.file conf$$ 2>/dev/null; then
15947 # ... but there are two gotchas:
15948 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15949 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15950 # In both cases, we have to default to `cp -p'.
15951 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15953 elif ln conf$$.file conf$$ 2>/dev/null; then
15961 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15962 rmdir conf$$.dir 2>/dev/null
15967 # Create "$as_dir" as a directory, including parents if necessary.
15972 -*) as_dir=./$as_dir;;
15974 test -d "$as_dir" || eval $as_mkdir_p || {
15978 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15979 *) as_qdir=$as_dir;;
15981 as_dirs="'$as_qdir' $as_dirs"
15982 as_dir=`$as_dirname -- "$as_dir" ||
15983 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15984 X"$as_dir" : 'X\(//\)[^/]' \| \
15985 X"$as_dir" : 'X\(//\)$' \| \
15986 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15987 $as_echo X"$as_dir" |
15988 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15992 /^X\(\/\/\)[^/].*/{
16005 test -d "$as_dir" && break
16007 test -z "$as_dirs" || eval "mkdir $as_dirs"
16008 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16012 if mkdir -p . 2>/dev/null; then
16013 as_mkdir_p='mkdir -p "$as_dir"'
16015 test -d ./-p && rmdir ./-p
16019 if test -x / >/dev/null 2>&1; then
16020 as_test_x='test -x'
16022 if ls -dL / >/dev/null 2>&1; then
16029 if test -d "$1"; then
16035 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16036 ???[sx]*):;;*)false;;esac;fi
16040 as_executable_p=$as_test_x
16042 # Sed expression to map a string onto a valid CPP name.
16043 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16045 # Sed expression to map a string onto a valid variable name.
16046 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16050 ## ----------------------------------- ##
16051 ## Main body of $CONFIG_STATUS script. ##
16052 ## ----------------------------------- ##
16054 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16057 # Save the log message, to keep $0 and so on meaningful, and to
16058 # report actual input values of CONFIG_FILES etc. instead of their
16059 # values after options handling.
16061 This file was extended by Wine $as_me 1.3.10, which was
16062 generated by GNU Autoconf 2.67. Invocation command line was
16064 CONFIG_FILES = $CONFIG_FILES
16065 CONFIG_HEADERS = $CONFIG_HEADERS
16066 CONFIG_LINKS = $CONFIG_LINKS
16067 CONFIG_COMMANDS = $CONFIG_COMMANDS
16070 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16075 case $ac_config_files in *"
16076 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16079 case $ac_config_headers in *"
16080 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16085 # Files that config.status was made for.
16086 config_files="$ac_config_files"
16087 config_headers="$ac_config_headers"
16088 config_links="$ac_config_links"
16089 config_commands="$ac_config_commands"
16093 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16095 \`$as_me' instantiates files and other configuration actions
16096 from templates according to the current configuration. Unless the files
16097 and actions are specified as TAGs, all are instantiated by default.
16099 Usage: $0 [OPTION]... [TAG]...
16101 -h, --help print this help, then exit
16102 -V, --version print version number and configuration settings, then exit
16103 --config print configuration, then exit
16104 -q, --quiet, --silent
16105 do not print progress messages
16106 -d, --debug don't remove temporary files
16107 --recheck update $as_me by reconfiguring in the same conditions
16108 --file=FILE[:TEMPLATE]
16109 instantiate the configuration file FILE
16110 --header=FILE[:TEMPLATE]
16111 instantiate the configuration header FILE
16113 Configuration files:
16116 Configuration headers:
16119 Configuration links:
16122 Configuration commands:
16125 Report bugs to <wine-devel@winehq.org>.
16126 Wine home page: <http://www.winehq.org>."
16129 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16130 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16132 Wine config.status 1.3.10
16133 configured by $0, generated by GNU Autoconf 2.67,
16134 with options \\"\$ac_cs_config\\"
16136 Copyright (C) 2010 Free Software Foundation, Inc.
16137 This config.status script is free software; the Free Software Foundation
16138 gives unlimited permission to copy, distribute and modify it."
16143 test -n "\$AWK" || AWK=awk
16146 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16147 # The default lists apply if the user does not specify any file.
16153 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16154 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16158 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16170 # Handling of the options.
16171 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16173 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16174 $as_echo "$ac_cs_version"; exit ;;
16175 --config | --confi | --conf | --con | --co | --c )
16176 $as_echo "$ac_cs_config"; exit ;;
16177 --debug | --debu | --deb | --de | --d | -d )
16179 --file | --fil | --fi | --f )
16182 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16183 '') as_fn_error $? "missing file argument" ;;
16185 as_fn_append CONFIG_FILES " '$ac_optarg'"
16186 ac_need_defaults=false;;
16187 --header | --heade | --head | --hea )
16190 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16192 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16193 ac_need_defaults=false;;
16195 # Conflict between --help and --header
16196 as_fn_error $? "ambiguous option: \`$1'
16197 Try \`$0 --help' for more information.";;
16198 --help | --hel | -h )
16199 $as_echo "$ac_cs_usage"; exit ;;
16200 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16201 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16204 # This is an error.
16205 -*) as_fn_error $? "unrecognized option: \`$1'
16206 Try \`$0 --help' for more information." ;;
16208 *) as_fn_append ac_config_targets " $1"
16209 ac_need_defaults=false ;;
16215 ac_configure_extra_args=
16217 if $ac_cs_silent; then
16219 ac_configure_extra_args="$ac_configure_extra_args --silent"
16223 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16224 if \$ac_cs_recheck; then
16225 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16227 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16228 CONFIG_SHELL='$SHELL'
16229 export CONFIG_SHELL
16234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16238 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16239 ## Running $as_me. ##
16245 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16249 wine_fn_output_makefile ()
16251 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
16252 $ALL_MAKEFILE_DEPENDS
16254 as_fn_error $? "could not create Makefile" "$LINENO" 5
16259 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16261 # Handling of arguments.
16262 for ac_config_target in $ac_config_targets
16264 case $ac_config_target in
16265 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
16266 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
16267 "dlls/shell32/AUTHORS") CONFIG_LINKS="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
16268 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
16269 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
16270 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
16271 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
16272 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
16273 "tools/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
16274 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
16275 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
16276 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
16277 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
16278 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
16279 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
16280 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
16281 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
16282 "Maketest.rules") CONFIG_FILES="$CONFIG_FILES Maketest.rules" ;;
16283 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
16284 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
16285 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
16286 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
16287 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
16289 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
16294 # If the user did not use the arguments to specify the items to instantiate,
16295 # then the envvar interface is used. Set only those that are not.
16296 # We use the long form for the default assignment because of an extremely
16297 # bizarre bug on SunOS 4.1.3.
16298 if $ac_need_defaults; then
16299 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16300 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16301 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
16302 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16305 # Have a temporary directory for convenience. Make it in the build tree
16306 # simply because there is no reason against having it here, and in addition,
16307 # creating and moving files from /tmp can sometimes cause problems.
16308 # Hook for its removal unless debugging.
16309 # Note that there is a small window in which the directory will not be cleaned:
16310 # after its creation but before its name has been assigned to `$tmp'.
16314 trap 'exit_status=$?
16315 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16317 trap 'as_fn_exit 1' 1 2 13 15
16319 # Create a (secure) tmp directory for tmp files.
16322 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16323 test -n "$tmp" && test -d "$tmp"
16326 tmp=./conf$$-$RANDOM
16327 (umask 077 && mkdir "$tmp")
16328 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16330 # Set up the scripts for CONFIG_FILES section.
16331 # No need to generate them if there are no CONFIG_FILES.
16332 # This happens for instance with `./config.status config.h'.
16333 if test -n "$CONFIG_FILES"; then
16335 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
16336 ac_cs_awk_getline=:
16337 ac_cs_awk_pipe_init=
16338 ac_cs_awk_read_file='
16339 while ((getline aline < (F[key])) > 0)
16342 ac_cs_awk_pipe_fini=
16344 ac_cs_awk_getline=false
16345 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
16346 ac_cs_awk_read_file='
16348 print "cat " F[key] " &&"
16349 '$ac_cs_awk_pipe_init
16350 # The final `:' finishes the AND list.
16351 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
16353 ac_cr=`echo X | tr X '\015'`
16354 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16355 # But we know of no other shell where ac_cr would be empty at this
16356 # point, so we can use a bashism as a fallback.
16357 if test "x$ac_cr" = x; then
16358 eval ac_cr=\$\'\\r\'
16360 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16361 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16364 ac_cs_awk_cr=$ac_cr
16367 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16370 # Create commands to substitute file output variables.
16372 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16373 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
16374 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
16377 } >conf$$files.sh &&
16378 . ./conf$$files.sh ||
16379 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16380 rm -f conf$$files.sh
16383 echo "cat >conf$$subs.awk <<_ACEOF" &&
16384 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16386 } >conf$$subs.sh ||
16387 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16388 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16390 for ac_last_try in false false false false false :; do
16391 . ./conf$$subs.sh ||
16392 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16394 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16395 if test $ac_delim_n = $ac_delim_num; then
16397 elif $ac_last_try; then
16398 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16400 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16403 rm -f conf$$subs.sh
16405 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16406 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16410 s/^/S["/; s/!.*/"]=/
16420 s/\(.\{148\}\)..*/\1/
16422 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16427 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16434 s/\(.\{148\}\)..*/\1/
16436 s/["\\]/\\&/g; s/^/"/; s/$/"/
16440 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16445 ' <conf$$subs.awk | sed '
16450 ' >>$CONFIG_STATUS || ac_write_fail=1
16451 rm -f conf$$subs.awk
16452 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16454 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16455 for (key in S) S_is_set[key] = 1
16457 \$ac_cs_awk_pipe_init
16461 nfields = split(line, field, "@")
16463 len = length(field[1])
16464 for (i = 2; i < nfields; i++) {
16466 keylen = length(key)
16467 if (S_is_set[key]) {
16469 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16470 len += length(value) + length(field[++i])
16475 if (nfields == 3 && !substed) {
16477 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16478 \$ac_cs_awk_read_file
16484 \$ac_cs_awk_pipe_fini
16487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16488 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16489 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16492 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16493 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16496 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16497 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16498 # trailing colons and then remove the whole line if VPATH becomes empty
16499 # (actually we leave an empty line to preserve line numbers).
16500 if test "x$srcdir" = x.; then
16501 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16520 fi # test -n "$CONFIG_FILES"
16522 # Set up the scripts for CONFIG_HEADERS section.
16523 # No need to generate them if there are no CONFIG_HEADERS.
16524 # This happens for instance with `./config.status Makefile'.
16525 if test -n "$CONFIG_HEADERS"; then
16526 cat >"$tmp/defines.awk" <<\_ACAWK ||
16530 # Transform confdefs.h into an awk script `defines.awk', embedded as
16531 # here-document in config.status, that substitutes the proper values into
16532 # config.h.in to produce config.h.
16534 # Create a delimiter string that does not exist in confdefs.h, to ease
16535 # handling of long lines.
16537 for ac_last_try in false false :; do
16538 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16539 if test -z "$ac_t"; then
16541 elif $ac_last_try; then
16542 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16544 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16548 # For the awk script, D is an array of macro values keyed by name,
16549 # likewise P contains macro parameters if any. Preserve backslash
16550 # newline sequences.
16552 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16554 s/.\{148\}/&'"$ac_delim"'/g
16557 s/^[ ]*#[ ]*define[ ][ ]*/ /
16564 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16566 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16570 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16571 D["\1"]=" \3\\\\\\n"\\/p
16573 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16578 s/.\{148\}/&'"$ac_delim"'/g
16583 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16586 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16588 ' <confdefs.h | sed '
16589 s/'"$ac_delim"'/"\\\
16590 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16593 for (key in D) D_is_set[key] = 1
16596 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16598 split(line, arg, " ")
16599 if (arg[1] == "#") {
16603 defundef = substr(arg[1], 2)
16606 split(mac1, mac2, "(") #)
16608 prefix = substr(line, 1, index(line, defundef) - 1)
16609 if (D_is_set[macro]) {
16610 # Preserve the white space surrounding the "#".
16611 print prefix "define", macro P[macro] D[macro]
16614 # Replace #undef with comments. This is necessary, for example,
16615 # in the case of _POSIX_SOURCE, which is predefined and required
16616 # on some systems where configure will not decide to define it.
16617 if (defundef == "undef") {
16618 print "/*", prefix defundef, macro, "*/"
16626 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16627 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16628 fi # test -n "$CONFIG_HEADERS"
16631 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
16636 :[FHLC]) ac_mode=$ac_tag; continue;;
16638 case $ac_mode$ac_tag in
16640 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
16641 :[FH]-) ac_tag=-:-;;
16642 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16659 -) ac_f="$tmp/stdin";;
16660 *) # Look for the file first in the build tree, then in the source tree
16661 # (if the path is not absolute). The absolute path cannot be DOS-style,
16662 # because $ac_f cannot contain `:'.
16666 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16668 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
16670 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16671 as_fn_append ac_file_inputs " '$ac_f'"
16674 # Let's still pretend it is `configure' which instantiates (i.e., don't
16675 # use $as_me), people would be surprised to read:
16676 # /* config.h. Generated by config.status. */
16677 configure_input='Generated from '`
16678 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16680 if test x"$ac_file" != x-; then
16681 configure_input="$ac_file. $configure_input"
16682 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16683 $as_echo "$as_me: creating $ac_file" >&6;}
16685 # Neutralize special characters interpreted by sed in replacement strings.
16686 case $configure_input in #(
16687 *\&* | *\|* | *\\* )
16688 ac_sed_conf_input=`$as_echo "$configure_input" |
16689 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16690 *) ac_sed_conf_input=$configure_input;;
16694 *:-:* | *:-) cat >"$tmp/stdin" \
16695 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16700 ac_dir=`$as_dirname -- "$ac_file" ||
16701 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16702 X"$ac_file" : 'X\(//\)[^/]' \| \
16703 X"$ac_file" : 'X\(//\)$' \| \
16704 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16705 $as_echo X"$ac_file" |
16706 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16710 /^X\(\/\/\)[^/].*/{
16723 as_dir="$ac_dir"; as_fn_mkdir_p
16727 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16729 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16730 # A ".." for each directory in $ac_dir_suffix.
16731 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16732 case $ac_top_builddir_sub in
16733 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16734 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16737 ac_abs_top_builddir=$ac_pwd
16738 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16739 # for backward compatibility:
16740 ac_top_builddir=$ac_top_build_prefix
16743 .) # We are building in place.
16745 ac_top_srcdir=$ac_top_builddir_sub
16746 ac_abs_top_srcdir=$ac_pwd ;;
16747 [\\/]* | ?:[\\/]* ) # Absolute name.
16748 ac_srcdir=$srcdir$ac_dir_suffix;
16749 ac_top_srcdir=$srcdir
16750 ac_abs_top_srcdir=$srcdir ;;
16751 *) # Relative name.
16752 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16753 ac_top_srcdir=$ac_top_build_prefix$srcdir
16754 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16756 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16766 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16767 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16772 # If the template does not know about datarootdir, expand it.
16773 # FIXME: This hack should be removed a few years after 2.60.
16774 ac_datarootdir_hack=; ac_datarootdir_seen=
16785 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16786 *datarootdir*) ac_datarootdir_seen=yes;;
16787 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16789 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16792 ac_datarootdir_hack='
16793 s&@datadir@&$datadir&g
16794 s&@docdir@&$docdir&g
16795 s&@infodir@&$infodir&g
16796 s&@localedir@&$localedir&g
16797 s&@mandir@&$mandir&g
16798 s&\\\${datarootdir}&$datarootdir&g' ;;
16802 # Neutralize VPATH when `$srcdir' = `.'.
16803 # Shell code in configure.ac might set extrasub.
16804 # FIXME: do we really want to maintain this feature?
16805 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16806 ac_sed_extra="$ac_vpsub
16809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16811 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16812 s|@configure_input@|$ac_sed_conf_input|;t t
16813 s&@top_builddir@&$ac_top_builddir_sub&;t t
16814 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16815 s&@srcdir@&$ac_srcdir&;t t
16816 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16817 s&@top_srcdir@&$ac_top_srcdir&;t t
16818 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16819 s&@builddir@&$ac_builddir&;t t
16820 s&@abs_builddir@&$ac_abs_builddir&;t t
16821 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16822 s&@INSTALL@&$ac_INSTALL&;t t
16823 $ac_datarootdir_hack
16825 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16826 if $ac_cs_awk_getline; then
16827 $AWK -f "$tmp/subs.awk"
16829 $AWK -f "$tmp/subs.awk" | $SHELL
16831 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16833 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16834 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16835 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16837 which seems to be undefined. Please make sure it is defined" >&5
16838 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16839 which seems to be undefined. Please make sure it is defined" >&2;}
16843 -) cat "$tmp/out" && rm -f "$tmp/out";;
16844 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16846 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16852 if test x"$ac_file" != x-; then
16854 $as_echo "/* $configure_input */" \
16855 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16856 } >"$tmp/config.h" \
16857 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16858 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16859 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16860 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16863 mv "$tmp/config.h" "$ac_file" \
16864 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16867 $as_echo "/* $configure_input */" \
16868 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16869 || as_fn_error $? "could not create -" "$LINENO" 5
16877 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
16880 # Prefer the file from the source tree if names are identical.
16881 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
16882 ac_source=$srcdir/$ac_source
16885 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
16886 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
16888 if test ! -r "$ac_source"; then
16889 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
16893 # Try a relative symlink, then a hard link, then a copy.
16895 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
16896 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
16898 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
16899 ln "$ac_source" "$ac_file" 2>/dev/null ||
16900 cp -p "$ac_source" "$ac_file" ||
16901 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
16904 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16905 $as_echo "$as_me: executing $ac_file commands" >&6;}
16910 case $ac_file$ac_mode in
16911 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
16912 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
16913 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
16914 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
16915 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
16916 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
16917 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
16918 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
16919 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
16920 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
16921 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
16922 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
16923 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
16924 "Makefile":C) wine_fn_output_makefile Makefile ;;
16932 ac_clean_files=$ac_clean_files_save
16934 test $ac_write_fail = 0 ||
16935 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16938 # configure is writing to config.log, and then calls config.status.
16939 # config.status does its own redirection, appending to config.log.
16940 # Unfortunately, on DOS this fails, as config.log is still kept open
16941 # by configure, so config.status won't be able to write to it; its
16942 # output is simply discarded. So we exec the FD to /dev/null,
16943 # effectively closing config.log, so it can be properly (re)opened and
16944 # appended to by config.status. When coming back to configure, we
16945 # need to make the FD available again.
16946 if test "$no_create" != yes; then
16948 ac_config_status_args=
16949 test "$silent" = yes &&
16950 ac_config_status_args="$ac_config_status_args --quiet"
16952 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16954 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16955 # would make configure fail if this is the last instruction.
16956 $ac_cs_success || as_fn_exit 1
16958 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16960 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16964 if test "$no_create" = "yes"
16970 if test "x$wine_notices != "x; then
16973 for msg in $wine_notices; do
16975 if test -n "$msg"; then
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
16977 $as_echo "$as_me: $msg" >&6;}
16982 for msg in $wine_warnings; do
16984 if test -n "$msg"; then
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
16987 $as_echo "$as_me: WARNING: $msg" >&2;}
16993 $as_me: Finished. Do '${ac_make}' to compile Wine.