2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for Wine 1.4.
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.4'
564 PACKAGE_STRING='Wine 1.4'
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
827 ac_precious_vars='build_alias
842 # Initialize some variables set by options.
844 ac_init_version=false
845 ac_unrecognized_opts=
847 # The variables have the same names as the options, with
848 # dashes changed to underlines.
856 program_transform_name=s,x,x,
864 # Installation directory options.
865 # These are left unexpanded so users can "make install exec_prefix=/foo"
866 # and all the variables that are supposed to be based on exec_prefix
867 # by default will actually change.
868 # Use braces instead of parens because sh, perl, etc. also accept them.
869 # (The list follows the same order as the GNU Coding Standards.)
870 bindir='${exec_prefix}/bin'
871 sbindir='${exec_prefix}/sbin'
872 libexecdir='${exec_prefix}/libexec'
873 datarootdir='${prefix}/share'
874 datadir='${datarootdir}'
875 sysconfdir='${prefix}/etc'
876 sharedstatedir='${prefix}/com'
877 localstatedir='${prefix}/var'
878 includedir='${prefix}/include'
879 oldincludedir='/usr/include'
880 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
881 infodir='${datarootdir}/info'
886 libdir='${exec_prefix}/lib'
887 localedir='${datarootdir}/locale'
888 mandir='${datarootdir}/man'
894 # If the previous option needs an argument, assign it.
895 if test -n "$ac_prev"; then
896 eval $ac_prev=\$ac_option
902 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
907 # Accept the important Cygnus configure options, so we can diagnose typos.
909 case $ac_dashdash$ac_option in
913 -bindir | --bindir | --bindi | --bind | --bin | --bi)
915 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
918 -build | --build | --buil | --bui | --bu)
919 ac_prev=build_alias ;;
920 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
921 build_alias=$ac_optarg ;;
923 -cache-file | --cache-file | --cache-fil | --cache-fi \
924 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
925 ac_prev=cache_file ;;
926 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
927 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
928 cache_file=$ac_optarg ;;
931 cache_file=config.cache ;;
933 -datadir | --datadir | --datadi | --datad)
935 -datadir=* | --datadir=* | --datadi=* | --datad=*)
936 datadir=$ac_optarg ;;
938 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
939 | --dataroo | --dataro | --datar)
940 ac_prev=datarootdir ;;
941 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
942 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
943 datarootdir=$ac_optarg ;;
945 -disable-* | --disable-*)
946 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
947 # Reject names that are not valid shell variable names.
948 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
949 as_fn_error $? "invalid feature name: $ac_useropt"
950 ac_useropt_orig=$ac_useropt
951 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
952 case $ac_user_opts in
956 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
957 ac_unrecognized_sep=', ';;
959 eval enable_$ac_useropt=no ;;
961 -docdir | --docdir | --docdi | --doc | --do)
963 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
966 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
968 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
971 -enable-* | --enable-*)
972 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
973 # Reject names that are not valid shell variable names.
974 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
975 as_fn_error $? "invalid feature name: $ac_useropt"
976 ac_useropt_orig=$ac_useropt
977 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
978 case $ac_user_opts in
982 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
983 ac_unrecognized_sep=', ';;
985 eval enable_$ac_useropt=\$ac_optarg ;;
987 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
988 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
989 | --exec | --exe | --ex)
990 ac_prev=exec_prefix ;;
991 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
992 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
993 | --exec=* | --exe=* | --ex=*)
994 exec_prefix=$ac_optarg ;;
996 -gas | --gas | --ga | --g)
997 # Obsolete; use --with-gas.
1000 -help | --help | --hel | --he | -h)
1001 ac_init_help=long ;;
1002 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1003 ac_init_help=recursive ;;
1004 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1005 ac_init_help=short ;;
1007 -host | --host | --hos | --ho)
1008 ac_prev=host_alias ;;
1009 -host=* | --host=* | --hos=* | --ho=*)
1010 host_alias=$ac_optarg ;;
1012 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1014 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1016 htmldir=$ac_optarg ;;
1018 -includedir | --includedir | --includedi | --included | --include \
1019 | --includ | --inclu | --incl | --inc)
1020 ac_prev=includedir ;;
1021 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1022 | --includ=* | --inclu=* | --incl=* | --inc=*)
1023 includedir=$ac_optarg ;;
1025 -infodir | --infodir | --infodi | --infod | --info | --inf)
1027 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1028 infodir=$ac_optarg ;;
1030 -libdir | --libdir | --libdi | --libd)
1032 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1033 libdir=$ac_optarg ;;
1035 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1036 | --libexe | --libex | --libe)
1037 ac_prev=libexecdir ;;
1038 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1039 | --libexe=* | --libex=* | --libe=*)
1040 libexecdir=$ac_optarg ;;
1042 -localedir | --localedir | --localedi | --localed | --locale)
1043 ac_prev=localedir ;;
1044 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1045 localedir=$ac_optarg ;;
1047 -localstatedir | --localstatedir | --localstatedi | --localstated \
1048 | --localstate | --localstat | --localsta | --localst | --locals)
1049 ac_prev=localstatedir ;;
1050 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1051 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1052 localstatedir=$ac_optarg ;;
1054 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1056 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1057 mandir=$ac_optarg ;;
1059 -nfp | --nfp | --nf)
1060 # Obsolete; use --without-fp.
1063 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1064 | --no-cr | --no-c | -n)
1067 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1068 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1071 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1072 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1073 | --oldin | --oldi | --old | --ol | --o)
1074 ac_prev=oldincludedir ;;
1075 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1076 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1077 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1078 oldincludedir=$ac_optarg ;;
1080 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1082 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1083 prefix=$ac_optarg ;;
1085 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1086 | --program-pre | --program-pr | --program-p)
1087 ac_prev=program_prefix ;;
1088 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1089 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1090 program_prefix=$ac_optarg ;;
1092 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1093 | --program-suf | --program-su | --program-s)
1094 ac_prev=program_suffix ;;
1095 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1096 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1097 program_suffix=$ac_optarg ;;
1099 -program-transform-name | --program-transform-name \
1100 | --program-transform-nam | --program-transform-na \
1101 | --program-transform-n | --program-transform- \
1102 | --program-transform | --program-transfor \
1103 | --program-transfo | --program-transf \
1104 | --program-trans | --program-tran \
1105 | --progr-tra | --program-tr | --program-t)
1106 ac_prev=program_transform_name ;;
1107 -program-transform-name=* | --program-transform-name=* \
1108 | --program-transform-nam=* | --program-transform-na=* \
1109 | --program-transform-n=* | --program-transform-=* \
1110 | --program-transform=* | --program-transfor=* \
1111 | --program-transfo=* | --program-transf=* \
1112 | --program-trans=* | --program-tran=* \
1113 | --progr-tra=* | --program-tr=* | --program-t=*)
1114 program_transform_name=$ac_optarg ;;
1116 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1118 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1119 pdfdir=$ac_optarg ;;
1121 -psdir | --psdir | --psdi | --psd | --ps)
1123 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1126 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1127 | -silent | --silent | --silen | --sile | --sil)
1130 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1132 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1134 sbindir=$ac_optarg ;;
1136 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1137 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1138 | --sharedst | --shareds | --shared | --share | --shar \
1140 ac_prev=sharedstatedir ;;
1141 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1142 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1143 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1145 sharedstatedir=$ac_optarg ;;
1147 -site | --site | --sit)
1149 -site=* | --site=* | --sit=*)
1152 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1154 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1155 srcdir=$ac_optarg ;;
1157 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1158 | --syscon | --sysco | --sysc | --sys | --sy)
1159 ac_prev=sysconfdir ;;
1160 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1161 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1162 sysconfdir=$ac_optarg ;;
1164 -target | --target | --targe | --targ | --tar | --ta | --t)
1165 ac_prev=target_alias ;;
1166 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1167 target_alias=$ac_optarg ;;
1169 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1172 -version | --version | --versio | --versi | --vers | -V)
1173 ac_init_version=: ;;
1176 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1177 # Reject names that are not valid shell variable names.
1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1179 as_fn_error $? "invalid package name: $ac_useropt"
1180 ac_useropt_orig=$ac_useropt
1181 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1182 case $ac_user_opts in
1186 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1187 ac_unrecognized_sep=', ';;
1189 eval with_$ac_useropt=\$ac_optarg ;;
1191 -without-* | --without-*)
1192 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1193 # Reject names that are not valid shell variable names.
1194 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1195 as_fn_error $? "invalid package name: $ac_useropt"
1196 ac_useropt_orig=$ac_useropt
1197 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1198 case $ac_user_opts in
1202 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1203 ac_unrecognized_sep=', ';;
1205 eval with_$ac_useropt=no ;;
1208 # Obsolete; use --with-x.
1211 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1212 | --x-incl | --x-inc | --x-in | --x-i)
1213 ac_prev=x_includes ;;
1214 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1215 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1216 x_includes=$ac_optarg ;;
1218 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1219 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1220 ac_prev=x_libraries ;;
1221 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1222 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1223 x_libraries=$ac_optarg ;;
1225 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1226 Try \`$0 --help' for more information"
1230 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1231 # Reject names that are not valid shell variable names.
1232 case $ac_envvar in #(
1233 '' | [0-9]* | *[!_$as_cr_alnum]* )
1234 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1236 eval $ac_envvar=\$ac_optarg
1237 export $ac_envvar ;;
1240 # FIXME: should be removed in autoconf 3.0.
1241 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1242 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1243 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1244 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1250 if test -n "$ac_prev"; then
1251 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1252 as_fn_error $? "missing argument to $ac_option"
1255 if test -n "$ac_unrecognized_opts"; then
1256 case $enable_option_checking in
1258 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1259 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1263 # Check all directory arguments for consistency.
1264 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1265 datadir sysconfdir sharedstatedir localstatedir includedir \
1266 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1267 libdir localedir mandir
1269 eval ac_val=\$$ac_var
1270 # Remove trailing slashes.
1273 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1274 eval $ac_var=\$ac_val;;
1276 # Be sure to have absolute directory names.
1278 [\\/$]* | ?:[\\/]* ) continue;;
1279 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1281 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1284 # There might be people who depend on the old broken behavior: `$host'
1285 # used to hold the argument of --host etc.
1286 # FIXME: To remove some day.
1289 target=$target_alias
1291 # FIXME: To remove some day.
1292 if test "x$host_alias" != x; then
1293 if test "x$build_alias" = x; then
1294 cross_compiling=maybe
1295 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1296 If a cross compiler is detected then cross compile mode will be used" >&2
1297 elif test "x$build_alias" != "x$host_alias"; then
1303 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1305 test "$silent" = yes && exec 6>/dev/null
1308 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1309 ac_ls_di=`ls -di .` &&
1310 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1311 as_fn_error $? "working directory cannot be determined"
1312 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1313 as_fn_error $? "pwd does not report name of working directory"
1316 # Find the source files, if location was not specified.
1317 if test -z "$srcdir"; then
1318 ac_srcdir_defaulted=yes
1319 # Try the directory containing this script, then the parent directory.
1320 ac_confdir=`$as_dirname -- "$as_myself" ||
1321 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1322 X"$as_myself" : 'X\(//\)[^/]' \| \
1323 X"$as_myself" : 'X\(//\)$' \| \
1324 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1325 $as_echo X"$as_myself" |
1326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1344 if test ! -r "$srcdir/$ac_unique_file"; then
1348 ac_srcdir_defaulted=no
1350 if test ! -r "$srcdir/$ac_unique_file"; then
1351 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1352 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1354 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1356 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1358 # When building in place, set srcdir=.
1359 if test "$ac_abs_confdir" = "$ac_pwd"; then
1362 # Remove unnecessary trailing slashes from srcdir.
1363 # Double slashes in file names in object file debugging info
1364 # mess up M-x gdb in Emacs.
1366 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1368 for ac_var in $ac_precious_vars; do
1369 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1370 eval ac_env_${ac_var}_value=\$${ac_var}
1371 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1372 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1376 # Report the --help message.
1378 if test "$ac_init_help" = "long"; then
1379 # Omit some internal or obsolete options to make the list less imposing.
1380 # This message is too long to be a string in the A/UX 3.1 sh.
1382 \`configure' configures Wine 1.4 to adapt to many kinds of systems.
1384 Usage: $0 [OPTION]... [VAR=VALUE]...
1386 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1387 VAR=VALUE. See below for descriptions of some of the useful variables.
1389 Defaults for the options are specified in brackets.
1392 -h, --help display this help and exit
1393 --help=short display options specific to this package
1394 --help=recursive display the short help of all the included packages
1395 -V, --version display version information and exit
1396 -q, --quiet, --silent do not print \`checking ...' messages
1397 --cache-file=FILE cache test results in FILE [disabled]
1398 -C, --config-cache alias for \`--cache-file=config.cache'
1399 -n, --no-create do not create output files
1400 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1402 Installation directories:
1403 --prefix=PREFIX install architecture-independent files in PREFIX
1404 [$ac_default_prefix]
1405 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1408 By default, \`make install' will install all the files in
1409 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1410 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1411 for instance \`--prefix=\$HOME'.
1413 For better control, use the options below.
1415 Fine tuning of the installation directories:
1416 --bindir=DIR user executables [EPREFIX/bin]
1417 --sbindir=DIR system admin executables [EPREFIX/sbin]
1418 --libexecdir=DIR program executables [EPREFIX/libexec]
1419 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1420 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1421 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1422 --libdir=DIR object code libraries [EPREFIX/lib]
1423 --includedir=DIR C header files [PREFIX/include]
1424 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1425 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1426 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1427 --infodir=DIR info documentation [DATAROOTDIR/info]
1428 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1429 --mandir=DIR man documentation [DATAROOTDIR/man]
1430 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1431 --htmldir=DIR html documentation [DOCDIR]
1432 --dvidir=DIR dvi documentation [DOCDIR]
1433 --pdfdir=DIR pdf documentation [DOCDIR]
1434 --psdir=DIR ps documentation [DOCDIR]
1440 --x-includes=DIR X include files are in DIR
1441 --x-libraries=DIR X library files are in DIR
1444 --build=BUILD configure for building on BUILD [guessed]
1445 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1449 if test -n "$ac_init_help"; then
1450 case $ac_init_help in
1451 short | recursive ) echo "Configuration of Wine 1.4:";;
1456 --disable-option-checking ignore unrecognized --enable/--with options
1457 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1458 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1459 --disable-win16 do not include Win16 support
1460 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1462 --disable-tests do not build the regression tests
1463 --enable-maintainer-mode
1464 enable maintainer-specific build rules
1465 --disable-largefile omit support for large files
1468 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1469 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1470 --without-alsa do not use the Alsa sound support
1471 --without-capi do not use CAPI (ISDN support)
1472 --without-cms do not use CMS (color management support)
1473 --without-coreaudio do not use the CoreAudio sound support
1474 --without-cups do not use CUPS
1475 --without-curses do not use (n)curses
1476 --without-dbus do not use DBus (dynamic device support)
1477 --without-fontconfig do not use fontconfig
1478 --without-freetype do not use the FreeType library
1479 --without-gettext do not use gettext
1480 --with-gettextpo use the GetTextPO library to rebuild po files
1481 --without-gphoto do not use gphoto (Digital Camera support)
1482 --without-glu do not use the GLU library
1483 --without-gnutls do not use GnuTLS (schannel support)
1484 --without-gsm do not use libgsm (GSM 06.10 codec support)
1485 --without-gstreamer do not use GStreamer (codecs support)
1486 --without-hal do not use HAL (dynamic device support)
1487 --without-jpeg do not use JPEG
1488 --without-ldap do not use LDAP
1489 --without-mpg123 do not use the mpg123 library
1490 --without-openal do not use OpenAL
1491 --without-opencl do not use OpenCL
1492 --without-opengl do not use OpenGL
1493 --without-openssl do not use OpenSSL
1494 --without-oss do not use the OSS sound support
1495 --without-png do not use PNG
1496 --without-pthread do not use the pthread library
1497 --without-sane do not use SANE (scanner support)
1498 --without-tiff do not use TIFF
1499 --without-v4l do not use v4l1 (v4l support)
1500 --without-xcomposite do not use the Xcomposite extension
1501 --without-xcursor do not use the Xcursor extension
1502 --without-xinerama do not use Xinerama (multi-monitor support)
1503 --without-xinput do not use the Xinput extension
1504 --without-xinput2 do not use the Xinput 2 extension
1505 --without-xml do not use XML
1506 --without-xrandr do not use Xrandr (resolution changes)
1507 --without-xrender do not use the Xrender extension
1508 --without-xshape do not use the Xshape extension
1509 --without-xslt do not use XSLT
1510 --without-xxf86vm do not use XFree video mode extension
1511 --without-zlib do not use Zlib (data compression)
1512 --with-wine-tools=DIR use Wine tools from directory DIR
1513 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1514 --with-x use the X Window System
1516 Some influential environment variables:
1517 CC C compiler command
1518 CFLAGS C compiler flags
1519 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1520 nonstandard directory <lib dir>
1521 LIBS libraries to pass to the linker, e.g. -l<library>
1522 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1523 you have headers in a nonstandard directory <include dir>
1524 CXX C++ compiler command
1525 CXXFLAGS C++ compiler flags
1527 XMKMF Path to xmkmf, Makefile generator for X Window System
1529 Use these variables to override the choices made by `configure' or to help
1530 it to find libraries and programs with nonstandard names/locations.
1532 Report bugs to <wine-devel@winehq.org>.
1533 Wine home page: <http://www.winehq.org>.
1538 if test "$ac_init_help" = "recursive"; then
1539 # If there are subdirs, report their specific --help.
1540 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1541 test -d "$ac_dir" ||
1542 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1547 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1549 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1550 # A ".." for each directory in $ac_dir_suffix.
1551 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1552 case $ac_top_builddir_sub in
1553 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1554 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1557 ac_abs_top_builddir=$ac_pwd
1558 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1559 # for backward compatibility:
1560 ac_top_builddir=$ac_top_build_prefix
1563 .) # We are building in place.
1565 ac_top_srcdir=$ac_top_builddir_sub
1566 ac_abs_top_srcdir=$ac_pwd ;;
1567 [\\/]* | ?:[\\/]* ) # Absolute name.
1568 ac_srcdir=$srcdir$ac_dir_suffix;
1569 ac_top_srcdir=$srcdir
1570 ac_abs_top_srcdir=$srcdir ;;
1572 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1573 ac_top_srcdir=$ac_top_build_prefix$srcdir
1574 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1576 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1578 cd "$ac_dir" || { ac_status=$?; continue; }
1579 # Check for guested configure.
1580 if test -f "$ac_srcdir/configure.gnu"; then
1582 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1583 elif test -f "$ac_srcdir/configure"; then
1585 $SHELL "$ac_srcdir/configure" --help=recursive
1587 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1589 cd "$ac_pwd" || { ac_status=$?; break; }
1593 test -n "$ac_init_help" && exit $ac_status
1594 if $ac_init_version; then
1597 generated by GNU Autoconf 2.68
1599 Copyright (C) 2010 Free Software Foundation, Inc.
1600 This configure script is free software; the Free Software Foundation
1601 gives unlimited permission to copy, distribute and modify it.
1606 ## ------------------------ ##
1607 ## Autoconf initialization. ##
1608 ## ------------------------ ##
1610 # ac_fn_c_try_compile LINENO
1611 # --------------------------
1612 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1613 ac_fn_c_try_compile ()
1615 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1616 rm -f conftest.$ac_objext
1617 if { { ac_try="$ac_compile"
1619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1620 *) ac_try_echo=$ac_try;;
1622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1623 $as_echo "$ac_try_echo"; } >&5
1624 (eval "$ac_compile") 2>conftest.err
1626 if test -s conftest.err; then
1627 grep -v '^ *+' conftest.err >conftest.er1
1628 cat conftest.er1 >&5
1629 mv -f conftest.er1 conftest.err
1631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1632 test $ac_status = 0; } && {
1633 test -z "$ac_c_werror_flag" ||
1634 test ! -s conftest.err
1635 } && test -s conftest.$ac_objext; then :
1638 $as_echo "$as_me: failed program was:" >&5
1639 sed 's/^/| /' conftest.$ac_ext >&5
1643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1644 as_fn_set_status $ac_retval
1646 } # ac_fn_c_try_compile
1648 # ac_fn_cxx_try_compile LINENO
1649 # ----------------------------
1650 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1651 ac_fn_cxx_try_compile ()
1653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1654 rm -f conftest.$ac_objext
1655 if { { ac_try="$ac_compile"
1657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1658 *) ac_try_echo=$ac_try;;
1660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1661 $as_echo "$ac_try_echo"; } >&5
1662 (eval "$ac_compile") 2>conftest.err
1664 if test -s conftest.err; then
1665 grep -v '^ *+' conftest.err >conftest.er1
1666 cat conftest.er1 >&5
1667 mv -f conftest.er1 conftest.err
1669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1670 test $ac_status = 0; } && {
1671 test -z "$ac_cxx_werror_flag" ||
1672 test ! -s conftest.err
1673 } && test -s conftest.$ac_objext; then :
1676 $as_echo "$as_me: failed program was:" >&5
1677 sed 's/^/| /' conftest.$ac_ext >&5
1681 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1682 as_fn_set_status $ac_retval
1684 } # ac_fn_cxx_try_compile
1686 # ac_fn_c_try_link LINENO
1687 # -----------------------
1688 # Try to link conftest.$ac_ext, and return whether this succeeded.
1691 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1692 rm -f conftest.$ac_objext conftest$ac_exeext
1693 if { { ac_try="$ac_link"
1695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1696 *) ac_try_echo=$ac_try;;
1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699 $as_echo "$ac_try_echo"; } >&5
1700 (eval "$ac_link") 2>conftest.err
1702 if test -s conftest.err; then
1703 grep -v '^ *+' conftest.err >conftest.er1
1704 cat conftest.er1 >&5
1705 mv -f conftest.er1 conftest.err
1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708 test $ac_status = 0; } && {
1709 test -z "$ac_c_werror_flag" ||
1710 test ! -s conftest.err
1711 } && test -s conftest$ac_exeext && {
1712 test "$cross_compiling" = yes ||
1713 $as_test_x conftest$ac_exeext
1717 $as_echo "$as_me: failed program was:" >&5
1718 sed 's/^/| /' conftest.$ac_ext >&5
1722 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1723 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1724 # interfere with the next link command; also delete a directory that is
1725 # left behind by Apple's compiler. We do this before executing the actions.
1726 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1727 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728 as_fn_set_status $ac_retval
1730 } # ac_fn_c_try_link
1732 # ac_fn_c_try_cpp LINENO
1733 # ----------------------
1734 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738 if { { ac_try="$ac_cpp conftest.$ac_ext"
1740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1741 *) ac_try_echo=$ac_try;;
1743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1744 $as_echo "$ac_try_echo"; } >&5
1745 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1747 if test -s conftest.err; then
1748 grep -v '^ *+' conftest.err >conftest.er1
1749 cat conftest.er1 >&5
1750 mv -f conftest.er1 conftest.err
1752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1753 test $ac_status = 0; } > conftest.i && {
1754 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1755 test ! -s conftest.err
1759 $as_echo "$as_me: failed program was:" >&5
1760 sed 's/^/| /' conftest.$ac_ext >&5
1764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1765 as_fn_set_status $ac_retval
1769 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1770 # -------------------------------------------------------
1771 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1772 # the include files in INCLUDES and setting the cache variable VAR
1774 ac_fn_c_check_header_mongrel ()
1776 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1777 if eval \${$3+:} false; then :
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1779 $as_echo_n "checking for $2... " >&6; }
1780 if eval \${$3+:} false; then :
1781 $as_echo_n "(cached) " >&6
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1785 $as_echo "$ac_res" >&6; }
1787 # Is the header compilable?
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1789 $as_echo_n "checking $2 usability... " >&6; }
1790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1791 /* end confdefs.h. */
1795 if ac_fn_c_try_compile "$LINENO"; then :
1796 ac_header_compiler=yes
1798 ac_header_compiler=no
1800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1802 $as_echo "$ac_header_compiler" >&6; }
1804 # Is the header present?
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1806 $as_echo_n "checking $2 presence... " >&6; }
1807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1808 /* end confdefs.h. */
1811 if ac_fn_c_try_cpp "$LINENO"; then :
1812 ac_header_preproc=yes
1814 ac_header_preproc=no
1816 rm -f conftest.err conftest.i conftest.$ac_ext
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1818 $as_echo "$ac_header_preproc" >&6; }
1820 # So? What about this header?
1821 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1824 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1826 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1830 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1832 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1834 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1836 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1838 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1839 ( $as_echo "## ------------------------------------ ##
1840 ## Report this to wine-devel@winehq.org ##
1841 ## ------------------------------------ ##"
1842 ) | sed "s/^/$as_me: WARNING: /" >&2
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1846 $as_echo_n "checking for $2... " >&6; }
1847 if eval \${$3+:} false; then :
1848 $as_echo_n "(cached) " >&6
1850 eval "$3=\$ac_header_compiler"
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1854 $as_echo "$ac_res" >&6; }
1856 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1858 } # ac_fn_c_check_header_mongrel
1860 # ac_fn_c_try_run LINENO
1861 # ----------------------
1862 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1863 # that executables *can* be run.
1866 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1867 if { { ac_try="$ac_link"
1869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1870 *) ac_try_echo=$ac_try;;
1872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1873 $as_echo "$ac_try_echo"; } >&5
1874 (eval "$ac_link") 2>&5
1876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1877 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1878 { { case "(($ac_try" in
1879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1880 *) ac_try_echo=$ac_try;;
1882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1883 $as_echo "$ac_try_echo"; } >&5
1884 (eval "$ac_try") 2>&5
1886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1887 test $ac_status = 0; }; }; then :
1890 $as_echo "$as_me: program exited with status $ac_status" >&5
1891 $as_echo "$as_me: failed program was:" >&5
1892 sed 's/^/| /' conftest.$ac_ext >&5
1894 ac_retval=$ac_status
1896 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1897 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1898 as_fn_set_status $ac_retval
1902 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1903 # -------------------------------------------------------
1904 # Tests whether HEADER exists and can be compiled using the include files in
1905 # INCLUDES, setting the cache variable VAR accordingly.
1906 ac_fn_c_check_header_compile ()
1908 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1910 $as_echo_n "checking for $2... " >&6; }
1911 if eval \${$3+:} false; then :
1912 $as_echo_n "(cached) " >&6
1914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1915 /* end confdefs.h. */
1919 if ac_fn_c_try_compile "$LINENO"; then :
1924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1928 $as_echo "$ac_res" >&6; }
1929 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1931 } # ac_fn_c_check_header_compile
1933 # ac_fn_c_check_func LINENO FUNC VAR
1934 # ----------------------------------
1935 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1936 ac_fn_c_check_func ()
1938 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1940 $as_echo_n "checking for $2... " >&6; }
1941 if eval \${$3+:} false; then :
1942 $as_echo_n "(cached) " >&6
1944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1945 /* end confdefs.h. */
1946 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1948 #define $2 innocuous_$2
1950 /* System header to define __stub macros and hopefully few prototypes,
1951 which can conflict with char $2 (); below.
1952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1953 <limits.h> exists even on freestanding compilers. */
1956 # include <limits.h>
1958 # include <assert.h>
1963 /* Override any GCC internal prototype to avoid an error.
1964 Use char because int might match the return type of a GCC
1965 builtin and then its argument prototype would still apply. */
1970 /* The GNU C library defines this for functions which it implements
1971 to always fail with ENOSYS. Some functions are actually named
1972 something starting with __ and the normal name is an alias. */
1973 #if defined __stub_$2 || defined __stub___$2
1985 if ac_fn_c_try_link "$LINENO"; then :
1990 rm -f core conftest.err conftest.$ac_objext \
1991 conftest$ac_exeext conftest.$ac_ext
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1995 $as_echo "$ac_res" >&6; }
1996 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1998 } # ac_fn_c_check_func
2000 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2001 # ----------------------------------------------------
2002 # Tries to find if the field MEMBER exists in type AGGR, after including
2003 # INCLUDES, setting cache variable VAR accordingly.
2004 ac_fn_c_check_member ()
2006 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2008 $as_echo_n "checking for $2.$3... " >&6; }
2009 if eval \${$4+:} false; then :
2010 $as_echo_n "(cached) " >&6
2012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2013 /* end confdefs.h. */
2025 if ac_fn_c_try_compile "$LINENO"; then :
2028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2029 /* end confdefs.h. */
2035 if (sizeof ac_aggr.$3)
2041 if ac_fn_c_try_compile "$LINENO"; then :
2046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2052 $as_echo "$ac_res" >&6; }
2053 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2055 } # ac_fn_c_check_member
2057 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2058 # -------------------------------------------
2059 # Tests whether TYPE exists after having included INCLUDES, setting cache
2060 # variable VAR accordingly.
2061 ac_fn_c_check_type ()
2063 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2065 $as_echo_n "checking for $2... " >&6; }
2066 if eval \${$3+:} false; then :
2067 $as_echo_n "(cached) " >&6
2070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2071 /* end confdefs.h. */
2082 if ac_fn_c_try_compile "$LINENO"; then :
2083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2084 /* end confdefs.h. */
2095 if ac_fn_c_try_compile "$LINENO"; then :
2100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2106 $as_echo "$ac_res" >&6; }
2107 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2109 } # ac_fn_c_check_type
2110 cat >config.log <<_ACEOF
2111 This file contains any messages produced by compilers while
2112 running configure, to aid debugging if configure makes a mistake.
2114 It was created by Wine $as_me 1.4, which was
2115 generated by GNU Autoconf 2.68. Invocation command line was
2127 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2128 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2129 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2130 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2131 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2133 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2134 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2136 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2137 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2138 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2139 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2140 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2141 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2142 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2150 test -z "$as_dir" && as_dir=.
2151 $as_echo "PATH: $as_dir"
2167 # Keep a trace of the command line.
2168 # Strip out --no-create and --no-recursion so they do not pile up.
2169 # Strip out --silent because we don't want to record it for future runs.
2170 # Also quote any args containing shell meta-characters.
2171 # Make two passes to allow for proper duplicate-argument suppression.
2175 ac_must_keep_next=false
2181 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2182 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2183 | -silent | --silent | --silen | --sile | --sil)
2186 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2189 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2191 as_fn_append ac_configure_args1 " '$ac_arg'"
2192 if test $ac_must_keep_next = true; then
2193 ac_must_keep_next=false # Got value, back to normal.
2196 *=* | --config-cache | -C | -disable-* | --disable-* \
2197 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2198 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2199 | -with-* | --with-* | -without-* | --without-* | --x)
2200 case "$ac_configure_args0 " in
2201 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2204 -* ) ac_must_keep_next=true ;;
2207 as_fn_append ac_configure_args " '$ac_arg'"
2212 { ac_configure_args0=; unset ac_configure_args0;}
2213 { ac_configure_args1=; unset ac_configure_args1;}
2215 # When interrupted or exit'd, cleanup temporary files, and complete
2216 # config.log. We remove comments because anyway the quotes in there
2217 # would cause problems or look ugly.
2218 # WARNING: Use '\'' to represent an apostrophe within the trap.
2219 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2220 trap 'exit_status=$?
2221 # Save into config.log some information that might help in debugging.
2225 $as_echo "## ---------------- ##
2226 ## Cache variables. ##
2227 ## ---------------- ##"
2229 # The following way of writing the cache mishandles newlines in values,
2231 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2232 eval ac_val=\$$ac_var
2236 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2237 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2240 _ | IFS | as_nl) ;; #(
2241 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2242 *) { eval $ac_var=; unset $ac_var;} ;;
2247 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2248 *${as_nl}ac_space=\ *)
2250 "s/'\''/'\''\\\\'\'''\''/g;
2251 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2254 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2261 $as_echo "## ----------------- ##
2262 ## Output variables. ##
2263 ## ----------------- ##"
2265 for ac_var in $ac_subst_vars
2267 eval ac_val=\$$ac_var
2269 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2271 $as_echo "$ac_var='\''$ac_val'\''"
2275 if test -n "$ac_subst_files"; then
2276 $as_echo "## ------------------- ##
2277 ## File substitutions. ##
2278 ## ------------------- ##"
2280 for ac_var in $ac_subst_files
2282 eval ac_val=\$$ac_var
2284 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2286 $as_echo "$ac_var='\''$ac_val'\''"
2291 if test -s confdefs.h; then
2292 $as_echo "## ----------- ##
2299 test "$ac_signal" != 0 &&
2300 $as_echo "$as_me: caught signal $ac_signal"
2301 $as_echo "$as_me: exit $exit_status"
2303 rm -f core *.core core.conftest.* &&
2304 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2307 for ac_signal in 1 2 13 15; do
2308 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2312 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2313 rm -f -r conftest* confdefs.h
2315 $as_echo "/* confdefs.h */" > confdefs.h
2317 # Predefined preprocessor variables.
2319 cat >>confdefs.h <<_ACEOF
2320 #define PACKAGE_NAME "$PACKAGE_NAME"
2323 cat >>confdefs.h <<_ACEOF
2324 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2327 cat >>confdefs.h <<_ACEOF
2328 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2331 cat >>confdefs.h <<_ACEOF
2332 #define PACKAGE_STRING "$PACKAGE_STRING"
2335 cat >>confdefs.h <<_ACEOF
2336 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2339 cat >>confdefs.h <<_ACEOF
2340 #define PACKAGE_URL "$PACKAGE_URL"
2344 # Let the site file select an alternate cache file if it wants to.
2345 # Prefer an explicitly selected file to automatically selected ones.
2348 if test -n "$CONFIG_SITE"; then
2349 # We do not want a PATH search for config.site.
2350 case $CONFIG_SITE in #((
2351 -*) ac_site_file1=./$CONFIG_SITE;;
2352 */*) ac_site_file1=$CONFIG_SITE;;
2353 *) ac_site_file1=./$CONFIG_SITE;;
2355 elif test "x$prefix" != xNONE; then
2356 ac_site_file1=$prefix/share/config.site
2357 ac_site_file2=$prefix/etc/config.site
2359 ac_site_file1=$ac_default_prefix/share/config.site
2360 ac_site_file2=$ac_default_prefix/etc/config.site
2362 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2364 test "x$ac_site_file" = xNONE && continue
2365 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2367 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2368 sed 's/^/| /' "$ac_site_file" >&5
2370 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2372 as_fn_error $? "failed to load site script $ac_site_file
2373 See \`config.log' for more details" "$LINENO" 5; }
2377 if test -r "$cache_file"; then
2378 # Some versions of bash will fail to source /dev/null (special files
2379 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2380 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2382 $as_echo "$as_me: loading cache $cache_file" >&6;}
2384 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2385 *) . "./$cache_file";;
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2390 $as_echo "$as_me: creating cache $cache_file" >&6;}
2394 # Check that the precious variables saved in the cache have kept the same
2396 ac_cache_corrupted=false
2397 for ac_var in $ac_precious_vars; do
2398 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2399 eval ac_new_set=\$ac_env_${ac_var}_set
2400 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2401 eval ac_new_val=\$ac_env_${ac_var}_value
2402 case $ac_old_set,$ac_new_set in
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2405 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2406 ac_cache_corrupted=: ;;
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2409 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2410 ac_cache_corrupted=: ;;
2413 if test "x$ac_old_val" != "x$ac_new_val"; then
2414 # differences in whitespace do not lead to failure.
2415 ac_old_val_w=`echo x $ac_old_val`
2416 ac_new_val_w=`echo x $ac_new_val`
2417 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2419 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2420 ac_cache_corrupted=:
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2423 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2424 eval $ac_var=\$ac_old_val
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2427 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2429 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2432 # Pass precious variables to config.status.
2433 if test "$ac_new_set" = set; then
2435 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2436 *) ac_arg=$ac_var=$ac_new_val ;;
2438 case " $ac_configure_args " in
2439 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2440 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2444 if $ac_cache_corrupted; then
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2448 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2449 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2451 ## -------------------- ##
2452 ## Main body of script. ##
2453 ## -------------------- ##
2456 ac_cpp='$CPP $CPPFLAGS'
2457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2463 ac_config_headers="$ac_config_headers include/config.h"
2466 for ac_dir in tools "$srcdir"/tools; do
2467 if test -f "$ac_dir/install-sh"; then
2469 ac_install_sh="$ac_aux_dir/install-sh -c"
2471 elif test -f "$ac_dir/install.sh"; then
2473 ac_install_sh="$ac_aux_dir/install.sh -c"
2475 elif test -f "$ac_dir/shtool"; then
2477 ac_install_sh="$ac_aux_dir/shtool install -c"
2481 if test -z "$ac_aux_dir"; then
2482 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2485 # These three variables are undocumented and unsupported,
2486 # and are intended to be withdrawn in a future Autoconf release.
2487 # They can cause serious problems if a builder's source tree is in a directory
2488 # whose full name contains unusual characters.
2489 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2490 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2491 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2497 # Check whether --enable-win16 was given.
2498 if test "${enable_win16+set}" = set; then :
2499 enableval=$enable_win16;
2502 # Check whether --enable-win64 was given.
2503 if test "${enable_win64+set}" = set; then :
2504 enableval=$enable_win64;
2507 # Check whether --enable-tests was given.
2508 if test "${enable_tests+set}" = set; then :
2509 enableval=$enable_tests;
2512 # Check whether --enable-maintainer-mode was given.
2513 if test "${enable_maintainer_mode+set}" = set; then :
2514 enableval=$enable_maintainer_mode;
2519 # Check whether --with-alsa was given.
2520 if test "${with_alsa+set}" = set; then :
2521 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
2525 # Check whether --with-capi was given.
2526 if test "${with_capi+set}" = set; then :
2527 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
2531 # Check whether --with-cms was given.
2532 if test "${with_cms+set}" = set; then :
2533 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
2537 # Check whether --with-coreaudio was given.
2538 if test "${with_coreaudio+set}" = set; then :
2539 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
2543 # Check whether --with-cups was given.
2544 if test "${with_cups+set}" = set; then :
2549 # Check whether --with-curses was given.
2550 if test "${with_curses+set}" = set; then :
2551 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
2555 # Check whether --with-dbus was given.
2556 if test "${with_dbus+set}" = set; then :
2561 # Check whether --with-fontconfig was given.
2562 if test "${with_fontconfig+set}" = set; then :
2563 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
2567 # Check whether --with-freetype was given.
2568 if test "${with_freetype+set}" = set; then :
2569 withval=$with_freetype;
2573 # Check whether --with-gettext was given.
2574 if test "${with_gettext+set}" = set; then :
2575 withval=$with_gettext;
2579 # Check whether --with-gettextpo was given.
2580 if test "${with_gettextpo+set}" = set; then :
2581 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
2585 # Check whether --with-gphoto was given.
2586 if test "${with_gphoto+set}" = set; then :
2587 withval=$with_gphoto;
2591 # Check whether --with-glu was given.
2592 if test "${with_glu+set}" = set; then :
2593 withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
2597 # Check whether --with-gnutls was given.
2598 if test "${with_gnutls+set}" = set; then :
2599 withval=$with_gnutls;
2603 # Check whether --with-gsm was given.
2604 if test "${with_gsm+set}" = set; then :
2605 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
2609 # Check whether --with-gstreamer was given.
2610 if test "${with_gstreamer+set}" = set; then :
2611 withval=$with_gstreamer;
2615 # Check whether --with-hal was given.
2616 if test "${with_hal+set}" = set; then :
2621 # Check whether --with-jpeg was given.
2622 if test "${with_jpeg+set}" = set; then :
2623 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2627 # Check whether --with-ldap was given.
2628 if test "${with_ldap+set}" = set; then :
2629 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2633 # Check whether --with-mpg123 was given.
2634 if test "${with_mpg123+set}" = set; then :
2635 withval=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h=no; fi
2639 # Check whether --with-openal was given.
2640 if test "${with_openal+set}" = set; then :
2641 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
2645 # Check whether --with-opencl was given.
2646 if test "${with_opencl+set}" = set; then :
2647 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
2651 # Check whether --with-opengl was given.
2652 if test "${with_opengl+set}" = set; then :
2653 withval=$with_opengl;
2657 # Check whether --with-openssl was given.
2658 if test "${with_openssl+set}" = set; then :
2659 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2663 # Check whether --with-oss was given.
2664 if test "${with_oss+set}" = set; then :
2669 # Check whether --with-png was given.
2670 if test "${with_png+set}" = set; then :
2671 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2675 # Check whether --with-pthread was given.
2676 if test "${with_pthread+set}" = set; then :
2677 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
2681 # Check whether --with-sane was given.
2682 if test "${with_sane+set}" = set; then :
2687 # Check whether --with-tiff was given.
2688 if test "${with_tiff+set}" = set; then :
2689 withval=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h=no; fi
2693 # Check whether --with-v4l was given.
2694 if test "${with_v4l+set}" = set; then :
2699 # Check whether --with-xcomposite was given.
2700 if test "${with_xcomposite+set}" = set; then :
2701 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2705 # Check whether --with-xcursor was given.
2706 if test "${with_xcursor+set}" = set; then :
2707 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2711 # Check whether --with-xinerama was given.
2712 if test "${with_xinerama+set}" = set; then :
2713 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2717 # Check whether --with-xinput was given.
2718 if test "${with_xinput+set}" = set; then :
2719 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2723 # Check whether --with-xinput2 was given.
2724 if test "${with_xinput2+set}" = set; then :
2725 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
2729 # Check whether --with-xml was given.
2730 if test "${with_xml+set}" = set; then :
2735 # Check whether --with-xrandr was given.
2736 if test "${with_xrandr+set}" = set; then :
2737 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2741 # Check whether --with-xrender was given.
2742 if test "${with_xrender+set}" = set; then :
2743 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2747 # Check whether --with-xshape was given.
2748 if test "${with_xshape+set}" = set; then :
2749 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2753 # Check whether --with-xslt was given.
2754 if test "${with_xslt+set}" = set; then :
2759 # Check whether --with-xxf86vm was given.
2760 if test "${with_xxf86vm+set}" = set; then :
2761 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
2765 # Check whether --with-zlib was given.
2766 if test "${with_zlib+set}" = set; then :
2767 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
2772 # Check whether --with-wine-tools was given.
2773 if test "${with_wine_tools+set}" = set; then :
2774 withval=$with_wine_tools;
2778 # Check whether --with-wine64 was given.
2779 if test "${with_wine64+set}" = set; then :
2780 withval=$with_wine64;
2784 # Make sure we can run config.sub.
2785 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2786 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2789 $as_echo_n "checking build system type... " >&6; }
2790 if ${ac_cv_build+:} false; then :
2791 $as_echo_n "(cached) " >&6
2793 ac_build_alias=$build_alias
2794 test "x$ac_build_alias" = x &&
2795 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2796 test "x$ac_build_alias" = x &&
2797 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2798 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2799 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2803 $as_echo "$ac_cv_build" >&6; }
2804 case $ac_cv_build in
2806 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2809 ac_save_IFS=$IFS; IFS='-'
2815 # Remember, the first character of IFS is used to create $*,
2816 # except with old shells:
2819 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2823 $as_echo_n "checking host system type... " >&6; }
2824 if ${ac_cv_host+:} false; then :
2825 $as_echo_n "(cached) " >&6
2827 if test "x$host_alias" = x; then
2828 ac_cv_host=$ac_cv_build
2830 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2831 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2836 $as_echo "$ac_cv_host" >&6; }
2839 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2842 ac_save_IFS=$IFS; IFS='-'
2848 # Remember, the first character of IFS is used to create $*,
2849 # except with old shells:
2852 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2858 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2859 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
2860 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2866 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2868 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2869 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2870 $as_echo_n "(cached) " >&6
2872 cat >conftest.make <<\_ACEOF
2875 @echo '@@@%%%=$(MAKE)=@@@%%%'
2877 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2878 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2880 eval ac_cv_prog_make_${ac_make}_set=yes;;
2882 eval ac_cv_prog_make_${ac_make}_set=no;;
2886 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2888 $as_echo "yes" >&6; }
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2892 $as_echo "no" >&6; }
2893 SET_MAKE="MAKE=${MAKE-make}"
2897 ac_cpp='$CPP $CPPFLAGS'
2898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2901 if test -n "$ac_tool_prefix"; then
2902 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2903 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2905 $as_echo_n "checking for $ac_word... " >&6; }
2906 if ${ac_cv_prog_CC+:} false; then :
2907 $as_echo_n "(cached) " >&6
2909 if test -n "$CC"; then
2910 ac_cv_prog_CC="$CC" # Let the user override the test.
2912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2916 test -z "$as_dir" && as_dir=.
2917 for ac_exec_ext in '' $ac_executable_extensions; do
2918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2919 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2930 if test -n "$CC"; then
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2932 $as_echo "$CC" >&6; }
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2935 $as_echo "no" >&6; }
2940 if test -z "$ac_cv_prog_CC"; then
2942 # Extract the first word of "gcc", so it can be a program name with args.
2943 set dummy gcc; ac_word=$2
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2945 $as_echo_n "checking for $ac_word... " >&6; }
2946 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2947 $as_echo_n "(cached) " >&6
2949 if test -n "$ac_ct_CC"; then
2950 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2956 test -z "$as_dir" && as_dir=.
2957 for ac_exec_ext in '' $ac_executable_extensions; do
2958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2959 ac_cv_prog_ac_ct_CC="gcc"
2960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2969 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2970 if test -n "$ac_ct_CC"; then
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2972 $as_echo "$ac_ct_CC" >&6; }
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2975 $as_echo "no" >&6; }
2978 if test "x$ac_ct_CC" = x; then
2981 case $cross_compiling:$ac_tool_warned in
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2984 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2985 ac_tool_warned=yes ;;
2993 if test -z "$CC"; then
2994 if test -n "$ac_tool_prefix"; then
2995 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2996 set dummy ${ac_tool_prefix}cc; ac_word=$2
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2998 $as_echo_n "checking for $ac_word... " >&6; }
2999 if ${ac_cv_prog_CC+:} false; then :
3000 $as_echo_n "(cached) " >&6
3002 if test -n "$CC"; then
3003 ac_cv_prog_CC="$CC" # Let the user override the test.
3005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3009 test -z "$as_dir" && as_dir=.
3010 for ac_exec_ext in '' $ac_executable_extensions; do
3011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3012 ac_cv_prog_CC="${ac_tool_prefix}cc"
3013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3023 if test -n "$CC"; then
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3025 $as_echo "$CC" >&6; }
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3028 $as_echo "no" >&6; }
3034 if test -z "$CC"; then
3035 # Extract the first word of "cc", so it can be a program name with args.
3036 set dummy cc; ac_word=$2
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3038 $as_echo_n "checking for $ac_word... " >&6; }
3039 if ${ac_cv_prog_CC+:} false; then :
3040 $as_echo_n "(cached) " >&6
3042 if test -n "$CC"; then
3043 ac_cv_prog_CC="$CC" # Let the user override the test.
3046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3050 test -z "$as_dir" && as_dir=.
3051 for ac_exec_ext in '' $ac_executable_extensions; do
3052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3053 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3054 ac_prog_rejected=yes
3058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3065 if test $ac_prog_rejected = yes; then
3066 # We found a bogon in the path, so make sure we never use it.
3067 set dummy $ac_cv_prog_CC
3069 if test $# != 0; then
3070 # We chose a different compiler from the bogus one.
3071 # However, it has the same basename, so the bogon will be chosen
3072 # first if we set CC to just the basename; use the full file name.
3074 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3080 if test -n "$CC"; then
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3082 $as_echo "$CC" >&6; }
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3085 $as_echo "no" >&6; }
3090 if test -z "$CC"; then
3091 if test -n "$ac_tool_prefix"; then
3092 for ac_prog in cl.exe
3094 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3095 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3097 $as_echo_n "checking for $ac_word... " >&6; }
3098 if ${ac_cv_prog_CC+:} false; then :
3099 $as_echo_n "(cached) " >&6
3101 if test -n "$CC"; then
3102 ac_cv_prog_CC="$CC" # Let the user override the test.
3104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3108 test -z "$as_dir" && as_dir=.
3109 for ac_exec_ext in '' $ac_executable_extensions; do
3110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3111 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3122 if test -n "$CC"; then
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3124 $as_echo "$CC" >&6; }
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3127 $as_echo "no" >&6; }
3131 test -n "$CC" && break
3134 if test -z "$CC"; then
3136 for ac_prog in cl.exe
3138 # Extract the first word of "$ac_prog", so it can be a program name with args.
3139 set dummy $ac_prog; ac_word=$2
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3141 $as_echo_n "checking for $ac_word... " >&6; }
3142 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3143 $as_echo_n "(cached) " >&6
3145 if test -n "$ac_ct_CC"; then
3146 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3152 test -z "$as_dir" && as_dir=.
3153 for ac_exec_ext in '' $ac_executable_extensions; do
3154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3155 ac_cv_prog_ac_ct_CC="$ac_prog"
3156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3165 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3166 if test -n "$ac_ct_CC"; then
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3168 $as_echo "$ac_ct_CC" >&6; }
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3171 $as_echo "no" >&6; }
3175 test -n "$ac_ct_CC" && break
3178 if test "x$ac_ct_CC" = x; then
3181 case $cross_compiling:$ac_tool_warned in
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3185 ac_tool_warned=yes ;;
3194 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3196 as_fn_error $? "no acceptable C compiler found in \$PATH
3197 See \`config.log' for more details" "$LINENO" 5; }
3199 # Provide some information about the compiler.
3200 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3203 for ac_option in --version -v -V -qversion; do
3204 { { ac_try="$ac_compiler $ac_option >&5"
3206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3207 *) ac_try_echo=$ac_try;;
3209 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3210 $as_echo "$ac_try_echo"; } >&5
3211 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3213 if test -s conftest.err; then
3215 ... rest of stderr output deleted ...
3216 10q' conftest.err >conftest.er1
3217 cat conftest.er1 >&5
3219 rm -f conftest.er1 conftest.err
3220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3221 test $ac_status = 0; }
3224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3225 /* end confdefs.h. */
3235 ac_clean_files_save=$ac_clean_files
3236 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3237 # Try to create an executable without -o first, disregard a.out.
3238 # It will help us diagnose broken compilers, and finding out an intuition
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3241 $as_echo_n "checking whether the C compiler works... " >&6; }
3242 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3244 # The possible output files:
3245 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3248 for ac_file in $ac_files
3251 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3252 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3257 if { { ac_try="$ac_link_default"
3259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3260 *) ac_try_echo=$ac_try;;
3262 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3263 $as_echo "$ac_try_echo"; } >&5
3264 (eval "$ac_link_default") 2>&5
3266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3267 test $ac_status = 0; }; then :
3268 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3269 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3270 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3271 # so that the user can short-circuit this test for compilers unknown to
3273 for ac_file in $ac_files ''
3275 test -f "$ac_file" || continue
3277 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3280 # We found the default executable, but exeext='' is most
3284 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3286 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3288 # We set ac_cv_exeext here because the later test for it is not
3289 # safe: cross compilers may not add the suffix if given an `-o'
3290 # argument, so we may need to know it at that point already.
3291 # Even if this section looks crufty: it has the advantage of
3298 test "$ac_cv_exeext" = no && ac_cv_exeext=
3303 if test -z "$ac_file"; then :
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3305 $as_echo "no" >&6; }
3306 $as_echo "$as_me: failed program was:" >&5
3307 sed 's/^/| /' conftest.$ac_ext >&5
3309 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3311 as_fn_error 77 "C compiler cannot create executables
3312 See \`config.log' for more details" "$LINENO" 5; }
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3315 $as_echo "yes" >&6; }
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3318 $as_echo_n "checking for C compiler default output file name... " >&6; }
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3320 $as_echo "$ac_file" >&6; }
3321 ac_exeext=$ac_cv_exeext
3323 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3324 ac_clean_files=$ac_clean_files_save
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3326 $as_echo_n "checking for suffix of executables... " >&6; }
3327 if { { ac_try="$ac_link"
3329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3330 *) ac_try_echo=$ac_try;;
3332 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3333 $as_echo "$ac_try_echo"; } >&5
3334 (eval "$ac_link") 2>&5
3336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3337 test $ac_status = 0; }; then :
3338 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3339 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3340 # work properly (i.e., refer to `conftest.exe'), while it won't with
3342 for ac_file in conftest.exe conftest conftest.*; do
3343 test -f "$ac_file" || continue
3345 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3346 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3352 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3354 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3355 See \`config.log' for more details" "$LINENO" 5; }
3357 rm -f conftest conftest$ac_cv_exeext
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3359 $as_echo "$ac_cv_exeext" >&6; }
3361 rm -f conftest.$ac_ext
3362 EXEEXT=$ac_cv_exeext
3364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3365 /* end confdefs.h. */
3370 FILE *f = fopen ("conftest.out", "w");
3371 return ferror (f) || fclose (f) != 0;
3377 ac_clean_files="$ac_clean_files conftest.out"
3378 # Check that the compiler produces executables we can run. If not, either
3379 # the compiler is broken, or we cross compile.
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3381 $as_echo_n "checking whether we are cross compiling... " >&6; }
3382 if test "$cross_compiling" != yes; then
3383 { { ac_try="$ac_link"
3385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3386 *) ac_try_echo=$ac_try;;
3388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3389 $as_echo "$ac_try_echo"; } >&5
3390 (eval "$ac_link") 2>&5
3392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3393 test $ac_status = 0; }
3394 if { ac_try='./conftest$ac_cv_exeext'
3395 { { case "(($ac_try" in
3396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3397 *) ac_try_echo=$ac_try;;
3399 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3400 $as_echo "$ac_try_echo"; } >&5
3401 (eval "$ac_try") 2>&5
3403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3404 test $ac_status = 0; }; }; then
3407 if test "$cross_compiling" = maybe; then
3410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3412 as_fn_error $? "cannot run C compiled programs.
3413 If you meant to cross compile, use \`--host'.
3414 See \`config.log' for more details" "$LINENO" 5; }
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3419 $as_echo "$cross_compiling" >&6; }
3421 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3422 ac_clean_files=$ac_clean_files_save
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3424 $as_echo_n "checking for suffix of object files... " >&6; }
3425 if ${ac_cv_objext+:} false; then :
3426 $as_echo_n "(cached) " >&6
3428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3429 /* end confdefs.h. */
3439 rm -f conftest.o conftest.obj
3440 if { { ac_try="$ac_compile"
3442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3443 *) ac_try_echo=$ac_try;;
3445 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3446 $as_echo "$ac_try_echo"; } >&5
3447 (eval "$ac_compile") 2>&5
3449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3450 test $ac_status = 0; }; then :
3451 for ac_file in conftest.o conftest.obj conftest.*; do
3452 test -f "$ac_file" || continue;
3454 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3455 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3460 $as_echo "$as_me: failed program was:" >&5
3461 sed 's/^/| /' conftest.$ac_ext >&5
3463 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3465 as_fn_error $? "cannot compute suffix of object files: cannot compile
3466 See \`config.log' for more details" "$LINENO" 5; }
3468 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3471 $as_echo "$ac_cv_objext" >&6; }
3472 OBJEXT=$ac_cv_objext
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3475 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3476 if ${ac_cv_c_compiler_gnu+:} false; then :
3477 $as_echo_n "(cached) " >&6
3479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3480 /* end confdefs.h. */
3493 if ac_fn_c_try_compile "$LINENO"; then :
3498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3499 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3503 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3504 if test $ac_compiler_gnu = yes; then
3509 ac_test_CFLAGS=${CFLAGS+set}
3510 ac_save_CFLAGS=$CFLAGS
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3512 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3513 if ${ac_cv_prog_cc_g+:} false; then :
3514 $as_echo_n "(cached) " >&6
3516 ac_save_c_werror_flag=$ac_c_werror_flag
3517 ac_c_werror_flag=yes
3520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3521 /* end confdefs.h. */
3531 if ac_fn_c_try_compile "$LINENO"; then :
3535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3536 /* end confdefs.h. */
3546 if ac_fn_c_try_compile "$LINENO"; then :
3549 ac_c_werror_flag=$ac_save_c_werror_flag
3551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3552 /* end confdefs.h. */
3562 if ac_fn_c_try_compile "$LINENO"; then :
3565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3570 ac_c_werror_flag=$ac_save_c_werror_flag
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3573 $as_echo "$ac_cv_prog_cc_g" >&6; }
3574 if test "$ac_test_CFLAGS" = set; then
3575 CFLAGS=$ac_save_CFLAGS
3576 elif test $ac_cv_prog_cc_g = yes; then
3577 if test "$GCC" = yes; then
3583 if test "$GCC" = yes; then
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3590 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3591 if ${ac_cv_prog_cc_c89+:} false; then :
3592 $as_echo_n "(cached) " >&6
3594 ac_cv_prog_cc_c89=no
3596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3597 /* end confdefs.h. */
3600 #include <sys/types.h>
3601 #include <sys/stat.h>
3602 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3603 struct buf { int x; };
3604 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3605 static char *e (p, i)
3611 static char *f (char * (*g) (char **, int), char **p, ...)
3616 s = g (p, va_arg (v,int));
3621 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3622 function prototypes and stuff, but not '\xHH' hex character constants.
3623 These don't provoke an error unfortunately, instead are silently treated
3624 as 'x'. The following induces an error, until -std is added to get
3625 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3626 array size at least. It's necessary to write '\x00'==0 to get something
3627 that's true only with -std. */
3628 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3630 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3631 inside strings and character constants. */
3633 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3635 int test (int i, double x);
3636 struct s1 {int (*f) (int a);};
3637 struct s2 {int (*f) (double a);};
3638 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3644 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3649 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3650 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3652 CC="$ac_save_CC $ac_arg"
3653 if ac_fn_c_try_compile "$LINENO"; then :
3654 ac_cv_prog_cc_c89=$ac_arg
3656 rm -f core conftest.err conftest.$ac_objext
3657 test "x$ac_cv_prog_cc_c89" != "xno" && break
3659 rm -f conftest.$ac_ext
3664 case "x$ac_cv_prog_cc_c89" in
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3667 $as_echo "none needed" >&6; } ;;
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3670 $as_echo "unsupported" >&6; } ;;
3672 CC="$CC $ac_cv_prog_cc_c89"
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3674 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3676 if test "x$ac_cv_prog_cc_c89" != xno; then :
3681 ac_cpp='$CPP $CPPFLAGS'
3682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3687 ac_cpp='$CXXCPP $CPPFLAGS'
3688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3691 if test -z "$CXX"; then
3692 if test -n "$CCC"; then
3695 if test -n "$ac_tool_prefix"; then
3696 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3698 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3699 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3701 $as_echo_n "checking for $ac_word... " >&6; }
3702 if ${ac_cv_prog_CXX+:} false; then :
3703 $as_echo_n "(cached) " >&6
3705 if test -n "$CXX"; then
3706 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3712 test -z "$as_dir" && as_dir=.
3713 for ac_exec_ext in '' $ac_executable_extensions; do
3714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3715 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3726 if test -n "$CXX"; then
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3728 $as_echo "$CXX" >&6; }
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3731 $as_echo "no" >&6; }
3735 test -n "$CXX" && break
3738 if test -z "$CXX"; then
3740 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3742 # Extract the first word of "$ac_prog", so it can be a program name with args.
3743 set dummy $ac_prog; ac_word=$2
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3745 $as_echo_n "checking for $ac_word... " >&6; }
3746 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3747 $as_echo_n "(cached) " >&6
3749 if test -n "$ac_ct_CXX"; then
3750 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3756 test -z "$as_dir" && as_dir=.
3757 for ac_exec_ext in '' $ac_executable_extensions; do
3758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3759 ac_cv_prog_ac_ct_CXX="$ac_prog"
3760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3769 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3770 if test -n "$ac_ct_CXX"; then
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3772 $as_echo "$ac_ct_CXX" >&6; }
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3775 $as_echo "no" >&6; }
3779 test -n "$ac_ct_CXX" && break
3782 if test "x$ac_ct_CXX" = x; then
3785 case $cross_compiling:$ac_tool_warned in
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3789 ac_tool_warned=yes ;;
3797 # Provide some information about the compiler.
3798 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3801 for ac_option in --version -v -V -qversion; do
3802 { { ac_try="$ac_compiler $ac_option >&5"
3804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3805 *) ac_try_echo=$ac_try;;
3807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3808 $as_echo "$ac_try_echo"; } >&5
3809 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3811 if test -s conftest.err; then
3813 ... rest of stderr output deleted ...
3814 10q' conftest.err >conftest.er1
3815 cat conftest.er1 >&5
3817 rm -f conftest.er1 conftest.err
3818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3819 test $ac_status = 0; }
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3823 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3824 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3825 $as_echo_n "(cached) " >&6
3827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3828 /* end confdefs.h. */
3841 if ac_fn_cxx_try_compile "$LINENO"; then :
3846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3847 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3851 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3852 if test $ac_compiler_gnu = yes; then
3857 ac_test_CXXFLAGS=${CXXFLAGS+set}
3858 ac_save_CXXFLAGS=$CXXFLAGS
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3860 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3861 if ${ac_cv_prog_cxx_g+:} false; then :
3862 $as_echo_n "(cached) " >&6
3864 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3865 ac_cxx_werror_flag=yes
3868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3869 /* end confdefs.h. */
3879 if ac_fn_cxx_try_compile "$LINENO"; then :
3880 ac_cv_prog_cxx_g=yes
3883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3884 /* end confdefs.h. */
3894 if ac_fn_cxx_try_compile "$LINENO"; then :
3897 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3900 /* end confdefs.h. */
3910 if ac_fn_cxx_try_compile "$LINENO"; then :
3911 ac_cv_prog_cxx_g=yes
3913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3918 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3921 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3922 if test "$ac_test_CXXFLAGS" = set; then
3923 CXXFLAGS=$ac_save_CXXFLAGS
3924 elif test $ac_cv_prog_cxx_g = yes; then
3925 if test "$GXX" = yes; then
3931 if test "$GXX" = yes; then
3938 ac_cpp='$CPP $CPPFLAGS'
3939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3943 if test -n "$ac_tool_prefix"; then
3944 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3945 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3947 $as_echo_n "checking for $ac_word... " >&6; }
3948 if ${ac_cv_prog_CPPBIN+:} false; then :
3949 $as_echo_n "(cached) " >&6
3951 if test -n "$CPPBIN"; then
3952 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3958 test -z "$as_dir" && as_dir=.
3959 for ac_exec_ext in '' $ac_executable_extensions; do
3960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3961 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3971 CPPBIN=$ac_cv_prog_CPPBIN
3972 if test -n "$CPPBIN"; then
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
3974 $as_echo "$CPPBIN" >&6; }
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3977 $as_echo "no" >&6; }
3982 if test -z "$ac_cv_prog_CPPBIN"; then
3983 ac_ct_CPPBIN=$CPPBIN
3984 # Extract the first word of "cpp", so it can be a program name with args.
3985 set dummy cpp; ac_word=$2
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3987 $as_echo_n "checking for $ac_word... " >&6; }
3988 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
3989 $as_echo_n "(cached) " >&6
3991 if test -n "$ac_ct_CPPBIN"; then
3992 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3998 test -z "$as_dir" && as_dir=.
3999 for ac_exec_ext in '' $ac_executable_extensions; do
4000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4001 ac_cv_prog_ac_ct_CPPBIN="cpp"
4002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4011 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4012 if test -n "$ac_ct_CPPBIN"; then
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4014 $as_echo "$ac_ct_CPPBIN" >&6; }
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4017 $as_echo "no" >&6; }
4020 if test "x$ac_ct_CPPBIN" = x; then
4023 case $cross_compiling:$ac_tool_warned in
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4026 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4027 ac_tool_warned=yes ;;
4029 CPPBIN=$ac_ct_CPPBIN
4032 CPPBIN="$ac_cv_prog_CPPBIN"
4036 cat >>confdefs.h <<_ACEOF
4037 #define EXEEXT "$ac_exeext"
4043 if test "x$enable_win64" = "xyes"
4048 notice_platform="64-bit "
4055 notice_platform="32-bit "
4058 enable_win16=${enable_win16:-yes}
4062 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4067 $as_echo_n "checking whether $CC works... " >&6; }
4069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4070 /* end confdefs.h. */
4080 if ac_fn_c_try_link "$LINENO"; then :
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4082 $as_echo "yes" >&6; }
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4085 $as_echo "no" >&6; }
4086 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4088 rm -f core conftest.err conftest.$ac_objext \
4089 conftest$ac_exeext conftest.$ac_ext
4091 notice_platform="32-bit "
4094 enable_win16=${enable_win16:-yes}
4096 if test "x${GCC}" = "xyes"
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4099 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4101 /* end confdefs.h. */
4106 void func(__builtin_ms_va_list *args);
4111 if ac_fn_c_try_compile "$LINENO"; then :
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4113 $as_echo "yes" >&6; }
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4116 $as_echo "no" >&6; }
4117 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4125 *-mingw32*|*-cygwin*)
4126 enable_win16=${enable_win16:-no}
4127 CFLAGS="$CFLAGS -D_WIN32"
4130 enable_win16=${enable_win16:-yes}
4134 enable_win16=${enable_win16:-no}
4135 enable_win64=${enable_win64:-no}
4137 enable_winetest=${enable_winetest:-$enable_tests}
4139 if test -n "$with_wine64"
4141 if test "x$enable_win64" = "xyes"
4143 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4144 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4148 enable_fonts=${enable_fonts:-no}
4149 enable_server=${enable_server:-no}
4150 enable_tools=${enable_tools:-no}
4151 elif test "x$enable_win64" = "xyes"
4153 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4157 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4158 if ${wine_cv_toolsdir+:} false; then :
4159 $as_echo_n "(cached) " >&6
4161 wine_cv_toolsdir="$with_wine_tools"
4162 if test -z "$with_wine_tools"; then
4163 if test "$cross_compiling" = "yes"; then
4164 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4165 elif test -n "$with_wine64"; then
4166 wine_cv_toolsdir="$with_wine64"
4169 if test -z "$wine_cv_toolsdir"; then
4170 wine_cv_toolsdir="\$(top_builddir)"
4171 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4172 case "$wine_cv_toolsdir" in
4174 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4177 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4181 $as_echo "$wine_cv_toolsdir" >&6; }
4182 TOOLSDIR=$wine_cv_toolsdir
4184 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4186 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4192 # Extract the first word of "$ac_prog", so it can be a program name with args.
4193 set dummy $ac_prog; ac_word=$2
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4195 $as_echo_n "checking for $ac_word... " >&6; }
4196 if ${ac_cv_prog_FLEX+:} false; then :
4197 $as_echo_n "(cached) " >&6
4199 if test -n "$FLEX"; then
4200 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4206 test -z "$as_dir" && as_dir=.
4207 for ac_exec_ext in '' $ac_executable_extensions; do
4208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4209 ac_cv_prog_FLEX="$ac_prog"
4210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4219 FLEX=$ac_cv_prog_FLEX
4220 if test -n "$FLEX"; then
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4222 $as_echo "$FLEX" >&6; }
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4225 $as_echo "no" >&6; }
4229 test -n "$FLEX" && break
4231 test -n "$FLEX" || FLEX="none"
4233 if test "$FLEX" = "none"
4235 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4238 $as_echo_n "checking whether flex is recent enough... " >&6; }
4239 cat >conftest.l <<EOF
4241 #include "prediluvian.h"
4245 if $FLEX -t conftest.l >/dev/null 2>&5
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4248 $as_echo "yes" >&6; }
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4251 $as_echo "no" >&6; }
4252 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4255 for ac_prog in bison
4257 # Extract the first word of "$ac_prog", so it can be a program name with args.
4258 set dummy $ac_prog; ac_word=$2
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4260 $as_echo_n "checking for $ac_word... " >&6; }
4261 if ${ac_cv_prog_BISON+:} false; then :
4262 $as_echo_n "(cached) " >&6
4264 if test -n "$BISON"; then
4265 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4271 test -z "$as_dir" && as_dir=.
4272 for ac_exec_ext in '' $ac_executable_extensions; do
4273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4274 ac_cv_prog_BISON="$ac_prog"
4275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4284 BISON=$ac_cv_prog_BISON
4285 if test -n "$BISON"; then
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4287 $as_echo "$BISON" >&6; }
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4290 $as_echo "no" >&6; }
4294 test -n "$BISON" && break
4296 test -n "$BISON" || BISON="none"
4298 if test "$BISON" = "none"
4300 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4303 if test -n "$ac_tool_prefix"; then
4304 for ac_prog in ar gar
4306 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4307 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4309 $as_echo_n "checking for $ac_word... " >&6; }
4310 if ${ac_cv_prog_AR+:} false; then :
4311 $as_echo_n "(cached) " >&6
4313 if test -n "$AR"; then
4314 ac_cv_prog_AR="$AR" # Let the user override the test.
4316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4320 test -z "$as_dir" && as_dir=.
4321 for ac_exec_ext in '' $ac_executable_extensions; do
4322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4323 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4334 if test -n "$AR"; then
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4336 $as_echo "$AR" >&6; }
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4339 $as_echo "no" >&6; }
4343 test -n "$AR" && break
4346 if test -z "$AR"; then
4348 for ac_prog in ar gar
4350 # Extract the first word of "$ac_prog", so it can be a program name with args.
4351 set dummy $ac_prog; ac_word=$2
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4353 $as_echo_n "checking for $ac_word... " >&6; }
4354 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4355 $as_echo_n "(cached) " >&6
4357 if test -n "$ac_ct_AR"; then
4358 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4364 test -z "$as_dir" && as_dir=.
4365 for ac_exec_ext in '' $ac_executable_extensions; do
4366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4367 ac_cv_prog_ac_ct_AR="$ac_prog"
4368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4377 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4378 if test -n "$ac_ct_AR"; then
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4380 $as_echo "$ac_ct_AR" >&6; }
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4387 test -n "$ac_ct_AR" && break
4390 if test "x$ac_ct_AR" = x; then
4393 case $cross_compiling:$ac_tool_warned in
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4396 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4397 ac_tool_warned=yes ;;
4405 if test -n "$ac_tool_prefix"; then
4406 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4407 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4409 $as_echo_n "checking for $ac_word... " >&6; }
4410 if ${ac_cv_prog_RANLIB+:} false; then :
4411 $as_echo_n "(cached) " >&6
4413 if test -n "$RANLIB"; then
4414 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4420 test -z "$as_dir" && as_dir=.
4421 for ac_exec_ext in '' $ac_executable_extensions; do
4422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4423 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4433 RANLIB=$ac_cv_prog_RANLIB
4434 if test -n "$RANLIB"; then
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4436 $as_echo "$RANLIB" >&6; }
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4439 $as_echo "no" >&6; }
4444 if test -z "$ac_cv_prog_RANLIB"; then
4445 ac_ct_RANLIB=$RANLIB
4446 # Extract the first word of "ranlib", so it can be a program name with args.
4447 set dummy ranlib; ac_word=$2
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4449 $as_echo_n "checking for $ac_word... " >&6; }
4450 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4451 $as_echo_n "(cached) " >&6
4453 if test -n "$ac_ct_RANLIB"; then
4454 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4460 test -z "$as_dir" && as_dir=.
4461 for ac_exec_ext in '' $ac_executable_extensions; do
4462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4463 ac_cv_prog_ac_ct_RANLIB="ranlib"
4464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4473 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4474 if test -n "$ac_ct_RANLIB"; then
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4476 $as_echo "$ac_ct_RANLIB" >&6; }
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4479 $as_echo "no" >&6; }
4482 if test "x$ac_ct_RANLIB" = x; then
4485 case $cross_compiling:$ac_tool_warned in
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4489 ac_tool_warned=yes ;;
4491 RANLIB=$ac_ct_RANLIB
4494 RANLIB="$ac_cv_prog_RANLIB"
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4498 $as_echo_n "checking whether ln -s works... " >&6; }
4500 if test "$LN_S" = "ln -s"; then
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4502 $as_echo "yes" >&6; }
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4505 $as_echo "no, using $LN_S" >&6; }
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4509 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4510 if ${ac_cv_path_GREP+:} false; then :
4511 $as_echo_n "(cached) " >&6
4513 if test -z "$GREP"; then
4514 ac_path_GREP_found=false
4515 # Loop through the user's path and test for each of PROGNAME-LIST
4516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4517 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4520 test -z "$as_dir" && as_dir=.
4521 for ac_prog in grep ggrep; do
4522 for ac_exec_ext in '' $ac_executable_extensions; do
4523 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4524 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4525 # Check for GNU ac_path_GREP and select it if it is found.
4526 # Check for GNU $ac_path_GREP
4527 case `"$ac_path_GREP" --version 2>&1` in
4529 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4532 $as_echo_n 0123456789 >"conftest.in"
4535 cat "conftest.in" "conftest.in" >"conftest.tmp"
4536 mv "conftest.tmp" "conftest.in"
4537 cp "conftest.in" "conftest.nl"
4538 $as_echo 'GREP' >> "conftest.nl"
4539 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4540 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4541 as_fn_arith $ac_count + 1 && ac_count=$as_val
4542 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4543 # Best one so far, save it but keep looking for a better one
4544 ac_cv_path_GREP="$ac_path_GREP"
4545 ac_path_GREP_max=$ac_count
4547 # 10*(2^10) chars as input seems more than enough
4548 test $ac_count -gt 10 && break
4550 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4553 $ac_path_GREP_found && break 3
4558 if test -z "$ac_cv_path_GREP"; then
4559 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4562 ac_cv_path_GREP=$GREP
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4567 $as_echo "$ac_cv_path_GREP" >&6; }
4568 GREP="$ac_cv_path_GREP"
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4572 $as_echo_n "checking for egrep... " >&6; }
4573 if ${ac_cv_path_EGREP+:} false; then :
4574 $as_echo_n "(cached) " >&6
4576 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4577 then ac_cv_path_EGREP="$GREP -E"
4579 if test -z "$EGREP"; then
4580 ac_path_EGREP_found=false
4581 # Loop through the user's path and test for each of PROGNAME-LIST
4582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4583 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4586 test -z "$as_dir" && as_dir=.
4587 for ac_prog in egrep; do
4588 for ac_exec_ext in '' $ac_executable_extensions; do
4589 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4590 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4591 # Check for GNU ac_path_EGREP and select it if it is found.
4592 # Check for GNU $ac_path_EGREP
4593 case `"$ac_path_EGREP" --version 2>&1` in
4595 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4598 $as_echo_n 0123456789 >"conftest.in"
4601 cat "conftest.in" "conftest.in" >"conftest.tmp"
4602 mv "conftest.tmp" "conftest.in"
4603 cp "conftest.in" "conftest.nl"
4604 $as_echo 'EGREP' >> "conftest.nl"
4605 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4606 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4607 as_fn_arith $ac_count + 1 && ac_count=$as_val
4608 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4609 # Best one so far, save it but keep looking for a better one
4610 ac_cv_path_EGREP="$ac_path_EGREP"
4611 ac_path_EGREP_max=$ac_count
4613 # 10*(2^10) chars as input seems more than enough
4614 test $ac_count -gt 10 && break
4616 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4619 $ac_path_EGREP_found && break 3
4624 if test -z "$ac_cv_path_EGREP"; then
4625 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4628 ac_cv_path_EGREP=$EGREP
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4634 $as_echo "$ac_cv_path_EGREP" >&6; }
4635 EGREP="$ac_cv_path_EGREP"
4638 # Extract the first word of "ldconfig", so it can be a program name with args.
4639 set dummy ldconfig; ac_word=$2
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4641 $as_echo_n "checking for $ac_word... " >&6; }
4642 if ${ac_cv_path_LDCONFIG+:} false; then :
4643 $as_echo_n "(cached) " >&6
4647 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4651 for as_dir in /sbin /usr/sbin $PATH
4654 test -z "$as_dir" && as_dir=.
4655 for ac_exec_ext in '' $ac_executable_extensions; do
4656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4657 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4665 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4669 LDCONFIG=$ac_cv_path_LDCONFIG
4670 if test -n "$LDCONFIG"; then
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4672 $as_echo "$LDCONFIG" >&6; }
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4675 $as_echo "no" >&6; }
4679 # Find a good install program. We prefer a C program (faster),
4680 # so one script is as good as another. But avoid the broken or
4681 # incompatible versions:
4682 # SysV /etc/install, /usr/sbin/install
4683 # SunOS /usr/etc/install
4684 # IRIX /sbin/install
4686 # AmigaOS /C/install, which installs bootblocks on floppy discs
4687 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4688 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4689 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4690 # OS/2's system install, which has a completely different semantic
4691 # ./install, which can be erroneously created by make from ./install.sh.
4692 # Reject install programs that cannot install multiple files.
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4694 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4695 if test -z "$INSTALL"; then
4696 if ${ac_cv_path_install+:} false; then :
4697 $as_echo_n "(cached) " >&6
4699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4703 test -z "$as_dir" && as_dir=.
4704 # Account for people who put trailing slashes in PATH elements.
4705 case $as_dir/ in #((
4706 ./ | .// | /[cC]/* | \
4707 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4708 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4711 # OSF1 and SCO ODT 3.0 have their own names for install.
4712 # Don't use installbsd from OSF since it installs stuff as root
4714 for ac_prog in ginstall scoinst install; do
4715 for ac_exec_ext in '' $ac_executable_extensions; do
4716 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4717 if test $ac_prog = install &&
4718 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4719 # AIX install. It has an incompatible calling convention.
4721 elif test $ac_prog = install &&
4722 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4723 # program-specific install script used by HP pwplus--don't use.
4726 rm -rf conftest.one conftest.two conftest.dir
4727 echo one > conftest.one
4728 echo two > conftest.two
4730 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4731 test -s conftest.one && test -s conftest.two &&
4732 test -s conftest.dir/conftest.one &&
4733 test -s conftest.dir/conftest.two
4735 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4748 rm -rf conftest.one conftest.two conftest.dir
4751 if test "${ac_cv_path_install+set}" = set; then
4752 INSTALL=$ac_cv_path_install
4754 # As a last resort, use the slow shell script. Don't cache a
4755 # value for INSTALL within a source directory, because that will
4756 # break other packages using the cache if that directory is
4757 # removed, or if the value is a relative name.
4758 INSTALL=$ac_install_sh
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4762 $as_echo "$INSTALL" >&6; }
4764 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4765 # It thinks the first close brace ends the variable substitution.
4766 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4768 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4770 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4773 [\\/$]* | ?:[\\/]* ) ;;
4774 *) INSTALL="\\\$(top_srcdir)/$INSTALL" ;;
4777 for ac_prog in lclint lint
4779 # Extract the first word of "$ac_prog", so it can be a program name with args.
4780 set dummy $ac_prog; ac_word=$2
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4782 $as_echo_n "checking for $ac_word... " >&6; }
4783 if ${ac_cv_prog_LINT+:} false; then :
4784 $as_echo_n "(cached) " >&6
4786 if test -n "$LINT"; then
4787 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4793 test -z "$as_dir" && as_dir=.
4794 for ac_exec_ext in '' $ac_executable_extensions; do
4795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4796 ac_cv_prog_LINT="$ac_prog"
4797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4806 LINT=$ac_cv_prog_LINT
4807 if test -n "$LINT"; then
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4809 $as_echo "$LINT" >&6; }
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4812 $as_echo "no" >&6; }
4816 test -n "$LINT" && break
4819 if test "$LINT" = "lint"
4821 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4825 for ac_prog in fontforge
4827 # Extract the first word of "$ac_prog", so it can be a program name with args.
4828 set dummy $ac_prog; ac_word=$2
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4830 $as_echo_n "checking for $ac_word... " >&6; }
4831 if ${ac_cv_prog_FONTFORGE+:} false; then :
4832 $as_echo_n "(cached) " >&6
4834 if test -n "$FONTFORGE"; then
4835 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
4837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4841 test -z "$as_dir" && as_dir=.
4842 for ac_exec_ext in '' $ac_executable_extensions; do
4843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4844 ac_cv_prog_FONTFORGE="$ac_prog"
4845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4854 FONTFORGE=$ac_cv_prog_FONTFORGE
4855 if test -n "$FONTFORGE"; then
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4857 $as_echo "$FONTFORGE" >&6; }
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4860 $as_echo "no" >&6; }
4864 test -n "$FONTFORGE" && break
4866 test -n "$FONTFORGE" || FONTFORGE="false"
4868 for ac_prog in pkg-config
4870 # Extract the first word of "$ac_prog", so it can be a program name with args.
4871 set dummy $ac_prog; ac_word=$2
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4873 $as_echo_n "checking for $ac_word... " >&6; }
4874 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
4875 $as_echo_n "(cached) " >&6
4877 if test -n "$PKG_CONFIG"; then
4878 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
4880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4884 test -z "$as_dir" && as_dir=.
4885 for ac_exec_ext in '' $ac_executable_extensions; do
4886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4887 ac_cv_prog_PKG_CONFIG="$ac_prog"
4888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4897 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
4898 if test -n "$PKG_CONFIG"; then
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4900 $as_echo "$PKG_CONFIG" >&6; }
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4903 $as_echo "no" >&6; }
4907 test -n "$PKG_CONFIG" && break
4909 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
4913 # Extract the first word of "$ac_prog", so it can be a program name with args.
4914 set dummy $ac_prog; ac_word=$2
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4916 $as_echo_n "checking for $ac_word... " >&6; }
4917 if ${ac_cv_prog_RSVG+:} false; then :
4918 $as_echo_n "(cached) " >&6
4920 if test -n "$RSVG"; then
4921 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
4923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4927 test -z "$as_dir" && as_dir=.
4928 for ac_exec_ext in '' $ac_executable_extensions; do
4929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4930 ac_cv_prog_RSVG="$ac_prog"
4931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4940 RSVG=$ac_cv_prog_RSVG
4941 if test -n "$RSVG"; then
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
4943 $as_echo "$RSVG" >&6; }
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4946 $as_echo "no" >&6; }
4950 test -n "$RSVG" && break
4952 test -n "$RSVG" || RSVG="false"
4954 for ac_prog in convert
4956 # Extract the first word of "$ac_prog", so it can be a program name with args.
4957 set dummy $ac_prog; ac_word=$2
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4959 $as_echo_n "checking for $ac_word... " >&6; }
4960 if ${ac_cv_prog_CONVERT+:} false; then :
4961 $as_echo_n "(cached) " >&6
4963 if test -n "$CONVERT"; then
4964 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
4966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4970 test -z "$as_dir" && as_dir=.
4971 for ac_exec_ext in '' $ac_executable_extensions; do
4972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4973 ac_cv_prog_CONVERT="$ac_prog"
4974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4983 CONVERT=$ac_cv_prog_CONVERT
4984 if test -n "$CONVERT"; then
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
4986 $as_echo "$CONVERT" >&6; }
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989 $as_echo "no" >&6; }
4993 test -n "$CONVERT" && break
4995 test -n "$CONVERT" || CONVERT="false"
4997 for ac_prog in icotool
4999 # Extract the first word of "$ac_prog", so it can be a program name with args.
5000 set dummy $ac_prog; ac_word=$2
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5002 $as_echo_n "checking for $ac_word... " >&6; }
5003 if ${ac_cv_prog_ICOTOOL+:} false; then :
5004 $as_echo_n "(cached) " >&6
5006 if test -n "$ICOTOOL"; then
5007 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5013 test -z "$as_dir" && as_dir=.
5014 for ac_exec_ext in '' $ac_executable_extensions; do
5015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5016 ac_cv_prog_ICOTOOL="$ac_prog"
5017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5026 ICOTOOL=$ac_cv_prog_ICOTOOL
5027 if test -n "$ICOTOOL"; then
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5029 $as_echo "$ICOTOOL" >&6; }
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5032 $as_echo "no" >&6; }
5036 test -n "$ICOTOOL" && break
5038 test -n "$ICOTOOL" || ICOTOOL="false"
5040 for ac_prog in msgfmt
5042 # Extract the first word of "$ac_prog", so it can be a program name with args.
5043 set dummy $ac_prog; ac_word=$2
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5045 $as_echo_n "checking for $ac_word... " >&6; }
5046 if ${ac_cv_prog_MSGFMT+:} false; then :
5047 $as_echo_n "(cached) " >&6
5049 if test -n "$MSGFMT"; then
5050 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5056 test -z "$as_dir" && as_dir=.
5057 for ac_exec_ext in '' $ac_executable_extensions; do
5058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5059 ac_cv_prog_MSGFMT="$ac_prog"
5060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5069 MSGFMT=$ac_cv_prog_MSGFMT
5070 if test -n "$MSGFMT"; then
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5072 $as_echo "$MSGFMT" >&6; }
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5079 test -n "$MSGFMT" && break
5081 test -n "$MSGFMT" || MSGFMT="false"
5084 if test "x$enable_maintainer_mode" != "xyes"
5089 if test "$FONTFORGE" = "false"; then as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5090 if test "$RSVG" = "false"; then as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5092 if test "$CONVERT" = false
5094 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5097 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5098 convert_version=`convert --version | head -n1`
5099 if test "x$convert_version" != "x"
5101 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5102 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5103 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5108 if test "$CONVERT" = false
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5111 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5112 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5115 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5119 if test "$ICOTOOL" = false
5121 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5124 $as_echo_n "checking for recent enough icotool... " >&6; }
5125 icotool_version=`icotool --version | head -n1`
5126 if test "x$icotool_version" != "x"
5128 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5129 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5130 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5133 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5136 if test "$ICOTOOL" = false
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5139 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5140 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5143 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5149 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5152 test "x$with_gettext" != xno || MSGFMT=false
5153 if test "$MSGFMT" != "false"
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5156 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5157 cat >conftest.po <<EOF
5163 if $MSGFMT -o /dev/null conftest.po 2>&5
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5166 $as_echo "yes" >&6; }
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5169 $as_echo "no" >&6; }
5173 if test "$MSGFMT" = false; then :
5174 case "x$with_gettext" in
5175 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5177 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5178 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5184 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5185 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5186 $as_echo_n "(cached) " >&6
5188 ac_check_lib_save_LIBS=$LIBS
5190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5191 /* end confdefs.h. */
5193 /* Override any GCC internal prototype to avoid an error.
5194 Use char because int might match the return type of a GCC
5195 builtin and then its argument prototype would still apply. */
5199 char i386_set_ldt ();
5203 return i386_set_ldt ();
5208 if ac_fn_c_try_link "$LINENO"; then :
5209 ac_cv_lib_i386_i386_set_ldt=yes
5211 ac_cv_lib_i386_i386_set_ldt=no
5213 rm -f core conftest.err conftest.$ac_objext \
5214 conftest$ac_exeext conftest.$ac_ext
5215 LIBS=$ac_check_lib_save_LIBS
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5218 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5219 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5220 cat >>confdefs.h <<_ACEOF
5221 #define HAVE_LIBI386 1
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5229 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5230 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5231 $as_echo_n "(cached) " >&6
5233 ac_check_lib_save_LIBS=$LIBS
5234 LIBS="-lossaudio $LIBS"
5235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5236 /* end confdefs.h. */
5238 /* Override any GCC internal prototype to avoid an error.
5239 Use char because int might match the return type of a GCC
5240 builtin and then its argument prototype would still apply. */
5248 return _oss_ioctl ();
5253 if ac_fn_c_try_link "$LINENO"; then :
5254 ac_cv_lib_ossaudio__oss_ioctl=yes
5256 ac_cv_lib_ossaudio__oss_ioctl=no
5258 rm -f core conftest.err conftest.$ac_objext \
5259 conftest$ac_exeext conftest.$ac_ext
5260 LIBS=$ac_check_lib_save_LIBS
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5263 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5264 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5265 cat >>confdefs.h <<_ACEOF
5266 #define HAVE_LIBOSSAUDIO 1
5269 LIBS="-lossaudio $LIBS"
5280 # Check whether --enable-largefile was given.
5281 if test "${enable_largefile+set}" = set; then :
5282 enableval=$enable_largefile;
5285 if test "$enable_largefile" != no; then
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5288 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5289 if ${ac_cv_sys_largefile_CC+:} false; then :
5290 $as_echo_n "(cached) " >&6
5292 ac_cv_sys_largefile_CC=no
5293 if test "$GCC" != yes; then
5296 # IRIX 6.2 and later do not support large files by default,
5297 # so use the C compiler's -n32 option if that helps.
5298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5299 /* end confdefs.h. */
5300 #include <sys/types.h>
5301 /* Check that off_t can represent 2**63 - 1 correctly.
5302 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5303 since some C++ compilers masquerading as C compilers
5304 incorrectly reject 9223372036854775807. */
5305 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5306 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5307 && LARGE_OFF_T % 2147483647 == 1)
5317 if ac_fn_c_try_compile "$LINENO"; then :
5320 rm -f core conftest.err conftest.$ac_objext
5322 if ac_fn_c_try_compile "$LINENO"; then :
5323 ac_cv_sys_largefile_CC=' -n32'; break
5325 rm -f core conftest.err conftest.$ac_objext
5329 rm -f conftest.$ac_ext
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5333 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5334 if test "$ac_cv_sys_largefile_CC" != no; then
5335 CC=$CC$ac_cv_sys_largefile_CC
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5339 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5340 if ${ac_cv_sys_file_offset_bits+:} false; then :
5341 $as_echo_n "(cached) " >&6
5344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5345 /* end confdefs.h. */
5346 #include <sys/types.h>
5347 /* Check that off_t can represent 2**63 - 1 correctly.
5348 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5349 since some C++ compilers masquerading as C compilers
5350 incorrectly reject 9223372036854775807. */
5351 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5352 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5353 && LARGE_OFF_T % 2147483647 == 1)
5363 if ac_fn_c_try_compile "$LINENO"; then :
5364 ac_cv_sys_file_offset_bits=no; break
5366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5368 /* end confdefs.h. */
5369 #define _FILE_OFFSET_BITS 64
5370 #include <sys/types.h>
5371 /* Check that off_t can represent 2**63 - 1 correctly.
5372 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5373 since some C++ compilers masquerading as C compilers
5374 incorrectly reject 9223372036854775807. */
5375 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5376 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5377 && LARGE_OFF_T % 2147483647 == 1)
5387 if ac_fn_c_try_compile "$LINENO"; then :
5388 ac_cv_sys_file_offset_bits=64; break
5390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5391 ac_cv_sys_file_offset_bits=unknown
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5396 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5397 case $ac_cv_sys_file_offset_bits in #(
5400 cat >>confdefs.h <<_ACEOF
5401 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5406 if test $ac_cv_sys_file_offset_bits = unknown; then
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5408 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5409 if ${ac_cv_sys_large_files+:} false; then :
5410 $as_echo_n "(cached) " >&6
5413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5414 /* end confdefs.h. */
5415 #include <sys/types.h>
5416 /* Check that off_t can represent 2**63 - 1 correctly.
5417 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5418 since some C++ compilers masquerading as C compilers
5419 incorrectly reject 9223372036854775807. */
5420 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5421 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5422 && LARGE_OFF_T % 2147483647 == 1)
5432 if ac_fn_c_try_compile "$LINENO"; then :
5433 ac_cv_sys_large_files=no; break
5435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5437 /* end confdefs.h. */
5438 #define _LARGE_FILES 1
5439 #include <sys/types.h>
5440 /* Check that off_t can represent 2**63 - 1 correctly.
5441 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5442 since some C++ compilers masquerading as C compilers
5443 incorrectly reject 9223372036854775807. */
5444 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5445 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5446 && LARGE_OFF_T % 2147483647 == 1)
5456 if ac_fn_c_try_compile "$LINENO"; then :
5457 ac_cv_sys_large_files=1; break
5459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5460 ac_cv_sys_large_files=unknown
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5465 $as_echo "$ac_cv_sys_large_files" >&6; }
5466 case $ac_cv_sys_large_files in #(
5469 cat >>confdefs.h <<_ACEOF
5470 #define _LARGE_FILES $ac_cv_sys_large_files
5480 ac_cpp='$CPP $CPPFLAGS'
5481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5485 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5486 # On Suns, sometimes $CPP names a directory.
5487 if test -n "$CPP" && test -d "$CPP"; then
5490 if test -z "$CPP"; then
5491 if ${ac_cv_prog_CPP+:} false; then :
5492 $as_echo_n "(cached) " >&6
5494 # Double quotes because CPP needs to be expanded
5495 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5498 for ac_c_preproc_warn_flag in '' yes
5500 # Use a header file that comes with gcc, so configuring glibc
5501 # with a fresh cross-compiler works.
5502 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5503 # <limits.h> exists even on freestanding compilers.
5504 # On the NeXT, cc -E runs the code through the compiler's parser,
5505 # not just through cpp. "Syntax error" is here to catch this case.
5506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5507 /* end confdefs.h. */
5509 # include <limits.h>
5511 # include <assert.h>
5515 if ac_fn_c_try_cpp "$LINENO"; then :
5518 # Broken: fails on valid input.
5521 rm -f conftest.err conftest.i conftest.$ac_ext
5523 # OK, works on sane cases. Now check whether nonexistent headers
5524 # can be detected and how.
5525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5526 /* end confdefs.h. */
5527 #include <ac_nonexistent.h>
5529 if ac_fn_c_try_cpp "$LINENO"; then :
5530 # Broken: success on invalid input.
5533 # Passes both tests.
5537 rm -f conftest.err conftest.i conftest.$ac_ext
5540 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5541 rm -f conftest.i conftest.err conftest.$ac_ext
5542 if $ac_preproc_ok; then :
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5555 $as_echo "$CPP" >&6; }
5557 for ac_c_preproc_warn_flag in '' yes
5559 # Use a header file that comes with gcc, so configuring glibc
5560 # with a fresh cross-compiler works.
5561 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5562 # <limits.h> exists even on freestanding compilers.
5563 # On the NeXT, cc -E runs the code through the compiler's parser,
5564 # not just through cpp. "Syntax error" is here to catch this case.
5565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5566 /* end confdefs.h. */
5568 # include <limits.h>
5570 # include <assert.h>
5574 if ac_fn_c_try_cpp "$LINENO"; then :
5577 # Broken: fails on valid input.
5580 rm -f conftest.err conftest.i conftest.$ac_ext
5582 # OK, works on sane cases. Now check whether nonexistent headers
5583 # can be detected and how.
5584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5585 /* end confdefs.h. */
5586 #include <ac_nonexistent.h>
5588 if ac_fn_c_try_cpp "$LINENO"; then :
5589 # Broken: success on invalid input.
5592 # Passes both tests.
5596 rm -f conftest.err conftest.i conftest.$ac_ext
5599 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5600 rm -f conftest.i conftest.err conftest.$ac_ext
5601 if $ac_preproc_ok; then :
5604 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5605 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5606 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5607 See \`config.log' for more details" "$LINENO" 5; }
5611 ac_cpp='$CPP $CPPFLAGS'
5612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5618 $as_echo_n "checking for ANSI C header files... " >&6; }
5619 if ${ac_cv_header_stdc+:} false; then :
5620 $as_echo_n "(cached) " >&6
5622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5623 /* end confdefs.h. */
5637 if ac_fn_c_try_compile "$LINENO"; then :
5638 ac_cv_header_stdc=yes
5640 ac_cv_header_stdc=no
5642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5644 if test $ac_cv_header_stdc = yes; then
5645 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5647 /* end confdefs.h. */
5651 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5652 $EGREP "memchr" >/dev/null 2>&1; then :
5655 ac_cv_header_stdc=no
5661 if test $ac_cv_header_stdc = yes; then
5662 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5664 /* end confdefs.h. */
5668 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5669 $EGREP "free" >/dev/null 2>&1; then :
5672 ac_cv_header_stdc=no
5678 if test $ac_cv_header_stdc = yes; then
5679 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5680 if test "$cross_compiling" = yes; then :
5683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5684 /* end confdefs.h. */
5687 #if ((' ' & 0x0FF) == 0x020)
5688 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5689 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5691 # define ISLOWER(c) \
5692 (('a' <= (c) && (c) <= 'i') \
5693 || ('j' <= (c) && (c) <= 'r') \
5694 || ('s' <= (c) && (c) <= 'z'))
5695 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5698 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5703 for (i = 0; i < 256; i++)
5704 if (XOR (islower (i), ISLOWER (i))
5705 || toupper (i) != TOUPPER (i))
5710 if ac_fn_c_try_run "$LINENO"; then :
5713 ac_cv_header_stdc=no
5715 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5716 conftest.$ac_objext conftest.beam conftest.$ac_ext
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5722 $as_echo "$ac_cv_header_stdc" >&6; }
5723 if test $ac_cv_header_stdc = yes; then
5725 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5729 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5730 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5731 inttypes.h stdint.h unistd.h
5733 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5734 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5736 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5737 cat >>confdefs.h <<_ACEOF
5738 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5748 ApplicationServices/ApplicationServices.h \
5749 AudioToolbox/AudioConverter.h \
5750 AudioUnit/AudioUnit.h \
5751 AudioUnit/AudioComponent.h \
5754 CoreAudio/CoreAudio.h \
5755 DiskArbitration/DiskArbitration.h \
5757 IOKit/hid/IOHIDLib.h \
5760 QuickTime/ImageCompression.h \
5761 Security/Security.h \
5775 fontconfig/fontconfig.h \
5814 netinet/in_systm.h \
5879 valgrind/memcheck.h \
5880 valgrind/valgrind.h \
5884 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5885 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5886 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5887 cat >>confdefs.h <<_ACEOF
5888 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5896 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5897 if ${ac_cv_header_stat_broken+:} false; then :
5898 $as_echo_n "(cached) " >&6
5900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5901 /* end confdefs.h. */
5902 #include <sys/types.h>
5903 #include <sys/stat.h>
5905 #if defined S_ISBLK && defined S_IFDIR
5906 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5909 #if defined S_ISBLK && defined S_IFCHR
5910 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5913 #if defined S_ISLNK && defined S_IFREG
5914 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5917 #if defined S_ISSOCK && defined S_IFREG
5918 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5922 if ac_fn_c_try_compile "$LINENO"; then :
5923 ac_cv_header_stat_broken=no
5925 ac_cv_header_stat_broken=yes
5927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5930 $as_echo "$ac_cv_header_stat_broken" >&6; }
5931 if test $ac_cv_header_stat_broken = yes; then
5933 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5939 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
5941 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5942 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5943 #ifdef HAVE_SYS_PARAM_H
5944 # include <sys/param.h>
5947 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5948 cat >>confdefs.h <<_ACEOF
5949 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5964 netinet/if_ether.h \
5965 netinet/if_inarp.h \
5973 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5974 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5975 #ifdef HAVE_SYS_SOCKET_H
5976 # include <sys/socket.h>
5978 #ifdef HAVE_SYS_SOCKETVAR_H
5979 # include <sys/socketvar.h>
5981 #ifdef HAVE_NET_ROUTE_H
5982 # include <net/route.h>
5984 #ifdef HAVE_NETINET_IN_H
5985 # include <netinet/in.h>
5987 #ifdef HAVE_NETINET_IN_SYSTM_H
5988 # include <netinet/in_systm.h>
5990 #ifdef HAVE_NET_IF_H
5991 # include <net/if.h>
5993 #ifdef HAVE_NETINET_IP_H
5994 # include <netinet/ip.h>
5997 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5998 cat >>confdefs.h <<_ACEOF
5999 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6007 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6009 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6010 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6014 #ifdef HAVE_SYS_SOCKET_H
6015 # include <sys/socket.h>
6017 #ifdef HAVE_SYS_SOCKETVAR_H
6018 # include <sys/socketvar.h>
6020 #ifdef HAVE_SYS_TIMEOUT_H
6021 # include <sys/timeout.h>
6023 #ifdef HAVE_NETINET_IN_H
6024 # include <netinet/in.h>
6026 #ifdef HAVE_NETINET_IN_SYSTM_H
6027 # include <netinet/in_systm.h>
6029 #ifdef HAVE_NETINET_IP_H
6030 # include <netinet/ip.h>
6032 #ifdef HAVE_NETINET_IP_VAR_H
6033 # include <netinet/ip_var.h>
6035 #ifdef HAVE_NETINET_IP_ICMP_H
6036 # include <netinet/ip_icmp.h>
6038 #ifdef HAVE_NETINET_UDP_H
6039 # include <netinet/udp.h>
6041 #ifdef HAVE_NETINET_TCP_H
6042 # include <netinet/tcp.h>
6044 #ifdef HAVE_NETINET_TCP_TIMER_H
6045 #include <netinet/tcp_timer.h>
6048 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6049 cat >>confdefs.h <<_ACEOF
6050 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6058 for ac_header in linux/ipx.h linux/irda.h
6060 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6061 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6062 #ifdef HAVE_ASM_TYPES_H
6063 # include <asm/types.h>
6065 #ifdef HAVE_SYS_SOCKET_H
6066 # include <sys/socket.h>
6068 #ifdef HAVE_LINUX_TYPES_H
6069 # include <linux/types.h>
6072 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6073 cat >>confdefs.h <<_ACEOF
6074 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6082 for ac_header in mach-o/dyld_images.h
6084 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6085 # include <stdbool.h>
6087 #ifdef HAVE_STDINT_H
6088 # include <stdint.h>
6091 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6092 cat >>confdefs.h <<_ACEOF
6093 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6101 for ac_header in resolv.h
6103 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6104 #ifdef HAVE_SYS_SOCKET_H
6105 # include <sys/socket.h>
6107 #ifdef HAVE_NETINET_IN_H
6108 # include <netinet/in.h>
6110 #ifdef HAVE_ARPA_NAMESER_H
6111 # include <arpa/nameser.h>
6114 if test "x$ac_cv_header_resolv_h" = xyes; then :
6115 cat >>confdefs.h <<_ACEOF
6116 #define HAVE_RESOLV_H 1
6124 for ac_header in ifaddrs.h
6126 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6128 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6129 cat >>confdefs.h <<_ACEOF
6130 #define HAVE_IFADDRS_H 1
6138 for ac_header in ucontext.h
6140 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6142 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6143 cat >>confdefs.h <<_ACEOF
6144 #define HAVE_UCONTEXT_H 1
6152 for ac_header in sys/thr.h
6154 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6155 #ifdef HAVE_UCONTEXT_H
6156 #include <ucontext.h>
6159 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6160 cat >>confdefs.h <<_ACEOF
6161 #define HAVE_SYS_THR_H 1
6169 for ac_header in pthread_np.h
6171 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6172 #include <pthread.h>
6175 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6176 cat >>confdefs.h <<_ACEOF
6177 #define HAVE_PTHREAD_NP_H 1
6185 for ac_header in linux/videodev.h linux/videodev2.h
6187 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6188 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6189 #include <sys/time.h>
6191 #include <sys/types.h>
6192 #ifdef HAVE_ASM_TYPES_H
6193 #include <asm/types.h>
6196 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6197 cat >>confdefs.h <<_ACEOF
6198 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6206 for ac_header in linux/capi.h
6208 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6210 if test "x$ac_cv_header_linux_capi_h" = xyes; then :
6211 cat >>confdefs.h <<_ACEOF
6212 #define HAVE_LINUX_CAPI_H 1
6223 DLLFLAGS="-D_REENTRANT"
6237 STATIC_IMPLIBEXT="def.a"
6238 # Extract the first word of "ldd", so it can be a program name with args.
6239 set dummy ldd; ac_word=$2
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6241 $as_echo_n "checking for $ac_word... " >&6; }
6242 if ${ac_cv_path_LDD+:} false; then :
6243 $as_echo_n "(cached) " >&6
6247 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6251 as_dummy="/sbin:/usr/sbin:$PATH"
6252 for as_dir in $as_dummy
6255 test -z "$as_dir" && as_dir=.
6256 for ac_exec_ext in '' $ac_executable_extensions; do
6257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6258 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6266 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6271 if test -n "$LDD"; then
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6273 $as_echo "$LDD" >&6; }
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6276 $as_echo "no" >&6; }
6283 if test -n "$ac_tool_prefix"; then
6284 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6285 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6287 $as_echo_n "checking for $ac_word... " >&6; }
6288 if ${ac_cv_prog_DLLTOOL+:} false; then :
6289 $as_echo_n "(cached) " >&6
6291 if test -n "$DLLTOOL"; then
6292 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6298 test -z "$as_dir" && as_dir=.
6299 for ac_exec_ext in '' $ac_executable_extensions; do
6300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6301 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6311 DLLTOOL=$ac_cv_prog_DLLTOOL
6312 if test -n "$DLLTOOL"; then
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6314 $as_echo "$DLLTOOL" >&6; }
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6317 $as_echo "no" >&6; }
6322 if test -z "$ac_cv_prog_DLLTOOL"; then
6323 ac_ct_DLLTOOL=$DLLTOOL
6324 # Extract the first word of "dlltool", so it can be a program name with args.
6325 set dummy dlltool; ac_word=$2
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6327 $as_echo_n "checking for $ac_word... " >&6; }
6328 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6329 $as_echo_n "(cached) " >&6
6331 if test -n "$ac_ct_DLLTOOL"; then
6332 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6338 test -z "$as_dir" && as_dir=.
6339 for ac_exec_ext in '' $ac_executable_extensions; do
6340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6341 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6351 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6352 if test -n "$ac_ct_DLLTOOL"; then
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6354 $as_echo "$ac_ct_DLLTOOL" >&6; }
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6357 $as_echo "no" >&6; }
6360 if test "x$ac_ct_DLLTOOL" = x; then
6363 case $cross_compiling:$ac_tool_warned in
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6367 ac_tool_warned=yes ;;
6369 DLLTOOL=$ac_ct_DLLTOOL
6372 DLLTOOL="$ac_cv_prog_DLLTOOL"
6375 if test -n "$ac_tool_prefix"; then
6376 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6377 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6379 $as_echo_n "checking for $ac_word... " >&6; }
6380 if ${ac_cv_prog_DLLWRAP+:} false; then :
6381 $as_echo_n "(cached) " >&6
6383 if test -n "$DLLWRAP"; then
6384 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
6386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6390 test -z "$as_dir" && as_dir=.
6391 for ac_exec_ext in '' $ac_executable_extensions; do
6392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6393 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
6394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6403 DLLWRAP=$ac_cv_prog_DLLWRAP
6404 if test -n "$DLLWRAP"; then
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6406 $as_echo "$DLLWRAP" >&6; }
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6409 $as_echo "no" >&6; }
6414 if test -z "$ac_cv_prog_DLLWRAP"; then
6415 ac_ct_DLLWRAP=$DLLWRAP
6416 # Extract the first word of "dllwrap", so it can be a program name with args.
6417 set dummy dllwrap; ac_word=$2
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6419 $as_echo_n "checking for $ac_word... " >&6; }
6420 if ${ac_cv_prog_ac_ct_DLLWRAP+:} false; then :
6421 $as_echo_n "(cached) " >&6
6423 if test -n "$ac_ct_DLLWRAP"; then
6424 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
6426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6430 test -z "$as_dir" && as_dir=.
6431 for ac_exec_ext in '' $ac_executable_extensions; do
6432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6433 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
6434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6443 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
6444 if test -n "$ac_ct_DLLWRAP"; then
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6446 $as_echo "$ac_ct_DLLWRAP" >&6; }
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6449 $as_echo "no" >&6; }
6452 if test "x$ac_ct_DLLWRAP" = x; then
6455 case $cross_compiling:$ac_tool_warned in
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6459 ac_tool_warned=yes ;;
6461 DLLWRAP=$ac_ct_DLLWRAP
6464 DLLWRAP="$ac_cv_prog_DLLWRAP"
6467 if test "$DLLWRAP" = "false"; then
6473 STATIC_IMPLIBEXT="a"
6474 enable_iphlpapi=${enable_iphlpapi:-no}
6475 enable_kernel32=${enable_kernel32:-no}
6476 enable_msvcrt=${enable_msvcrt:-no}
6477 enable_ntdll=${enable_ntdll:-no}
6478 enable_ws2_32=${enable_ws2_32:-no}
6479 enable_loader=${enable_loader:-no}
6480 enable_server=${enable_server:-no}
6481 with_x=${with_x:-no}
6482 with_pthread=${with_pthread:-no}
6487 DLLFLAGS="$DLLFLAGS -fPIC"
6488 LDDLLFLAGS="-bundle -multiply_defined suppress"
6489 LIBWINE_LDFLAGS="-multiply_defined suppress"
6490 LDSHARED="\$(CC) -dynamiclib"
6491 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(top_builddir)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
6492 COREFOUNDATIONLIB="-framework CoreFoundation"
6494 IOKITLIB="-framework IOKit -framework CoreFoundation"
6496 APPLICATIONSERVICESLIB="-framework ApplicationServices"
6500 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6503 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6506 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6508 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
6511 if test "$ac_cv_header_Security_Security_h" = "yes"
6513 SECURITYLIB="-framework Security -framework CoreFoundation"
6515 ac_save_LIBS="$LIBS"
6516 LIBS="$LIBS $SECURITYLIB"
6517 for ac_func in SSLCopyPeerCertificates
6519 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6520 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
6521 cat >>confdefs.h <<_ACEOF
6522 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6528 LIBS="$ac_save_LIBS"
6529 with_gnutls=${with_gnutls:-no}
6531 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6533 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6535 COREAUDIO="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6538 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6541 ac_save_LIBS="$LIBS"
6542 LIBS="$LIBS $COREAUDIO"
6543 for ac_func in AUGraphAddNode
6545 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6546 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
6547 cat >>confdefs.h <<_ACEOF
6548 #define HAVE_AUGRAPHADDNODE 1
6554 LIBS="$ac_save_LIBS"
6556 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6558 FRAMEWORK_OPENAL="-framework OpenAL"
6561 cat >>confdefs.h <<_ACEOF
6562 #define HAVE_OPENAL 1
6565 ac_cv_lib_openal=yes
6567 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6569 LIBOPENCL="-framework OpenCL"
6571 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
6573 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6575 ac_save_LIBS="$LIBS"
6576 LIBS="$LIBS $IOKITLIB"
6577 for ac_func in IOHIDManagerCreate
6579 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6580 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
6581 cat >>confdefs.h <<_ACEOF
6582 #define HAVE_IOHIDMANAGERCREATE 1
6588 LIBS="$ac_save_LIBS"
6592 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
6594 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6596 QUICKTIMELIB="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6598 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
6600 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6602 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6604 CARBONLIB="-framework Carbon"
6606 enable_winequartz_drv=${enable_winequartz_drv:-yes}
6608 if test "x$enable_win16" = "xyes"
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6611 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6612 if test "$cross_compiling" = yes; then :
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6614 $as_echo "cross-compiling, assuming yes" >&6; }
6616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6617 /* end confdefs.h. */
6620 "good:\tnop;nop\n\t"
6621 ".globl _testfunc\n"
6622 "_testfunc:\tcallw good");
6623 extern void testfunc();
6627 unsigned short *p = (unsigned short *)testfunc;
6628 return p[0] != 0xe866 || p[1] != 0xfffa
6633 if ac_fn_c_try_run "$LINENO"; then :
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6635 $as_echo "yes" >&6; }
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6638 $as_echo "no" >&6; }
6639 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
6641 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6642 conftest.$ac_objext conftest.beam conftest.$ac_ext
6648 DLLFLAGS="$DLLFLAGS -fPIC"
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6651 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6652 if ${ac_cv_c_dll_gnuelf+:} false; then :
6653 $as_echo_n "(cached) " >&6
6655 ac_wine_try_cflags_saved=$CFLAGS
6656 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6658 /* end confdefs.h. */
6661 if ac_fn_c_try_link "$LINENO"; then :
6662 ac_cv_c_dll_gnuelf="yes"
6664 ac_cv_c_dll_gnuelf="no"
6666 rm -f core conftest.err conftest.$ac_objext \
6667 conftest$ac_exeext conftest.$ac_ext
6668 CFLAGS=$ac_wine_try_cflags_saved
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6671 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6672 if test "$ac_cv_c_dll_gnuelf" = "yes"
6674 LDSHARED="\$(CC) -shared"
6675 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6677 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6678 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
6679 $as_echo_n "(cached) " >&6
6681 ac_wine_try_cflags_saved=$CFLAGS
6682 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6684 /* end confdefs.h. */
6685 int main(int argc, char **argv) { return 0; }
6687 if ac_fn_c_try_link "$LINENO"; then :
6688 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
6690 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
6692 rm -f core conftest.err conftest.$ac_objext \
6693 conftest$ac_exeext conftest.$ac_ext
6694 CFLAGS=$ac_wine_try_cflags_saved
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6697 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6698 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6699 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6702 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6703 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
6704 $as_echo_n "(cached) " >&6
6706 ac_wine_try_cflags_saved=$CFLAGS
6707 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6709 /* end confdefs.h. */
6710 int main(int argc, char **argv) { return 0; }
6712 if ac_fn_c_try_link "$LINENO"; then :
6713 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
6715 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
6717 rm -f core conftest.err conftest.$ac_objext \
6718 conftest$ac_exeext conftest.$ac_ext
6719 CFLAGS=$ac_wine_try_cflags_saved
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6722 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6723 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6724 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6729 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6730 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false; then :
6731 $as_echo_n "(cached) " >&6
6733 ac_wine_try_cflags_saved=$CFLAGS
6734 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6736 /* end confdefs.h. */
6737 int main(int argc, char **argv) { return 0; }
6739 if ac_fn_c_try_link "$LINENO"; then :
6740 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
6742 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
6744 rm -f core conftest.err conftest.$ac_objext \
6745 conftest$ac_exeext conftest.$ac_ext
6746 CFLAGS=$ac_wine_try_cflags_saved
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6749 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6750 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6751 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
6754 { $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
6755 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6756 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false; then :
6757 $as_echo_n "(cached) " >&6
6759 ac_wine_try_cflags_saved=$CFLAGS
6760 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6762 /* end confdefs.h. */
6763 int main(int argc, char **argv) { return 0; }
6765 if ac_fn_c_try_link "$LINENO"; then :
6766 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
6768 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
6770 rm -f core conftest.err conftest.$ac_objext \
6771 conftest$ac_exeext conftest.$ac_ext
6772 CFLAGS=$ac_wine_try_cflags_saved
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6775 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6776 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6777 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6780 echo '{ global: *; };' >conftest.map
6781 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -shared -Wl,--version-script=conftest.map" | $as_tr_sh`
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6783 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6784 if eval \${$as_ac_var+:} false; then :
6785 $as_echo_n "(cached) " >&6
6787 ac_wine_try_cflags_saved=$CFLAGS
6788 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6790 /* end confdefs.h. */
6791 int main(int argc, char **argv) { return 0; }
6793 if ac_fn_c_try_link "$LINENO"; then :
6794 eval "$as_ac_var=yes"
6796 eval "$as_ac_var=no"
6798 rm -f core conftest.err conftest.$ac_objext \
6799 conftest$ac_exeext conftest.$ac_ext
6800 CFLAGS=$ac_wine_try_cflags_saved
6802 eval ac_res=\$$as_ac_var
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6804 $as_echo "$ac_res" >&6; }
6805 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6806 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6811 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6812 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
6813 $as_echo_n "(cached) " >&6
6815 ac_wine_try_cflags_saved=$CFLAGS
6816 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
6817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6818 /* end confdefs.h. */
6819 int main(int argc, char **argv) { return 0; }
6821 if ac_fn_c_try_link "$LINENO"; then :
6822 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
6824 ac_cv_cflags__fPIC__Wl___export_dynamic=no
6826 rm -f core conftest.err conftest.$ac_objext \
6827 conftest$ac_exeext conftest.$ac_ext
6828 CFLAGS=$ac_wine_try_cflags_saved
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6831 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6832 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6833 LDEXECFLAGS="-Wl,--export-dynamic"
6837 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6839 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6840 if eval \${$as_ac_var+:} false; then :
6841 $as_echo_n "(cached) " >&6
6843 ac_wine_try_cflags_saved=$CFLAGS
6844 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6846 /* end confdefs.h. */
6847 int main(int argc, char **argv) { return 0; }
6849 if ac_fn_c_try_link "$LINENO"; then :
6850 eval "$as_ac_var=yes"
6852 eval "$as_ac_var=no"
6854 rm -f core conftest.err conftest.$ac_objext \
6855 conftest$ac_exeext conftest.$ac_ext
6856 CFLAGS=$ac_wine_try_cflags_saved
6858 eval ac_res=\$$as_ac_var
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6860 $as_echo "$ac_res" >&6; }
6861 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6862 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6863 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6865 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6867 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6868 if eval \${$as_ac_var+:} false; then :
6869 $as_echo_n "(cached) " >&6
6871 ac_wine_try_cflags_saved=$CFLAGS
6872 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6874 /* end confdefs.h. */
6875 int main(int argc, char **argv) { return 0; }
6877 if ac_fn_c_try_link "$LINENO"; then :
6878 eval "$as_ac_var=yes"
6880 eval "$as_ac_var=no"
6882 rm -f core conftest.err conftest.$ac_objext \
6883 conftest$ac_exeext conftest.$ac_ext
6884 CFLAGS=$ac_wine_try_cflags_saved
6886 eval ac_res=\$$as_ac_var
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6888 $as_echo "$ac_res" >&6; }
6889 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6890 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6891 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6896 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6897 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
6898 $as_echo_n "(cached) " >&6
6900 ac_wine_try_cflags_saved=$CFLAGS
6901 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
6902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6903 /* end confdefs.h. */
6904 int main(int argc, char **argv) { return 0; }
6906 if ac_fn_c_try_link "$LINENO"; then :
6907 ac_cv_cflags__Wl___enable_new_dtags=yes
6909 ac_cv_cflags__Wl___enable_new_dtags=no
6911 rm -f core conftest.err conftest.$ac_objext \
6912 conftest$ac_exeext conftest.$ac_ext
6913 CFLAGS=$ac_wine_try_cflags_saved
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6916 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6917 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6918 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6922 *i[3456789]86* | x86_64)
6923 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--section-start,.interp=0x7bf00400" | $as_tr_sh`
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6925 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6926 if eval \${$as_ac_var+:} false; then :
6927 $as_echo_n "(cached) " >&6
6929 ac_wine_try_cflags_saved=$CFLAGS
6930 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6932 /* end confdefs.h. */
6933 int main(int argc, char **argv) { return 0; }
6935 if ac_fn_c_try_link "$LINENO"; then :
6936 eval "$as_ac_var=yes"
6938 eval "$as_ac_var=no"
6940 rm -f core conftest.err conftest.$ac_objext \
6941 conftest$ac_exeext conftest.$ac_ext
6942 CFLAGS=$ac_wine_try_cflags_saved
6944 eval ac_res=\$$as_ac_var
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6946 $as_echo "$ac_res" >&6; }
6947 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6949 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
6950 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
6954 # Extract the first word of "prelink", so it can be a program name with args.
6955 set dummy prelink; ac_word=$2
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6957 $as_echo_n "checking for $ac_word... " >&6; }
6958 if ${ac_cv_path_PRELINK+:} false; then :
6959 $as_echo_n "(cached) " >&6
6963 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6967 for as_dir in /sbin /usr/sbin $PATH
6970 test -z "$as_dir" && as_dir=.
6971 for ac_exec_ext in '' $ac_executable_extensions; do
6972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6973 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6981 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6985 PRELINK=$ac_cv_path_PRELINK
6986 if test -n "$PRELINK"; then
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
6988 $as_echo "$PRELINK" >&6; }
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6991 $as_echo "no" >&6; }
6995 if test "x$PRELINK" = xfalse
6997 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7004 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7005 if ${ac_cv_c_dll_unixware+:} false; then :
7006 $as_echo_n "(cached) " >&6
7008 ac_wine_try_cflags_saved=$CFLAGS
7009 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7011 /* end confdefs.h. */
7014 if ac_fn_c_try_link "$LINENO"; then :
7015 ac_cv_c_dll_unixware="yes"
7017 ac_cv_c_dll_unixware="no"
7019 rm -f core conftest.err conftest.$ac_objext \
7020 conftest$ac_exeext conftest.$ac_ext
7021 CFLAGS=$ac_wine_try_cflags_saved
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7024 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7025 if test "$ac_cv_c_dll_unixware" = "yes"
7027 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
7028 LDDLLFLAGS="-Wl,-G,-B,symbolic"
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
7032 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
7033 if ${ac_cv_c_dll_hpux+:} false; then :
7034 $as_echo_n "(cached) " >&6
7036 ac_wine_try_cflags_saved=$CFLAGS
7037 CFLAGS="$CFLAGS -shared"
7038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7039 /* end confdefs.h. */
7042 if ac_fn_c_try_link "$LINENO"; then :
7043 ac_cv_c_dll_hpux="yes"
7045 ac_cv_c_dll_hpux="no"
7047 rm -f core conftest.err conftest.$ac_objext \
7048 conftest$ac_exeext conftest.$ac_ext
7049 CFLAGS=$ac_wine_try_cflags_saved
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
7052 $as_echo "$ac_cv_c_dll_hpux" >&6; }
7053 if test "$ac_cv_c_dll_hpux" = "yes"
7057 LDDLLFLAGS="-shared -fPIC"
7058 LDSHARED="\$(CC) -shared"
7065 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
7066 enable_winequartz_drv=${enable_winequartz_drv:-no}
7068 if test "$LIBEXT" = "a"; then
7069 as_fn_error $? "could not find a way to build shared libraries.
7070 It is currently not possible to build Wine without shared library
7071 (.so) support to allow transparent switch between .so and .dll files.
7072 If you are using Linux, you will need a newer binutils.
7076 CROSSTEST_DISABLE=\#
7078 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
7082 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 " ;;
7084 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 " ;;
7086 ac_prefix_list="" ;;
7088 for ac_prog in $ac_prefix_list
7090 # Extract the first word of "$ac_prog", so it can be a program name with args.
7091 set dummy $ac_prog; ac_word=$2
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7093 $as_echo_n "checking for $ac_word... " >&6; }
7094 if ${ac_cv_prog_CROSSCC+:} false; then :
7095 $as_echo_n "(cached) " >&6
7097 if test -n "$CROSSCC"; then
7098 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
7100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7104 test -z "$as_dir" && as_dir=.
7105 for ac_exec_ext in '' $ac_executable_extensions; do
7106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7107 ac_cv_prog_CROSSCC="$ac_prog"
7108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7117 CROSSCC=$ac_cv_prog_CROSSCC
7118 if test -n "$CROSSCC"; then
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7120 $as_echo "$CROSSCC" >&6; }
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7123 $as_echo "no" >&6; }
7127 test -n "$CROSSCC" && break
7129 test -n "$CROSSCC" || CROSSCC="false"
7131 if test "$CROSSCC" != "false"
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7136 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7138 /* end confdefs.h. */
7148 if ac_fn_c_try_compile "$LINENO"; then :
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7150 $as_echo "yes" >&6; }
7157 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
7161 if test -n "$target"
7163 CROSSTEST_DISABLE=""
7164 CROSSTARGET="$target"
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7169 $as_echo "no" >&6; }
7171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7177 if test "$ac_cv_header_pthread_h" = "yes"
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7180 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7181 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
7182 $as_echo_n "(cached) " >&6
7184 ac_check_lib_save_LIBS=$LIBS
7185 LIBS="-lpthread $LIBS"
7186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7187 /* end confdefs.h. */
7189 /* Override any GCC internal prototype to avoid an error.
7190 Use char because int might match the return type of a GCC
7191 builtin and then its argument prototype would still apply. */
7195 char pthread_create ();
7199 return pthread_create ();
7204 if ac_fn_c_try_link "$LINENO"; then :
7205 ac_cv_lib_pthread_pthread_create=yes
7207 ac_cv_lib_pthread_pthread_create=no
7209 rm -f core conftest.err conftest.$ac_objext \
7210 conftest$ac_exeext conftest.$ac_ext
7211 LIBS=$ac_check_lib_save_LIBS
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7214 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7215 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
7216 LIBPTHREAD="-lpthread"
7221 if test "x$LIBPTHREAD" = "x"; then :
7222 case "x$with_pthread" in
7224 *) as_fn_error $? "pthread ${notice_platform}development files not found.
7225 Wine cannot support threads without libpthread.
7226 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7232 $as_echo_n "checking for X... " >&6; }
7235 # Check whether --with-x was given.
7236 if test "${with_x+set}" = set; then :
7240 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7241 if test "x$with_x" = xno; then
7242 # The user explicitly disabled X.
7245 case $x_includes,$x_libraries in #(
7246 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
7247 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
7248 $as_echo_n "(cached) " >&6
7250 # One or both of the vars are not set, and there is no cached value.
7251 ac_x_includes=no ac_x_libraries=no
7252 rm -f -r conftest.dir
7253 if mkdir conftest.dir; then
7255 cat >Imakefile <<'_ACEOF'
7257 @echo incroot='${INCROOT}'
7259 @echo usrlibdir='${USRLIBDIR}'
7261 @echo libdir='${LIBDIR}'
7263 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7264 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7265 for ac_var in incroot usrlibdir libdir; do
7266 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7268 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7269 for ac_extension in a so sl dylib la dll; do
7270 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7271 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7272 ac_im_usrlibdir=$ac_im_libdir; break
7275 # Screen out bogus values from the imake configuration. They are
7276 # bogus both because they are the default anyway, and because
7277 # using them would break gcc on systems where it needs fixed includes.
7278 case $ac_im_incroot in
7279 /usr/include) ac_x_includes= ;;
7280 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
7282 case $ac_im_usrlibdir in
7283 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
7284 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
7288 rm -f -r conftest.dir
7291 # Standard set of common directories for X headers.
7292 # Check X11 before X11Rn because it is often a symlink to the current release.
7306 /usr/local/X11/include
7307 /usr/local/X11R7/include
7308 /usr/local/X11R6/include
7309 /usr/local/X11R5/include
7310 /usr/local/X11R4/include
7312 /usr/local/include/X11
7313 /usr/local/include/X11R7
7314 /usr/local/include/X11R6
7315 /usr/local/include/X11R5
7316 /usr/local/include/X11R4
7320 /usr/XFree86/include/X11
7324 /usr/unsupported/include
7326 /usr/local/x11r5/include
7327 /usr/lpp/Xamples/include
7329 /usr/openwin/include
7330 /usr/openwin/share/include'
7332 if test "$ac_x_includes" = no; then
7333 # Guess where to find include files, by looking for Xlib.h.
7334 # First, try using that file with no special directory specified.
7335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7336 /* end confdefs.h. */
7337 #include <X11/Xlib.h>
7339 if ac_fn_c_try_cpp "$LINENO"; then :
7340 # We can compile using X headers with no special include directory.
7343 for ac_dir in $ac_x_header_dirs; do
7344 if test -r "$ac_dir/X11/Xlib.h"; then
7345 ac_x_includes=$ac_dir
7350 rm -f conftest.err conftest.i conftest.$ac_ext
7351 fi # $ac_x_includes = no
7353 if test "$ac_x_libraries" = no; then
7354 # Check for the libraries.
7355 # See if we find them without any special options.
7356 # Don't add to $LIBS permanently.
7359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7360 /* end confdefs.h. */
7361 #include <X11/Xlib.h>
7370 if ac_fn_c_try_link "$LINENO"; then :
7372 # We can link X programs with no special library path.
7376 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7378 # Don't even attempt the hair of trying to link an X program!
7379 for ac_extension in a so sl dylib la dll; do
7380 if test -r "$ac_dir/libX11.$ac_extension"; then
7381 ac_x_libraries=$ac_dir
7387 rm -f core conftest.err conftest.$ac_objext \
7388 conftest$ac_exeext conftest.$ac_ext
7389 fi # $ac_x_libraries = no
7391 case $ac_x_includes,$ac_x_libraries in #(
7393 # Didn't find X, or a directory has "'" in its name.
7394 ac_cv_have_x="have_x=no";; #(
7396 # Record where we found X for the cache.
7397 ac_cv_have_x="have_x=yes\
7398 ac_x_includes='$ac_x_includes'\
7399 ac_x_libraries='$ac_x_libraries'"
7405 eval "$ac_cv_have_x"
7408 if test "$have_x" != yes; then
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7410 $as_echo "$have_x" >&6; }
7413 # If each of the values was on the command line, it overrides each guess.
7414 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
7415 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
7416 # Update the cache value to reflect the command line values.
7417 ac_cv_have_x="have_x=yes\
7418 ac_x_includes='$x_includes'\
7419 ac_x_libraries='$x_libraries'"
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7421 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7424 if test "$no_x" = yes; then
7425 # Not all programs may use this symbol, but it does not hurt to define it.
7427 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7429 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
7431 if test -n "$x_includes"; then
7432 X_CFLAGS="$X_CFLAGS -I$x_includes"
7435 # It would also be nice to do this for all -L options, not just this one.
7436 if test -n "$x_libraries"; then
7437 X_LIBS="$X_LIBS -L$x_libraries"
7438 # For Solaris; some versions of Sun CC require a space after -R and
7439 # others require no space. Words are not sufficient . . . .
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7441 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7442 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
7443 ac_xsave_c_werror_flag=$ac_c_werror_flag
7444 ac_c_werror_flag=yes
7445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7446 /* end confdefs.h. */
7456 if ac_fn_c_try_link "$LINENO"; then :
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7458 $as_echo "no" >&6; }
7459 X_LIBS="$X_LIBS -R$x_libraries"
7461 LIBS="$ac_xsave_LIBS -R $x_libraries"
7462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7463 /* end confdefs.h. */
7473 if ac_fn_c_try_link "$LINENO"; then :
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7475 $as_echo "yes" >&6; }
7476 X_LIBS="$X_LIBS -R $x_libraries"
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7479 $as_echo "neither works" >&6; }
7481 rm -f core conftest.err conftest.$ac_objext \
7482 conftest$ac_exeext conftest.$ac_ext
7484 rm -f core conftest.err conftest.$ac_objext \
7485 conftest$ac_exeext conftest.$ac_ext
7486 ac_c_werror_flag=$ac_xsave_c_werror_flag
7490 # Check for system-dependent libraries X programs must link with.
7491 # Do this before checking for the system-independent R6 libraries
7492 # (-lICE), since we may need -lsocket or whatever for X linking.
7494 if test "$ISC" = yes; then
7495 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
7497 # Martyn Johnson says this is needed for Ultrix, if the X
7498 # libraries were built with DECnet support. And Karl Berry says
7499 # the Alpha needs dnet_stub (dnet does not exist).
7500 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
7501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7502 /* end confdefs.h. */
7504 /* Override any GCC internal prototype to avoid an error.
7505 Use char because int might match the return type of a GCC
7506 builtin and then its argument prototype would still apply. */
7510 char XOpenDisplay ();
7514 return XOpenDisplay ();
7519 if ac_fn_c_try_link "$LINENO"; then :
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7523 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7524 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
7525 $as_echo_n "(cached) " >&6
7527 ac_check_lib_save_LIBS=$LIBS
7529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7530 /* end confdefs.h. */
7532 /* Override any GCC internal prototype to avoid an error.
7533 Use char because int might match the return type of a GCC
7534 builtin and then its argument prototype would still apply. */
7542 return dnet_ntoa ();
7547 if ac_fn_c_try_link "$LINENO"; then :
7548 ac_cv_lib_dnet_dnet_ntoa=yes
7550 ac_cv_lib_dnet_dnet_ntoa=no
7552 rm -f core conftest.err conftest.$ac_objext \
7553 conftest$ac_exeext conftest.$ac_ext
7554 LIBS=$ac_check_lib_save_LIBS
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7557 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7558 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
7559 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7562 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7564 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7565 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
7566 $as_echo_n "(cached) " >&6
7568 ac_check_lib_save_LIBS=$LIBS
7569 LIBS="-ldnet_stub $LIBS"
7570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7571 /* end confdefs.h. */
7573 /* Override any GCC internal prototype to avoid an error.
7574 Use char because int might match the return type of a GCC
7575 builtin and then its argument prototype would still apply. */
7583 return dnet_ntoa ();
7588 if ac_fn_c_try_link "$LINENO"; then :
7589 ac_cv_lib_dnet_stub_dnet_ntoa=yes
7591 ac_cv_lib_dnet_stub_dnet_ntoa=no
7593 rm -f core conftest.err conftest.$ac_objext \
7594 conftest$ac_exeext conftest.$ac_ext
7595 LIBS=$ac_check_lib_save_LIBS
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7598 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7599 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
7600 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
7605 rm -f core conftest.err conftest.$ac_objext \
7606 conftest$ac_exeext conftest.$ac_ext
7607 LIBS="$ac_xsave_LIBS"
7609 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7610 # to get the SysV transport functions.
7611 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7613 # The nsl library prevents programs from opening the X display
7614 # on Irix 5.2, according to T.E. Dickey.
7615 # The functions gethostbyname, getservbyname, and inet_addr are
7616 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7617 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7618 if test "x$ac_cv_func_gethostbyname" = xyes; then :
7622 if test $ac_cv_func_gethostbyname = no; then
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7624 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7625 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
7626 $as_echo_n "(cached) " >&6
7628 ac_check_lib_save_LIBS=$LIBS
7630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7631 /* end confdefs.h. */
7633 /* Override any GCC internal prototype to avoid an error.
7634 Use char because int might match the return type of a GCC
7635 builtin and then its argument prototype would still apply. */
7639 char gethostbyname ();
7643 return gethostbyname ();
7648 if ac_fn_c_try_link "$LINENO"; then :
7649 ac_cv_lib_nsl_gethostbyname=yes
7651 ac_cv_lib_nsl_gethostbyname=no
7653 rm -f core conftest.err conftest.$ac_objext \
7654 conftest$ac_exeext conftest.$ac_ext
7655 LIBS=$ac_check_lib_save_LIBS
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7658 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7659 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
7660 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
7663 if test $ac_cv_lib_nsl_gethostbyname = no; then
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7665 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7666 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
7667 $as_echo_n "(cached) " >&6
7669 ac_check_lib_save_LIBS=$LIBS
7671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7672 /* end confdefs.h. */
7674 /* Override any GCC internal prototype to avoid an error.
7675 Use char because int might match the return type of a GCC
7676 builtin and then its argument prototype would still apply. */
7680 char gethostbyname ();
7684 return gethostbyname ();
7689 if ac_fn_c_try_link "$LINENO"; then :
7690 ac_cv_lib_bsd_gethostbyname=yes
7692 ac_cv_lib_bsd_gethostbyname=no
7694 rm -f core conftest.err conftest.$ac_objext \
7695 conftest$ac_exeext conftest.$ac_ext
7696 LIBS=$ac_check_lib_save_LIBS
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7699 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7700 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
7701 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
7707 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7708 # socket/setsockopt and other routines are undefined under SCO ODT
7709 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7710 # on later versions), says Simon Leinen: it contains gethostby*
7711 # variants that don't use the name server (or something). -lsocket
7712 # must be given before -lnsl if both are needed. We assume that
7713 # if connect needs -lnsl, so does gethostbyname.
7714 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
7715 if test "x$ac_cv_func_connect" = xyes; then :
7719 if test $ac_cv_func_connect = no; then
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7721 $as_echo_n "checking for connect in -lsocket... " >&6; }
7722 if ${ac_cv_lib_socket_connect+:} false; then :
7723 $as_echo_n "(cached) " >&6
7725 ac_check_lib_save_LIBS=$LIBS
7726 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
7727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7728 /* end confdefs.h. */
7730 /* Override any GCC internal prototype to avoid an error.
7731 Use char because int might match the return type of a GCC
7732 builtin and then its argument prototype would still apply. */
7745 if ac_fn_c_try_link "$LINENO"; then :
7746 ac_cv_lib_socket_connect=yes
7748 ac_cv_lib_socket_connect=no
7750 rm -f core conftest.err conftest.$ac_objext \
7751 conftest$ac_exeext conftest.$ac_ext
7752 LIBS=$ac_check_lib_save_LIBS
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7755 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7756 if test "x$ac_cv_lib_socket_connect" = xyes; then :
7757 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
7762 # Guillermo Gomez says -lposix is necessary on A/UX.
7763 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
7764 if test "x$ac_cv_func_remove" = xyes; then :
7768 if test $ac_cv_func_remove = no; then
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7770 $as_echo_n "checking for remove in -lposix... " >&6; }
7771 if ${ac_cv_lib_posix_remove+:} false; then :
7772 $as_echo_n "(cached) " >&6
7774 ac_check_lib_save_LIBS=$LIBS
7775 LIBS="-lposix $LIBS"
7776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7777 /* end confdefs.h. */
7779 /* Override any GCC internal prototype to avoid an error.
7780 Use char because int might match the return type of a GCC
7781 builtin and then its argument prototype would still apply. */
7794 if ac_fn_c_try_link "$LINENO"; then :
7795 ac_cv_lib_posix_remove=yes
7797 ac_cv_lib_posix_remove=no
7799 rm -f core conftest.err conftest.$ac_objext \
7800 conftest$ac_exeext conftest.$ac_ext
7801 LIBS=$ac_check_lib_save_LIBS
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7804 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7805 if test "x$ac_cv_lib_posix_remove" = xyes; then :
7806 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
7811 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7812 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
7813 if test "x$ac_cv_func_shmat" = xyes; then :
7817 if test $ac_cv_func_shmat = no; then
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7819 $as_echo_n "checking for shmat in -lipc... " >&6; }
7820 if ${ac_cv_lib_ipc_shmat+:} false; then :
7821 $as_echo_n "(cached) " >&6
7823 ac_check_lib_save_LIBS=$LIBS
7825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7826 /* end confdefs.h. */
7828 /* Override any GCC internal prototype to avoid an error.
7829 Use char because int might match the return type of a GCC
7830 builtin and then its argument prototype would still apply. */
7843 if ac_fn_c_try_link "$LINENO"; then :
7844 ac_cv_lib_ipc_shmat=yes
7846 ac_cv_lib_ipc_shmat=no
7848 rm -f core conftest.err conftest.$ac_objext \
7849 conftest$ac_exeext conftest.$ac_ext
7850 LIBS=$ac_check_lib_save_LIBS
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
7853 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7854 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
7855 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
7861 # Check for libraries that X11R6 Xt/Xaw programs need.
7862 ac_save_LDFLAGS=$LDFLAGS
7863 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
7864 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7865 # check for ICE first), but we must link in the order -lSM -lICE or
7866 # we get undefined symbols. So assume we have SM if we have ICE.
7867 # These have to be linked with before -lX11, unlike the other
7868 # libraries we check for below, so use a different variable.
7869 # John Interrante, Karl Berry
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7871 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7872 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
7873 $as_echo_n "(cached) " >&6
7875 ac_check_lib_save_LIBS=$LIBS
7876 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
7877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7878 /* end confdefs.h. */
7880 /* Override any GCC internal prototype to avoid an error.
7881 Use char because int might match the return type of a GCC
7882 builtin and then its argument prototype would still apply. */
7886 char IceConnectionNumber ();
7890 return IceConnectionNumber ();
7895 if ac_fn_c_try_link "$LINENO"; then :
7896 ac_cv_lib_ICE_IceConnectionNumber=yes
7898 ac_cv_lib_ICE_IceConnectionNumber=no
7900 rm -f core conftest.err conftest.$ac_objext \
7901 conftest$ac_exeext conftest.$ac_ext
7902 LIBS=$ac_check_lib_save_LIBS
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7905 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7906 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
7907 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
7910 LDFLAGS=$ac_save_LDFLAGS
7915 if test "$have_x" = "yes"
7918 ac_save_CPPFLAGS="$CPPFLAGS"
7919 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
7922 $as_echo_n "checking for -lX11... " >&6; }
7923 if ${ac_cv_lib_soname_X11+:} false; then :
7924 $as_echo_n "(cached) " >&6
7926 ac_check_soname_save_LIBS=$LIBS
7927 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
7928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7929 /* end confdefs.h. */
7931 /* Override any GCC internal prototype to avoid an error.
7932 Use char because int might match the return type of a GCC
7933 builtin and then its argument prototype would still apply. */
7937 char XCreateWindow ();
7941 return XCreateWindow ();
7946 if ac_fn_c_try_link "$LINENO"; then :
7948 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7949 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'` ;;
7950 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7953 rm -f core conftest.err conftest.$ac_objext \
7954 conftest$ac_exeext conftest.$ac_ext
7955 LIBS=$ac_check_soname_save_LIBS
7957 if test "x$ac_cv_lib_soname_X11" = "x"; then :
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7959 $as_echo "not found" >&6; }
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
7963 $as_echo "$ac_cv_lib_soname_X11" >&6; }
7965 cat >>confdefs.h <<_ACEOF
7966 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
7972 $as_echo_n "checking for -lXext... " >&6; }
7973 if ${ac_cv_lib_soname_Xext+:} false; then :
7974 $as_echo_n "(cached) " >&6
7976 ac_check_soname_save_LIBS=$LIBS
7977 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
7978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7979 /* end confdefs.h. */
7981 /* Override any GCC internal prototype to avoid an error.
7982 Use char because int might match the return type of a GCC
7983 builtin and then its argument prototype would still apply. */
7987 char XextCreateExtension ();
7991 return XextCreateExtension ();
7996 if ac_fn_c_try_link "$LINENO"; then :
7998 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7999 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'` ;;
8000 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8003 rm -f core conftest.err conftest.$ac_objext \
8004 conftest$ac_exeext conftest.$ac_ext
8005 LIBS=$ac_check_soname_save_LIBS
8007 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8009 $as_echo "not found" >&6; }
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8013 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8015 cat >>confdefs.h <<_ACEOF
8016 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8022 for ac_header in X11/Xlib.h \
8025 X11/Xcursor/Xcursor.h \
8026 X11/extensions/shape.h \
8027 X11/extensions/XInput.h \
8028 X11/extensions/XInput2.h \
8029 X11/extensions/Xcomposite.h \
8030 X11/extensions/Xinerama.h \
8031 X11/extensions/Xrandr.h \
8032 X11/extensions/Xrender.h \
8033 X11/extensions/xf86vmode.h \
8034 X11/extensions/xf86vmproto.h
8036 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8037 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8038 # include <X11/Xlib.h>
8040 #ifdef HAVE_X11_XUTIL_H
8041 # include <X11/Xutil.h>
8044 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8045 cat >>confdefs.h <<_ACEOF
8046 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8054 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8057 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8058 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
8059 $as_echo_n "(cached) " >&6
8061 ac_check_lib_save_LIBS=$LIBS
8062 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8064 /* end confdefs.h. */
8066 /* Override any GCC internal prototype to avoid an error.
8067 Use char because int might match the return type of a GCC
8068 builtin and then its argument prototype would still apply. */
8072 char XkbQueryExtension ();
8076 return XkbQueryExtension ();
8081 if ac_fn_c_try_link "$LINENO"; then :
8082 ac_cv_lib_X11_XkbQueryExtension=yes
8084 ac_cv_lib_X11_XkbQueryExtension=no
8086 rm -f core conftest.err conftest.$ac_objext \
8087 conftest$ac_exeext conftest.$ac_ext
8088 LIBS=$ac_check_lib_save_LIBS
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8091 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8092 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
8094 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8100 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8103 $as_echo_n "checking for -lXcursor... " >&6; }
8104 if ${ac_cv_lib_soname_Xcursor+:} false; then :
8105 $as_echo_n "(cached) " >&6
8107 ac_check_soname_save_LIBS=$LIBS
8108 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8110 /* end confdefs.h. */
8112 /* Override any GCC internal prototype to avoid an error.
8113 Use char because int might match the return type of a GCC
8114 builtin and then its argument prototype would still apply. */
8118 char XcursorImageLoadCursor ();
8122 return XcursorImageLoadCursor ();
8127 if ac_fn_c_try_link "$LINENO"; then :
8129 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8130 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'` ;;
8131 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8134 rm -f core conftest.err conftest.$ac_objext \
8135 conftest$ac_exeext conftest.$ac_ext
8136 LIBS=$ac_check_soname_save_LIBS
8138 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8140 $as_echo "not found" >&6; }
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8144 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8146 cat >>confdefs.h <<_ACEOF
8147 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8153 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8154 case "x$with_xcursor" in
8155 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8157 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8158 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8162 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8165 $as_echo_n "checking for -lXi... " >&6; }
8166 if ${ac_cv_lib_soname_Xi+:} false; then :
8167 $as_echo_n "(cached) " >&6
8169 ac_check_soname_save_LIBS=$LIBS
8170 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8172 /* end confdefs.h. */
8174 /* Override any GCC internal prototype to avoid an error.
8175 Use char because int might match the return type of a GCC
8176 builtin and then its argument prototype would still apply. */
8180 char XOpenDevice ();
8184 return XOpenDevice ();
8189 if ac_fn_c_try_link "$LINENO"; then :
8191 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8192 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'` ;;
8193 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8196 rm -f core conftest.err conftest.$ac_objext \
8197 conftest$ac_exeext conftest.$ac_ext
8198 LIBS=$ac_check_soname_save_LIBS
8200 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8202 $as_echo "not found" >&6; }
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8206 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8208 cat >>confdefs.h <<_ACEOF
8209 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8215 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8216 case "x$with_xinput" in
8217 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8219 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8220 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8224 if test "x$ac_cv_lib_soname_Xi" != x
8226 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8227 case "x$with_xinput2" in
8228 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8230 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
8231 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8236 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8239 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8240 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
8241 $as_echo_n "(cached) " >&6
8243 ac_check_lib_save_LIBS=$LIBS
8244 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8246 /* end confdefs.h. */
8248 /* Override any GCC internal prototype to avoid an error.
8249 Use char because int might match the return type of a GCC
8250 builtin and then its argument prototype would still apply. */
8254 char XShapeQueryExtension ();
8258 return XShapeQueryExtension ();
8263 if ac_fn_c_try_link "$LINENO"; then :
8264 ac_cv_lib_Xext_XShapeQueryExtension=yes
8266 ac_cv_lib_Xext_XShapeQueryExtension=no
8268 rm -f core conftest.err conftest.$ac_objext \
8269 conftest$ac_exeext conftest.$ac_ext
8270 LIBS=$ac_check_lib_save_LIBS
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8273 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8274 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
8276 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8281 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8282 case "x$with_xshape" in
8283 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8285 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
8286 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8290 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8293 $as_echo_n "checking for -lXxf86vm... " >&6; }
8294 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
8295 $as_echo_n "(cached) " >&6
8297 ac_check_soname_save_LIBS=$LIBS
8298 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8300 /* end confdefs.h. */
8302 /* Override any GCC internal prototype to avoid an error.
8303 Use char because int might match the return type of a GCC
8304 builtin and then its argument prototype would still apply. */
8308 char XF86VidModeQueryExtension ();
8312 return XF86VidModeQueryExtension ();
8317 if ac_fn_c_try_link "$LINENO"; then :
8319 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8320 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'` ;;
8321 *) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8324 rm -f core conftest.err conftest.$ac_objext \
8325 conftest$ac_exeext conftest.$ac_ext
8326 LIBS=$ac_check_soname_save_LIBS
8328 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8330 $as_echo "not found" >&6; }
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8334 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8336 cat >>confdefs.h <<_ACEOF
8337 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8343 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8344 case "x$with_xxf86vm" in
8345 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8347 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8348 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8352 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"
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8355 $as_echo_n "checking for -lXrender... " >&6; }
8356 if ${ac_cv_lib_soname_Xrender+:} false; then :
8357 $as_echo_n "(cached) " >&6
8359 ac_check_soname_save_LIBS=$LIBS
8360 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8362 /* end confdefs.h. */
8364 /* Override any GCC internal prototype to avoid an error.
8365 Use char because int might match the return type of a GCC
8366 builtin and then its argument prototype would still apply. */
8370 char XRenderQueryExtension ();
8374 return XRenderQueryExtension ();
8379 if ac_fn_c_try_link "$LINENO"; then :
8381 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8382 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'` ;;
8383 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8386 rm -f core conftest.err conftest.$ac_objext \
8387 conftest$ac_exeext conftest.$ac_ext
8388 LIBS=$ac_check_soname_save_LIBS
8390 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8392 $as_echo "not found" >&6; }
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8396 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8398 cat >>confdefs.h <<_ACEOF
8399 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8403 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8404 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
8405 $as_echo_n "(cached) " >&6
8407 ac_check_lib_save_LIBS=$LIBS
8408 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8410 /* end confdefs.h. */
8412 /* Override any GCC internal prototype to avoid an error.
8413 Use char because int might match the return type of a GCC
8414 builtin and then its argument prototype would still apply. */
8418 char XRenderSetPictureTransform ();
8422 return XRenderSetPictureTransform ();
8427 if ac_fn_c_try_link "$LINENO"; then :
8428 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8430 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8432 rm -f core conftest.err conftest.$ac_objext \
8433 conftest$ac_exeext conftest.$ac_ext
8434 LIBS=$ac_check_lib_save_LIBS
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8437 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8438 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
8440 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8445 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8446 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
8447 $as_echo_n "(cached) " >&6
8449 ac_check_lib_save_LIBS=$LIBS
8450 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8452 /* end confdefs.h. */
8454 /* Override any GCC internal prototype to avoid an error.
8455 Use char because int might match the return type of a GCC
8456 builtin and then its argument prototype would still apply. */
8460 char XRenderCreateLinearGradient ();
8464 return XRenderCreateLinearGradient ();
8469 if ac_fn_c_try_link "$LINENO"; then :
8470 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
8472 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
8474 rm -f core conftest.err conftest.$ac_objext \
8475 conftest$ac_exeext conftest.$ac_ext
8476 LIBS=$ac_check_lib_save_LIBS
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8479 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8480 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
8482 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8489 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8490 case "x$with_xrender" in
8491 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8493 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
8494 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8498 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8501 /* end confdefs.h. */
8502 #include <X11/Xlib.h>
8503 #include <X11/extensions/Xrandr.h>
8507 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
8512 if ac_fn_c_try_compile "$LINENO"; then :
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8514 $as_echo_n "checking for -lXrandr... " >&6; }
8515 if ${ac_cv_lib_soname_Xrandr+:} false; then :
8516 $as_echo_n "(cached) " >&6
8518 ac_check_soname_save_LIBS=$LIBS
8519 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8521 /* end confdefs.h. */
8523 /* Override any GCC internal prototype to avoid an error.
8524 Use char because int might match the return type of a GCC
8525 builtin and then its argument prototype would still apply. */
8529 char XRRQueryExtension ();
8533 return XRRQueryExtension ();
8538 if ac_fn_c_try_link "$LINENO"; then :
8540 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8541 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'` ;;
8542 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8545 rm -f core conftest.err conftest.$ac_objext \
8546 conftest$ac_exeext conftest.$ac_ext
8547 LIBS=$ac_check_soname_save_LIBS
8549 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8551 $as_echo "not found" >&6; }
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8555 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8557 cat >>confdefs.h <<_ACEOF
8558 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8566 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8567 case "x$with_xrandr" in
8568 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8570 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8571 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8575 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8578 /* end confdefs.h. */
8579 #include <X11/Xlib.h>
8580 #include <X11/extensions/Xinerama.h>
8584 static typeof(XineramaQueryScreens) * func; if (func) return 0;
8589 if ac_fn_c_try_compile "$LINENO"; then :
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8591 $as_echo_n "checking for -lXinerama... " >&6; }
8592 if ${ac_cv_lib_soname_Xinerama+:} false; then :
8593 $as_echo_n "(cached) " >&6
8595 ac_check_soname_save_LIBS=$LIBS
8596 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8598 /* end confdefs.h. */
8600 /* Override any GCC internal prototype to avoid an error.
8601 Use char because int might match the return type of a GCC
8602 builtin and then its argument prototype would still apply. */
8606 char XineramaQueryScreens ();
8610 return XineramaQueryScreens ();
8615 if ac_fn_c_try_link "$LINENO"; then :
8617 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8618 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'` ;;
8619 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8622 rm -f core conftest.err conftest.$ac_objext \
8623 conftest$ac_exeext conftest.$ac_ext
8624 LIBS=$ac_check_soname_save_LIBS
8626 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8628 $as_echo "not found" >&6; }
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8632 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8634 cat >>confdefs.h <<_ACEOF
8635 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8643 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8644 case "x$with_xinerama" in
8645 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8647 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8648 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8652 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8655 $as_echo_n "checking for -lXcomposite... " >&6; }
8656 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
8657 $as_echo_n "(cached) " >&6
8659 ac_check_soname_save_LIBS=$LIBS
8660 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8662 /* end confdefs.h. */
8664 /* Override any GCC internal prototype to avoid an error.
8665 Use char because int might match the return type of a GCC
8666 builtin and then its argument prototype would still apply. */
8670 char XCompositeRedirectWindow ();
8674 return XCompositeRedirectWindow ();
8679 if ac_fn_c_try_link "$LINENO"; then :
8681 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8682 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'` ;;
8683 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8686 rm -f core conftest.err conftest.$ac_objext \
8687 conftest$ac_exeext conftest.$ac_ext
8688 LIBS=$ac_check_soname_save_LIBS
8690 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8692 $as_echo "not found" >&6; }
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8696 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8698 cat >>confdefs.h <<_ACEOF
8699 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8705 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8706 case "x$with_xcomposite" in
8707 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8709 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8710 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8714 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8715 #include <X11/Xlib.h>
8718 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
8720 cat >>confdefs.h <<_ACEOF
8721 #define HAVE_XICCALLBACK_CALLBACK 1
8726 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
8727 #include <X11/Xlib.h>
8730 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
8732 cat >>confdefs.h <<_ACEOF
8733 #define HAVE_XEVENT_XCOOKIE 1
8742 if test "x$with_opengl" != "xno"
8744 for ac_header in GL/gl.h GL/glx.h GL/glu.h
8746 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8747 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_GL_GLX_H
8748 # include <GL/glx.h>
8751 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8752 cat >>confdefs.h <<_ACEOF
8753 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8760 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for up-to-date OpenGL version" >&5
8763 $as_echo_n "checking for up-to-date OpenGL version... " >&6; }
8764 if ${wine_cv_opengl_header_version_OK+:} false; then :
8765 $as_echo_n "(cached) " >&6
8767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8768 /* end confdefs.h. */
8773 GLenum test = GL_UNSIGNED_SHORT_5_6_5; return (test == GL_UNSIGNED_SHORT_5_6_5);
8778 if ac_fn_c_try_compile "$LINENO"; then :
8779 wine_cv_opengl_header_version_OK="yes"
8781 wine_cv_opengl_header_version_OK="no"
8783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_opengl_header_version_OK" >&5
8786 $as_echo "$wine_cv_opengl_header_version_OK" >&6; }
8788 if test "$wine_cv_opengl_header_version_OK" = "yes"
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8791 $as_echo_n "checking for -lGL... " >&6; }
8792 if ${ac_cv_lib_soname_GL+:} false; then :
8793 $as_echo_n "(cached) " >&6
8795 ac_check_soname_save_LIBS=$LIBS
8796 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8798 /* end confdefs.h. */
8800 /* Override any GCC internal prototype to avoid an error.
8801 Use char because int might match the return type of a GCC
8802 builtin and then its argument prototype would still apply. */
8806 char glXCreateContext ();
8810 return glXCreateContext ();
8815 if ac_fn_c_try_link "$LINENO"; then :
8817 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8818 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'` ;;
8819 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8822 rm -f core conftest.err conftest.$ac_objext \
8823 conftest$ac_exeext conftest.$ac_ext
8824 LIBS=$ac_check_soname_save_LIBS
8826 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8828 $as_echo "not found" >&6; }
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8830 $as_echo_n "checking for -lGL... " >&6; }
8831 if ${ac_cv_lib_soname_GL+:} false; then :
8832 $as_echo_n "(cached) " >&6
8834 ac_check_soname_save_LIBS=$LIBS
8835 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"
8836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8837 /* end confdefs.h. */
8839 /* Override any GCC internal prototype to avoid an error.
8840 Use char because int might match the return type of a GCC
8841 builtin and then its argument prototype would still apply. */
8845 char glXCreateContext ();
8849 return glXCreateContext ();
8854 if ac_fn_c_try_link "$LINENO"; then :
8856 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8857 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'` ;;
8858 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8861 rm -f core conftest.err conftest.$ac_objext \
8862 conftest$ac_exeext conftest.$ac_ext
8863 LIBS=$ac_check_soname_save_LIBS
8865 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8867 $as_echo "not found" >&6; }
8868 if test -f /usr/X11R6/lib/libGL.a
8870 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
8871 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
8873 opengl_msg="No OpenGL library found on this system."
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8877 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8879 cat >>confdefs.h <<_ACEOF
8880 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8883 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"
8885 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8890 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8892 cat >>confdefs.h <<_ACEOF
8893 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8898 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8901 if test "$ac_cv_header_GL_glu_h" = "yes"
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
8904 $as_echo_n "checking for -lGLU... " >&6; }
8905 if ${ac_cv_lib_soname_GLU+:} false; then :
8906 $as_echo_n "(cached) " >&6
8908 ac_check_soname_save_LIBS=$LIBS
8909 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8911 /* end confdefs.h. */
8913 /* Override any GCC internal prototype to avoid an error.
8914 Use char because int might match the return type of a GCC
8915 builtin and then its argument prototype would still apply. */
8923 return gluLookAt ();
8928 if ac_fn_c_try_link "$LINENO"; then :
8930 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8931 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'` ;;
8932 *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8935 rm -f core conftest.err conftest.$ac_objext \
8936 conftest$ac_exeext conftest.$ac_ext
8937 LIBS=$ac_check_soname_save_LIBS
8939 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8941 $as_echo "not found" >&6; }
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
8945 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
8947 cat >>confdefs.h <<_ACEOF
8948 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
8954 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8955 case "x$with_glu" in
8956 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
8958 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
8959 This is an error since --with-glu was requested." "$LINENO" 5 ;;
8963 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
8966 opengl_msg="OpenGL development headers not found."
8968 test -n "$opengl_msg" && enable_opengl32=${enable_opengl32:-no}
8969 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32=${enable_glu32:-no}
8971 enable_opengl32=${enable_opengl32:-no}
8972 enable_glu32=${enable_glu32:-no}
8974 if test -n "$opengl_msg"; then :
8975 case "x$with_opengl" in
8976 x) as_fn_append wine_warnings "|$opengl_msg
8977 OpenGL and Direct3D won't be supported." ;;
8979 *) as_fn_error $? "$opengl_msg
8980 OpenGL and Direct3D won't be supported.
8981 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
8985 CPPFLAGS="$ac_save_CPPFLAGS"
8990 enable_winex11_drv=${enable_winex11_drv:-no}
8991 enable_opengl32=${enable_opengl32:-no}
8992 enable_glu32=${enable_glu32:-no}
8994 if test "x$XLIB" = "x"; then :
8997 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
8998 without X support, which probably isn't what you want. You will need
8999 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9000 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9004 if test "$ac_cv_header_CL_cl_h" = "yes"
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9007 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9008 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
9009 $as_echo_n "(cached) " >&6
9011 ac_check_lib_save_LIBS=$LIBS
9012 LIBS="-lOpenCL $LIBS"
9013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9014 /* end confdefs.h. */
9016 /* Override any GCC internal prototype to avoid an error.
9017 Use char because int might match the return type of a GCC
9018 builtin and then its argument prototype would still apply. */
9022 char clGetPlatformInfo ();
9026 return clGetPlatformInfo ();
9031 if ac_fn_c_try_link "$LINENO"; then :
9032 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9034 ac_cv_lib_OpenCL_clGetPlatformInfo=no
9036 rm -f core conftest.err conftest.$ac_objext \
9037 conftest$ac_exeext conftest.$ac_ext
9038 LIBS=$ac_check_lib_save_LIBS
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9041 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9042 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
9043 LIBOPENCL="-lOpenCL"
9048 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
9049 case "x$with_opencl" in
9050 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9052 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9053 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9056 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
9065 if test "x$with_xml" != "xno"
9067 ac_save_CPPFLAGS="$CPPFLAGS"
9068 if test "$PKG_CONFIG" != "false"
9070 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9071 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9073 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
9074 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
9076 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
9077 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
9079 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9080 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9081 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9082 cat >>confdefs.h <<_ACEOF
9083 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9090 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"
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9093 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9094 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
9095 $as_echo_n "(cached) " >&6
9097 ac_check_lib_save_LIBS=$LIBS
9098 LIBS="-lxml2 $ac_xml_libs $LIBS"
9099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9100 /* end confdefs.h. */
9102 /* Override any GCC internal prototype to avoid an error.
9103 Use char because int might match the return type of a GCC
9104 builtin and then its argument prototype would still apply. */
9108 char xmlParseMemory ();
9112 return xmlParseMemory ();
9117 if ac_fn_c_try_link "$LINENO"; then :
9118 ac_cv_lib_xml2_xmlParseMemory=yes
9120 ac_cv_lib_xml2_xmlParseMemory=no
9122 rm -f core conftest.err conftest.$ac_objext \
9123 conftest$ac_exeext conftest.$ac_ext
9124 LIBS=$ac_check_lib_save_LIBS
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9127 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9128 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
9130 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9132 XML2LIBS="$ac_xml_libs"
9133 XML2INCL="$ac_xml_cflags"
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9137 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9138 if ${ac_cv_lib_xml2_xmlReadMemory+:} 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 xmlReadMemory ();
9156 return xmlReadMemory ();
9161 if ac_fn_c_try_link "$LINENO"; then :
9162 ac_cv_lib_xml2_xmlReadMemory=yes
9164 ac_cv_lib_xml2_xmlReadMemory=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_xmlReadMemory" >&5
9171 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9172 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
9174 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9179 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9180 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
9181 $as_echo_n "(cached) " >&6
9183 ac_check_lib_save_LIBS=$LIBS
9184 LIBS="-lxml2 $ac_xml_libs $LIBS"
9185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9186 /* end confdefs.h. */
9188 /* Override any GCC internal prototype to avoid an error.
9189 Use char because int might match the return type of a GCC
9190 builtin and then its argument prototype would still apply. */
9194 char xmlNewDocPI ();
9198 return xmlNewDocPI ();
9203 if ac_fn_c_try_link "$LINENO"; then :
9204 ac_cv_lib_xml2_xmlNewDocPI=yes
9206 ac_cv_lib_xml2_xmlNewDocPI=no
9208 rm -f core conftest.err conftest.$ac_objext \
9209 conftest$ac_exeext conftest.$ac_ext
9210 LIBS=$ac_check_lib_save_LIBS
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9213 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9214 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
9216 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9221 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9222 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
9223 $as_echo_n "(cached) " >&6
9225 ac_check_lib_save_LIBS=$LIBS
9226 LIBS="-lxml2 $ac_xml_libs $LIBS"
9227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9228 /* end confdefs.h. */
9230 /* Override any GCC internal prototype to avoid an error.
9231 Use char because int might match the return type of a GCC
9232 builtin and then its argument prototype would still apply. */
9236 char xmlSchemaSetParserStructuredErrors ();
9240 return xmlSchemaSetParserStructuredErrors ();
9245 if ac_fn_c_try_link "$LINENO"; then :
9246 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
9248 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
9250 rm -f core conftest.err conftest.$ac_objext \
9251 conftest$ac_exeext conftest.$ac_ext
9252 LIBS=$ac_check_lib_save_LIBS
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9255 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9256 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
9258 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9263 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9264 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
9265 $as_echo_n "(cached) " >&6
9267 ac_check_lib_save_LIBS=$LIBS
9268 LIBS="-lxml2 $ac_xml_libs $LIBS"
9269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9270 /* end confdefs.h. */
9272 /* Override any GCC internal prototype to avoid an error.
9273 Use char because int might match the return type of a GCC
9274 builtin and then its argument prototype would still apply. */
9278 char xmlSchemaSetValidStructuredErrors ();
9282 return xmlSchemaSetValidStructuredErrors ();
9287 if ac_fn_c_try_link "$LINENO"; then :
9288 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
9290 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
9292 rm -f core conftest.err conftest.$ac_objext \
9293 conftest$ac_exeext conftest.$ac_ext
9294 LIBS=$ac_check_lib_save_LIBS
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9297 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9298 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
9300 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9305 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9306 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
9307 $as_echo_n "(cached) " >&6
9309 ac_check_lib_save_LIBS=$LIBS
9310 LIBS="-lxml2 $ac_xml_libs $LIBS"
9311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9312 /* end confdefs.h. */
9314 /* Override any GCC internal prototype to avoid an error.
9315 Use char because int might match the return type of a GCC
9316 builtin and then its argument prototype would still apply. */
9320 char xmlFirstElementChild ();
9324 return xmlFirstElementChild ();
9329 if ac_fn_c_try_link "$LINENO"; then :
9330 ac_cv_lib_xml2_xmlFirstElementChild=yes
9332 ac_cv_lib_xml2_xmlFirstElementChild=no
9334 rm -f core conftest.err conftest.$ac_objext \
9335 conftest$ac_exeext conftest.$ac_ext
9336 LIBS=$ac_check_lib_save_LIBS
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9339 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9340 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
9342 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9346 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9348 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
9350 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9355 CPPFLAGS="$ac_save_CPPFLAGS"
9357 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9358 case "x$with_xml" in
9359 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9361 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9362 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9366 if test "x$with_xslt" != "xno"
9368 if test "$PKG_CONFIG" != "false"
9370 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9371 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9373 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
9374 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
9376 ac_save_CPPFLAGS="$CPPFLAGS"
9377 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9378 for ac_header in libxslt/pattern.h libxslt/transform.h
9380 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9381 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9382 # include <libxslt/pattern.h>
9385 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9386 cat >>confdefs.h <<_ACEOF
9387 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9394 CPPFLAGS="$ac_save_CPPFLAGS"
9395 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9398 $as_echo_n "checking for -lxslt... " >&6; }
9399 if ${ac_cv_lib_soname_xslt+:} false; then :
9400 $as_echo_n "(cached) " >&6
9402 ac_check_soname_save_LIBS=$LIBS
9403 LIBS="-lxslt $ac_xslt_libs $LIBS"
9404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9405 /* end confdefs.h. */
9407 /* Override any GCC internal prototype to avoid an error.
9408 Use char because int might match the return type of a GCC
9409 builtin and then its argument prototype would still apply. */
9413 char xsltCompilePattern ();
9417 return xsltCompilePattern ();
9422 if ac_fn_c_try_link "$LINENO"; then :
9424 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9425 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'` ;;
9426 *) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9429 rm -f core conftest.err conftest.$ac_objext \
9430 conftest$ac_exeext conftest.$ac_ext
9431 LIBS=$ac_check_soname_save_LIBS
9433 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9435 $as_echo "not found" >&6; }
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9439 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9441 cat >>confdefs.h <<_ACEOF
9442 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9445 XSLTINCL="$ac_xslt_cflags"
9449 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9450 case "x$with_xslt" in
9451 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9453 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
9454 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9458 if test "x$with_dbus" != "xno"
9460 ac_save_CPPFLAGS="$CPPFLAGS"
9461 if test "$PKG_CONFIG" != "false"
9463 ac_dbus_libs="`$PKG_CONFIG --libs dbus-1 2>/dev/null`"
9464 ac_dbus_cflags="`$PKG_CONFIG --cflags dbus-1 2>/dev/null`"
9465 CPPFLAGS="$CPPFLAGS $ac_dbus_cflags"
9467 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
9468 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
9470 $as_echo_n "checking for -ldbus-1... " >&6; }
9471 if ${ac_cv_lib_soname_dbus_1+:} false; then :
9472 $as_echo_n "(cached) " >&6
9474 ac_check_soname_save_LIBS=$LIBS
9475 LIBS="-ldbus-1 $ac_dbus_libs $LIBS"
9476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9477 /* end confdefs.h. */
9479 /* Override any GCC internal prototype to avoid an error.
9480 Use char because int might match the return type of a GCC
9481 builtin and then its argument prototype would still apply. */
9485 char dbus_connection_close ();
9489 return dbus_connection_close ();
9494 if ac_fn_c_try_link "$LINENO"; then :
9496 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9497 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'` ;;
9498 *) 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'` ;;
9501 rm -f core conftest.err conftest.$ac_objext \
9502 conftest$ac_exeext conftest.$ac_ext
9503 LIBS=$ac_check_soname_save_LIBS
9505 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9507 $as_echo "not found" >&6; }
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
9511 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
9513 cat >>confdefs.h <<_ACEOF
9514 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
9517 DBUSINCL="$ac_dbus_cflags"
9523 CPPFLAGS="$ac_save_CPPFLAGS"
9525 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
9526 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9527 case "x$with_dbus" in
9528 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9530 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
9531 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
9535 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
9537 ac_save_CPPFLAGS="$CPPFLAGS"
9538 if test "$PKG_CONFIG" != "false"
9540 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9541 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9542 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9544 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
9545 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9547 $as_echo_n "checking for -lhal... " >&6; }
9548 if ${ac_cv_lib_soname_hal+:} false; then :
9549 $as_echo_n "(cached) " >&6
9551 ac_check_soname_save_LIBS=$LIBS
9552 LIBS="-lhal $ac_hal_libs $LIBS"
9553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9554 /* end confdefs.h. */
9556 /* Override any GCC internal prototype to avoid an error.
9557 Use char because int might match the return type of a GCC
9558 builtin and then its argument prototype would still apply. */
9562 char libhal_ctx_new ();
9566 return libhal_ctx_new ();
9571 if ac_fn_c_try_link "$LINENO"; then :
9573 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9574 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'` ;;
9575 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9578 rm -f core conftest.err conftest.$ac_objext \
9579 conftest$ac_exeext conftest.$ac_ext
9580 LIBS=$ac_check_soname_save_LIBS
9582 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9584 $as_echo "not found" >&6; }
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9588 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9590 cat >>confdefs.h <<_ACEOF
9591 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9594 HALINCL="$ac_hal_cflags"
9600 CPPFLAGS="$ac_save_CPPFLAGS"
9601 if test "x$ac_cv_lib_soname_hal" = "x" -a \
9602 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9603 case "x$with_hal" in
9604 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
9606 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
9607 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9612 if test "x$with_gnutls" != "xno"
9614 ac_save_CPPFLAGS="$CPPFLAGS"
9615 if test "$PKG_CONFIG" != "false"
9617 ac_gnutls_libs="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9618 ac_gnutls_cflags="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9619 CPPFLAGS="$CPPFLAGS $ac_gnutls_cflags"
9621 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9622 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
9623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9624 /* end confdefs.h. */
9625 #include <gnutls/gnutls.h>
9629 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
9634 if ac_fn_c_try_compile "$LINENO"; then :
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9636 $as_echo_n "checking for -lgnutls... " >&6; }
9637 if ${ac_cv_lib_soname_gnutls+:} false; then :
9638 $as_echo_n "(cached) " >&6
9640 ac_check_soname_save_LIBS=$LIBS
9641 LIBS="-lgnutls $ac_gnutls_libs $LIBS"
9642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9643 /* end confdefs.h. */
9645 /* Override any GCC internal prototype to avoid an error.
9646 Use char because int might match the return type of a GCC
9647 builtin and then its argument prototype would still apply. */
9651 char gnutls_global_init ();
9655 return gnutls_global_init ();
9660 if ac_fn_c_try_link "$LINENO"; then :
9662 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9663 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'` ;;
9664 *) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9667 rm -f core conftest.err conftest.$ac_objext \
9668 conftest$ac_exeext conftest.$ac_ext
9669 LIBS=$ac_check_soname_save_LIBS
9671 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9673 $as_echo "not found" >&6; }
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9677 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9679 cat >>confdefs.h <<_ACEOF
9680 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9683 GNUTLSINCL="$ac_gnutls_cflags"
9687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9691 CPPFLAGS="$ac_save_CPPFLAGS"
9693 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9694 case "x$with_gnutls" in
9695 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9697 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
9698 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9703 if test "$ac_cv_header_ncurses_h" = "yes"
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
9706 $as_echo_n "checking for -lncurses... " >&6; }
9707 if ${ac_cv_lib_soname_ncurses+:} false; then :
9708 $as_echo_n "(cached) " >&6
9710 ac_check_soname_save_LIBS=$LIBS
9711 LIBS="-lncurses $LIBS"
9712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9713 /* end confdefs.h. */
9715 /* Override any GCC internal prototype to avoid an error.
9716 Use char because int might match the return type of a GCC
9717 builtin and then its argument prototype would still apply. */
9730 if ac_fn_c_try_link "$LINENO"; then :
9732 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9733 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'` ;;
9734 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9737 rm -f core conftest.err conftest.$ac_objext \
9738 conftest$ac_exeext conftest.$ac_ext
9739 LIBS=$ac_check_soname_save_LIBS
9741 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9743 $as_echo "not found" >&6; }
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
9747 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
9749 cat >>confdefs.h <<_ACEOF
9750 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
9753 CURSESLIBS="-lncurses"
9755 elif test "$ac_cv_header_curses_h" = "yes"
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
9758 $as_echo_n "checking for -lcurses... " >&6; }
9759 if ${ac_cv_lib_soname_curses+:} false; then :
9760 $as_echo_n "(cached) " >&6
9762 ac_check_soname_save_LIBS=$LIBS
9763 LIBS="-lcurses $LIBS"
9764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9765 /* end confdefs.h. */
9767 /* Override any GCC internal prototype to avoid an error.
9768 Use char because int might match the return type of a GCC
9769 builtin and then its argument prototype would still apply. */
9782 if ac_fn_c_try_link "$LINENO"; then :
9784 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9785 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'` ;;
9786 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9789 rm -f core conftest.err conftest.$ac_objext \
9790 conftest$ac_exeext conftest.$ac_ext
9791 LIBS=$ac_check_soname_save_LIBS
9793 if test "x$ac_cv_lib_soname_curses" = "x"; then :
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9795 $as_echo "not found" >&6; }
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
9799 $as_echo "$ac_cv_lib_soname_curses" >&6; }
9801 cat >>confdefs.h <<_ACEOF
9802 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
9805 CURSESLIBS="-lcurses"
9808 ac_save_LIBS="$LIBS"
9809 LIBS="$LIBS $CURSESLIBS"
9810 for ac_func in mousemask
9812 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
9813 if test "x$ac_cv_func_mousemask" = xyes; then :
9814 cat >>confdefs.h <<_ACEOF
9815 #define HAVE_MOUSEMASK 1
9821 LIBS="$ac_save_LIBS"
9822 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
9823 case "x$with_curses" in
9824 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
9826 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
9827 This is an error since --with-curses was requested." "$LINENO" 5 ;;
9831 if test "x$with_sane" != "xno"
9833 ac_save_CPPFLAGS="$CPPFLAGS"
9834 # Extract the first word of "sane-config", so it can be a program name with args.
9835 set dummy sane-config; ac_word=$2
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9837 $as_echo_n "checking for $ac_word... " >&6; }
9838 if ${ac_cv_prog_sane_devel+:} false; then :
9839 $as_echo_n "(cached) " >&6
9841 if test -n "$sane_devel"; then
9842 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9848 test -z "$as_dir" && as_dir=.
9849 for ac_exec_ext in '' $ac_executable_extensions; do
9850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9851 ac_cv_prog_sane_devel="sane-config"
9852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9859 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9862 sane_devel=$ac_cv_prog_sane_devel
9863 if test -n "$sane_devel"; then
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
9865 $as_echo "$sane_devel" >&6; }
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9868 $as_echo "no" >&6; }
9872 if test "$sane_devel" != "no"
9874 ac_sane_incl="`$sane_devel --cflags`"
9875 ac_sane_libs="`$sane_devel --ldflags`"
9876 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
9878 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
9879 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
9881 $as_echo_n "checking for -lsane... " >&6; }
9882 if ${ac_cv_lib_soname_sane+:} false; then :
9883 $as_echo_n "(cached) " >&6
9885 ac_check_soname_save_LIBS=$LIBS
9886 LIBS="-lsane $ac_sane_libs $LIBS"
9887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9888 /* end confdefs.h. */
9890 /* Override any GCC internal prototype to avoid an error.
9891 Use char because int might match the return type of a GCC
9892 builtin and then its argument prototype would still apply. */
9900 return sane_init ();
9905 if ac_fn_c_try_link "$LINENO"; then :
9907 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9908 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'` ;;
9909 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9912 rm -f core conftest.err conftest.$ac_objext \
9913 conftest$ac_exeext conftest.$ac_ext
9914 LIBS=$ac_check_soname_save_LIBS
9916 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9918 $as_echo "not found" >&6; }
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
9922 $as_echo "$ac_cv_lib_soname_sane" >&6; }
9924 cat >>confdefs.h <<_ACEOF
9925 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
9928 SANEINCL="$ac_sane_incl"
9934 CPPFLAGS="$ac_save_CPPFLAGS"
9936 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9937 case "x$with_sane" in
9938 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
9940 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
9941 This is an error since --with-sane was requested." "$LINENO" 5 ;;
9945 if test "x$with_v4l" != "xno"
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
9948 $as_echo_n "checking for -lv4l1... " >&6; }
9949 if ${ac_cv_lib_soname_v4l1+:} false; then :
9950 $as_echo_n "(cached) " >&6
9952 ac_check_soname_save_LIBS=$LIBS
9954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9955 /* end confdefs.h. */
9957 /* Override any GCC internal prototype to avoid an error.
9958 Use char because int might match the return type of a GCC
9959 builtin and then its argument prototype would still apply. */
9967 return v4l1_open ();
9972 if ac_fn_c_try_link "$LINENO"; then :
9974 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9975 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'` ;;
9976 *) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9979 rm -f core conftest.err conftest.$ac_objext \
9980 conftest$ac_exeext conftest.$ac_ext
9981 LIBS=$ac_check_soname_save_LIBS
9983 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9985 $as_echo "not found" >&6; }
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
9989 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
9991 cat >>confdefs.h <<_ACEOF
9992 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
9998 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9999 case "x$with_v4l" in
10000 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
10002 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
10003 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10007 if test "x$with_gphoto" != "xno"
10009 ac_save_CPPFLAGS="$CPPFLAGS"
10010 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10011 set dummy gphoto2-config; ac_word=$2
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10013 $as_echo_n "checking for $ac_word... " >&6; }
10014 if ${ac_cv_prog_gphoto2_devel+:} false; then :
10015 $as_echo_n "(cached) " >&6
10017 if test -n "$gphoto2_devel"; then
10018 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10021 for as_dir in $PATH
10024 test -z "$as_dir" && as_dir=.
10025 for ac_exec_ext in '' $ac_executable_extensions; do
10026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10027 ac_cv_prog_gphoto2_devel="gphoto2-config"
10028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10035 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10038 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10039 if test -n "$gphoto2_devel"; then
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
10041 $as_echo "$gphoto2_devel" >&6; }
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10044 $as_echo "no" >&6; }
10048 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10049 set dummy gphoto2-port-config; ac_word=$2
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10051 $as_echo_n "checking for $ac_word... " >&6; }
10052 if ${ac_cv_prog_gphoto2port_devel+:} false; then :
10053 $as_echo_n "(cached) " >&6
10055 if test -n "$gphoto2port_devel"; then
10056 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10059 for as_dir in $PATH
10062 test -z "$as_dir" && as_dir=.
10063 for ac_exec_ext in '' $ac_executable_extensions; do
10064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10065 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10073 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10076 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10077 if test -n "$gphoto2port_devel"; then
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
10079 $as_echo "$gphoto2port_devel" >&6; }
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10082 $as_echo "no" >&6; }
10086 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10088 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10090 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10093 -L/usr/lib|-L/usr/lib64) ;;
10094 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
10097 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
10099 ac_gphoto2_libs=${ac_gphoto2_libs:-"-lgphoto2"}
10100 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10101 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10103 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10104 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
10105 $as_echo_n "(cached) " >&6
10107 ac_check_lib_save_LIBS=$LIBS
10108 LIBS="-lgphoto2 $ac_gphoto2_libs $LIBS"
10109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10110 /* end confdefs.h. */
10112 /* Override any GCC internal prototype to avoid an error.
10113 Use char because int might match the return type of a GCC
10114 builtin and then its argument prototype would still apply. */
10118 char gp_camera_new ();
10122 return gp_camera_new ();
10127 if ac_fn_c_try_link "$LINENO"; then :
10128 ac_cv_lib_gphoto2_gp_camera_new=yes
10130 ac_cv_lib_gphoto2_gp_camera_new=no
10132 rm -f core conftest.err conftest.$ac_objext \
10133 conftest$ac_exeext conftest.$ac_ext
10134 LIBS=$ac_check_lib_save_LIBS
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10137 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10138 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
10140 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10142 GPHOTO2LIBS="$ac_gphoto2_libs"
10144 GPHOTO2INCL="$ac_gphoto2_incl"
10151 CPPFLAGS="$ac_save_CPPFLAGS"
10153 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10154 case "x$with_gphoto" in
10155 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10157 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10158 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10163 if test "$ac_cv_header_resolv_h" = "yes"
10165 ac_save_LIBS="$LIBS"
10166 for lib in '' -lresolv
10168 LIBS="$lib $ac_save_LIBS"
10169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10170 /* end confdefs.h. */
10171 #ifdef HAVE_NETINET_IN_H
10172 #include <netinet/in.h>
10174 #include <resolv.h>
10178 res_query("foo",ns_c_in,0,0,0);
10183 if ac_fn_c_try_link "$LINENO"; then :
10185 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10190 rm -f core conftest.err conftest.$ac_objext \
10191 conftest$ac_exeext conftest.$ac_ext
10192 if test "${RESOLVLIBS+set}" = set; then
10196 LIBS="$ac_save_LIBS"
10201 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10204 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10205 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false; then :
10206 $as_echo_n "(cached) " >&6
10208 ac_check_lib_save_LIBS=$LIBS
10209 LIBS="-llcms $LIBS"
10210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10211 /* end confdefs.h. */
10213 /* Override any GCC internal prototype to avoid an error.
10214 Use char because int might match the return type of a GCC
10215 builtin and then its argument prototype would still apply. */
10219 char cmsOpenProfileFromFile ();
10223 return cmsOpenProfileFromFile ();
10228 if ac_fn_c_try_link "$LINENO"; then :
10229 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10231 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10233 rm -f core conftest.err conftest.$ac_objext \
10234 conftest$ac_exeext conftest.$ac_ext
10235 LIBS=$ac_check_lib_save_LIBS
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10238 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10239 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes; then :
10241 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10247 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10248 case "x$with_cms" in
10249 x) as_fn_append wine_notices "|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10251 *) as_fn_error $? "liblcms ${notice_platform}development files not found, Color Management won't be supported.
10252 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10256 if test "x$with_freetype" != "xno"
10258 for ac_prog in freetype-config freetype2-config
10260 # Extract the first word of "$ac_prog", so it can be a program name with args.
10261 set dummy $ac_prog; ac_word=$2
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10263 $as_echo_n "checking for $ac_word... " >&6; }
10264 if ${ac_cv_prog_ft_devel+:} false; then :
10265 $as_echo_n "(cached) " >&6
10267 if test -n "$ft_devel"; then
10268 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10271 for as_dir in $PATH
10274 test -z "$as_dir" && as_dir=.
10275 for ac_exec_ext in '' $ac_executable_extensions; do
10276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10277 ac_cv_prog_ft_devel="$ac_prog"
10278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10287 ft_devel=$ac_cv_prog_ft_devel
10288 if test -n "$ft_devel"; then
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10290 $as_echo "$ft_devel" >&6; }
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10293 $as_echo "no" >&6; }
10297 test -n "$ft_devel" && break
10299 test -n "$ft_devel" || ft_devel="no"
10301 if test "$ft_devel" != "no"
10303 ac_freetype_incl=`$ft_devel --cflags`
10304 ac_freetype_libs=`$ft_devel --libs`
10306 ac_freetype_libs=${ac_freetype_libs:-"-lfreetype"}
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10308 $as_echo_n "checking for -lfreetype... " >&6; }
10309 if ${ac_cv_lib_soname_freetype+:} false; then :
10310 $as_echo_n "(cached) " >&6
10312 ac_check_soname_save_LIBS=$LIBS
10313 LIBS="-lfreetype $ac_freetype_libs $LIBS"
10314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10315 /* end confdefs.h. */
10317 /* Override any GCC internal prototype to avoid an error.
10318 Use char because int might match the return type of a GCC
10319 builtin and then its argument prototype would still apply. */
10323 char FT_Init_FreeType ();
10327 return FT_Init_FreeType ();
10332 if ac_fn_c_try_link "$LINENO"; then :
10334 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10335 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'` ;;
10336 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10339 rm -f core conftest.err conftest.$ac_objext \
10340 conftest$ac_exeext conftest.$ac_ext
10341 LIBS=$ac_check_soname_save_LIBS
10343 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10345 $as_echo "not found" >&6; }
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10349 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10351 cat >>confdefs.h <<_ACEOF
10352 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10357 if test "$ft_lib" = "yes"
10359 ac_save_CPPFLAGS="$CPPFLAGS"
10360 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
10361 for ac_header in ft2build.h \
10362 freetype/freetype.h \
10363 freetype/ftglyph.h \
10364 freetype/fttypes.h \
10365 freetype/tttables.h \
10366 freetype/ftsnames.h \
10367 freetype/ttnameid.h \
10368 freetype/ftoutln.h \
10369 freetype/ftwinfnt.h \
10370 freetype/ftmodapi.h \
10371 freetype/ftlcdfil.h
10373 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10374 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10375 # include <ft2build.h>
10378 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10379 cat >>confdefs.h <<_ACEOF
10380 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10388 /* end confdefs.h. */
10389 #include <ft2build.h>
10390 #include <freetype/fttrigon.h>
10392 if ac_fn_c_try_cpp "$LINENO"; then :
10394 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10396 wine_cv_fttrigon=yes
10398 wine_cv_fttrigon=no
10400 rm -f conftest.err conftest.i conftest.$ac_ext
10401 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10403 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
10405 cat >>confdefs.h <<_ACEOF
10406 #define HAVE_FT_TRUETYPEENGINETYPE 1
10412 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10415 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10417 FREETYPELIBS="$ac_freetype_libs"
10419 FREETYPEINCL="$ac_freetype_incl"
10424 if test "x$FREETYPELIBS" = "x"; then :
10425 case "x$with_freetype" in
10427 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
10428 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10431 test "x$FREETYPELIBS" = "x" && enable_fonts=${enable_fonts:-no}
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10434 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10435 if ${ac_cv_c_ppdev+:} false; then :
10436 $as_echo_n "(cached) " >&6
10438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10439 /* end confdefs.h. */
10440 #ifdef HAVE_SYS_IOCTL_H
10441 # include <sys/ioctl.h>
10443 #include <linux/ppdev.h>
10447 ioctl (1,PPCLAIM,0)
10452 if ac_fn_c_try_compile "$LINENO"; then :
10453 ac_cv_c_ppdev="yes"
10457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10460 $as_echo "$ac_cv_c_ppdev" >&6; }
10461 if test "$ac_cv_c_ppdev" = "yes"
10464 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10468 ac_wine_check_funcs_save_LIBS="$LIBS"
10469 LIBS="$LIBS $LIBPTHREAD"
10471 pthread_attr_get_np \
10472 pthread_getattr_np \
10473 pthread_get_stackaddr_np \
10474 pthread_get_stacksize_np
10476 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10477 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10478 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
10479 cat >>confdefs.h <<_ACEOF
10480 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10486 LIBS="$ac_wine_check_funcs_save_LIBS"
10488 if test "$ac_cv_header_zlib_h" = "yes"
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10491 $as_echo_n "checking for inflate in -lz... " >&6; }
10492 if ${ac_cv_lib_z_inflate+:} false; then :
10493 $as_echo_n "(cached) " >&6
10495 ac_check_lib_save_LIBS=$LIBS
10497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10498 /* end confdefs.h. */
10500 /* Override any GCC internal prototype to avoid an error.
10501 Use char because int might match the return type of a GCC
10502 builtin and then its argument prototype would still apply. */
10515 if ac_fn_c_try_link "$LINENO"; then :
10516 ac_cv_lib_z_inflate=yes
10518 ac_cv_lib_z_inflate=no
10520 rm -f core conftest.err conftest.$ac_objext \
10521 conftest$ac_exeext conftest.$ac_ext
10522 LIBS=$ac_check_lib_save_LIBS
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10525 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10526 if test "x$ac_cv_lib_z_inflate" = xyes; then :
10528 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10535 if test "x$ZLIB" = "x"; then :
10536 case "x$with_zlib" in
10537 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
10539 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
10540 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
10544 if test "x$enable_tools" != xno
10546 if test "$ac_cv_header_gettext_po_h" = "yes"
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
10549 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
10550 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
10551 $as_echo_n "(cached) " >&6
10553 ac_check_lib_save_LIBS=$LIBS
10554 LIBS="-lgettextpo $LIBS"
10555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10556 /* end confdefs.h. */
10558 /* Override any GCC internal prototype to avoid an error.
10559 Use char because int might match the return type of a GCC
10560 builtin and then its argument prototype would still apply. */
10564 char po_message_msgctxt ();
10568 return po_message_msgctxt ();
10573 if ac_fn_c_try_link "$LINENO"; then :
10574 ac_cv_lib_gettextpo_po_message_msgctxt=yes
10576 ac_cv_lib_gettextpo_po_message_msgctxt=no
10578 rm -f core conftest.err conftest.$ac_objext \
10579 conftest$ac_exeext conftest.$ac_ext
10580 LIBS=$ac_check_lib_save_LIBS
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
10583 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
10584 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
10586 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
10588 LIBGETTEXTPO="-lgettextpo"
10593 test "x$with_gettextpo" != xyes || if test "x$LIBGETTEXTPO" = "x"; then :
10594 case "x$with_gettextpo" in
10595 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
10597 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
10598 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
10603 if test "x$with_gstreamer" != "xno"
10605 ac_save_CPPFLAGS="$CPPFLAGS"
10606 if test "$PKG_CONFIG" != "false"; then
10608 for i in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
10611 -I*) ac_gst_incl="$ac_gst_incl $i";;
10614 ac_gst_libs="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
10615 CPPFLAGS="$CPPFLAGS $ac_gst_incl"
10616 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
10617 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
10618 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
10619 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
10621 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
10622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10623 /* end confdefs.h. */
10624 #include <gst/app/gstappsink.h>
10628 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
10633 if ac_fn_c_try_compile "$LINENO"; then :
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10635 $as_echo "yes" >&6; }
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
10637 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
10638 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
10639 $as_echo_n "(cached) " >&6
10641 ac_check_lib_save_LIBS=$LIBS
10642 LIBS="-lgstreamer-0.10 $LIBS"
10643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10644 /* end confdefs.h. */
10646 /* Override any GCC internal prototype to avoid an error.
10647 Use char because int might match the return type of a GCC
10648 builtin and then its argument prototype would still apply. */
10652 char gst_pad_get_caps_reffed ();
10656 return gst_pad_get_caps_reffed ();
10661 if ac_fn_c_try_link "$LINENO"; then :
10662 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
10664 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
10666 rm -f core conftest.err conftest.$ac_objext \
10667 conftest$ac_exeext conftest.$ac_ext
10668 LIBS=$ac_check_lib_save_LIBS
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
10671 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
10672 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
10674 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
10675 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
10676 $as_echo_n "(cached) " >&6
10678 ac_check_lib_save_LIBS=$LIBS
10679 LIBS="-lgstapp-0.10 $ac_gst_libs $LIBS"
10680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10681 /* end confdefs.h. */
10683 /* Override any GCC internal prototype to avoid an error.
10684 Use char because int might match the return type of a GCC
10685 builtin and then its argument prototype would still apply. */
10689 char gst_app_buffer_new ();
10693 return gst_app_buffer_new ();
10698 if ac_fn_c_try_link "$LINENO"; then :
10699 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
10701 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
10703 rm -f core conftest.err conftest.$ac_objext \
10704 conftest$ac_exeext conftest.$ac_ext
10705 LIBS=$ac_check_lib_save_LIBS
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
10708 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
10709 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
10710 GSTREAMER_LIBS="$ac_gst_libs"
10712 GSTREAMER_INCL="$ac_gst_incl"
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10720 $as_echo "no" >&6; }
10722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10730 CPPFLAGS="$ac_save_CPPFLAGS"
10732 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
10733 case "x$with_gstreamer" in
10734 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
10736 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
10737 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
10740 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
10744 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
10747 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
10748 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
10749 $as_echo_n "(cached) " >&6
10751 ac_check_lib_save_LIBS=$LIBS
10752 LIBS="-lasound $LIBS"
10753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10754 /* end confdefs.h. */
10756 /* Override any GCC internal prototype to avoid an error.
10757 Use char because int might match the return type of a GCC
10758 builtin and then its argument prototype would still apply. */
10762 char snd_pcm_hw_params_get_access_mask ();
10766 return snd_pcm_hw_params_get_access_mask ();
10771 if ac_fn_c_try_link "$LINENO"; then :
10772 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
10774 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
10776 rm -f core conftest.err conftest.$ac_objext \
10777 conftest$ac_exeext conftest.$ac_ext
10778 LIBS=$ac_check_lib_save_LIBS
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
10781 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
10782 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
10783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10784 /* end confdefs.h. */
10785 #ifdef HAVE_ALSA_ASOUNDLIB_H
10786 #include <alsa/asoundlib.h>
10787 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10788 #include <sys/asoundlib.h>
10793 snd_pcm_hw_params_get_access_mask(NULL, NULL)
10798 if ac_fn_c_try_compile "$LINENO"; then :
10799 ALSALIBS="-lasound"
10801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10806 if test "x$with_oss" != xno
10808 ac_save_CPPFLAGS="$CPPFLAGS"
10809 if test -f /etc/oss.conf
10813 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
10814 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
10815 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
10816 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
10817 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
10819 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
10821 cat >>confdefs.h <<_ACEOF
10822 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
10825 OSS4INCL="$ac_oss_incl"
10832 CPPFLAGS="$ac_save_CPPFLAGS"
10833 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
10835 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
10840 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
10843 $as_echo_n "checking for -lcapi20... " >&6; }
10844 if ${ac_cv_lib_soname_capi20+:} false; then :
10845 $as_echo_n "(cached) " >&6
10847 ac_check_soname_save_LIBS=$LIBS
10848 LIBS="-lcapi20 $LIBS"
10849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10850 /* end confdefs.h. */
10852 /* Override any GCC internal prototype to avoid an error.
10853 Use char because int might match the return type of a GCC
10854 builtin and then its argument prototype would still apply. */
10858 char capi20_register ();
10862 return capi20_register ();
10867 if ac_fn_c_try_link "$LINENO"; then :
10869 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10870 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'` ;;
10871 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10874 rm -f core conftest.err conftest.$ac_objext \
10875 conftest$ac_exeext conftest.$ac_ext
10876 LIBS=$ac_check_soname_save_LIBS
10878 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10880 $as_echo "not found" >&6; }
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
10884 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
10886 cat >>confdefs.h <<_ACEOF
10887 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
10893 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10894 case "x$with_capi" in
10895 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
10897 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
10898 This is an error since --with-capi was requested." "$LINENO" 5 ;;
10904 if test "x$with_cups" != "xno"
10906 ac_save_CPPFLAGS="$CPPFLAGS"
10907 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
10908 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
10909 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
10910 for ac_header in cups/cups.h
10912 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
10913 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
10914 cat >>confdefs.h <<_ACEOF
10915 #define HAVE_CUPS_CUPS_H 1
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
10918 $as_echo_n "checking for -lcups... " >&6; }
10919 if ${ac_cv_lib_soname_cups+:} false; then :
10920 $as_echo_n "(cached) " >&6
10922 ac_check_soname_save_LIBS=$LIBS
10923 LIBS="-lcups $ac_cups_libs $LIBS"
10924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10925 /* end confdefs.h. */
10927 /* Override any GCC internal prototype to avoid an error.
10928 Use char because int might match the return type of a GCC
10929 builtin and then its argument prototype would still apply. */
10933 char cupsGetDefault ();
10937 return cupsGetDefault ();
10942 if ac_fn_c_try_link "$LINENO"; then :
10944 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10945 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'` ;;
10946 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10949 rm -f core conftest.err conftest.$ac_objext \
10950 conftest$ac_exeext conftest.$ac_ext
10951 LIBS=$ac_check_soname_save_LIBS
10953 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10955 $as_echo "not found" >&6; }
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
10959 $as_echo "$ac_cv_lib_soname_cups" >&6; }
10961 cat >>confdefs.h <<_ACEOF
10962 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
10965 CUPSINCL="$ac_cups_cflags"
10971 CPPFLAGS="$ac_save_CPPFLAGS"
10973 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10974 case "x$with_cups" in
10975 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
10977 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
10978 This is an error since --with-cups was requested." "$LINENO" 5 ;;
10982 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
10985 $as_echo_n "checking for -lfontconfig... " >&6; }
10986 if ${ac_cv_lib_soname_fontconfig+:} false; then :
10987 $as_echo_n "(cached) " >&6
10989 ac_check_soname_save_LIBS=$LIBS
10990 LIBS="-lfontconfig $LIBS"
10991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10992 /* end confdefs.h. */
10994 /* Override any GCC internal prototype to avoid an error.
10995 Use char because int might match the return type of a GCC
10996 builtin and then its argument prototype would still apply. */
11009 if ac_fn_c_try_link "$LINENO"; then :
11011 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11012 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'` ;;
11013 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11016 rm -f core conftest.err conftest.$ac_objext \
11017 conftest$ac_exeext conftest.$ac_ext
11018 LIBS=$ac_check_soname_save_LIBS
11020 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11022 $as_echo "not found" >&6; }
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11026 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11028 cat >>confdefs.h <<_ACEOF
11029 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11034 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11036 ac_save_CPPFLAGS="$CPPFLAGS"
11037 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11038 $as_unset ac_cv_header_fontconfig_fontconfig_h
11039 for ac_header in fontconfig/fontconfig.h
11041 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11042 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
11043 cat >>confdefs.h <<_ACEOF
11044 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11051 CPPFLAGS="$ac_save_CPPFLAGS"
11052 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11054 FONTCONFIGINCL="$X_CFLAGS"
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11057 $as_echo_n "checking for -lfontconfig... " >&6; }
11058 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11059 $as_echo_n "(cached) " >&6
11061 ac_check_soname_save_LIBS=$LIBS
11062 LIBS="-lfontconfig $X_LIBS $LIBS"
11063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11064 /* end confdefs.h. */
11066 /* Override any GCC internal prototype to avoid an error.
11067 Use char because int might match the return type of a GCC
11068 builtin and then its argument prototype would still apply. */
11081 if ac_fn_c_try_link "$LINENO"; then :
11083 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11084 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'` ;;
11085 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11088 rm -f core conftest.err conftest.$ac_objext \
11089 conftest$ac_exeext conftest.$ac_ext
11090 LIBS=$ac_check_soname_save_LIBS
11092 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11094 $as_echo "not found" >&6; }
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11098 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11100 cat >>confdefs.h <<_ACEOF
11101 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11108 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11109 case "x$with_fontconfig" in
11110 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11112 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11113 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11117 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
11120 $as_echo_n "checking for -lssl... " >&6; }
11121 if ${ac_cv_lib_soname_ssl+:} false; then :
11122 $as_echo_n "(cached) " >&6
11124 ac_check_soname_save_LIBS=$LIBS
11126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11127 /* end confdefs.h. */
11129 /* Override any GCC internal prototype to avoid an error.
11130 Use char because int might match the return type of a GCC
11131 builtin and then its argument prototype would still apply. */
11135 char SSL_library_init ();
11139 return SSL_library_init ();
11144 if ac_fn_c_try_link "$LINENO"; then :
11146 dll) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11147 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'` ;;
11148 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11151 rm -f core conftest.err conftest.$ac_objext \
11152 conftest$ac_exeext conftest.$ac_ext
11153 LIBS=$ac_check_soname_save_LIBS
11155 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11157 $as_echo "not found" >&6; }
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
11161 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
11163 cat >>confdefs.h <<_ACEOF
11164 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
11170 $as_echo_n "checking for -lcrypto... " >&6; }
11171 if ${ac_cv_lib_soname_crypto+:} false; then :
11172 $as_echo_n "(cached) " >&6
11174 ac_check_soname_save_LIBS=$LIBS
11175 LIBS="-lcrypto $LIBS"
11176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11177 /* end confdefs.h. */
11179 /* Override any GCC internal prototype to avoid an error.
11180 Use char because int might match the return type of a GCC
11181 builtin and then its argument prototype would still apply. */
11185 char BIO_new_socket ();
11189 return BIO_new_socket ();
11194 if ac_fn_c_try_link "$LINENO"; then :
11196 dll) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11197 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'` ;;
11198 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11201 rm -f core conftest.err conftest.$ac_objext \
11202 conftest$ac_exeext conftest.$ac_ext
11203 LIBS=$ac_check_soname_save_LIBS
11205 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11207 $as_echo "not found" >&6; }
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
11211 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
11213 cat >>confdefs.h <<_ACEOF
11214 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
11220 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
11221 case "x$with_openssl" in
11222 x) as_fn_append wine_warnings "|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
11224 *) as_fn_error $? "OpenSSL ${notice_platform}development files not found, SSL won't be supported.
11225 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
11229 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11232 $as_echo_n "checking for -lgsm... " >&6; }
11233 if ${ac_cv_lib_soname_gsm+:} false; then :
11234 $as_echo_n "(cached) " >&6
11236 ac_check_soname_save_LIBS=$LIBS
11238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11239 /* end confdefs.h. */
11241 /* Override any GCC internal prototype to avoid an error.
11242 Use char because int might match the return type of a GCC
11243 builtin and then its argument prototype would still apply. */
11247 char gsm_create ();
11251 return gsm_create ();
11256 if ac_fn_c_try_link "$LINENO"; then :
11258 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11259 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'` ;;
11260 *) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11263 rm -f core conftest.err conftest.$ac_objext \
11264 conftest$ac_exeext conftest.$ac_ext
11265 LIBS=$ac_check_soname_save_LIBS
11267 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11269 $as_echo "not found" >&6; }
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11273 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11275 cat >>confdefs.h <<_ACEOF
11276 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11282 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11283 case "x$with_gsm" in
11284 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11286 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11287 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11291 if test "$ac_cv_header_jpeglib_h" = "yes"
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11294 $as_echo_n "checking for -ljpeg... " >&6; }
11295 if ${ac_cv_lib_soname_jpeg+:} false; then :
11296 $as_echo_n "(cached) " >&6
11298 ac_check_soname_save_LIBS=$LIBS
11299 LIBS="-ljpeg $LIBS"
11300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11301 /* end confdefs.h. */
11303 /* Override any GCC internal prototype to avoid an error.
11304 Use char because int might match the return type of a GCC
11305 builtin and then its argument prototype would still apply. */
11309 char jpeg_start_decompress ();
11313 return jpeg_start_decompress ();
11318 if ac_fn_c_try_link "$LINENO"; then :
11320 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11321 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'` ;;
11322 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11325 rm -f core conftest.err conftest.$ac_objext \
11326 conftest$ac_exeext conftest.$ac_ext
11327 LIBS=$ac_check_soname_save_LIBS
11329 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11331 $as_echo "not found" >&6; }
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11335 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11337 cat >>confdefs.h <<_ACEOF
11338 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11344 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11345 case "x$with_jpeg" in
11346 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11348 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11349 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11353 if test "$ac_cv_header_png_h" = "yes"
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11356 $as_echo_n "checking for -lpng... " >&6; }
11357 if ${ac_cv_lib_soname_png+:} false; then :
11358 $as_echo_n "(cached) " >&6
11360 ac_check_soname_save_LIBS=$LIBS
11361 LIBS="-lpng -lm -lz $LIBS"
11362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11363 /* end confdefs.h. */
11365 /* Override any GCC internal prototype to avoid an error.
11366 Use char because int might match the return type of a GCC
11367 builtin and then its argument prototype would still apply. */
11371 char png_create_read_struct ();
11375 return png_create_read_struct ();
11380 if ac_fn_c_try_link "$LINENO"; then :
11382 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11383 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'` ;;
11384 *) 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'` ;;
11387 rm -f core conftest.err conftest.$ac_objext \
11388 conftest$ac_exeext conftest.$ac_ext
11389 LIBS=$ac_check_soname_save_LIBS
11391 if test "x$ac_cv_lib_soname_png" = "x"; then :
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11393 $as_echo "not found" >&6; }
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11397 $as_echo "$ac_cv_lib_soname_png" >&6; }
11399 cat >>confdefs.h <<_ACEOF
11400 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11406 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11407 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false; then :
11408 $as_echo_n "(cached) " >&6
11410 ac_check_lib_save_LIBS=$LIBS
11411 LIBS="-lpng -lm -lz $LIBS"
11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h. */
11415 /* Override any GCC internal prototype to avoid an error.
11416 Use char because int might match the return type of a GCC
11417 builtin and then its argument prototype would still apply. */
11421 char png_set_expand_gray_1_2_4_to_8 ();
11425 return png_set_expand_gray_1_2_4_to_8 ();
11430 if ac_fn_c_try_link "$LINENO"; then :
11431 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11433 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11435 rm -f core conftest.err conftest.$ac_objext \
11436 conftest$ac_exeext conftest.$ac_ext
11437 LIBS=$ac_check_lib_save_LIBS
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11440 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11441 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes; then :
11443 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11448 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11450 ac_save_CPPFLAGS="$CPPFLAGS"
11451 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11452 $as_unset ac_cv_header_png_h
11453 for ac_header in png.h
11455 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11456 if test "x$ac_cv_header_png_h" = xyes; then :
11457 cat >>confdefs.h <<_ACEOF
11458 #define HAVE_PNG_H 1
11465 CPPFLAGS="$ac_save_CPPFLAGS"
11466 if test "$ac_cv_header_png_h" = "yes"
11468 PNGINCL="$X_CFLAGS"
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11471 $as_echo_n "checking for -lpng... " >&6; }
11472 if ${ac_cv_lib_soname_png+:} false; then :
11473 $as_echo_n "(cached) " >&6
11475 ac_check_soname_save_LIBS=$LIBS
11476 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11478 /* end confdefs.h. */
11480 /* Override any GCC internal prototype to avoid an error.
11481 Use char because int might match the return type of a GCC
11482 builtin and then its argument prototype would still apply. */
11486 char png_create_read_struct ();
11490 return png_create_read_struct ();
11495 if ac_fn_c_try_link "$LINENO"; then :
11497 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11498 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'` ;;
11499 *) 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'` ;;
11502 rm -f core conftest.err conftest.$ac_objext \
11503 conftest$ac_exeext conftest.$ac_ext
11504 LIBS=$ac_check_soname_save_LIBS
11506 if test "x$ac_cv_lib_soname_png" = "x"; then :
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11508 $as_echo "not found" >&6; }
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11512 $as_echo "$ac_cv_lib_soname_png" >&6; }
11514 cat >>confdefs.h <<_ACEOF
11515 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11521 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11522 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false; then :
11523 $as_echo_n "(cached) " >&6
11525 ac_check_lib_save_LIBS=$LIBS
11526 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11528 /* end confdefs.h. */
11530 /* Override any GCC internal prototype to avoid an error.
11531 Use char because int might match the return type of a GCC
11532 builtin and then its argument prototype would still apply. */
11536 char png_set_expand_gray_1_2_4_to_8 ();
11540 return png_set_expand_gray_1_2_4_to_8 ();
11545 if ac_fn_c_try_link "$LINENO"; then :
11546 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11548 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11550 rm -f core conftest.err conftest.$ac_objext \
11551 conftest$ac_exeext conftest.$ac_ext
11552 LIBS=$ac_check_lib_save_LIBS
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11555 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11556 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes; then :
11557 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11563 if test "x$ac_cv_lib_soname_png" = "x"; then :
11564 case "x$with_png" in
11565 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11567 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
11568 This is an error since --with-png was requested." "$LINENO" 5 ;;
11572 if test "$ac_cv_header_tiffio_h" = "yes"
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11575 $as_echo_n "checking for -ltiff... " >&6; }
11576 if ${ac_cv_lib_soname_tiff+:} false; then :
11577 $as_echo_n "(cached) " >&6
11579 ac_check_soname_save_LIBS=$LIBS
11580 LIBS="-ltiff $LIBS"
11581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11582 /* end confdefs.h. */
11584 /* Override any GCC internal prototype to avoid an error.
11585 Use char because int might match the return type of a GCC
11586 builtin and then its argument prototype would still apply. */
11590 char TIFFClientOpen ();
11594 return TIFFClientOpen ();
11599 if ac_fn_c_try_link "$LINENO"; then :
11601 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11602 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'` ;;
11603 *) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11606 rm -f core conftest.err conftest.$ac_objext \
11607 conftest$ac_exeext conftest.$ac_ext
11608 LIBS=$ac_check_soname_save_LIBS
11610 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11612 $as_echo "not found" >&6; }
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11616 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11618 cat >>confdefs.h <<_ACEOF
11619 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11625 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11626 case "x$with_tiff" in
11627 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11629 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
11630 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11634 if test "$ac_cv_header_mpg123_h" = "yes"
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11637 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11638 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
11639 $as_echo_n "(cached) " >&6
11641 ac_check_lib_save_LIBS=$LIBS
11642 LIBS="-lmpg123 $LIBS"
11643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11644 /* end confdefs.h. */
11646 /* Override any GCC internal prototype to avoid an error.
11647 Use char because int might match the return type of a GCC
11648 builtin and then its argument prototype would still apply. */
11652 char mpg123_feed ();
11656 return mpg123_feed ();
11661 if ac_fn_c_try_link "$LINENO"; then :
11662 ac_cv_lib_mpg123_mpg123_feed=yes
11664 ac_cv_lib_mpg123_mpg123_feed=no
11666 rm -f core conftest.err conftest.$ac_objext \
11667 conftest$ac_exeext conftest.$ac_ext
11668 LIBS=$ac_check_lib_save_LIBS
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11671 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11672 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
11673 LIBMPG123="-lmpg123"
11678 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
11679 case "x$with_mpg123" in
11680 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11682 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11683 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11686 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}
11688 if test "$ac_cv_header_AL_al_h" = "yes"
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
11691 $as_echo_n "checking for -lopenal... " >&6; }
11692 if ${ac_cv_lib_soname_openal+:} false; then :
11693 $as_echo_n "(cached) " >&6
11695 ac_check_soname_save_LIBS=$LIBS
11696 LIBS="-lopenal $LIBS"
11697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11698 /* end confdefs.h. */
11700 /* Override any GCC internal prototype to avoid an error.
11701 Use char because int might match the return type of a GCC
11702 builtin and then its argument prototype would still apply. */
11706 char alGetSource3i ();
11710 return alGetSource3i ();
11715 if ac_fn_c_try_link "$LINENO"; then :
11717 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11718 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'` ;;
11719 *) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11722 rm -f core conftest.err conftest.$ac_objext \
11723 conftest$ac_exeext conftest.$ac_ext
11724 LIBS=$ac_check_soname_save_LIBS
11726 if test "x$ac_cv_lib_soname_openal" = "x"; then :
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11728 $as_echo "not found" >&6; }
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
11732 $as_echo "$ac_cv_lib_soname_openal" >&6; }
11734 cat >>confdefs.h <<_ACEOF
11735 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
11738 LIBOPENAL="-lopenal"
11740 ac_cv_lib_openal=yes
11742 cat >>confdefs.h <<_ACEOF
11743 #define HAVE_OPENAL 1
11748 if test "x$ac_cv_lib_openal" != xyes; then :
11749 case "x$with_openal" in
11750 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
11752 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11753 This is an error since --with-openal was requested." "$LINENO" 5 ;;
11756 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
11758 if test "$ac_cv_header_kstat_h" = "yes"
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
11761 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11762 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
11763 $as_echo_n "(cached) " >&6
11765 ac_check_lib_save_LIBS=$LIBS
11766 LIBS="-lkstat $LIBS"
11767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11768 /* end confdefs.h. */
11770 /* Override any GCC internal prototype to avoid an error.
11771 Use char because int might match the return type of a GCC
11772 builtin and then its argument prototype would still apply. */
11776 char kstat_open ();
11780 return kstat_open ();
11785 if ac_fn_c_try_link "$LINENO"; then :
11786 ac_cv_lib_kstat_kstat_open=yes
11788 ac_cv_lib_kstat_kstat_open=no
11790 rm -f core conftest.err conftest.$ac_objext \
11791 conftest$ac_exeext conftest.$ac_ext
11792 LIBS=$ac_check_lib_save_LIBS
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
11795 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
11796 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
11798 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
11807 $as_echo_n "checking for -lodbc... " >&6; }
11808 if ${ac_cv_lib_soname_odbc+:} false; then :
11809 $as_echo_n "(cached) " >&6
11811 ac_check_soname_save_LIBS=$LIBS
11812 LIBS="-lodbc $LIBS"
11813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11814 /* end confdefs.h. */
11816 /* Override any GCC internal prototype to avoid an error.
11817 Use char because int might match the return type of a GCC
11818 builtin and then its argument prototype would still apply. */
11822 char SQLConnect ();
11826 return SQLConnect ();
11831 if ac_fn_c_try_link "$LINENO"; then :
11833 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11834 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'` ;;
11835 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11838 rm -f core conftest.err conftest.$ac_objext \
11839 conftest$ac_exeext conftest.$ac_ext
11840 LIBS=$ac_check_soname_save_LIBS
11842 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11844 $as_echo "not found" >&6; }
11845 cat >>confdefs.h <<_ACEOF
11846 #define SONAME_LIBODBC "libodbc.$LIBEXT"
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
11851 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
11853 cat >>confdefs.h <<_ACEOF
11854 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
11860 test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
11861 test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
11862 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
11863 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
11865 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
11866 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
11867 "x$with_alsa$with_coreaudio$with_oss" != xnonono
11869 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
11875 if test "x${GCC}" = "xyes"
11877 EXTRACFLAGS="-Wall -pipe"
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
11880 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
11881 if ${ac_cv_c_gcc_strength_bug+:} false; then :
11882 $as_echo_n "(cached) " >&6
11884 if test "$cross_compiling" = yes; then :
11885 ac_cv_c_gcc_strength_bug="yes"
11887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11888 /* end confdefs.h. */
11889 int L[4] = {0,1,2,3};
11893 static int Array[3];
11894 unsigned int B = 3;
11896 for(i=0; i<B; i++) Array[i] = i - 3;
11897 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
11899 return (Array[1] != -2 || L[2] != 3)
11904 if ac_fn_c_try_run "$LINENO"; then :
11905 ac_cv_c_gcc_strength_bug="no"
11907 ac_cv_c_gcc_strength_bug="yes"
11909 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11910 conftest.$ac_objext conftest.beam conftest.$ac_ext
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
11915 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
11916 if test "$ac_cv_c_gcc_strength_bug" = "yes"
11918 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
11922 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
11923 if ${ac_cv_cflags__fno_builtin+:} false; then :
11924 $as_echo_n "(cached) " >&6
11926 ac_wine_try_cflags_saved=$CFLAGS
11927 CFLAGS="$CFLAGS -fno-builtin"
11928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11929 /* end confdefs.h. */
11930 int main(int argc, char **argv) { return 0; }
11932 if ac_fn_c_try_link "$LINENO"; then :
11933 ac_cv_cflags__fno_builtin=yes
11935 ac_cv_cflags__fno_builtin=no
11937 rm -f core conftest.err conftest.$ac_objext \
11938 conftest$ac_exeext conftest.$ac_ext
11939 CFLAGS=$ac_wine_try_cflags_saved
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
11942 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
11943 if test $ac_cv_cflags__fno_builtin = yes; then :
11944 BUILTINFLAG="-fno-builtin"
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
11948 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
11949 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
11950 $as_echo_n "(cached) " >&6
11952 ac_wine_try_cflags_saved=$CFLAGS
11953 CFLAGS="$CFLAGS -fno-strict-aliasing"
11954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11955 /* end confdefs.h. */
11956 int main(int argc, char **argv) { return 0; }
11958 if ac_fn_c_try_link "$LINENO"; then :
11959 ac_cv_cflags__fno_strict_aliasing=yes
11961 ac_cv_cflags__fno_strict_aliasing=no
11963 rm -f core conftest.err conftest.$ac_objext \
11964 conftest$ac_exeext conftest.$ac_ext
11965 CFLAGS=$ac_wine_try_cflags_saved
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
11968 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
11969 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
11970 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
11973 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
11974 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
11975 $as_echo_n "(cached) " >&6
11977 ac_wine_try_cflags_saved=$CFLAGS
11978 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
11979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11980 /* end confdefs.h. */
11981 int main(int argc, char **argv) { return 0; }
11983 if ac_fn_c_try_link "$LINENO"; then :
11984 ac_cv_cflags__Wdeclaration_after_statement=yes
11986 ac_cv_cflags__Wdeclaration_after_statement=no
11988 rm -f core conftest.err conftest.$ac_objext \
11989 conftest$ac_exeext conftest.$ac_ext
11990 CFLAGS=$ac_wine_try_cflags_saved
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
11993 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
11994 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
11995 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
11998 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
11999 if ${ac_cv_cflags__Wempty_body+:} false; then :
12000 $as_echo_n "(cached) " >&6
12002 ac_wine_try_cflags_saved=$CFLAGS
12003 CFLAGS="$CFLAGS -Wempty-body"
12004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12005 /* end confdefs.h. */
12006 int main(int argc, char **argv) { return 0; }
12008 if ac_fn_c_try_link "$LINENO"; then :
12009 ac_cv_cflags__Wempty_body=yes
12011 ac_cv_cflags__Wempty_body=no
12013 rm -f core conftest.err conftest.$ac_objext \
12014 conftest$ac_exeext conftest.$ac_ext
12015 CFLAGS=$ac_wine_try_cflags_saved
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12018 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12019 if test $ac_cv_cflags__Wempty_body = yes; then :
12020 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12023 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12024 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
12025 $as_echo_n "(cached) " >&6
12027 ac_wine_try_cflags_saved=$CFLAGS
12028 CFLAGS="$CFLAGS -Wignored-qualifiers"
12029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12030 /* end confdefs.h. */
12031 int main(int argc, char **argv) { return 0; }
12033 if ac_fn_c_try_link "$LINENO"; then :
12034 ac_cv_cflags__Wignored_qualifiers=yes
12036 ac_cv_cflags__Wignored_qualifiers=no
12038 rm -f core conftest.err conftest.$ac_objext \
12039 conftest$ac_exeext conftest.$ac_ext
12040 CFLAGS=$ac_wine_try_cflags_saved
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12043 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12044 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12045 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12048 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12049 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
12050 $as_echo_n "(cached) " >&6
12052 ac_wine_try_cflags_saved=$CFLAGS
12053 CFLAGS="$CFLAGS -Wstrict-prototypes"
12054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12055 /* end confdefs.h. */
12056 int main(int argc, char **argv) { return 0; }
12058 if ac_fn_c_try_link "$LINENO"; then :
12059 ac_cv_cflags__Wstrict_prototypes=yes
12061 ac_cv_cflags__Wstrict_prototypes=no
12063 rm -f core conftest.err conftest.$ac_objext \
12064 conftest$ac_exeext conftest.$ac_ext
12065 CFLAGS=$ac_wine_try_cflags_saved
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12068 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12069 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12070 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12073 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12074 if ${ac_cv_cflags__Wtype_limits+:} false; then :
12075 $as_echo_n "(cached) " >&6
12077 ac_wine_try_cflags_saved=$CFLAGS
12078 CFLAGS="$CFLAGS -Wtype-limits"
12079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12080 /* end confdefs.h. */
12081 int main(int argc, char **argv) { return 0; }
12083 if ac_fn_c_try_link "$LINENO"; then :
12084 ac_cv_cflags__Wtype_limits=yes
12086 ac_cv_cflags__Wtype_limits=no
12088 rm -f core conftest.err conftest.$ac_objext \
12089 conftest$ac_exeext conftest.$ac_ext
12090 CFLAGS=$ac_wine_try_cflags_saved
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12093 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12094 if test $ac_cv_cflags__Wtype_limits = yes; then :
12095 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12098 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12099 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
12100 $as_echo_n "(cached) " >&6
12102 ac_wine_try_cflags_saved=$CFLAGS
12103 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
12104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12105 /* end confdefs.h. */
12106 int main(int argc, char **argv) { return 0; }
12108 if ac_fn_c_try_link "$LINENO"; then :
12109 ac_cv_cflags__Wunused_but_set_parameter=yes
12111 ac_cv_cflags__Wunused_but_set_parameter=no
12113 rm -f core conftest.err conftest.$ac_objext \
12114 conftest$ac_exeext conftest.$ac_ext
12115 CFLAGS=$ac_wine_try_cflags_saved
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12118 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12119 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12120 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12123 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12124 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
12125 $as_echo_n "(cached) " >&6
12127 ac_wine_try_cflags_saved=$CFLAGS
12128 CFLAGS="$CFLAGS -Wwrite-strings"
12129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12130 /* end confdefs.h. */
12131 int main(int argc, char **argv) { return 0; }
12133 if ac_fn_c_try_link "$LINENO"; then :
12134 ac_cv_cflags__Wwrite_strings=yes
12136 ac_cv_cflags__Wwrite_strings=no
12138 rm -f core conftest.err conftest.$ac_objext \
12139 conftest$ac_exeext conftest.$ac_ext
12140 CFLAGS=$ac_wine_try_cflags_saved
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12143 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12144 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12145 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12149 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12150 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12151 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
12152 $as_echo_n "(cached) " >&6
12154 ac_wine_try_cflags_saved=$CFLAGS
12155 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
12156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12157 /* end confdefs.h. */
12158 int main(int argc, char **argv) { return 0; }
12160 if ac_fn_c_try_link "$LINENO"; then :
12161 ac_cv_cflags__fno_omit_frame_pointer=yes
12163 ac_cv_cflags__fno_omit_frame_pointer=no
12165 rm -f core conftest.err conftest.$ac_objext \
12166 conftest$ac_exeext conftest.$ac_ext
12167 CFLAGS=$ac_wine_try_cflags_saved
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12170 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12171 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12172 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
12177 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12178 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12179 if ${ac_cv_cflags__Wno_format+:} false; then :
12180 $as_echo_n "(cached) " >&6
12182 ac_wine_try_cflags_saved=$CFLAGS
12183 CFLAGS="$CFLAGS -Wno-format"
12184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12185 /* end confdefs.h. */
12186 int main(int argc, char **argv) { return 0; }
12188 if ac_fn_c_try_link "$LINENO"; then :
12189 ac_cv_cflags__Wno_format=yes
12191 ac_cv_cflags__Wno_format=no
12193 rm -f core conftest.err conftest.$ac_objext \
12194 conftest$ac_exeext conftest.$ac_ext
12195 CFLAGS=$ac_wine_try_cflags_saved
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12198 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12199 if test $ac_cv_cflags__Wno_format = yes; then :
12200 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
12204 saved_CFLAGS="$CFLAGS"
12205 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12207 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12208 if ${ac_cv_c_string_h_warnings+:} false; then :
12209 $as_echo_n "(cached) " >&6
12211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12212 /* end confdefs.h. */
12213 #include <string.h>
12222 if ac_fn_c_try_compile "$LINENO"; then :
12223 ac_cv_c_string_h_warnings=no
12225 ac_cv_c_string_h_warnings=yes
12227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12230 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12231 CFLAGS="$saved_CFLAGS"
12232 if test "$ac_cv_c_string_h_warnings" = "no"
12234 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12237 saved_CFLAGS="$CFLAGS"
12238 CFLAGS="$CFLAGS -Wlogical-op -Werror"
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12240 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12241 if ${ac_cv_c_logicalop_noisy+:} false; then :
12242 $as_echo_n "(cached) " >&6
12244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12245 /* end confdefs.h. */
12246 #include <string.h>
12250 char*f(const char *h,char n) {return strchr(h,n);}
12255 if ac_fn_c_try_compile "$LINENO"; then :
12256 ac_cv_c_logicalop_noisy=no
12258 ac_cv_c_logicalop_noisy=yes
12260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12263 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12264 CFLAGS="$saved_CFLAGS"
12265 if test "$ac_cv_c_logicalop_noisy" = "no"
12267 EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
12270 if test "x$enable_maintainer_mode" = "xyes"
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12273 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12274 if ${ac_cv_cflags__Werror+:} false; then :
12275 $as_echo_n "(cached) " >&6
12277 ac_wine_try_cflags_saved=$CFLAGS
12278 CFLAGS="$CFLAGS -Werror"
12279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12280 /* end confdefs.h. */
12281 int main(int argc, char **argv) { return 0; }
12283 if ac_fn_c_try_link "$LINENO"; then :
12284 ac_cv_cflags__Werror=yes
12286 ac_cv_cflags__Werror=no
12288 rm -f core conftest.err conftest.$ac_objext \
12289 conftest$ac_exeext conftest.$ac_ext
12290 CFLAGS=$ac_wine_try_cflags_saved
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12293 $as_echo "$ac_cv_cflags__Werror" >&6; }
12294 if test $ac_cv_cflags__Werror = yes; then :
12295 EXTRACFLAGS="$EXTRACFLAGS -Werror"
12299 saved_CFLAGS="$CFLAGS"
12300 CFLAGS="$CFLAGS -Werror"
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12302 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12303 if ${ac_cv_have_ms_hook_prologue+:} false; then :
12304 $as_echo_n "(cached) " >&6
12306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12307 /* end confdefs.h. */
12308 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12317 if ac_fn_c_try_compile "$LINENO"; then :
12318 ac_cv_have_ms_hook_prologue="yes"
12320 ac_cv_have_ms_hook_prologue="no"
12322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12325 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12326 CFLAGS="$saved_CFLAGS"
12327 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12330 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12333 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12340 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12341 if ${ac_cv_c_fortify_enabled+:} false; then :
12342 $as_echo_n "(cached) " >&6
12344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12345 /* end confdefs.h. */
12346 #include <string.h>
12350 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12351 #error Fortify enabled
12357 if ac_fn_c_try_compile "$LINENO"; then :
12358 ac_cv_c_fortify_enabled=no
12360 ac_cv_c_fortify_enabled=yes
12362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12365 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12366 if test "$ac_cv_c_fortify_enabled" = yes
12368 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12373 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12374 if ${ac_cv_c_extern_prefix+:} false; then :
12375 $as_echo_n "(cached) " >&6
12377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12378 /* end confdefs.h. */
12379 extern int ac_test;
12383 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12388 if ac_fn_c_try_link "$LINENO"; then :
12389 ac_cv_c_extern_prefix="yes"
12391 ac_cv_c_extern_prefix="no"
12393 rm -f core conftest.err conftest.$ac_objext \
12394 conftest$ac_exeext conftest.$ac_ext
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12397 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12402 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12403 if ${ac_cv_c_stdcall_suffix+:} false; then :
12404 $as_echo_n "(cached) " >&6
12406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12407 /* end confdefs.h. */
12409 #define __stdcall __attribute__((__stdcall__))
12411 int __stdcall ac_test(int i) { return i; }
12415 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12420 if ac_fn_c_try_link "$LINENO"; then :
12421 ac_cv_c_stdcall_suffix="yes"
12423 ac_cv_c_stdcall_suffix="no"
12425 rm -f core conftest.err conftest.$ac_objext \
12426 conftest$ac_exeext conftest.$ac_ext
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12429 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12430 *) ac_cv_c_stdcall_suffix="no" ;;
12434 if test "$ac_cv_c_extern_prefix" = "yes"
12436 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12438 asm_name_prefix="_"
12440 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12446 if test "$ac_cv_c_stdcall_suffix" = "yes"
12448 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12451 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12457 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12458 if ${ac_cv_asm_func_def+:} false; then :
12459 $as_echo_n "(cached) " >&6
12461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12462 /* end confdefs.h. */
12467 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12472 if ac_fn_c_try_link "$LINENO"; then :
12473 ac_cv_asm_func_def=".def"
12475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12476 /* end confdefs.h. */
12481 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12486 if ac_fn_c_try_link "$LINENO"; then :
12487 ac_cv_asm_func_def=".type @function"
12489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12490 /* end confdefs.h. */
12495 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12500 if ac_fn_c_try_link "$LINENO"; then :
12501 ac_cv_asm_func_def=".type 2"
12503 ac_cv_asm_func_def="unknown"
12505 rm -f core conftest.err conftest.$ac_objext \
12506 conftest$ac_exeext conftest.$ac_ext
12508 rm -f core conftest.err conftest.$ac_objext \
12509 conftest$ac_exeext conftest.$ac_ext
12511 rm -f core conftest.err conftest.$ac_objext \
12512 conftest$ac_exeext conftest.$ac_ext
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12515 $as_echo "$ac_cv_asm_func_def" >&6; }
12518 case "$ac_cv_asm_func_def" in
12520 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12522 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12524 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12526 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
12528 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12530 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
12532 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12534 asm_func_header="" ;;
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12538 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12539 if ${ac_cv_c_asm_outside_funcs+:} false; then :
12540 $as_echo_n "(cached) " >&6
12542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12543 /* end confdefs.h. */
12544 asm(".text\n\t.long 0");
12553 if ac_fn_c_try_compile "$LINENO"; then :
12554 ac_cv_c_asm_outside_funcs="yes"
12556 ac_cv_c_asm_outside_funcs="no"
12558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12561 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12564 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12565 if ${ac_cv_c_dot_previous+:} false; then :
12566 $as_echo_n "(cached) " >&6
12568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12569 /* end confdefs.h. */
12574 asm(".text\nac_test:\t.long 0\n\t.previous");
12579 if ac_fn_c_try_link "$LINENO"; then :
12580 ac_cv_c_dot_previous="yes"
12582 ac_cv_c_dot_previous="no"
12584 rm -f core conftest.err conftest.$ac_objext \
12585 conftest$ac_exeext conftest.$ac_ext
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12588 $as_echo "$ac_cv_c_dot_previous" >&6; }
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12591 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12592 if ${ac_cv_c_cfi_support+:} false; then :
12593 $as_echo_n "(cached) " >&6
12595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12596 /* end confdefs.h. */
12597 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12606 if ac_fn_c_try_compile "$LINENO"; then :
12607 ac_cv_c_cfi_support="yes"
12609 ac_cv_c_cfi_support="no"
12611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12614 $as_echo "$ac_cv_c_cfi_support" >&6; }
12616 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12617 asm_func_trailer=""
12618 if test "$ac_cv_c_dot_previous" = "yes"
12620 asm_func_trailer="\\n\\t.previous"
12622 if test "$ac_cv_c_cfi_support" = "yes"
12624 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
12625 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
12627 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12629 UNWINDFLAGS=-fasynchronous-unwind-tables
12632 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12636 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
12639 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12641 cat >>confdefs.h <<_ACEOF
12642 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12646 cat >>confdefs.h <<_ACEOF
12647 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12652 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12655 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12665 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12670 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12678 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
12685 test "x$enable_win64" != "xyes" || MAIN_BINARY="wine64"
12690 *i[3456789]86*) EXTRA_BINARIES="wine-preloader"
12692 x86_64*) EXTRA_BINARIES="wine64-preloader"
12699 ac_save_CFLAGS="$CFLAGS"
12700 CFLAGS="$CFLAGS $BUILTINFLAG"
12777 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12778 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12779 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12780 cat >>confdefs.h <<_ACEOF
12781 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12787 CFLAGS="$ac_save_CFLAGS"
12789 if test "$ac_cv_func_dlopen" = no
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12792 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12793 if ${ac_cv_lib_dl_dlopen+:} false; then :
12794 $as_echo_n "(cached) " >&6
12796 ac_check_lib_save_LIBS=$LIBS
12798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12799 /* end confdefs.h. */
12801 /* Override any GCC internal prototype to avoid an error.
12802 Use char because int might match the return type of a GCC
12803 builtin and then its argument prototype would still apply. */
12816 if ac_fn_c_try_link "$LINENO"; then :
12817 ac_cv_lib_dl_dlopen=yes
12819 ac_cv_lib_dl_dlopen=no
12821 rm -f core conftest.err conftest.$ac_objext \
12822 conftest$ac_exeext conftest.$ac_ext
12823 LIBS=$ac_check_lib_save_LIBS
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12826 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12827 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12828 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
12834 ac_wine_check_funcs_save_LIBS="$LIBS"
12835 LIBS="$LIBS $LIBDL"
12836 for ac_func in dladdr
12838 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
12839 if test "x$ac_cv_func_dladdr" = xyes; then :
12840 cat >>confdefs.h <<_ACEOF
12841 #define HAVE_DLADDR 1
12847 LIBS="$ac_wine_check_funcs_save_LIBS"
12849 if test "$ac_cv_func_poll" = no
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
12852 $as_echo_n "checking for poll in -lpoll... " >&6; }
12853 if ${ac_cv_lib_poll_poll+:} false; then :
12854 $as_echo_n "(cached) " >&6
12856 ac_check_lib_save_LIBS=$LIBS
12857 LIBS="-lpoll $LIBS"
12858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12859 /* end confdefs.h. */
12861 /* Override any GCC internal prototype to avoid an error.
12862 Use char because int might match the return type of a GCC
12863 builtin and then its argument prototype would still apply. */
12876 if ac_fn_c_try_link "$LINENO"; then :
12877 ac_cv_lib_poll_poll=yes
12879 ac_cv_lib_poll_poll=no
12881 rm -f core conftest.err conftest.$ac_objext \
12882 conftest$ac_exeext conftest.$ac_ext
12883 LIBS=$ac_check_lib_save_LIBS
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
12886 $as_echo "$ac_cv_lib_poll_poll" >&6; }
12887 if test "x$ac_cv_lib_poll_poll" = xyes; then :
12888 $as_echo "#define HAVE_POLL 1" >>confdefs.h
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
12896 $as_echo_n "checking for library containing gethostbyname... " >&6; }
12897 if ${ac_cv_search_gethostbyname+:} false; then :
12898 $as_echo_n "(cached) " >&6
12900 ac_func_search_save_LIBS=$LIBS
12901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12902 /* end confdefs.h. */
12904 /* Override any GCC internal prototype to avoid an error.
12905 Use char because int might match the return type of a GCC
12906 builtin and then its argument prototype would still apply. */
12910 char gethostbyname ();
12914 return gethostbyname ();
12919 for ac_lib in '' nsl; do
12920 if test -z "$ac_lib"; then
12921 ac_res="none required"
12924 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12926 if ac_fn_c_try_link "$LINENO"; then :
12927 ac_cv_search_gethostbyname=$ac_res
12929 rm -f core conftest.err conftest.$ac_objext \
12931 if ${ac_cv_search_gethostbyname+:} false; then :
12935 if ${ac_cv_search_gethostbyname+:} false; then :
12938 ac_cv_search_gethostbyname=no
12940 rm conftest.$ac_ext
12941 LIBS=$ac_func_search_save_LIBS
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
12944 $as_echo "$ac_cv_search_gethostbyname" >&6; }
12945 ac_res=$ac_cv_search_gethostbyname
12946 if test "$ac_res" != no; then :
12947 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
12953 $as_echo_n "checking for library containing connect... " >&6; }
12954 if ${ac_cv_search_connect+:} false; then :
12955 $as_echo_n "(cached) " >&6
12957 ac_func_search_save_LIBS=$LIBS
12958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12959 /* end confdefs.h. */
12961 /* Override any GCC internal prototype to avoid an error.
12962 Use char because int might match the return type of a GCC
12963 builtin and then its argument prototype would still apply. */
12976 for ac_lib in '' socket; do
12977 if test -z "$ac_lib"; then
12978 ac_res="none required"
12981 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12983 if ac_fn_c_try_link "$LINENO"; then :
12984 ac_cv_search_connect=$ac_res
12986 rm -f core conftest.err conftest.$ac_objext \
12988 if ${ac_cv_search_connect+:} false; then :
12992 if ${ac_cv_search_connect+:} false; then :
12995 ac_cv_search_connect=no
12997 rm conftest.$ac_ext
12998 LIBS=$ac_func_search_save_LIBS
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13001 $as_echo "$ac_cv_search_connect" >&6; }
13002 ac_res=$ac_cv_search_connect
13003 if test "$ac_res" != no; then :
13004 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13010 $as_echo_n "checking for library containing inet_aton... " >&6; }
13011 if ${ac_cv_search_inet_aton+:} false; then :
13012 $as_echo_n "(cached) " >&6
13014 ac_func_search_save_LIBS=$LIBS
13015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13016 /* end confdefs.h. */
13018 /* Override any GCC internal prototype to avoid an error.
13019 Use char because int might match the return type of a GCC
13020 builtin and then its argument prototype would still apply. */
13028 return inet_aton ();
13033 for ac_lib in '' resolv; do
13034 if test -z "$ac_lib"; then
13035 ac_res="none required"
13038 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13040 if ac_fn_c_try_link "$LINENO"; then :
13041 ac_cv_search_inet_aton=$ac_res
13043 rm -f core conftest.err conftest.$ac_objext \
13045 if ${ac_cv_search_inet_aton+:} false; then :
13049 if ${ac_cv_search_inet_aton+:} false; then :
13052 ac_cv_search_inet_aton=no
13054 rm conftest.$ac_ext
13055 LIBS=$ac_func_search_save_LIBS
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13058 $as_echo "$ac_cv_search_inet_aton" >&6; }
13059 ac_res=$ac_cv_search_inet_aton
13060 if test "$ac_res" != no; then :
13061 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13080 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13081 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13082 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13083 cat >>confdefs.h <<_ACEOF
13084 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13093 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13095 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13097 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13099 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13100 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
13101 $as_echo_n "(cached) " >&6
13103 ac_check_lib_save_LIBS=$LIBS
13104 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13106 /* end confdefs.h. */
13108 /* Override any GCC internal prototype to avoid an error.
13109 Use char because int might match the return type of a GCC
13110 builtin and then its argument prototype would still apply. */
13114 char ldap_initialize ();
13118 return ldap_initialize ();
13123 if ac_fn_c_try_link "$LINENO"; then :
13124 ac_cv_lib_ldap_r_ldap_initialize=yes
13126 ac_cv_lib_ldap_r_ldap_initialize=no
13128 rm -f core conftest.err conftest.$ac_objext \
13129 conftest$ac_exeext conftest.$ac_ext
13130 LIBS=$ac_check_lib_save_LIBS
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13133 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13134 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13136 $as_echo_n "checking for ber_init in -llber... " >&6; }
13137 if ${ac_cv_lib_lber_ber_init+:} false; then :
13138 $as_echo_n "(cached) " >&6
13140 ac_check_lib_save_LIBS=$LIBS
13141 LIBS="-llber $LIBPTHREAD $LIBS"
13142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13143 /* end confdefs.h. */
13145 /* Override any GCC internal prototype to avoid an error.
13146 Use char because int might match the return type of a GCC
13147 builtin and then its argument prototype would still apply. */
13155 return ber_init ();
13160 if ac_fn_c_try_link "$LINENO"; then :
13161 ac_cv_lib_lber_ber_init=yes
13163 ac_cv_lib_lber_ber_init=no
13165 rm -f core conftest.err conftest.$ac_objext \
13166 conftest$ac_exeext conftest.$ac_ext
13167 LIBS=$ac_check_lib_save_LIBS
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13170 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13171 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
13173 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13175 LDAPLIBS="-lldap_r -llber"
13182 ac_wine_check_funcs_save_LIBS="$LIBS"
13183 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13185 ldap_count_references \
13186 ldap_first_reference \
13187 ldap_next_reference \
13188 ldap_parse_reference \
13189 ldap_parse_sort_control \
13190 ldap_parse_sortresponse_control \
13191 ldap_parse_vlv_control \
13192 ldap_parse_vlvresponse_control
13194 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13195 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13196 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13197 cat >>confdefs.h <<_ACEOF
13198 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13204 LIBS="$ac_wine_check_funcs_save_LIBS"
13206 if test "x$LDAPLIBS" = "x"; then :
13207 case "x$with_ldap" in
13208 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13210 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13211 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13216 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13217 if ${wine_cv_one_arg_mkdir+:} false; then :
13218 $as_echo_n "(cached) " >&6
13220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13221 /* end confdefs.h. */
13222 #include <sys/stat.h>
13231 if ac_fn_c_try_compile "$LINENO"; then :
13232 wine_cv_one_arg_mkdir=yes
13234 wine_cv_one_arg_mkdir=no
13236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13239 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13240 if test "$wine_cv_one_arg_mkdir" = "yes"
13243 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13248 $as_echo_n "checking for sched_setaffinity... " >&6; }
13249 if ${wine_cv_have_sched_setaffinity+:} false; then :
13250 $as_echo_n "(cached) " >&6
13252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13253 /* end confdefs.h. */
13254 #define _GNU_SOURCE
13259 sched_setaffinity(0, 0, 0);
13264 if ac_fn_c_try_link "$LINENO"; then :
13265 wine_cv_have_sched_setaffinity=yes
13267 wine_cv_have_sched_setaffinity=no
13269 rm -f core conftest.err conftest.$ac_objext \
13270 conftest$ac_exeext conftest.$ac_ext
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13273 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13274 if test "$wine_cv_have_sched_setaffinity" = "yes"
13277 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13283 $as_echo_n "checking for inline... " >&6; }
13284 if ${ac_cv_c_inline+:} false; then :
13285 $as_echo_n "(cached) " >&6
13288 for ac_kw in inline __inline__ __inline; do
13289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13290 /* end confdefs.h. */
13291 #ifndef __cplusplus
13293 static $ac_kw foo_t static_foo () {return 0; }
13294 $ac_kw foo_t foo () {return 0; }
13298 if ac_fn_c_try_compile "$LINENO"; then :
13299 ac_cv_c_inline=$ac_kw
13301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13302 test "$ac_cv_c_inline" != no && break
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13307 $as_echo "$ac_cv_c_inline" >&6; }
13309 case $ac_cv_c_inline in
13312 case $ac_cv_c_inline in
13314 *) ac_val=$ac_cv_c_inline;;
13316 cat >>confdefs.h <<_ACEOF
13317 #ifndef __cplusplus
13318 #define inline $ac_val
13324 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13325 if test "x$ac_cv_type_mode_t" = xyes; then :
13327 cat >>confdefs.h <<_ACEOF
13328 #define HAVE_MODE_T 1
13333 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13334 if test "x$ac_cv_type_off_t" = xyes; then :
13336 cat >>confdefs.h <<_ACEOF
13337 #define HAVE_OFF_T 1
13342 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13343 if test "x$ac_cv_type_pid_t" = xyes; then :
13345 cat >>confdefs.h <<_ACEOF
13346 #define HAVE_PID_T 1
13351 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13352 if test "x$ac_cv_type_size_t" = xyes; then :
13354 cat >>confdefs.h <<_ACEOF
13355 #define HAVE_SIZE_T 1
13360 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13361 if test "x$ac_cv_type_ssize_t" = xyes; then :
13363 cat >>confdefs.h <<_ACEOF
13364 #define HAVE_SSIZE_T 1
13369 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13370 if test "x$ac_cv_type_long_long" = xyes; then :
13372 cat >>confdefs.h <<_ACEOF
13373 #define HAVE_LONG_LONG 1
13378 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13379 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
13381 cat >>confdefs.h <<_ACEOF
13382 #define HAVE_FSBLKCNT_T 1
13387 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13388 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
13390 cat >>confdefs.h <<_ACEOF
13391 #define HAVE_FSFILCNT_T 1
13397 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13398 #include <signal.h>
13400 if test "x$ac_cv_type_sigset_t" = xyes; then :
13402 cat >>confdefs.h <<_ACEOF
13403 #define HAVE_SIGSET_T 1
13409 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13411 if test "x$ac_cv_type_request_sense" = xyes; then :
13413 cat >>confdefs.h <<_ACEOF
13414 #define HAVE_REQUEST_SENSE 1
13421 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13422 #ifdef HAVE_SYS_SOCKET_H
13423 #include <sys/socket.h>
13425 #ifdef HAVE_SYS_SOCKETVAR_H
13426 #include <sys/socketvar.h>
13428 #ifdef HAVE_NET_ROUTE_H
13429 #include <net/route.h>
13431 #ifdef HAVE_NETINET_IN_H
13432 #include <netinet/in.h>
13434 #ifdef HAVE_NETINET_IN_SYSTM_H
13435 #include <netinet/in_systm.h>
13437 #ifdef HAVE_NETINET_IP_H
13438 #include <netinet/ip.h>
13440 #ifdef HAVE_NETINET_IN_PCB_H
13441 #include <netinet/in_pcb.h>
13444 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
13446 cat >>confdefs.h <<_ACEOF
13447 #define HAVE_STRUCT_XINPGEN 1
13454 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13455 #include <linux/input.h>
13458 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
13460 cat >>confdefs.h <<_ACEOF
13461 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13469 $as_echo_n "checking for sigaddset... " >&6; }
13470 if ${wine_cv_have_sigaddset+:} false; then :
13471 $as_echo_n "(cached) " >&6
13473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13474 /* end confdefs.h. */
13475 #include <signal.h>
13479 sigset_t set; sigaddset(&set,SIGTERM);
13484 if ac_fn_c_try_link "$LINENO"; then :
13485 wine_cv_have_sigaddset=yes
13487 wine_cv_have_sigaddset=no
13489 rm -f core conftest.err conftest.$ac_objext \
13490 conftest$ac_exeext conftest.$ac_ext
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13493 $as_echo "$wine_cv_have_sigaddset" >&6; }
13494 if test "$wine_cv_have_sigaddset" = "yes"
13497 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13503 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13504 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
13505 $as_echo_n "(cached) " >&6
13507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13508 /* end confdefs.h. */
13516 struct hostent *result;
13523 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13524 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13530 if ac_fn_c_try_link "$LINENO"; then :
13531 wine_cv_linux_gethostbyname_r_6=yes
13533 wine_cv_linux_gethostbyname_r_6=no
13536 rm -f core conftest.err conftest.$ac_objext \
13537 conftest$ac_exeext conftest.$ac_ext
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13541 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13542 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13545 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13549 if test "$ac_cv_header_linux_joystick_h" = "yes"
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13552 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13553 if ${wine_cv_linux_joystick_22_api+:} false; then :
13554 $as_echo_n "(cached) " >&6
13556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13557 /* end confdefs.h. */
13559 #include <sys/ioctl.h>
13560 #include <sys/types.h>
13561 #include <linux/joystick.h>
13563 struct js_event blub;
13564 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13565 #error "no 2.2 header"
13576 if ac_fn_c_try_compile "$LINENO"; then :
13577 wine_cv_linux_joystick_22_api=yes
13579 wine_cv_linux_joystick_22_api=no
13581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13585 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13586 if test "$wine_cv_linux_joystick_22_api" = "yes"
13589 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
13595 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
13596 #ifdef HAVE_SYS_PARAM_H
13597 # include <sys/param.h>
13599 #ifdef HAVE_SYS_MOUNT_H
13600 # include <sys/mount.h>
13602 #ifdef HAVE_SYS_VFS_H
13603 # include <sys/vfs.h>
13605 #ifdef HAVE_SYS_STATFS_H
13606 # include <sys/statfs.h>
13609 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
13611 cat >>confdefs.h <<_ACEOF
13612 #define HAVE_STRUCT_STATFS_F_BFREE 1
13617 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
13618 #ifdef HAVE_SYS_PARAM_H
13619 # include <sys/param.h>
13621 #ifdef HAVE_SYS_MOUNT_H
13622 # include <sys/mount.h>
13624 #ifdef HAVE_SYS_VFS_H
13625 # include <sys/vfs.h>
13627 #ifdef HAVE_SYS_STATFS_H
13628 # include <sys/statfs.h>
13631 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
13633 cat >>confdefs.h <<_ACEOF
13634 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
13639 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
13640 #ifdef HAVE_SYS_PARAM_H
13641 # include <sys/param.h>
13643 #ifdef HAVE_SYS_MOUNT_H
13644 # include <sys/mount.h>
13646 #ifdef HAVE_SYS_VFS_H
13647 # include <sys/vfs.h>
13649 #ifdef HAVE_SYS_STATFS_H
13650 # include <sys/statfs.h>
13653 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
13655 cat >>confdefs.h <<_ACEOF
13656 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
13661 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
13662 #ifdef HAVE_SYS_PARAM_H
13663 # include <sys/param.h>
13665 #ifdef HAVE_SYS_MOUNT_H
13666 # include <sys/mount.h>
13668 #ifdef HAVE_SYS_VFS_H
13669 # include <sys/vfs.h>
13671 #ifdef HAVE_SYS_STATFS_H
13672 # include <sys/statfs.h>
13675 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
13677 cat >>confdefs.h <<_ACEOF
13678 #define HAVE_STRUCT_STATFS_F_FFREE 1
13683 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
13684 #ifdef HAVE_SYS_PARAM_H
13685 # include <sys/param.h>
13687 #ifdef HAVE_SYS_MOUNT_H
13688 # include <sys/mount.h>
13690 #ifdef HAVE_SYS_VFS_H
13691 # include <sys/vfs.h>
13693 #ifdef HAVE_SYS_STATFS_H
13694 # include <sys/statfs.h>
13697 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
13699 cat >>confdefs.h <<_ACEOF
13700 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
13705 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
13706 #ifdef HAVE_SYS_PARAM_H
13707 # include <sys/param.h>
13709 #ifdef HAVE_SYS_MOUNT_H
13710 # include <sys/mount.h>
13712 #ifdef HAVE_SYS_VFS_H
13713 # include <sys/vfs.h>
13715 #ifdef HAVE_SYS_STATFS_H
13716 # include <sys/statfs.h>
13719 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
13721 cat >>confdefs.h <<_ACEOF
13722 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
13729 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
13730 #include <sys/statvfs.h>
13733 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
13735 cat >>confdefs.h <<_ACEOF
13736 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
13743 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
13744 #ifdef HAVE_SYS_SOCKET_H
13745 # include <sys/socket.h>
13747 #ifdef HAVE_SYS_UN_H
13748 # include <sys/un.h>
13751 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
13753 cat >>confdefs.h <<_ACEOF
13754 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
13759 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
13760 #ifdef HAVE_SYS_SOCKET_H
13761 # include <sys/socket.h>
13763 #ifdef HAVE_SYS_UN_H
13764 # include <sys/un.h>
13767 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
13769 cat >>confdefs.h <<_ACEOF
13770 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
13775 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
13776 #ifdef HAVE_SYS_SOCKET_H
13777 # include <sys/socket.h>
13779 #ifdef HAVE_SYS_UN_H
13780 # include <sys/un.h>
13783 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
13785 cat >>confdefs.h <<_ACEOF
13786 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
13793 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
13794 #ifdef HAVE_SCSI_SG_H
13795 #include <scsi/sg.h>
13798 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
13800 cat >>confdefs.h <<_ACEOF
13801 #define HAVE_SCSIREQ_T_CMD 1
13806 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>
13807 #ifdef HAVE_SCSI_SG_H
13808 #include <scsi/sg.h>
13811 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
13813 cat >>confdefs.h <<_ACEOF
13814 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
13821 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
13823 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
13825 cat >>confdefs.h <<_ACEOF
13826 #define HAVE_SIGINFO_T_SI_FD 1
13833 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
13834 #ifdef HAVE_SYS_MTIO_H
13835 #include <sys/mtio.h>
13838 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
13840 cat >>confdefs.h <<_ACEOF
13841 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
13846 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
13847 #ifdef HAVE_SYS_MTIO_H
13848 #include <sys/mtio.h>
13851 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
13853 cat >>confdefs.h <<_ACEOF
13854 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
13859 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
13860 #ifdef HAVE_SYS_MTIO_H
13861 #include <sys/mtio.h>
13864 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
13866 cat >>confdefs.h <<_ACEOF
13867 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
13874 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
13875 #include <getopt.h>
13878 if test "x$ac_cv_member_struct_option_name" = xyes; then :
13880 cat >>confdefs.h <<_ACEOF
13881 #define HAVE_STRUCT_OPTION_NAME 1
13888 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
13889 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
13891 cat >>confdefs.h <<_ACEOF
13892 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13897 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
13898 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
13900 cat >>confdefs.h <<_ACEOF
13901 #define HAVE_STRUCT_STAT_ST_MTIM 1
13906 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
13907 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
13909 cat >>confdefs.h <<_ACEOF
13910 #define HAVE_STRUCT_STAT_ST_CTIM 1
13915 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
13916 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
13918 cat >>confdefs.h <<_ACEOF
13919 #define HAVE_STRUCT_STAT_ST_ATIM 1
13926 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
13927 #include <sys/types.h>
13929 #ifdef HAVE_NETINET_IN_H
13930 #include <netinet/in.h>
13933 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
13935 cat >>confdefs.h <<_ACEOF
13936 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
13943 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
13944 #include <sys/types.h>
13946 #ifdef HAVE_NETINET_IN_H
13947 # include <netinet/in.h>
13949 #ifdef HAVE_ARPA_NAMESER_H
13950 # include <arpa/nameser.h>
13953 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
13955 cat >>confdefs.h <<_ACEOF
13956 #define HAVE_NS_MSG__MSG_PTR 1
13963 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
13964 #include <sys/types.h>
13966 #ifdef HAVE_ALIAS_H
13969 #ifdef HAVE_SYS_SOCKET_H
13970 #include <sys/socket.h>
13972 #ifdef HAVE_SYS_SOCKETVAR_H
13973 #include <sys/socketvar.h>
13975 #ifdef HAVE_SYS_TIMEOUT_H
13976 #include <sys/timeout.h>
13978 #ifdef HAVE_NETINET_IN_H
13979 #include <netinet/in.h>
13981 #ifdef HAVE_NETINET_IN_SYSTM_H
13982 #include <netinet/in_systm.h>
13984 #ifdef HAVE_NETINET_IP_H
13985 #include <netinet/ip.h>
13987 #ifdef HAVE_NETINET_IP_VAR_H
13988 #include <netinet/ip_var.h>
13990 #ifdef HAVE_NETINET_IP_ICMP_H
13991 #include <netinet/ip_icmp.h>
13993 #ifdef HAVE_NETINET_ICMP_VAR
13994 #include <netinet/icmp_var.h>
13997 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
13999 cat >>confdefs.h <<_ACEOF
14000 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14007 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14008 #include <sys/types.h>
14010 #ifdef HAVE_NET_IF_H
14011 # include <net/if.h>
14014 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
14016 cat >>confdefs.h <<_ACEOF
14017 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14025 $as_echo_n "checking for timezone variable... " >&6; }
14026 if ${ac_cv_have_timezone+:} false; then :
14027 $as_echo_n "(cached) " >&6
14029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14030 /* end confdefs.h. */
14040 if ac_fn_c_try_link "$LINENO"; then :
14041 ac_cv_have_timezone="yes"
14043 ac_cv_have_timezone="no"
14045 rm -f core conftest.err conftest.$ac_objext \
14046 conftest$ac_exeext conftest.$ac_ext
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14049 $as_echo "$ac_cv_have_timezone" >&6; }
14050 if test "$ac_cv_have_timezone" = "yes"
14053 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14057 $as_echo_n "checking for daylight variable... " >&6; }
14058 if ${ac_cv_have_daylight+:} false; then :
14059 $as_echo_n "(cached) " >&6
14061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14062 /* end confdefs.h. */
14072 if ac_fn_c_try_link "$LINENO"; then :
14073 ac_cv_have_daylight="yes"
14075 ac_cv_have_daylight="no"
14077 rm -f core conftest.err conftest.$ac_objext \
14078 conftest$ac_exeext conftest.$ac_ext
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14081 $as_echo "$ac_cv_have_daylight" >&6; }
14082 if test "$ac_cv_have_daylight" = "yes"
14085 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14089 ac_save_LIBS="$LIBS"
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14092 $as_echo_n "checking for isinf... " >&6; }
14093 if ${ac_cv_have_isinf+:} false; then :
14094 $as_echo_n "(cached) " >&6
14096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14097 /* end confdefs.h. */
14102 float f = 0.0; return isinf(f)
14107 if ac_fn_c_try_link "$LINENO"; then :
14108 ac_cv_have_isinf="yes"
14110 ac_cv_have_isinf="no"
14112 rm -f core conftest.err conftest.$ac_objext \
14113 conftest$ac_exeext conftest.$ac_ext
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14116 $as_echo "$ac_cv_have_isinf" >&6; }
14117 if test "$ac_cv_have_isinf" = "yes"
14120 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14125 $as_echo_n "checking for isnan... " >&6; }
14126 if ${ac_cv_have_isnan+:} false; then :
14127 $as_echo_n "(cached) " >&6
14129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14130 /* end confdefs.h. */
14135 float f = 0.0; return isnan(f)
14140 if ac_fn_c_try_link "$LINENO"; then :
14141 ac_cv_have_isnan="yes"
14143 ac_cv_have_isnan="no"
14145 rm -f core conftest.err conftest.$ac_objext \
14146 conftest$ac_exeext conftest.$ac_ext
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14149 $as_echo "$ac_cv_have_isnan" >&6; }
14150 if test "$ac_cv_have_isnan" = "yes"
14153 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14156 LIBS="$ac_save_LIBS"
14160 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14161 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14162 if ${ac_cv_cpp_def___i386__+:} false; then :
14163 $as_echo_n "(cached) " >&6
14165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14166 /* end confdefs.h. */
14171 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14172 $EGREP "yes" >/dev/null 2>&1; then :
14173 ac_cv_cpp_def___i386__=yes
14175 ac_cv_cpp_def___i386__=no
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
14181 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
14182 if test $ac_cv_cpp_def___i386__ = yes; then :
14183 CFLAGS="$CFLAGS -D__i386__"
14184 LINTFLAGS="$LINTFLAGS -D__i386__"
14186 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
14187 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
14188 if ${ac_cv_cpp_def___x86_64__+:} false; then :
14189 $as_echo_n "(cached) " >&6
14191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14192 /* end confdefs.h. */
14197 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14198 $EGREP "yes" >/dev/null 2>&1; then :
14199 ac_cv_cpp_def___x86_64__=yes
14201 ac_cv_cpp_def___x86_64__=no
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
14207 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
14208 if test $ac_cv_cpp_def___x86_64__ = yes; then :
14209 CFLAGS="$CFLAGS -D__x86_64__"
14210 LINTFLAGS="$LINTFLAGS -D__x86_64__"
14212 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
14213 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
14214 if ${ac_cv_cpp_def___sparc64__+:} false; then :
14215 $as_echo_n "(cached) " >&6
14217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14218 /* end confdefs.h. */
14219 #ifndef __sparc64__
14223 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14224 $EGREP "yes" >/dev/null 2>&1; then :
14225 ac_cv_cpp_def___sparc64__=yes
14227 ac_cv_cpp_def___sparc64__=no
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
14233 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
14234 if test $ac_cv_cpp_def___sparc64__ = yes; then :
14235 CFLAGS="$CFLAGS -D__sparc64__"
14236 LINTFLAGS="$LINTFLAGS -D__sparc64__"
14238 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
14239 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
14240 if ${ac_cv_cpp_def___sparc__+:} false; then :
14241 $as_echo_n "(cached) " >&6
14243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14244 /* end confdefs.h. */
14249 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14250 $EGREP "yes" >/dev/null 2>&1; then :
14251 ac_cv_cpp_def___sparc__=yes
14253 ac_cv_cpp_def___sparc__=no
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
14259 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
14260 if test $ac_cv_cpp_def___sparc__ = yes; then :
14261 CFLAGS="$CFLAGS -D__sparc__"
14262 LINTFLAGS="$LINTFLAGS -D__sparc__"
14264 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
14265 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
14266 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
14267 $as_echo_n "(cached) " >&6
14269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14270 /* end confdefs.h. */
14271 #ifndef __powerpc64__
14275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14276 $EGREP "yes" >/dev/null 2>&1; then :
14277 ac_cv_cpp_def___powerpc64__=yes
14279 ac_cv_cpp_def___powerpc64__=no
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
14285 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
14286 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
14287 CFLAGS="$CFLAGS -D__powerpc64__"
14288 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
14290 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
14291 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
14292 if ${ac_cv_cpp_def___powerpc__+:} false; then :
14293 $as_echo_n "(cached) " >&6
14295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14296 /* end confdefs.h. */
14297 #ifndef __powerpc__
14301 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14302 $EGREP "yes" >/dev/null 2>&1; then :
14303 ac_cv_cpp_def___powerpc__=yes
14305 ac_cv_cpp_def___powerpc__=no
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
14311 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
14312 if test $ac_cv_cpp_def___powerpc__ = yes; then :
14313 CFLAGS="$CFLAGS -D__powerpc__"
14314 LINTFLAGS="$LINTFLAGS -D__powerpc__"
14316 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
14317 $as_echo_n "checking whether we need to define __arm__... " >&6; }
14318 if ${ac_cv_cpp_def___arm__+:} false; then :
14319 $as_echo_n "(cached) " >&6
14321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14322 /* end confdefs.h. */
14327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14328 $EGREP "yes" >/dev/null 2>&1; then :
14329 ac_cv_cpp_def___arm__=yes
14331 ac_cv_cpp_def___arm__=no
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
14337 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
14338 if test $ac_cv_cpp_def___arm__ = yes; then :
14339 CFLAGS="$CFLAGS -D__arm__"
14340 LINTFLAGS="$LINTFLAGS -D__arm__"
14344 case $host_vendor in
14345 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
14346 $as_echo_n "checking whether we need to define __sun__... " >&6; }
14347 if ${ac_cv_cpp_def___sun__+:} false; then :
14348 $as_echo_n "(cached) " >&6
14350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14351 /* end confdefs.h. */
14356 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14357 $EGREP "yes" >/dev/null 2>&1; then :
14358 ac_cv_cpp_def___sun__=yes
14360 ac_cv_cpp_def___sun__=no
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
14366 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
14367 if test $ac_cv_cpp_def___sun__ = yes; then :
14368 CFLAGS="$CFLAGS -D__sun__"
14369 LINTFLAGS="$LINTFLAGS -D__sun__"
14377 ac_config_commands="$ac_config_commands include/stamp-h"
14380 ALL_MAKEFILE_DEPENDS="
14381 # Rules automatically generated by configure
14386 Makefile: Makefile.in Make.vars.in Make.rules config.status
14387 @./config.status Make.tmp Makefile"
14390 ALL_TEST_RESOURCES=""
14393 wine_fn_append_file ()
14395 as_fn_append $1 " \\$as_nl $2"
14398 wine_fn_append_rule ()
14400 as_fn_append $1 "$as_nl$2"
14403 wine_fn_has_flag ()
14405 expr ",$2," : ".*,$1,.*" >/dev/null
14408 wine_fn_all_dir_rules ()
14412 ac_makedep="\$(MAKEDEP)"
14413 ac_input=Make.vars.in:$ac_dir/Makefile.in
14414 if test $ac_dir != tools
14416 ac_alldeps="$2 $ac_makedep"
14419 *.in) ac_input=$ac_input:$2 ;;
14420 *) ac_makedep="$2 $ac_makedep" ;;
14423 wine_fn_append_file ALL_DIRS $ac_dir
14424 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14425 "__clean__: $ac_dir/__clean__
14426 .PHONY: $ac_dir/__clean__
14427 $ac_dir/__clean__: $ac_dir/Makefile
14428 @cd $ac_dir && \$(MAKE) clean
14429 \$(RM) $ac_dir/Makefile
14430 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
14431 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
14432 depend: $ac_dir/__depend__
14433 .PHONY: $ac_dir/__depend__
14434 $ac_dir/__depend__: $ac_makedep dummy
14435 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
14438 wine_fn_pot_rules ()
14443 test "x$with_gettextpo" = xyes || return
14445 if wine_fn_has_flag mc $ac_flags
14447 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
14448 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14449 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
14450 @cd $ac_dir && \$(MAKE) msg.pot
14451 $ac_dir/msg.pot: tools/wmc include"
14453 if wine_fn_has_flag po $ac_flags
14455 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
14456 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14457 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
14458 @cd $ac_dir && \$(MAKE) rsrc.pot
14459 $ac_dir/rsrc.pot: tools/wrc include"
14463 wine_fn_config_makefile ()
14469 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14473 wine_fn_all_dir_rules $ac_dir ${ac_rules:-Make.rules}
14474 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14477 $ac_dir: $ac_dir/Makefile dummy
14478 @cd $ac_dir && \$(MAKE)"
14480 wine_fn_has_flag install-lib $ac_flags || wine_fn_has_flag install-dev $ac_flags || return
14482 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14483 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14484 $ac_dir/__install__:: $ac_dir
14485 @cd $ac_dir && \$(MAKE) install
14486 $ac_dir/__uninstall__:: $ac_dir/Makefile
14487 @cd $ac_dir && \$(MAKE) uninstall
14488 install:: $ac_dir/__install__
14489 __uninstall__: $ac_dir/__uninstall__"
14491 if wine_fn_has_flag install-lib $ac_flags
14493 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14494 ".PHONY: $ac_dir/__install-lib__
14495 $ac_dir/__install-lib__:: $ac_dir
14496 @cd $ac_dir && \$(MAKE) install-lib
14497 install-lib:: $ac_dir/__install-lib__"
14500 if wine_fn_has_flag install-dev $ac_flags
14502 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14503 ".PHONY: $ac_dir/__install-dev
14504 $ac_dir/__install-dev__:: $ac_dir
14505 @cd $ac_dir && \$(MAKE) install-dev
14506 install-dev:: $ac_dir/__install-dev__"
14510 wine_fn_config_lib ()
14514 ac_dir=dlls/$ac_name
14515 wine_fn_config_makefile $ac_dir enable_$ac_name "$ac_flags" dlls/Makeimplib.rules
14517 if wine_fn_has_flag install-dev $ac_flags
14520 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14521 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14522 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
14523 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
14524 $ac_dir/__uninstall__::
14525 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
14526 install install-dev:: $ac_dir/__install__
14527 __uninstall__: $ac_dir/__uninstall__"
14530 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: $ac_dir"
14531 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: tools/widl tools/winebuild tools/winegcc include"
14534 wine_fn_config_dll ()
14537 ac_dir=dlls/$ac_name
14540 ac_implib=${4:-$ac_name}
14541 ac_file=$ac_dir/lib$ac_implib
14543 ac_deps="tools/widl tools/winebuild tools/winegcc include"
14547 *16) ac_implibflags=" -m16" ;;
14549 *) ac_dll=$ac_dll.dll ;;
14552 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" dlls/Makedll.rules
14554 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14555 test "$ac_enable" != enable_win16 || return 0
14556 wine_fn_has_flag implib $ac_flags && wine_fn_all_dir_rules $ac_dir dlls/Makedll.rules
14558 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14559 "$ac_dir: __builddeps__
14560 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
14561 @cd $ac_dir && \$(MAKE) \$@"
14563 if wine_fn_has_flag install-lib $ac_flags
14566 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14567 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
14568 install install-lib:: $ac_dir/__install-lib__
14569 __uninstall__: $ac_dir/__uninstall__"
14570 if test -n "$DLLEXT"
14572 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14573 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
14574 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
14575 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
14576 $ac_dir/__uninstall__::
14577 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
14579 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14580 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
14581 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
14582 $ac_dir/__uninstall__::
14583 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
14587 wine_fn_pot_rules $ac_dir $ac_flags
14590 if wine_fn_has_flag staticimplib $ac_flags
14592 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14593 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
14594 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
14595 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
14596 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
14597 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
14598 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
14599 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
14600 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
14601 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14602 $ac_dir/__uninstall__::
14603 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14604 install install-dev:: $ac_dir/__install-dev__
14605 __uninstall__: $ac_dir/__uninstall__"
14607 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
14609 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14610 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
14611 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
14612 $ac_dir/__uninstall__::
14613 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
14616 if test "x$CROSSTEST_DISABLE" = x
14618 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14619 "__builddeps__: $ac_file.cross.a
14620 $ac_file.cross.a: $ac_dir/Makefile dummy
14621 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
14624 elif wine_fn_has_flag implib $ac_flags
14626 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14627 "__builddeps__: $ac_file.$IMPLIBEXT
14628 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14629 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14630 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14631 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14632 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
14633 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
14634 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14635 $ac_dir/__uninstall__::
14636 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14637 install install-dev:: $ac_dir/__install-dev__
14638 __uninstall__: $ac_dir/__uninstall__"
14639 if test "x$CROSSTEST_DISABLE" = x
14641 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14642 "__builddeps__: $ac_file.cross.a
14643 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14644 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
14647 if test "$ac_name" != "$ac_implib"
14649 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14650 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
14651 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
14652 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
14654 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
14655 if test "x$CROSSTEST_DISABLE" = x
14657 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14658 "__builddeps__: dlls/lib$ac_implib.cross.a
14659 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
14660 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
14666 wine_fn_config_program ()
14669 ac_dir=programs/$ac_name
14672 ac_program=$ac_name
14676 *) ac_program=$ac_program.exe ;;
14679 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" programs/Makeprog.rules
14681 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14684 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14685 "$ac_dir: __builddeps__"
14687 wine_fn_pot_rules $ac_dir $ac_flags
14689 wine_fn_has_flag install $ac_flags || return
14690 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14691 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14692 install install-lib:: $ac_dir/__install__
14693 __uninstall__: $ac_dir/__uninstall__"
14695 if test -n "$DLLEXT"
14697 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14698 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
14699 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
14700 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
14701 $ac_dir/__uninstall__::
14702 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
14704 if test "x$enable_tools" != xno && wine_fn_has_flag installbin $ac_flags
14706 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14707 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
14708 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
14709 $ac_dir/__uninstall__::
14710 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
14713 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14714 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
14715 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
14716 $ac_dir/__uninstall__::
14717 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
14720 if test "x$enable_tools" != xno && wine_fn_has_flag manpage $ac_flags
14722 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14723 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
14724 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
14725 $ac_dir/__uninstall__::
14726 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
14731 wine_fn_config_test ()
14736 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
14737 wine_fn_all_dir_rules $ac_dir Maketest.rules
14739 if test "x$enable_tests" = xno; then :
14742 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14745 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
14746 @cd $ac_dir && \$(MAKE)
14747 programs/winetest: $ac_dir
14748 check test: $ac_dir/__test__
14749 .PHONY: $ac_dir/__test__
14750 $ac_dir/__test__: dummy
14751 @cd $ac_dir && \$(MAKE) test
14753 \$(RM) $ac_dir/*.ok"
14755 if test "x$CROSSTEST_DISABLE" = x
14757 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14758 "crosstest: $ac_dir/__crosstest__
14759 .PHONY: $ac_dir/__crosstest__
14760 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
14761 @cd $ac_dir && \$(MAKE) crosstest"
14766 wine_fn_config_tool ()
14770 if test "x$enable_tools" = xno; then :
14774 wine_fn_config_makefile $ac_dir enable_tools $ac_flags
14776 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__tooldeps__: $ac_dir"
14777 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: libs/port"
14779 tools/winebuild) wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(WINEBUILD): $ac_dir" ;;
14783 wine_fn_config_makerules ()
14787 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14788 "$ac_rules: $ac_rules.in $ac_deps config.status
14789 @./config.status $ac_rules
14794 wine_fn_config_symlink ()
14797 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14799 @./config.status $ac_link
14804 if test "x$CROSSTEST_DISABLE" != x
14806 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14808 @echo \"crosstest is not supported (mingw not installed?)\" && false"
14810 ac_config_links="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
14811 wine_fn_config_symlink dlls/shell32/AUTHORS
14812 ac_config_links="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
14813 test "$srcdir" = "." || wine_fn_config_symlink dlls/wineps.drv/generic.ppd
14814 if test "x$enable_fonts" != xno; then
14815 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
14816 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf
14818 if test "x$enable_fonts" != xno; then
14819 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
14820 test "$srcdir" = "." || wine_fn_config_symlink fonts/symbol.ttf
14822 if test "x$enable_fonts" != xno; then
14823 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
14824 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahoma.ttf
14826 if test "x$enable_fonts" != xno; then
14827 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
14828 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahomabd.ttf
14830 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
14831 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
14832 if test "x$enable_tools" != xno; then
14833 ac_config_links="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
14834 test "$srcdir" = "." || wine_fn_config_symlink tools/l_intl.nls
14836 ac_config_links="$ac_config_links wine:tools/winewrapper"
14837 wine_fn_config_symlink wine
14838 if test "x$enable_win64" != xno; then
14839 ac_config_links="$ac_config_links wine64:tools/winewrapper"
14840 wine_fn_config_symlink wine64
14843 ac_config_commands="$ac_config_commands dlls/gdi32/dibdrv"
14845 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
14847 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
14849 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
14851 ac_config_commands="$ac_config_commands dlls/user32/resources"
14853 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
14855 ac_config_commands="$ac_config_commands include/wine"
14858 wine_fn_config_makerules Make.rules
14859 MAKE_RULES=Make.rules
14860 ac_config_files="$ac_config_files Make.rules"
14862 wine_fn_config_makerules Maketest.rules Make.rules
14863 MAKE_TEST_RULES=Maketest.rules
14864 ac_config_files="$ac_config_files Maketest.rules"
14866 wine_fn_config_makerules dlls/Makedll.rules Make.rules
14867 MAKE_DLL_RULES=dlls/Makedll.rules
14868 ac_config_files="$ac_config_files dlls/Makedll.rules"
14870 wine_fn_config_makerules dlls/Makeimplib.rules Make.rules
14871 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
14872 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
14874 wine_fn_config_makerules programs/Makeprog.rules Make.rules
14875 MAKE_PROG_RULES=programs/Makeprog.rules
14876 ac_config_files="$ac_config_files programs/Makeprog.rules"
14879 wine_fn_config_dll acledit enable_acledit
14880 wine_fn_config_dll aclui enable_aclui implib
14881 wine_fn_config_dll activeds enable_activeds implib
14882 wine_fn_config_dll actxprxy enable_actxprxy
14883 wine_fn_config_lib adsiid
14884 wine_fn_config_dll advapi32 enable_advapi32 implib
14885 wine_fn_config_test dlls/advapi32/tests advapi32_test
14886 wine_fn_config_dll advpack enable_advpack implib
14887 wine_fn_config_test dlls/advpack/tests advpack_test
14888 wine_fn_config_dll amstream enable_amstream
14889 wine_fn_config_test dlls/amstream/tests amstream_test
14890 wine_fn_config_dll apphelp enable_apphelp
14891 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
14892 wine_fn_config_dll atl enable_atl implib
14893 wine_fn_config_test dlls/atl/tests atl_test
14894 wine_fn_config_dll authz enable_authz
14895 wine_fn_config_dll avicap32 enable_avicap32 implib
14896 wine_fn_config_dll avifil32 enable_avifil32 implib,po
14897 wine_fn_config_test dlls/avifil32/tests avifil32_test
14898 wine_fn_config_dll avifile.dll16 enable_win16
14899 wine_fn_config_dll avrt enable_avrt implib
14900 wine_fn_config_dll bcrypt enable_bcrypt
14901 wine_fn_config_dll browseui enable_browseui po
14902 wine_fn_config_test dlls/browseui/tests browseui_test
14903 wine_fn_config_dll cabinet enable_cabinet implib
14904 wine_fn_config_test dlls/cabinet/tests cabinet_test
14905 wine_fn_config_dll capi2032 enable_capi2032 implib
14906 wine_fn_config_dll cards enable_cards implib
14907 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
14908 wine_fn_config_dll clusapi enable_clusapi implib
14909 wine_fn_config_dll comcat enable_comcat
14910 wine_fn_config_test dlls/comcat/tests comcat_test
14911 wine_fn_config_dll comctl32 enable_comctl32 implib,po
14912 wine_fn_config_test dlls/comctl32/tests comctl32_test
14913 wine_fn_config_dll comdlg32 enable_comdlg32 implib,po
14914 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
14915 wine_fn_config_dll comm.drv16 enable_win16
14916 wine_fn_config_dll commdlg.dll16 enable_win16
14917 wine_fn_config_dll compobj.dll16 enable_win16
14918 wine_fn_config_dll compstui enable_compstui implib
14919 wine_fn_config_dll credui enable_credui implib,po
14920 wine_fn_config_test dlls/credui/tests credui_test
14921 wine_fn_config_dll crtdll enable_crtdll implib
14922 wine_fn_config_dll crypt32 enable_crypt32 implib,po
14923 wine_fn_config_test dlls/crypt32/tests crypt32_test
14924 wine_fn_config_dll cryptdlg enable_cryptdlg po
14925 wine_fn_config_dll cryptdll enable_cryptdll implib
14926 wine_fn_config_dll cryptnet enable_cryptnet implib
14927 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
14928 wine_fn_config_dll cryptui enable_cryptui implib,po
14929 wine_fn_config_test dlls/cryptui/tests cryptui_test
14930 wine_fn_config_dll ctapi32 enable_ctapi32
14931 wine_fn_config_dll ctl3d.dll16 enable_win16
14932 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
14933 wine_fn_config_dll ctl3dv2.dll16 enable_win16
14934 wine_fn_config_dll d3d10 enable_d3d10 implib
14935 wine_fn_config_test dlls/d3d10/tests d3d10_test
14936 wine_fn_config_dll d3d10core enable_d3d10core implib
14937 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
14938 wine_fn_config_dll d3d8 enable_d3d8 implib
14939 wine_fn_config_test dlls/d3d8/tests d3d8_test
14940 wine_fn_config_dll d3d9 enable_d3d9 implib
14941 wine_fn_config_test dlls/d3d9/tests d3d9_test
14942 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
14943 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
14944 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
14945 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
14946 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
14947 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
14948 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
14949 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
14950 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
14951 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
14952 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
14953 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
14954 wine_fn_config_dll d3dim enable_d3dim implib
14955 wine_fn_config_dll d3drm enable_d3drm implib
14956 wine_fn_config_test dlls/d3drm/tests d3drm_test
14957 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
14958 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
14959 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
14960 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
14961 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
14962 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
14963 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
14964 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
14965 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
14966 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
14967 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
14968 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
14969 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
14970 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
14971 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
14972 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
14973 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
14974 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
14975 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
14976 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
14977 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
14978 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
14979 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
14980 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
14981 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
14982 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
14983 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
14984 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
14985 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
14986 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
14987 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
14988 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
14989 wine_fn_config_dll d3dxof enable_d3dxof implib
14990 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
14991 wine_fn_config_dll dbgeng enable_dbgeng implib
14992 wine_fn_config_dll dbghelp enable_dbghelp implib
14993 wine_fn_config_dll dciman32 enable_dciman32 implib
14994 wine_fn_config_dll ddeml.dll16 enable_win16
14995 wine_fn_config_dll ddraw enable_ddraw implib
14996 wine_fn_config_test dlls/ddraw/tests ddraw_test
14997 wine_fn_config_dll ddrawex enable_ddrawex
14998 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
14999 wine_fn_config_dll devenum enable_devenum po
15000 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
15001 wine_fn_config_dll dinput enable_dinput implib,po,staticimplib
15002 wine_fn_config_test dlls/dinput/tests dinput_test
15003 wine_fn_config_dll dinput8 enable_dinput8 implib
15004 wine_fn_config_test dlls/dinput8/tests dinput8_test
15005 wine_fn_config_dll dispdib.dll16 enable_win16
15006 wine_fn_config_dll dispex enable_dispex
15007 wine_fn_config_test dlls/dispex/tests dispex_test
15008 wine_fn_config_dll display.drv16 enable_win16
15009 wine_fn_config_dll dmband enable_dmband
15010 wine_fn_config_dll dmcompos enable_dmcompos
15011 wine_fn_config_dll dmime enable_dmime
15012 wine_fn_config_test dlls/dmime/tests dmime_test
15013 wine_fn_config_dll dmloader enable_dmloader
15014 wine_fn_config_test dlls/dmloader/tests dmloader_test
15015 wine_fn_config_dll dmscript enable_dmscript
15016 wine_fn_config_dll dmstyle enable_dmstyle
15017 wine_fn_config_dll dmsynth enable_dmsynth
15018 wine_fn_config_dll dmusic enable_dmusic
15019 wine_fn_config_dll dmusic32 enable_dmusic32 implib
15020 wine_fn_config_dll dnsapi enable_dnsapi implib
15021 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
15022 wine_fn_config_dll dplay enable_dplay implib
15023 wine_fn_config_dll dplayx enable_dplayx implib
15024 wine_fn_config_test dlls/dplayx/tests dplayx_test
15025 wine_fn_config_dll dpnaddr enable_dpnaddr
15026 wine_fn_config_dll dpnet enable_dpnet implib
15027 wine_fn_config_test dlls/dpnet/tests dpnet_test
15028 wine_fn_config_dll dpnhpast enable_dpnhpast
15029 wine_fn_config_dll dpnlobby enable_dpnlobby
15030 wine_fn_config_dll dpwsockx enable_dpwsockx
15031 wine_fn_config_dll drmclien enable_drmclien
15032 wine_fn_config_dll dsound enable_dsound implib
15033 wine_fn_config_test dlls/dsound/tests dsound_test
15034 wine_fn_config_dll dssenh enable_dssenh
15035 wine_fn_config_dll dswave enable_dswave
15036 wine_fn_config_dll dwmapi enable_dwmapi implib
15037 wine_fn_config_dll dxdiagn enable_dxdiagn po
15038 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
15039 wine_fn_config_lib dxerr8
15040 wine_fn_config_lib dxerr9
15041 wine_fn_config_dll dxgi enable_dxgi implib
15042 wine_fn_config_test dlls/dxgi/tests dxgi_test
15043 wine_fn_config_lib dxguid
15044 wine_fn_config_dll explorerframe enable_explorerframe
15045 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
15046 wine_fn_config_dll faultrep enable_faultrep implib
15047 wine_fn_config_test dlls/faultrep/tests faultrep_test
15048 wine_fn_config_dll fltlib enable_fltlib
15049 wine_fn_config_dll fusion enable_fusion
15050 wine_fn_config_test dlls/fusion/tests fusion_test
15051 wine_fn_config_dll fwpuclnt enable_fwpuclnt
15052 wine_fn_config_dll gameux enable_gameux
15053 wine_fn_config_test dlls/gameux/tests gameux_test
15054 wine_fn_config_dll gdi.exe16 enable_win16
15055 wine_fn_config_dll gdi32 enable_gdi32 implib,po
15056 wine_fn_config_test dlls/gdi32/tests gdi32_test
15057 wine_fn_config_dll gdiplus enable_gdiplus implib
15058 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
15059 wine_fn_config_dll glu32 enable_glu32 implib
15060 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
15061 wine_fn_config_dll gpkcsp enable_gpkcsp
15062 wine_fn_config_dll hal enable_hal
15063 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx po
15064 wine_fn_config_dll hid enable_hid implib
15065 wine_fn_config_dll hlink enable_hlink implib
15066 wine_fn_config_test dlls/hlink/tests hlink_test
15067 wine_fn_config_dll hnetcfg enable_hnetcfg
15068 wine_fn_config_dll httpapi enable_httpapi
15069 wine_fn_config_dll iccvid enable_iccvid po
15070 wine_fn_config_dll icmp enable_icmp
15071 wine_fn_config_dll ieframe enable_ieframe implib,po
15072 wine_fn_config_test dlls/ieframe/tests ieframe_test
15073 wine_fn_config_dll ifsmgr.vxd enable_win16
15074 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
15075 wine_fn_config_dll imagehlp enable_imagehlp implib
15076 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
15077 wine_fn_config_dll imm.dll16 enable_win16
15078 wine_fn_config_dll imm32 enable_imm32 implib
15079 wine_fn_config_test dlls/imm32/tests imm32_test
15080 wine_fn_config_dll inetcomm enable_inetcomm implib
15081 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
15082 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
15083 wine_fn_config_dll inetmib1 enable_inetmib1
15084 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
15085 wine_fn_config_dll infosoft enable_infosoft
15086 wine_fn_config_test dlls/infosoft/tests infosoft_test
15087 wine_fn_config_dll initpki enable_initpki
15088 wine_fn_config_dll inkobj enable_inkobj
15089 wine_fn_config_dll inseng enable_inseng
15090 wine_fn_config_dll iphlpapi enable_iphlpapi implib
15091 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
15092 wine_fn_config_dll itircl enable_itircl
15093 wine_fn_config_dll itss enable_itss
15094 wine_fn_config_test dlls/itss/tests itss_test
15095 wine_fn_config_dll jscript enable_jscript po
15096 wine_fn_config_test dlls/jscript/tests jscript_test
15097 wine_fn_config_dll kernel32 enable_kernel32 implib,mc
15098 wine_fn_config_test dlls/kernel32/tests kernel32_test
15099 wine_fn_config_dll keyboard.drv16 enable_win16
15100 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
15101 wine_fn_config_dll ktmw32 enable_ktmw32
15102 wine_fn_config_dll loadperf enable_loadperf implib
15103 wine_fn_config_dll localspl enable_localspl po
15104 wine_fn_config_test dlls/localspl/tests localspl_test
15105 wine_fn_config_dll localui enable_localui po
15106 wine_fn_config_test dlls/localui/tests localui_test
15107 wine_fn_config_dll lz32 enable_lz32 implib
15108 wine_fn_config_test dlls/lz32/tests lz32_test
15109 wine_fn_config_dll lzexpand.dll16 enable_win16
15110 wine_fn_config_dll mapi32 enable_mapi32 implib,po
15111 wine_fn_config_test dlls/mapi32/tests mapi32_test
15112 wine_fn_config_dll mapistub enable_mapistub
15113 wine_fn_config_dll mciavi32 enable_mciavi32
15114 wine_fn_config_dll mcicda enable_mcicda
15115 wine_fn_config_dll mciqtz32 enable_mciqtz32
15116 wine_fn_config_dll mciseq enable_mciseq
15117 wine_fn_config_dll mciwave enable_mciwave
15118 wine_fn_config_dll mgmtapi enable_mgmtapi
15119 wine_fn_config_dll midimap enable_midimap
15120 wine_fn_config_dll mlang enable_mlang implib
15121 wine_fn_config_test dlls/mlang/tests mlang_test
15122 wine_fn_config_dll mmcndmgr enable_mmcndmgr
15123 wine_fn_config_dll mmdevapi enable_mmdevapi
15124 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
15125 wine_fn_config_dll mmdevldr.vxd enable_win16
15126 wine_fn_config_dll mmsystem.dll16 enable_win16
15127 wine_fn_config_dll monodebg.vxd enable_win16
15128 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
15129 wine_fn_config_dll mouse.drv16 enable_win16
15130 wine_fn_config_dll mpr enable_mpr implib,po
15131 wine_fn_config_dll mprapi enable_mprapi implib
15132 wine_fn_config_dll msacm.dll16 enable_win16
15133 wine_fn_config_dll msacm32.drv enable_msacm32_drv
15134 wine_fn_config_dll msacm32 enable_msacm32 implib,po
15135 wine_fn_config_test dlls/msacm32/tests msacm32_test
15136 wine_fn_config_dll msadp32.acm enable_msadp32_acm
15137 wine_fn_config_dll mscat32 enable_mscat32
15138 wine_fn_config_dll mscms enable_mscms implib
15139 wine_fn_config_test dlls/mscms/tests mscms_test
15140 wine_fn_config_dll mscoree enable_mscoree
15141 wine_fn_config_test dlls/mscoree/tests mscoree_test
15142 wine_fn_config_dll msctf enable_msctf
15143 wine_fn_config_test dlls/msctf/tests msctf_test
15144 wine_fn_config_dll msdaps enable_msdaps
15145 wine_fn_config_dll msdmo enable_msdmo implib
15146 wine_fn_config_dll msftedit enable_msftedit
15147 wine_fn_config_dll msg711.acm enable_msg711_acm
15148 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
15149 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
15150 wine_fn_config_dll mshtml enable_mshtml implib,po
15151 wine_fn_config_test dlls/mshtml/tests mshtml_test
15152 wine_fn_config_dll msi enable_msi implib,po
15153 wine_fn_config_test dlls/msi/tests msi_test
15154 wine_fn_config_dll msident enable_msident
15155 wine_fn_config_dll msimg32 enable_msimg32 implib
15156 wine_fn_config_dll msimsg enable_msimsg
15157 wine_fn_config_dll msimtf enable_msimtf
15158 wine_fn_config_dll msisip enable_msisip
15159 wine_fn_config_dll msisys.ocx enable_msisys_ocx
15160 wine_fn_config_dll msnet32 enable_msnet32
15161 wine_fn_config_dll mspatcha enable_mspatcha
15162 wine_fn_config_dll msrle32 enable_msrle32 po
15163 wine_fn_config_dll mssign32 enable_mssign32
15164 wine_fn_config_dll mssip32 enable_mssip32
15165 wine_fn_config_dll mstask enable_mstask
15166 wine_fn_config_test dlls/mstask/tests mstask_test
15167 wine_fn_config_dll msvcirt enable_msvcirt
15168 wine_fn_config_dll msvcp100 enable_msvcp100
15169 wine_fn_config_dll msvcp60 enable_msvcp60
15170 wine_fn_config_dll msvcp70 enable_msvcp70
15171 wine_fn_config_dll msvcp71 enable_msvcp71
15172 wine_fn_config_dll msvcp80 enable_msvcp80
15173 wine_fn_config_dll msvcp90 enable_msvcp90
15174 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
15175 wine_fn_config_dll msvcr100 enable_msvcr100
15176 wine_fn_config_dll msvcr70 enable_msvcr70 implib
15177 wine_fn_config_dll msvcr71 enable_msvcr71 implib
15178 wine_fn_config_dll msvcr80 enable_msvcr80
15179 wine_fn_config_dll msvcr90 enable_msvcr90
15180 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
15181 wine_fn_config_dll msvcrt enable_msvcrt implib
15182 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
15183 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
15184 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
15185 wine_fn_config_dll msvcrtd enable_msvcrtd implib
15186 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
15187 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
15188 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
15189 wine_fn_config_dll msvidc32 enable_msvidc32 po
15190 wine_fn_config_dll msvideo.dll16 enable_win16
15191 wine_fn_config_dll mswsock enable_mswsock implib
15192 wine_fn_config_dll msxml enable_msxml
15193 wine_fn_config_dll msxml2 enable_msxml2
15194 wine_fn_config_dll msxml3 enable_msxml3
15195 wine_fn_config_test dlls/msxml3/tests msxml3_test
15196 wine_fn_config_dll msxml4 enable_msxml4
15197 wine_fn_config_dll msxml6 enable_msxml6
15198 wine_fn_config_dll nddeapi enable_nddeapi implib
15199 wine_fn_config_dll netapi32 enable_netapi32 implib
15200 wine_fn_config_test dlls/netapi32/tests netapi32_test
15201 wine_fn_config_dll newdev enable_newdev implib
15202 wine_fn_config_dll normaliz enable_normaliz implib
15203 wine_fn_config_dll npmshtml enable_npmshtml
15204 wine_fn_config_dll ntdll enable_ntdll implib
15205 wine_fn_config_test dlls/ntdll/tests ntdll_test
15206 wine_fn_config_dll ntdsapi enable_ntdsapi implib
15207 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
15208 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
15209 wine_fn_config_dll ntprint enable_ntprint
15210 wine_fn_config_test dlls/ntprint/tests ntprint_test
15211 wine_fn_config_dll objsel enable_objsel
15212 wine_fn_config_dll odbc32 enable_odbc32 implib
15213 wine_fn_config_dll odbccp32 enable_odbccp32 implib
15214 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
15215 wine_fn_config_dll ole2.dll16 enable_win16
15216 wine_fn_config_dll ole2conv.dll16 enable_win16
15217 wine_fn_config_dll ole2disp.dll16 enable_win16
15218 wine_fn_config_dll ole2nls.dll16 enable_win16
15219 wine_fn_config_dll ole2prox.dll16 enable_win16
15220 wine_fn_config_dll ole2thk.dll16 enable_win16
15221 wine_fn_config_dll ole32 enable_ole32 implib
15222 wine_fn_config_test dlls/ole32/tests ole32_test
15223 wine_fn_config_dll oleacc enable_oleacc implib,po
15224 wine_fn_config_test dlls/oleacc/tests oleacc_test
15225 wine_fn_config_dll oleaut32 enable_oleaut32 implib,po
15226 wine_fn_config_test dlls/oleaut32/tests oleaut32_test
15227 wine_fn_config_dll olecli.dll16 enable_win16
15228 wine_fn_config_dll olecli32 enable_olecli32 implib
15229 wine_fn_config_dll oledb32 enable_oledb32
15230 wine_fn_config_test dlls/oledb32/tests oledb32_test
15231 wine_fn_config_dll oledlg enable_oledlg implib,po
15232 wine_fn_config_dll olepro32 enable_olepro32 implib
15233 wine_fn_config_dll olesvr.dll16 enable_win16
15234 wine_fn_config_dll olesvr32 enable_olesvr32 implib
15235 wine_fn_config_dll olethk32 enable_olethk32
15236 wine_fn_config_dll openal32 enable_openal32
15237 wine_fn_config_dll opencl enable_opencl
15238 wine_fn_config_dll opengl32 enable_opengl32 implib
15239 wine_fn_config_test dlls/opengl32/tests opengl32_test
15240 wine_fn_config_dll pdh enable_pdh implib
15241 wine_fn_config_test dlls/pdh/tests pdh_test
15242 wine_fn_config_dll photometadatahandler enable_photometadatahandler
15243 wine_fn_config_dll pidgen enable_pidgen
15244 wine_fn_config_dll powrprof enable_powrprof implib
15245 wine_fn_config_dll printui enable_printui
15246 wine_fn_config_dll propsys enable_propsys implib
15247 wine_fn_config_test dlls/propsys/tests propsys_test
15248 wine_fn_config_dll psapi enable_psapi implib
15249 wine_fn_config_test dlls/psapi/tests psapi_test
15250 wine_fn_config_dll pstorec enable_pstorec
15251 wine_fn_config_dll qcap enable_qcap
15252 wine_fn_config_dll qedit enable_qedit
15253 wine_fn_config_test dlls/qedit/tests qedit_test
15254 wine_fn_config_dll qmgr enable_qmgr
15255 wine_fn_config_test dlls/qmgr/tests qmgr_test
15256 wine_fn_config_dll qmgrprxy enable_qmgrprxy
15257 wine_fn_config_dll quartz enable_quartz implib
15258 wine_fn_config_test dlls/quartz/tests quartz_test
15259 wine_fn_config_dll query enable_query
15260 wine_fn_config_dll rasapi16.dll16 enable_win16
15261 wine_fn_config_dll rasapi32 enable_rasapi32 implib
15262 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
15263 wine_fn_config_dll rasdlg enable_rasdlg implib
15264 wine_fn_config_dll regapi enable_regapi
15265 wine_fn_config_dll resutils enable_resutils implib
15266 wine_fn_config_dll riched20 enable_riched20 implib
15267 wine_fn_config_test dlls/riched20/tests riched20_test
15268 wine_fn_config_dll riched32 enable_riched32
15269 wine_fn_config_test dlls/riched32/tests riched32_test
15270 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
15271 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test
15272 wine_fn_config_dll rsabase enable_rsabase
15273 wine_fn_config_dll rsaenh enable_rsaenh implib
15274 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
15275 wine_fn_config_dll rstrtmgr enable_rstrtmgr
15276 wine_fn_config_dll rtutils enable_rtutils implib
15277 wine_fn_config_dll samlib enable_samlib
15278 wine_fn_config_dll sane.ds enable_sane_ds po
15279 wine_fn_config_dll scarddlg enable_scarddlg
15280 wine_fn_config_dll sccbase enable_sccbase
15281 wine_fn_config_dll schannel enable_schannel
15282 wine_fn_config_test dlls/schannel/tests schannel_test
15283 wine_fn_config_dll scrrun enable_scrrun
15284 wine_fn_config_dll secur32 enable_secur32 implib
15285 wine_fn_config_test dlls/secur32/tests secur32_test
15286 wine_fn_config_dll security enable_security
15287 wine_fn_config_dll sensapi enable_sensapi implib
15288 wine_fn_config_dll serialui enable_serialui implib,po
15289 wine_fn_config_test dlls/serialui/tests serialui_test
15290 wine_fn_config_dll setupapi enable_setupapi implib,po
15291 wine_fn_config_test dlls/setupapi/tests setupapi_test
15292 wine_fn_config_dll setupx.dll16 enable_win16
15293 wine_fn_config_dll sfc enable_sfc implib
15294 wine_fn_config_dll sfc_os enable_sfc_os implib
15295 wine_fn_config_dll shdoclc enable_shdoclc po
15296 wine_fn_config_dll shdocvw enable_shdocvw implib
15297 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
15298 wine_fn_config_dll shell.dll16 enable_win16
15299 wine_fn_config_dll shell32 enable_shell32 implib,po
15300 wine_fn_config_test dlls/shell32/tests shell32_test
15301 wine_fn_config_dll shfolder enable_shfolder implib
15302 wine_fn_config_dll shlwapi enable_shlwapi implib,po
15303 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
15304 wine_fn_config_dll slbcsp enable_slbcsp
15305 wine_fn_config_dll slc enable_slc implib
15306 wine_fn_config_dll snmpapi enable_snmpapi implib
15307 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
15308 wine_fn_config_dll softpub enable_softpub
15309 wine_fn_config_dll sound.drv16 enable_win16
15310 wine_fn_config_dll spoolss enable_spoolss implib
15311 wine_fn_config_test dlls/spoolss/tests spoolss_test
15312 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
15313 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
15314 wine_fn_config_dll sti enable_sti implib
15315 wine_fn_config_test dlls/sti/tests sti_test
15316 wine_fn_config_dll storage.dll16 enable_win16
15317 wine_fn_config_dll stress.dll16 enable_win16
15318 wine_fn_config_lib strmbase
15319 wine_fn_config_lib strmiids
15320 wine_fn_config_dll svrapi enable_svrapi
15321 wine_fn_config_dll sxs enable_sxs
15322 wine_fn_config_dll system.drv16 enable_win16
15323 wine_fn_config_dll t2embed enable_t2embed
15324 wine_fn_config_dll tapi32 enable_tapi32 implib
15325 wine_fn_config_dll toolhelp.dll16 enable_win16
15326 wine_fn_config_dll traffic enable_traffic
15327 wine_fn_config_dll twain.dll16 enable_win16
15328 wine_fn_config_dll twain_32 enable_twain_32
15329 wine_fn_config_test dlls/twain_32/tests twain_32_test
15330 wine_fn_config_dll typelib.dll16 enable_win16
15331 wine_fn_config_dll unicows enable_unicows implib
15332 wine_fn_config_dll updspapi enable_updspapi
15333 wine_fn_config_dll url enable_url implib
15334 wine_fn_config_dll urlmon enable_urlmon implib
15335 wine_fn_config_test dlls/urlmon/tests urlmon_test
15336 wine_fn_config_dll usbd.sys enable_usbd_sys implib
15337 wine_fn_config_dll user.exe16 enable_win16
15338 wine_fn_config_dll user32 enable_user32 implib,po
15339 wine_fn_config_test dlls/user32/tests user32_test
15340 wine_fn_config_dll userenv enable_userenv implib
15341 wine_fn_config_test dlls/userenv/tests userenv_test
15342 wine_fn_config_dll usp10 enable_usp10 implib
15343 wine_fn_config_test dlls/usp10/tests usp10_test
15344 wine_fn_config_lib uuid
15345 wine_fn_config_dll uxtheme enable_uxtheme implib
15346 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
15347 wine_fn_config_dll vbscript enable_vbscript
15348 wine_fn_config_test dlls/vbscript/tests vbscript_test
15349 wine_fn_config_dll vcomp enable_vcomp
15350 wine_fn_config_dll vdhcp.vxd enable_win16
15351 wine_fn_config_dll vdmdbg enable_vdmdbg implib
15352 wine_fn_config_dll ver.dll16 enable_win16
15353 wine_fn_config_dll version enable_version implib
15354 wine_fn_config_test dlls/version/tests version_test
15355 wine_fn_config_dll vmm.vxd enable_win16
15356 wine_fn_config_dll vnbt.vxd enable_win16
15357 wine_fn_config_dll vnetbios.vxd enable_win16
15358 wine_fn_config_dll vtdapi.vxd enable_win16
15359 wine_fn_config_dll vwin32.vxd enable_win16
15360 wine_fn_config_dll w32skrnl enable_win16
15361 wine_fn_config_dll w32sys.dll16 enable_win16
15362 wine_fn_config_dll wbemprox enable_wbemprox
15363 wine_fn_config_dll wer enable_wer implib
15364 wine_fn_config_test dlls/wer/tests wer_test
15365 wine_fn_config_dll wevtapi enable_wevtapi
15366 wine_fn_config_dll wiaservc enable_wiaservc
15367 wine_fn_config_dll win32s16.dll16 enable_win16
15368 wine_fn_config_dll win87em.dll16 enable_win16
15369 wine_fn_config_dll winaspi.dll16 enable_win16
15370 wine_fn_config_dll windebug.dll16 enable_win16
15371 wine_fn_config_dll windowscodecs enable_windowscodecs implib
15372 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
15373 wine_fn_config_dll winealsa.drv enable_winealsa_drv
15374 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
15375 wine_fn_config_lib winecrt0
15376 wine_fn_config_dll wined3d enable_wined3d implib
15377 wine_fn_config_dll winegstreamer enable_winegstreamer
15378 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
15379 wine_fn_config_dll winemapi enable_winemapi
15380 wine_fn_config_dll winemp3.acm enable_winemp3_acm
15381 wine_fn_config_dll wineoss.drv enable_wineoss_drv
15382 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib,po
15383 wine_fn_config_dll wineps16.drv16 enable_win16
15384 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
15385 wine_fn_config_dll winequartz.drv enable_winequartz_drv
15386 wine_fn_config_dll winex11.drv enable_winex11_drv
15387 wine_fn_config_dll wing.dll16 enable_win16
15388 wine_fn_config_dll wing32 enable_wing32
15389 wine_fn_config_dll winhttp enable_winhttp implib
15390 wine_fn_config_test dlls/winhttp/tests winhttp_test
15391 wine_fn_config_dll wininet enable_wininet implib,po
15392 wine_fn_config_test dlls/wininet/tests wininet_test
15393 wine_fn_config_dll winmm enable_winmm implib,po
15394 wine_fn_config_test dlls/winmm/tests winmm_test
15395 wine_fn_config_dll winnls.dll16 enable_win16
15396 wine_fn_config_dll winnls32 enable_winnls32 implib
15397 wine_fn_config_dll winscard enable_winscard implib
15398 wine_fn_config_dll winsock.dll16 enable_win16
15399 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
15400 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
15401 wine_fn_config_dll winsta enable_winsta
15402 wine_fn_config_dll wintab.dll16 enable_win16
15403 wine_fn_config_dll wintab32 enable_wintab32 implib
15404 wine_fn_config_test dlls/wintab32/tests wintab32_test
15405 wine_fn_config_dll wintrust enable_wintrust implib
15406 wine_fn_config_test dlls/wintrust/tests wintrust_test
15407 wine_fn_config_dll wlanapi enable_wlanapi
15408 wine_fn_config_dll wldap32 enable_wldap32 implib,po
15409 wine_fn_config_test dlls/wldap32/tests wldap32_test
15410 wine_fn_config_dll wmi enable_wmi
15411 wine_fn_config_dll wmiutils enable_wmiutils
15412 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
15413 wine_fn_config_dll wow32 enable_win16 implib
15414 wine_fn_config_dll ws2_32 enable_ws2_32 implib
15415 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
15416 wine_fn_config_dll wshom.ocx enable_wshom_ocx
15417 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test
15418 wine_fn_config_dll wsock32 enable_wsock32 implib
15419 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
15420 wine_fn_config_dll wuapi enable_wuapi
15421 wine_fn_config_dll wuaueng enable_wuaueng
15422 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
15423 wine_fn_config_dll xinput1_1 enable_xinput1_1
15424 wine_fn_config_dll xinput1_2 enable_xinput1_2
15425 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
15426 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
15427 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
15428 wine_fn_config_dll xmllite enable_xmllite
15429 wine_fn_config_test dlls/xmllite/tests xmllite_test
15430 wine_fn_config_dll xolehlp enable_xolehlp
15431 wine_fn_config_dll xpsprint enable_xpsprint
15432 wine_fn_config_makefile documentation enable_documentation
15433 wine_fn_config_makefile fonts enable_fonts install-lib
15434 wine_fn_config_makefile include enable_include install-dev
15435 wine_fn_config_makefile libs/port enable_libs_port
15436 wine_fn_config_makefile libs/wine enable_libs_wine install-dev,install-lib
15437 wine_fn_config_makefile libs/wpp enable_libs_wpp
15438 wine_fn_config_makefile loader enable_loader install-lib,manpage
15439 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
15440 wine_fn_config_program attrib enable_attrib install,po
15441 wine_fn_config_program cabarc enable_cabarc install
15442 wine_fn_config_program cacls enable_cacls install
15443 wine_fn_config_program clock enable_clock install,po
15444 wine_fn_config_program cmd enable_cmd install,po
15445 wine_fn_config_test programs/cmd/tests cmd.exe_test
15446 wine_fn_config_program control enable_control install
15447 wine_fn_config_program cscript enable_cscript install
15448 wine_fn_config_program dxdiag enable_dxdiag install,po
15449 wine_fn_config_program eject enable_eject install
15450 wine_fn_config_program expand enable_expand install
15451 wine_fn_config_program explorer enable_explorer install,po
15452 wine_fn_config_program extrac32 enable_extrac32 install
15453 wine_fn_config_program hh enable_hh install
15454 wine_fn_config_program hostname enable_hostname install,po
15455 wine_fn_config_program icinfo enable_icinfo install
15456 wine_fn_config_program iexplore enable_iexplore install
15457 wine_fn_config_program ipconfig enable_ipconfig install,po
15458 wine_fn_config_program lodctr enable_lodctr install
15459 wine_fn_config_program mofcomp enable_mofcomp install
15460 wine_fn_config_program mshta enable_mshta install
15461 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
15462 wine_fn_config_program net enable_net install,po
15463 wine_fn_config_program netsh enable_netsh install
15464 wine_fn_config_program ngen enable_ngen install
15465 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
15466 wine_fn_config_program oleview enable_oleview install,po
15467 wine_fn_config_program ping enable_ping install
15468 wine_fn_config_program plugplay enable_plugplay install
15469 wine_fn_config_program presentationfontcache enable_presentationfontcache install
15470 wine_fn_config_program progman enable_progman install,po
15471 wine_fn_config_program reg enable_reg install,po
15472 wine_fn_config_program regasm enable_regasm install
15473 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
15474 wine_fn_config_test programs/regedit/tests regedit.exe_test
15475 wine_fn_config_program regsvcs enable_regsvcs install
15476 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
15477 wine_fn_config_program rpcss enable_rpcss install
15478 wine_fn_config_program rundll.exe16 enable_win16 install
15479 wine_fn_config_program rundll32 enable_rundll32 install
15480 wine_fn_config_program sc enable_sc install
15481 wine_fn_config_program secedit enable_secedit install
15482 wine_fn_config_program servicemodelreg enable_servicemodelreg install
15483 wine_fn_config_program services enable_services install
15484 wine_fn_config_program spoolsv enable_spoolsv install
15485 wine_fn_config_program start enable_start install,po
15486 wine_fn_config_program svchost enable_svchost install
15487 wine_fn_config_program taskkill enable_taskkill install,po
15488 wine_fn_config_program taskmgr enable_taskmgr install,po
15489 wine_fn_config_program termsv enable_termsv install
15490 wine_fn_config_program uninstaller enable_uninstaller install,po
15491 wine_fn_config_program unlodctr enable_unlodctr install
15492 wine_fn_config_program view enable_view install,po
15493 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
15494 wine_fn_config_program winebrowser enable_winebrowser install
15495 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
15496 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
15497 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
15498 wine_fn_config_program winedevice enable_winedevice install
15499 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
15500 wine_fn_config_program winemenubuilder enable_winemenubuilder install
15501 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
15502 wine_fn_config_program winemsibuilder enable_winemsibuilder install
15503 wine_fn_config_program winepath enable_winepath install,installbin,manpage
15504 wine_fn_config_program winetest enable_winetest
15505 wine_fn_config_program winevdm enable_win16 install
15506 wine_fn_config_program winhelp.exe16 enable_win16 install
15507 wine_fn_config_program winhlp32 enable_winhlp32 install,po
15508 wine_fn_config_program winoldap.mod16 enable_win16 install
15509 wine_fn_config_program winver enable_winver install
15510 wine_fn_config_program wmic enable_wmic install
15511 wine_fn_config_program wordpad enable_wordpad install,po
15512 wine_fn_config_program write enable_write install,po
15513 wine_fn_config_program wscript enable_wscript install
15514 wine_fn_config_test programs/wscript/tests wscript.exe_test
15515 wine_fn_config_program wusa enable_wusa install
15516 wine_fn_config_program xcopy enable_xcopy install,po
15517 wine_fn_config_makefile server enable_server install-lib,manpage
15518 wine_fn_config_tool tools install-dev,install-lib,manpage
15519 wine_fn_config_tool tools/widl install-dev,manpage
15520 wine_fn_config_tool tools/winebuild install-dev,manpage
15521 wine_fn_config_tool tools/winedump install-dev,manpage
15522 wine_fn_config_tool tools/winegcc install-dev,manpage
15523 wine_fn_config_tool tools/wmc install-dev,manpage
15524 wine_fn_config_tool tools/wrc install-dev,manpage
15574 ac_config_commands="$ac_config_commands Makefile"
15577 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
15581 if test "x$enable_maintainer_mode" = xyes
15583 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(srcdir)/configure: configure.ac aclocal.m4
15584 cd \$(srcdir) && autoconf --warnings=all
15585 \$(srcdir)/include/config.h.in: include/stamp-h.in
15586 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
15587 cd \$(srcdir) && autoheader --warnings=all
15588 @echo timestamp > \$@"
15591 if test "x$with_gettextpo" = xyes
15593 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
15594 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "ALL_POT_FILES =$ALL_POT_FILES
15595 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
15596 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
15597 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
15598 msgcat -o \$@ \$(ALL_POT_FILES)"
15601 if test "$MSGFMT" != false
15603 PORCFLAGS="--po-dir=\$(top_builddir)/po"
15605 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: \$(ALL_MO_FILES)"
15610 if test "x$enable_tools" != xno
15612 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(MAKEDEP): tools/Makefile
15614 \$(RM) tools/makedep\$(EXEEXT)"
15617 if test -n "$with_wine64"
15619 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
15620 fonts server tools:
15621 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
15622 $with_wine64/loader/wine:
15623 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
15624 $with_wine64/loader/wine-preloader:
15625 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
15627 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
15630 cat >confcache <<\_ACEOF
15631 # This file is a shell script that caches the results of configure
15632 # tests run on this system so they can be shared between configure
15633 # scripts and configure runs, see configure's option --config-cache.
15634 # It is not useful on other systems. If it contains results you don't
15635 # want to keep, you may remove or edit it.
15637 # config.status only pays attention to the cache file if you give it
15638 # the --recheck option to rerun configure.
15640 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15641 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15642 # following values.
15646 # The following way of writing the cache mishandles newlines in values,
15647 # but we know of no workaround that is simple, portable, and efficient.
15648 # So, we kill variables containing newlines.
15649 # Ultrix sh set writes to stderr and can't be redirected directly,
15650 # and sets the high bit in the cache file unless we assign to the vars.
15652 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15653 eval ac_val=\$$ac_var
15657 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15658 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15661 _ | IFS | as_nl) ;; #(
15662 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15663 *) { eval $ac_var=; unset $ac_var;} ;;
15669 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15670 *${as_nl}ac_space=\ *)
15671 # `set' does not quote correctly, so add quotes: double-quote
15672 # substitution turns \\\\ into \\, and sed turns \\ into \.
15675 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15678 # `set' quotes correctly as required by POSIX, so do not add quotes.
15679 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15688 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15690 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15692 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15693 if test -w "$cache_file"; then
15694 if test "x$cache_file" != "x/dev/null"; then
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15696 $as_echo "$as_me: updating cache $cache_file" >&6;}
15697 if test ! -f "$cache_file" || test -h "$cache_file"; then
15698 cat confcache >"$cache_file"
15700 case $cache_file in #(
15702 mv -f confcache "$cache_file"$$ &&
15703 mv -f "$cache_file"$$ "$cache_file" ;; #(
15705 mv -f confcache "$cache_file" ;;
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15711 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15716 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15717 # Let make expand exec_prefix.
15718 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15720 DEFS=-DHAVE_CONFIG_H
15725 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15726 # 1. Remove the extension, and $U if already installed.
15727 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15728 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15729 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15730 # will be set to the directory where LIBOBJS objects are built.
15731 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15732 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15734 LIBOBJS=$ac_libobjs
15736 LTLIBOBJS=$ac_ltlibobjs
15740 : "${CONFIG_STATUS=./config.status}"
15742 ac_clean_files_save=$ac_clean_files
15743 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15744 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15745 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15747 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15749 # Generated by $as_me.
15750 # Run this file to recreate the current configuration.
15751 # Compiler output produced by configure, useful for debugging
15752 # configure, is in config.log if it exists.
15755 ac_cs_recheck=false
15758 SHELL=\${CONFIG_SHELL-$SHELL}
15761 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15762 ## -------------------- ##
15763 ## M4sh Initialization. ##
15764 ## -------------------- ##
15766 # Be more Bourne compatible
15767 DUALCASE=1; export DUALCASE # for MKS sh
15768 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15771 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15772 # is contrary to our usage. Disable this feature.
15773 alias -g '${1+"$@"}'='"$@"'
15774 setopt NO_GLOB_SUBST
15776 case `(set -o) 2>/dev/null` in #(
15788 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15789 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15790 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15791 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15792 # Prefer a ksh shell builtin over an external printf program on Solaris,
15793 # but without wasting forks for bash or zsh.
15794 if test -z "$BASH_VERSION$ZSH_VERSION" \
15795 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15796 as_echo='print -r --'
15797 as_echo_n='print -rn --'
15798 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15799 as_echo='printf %s\n'
15800 as_echo_n='printf %s'
15802 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15803 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15804 as_echo_n='/usr/ucb/echo -n'
15806 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15807 as_echo_n_body='eval
15811 expr "X$arg" : "X\\(.*\\)$as_nl";
15812 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15814 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15816 export as_echo_n_body
15817 as_echo_n='sh -c $as_echo_n_body as_echo'
15819 export as_echo_body
15820 as_echo='sh -c $as_echo_body as_echo'
15823 # The user is always right.
15824 if test "${PATH_SEPARATOR+set}" != set; then
15826 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15827 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15834 # We need space, tab and new line, in precisely that order. Quoting is
15835 # there to prevent editors from complaining about space-tab.
15836 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15837 # splitting by setting IFS to empty value.)
15840 # Find who we are. Look in the path if we contain no directory separator.
15843 *[\\/]* ) as_myself=$0 ;;
15844 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15845 for as_dir in $PATH
15848 test -z "$as_dir" && as_dir=.
15849 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15855 # We did not find ourselves, most probably we were run as `sh COMMAND'
15856 # in which case we are not to be found in the path.
15857 if test "x$as_myself" = x; then
15860 if test ! -f "$as_myself"; then
15861 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15865 # Unset variables that we do not need and which cause bugs (e.g. in
15866 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15867 # suppresses any "Segmentation fault" message there. '((' could
15868 # trigger a bug in pdksh 5.2.14.
15869 for as_var in BASH_ENV ENV MAIL MAILPATH
15870 do eval test x\${$as_var+set} = xset \
15871 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15884 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15887 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15888 # ----------------------------------------
15889 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15890 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15891 # script with STATUS, using 1 if that was 0.
15894 as_status=$1; test $as_status -eq 0 && as_status=1
15896 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15897 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15899 $as_echo "$as_me: error: $2" >&2
15900 as_fn_exit $as_status
15904 # as_fn_set_status STATUS
15905 # -----------------------
15906 # Set $? to STATUS, without forking.
15907 as_fn_set_status ()
15910 } # as_fn_set_status
15912 # as_fn_exit STATUS
15913 # -----------------
15914 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15918 as_fn_set_status $1
15924 # Portably unset VAR.
15927 { eval $1=; unset $1;}
15929 as_unset=as_fn_unset
15930 # as_fn_append VAR VALUE
15931 # ----------------------
15932 # Append the text in VALUE to the end of the definition contained in VAR. Take
15933 # advantage of any shell optimizations that allow amortized linear growth over
15934 # repeated appends, instead of the typical quadratic growth present in naive
15936 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15937 eval 'as_fn_append ()
15948 # as_fn_arith ARG...
15949 # ------------------
15950 # Perform arithmetic evaluation on the ARGs, and store the result in the
15951 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15952 # must be portable across $(()) and expr.
15953 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15954 eval 'as_fn_arith ()
15961 as_val=`expr "$@" || test $? -eq 1`
15966 if expr a : '\(a\)' >/dev/null 2>&1 &&
15967 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15973 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15974 as_basename=basename
15979 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15985 as_me=`$as_basename -- "$0" ||
15986 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15987 X"$0" : 'X\(//\)$' \| \
15988 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15990 sed '/^.*\/\([^/][^/]*\)\/*$/{
16004 # Avoid depending upon Character Ranges.
16005 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16006 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16007 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16008 as_cr_digits='0123456789'
16009 as_cr_alnum=$as_cr_Letters$as_cr_digits
16011 ECHO_C= ECHO_N= ECHO_T=
16012 case `echo -n x` in #(((((
16014 case `echo 'xy\c'` in
16015 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16017 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16024 rm -f conf$$ conf$$.exe conf$$.file
16025 if test -d conf$$.dir; then
16026 rm -f conf$$.dir/conf$$.file
16029 mkdir conf$$.dir 2>/dev/null
16031 if (echo >conf$$.file) 2>/dev/null; then
16032 if ln -s conf$$.file conf$$ 2>/dev/null; then
16034 # ... but there are two gotchas:
16035 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16036 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16037 # In both cases, we have to default to `cp -p'.
16038 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16040 elif ln conf$$.file conf$$ 2>/dev/null; then
16048 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16049 rmdir conf$$.dir 2>/dev/null
16054 # Create "$as_dir" as a directory, including parents if necessary.
16059 -*) as_dir=./$as_dir;;
16061 test -d "$as_dir" || eval $as_mkdir_p || {
16065 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16066 *) as_qdir=$as_dir;;
16068 as_dirs="'$as_qdir' $as_dirs"
16069 as_dir=`$as_dirname -- "$as_dir" ||
16070 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16071 X"$as_dir" : 'X\(//\)[^/]' \| \
16072 X"$as_dir" : 'X\(//\)$' \| \
16073 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16074 $as_echo X"$as_dir" |
16075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16079 /^X\(\/\/\)[^/].*/{
16092 test -d "$as_dir" && break
16094 test -z "$as_dirs" || eval "mkdir $as_dirs"
16095 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16099 if mkdir -p . 2>/dev/null; then
16100 as_mkdir_p='mkdir -p "$as_dir"'
16102 test -d ./-p && rmdir ./-p
16106 if test -x / >/dev/null 2>&1; then
16107 as_test_x='test -x'
16109 if ls -dL / >/dev/null 2>&1; then
16116 if test -d "$1"; then
16122 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16123 ???[sx]*):;;*)false;;esac;fi
16127 as_executable_p=$as_test_x
16129 # Sed expression to map a string onto a valid CPP name.
16130 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16132 # Sed expression to map a string onto a valid variable name.
16133 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16137 ## ----------------------------------- ##
16138 ## Main body of $CONFIG_STATUS script. ##
16139 ## ----------------------------------- ##
16141 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16144 # Save the log message, to keep $0 and so on meaningful, and to
16145 # report actual input values of CONFIG_FILES etc. instead of their
16146 # values after options handling.
16148 This file was extended by Wine $as_me 1.4, which was
16149 generated by GNU Autoconf 2.68. Invocation command line was
16151 CONFIG_FILES = $CONFIG_FILES
16152 CONFIG_HEADERS = $CONFIG_HEADERS
16153 CONFIG_LINKS = $CONFIG_LINKS
16154 CONFIG_COMMANDS = $CONFIG_COMMANDS
16157 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16162 case $ac_config_files in *"
16163 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16166 case $ac_config_headers in *"
16167 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16172 # Files that config.status was made for.
16173 config_files="$ac_config_files"
16174 config_headers="$ac_config_headers"
16175 config_links="$ac_config_links"
16176 config_commands="$ac_config_commands"
16180 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16182 \`$as_me' instantiates files and other configuration actions
16183 from templates according to the current configuration. Unless the files
16184 and actions are specified as TAGs, all are instantiated by default.
16186 Usage: $0 [OPTION]... [TAG]...
16188 -h, --help print this help, then exit
16189 -V, --version print version number and configuration settings, then exit
16190 --config print configuration, then exit
16191 -q, --quiet, --silent
16192 do not print progress messages
16193 -d, --debug don't remove temporary files
16194 --recheck update $as_me by reconfiguring in the same conditions
16195 --file=FILE[:TEMPLATE]
16196 instantiate the configuration file FILE
16197 --header=FILE[:TEMPLATE]
16198 instantiate the configuration header FILE
16200 Configuration files:
16203 Configuration headers:
16206 Configuration links:
16209 Configuration commands:
16212 Report bugs to <wine-devel@winehq.org>.
16213 Wine home page: <http://www.winehq.org>."
16216 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16217 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16219 Wine config.status 1.4
16220 configured by $0, generated by GNU Autoconf 2.68,
16221 with options \\"\$ac_cs_config\\"
16223 Copyright (C) 2010 Free Software Foundation, Inc.
16224 This config.status script is free software; the Free Software Foundation
16225 gives unlimited permission to copy, distribute and modify it."
16230 test -n "\$AWK" || AWK=awk
16233 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16234 # The default lists apply if the user does not specify any file.
16240 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16241 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16245 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16257 # Handling of the options.
16258 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16260 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16261 $as_echo "$ac_cs_version"; exit ;;
16262 --config | --confi | --conf | --con | --co | --c )
16263 $as_echo "$ac_cs_config"; exit ;;
16264 --debug | --debu | --deb | --de | --d | -d )
16266 --file | --fil | --fi | --f )
16269 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16270 '') as_fn_error $? "missing file argument" ;;
16272 as_fn_append CONFIG_FILES " '$ac_optarg'"
16273 ac_need_defaults=false;;
16274 --header | --heade | --head | --hea )
16277 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16279 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16280 ac_need_defaults=false;;
16282 # Conflict between --help and --header
16283 as_fn_error $? "ambiguous option: \`$1'
16284 Try \`$0 --help' for more information.";;
16285 --help | --hel | -h )
16286 $as_echo "$ac_cs_usage"; exit ;;
16287 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16288 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16291 # This is an error.
16292 -*) as_fn_error $? "unrecognized option: \`$1'
16293 Try \`$0 --help' for more information." ;;
16295 *) as_fn_append ac_config_targets " $1"
16296 ac_need_defaults=false ;;
16302 ac_configure_extra_args=
16304 if $ac_cs_silent; then
16306 ac_configure_extra_args="$ac_configure_extra_args --silent"
16310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16311 if \$ac_cs_recheck; then
16312 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16314 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16315 CONFIG_SHELL='$SHELL'
16316 export CONFIG_SHELL
16321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16325 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16326 ## Running $as_me. ##
16332 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16336 wine_fn_output_makefile ()
16338 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
16339 $ALL_MAKEFILE_DEPENDS
16341 as_fn_error $? "could not create Makefile" "$LINENO" 5
16346 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16348 # Handling of arguments.
16349 for ac_config_target in $ac_config_targets
16351 case $ac_config_target in
16352 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
16353 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
16354 "dlls/shell32/AUTHORS") CONFIG_LINKS="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
16355 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
16356 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
16357 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
16358 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
16359 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
16360 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
16361 "tools/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
16362 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
16363 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
16364 "dlls/gdi32/dibdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
16365 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
16366 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
16367 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
16368 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
16369 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
16370 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
16371 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
16372 "Maketest.rules") CONFIG_FILES="$CONFIG_FILES Maketest.rules" ;;
16373 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
16374 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
16375 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
16376 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
16377 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
16379 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16384 # If the user did not use the arguments to specify the items to instantiate,
16385 # then the envvar interface is used. Set only those that are not.
16386 # We use the long form for the default assignment because of an extremely
16387 # bizarre bug on SunOS 4.1.3.
16388 if $ac_need_defaults; then
16389 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16390 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16391 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
16392 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16395 # Have a temporary directory for convenience. Make it in the build tree
16396 # simply because there is no reason against having it here, and in addition,
16397 # creating and moving files from /tmp can sometimes cause problems.
16398 # Hook for its removal unless debugging.
16399 # Note that there is a small window in which the directory will not be cleaned:
16400 # after its creation but before its name has been assigned to `$tmp'.
16404 trap 'exit_status=$?
16405 : "${ac_tmp:=$tmp}"
16406 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16408 trap 'as_fn_exit 1' 1 2 13 15
16410 # Create a (secure) tmp directory for tmp files.
16413 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16417 tmp=./conf$$-$RANDOM
16418 (umask 077 && mkdir "$tmp")
16419 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16422 # Set up the scripts for CONFIG_FILES section.
16423 # No need to generate them if there are no CONFIG_FILES.
16424 # This happens for instance with `./config.status config.h'.
16425 if test -n "$CONFIG_FILES"; then
16427 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
16428 ac_cs_awk_getline=:
16429 ac_cs_awk_pipe_init=
16430 ac_cs_awk_read_file='
16431 while ((getline aline < (F[key])) > 0)
16434 ac_cs_awk_pipe_fini=
16436 ac_cs_awk_getline=false
16437 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
16438 ac_cs_awk_read_file='
16440 print "cat " F[key] " &&"
16441 '$ac_cs_awk_pipe_init
16442 # The final `:' finishes the AND list.
16443 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
16445 ac_cr=`echo X | tr X '\015'`
16446 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16447 # But we know of no other shell where ac_cr would be empty at this
16448 # point, so we can use a bashism as a fallback.
16449 if test "x$ac_cr" = x; then
16450 eval ac_cr=\$\'\\r\'
16452 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16453 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16456 ac_cs_awk_cr=$ac_cr
16459 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16462 # Create commands to substitute file output variables.
16464 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16465 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16466 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
16469 } >conf$$files.sh &&
16470 . ./conf$$files.sh ||
16471 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16472 rm -f conf$$files.sh
16475 echo "cat >conf$$subs.awk <<_ACEOF" &&
16476 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16478 } >conf$$subs.sh ||
16479 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16480 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16482 for ac_last_try in false false false false false :; do
16483 . ./conf$$subs.sh ||
16484 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16486 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16487 if test $ac_delim_n = $ac_delim_num; then
16489 elif $ac_last_try; then
16490 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16492 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16495 rm -f conf$$subs.sh
16497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16498 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16502 s/^/S["/; s/!.*/"]=/
16512 s/\(.\{148\}\)..*/\1/
16514 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16519 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16526 s/\(.\{148\}\)..*/\1/
16528 s/["\\]/\\&/g; s/^/"/; s/$/"/
16532 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16537 ' <conf$$subs.awk | sed '
16542 ' >>$CONFIG_STATUS || ac_write_fail=1
16543 rm -f conf$$subs.awk
16544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16546 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16547 for (key in S) S_is_set[key] = 1
16549 \$ac_cs_awk_pipe_init
16553 nfields = split(line, field, "@")
16555 len = length(field[1])
16556 for (i = 2; i < nfields; i++) {
16558 keylen = length(key)
16559 if (S_is_set[key]) {
16561 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16562 len += length(value) + length(field[++i])
16567 if (nfields == 3 && !substed) {
16569 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16570 \$ac_cs_awk_read_file
16576 \$ac_cs_awk_pipe_fini
16579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16580 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16581 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16584 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16585 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16588 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16589 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16590 # trailing colons and then remove the whole line if VPATH becomes empty
16591 # (actually we leave an empty line to preserve line numbers).
16592 if test "x$srcdir" = x.; then
16593 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16612 fi # test -n "$CONFIG_FILES"
16614 # Set up the scripts for CONFIG_HEADERS section.
16615 # No need to generate them if there are no CONFIG_HEADERS.
16616 # This happens for instance with `./config.status Makefile'.
16617 if test -n "$CONFIG_HEADERS"; then
16618 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16622 # Transform confdefs.h into an awk script `defines.awk', embedded as
16623 # here-document in config.status, that substitutes the proper values into
16624 # config.h.in to produce config.h.
16626 # Create a delimiter string that does not exist in confdefs.h, to ease
16627 # handling of long lines.
16629 for ac_last_try in false false :; do
16630 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16631 if test -z "$ac_tt"; then
16633 elif $ac_last_try; then
16634 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16636 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16640 # For the awk script, D is an array of macro values keyed by name,
16641 # likewise P contains macro parameters if any. Preserve backslash
16642 # newline sequences.
16644 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16646 s/.\{148\}/&'"$ac_delim"'/g
16649 s/^[ ]*#[ ]*define[ ][ ]*/ /
16656 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16658 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16662 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16663 D["\1"]=" \3\\\\\\n"\\/p
16665 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16670 s/.\{148\}/&'"$ac_delim"'/g
16675 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16678 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16680 ' <confdefs.h | sed '
16681 s/'"$ac_delim"'/"\\\
16682 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16684 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16685 for (key in D) D_is_set[key] = 1
16688 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16690 split(line, arg, " ")
16691 if (arg[1] == "#") {
16695 defundef = substr(arg[1], 2)
16698 split(mac1, mac2, "(") #)
16700 prefix = substr(line, 1, index(line, defundef) - 1)
16701 if (D_is_set[macro]) {
16702 # Preserve the white space surrounding the "#".
16703 print prefix "define", macro P[macro] D[macro]
16706 # Replace #undef with comments. This is necessary, for example,
16707 # in the case of _POSIX_SOURCE, which is predefined and required
16708 # on some systems where configure will not decide to define it.
16709 if (defundef == "undef") {
16710 print "/*", prefix defundef, macro, "*/"
16718 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16719 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16720 fi # test -n "$CONFIG_HEADERS"
16723 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
16728 :[FHLC]) ac_mode=$ac_tag; continue;;
16730 case $ac_mode$ac_tag in
16732 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16733 :[FH]-) ac_tag=-:-;;
16734 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16751 -) ac_f="$ac_tmp/stdin";;
16752 *) # Look for the file first in the build tree, then in the source tree
16753 # (if the path is not absolute). The absolute path cannot be DOS-style,
16754 # because $ac_f cannot contain `:'.
16758 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16760 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16762 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16763 as_fn_append ac_file_inputs " '$ac_f'"
16766 # Let's still pretend it is `configure' which instantiates (i.e., don't
16767 # use $as_me), people would be surprised to read:
16768 # /* config.h. Generated by config.status. */
16769 configure_input='Generated from '`
16770 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16772 if test x"$ac_file" != x-; then
16773 configure_input="$ac_file. $configure_input"
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16775 $as_echo "$as_me: creating $ac_file" >&6;}
16777 # Neutralize special characters interpreted by sed in replacement strings.
16778 case $configure_input in #(
16779 *\&* | *\|* | *\\* )
16780 ac_sed_conf_input=`$as_echo "$configure_input" |
16781 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16782 *) ac_sed_conf_input=$configure_input;;
16786 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16787 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16792 ac_dir=`$as_dirname -- "$ac_file" ||
16793 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16794 X"$ac_file" : 'X\(//\)[^/]' \| \
16795 X"$ac_file" : 'X\(//\)$' \| \
16796 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16797 $as_echo X"$ac_file" |
16798 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16802 /^X\(\/\/\)[^/].*/{
16815 as_dir="$ac_dir"; as_fn_mkdir_p
16819 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16821 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16822 # A ".." for each directory in $ac_dir_suffix.
16823 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16824 case $ac_top_builddir_sub in
16825 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16826 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16829 ac_abs_top_builddir=$ac_pwd
16830 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16831 # for backward compatibility:
16832 ac_top_builddir=$ac_top_build_prefix
16835 .) # We are building in place.
16837 ac_top_srcdir=$ac_top_builddir_sub
16838 ac_abs_top_srcdir=$ac_pwd ;;
16839 [\\/]* | ?:[\\/]* ) # Absolute name.
16840 ac_srcdir=$srcdir$ac_dir_suffix;
16841 ac_top_srcdir=$srcdir
16842 ac_abs_top_srcdir=$srcdir ;;
16843 *) # Relative name.
16844 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16845 ac_top_srcdir=$ac_top_build_prefix$srcdir
16846 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16848 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16858 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16859 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16864 # If the template does not know about datarootdir, expand it.
16865 # FIXME: This hack should be removed a few years after 2.60.
16866 ac_datarootdir_hack=; ac_datarootdir_seen=
16877 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16878 *datarootdir*) ac_datarootdir_seen=yes;;
16879 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16881 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16884 ac_datarootdir_hack='
16885 s&@datadir@&$datadir&g
16886 s&@docdir@&$docdir&g
16887 s&@infodir@&$infodir&g
16888 s&@localedir@&$localedir&g
16889 s&@mandir@&$mandir&g
16890 s&\\\${datarootdir}&$datarootdir&g' ;;
16894 # Neutralize VPATH when `$srcdir' = `.'.
16895 # Shell code in configure.ac might set extrasub.
16896 # FIXME: do we really want to maintain this feature?
16897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16898 ac_sed_extra="$ac_vpsub
16901 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16903 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16904 s|@configure_input@|$ac_sed_conf_input|;t t
16905 s&@top_builddir@&$ac_top_builddir_sub&;t t
16906 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16907 s&@srcdir@&$ac_srcdir&;t t
16908 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16909 s&@top_srcdir@&$ac_top_srcdir&;t t
16910 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16911 s&@builddir@&$ac_builddir&;t t
16912 s&@abs_builddir@&$ac_abs_builddir&;t t
16913 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16914 s&@INSTALL@&$ac_INSTALL&;t t
16915 $ac_datarootdir_hack
16917 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16918 if $ac_cs_awk_getline; then
16919 $AWK -f "$ac_tmp/subs.awk"
16921 $AWK -f "$ac_tmp/subs.awk" | $SHELL
16923 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16925 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16926 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16927 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16928 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16930 which seems to be undefined. Please make sure it is defined" >&5
16931 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16932 which seems to be undefined. Please make sure it is defined" >&2;}
16934 rm -f "$ac_tmp/stdin"
16936 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16937 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16939 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16945 if test x"$ac_file" != x-; then
16947 $as_echo "/* $configure_input */" \
16948 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16949 } >"$ac_tmp/config.h" \
16950 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16951 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16953 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16956 mv "$ac_tmp/config.h" "$ac_file" \
16957 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16960 $as_echo "/* $configure_input */" \
16961 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16962 || as_fn_error $? "could not create -" "$LINENO" 5
16970 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
16973 # Prefer the file from the source tree if names are identical.
16974 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
16975 ac_source=$srcdir/$ac_source
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
16979 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
16981 if test ! -r "$ac_source"; then
16982 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
16986 # Try a relative symlink, then a hard link, then a copy.
16988 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
16989 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
16991 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
16992 ln "$ac_source" "$ac_file" 2>/dev/null ||
16993 cp -p "$ac_source" "$ac_file" ||
16994 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
16997 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16998 $as_echo "$as_me: executing $ac_file commands" >&6;}
17003 case $ac_file$ac_mode in
17004 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
17005 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
17006 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
17007 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
17008 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
17009 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
17010 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
17011 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
17012 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
17013 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
17014 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
17015 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
17016 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
17017 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
17018 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
17019 "Makefile":C) wine_fn_output_makefile Makefile ;;
17027 ac_clean_files=$ac_clean_files_save
17029 test $ac_write_fail = 0 ||
17030 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17033 # configure is writing to config.log, and then calls config.status.
17034 # config.status does its own redirection, appending to config.log.
17035 # Unfortunately, on DOS this fails, as config.log is still kept open
17036 # by configure, so config.status won't be able to write to it; its
17037 # output is simply discarded. So we exec the FD to /dev/null,
17038 # effectively closing config.log, so it can be properly (re)opened and
17039 # appended to by config.status. When coming back to configure, we
17040 # need to make the FD available again.
17041 if test "$no_create" != yes; then
17043 ac_config_status_args=
17044 test "$silent" = yes &&
17045 ac_config_status_args="$ac_config_status_args --quiet"
17047 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17049 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17050 # would make configure fail if this is the last instruction.
17051 $ac_cs_success || as_fn_exit 1
17053 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17055 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17059 if test "$no_create" = "yes"
17065 if test "x$wine_notices != "x; then
17068 for msg in $wine_notices; do
17070 if test -n "$msg"; then
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
17072 $as_echo "$as_me: $msg" >&6;}
17077 for msg in $wine_warnings; do
17079 if test -n "$msg"; then
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
17082 $as_echo "$as_me: WARNING: $msg" >&2;}
17088 $as_me: Finished. Do '${ac_make}' to compile Wine.