2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for Wine 1.3.35.
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.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
191 test -z "$as_dir" && as_dir=.
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 *v*x* | *x*v* ) as_opts=-vx ;;
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: wine-devel@winehq.org about your system, including any
243 $0: error possibly output before this message. Then install
244 $0: a modern shell, or manually run the script under such a
245 $0: shell if you do have one."
251 SHELL=${CONFIG_SHELL-/bin/sh}
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
262 # Portably unset VAR.
265 { eval $1=; unset $1;}
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 # Create "$as_dir" as a directory, including parents if necessary.
294 -*) as_dir=./$as_dir;;
296 test -d "$as_dir" || eval $as_mkdir_p || {
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
303 as_dirs="'$as_qdir' $as_dirs"
304 as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327 test -d "$as_dir" && break
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341 eval 'as_fn_append ()
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
365 as_val=`expr "$@" || test $? -eq 1`
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
377 as_status=$1; test $as_status -eq 0 && as_status=1
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit $as_status
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 chmod +x "$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
466 case `echo 'xy\c'` in
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478 rm -f conf$$.dir/conf$$.file
481 mkdir conf$$.dir 2>/dev/null
483 if (echo >conf$$.file) 2>/dev/null; then
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492 elif ln conf$$.file conf$$ 2>/dev/null; then
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
503 if mkdir -p . 2>/dev/null; then
504 as_mkdir_p='mkdir -p "$as_dir"'
506 test -d ./-p && rmdir ./-p
510 if test -x / >/dev/null 2>&1; then
513 if ls -dL / >/dev/null 2>&1; then
520 if test -d "$1"; then
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527 ???[sx]*):;;*)false;;esac;fi
531 as_executable_p=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 test -n "$DJDIR" || exec 7<&0 </dev/null
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
551 ac_default_prefix=/usr/local
553 ac_config_libobj_dir=.
560 # Identity of this package.
562 PACKAGE_TARNAME='wine'
563 PACKAGE_VERSION='1.3.35'
564 PACKAGE_STRING='Wine 1.3.35'
565 PACKAGE_BUGREPORT='wine-devel@winehq.org'
566 PACKAGE_URL='http://www.winehq.org'
568 ac_unique_file="server/atom.c"
569 # Factoring default headers for most tests.
570 ac_includes_default="\
572 #ifdef HAVE_SYS_TYPES_H
573 # include <sys/types.h>
575 #ifdef HAVE_SYS_STAT_H
576 # include <sys/stat.h>
582 # ifdef HAVE_STDLIB_H
587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
592 #ifdef HAVE_STRINGS_H
593 # include <strings.h>
595 #ifdef HAVE_INTTYPES_H
596 # include <inttypes.h>
605 ac_subst_vars='LTLIBOBJS
669 APPLICATIONSERVICESLIB
758 program_transform_name
769 ac_subst_files='MAKE_RULES
775 enable_option_checking
779 enable_maintainer_mode
828 ac_precious_vars='build_alias
843 # Initialize some variables set by options.
845 ac_init_version=false
846 ac_unrecognized_opts=
848 # The variables have the same names as the options, with
849 # dashes changed to underlines.
857 program_transform_name=s,x,x,
865 # Installation directory options.
866 # These are left unexpanded so users can "make install exec_prefix=/foo"
867 # and all the variables that are supposed to be based on exec_prefix
868 # by default will actually change.
869 # Use braces instead of parens because sh, perl, etc. also accept them.
870 # (The list follows the same order as the GNU Coding Standards.)
871 bindir='${exec_prefix}/bin'
872 sbindir='${exec_prefix}/sbin'
873 libexecdir='${exec_prefix}/libexec'
874 datarootdir='${prefix}/share'
875 datadir='${datarootdir}'
876 sysconfdir='${prefix}/etc'
877 sharedstatedir='${prefix}/com'
878 localstatedir='${prefix}/var'
879 includedir='${prefix}/include'
880 oldincludedir='/usr/include'
881 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
882 infodir='${datarootdir}/info'
887 libdir='${exec_prefix}/lib'
888 localedir='${datarootdir}/locale'
889 mandir='${datarootdir}/man'
895 # If the previous option needs an argument, assign it.
896 if test -n "$ac_prev"; then
897 eval $ac_prev=\$ac_option
903 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
908 # Accept the important Cygnus configure options, so we can diagnose typos.
910 case $ac_dashdash$ac_option in
914 -bindir | --bindir | --bindi | --bind | --bin | --bi)
916 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
919 -build | --build | --buil | --bui | --bu)
920 ac_prev=build_alias ;;
921 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
922 build_alias=$ac_optarg ;;
924 -cache-file | --cache-file | --cache-fil | --cache-fi \
925 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
926 ac_prev=cache_file ;;
927 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
928 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
929 cache_file=$ac_optarg ;;
932 cache_file=config.cache ;;
934 -datadir | --datadir | --datadi | --datad)
936 -datadir=* | --datadir=* | --datadi=* | --datad=*)
937 datadir=$ac_optarg ;;
939 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
940 | --dataroo | --dataro | --datar)
941 ac_prev=datarootdir ;;
942 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
943 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
944 datarootdir=$ac_optarg ;;
946 -disable-* | --disable-*)
947 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
948 # Reject names that are not valid shell variable names.
949 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
950 as_fn_error $? "invalid feature name: $ac_useropt"
951 ac_useropt_orig=$ac_useropt
952 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
953 case $ac_user_opts in
957 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
958 ac_unrecognized_sep=', ';;
960 eval enable_$ac_useropt=no ;;
962 -docdir | --docdir | --docdi | --doc | --do)
964 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
967 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
969 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
972 -enable-* | --enable-*)
973 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
974 # Reject names that are not valid shell variable names.
975 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
976 as_fn_error $? "invalid feature name: $ac_useropt"
977 ac_useropt_orig=$ac_useropt
978 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
979 case $ac_user_opts in
983 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
984 ac_unrecognized_sep=', ';;
986 eval enable_$ac_useropt=\$ac_optarg ;;
988 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
989 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
990 | --exec | --exe | --ex)
991 ac_prev=exec_prefix ;;
992 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
993 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
994 | --exec=* | --exe=* | --ex=*)
995 exec_prefix=$ac_optarg ;;
997 -gas | --gas | --ga | --g)
998 # Obsolete; use --with-gas.
1001 -help | --help | --hel | --he | -h)
1002 ac_init_help=long ;;
1003 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1004 ac_init_help=recursive ;;
1005 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1006 ac_init_help=short ;;
1008 -host | --host | --hos | --ho)
1009 ac_prev=host_alias ;;
1010 -host=* | --host=* | --hos=* | --ho=*)
1011 host_alias=$ac_optarg ;;
1013 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1015 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1017 htmldir=$ac_optarg ;;
1019 -includedir | --includedir | --includedi | --included | --include \
1020 | --includ | --inclu | --incl | --inc)
1021 ac_prev=includedir ;;
1022 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1023 | --includ=* | --inclu=* | --incl=* | --inc=*)
1024 includedir=$ac_optarg ;;
1026 -infodir | --infodir | --infodi | --infod | --info | --inf)
1028 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1029 infodir=$ac_optarg ;;
1031 -libdir | --libdir | --libdi | --libd)
1033 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1034 libdir=$ac_optarg ;;
1036 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1037 | --libexe | --libex | --libe)
1038 ac_prev=libexecdir ;;
1039 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1040 | --libexe=* | --libex=* | --libe=*)
1041 libexecdir=$ac_optarg ;;
1043 -localedir | --localedir | --localedi | --localed | --locale)
1044 ac_prev=localedir ;;
1045 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1046 localedir=$ac_optarg ;;
1048 -localstatedir | --localstatedir | --localstatedi | --localstated \
1049 | --localstate | --localstat | --localsta | --localst | --locals)
1050 ac_prev=localstatedir ;;
1051 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1052 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1053 localstatedir=$ac_optarg ;;
1055 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1057 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1058 mandir=$ac_optarg ;;
1060 -nfp | --nfp | --nf)
1061 # Obsolete; use --without-fp.
1064 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1065 | --no-cr | --no-c | -n)
1068 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1069 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1072 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1073 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1074 | --oldin | --oldi | --old | --ol | --o)
1075 ac_prev=oldincludedir ;;
1076 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1077 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1078 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1079 oldincludedir=$ac_optarg ;;
1081 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1083 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1084 prefix=$ac_optarg ;;
1086 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1087 | --program-pre | --program-pr | --program-p)
1088 ac_prev=program_prefix ;;
1089 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1090 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1091 program_prefix=$ac_optarg ;;
1093 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1094 | --program-suf | --program-su | --program-s)
1095 ac_prev=program_suffix ;;
1096 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1097 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1098 program_suffix=$ac_optarg ;;
1100 -program-transform-name | --program-transform-name \
1101 | --program-transform-nam | --program-transform-na \
1102 | --program-transform-n | --program-transform- \
1103 | --program-transform | --program-transfor \
1104 | --program-transfo | --program-transf \
1105 | --program-trans | --program-tran \
1106 | --progr-tra | --program-tr | --program-t)
1107 ac_prev=program_transform_name ;;
1108 -program-transform-name=* | --program-transform-name=* \
1109 | --program-transform-nam=* | --program-transform-na=* \
1110 | --program-transform-n=* | --program-transform-=* \
1111 | --program-transform=* | --program-transfor=* \
1112 | --program-transfo=* | --program-transf=* \
1113 | --program-trans=* | --program-tran=* \
1114 | --progr-tra=* | --program-tr=* | --program-t=*)
1115 program_transform_name=$ac_optarg ;;
1117 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1119 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1120 pdfdir=$ac_optarg ;;
1122 -psdir | --psdir | --psdi | --psd | --ps)
1124 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1127 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1128 | -silent | --silent | --silen | --sile | --sil)
1131 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1133 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1135 sbindir=$ac_optarg ;;
1137 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1138 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1139 | --sharedst | --shareds | --shared | --share | --shar \
1141 ac_prev=sharedstatedir ;;
1142 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1143 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1144 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1146 sharedstatedir=$ac_optarg ;;
1148 -site | --site | --sit)
1150 -site=* | --site=* | --sit=*)
1153 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1155 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1156 srcdir=$ac_optarg ;;
1158 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1159 | --syscon | --sysco | --sysc | --sys | --sy)
1160 ac_prev=sysconfdir ;;
1161 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1162 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1163 sysconfdir=$ac_optarg ;;
1165 -target | --target | --targe | --targ | --tar | --ta | --t)
1166 ac_prev=target_alias ;;
1167 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1168 target_alias=$ac_optarg ;;
1170 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1173 -version | --version | --versio | --versi | --vers | -V)
1174 ac_init_version=: ;;
1177 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1178 # Reject names that are not valid shell variable names.
1179 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1180 as_fn_error $? "invalid package name: $ac_useropt"
1181 ac_useropt_orig=$ac_useropt
1182 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1183 case $ac_user_opts in
1187 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1188 ac_unrecognized_sep=', ';;
1190 eval with_$ac_useropt=\$ac_optarg ;;
1192 -without-* | --without-*)
1193 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1194 # Reject names that are not valid shell variable names.
1195 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1196 as_fn_error $? "invalid package name: $ac_useropt"
1197 ac_useropt_orig=$ac_useropt
1198 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1199 case $ac_user_opts in
1203 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1204 ac_unrecognized_sep=', ';;
1206 eval with_$ac_useropt=no ;;
1209 # Obsolete; use --with-x.
1212 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1213 | --x-incl | --x-inc | --x-in | --x-i)
1214 ac_prev=x_includes ;;
1215 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1216 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1217 x_includes=$ac_optarg ;;
1219 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1220 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1221 ac_prev=x_libraries ;;
1222 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1223 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1224 x_libraries=$ac_optarg ;;
1226 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1227 Try \`$0 --help' for more information"
1231 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1232 # Reject names that are not valid shell variable names.
1233 case $ac_envvar in #(
1234 '' | [0-9]* | *[!_$as_cr_alnum]* )
1235 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1237 eval $ac_envvar=\$ac_optarg
1238 export $ac_envvar ;;
1241 # FIXME: should be removed in autoconf 3.0.
1242 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1243 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1244 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1245 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1251 if test -n "$ac_prev"; then
1252 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1253 as_fn_error $? "missing argument to $ac_option"
1256 if test -n "$ac_unrecognized_opts"; then
1257 case $enable_option_checking in
1259 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1260 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1264 # Check all directory arguments for consistency.
1265 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1266 datadir sysconfdir sharedstatedir localstatedir includedir \
1267 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1268 libdir localedir mandir
1270 eval ac_val=\$$ac_var
1271 # Remove trailing slashes.
1274 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1275 eval $ac_var=\$ac_val;;
1277 # Be sure to have absolute directory names.
1279 [\\/$]* | ?:[\\/]* ) continue;;
1280 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1282 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1285 # There might be people who depend on the old broken behavior: `$host'
1286 # used to hold the argument of --host etc.
1287 # FIXME: To remove some day.
1290 target=$target_alias
1292 # FIXME: To remove some day.
1293 if test "x$host_alias" != x; then
1294 if test "x$build_alias" = x; then
1295 cross_compiling=maybe
1296 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1297 If a cross compiler is detected then cross compile mode will be used" >&2
1298 elif test "x$build_alias" != "x$host_alias"; then
1304 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1306 test "$silent" = yes && exec 6>/dev/null
1309 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1310 ac_ls_di=`ls -di .` &&
1311 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1312 as_fn_error $? "working directory cannot be determined"
1313 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1314 as_fn_error $? "pwd does not report name of working directory"
1317 # Find the source files, if location was not specified.
1318 if test -z "$srcdir"; then
1319 ac_srcdir_defaulted=yes
1320 # Try the directory containing this script, then the parent directory.
1321 ac_confdir=`$as_dirname -- "$as_myself" ||
1322 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1323 X"$as_myself" : 'X\(//\)[^/]' \| \
1324 X"$as_myself" : 'X\(//\)$' \| \
1325 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1326 $as_echo X"$as_myself" |
1327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1345 if test ! -r "$srcdir/$ac_unique_file"; then
1349 ac_srcdir_defaulted=no
1351 if test ! -r "$srcdir/$ac_unique_file"; then
1352 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1353 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1355 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1357 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1359 # When building in place, set srcdir=.
1360 if test "$ac_abs_confdir" = "$ac_pwd"; then
1363 # Remove unnecessary trailing slashes from srcdir.
1364 # Double slashes in file names in object file debugging info
1365 # mess up M-x gdb in Emacs.
1367 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1369 for ac_var in $ac_precious_vars; do
1370 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1371 eval ac_env_${ac_var}_value=\$${ac_var}
1372 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1373 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1377 # Report the --help message.
1379 if test "$ac_init_help" = "long"; then
1380 # Omit some internal or obsolete options to make the list less imposing.
1381 # This message is too long to be a string in the A/UX 3.1 sh.
1383 \`configure' configures Wine 1.3.35 to adapt to many kinds of systems.
1385 Usage: $0 [OPTION]... [VAR=VALUE]...
1387 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1388 VAR=VALUE. See below for descriptions of some of the useful variables.
1390 Defaults for the options are specified in brackets.
1393 -h, --help display this help and exit
1394 --help=short display options specific to this package
1395 --help=recursive display the short help of all the included packages
1396 -V, --version display version information and exit
1397 -q, --quiet, --silent do not print \`checking ...' messages
1398 --cache-file=FILE cache test results in FILE [disabled]
1399 -C, --config-cache alias for \`--cache-file=config.cache'
1400 -n, --no-create do not create output files
1401 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1403 Installation directories:
1404 --prefix=PREFIX install architecture-independent files in PREFIX
1405 [$ac_default_prefix]
1406 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1409 By default, \`make install' will install all the files in
1410 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1411 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1412 for instance \`--prefix=\$HOME'.
1414 For better control, use the options below.
1416 Fine tuning of the installation directories:
1417 --bindir=DIR user executables [EPREFIX/bin]
1418 --sbindir=DIR system admin executables [EPREFIX/sbin]
1419 --libexecdir=DIR program executables [EPREFIX/libexec]
1420 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1421 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1422 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1423 --libdir=DIR object code libraries [EPREFIX/lib]
1424 --includedir=DIR C header files [PREFIX/include]
1425 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1426 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1427 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1428 --infodir=DIR info documentation [DATAROOTDIR/info]
1429 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1430 --mandir=DIR man documentation [DATAROOTDIR/man]
1431 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1432 --htmldir=DIR html documentation [DOCDIR]
1433 --dvidir=DIR dvi documentation [DOCDIR]
1434 --pdfdir=DIR pdf documentation [DOCDIR]
1435 --psdir=DIR ps documentation [DOCDIR]
1441 --x-includes=DIR X include files are in DIR
1442 --x-libraries=DIR X library files are in DIR
1445 --build=BUILD configure for building on BUILD [guessed]
1446 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1450 if test -n "$ac_init_help"; then
1451 case $ac_init_help in
1452 short | recursive ) echo "Configuration of Wine 1.3.35:";;
1457 --disable-option-checking ignore unrecognized --enable/--with options
1458 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1459 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1460 --disable-win16 do not include Win16 support
1461 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1463 --disable-tests do not build the regression tests
1464 --enable-maintainer-mode
1465 enable maintainer-specific build rules
1466 --disable-largefile omit support for large files
1469 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1470 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1471 --without-alsa do not use the Alsa sound support
1472 --without-capi do not use CAPI (ISDN support)
1473 --without-cms do not use CMS (color management support)
1474 --without-coreaudio do not use the CoreAudio sound support
1475 --without-cups do not use CUPS
1476 --without-curses do not use (n)curses
1477 --without-dbus do not use DBus (dynamic device support)
1478 --without-fontconfig do not use fontconfig
1479 --without-freetype do not use the FreeType library
1480 --without-gettext do not use gettext
1481 --with-gettextpo use the GetTextPO library to rebuild po files
1482 --without-gphoto do not use gphoto (Digital Camera support)
1483 --without-glu do not use the GLU library
1484 --without-gnutls do not use GnuTLS (schannel support)
1485 --without-gsm do not use libgsm (GSM 06.10 codec support)
1486 --without-gstreamer do not use GStreamer (codecs support)
1487 --without-hal do not use HAL (dynamic device support)
1488 --without-jpeg do not use JPEG
1489 --without-ldap do not use LDAP
1490 --without-mpg123 do not use the mpg123 library
1491 --without-openal do not use OpenAL
1492 --without-opencl do not use OpenCL
1493 --without-opengl do not use OpenGL
1494 --without-openssl do not use OpenSSL
1495 --without-oss do not use the OSS sound support
1496 --without-png do not use PNG
1497 --without-pthread do not use the pthread library
1498 --without-sane do not use SANE (scanner support)
1499 --without-tiff do not use TIFF
1500 --without-v4l do not use v4l1 (v4l support)
1501 --without-xcomposite do not use the Xcomposite extension
1502 --without-xcursor do not use the Xcursor extension
1503 --without-xinerama do not use Xinerama (multi-monitor support)
1504 --without-xinput do not use the Xinput extension
1505 --without-xinput2 do not use the Xinput 2 extension
1506 --without-xml do not use XML
1507 --without-xrandr do not use Xrandr (resolution changes)
1508 --without-xrender do not use the Xrender extension
1509 --without-xshape do not use the Xshape extension
1510 --without-xshm do not use XShm (shared memory extension)
1511 --without-xslt do not use XSLT
1512 --without-xxf86vm do not use XFree video mode extension
1513 --without-zlib do not use Zlib (data compression)
1514 --with-wine-tools=DIR use Wine tools from directory DIR
1515 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1516 --with-x use the X Window System
1518 Some influential environment variables:
1519 CC C compiler command
1520 CFLAGS C compiler flags
1521 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1522 nonstandard directory <lib dir>
1523 LIBS libraries to pass to the linker, e.g. -l<library>
1524 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1525 you have headers in a nonstandard directory <include dir>
1526 CXX C++ compiler command
1527 CXXFLAGS C++ compiler flags
1529 XMKMF Path to xmkmf, Makefile generator for X Window System
1531 Use these variables to override the choices made by `configure' or to help
1532 it to find libraries and programs with nonstandard names/locations.
1534 Report bugs to <wine-devel@winehq.org>.
1535 Wine home page: <http://www.winehq.org>.
1540 if test "$ac_init_help" = "recursive"; then
1541 # If there are subdirs, report their specific --help.
1542 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1543 test -d "$ac_dir" ||
1544 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1549 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1551 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1552 # A ".." for each directory in $ac_dir_suffix.
1553 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1554 case $ac_top_builddir_sub in
1555 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1556 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1559 ac_abs_top_builddir=$ac_pwd
1560 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1561 # for backward compatibility:
1562 ac_top_builddir=$ac_top_build_prefix
1565 .) # We are building in place.
1567 ac_top_srcdir=$ac_top_builddir_sub
1568 ac_abs_top_srcdir=$ac_pwd ;;
1569 [\\/]* | ?:[\\/]* ) # Absolute name.
1570 ac_srcdir=$srcdir$ac_dir_suffix;
1571 ac_top_srcdir=$srcdir
1572 ac_abs_top_srcdir=$srcdir ;;
1574 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1575 ac_top_srcdir=$ac_top_build_prefix$srcdir
1576 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1578 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1580 cd "$ac_dir" || { ac_status=$?; continue; }
1581 # Check for guested configure.
1582 if test -f "$ac_srcdir/configure.gnu"; then
1584 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1585 elif test -f "$ac_srcdir/configure"; then
1587 $SHELL "$ac_srcdir/configure" --help=recursive
1589 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1591 cd "$ac_pwd" || { ac_status=$?; break; }
1595 test -n "$ac_init_help" && exit $ac_status
1596 if $ac_init_version; then
1598 Wine configure 1.3.35
1599 generated by GNU Autoconf 2.68
1601 Copyright (C) 2010 Free Software Foundation, Inc.
1602 This configure script is free software; the Free Software Foundation
1603 gives unlimited permission to copy, distribute and modify it.
1608 ## ------------------------ ##
1609 ## Autoconf initialization. ##
1610 ## ------------------------ ##
1612 # ac_fn_c_try_compile LINENO
1613 # --------------------------
1614 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1615 ac_fn_c_try_compile ()
1617 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1618 rm -f conftest.$ac_objext
1619 if { { ac_try="$ac_compile"
1621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1622 *) ac_try_echo=$ac_try;;
1624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1625 $as_echo "$ac_try_echo"; } >&5
1626 (eval "$ac_compile") 2>conftest.err
1628 if test -s conftest.err; then
1629 grep -v '^ *+' conftest.err >conftest.er1
1630 cat conftest.er1 >&5
1631 mv -f conftest.er1 conftest.err
1633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1634 test $ac_status = 0; } && {
1635 test -z "$ac_c_werror_flag" ||
1636 test ! -s conftest.err
1637 } && test -s conftest.$ac_objext; then :
1640 $as_echo "$as_me: failed program was:" >&5
1641 sed 's/^/| /' conftest.$ac_ext >&5
1645 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1646 as_fn_set_status $ac_retval
1648 } # ac_fn_c_try_compile
1650 # ac_fn_cxx_try_compile LINENO
1651 # ----------------------------
1652 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1653 ac_fn_cxx_try_compile ()
1655 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1656 rm -f conftest.$ac_objext
1657 if { { ac_try="$ac_compile"
1659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1660 *) ac_try_echo=$ac_try;;
1662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1663 $as_echo "$ac_try_echo"; } >&5
1664 (eval "$ac_compile") 2>conftest.err
1666 if test -s conftest.err; then
1667 grep -v '^ *+' conftest.err >conftest.er1
1668 cat conftest.er1 >&5
1669 mv -f conftest.er1 conftest.err
1671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672 test $ac_status = 0; } && {
1673 test -z "$ac_cxx_werror_flag" ||
1674 test ! -s conftest.err
1675 } && test -s conftest.$ac_objext; then :
1678 $as_echo "$as_me: failed program was:" >&5
1679 sed 's/^/| /' conftest.$ac_ext >&5
1683 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1684 as_fn_set_status $ac_retval
1686 } # ac_fn_cxx_try_compile
1688 # ac_fn_c_try_link LINENO
1689 # -----------------------
1690 # Try to link conftest.$ac_ext, and return whether this succeeded.
1693 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694 rm -f conftest.$ac_objext conftest$ac_exeext
1695 if { { ac_try="$ac_link"
1697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1698 *) ac_try_echo=$ac_try;;
1700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701 $as_echo "$ac_try_echo"; } >&5
1702 (eval "$ac_link") 2>conftest.err
1704 if test -s conftest.err; then
1705 grep -v '^ *+' conftest.err >conftest.er1
1706 cat conftest.er1 >&5
1707 mv -f conftest.er1 conftest.err
1709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1710 test $ac_status = 0; } && {
1711 test -z "$ac_c_werror_flag" ||
1712 test ! -s conftest.err
1713 } && test -s conftest$ac_exeext && {
1714 test "$cross_compiling" = yes ||
1715 $as_test_x conftest$ac_exeext
1719 $as_echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.$ac_ext >&5
1724 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1725 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1726 # interfere with the next link command; also delete a directory that is
1727 # left behind by Apple's compiler. We do this before executing the actions.
1728 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1729 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1730 as_fn_set_status $ac_retval
1732 } # ac_fn_c_try_link
1734 # ac_fn_c_try_cpp LINENO
1735 # ----------------------
1736 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1740 if { { ac_try="$ac_cpp conftest.$ac_ext"
1742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1743 *) ac_try_echo=$ac_try;;
1745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1746 $as_echo "$ac_try_echo"; } >&5
1747 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1749 if test -s conftest.err; then
1750 grep -v '^ *+' conftest.err >conftest.er1
1751 cat conftest.er1 >&5
1752 mv -f conftest.er1 conftest.err
1754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1755 test $ac_status = 0; } > conftest.i && {
1756 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1757 test ! -s conftest.err
1761 $as_echo "$as_me: failed program was:" >&5
1762 sed 's/^/| /' conftest.$ac_ext >&5
1766 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1767 as_fn_set_status $ac_retval
1771 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1772 # -------------------------------------------------------
1773 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1774 # the include files in INCLUDES and setting the cache variable VAR
1776 ac_fn_c_check_header_mongrel ()
1778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1779 if eval \${$3+:} false; then :
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1781 $as_echo_n "checking for $2... " >&6; }
1782 if eval \${$3+:} false; then :
1783 $as_echo_n "(cached) " >&6
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1787 $as_echo "$ac_res" >&6; }
1789 # Is the header compilable?
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1791 $as_echo_n "checking $2 usability... " >&6; }
1792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1793 /* end confdefs.h. */
1797 if ac_fn_c_try_compile "$LINENO"; then :
1798 ac_header_compiler=yes
1800 ac_header_compiler=no
1802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1804 $as_echo "$ac_header_compiler" >&6; }
1806 # Is the header present?
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1808 $as_echo_n "checking $2 presence... " >&6; }
1809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h. */
1813 if ac_fn_c_try_cpp "$LINENO"; then :
1814 ac_header_preproc=yes
1816 ac_header_preproc=no
1818 rm -f conftest.err conftest.i conftest.$ac_ext
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1820 $as_echo "$ac_header_preproc" >&6; }
1822 # So? What about this header?
1823 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1826 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1828 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1832 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1834 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1836 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1838 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1840 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1841 ( $as_echo "## ------------------------------------ ##
1842 ## Report this to wine-devel@winehq.org ##
1843 ## ------------------------------------ ##"
1844 ) | sed "s/^/$as_me: WARNING: /" >&2
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1848 $as_echo_n "checking for $2... " >&6; }
1849 if eval \${$3+:} false; then :
1850 $as_echo_n "(cached) " >&6
1852 eval "$3=\$ac_header_compiler"
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1856 $as_echo "$ac_res" >&6; }
1858 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1860 } # ac_fn_c_check_header_mongrel
1862 # ac_fn_c_try_run LINENO
1863 # ----------------------
1864 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1865 # that executables *can* be run.
1868 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1869 if { { ac_try="$ac_link"
1871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1872 *) ac_try_echo=$ac_try;;
1874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1875 $as_echo "$ac_try_echo"; } >&5
1876 (eval "$ac_link") 2>&5
1878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1879 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1880 { { case "(($ac_try" in
1881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1882 *) ac_try_echo=$ac_try;;
1884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1885 $as_echo "$ac_try_echo"; } >&5
1886 (eval "$ac_try") 2>&5
1888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1889 test $ac_status = 0; }; }; then :
1892 $as_echo "$as_me: program exited with status $ac_status" >&5
1893 $as_echo "$as_me: failed program was:" >&5
1894 sed 's/^/| /' conftest.$ac_ext >&5
1896 ac_retval=$ac_status
1898 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1899 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1900 as_fn_set_status $ac_retval
1904 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1905 # -------------------------------------------------------
1906 # Tests whether HEADER exists and can be compiled using the include files in
1907 # INCLUDES, setting the cache variable VAR accordingly.
1908 ac_fn_c_check_header_compile ()
1910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1912 $as_echo_n "checking for $2... " >&6; }
1913 if eval \${$3+:} false; then :
1914 $as_echo_n "(cached) " >&6
1916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1917 /* end confdefs.h. */
1921 if ac_fn_c_try_compile "$LINENO"; then :
1926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1930 $as_echo "$ac_res" >&6; }
1931 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1933 } # ac_fn_c_check_header_compile
1935 # ac_fn_c_check_func LINENO FUNC VAR
1936 # ----------------------------------
1937 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1938 ac_fn_c_check_func ()
1940 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1942 $as_echo_n "checking for $2... " >&6; }
1943 if eval \${$3+:} false; then :
1944 $as_echo_n "(cached) " >&6
1946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1947 /* end confdefs.h. */
1948 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1950 #define $2 innocuous_$2
1952 /* System header to define __stub macros and hopefully few prototypes,
1953 which can conflict with char $2 (); below.
1954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1955 <limits.h> exists even on freestanding compilers. */
1958 # include <limits.h>
1960 # include <assert.h>
1965 /* Override any GCC internal prototype to avoid an error.
1966 Use char because int might match the return type of a GCC
1967 builtin and then its argument prototype would still apply. */
1972 /* The GNU C library defines this for functions which it implements
1973 to always fail with ENOSYS. Some functions are actually named
1974 something starting with __ and the normal name is an alias. */
1975 #if defined __stub_$2 || defined __stub___$2
1987 if ac_fn_c_try_link "$LINENO"; then :
1992 rm -f core conftest.err conftest.$ac_objext \
1993 conftest$ac_exeext conftest.$ac_ext
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1997 $as_echo "$ac_res" >&6; }
1998 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2000 } # ac_fn_c_check_func
2002 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2003 # ----------------------------------------------------
2004 # Tries to find if the field MEMBER exists in type AGGR, after including
2005 # INCLUDES, setting cache variable VAR accordingly.
2006 ac_fn_c_check_member ()
2008 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2010 $as_echo_n "checking for $2.$3... " >&6; }
2011 if eval \${$4+:} false; then :
2012 $as_echo_n "(cached) " >&6
2014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2015 /* end confdefs.h. */
2027 if ac_fn_c_try_compile "$LINENO"; then :
2030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2031 /* end confdefs.h. */
2037 if (sizeof ac_aggr.$3)
2043 if ac_fn_c_try_compile "$LINENO"; then :
2048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2054 $as_echo "$ac_res" >&6; }
2055 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2057 } # ac_fn_c_check_member
2059 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2060 # -------------------------------------------
2061 # Tests whether TYPE exists after having included INCLUDES, setting cache
2062 # variable VAR accordingly.
2063 ac_fn_c_check_type ()
2065 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2067 $as_echo_n "checking for $2... " >&6; }
2068 if eval \${$3+:} false; then :
2069 $as_echo_n "(cached) " >&6
2072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2073 /* end confdefs.h. */
2084 if ac_fn_c_try_compile "$LINENO"; then :
2085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2086 /* end confdefs.h. */
2097 if ac_fn_c_try_compile "$LINENO"; then :
2102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2108 $as_echo "$ac_res" >&6; }
2109 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2111 } # ac_fn_c_check_type
2112 cat >config.log <<_ACEOF
2113 This file contains any messages produced by compilers while
2114 running configure, to aid debugging if configure makes a mistake.
2116 It was created by Wine $as_me 1.3.35, which was
2117 generated by GNU Autoconf 2.68. Invocation command line was
2129 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2130 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2131 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2132 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2133 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2135 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2136 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2138 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2139 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2140 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2141 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2142 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2143 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2144 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2152 test -z "$as_dir" && as_dir=.
2153 $as_echo "PATH: $as_dir"
2169 # Keep a trace of the command line.
2170 # Strip out --no-create and --no-recursion so they do not pile up.
2171 # Strip out --silent because we don't want to record it for future runs.
2172 # Also quote any args containing shell meta-characters.
2173 # Make two passes to allow for proper duplicate-argument suppression.
2177 ac_must_keep_next=false
2183 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2184 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2185 | -silent | --silent | --silen | --sile | --sil)
2188 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2191 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2193 as_fn_append ac_configure_args1 " '$ac_arg'"
2194 if test $ac_must_keep_next = true; then
2195 ac_must_keep_next=false # Got value, back to normal.
2198 *=* | --config-cache | -C | -disable-* | --disable-* \
2199 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2200 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2201 | -with-* | --with-* | -without-* | --without-* | --x)
2202 case "$ac_configure_args0 " in
2203 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2206 -* ) ac_must_keep_next=true ;;
2209 as_fn_append ac_configure_args " '$ac_arg'"
2214 { ac_configure_args0=; unset ac_configure_args0;}
2215 { ac_configure_args1=; unset ac_configure_args1;}
2217 # When interrupted or exit'd, cleanup temporary files, and complete
2218 # config.log. We remove comments because anyway the quotes in there
2219 # would cause problems or look ugly.
2220 # WARNING: Use '\'' to represent an apostrophe within the trap.
2221 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2222 trap 'exit_status=$?
2223 # Save into config.log some information that might help in debugging.
2227 $as_echo "## ---------------- ##
2228 ## Cache variables. ##
2229 ## ---------------- ##"
2231 # The following way of writing the cache mishandles newlines in values,
2233 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2234 eval ac_val=\$$ac_var
2238 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2239 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2242 _ | IFS | as_nl) ;; #(
2243 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2244 *) { eval $ac_var=; unset $ac_var;} ;;
2249 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2250 *${as_nl}ac_space=\ *)
2252 "s/'\''/'\''\\\\'\'''\''/g;
2253 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2256 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2263 $as_echo "## ----------------- ##
2264 ## Output variables. ##
2265 ## ----------------- ##"
2267 for ac_var in $ac_subst_vars
2269 eval ac_val=\$$ac_var
2271 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2273 $as_echo "$ac_var='\''$ac_val'\''"
2277 if test -n "$ac_subst_files"; then
2278 $as_echo "## ------------------- ##
2279 ## File substitutions. ##
2280 ## ------------------- ##"
2282 for ac_var in $ac_subst_files
2284 eval ac_val=\$$ac_var
2286 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2288 $as_echo "$ac_var='\''$ac_val'\''"
2293 if test -s confdefs.h; then
2294 $as_echo "## ----------- ##
2301 test "$ac_signal" != 0 &&
2302 $as_echo "$as_me: caught signal $ac_signal"
2303 $as_echo "$as_me: exit $exit_status"
2305 rm -f core *.core core.conftest.* &&
2306 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2309 for ac_signal in 1 2 13 15; do
2310 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2314 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2315 rm -f -r conftest* confdefs.h
2317 $as_echo "/* confdefs.h */" > confdefs.h
2319 # Predefined preprocessor variables.
2321 cat >>confdefs.h <<_ACEOF
2322 #define PACKAGE_NAME "$PACKAGE_NAME"
2325 cat >>confdefs.h <<_ACEOF
2326 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2329 cat >>confdefs.h <<_ACEOF
2330 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2333 cat >>confdefs.h <<_ACEOF
2334 #define PACKAGE_STRING "$PACKAGE_STRING"
2337 cat >>confdefs.h <<_ACEOF
2338 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2341 cat >>confdefs.h <<_ACEOF
2342 #define PACKAGE_URL "$PACKAGE_URL"
2346 # Let the site file select an alternate cache file if it wants to.
2347 # Prefer an explicitly selected file to automatically selected ones.
2350 if test -n "$CONFIG_SITE"; then
2351 # We do not want a PATH search for config.site.
2352 case $CONFIG_SITE in #((
2353 -*) ac_site_file1=./$CONFIG_SITE;;
2354 */*) ac_site_file1=$CONFIG_SITE;;
2355 *) ac_site_file1=./$CONFIG_SITE;;
2357 elif test "x$prefix" != xNONE; then
2358 ac_site_file1=$prefix/share/config.site
2359 ac_site_file2=$prefix/etc/config.site
2361 ac_site_file1=$ac_default_prefix/share/config.site
2362 ac_site_file2=$ac_default_prefix/etc/config.site
2364 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2366 test "x$ac_site_file" = xNONE && continue
2367 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2369 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2370 sed 's/^/| /' "$ac_site_file" >&5
2372 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2373 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2374 as_fn_error $? "failed to load site script $ac_site_file
2375 See \`config.log' for more details" "$LINENO" 5; }
2379 if test -r "$cache_file"; then
2380 # Some versions of bash will fail to source /dev/null (special files
2381 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2382 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2384 $as_echo "$as_me: loading cache $cache_file" >&6;}
2386 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2387 *) . "./$cache_file";;
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2392 $as_echo "$as_me: creating cache $cache_file" >&6;}
2396 # Check that the precious variables saved in the cache have kept the same
2398 ac_cache_corrupted=false
2399 for ac_var in $ac_precious_vars; do
2400 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2401 eval ac_new_set=\$ac_env_${ac_var}_set
2402 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2403 eval ac_new_val=\$ac_env_${ac_var}_value
2404 case $ac_old_set,$ac_new_set in
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2407 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2408 ac_cache_corrupted=: ;;
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2411 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2412 ac_cache_corrupted=: ;;
2415 if test "x$ac_old_val" != "x$ac_new_val"; then
2416 # differences in whitespace do not lead to failure.
2417 ac_old_val_w=`echo x $ac_old_val`
2418 ac_new_val_w=`echo x $ac_new_val`
2419 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2421 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2422 ac_cache_corrupted=:
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2425 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2426 eval $ac_var=\$ac_old_val
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2429 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2431 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2434 # Pass precious variables to config.status.
2435 if test "$ac_new_set" = set; then
2437 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2438 *) ac_arg=$ac_var=$ac_new_val ;;
2440 case " $ac_configure_args " in
2441 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2442 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2446 if $ac_cache_corrupted; then
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2450 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2451 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2453 ## -------------------- ##
2454 ## Main body of script. ##
2455 ## -------------------- ##
2458 ac_cpp='$CPP $CPPFLAGS'
2459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2465 ac_config_headers="$ac_config_headers include/config.h"
2468 for ac_dir in tools "$srcdir"/tools; do
2469 if test -f "$ac_dir/install-sh"; then
2471 ac_install_sh="$ac_aux_dir/install-sh -c"
2473 elif test -f "$ac_dir/install.sh"; then
2475 ac_install_sh="$ac_aux_dir/install.sh -c"
2477 elif test -f "$ac_dir/shtool"; then
2479 ac_install_sh="$ac_aux_dir/shtool install -c"
2483 if test -z "$ac_aux_dir"; then
2484 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2487 # These three variables are undocumented and unsupported,
2488 # and are intended to be withdrawn in a future Autoconf release.
2489 # They can cause serious problems if a builder's source tree is in a directory
2490 # whose full name contains unusual characters.
2491 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2492 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2493 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2499 # Check whether --enable-win16 was given.
2500 if test "${enable_win16+set}" = set; then :
2501 enableval=$enable_win16;
2504 # Check whether --enable-win64 was given.
2505 if test "${enable_win64+set}" = set; then :
2506 enableval=$enable_win64;
2509 # Check whether --enable-tests was given.
2510 if test "${enable_tests+set}" = set; then :
2511 enableval=$enable_tests;
2514 # Check whether --enable-maintainer-mode was given.
2515 if test "${enable_maintainer_mode+set}" = set; then :
2516 enableval=$enable_maintainer_mode;
2521 # Check whether --with-alsa was given.
2522 if test "${with_alsa+set}" = set; then :
2523 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
2527 # Check whether --with-capi was given.
2528 if test "${with_capi+set}" = set; then :
2529 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
2533 # Check whether --with-cms was given.
2534 if test "${with_cms+set}" = set; then :
2535 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
2539 # Check whether --with-coreaudio was given.
2540 if test "${with_coreaudio+set}" = set; then :
2541 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
2545 # Check whether --with-cups was given.
2546 if test "${with_cups+set}" = set; then :
2551 # Check whether --with-curses was given.
2552 if test "${with_curses+set}" = set; then :
2553 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
2557 # Check whether --with-dbus was given.
2558 if test "${with_dbus+set}" = set; then :
2563 # Check whether --with-fontconfig was given.
2564 if test "${with_fontconfig+set}" = set; then :
2565 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
2569 # Check whether --with-freetype was given.
2570 if test "${with_freetype+set}" = set; then :
2571 withval=$with_freetype;
2575 # Check whether --with-gettext was given.
2576 if test "${with_gettext+set}" = set; then :
2577 withval=$with_gettext;
2581 # Check whether --with-gettextpo was given.
2582 if test "${with_gettextpo+set}" = set; then :
2583 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
2587 # Check whether --with-gphoto was given.
2588 if test "${with_gphoto+set}" = set; then :
2589 withval=$with_gphoto;
2593 # Check whether --with-glu was given.
2594 if test "${with_glu+set}" = set; then :
2595 withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
2599 # Check whether --with-gnutls was given.
2600 if test "${with_gnutls+set}" = set; then :
2601 withval=$with_gnutls;
2605 # Check whether --with-gsm was given.
2606 if test "${with_gsm+set}" = set; then :
2607 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
2611 # Check whether --with-gstreamer was given.
2612 if test "${with_gstreamer+set}" = set; then :
2613 withval=$with_gstreamer;
2617 # Check whether --with-hal was given.
2618 if test "${with_hal+set}" = set; then :
2623 # Check whether --with-jpeg was given.
2624 if test "${with_jpeg+set}" = set; then :
2625 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2629 # Check whether --with-ldap was given.
2630 if test "${with_ldap+set}" = set; then :
2631 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2635 # Check whether --with-mpg123 was given.
2636 if test "${with_mpg123+set}" = set; then :
2637 withval=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h=no; fi
2641 # Check whether --with-openal was given.
2642 if test "${with_openal+set}" = set; then :
2643 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
2647 # Check whether --with-opencl was given.
2648 if test "${with_opencl+set}" = set; then :
2649 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
2653 # Check whether --with-opengl was given.
2654 if test "${with_opengl+set}" = set; then :
2655 withval=$with_opengl;
2659 # Check whether --with-openssl was given.
2660 if test "${with_openssl+set}" = set; then :
2661 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2665 # Check whether --with-oss was given.
2666 if test "${with_oss+set}" = set; then :
2671 # Check whether --with-png was given.
2672 if test "${with_png+set}" = set; then :
2673 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2677 # Check whether --with-pthread was given.
2678 if test "${with_pthread+set}" = set; then :
2679 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
2683 # Check whether --with-sane was given.
2684 if test "${with_sane+set}" = set; then :
2689 # Check whether --with-tiff was given.
2690 if test "${with_tiff+set}" = set; then :
2691 withval=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h=no; fi
2695 # Check whether --with-v4l was given.
2696 if test "${with_v4l+set}" = set; then :
2701 # Check whether --with-xcomposite was given.
2702 if test "${with_xcomposite+set}" = set; then :
2703 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2707 # Check whether --with-xcursor was given.
2708 if test "${with_xcursor+set}" = set; then :
2709 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2713 # Check whether --with-xinerama was given.
2714 if test "${with_xinerama+set}" = set; then :
2715 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2719 # Check whether --with-xinput was given.
2720 if test "${with_xinput+set}" = set; then :
2721 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2725 # Check whether --with-xinput2 was given.
2726 if test "${with_xinput2+set}" = set; then :
2727 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
2731 # Check whether --with-xml was given.
2732 if test "${with_xml+set}" = set; then :
2737 # Check whether --with-xrandr was given.
2738 if test "${with_xrandr+set}" = set; then :
2739 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2743 # Check whether --with-xrender was given.
2744 if test "${with_xrender+set}" = set; then :
2745 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2749 # Check whether --with-xshape was given.
2750 if test "${with_xshape+set}" = set; then :
2751 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2755 # Check whether --with-xshm was given.
2756 if test "${with_xshm+set}" = set; then :
2757 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2761 # Check whether --with-xslt was given.
2762 if test "${with_xslt+set}" = set; then :
2767 # Check whether --with-xxf86vm was given.
2768 if test "${with_xxf86vm+set}" = set; then :
2769 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-zlib was given.
2774 if test "${with_zlib+set}" = set; then :
2775 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
2780 # Check whether --with-wine-tools was given.
2781 if test "${with_wine_tools+set}" = set; then :
2782 withval=$with_wine_tools;
2786 # Check whether --with-wine64 was given.
2787 if test "${with_wine64+set}" = set; then :
2788 withval=$with_wine64;
2792 # Make sure we can run config.sub.
2793 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2794 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2797 $as_echo_n "checking build system type... " >&6; }
2798 if ${ac_cv_build+:} false; then :
2799 $as_echo_n "(cached) " >&6
2801 ac_build_alias=$build_alias
2802 test "x$ac_build_alias" = x &&
2803 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2804 test "x$ac_build_alias" = x &&
2805 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2806 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2807 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2811 $as_echo "$ac_cv_build" >&6; }
2812 case $ac_cv_build in
2814 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2817 ac_save_IFS=$IFS; IFS='-'
2823 # Remember, the first character of IFS is used to create $*,
2824 # except with old shells:
2827 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2831 $as_echo_n "checking host system type... " >&6; }
2832 if ${ac_cv_host+:} false; then :
2833 $as_echo_n "(cached) " >&6
2835 if test "x$host_alias" = x; then
2836 ac_cv_host=$ac_cv_build
2838 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2839 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2844 $as_echo "$ac_cv_host" >&6; }
2847 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2850 ac_save_IFS=$IFS; IFS='-'
2856 # Remember, the first character of IFS is used to create $*,
2857 # except with old shells:
2860 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2866 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2867 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
2868 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2874 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2876 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2877 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2878 $as_echo_n "(cached) " >&6
2880 cat >conftest.make <<\_ACEOF
2883 @echo '@@@%%%=$(MAKE)=@@@%%%'
2885 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2886 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2888 eval ac_cv_prog_make_${ac_make}_set=yes;;
2890 eval ac_cv_prog_make_${ac_make}_set=no;;
2894 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2896 $as_echo "yes" >&6; }
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2900 $as_echo "no" >&6; }
2901 SET_MAKE="MAKE=${MAKE-make}"
2905 ac_cpp='$CPP $CPPFLAGS'
2906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2909 if test -n "$ac_tool_prefix"; then
2910 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2911 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2913 $as_echo_n "checking for $ac_word... " >&6; }
2914 if ${ac_cv_prog_CC+:} false; then :
2915 $as_echo_n "(cached) " >&6
2917 if test -n "$CC"; then
2918 ac_cv_prog_CC="$CC" # Let the user override the test.
2920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2924 test -z "$as_dir" && as_dir=.
2925 for ac_exec_ext in '' $ac_executable_extensions; do
2926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2927 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2938 if test -n "$CC"; then
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2940 $as_echo "$CC" >&6; }
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2943 $as_echo "no" >&6; }
2948 if test -z "$ac_cv_prog_CC"; then
2950 # Extract the first word of "gcc", so it can be a program name with args.
2951 set dummy gcc; ac_word=$2
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2953 $as_echo_n "checking for $ac_word... " >&6; }
2954 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2955 $as_echo_n "(cached) " >&6
2957 if test -n "$ac_ct_CC"; then
2958 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2964 test -z "$as_dir" && as_dir=.
2965 for ac_exec_ext in '' $ac_executable_extensions; do
2966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2967 ac_cv_prog_ac_ct_CC="gcc"
2968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2977 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2978 if test -n "$ac_ct_CC"; then
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2980 $as_echo "$ac_ct_CC" >&6; }
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2983 $as_echo "no" >&6; }
2986 if test "x$ac_ct_CC" = x; then
2989 case $cross_compiling:$ac_tool_warned in
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2993 ac_tool_warned=yes ;;
3001 if test -z "$CC"; then
3002 if test -n "$ac_tool_prefix"; then
3003 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3004 set dummy ${ac_tool_prefix}cc; ac_word=$2
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3006 $as_echo_n "checking for $ac_word... " >&6; }
3007 if ${ac_cv_prog_CC+:} false; then :
3008 $as_echo_n "(cached) " >&6
3010 if test -n "$CC"; then
3011 ac_cv_prog_CC="$CC" # Let the user override the test.
3013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3017 test -z "$as_dir" && as_dir=.
3018 for ac_exec_ext in '' $ac_executable_extensions; do
3019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3020 ac_cv_prog_CC="${ac_tool_prefix}cc"
3021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3031 if test -n "$CC"; then
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3033 $as_echo "$CC" >&6; }
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3036 $as_echo "no" >&6; }
3042 if test -z "$CC"; then
3043 # Extract the first word of "cc", so it can be a program name with args.
3044 set dummy cc; ac_word=$2
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3046 $as_echo_n "checking for $ac_word... " >&6; }
3047 if ${ac_cv_prog_CC+:} false; then :
3048 $as_echo_n "(cached) " >&6
3050 if test -n "$CC"; then
3051 ac_cv_prog_CC="$CC" # Let the user override the test.
3054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3058 test -z "$as_dir" && as_dir=.
3059 for ac_exec_ext in '' $ac_executable_extensions; do
3060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3061 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3062 ac_prog_rejected=yes
3066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3073 if test $ac_prog_rejected = yes; then
3074 # We found a bogon in the path, so make sure we never use it.
3075 set dummy $ac_cv_prog_CC
3077 if test $# != 0; then
3078 # We chose a different compiler from the bogus one.
3079 # However, it has the same basename, so the bogon will be chosen
3080 # first if we set CC to just the basename; use the full file name.
3082 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3088 if test -n "$CC"; then
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3090 $as_echo "$CC" >&6; }
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3093 $as_echo "no" >&6; }
3098 if test -z "$CC"; then
3099 if test -n "$ac_tool_prefix"; then
3100 for ac_prog in cl.exe
3102 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3103 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3105 $as_echo_n "checking for $ac_word... " >&6; }
3106 if ${ac_cv_prog_CC+:} false; then :
3107 $as_echo_n "(cached) " >&6
3109 if test -n "$CC"; then
3110 ac_cv_prog_CC="$CC" # Let the user override the test.
3112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3116 test -z "$as_dir" && as_dir=.
3117 for ac_exec_ext in '' $ac_executable_extensions; do
3118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3119 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3130 if test -n "$CC"; then
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3132 $as_echo "$CC" >&6; }
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3135 $as_echo "no" >&6; }
3139 test -n "$CC" && break
3142 if test -z "$CC"; then
3144 for ac_prog in cl.exe
3146 # Extract the first word of "$ac_prog", so it can be a program name with args.
3147 set dummy $ac_prog; ac_word=$2
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3149 $as_echo_n "checking for $ac_word... " >&6; }
3150 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3151 $as_echo_n "(cached) " >&6
3153 if test -n "$ac_ct_CC"; then
3154 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3160 test -z "$as_dir" && as_dir=.
3161 for ac_exec_ext in '' $ac_executable_extensions; do
3162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3163 ac_cv_prog_ac_ct_CC="$ac_prog"
3164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3173 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3174 if test -n "$ac_ct_CC"; then
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3176 $as_echo "$ac_ct_CC" >&6; }
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3179 $as_echo "no" >&6; }
3183 test -n "$ac_ct_CC" && break
3186 if test "x$ac_ct_CC" = x; then
3189 case $cross_compiling:$ac_tool_warned in
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3193 ac_tool_warned=yes ;;
3202 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3204 as_fn_error $? "no acceptable C compiler found in \$PATH
3205 See \`config.log' for more details" "$LINENO" 5; }
3207 # Provide some information about the compiler.
3208 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3211 for ac_option in --version -v -V -qversion; do
3212 { { ac_try="$ac_compiler $ac_option >&5"
3214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215 *) ac_try_echo=$ac_try;;
3217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3218 $as_echo "$ac_try_echo"; } >&5
3219 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3221 if test -s conftest.err; then
3223 ... rest of stderr output deleted ...
3224 10q' conftest.err >conftest.er1
3225 cat conftest.er1 >&5
3227 rm -f conftest.er1 conftest.err
3228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3229 test $ac_status = 0; }
3232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3233 /* end confdefs.h. */
3243 ac_clean_files_save=$ac_clean_files
3244 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3245 # Try to create an executable without -o first, disregard a.out.
3246 # It will help us diagnose broken compilers, and finding out an intuition
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3249 $as_echo_n "checking whether the C compiler works... " >&6; }
3250 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3252 # The possible output files:
3253 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3256 for ac_file in $ac_files
3259 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3260 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3265 if { { ac_try="$ac_link_default"
3267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3268 *) ac_try_echo=$ac_try;;
3270 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3271 $as_echo "$ac_try_echo"; } >&5
3272 (eval "$ac_link_default") 2>&5
3274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3275 test $ac_status = 0; }; then :
3276 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3277 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3278 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3279 # so that the user can short-circuit this test for compilers unknown to
3281 for ac_file in $ac_files ''
3283 test -f "$ac_file" || continue
3285 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3288 # We found the default executable, but exeext='' is most
3292 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3294 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3296 # We set ac_cv_exeext here because the later test for it is not
3297 # safe: cross compilers may not add the suffix if given an `-o'
3298 # argument, so we may need to know it at that point already.
3299 # Even if this section looks crufty: it has the advantage of
3306 test "$ac_cv_exeext" = no && ac_cv_exeext=
3311 if test -z "$ac_file"; then :
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3313 $as_echo "no" >&6; }
3314 $as_echo "$as_me: failed program was:" >&5
3315 sed 's/^/| /' conftest.$ac_ext >&5
3317 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3319 as_fn_error 77 "C compiler cannot create executables
3320 See \`config.log' for more details" "$LINENO" 5; }
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3323 $as_echo "yes" >&6; }
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3326 $as_echo_n "checking for C compiler default output file name... " >&6; }
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3328 $as_echo "$ac_file" >&6; }
3329 ac_exeext=$ac_cv_exeext
3331 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3332 ac_clean_files=$ac_clean_files_save
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3334 $as_echo_n "checking for suffix of executables... " >&6; }
3335 if { { ac_try="$ac_link"
3337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3338 *) ac_try_echo=$ac_try;;
3340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3341 $as_echo "$ac_try_echo"; } >&5
3342 (eval "$ac_link") 2>&5
3344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3345 test $ac_status = 0; }; then :
3346 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3347 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3348 # work properly (i.e., refer to `conftest.exe'), while it won't with
3350 for ac_file in conftest.exe conftest conftest.*; do
3351 test -f "$ac_file" || continue
3353 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3354 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3360 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3362 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3363 See \`config.log' for more details" "$LINENO" 5; }
3365 rm -f conftest conftest$ac_cv_exeext
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3367 $as_echo "$ac_cv_exeext" >&6; }
3369 rm -f conftest.$ac_ext
3370 EXEEXT=$ac_cv_exeext
3372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3373 /* end confdefs.h. */
3378 FILE *f = fopen ("conftest.out", "w");
3379 return ferror (f) || fclose (f) != 0;
3385 ac_clean_files="$ac_clean_files conftest.out"
3386 # Check that the compiler produces executables we can run. If not, either
3387 # the compiler is broken, or we cross compile.
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3389 $as_echo_n "checking whether we are cross compiling... " >&6; }
3390 if test "$cross_compiling" != yes; then
3391 { { ac_try="$ac_link"
3393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3394 *) ac_try_echo=$ac_try;;
3396 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3397 $as_echo "$ac_try_echo"; } >&5
3398 (eval "$ac_link") 2>&5
3400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3401 test $ac_status = 0; }
3402 if { ac_try='./conftest$ac_cv_exeext'
3403 { { case "(($ac_try" in
3404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3405 *) ac_try_echo=$ac_try;;
3407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3408 $as_echo "$ac_try_echo"; } >&5
3409 (eval "$ac_try") 2>&5
3411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3412 test $ac_status = 0; }; }; then
3415 if test "$cross_compiling" = maybe; then
3418 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3420 as_fn_error $? "cannot run C compiled programs.
3421 If you meant to cross compile, use \`--host'.
3422 See \`config.log' for more details" "$LINENO" 5; }
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3427 $as_echo "$cross_compiling" >&6; }
3429 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3430 ac_clean_files=$ac_clean_files_save
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3432 $as_echo_n "checking for suffix of object files... " >&6; }
3433 if ${ac_cv_objext+:} false; then :
3434 $as_echo_n "(cached) " >&6
3436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3437 /* end confdefs.h. */
3447 rm -f conftest.o conftest.obj
3448 if { { ac_try="$ac_compile"
3450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3451 *) ac_try_echo=$ac_try;;
3453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3454 $as_echo "$ac_try_echo"; } >&5
3455 (eval "$ac_compile") 2>&5
3457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3458 test $ac_status = 0; }; then :
3459 for ac_file in conftest.o conftest.obj conftest.*; do
3460 test -f "$ac_file" || continue;
3462 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3463 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3468 $as_echo "$as_me: failed program was:" >&5
3469 sed 's/^/| /' conftest.$ac_ext >&5
3471 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3473 as_fn_error $? "cannot compute suffix of object files: cannot compile
3474 See \`config.log' for more details" "$LINENO" 5; }
3476 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3479 $as_echo "$ac_cv_objext" >&6; }
3480 OBJEXT=$ac_cv_objext
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3483 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3484 if ${ac_cv_c_compiler_gnu+:} false; then :
3485 $as_echo_n "(cached) " >&6
3487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3488 /* end confdefs.h. */
3501 if ac_fn_c_try_compile "$LINENO"; then :
3506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3507 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3511 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3512 if test $ac_compiler_gnu = yes; then
3517 ac_test_CFLAGS=${CFLAGS+set}
3518 ac_save_CFLAGS=$CFLAGS
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3520 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3521 if ${ac_cv_prog_cc_g+:} false; then :
3522 $as_echo_n "(cached) " >&6
3524 ac_save_c_werror_flag=$ac_c_werror_flag
3525 ac_c_werror_flag=yes
3528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3529 /* end confdefs.h. */
3539 if ac_fn_c_try_compile "$LINENO"; then :
3543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3544 /* end confdefs.h. */
3554 if ac_fn_c_try_compile "$LINENO"; then :
3557 ac_c_werror_flag=$ac_save_c_werror_flag
3559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3560 /* end confdefs.h. */
3570 if ac_fn_c_try_compile "$LINENO"; then :
3573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3578 ac_c_werror_flag=$ac_save_c_werror_flag
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3581 $as_echo "$ac_cv_prog_cc_g" >&6; }
3582 if test "$ac_test_CFLAGS" = set; then
3583 CFLAGS=$ac_save_CFLAGS
3584 elif test $ac_cv_prog_cc_g = yes; then
3585 if test "$GCC" = yes; then
3591 if test "$GCC" = yes; then
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3598 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3599 if ${ac_cv_prog_cc_c89+:} false; then :
3600 $as_echo_n "(cached) " >&6
3602 ac_cv_prog_cc_c89=no
3604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3605 /* end confdefs.h. */
3608 #include <sys/types.h>
3609 #include <sys/stat.h>
3610 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3611 struct buf { int x; };
3612 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3613 static char *e (p, i)
3619 static char *f (char * (*g) (char **, int), char **p, ...)
3624 s = g (p, va_arg (v,int));
3629 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3630 function prototypes and stuff, but not '\xHH' hex character constants.
3631 These don't provoke an error unfortunately, instead are silently treated
3632 as 'x'. The following induces an error, until -std is added to get
3633 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3634 array size at least. It's necessary to write '\x00'==0 to get something
3635 that's true only with -std. */
3636 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3638 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3639 inside strings and character constants. */
3641 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3643 int test (int i, double x);
3644 struct s1 {int (*f) (int a);};
3645 struct s2 {int (*f) (double a);};
3646 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3652 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3657 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3658 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3660 CC="$ac_save_CC $ac_arg"
3661 if ac_fn_c_try_compile "$LINENO"; then :
3662 ac_cv_prog_cc_c89=$ac_arg
3664 rm -f core conftest.err conftest.$ac_objext
3665 test "x$ac_cv_prog_cc_c89" != "xno" && break
3667 rm -f conftest.$ac_ext
3672 case "x$ac_cv_prog_cc_c89" in
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3675 $as_echo "none needed" >&6; } ;;
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3678 $as_echo "unsupported" >&6; } ;;
3680 CC="$CC $ac_cv_prog_cc_c89"
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3682 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3684 if test "x$ac_cv_prog_cc_c89" != xno; then :
3689 ac_cpp='$CPP $CPPFLAGS'
3690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3695 ac_cpp='$CXXCPP $CPPFLAGS'
3696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3699 if test -z "$CXX"; then
3700 if test -n "$CCC"; then
3703 if test -n "$ac_tool_prefix"; then
3704 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3706 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3707 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3709 $as_echo_n "checking for $ac_word... " >&6; }
3710 if ${ac_cv_prog_CXX+:} false; then :
3711 $as_echo_n "(cached) " >&6
3713 if test -n "$CXX"; then
3714 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3720 test -z "$as_dir" && as_dir=.
3721 for ac_exec_ext in '' $ac_executable_extensions; do
3722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3723 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3734 if test -n "$CXX"; then
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3736 $as_echo "$CXX" >&6; }
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3739 $as_echo "no" >&6; }
3743 test -n "$CXX" && break
3746 if test -z "$CXX"; then
3748 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3750 # Extract the first word of "$ac_prog", so it can be a program name with args.
3751 set dummy $ac_prog; ac_word=$2
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3753 $as_echo_n "checking for $ac_word... " >&6; }
3754 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3755 $as_echo_n "(cached) " >&6
3757 if test -n "$ac_ct_CXX"; then
3758 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3764 test -z "$as_dir" && as_dir=.
3765 for ac_exec_ext in '' $ac_executable_extensions; do
3766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3767 ac_cv_prog_ac_ct_CXX="$ac_prog"
3768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3777 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3778 if test -n "$ac_ct_CXX"; then
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3780 $as_echo "$ac_ct_CXX" >&6; }
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3783 $as_echo "no" >&6; }
3787 test -n "$ac_ct_CXX" && break
3790 if test "x$ac_ct_CXX" = x; then
3793 case $cross_compiling:$ac_tool_warned in
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3796 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3797 ac_tool_warned=yes ;;
3805 # Provide some information about the compiler.
3806 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3809 for ac_option in --version -v -V -qversion; do
3810 { { ac_try="$ac_compiler $ac_option >&5"
3812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3813 *) ac_try_echo=$ac_try;;
3815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3816 $as_echo "$ac_try_echo"; } >&5
3817 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3819 if test -s conftest.err; then
3821 ... rest of stderr output deleted ...
3822 10q' conftest.err >conftest.er1
3823 cat conftest.er1 >&5
3825 rm -f conftest.er1 conftest.err
3826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3827 test $ac_status = 0; }
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3831 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3832 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3833 $as_echo_n "(cached) " >&6
3835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3836 /* end confdefs.h. */
3849 if ac_fn_cxx_try_compile "$LINENO"; then :
3854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3855 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3859 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3860 if test $ac_compiler_gnu = yes; then
3865 ac_test_CXXFLAGS=${CXXFLAGS+set}
3866 ac_save_CXXFLAGS=$CXXFLAGS
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3868 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3869 if ${ac_cv_prog_cxx_g+:} false; then :
3870 $as_echo_n "(cached) " >&6
3872 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3873 ac_cxx_werror_flag=yes
3876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3877 /* end confdefs.h. */
3887 if ac_fn_cxx_try_compile "$LINENO"; then :
3888 ac_cv_prog_cxx_g=yes
3891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3892 /* end confdefs.h. */
3902 if ac_fn_cxx_try_compile "$LINENO"; then :
3905 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3908 /* end confdefs.h. */
3918 if ac_fn_cxx_try_compile "$LINENO"; then :
3919 ac_cv_prog_cxx_g=yes
3921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3926 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3929 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3930 if test "$ac_test_CXXFLAGS" = set; then
3931 CXXFLAGS=$ac_save_CXXFLAGS
3932 elif test $ac_cv_prog_cxx_g = yes; then
3933 if test "$GXX" = yes; then
3939 if test "$GXX" = yes; then
3946 ac_cpp='$CPP $CPPFLAGS'
3947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3951 if test -n "$ac_tool_prefix"; then
3952 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3953 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3955 $as_echo_n "checking for $ac_word... " >&6; }
3956 if ${ac_cv_prog_CPPBIN+:} false; then :
3957 $as_echo_n "(cached) " >&6
3959 if test -n "$CPPBIN"; then
3960 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3966 test -z "$as_dir" && as_dir=.
3967 for ac_exec_ext in '' $ac_executable_extensions; do
3968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3969 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3979 CPPBIN=$ac_cv_prog_CPPBIN
3980 if test -n "$CPPBIN"; then
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
3982 $as_echo "$CPPBIN" >&6; }
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3985 $as_echo "no" >&6; }
3990 if test -z "$ac_cv_prog_CPPBIN"; then
3991 ac_ct_CPPBIN=$CPPBIN
3992 # Extract the first word of "cpp", so it can be a program name with args.
3993 set dummy cpp; ac_word=$2
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3995 $as_echo_n "checking for $ac_word... " >&6; }
3996 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
3997 $as_echo_n "(cached) " >&6
3999 if test -n "$ac_ct_CPPBIN"; then
4000 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4006 test -z "$as_dir" && as_dir=.
4007 for ac_exec_ext in '' $ac_executable_extensions; do
4008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4009 ac_cv_prog_ac_ct_CPPBIN="cpp"
4010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4019 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4020 if test -n "$ac_ct_CPPBIN"; then
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4022 $as_echo "$ac_ct_CPPBIN" >&6; }
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4025 $as_echo "no" >&6; }
4028 if test "x$ac_ct_CPPBIN" = x; then
4031 case $cross_compiling:$ac_tool_warned in
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4034 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4035 ac_tool_warned=yes ;;
4037 CPPBIN=$ac_ct_CPPBIN
4040 CPPBIN="$ac_cv_prog_CPPBIN"
4044 cat >>confdefs.h <<_ACEOF
4045 #define EXEEXT "$ac_exeext"
4051 if test "x$enable_win64" = "xyes"
4056 notice_platform="64-bit "
4063 notice_platform="32-bit "
4066 enable_win16=${enable_win16:-yes}
4070 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4075 $as_echo_n "checking whether $CC works... " >&6; }
4077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4078 /* end confdefs.h. */
4088 if ac_fn_c_try_link "$LINENO"; then :
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4090 $as_echo "yes" >&6; }
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4093 $as_echo "no" >&6; }
4094 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4096 rm -f core conftest.err conftest.$ac_objext \
4097 conftest$ac_exeext conftest.$ac_ext
4099 notice_platform="32-bit "
4102 enable_win16=${enable_win16:-yes}
4104 if test "x${GCC}" = "xyes"
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4107 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4109 /* end confdefs.h. */
4114 void func(__builtin_ms_va_list *args);
4119 if ac_fn_c_try_compile "$LINENO"; then :
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4121 $as_echo "yes" >&6; }
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4124 $as_echo "no" >&6; }
4125 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4133 *-mingw32*|*-cygwin*)
4134 enable_win16=${enable_win16:-no}
4135 CFLAGS="$CFLAGS -D_WIN32"
4138 enable_win16=${enable_win16:-yes}
4142 enable_win16=${enable_win16:-no}
4143 enable_win64=${enable_win64:-no}
4145 enable_winetest=${enable_winetest:-$enable_tests}
4147 if test -n "$with_wine64"
4149 if test "x$enable_win64" = "xyes"
4151 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4152 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4156 enable_fonts=${enable_fonts:-no}
4157 enable_server=${enable_server:-no}
4158 enable_tools=${enable_tools:-no}
4159 elif test "x$enable_win64" = "xyes"
4161 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4165 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4166 if ${wine_cv_toolsdir+:} false; then :
4167 $as_echo_n "(cached) " >&6
4169 wine_cv_toolsdir="$with_wine_tools"
4170 if test -z "$with_wine_tools"; then
4171 if test "$cross_compiling" = "yes"; then
4172 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4173 elif test -n "$with_wine64"; then
4174 wine_cv_toolsdir="$with_wine64"
4177 if test -z "$wine_cv_toolsdir"; then
4178 wine_cv_toolsdir="\$(top_builddir)"
4179 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4180 case "$wine_cv_toolsdir" in
4182 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4185 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4189 $as_echo "$wine_cv_toolsdir" >&6; }
4190 TOOLSDIR=$wine_cv_toolsdir
4192 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4194 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4200 # Extract the first word of "$ac_prog", so it can be a program name with args.
4201 set dummy $ac_prog; ac_word=$2
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4203 $as_echo_n "checking for $ac_word... " >&6; }
4204 if ${ac_cv_prog_FLEX+:} false; then :
4205 $as_echo_n "(cached) " >&6
4207 if test -n "$FLEX"; then
4208 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4214 test -z "$as_dir" && as_dir=.
4215 for ac_exec_ext in '' $ac_executable_extensions; do
4216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4217 ac_cv_prog_FLEX="$ac_prog"
4218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4227 FLEX=$ac_cv_prog_FLEX
4228 if test -n "$FLEX"; then
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4230 $as_echo "$FLEX" >&6; }
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4233 $as_echo "no" >&6; }
4237 test -n "$FLEX" && break
4239 test -n "$FLEX" || FLEX="none"
4241 if test "$FLEX" = "none"
4243 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4246 $as_echo_n "checking whether flex is recent enough... " >&6; }
4247 cat >conftest.l <<EOF
4249 #include "prediluvian.h"
4253 if $FLEX -t conftest.l >/dev/null 2>&5
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4256 $as_echo "yes" >&6; }
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4259 $as_echo "no" >&6; }
4260 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4263 for ac_prog in bison
4265 # Extract the first word of "$ac_prog", so it can be a program name with args.
4266 set dummy $ac_prog; ac_word=$2
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4268 $as_echo_n "checking for $ac_word... " >&6; }
4269 if ${ac_cv_prog_BISON+:} false; then :
4270 $as_echo_n "(cached) " >&6
4272 if test -n "$BISON"; then
4273 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4279 test -z "$as_dir" && as_dir=.
4280 for ac_exec_ext in '' $ac_executable_extensions; do
4281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4282 ac_cv_prog_BISON="$ac_prog"
4283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4292 BISON=$ac_cv_prog_BISON
4293 if test -n "$BISON"; then
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4295 $as_echo "$BISON" >&6; }
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4298 $as_echo "no" >&6; }
4302 test -n "$BISON" && break
4304 test -n "$BISON" || BISON="none"
4306 if test "$BISON" = "none"
4308 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4311 if test -n "$ac_tool_prefix"; then
4312 for ac_prog in ar gar
4314 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4315 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4317 $as_echo_n "checking for $ac_word... " >&6; }
4318 if ${ac_cv_prog_AR+:} false; then :
4319 $as_echo_n "(cached) " >&6
4321 if test -n "$AR"; then
4322 ac_cv_prog_AR="$AR" # Let the user override the test.
4324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4328 test -z "$as_dir" && as_dir=.
4329 for ac_exec_ext in '' $ac_executable_extensions; do
4330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4331 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4342 if test -n "$AR"; then
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4344 $as_echo "$AR" >&6; }
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4347 $as_echo "no" >&6; }
4351 test -n "$AR" && break
4354 if test -z "$AR"; then
4356 for ac_prog in ar gar
4358 # Extract the first word of "$ac_prog", so it can be a program name with args.
4359 set dummy $ac_prog; ac_word=$2
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4361 $as_echo_n "checking for $ac_word... " >&6; }
4362 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4363 $as_echo_n "(cached) " >&6
4365 if test -n "$ac_ct_AR"; then
4366 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4372 test -z "$as_dir" && as_dir=.
4373 for ac_exec_ext in '' $ac_executable_extensions; do
4374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4375 ac_cv_prog_ac_ct_AR="$ac_prog"
4376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4385 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4386 if test -n "$ac_ct_AR"; then
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4388 $as_echo "$ac_ct_AR" >&6; }
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4391 $as_echo "no" >&6; }
4395 test -n "$ac_ct_AR" && break
4398 if test "x$ac_ct_AR" = x; then
4401 case $cross_compiling:$ac_tool_warned in
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4405 ac_tool_warned=yes ;;
4413 if test -n "$ac_tool_prefix"; then
4414 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4415 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4417 $as_echo_n "checking for $ac_word... " >&6; }
4418 if ${ac_cv_prog_RANLIB+:} false; then :
4419 $as_echo_n "(cached) " >&6
4421 if test -n "$RANLIB"; then
4422 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4428 test -z "$as_dir" && as_dir=.
4429 for ac_exec_ext in '' $ac_executable_extensions; do
4430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4431 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4441 RANLIB=$ac_cv_prog_RANLIB
4442 if test -n "$RANLIB"; then
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4444 $as_echo "$RANLIB" >&6; }
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4447 $as_echo "no" >&6; }
4452 if test -z "$ac_cv_prog_RANLIB"; then
4453 ac_ct_RANLIB=$RANLIB
4454 # Extract the first word of "ranlib", so it can be a program name with args.
4455 set dummy ranlib; ac_word=$2
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4457 $as_echo_n "checking for $ac_word... " >&6; }
4458 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4459 $as_echo_n "(cached) " >&6
4461 if test -n "$ac_ct_RANLIB"; then
4462 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4468 test -z "$as_dir" && as_dir=.
4469 for ac_exec_ext in '' $ac_executable_extensions; do
4470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4471 ac_cv_prog_ac_ct_RANLIB="ranlib"
4472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4481 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4482 if test -n "$ac_ct_RANLIB"; then
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4484 $as_echo "$ac_ct_RANLIB" >&6; }
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4487 $as_echo "no" >&6; }
4490 if test "x$ac_ct_RANLIB" = x; then
4493 case $cross_compiling:$ac_tool_warned in
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4497 ac_tool_warned=yes ;;
4499 RANLIB=$ac_ct_RANLIB
4502 RANLIB="$ac_cv_prog_RANLIB"
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4506 $as_echo_n "checking whether ln -s works... " >&6; }
4508 if test "$LN_S" = "ln -s"; then
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4510 $as_echo "yes" >&6; }
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4513 $as_echo "no, using $LN_S" >&6; }
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4517 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4518 if ${ac_cv_path_GREP+:} false; then :
4519 $as_echo_n "(cached) " >&6
4521 if test -z "$GREP"; then
4522 ac_path_GREP_found=false
4523 # Loop through the user's path and test for each of PROGNAME-LIST
4524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4525 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4528 test -z "$as_dir" && as_dir=.
4529 for ac_prog in grep ggrep; do
4530 for ac_exec_ext in '' $ac_executable_extensions; do
4531 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4532 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4533 # Check for GNU ac_path_GREP and select it if it is found.
4534 # Check for GNU $ac_path_GREP
4535 case `"$ac_path_GREP" --version 2>&1` in
4537 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4540 $as_echo_n 0123456789 >"conftest.in"
4543 cat "conftest.in" "conftest.in" >"conftest.tmp"
4544 mv "conftest.tmp" "conftest.in"
4545 cp "conftest.in" "conftest.nl"
4546 $as_echo 'GREP' >> "conftest.nl"
4547 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4548 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4549 as_fn_arith $ac_count + 1 && ac_count=$as_val
4550 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4551 # Best one so far, save it but keep looking for a better one
4552 ac_cv_path_GREP="$ac_path_GREP"
4553 ac_path_GREP_max=$ac_count
4555 # 10*(2^10) chars as input seems more than enough
4556 test $ac_count -gt 10 && break
4558 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4561 $ac_path_GREP_found && break 3
4566 if test -z "$ac_cv_path_GREP"; then
4567 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4570 ac_cv_path_GREP=$GREP
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4575 $as_echo "$ac_cv_path_GREP" >&6; }
4576 GREP="$ac_cv_path_GREP"
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4580 $as_echo_n "checking for egrep... " >&6; }
4581 if ${ac_cv_path_EGREP+:} false; then :
4582 $as_echo_n "(cached) " >&6
4584 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4585 then ac_cv_path_EGREP="$GREP -E"
4587 if test -z "$EGREP"; then
4588 ac_path_EGREP_found=false
4589 # Loop through the user's path and test for each of PROGNAME-LIST
4590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4591 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4594 test -z "$as_dir" && as_dir=.
4595 for ac_prog in egrep; do
4596 for ac_exec_ext in '' $ac_executable_extensions; do
4597 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4598 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4599 # Check for GNU ac_path_EGREP and select it if it is found.
4600 # Check for GNU $ac_path_EGREP
4601 case `"$ac_path_EGREP" --version 2>&1` in
4603 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4606 $as_echo_n 0123456789 >"conftest.in"
4609 cat "conftest.in" "conftest.in" >"conftest.tmp"
4610 mv "conftest.tmp" "conftest.in"
4611 cp "conftest.in" "conftest.nl"
4612 $as_echo 'EGREP' >> "conftest.nl"
4613 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4614 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4615 as_fn_arith $ac_count + 1 && ac_count=$as_val
4616 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4617 # Best one so far, save it but keep looking for a better one
4618 ac_cv_path_EGREP="$ac_path_EGREP"
4619 ac_path_EGREP_max=$ac_count
4621 # 10*(2^10) chars as input seems more than enough
4622 test $ac_count -gt 10 && break
4624 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4627 $ac_path_EGREP_found && break 3
4632 if test -z "$ac_cv_path_EGREP"; then
4633 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4636 ac_cv_path_EGREP=$EGREP
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4642 $as_echo "$ac_cv_path_EGREP" >&6; }
4643 EGREP="$ac_cv_path_EGREP"
4646 # Extract the first word of "ldconfig", so it can be a program name with args.
4647 set dummy ldconfig; ac_word=$2
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4649 $as_echo_n "checking for $ac_word... " >&6; }
4650 if ${ac_cv_path_LDCONFIG+:} false; then :
4651 $as_echo_n "(cached) " >&6
4655 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4659 for as_dir in /sbin /usr/sbin $PATH
4662 test -z "$as_dir" && as_dir=.
4663 for ac_exec_ext in '' $ac_executable_extensions; do
4664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4665 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4673 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4677 LDCONFIG=$ac_cv_path_LDCONFIG
4678 if test -n "$LDCONFIG"; then
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4680 $as_echo "$LDCONFIG" >&6; }
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4683 $as_echo "no" >&6; }
4687 # Find a good install program. We prefer a C program (faster),
4688 # so one script is as good as another. But avoid the broken or
4689 # incompatible versions:
4690 # SysV /etc/install, /usr/sbin/install
4691 # SunOS /usr/etc/install
4692 # IRIX /sbin/install
4694 # AmigaOS /C/install, which installs bootblocks on floppy discs
4695 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4696 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4697 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4698 # OS/2's system install, which has a completely different semantic
4699 # ./install, which can be erroneously created by make from ./install.sh.
4700 # Reject install programs that cannot install multiple files.
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4702 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4703 if test -z "$INSTALL"; then
4704 if ${ac_cv_path_install+:} false; then :
4705 $as_echo_n "(cached) " >&6
4707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4711 test -z "$as_dir" && as_dir=.
4712 # Account for people who put trailing slashes in PATH elements.
4713 case $as_dir/ in #((
4714 ./ | .// | /[cC]/* | \
4715 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4716 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4719 # OSF1 and SCO ODT 3.0 have their own names for install.
4720 # Don't use installbsd from OSF since it installs stuff as root
4722 for ac_prog in ginstall scoinst install; do
4723 for ac_exec_ext in '' $ac_executable_extensions; do
4724 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4725 if test $ac_prog = install &&
4726 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4727 # AIX install. It has an incompatible calling convention.
4729 elif test $ac_prog = install &&
4730 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4731 # program-specific install script used by HP pwplus--don't use.
4734 rm -rf conftest.one conftest.two conftest.dir
4735 echo one > conftest.one
4736 echo two > conftest.two
4738 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4739 test -s conftest.one && test -s conftest.two &&
4740 test -s conftest.dir/conftest.one &&
4741 test -s conftest.dir/conftest.two
4743 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4756 rm -rf conftest.one conftest.two conftest.dir
4759 if test "${ac_cv_path_install+set}" = set; then
4760 INSTALL=$ac_cv_path_install
4762 # As a last resort, use the slow shell script. Don't cache a
4763 # value for INSTALL within a source directory, because that will
4764 # break other packages using the cache if that directory is
4765 # removed, or if the value is a relative name.
4766 INSTALL=$ac_install_sh
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4770 $as_echo "$INSTALL" >&6; }
4772 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4773 # It thinks the first close brace ends the variable substitution.
4774 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4776 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4778 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4781 [\\/$]* | ?:[\\/]* ) ;;
4782 *) INSTALL="\\\$(top_srcdir)/$INSTALL" ;;
4785 for ac_prog in lclint lint
4787 # Extract the first word of "$ac_prog", so it can be a program name with args.
4788 set dummy $ac_prog; ac_word=$2
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4790 $as_echo_n "checking for $ac_word... " >&6; }
4791 if ${ac_cv_prog_LINT+:} false; then :
4792 $as_echo_n "(cached) " >&6
4794 if test -n "$LINT"; then
4795 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4801 test -z "$as_dir" && as_dir=.
4802 for ac_exec_ext in '' $ac_executable_extensions; do
4803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4804 ac_cv_prog_LINT="$ac_prog"
4805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4814 LINT=$ac_cv_prog_LINT
4815 if test -n "$LINT"; then
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4817 $as_echo "$LINT" >&6; }
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4820 $as_echo "no" >&6; }
4824 test -n "$LINT" && break
4827 if test "$LINT" = "lint"
4829 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4833 for ac_prog in fontforge
4835 # Extract the first word of "$ac_prog", so it can be a program name with args.
4836 set dummy $ac_prog; ac_word=$2
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4838 $as_echo_n "checking for $ac_word... " >&6; }
4839 if ${ac_cv_prog_FONTFORGE+:} false; then :
4840 $as_echo_n "(cached) " >&6
4842 if test -n "$FONTFORGE"; then
4843 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
4845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4849 test -z "$as_dir" && as_dir=.
4850 for ac_exec_ext in '' $ac_executable_extensions; do
4851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4852 ac_cv_prog_FONTFORGE="$ac_prog"
4853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4862 FONTFORGE=$ac_cv_prog_FONTFORGE
4863 if test -n "$FONTFORGE"; then
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4865 $as_echo "$FONTFORGE" >&6; }
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4868 $as_echo "no" >&6; }
4872 test -n "$FONTFORGE" && break
4874 test -n "$FONTFORGE" || FONTFORGE="false"
4876 for ac_prog in pkg-config
4878 # Extract the first word of "$ac_prog", so it can be a program name with args.
4879 set dummy $ac_prog; ac_word=$2
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4881 $as_echo_n "checking for $ac_word... " >&6; }
4882 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
4883 $as_echo_n "(cached) " >&6
4885 if test -n "$PKG_CONFIG"; then
4886 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
4888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4892 test -z "$as_dir" && as_dir=.
4893 for ac_exec_ext in '' $ac_executable_extensions; do
4894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4895 ac_cv_prog_PKG_CONFIG="$ac_prog"
4896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4905 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
4906 if test -n "$PKG_CONFIG"; then
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4908 $as_echo "$PKG_CONFIG" >&6; }
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4911 $as_echo "no" >&6; }
4915 test -n "$PKG_CONFIG" && break
4917 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
4921 # Extract the first word of "$ac_prog", so it can be a program name with args.
4922 set dummy $ac_prog; ac_word=$2
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4924 $as_echo_n "checking for $ac_word... " >&6; }
4925 if ${ac_cv_prog_RSVG+:} false; then :
4926 $as_echo_n "(cached) " >&6
4928 if test -n "$RSVG"; then
4929 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
4931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4935 test -z "$as_dir" && as_dir=.
4936 for ac_exec_ext in '' $ac_executable_extensions; do
4937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4938 ac_cv_prog_RSVG="$ac_prog"
4939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4948 RSVG=$ac_cv_prog_RSVG
4949 if test -n "$RSVG"; then
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
4951 $as_echo "$RSVG" >&6; }
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 $as_echo "no" >&6; }
4958 test -n "$RSVG" && break
4960 test -n "$RSVG" || RSVG="false"
4962 for ac_prog in convert
4964 # Extract the first word of "$ac_prog", so it can be a program name with args.
4965 set dummy $ac_prog; ac_word=$2
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4967 $as_echo_n "checking for $ac_word... " >&6; }
4968 if ${ac_cv_prog_CONVERT+:} false; then :
4969 $as_echo_n "(cached) " >&6
4971 if test -n "$CONVERT"; then
4972 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
4974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4978 test -z "$as_dir" && as_dir=.
4979 for ac_exec_ext in '' $ac_executable_extensions; do
4980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4981 ac_cv_prog_CONVERT="$ac_prog"
4982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4991 CONVERT=$ac_cv_prog_CONVERT
4992 if test -n "$CONVERT"; then
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
4994 $as_echo "$CONVERT" >&6; }
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4997 $as_echo "no" >&6; }
5001 test -n "$CONVERT" && break
5003 test -n "$CONVERT" || CONVERT="false"
5005 for ac_prog in icotool
5007 # Extract the first word of "$ac_prog", so it can be a program name with args.
5008 set dummy $ac_prog; ac_word=$2
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5010 $as_echo_n "checking for $ac_word... " >&6; }
5011 if ${ac_cv_prog_ICOTOOL+:} false; then :
5012 $as_echo_n "(cached) " >&6
5014 if test -n "$ICOTOOL"; then
5015 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5021 test -z "$as_dir" && as_dir=.
5022 for ac_exec_ext in '' $ac_executable_extensions; do
5023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5024 ac_cv_prog_ICOTOOL="$ac_prog"
5025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5034 ICOTOOL=$ac_cv_prog_ICOTOOL
5035 if test -n "$ICOTOOL"; then
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5037 $as_echo "$ICOTOOL" >&6; }
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5040 $as_echo "no" >&6; }
5044 test -n "$ICOTOOL" && break
5046 test -n "$ICOTOOL" || ICOTOOL="false"
5048 for ac_prog in msgfmt
5050 # Extract the first word of "$ac_prog", so it can be a program name with args.
5051 set dummy $ac_prog; ac_word=$2
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5053 $as_echo_n "checking for $ac_word... " >&6; }
5054 if ${ac_cv_prog_MSGFMT+:} false; then :
5055 $as_echo_n "(cached) " >&6
5057 if test -n "$MSGFMT"; then
5058 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064 test -z "$as_dir" && as_dir=.
5065 for ac_exec_ext in '' $ac_executable_extensions; do
5066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5067 ac_cv_prog_MSGFMT="$ac_prog"
5068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5077 MSGFMT=$ac_cv_prog_MSGFMT
5078 if test -n "$MSGFMT"; then
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5080 $as_echo "$MSGFMT" >&6; }
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5083 $as_echo "no" >&6; }
5087 test -n "$MSGFMT" && break
5089 test -n "$MSGFMT" || MSGFMT="false"
5092 if test "x$enable_maintainer_mode" != "xyes"
5097 if test "$FONTFORGE" = "false"; then as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5098 if test "$RSVG" = "false"; then as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5100 if test "$CONVERT" = false
5102 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5105 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5106 convert_version=`convert --version | head -n1`
5107 if test "x$convert_version" != "x"
5109 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5110 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5111 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5116 if test "$CONVERT" = false
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5119 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5120 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5123 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5127 if test "$ICOTOOL" = false
5129 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5132 $as_echo_n "checking for recent enough icotool... " >&6; }
5133 icotool_version=`icotool --version | head -n1`
5134 if test "x$icotool_version" != "x"
5136 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5137 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5138 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5141 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5144 if test "$ICOTOOL" = false
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5147 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5148 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5151 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5157 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5160 test "x$with_gettext" != xno || MSGFMT=false
5161 if test "$MSGFMT" = false; then :
5162 case "x$with_gettext" in
5163 x) as_fn_append wine_warnings "|gettext tools not found, translations won't be built." ;;
5165 *) as_fn_error $? "gettext tools not found, translations won't be built.
5166 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5172 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5173 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5174 $as_echo_n "(cached) " >&6
5176 ac_check_lib_save_LIBS=$LIBS
5178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5179 /* end confdefs.h. */
5181 /* Override any GCC internal prototype to avoid an error.
5182 Use char because int might match the return type of a GCC
5183 builtin and then its argument prototype would still apply. */
5187 char i386_set_ldt ();
5191 return i386_set_ldt ();
5196 if ac_fn_c_try_link "$LINENO"; then :
5197 ac_cv_lib_i386_i386_set_ldt=yes
5199 ac_cv_lib_i386_i386_set_ldt=no
5201 rm -f core conftest.err conftest.$ac_objext \
5202 conftest$ac_exeext conftest.$ac_ext
5203 LIBS=$ac_check_lib_save_LIBS
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5206 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5207 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5208 cat >>confdefs.h <<_ACEOF
5209 #define HAVE_LIBI386 1
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5217 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5218 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5219 $as_echo_n "(cached) " >&6
5221 ac_check_lib_save_LIBS=$LIBS
5222 LIBS="-lossaudio $LIBS"
5223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5224 /* end confdefs.h. */
5226 /* Override any GCC internal prototype to avoid an error.
5227 Use char because int might match the return type of a GCC
5228 builtin and then its argument prototype would still apply. */
5236 return _oss_ioctl ();
5241 if ac_fn_c_try_link "$LINENO"; then :
5242 ac_cv_lib_ossaudio__oss_ioctl=yes
5244 ac_cv_lib_ossaudio__oss_ioctl=no
5246 rm -f core conftest.err conftest.$ac_objext \
5247 conftest$ac_exeext conftest.$ac_ext
5248 LIBS=$ac_check_lib_save_LIBS
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5251 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5252 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5253 cat >>confdefs.h <<_ACEOF
5254 #define HAVE_LIBOSSAUDIO 1
5257 LIBS="-lossaudio $LIBS"
5268 # Check whether --enable-largefile was given.
5269 if test "${enable_largefile+set}" = set; then :
5270 enableval=$enable_largefile;
5273 if test "$enable_largefile" != no; then
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5276 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5277 if ${ac_cv_sys_largefile_CC+:} false; then :
5278 $as_echo_n "(cached) " >&6
5280 ac_cv_sys_largefile_CC=no
5281 if test "$GCC" != yes; then
5284 # IRIX 6.2 and later do not support large files by default,
5285 # so use the C compiler's -n32 option if that helps.
5286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5287 /* end confdefs.h. */
5288 #include <sys/types.h>
5289 /* Check that off_t can represent 2**63 - 1 correctly.
5290 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5291 since some C++ compilers masquerading as C compilers
5292 incorrectly reject 9223372036854775807. */
5293 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5294 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5295 && LARGE_OFF_T % 2147483647 == 1)
5305 if ac_fn_c_try_compile "$LINENO"; then :
5308 rm -f core conftest.err conftest.$ac_objext
5310 if ac_fn_c_try_compile "$LINENO"; then :
5311 ac_cv_sys_largefile_CC=' -n32'; break
5313 rm -f core conftest.err conftest.$ac_objext
5317 rm -f conftest.$ac_ext
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5321 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5322 if test "$ac_cv_sys_largefile_CC" != no; then
5323 CC=$CC$ac_cv_sys_largefile_CC
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5327 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5328 if ${ac_cv_sys_file_offset_bits+:} false; then :
5329 $as_echo_n "(cached) " >&6
5332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5333 /* end confdefs.h. */
5334 #include <sys/types.h>
5335 /* Check that off_t can represent 2**63 - 1 correctly.
5336 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5337 since some C++ compilers masquerading as C compilers
5338 incorrectly reject 9223372036854775807. */
5339 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5340 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5341 && LARGE_OFF_T % 2147483647 == 1)
5351 if ac_fn_c_try_compile "$LINENO"; then :
5352 ac_cv_sys_file_offset_bits=no; break
5354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5356 /* end confdefs.h. */
5357 #define _FILE_OFFSET_BITS 64
5358 #include <sys/types.h>
5359 /* Check that off_t can represent 2**63 - 1 correctly.
5360 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5361 since some C++ compilers masquerading as C compilers
5362 incorrectly reject 9223372036854775807. */
5363 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5364 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5365 && LARGE_OFF_T % 2147483647 == 1)
5375 if ac_fn_c_try_compile "$LINENO"; then :
5376 ac_cv_sys_file_offset_bits=64; break
5378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5379 ac_cv_sys_file_offset_bits=unknown
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5384 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5385 case $ac_cv_sys_file_offset_bits in #(
5388 cat >>confdefs.h <<_ACEOF
5389 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5394 if test $ac_cv_sys_file_offset_bits = unknown; then
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5396 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5397 if ${ac_cv_sys_large_files+:} false; then :
5398 $as_echo_n "(cached) " >&6
5401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5402 /* end confdefs.h. */
5403 #include <sys/types.h>
5404 /* Check that off_t can represent 2**63 - 1 correctly.
5405 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5406 since some C++ compilers masquerading as C compilers
5407 incorrectly reject 9223372036854775807. */
5408 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5409 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5410 && LARGE_OFF_T % 2147483647 == 1)
5420 if ac_fn_c_try_compile "$LINENO"; then :
5421 ac_cv_sys_large_files=no; break
5423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5425 /* end confdefs.h. */
5426 #define _LARGE_FILES 1
5427 #include <sys/types.h>
5428 /* Check that off_t can represent 2**63 - 1 correctly.
5429 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5430 since some C++ compilers masquerading as C compilers
5431 incorrectly reject 9223372036854775807. */
5432 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5433 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5434 && LARGE_OFF_T % 2147483647 == 1)
5444 if ac_fn_c_try_compile "$LINENO"; then :
5445 ac_cv_sys_large_files=1; break
5447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5448 ac_cv_sys_large_files=unknown
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5453 $as_echo "$ac_cv_sys_large_files" >&6; }
5454 case $ac_cv_sys_large_files in #(
5457 cat >>confdefs.h <<_ACEOF
5458 #define _LARGE_FILES $ac_cv_sys_large_files
5468 ac_cpp='$CPP $CPPFLAGS'
5469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5473 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5474 # On Suns, sometimes $CPP names a directory.
5475 if test -n "$CPP" && test -d "$CPP"; then
5478 if test -z "$CPP"; then
5479 if ${ac_cv_prog_CPP+:} false; then :
5480 $as_echo_n "(cached) " >&6
5482 # Double quotes because CPP needs to be expanded
5483 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5486 for ac_c_preproc_warn_flag in '' yes
5488 # Use a header file that comes with gcc, so configuring glibc
5489 # with a fresh cross-compiler works.
5490 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5491 # <limits.h> exists even on freestanding compilers.
5492 # On the NeXT, cc -E runs the code through the compiler's parser,
5493 # not just through cpp. "Syntax error" is here to catch this case.
5494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5495 /* end confdefs.h. */
5497 # include <limits.h>
5499 # include <assert.h>
5503 if ac_fn_c_try_cpp "$LINENO"; then :
5506 # Broken: fails on valid input.
5509 rm -f conftest.err conftest.i conftest.$ac_ext
5511 # OK, works on sane cases. Now check whether nonexistent headers
5512 # can be detected and how.
5513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5514 /* end confdefs.h. */
5515 #include <ac_nonexistent.h>
5517 if ac_fn_c_try_cpp "$LINENO"; then :
5518 # Broken: success on invalid input.
5521 # Passes both tests.
5525 rm -f conftest.err conftest.i conftest.$ac_ext
5528 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5529 rm -f conftest.i conftest.err conftest.$ac_ext
5530 if $ac_preproc_ok; then :
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5543 $as_echo "$CPP" >&6; }
5545 for ac_c_preproc_warn_flag in '' yes
5547 # Use a header file that comes with gcc, so configuring glibc
5548 # with a fresh cross-compiler works.
5549 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5550 # <limits.h> exists even on freestanding compilers.
5551 # On the NeXT, cc -E runs the code through the compiler's parser,
5552 # not just through cpp. "Syntax error" is here to catch this case.
5553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5554 /* end confdefs.h. */
5556 # include <limits.h>
5558 # include <assert.h>
5562 if ac_fn_c_try_cpp "$LINENO"; then :
5565 # Broken: fails on valid input.
5568 rm -f conftest.err conftest.i conftest.$ac_ext
5570 # OK, works on sane cases. Now check whether nonexistent headers
5571 # can be detected and how.
5572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5573 /* end confdefs.h. */
5574 #include <ac_nonexistent.h>
5576 if ac_fn_c_try_cpp "$LINENO"; then :
5577 # Broken: success on invalid input.
5580 # Passes both tests.
5584 rm -f conftest.err conftest.i conftest.$ac_ext
5587 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5588 rm -f conftest.i conftest.err conftest.$ac_ext
5589 if $ac_preproc_ok; then :
5592 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5594 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5595 See \`config.log' for more details" "$LINENO" 5; }
5599 ac_cpp='$CPP $CPPFLAGS'
5600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5606 $as_echo_n "checking for ANSI C header files... " >&6; }
5607 if ${ac_cv_header_stdc+:} false; then :
5608 $as_echo_n "(cached) " >&6
5610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5611 /* end confdefs.h. */
5625 if ac_fn_c_try_compile "$LINENO"; then :
5626 ac_cv_header_stdc=yes
5628 ac_cv_header_stdc=no
5630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5632 if test $ac_cv_header_stdc = yes; then
5633 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5635 /* end confdefs.h. */
5639 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5640 $EGREP "memchr" >/dev/null 2>&1; then :
5643 ac_cv_header_stdc=no
5649 if test $ac_cv_header_stdc = yes; then
5650 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5652 /* end confdefs.h. */
5656 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5657 $EGREP "free" >/dev/null 2>&1; then :
5660 ac_cv_header_stdc=no
5666 if test $ac_cv_header_stdc = yes; then
5667 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5668 if test "$cross_compiling" = yes; then :
5671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5672 /* end confdefs.h. */
5675 #if ((' ' & 0x0FF) == 0x020)
5676 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5677 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5679 # define ISLOWER(c) \
5680 (('a' <= (c) && (c) <= 'i') \
5681 || ('j' <= (c) && (c) <= 'r') \
5682 || ('s' <= (c) && (c) <= 'z'))
5683 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5686 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5691 for (i = 0; i < 256; i++)
5692 if (XOR (islower (i), ISLOWER (i))
5693 || toupper (i) != TOUPPER (i))
5698 if ac_fn_c_try_run "$LINENO"; then :
5701 ac_cv_header_stdc=no
5703 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5704 conftest.$ac_objext conftest.beam conftest.$ac_ext
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5710 $as_echo "$ac_cv_header_stdc" >&6; }
5711 if test $ac_cv_header_stdc = yes; then
5713 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5717 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5718 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5719 inttypes.h stdint.h unistd.h
5721 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5722 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5724 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5725 cat >>confdefs.h <<_ACEOF
5726 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5736 ApplicationServices/ApplicationServices.h \
5737 AudioToolbox/AudioConverter.h \
5738 AudioUnit/AudioUnit.h \
5739 AudioUnit/AudioComponent.h \
5742 CoreAudio/CoreAudio.h \
5743 DiskArbitration/DiskArbitration.h \
5745 IOKit/hid/IOHIDLib.h \
5748 QuickTime/ImageCompression.h \
5749 Security/Security.h \
5763 fontconfig/fontconfig.h \
5802 netinet/in_systm.h \
5868 valgrind/memcheck.h \
5869 valgrind/valgrind.h \
5873 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5874 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5875 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5876 cat >>confdefs.h <<_ACEOF
5877 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5885 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5886 if ${ac_cv_header_stat_broken+:} false; then :
5887 $as_echo_n "(cached) " >&6
5889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5890 /* end confdefs.h. */
5891 #include <sys/types.h>
5892 #include <sys/stat.h>
5894 #if defined S_ISBLK && defined S_IFDIR
5895 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5898 #if defined S_ISBLK && defined S_IFCHR
5899 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5902 #if defined S_ISLNK && defined S_IFREG
5903 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5906 #if defined S_ISSOCK && defined S_IFREG
5907 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5911 if ac_fn_c_try_compile "$LINENO"; then :
5912 ac_cv_header_stat_broken=no
5914 ac_cv_header_stat_broken=yes
5916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5919 $as_echo "$ac_cv_header_stat_broken" >&6; }
5920 if test $ac_cv_header_stat_broken = yes; then
5922 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5928 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
5930 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5931 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5932 #ifdef HAVE_SYS_PARAM_H
5933 # include <sys/param.h>
5936 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5937 cat >>confdefs.h <<_ACEOF
5938 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5953 netinet/if_ether.h \
5954 netinet/if_inarp.h \
5962 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5963 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5964 #ifdef HAVE_SYS_SOCKET_H
5965 # include <sys/socket.h>
5967 #ifdef HAVE_SYS_SOCKETVAR_H
5968 # include <sys/socketvar.h>
5970 #ifdef HAVE_NET_ROUTE_H
5971 # include <net/route.h>
5973 #ifdef HAVE_NETINET_IN_H
5974 # include <netinet/in.h>
5976 #ifdef HAVE_NETINET_IN_SYSTM_H
5977 # include <netinet/in_systm.h>
5979 #ifdef HAVE_NET_IF_H
5980 # include <net/if.h>
5982 #ifdef HAVE_NETINET_IP_H
5983 # include <netinet/ip.h>
5986 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5987 cat >>confdefs.h <<_ACEOF
5988 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5996 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.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>
6003 #ifdef HAVE_SYS_SOCKET_H
6004 # include <sys/socket.h>
6006 #ifdef HAVE_SYS_SOCKETVAR_H
6007 # include <sys/socketvar.h>
6009 #ifdef HAVE_SYS_TIMEOUT_H
6010 # include <sys/timeout.h>
6012 #ifdef HAVE_NETINET_IN_H
6013 # include <netinet/in.h>
6015 #ifdef HAVE_NETINET_IN_SYSTM_H
6016 # include <netinet/in_systm.h>
6018 #ifdef HAVE_NETINET_IP_H
6019 # include <netinet/ip.h>
6021 #ifdef HAVE_NETINET_IP_VAR_H
6022 # include <netinet/ip_var.h>
6024 #ifdef HAVE_NETINET_IP_ICMP_H
6025 # include <netinet/ip_icmp.h>
6027 #ifdef HAVE_NETINET_UDP_H
6028 # include <netinet/udp.h>
6030 #ifdef HAVE_NETINET_TCP_H
6031 # include <netinet/tcp.h>
6033 #ifdef HAVE_NETINET_TCP_TIMER_H
6034 #include <netinet/tcp_timer.h>
6037 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6038 cat >>confdefs.h <<_ACEOF
6039 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6047 for ac_header in linux/ipx.h linux/irda.h
6049 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6050 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6051 #ifdef HAVE_ASM_TYPES_H
6052 # include <asm/types.h>
6054 #ifdef HAVE_SYS_SOCKET_H
6055 # include <sys/socket.h>
6057 #ifdef HAVE_LINUX_TYPES_H
6058 # include <linux/types.h>
6061 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6062 cat >>confdefs.h <<_ACEOF
6063 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6071 for ac_header in mach-o/dyld_images.h
6073 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6074 # include <stdbool.h>
6076 #ifdef HAVE_STDINT_H
6077 # include <stdint.h>
6080 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6081 cat >>confdefs.h <<_ACEOF
6082 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6090 for ac_header in resolv.h
6092 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6093 #ifdef HAVE_SYS_SOCKET_H
6094 # include <sys/socket.h>
6096 #ifdef HAVE_NETINET_IN_H
6097 # include <netinet/in.h>
6099 #ifdef HAVE_ARPA_NAMESER_H
6100 # include <arpa/nameser.h>
6103 if test "x$ac_cv_header_resolv_h" = xyes; then :
6104 cat >>confdefs.h <<_ACEOF
6105 #define HAVE_RESOLV_H 1
6113 for ac_header in ifaddrs.h
6115 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6117 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6118 cat >>confdefs.h <<_ACEOF
6119 #define HAVE_IFADDRS_H 1
6127 for ac_header in ucontext.h
6129 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6131 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6132 cat >>confdefs.h <<_ACEOF
6133 #define HAVE_UCONTEXT_H 1
6141 for ac_header in sys/thr.h
6143 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6144 #ifdef HAVE_UCONTEXT_H
6145 #include <ucontext.h>
6148 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6149 cat >>confdefs.h <<_ACEOF
6150 #define HAVE_SYS_THR_H 1
6158 for ac_header in pthread_np.h
6160 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6161 #include <pthread.h>
6164 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6165 cat >>confdefs.h <<_ACEOF
6166 #define HAVE_PTHREAD_NP_H 1
6174 for ac_header in linux/videodev.h linux/videodev2.h
6176 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6177 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6178 #include <sys/time.h>
6180 #include <sys/types.h>
6181 #ifdef HAVE_ASM_TYPES_H
6182 #include <asm/types.h>
6185 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6186 cat >>confdefs.h <<_ACEOF
6187 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6195 for ac_header in linux/capi.h
6197 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6199 if test "x$ac_cv_header_linux_capi_h" = xyes; then :
6200 cat >>confdefs.h <<_ACEOF
6201 #define HAVE_LINUX_CAPI_H 1
6212 DLLFLAGS="-D_REENTRANT"
6226 STATIC_IMPLIBEXT="def.a"
6227 # Extract the first word of "ldd", so it can be a program name with args.
6228 set dummy ldd; ac_word=$2
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6230 $as_echo_n "checking for $ac_word... " >&6; }
6231 if ${ac_cv_path_LDD+:} false; then :
6232 $as_echo_n "(cached) " >&6
6236 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6240 as_dummy="/sbin:/usr/sbin:$PATH"
6241 for as_dir in $as_dummy
6244 test -z "$as_dir" && as_dir=.
6245 for ac_exec_ext in '' $ac_executable_extensions; do
6246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6247 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6255 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6260 if test -n "$LDD"; then
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6262 $as_echo "$LDD" >&6; }
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6265 $as_echo "no" >&6; }
6272 if test -n "$ac_tool_prefix"; then
6273 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6274 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6276 $as_echo_n "checking for $ac_word... " >&6; }
6277 if ${ac_cv_prog_DLLTOOL+:} false; then :
6278 $as_echo_n "(cached) " >&6
6280 if test -n "$DLLTOOL"; then
6281 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6287 test -z "$as_dir" && as_dir=.
6288 for ac_exec_ext in '' $ac_executable_extensions; do
6289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6290 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6300 DLLTOOL=$ac_cv_prog_DLLTOOL
6301 if test -n "$DLLTOOL"; then
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6303 $as_echo "$DLLTOOL" >&6; }
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6306 $as_echo "no" >&6; }
6311 if test -z "$ac_cv_prog_DLLTOOL"; then
6312 ac_ct_DLLTOOL=$DLLTOOL
6313 # Extract the first word of "dlltool", so it can be a program name with args.
6314 set dummy dlltool; ac_word=$2
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6316 $as_echo_n "checking for $ac_word... " >&6; }
6317 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6318 $as_echo_n "(cached) " >&6
6320 if test -n "$ac_ct_DLLTOOL"; then
6321 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6327 test -z "$as_dir" && as_dir=.
6328 for ac_exec_ext in '' $ac_executable_extensions; do
6329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6330 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6340 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6341 if test -n "$ac_ct_DLLTOOL"; then
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6343 $as_echo "$ac_ct_DLLTOOL" >&6; }
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6346 $as_echo "no" >&6; }
6349 if test "x$ac_ct_DLLTOOL" = x; then
6352 case $cross_compiling:$ac_tool_warned in
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6356 ac_tool_warned=yes ;;
6358 DLLTOOL=$ac_ct_DLLTOOL
6361 DLLTOOL="$ac_cv_prog_DLLTOOL"
6364 if test -n "$ac_tool_prefix"; then
6365 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6366 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6368 $as_echo_n "checking for $ac_word... " >&6; }
6369 if ${ac_cv_prog_DLLWRAP+:} false; then :
6370 $as_echo_n "(cached) " >&6
6372 if test -n "$DLLWRAP"; then
6373 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
6375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6379 test -z "$as_dir" && as_dir=.
6380 for ac_exec_ext in '' $ac_executable_extensions; do
6381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6382 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
6383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6392 DLLWRAP=$ac_cv_prog_DLLWRAP
6393 if test -n "$DLLWRAP"; then
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6395 $as_echo "$DLLWRAP" >&6; }
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6398 $as_echo "no" >&6; }
6403 if test -z "$ac_cv_prog_DLLWRAP"; then
6404 ac_ct_DLLWRAP=$DLLWRAP
6405 # Extract the first word of "dllwrap", so it can be a program name with args.
6406 set dummy dllwrap; ac_word=$2
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6408 $as_echo_n "checking for $ac_word... " >&6; }
6409 if ${ac_cv_prog_ac_ct_DLLWRAP+:} false; then :
6410 $as_echo_n "(cached) " >&6
6412 if test -n "$ac_ct_DLLWRAP"; then
6413 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
6415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6419 test -z "$as_dir" && as_dir=.
6420 for ac_exec_ext in '' $ac_executable_extensions; do
6421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6422 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
6423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6432 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
6433 if test -n "$ac_ct_DLLWRAP"; then
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6435 $as_echo "$ac_ct_DLLWRAP" >&6; }
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6438 $as_echo "no" >&6; }
6441 if test "x$ac_ct_DLLWRAP" = x; then
6444 case $cross_compiling:$ac_tool_warned in
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6448 ac_tool_warned=yes ;;
6450 DLLWRAP=$ac_ct_DLLWRAP
6453 DLLWRAP="$ac_cv_prog_DLLWRAP"
6456 if test "$DLLWRAP" = "false"; then
6462 STATIC_IMPLIBEXT="a"
6463 enable_iphlpapi=${enable_iphlpapi:-no}
6464 enable_kernel32=${enable_kernel32:-no}
6465 enable_msvcrt=${enable_msvcrt:-no}
6466 enable_ntdll=${enable_ntdll:-no}
6467 enable_ws2_32=${enable_ws2_32:-no}
6468 enable_loader=${enable_loader:-no}
6469 enable_server=${enable_server:-no}
6470 with_x=${with_x:-no}
6471 with_pthread=${with_pthread:-no}
6476 DLLFLAGS="$DLLFLAGS -fPIC"
6477 LDDLLFLAGS="-bundle -multiply_defined suppress"
6478 LIBWINE_LDFLAGS="-multiply_defined suppress"
6479 LDSHARED="\$(CC) -dynamiclib"
6480 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(top_builddir)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
6481 COREFOUNDATIONLIB="-framework CoreFoundation"
6483 IOKITLIB="-framework IOKit -framework CoreFoundation"
6485 APPLICATIONSERVICESLIB="-framework ApplicationServices"
6489 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6492 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6495 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6497 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
6500 if test "$ac_cv_header_Security_Security_h" = "yes"
6502 SECURITYLIB="-framework Security -framework CoreFoundation"
6504 ac_save_LIBS="$LIBS"
6505 LIBS="$LIBS $SECURITYLIB"
6506 for ac_func in SSLCopyPeerCertificates
6508 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6509 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
6510 cat >>confdefs.h <<_ACEOF
6511 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6517 LIBS="$ac_save_LIBS"
6518 with_gnutls=${with_gnutls:-no}
6520 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6522 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6524 COREAUDIO="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6527 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6530 ac_save_LIBS="$LIBS"
6531 LIBS="$LIBS $COREAUDIO"
6532 for ac_func in AUGraphAddNode
6534 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6535 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
6536 cat >>confdefs.h <<_ACEOF
6537 #define HAVE_AUGRAPHADDNODE 1
6543 LIBS="$ac_save_LIBS"
6545 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6547 FRAMEWORK_OPENAL="-framework OpenAL"
6550 cat >>confdefs.h <<_ACEOF
6551 #define HAVE_OPENAL 1
6554 ac_cv_lib_openal=yes
6556 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6558 LIBOPENCL="-framework OpenCL"
6560 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
6562 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6564 ac_save_LIBS="$LIBS"
6565 LIBS="$LIBS $IOKITLIB"
6566 for ac_func in IOHIDManagerCreate
6568 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6569 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
6570 cat >>confdefs.h <<_ACEOF
6571 #define HAVE_IOHIDMANAGERCREATE 1
6577 LIBS="$ac_save_LIBS"
6581 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
6583 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6585 QUICKTIMELIB="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6587 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
6589 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6591 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6593 CARBONLIB="-framework Carbon"
6595 enable_winequartz_drv=${enable_winequartz_drv:-yes}
6597 if test "x$enable_win16" = "xyes"
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6600 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6601 if test "$cross_compiling" = yes; then :
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6603 $as_echo "cross-compiling, assuming yes" >&6; }
6605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6606 /* end confdefs.h. */
6609 "good:\tnop;nop\n\t"
6610 ".globl _testfunc\n"
6611 "_testfunc:\tcallw good");
6612 extern void testfunc();
6616 unsigned short *p = (unsigned short *)testfunc;
6617 return p[0] != 0xe866 || p[1] != 0xfffa
6622 if ac_fn_c_try_run "$LINENO"; then :
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6624 $as_echo "yes" >&6; }
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6627 $as_echo "no" >&6; }
6628 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
6630 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6631 conftest.$ac_objext conftest.beam conftest.$ac_ext
6637 DLLFLAGS="$DLLFLAGS -fPIC"
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6640 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6641 if ${ac_cv_c_dll_gnuelf+:} false; then :
6642 $as_echo_n "(cached) " >&6
6644 ac_wine_try_cflags_saved=$CFLAGS
6645 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6647 /* end confdefs.h. */
6650 if ac_fn_c_try_link "$LINENO"; then :
6651 ac_cv_c_dll_gnuelf="yes"
6653 ac_cv_c_dll_gnuelf="no"
6655 rm -f core conftest.err conftest.$ac_objext \
6656 conftest$ac_exeext conftest.$ac_ext
6657 CFLAGS=$ac_wine_try_cflags_saved
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6660 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6661 if test "$ac_cv_c_dll_gnuelf" = "yes"
6663 LDSHARED="\$(CC) -shared"
6664 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6666 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6667 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
6668 $as_echo_n "(cached) " >&6
6670 ac_wine_try_cflags_saved=$CFLAGS
6671 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6673 /* end confdefs.h. */
6674 int main(int argc, char **argv) { return 0; }
6676 if ac_fn_c_try_link "$LINENO"; then :
6677 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
6679 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
6681 rm -f core conftest.err conftest.$ac_objext \
6682 conftest$ac_exeext conftest.$ac_ext
6683 CFLAGS=$ac_wine_try_cflags_saved
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6686 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6687 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6688 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6691 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6692 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
6693 $as_echo_n "(cached) " >&6
6695 ac_wine_try_cflags_saved=$CFLAGS
6696 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6698 /* end confdefs.h. */
6699 int main(int argc, char **argv) { return 0; }
6701 if ac_fn_c_try_link "$LINENO"; then :
6702 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
6704 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
6706 rm -f core conftest.err conftest.$ac_objext \
6707 conftest$ac_exeext conftest.$ac_ext
6708 CFLAGS=$ac_wine_try_cflags_saved
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6711 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6712 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6713 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6718 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6719 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false; then :
6720 $as_echo_n "(cached) " >&6
6722 ac_wine_try_cflags_saved=$CFLAGS
6723 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6725 /* end confdefs.h. */
6726 int main(int argc, char **argv) { return 0; }
6728 if ac_fn_c_try_link "$LINENO"; then :
6729 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
6731 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
6733 rm -f core conftest.err conftest.$ac_objext \
6734 conftest$ac_exeext conftest.$ac_ext
6735 CFLAGS=$ac_wine_try_cflags_saved
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6738 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6739 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6740 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
6743 { $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
6744 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6745 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false; then :
6746 $as_echo_n "(cached) " >&6
6748 ac_wine_try_cflags_saved=$CFLAGS
6749 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6751 /* end confdefs.h. */
6752 int main(int argc, char **argv) { return 0; }
6754 if ac_fn_c_try_link "$LINENO"; then :
6755 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
6757 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
6759 rm -f core conftest.err conftest.$ac_objext \
6760 conftest$ac_exeext conftest.$ac_ext
6761 CFLAGS=$ac_wine_try_cflags_saved
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6764 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6765 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6766 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6769 echo '{ global: *; };' >conftest.map
6770 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -shared -Wl,--version-script=conftest.map" | $as_tr_sh`
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6772 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6773 if eval \${$as_ac_var+:} false; then :
6774 $as_echo_n "(cached) " >&6
6776 ac_wine_try_cflags_saved=$CFLAGS
6777 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6779 /* end confdefs.h. */
6780 int main(int argc, char **argv) { return 0; }
6782 if ac_fn_c_try_link "$LINENO"; then :
6783 eval "$as_ac_var=yes"
6785 eval "$as_ac_var=no"
6787 rm -f core conftest.err conftest.$ac_objext \
6788 conftest$ac_exeext conftest.$ac_ext
6789 CFLAGS=$ac_wine_try_cflags_saved
6791 eval ac_res=\$$as_ac_var
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6793 $as_echo "$ac_res" >&6; }
6794 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6795 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6800 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6801 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
6802 $as_echo_n "(cached) " >&6
6804 ac_wine_try_cflags_saved=$CFLAGS
6805 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
6806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6807 /* end confdefs.h. */
6808 int main(int argc, char **argv) { return 0; }
6810 if ac_fn_c_try_link "$LINENO"; then :
6811 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
6813 ac_cv_cflags__fPIC__Wl___export_dynamic=no
6815 rm -f core conftest.err conftest.$ac_objext \
6816 conftest$ac_exeext conftest.$ac_ext
6817 CFLAGS=$ac_wine_try_cflags_saved
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6820 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6821 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6822 LDEXECFLAGS="-Wl,--export-dynamic"
6826 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6828 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6829 if eval \${$as_ac_var+:} false; then :
6830 $as_echo_n "(cached) " >&6
6832 ac_wine_try_cflags_saved=$CFLAGS
6833 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6835 /* end confdefs.h. */
6836 int main(int argc, char **argv) { return 0; }
6838 if ac_fn_c_try_link "$LINENO"; then :
6839 eval "$as_ac_var=yes"
6841 eval "$as_ac_var=no"
6843 rm -f core conftest.err conftest.$ac_objext \
6844 conftest$ac_exeext conftest.$ac_ext
6845 CFLAGS=$ac_wine_try_cflags_saved
6847 eval ac_res=\$$as_ac_var
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6849 $as_echo "$ac_res" >&6; }
6850 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6851 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6852 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6854 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6856 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6857 if eval \${$as_ac_var+:} false; then :
6858 $as_echo_n "(cached) " >&6
6860 ac_wine_try_cflags_saved=$CFLAGS
6861 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6863 /* end confdefs.h. */
6864 int main(int argc, char **argv) { return 0; }
6866 if ac_fn_c_try_link "$LINENO"; then :
6867 eval "$as_ac_var=yes"
6869 eval "$as_ac_var=no"
6871 rm -f core conftest.err conftest.$ac_objext \
6872 conftest$ac_exeext conftest.$ac_ext
6873 CFLAGS=$ac_wine_try_cflags_saved
6875 eval ac_res=\$$as_ac_var
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6877 $as_echo "$ac_res" >&6; }
6878 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6879 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6880 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6885 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6886 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
6887 $as_echo_n "(cached) " >&6
6889 ac_wine_try_cflags_saved=$CFLAGS
6890 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
6891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6892 /* end confdefs.h. */
6893 int main(int argc, char **argv) { return 0; }
6895 if ac_fn_c_try_link "$LINENO"; then :
6896 ac_cv_cflags__Wl___enable_new_dtags=yes
6898 ac_cv_cflags__Wl___enable_new_dtags=no
6900 rm -f core conftest.err conftest.$ac_objext \
6901 conftest$ac_exeext conftest.$ac_ext
6902 CFLAGS=$ac_wine_try_cflags_saved
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6905 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6906 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6907 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6911 *i[3456789]86* | x86_64)
6912 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--section-start,.interp=0x7bf00400" | $as_tr_sh`
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6914 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6915 if eval \${$as_ac_var+:} false; then :
6916 $as_echo_n "(cached) " >&6
6918 ac_wine_try_cflags_saved=$CFLAGS
6919 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6921 /* end confdefs.h. */
6922 int main(int argc, char **argv) { return 0; }
6924 if ac_fn_c_try_link "$LINENO"; then :
6925 eval "$as_ac_var=yes"
6927 eval "$as_ac_var=no"
6929 rm -f core conftest.err conftest.$ac_objext \
6930 conftest$ac_exeext conftest.$ac_ext
6931 CFLAGS=$ac_wine_try_cflags_saved
6933 eval ac_res=\$$as_ac_var
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6935 $as_echo "$ac_res" >&6; }
6936 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6938 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
6939 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
6943 # Extract the first word of "prelink", so it can be a program name with args.
6944 set dummy prelink; ac_word=$2
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6946 $as_echo_n "checking for $ac_word... " >&6; }
6947 if ${ac_cv_path_PRELINK+:} false; then :
6948 $as_echo_n "(cached) " >&6
6952 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6956 for as_dir in /sbin /usr/sbin $PATH
6959 test -z "$as_dir" && as_dir=.
6960 for ac_exec_ext in '' $ac_executable_extensions; do
6961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6962 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6970 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6974 PRELINK=$ac_cv_path_PRELINK
6975 if test -n "$PRELINK"; then
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
6977 $as_echo "$PRELINK" >&6; }
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6980 $as_echo "no" >&6; }
6984 if test "x$PRELINK" = xfalse
6986 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
6993 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
6994 if ${ac_cv_c_dll_unixware+:} false; then :
6995 $as_echo_n "(cached) " >&6
6997 ac_wine_try_cflags_saved=$CFLAGS
6998 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
6999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7000 /* end confdefs.h. */
7003 if ac_fn_c_try_link "$LINENO"; then :
7004 ac_cv_c_dll_unixware="yes"
7006 ac_cv_c_dll_unixware="no"
7008 rm -f core conftest.err conftest.$ac_objext \
7009 conftest$ac_exeext conftest.$ac_ext
7010 CFLAGS=$ac_wine_try_cflags_saved
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7013 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7014 if test "$ac_cv_c_dll_unixware" = "yes"
7016 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
7017 LDDLLFLAGS="-Wl,-G,-B,symbolic"
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
7021 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
7022 if ${ac_cv_c_dll_hpux+:} false; then :
7023 $as_echo_n "(cached) " >&6
7025 ac_wine_try_cflags_saved=$CFLAGS
7026 CFLAGS="$CFLAGS -shared"
7027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7028 /* end confdefs.h. */
7031 if ac_fn_c_try_link "$LINENO"; then :
7032 ac_cv_c_dll_hpux="yes"
7034 ac_cv_c_dll_hpux="no"
7036 rm -f core conftest.err conftest.$ac_objext \
7037 conftest$ac_exeext conftest.$ac_ext
7038 CFLAGS=$ac_wine_try_cflags_saved
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
7041 $as_echo "$ac_cv_c_dll_hpux" >&6; }
7042 if test "$ac_cv_c_dll_hpux" = "yes"
7046 LDDLLFLAGS="-shared -fPIC"
7047 LDSHARED="\$(CC) -shared"
7054 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
7055 enable_winequartz_drv=${enable_winequartz_drv:-no}
7057 if test "$LIBEXT" = "a"; then
7058 as_fn_error $? "could not find a way to build shared libraries.
7059 It is currently not possible to build Wine without shared library
7060 (.so) support to allow transparent switch between .so and .dll files.
7061 If you are using Linux, you will need a newer binutils.
7065 CROSSTEST_DISABLE=\#
7067 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
7071 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 " ;;
7073 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 " ;;
7075 ac_prefix_list="" ;;
7077 for ac_prog in $ac_prefix_list
7079 # Extract the first word of "$ac_prog", so it can be a program name with args.
7080 set dummy $ac_prog; ac_word=$2
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7082 $as_echo_n "checking for $ac_word... " >&6; }
7083 if ${ac_cv_prog_CROSSCC+:} false; then :
7084 $as_echo_n "(cached) " >&6
7086 if test -n "$CROSSCC"; then
7087 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
7089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7093 test -z "$as_dir" && as_dir=.
7094 for ac_exec_ext in '' $ac_executable_extensions; do
7095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7096 ac_cv_prog_CROSSCC="$ac_prog"
7097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7106 CROSSCC=$ac_cv_prog_CROSSCC
7107 if test -n "$CROSSCC"; then
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7109 $as_echo "$CROSSCC" >&6; }
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7112 $as_echo "no" >&6; }
7116 test -n "$CROSSCC" && break
7118 test -n "$CROSSCC" || CROSSCC="false"
7120 if test "$CROSSCC" != "false"
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7125 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7127 /* end confdefs.h. */
7137 if ac_fn_c_try_compile "$LINENO"; then :
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7139 $as_echo "yes" >&6; }
7146 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
7150 if test -n "$target"
7152 CROSSTEST_DISABLE=""
7153 CROSSTARGET="$target"
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7158 $as_echo "no" >&6; }
7160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7166 if test "$ac_cv_header_pthread_h" = "yes"
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7169 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7170 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
7171 $as_echo_n "(cached) " >&6
7173 ac_check_lib_save_LIBS=$LIBS
7174 LIBS="-lpthread $LIBS"
7175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7176 /* end confdefs.h. */
7178 /* Override any GCC internal prototype to avoid an error.
7179 Use char because int might match the return type of a GCC
7180 builtin and then its argument prototype would still apply. */
7184 char pthread_create ();
7188 return pthread_create ();
7193 if ac_fn_c_try_link "$LINENO"; then :
7194 ac_cv_lib_pthread_pthread_create=yes
7196 ac_cv_lib_pthread_pthread_create=no
7198 rm -f core conftest.err conftest.$ac_objext \
7199 conftest$ac_exeext conftest.$ac_ext
7200 LIBS=$ac_check_lib_save_LIBS
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7203 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7204 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
7205 LIBPTHREAD="-lpthread"
7210 if test "x$LIBPTHREAD" = "x"; then :
7211 case "x$with_pthread" in
7213 *) as_fn_error $? "pthread ${notice_platform}development files not found.
7214 Wine cannot support threads without libpthread.
7215 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7221 $as_echo_n "checking for X... " >&6; }
7224 # Check whether --with-x was given.
7225 if test "${with_x+set}" = set; then :
7229 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7230 if test "x$with_x" = xno; then
7231 # The user explicitly disabled X.
7234 case $x_includes,$x_libraries in #(
7235 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
7236 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
7237 $as_echo_n "(cached) " >&6
7239 # One or both of the vars are not set, and there is no cached value.
7240 ac_x_includes=no ac_x_libraries=no
7241 rm -f -r conftest.dir
7242 if mkdir conftest.dir; then
7244 cat >Imakefile <<'_ACEOF'
7246 @echo incroot='${INCROOT}'
7248 @echo usrlibdir='${USRLIBDIR}'
7250 @echo libdir='${LIBDIR}'
7252 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7253 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7254 for ac_var in incroot usrlibdir libdir; do
7255 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7257 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7258 for ac_extension in a so sl dylib la dll; do
7259 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7260 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7261 ac_im_usrlibdir=$ac_im_libdir; break
7264 # Screen out bogus values from the imake configuration. They are
7265 # bogus both because they are the default anyway, and because
7266 # using them would break gcc on systems where it needs fixed includes.
7267 case $ac_im_incroot in
7268 /usr/include) ac_x_includes= ;;
7269 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
7271 case $ac_im_usrlibdir in
7272 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
7273 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
7277 rm -f -r conftest.dir
7280 # Standard set of common directories for X headers.
7281 # Check X11 before X11Rn because it is often a symlink to the current release.
7295 /usr/local/X11/include
7296 /usr/local/X11R7/include
7297 /usr/local/X11R6/include
7298 /usr/local/X11R5/include
7299 /usr/local/X11R4/include
7301 /usr/local/include/X11
7302 /usr/local/include/X11R7
7303 /usr/local/include/X11R6
7304 /usr/local/include/X11R5
7305 /usr/local/include/X11R4
7309 /usr/XFree86/include/X11
7313 /usr/unsupported/include
7315 /usr/local/x11r5/include
7316 /usr/lpp/Xamples/include
7318 /usr/openwin/include
7319 /usr/openwin/share/include'
7321 if test "$ac_x_includes" = no; then
7322 # Guess where to find include files, by looking for Xlib.h.
7323 # First, try using that file with no special directory specified.
7324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7325 /* end confdefs.h. */
7326 #include <X11/Xlib.h>
7328 if ac_fn_c_try_cpp "$LINENO"; then :
7329 # We can compile using X headers with no special include directory.
7332 for ac_dir in $ac_x_header_dirs; do
7333 if test -r "$ac_dir/X11/Xlib.h"; then
7334 ac_x_includes=$ac_dir
7339 rm -f conftest.err conftest.i conftest.$ac_ext
7340 fi # $ac_x_includes = no
7342 if test "$ac_x_libraries" = no; then
7343 # Check for the libraries.
7344 # See if we find them without any special options.
7345 # Don't add to $LIBS permanently.
7348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7349 /* end confdefs.h. */
7350 #include <X11/Xlib.h>
7359 if ac_fn_c_try_link "$LINENO"; then :
7361 # We can link X programs with no special library path.
7365 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7367 # Don't even attempt the hair of trying to link an X program!
7368 for ac_extension in a so sl dylib la dll; do
7369 if test -r "$ac_dir/libX11.$ac_extension"; then
7370 ac_x_libraries=$ac_dir
7376 rm -f core conftest.err conftest.$ac_objext \
7377 conftest$ac_exeext conftest.$ac_ext
7378 fi # $ac_x_libraries = no
7380 case $ac_x_includes,$ac_x_libraries in #(
7382 # Didn't find X, or a directory has "'" in its name.
7383 ac_cv_have_x="have_x=no";; #(
7385 # Record where we found X for the cache.
7386 ac_cv_have_x="have_x=yes\
7387 ac_x_includes='$ac_x_includes'\
7388 ac_x_libraries='$ac_x_libraries'"
7394 eval "$ac_cv_have_x"
7397 if test "$have_x" != yes; then
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7399 $as_echo "$have_x" >&6; }
7402 # If each of the values was on the command line, it overrides each guess.
7403 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
7404 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
7405 # Update the cache value to reflect the command line values.
7406 ac_cv_have_x="have_x=yes\
7407 ac_x_includes='$x_includes'\
7408 ac_x_libraries='$x_libraries'"
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7410 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7413 if test "$no_x" = yes; then
7414 # Not all programs may use this symbol, but it does not hurt to define it.
7416 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7418 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
7420 if test -n "$x_includes"; then
7421 X_CFLAGS="$X_CFLAGS -I$x_includes"
7424 # It would also be nice to do this for all -L options, not just this one.
7425 if test -n "$x_libraries"; then
7426 X_LIBS="$X_LIBS -L$x_libraries"
7427 # For Solaris; some versions of Sun CC require a space after -R and
7428 # others require no space. Words are not sufficient . . . .
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7430 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7431 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
7432 ac_xsave_c_werror_flag=$ac_c_werror_flag
7433 ac_c_werror_flag=yes
7434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7435 /* end confdefs.h. */
7445 if ac_fn_c_try_link "$LINENO"; then :
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7447 $as_echo "no" >&6; }
7448 X_LIBS="$X_LIBS -R$x_libraries"
7450 LIBS="$ac_xsave_LIBS -R $x_libraries"
7451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7452 /* end confdefs.h. */
7462 if ac_fn_c_try_link "$LINENO"; then :
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7464 $as_echo "yes" >&6; }
7465 X_LIBS="$X_LIBS -R $x_libraries"
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7468 $as_echo "neither works" >&6; }
7470 rm -f core conftest.err conftest.$ac_objext \
7471 conftest$ac_exeext conftest.$ac_ext
7473 rm -f core conftest.err conftest.$ac_objext \
7474 conftest$ac_exeext conftest.$ac_ext
7475 ac_c_werror_flag=$ac_xsave_c_werror_flag
7479 # Check for system-dependent libraries X programs must link with.
7480 # Do this before checking for the system-independent R6 libraries
7481 # (-lICE), since we may need -lsocket or whatever for X linking.
7483 if test "$ISC" = yes; then
7484 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
7486 # Martyn Johnson says this is needed for Ultrix, if the X
7487 # libraries were built with DECnet support. And Karl Berry says
7488 # the Alpha needs dnet_stub (dnet does not exist).
7489 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
7490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7491 /* end confdefs.h. */
7493 /* Override any GCC internal prototype to avoid an error.
7494 Use char because int might match the return type of a GCC
7495 builtin and then its argument prototype would still apply. */
7499 char XOpenDisplay ();
7503 return XOpenDisplay ();
7508 if ac_fn_c_try_link "$LINENO"; then :
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7512 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7513 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
7514 $as_echo_n "(cached) " >&6
7516 ac_check_lib_save_LIBS=$LIBS
7518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7519 /* end confdefs.h. */
7521 /* Override any GCC internal prototype to avoid an error.
7522 Use char because int might match the return type of a GCC
7523 builtin and then its argument prototype would still apply. */
7531 return dnet_ntoa ();
7536 if ac_fn_c_try_link "$LINENO"; then :
7537 ac_cv_lib_dnet_dnet_ntoa=yes
7539 ac_cv_lib_dnet_dnet_ntoa=no
7541 rm -f core conftest.err conftest.$ac_objext \
7542 conftest$ac_exeext conftest.$ac_ext
7543 LIBS=$ac_check_lib_save_LIBS
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7546 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7547 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
7548 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7551 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7553 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7554 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
7555 $as_echo_n "(cached) " >&6
7557 ac_check_lib_save_LIBS=$LIBS
7558 LIBS="-ldnet_stub $LIBS"
7559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7560 /* end confdefs.h. */
7562 /* Override any GCC internal prototype to avoid an error.
7563 Use char because int might match the return type of a GCC
7564 builtin and then its argument prototype would still apply. */
7572 return dnet_ntoa ();
7577 if ac_fn_c_try_link "$LINENO"; then :
7578 ac_cv_lib_dnet_stub_dnet_ntoa=yes
7580 ac_cv_lib_dnet_stub_dnet_ntoa=no
7582 rm -f core conftest.err conftest.$ac_objext \
7583 conftest$ac_exeext conftest.$ac_ext
7584 LIBS=$ac_check_lib_save_LIBS
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7587 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7588 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
7589 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
7594 rm -f core conftest.err conftest.$ac_objext \
7595 conftest$ac_exeext conftest.$ac_ext
7596 LIBS="$ac_xsave_LIBS"
7598 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7599 # to get the SysV transport functions.
7600 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7602 # The nsl library prevents programs from opening the X display
7603 # on Irix 5.2, according to T.E. Dickey.
7604 # The functions gethostbyname, getservbyname, and inet_addr are
7605 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7606 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7607 if test "x$ac_cv_func_gethostbyname" = xyes; then :
7611 if test $ac_cv_func_gethostbyname = no; then
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7613 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7614 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
7615 $as_echo_n "(cached) " >&6
7617 ac_check_lib_save_LIBS=$LIBS
7619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7620 /* end confdefs.h. */
7622 /* Override any GCC internal prototype to avoid an error.
7623 Use char because int might match the return type of a GCC
7624 builtin and then its argument prototype would still apply. */
7628 char gethostbyname ();
7632 return gethostbyname ();
7637 if ac_fn_c_try_link "$LINENO"; then :
7638 ac_cv_lib_nsl_gethostbyname=yes
7640 ac_cv_lib_nsl_gethostbyname=no
7642 rm -f core conftest.err conftest.$ac_objext \
7643 conftest$ac_exeext conftest.$ac_ext
7644 LIBS=$ac_check_lib_save_LIBS
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7647 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7648 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
7649 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
7652 if test $ac_cv_lib_nsl_gethostbyname = no; then
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7654 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7655 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
7656 $as_echo_n "(cached) " >&6
7658 ac_check_lib_save_LIBS=$LIBS
7660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7661 /* end confdefs.h. */
7663 /* Override any GCC internal prototype to avoid an error.
7664 Use char because int might match the return type of a GCC
7665 builtin and then its argument prototype would still apply. */
7669 char gethostbyname ();
7673 return gethostbyname ();
7678 if ac_fn_c_try_link "$LINENO"; then :
7679 ac_cv_lib_bsd_gethostbyname=yes
7681 ac_cv_lib_bsd_gethostbyname=no
7683 rm -f core conftest.err conftest.$ac_objext \
7684 conftest$ac_exeext conftest.$ac_ext
7685 LIBS=$ac_check_lib_save_LIBS
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7688 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7689 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
7690 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
7696 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7697 # socket/setsockopt and other routines are undefined under SCO ODT
7698 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7699 # on later versions), says Simon Leinen: it contains gethostby*
7700 # variants that don't use the name server (or something). -lsocket
7701 # must be given before -lnsl if both are needed. We assume that
7702 # if connect needs -lnsl, so does gethostbyname.
7703 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
7704 if test "x$ac_cv_func_connect" = xyes; then :
7708 if test $ac_cv_func_connect = no; then
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7710 $as_echo_n "checking for connect in -lsocket... " >&6; }
7711 if ${ac_cv_lib_socket_connect+:} false; then :
7712 $as_echo_n "(cached) " >&6
7714 ac_check_lib_save_LIBS=$LIBS
7715 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
7716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7717 /* end confdefs.h. */
7719 /* Override any GCC internal prototype to avoid an error.
7720 Use char because int might match the return type of a GCC
7721 builtin and then its argument prototype would still apply. */
7734 if ac_fn_c_try_link "$LINENO"; then :
7735 ac_cv_lib_socket_connect=yes
7737 ac_cv_lib_socket_connect=no
7739 rm -f core conftest.err conftest.$ac_objext \
7740 conftest$ac_exeext conftest.$ac_ext
7741 LIBS=$ac_check_lib_save_LIBS
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7744 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7745 if test "x$ac_cv_lib_socket_connect" = xyes; then :
7746 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
7751 # Guillermo Gomez says -lposix is necessary on A/UX.
7752 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
7753 if test "x$ac_cv_func_remove" = xyes; then :
7757 if test $ac_cv_func_remove = no; then
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7759 $as_echo_n "checking for remove in -lposix... " >&6; }
7760 if ${ac_cv_lib_posix_remove+:} false; then :
7761 $as_echo_n "(cached) " >&6
7763 ac_check_lib_save_LIBS=$LIBS
7764 LIBS="-lposix $LIBS"
7765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7766 /* end confdefs.h. */
7768 /* Override any GCC internal prototype to avoid an error.
7769 Use char because int might match the return type of a GCC
7770 builtin and then its argument prototype would still apply. */
7783 if ac_fn_c_try_link "$LINENO"; then :
7784 ac_cv_lib_posix_remove=yes
7786 ac_cv_lib_posix_remove=no
7788 rm -f core conftest.err conftest.$ac_objext \
7789 conftest$ac_exeext conftest.$ac_ext
7790 LIBS=$ac_check_lib_save_LIBS
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7793 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7794 if test "x$ac_cv_lib_posix_remove" = xyes; then :
7795 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
7800 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7801 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
7802 if test "x$ac_cv_func_shmat" = xyes; then :
7806 if test $ac_cv_func_shmat = no; then
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7808 $as_echo_n "checking for shmat in -lipc... " >&6; }
7809 if ${ac_cv_lib_ipc_shmat+:} false; then :
7810 $as_echo_n "(cached) " >&6
7812 ac_check_lib_save_LIBS=$LIBS
7814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7815 /* end confdefs.h. */
7817 /* Override any GCC internal prototype to avoid an error.
7818 Use char because int might match the return type of a GCC
7819 builtin and then its argument prototype would still apply. */
7832 if ac_fn_c_try_link "$LINENO"; then :
7833 ac_cv_lib_ipc_shmat=yes
7835 ac_cv_lib_ipc_shmat=no
7837 rm -f core conftest.err conftest.$ac_objext \
7838 conftest$ac_exeext conftest.$ac_ext
7839 LIBS=$ac_check_lib_save_LIBS
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
7842 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7843 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
7844 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
7850 # Check for libraries that X11R6 Xt/Xaw programs need.
7851 ac_save_LDFLAGS=$LDFLAGS
7852 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
7853 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7854 # check for ICE first), but we must link in the order -lSM -lICE or
7855 # we get undefined symbols. So assume we have SM if we have ICE.
7856 # These have to be linked with before -lX11, unlike the other
7857 # libraries we check for below, so use a different variable.
7858 # John Interrante, Karl Berry
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7860 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7861 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
7862 $as_echo_n "(cached) " >&6
7864 ac_check_lib_save_LIBS=$LIBS
7865 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
7866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7867 /* end confdefs.h. */
7869 /* Override any GCC internal prototype to avoid an error.
7870 Use char because int might match the return type of a GCC
7871 builtin and then its argument prototype would still apply. */
7875 char IceConnectionNumber ();
7879 return IceConnectionNumber ();
7884 if ac_fn_c_try_link "$LINENO"; then :
7885 ac_cv_lib_ICE_IceConnectionNumber=yes
7887 ac_cv_lib_ICE_IceConnectionNumber=no
7889 rm -f core conftest.err conftest.$ac_objext \
7890 conftest$ac_exeext conftest.$ac_ext
7891 LIBS=$ac_check_lib_save_LIBS
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7894 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7895 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
7896 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
7899 LDFLAGS=$ac_save_LDFLAGS
7904 if test "$have_x" = "yes"
7907 ac_save_CPPFLAGS="$CPPFLAGS"
7908 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
7911 $as_echo_n "checking for -lX11... " >&6; }
7912 if ${ac_cv_lib_soname_X11+:} false; then :
7913 $as_echo_n "(cached) " >&6
7915 ac_check_soname_save_LIBS=$LIBS
7916 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
7917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7918 /* end confdefs.h. */
7920 /* Override any GCC internal prototype to avoid an error.
7921 Use char because int might match the return type of a GCC
7922 builtin and then its argument prototype would still apply. */
7926 char XCreateWindow ();
7930 return XCreateWindow ();
7935 if ac_fn_c_try_link "$LINENO"; then :
7937 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7938 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'` ;;
7939 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7942 rm -f core conftest.err conftest.$ac_objext \
7943 conftest$ac_exeext conftest.$ac_ext
7944 LIBS=$ac_check_soname_save_LIBS
7946 if test "x$ac_cv_lib_soname_X11" = "x"; then :
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7948 $as_echo "not found" >&6; }
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
7952 $as_echo "$ac_cv_lib_soname_X11" >&6; }
7954 cat >>confdefs.h <<_ACEOF
7955 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
7961 $as_echo_n "checking for -lXext... " >&6; }
7962 if ${ac_cv_lib_soname_Xext+:} false; then :
7963 $as_echo_n "(cached) " >&6
7965 ac_check_soname_save_LIBS=$LIBS
7966 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
7967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7968 /* end confdefs.h. */
7970 /* Override any GCC internal prototype to avoid an error.
7971 Use char because int might match the return type of a GCC
7972 builtin and then its argument prototype would still apply. */
7976 char XextCreateExtension ();
7980 return XextCreateExtension ();
7985 if ac_fn_c_try_link "$LINENO"; then :
7987 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7988 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'` ;;
7989 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7992 rm -f core conftest.err conftest.$ac_objext \
7993 conftest$ac_exeext conftest.$ac_ext
7994 LIBS=$ac_check_soname_save_LIBS
7996 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7998 $as_echo "not found" >&6; }
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8002 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8004 cat >>confdefs.h <<_ACEOF
8005 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8011 for ac_header in X11/Xlib.h \
8014 X11/Xcursor/Xcursor.h \
8015 X11/extensions/shape.h \
8016 X11/extensions/XInput.h \
8017 X11/extensions/XInput2.h \
8018 X11/extensions/XShm.h \
8019 X11/extensions/Xcomposite.h \
8020 X11/extensions/Xinerama.h \
8021 X11/extensions/Xrandr.h \
8022 X11/extensions/Xrender.h \
8023 X11/extensions/xf86vmode.h \
8024 X11/extensions/xf86vmproto.h
8026 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8027 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8028 # include <X11/Xlib.h>
8030 #ifdef HAVE_X11_XUTIL_H
8031 # include <X11/Xutil.h>
8034 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8035 cat >>confdefs.h <<_ACEOF
8036 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8044 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8047 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8048 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
8049 $as_echo_n "(cached) " >&6
8051 ac_check_lib_save_LIBS=$LIBS
8052 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8054 /* end confdefs.h. */
8056 /* Override any GCC internal prototype to avoid an error.
8057 Use char because int might match the return type of a GCC
8058 builtin and then its argument prototype would still apply. */
8062 char XkbQueryExtension ();
8066 return XkbQueryExtension ();
8071 if ac_fn_c_try_link "$LINENO"; then :
8072 ac_cv_lib_X11_XkbQueryExtension=yes
8074 ac_cv_lib_X11_XkbQueryExtension=no
8076 rm -f core conftest.err conftest.$ac_objext \
8077 conftest$ac_exeext conftest.$ac_ext
8078 LIBS=$ac_check_lib_save_LIBS
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8081 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8082 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
8084 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8090 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8093 $as_echo_n "checking for -lXcursor... " >&6; }
8094 if ${ac_cv_lib_soname_Xcursor+:} false; then :
8095 $as_echo_n "(cached) " >&6
8097 ac_check_soname_save_LIBS=$LIBS
8098 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8100 /* end confdefs.h. */
8102 /* Override any GCC internal prototype to avoid an error.
8103 Use char because int might match the return type of a GCC
8104 builtin and then its argument prototype would still apply. */
8108 char XcursorImageLoadCursor ();
8112 return XcursorImageLoadCursor ();
8117 if ac_fn_c_try_link "$LINENO"; then :
8119 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8120 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'` ;;
8121 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8124 rm -f core conftest.err conftest.$ac_objext \
8125 conftest$ac_exeext conftest.$ac_ext
8126 LIBS=$ac_check_soname_save_LIBS
8128 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8130 $as_echo "not found" >&6; }
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8134 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8136 cat >>confdefs.h <<_ACEOF
8137 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8143 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8144 case "x$with_xcursor" in
8145 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8147 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8148 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8152 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8155 $as_echo_n "checking for -lXi... " >&6; }
8156 if ${ac_cv_lib_soname_Xi+:} false; then :
8157 $as_echo_n "(cached) " >&6
8159 ac_check_soname_save_LIBS=$LIBS
8160 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8162 /* end confdefs.h. */
8164 /* Override any GCC internal prototype to avoid an error.
8165 Use char because int might match the return type of a GCC
8166 builtin and then its argument prototype would still apply. */
8170 char XOpenDevice ();
8174 return XOpenDevice ();
8179 if ac_fn_c_try_link "$LINENO"; then :
8181 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8182 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'` ;;
8183 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8186 rm -f core conftest.err conftest.$ac_objext \
8187 conftest$ac_exeext conftest.$ac_ext
8188 LIBS=$ac_check_soname_save_LIBS
8190 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8192 $as_echo "not found" >&6; }
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8196 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8198 cat >>confdefs.h <<_ACEOF
8199 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8205 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8206 case "x$with_xinput" in
8207 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8209 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8210 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8214 if test "x$ac_cv_lib_soname_Xi" != x
8216 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8217 case "x$with_xinput2" in
8218 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8220 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
8221 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8226 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8229 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8230 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
8231 $as_echo_n "(cached) " >&6
8233 ac_check_lib_save_LIBS=$LIBS
8234 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8236 /* end confdefs.h. */
8238 /* Override any GCC internal prototype to avoid an error.
8239 Use char because int might match the return type of a GCC
8240 builtin and then its argument prototype would still apply. */
8244 char XShmQueryExtension ();
8248 return XShmQueryExtension ();
8253 if ac_fn_c_try_link "$LINENO"; then :
8254 ac_cv_lib_Xext_XShmQueryExtension=yes
8256 ac_cv_lib_Xext_XShmQueryExtension=no
8258 rm -f core conftest.err conftest.$ac_objext \
8259 conftest$ac_exeext conftest.$ac_ext
8260 LIBS=$ac_check_lib_save_LIBS
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8263 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8264 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
8266 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8271 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8272 case "x$with_xshm" in
8273 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8275 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8276 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8280 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8283 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8284 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
8285 $as_echo_n "(cached) " >&6
8287 ac_check_lib_save_LIBS=$LIBS
8288 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8290 /* end confdefs.h. */
8292 /* Override any GCC internal prototype to avoid an error.
8293 Use char because int might match the return type of a GCC
8294 builtin and then its argument prototype would still apply. */
8298 char XShapeQueryExtension ();
8302 return XShapeQueryExtension ();
8307 if ac_fn_c_try_link "$LINENO"; then :
8308 ac_cv_lib_Xext_XShapeQueryExtension=yes
8310 ac_cv_lib_Xext_XShapeQueryExtension=no
8312 rm -f core conftest.err conftest.$ac_objext \
8313 conftest$ac_exeext conftest.$ac_ext
8314 LIBS=$ac_check_lib_save_LIBS
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8317 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8318 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
8320 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8325 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8326 case "x$with_xshape" in
8327 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8329 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
8330 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8334 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8337 $as_echo_n "checking for -lXxf86vm... " >&6; }
8338 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
8339 $as_echo_n "(cached) " >&6
8341 ac_check_soname_save_LIBS=$LIBS
8342 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8344 /* end confdefs.h. */
8346 /* Override any GCC internal prototype to avoid an error.
8347 Use char because int might match the return type of a GCC
8348 builtin and then its argument prototype would still apply. */
8352 char XF86VidModeQueryExtension ();
8356 return XF86VidModeQueryExtension ();
8361 if ac_fn_c_try_link "$LINENO"; then :
8363 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8364 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'` ;;
8365 *) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8368 rm -f core conftest.err conftest.$ac_objext \
8369 conftest$ac_exeext conftest.$ac_ext
8370 LIBS=$ac_check_soname_save_LIBS
8372 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8374 $as_echo "not found" >&6; }
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8378 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8380 cat >>confdefs.h <<_ACEOF
8381 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8387 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8388 case "x$with_xxf86vm" in
8389 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8391 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8392 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8396 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"
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8399 $as_echo_n "checking for -lXrender... " >&6; }
8400 if ${ac_cv_lib_soname_Xrender+:} false; then :
8401 $as_echo_n "(cached) " >&6
8403 ac_check_soname_save_LIBS=$LIBS
8404 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8406 /* end confdefs.h. */
8408 /* Override any GCC internal prototype to avoid an error.
8409 Use char because int might match the return type of a GCC
8410 builtin and then its argument prototype would still apply. */
8414 char XRenderQueryExtension ();
8418 return XRenderQueryExtension ();
8423 if ac_fn_c_try_link "$LINENO"; then :
8425 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8426 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'` ;;
8427 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8430 rm -f core conftest.err conftest.$ac_objext \
8431 conftest$ac_exeext conftest.$ac_ext
8432 LIBS=$ac_check_soname_save_LIBS
8434 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8436 $as_echo "not found" >&6; }
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8440 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8442 cat >>confdefs.h <<_ACEOF
8443 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8447 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8448 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
8449 $as_echo_n "(cached) " >&6
8451 ac_check_lib_save_LIBS=$LIBS
8452 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8454 /* end confdefs.h. */
8456 /* Override any GCC internal prototype to avoid an error.
8457 Use char because int might match the return type of a GCC
8458 builtin and then its argument prototype would still apply. */
8462 char XRenderSetPictureTransform ();
8466 return XRenderSetPictureTransform ();
8471 if ac_fn_c_try_link "$LINENO"; then :
8472 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8474 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8476 rm -f core conftest.err conftest.$ac_objext \
8477 conftest$ac_exeext conftest.$ac_ext
8478 LIBS=$ac_check_lib_save_LIBS
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8481 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8482 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
8484 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8489 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8490 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
8491 $as_echo_n "(cached) " >&6
8493 ac_check_lib_save_LIBS=$LIBS
8494 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8496 /* end confdefs.h. */
8498 /* Override any GCC internal prototype to avoid an error.
8499 Use char because int might match the return type of a GCC
8500 builtin and then its argument prototype would still apply. */
8504 char XRenderCreateLinearGradient ();
8508 return XRenderCreateLinearGradient ();
8513 if ac_fn_c_try_link "$LINENO"; then :
8514 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
8516 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
8518 rm -f core conftest.err conftest.$ac_objext \
8519 conftest$ac_exeext conftest.$ac_ext
8520 LIBS=$ac_check_lib_save_LIBS
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8523 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8524 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
8526 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8533 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8534 case "x$with_xrender" in
8535 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8537 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
8538 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8542 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8545 /* end confdefs.h. */
8546 #include <X11/Xlib.h>
8547 #include <X11/extensions/Xrandr.h>
8551 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
8556 if ac_fn_c_try_compile "$LINENO"; then :
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8558 $as_echo_n "checking for -lXrandr... " >&6; }
8559 if ${ac_cv_lib_soname_Xrandr+:} false; then :
8560 $as_echo_n "(cached) " >&6
8562 ac_check_soname_save_LIBS=$LIBS
8563 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8565 /* end confdefs.h. */
8567 /* Override any GCC internal prototype to avoid an error.
8568 Use char because int might match the return type of a GCC
8569 builtin and then its argument prototype would still apply. */
8573 char XRRQueryExtension ();
8577 return XRRQueryExtension ();
8582 if ac_fn_c_try_link "$LINENO"; then :
8584 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8585 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'` ;;
8586 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8589 rm -f core conftest.err conftest.$ac_objext \
8590 conftest$ac_exeext conftest.$ac_ext
8591 LIBS=$ac_check_soname_save_LIBS
8593 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8595 $as_echo "not found" >&6; }
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8599 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8601 cat >>confdefs.h <<_ACEOF
8602 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8610 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8611 case "x$with_xrandr" in
8612 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8614 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8615 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8619 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8622 /* end confdefs.h. */
8623 #include <X11/Xlib.h>
8624 #include <X11/extensions/Xinerama.h>
8628 static typeof(XineramaQueryScreens) * func; if (func) return 0;
8633 if ac_fn_c_try_compile "$LINENO"; then :
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8635 $as_echo_n "checking for -lXinerama... " >&6; }
8636 if ${ac_cv_lib_soname_Xinerama+:} false; then :
8637 $as_echo_n "(cached) " >&6
8639 ac_check_soname_save_LIBS=$LIBS
8640 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8642 /* end confdefs.h. */
8644 /* Override any GCC internal prototype to avoid an error.
8645 Use char because int might match the return type of a GCC
8646 builtin and then its argument prototype would still apply. */
8650 char XineramaQueryScreens ();
8654 return XineramaQueryScreens ();
8659 if ac_fn_c_try_link "$LINENO"; then :
8661 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8662 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'` ;;
8663 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8666 rm -f core conftest.err conftest.$ac_objext \
8667 conftest$ac_exeext conftest.$ac_ext
8668 LIBS=$ac_check_soname_save_LIBS
8670 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8672 $as_echo "not found" >&6; }
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8676 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8678 cat >>confdefs.h <<_ACEOF
8679 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8687 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8688 case "x$with_xinerama" in
8689 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8691 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8692 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8696 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8699 $as_echo_n "checking for -lXcomposite... " >&6; }
8700 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
8701 $as_echo_n "(cached) " >&6
8703 ac_check_soname_save_LIBS=$LIBS
8704 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8706 /* end confdefs.h. */
8708 /* Override any GCC internal prototype to avoid an error.
8709 Use char because int might match the return type of a GCC
8710 builtin and then its argument prototype would still apply. */
8714 char XCompositeRedirectWindow ();
8718 return XCompositeRedirectWindow ();
8723 if ac_fn_c_try_link "$LINENO"; then :
8725 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8726 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'` ;;
8727 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8730 rm -f core conftest.err conftest.$ac_objext \
8731 conftest$ac_exeext conftest.$ac_ext
8732 LIBS=$ac_check_soname_save_LIBS
8734 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8736 $as_echo "not found" >&6; }
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8740 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8742 cat >>confdefs.h <<_ACEOF
8743 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8749 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8750 case "x$with_xcomposite" in
8751 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8753 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8754 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8758 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8759 #include <X11/Xlib.h>
8762 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
8764 cat >>confdefs.h <<_ACEOF
8765 #define HAVE_XICCALLBACK_CALLBACK 1
8770 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
8771 #include <X11/Xlib.h>
8774 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
8776 cat >>confdefs.h <<_ACEOF
8777 #define HAVE_XEVENT_XCOOKIE 1
8786 if test "x$with_opengl" != "xno"
8788 for ac_header in GL/gl.h GL/glx.h GL/glu.h
8790 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8791 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_GL_GLX_H
8792 # include <GL/glx.h>
8795 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8796 cat >>confdefs.h <<_ACEOF
8797 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8804 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for up-to-date OpenGL version" >&5
8807 $as_echo_n "checking for up-to-date OpenGL version... " >&6; }
8808 if ${wine_cv_opengl_header_version_OK+:} false; then :
8809 $as_echo_n "(cached) " >&6
8811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8812 /* end confdefs.h. */
8817 GLenum test = GL_UNSIGNED_SHORT_5_6_5; return (test == GL_UNSIGNED_SHORT_5_6_5);
8822 if ac_fn_c_try_compile "$LINENO"; then :
8823 wine_cv_opengl_header_version_OK="yes"
8825 wine_cv_opengl_header_version_OK="no"
8827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_opengl_header_version_OK" >&5
8830 $as_echo "$wine_cv_opengl_header_version_OK" >&6; }
8832 if test "$wine_cv_opengl_header_version_OK" = "yes"
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8835 $as_echo_n "checking for -lGL... " >&6; }
8836 if ${ac_cv_lib_soname_GL+:} false; then :
8837 $as_echo_n "(cached) " >&6
8839 ac_check_soname_save_LIBS=$LIBS
8840 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8842 /* end confdefs.h. */
8844 /* Override any GCC internal prototype to avoid an error.
8845 Use char because int might match the return type of a GCC
8846 builtin and then its argument prototype would still apply. */
8850 char glXCreateContext ();
8854 return glXCreateContext ();
8859 if ac_fn_c_try_link "$LINENO"; then :
8861 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8862 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'` ;;
8863 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8866 rm -f core conftest.err conftest.$ac_objext \
8867 conftest$ac_exeext conftest.$ac_ext
8868 LIBS=$ac_check_soname_save_LIBS
8870 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8872 $as_echo "not found" >&6; }
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8874 $as_echo_n "checking for -lGL... " >&6; }
8875 if ${ac_cv_lib_soname_GL+:} false; then :
8876 $as_echo_n "(cached) " >&6
8878 ac_check_soname_save_LIBS=$LIBS
8879 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"
8880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8881 /* end confdefs.h. */
8883 /* Override any GCC internal prototype to avoid an error.
8884 Use char because int might match the return type of a GCC
8885 builtin and then its argument prototype would still apply. */
8889 char glXCreateContext ();
8893 return glXCreateContext ();
8898 if ac_fn_c_try_link "$LINENO"; then :
8900 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8901 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'` ;;
8902 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8905 rm -f core conftest.err conftest.$ac_objext \
8906 conftest$ac_exeext conftest.$ac_ext
8907 LIBS=$ac_check_soname_save_LIBS
8909 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8911 $as_echo "not found" >&6; }
8912 if test -f /usr/X11R6/lib/libGL.a
8914 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
8915 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
8917 opengl_msg="No OpenGL library found on this system."
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8921 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8923 cat >>confdefs.h <<_ACEOF
8924 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8927 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"
8929 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8934 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8936 cat >>confdefs.h <<_ACEOF
8937 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8942 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8945 if test "$ac_cv_header_GL_glu_h" = "yes"
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
8948 $as_echo_n "checking for -lGLU... " >&6; }
8949 if ${ac_cv_lib_soname_GLU+:} false; then :
8950 $as_echo_n "(cached) " >&6
8952 ac_check_soname_save_LIBS=$LIBS
8953 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8955 /* end confdefs.h. */
8957 /* Override any GCC internal prototype to avoid an error.
8958 Use char because int might match the return type of a GCC
8959 builtin and then its argument prototype would still apply. */
8967 return gluLookAt ();
8972 if ac_fn_c_try_link "$LINENO"; then :
8974 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8975 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'` ;;
8976 *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8979 rm -f core conftest.err conftest.$ac_objext \
8980 conftest$ac_exeext conftest.$ac_ext
8981 LIBS=$ac_check_soname_save_LIBS
8983 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8985 $as_echo "not found" >&6; }
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
8989 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
8991 cat >>confdefs.h <<_ACEOF
8992 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
8998 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8999 case "x$with_glu" in
9000 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9002 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
9003 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9007 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
9010 opengl_msg="OpenGL development headers not found."
9012 test -n "$opengl_msg" && enable_opengl32=${enable_opengl32:-no}
9013 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32=${enable_glu32:-no}
9015 enable_opengl32=${enable_opengl32:-no}
9016 enable_glu32=${enable_glu32:-no}
9018 if test -n "$opengl_msg"; then :
9019 case "x$with_opengl" in
9020 x) as_fn_append wine_warnings "|$opengl_msg
9021 OpenGL and Direct3D won't be supported." ;;
9023 *) as_fn_error $? "$opengl_msg
9024 OpenGL and Direct3D won't be supported.
9025 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9029 CPPFLAGS="$ac_save_CPPFLAGS"
9034 enable_winex11_drv=${enable_winex11_drv:-no}
9035 enable_opengl32=${enable_opengl32:-no}
9036 enable_glu32=${enable_glu32:-no}
9038 if test "x$XLIB" = "x"; then :
9041 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
9042 without X support, which probably isn't what you want. You will need
9043 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9044 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9048 if test "$ac_cv_header_CL_cl_h" = "yes"
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9051 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9052 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
9053 $as_echo_n "(cached) " >&6
9055 ac_check_lib_save_LIBS=$LIBS
9056 LIBS="-lOpenCL $LIBS"
9057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9058 /* end confdefs.h. */
9060 /* Override any GCC internal prototype to avoid an error.
9061 Use char because int might match the return type of a GCC
9062 builtin and then its argument prototype would still apply. */
9066 char clGetPlatformInfo ();
9070 return clGetPlatformInfo ();
9075 if ac_fn_c_try_link "$LINENO"; then :
9076 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9078 ac_cv_lib_OpenCL_clGetPlatformInfo=no
9080 rm -f core conftest.err conftest.$ac_objext \
9081 conftest$ac_exeext conftest.$ac_ext
9082 LIBS=$ac_check_lib_save_LIBS
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9085 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9086 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
9087 LIBOPENCL="-lOpenCL"
9092 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
9093 case "x$with_opencl" in
9094 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9096 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9097 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9100 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
9109 if test "x$with_xml" != "xno"
9111 ac_save_CPPFLAGS="$CPPFLAGS"
9112 if test "$PKG_CONFIG" != "false"
9114 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9115 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9117 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
9118 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
9120 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
9121 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
9123 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9124 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9125 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9126 cat >>confdefs.h <<_ACEOF
9127 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9134 if test "$ac_cv_header_libxml_parser_h" = "yes" -a "$ac_cv_header_libxml_xmlsave_h" = "yes" -a "$ac_cv_header_libxml_SAX2_h" = "yes"
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9137 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9138 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
9139 $as_echo_n "(cached) " >&6
9141 ac_check_lib_save_LIBS=$LIBS
9142 LIBS="-lxml2 $ac_xml_libs $LIBS"
9143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9144 /* end confdefs.h. */
9146 /* Override any GCC internal prototype to avoid an error.
9147 Use char because int might match the return type of a GCC
9148 builtin and then its argument prototype would still apply. */
9152 char xmlParseMemory ();
9156 return xmlParseMemory ();
9161 if ac_fn_c_try_link "$LINENO"; then :
9162 ac_cv_lib_xml2_xmlParseMemory=yes
9164 ac_cv_lib_xml2_xmlParseMemory=no
9166 rm -f core conftest.err conftest.$ac_objext \
9167 conftest$ac_exeext conftest.$ac_ext
9168 LIBS=$ac_check_lib_save_LIBS
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9171 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9172 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
9174 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9176 XML2LIBS="$ac_xml_libs"
9177 XML2INCL="$ac_xml_cflags"
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9181 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9182 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
9183 $as_echo_n "(cached) " >&6
9185 ac_check_lib_save_LIBS=$LIBS
9186 LIBS="-lxml2 $ac_xml_libs $LIBS"
9187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9188 /* end confdefs.h. */
9190 /* Override any GCC internal prototype to avoid an error.
9191 Use char because int might match the return type of a GCC
9192 builtin and then its argument prototype would still apply. */
9196 char xmlReadMemory ();
9200 return xmlReadMemory ();
9205 if ac_fn_c_try_link "$LINENO"; then :
9206 ac_cv_lib_xml2_xmlReadMemory=yes
9208 ac_cv_lib_xml2_xmlReadMemory=no
9210 rm -f core conftest.err conftest.$ac_objext \
9211 conftest$ac_exeext conftest.$ac_ext
9212 LIBS=$ac_check_lib_save_LIBS
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9215 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9216 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
9218 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9223 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9224 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
9225 $as_echo_n "(cached) " >&6
9227 ac_check_lib_save_LIBS=$LIBS
9228 LIBS="-lxml2 $ac_xml_libs $LIBS"
9229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9230 /* end confdefs.h. */
9232 /* Override any GCC internal prototype to avoid an error.
9233 Use char because int might match the return type of a GCC
9234 builtin and then its argument prototype would still apply. */
9238 char xmlNewDocPI ();
9242 return xmlNewDocPI ();
9247 if ac_fn_c_try_link "$LINENO"; then :
9248 ac_cv_lib_xml2_xmlNewDocPI=yes
9250 ac_cv_lib_xml2_xmlNewDocPI=no
9252 rm -f core conftest.err conftest.$ac_objext \
9253 conftest$ac_exeext conftest.$ac_ext
9254 LIBS=$ac_check_lib_save_LIBS
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9257 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9258 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
9260 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9265 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9266 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
9267 $as_echo_n "(cached) " >&6
9269 ac_check_lib_save_LIBS=$LIBS
9270 LIBS="-lxml2 $ac_xml_libs $LIBS"
9271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9272 /* end confdefs.h. */
9274 /* Override any GCC internal prototype to avoid an error.
9275 Use char because int might match the return type of a GCC
9276 builtin and then its argument prototype would still apply. */
9280 char xmlSchemaSetParserStructuredErrors ();
9284 return xmlSchemaSetParserStructuredErrors ();
9289 if ac_fn_c_try_link "$LINENO"; then :
9290 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
9292 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
9294 rm -f core conftest.err conftest.$ac_objext \
9295 conftest$ac_exeext conftest.$ac_ext
9296 LIBS=$ac_check_lib_save_LIBS
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9299 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9300 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
9302 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9307 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9308 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
9309 $as_echo_n "(cached) " >&6
9311 ac_check_lib_save_LIBS=$LIBS
9312 LIBS="-lxml2 $ac_xml_libs $LIBS"
9313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9314 /* end confdefs.h. */
9316 /* Override any GCC internal prototype to avoid an error.
9317 Use char because int might match the return type of a GCC
9318 builtin and then its argument prototype would still apply. */
9322 char xmlSchemaSetValidStructuredErrors ();
9326 return xmlSchemaSetValidStructuredErrors ();
9331 if ac_fn_c_try_link "$LINENO"; then :
9332 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
9334 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
9336 rm -f core conftest.err conftest.$ac_objext \
9337 conftest$ac_exeext conftest.$ac_ext
9338 LIBS=$ac_check_lib_save_LIBS
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9341 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9342 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
9344 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9349 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9350 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
9351 $as_echo_n "(cached) " >&6
9353 ac_check_lib_save_LIBS=$LIBS
9354 LIBS="-lxml2 $ac_xml_libs $LIBS"
9355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9356 /* end confdefs.h. */
9358 /* Override any GCC internal prototype to avoid an error.
9359 Use char because int might match the return type of a GCC
9360 builtin and then its argument prototype would still apply. */
9364 char xmlFirstElementChild ();
9368 return xmlFirstElementChild ();
9373 if ac_fn_c_try_link "$LINENO"; then :
9374 ac_cv_lib_xml2_xmlFirstElementChild=yes
9376 ac_cv_lib_xml2_xmlFirstElementChild=no
9378 rm -f core conftest.err conftest.$ac_objext \
9379 conftest$ac_exeext conftest.$ac_ext
9380 LIBS=$ac_check_lib_save_LIBS
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9383 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9384 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
9386 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9390 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9392 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
9394 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9399 CPPFLAGS="$ac_save_CPPFLAGS"
9401 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9402 case "x$with_xml" in
9403 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9405 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9406 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9410 if test "x$with_xslt" != "xno"
9412 if test "$PKG_CONFIG" != "false"
9414 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9415 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9417 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
9418 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
9420 ac_save_CPPFLAGS="$CPPFLAGS"
9421 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9422 for ac_header in libxslt/pattern.h libxslt/transform.h
9424 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9425 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9426 # include <libxslt/pattern.h>
9429 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9430 cat >>confdefs.h <<_ACEOF
9431 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9438 CPPFLAGS="$ac_save_CPPFLAGS"
9439 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9442 $as_echo_n "checking for -lxslt... " >&6; }
9443 if ${ac_cv_lib_soname_xslt+:} false; then :
9444 $as_echo_n "(cached) " >&6
9446 ac_check_soname_save_LIBS=$LIBS
9447 LIBS="-lxslt $ac_xslt_libs $LIBS"
9448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9449 /* end confdefs.h. */
9451 /* Override any GCC internal prototype to avoid an error.
9452 Use char because int might match the return type of a GCC
9453 builtin and then its argument prototype would still apply. */
9457 char xsltCompilePattern ();
9461 return xsltCompilePattern ();
9466 if ac_fn_c_try_link "$LINENO"; then :
9468 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9469 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'` ;;
9470 *) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9473 rm -f core conftest.err conftest.$ac_objext \
9474 conftest$ac_exeext conftest.$ac_ext
9475 LIBS=$ac_check_soname_save_LIBS
9477 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9479 $as_echo "not found" >&6; }
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9483 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9485 cat >>confdefs.h <<_ACEOF
9486 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9489 XSLTINCL="$ac_xslt_cflags"
9493 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9494 case "x$with_xslt" in
9495 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9497 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
9498 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9502 if test "x$with_dbus" != "xno"
9504 ac_save_CPPFLAGS="$CPPFLAGS"
9505 if test "$PKG_CONFIG" != "false"
9507 ac_dbus_libs="`$PKG_CONFIG --libs dbus-1 2>/dev/null`"
9508 ac_dbus_cflags="`$PKG_CONFIG --cflags dbus-1 2>/dev/null`"
9509 CPPFLAGS="$CPPFLAGS $ac_dbus_cflags"
9511 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
9512 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
9514 $as_echo_n "checking for -ldbus-1... " >&6; }
9515 if ${ac_cv_lib_soname_dbus_1+:} false; then :
9516 $as_echo_n "(cached) " >&6
9518 ac_check_soname_save_LIBS=$LIBS
9519 LIBS="-ldbus-1 $ac_dbus_libs $LIBS"
9520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9521 /* end confdefs.h. */
9523 /* Override any GCC internal prototype to avoid an error.
9524 Use char because int might match the return type of a GCC
9525 builtin and then its argument prototype would still apply. */
9529 char dbus_connection_close ();
9533 return dbus_connection_close ();
9538 if ac_fn_c_try_link "$LINENO"; then :
9540 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9541 dylib) ac_cv_lib_soname_dbus_1=`otool -L conftest$ac_exeext | grep "libdbus-1\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libdbus-1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9542 *) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9545 rm -f core conftest.err conftest.$ac_objext \
9546 conftest$ac_exeext conftest.$ac_ext
9547 LIBS=$ac_check_soname_save_LIBS
9549 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9551 $as_echo "not found" >&6; }
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
9555 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
9557 cat >>confdefs.h <<_ACEOF
9558 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
9561 DBUSINCL="$ac_dbus_cflags"
9567 CPPFLAGS="$ac_save_CPPFLAGS"
9569 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
9570 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9571 case "x$with_dbus" in
9572 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9574 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
9575 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
9579 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
9581 ac_save_CPPFLAGS="$CPPFLAGS"
9582 if test "$PKG_CONFIG" != "false"
9584 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9585 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9586 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9588 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
9589 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9591 $as_echo_n "checking for -lhal... " >&6; }
9592 if ${ac_cv_lib_soname_hal+:} false; then :
9593 $as_echo_n "(cached) " >&6
9595 ac_check_soname_save_LIBS=$LIBS
9596 LIBS="-lhal $ac_hal_libs $LIBS"
9597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9598 /* end confdefs.h. */
9600 /* Override any GCC internal prototype to avoid an error.
9601 Use char because int might match the return type of a GCC
9602 builtin and then its argument prototype would still apply. */
9606 char libhal_ctx_new ();
9610 return libhal_ctx_new ();
9615 if ac_fn_c_try_link "$LINENO"; then :
9617 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9618 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'` ;;
9619 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9622 rm -f core conftest.err conftest.$ac_objext \
9623 conftest$ac_exeext conftest.$ac_ext
9624 LIBS=$ac_check_soname_save_LIBS
9626 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9628 $as_echo "not found" >&6; }
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9632 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9634 cat >>confdefs.h <<_ACEOF
9635 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9638 HALINCL="$ac_hal_cflags"
9644 CPPFLAGS="$ac_save_CPPFLAGS"
9645 if test "x$ac_cv_lib_soname_hal" = "x" -a \
9646 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9647 case "x$with_hal" in
9648 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
9650 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
9651 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9656 if test "x$with_gnutls" != "xno"
9658 ac_save_CPPFLAGS="$CPPFLAGS"
9659 if test "$PKG_CONFIG" != "false"
9661 ac_gnutls_libs="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9662 ac_gnutls_cflags="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9663 CPPFLAGS="$CPPFLAGS $ac_gnutls_cflags"
9665 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9666 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
9667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9668 /* end confdefs.h. */
9669 #include <gnutls/gnutls.h>
9673 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
9678 if ac_fn_c_try_compile "$LINENO"; then :
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9680 $as_echo_n "checking for -lgnutls... " >&6; }
9681 if ${ac_cv_lib_soname_gnutls+:} false; then :
9682 $as_echo_n "(cached) " >&6
9684 ac_check_soname_save_LIBS=$LIBS
9685 LIBS="-lgnutls $ac_gnutls_libs $LIBS"
9686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9687 /* end confdefs.h. */
9689 /* Override any GCC internal prototype to avoid an error.
9690 Use char because int might match the return type of a GCC
9691 builtin and then its argument prototype would still apply. */
9695 char gnutls_global_init ();
9699 return gnutls_global_init ();
9704 if ac_fn_c_try_link "$LINENO"; then :
9706 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9707 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'` ;;
9708 *) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9711 rm -f core conftest.err conftest.$ac_objext \
9712 conftest$ac_exeext conftest.$ac_ext
9713 LIBS=$ac_check_soname_save_LIBS
9715 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9717 $as_echo "not found" >&6; }
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9721 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9723 cat >>confdefs.h <<_ACEOF
9724 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9727 GNUTLSINCL="$ac_gnutls_cflags"
9731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9735 CPPFLAGS="$ac_save_CPPFLAGS"
9737 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9738 case "x$with_gnutls" in
9739 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9741 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
9742 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9747 if test "$ac_cv_header_ncurses_h" = "yes"
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
9750 $as_echo_n "checking for -lncurses... " >&6; }
9751 if ${ac_cv_lib_soname_ncurses+:} false; then :
9752 $as_echo_n "(cached) " >&6
9754 ac_check_soname_save_LIBS=$LIBS
9755 LIBS="-lncurses $LIBS"
9756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9757 /* end confdefs.h. */
9759 /* Override any GCC internal prototype to avoid an error.
9760 Use char because int might match the return type of a GCC
9761 builtin and then its argument prototype would still apply. */
9774 if ac_fn_c_try_link "$LINENO"; then :
9776 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9777 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'` ;;
9778 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9781 rm -f core conftest.err conftest.$ac_objext \
9782 conftest$ac_exeext conftest.$ac_ext
9783 LIBS=$ac_check_soname_save_LIBS
9785 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9787 $as_echo "not found" >&6; }
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
9791 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
9793 cat >>confdefs.h <<_ACEOF
9794 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
9797 CURSESLIBS="-lncurses"
9799 elif test "$ac_cv_header_curses_h" = "yes"
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
9802 $as_echo_n "checking for -lcurses... " >&6; }
9803 if ${ac_cv_lib_soname_curses+:} false; then :
9804 $as_echo_n "(cached) " >&6
9806 ac_check_soname_save_LIBS=$LIBS
9807 LIBS="-lcurses $LIBS"
9808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9809 /* end confdefs.h. */
9811 /* Override any GCC internal prototype to avoid an error.
9812 Use char because int might match the return type of a GCC
9813 builtin and then its argument prototype would still apply. */
9826 if ac_fn_c_try_link "$LINENO"; then :
9828 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9829 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'` ;;
9830 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9833 rm -f core conftest.err conftest.$ac_objext \
9834 conftest$ac_exeext conftest.$ac_ext
9835 LIBS=$ac_check_soname_save_LIBS
9837 if test "x$ac_cv_lib_soname_curses" = "x"; then :
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9839 $as_echo "not found" >&6; }
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
9843 $as_echo "$ac_cv_lib_soname_curses" >&6; }
9845 cat >>confdefs.h <<_ACEOF
9846 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
9849 CURSESLIBS="-lcurses"
9852 ac_save_LIBS="$LIBS"
9853 LIBS="$LIBS $CURSESLIBS"
9854 for ac_func in mousemask
9856 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
9857 if test "x$ac_cv_func_mousemask" = xyes; then :
9858 cat >>confdefs.h <<_ACEOF
9859 #define HAVE_MOUSEMASK 1
9865 LIBS="$ac_save_LIBS"
9866 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
9867 case "x$with_curses" in
9868 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
9870 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
9871 This is an error since --with-curses was requested." "$LINENO" 5 ;;
9875 if test "x$with_sane" != "xno"
9877 ac_save_CPPFLAGS="$CPPFLAGS"
9878 # Extract the first word of "sane-config", so it can be a program name with args.
9879 set dummy sane-config; ac_word=$2
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9881 $as_echo_n "checking for $ac_word... " >&6; }
9882 if ${ac_cv_prog_sane_devel+:} false; then :
9883 $as_echo_n "(cached) " >&6
9885 if test -n "$sane_devel"; then
9886 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9892 test -z "$as_dir" && as_dir=.
9893 for ac_exec_ext in '' $ac_executable_extensions; do
9894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9895 ac_cv_prog_sane_devel="sane-config"
9896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9903 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9906 sane_devel=$ac_cv_prog_sane_devel
9907 if test -n "$sane_devel"; then
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
9909 $as_echo "$sane_devel" >&6; }
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9912 $as_echo "no" >&6; }
9916 if test "$sane_devel" != "no"
9918 ac_sane_incl="`$sane_devel --cflags`"
9919 ac_sane_libs="`$sane_devel --ldflags`"
9920 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
9922 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
9923 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
9925 $as_echo_n "checking for -lsane... " >&6; }
9926 if ${ac_cv_lib_soname_sane+:} false; then :
9927 $as_echo_n "(cached) " >&6
9929 ac_check_soname_save_LIBS=$LIBS
9930 LIBS="-lsane $ac_sane_libs $LIBS"
9931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9932 /* end confdefs.h. */
9934 /* Override any GCC internal prototype to avoid an error.
9935 Use char because int might match the return type of a GCC
9936 builtin and then its argument prototype would still apply. */
9944 return sane_init ();
9949 if ac_fn_c_try_link "$LINENO"; then :
9951 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9952 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'` ;;
9953 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9956 rm -f core conftest.err conftest.$ac_objext \
9957 conftest$ac_exeext conftest.$ac_ext
9958 LIBS=$ac_check_soname_save_LIBS
9960 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9962 $as_echo "not found" >&6; }
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
9966 $as_echo "$ac_cv_lib_soname_sane" >&6; }
9968 cat >>confdefs.h <<_ACEOF
9969 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
9972 SANEINCL="$ac_sane_incl"
9978 CPPFLAGS="$ac_save_CPPFLAGS"
9980 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9981 case "x$with_sane" in
9982 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
9984 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
9985 This is an error since --with-sane was requested." "$LINENO" 5 ;;
9989 if test "x$with_v4l" != "xno"
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
9992 $as_echo_n "checking for -lv4l1... " >&6; }
9993 if ${ac_cv_lib_soname_v4l1+:} false; then :
9994 $as_echo_n "(cached) " >&6
9996 ac_check_soname_save_LIBS=$LIBS
9998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9999 /* end confdefs.h. */
10001 /* Override any GCC internal prototype to avoid an error.
10002 Use char because int might match the return type of a GCC
10003 builtin and then its argument prototype would still apply. */
10011 return v4l1_open ();
10016 if ac_fn_c_try_link "$LINENO"; then :
10018 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10019 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'` ;;
10020 *) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10023 rm -f core conftest.err conftest.$ac_objext \
10024 conftest$ac_exeext conftest.$ac_ext
10025 LIBS=$ac_check_soname_save_LIBS
10027 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10029 $as_echo "not found" >&6; }
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10033 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10035 cat >>confdefs.h <<_ACEOF
10036 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10042 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10043 case "x$with_v4l" in
10044 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
10046 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
10047 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10051 if test "x$with_gphoto" != "xno"
10053 ac_save_CPPFLAGS="$CPPFLAGS"
10054 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10055 set dummy gphoto2-config; ac_word=$2
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10057 $as_echo_n "checking for $ac_word... " >&6; }
10058 if ${ac_cv_prog_gphoto2_devel+:} false; then :
10059 $as_echo_n "(cached) " >&6
10061 if test -n "$gphoto2_devel"; then
10062 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10065 for as_dir in $PATH
10068 test -z "$as_dir" && as_dir=.
10069 for ac_exec_ext in '' $ac_executable_extensions; do
10070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10071 ac_cv_prog_gphoto2_devel="gphoto2-config"
10072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10079 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10082 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10083 if test -n "$gphoto2_devel"; then
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
10085 $as_echo "$gphoto2_devel" >&6; }
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10088 $as_echo "no" >&6; }
10092 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10093 set dummy gphoto2-port-config; ac_word=$2
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10095 $as_echo_n "checking for $ac_word... " >&6; }
10096 if ${ac_cv_prog_gphoto2port_devel+:} false; then :
10097 $as_echo_n "(cached) " >&6
10099 if test -n "$gphoto2port_devel"; then
10100 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10103 for as_dir in $PATH
10106 test -z "$as_dir" && as_dir=.
10107 for ac_exec_ext in '' $ac_executable_extensions; do
10108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10109 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10117 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10120 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10121 if test -n "$gphoto2port_devel"; then
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
10123 $as_echo "$gphoto2port_devel" >&6; }
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10126 $as_echo "no" >&6; }
10130 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10132 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10134 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10137 -L/usr/lib|-L/usr/lib64) ;;
10138 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
10141 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
10143 ac_gphoto2_libs=${ac_gphoto2_libs:-"-lgphoto2"}
10144 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10145 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10147 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10148 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
10149 $as_echo_n "(cached) " >&6
10151 ac_check_lib_save_LIBS=$LIBS
10152 LIBS="-lgphoto2 $ac_gphoto2_libs $LIBS"
10153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10154 /* end confdefs.h. */
10156 /* Override any GCC internal prototype to avoid an error.
10157 Use char because int might match the return type of a GCC
10158 builtin and then its argument prototype would still apply. */
10162 char gp_camera_new ();
10166 return gp_camera_new ();
10171 if ac_fn_c_try_link "$LINENO"; then :
10172 ac_cv_lib_gphoto2_gp_camera_new=yes
10174 ac_cv_lib_gphoto2_gp_camera_new=no
10176 rm -f core conftest.err conftest.$ac_objext \
10177 conftest$ac_exeext conftest.$ac_ext
10178 LIBS=$ac_check_lib_save_LIBS
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10181 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10182 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
10184 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10186 GPHOTO2LIBS="$ac_gphoto2_libs"
10188 GPHOTO2INCL="$ac_gphoto2_incl"
10195 CPPFLAGS="$ac_save_CPPFLAGS"
10197 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10198 case "x$with_gphoto" in
10199 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10201 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10202 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10207 if test "$ac_cv_header_resolv_h" = "yes"
10209 ac_save_LIBS="$LIBS"
10210 for lib in '' -lresolv
10212 LIBS="$lib $ac_save_LIBS"
10213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10214 /* end confdefs.h. */
10215 #ifdef HAVE_NETINET_IN_H
10216 #include <netinet/in.h>
10218 #include <resolv.h>
10222 res_query("foo",ns_c_in,0,0,0);
10227 if ac_fn_c_try_link "$LINENO"; then :
10229 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10234 rm -f core conftest.err conftest.$ac_objext \
10235 conftest$ac_exeext conftest.$ac_ext
10236 if test "${RESOLVLIBS+set}" = set; then
10240 LIBS="$ac_save_LIBS"
10245 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10248 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10249 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false; then :
10250 $as_echo_n "(cached) " >&6
10252 ac_check_lib_save_LIBS=$LIBS
10253 LIBS="-llcms $LIBS"
10254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10255 /* end confdefs.h. */
10257 /* Override any GCC internal prototype to avoid an error.
10258 Use char because int might match the return type of a GCC
10259 builtin and then its argument prototype would still apply. */
10263 char cmsOpenProfileFromFile ();
10267 return cmsOpenProfileFromFile ();
10272 if ac_fn_c_try_link "$LINENO"; then :
10273 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10275 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10277 rm -f core conftest.err conftest.$ac_objext \
10278 conftest$ac_exeext conftest.$ac_ext
10279 LIBS=$ac_check_lib_save_LIBS
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10282 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10283 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes; then :
10285 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10291 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10292 case "x$with_cms" in
10293 x) as_fn_append wine_notices "|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10295 *) as_fn_error $? "liblcms ${notice_platform}development files not found, Color Management won't be supported.
10296 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10300 if test "x$with_freetype" != "xno"
10302 for ac_prog in freetype-config freetype2-config
10304 # Extract the first word of "$ac_prog", so it can be a program name with args.
10305 set dummy $ac_prog; ac_word=$2
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10307 $as_echo_n "checking for $ac_word... " >&6; }
10308 if ${ac_cv_prog_ft_devel+:} false; then :
10309 $as_echo_n "(cached) " >&6
10311 if test -n "$ft_devel"; then
10312 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10315 for as_dir in $PATH
10318 test -z "$as_dir" && as_dir=.
10319 for ac_exec_ext in '' $ac_executable_extensions; do
10320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10321 ac_cv_prog_ft_devel="$ac_prog"
10322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10331 ft_devel=$ac_cv_prog_ft_devel
10332 if test -n "$ft_devel"; then
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10334 $as_echo "$ft_devel" >&6; }
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10337 $as_echo "no" >&6; }
10341 test -n "$ft_devel" && break
10343 test -n "$ft_devel" || ft_devel="no"
10345 if test "$ft_devel" != "no"
10347 ac_freetype_incl=`$ft_devel --cflags`
10348 ac_freetype_libs=`$ft_devel --libs`
10350 ac_freetype_libs=${ac_freetype_libs:-"-lfreetype"}
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10352 $as_echo_n "checking for -lfreetype... " >&6; }
10353 if ${ac_cv_lib_soname_freetype+:} false; then :
10354 $as_echo_n "(cached) " >&6
10356 ac_check_soname_save_LIBS=$LIBS
10357 LIBS="-lfreetype $ac_freetype_libs $LIBS"
10358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10359 /* end confdefs.h. */
10361 /* Override any GCC internal prototype to avoid an error.
10362 Use char because int might match the return type of a GCC
10363 builtin and then its argument prototype would still apply. */
10367 char FT_Init_FreeType ();
10371 return FT_Init_FreeType ();
10376 if ac_fn_c_try_link "$LINENO"; then :
10378 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10379 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'` ;;
10380 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10383 rm -f core conftest.err conftest.$ac_objext \
10384 conftest$ac_exeext conftest.$ac_ext
10385 LIBS=$ac_check_soname_save_LIBS
10387 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10389 $as_echo "not found" >&6; }
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10393 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10395 cat >>confdefs.h <<_ACEOF
10396 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10401 if test "$ft_lib" = "yes"
10403 ac_save_CPPFLAGS="$CPPFLAGS"
10404 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
10405 for ac_header in ft2build.h \
10406 freetype/freetype.h \
10407 freetype/ftglyph.h \
10408 freetype/fttypes.h \
10409 freetype/tttables.h \
10410 freetype/ftsnames.h \
10411 freetype/ttnameid.h \
10412 freetype/ftoutln.h \
10413 freetype/ftwinfnt.h \
10414 freetype/ftmodapi.h \
10415 freetype/ftlcdfil.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" = xyes; then :
10449 cat >>confdefs.h <<_ACEOF
10450 #define HAVE_FT_TRUETYPEENGINETYPE 1
10456 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10459 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10461 FREETYPELIBS="$ac_freetype_libs"
10463 FREETYPEINCL="$ac_freetype_incl"
10468 if test "x$FREETYPELIBS" = "x"; then :
10469 case "x$with_freetype" in
10471 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
10472 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10475 test "x$FREETYPELIBS" = "x" && enable_fonts=${enable_fonts:-no}
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10478 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10479 if ${ac_cv_c_ppdev+:} false; then :
10480 $as_echo_n "(cached) " >&6
10482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10483 /* end confdefs.h. */
10484 #ifdef HAVE_SYS_IOCTL_H
10485 # include <sys/ioctl.h>
10487 #include <linux/ppdev.h>
10491 ioctl (1,PPCLAIM,0)
10496 if ac_fn_c_try_compile "$LINENO"; then :
10497 ac_cv_c_ppdev="yes"
10501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10504 $as_echo "$ac_cv_c_ppdev" >&6; }
10505 if test "$ac_cv_c_ppdev" = "yes"
10508 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10512 ac_wine_check_funcs_save_LIBS="$LIBS"
10513 LIBS="$LIBS $LIBPTHREAD"
10515 pthread_attr_get_np \
10516 pthread_getattr_np \
10517 pthread_get_stackaddr_np \
10518 pthread_get_stacksize_np
10520 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10521 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10522 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
10523 cat >>confdefs.h <<_ACEOF
10524 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10530 LIBS="$ac_wine_check_funcs_save_LIBS"
10532 if test "$ac_cv_header_zlib_h" = "yes"
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10535 $as_echo_n "checking for inflate in -lz... " >&6; }
10536 if ${ac_cv_lib_z_inflate+:} false; then :
10537 $as_echo_n "(cached) " >&6
10539 ac_check_lib_save_LIBS=$LIBS
10541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10542 /* end confdefs.h. */
10544 /* Override any GCC internal prototype to avoid an error.
10545 Use char because int might match the return type of a GCC
10546 builtin and then its argument prototype would still apply. */
10559 if ac_fn_c_try_link "$LINENO"; then :
10560 ac_cv_lib_z_inflate=yes
10562 ac_cv_lib_z_inflate=no
10564 rm -f core conftest.err conftest.$ac_objext \
10565 conftest$ac_exeext conftest.$ac_ext
10566 LIBS=$ac_check_lib_save_LIBS
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10569 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10570 if test "x$ac_cv_lib_z_inflate" = xyes; then :
10572 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10579 if test "x$ZLIB" = "x"; then :
10580 case "x$with_zlib" in
10581 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
10583 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
10584 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
10588 if test "x$enable_tools" != xno
10590 if test "$ac_cv_header_gettext_po_h" = "yes"
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
10593 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
10594 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
10595 $as_echo_n "(cached) " >&6
10597 ac_check_lib_save_LIBS=$LIBS
10598 LIBS="-lgettextpo $LIBS"
10599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10600 /* end confdefs.h. */
10602 /* Override any GCC internal prototype to avoid an error.
10603 Use char because int might match the return type of a GCC
10604 builtin and then its argument prototype would still apply. */
10608 char po_message_msgctxt ();
10612 return po_message_msgctxt ();
10617 if ac_fn_c_try_link "$LINENO"; then :
10618 ac_cv_lib_gettextpo_po_message_msgctxt=yes
10620 ac_cv_lib_gettextpo_po_message_msgctxt=no
10622 rm -f core conftest.err conftest.$ac_objext \
10623 conftest$ac_exeext conftest.$ac_ext
10624 LIBS=$ac_check_lib_save_LIBS
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
10627 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
10628 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
10630 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
10632 LIBGETTEXTPO="-lgettextpo"
10637 test "x$with_gettextpo" != xyes || if test "x$LIBGETTEXTPO" = "x"; then :
10638 case "x$with_gettextpo" in
10639 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
10641 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
10642 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
10647 if test "x$with_gstreamer" != "xno"
10649 ac_save_CPPFLAGS="$CPPFLAGS"
10650 if test "$PKG_CONFIG" != "false"; then
10652 for i in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
10655 -I*) ac_gst_incl="$ac_gst_incl $i";;
10658 ac_gst_libs="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
10659 CPPFLAGS="$CPPFLAGS $ac_gst_incl"
10660 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
10661 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
10662 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
10663 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
10665 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
10666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10667 /* end confdefs.h. */
10668 #include <gst/app/gstappsink.h>
10672 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
10677 if ac_fn_c_try_compile "$LINENO"; then :
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10679 $as_echo "yes" >&6; }
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
10681 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
10682 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
10683 $as_echo_n "(cached) " >&6
10685 ac_check_lib_save_LIBS=$LIBS
10686 LIBS="-lgstreamer-0.10 $LIBS"
10687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10688 /* end confdefs.h. */
10690 /* Override any GCC internal prototype to avoid an error.
10691 Use char because int might match the return type of a GCC
10692 builtin and then its argument prototype would still apply. */
10696 char gst_pad_get_caps_reffed ();
10700 return gst_pad_get_caps_reffed ();
10705 if ac_fn_c_try_link "$LINENO"; then :
10706 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
10708 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
10710 rm -f core conftest.err conftest.$ac_objext \
10711 conftest$ac_exeext conftest.$ac_ext
10712 LIBS=$ac_check_lib_save_LIBS
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
10715 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
10716 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
10718 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
10719 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
10720 $as_echo_n "(cached) " >&6
10722 ac_check_lib_save_LIBS=$LIBS
10723 LIBS="-lgstapp-0.10 $ac_gst_libs $LIBS"
10724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10725 /* end confdefs.h. */
10727 /* Override any GCC internal prototype to avoid an error.
10728 Use char because int might match the return type of a GCC
10729 builtin and then its argument prototype would still apply. */
10733 char gst_app_buffer_new ();
10737 return gst_app_buffer_new ();
10742 if ac_fn_c_try_link "$LINENO"; then :
10743 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
10745 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
10747 rm -f core conftest.err conftest.$ac_objext \
10748 conftest$ac_exeext conftest.$ac_ext
10749 LIBS=$ac_check_lib_save_LIBS
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
10752 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
10753 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
10754 GSTREAMER_LIBS="$ac_gst_libs"
10756 GSTREAMER_INCL="$ac_gst_incl"
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10764 $as_echo "no" >&6; }
10766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10774 CPPFLAGS="$ac_save_CPPFLAGS"
10776 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
10777 case "x$with_gstreamer" in
10778 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
10780 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
10781 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
10784 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
10788 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
10791 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
10792 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
10793 $as_echo_n "(cached) " >&6
10795 ac_check_lib_save_LIBS=$LIBS
10796 LIBS="-lasound $LIBS"
10797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10798 /* end confdefs.h. */
10800 /* Override any GCC internal prototype to avoid an error.
10801 Use char because int might match the return type of a GCC
10802 builtin and then its argument prototype would still apply. */
10806 char snd_pcm_hw_params_get_access_mask ();
10810 return snd_pcm_hw_params_get_access_mask ();
10815 if ac_fn_c_try_link "$LINENO"; then :
10816 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
10818 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
10820 rm -f core conftest.err conftest.$ac_objext \
10821 conftest$ac_exeext conftest.$ac_ext
10822 LIBS=$ac_check_lib_save_LIBS
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
10825 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
10826 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
10827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10828 /* end confdefs.h. */
10829 #ifdef HAVE_ALSA_ASOUNDLIB_H
10830 #include <alsa/asoundlib.h>
10831 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10832 #include <sys/asoundlib.h>
10837 snd_pcm_hw_params_get_access_mask(NULL, NULL)
10842 if ac_fn_c_try_compile "$LINENO"; then :
10843 ALSALIBS="-lasound"
10845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10850 if test "x$with_oss" != xno
10852 ac_save_CPPFLAGS="$CPPFLAGS"
10853 if test -f /etc/oss.conf
10857 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
10858 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
10859 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
10860 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
10861 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
10863 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
10865 cat >>confdefs.h <<_ACEOF
10866 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
10869 OSS4INCL="$ac_oss_incl"
10876 CPPFLAGS="$ac_save_CPPFLAGS"
10877 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
10879 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
10884 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
10887 $as_echo_n "checking for -lcapi20... " >&6; }
10888 if ${ac_cv_lib_soname_capi20+:} false; then :
10889 $as_echo_n "(cached) " >&6
10891 ac_check_soname_save_LIBS=$LIBS
10892 LIBS="-lcapi20 $LIBS"
10893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10894 /* end confdefs.h. */
10896 /* Override any GCC internal prototype to avoid an error.
10897 Use char because int might match the return type of a GCC
10898 builtin and then its argument prototype would still apply. */
10902 char capi20_register ();
10906 return capi20_register ();
10911 if ac_fn_c_try_link "$LINENO"; then :
10913 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10914 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'` ;;
10915 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10918 rm -f core conftest.err conftest.$ac_objext \
10919 conftest$ac_exeext conftest.$ac_ext
10920 LIBS=$ac_check_soname_save_LIBS
10922 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10924 $as_echo "not found" >&6; }
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
10928 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
10930 cat >>confdefs.h <<_ACEOF
10931 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
10937 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10938 case "x$with_capi" in
10939 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
10941 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
10942 This is an error since --with-capi was requested." "$LINENO" 5 ;;
10948 if test "x$with_cups" != "xno"
10950 ac_save_CPPFLAGS="$CPPFLAGS"
10951 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
10952 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
10953 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
10954 for ac_header in cups/cups.h
10956 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
10957 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
10958 cat >>confdefs.h <<_ACEOF
10959 #define HAVE_CUPS_CUPS_H 1
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
10962 $as_echo_n "checking for -lcups... " >&6; }
10963 if ${ac_cv_lib_soname_cups+:} false; then :
10964 $as_echo_n "(cached) " >&6
10966 ac_check_soname_save_LIBS=$LIBS
10967 LIBS="-lcups $ac_cups_libs $LIBS"
10968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10969 /* end confdefs.h. */
10971 /* Override any GCC internal prototype to avoid an error.
10972 Use char because int might match the return type of a GCC
10973 builtin and then its argument prototype would still apply. */
10977 char cupsGetDefault ();
10981 return cupsGetDefault ();
10986 if ac_fn_c_try_link "$LINENO"; then :
10988 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10989 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'` ;;
10990 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10993 rm -f core conftest.err conftest.$ac_objext \
10994 conftest$ac_exeext conftest.$ac_ext
10995 LIBS=$ac_check_soname_save_LIBS
10997 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10999 $as_echo "not found" >&6; }
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11003 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11005 cat >>confdefs.h <<_ACEOF
11006 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11009 CUPSINCL="$ac_cups_cflags"
11015 CPPFLAGS="$ac_save_CPPFLAGS"
11017 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11018 case "x$with_cups" in
11019 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11021 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
11022 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11026 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11029 $as_echo_n "checking for -lfontconfig... " >&6; }
11030 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11031 $as_echo_n "(cached) " >&6
11033 ac_check_soname_save_LIBS=$LIBS
11034 LIBS="-lfontconfig $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. */
11053 if ac_fn_c_try_link "$LINENO"; then :
11055 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11056 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'` ;;
11057 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$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_fontconfig" = "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_fontconfig" >&5
11070 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11072 cat >>confdefs.h <<_ACEOF
11073 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11078 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11080 ac_save_CPPFLAGS="$CPPFLAGS"
11081 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11082 $as_unset ac_cv_header_fontconfig_fontconfig_h
11083 for ac_header in fontconfig/fontconfig.h
11085 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11086 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
11087 cat >>confdefs.h <<_ACEOF
11088 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11095 CPPFLAGS="$ac_save_CPPFLAGS"
11096 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11098 FONTCONFIGINCL="$X_CFLAGS"
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11101 $as_echo_n "checking for -lfontconfig... " >&6; }
11102 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11103 $as_echo_n "(cached) " >&6
11105 ac_check_soname_save_LIBS=$LIBS
11106 LIBS="-lfontconfig $X_LIBS $LIBS"
11107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11108 /* end confdefs.h. */
11110 /* Override any GCC internal prototype to avoid an error.
11111 Use char because int might match the return type of a GCC
11112 builtin and then its argument prototype would still apply. */
11125 if ac_fn_c_try_link "$LINENO"; then :
11127 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11128 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'` ;;
11129 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11132 rm -f core conftest.err conftest.$ac_objext \
11133 conftest$ac_exeext conftest.$ac_ext
11134 LIBS=$ac_check_soname_save_LIBS
11136 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11138 $as_echo "not found" >&6; }
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11142 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11144 cat >>confdefs.h <<_ACEOF
11145 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11152 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11153 case "x$with_fontconfig" in
11154 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11156 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11157 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11161 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
11164 $as_echo_n "checking for -lssl... " >&6; }
11165 if ${ac_cv_lib_soname_ssl+:} false; then :
11166 $as_echo_n "(cached) " >&6
11168 ac_check_soname_save_LIBS=$LIBS
11170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11171 /* end confdefs.h. */
11173 /* Override any GCC internal prototype to avoid an error.
11174 Use char because int might match the return type of a GCC
11175 builtin and then its argument prototype would still apply. */
11179 char SSL_library_init ();
11183 return SSL_library_init ();
11188 if ac_fn_c_try_link "$LINENO"; then :
11190 dll) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11191 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'` ;;
11192 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11195 rm -f core conftest.err conftest.$ac_objext \
11196 conftest$ac_exeext conftest.$ac_ext
11197 LIBS=$ac_check_soname_save_LIBS
11199 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11201 $as_echo "not found" >&6; }
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
11205 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
11207 cat >>confdefs.h <<_ACEOF
11208 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
11214 $as_echo_n "checking for -lcrypto... " >&6; }
11215 if ${ac_cv_lib_soname_crypto+:} false; then :
11216 $as_echo_n "(cached) " >&6
11218 ac_check_soname_save_LIBS=$LIBS
11219 LIBS="-lcrypto $LIBS"
11220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11221 /* end confdefs.h. */
11223 /* Override any GCC internal prototype to avoid an error.
11224 Use char because int might match the return type of a GCC
11225 builtin and then its argument prototype would still apply. */
11229 char BIO_new_socket ();
11233 return BIO_new_socket ();
11238 if ac_fn_c_try_link "$LINENO"; then :
11240 dll) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11241 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'` ;;
11242 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11245 rm -f core conftest.err conftest.$ac_objext \
11246 conftest$ac_exeext conftest.$ac_ext
11247 LIBS=$ac_check_soname_save_LIBS
11249 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11251 $as_echo "not found" >&6; }
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
11255 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
11257 cat >>confdefs.h <<_ACEOF
11258 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
11264 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
11265 case "x$with_openssl" in
11266 x) as_fn_append wine_warnings "|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
11268 *) as_fn_error $? "OpenSSL ${notice_platform}development files not found, SSL won't be supported.
11269 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
11273 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11276 $as_echo_n "checking for -lgsm... " >&6; }
11277 if ${ac_cv_lib_soname_gsm+:} false; then :
11278 $as_echo_n "(cached) " >&6
11280 ac_check_soname_save_LIBS=$LIBS
11282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11283 /* end confdefs.h. */
11285 /* Override any GCC internal prototype to avoid an error.
11286 Use char because int might match the return type of a GCC
11287 builtin and then its argument prototype would still apply. */
11291 char gsm_create ();
11295 return gsm_create ();
11300 if ac_fn_c_try_link "$LINENO"; then :
11302 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11303 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'` ;;
11304 *) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11307 rm -f core conftest.err conftest.$ac_objext \
11308 conftest$ac_exeext conftest.$ac_ext
11309 LIBS=$ac_check_soname_save_LIBS
11311 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11313 $as_echo "not found" >&6; }
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11317 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11319 cat >>confdefs.h <<_ACEOF
11320 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11326 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11327 case "x$with_gsm" in
11328 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11330 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11331 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11335 if test "$ac_cv_header_jpeglib_h" = "yes"
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11338 $as_echo_n "checking for -ljpeg... " >&6; }
11339 if ${ac_cv_lib_soname_jpeg+:} false; then :
11340 $as_echo_n "(cached) " >&6
11342 ac_check_soname_save_LIBS=$LIBS
11343 LIBS="-ljpeg $LIBS"
11344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11345 /* end confdefs.h. */
11347 /* Override any GCC internal prototype to avoid an error.
11348 Use char because int might match the return type of a GCC
11349 builtin and then its argument prototype would still apply. */
11353 char jpeg_start_decompress ();
11357 return jpeg_start_decompress ();
11362 if ac_fn_c_try_link "$LINENO"; then :
11364 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11365 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'` ;;
11366 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11369 rm -f core conftest.err conftest.$ac_objext \
11370 conftest$ac_exeext conftest.$ac_ext
11371 LIBS=$ac_check_soname_save_LIBS
11373 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11375 $as_echo "not found" >&6; }
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11379 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11381 cat >>confdefs.h <<_ACEOF
11382 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11388 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11389 case "x$with_jpeg" in
11390 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11392 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11393 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11397 if test "$ac_cv_header_png_h" = "yes"
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11400 $as_echo_n "checking for -lpng... " >&6; }
11401 if ${ac_cv_lib_soname_png+:} false; then :
11402 $as_echo_n "(cached) " >&6
11404 ac_check_soname_save_LIBS=$LIBS
11405 LIBS="-lpng -lm -lz $LIBS"
11406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11407 /* end confdefs.h. */
11409 /* Override any GCC internal prototype to avoid an error.
11410 Use char because int might match the return type of a GCC
11411 builtin and then its argument prototype would still apply. */
11415 char png_create_read_struct ();
11419 return png_create_read_struct ();
11424 if ac_fn_c_try_link "$LINENO"; then :
11426 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11427 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'` ;;
11428 *) 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'` ;;
11431 rm -f core conftest.err conftest.$ac_objext \
11432 conftest$ac_exeext conftest.$ac_ext
11433 LIBS=$ac_check_soname_save_LIBS
11435 if test "x$ac_cv_lib_soname_png" = "x"; then :
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11437 $as_echo "not found" >&6; }
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11441 $as_echo "$ac_cv_lib_soname_png" >&6; }
11443 cat >>confdefs.h <<_ACEOF
11444 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11450 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11451 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false; then :
11452 $as_echo_n "(cached) " >&6
11454 ac_check_lib_save_LIBS=$LIBS
11455 LIBS="-lpng -lm -lz $LIBS"
11456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11457 /* end confdefs.h. */
11459 /* Override any GCC internal prototype to avoid an error.
11460 Use char because int might match the return type of a GCC
11461 builtin and then its argument prototype would still apply. */
11465 char png_set_expand_gray_1_2_4_to_8 ();
11469 return png_set_expand_gray_1_2_4_to_8 ();
11474 if ac_fn_c_try_link "$LINENO"; then :
11475 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11477 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11479 rm -f core conftest.err conftest.$ac_objext \
11480 conftest$ac_exeext conftest.$ac_ext
11481 LIBS=$ac_check_lib_save_LIBS
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11484 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11485 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes; then :
11487 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11492 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11494 ac_save_CPPFLAGS="$CPPFLAGS"
11495 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11496 $as_unset ac_cv_header_png_h
11497 for ac_header in png.h
11499 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11500 if test "x$ac_cv_header_png_h" = xyes; then :
11501 cat >>confdefs.h <<_ACEOF
11502 #define HAVE_PNG_H 1
11509 CPPFLAGS="$ac_save_CPPFLAGS"
11510 if test "$ac_cv_header_png_h" = "yes"
11512 PNGINCL="$X_CFLAGS"
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11515 $as_echo_n "checking for -lpng... " >&6; }
11516 if ${ac_cv_lib_soname_png+:} false; then :
11517 $as_echo_n "(cached) " >&6
11519 ac_check_soname_save_LIBS=$LIBS
11520 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11522 /* end confdefs.h. */
11524 /* Override any GCC internal prototype to avoid an error.
11525 Use char because int might match the return type of a GCC
11526 builtin and then its argument prototype would still apply. */
11530 char png_create_read_struct ();
11534 return png_create_read_struct ();
11539 if ac_fn_c_try_link "$LINENO"; then :
11541 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11542 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'` ;;
11543 *) 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'` ;;
11546 rm -f core conftest.err conftest.$ac_objext \
11547 conftest$ac_exeext conftest.$ac_ext
11548 LIBS=$ac_check_soname_save_LIBS
11550 if test "x$ac_cv_lib_soname_png" = "x"; then :
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11552 $as_echo "not found" >&6; }
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11556 $as_echo "$ac_cv_lib_soname_png" >&6; }
11558 cat >>confdefs.h <<_ACEOF
11559 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11565 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11566 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false; then :
11567 $as_echo_n "(cached) " >&6
11569 ac_check_lib_save_LIBS=$LIBS
11570 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11572 /* end confdefs.h. */
11574 /* Override any GCC internal prototype to avoid an error.
11575 Use char because int might match the return type of a GCC
11576 builtin and then its argument prototype would still apply. */
11580 char png_set_expand_gray_1_2_4_to_8 ();
11584 return png_set_expand_gray_1_2_4_to_8 ();
11589 if ac_fn_c_try_link "$LINENO"; then :
11590 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11592 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11594 rm -f core conftest.err conftest.$ac_objext \
11595 conftest$ac_exeext conftest.$ac_ext
11596 LIBS=$ac_check_lib_save_LIBS
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11599 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11600 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes; then :
11601 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11607 if test "x$ac_cv_lib_soname_png" = "x"; then :
11608 case "x$with_png" in
11609 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11611 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
11612 This is an error since --with-png was requested." "$LINENO" 5 ;;
11616 if test "$ac_cv_header_tiffio_h" = "yes"
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11619 $as_echo_n "checking for -ltiff... " >&6; }
11620 if ${ac_cv_lib_soname_tiff+:} false; then :
11621 $as_echo_n "(cached) " >&6
11623 ac_check_soname_save_LIBS=$LIBS
11624 LIBS="-ltiff $LIBS"
11625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11626 /* end confdefs.h. */
11628 /* Override any GCC internal prototype to avoid an error.
11629 Use char because int might match the return type of a GCC
11630 builtin and then its argument prototype would still apply. */
11634 char TIFFClientOpen ();
11638 return TIFFClientOpen ();
11643 if ac_fn_c_try_link "$LINENO"; then :
11645 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11646 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'` ;;
11647 *) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11650 rm -f core conftest.err conftest.$ac_objext \
11651 conftest$ac_exeext conftest.$ac_ext
11652 LIBS=$ac_check_soname_save_LIBS
11654 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11656 $as_echo "not found" >&6; }
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11660 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11662 cat >>confdefs.h <<_ACEOF
11663 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11669 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11670 case "x$with_tiff" in
11671 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11673 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
11674 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11678 if test "$ac_cv_header_mpg123_h" = "yes"
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11681 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11682 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
11683 $as_echo_n "(cached) " >&6
11685 ac_check_lib_save_LIBS=$LIBS
11686 LIBS="-lmpg123 $LIBS"
11687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11688 /* end confdefs.h. */
11690 /* Override any GCC internal prototype to avoid an error.
11691 Use char because int might match the return type of a GCC
11692 builtin and then its argument prototype would still apply. */
11696 char mpg123_feed ();
11700 return mpg123_feed ();
11705 if ac_fn_c_try_link "$LINENO"; then :
11706 ac_cv_lib_mpg123_mpg123_feed=yes
11708 ac_cv_lib_mpg123_mpg123_feed=no
11710 rm -f core conftest.err conftest.$ac_objext \
11711 conftest$ac_exeext conftest.$ac_ext
11712 LIBS=$ac_check_lib_save_LIBS
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11715 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11716 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
11717 LIBMPG123="-lmpg123"
11722 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
11723 case "x$with_mpg123" in
11724 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11726 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11727 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11730 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}
11732 if test "$ac_cv_header_AL_al_h" = "yes"
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
11735 $as_echo_n "checking for -lopenal... " >&6; }
11736 if ${ac_cv_lib_soname_openal+:} false; then :
11737 $as_echo_n "(cached) " >&6
11739 ac_check_soname_save_LIBS=$LIBS
11740 LIBS="-lopenal $LIBS"
11741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11742 /* end confdefs.h. */
11744 /* Override any GCC internal prototype to avoid an error.
11745 Use char because int might match the return type of a GCC
11746 builtin and then its argument prototype would still apply. */
11750 char alGetSource3i ();
11754 return alGetSource3i ();
11759 if ac_fn_c_try_link "$LINENO"; then :
11761 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11762 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'` ;;
11763 *) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11766 rm -f core conftest.err conftest.$ac_objext \
11767 conftest$ac_exeext conftest.$ac_ext
11768 LIBS=$ac_check_soname_save_LIBS
11770 if test "x$ac_cv_lib_soname_openal" = "x"; then :
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11772 $as_echo "not found" >&6; }
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
11776 $as_echo "$ac_cv_lib_soname_openal" >&6; }
11778 cat >>confdefs.h <<_ACEOF
11779 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
11782 LIBOPENAL="-lopenal"
11784 ac_cv_lib_openal=yes
11786 cat >>confdefs.h <<_ACEOF
11787 #define HAVE_OPENAL 1
11792 if test "x$ac_cv_lib_openal" != xyes; then :
11793 case "x$with_openal" in
11794 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
11796 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11797 This is an error since --with-openal was requested." "$LINENO" 5 ;;
11800 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
11802 if test "$ac_cv_header_kstat_h" = "yes"
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
11805 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11806 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
11807 $as_echo_n "(cached) " >&6
11809 ac_check_lib_save_LIBS=$LIBS
11810 LIBS="-lkstat $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 kstat_open ();
11824 return kstat_open ();
11829 if ac_fn_c_try_link "$LINENO"; then :
11830 ac_cv_lib_kstat_kstat_open=yes
11832 ac_cv_lib_kstat_kstat_open=no
11834 rm -f core conftest.err conftest.$ac_objext \
11835 conftest$ac_exeext conftest.$ac_ext
11836 LIBS=$ac_check_lib_save_LIBS
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
11839 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
11840 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
11842 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
11851 $as_echo_n "checking for -lodbc... " >&6; }
11852 if ${ac_cv_lib_soname_odbc+:} false; then :
11853 $as_echo_n "(cached) " >&6
11855 ac_check_soname_save_LIBS=$LIBS
11856 LIBS="-lodbc $LIBS"
11857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11858 /* end confdefs.h. */
11860 /* Override any GCC internal prototype to avoid an error.
11861 Use char because int might match the return type of a GCC
11862 builtin and then its argument prototype would still apply. */
11866 char SQLConnect ();
11870 return SQLConnect ();
11875 if ac_fn_c_try_link "$LINENO"; then :
11877 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11878 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'` ;;
11879 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11882 rm -f core conftest.err conftest.$ac_objext \
11883 conftest$ac_exeext conftest.$ac_ext
11884 LIBS=$ac_check_soname_save_LIBS
11886 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11888 $as_echo "not found" >&6; }
11889 cat >>confdefs.h <<_ACEOF
11890 #define SONAME_LIBODBC "libodbc.$LIBEXT"
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
11895 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
11897 cat >>confdefs.h <<_ACEOF
11898 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
11904 test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
11905 test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
11906 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
11907 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
11909 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
11910 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
11911 "x$with_alsa$with_coreaudio$with_oss" != xnonono
11913 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
11919 if test "x${GCC}" = "xyes"
11921 EXTRACFLAGS="-Wall -pipe"
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
11924 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
11925 if ${ac_cv_c_gcc_strength_bug+:} false; then :
11926 $as_echo_n "(cached) " >&6
11928 if test "$cross_compiling" = yes; then :
11929 ac_cv_c_gcc_strength_bug="yes"
11931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11932 /* end confdefs.h. */
11933 int L[4] = {0,1,2,3};
11937 static int Array[3];
11938 unsigned int B = 3;
11940 for(i=0; i<B; i++) Array[i] = i - 3;
11941 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
11943 return (Array[1] != -2 || L[2] != 3)
11948 if ac_fn_c_try_run "$LINENO"; then :
11949 ac_cv_c_gcc_strength_bug="no"
11951 ac_cv_c_gcc_strength_bug="yes"
11953 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11954 conftest.$ac_objext conftest.beam conftest.$ac_ext
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
11959 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
11960 if test "$ac_cv_c_gcc_strength_bug" = "yes"
11962 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
11966 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
11967 if ${ac_cv_cflags__fno_builtin+:} false; then :
11968 $as_echo_n "(cached) " >&6
11970 ac_wine_try_cflags_saved=$CFLAGS
11971 CFLAGS="$CFLAGS -fno-builtin"
11972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11973 /* end confdefs.h. */
11974 int main(int argc, char **argv) { return 0; }
11976 if ac_fn_c_try_link "$LINENO"; then :
11977 ac_cv_cflags__fno_builtin=yes
11979 ac_cv_cflags__fno_builtin=no
11981 rm -f core conftest.err conftest.$ac_objext \
11982 conftest$ac_exeext conftest.$ac_ext
11983 CFLAGS=$ac_wine_try_cflags_saved
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
11986 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
11987 if test $ac_cv_cflags__fno_builtin = yes; then :
11988 BUILTINFLAG="-fno-builtin"
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
11992 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
11993 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
11994 $as_echo_n "(cached) " >&6
11996 ac_wine_try_cflags_saved=$CFLAGS
11997 CFLAGS="$CFLAGS -fno-strict-aliasing"
11998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11999 /* end confdefs.h. */
12000 int main(int argc, char **argv) { return 0; }
12002 if ac_fn_c_try_link "$LINENO"; then :
12003 ac_cv_cflags__fno_strict_aliasing=yes
12005 ac_cv_cflags__fno_strict_aliasing=no
12007 rm -f core conftest.err conftest.$ac_objext \
12008 conftest$ac_exeext conftest.$ac_ext
12009 CFLAGS=$ac_wine_try_cflags_saved
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12012 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12013 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12014 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12017 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12018 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
12019 $as_echo_n "(cached) " >&6
12021 ac_wine_try_cflags_saved=$CFLAGS
12022 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12024 /* end confdefs.h. */
12025 int main(int argc, char **argv) { return 0; }
12027 if ac_fn_c_try_link "$LINENO"; then :
12028 ac_cv_cflags__Wdeclaration_after_statement=yes
12030 ac_cv_cflags__Wdeclaration_after_statement=no
12032 rm -f core conftest.err conftest.$ac_objext \
12033 conftest$ac_exeext conftest.$ac_ext
12034 CFLAGS=$ac_wine_try_cflags_saved
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12037 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12038 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12039 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12042 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12043 if ${ac_cv_cflags__Wempty_body+:} false; then :
12044 $as_echo_n "(cached) " >&6
12046 ac_wine_try_cflags_saved=$CFLAGS
12047 CFLAGS="$CFLAGS -Wempty-body"
12048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12049 /* end confdefs.h. */
12050 int main(int argc, char **argv) { return 0; }
12052 if ac_fn_c_try_link "$LINENO"; then :
12053 ac_cv_cflags__Wempty_body=yes
12055 ac_cv_cflags__Wempty_body=no
12057 rm -f core conftest.err conftest.$ac_objext \
12058 conftest$ac_exeext conftest.$ac_ext
12059 CFLAGS=$ac_wine_try_cflags_saved
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12062 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12063 if test $ac_cv_cflags__Wempty_body = yes; then :
12064 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12067 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12068 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
12069 $as_echo_n "(cached) " >&6
12071 ac_wine_try_cflags_saved=$CFLAGS
12072 CFLAGS="$CFLAGS -Wstrict-prototypes"
12073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12074 /* end confdefs.h. */
12075 int main(int argc, char **argv) { return 0; }
12077 if ac_fn_c_try_link "$LINENO"; then :
12078 ac_cv_cflags__Wstrict_prototypes=yes
12080 ac_cv_cflags__Wstrict_prototypes=no
12082 rm -f core conftest.err conftest.$ac_objext \
12083 conftest$ac_exeext conftest.$ac_ext
12084 CFLAGS=$ac_wine_try_cflags_saved
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12087 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12088 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12089 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12092 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12093 if ${ac_cv_cflags__Wtype_limits+:} false; then :
12094 $as_echo_n "(cached) " >&6
12096 ac_wine_try_cflags_saved=$CFLAGS
12097 CFLAGS="$CFLAGS -Wtype-limits"
12098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12099 /* end confdefs.h. */
12100 int main(int argc, char **argv) { return 0; }
12102 if ac_fn_c_try_link "$LINENO"; then :
12103 ac_cv_cflags__Wtype_limits=yes
12105 ac_cv_cflags__Wtype_limits=no
12107 rm -f core conftest.err conftest.$ac_objext \
12108 conftest$ac_exeext conftest.$ac_ext
12109 CFLAGS=$ac_wine_try_cflags_saved
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12112 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12113 if test $ac_cv_cflags__Wtype_limits = yes; then :
12114 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12117 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12118 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
12119 $as_echo_n "(cached) " >&6
12121 ac_wine_try_cflags_saved=$CFLAGS
12122 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
12123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12124 /* end confdefs.h. */
12125 int main(int argc, char **argv) { return 0; }
12127 if ac_fn_c_try_link "$LINENO"; then :
12128 ac_cv_cflags__Wunused_but_set_parameter=yes
12130 ac_cv_cflags__Wunused_but_set_parameter=no
12132 rm -f core conftest.err conftest.$ac_objext \
12133 conftest$ac_exeext conftest.$ac_ext
12134 CFLAGS=$ac_wine_try_cflags_saved
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12137 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12138 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12139 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12142 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12143 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
12144 $as_echo_n "(cached) " >&6
12146 ac_wine_try_cflags_saved=$CFLAGS
12147 CFLAGS="$CFLAGS -Wwrite-strings"
12148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12149 /* end confdefs.h. */
12150 int main(int argc, char **argv) { return 0; }
12152 if ac_fn_c_try_link "$LINENO"; then :
12153 ac_cv_cflags__Wwrite_strings=yes
12155 ac_cv_cflags__Wwrite_strings=no
12157 rm -f core conftest.err conftest.$ac_objext \
12158 conftest$ac_exeext conftest.$ac_ext
12159 CFLAGS=$ac_wine_try_cflags_saved
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12162 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12163 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12164 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12168 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12169 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12170 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
12171 $as_echo_n "(cached) " >&6
12173 ac_wine_try_cflags_saved=$CFLAGS
12174 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
12175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12176 /* end confdefs.h. */
12177 int main(int argc, char **argv) { return 0; }
12179 if ac_fn_c_try_link "$LINENO"; then :
12180 ac_cv_cflags__fno_omit_frame_pointer=yes
12182 ac_cv_cflags__fno_omit_frame_pointer=no
12184 rm -f core conftest.err conftest.$ac_objext \
12185 conftest$ac_exeext conftest.$ac_ext
12186 CFLAGS=$ac_wine_try_cflags_saved
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12189 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12190 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12191 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
12195 saved_CFLAGS="$CFLAGS"
12196 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12198 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12199 if ${ac_cv_c_string_h_warnings+:} false; then :
12200 $as_echo_n "(cached) " >&6
12202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12203 /* end confdefs.h. */
12204 #include <string.h>
12213 if ac_fn_c_try_compile "$LINENO"; then :
12214 ac_cv_c_string_h_warnings=no
12216 ac_cv_c_string_h_warnings=yes
12218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12221 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12222 CFLAGS="$saved_CFLAGS"
12223 if test "$ac_cv_c_string_h_warnings" = "no"
12225 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12228 saved_CFLAGS="$CFLAGS"
12229 CFLAGS="$CFLAGS -Wlogical-op -Werror"
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12231 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12232 if ${ac_cv_c_logicalop_noisy+:} false; then :
12233 $as_echo_n "(cached) " >&6
12235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12236 /* end confdefs.h. */
12237 #include <string.h>
12241 char*f(const char *h,char n) {return strchr(h,n);}
12246 if ac_fn_c_try_compile "$LINENO"; then :
12247 ac_cv_c_logicalop_noisy=no
12249 ac_cv_c_logicalop_noisy=yes
12251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12254 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12255 CFLAGS="$saved_CFLAGS"
12256 if test "$ac_cv_c_logicalop_noisy" = "no"
12258 EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
12261 if test "x$enable_maintainer_mode" = "xyes"
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12264 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12265 if ${ac_cv_cflags__Werror+:} false; then :
12266 $as_echo_n "(cached) " >&6
12268 ac_wine_try_cflags_saved=$CFLAGS
12269 CFLAGS="$CFLAGS -Werror"
12270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12271 /* end confdefs.h. */
12272 int main(int argc, char **argv) { return 0; }
12274 if ac_fn_c_try_link "$LINENO"; then :
12275 ac_cv_cflags__Werror=yes
12277 ac_cv_cflags__Werror=no
12279 rm -f core conftest.err conftest.$ac_objext \
12280 conftest$ac_exeext conftest.$ac_ext
12281 CFLAGS=$ac_wine_try_cflags_saved
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12284 $as_echo "$ac_cv_cflags__Werror" >&6; }
12285 if test $ac_cv_cflags__Werror = yes; then :
12286 EXTRACFLAGS="$EXTRACFLAGS -Werror"
12290 saved_CFLAGS="$CFLAGS"
12291 CFLAGS="$CFLAGS -Werror"
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12293 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12294 if ${ac_cv_have_ms_hook_prologue+:} false; then :
12295 $as_echo_n "(cached) " >&6
12297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12298 /* end confdefs.h. */
12299 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12308 if ac_fn_c_try_compile "$LINENO"; then :
12309 ac_cv_have_ms_hook_prologue="yes"
12311 ac_cv_have_ms_hook_prologue="no"
12313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12316 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12317 CFLAGS="$saved_CFLAGS"
12318 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12321 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12324 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12331 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12332 if ${ac_cv_c_fortify_enabled+:} false; then :
12333 $as_echo_n "(cached) " >&6
12335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12336 /* end confdefs.h. */
12337 #include <string.h>
12341 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12342 #error Fortify enabled
12348 if ac_fn_c_try_compile "$LINENO"; then :
12349 ac_cv_c_fortify_enabled=no
12351 ac_cv_c_fortify_enabled=yes
12353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12356 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12357 if test "$ac_cv_c_fortify_enabled" = yes
12359 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12364 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12365 if ${ac_cv_c_extern_prefix+:} false; then :
12366 $as_echo_n "(cached) " >&6
12368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12369 /* end confdefs.h. */
12370 extern int ac_test;
12374 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12379 if ac_fn_c_try_link "$LINENO"; then :
12380 ac_cv_c_extern_prefix="yes"
12382 ac_cv_c_extern_prefix="no"
12384 rm -f core conftest.err conftest.$ac_objext \
12385 conftest$ac_exeext conftest.$ac_ext
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12388 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12393 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12394 if ${ac_cv_c_stdcall_suffix+:} false; then :
12395 $as_echo_n "(cached) " >&6
12397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12398 /* end confdefs.h. */
12400 #define __stdcall __attribute__((__stdcall__))
12402 int __stdcall ac_test(int i) { return i; }
12406 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12411 if ac_fn_c_try_link "$LINENO"; then :
12412 ac_cv_c_stdcall_suffix="yes"
12414 ac_cv_c_stdcall_suffix="no"
12416 rm -f core conftest.err conftest.$ac_objext \
12417 conftest$ac_exeext conftest.$ac_ext
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12420 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12421 *) ac_cv_c_stdcall_suffix="no" ;;
12425 if test "$ac_cv_c_extern_prefix" = "yes"
12427 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12429 asm_name_prefix="_"
12431 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12437 if test "$ac_cv_c_stdcall_suffix" = "yes"
12439 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12442 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12448 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12449 if ${ac_cv_asm_func_def+:} false; then :
12450 $as_echo_n "(cached) " >&6
12452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12453 /* end confdefs.h. */
12458 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12463 if ac_fn_c_try_link "$LINENO"; then :
12464 ac_cv_asm_func_def=".def"
12466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12467 /* end confdefs.h. */
12472 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12477 if ac_fn_c_try_link "$LINENO"; then :
12478 ac_cv_asm_func_def=".type @function"
12480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12481 /* end confdefs.h. */
12486 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12491 if ac_fn_c_try_link "$LINENO"; then :
12492 ac_cv_asm_func_def=".type 2"
12494 ac_cv_asm_func_def="unknown"
12496 rm -f core conftest.err conftest.$ac_objext \
12497 conftest$ac_exeext conftest.$ac_ext
12499 rm -f core conftest.err conftest.$ac_objext \
12500 conftest$ac_exeext conftest.$ac_ext
12502 rm -f core conftest.err conftest.$ac_objext \
12503 conftest$ac_exeext conftest.$ac_ext
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12506 $as_echo "$ac_cv_asm_func_def" >&6; }
12509 case "$ac_cv_asm_func_def" in
12511 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12513 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12515 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12517 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
12519 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12521 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
12523 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12525 asm_func_header="" ;;
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12529 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12530 if ${ac_cv_c_asm_outside_funcs+:} false; then :
12531 $as_echo_n "(cached) " >&6
12533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12534 /* end confdefs.h. */
12535 asm(".text\n\t.long 0");
12544 if ac_fn_c_try_compile "$LINENO"; then :
12545 ac_cv_c_asm_outside_funcs="yes"
12547 ac_cv_c_asm_outside_funcs="no"
12549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12552 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12555 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12556 if ${ac_cv_c_dot_previous+:} false; then :
12557 $as_echo_n "(cached) " >&6
12559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12560 /* end confdefs.h. */
12565 asm(".text\nac_test:\t.long 0\n\t.previous");
12570 if ac_fn_c_try_link "$LINENO"; then :
12571 ac_cv_c_dot_previous="yes"
12573 ac_cv_c_dot_previous="no"
12575 rm -f core conftest.err conftest.$ac_objext \
12576 conftest$ac_exeext conftest.$ac_ext
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12579 $as_echo "$ac_cv_c_dot_previous" >&6; }
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12582 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12583 if ${ac_cv_c_cfi_support+:} false; then :
12584 $as_echo_n "(cached) " >&6
12586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12587 /* end confdefs.h. */
12588 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12597 if ac_fn_c_try_compile "$LINENO"; then :
12598 ac_cv_c_cfi_support="yes"
12600 ac_cv_c_cfi_support="no"
12602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12605 $as_echo "$ac_cv_c_cfi_support" >&6; }
12607 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12608 asm_func_trailer=""
12609 if test "$ac_cv_c_dot_previous" = "yes"
12611 asm_func_trailer="\\n\\t.previous"
12613 if test "$ac_cv_c_cfi_support" = "yes"
12615 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
12616 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
12618 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12620 UNWINDFLAGS=-fasynchronous-unwind-tables
12623 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12627 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
12630 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12632 cat >>confdefs.h <<_ACEOF
12633 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12637 cat >>confdefs.h <<_ACEOF
12638 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12643 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12646 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12656 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12661 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12669 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
12676 test "x$enable_win64" != "xyes" || MAIN_BINARY="wine64"
12681 *i[3456789]86*) EXTRA_BINARIES="wine-preloader"
12683 x86_64*) EXTRA_BINARIES="wine64-preloader"
12690 ac_save_CFLAGS="$CFLAGS"
12691 CFLAGS="$CFLAGS $BUILTINFLAG"
12768 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12769 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12770 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12771 cat >>confdefs.h <<_ACEOF
12772 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12778 CFLAGS="$ac_save_CFLAGS"
12780 if test "$ac_cv_func_dlopen" = no
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12783 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12784 if ${ac_cv_lib_dl_dlopen+:} false; then :
12785 $as_echo_n "(cached) " >&6
12787 ac_check_lib_save_LIBS=$LIBS
12789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12790 /* end confdefs.h. */
12792 /* Override any GCC internal prototype to avoid an error.
12793 Use char because int might match the return type of a GCC
12794 builtin and then its argument prototype would still apply. */
12807 if ac_fn_c_try_link "$LINENO"; then :
12808 ac_cv_lib_dl_dlopen=yes
12810 ac_cv_lib_dl_dlopen=no
12812 rm -f core conftest.err conftest.$ac_objext \
12813 conftest$ac_exeext conftest.$ac_ext
12814 LIBS=$ac_check_lib_save_LIBS
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12817 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12818 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12819 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
12825 ac_wine_check_funcs_save_LIBS="$LIBS"
12826 LIBS="$LIBS $LIBDL"
12827 for ac_func in dladdr
12829 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
12830 if test "x$ac_cv_func_dladdr" = xyes; then :
12831 cat >>confdefs.h <<_ACEOF
12832 #define HAVE_DLADDR 1
12838 LIBS="$ac_wine_check_funcs_save_LIBS"
12840 if test "$ac_cv_func_poll" = no
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
12843 $as_echo_n "checking for poll in -lpoll... " >&6; }
12844 if ${ac_cv_lib_poll_poll+:} false; then :
12845 $as_echo_n "(cached) " >&6
12847 ac_check_lib_save_LIBS=$LIBS
12848 LIBS="-lpoll $LIBS"
12849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12850 /* end confdefs.h. */
12852 /* Override any GCC internal prototype to avoid an error.
12853 Use char because int might match the return type of a GCC
12854 builtin and then its argument prototype would still apply. */
12867 if ac_fn_c_try_link "$LINENO"; then :
12868 ac_cv_lib_poll_poll=yes
12870 ac_cv_lib_poll_poll=no
12872 rm -f core conftest.err conftest.$ac_objext \
12873 conftest$ac_exeext conftest.$ac_ext
12874 LIBS=$ac_check_lib_save_LIBS
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
12877 $as_echo "$ac_cv_lib_poll_poll" >&6; }
12878 if test "x$ac_cv_lib_poll_poll" = xyes; then :
12879 $as_echo "#define HAVE_POLL 1" >>confdefs.h
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
12887 $as_echo_n "checking for library containing gethostbyname... " >&6; }
12888 if ${ac_cv_search_gethostbyname+:} false; then :
12889 $as_echo_n "(cached) " >&6
12891 ac_func_search_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. */
12901 char gethostbyname ();
12905 return gethostbyname ();
12910 for ac_lib in '' nsl; do
12911 if test -z "$ac_lib"; then
12912 ac_res="none required"
12915 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12917 if ac_fn_c_try_link "$LINENO"; then :
12918 ac_cv_search_gethostbyname=$ac_res
12920 rm -f core conftest.err conftest.$ac_objext \
12922 if ${ac_cv_search_gethostbyname+:} false; then :
12926 if ${ac_cv_search_gethostbyname+:} false; then :
12929 ac_cv_search_gethostbyname=no
12931 rm conftest.$ac_ext
12932 LIBS=$ac_func_search_save_LIBS
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
12935 $as_echo "$ac_cv_search_gethostbyname" >&6; }
12936 ac_res=$ac_cv_search_gethostbyname
12937 if test "$ac_res" != no; then :
12938 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
12944 $as_echo_n "checking for library containing connect... " >&6; }
12945 if ${ac_cv_search_connect+:} false; then :
12946 $as_echo_n "(cached) " >&6
12948 ac_func_search_save_LIBS=$LIBS
12949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12950 /* end confdefs.h. */
12952 /* Override any GCC internal prototype to avoid an error.
12953 Use char because int might match the return type of a GCC
12954 builtin and then its argument prototype would still apply. */
12967 for ac_lib in '' socket; do
12968 if test -z "$ac_lib"; then
12969 ac_res="none required"
12972 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12974 if ac_fn_c_try_link "$LINENO"; then :
12975 ac_cv_search_connect=$ac_res
12977 rm -f core conftest.err conftest.$ac_objext \
12979 if ${ac_cv_search_connect+:} false; then :
12983 if ${ac_cv_search_connect+:} false; then :
12986 ac_cv_search_connect=no
12988 rm conftest.$ac_ext
12989 LIBS=$ac_func_search_save_LIBS
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
12992 $as_echo "$ac_cv_search_connect" >&6; }
12993 ac_res=$ac_cv_search_connect
12994 if test "$ac_res" != no; then :
12995 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13001 $as_echo_n "checking for library containing inet_aton... " >&6; }
13002 if ${ac_cv_search_inet_aton+:} false; then :
13003 $as_echo_n "(cached) " >&6
13005 ac_func_search_save_LIBS=$LIBS
13006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13007 /* end confdefs.h. */
13009 /* Override any GCC internal prototype to avoid an error.
13010 Use char because int might match the return type of a GCC
13011 builtin and then its argument prototype would still apply. */
13019 return inet_aton ();
13024 for ac_lib in '' resolv; do
13025 if test -z "$ac_lib"; then
13026 ac_res="none required"
13029 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13031 if ac_fn_c_try_link "$LINENO"; then :
13032 ac_cv_search_inet_aton=$ac_res
13034 rm -f core conftest.err conftest.$ac_objext \
13036 if ${ac_cv_search_inet_aton+:} false; then :
13040 if ${ac_cv_search_inet_aton+:} false; then :
13043 ac_cv_search_inet_aton=no
13045 rm conftest.$ac_ext
13046 LIBS=$ac_func_search_save_LIBS
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13049 $as_echo "$ac_cv_search_inet_aton" >&6; }
13050 ac_res=$ac_cv_search_inet_aton
13051 if test "$ac_res" != no; then :
13052 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13071 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13072 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13073 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13074 cat >>confdefs.h <<_ACEOF
13075 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13084 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13086 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13088 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13090 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13091 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
13092 $as_echo_n "(cached) " >&6
13094 ac_check_lib_save_LIBS=$LIBS
13095 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13097 /* end confdefs.h. */
13099 /* Override any GCC internal prototype to avoid an error.
13100 Use char because int might match the return type of a GCC
13101 builtin and then its argument prototype would still apply. */
13105 char ldap_initialize ();
13109 return ldap_initialize ();
13114 if ac_fn_c_try_link "$LINENO"; then :
13115 ac_cv_lib_ldap_r_ldap_initialize=yes
13117 ac_cv_lib_ldap_r_ldap_initialize=no
13119 rm -f core conftest.err conftest.$ac_objext \
13120 conftest$ac_exeext conftest.$ac_ext
13121 LIBS=$ac_check_lib_save_LIBS
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13124 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13125 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13127 $as_echo_n "checking for ber_init in -llber... " >&6; }
13128 if ${ac_cv_lib_lber_ber_init+:} false; then :
13129 $as_echo_n "(cached) " >&6
13131 ac_check_lib_save_LIBS=$LIBS
13132 LIBS="-llber $LIBPTHREAD $LIBS"
13133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13134 /* end confdefs.h. */
13136 /* Override any GCC internal prototype to avoid an error.
13137 Use char because int might match the return type of a GCC
13138 builtin and then its argument prototype would still apply. */
13146 return ber_init ();
13151 if ac_fn_c_try_link "$LINENO"; then :
13152 ac_cv_lib_lber_ber_init=yes
13154 ac_cv_lib_lber_ber_init=no
13156 rm -f core conftest.err conftest.$ac_objext \
13157 conftest$ac_exeext conftest.$ac_ext
13158 LIBS=$ac_check_lib_save_LIBS
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13161 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13162 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
13164 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13166 LDAPLIBS="-lldap_r -llber"
13173 ac_wine_check_funcs_save_LIBS="$LIBS"
13174 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13176 ldap_count_references \
13177 ldap_first_reference \
13178 ldap_next_reference \
13179 ldap_parse_reference \
13180 ldap_parse_sort_control \
13181 ldap_parse_sortresponse_control \
13182 ldap_parse_vlv_control \
13183 ldap_parse_vlvresponse_control
13185 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13186 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13187 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13188 cat >>confdefs.h <<_ACEOF
13189 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13195 LIBS="$ac_wine_check_funcs_save_LIBS"
13197 if test "x$LDAPLIBS" = "x"; then :
13198 case "x$with_ldap" in
13199 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13201 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13202 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13207 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13208 if ${wine_cv_one_arg_mkdir+:} false; then :
13209 $as_echo_n "(cached) " >&6
13211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13212 /* end confdefs.h. */
13213 #include <sys/stat.h>
13222 if ac_fn_c_try_compile "$LINENO"; then :
13223 wine_cv_one_arg_mkdir=yes
13225 wine_cv_one_arg_mkdir=no
13227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13230 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13231 if test "$wine_cv_one_arg_mkdir" = "yes"
13234 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13239 $as_echo_n "checking for sched_setaffinity... " >&6; }
13240 if ${wine_cv_have_sched_setaffinity+:} false; then :
13241 $as_echo_n "(cached) " >&6
13243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13244 /* end confdefs.h. */
13245 #define _GNU_SOURCE
13250 sched_setaffinity(0, 0, 0);
13255 if ac_fn_c_try_link "$LINENO"; then :
13256 wine_cv_have_sched_setaffinity=yes
13258 wine_cv_have_sched_setaffinity=no
13260 rm -f core conftest.err conftest.$ac_objext \
13261 conftest$ac_exeext conftest.$ac_ext
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13264 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13265 if test "$wine_cv_have_sched_setaffinity" = "yes"
13268 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13274 $as_echo_n "checking for inline... " >&6; }
13275 if ${ac_cv_c_inline+:} false; then :
13276 $as_echo_n "(cached) " >&6
13279 for ac_kw in inline __inline__ __inline; do
13280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13281 /* end confdefs.h. */
13282 #ifndef __cplusplus
13284 static $ac_kw foo_t static_foo () {return 0; }
13285 $ac_kw foo_t foo () {return 0; }
13289 if ac_fn_c_try_compile "$LINENO"; then :
13290 ac_cv_c_inline=$ac_kw
13292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13293 test "$ac_cv_c_inline" != no && break
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13298 $as_echo "$ac_cv_c_inline" >&6; }
13300 case $ac_cv_c_inline in
13303 case $ac_cv_c_inline in
13305 *) ac_val=$ac_cv_c_inline;;
13307 cat >>confdefs.h <<_ACEOF
13308 #ifndef __cplusplus
13309 #define inline $ac_val
13315 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13316 if test "x$ac_cv_type_mode_t" = xyes; then :
13318 cat >>confdefs.h <<_ACEOF
13319 #define HAVE_MODE_T 1
13324 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13325 if test "x$ac_cv_type_off_t" = xyes; then :
13327 cat >>confdefs.h <<_ACEOF
13328 #define HAVE_OFF_T 1
13333 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13334 if test "x$ac_cv_type_pid_t" = xyes; then :
13336 cat >>confdefs.h <<_ACEOF
13337 #define HAVE_PID_T 1
13342 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13343 if test "x$ac_cv_type_size_t" = xyes; then :
13345 cat >>confdefs.h <<_ACEOF
13346 #define HAVE_SIZE_T 1
13351 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13352 if test "x$ac_cv_type_ssize_t" = xyes; then :
13354 cat >>confdefs.h <<_ACEOF
13355 #define HAVE_SSIZE_T 1
13360 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13361 if test "x$ac_cv_type_long_long" = xyes; then :
13363 cat >>confdefs.h <<_ACEOF
13364 #define HAVE_LONG_LONG 1
13369 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13370 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
13372 cat >>confdefs.h <<_ACEOF
13373 #define HAVE_FSBLKCNT_T 1
13378 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13379 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
13381 cat >>confdefs.h <<_ACEOF
13382 #define HAVE_FSFILCNT_T 1
13388 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13389 #include <signal.h>
13391 if test "x$ac_cv_type_sigset_t" = xyes; then :
13393 cat >>confdefs.h <<_ACEOF
13394 #define HAVE_SIGSET_T 1
13400 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13402 if test "x$ac_cv_type_request_sense" = xyes; then :
13404 cat >>confdefs.h <<_ACEOF
13405 #define HAVE_REQUEST_SENSE 1
13412 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13413 #ifdef HAVE_SYS_SOCKET_H
13414 #include <sys/socket.h>
13416 #ifdef HAVE_SYS_SOCKETVAR_H
13417 #include <sys/socketvar.h>
13419 #ifdef HAVE_NET_ROUTE_H
13420 #include <net/route.h>
13422 #ifdef HAVE_NETINET_IN_H
13423 #include <netinet/in.h>
13425 #ifdef HAVE_NETINET_IN_SYSTM_H
13426 #include <netinet/in_systm.h>
13428 #ifdef HAVE_NETINET_IP_H
13429 #include <netinet/ip.h>
13431 #ifdef HAVE_NETINET_IN_PCB_H
13432 #include <netinet/in_pcb.h>
13435 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
13437 cat >>confdefs.h <<_ACEOF
13438 #define HAVE_STRUCT_XINPGEN 1
13445 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13446 #include <linux/input.h>
13449 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
13451 cat >>confdefs.h <<_ACEOF
13452 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13460 $as_echo_n "checking for sigaddset... " >&6; }
13461 if ${wine_cv_have_sigaddset+:} false; then :
13462 $as_echo_n "(cached) " >&6
13464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13465 /* end confdefs.h. */
13466 #include <signal.h>
13470 sigset_t set; sigaddset(&set,SIGTERM);
13475 if ac_fn_c_try_link "$LINENO"; then :
13476 wine_cv_have_sigaddset=yes
13478 wine_cv_have_sigaddset=no
13480 rm -f core conftest.err conftest.$ac_objext \
13481 conftest$ac_exeext conftest.$ac_ext
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13484 $as_echo "$wine_cv_have_sigaddset" >&6; }
13485 if test "$wine_cv_have_sigaddset" = "yes"
13488 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13494 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13495 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
13496 $as_echo_n "(cached) " >&6
13498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13499 /* end confdefs.h. */
13507 struct hostent *result;
13514 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13515 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13521 if ac_fn_c_try_link "$LINENO"; then :
13522 wine_cv_linux_gethostbyname_r_6=yes
13524 wine_cv_linux_gethostbyname_r_6=no
13527 rm -f core conftest.err conftest.$ac_objext \
13528 conftest$ac_exeext conftest.$ac_ext
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13532 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13533 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13536 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13540 if test "$ac_cv_header_linux_joystick_h" = "yes"
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13543 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13544 if ${wine_cv_linux_joystick_22_api+:} false; then :
13545 $as_echo_n "(cached) " >&6
13547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13548 /* end confdefs.h. */
13550 #include <sys/ioctl.h>
13551 #include <sys/types.h>
13552 #include <linux/joystick.h>
13554 struct js_event blub;
13555 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13556 #error "no 2.2 header"
13567 if ac_fn_c_try_compile "$LINENO"; then :
13568 wine_cv_linux_joystick_22_api=yes
13570 wine_cv_linux_joystick_22_api=no
13572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13576 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13577 if test "$wine_cv_linux_joystick_22_api" = "yes"
13580 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
13586 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
13587 #ifdef HAVE_SYS_PARAM_H
13588 # include <sys/param.h>
13590 #ifdef HAVE_SYS_MOUNT_H
13591 # include <sys/mount.h>
13593 #ifdef HAVE_SYS_VFS_H
13594 # include <sys/vfs.h>
13596 #ifdef HAVE_SYS_STATFS_H
13597 # include <sys/statfs.h>
13600 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
13602 cat >>confdefs.h <<_ACEOF
13603 #define HAVE_STRUCT_STATFS_F_BFREE 1
13608 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
13609 #ifdef HAVE_SYS_PARAM_H
13610 # include <sys/param.h>
13612 #ifdef HAVE_SYS_MOUNT_H
13613 # include <sys/mount.h>
13615 #ifdef HAVE_SYS_VFS_H
13616 # include <sys/vfs.h>
13618 #ifdef HAVE_SYS_STATFS_H
13619 # include <sys/statfs.h>
13622 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
13624 cat >>confdefs.h <<_ACEOF
13625 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
13630 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
13631 #ifdef HAVE_SYS_PARAM_H
13632 # include <sys/param.h>
13634 #ifdef HAVE_SYS_MOUNT_H
13635 # include <sys/mount.h>
13637 #ifdef HAVE_SYS_VFS_H
13638 # include <sys/vfs.h>
13640 #ifdef HAVE_SYS_STATFS_H
13641 # include <sys/statfs.h>
13644 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
13646 cat >>confdefs.h <<_ACEOF
13647 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
13652 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
13653 #ifdef HAVE_SYS_PARAM_H
13654 # include <sys/param.h>
13656 #ifdef HAVE_SYS_MOUNT_H
13657 # include <sys/mount.h>
13659 #ifdef HAVE_SYS_VFS_H
13660 # include <sys/vfs.h>
13662 #ifdef HAVE_SYS_STATFS_H
13663 # include <sys/statfs.h>
13666 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
13668 cat >>confdefs.h <<_ACEOF
13669 #define HAVE_STRUCT_STATFS_F_FFREE 1
13674 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
13675 #ifdef HAVE_SYS_PARAM_H
13676 # include <sys/param.h>
13678 #ifdef HAVE_SYS_MOUNT_H
13679 # include <sys/mount.h>
13681 #ifdef HAVE_SYS_VFS_H
13682 # include <sys/vfs.h>
13684 #ifdef HAVE_SYS_STATFS_H
13685 # include <sys/statfs.h>
13688 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
13690 cat >>confdefs.h <<_ACEOF
13691 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
13696 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
13697 #ifdef HAVE_SYS_PARAM_H
13698 # include <sys/param.h>
13700 #ifdef HAVE_SYS_MOUNT_H
13701 # include <sys/mount.h>
13703 #ifdef HAVE_SYS_VFS_H
13704 # include <sys/vfs.h>
13706 #ifdef HAVE_SYS_STATFS_H
13707 # include <sys/statfs.h>
13710 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
13712 cat >>confdefs.h <<_ACEOF
13713 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
13720 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
13721 #include <sys/statvfs.h>
13724 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
13726 cat >>confdefs.h <<_ACEOF
13727 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
13734 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
13735 #ifdef HAVE_SYS_SOCKET_H
13736 # include <sys/socket.h>
13738 #ifdef HAVE_SYS_UN_H
13739 # include <sys/un.h>
13742 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
13744 cat >>confdefs.h <<_ACEOF
13745 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
13750 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
13751 #ifdef HAVE_SYS_SOCKET_H
13752 # include <sys/socket.h>
13754 #ifdef HAVE_SYS_UN_H
13755 # include <sys/un.h>
13758 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
13760 cat >>confdefs.h <<_ACEOF
13761 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
13766 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
13767 #ifdef HAVE_SYS_SOCKET_H
13768 # include <sys/socket.h>
13770 #ifdef HAVE_SYS_UN_H
13771 # include <sys/un.h>
13774 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
13776 cat >>confdefs.h <<_ACEOF
13777 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
13784 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
13785 #ifdef HAVE_SCSI_SG_H
13786 #include <scsi/sg.h>
13789 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
13791 cat >>confdefs.h <<_ACEOF
13792 #define HAVE_SCSIREQ_T_CMD 1
13797 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>
13798 #ifdef HAVE_SCSI_SG_H
13799 #include <scsi/sg.h>
13802 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
13804 cat >>confdefs.h <<_ACEOF
13805 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
13812 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
13814 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
13816 cat >>confdefs.h <<_ACEOF
13817 #define HAVE_SIGINFO_T_SI_FD 1
13824 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
13825 #ifdef HAVE_SYS_MTIO_H
13826 #include <sys/mtio.h>
13829 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
13831 cat >>confdefs.h <<_ACEOF
13832 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
13837 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
13838 #ifdef HAVE_SYS_MTIO_H
13839 #include <sys/mtio.h>
13842 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
13844 cat >>confdefs.h <<_ACEOF
13845 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
13850 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
13851 #ifdef HAVE_SYS_MTIO_H
13852 #include <sys/mtio.h>
13855 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
13857 cat >>confdefs.h <<_ACEOF
13858 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
13865 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
13866 #include <getopt.h>
13869 if test "x$ac_cv_member_struct_option_name" = xyes; then :
13871 cat >>confdefs.h <<_ACEOF
13872 #define HAVE_STRUCT_OPTION_NAME 1
13879 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
13880 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
13882 cat >>confdefs.h <<_ACEOF
13883 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13888 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
13889 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
13891 cat >>confdefs.h <<_ACEOF
13892 #define HAVE_STRUCT_STAT_ST_MTIM 1
13897 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
13898 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
13900 cat >>confdefs.h <<_ACEOF
13901 #define HAVE_STRUCT_STAT_ST_CTIM 1
13906 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
13907 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
13909 cat >>confdefs.h <<_ACEOF
13910 #define HAVE_STRUCT_STAT_ST_ATIM 1
13917 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
13918 #include <sys/types.h>
13920 #ifdef HAVE_NETINET_IN_H
13921 #include <netinet/in.h>
13924 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
13926 cat >>confdefs.h <<_ACEOF
13927 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
13934 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
13935 #include <sys/types.h>
13937 #ifdef HAVE_NETINET_IN_H
13938 # include <netinet/in.h>
13940 #ifdef HAVE_ARPA_NAMESER_H
13941 # include <arpa/nameser.h>
13944 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
13946 cat >>confdefs.h <<_ACEOF
13947 #define HAVE_NS_MSG__MSG_PTR 1
13954 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
13955 #include <sys/types.h>
13957 #ifdef HAVE_ALIAS_H
13960 #ifdef HAVE_SYS_SOCKET_H
13961 #include <sys/socket.h>
13963 #ifdef HAVE_SYS_SOCKETVAR_H
13964 #include <sys/socketvar.h>
13966 #ifdef HAVE_SYS_TIMEOUT_H
13967 #include <sys/timeout.h>
13969 #ifdef HAVE_NETINET_IN_H
13970 #include <netinet/in.h>
13972 #ifdef HAVE_NETINET_IN_SYSTM_H
13973 #include <netinet/in_systm.h>
13975 #ifdef HAVE_NETINET_IP_H
13976 #include <netinet/ip.h>
13978 #ifdef HAVE_NETINET_IP_VAR_H
13979 #include <netinet/ip_var.h>
13981 #ifdef HAVE_NETINET_IP_ICMP_H
13982 #include <netinet/ip_icmp.h>
13984 #ifdef HAVE_NETINET_ICMP_VAR
13985 #include <netinet/icmp_var.h>
13988 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
13990 cat >>confdefs.h <<_ACEOF
13991 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
13998 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
13999 #include <sys/types.h>
14001 #ifdef HAVE_NET_IF_H
14002 # include <net/if.h>
14005 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
14007 cat >>confdefs.h <<_ACEOF
14008 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14016 $as_echo_n "checking for timezone variable... " >&6; }
14017 if ${ac_cv_have_timezone+:} false; then :
14018 $as_echo_n "(cached) " >&6
14020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14021 /* end confdefs.h. */
14031 if ac_fn_c_try_link "$LINENO"; then :
14032 ac_cv_have_timezone="yes"
14034 ac_cv_have_timezone="no"
14036 rm -f core conftest.err conftest.$ac_objext \
14037 conftest$ac_exeext conftest.$ac_ext
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14040 $as_echo "$ac_cv_have_timezone" >&6; }
14041 if test "$ac_cv_have_timezone" = "yes"
14044 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14048 $as_echo_n "checking for daylight variable... " >&6; }
14049 if ${ac_cv_have_daylight+:} false; then :
14050 $as_echo_n "(cached) " >&6
14052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14053 /* end confdefs.h. */
14063 if ac_fn_c_try_link "$LINENO"; then :
14064 ac_cv_have_daylight="yes"
14066 ac_cv_have_daylight="no"
14068 rm -f core conftest.err conftest.$ac_objext \
14069 conftest$ac_exeext conftest.$ac_ext
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14072 $as_echo "$ac_cv_have_daylight" >&6; }
14073 if test "$ac_cv_have_daylight" = "yes"
14076 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14080 ac_save_LIBS="$LIBS"
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14083 $as_echo_n "checking for isinf... " >&6; }
14084 if ${ac_cv_have_isinf+:} false; then :
14085 $as_echo_n "(cached) " >&6
14087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14088 /* end confdefs.h. */
14093 float f = 0.0; return isinf(f)
14098 if ac_fn_c_try_link "$LINENO"; then :
14099 ac_cv_have_isinf="yes"
14101 ac_cv_have_isinf="no"
14103 rm -f core conftest.err conftest.$ac_objext \
14104 conftest$ac_exeext conftest.$ac_ext
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14107 $as_echo "$ac_cv_have_isinf" >&6; }
14108 if test "$ac_cv_have_isinf" = "yes"
14111 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14116 $as_echo_n "checking for isnan... " >&6; }
14117 if ${ac_cv_have_isnan+:} false; then :
14118 $as_echo_n "(cached) " >&6
14120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14121 /* end confdefs.h. */
14126 float f = 0.0; return isnan(f)
14131 if ac_fn_c_try_link "$LINENO"; then :
14132 ac_cv_have_isnan="yes"
14134 ac_cv_have_isnan="no"
14136 rm -f core conftest.err conftest.$ac_objext \
14137 conftest$ac_exeext conftest.$ac_ext
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14140 $as_echo "$ac_cv_have_isnan" >&6; }
14141 if test "$ac_cv_have_isnan" = "yes"
14144 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14147 LIBS="$ac_save_LIBS"
14151 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14152 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14153 if ${ac_cv_cpp_def___i386__+:} false; then :
14154 $as_echo_n "(cached) " >&6
14156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14157 /* end confdefs.h. */
14162 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14163 $EGREP "yes" >/dev/null 2>&1; then :
14164 ac_cv_cpp_def___i386__=yes
14166 ac_cv_cpp_def___i386__=no
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
14172 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
14173 if test $ac_cv_cpp_def___i386__ = yes; then :
14174 CFLAGS="$CFLAGS -D__i386__"
14175 LINTFLAGS="$LINTFLAGS -D__i386__"
14177 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
14178 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
14179 if ${ac_cv_cpp_def___x86_64__+:} false; then :
14180 $as_echo_n "(cached) " >&6
14182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14183 /* end confdefs.h. */
14188 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14189 $EGREP "yes" >/dev/null 2>&1; then :
14190 ac_cv_cpp_def___x86_64__=yes
14192 ac_cv_cpp_def___x86_64__=no
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
14198 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
14199 if test $ac_cv_cpp_def___x86_64__ = yes; then :
14200 CFLAGS="$CFLAGS -D__x86_64__"
14201 LINTFLAGS="$LINTFLAGS -D__x86_64__"
14203 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
14204 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
14205 if ${ac_cv_cpp_def___sparc64__+:} false; then :
14206 $as_echo_n "(cached) " >&6
14208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h. */
14210 #ifndef __sparc64__
14214 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14215 $EGREP "yes" >/dev/null 2>&1; then :
14216 ac_cv_cpp_def___sparc64__=yes
14218 ac_cv_cpp_def___sparc64__=no
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
14224 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
14225 if test $ac_cv_cpp_def___sparc64__ = yes; then :
14226 CFLAGS="$CFLAGS -D__sparc64__"
14227 LINTFLAGS="$LINTFLAGS -D__sparc64__"
14229 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
14230 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
14231 if ${ac_cv_cpp_def___sparc__+:} false; then :
14232 $as_echo_n "(cached) " >&6
14234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14235 /* end confdefs.h. */
14240 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14241 $EGREP "yes" >/dev/null 2>&1; then :
14242 ac_cv_cpp_def___sparc__=yes
14244 ac_cv_cpp_def___sparc__=no
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
14250 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
14251 if test $ac_cv_cpp_def___sparc__ = yes; then :
14252 CFLAGS="$CFLAGS -D__sparc__"
14253 LINTFLAGS="$LINTFLAGS -D__sparc__"
14255 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
14256 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
14257 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
14258 $as_echo_n "(cached) " >&6
14260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14261 /* end confdefs.h. */
14262 #ifndef __powerpc64__
14266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14267 $EGREP "yes" >/dev/null 2>&1; then :
14268 ac_cv_cpp_def___powerpc64__=yes
14270 ac_cv_cpp_def___powerpc64__=no
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
14276 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
14277 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
14278 CFLAGS="$CFLAGS -D__powerpc64__"
14279 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
14281 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
14282 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
14283 if ${ac_cv_cpp_def___powerpc__+:} false; then :
14284 $as_echo_n "(cached) " >&6
14286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14287 /* end confdefs.h. */
14288 #ifndef __powerpc__
14292 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14293 $EGREP "yes" >/dev/null 2>&1; then :
14294 ac_cv_cpp_def___powerpc__=yes
14296 ac_cv_cpp_def___powerpc__=no
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
14302 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
14303 if test $ac_cv_cpp_def___powerpc__ = yes; then :
14304 CFLAGS="$CFLAGS -D__powerpc__"
14305 LINTFLAGS="$LINTFLAGS -D__powerpc__"
14307 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
14308 $as_echo_n "checking whether we need to define __arm__... " >&6; }
14309 if ${ac_cv_cpp_def___arm__+:} false; then :
14310 $as_echo_n "(cached) " >&6
14312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14313 /* end confdefs.h. */
14318 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14319 $EGREP "yes" >/dev/null 2>&1; then :
14320 ac_cv_cpp_def___arm__=yes
14322 ac_cv_cpp_def___arm__=no
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
14328 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
14329 if test $ac_cv_cpp_def___arm__ = yes; then :
14330 CFLAGS="$CFLAGS -D__arm__"
14331 LINTFLAGS="$LINTFLAGS -D__arm__"
14335 case $host_vendor in
14336 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
14337 $as_echo_n "checking whether we need to define __sun__... " >&6; }
14338 if ${ac_cv_cpp_def___sun__+:} false; then :
14339 $as_echo_n "(cached) " >&6
14341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14342 /* end confdefs.h. */
14347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14348 $EGREP "yes" >/dev/null 2>&1; then :
14349 ac_cv_cpp_def___sun__=yes
14351 ac_cv_cpp_def___sun__=no
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
14357 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
14358 if test $ac_cv_cpp_def___sun__ = yes; then :
14359 CFLAGS="$CFLAGS -D__sun__"
14360 LINTFLAGS="$LINTFLAGS -D__sun__"
14368 ac_config_commands="$ac_config_commands include/stamp-h"
14371 ALL_MAKEFILE_DEPENDS="
14372 # Rules automatically generated by configure
14377 Makefile: Makefile.in Make.vars.in Make.rules config.status
14378 @./config.status Make.tmp Makefile"
14381 ALL_TEST_RESOURCES=""
14384 wine_fn_append_file ()
14386 as_fn_append $1 " \\$as_nl $2"
14389 wine_fn_append_rule ()
14391 as_fn_append $1 "$as_nl$2"
14394 wine_fn_has_flag ()
14396 expr ",$2," : ".*,$1,.*" >/dev/null
14399 wine_fn_all_dir_rules ()
14403 ac_makedep="\$(MAKEDEP)"
14404 ac_input=Make.vars.in:$ac_dir/Makefile.in
14405 if test $ac_dir != tools
14407 ac_alldeps="$2 $ac_makedep"
14410 *.in) ac_input=$ac_input:$2 ;;
14411 *) ac_makedep="$2 $ac_makedep" ;;
14414 wine_fn_append_file ALL_DIRS $ac_dir
14415 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14416 "__clean__: $ac_dir/__clean__
14417 .PHONY: $ac_dir/__clean__
14418 $ac_dir/__clean__: $ac_dir/Makefile
14419 @cd $ac_dir && \$(MAKE) clean
14420 \$(RM) $ac_dir/Makefile
14421 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
14422 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
14423 depend: $ac_dir/__depend__
14424 .PHONY: $ac_dir/__depend__
14425 $ac_dir/__depend__: $ac_makedep dummy
14426 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
14429 wine_fn_pot_rules ()
14434 test "x$with_gettextpo" = xyes || return
14436 if wine_fn_has_flag mc $ac_flags
14438 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
14439 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14440 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
14441 @cd $ac_dir && \$(MAKE) msg.pot
14442 $ac_dir/msg.pot: tools/wmc include"
14444 if wine_fn_has_flag po $ac_flags
14446 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
14447 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14448 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
14449 @cd $ac_dir && \$(MAKE) rsrc.pot
14450 $ac_dir/rsrc.pot: tools/wrc include"
14454 wine_fn_config_makefile ()
14460 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14464 wine_fn_all_dir_rules $ac_dir ${ac_rules:-Make.rules}
14465 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14468 $ac_dir: $ac_dir/Makefile dummy
14469 @cd $ac_dir && \$(MAKE)"
14471 wine_fn_has_flag install-lib $ac_flags || wine_fn_has_flag install-dev $ac_flags || return
14473 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14474 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14475 $ac_dir/__install__:: $ac_dir
14476 @cd $ac_dir && \$(MAKE) install
14477 $ac_dir/__uninstall__:: $ac_dir/Makefile
14478 @cd $ac_dir && \$(MAKE) uninstall
14479 install:: $ac_dir/__install__
14480 __uninstall__: $ac_dir/__uninstall__"
14482 if wine_fn_has_flag install-lib $ac_flags
14484 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14485 ".PHONY: $ac_dir/__install-lib__
14486 $ac_dir/__install-lib__:: $ac_dir
14487 @cd $ac_dir && \$(MAKE) install-lib
14488 install-lib:: $ac_dir/__install-lib__"
14491 if wine_fn_has_flag install-dev $ac_flags
14493 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14494 ".PHONY: $ac_dir/__install-dev
14495 $ac_dir/__install-dev__:: $ac_dir
14496 @cd $ac_dir && \$(MAKE) install-dev
14497 install-dev:: $ac_dir/__install-dev__"
14501 wine_fn_config_lib ()
14505 ac_dir=dlls/$ac_name
14506 wine_fn_config_makefile $ac_dir enable_$ac_name "$ac_flags" dlls/Makeimplib.rules
14508 if wine_fn_has_flag install-dev $ac_flags
14511 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14512 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14513 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
14514 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
14515 $ac_dir/__uninstall__::
14516 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
14517 install install-dev:: $ac_dir/__install__
14518 __uninstall__: $ac_dir/__uninstall__"
14521 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: $ac_dir"
14522 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: tools/widl tools/winebuild tools/winegcc include"
14525 wine_fn_config_dll ()
14528 ac_dir=dlls/$ac_name
14531 ac_implib=${4:-$ac_name}
14532 ac_file=$ac_dir/lib$ac_implib
14534 ac_deps="tools/widl tools/winebuild tools/winegcc include"
14538 *16) ac_implibflags=" -m16" ;;
14540 *) ac_dll=$ac_dll.dll ;;
14543 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" dlls/Makedll.rules
14545 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14546 test "$ac_enable" != enable_win16 || return 0
14547 wine_fn_has_flag implib $ac_flags && wine_fn_all_dir_rules $ac_dir dlls/Makedll.rules
14549 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14550 "$ac_dir: __builddeps__
14551 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
14552 @cd $ac_dir && \$(MAKE) \$@"
14554 if wine_fn_has_flag install-lib $ac_flags
14557 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14558 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
14559 install install-lib:: $ac_dir/__install-lib__
14560 __uninstall__: $ac_dir/__uninstall__"
14561 if test -n "$DLLEXT"
14563 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14564 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
14565 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
14566 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
14567 $ac_dir/__uninstall__::
14568 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
14570 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14571 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
14572 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
14573 $ac_dir/__uninstall__::
14574 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
14578 wine_fn_pot_rules $ac_dir $ac_flags
14581 if wine_fn_has_flag staticimplib $ac_flags
14583 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14584 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
14585 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
14586 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
14587 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
14588 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
14589 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
14590 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
14591 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
14592 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14593 $ac_dir/__uninstall__::
14594 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14595 install install-dev:: $ac_dir/__install-dev__
14596 __uninstall__: $ac_dir/__uninstall__"
14598 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
14600 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14601 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
14602 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
14603 $ac_dir/__uninstall__::
14604 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
14607 if test "x$CROSSTEST_DISABLE" = x
14609 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14610 "__builddeps__: $ac_file.cross.a
14611 $ac_file.cross.a: $ac_dir/Makefile dummy
14612 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
14615 elif wine_fn_has_flag implib $ac_flags
14617 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14618 "__builddeps__: $ac_file.$IMPLIBEXT
14619 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14620 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14621 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14622 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14623 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
14624 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
14625 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14626 $ac_dir/__uninstall__::
14627 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14628 install install-dev:: $ac_dir/__install-dev__
14629 __uninstall__: $ac_dir/__uninstall__"
14630 if test "x$CROSSTEST_DISABLE" = x
14632 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14633 "__builddeps__: $ac_file.cross.a
14634 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14635 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
14638 if test "$ac_name" != "$ac_implib"
14640 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14641 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
14642 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
14643 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
14645 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
14646 if test "x$CROSSTEST_DISABLE" = x
14648 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14649 "__builddeps__: dlls/lib$ac_implib.cross.a
14650 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
14651 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
14657 wine_fn_config_program ()
14660 ac_dir=programs/$ac_name
14663 ac_program=$ac_name
14667 *) ac_program=$ac_program.exe ;;
14670 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" programs/Makeprog.rules
14672 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14675 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14676 "$ac_dir: __builddeps__"
14678 wine_fn_pot_rules $ac_dir $ac_flags
14680 wine_fn_has_flag install $ac_flags || return
14681 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14682 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14683 install install-lib:: $ac_dir/__install__
14684 __uninstall__: $ac_dir/__uninstall__"
14686 if test -n "$DLLEXT"
14688 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14689 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
14690 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
14691 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
14692 $ac_dir/__uninstall__::
14693 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
14695 if test "x$enable_tools" != xno && wine_fn_has_flag installbin $ac_flags
14697 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14698 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
14699 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
14700 $ac_dir/__uninstall__::
14701 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
14704 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14705 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
14706 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
14707 $ac_dir/__uninstall__::
14708 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
14711 if test "x$enable_tools" != xno && wine_fn_has_flag manpage $ac_flags
14713 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14714 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
14715 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
14716 $ac_dir/__uninstall__::
14717 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
14722 wine_fn_config_test ()
14727 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
14728 wine_fn_all_dir_rules $ac_dir Maketest.rules
14730 if test "x$enable_tests" = xno; then :
14733 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14736 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
14737 @cd $ac_dir && \$(MAKE)
14738 programs/winetest: $ac_dir
14739 check test: $ac_dir/__test__
14740 .PHONY: $ac_dir/__test__
14741 $ac_dir/__test__: dummy
14742 @cd $ac_dir && \$(MAKE) test
14744 \$(RM) $ac_dir/*.ok"
14746 if test "x$CROSSTEST_DISABLE" = x
14748 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14749 "crosstest: $ac_dir/__crosstest__
14750 .PHONY: $ac_dir/__crosstest__
14751 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
14752 @cd $ac_dir && \$(MAKE) crosstest"
14757 wine_fn_config_tool ()
14761 if test "x$enable_tools" = xno; then :
14765 wine_fn_config_makefile $ac_dir enable_tools $ac_flags
14767 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__tooldeps__: $ac_dir"
14768 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: libs/port"
14770 tools/winebuild) wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(WINEBUILD): $ac_dir" ;;
14774 wine_fn_config_makerules ()
14778 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14779 "$ac_rules: $ac_rules.in $ac_deps config.status
14780 @./config.status $ac_rules
14785 wine_fn_config_symlink ()
14788 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14790 @./config.status $ac_link
14795 if test "x$CROSSTEST_DISABLE" != x
14797 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14799 @echo \"crosstest is not supported (mingw not installed?)\" && false"
14801 ac_config_links="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
14802 wine_fn_config_symlink dlls/shell32/AUTHORS
14803 ac_config_links="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
14804 test "$srcdir" = "." || wine_fn_config_symlink dlls/wineps.drv/generic.ppd
14805 if test "x$enable_fonts" != xno; then
14806 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
14807 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf
14809 if test "x$enable_fonts" != xno; then
14810 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
14811 test "$srcdir" = "." || wine_fn_config_symlink fonts/symbol.ttf
14813 if test "x$enable_fonts" != xno; then
14814 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
14815 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahoma.ttf
14817 if test "x$enable_fonts" != xno; then
14818 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
14819 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahomabd.ttf
14821 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
14822 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
14823 if test "x$enable_tools" != xno; then
14824 ac_config_links="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
14825 test "$srcdir" = "." || wine_fn_config_symlink tools/l_intl.nls
14827 ac_config_links="$ac_config_links wine:tools/winewrapper"
14828 wine_fn_config_symlink wine
14829 if test "x$enable_win64" != xno; then
14830 ac_config_links="$ac_config_links wine64:tools/winewrapper"
14831 wine_fn_config_symlink wine64
14834 ac_config_commands="$ac_config_commands dlls/gdi32/dibdrv"
14836 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
14838 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
14840 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
14842 ac_config_commands="$ac_config_commands dlls/user32/resources"
14844 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
14846 ac_config_commands="$ac_config_commands include/wine"
14849 wine_fn_config_makerules Make.rules
14850 MAKE_RULES=Make.rules
14851 ac_config_files="$ac_config_files Make.rules"
14853 wine_fn_config_makerules Maketest.rules Make.rules
14854 MAKE_TEST_RULES=Maketest.rules
14855 ac_config_files="$ac_config_files Maketest.rules"
14857 wine_fn_config_makerules dlls/Makedll.rules Make.rules
14858 MAKE_DLL_RULES=dlls/Makedll.rules
14859 ac_config_files="$ac_config_files dlls/Makedll.rules"
14861 wine_fn_config_makerules dlls/Makeimplib.rules Make.rules
14862 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
14863 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
14865 wine_fn_config_makerules programs/Makeprog.rules Make.rules
14866 MAKE_PROG_RULES=programs/Makeprog.rules
14867 ac_config_files="$ac_config_files programs/Makeprog.rules"
14870 wine_fn_config_dll acledit enable_acledit
14871 wine_fn_config_dll aclui enable_aclui implib
14872 wine_fn_config_dll activeds enable_activeds implib
14873 wine_fn_config_dll actxprxy enable_actxprxy
14874 wine_fn_config_lib adsiid
14875 wine_fn_config_dll advapi32 enable_advapi32 implib
14876 wine_fn_config_test dlls/advapi32/tests advapi32_test
14877 wine_fn_config_dll advpack enable_advpack implib
14878 wine_fn_config_test dlls/advpack/tests advpack_test
14879 wine_fn_config_dll amstream enable_amstream
14880 wine_fn_config_test dlls/amstream/tests amstream_test
14881 wine_fn_config_dll apphelp enable_apphelp
14882 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
14883 wine_fn_config_dll atl enable_atl implib
14884 wine_fn_config_test dlls/atl/tests atl_test
14885 wine_fn_config_dll authz enable_authz
14886 wine_fn_config_dll avicap32 enable_avicap32 implib
14887 wine_fn_config_dll avifil32 enable_avifil32 implib,po
14888 wine_fn_config_test dlls/avifil32/tests avifil32_test
14889 wine_fn_config_dll avifile.dll16 enable_win16
14890 wine_fn_config_dll avrt enable_avrt implib
14891 wine_fn_config_dll bcrypt enable_bcrypt
14892 wine_fn_config_dll browseui enable_browseui po
14893 wine_fn_config_test dlls/browseui/tests browseui_test
14894 wine_fn_config_dll cabinet enable_cabinet implib
14895 wine_fn_config_test dlls/cabinet/tests cabinet_test
14896 wine_fn_config_dll capi2032 enable_capi2032 implib
14897 wine_fn_config_dll cards enable_cards implib
14898 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
14899 wine_fn_config_dll clusapi enable_clusapi implib
14900 wine_fn_config_dll comcat enable_comcat
14901 wine_fn_config_test dlls/comcat/tests comcat_test
14902 wine_fn_config_dll comctl32 enable_comctl32 implib,po
14903 wine_fn_config_test dlls/comctl32/tests comctl32_test
14904 wine_fn_config_dll comdlg32 enable_comdlg32 implib,po
14905 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
14906 wine_fn_config_dll comm.drv16 enable_win16
14907 wine_fn_config_dll commdlg.dll16 enable_win16
14908 wine_fn_config_dll compobj.dll16 enable_win16
14909 wine_fn_config_dll compstui enable_compstui implib
14910 wine_fn_config_dll credui enable_credui implib,po
14911 wine_fn_config_test dlls/credui/tests credui_test
14912 wine_fn_config_dll crtdll enable_crtdll implib
14913 wine_fn_config_dll crypt32 enable_crypt32 implib,po
14914 wine_fn_config_test dlls/crypt32/tests crypt32_test
14915 wine_fn_config_dll cryptdlg enable_cryptdlg po
14916 wine_fn_config_dll cryptdll enable_cryptdll implib
14917 wine_fn_config_dll cryptnet enable_cryptnet implib
14918 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
14919 wine_fn_config_dll cryptui enable_cryptui implib,po
14920 wine_fn_config_test dlls/cryptui/tests cryptui_test
14921 wine_fn_config_dll ctapi32 enable_ctapi32
14922 wine_fn_config_dll ctl3d.dll16 enable_win16
14923 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
14924 wine_fn_config_dll ctl3dv2.dll16 enable_win16
14925 wine_fn_config_dll d3d10 enable_d3d10 implib
14926 wine_fn_config_test dlls/d3d10/tests d3d10_test
14927 wine_fn_config_dll d3d10core enable_d3d10core implib
14928 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
14929 wine_fn_config_dll d3d8 enable_d3d8 implib
14930 wine_fn_config_test dlls/d3d8/tests d3d8_test
14931 wine_fn_config_dll d3d9 enable_d3d9 implib
14932 wine_fn_config_test dlls/d3d9/tests d3d9_test
14933 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
14934 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
14935 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
14936 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
14937 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
14938 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
14939 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
14940 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
14941 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
14942 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
14943 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
14944 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
14945 wine_fn_config_dll d3dim enable_d3dim implib
14946 wine_fn_config_dll d3drm enable_d3drm implib
14947 wine_fn_config_test dlls/d3drm/tests d3drm_test
14948 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
14949 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
14950 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
14951 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
14952 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
14953 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
14954 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
14955 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
14956 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
14957 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
14958 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
14959 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
14960 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
14961 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
14962 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
14963 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
14964 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
14965 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
14966 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
14967 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
14968 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
14969 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
14970 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
14971 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
14972 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
14973 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
14974 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
14975 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
14976 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
14977 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
14978 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
14979 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
14980 wine_fn_config_dll d3dxof enable_d3dxof implib
14981 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
14982 wine_fn_config_dll dbgeng enable_dbgeng implib
14983 wine_fn_config_dll dbghelp enable_dbghelp implib
14984 wine_fn_config_dll dciman32 enable_dciman32 implib
14985 wine_fn_config_dll ddeml.dll16 enable_win16
14986 wine_fn_config_dll ddraw enable_ddraw implib
14987 wine_fn_config_test dlls/ddraw/tests ddraw_test
14988 wine_fn_config_dll ddrawex enable_ddrawex
14989 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
14990 wine_fn_config_dll devenum enable_devenum po
14991 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
14992 wine_fn_config_dll dinput enable_dinput implib,po,staticimplib
14993 wine_fn_config_test dlls/dinput/tests dinput_test
14994 wine_fn_config_dll dinput8 enable_dinput8 implib
14995 wine_fn_config_test dlls/dinput8/tests dinput8_test
14996 wine_fn_config_dll dispdib.dll16 enable_win16
14997 wine_fn_config_dll dispex enable_dispex
14998 wine_fn_config_test dlls/dispex/tests dispex_test
14999 wine_fn_config_dll display.drv16 enable_win16
15000 wine_fn_config_dll dmband enable_dmband
15001 wine_fn_config_dll dmcompos enable_dmcompos
15002 wine_fn_config_dll dmime enable_dmime
15003 wine_fn_config_test dlls/dmime/tests dmime_test
15004 wine_fn_config_dll dmloader enable_dmloader
15005 wine_fn_config_test dlls/dmloader/tests dmloader_test
15006 wine_fn_config_dll dmscript enable_dmscript
15007 wine_fn_config_dll dmstyle enable_dmstyle
15008 wine_fn_config_dll dmsynth enable_dmsynth
15009 wine_fn_config_dll dmusic enable_dmusic
15010 wine_fn_config_dll dmusic32 enable_dmusic32 implib
15011 wine_fn_config_dll dnsapi enable_dnsapi implib
15012 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
15013 wine_fn_config_dll dplay enable_dplay implib
15014 wine_fn_config_dll dplayx enable_dplayx implib
15015 wine_fn_config_test dlls/dplayx/tests dplayx_test
15016 wine_fn_config_dll dpnaddr enable_dpnaddr
15017 wine_fn_config_dll dpnet enable_dpnet implib
15018 wine_fn_config_test dlls/dpnet/tests dpnet_test
15019 wine_fn_config_dll dpnhpast enable_dpnhpast
15020 wine_fn_config_dll dpnlobby enable_dpnlobby
15021 wine_fn_config_dll dpwsockx enable_dpwsockx
15022 wine_fn_config_dll drmclien enable_drmclien
15023 wine_fn_config_dll dsound enable_dsound implib
15024 wine_fn_config_test dlls/dsound/tests dsound_test
15025 wine_fn_config_dll dssenh enable_dssenh
15026 wine_fn_config_dll dswave enable_dswave
15027 wine_fn_config_dll dwmapi enable_dwmapi implib
15028 wine_fn_config_dll dxdiagn enable_dxdiagn po
15029 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
15030 wine_fn_config_lib dxerr8
15031 wine_fn_config_lib dxerr9
15032 wine_fn_config_dll dxgi enable_dxgi implib
15033 wine_fn_config_test dlls/dxgi/tests dxgi_test
15034 wine_fn_config_lib dxguid
15035 wine_fn_config_dll explorerframe enable_explorerframe
15036 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
15037 wine_fn_config_dll faultrep enable_faultrep implib
15038 wine_fn_config_test dlls/faultrep/tests faultrep_test
15039 wine_fn_config_dll fltlib enable_fltlib
15040 wine_fn_config_dll fusion enable_fusion
15041 wine_fn_config_test dlls/fusion/tests fusion_test
15042 wine_fn_config_dll fwpuclnt enable_fwpuclnt
15043 wine_fn_config_dll gameux enable_gameux
15044 wine_fn_config_test dlls/gameux/tests gameux_test
15045 wine_fn_config_dll gdi.exe16 enable_win16
15046 wine_fn_config_dll gdi32 enable_gdi32 implib,po
15047 wine_fn_config_test dlls/gdi32/tests gdi32_test
15048 wine_fn_config_dll gdiplus enable_gdiplus implib
15049 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
15050 wine_fn_config_dll glu32 enable_glu32 implib
15051 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
15052 wine_fn_config_dll gpkcsp enable_gpkcsp
15053 wine_fn_config_dll hal enable_hal
15054 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx po
15055 wine_fn_config_dll hid enable_hid implib
15056 wine_fn_config_dll hlink enable_hlink implib
15057 wine_fn_config_test dlls/hlink/tests hlink_test
15058 wine_fn_config_dll hnetcfg enable_hnetcfg
15059 wine_fn_config_dll httpapi enable_httpapi
15060 wine_fn_config_dll iccvid enable_iccvid po
15061 wine_fn_config_dll icmp enable_icmp
15062 wine_fn_config_dll ieframe enable_ieframe implib,po
15063 wine_fn_config_test dlls/ieframe/tests ieframe_test
15064 wine_fn_config_dll ifsmgr.vxd enable_win16
15065 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
15066 wine_fn_config_dll imagehlp enable_imagehlp implib
15067 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
15068 wine_fn_config_dll imm.dll16 enable_win16
15069 wine_fn_config_dll imm32 enable_imm32 implib
15070 wine_fn_config_test dlls/imm32/tests imm32_test
15071 wine_fn_config_dll inetcomm enable_inetcomm implib
15072 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
15073 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
15074 wine_fn_config_dll inetmib1 enable_inetmib1
15075 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
15076 wine_fn_config_dll infosoft enable_infosoft
15077 wine_fn_config_test dlls/infosoft/tests infosoft_test
15078 wine_fn_config_dll initpki enable_initpki
15079 wine_fn_config_dll inkobj enable_inkobj
15080 wine_fn_config_dll inseng enable_inseng
15081 wine_fn_config_dll iphlpapi enable_iphlpapi implib
15082 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
15083 wine_fn_config_dll itircl enable_itircl
15084 wine_fn_config_dll itss enable_itss
15085 wine_fn_config_test dlls/itss/tests itss_test
15086 wine_fn_config_dll jscript enable_jscript po
15087 wine_fn_config_test dlls/jscript/tests jscript_test
15088 wine_fn_config_dll kernel32 enable_kernel32 implib,mc
15089 wine_fn_config_test dlls/kernel32/tests kernel32_test
15090 wine_fn_config_dll keyboard.drv16 enable_win16
15091 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
15092 wine_fn_config_dll ktmw32 enable_ktmw32
15093 wine_fn_config_dll loadperf enable_loadperf implib
15094 wine_fn_config_dll localspl enable_localspl po
15095 wine_fn_config_test dlls/localspl/tests localspl_test
15096 wine_fn_config_dll localui enable_localui po
15097 wine_fn_config_test dlls/localui/tests localui_test
15098 wine_fn_config_dll lz32 enable_lz32 implib
15099 wine_fn_config_test dlls/lz32/tests lz32_test
15100 wine_fn_config_dll lzexpand.dll16 enable_win16
15101 wine_fn_config_dll mapi32 enable_mapi32 implib,po
15102 wine_fn_config_test dlls/mapi32/tests mapi32_test
15103 wine_fn_config_dll mapistub enable_mapistub
15104 wine_fn_config_dll mciavi32 enable_mciavi32
15105 wine_fn_config_dll mcicda enable_mcicda
15106 wine_fn_config_dll mciqtz32 enable_mciqtz32
15107 wine_fn_config_dll mciseq enable_mciseq
15108 wine_fn_config_dll mciwave enable_mciwave
15109 wine_fn_config_dll midimap enable_midimap
15110 wine_fn_config_dll mlang enable_mlang implib
15111 wine_fn_config_test dlls/mlang/tests mlang_test
15112 wine_fn_config_dll mmcndmgr enable_mmcndmgr
15113 wine_fn_config_dll mmdevapi enable_mmdevapi
15114 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
15115 wine_fn_config_dll mmdevldr.vxd enable_win16
15116 wine_fn_config_dll mmsystem.dll16 enable_win16
15117 wine_fn_config_dll monodebg.vxd enable_win16
15118 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
15119 wine_fn_config_dll mouse.drv16 enable_win16
15120 wine_fn_config_dll mpr enable_mpr implib,po
15121 wine_fn_config_dll mprapi enable_mprapi implib
15122 wine_fn_config_dll msacm.dll16 enable_win16
15123 wine_fn_config_dll msacm32.drv enable_msacm32_drv
15124 wine_fn_config_dll msacm32 enable_msacm32 implib,po
15125 wine_fn_config_test dlls/msacm32/tests msacm32_test
15126 wine_fn_config_dll msadp32.acm enable_msadp32_acm
15127 wine_fn_config_dll mscat32 enable_mscat32
15128 wine_fn_config_dll mscms enable_mscms implib
15129 wine_fn_config_test dlls/mscms/tests mscms_test
15130 wine_fn_config_dll mscoree enable_mscoree
15131 wine_fn_config_test dlls/mscoree/tests mscoree_test
15132 wine_fn_config_dll msctf enable_msctf
15133 wine_fn_config_test dlls/msctf/tests msctf_test
15134 wine_fn_config_dll msdaps enable_msdaps
15135 wine_fn_config_dll msdmo enable_msdmo implib
15136 wine_fn_config_dll msftedit enable_msftedit
15137 wine_fn_config_dll msg711.acm enable_msg711_acm
15138 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
15139 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
15140 wine_fn_config_dll mshtml enable_mshtml implib,po
15141 wine_fn_config_test dlls/mshtml/tests mshtml_test
15142 wine_fn_config_dll msi enable_msi implib,po
15143 wine_fn_config_test dlls/msi/tests msi_test
15144 wine_fn_config_dll msimg32 enable_msimg32 implib
15145 wine_fn_config_dll msimsg enable_msimsg
15146 wine_fn_config_dll msimtf enable_msimtf
15147 wine_fn_config_dll msisip enable_msisip
15148 wine_fn_config_dll msisys.ocx enable_msisys_ocx
15149 wine_fn_config_dll msnet32 enable_msnet32
15150 wine_fn_config_dll mspatcha enable_mspatcha
15151 wine_fn_config_dll msrle32 enable_msrle32 po
15152 wine_fn_config_dll mssign32 enable_mssign32
15153 wine_fn_config_dll mssip32 enable_mssip32
15154 wine_fn_config_dll mstask enable_mstask
15155 wine_fn_config_test dlls/mstask/tests mstask_test
15156 wine_fn_config_dll msvcirt enable_msvcirt
15157 wine_fn_config_dll msvcp100 enable_msvcp100
15158 wine_fn_config_dll msvcp60 enable_msvcp60
15159 wine_fn_config_dll msvcp70 enable_msvcp70
15160 wine_fn_config_dll msvcp71 enable_msvcp71
15161 wine_fn_config_dll msvcp80 enable_msvcp80
15162 wine_fn_config_dll msvcp90 enable_msvcp90
15163 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
15164 wine_fn_config_dll msvcr100 enable_msvcr100
15165 wine_fn_config_dll msvcr70 enable_msvcr70 implib
15166 wine_fn_config_dll msvcr71 enable_msvcr71 implib
15167 wine_fn_config_dll msvcr80 enable_msvcr80
15168 wine_fn_config_dll msvcr90 enable_msvcr90
15169 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
15170 wine_fn_config_dll msvcrt enable_msvcrt implib
15171 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
15172 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
15173 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
15174 wine_fn_config_dll msvcrtd enable_msvcrtd implib
15175 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
15176 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
15177 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
15178 wine_fn_config_dll msvidc32 enable_msvidc32 po
15179 wine_fn_config_dll msvideo.dll16 enable_win16
15180 wine_fn_config_dll mswsock enable_mswsock implib
15181 wine_fn_config_dll msxml enable_msxml
15182 wine_fn_config_dll msxml2 enable_msxml2
15183 wine_fn_config_dll msxml3 enable_msxml3
15184 wine_fn_config_test dlls/msxml3/tests msxml3_test
15185 wine_fn_config_dll msxml4 enable_msxml4
15186 wine_fn_config_dll msxml6 enable_msxml6
15187 wine_fn_config_dll nddeapi enable_nddeapi implib
15188 wine_fn_config_dll netapi32 enable_netapi32 implib
15189 wine_fn_config_test dlls/netapi32/tests netapi32_test
15190 wine_fn_config_dll newdev enable_newdev implib
15191 wine_fn_config_dll normaliz enable_normaliz implib
15192 wine_fn_config_dll npmshtml enable_npmshtml
15193 wine_fn_config_dll ntdll enable_ntdll implib
15194 wine_fn_config_test dlls/ntdll/tests ntdll_test
15195 wine_fn_config_dll ntdsapi enable_ntdsapi implib
15196 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
15197 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
15198 wine_fn_config_dll ntprint enable_ntprint
15199 wine_fn_config_test dlls/ntprint/tests ntprint_test
15200 wine_fn_config_dll objsel enable_objsel
15201 wine_fn_config_dll odbc32 enable_odbc32 implib
15202 wine_fn_config_dll odbccp32 enable_odbccp32 implib
15203 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
15204 wine_fn_config_dll ole2.dll16 enable_win16
15205 wine_fn_config_dll ole2conv.dll16 enable_win16
15206 wine_fn_config_dll ole2disp.dll16 enable_win16
15207 wine_fn_config_dll ole2nls.dll16 enable_win16
15208 wine_fn_config_dll ole2prox.dll16 enable_win16
15209 wine_fn_config_dll ole2thk.dll16 enable_win16
15210 wine_fn_config_dll ole32 enable_ole32 implib
15211 wine_fn_config_test dlls/ole32/tests ole32_test
15212 wine_fn_config_dll oleacc enable_oleacc implib,po
15213 wine_fn_config_test dlls/oleacc/tests oleacc_test
15214 wine_fn_config_dll oleaut32 enable_oleaut32 implib,po
15215 wine_fn_config_test dlls/oleaut32/tests oleaut32_test
15216 wine_fn_config_dll olecli.dll16 enable_win16
15217 wine_fn_config_dll olecli32 enable_olecli32 implib
15218 wine_fn_config_dll oledb32 enable_oledb32
15219 wine_fn_config_test dlls/oledb32/tests oledb32_test
15220 wine_fn_config_dll oledlg enable_oledlg implib,po
15221 wine_fn_config_dll olepro32 enable_olepro32 implib
15222 wine_fn_config_dll olesvr.dll16 enable_win16
15223 wine_fn_config_dll olesvr32 enable_olesvr32 implib
15224 wine_fn_config_dll olethk32 enable_olethk32
15225 wine_fn_config_dll openal32 enable_openal32
15226 wine_fn_config_dll opencl enable_opencl
15227 wine_fn_config_dll opengl32 enable_opengl32 implib
15228 wine_fn_config_test dlls/opengl32/tests opengl32_test
15229 wine_fn_config_dll pdh enable_pdh implib
15230 wine_fn_config_test dlls/pdh/tests pdh_test
15231 wine_fn_config_dll pidgen enable_pidgen
15232 wine_fn_config_dll powrprof enable_powrprof implib
15233 wine_fn_config_dll printui enable_printui
15234 wine_fn_config_dll propsys enable_propsys implib
15235 wine_fn_config_test dlls/propsys/tests propsys_test
15236 wine_fn_config_dll psapi enable_psapi implib
15237 wine_fn_config_test dlls/psapi/tests psapi_test
15238 wine_fn_config_dll pstorec enable_pstorec
15239 wine_fn_config_dll qcap enable_qcap
15240 wine_fn_config_dll qedit enable_qedit
15241 wine_fn_config_test dlls/qedit/tests qedit_test
15242 wine_fn_config_dll qmgr enable_qmgr
15243 wine_fn_config_test dlls/qmgr/tests qmgr_test
15244 wine_fn_config_dll qmgrprxy enable_qmgrprxy
15245 wine_fn_config_dll quartz enable_quartz implib
15246 wine_fn_config_test dlls/quartz/tests quartz_test
15247 wine_fn_config_dll query enable_query
15248 wine_fn_config_dll rasapi16.dll16 enable_win16
15249 wine_fn_config_dll rasapi32 enable_rasapi32 implib
15250 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
15251 wine_fn_config_dll rasdlg enable_rasdlg implib
15252 wine_fn_config_dll regapi enable_regapi
15253 wine_fn_config_dll resutils enable_resutils implib
15254 wine_fn_config_dll riched20 enable_riched20 implib
15255 wine_fn_config_test dlls/riched20/tests riched20_test
15256 wine_fn_config_dll riched32 enable_riched32
15257 wine_fn_config_test dlls/riched32/tests riched32_test
15258 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
15259 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test
15260 wine_fn_config_dll rsabase enable_rsabase
15261 wine_fn_config_dll rsaenh enable_rsaenh implib
15262 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
15263 wine_fn_config_dll rstrtmgr enable_rstrtmgr
15264 wine_fn_config_dll rtutils enable_rtutils implib
15265 wine_fn_config_dll samlib enable_samlib
15266 wine_fn_config_dll sane.ds enable_sane_ds po
15267 wine_fn_config_dll scarddlg enable_scarddlg
15268 wine_fn_config_dll sccbase enable_sccbase
15269 wine_fn_config_dll schannel enable_schannel
15270 wine_fn_config_test dlls/schannel/tests schannel_test
15271 wine_fn_config_dll scrrun enable_scrrun
15272 wine_fn_config_dll secur32 enable_secur32 implib
15273 wine_fn_config_test dlls/secur32/tests secur32_test
15274 wine_fn_config_dll security enable_security
15275 wine_fn_config_dll sensapi enable_sensapi implib
15276 wine_fn_config_dll serialui enable_serialui implib,po
15277 wine_fn_config_test dlls/serialui/tests serialui_test
15278 wine_fn_config_dll setupapi enable_setupapi implib,po
15279 wine_fn_config_test dlls/setupapi/tests setupapi_test
15280 wine_fn_config_dll setupx.dll16 enable_win16
15281 wine_fn_config_dll sfc enable_sfc implib
15282 wine_fn_config_dll sfc_os enable_sfc_os implib
15283 wine_fn_config_dll shdoclc enable_shdoclc po
15284 wine_fn_config_dll shdocvw enable_shdocvw implib
15285 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
15286 wine_fn_config_dll shell.dll16 enable_win16
15287 wine_fn_config_dll shell32 enable_shell32 implib,po
15288 wine_fn_config_test dlls/shell32/tests shell32_test
15289 wine_fn_config_dll shfolder enable_shfolder implib
15290 wine_fn_config_dll shlwapi enable_shlwapi implib,po
15291 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
15292 wine_fn_config_dll slbcsp enable_slbcsp
15293 wine_fn_config_dll slc enable_slc implib
15294 wine_fn_config_dll snmpapi enable_snmpapi implib
15295 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
15296 wine_fn_config_dll softpub enable_softpub
15297 wine_fn_config_dll sound.drv16 enable_win16
15298 wine_fn_config_dll spoolss enable_spoolss implib
15299 wine_fn_config_test dlls/spoolss/tests spoolss_test
15300 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
15301 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
15302 wine_fn_config_dll sti enable_sti implib
15303 wine_fn_config_test dlls/sti/tests sti_test
15304 wine_fn_config_dll storage.dll16 enable_win16
15305 wine_fn_config_dll stress.dll16 enable_win16
15306 wine_fn_config_lib strmbase
15307 wine_fn_config_lib strmiids
15308 wine_fn_config_dll svrapi enable_svrapi
15309 wine_fn_config_dll sxs enable_sxs
15310 wine_fn_config_dll system.drv16 enable_win16
15311 wine_fn_config_dll t2embed enable_t2embed
15312 wine_fn_config_dll tapi32 enable_tapi32 implib
15313 wine_fn_config_dll toolhelp.dll16 enable_win16
15314 wine_fn_config_dll traffic enable_traffic
15315 wine_fn_config_dll twain.dll16 enable_win16
15316 wine_fn_config_dll twain_32 enable_twain_32
15317 wine_fn_config_test dlls/twain_32/tests twain_32_test
15318 wine_fn_config_dll typelib.dll16 enable_win16
15319 wine_fn_config_dll unicows enable_unicows implib
15320 wine_fn_config_dll updspapi enable_updspapi
15321 wine_fn_config_dll url enable_url implib
15322 wine_fn_config_dll urlmon enable_urlmon implib
15323 wine_fn_config_test dlls/urlmon/tests urlmon_test
15324 wine_fn_config_dll usbd.sys enable_usbd_sys implib
15325 wine_fn_config_dll user.exe16 enable_win16
15326 wine_fn_config_dll user32 enable_user32 implib,po
15327 wine_fn_config_test dlls/user32/tests user32_test
15328 wine_fn_config_dll userenv enable_userenv implib
15329 wine_fn_config_test dlls/userenv/tests userenv_test
15330 wine_fn_config_dll usp10 enable_usp10 implib
15331 wine_fn_config_test dlls/usp10/tests usp10_test
15332 wine_fn_config_lib uuid
15333 wine_fn_config_dll uxtheme enable_uxtheme implib
15334 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
15335 wine_fn_config_dll vbscript enable_vbscript
15336 wine_fn_config_test dlls/vbscript/tests vbscript_test
15337 wine_fn_config_dll vcomp enable_vcomp
15338 wine_fn_config_dll vdhcp.vxd enable_win16
15339 wine_fn_config_dll vdmdbg enable_vdmdbg implib
15340 wine_fn_config_dll ver.dll16 enable_win16
15341 wine_fn_config_dll version enable_version implib
15342 wine_fn_config_test dlls/version/tests version_test
15343 wine_fn_config_dll vmm.vxd enable_win16
15344 wine_fn_config_dll vnbt.vxd enable_win16
15345 wine_fn_config_dll vnetbios.vxd enable_win16
15346 wine_fn_config_dll vtdapi.vxd enable_win16
15347 wine_fn_config_dll vwin32.vxd enable_win16
15348 wine_fn_config_dll w32skrnl enable_win16
15349 wine_fn_config_dll w32sys.dll16 enable_win16
15350 wine_fn_config_dll wbemprox enable_wbemprox
15351 wine_fn_config_dll wer enable_wer implib
15352 wine_fn_config_test dlls/wer/tests wer_test
15353 wine_fn_config_dll wiaservc enable_wiaservc
15354 wine_fn_config_dll win32s16.dll16 enable_win16
15355 wine_fn_config_dll win87em.dll16 enable_win16
15356 wine_fn_config_dll winaspi.dll16 enable_win16
15357 wine_fn_config_dll windebug.dll16 enable_win16
15358 wine_fn_config_dll windowscodecs enable_windowscodecs implib
15359 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
15360 wine_fn_config_dll winealsa.drv enable_winealsa_drv
15361 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
15362 wine_fn_config_lib winecrt0
15363 wine_fn_config_dll wined3d enable_wined3d implib
15364 wine_fn_config_dll winegstreamer enable_winegstreamer
15365 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
15366 wine_fn_config_dll winemapi enable_winemapi
15367 wine_fn_config_dll winemp3.acm enable_winemp3_acm
15368 wine_fn_config_dll wineoss.drv enable_wineoss_drv
15369 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib,po
15370 wine_fn_config_dll wineps16.drv16 enable_win16
15371 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
15372 wine_fn_config_dll winequartz.drv enable_winequartz_drv
15373 wine_fn_config_dll winex11.drv enable_winex11_drv
15374 wine_fn_config_dll wing.dll16 enable_win16
15375 wine_fn_config_dll wing32 enable_wing32
15376 wine_fn_config_dll winhttp enable_winhttp implib
15377 wine_fn_config_test dlls/winhttp/tests winhttp_test
15378 wine_fn_config_dll wininet enable_wininet implib,po
15379 wine_fn_config_test dlls/wininet/tests wininet_test
15380 wine_fn_config_dll winmm enable_winmm implib,po
15381 wine_fn_config_test dlls/winmm/tests winmm_test
15382 wine_fn_config_dll winnls.dll16 enable_win16
15383 wine_fn_config_dll winnls32 enable_winnls32 implib
15384 wine_fn_config_dll winscard enable_winscard implib
15385 wine_fn_config_dll winsock.dll16 enable_win16
15386 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
15387 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
15388 wine_fn_config_dll winsta enable_winsta
15389 wine_fn_config_dll wintab.dll16 enable_win16
15390 wine_fn_config_dll wintab32 enable_wintab32 implib
15391 wine_fn_config_test dlls/wintab32/tests wintab32_test
15392 wine_fn_config_dll wintrust enable_wintrust implib
15393 wine_fn_config_test dlls/wintrust/tests wintrust_test
15394 wine_fn_config_dll wlanapi enable_wlanapi
15395 wine_fn_config_dll wldap32 enable_wldap32 implib,po
15396 wine_fn_config_test dlls/wldap32/tests wldap32_test
15397 wine_fn_config_dll wmi enable_wmi
15398 wine_fn_config_dll wmiutils enable_wmiutils
15399 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
15400 wine_fn_config_dll wow32 enable_win16 implib
15401 wine_fn_config_dll ws2_32 enable_ws2_32 implib
15402 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
15403 wine_fn_config_dll wshom.ocx enable_wshom_ocx
15404 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test
15405 wine_fn_config_dll wsock32 enable_wsock32 implib
15406 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
15407 wine_fn_config_dll wuapi enable_wuapi
15408 wine_fn_config_dll wuaueng enable_wuaueng
15409 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
15410 wine_fn_config_dll xinput1_1 enable_xinput1_1
15411 wine_fn_config_dll xinput1_2 enable_xinput1_2
15412 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
15413 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
15414 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
15415 wine_fn_config_dll xmllite enable_xmllite
15416 wine_fn_config_test dlls/xmllite/tests xmllite_test
15417 wine_fn_config_dll xolehlp enable_xolehlp
15418 wine_fn_config_makefile documentation enable_documentation
15419 wine_fn_config_makefile fonts enable_fonts install-lib
15420 wine_fn_config_makefile include enable_include install-dev
15421 wine_fn_config_makefile libs/port enable_libs_port
15422 wine_fn_config_makefile libs/wine enable_libs_wine install-dev,install-lib
15423 wine_fn_config_makefile libs/wpp enable_libs_wpp
15424 wine_fn_config_makefile loader enable_loader install-lib,manpage
15425 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
15426 wine_fn_config_program attrib enable_attrib install,po
15427 wine_fn_config_program cabarc enable_cabarc install
15428 wine_fn_config_program cacls enable_cacls install
15429 wine_fn_config_program clock enable_clock install,po
15430 wine_fn_config_program cmd enable_cmd install,po
15431 wine_fn_config_test programs/cmd/tests cmd.exe_test
15432 wine_fn_config_program control enable_control install
15433 wine_fn_config_program cscript enable_cscript install
15434 wine_fn_config_program dxdiag enable_dxdiag install,po
15435 wine_fn_config_program eject enable_eject install
15436 wine_fn_config_program expand enable_expand install
15437 wine_fn_config_program explorer enable_explorer install,po
15438 wine_fn_config_program extrac32 enable_extrac32 install
15439 wine_fn_config_program hh enable_hh install
15440 wine_fn_config_program hostname enable_hostname install,po
15441 wine_fn_config_program icinfo enable_icinfo install
15442 wine_fn_config_program iexplore enable_iexplore install
15443 wine_fn_config_program ipconfig enable_ipconfig install,po
15444 wine_fn_config_program lodctr enable_lodctr install
15445 wine_fn_config_program mofcomp enable_mofcomp install
15446 wine_fn_config_program mshta enable_mshta install
15447 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
15448 wine_fn_config_program net enable_net install,po
15449 wine_fn_config_program netsh enable_netsh install
15450 wine_fn_config_program ngen enable_ngen install
15451 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
15452 wine_fn_config_program oleview enable_oleview install,po
15453 wine_fn_config_program ping enable_ping install
15454 wine_fn_config_program plugplay enable_plugplay install
15455 wine_fn_config_program presentationfontcache enable_presentationfontcache install
15456 wine_fn_config_program progman enable_progman install,po
15457 wine_fn_config_program reg enable_reg install,po
15458 wine_fn_config_program regasm enable_regasm install
15459 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
15460 wine_fn_config_test programs/regedit/tests regedit.exe_test
15461 wine_fn_config_program regsvcs enable_regsvcs install
15462 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
15463 wine_fn_config_program rpcss enable_rpcss install
15464 wine_fn_config_program rundll.exe16 enable_win16 install
15465 wine_fn_config_program rundll32 enable_rundll32 install
15466 wine_fn_config_program sc enable_sc install
15467 wine_fn_config_program secedit enable_secedit install
15468 wine_fn_config_program servicemodelreg enable_servicemodelreg install
15469 wine_fn_config_program services enable_services install
15470 wine_fn_config_program spoolsv enable_spoolsv install
15471 wine_fn_config_program start enable_start install,po
15472 wine_fn_config_program svchost enable_svchost install
15473 wine_fn_config_program taskkill enable_taskkill install,po
15474 wine_fn_config_program taskmgr enable_taskmgr install,po
15475 wine_fn_config_program termsv enable_termsv install
15476 wine_fn_config_program uninstaller enable_uninstaller install,po
15477 wine_fn_config_program unlodctr enable_unlodctr install
15478 wine_fn_config_program view enable_view install,po
15479 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
15480 wine_fn_config_program winebrowser enable_winebrowser install
15481 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
15482 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
15483 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
15484 wine_fn_config_program winedevice enable_winedevice install
15485 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
15486 wine_fn_config_program winemenubuilder enable_winemenubuilder install
15487 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
15488 wine_fn_config_program winemsibuilder enable_winemsibuilder install
15489 wine_fn_config_program winepath enable_winepath install,installbin,manpage
15490 wine_fn_config_program winetest enable_winetest
15491 wine_fn_config_program winevdm enable_win16 install
15492 wine_fn_config_program winhelp.exe16 enable_win16 install
15493 wine_fn_config_program winhlp32 enable_winhlp32 install,po
15494 wine_fn_config_program winoldap.mod16 enable_win16 install
15495 wine_fn_config_program winver enable_winver install
15496 wine_fn_config_program wmic enable_wmic install
15497 wine_fn_config_program wordpad enable_wordpad install,po
15498 wine_fn_config_program write enable_write install,po
15499 wine_fn_config_program wscript enable_wscript install
15500 wine_fn_config_test programs/wscript/tests wscript.exe_test
15501 wine_fn_config_program xcopy enable_xcopy install,po
15502 wine_fn_config_makefile server enable_server install-lib,manpage
15503 wine_fn_config_tool tools install-dev,install-lib,manpage
15504 wine_fn_config_tool tools/widl install-dev,manpage
15505 wine_fn_config_tool tools/winebuild install-dev,manpage
15506 wine_fn_config_tool tools/winedump install-dev,manpage
15507 wine_fn_config_tool tools/winegcc install-dev,manpage
15508 wine_fn_config_tool tools/wmc install-dev,manpage
15509 wine_fn_config_tool tools/wrc install-dev,manpage
15559 ac_config_commands="$ac_config_commands Makefile"
15562 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
15566 if test "x$enable_maintainer_mode" = xyes
15568 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(srcdir)/configure: configure.ac aclocal.m4
15569 cd \$(srcdir) && autoconf --warnings=all
15570 \$(srcdir)/include/config.h.in: include/stamp-h.in
15571 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
15572 cd \$(srcdir) && autoheader --warnings=all
15573 @echo timestamp > \$@"
15576 if test "x$with_gettextpo" = xyes
15578 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
15579 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "ALL_POT_FILES =$ALL_POT_FILES
15580 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
15581 msgmerge -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
15582 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
15583 msgcat -o \$@ \$(ALL_POT_FILES)"
15586 if test "$MSGFMT" != false
15588 PORCFLAGS="--po-dir=\$(top_builddir)/po"
15590 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: \$(ALL_MO_FILES)"
15595 if test "x$enable_tools" != xno
15597 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(MAKEDEP): tools/Makefile
15599 \$(RM) tools/makedep\$(EXEEXT)"
15602 if test -n "$with_wine64"
15604 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
15605 fonts server tools:
15606 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
15607 $with_wine64/loader/wine:
15608 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
15609 $with_wine64/loader/wine-preloader:
15610 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
15612 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
15615 cat >confcache <<\_ACEOF
15616 # This file is a shell script that caches the results of configure
15617 # tests run on this system so they can be shared between configure
15618 # scripts and configure runs, see configure's option --config-cache.
15619 # It is not useful on other systems. If it contains results you don't
15620 # want to keep, you may remove or edit it.
15622 # config.status only pays attention to the cache file if you give it
15623 # the --recheck option to rerun configure.
15625 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15626 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15627 # following values.
15631 # The following way of writing the cache mishandles newlines in values,
15632 # but we know of no workaround that is simple, portable, and efficient.
15633 # So, we kill variables containing newlines.
15634 # Ultrix sh set writes to stderr and can't be redirected directly,
15635 # and sets the high bit in the cache file unless we assign to the vars.
15637 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15638 eval ac_val=\$$ac_var
15642 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15643 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15646 _ | IFS | as_nl) ;; #(
15647 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15648 *) { eval $ac_var=; unset $ac_var;} ;;
15654 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15655 *${as_nl}ac_space=\ *)
15656 # `set' does not quote correctly, so add quotes: double-quote
15657 # substitution turns \\\\ into \\, and sed turns \\ into \.
15660 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15663 # `set' quotes correctly as required by POSIX, so do not add quotes.
15664 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15673 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15675 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15677 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15678 if test -w "$cache_file"; then
15679 if test "x$cache_file" != "x/dev/null"; then
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15681 $as_echo "$as_me: updating cache $cache_file" >&6;}
15682 if test ! -f "$cache_file" || test -h "$cache_file"; then
15683 cat confcache >"$cache_file"
15685 case $cache_file in #(
15687 mv -f confcache "$cache_file"$$ &&
15688 mv -f "$cache_file"$$ "$cache_file" ;; #(
15690 mv -f confcache "$cache_file" ;;
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15696 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15701 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15702 # Let make expand exec_prefix.
15703 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15705 DEFS=-DHAVE_CONFIG_H
15710 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15711 # 1. Remove the extension, and $U if already installed.
15712 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15713 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15714 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15715 # will be set to the directory where LIBOBJS objects are built.
15716 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15717 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15719 LIBOBJS=$ac_libobjs
15721 LTLIBOBJS=$ac_ltlibobjs
15725 : "${CONFIG_STATUS=./config.status}"
15727 ac_clean_files_save=$ac_clean_files
15728 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15730 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15732 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15734 # Generated by $as_me.
15735 # Run this file to recreate the current configuration.
15736 # Compiler output produced by configure, useful for debugging
15737 # configure, is in config.log if it exists.
15740 ac_cs_recheck=false
15743 SHELL=\${CONFIG_SHELL-$SHELL}
15746 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15747 ## -------------------- ##
15748 ## M4sh Initialization. ##
15749 ## -------------------- ##
15751 # Be more Bourne compatible
15752 DUALCASE=1; export DUALCASE # for MKS sh
15753 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15756 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15757 # is contrary to our usage. Disable this feature.
15758 alias -g '${1+"$@"}'='"$@"'
15759 setopt NO_GLOB_SUBST
15761 case `(set -o) 2>/dev/null` in #(
15773 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15774 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15775 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15776 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15777 # Prefer a ksh shell builtin over an external printf program on Solaris,
15778 # but without wasting forks for bash or zsh.
15779 if test -z "$BASH_VERSION$ZSH_VERSION" \
15780 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15781 as_echo='print -r --'
15782 as_echo_n='print -rn --'
15783 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15784 as_echo='printf %s\n'
15785 as_echo_n='printf %s'
15787 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15788 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15789 as_echo_n='/usr/ucb/echo -n'
15791 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15792 as_echo_n_body='eval
15796 expr "X$arg" : "X\\(.*\\)$as_nl";
15797 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15799 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15801 export as_echo_n_body
15802 as_echo_n='sh -c $as_echo_n_body as_echo'
15804 export as_echo_body
15805 as_echo='sh -c $as_echo_body as_echo'
15808 # The user is always right.
15809 if test "${PATH_SEPARATOR+set}" != set; then
15811 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15812 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15819 # We need space, tab and new line, in precisely that order. Quoting is
15820 # there to prevent editors from complaining about space-tab.
15821 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15822 # splitting by setting IFS to empty value.)
15825 # Find who we are. Look in the path if we contain no directory separator.
15828 *[\\/]* ) as_myself=$0 ;;
15829 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15830 for as_dir in $PATH
15833 test -z "$as_dir" && as_dir=.
15834 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15840 # We did not find ourselves, most probably we were run as `sh COMMAND'
15841 # in which case we are not to be found in the path.
15842 if test "x$as_myself" = x; then
15845 if test ! -f "$as_myself"; then
15846 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15850 # Unset variables that we do not need and which cause bugs (e.g. in
15851 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15852 # suppresses any "Segmentation fault" message there. '((' could
15853 # trigger a bug in pdksh 5.2.14.
15854 for as_var in BASH_ENV ENV MAIL MAILPATH
15855 do eval test x\${$as_var+set} = xset \
15856 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15869 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15872 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15873 # ----------------------------------------
15874 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15875 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15876 # script with STATUS, using 1 if that was 0.
15879 as_status=$1; test $as_status -eq 0 && as_status=1
15881 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15882 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15884 $as_echo "$as_me: error: $2" >&2
15885 as_fn_exit $as_status
15889 # as_fn_set_status STATUS
15890 # -----------------------
15891 # Set $? to STATUS, without forking.
15892 as_fn_set_status ()
15895 } # as_fn_set_status
15897 # as_fn_exit STATUS
15898 # -----------------
15899 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15903 as_fn_set_status $1
15909 # Portably unset VAR.
15912 { eval $1=; unset $1;}
15914 as_unset=as_fn_unset
15915 # as_fn_append VAR VALUE
15916 # ----------------------
15917 # Append the text in VALUE to the end of the definition contained in VAR. Take
15918 # advantage of any shell optimizations that allow amortized linear growth over
15919 # repeated appends, instead of the typical quadratic growth present in naive
15921 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15922 eval 'as_fn_append ()
15933 # as_fn_arith ARG...
15934 # ------------------
15935 # Perform arithmetic evaluation on the ARGs, and store the result in the
15936 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15937 # must be portable across $(()) and expr.
15938 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15939 eval 'as_fn_arith ()
15946 as_val=`expr "$@" || test $? -eq 1`
15951 if expr a : '\(a\)' >/dev/null 2>&1 &&
15952 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15958 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15959 as_basename=basename
15964 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15970 as_me=`$as_basename -- "$0" ||
15971 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15972 X"$0" : 'X\(//\)$' \| \
15973 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15975 sed '/^.*\/\([^/][^/]*\)\/*$/{
15989 # Avoid depending upon Character Ranges.
15990 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15991 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15992 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15993 as_cr_digits='0123456789'
15994 as_cr_alnum=$as_cr_Letters$as_cr_digits
15996 ECHO_C= ECHO_N= ECHO_T=
15997 case `echo -n x` in #(((((
15999 case `echo 'xy\c'` in
16000 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16002 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16009 rm -f conf$$ conf$$.exe conf$$.file
16010 if test -d conf$$.dir; then
16011 rm -f conf$$.dir/conf$$.file
16014 mkdir conf$$.dir 2>/dev/null
16016 if (echo >conf$$.file) 2>/dev/null; then
16017 if ln -s conf$$.file conf$$ 2>/dev/null; then
16019 # ... but there are two gotchas:
16020 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16021 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16022 # In both cases, we have to default to `cp -p'.
16023 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16025 elif ln conf$$.file conf$$ 2>/dev/null; then
16033 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16034 rmdir conf$$.dir 2>/dev/null
16039 # Create "$as_dir" as a directory, including parents if necessary.
16044 -*) as_dir=./$as_dir;;
16046 test -d "$as_dir" || eval $as_mkdir_p || {
16050 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16051 *) as_qdir=$as_dir;;
16053 as_dirs="'$as_qdir' $as_dirs"
16054 as_dir=`$as_dirname -- "$as_dir" ||
16055 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16056 X"$as_dir" : 'X\(//\)[^/]' \| \
16057 X"$as_dir" : 'X\(//\)$' \| \
16058 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16059 $as_echo X"$as_dir" |
16060 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16064 /^X\(\/\/\)[^/].*/{
16077 test -d "$as_dir" && break
16079 test -z "$as_dirs" || eval "mkdir $as_dirs"
16080 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16084 if mkdir -p . 2>/dev/null; then
16085 as_mkdir_p='mkdir -p "$as_dir"'
16087 test -d ./-p && rmdir ./-p
16091 if test -x / >/dev/null 2>&1; then
16092 as_test_x='test -x'
16094 if ls -dL / >/dev/null 2>&1; then
16101 if test -d "$1"; then
16107 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16108 ???[sx]*):;;*)false;;esac;fi
16112 as_executable_p=$as_test_x
16114 # Sed expression to map a string onto a valid CPP name.
16115 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16117 # Sed expression to map a string onto a valid variable name.
16118 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16122 ## ----------------------------------- ##
16123 ## Main body of $CONFIG_STATUS script. ##
16124 ## ----------------------------------- ##
16126 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16128 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16129 # Save the log message, to keep $0 and so on meaningful, and to
16130 # report actual input values of CONFIG_FILES etc. instead of their
16131 # values after options handling.
16133 This file was extended by Wine $as_me 1.3.35, which was
16134 generated by GNU Autoconf 2.68. Invocation command line was
16136 CONFIG_FILES = $CONFIG_FILES
16137 CONFIG_HEADERS = $CONFIG_HEADERS
16138 CONFIG_LINKS = $CONFIG_LINKS
16139 CONFIG_COMMANDS = $CONFIG_COMMANDS
16142 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16147 case $ac_config_files in *"
16148 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16151 case $ac_config_headers in *"
16152 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16156 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16157 # Files that config.status was made for.
16158 config_files="$ac_config_files"
16159 config_headers="$ac_config_headers"
16160 config_links="$ac_config_links"
16161 config_commands="$ac_config_commands"
16165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16167 \`$as_me' instantiates files and other configuration actions
16168 from templates according to the current configuration. Unless the files
16169 and actions are specified as TAGs, all are instantiated by default.
16171 Usage: $0 [OPTION]... [TAG]...
16173 -h, --help print this help, then exit
16174 -V, --version print version number and configuration settings, then exit
16175 --config print configuration, then exit
16176 -q, --quiet, --silent
16177 do not print progress messages
16178 -d, --debug don't remove temporary files
16179 --recheck update $as_me by reconfiguring in the same conditions
16180 --file=FILE[:TEMPLATE]
16181 instantiate the configuration file FILE
16182 --header=FILE[:TEMPLATE]
16183 instantiate the configuration header FILE
16185 Configuration files:
16188 Configuration headers:
16191 Configuration links:
16194 Configuration commands:
16197 Report bugs to <wine-devel@winehq.org>.
16198 Wine home page: <http://www.winehq.org>."
16201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16202 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16204 Wine config.status 1.3.35
16205 configured by $0, generated by GNU Autoconf 2.68,
16206 with options \\"\$ac_cs_config\\"
16208 Copyright (C) 2010 Free Software Foundation, Inc.
16209 This config.status script is free software; the Free Software Foundation
16210 gives unlimited permission to copy, distribute and modify it."
16215 test -n "\$AWK" || AWK=awk
16218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16219 # The default lists apply if the user does not specify any file.
16225 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16226 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16230 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16242 # Handling of the options.
16243 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16245 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16246 $as_echo "$ac_cs_version"; exit ;;
16247 --config | --confi | --conf | --con | --co | --c )
16248 $as_echo "$ac_cs_config"; exit ;;
16249 --debug | --debu | --deb | --de | --d | -d )
16251 --file | --fil | --fi | --f )
16254 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16255 '') as_fn_error $? "missing file argument" ;;
16257 as_fn_append CONFIG_FILES " '$ac_optarg'"
16258 ac_need_defaults=false;;
16259 --header | --heade | --head | --hea )
16262 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16264 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16265 ac_need_defaults=false;;
16267 # Conflict between --help and --header
16268 as_fn_error $? "ambiguous option: \`$1'
16269 Try \`$0 --help' for more information.";;
16270 --help | --hel | -h )
16271 $as_echo "$ac_cs_usage"; exit ;;
16272 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16273 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16276 # This is an error.
16277 -*) as_fn_error $? "unrecognized option: \`$1'
16278 Try \`$0 --help' for more information." ;;
16280 *) as_fn_append ac_config_targets " $1"
16281 ac_need_defaults=false ;;
16287 ac_configure_extra_args=
16289 if $ac_cs_silent; then
16291 ac_configure_extra_args="$ac_configure_extra_args --silent"
16295 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16296 if \$ac_cs_recheck; then
16297 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16299 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16300 CONFIG_SHELL='$SHELL'
16301 export CONFIG_SHELL
16306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16310 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16311 ## Running $as_me. ##
16317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16321 wine_fn_output_makefile ()
16323 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
16324 $ALL_MAKEFILE_DEPENDS
16326 as_fn_error $? "could not create Makefile" "$LINENO" 5
16331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16333 # Handling of arguments.
16334 for ac_config_target in $ac_config_targets
16336 case $ac_config_target in
16337 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
16338 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
16339 "dlls/shell32/AUTHORS") CONFIG_LINKS="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
16340 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
16341 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
16342 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
16343 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
16344 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
16345 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
16346 "tools/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
16347 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
16348 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
16349 "dlls/gdi32/dibdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
16350 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
16351 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
16352 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
16353 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
16354 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
16355 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
16356 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
16357 "Maketest.rules") CONFIG_FILES="$CONFIG_FILES Maketest.rules" ;;
16358 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
16359 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
16360 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
16361 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
16362 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
16364 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16369 # If the user did not use the arguments to specify the items to instantiate,
16370 # then the envvar interface is used. Set only those that are not.
16371 # We use the long form for the default assignment because of an extremely
16372 # bizarre bug on SunOS 4.1.3.
16373 if $ac_need_defaults; then
16374 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16375 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16376 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
16377 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16380 # Have a temporary directory for convenience. Make it in the build tree
16381 # simply because there is no reason against having it here, and in addition,
16382 # creating and moving files from /tmp can sometimes cause problems.
16383 # Hook for its removal unless debugging.
16384 # Note that there is a small window in which the directory will not be cleaned:
16385 # after its creation but before its name has been assigned to `$tmp'.
16389 trap 'exit_status=$?
16390 : "${ac_tmp:=$tmp}"
16391 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16393 trap 'as_fn_exit 1' 1 2 13 15
16395 # Create a (secure) tmp directory for tmp files.
16398 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16402 tmp=./conf$$-$RANDOM
16403 (umask 077 && mkdir "$tmp")
16404 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16407 # Set up the scripts for CONFIG_FILES section.
16408 # No need to generate them if there are no CONFIG_FILES.
16409 # This happens for instance with `./config.status config.h'.
16410 if test -n "$CONFIG_FILES"; then
16412 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
16413 ac_cs_awk_getline=:
16414 ac_cs_awk_pipe_init=
16415 ac_cs_awk_read_file='
16416 while ((getline aline < (F[key])) > 0)
16419 ac_cs_awk_pipe_fini=
16421 ac_cs_awk_getline=false
16422 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
16423 ac_cs_awk_read_file='
16425 print "cat " F[key] " &&"
16426 '$ac_cs_awk_pipe_init
16427 # The final `:' finishes the AND list.
16428 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
16430 ac_cr=`echo X | tr X '\015'`
16431 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16432 # But we know of no other shell where ac_cr would be empty at this
16433 # point, so we can use a bashism as a fallback.
16434 if test "x$ac_cr" = x; then
16435 eval ac_cr=\$\'\\r\'
16437 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16438 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16441 ac_cs_awk_cr=$ac_cr
16444 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16447 # Create commands to substitute file output variables.
16449 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16450 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16451 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
16454 } >conf$$files.sh &&
16455 . ./conf$$files.sh ||
16456 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16457 rm -f conf$$files.sh
16460 echo "cat >conf$$subs.awk <<_ACEOF" &&
16461 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16463 } >conf$$subs.sh ||
16464 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16465 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16467 for ac_last_try in false false false false false :; do
16468 . ./conf$$subs.sh ||
16469 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16471 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16472 if test $ac_delim_n = $ac_delim_num; then
16474 elif $ac_last_try; then
16475 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16477 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16480 rm -f conf$$subs.sh
16482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16483 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16487 s/^/S["/; s/!.*/"]=/
16497 s/\(.\{148\}\)..*/\1/
16499 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16504 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16511 s/\(.\{148\}\)..*/\1/
16513 s/["\\]/\\&/g; s/^/"/; s/$/"/
16517 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16522 ' <conf$$subs.awk | sed '
16527 ' >>$CONFIG_STATUS || ac_write_fail=1
16528 rm -f conf$$subs.awk
16529 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16531 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16532 for (key in S) S_is_set[key] = 1
16534 \$ac_cs_awk_pipe_init
16538 nfields = split(line, field, "@")
16540 len = length(field[1])
16541 for (i = 2; i < nfields; i++) {
16543 keylen = length(key)
16544 if (S_is_set[key]) {
16546 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16547 len += length(value) + length(field[++i])
16552 if (nfields == 3 && !substed) {
16554 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16555 \$ac_cs_awk_read_file
16561 \$ac_cs_awk_pipe_fini
16564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16565 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16566 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16569 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16570 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16573 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16574 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16575 # trailing colons and then remove the whole line if VPATH becomes empty
16576 # (actually we leave an empty line to preserve line numbers).
16577 if test "x$srcdir" = x.; then
16578 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16596 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16597 fi # test -n "$CONFIG_FILES"
16599 # Set up the scripts for CONFIG_HEADERS section.
16600 # No need to generate them if there are no CONFIG_HEADERS.
16601 # This happens for instance with `./config.status Makefile'.
16602 if test -n "$CONFIG_HEADERS"; then
16603 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16607 # Transform confdefs.h into an awk script `defines.awk', embedded as
16608 # here-document in config.status, that substitutes the proper values into
16609 # config.h.in to produce config.h.
16611 # Create a delimiter string that does not exist in confdefs.h, to ease
16612 # handling of long lines.
16614 for ac_last_try in false false :; do
16615 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16616 if test -z "$ac_tt"; then
16618 elif $ac_last_try; then
16619 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16621 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16625 # For the awk script, D is an array of macro values keyed by name,
16626 # likewise P contains macro parameters if any. Preserve backslash
16627 # newline sequences.
16629 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16631 s/.\{148\}/&'"$ac_delim"'/g
16634 s/^[ ]*#[ ]*define[ ][ ]*/ /
16641 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16643 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16647 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16648 D["\1"]=" \3\\\\\\n"\\/p
16650 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16655 s/.\{148\}/&'"$ac_delim"'/g
16660 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16663 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16665 ' <confdefs.h | sed '
16666 s/'"$ac_delim"'/"\\\
16667 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16669 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16670 for (key in D) D_is_set[key] = 1
16673 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16675 split(line, arg, " ")
16676 if (arg[1] == "#") {
16680 defundef = substr(arg[1], 2)
16683 split(mac1, mac2, "(") #)
16685 prefix = substr(line, 1, index(line, defundef) - 1)
16686 if (D_is_set[macro]) {
16687 # Preserve the white space surrounding the "#".
16688 print prefix "define", macro P[macro] D[macro]
16691 # Replace #undef with comments. This is necessary, for example,
16692 # in the case of _POSIX_SOURCE, which is predefined and required
16693 # on some systems where configure will not decide to define it.
16694 if (defundef == "undef") {
16695 print "/*", prefix defundef, macro, "*/"
16703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16704 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16705 fi # test -n "$CONFIG_HEADERS"
16708 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
16713 :[FHLC]) ac_mode=$ac_tag; continue;;
16715 case $ac_mode$ac_tag in
16717 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16718 :[FH]-) ac_tag=-:-;;
16719 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16736 -) ac_f="$ac_tmp/stdin";;
16737 *) # Look for the file first in the build tree, then in the source tree
16738 # (if the path is not absolute). The absolute path cannot be DOS-style,
16739 # because $ac_f cannot contain `:'.
16743 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16745 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16747 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16748 as_fn_append ac_file_inputs " '$ac_f'"
16751 # Let's still pretend it is `configure' which instantiates (i.e., don't
16752 # use $as_me), people would be surprised to read:
16753 # /* config.h. Generated by config.status. */
16754 configure_input='Generated from '`
16755 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16757 if test x"$ac_file" != x-; then
16758 configure_input="$ac_file. $configure_input"
16759 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16760 $as_echo "$as_me: creating $ac_file" >&6;}
16762 # Neutralize special characters interpreted by sed in replacement strings.
16763 case $configure_input in #(
16764 *\&* | *\|* | *\\* )
16765 ac_sed_conf_input=`$as_echo "$configure_input" |
16766 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16767 *) ac_sed_conf_input=$configure_input;;
16771 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16772 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16777 ac_dir=`$as_dirname -- "$ac_file" ||
16778 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16779 X"$ac_file" : 'X\(//\)[^/]' \| \
16780 X"$ac_file" : 'X\(//\)$' \| \
16781 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16782 $as_echo X"$ac_file" |
16783 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16787 /^X\(\/\/\)[^/].*/{
16800 as_dir="$ac_dir"; as_fn_mkdir_p
16804 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16806 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16807 # A ".." for each directory in $ac_dir_suffix.
16808 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16809 case $ac_top_builddir_sub in
16810 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16811 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16814 ac_abs_top_builddir=$ac_pwd
16815 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16816 # for backward compatibility:
16817 ac_top_builddir=$ac_top_build_prefix
16820 .) # We are building in place.
16822 ac_top_srcdir=$ac_top_builddir_sub
16823 ac_abs_top_srcdir=$ac_pwd ;;
16824 [\\/]* | ?:[\\/]* ) # Absolute name.
16825 ac_srcdir=$srcdir$ac_dir_suffix;
16826 ac_top_srcdir=$srcdir
16827 ac_abs_top_srcdir=$srcdir ;;
16828 *) # Relative name.
16829 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16830 ac_top_srcdir=$ac_top_build_prefix$srcdir
16831 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16833 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16843 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16844 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16849 # If the template does not know about datarootdir, expand it.
16850 # FIXME: This hack should be removed a few years after 2.60.
16851 ac_datarootdir_hack=; ac_datarootdir_seen=
16862 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16863 *datarootdir*) ac_datarootdir_seen=yes;;
16864 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16866 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16868 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16869 ac_datarootdir_hack='
16870 s&@datadir@&$datadir&g
16871 s&@docdir@&$docdir&g
16872 s&@infodir@&$infodir&g
16873 s&@localedir@&$localedir&g
16874 s&@mandir@&$mandir&g
16875 s&\\\${datarootdir}&$datarootdir&g' ;;
16879 # Neutralize VPATH when `$srcdir' = `.'.
16880 # Shell code in configure.ac might set extrasub.
16881 # FIXME: do we really want to maintain this feature?
16882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16883 ac_sed_extra="$ac_vpsub
16886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16888 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16889 s|@configure_input@|$ac_sed_conf_input|;t t
16890 s&@top_builddir@&$ac_top_builddir_sub&;t t
16891 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16892 s&@srcdir@&$ac_srcdir&;t t
16893 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16894 s&@top_srcdir@&$ac_top_srcdir&;t t
16895 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16896 s&@builddir@&$ac_builddir&;t t
16897 s&@abs_builddir@&$ac_abs_builddir&;t t
16898 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16899 s&@INSTALL@&$ac_INSTALL&;t t
16900 $ac_datarootdir_hack
16902 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16903 if $ac_cs_awk_getline; then
16904 $AWK -f "$ac_tmp/subs.awk"
16906 $AWK -f "$ac_tmp/subs.awk" | $SHELL
16908 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16910 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16911 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16912 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16913 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16915 which seems to be undefined. Please make sure it is defined" >&5
16916 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16917 which seems to be undefined. Please make sure it is defined" >&2;}
16919 rm -f "$ac_tmp/stdin"
16921 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16922 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16924 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16930 if test x"$ac_file" != x-; then
16932 $as_echo "/* $configure_input */" \
16933 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16934 } >"$ac_tmp/config.h" \
16935 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16936 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16937 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16938 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16941 mv "$ac_tmp/config.h" "$ac_file" \
16942 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16945 $as_echo "/* $configure_input */" \
16946 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16947 || as_fn_error $? "could not create -" "$LINENO" 5
16955 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
16958 # Prefer the file from the source tree if names are identical.
16959 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
16960 ac_source=$srcdir/$ac_source
16963 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
16964 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
16966 if test ! -r "$ac_source"; then
16967 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
16971 # Try a relative symlink, then a hard link, then a copy.
16973 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
16974 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
16976 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
16977 ln "$ac_source" "$ac_file" 2>/dev/null ||
16978 cp -p "$ac_source" "$ac_file" ||
16979 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
16982 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16983 $as_echo "$as_me: executing $ac_file commands" >&6;}
16988 case $ac_file$ac_mode in
16989 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
16990 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
16991 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
16992 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
16993 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
16994 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
16995 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
16996 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
16997 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
16998 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
16999 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
17000 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
17001 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
17002 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
17003 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
17004 "Makefile":C) wine_fn_output_makefile Makefile ;;
17012 ac_clean_files=$ac_clean_files_save
17014 test $ac_write_fail = 0 ||
17015 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17018 # configure is writing to config.log, and then calls config.status.
17019 # config.status does its own redirection, appending to config.log.
17020 # Unfortunately, on DOS this fails, as config.log is still kept open
17021 # by configure, so config.status won't be able to write to it; its
17022 # output is simply discarded. So we exec the FD to /dev/null,
17023 # effectively closing config.log, so it can be properly (re)opened and
17024 # appended to by config.status. When coming back to configure, we
17025 # need to make the FD available again.
17026 if test "$no_create" != yes; then
17028 ac_config_status_args=
17029 test "$silent" = yes &&
17030 ac_config_status_args="$ac_config_status_args --quiet"
17032 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17034 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17035 # would make configure fail if this is the last instruction.
17036 $ac_cs_success || as_fn_exit 1
17038 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17040 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17044 if test "$no_create" = "yes"
17050 if test "x$wine_notices != "x; then
17053 for msg in $wine_notices; do
17055 if test -n "$msg"; then
17056 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
17057 $as_echo "$as_me: $msg" >&6;}
17062 for msg in $wine_warnings; do
17064 if test -n "$msg"; then
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
17067 $as_echo "$as_me: WARNING: $msg" >&2;}
17073 $as_me: Finished. Do '${ac_make}' to compile Wine.